/* =================================================================
   fömo — Marketing Website
   Design-System übernommen aus foemo_app/src/app/globals.css
   ================================================================= */

:root {
  --brand:        #15448c;
  --brand-light:  #5a9fd4;
  --brand-strong: #0d2d5e;
  --brand-soft:   #e8eef7;
  --accent:       #7ec8e3;
  --accent-soft:  #d4f1f9;
  --text:         #1a1f36;
  --muted:        #5e6c84;
  --bg:           #f5f7fa;
  --card:         #ffffff;
  --line:         rgba(21, 68, 140, 0.10);
  --line-strong:  rgba(21, 68, 140, 0.20);
  --shadow-sm:    0 1px 2px rgba(21, 68, 140, 0.05);
  --shadow-md:    0 8px 24px rgba(21, 68, 140, 0.08);
  --shadow-lg:    0 24px 48px rgba(21, 68, 140, 0.12);
  --radius:       16px;
  --radius-lg:    24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at top right, rgba(126,200,227,0.10), transparent 50%),
    radial-gradient(circle at bottom left, rgba(21,68,140,0.07), transparent 50%),
    linear-gradient(180deg, #f8f9fb 0%, #f5f7fa 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Sora', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

img { max-width: 100%; display: block; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  color: var(--brand);
  flex-shrink: 0;
}

.brand-name { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.btn-ghost {
  background: var(--card);
  color: var(--brand);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover { background: var(--brand-soft); }

.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 14px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  color: var(--brand);
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--brand); }

.hero-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(126,200,227,0.35), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.18), transparent 50%);
}

.hero-visual-logo {
  width: 60%;
  height: 60%;
  color: #fff;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* ---------- Section ---------- */
.section {
  padding: 80px 0;
}

.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 12px;
  text-align: center;
}

.section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.section-lead {
  text-align: center;
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 56px;
}

/* ---------- Problem-Block ---------- */
.problem-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.problem-stat {
  text-align: center;
}

.problem-stat-value {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.problem-stat-label {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Highlight-Box (unter Problem) ---------- */
.highlight-box {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-top: 40px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,255,255,0.14), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(126,200,227,0.20), transparent 55%);
  pointer-events: none;
}

.highlight-item {
  display: flex;
  gap: 18px;
  position: relative;
  align-items: flex-start;
}

.highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.highlight-icon svg { width: 26px; height: 26px; }

.highlight-item h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.highlight-item p {
  color: rgba(255,255,255,0.90);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- So funktioniert's (Token-Architektur) ---------- */
.flow {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  color: #fff;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,255,255,0.12), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(126,200,227,0.18), transparent 50%);
  pointer-events: none;
}

.flow-title {
  color: #fff;
  text-align: center;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.flow-sub {
  text-align: center;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 40px;
  position: relative;
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  position: relative;
}

.flow-step {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-strong);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}

.flow-step h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 6px;
}

.flow-step p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.5;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
}

.flow-note {
  position: relative;
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,0.92);
  font-size: 15.5px;
  font-weight: 500;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.flow-note strong { color: #fff; font-weight: 700; }

/* ---------- Abgrenzung ---------- */
.abgrenzung {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin: 24px auto 0;
  max-width: 880px;
  box-shadow: var(--shadow-sm);
}

.abgrenzung h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--brand);
}

.abgrenzung p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--brand-soft);
}

.team-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.team-role {
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.team-bio {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.team-meta {
  text-align: center;
  margin-top: 32px;
  color: var(--muted);
  font-size: 15px;
}

.team-meta strong { color: var(--text); font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact {
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--accent-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  margin: 24px 0;
}

.contact h2 {
  margin-bottom: 16px;
}

.contact-lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}

.contact-mail {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--brand);
  margin-top: 16px;
  word-break: break-all;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  margin-top: 40px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.footer-row a { color: var(--muted); }
.footer-row a:hover { color: var(--brand); }

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .problem-card { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .highlight-box { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .flow { padding: 40px 24px; }
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .section { padding: 56px 0; }
  .contact { padding: 48px 24px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    gap: 14px;
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .nav-links.open .btn { width: 100%; }
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal {
  padding: 64px 0;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.legal-content h1 {
  font-size: clamp(28px, 3.5vw, 36px);
  margin-bottom: 24px;
  color: var(--brand);
}

.legal-content h2 {
  font-size: 20px;
  margin: 28px 0 12px;
  text-align: left;
}

.legal-content p,
.legal-content li {
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-content ul { padding-left: 20px; margin-bottom: 16px; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--brand);
  font-weight: 500;
}
