@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --nacht: #0F1B2D;
  --nacht-2: #1A2A42;
  --orange: #E8622C;
  --orange-text: #A63F14;
  --orange-tint: #FCE9DF;
  --blau: #2F6FDE;
  --papier: #F6F4EF;
  --estrich: #E2DDD2;
  --schiefer: #5B6472;
  --text-2: #3E4757;
  --weiss: #FFFFFF;
  --erfolg-tint: #E3F2EA;
  --erfolg-text: #17643F;
  --fehler-text: #A3271B;
  --r-feld: 12px;
  --r-karte: 24px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--nacht);
  background: var(--papier);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--nacht); }
a:hover { color: var(--orange-text); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--weiss); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }

/* Header */
.site-header { border-bottom: 1px solid var(--estrich); background: var(--papier); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 16px 24px; max-width: var(--max); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nacht); }
.brand span { font-size: 24px; font-weight: 600; letter-spacing: -0.035em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-feld); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid var(--nacht); }
.btn-primary { background: var(--nacht); color: var(--weiss); }
.btn-primary:hover { background: #22324A; color: var(--weiss); }
.btn-ghost { background: transparent; color: var(--nacht); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* Typo */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 12px; }
h1 { font-size: clamp(42px, 6vw, 68px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 16px; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.lead { font-size: 20px; color: var(--text-2); max-width: 540px; margin: 0; }
.muted { color: var(--schiefer); }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--orange-tint); color: var(--orange-text); font-size: 14px; font-weight: 500; }

section { padding: 88px 0; }
.band { background: var(--weiss); border-top: 1px solid var(--estrich); border-bottom: 1px solid var(--estrich); }
.dark { background: var(--nacht); color: var(--weiss); }
.dark .eyebrow { color: #F2A07E; }
.dark a { color: var(--weiss); }

/* Hero */
.hero { padding: 80px 0 72px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--schiefer); }
.hero-visual { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }

.tablet { width: 100%; max-width: 500px; background: var(--nacht); border-radius: 32px; padding: 14px; }
.screen { background: var(--weiss); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.screen-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--schiefer); }
.steps { display: flex; gap: 5px; }
.steps i { flex: 1; height: 7px; border-radius: 4px; background: var(--estrich); }
.steps i.on { background: var(--orange); }
.screen-q { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { min-height: 84px; border: 2px solid var(--estrich); border-radius: 14px; padding: 12px 14px; display: flex; align-items: flex-end; font-weight: 600; font-size: 16px; }
.tile.sel { background: var(--nacht); border-color: var(--nacht); color: var(--weiss); }
.screen-sum { display: flex; justify-content: space-between; align-items: center; background: var(--papier); border-radius: 12px; padding: 12px 14px; font-size: 14px; }

/* Grids */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { flex: 1 1 400px; min-width: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--weiss); border-radius: var(--r-karte); padding: 28px; }
.band .card { background: var(--papier); }
.dark .card { background: var(--nacht-2); }
.dark .card p { color: #D5DBE3; }
.card p { margin: 0; color: var(--text-2); font-size: 16px; }
.num { font-family: "Geist Mono", monospace; color: var(--orange-text); font-size: 15px; margin-bottom: 12px; display: block; }

/* Förder-Beispiel */
.calc { background: var(--weiss); border-radius: var(--r-karte); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.calc-row { display: flex; justify-content: space-between; gap: 16px; }
.calc-row.minus { color: var(--orange-text); }
.calc-row.total { border-top: 1px solid var(--estrich); padding-top: 12px; font-size: 20px; font-weight: 600; }

/* Warteliste */
.waitlist { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.waitlist > div { flex: 1 1 380px; min-width: 0; }
.dark .lead { color: #D5DBE3; }
form.wl { background: var(--weiss); color: var(--nacht); border-radius: var(--r-karte); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--schiefer); }
.field input, .field select { height: 48px; padding: 0 14px; border: 1.5px solid var(--estrich); border-radius: var(--r-feld); font: inherit; font-size: 16px; color: var(--nacht); background: var(--weiss); }
.field input:focus, .field select:focus { border-color: var(--blau); outline: none; box-shadow: 0 0 0 3px rgba(47,111,222,0.18); }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.consent input { width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0; accent-color: var(--nacht); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: var(--r-feld); padding: 12px 14px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: var(--erfolg-tint); color: var(--erfolg-text); }
.form-msg.err { display: block; background: #FBE4E1; color: var(--fehler-text); }
.wl-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; color: #D5DBE3; }
.wl-list li { display: flex; gap: 12px; }
.wl-list svg { flex-shrink: 0; margin-top: 4px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--estrich); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--estrich); }
.faq summary { font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--schiefer); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--estrich); padding: 32px 0; font-size: 14px; color: var(--schiefer); }
.foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.foot nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--schiefer); }

/* Rechtstexte */
.legal { max-width: 760px; padding: 64px 24px 88px; margin: 0 auto; }
.legal h1 { font-size: 44px; margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text-2); }

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0; }
  .nav-links { margin-left: 0; width: 100%; order: 3; }
  form.wl { padding: 22px; }
}

/* Hilfsklassen (statt Inline-Styles, wegen Content-Security-Policy) */
.push { margin-left: auto; }
.gap-top { margin-top: 36px; }
.narrow { max-width: 720px; }
.center { align-items: center; }
.calc-title { font-size: 20px; }
.brand .brand-sm { font-size: 18px; }
.dark form.wl a { color: var(--nacht); }
