@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/space-grotesk.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono.woff2) format('woff2'); }

:root {
  --navy: #0F1A3C;
  --navy-deep: #0B1433;
  --surface: #16244F;
  --line: #24366B;
  --line-strong: #3A5296;
  --grid: #1E2D5E;
  --text: #F2F5FF;
  --muted: #C9D3EE;
  --subtle: #A9B6D9;
  --yellow: #FFDD2E;
  --yellow-hover: #FFE873;
  --blue: #7FB8FF;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--text); font-family: Inter, system-ui, -apple-system, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: var(--yellow); }
a:hover { color: var(--yellow-hover); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.grid-bg { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.section { padding-top: 112px; padding-bottom: 112px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.border-b { border-bottom: 1px solid var(--grid); }

/* Navigation */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; }
.nav-link { color: var(--muted); text-decoration: none; }
.nav-link:hover { color: #FFFFFF; }
/* Schmale Bildschirme: nur Logo + "Gratis laden" in einer Zeile, Abschnitts-Links ausblenden */
@media (max-width: 760px) {
  .nav { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .nav-links { flex-wrap: nowrap; gap: 0; }
  .nav-links .nav-link { display: none; }
  .nav .btn { padding: 10px 16px; font-size: 15px; white-space: nowrap; }
  .nav .nur-breit { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 18px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-hover); color: var(--navy); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { min-height: 56px; padding: 14px 24px; }
.btn-dark { background: var(--navy); color: #FFFFFF; font-family: var(--display); font-weight: 700; font-size: 18px; min-height: 56px; padding: 16px 28px; border-radius: 14px; }
.btn-dark:hover { background: #1A2856; color: #FFFFFF; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 96px; padding-bottom: 104px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -0.025em; }
.hero h1 span { color: var(--yellow); }
.hero-lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-label { display: flex; flex-direction: column; line-height: 1.15; }
.store-label small { font-size: 12px; font-weight: 500; }
.store-label strong { font-size: 18px; font-family: var(--display); }
.hero-note { margin: 0; font-size: 14px; color: var(--subtle); }

.phone-wrap { flex: 0 1 340px; display: flex; justify-content: center; min-width: 0; }
.phone { width: 300px; height: 610px; border-radius: 48px; background: #0A1230; border: 10px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.45); padding: 26px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.phone-title { font-family: var(--display); font-weight: 700; font-size: 26px; padding-top: 8px; }
.phone-search { background: var(--surface); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--subtle); display: flex; gap: 8px; align-items: center; }
.phone-progress { background: var(--surface); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.phone-progress-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--subtle); }
.phone-progress-head b { color: var(--yellow); }
.bar { height: 8px; border-radius: 4px; background: var(--line); }
.bar i { display: block; width: 42%; height: 8px; border-radius: 4px; background: var(--yellow); }
.phone-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 14px; padding: 12px; }
.phone-row .sw { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.phone-row b { display: block; font-size: 14px; }
.phone-row small { display: block; font-size: 11px; color: var(--subtle); }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value { font-family: var(--display); font-weight: 700; font-size: 48px; color: var(--yellow); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 15px; color: var(--muted); }

/* Funktionen */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; margin-top: 56px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature:hover { border-color: var(--line-strong); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--yellow); }
.feature h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; }
.feature p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Ausprobieren */
.demo-section { border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }
.demo-inner { display: flex; flex-direction: column; gap: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ctl { font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); transition: background .15s, border-color .15s, color .15s; }
.ctl:hover { border-color: var(--yellow); }
.ctl:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.ctl[aria-pressed="true"].chip { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.ctl-yellow { background: var(--yellow); color: var(--navy); border-color: var(--yellow); font-weight: 700; }
.ctl-yellow:hover { background: var(--yellow-hover); }
.demo-card { background: var(--navy-deep); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.demo-card[hidden] { display: none; }
.demo-figure { flex: 3 1 460px; min-width: 0; }
.demo-figure svg { width: 100%; height: auto; display: block; font-family: var(--mono); }
.demo-panel { flex: 2 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.demo-panel h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 26px; }
.demo-panel p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.slider { display: flex; flex-direction: column; gap: 6px; }
.slider label { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }
.slider label span:last-child { font-family: var(--mono); color: var(--yellow); }
input[type=range] { width: 100%; accent-color: var(--yellow); height: 28px; cursor: pointer; }
.readouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.readout { background: var(--surface); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.readout span { font-size: 13px; color: var(--subtle); }
.readout b { font-family: var(--display); font-size: 26px; }
.status { background: var(--surface); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.status i { width: 14px; height: 14px; border-radius: 7px; background: #34497F; flex-shrink: 0; transition: background .2s; }
.status.on i { background: var(--yellow); }
.wire { transition: stroke .2s; }
.flow { stroke-dasharray: 6 14; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
@media (prefers-reduced-motion: reduce) { .flow { animation: none; } }
.truth { border-collapse: collapse; font-family: var(--mono); font-size: 15px; width: 100%; max-width: 280px; }
.truth caption { text-align: left; font-family: Inter, sans-serif; font-size: 13px; color: var(--subtle); padding-bottom: 8px; }
.truth th { text-align: left; padding: 6px 12px; color: var(--subtle); font-weight: 500; }
.truth td { padding: 6px 12px; color: var(--muted); }
.truth td:last-child { font-weight: 700; }
.truth tr.cur { background: var(--line); }
.truth tr.cur td { color: var(--yellow); }
.quiz { flex-direction: column; align-items: stretch; gap: 22px; max-width: 760px; padding: 32px; }
.quiz-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--blue); }
.quiz h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.3; }
.answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.answers .ctl { text-align: left; font-weight: 500; font-size: 16px; padding: 14px 18px; }
.answers .ctl.right { background: #1D4A35; border-color: #3BB273; }
.answers .ctl.wrong { background: #4F1F28; border-color: #E5484D; }
.feedback { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border-radius: 14px; padding: 18px; }
.feedback[hidden] { display: none; }
.feedback strong { font-size: 17px; }
.feedback p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.demo-note { margin: 0; font-size: 15px; color: var(--subtle); }

/* Themen */
.light { background: #F4F6FB; color: var(--navy); }
.light .eyebrow { color: #0B5FB0; }
.light .lead { color: #3B4A72; }
.topics-wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.topics-head { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.topics { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; }
.topics li { background: #FFFFFF; border: 1px solid #D5DCEC; border-radius: 999px; padding: 12px 20px; font-size: 16px; font-weight: 500; }

/* Zielgruppe */
.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 48px; }
.audience { background: var(--navy); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.audience span { font-family: var(--mono); font-size: 13px; color: var(--yellow); }
.audience h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; }
.audience p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* CTA */
.cta { background: var(--yellow); color: var(--navy); border-radius: 28px; padding: 64px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta p { margin: 0; font-size: 18px; line-height: 1.6; color: #2A3658; }
@media (max-width: 600px) { .cta { padding: 40px 24px; } .demo-card { padding: 18px; } }

/* Footer */
.footer { border-top: 1px solid var(--grid); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; color: var(--subtle); padding-top: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }

/* Impressum */
.legal { max-width: 760px; margin: 0 auto; padding: 96px 24px 112px; display: flex; flex-direction: column; gap: 40px; }
.legal h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.legal-card { background: var(--navy-deep); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 32px; }
.legal-card h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 22px; }
.legal-card p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
@media (max-width: 600px) { .legal-card { padding: 24px; } }

/* Einblicke: echte App-Screenshots, horizontal wischbar */
.screens { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 4px 16px; margin-top: 8px; }
.screens figure { flex: 0 0 auto; width: min(240px, 62vw); margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.screens img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line-strong); box-shadow: 0 18px 40px rgba(0,0,0,.35); background: var(--surface); }
.screens figcaption { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--muted); text-align: center; }
