/* Faire Familienberatung, Relaunch-Entwurf 2026-10-29.
   Basis: Challenge-Sieger navykapitel (Tokens, Griffe, Kontraste).
   Änderung nach Ben: Ankerzahl in heller Karte auf der Navy-Bühne (Muster kuechentisch). */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Navy-Kapitel */
  --nacht: #121736;
  --nacht-tief: #0C1029;
  --navy: #172357;
  --navy-2: #20306B;
  --pille-nacht: #1A2045;
  /* Tinten auf Navy, gemessen gegen #121736 */
  --auf-nacht: #FFFFFF;
  --auf-nacht-hauch: #D6D9E6;
  --auf-nacht-leise: #C3C8DC;
  /* Gold, eine Leiter */
  --gold: #C4A23C;
  --gold-hell: #DBC045;
  --gold-aktiv: #B8962F;
  --gold-tief: #6F5617;
  --sand: #EFE3BE;
  --raster: rgba(169, 141, 71, 0.32);
  /* Papier */
  --creme: #F5F0E6;
  --creme-tief: #EDE6D6;
  --karte: #FFFDF9;
  --weiss: #FFFFFF;
  /* Tinten auf Papier */
  --ink: #232744;
  --lese: #43475E;
  --linie: rgba(23, 35, 87, 0.10);
  --linie-stark: rgba(23, 35, 87, 0.18);
  /* Markierung offener Stellen */
  --offen: #FFE873;
  /* Form */
  --r-sm: 16px;
  --r-md: 24px;
  --r-karte: 32px;
  --r-kapitel: 48px;
  --r-pille: 999px;
  --rand: clamp(20px, 5vw, 54px);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* Schatten */
  --kartenlage: 0 2px 8px rgba(23, 35, 87, .08);
  --kartenanhebung: 0 10px 28px rgba(23, 35, 87, .14);
  --zahlkarte: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 30px 60px -24px rgba(0, 0, 0, .55), 0 8px 18px -10px rgba(0, 0, 0, .35);
  --praegung: inset 0 1px 0 rgba(255, 255, 255, .72), inset 0 -1.5px 1px rgba(108, 76, 18, .42), 0 14px 34px -10px rgba(120, 88, 20, .55);
  --foto-ueber: clamp(64px, 9vw, 150px);
  --band-pad: clamp(88px, 10vw, 144px);
  --praegung-nacht: inset 0 1px 0 rgba(255, 255, 255, .72), inset 0 -1.5px 1px rgba(108, 76, 18, .42), 0 14px 34px -12px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  overflow-x: clip;
}
::selection { background: var(--sand); color: var(--navy); }
.nacht ::selection { background: var(--gold-hell); color: var(--nacht-tief); }
.nacht .zahlkarte ::selection { background: var(--sand); color: var(--navy); }

h1, h2, h3 { font-family: "Inter Tight", "Inter", system-ui, sans-serif; margin: 0; text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.huelle { width: 100%; max-width: calc(var(--maxw) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.ganz { white-space: nowrap; }
.zahl { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }

/* Offene Stelle, sichtbar für die Abnahme */
.offen {
  background: var(--offen); color: #1A1A1A;
  border-radius: 4px; padding: 0 .3em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  font-weight: 600;
}

/* Sprungmarke */
.sprung {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--weiss); color: var(--navy);
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 620;
  padding: 12px 18px; border-radius: var(--r-pille); text-decoration: none;
}
.sprung:focus { top: 12px; outline: 2px solid var(--gold-hell); outline-offset: 3px; }

/* ---------- Knöpfe: geprägte Goldpille, Zustände ohne Transform ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 620; font-size: 1.125rem; line-height: 1.2; letter-spacing: -0.005em;
  color: var(--nacht-tief);
  background: var(--gold);
  border-radius: var(--r-pille);
  padding: 19px 30px 19px 34px;
  min-height: 60px;
  text-decoration: none;
  box-shadow: var(--praegung);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.knopf svg { width: 20px; height: 20px; flex: none; transition: margin .25s var(--ease); }
@media (hover: hover) { .knopf:hover { background: var(--gold-hell); } }
@media (hover: hover) { .knopf:hover svg { margin-left: 4px; margin-right: -4px; } }
.knopf:active { background: var(--gold-aktiv); box-shadow: inset 0 2px 4px rgba(108, 76, 18, .45), 0 4px 12px -6px rgba(120, 88, 20, .5); }
.knopf:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; box-shadow: var(--praegung), 0 0 0 8px rgba(219, 192, 69, .28); }
.nacht .knopf { box-shadow: var(--praegung-nacht); }
.nacht .knopf:focus-visible { outline-color: var(--gold-hell); box-shadow: var(--praegung-nacht), 0 0 0 8px rgba(219, 192, 69, .22); }
.nacht .knopf:active { box-shadow: inset 0 2px 4px rgba(108, 76, 18, .45); }

.mikro { font-size: 0.9375rem; color: var(--lese); letter-spacing: 0.005em; }
.nacht .mikro { color: var(--auf-nacht-hauch); }
.mikro .punkt { padding: 0 .35em; }

.textlink {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 600;
  color: var(--navy);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  text-decoration-color: rgba(23, 35, 87, .35);
  border-radius: 6px;
  transition: text-decoration-color .25s var(--ease);
}
@media (hover: hover) { .textlink:hover { text-decoration-color: var(--navy); } }
.textlink:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }

/* ---------- Kapitel 1: Navy-Bühne ---------- */
.nacht {
  position: relative;
  background-color: var(--nacht);
  background-image: radial-gradient(900px 520px at 100% -10%, rgba(32, 48, 107, .45), transparent 70%);
  color: var(--auf-nacht);
  padding-top: calc(clamp(16px, 2.6vh, 28px) + 52px);
  padding-bottom: calc(var(--r-kapitel) + clamp(48px, 7vh, 88px) + var(--foto-ueber));
}

/* Kopf */
.kopf { position: absolute; top: 0; left: 0; right: 0; z-index: 20; padding-top: clamp(16px, 2.6vh, 28px); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marke {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--auf-nacht); text-decoration: none;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 640; font-size: 1.1875rem; letter-spacing: -0.012em; line-height: 1.1;
  border-radius: var(--r-pille);
  padding: 4px 14px 4px 0;
}
.marke img { width: 52px; height: 52px; flex: none; }
/* Echtes Logo (fairefamilienberatung.de): navy Ring, deshalb auf Nacht in heller Scheibe */
.marke-logo--kopf { background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.28); }
.marke:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 4px; }
.navi { display: flex; align-items: center; gap: 6px; }
.navi-liste { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.navi-liste a {
  display: inline-block;
  color: var(--auf-nacht-hauch); text-decoration: none;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 560; font-size: 0.9875rem;
  padding: 10px 14px; border-radius: var(--r-pille);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
@media (hover: hover) { .navi-liste a:hover { background: rgba(255, 255, 255, .08); color: var(--auf-nacht); } }
.navi-liste a[aria-current="page"] { color: var(--auf-nacht); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.navi-liste a:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 2px; }
.navi-check { display: none; }
.kopf-knopf {
  margin-left: 10px;
  display: inline-flex; align-items: center;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 620; font-size: 0.9875rem;
  color: var(--auf-nacht); text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, .38);
  border-radius: var(--r-pille); padding: 10px 18px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
@media (hover: hover) { .kopf-knopf:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); } }
.kopf-knopf:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 3px; }
.menue-knopf {
  display: none;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 620; font-size: 1rem;
  color: var(--auf-nacht); background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .38); border-radius: var(--r-pille);
  padding: 9px 16px; cursor: pointer; align-items: center; gap: 8px;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .menue-knopf:hover { background: rgba(255, 255, 255, .08); } }
.menue-knopf:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 3px; }
.menue-knopf svg { width: 18px; height: 18px; }

/* Bühne mit Zahlkarte */
.buehne {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas: "text karte" "handlung karte" "handlung erklaer";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(40px, 5.5vw, 88px);
  padding-top: clamp(40px, 8vh, 96px);
  align-items: start;
}
.buehne-text { grid-area: text; }
.zahlkarte { grid-area: karte; align-self: start; }
.handlung { grid-area: handlung; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: clamp(32px, 5vh, 52px); }
.erklaer { grid-area: erklaer; margin-top: 22px; color: var(--auf-nacht-hauch); font-size: 1rem; line-height: 1.55; max-width: 30rem; padding-left: 4px; }
.pille {
  display: inline-flex; align-items: center;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-size: 0.9375rem; font-weight: 560;
  color: var(--auf-nacht-hauch);
  background: var(--pille-nacht);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-pille);
  padding: 8px 18px;
  margin-bottom: clamp(20px, 3vh, 30px);
}
.h1 {
  font-size: clamp(2.3rem, 0.9rem + 4.4vw, 4.75rem);
  line-height: 1.0;
  font-weight: 680;
  letter-spacing: -0.036em;
}
.thema .h1 { font-size: clamp(2.1rem, 0.9rem + 3.4vw, 4rem); line-height: 1.02; }
.h1 .vorher { display: block; color: var(--auf-nacht-leise); }
.h1 .nachher { display: block; color: var(--auf-nacht); margin-top: 0.1em; }
.buehne-lead { margin-top: 22px; color: var(--auf-nacht-hauch); font-size: 1.1875rem; line-height: 1.55; max-width: 36rem; }
.handlung .check-zeile { color: var(--auf-nacht-hauch); font-size: 1rem; line-height: 1.55; max-width: 30rem; }

/* Die helle Karte: Rechenblatt auf der Navy-Bühne */
.zahlkarte {
  background: var(--karte);
  color: var(--ink);
  border-radius: var(--r-karte);
  padding: clamp(24px, 3vw, 44px);
  box-shadow: var(--zahlkarte);
  position: relative;
}
.zahlkarte::after {
  content: ""; position: absolute; inset: 10px; border-radius: calc(var(--r-karte) - 10px);
  border: 1px solid rgba(111, 86, 23, .14); pointer-events: none;
}
.karte-vor {
  display: block;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 660; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy);
}
.karte-zahl {
  display: block;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-size: clamp(3.3rem, 1.6rem + 4.4vw, 5.6rem);
  font-weight: 680; line-height: 1; letter-spacing: -0.045em;
  color: var(--navy);
  margin-top: 6px;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.karte-zahl .eur { font-size: .52em; letter-spacing: 0; margin-left: .1em; vertical-align: .64em; font-weight: 620; }
/* doppelter Summenstrich in Gold */
.summenstrich {
  display: block; height: 7px; margin: 14px 0 18px;
  border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  max-width: 100%;
}
.karte-nach {
  display: block;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 620; font-size: clamp(1.1875rem, 0.9rem + 0.7vw, 1.5rem); line-height: 1.25; letter-spacing: -0.015em;
  color: var(--navy);
}
.karte-zeilen { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linie); display: grid; gap: 10px; }
.karte-zeilen p { color: var(--lese); font-size: 1rem; line-height: 1.55; }
.karte-zeilen .stark { color: var(--ink); font-weight: 560; }
.zahlkarte.ohne-zahl .karte-zeilen { margin-top: 0; padding-top: 0; border-top: 0; gap: 14px; }
.zahlkarte.ohne-zahl .summenstrich { margin: 4px 0; width: 64px; }
.zahlkarte .betont { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 680; color: var(--navy); }

.kicker {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 640; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-tief);
  display: block; margin-bottom: 16px;
}
.h2 {
  font-size: clamp(2rem, 1.1rem + 2.8vw, 3.35rem);
  line-height: 1.05; font-weight: 660; letter-spacing: -0.032em;
  color: var(--navy);
  max-width: 22em;
}
.sektion + .sektion { margin-top: clamp(96px, 11vw, 160px); }
.sektion-kopf { max-width: 48rem; margin-bottom: clamp(32px, 4.5vw, 52px); }
.sektion-kopf .vorspann { margin-top: 18px; color: var(--lese); font-size: 1.1875rem; line-height: 1.55; max-width: 40rem; }

/* ---------- Heute / Mit Plan, Zeilen per Subgrid gekoppelt ---------- */
.vergleich {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto repeat(4, auto);
  column-gap: clamp(20px, 3.4vw, 48px);
  position: relative;
}
.vergleich.drei-zeilen { grid-template-rows: auto repeat(3, auto); }
.spalte {
  grid-row: 1 / span 5;
  display: grid; grid-template-rows: subgrid;
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 40px); padding-top: clamp(26px, 3vw, 36px);
  margin: 0;
}
.vergleich.drei-zeilen .spalte { grid-row: 1 / span 4; }
.punkte { display: contents; list-style: none; margin: 0; padding: 0; }
.spalte-heute { background: var(--creme-tief); color: var(--lese); }
.spalte-plan { background: var(--weiss); color: var(--ink); box-shadow: var(--kartenlage), 0 0 0 1px var(--linie); }
.spalte-titel {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 640; font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.2;
  color: var(--navy); padding-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.spalte-plan .spalte-titel span { background: var(--sand); color: var(--navy); border-radius: 18px; padding: 6px 16px 7px; }
.spalte li { position: relative; padding: 16px 0 16px 30px; border-top: 1px solid var(--linie); font-size: 1.0625rem; line-height: 1.5; }
.spalte li::before { content: ""; position: absolute; left: 2px; top: calc(16px + 0.75em - 5px); width: 10px; height: 10px; border-radius: 50%; }
.spalte-heute li::before { border: 1.5px solid #6B6E84; }
.spalte-plan li::before { background: var(--navy); }
.spalte-plan li { color: var(--ink); font-weight: 500; }
.wende {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: var(--navy); color: #FFFFFF;
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--creme), 0 8px 20px -6px rgba(23, 35, 87, .45);
  z-index: 1;
}
.wende svg { width: 22px; height: 22px; }
.unter-vergleich { margin-top: 28px; max-width: 46rem; color: var(--lese); font-size: 1.0625rem; }

/* ---------- Rechner ---------- */
.rechner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.regler-liste { display: grid; gap: 28px; margin: 0; padding: 0; border: 0; min-width: 0; }
.regler { display: grid; gap: 12px; }
.regler-zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.regler label, .schalter legend {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 560; font-size: 1.0625rem; color: var(--ink); letter-spacing: -0.005em;
}
.regler output {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 660; font-size: 1.375rem; letter-spacing: -0.02em; color: var(--navy);
  font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}
input[type="range"] {
  --fuell: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 32px; margin: 0;
  background: transparent; cursor: pointer; border-radius: var(--r-pille);
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: var(--r-pille); background: linear-gradient(to right, var(--navy) 0 var(--fuell), #DCD2BE var(--fuell) 100%); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: var(--r-pille); background: #DCD2BE; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: var(--r-pille); background: var(--navy); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; margin-top: -11px; border-radius: 50%;
  background: #FFFFFF; border: 2px solid var(--navy);
  box-shadow: 0 2px 6px rgba(23, 35, 87, .22);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: #FFFFFF; border: 2px solid var(--navy);
  box-shadow: 0 2px 6px rgba(23, 35, 87, .22);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
@media (hover: hover) { input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 2px 6px rgba(23, 35, 87, .22), 0 0 0 8px rgba(23, 35, 87, .10); } }
@media (hover: hover) { input[type="range"]:hover::-moz-range-thumb { box-shadow: 0 2px 6px rgba(23, 35, 87, .22), 0 0 0 8px rgba(23, 35, 87, .10); } }
input[type="range"]:active::-webkit-slider-thumb { background: var(--sand); box-shadow: 0 0 0 10px rgba(23, 35, 87, .14); }
input[type="range"]:active::-moz-range-thumb { background: var(--sand); box-shadow: 0 0 0 10px rgba(23, 35, 87, .14); }
input[type="range"]:focus { outline: none; }
input[type="range"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 6px; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px rgba(219, 192, 69, .45); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 8px rgba(219, 192, 69, .45); }

/* Schalter als Segmente */
.schalter { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.schalter legend { padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.segmente { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--creme-tief); border-radius: var(--r-pille); padding: 4px; }
.segment { position: relative; display: block; }
.segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segment span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: 8px 12px; border-radius: var(--r-pille);
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 580; font-size: 1rem; line-height: 1.2;
  color: var(--lese);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) { .segment input:not(:checked):hover + span { background: rgba(255, 255, 255, .55); color: var(--navy); } }
.segment input:checked + span { background: var(--weiss); color: var(--navy); box-shadow: 0 1px 4px rgba(23, 35, 87, .16), 0 0 0 1px var(--linie-stark); }
.segment input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.segment input:active + span { background: var(--sand); }

.ergebnis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 16px; align-items: stretch; }
.kasten { border-radius: var(--r-md); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.kasten-netto { background: var(--creme-tief); color: var(--lese); }
.kasten-brutto { background: var(--sand); color: var(--ink); box-shadow: 0 0 0 1px rgba(111, 86, 23, .14); }
.kasten-titel { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 640; font-size: 1.1875rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--navy); }
.kasten ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kasten li { font-size: 1rem; line-height: 1.5; padding-top: 10px; border-top: 1px solid var(--linie); }
.kasten .wert { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 680; color: var(--navy); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.kasten-brutto .gross {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.4; color: var(--ink);
}
.kasten-brutto .gross .wert { display: block; font-size: clamp(2.5rem, 1.3rem + 3vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; margin: 2px 0 4px; }
.summe { display: block; height: 7px; margin: 0 0 4px; border-top: 2px solid var(--gold-tief); border-bottom: 2px solid var(--gold-tief); width: 100%; opacity: .5; }
.hinweis { grid-column: 1 / -1; background: var(--weiss); border-radius: var(--r-sm); padding: 14px 18px; color: var(--ink); font-size: 1rem; box-shadow: 0 0 0 1px var(--linie-stark); }
.hinweis[hidden] { display: none; }
.fussnote { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--lese); margin-top: 6px; line-height: 1.55; }

/* ---------- Inline-CTA zwischen Rasterfeldern ---------- */
.zwischenhalt { position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; padding: clamp(56px, 7vw, 88px) 0; isolation: isolate; }
.zwischenhalt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--raster) 1.1px, transparent 1.2px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, transparent 46%, #000 47%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, transparent 46%, #000 47%, transparent 100%);
  border-radius: var(--r-md);
}
.zwischenhalt .ueber-knopf { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 600; font-size: 1.1875rem; color: var(--navy); max-width: 30rem; margin-bottom: 6px; }

/* ---------- Drei Felder ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr 1fr; gap: 16px; }
.feld {
  position: relative; border-radius: var(--r-md); background: var(--karte);
  box-shadow: var(--kartenlage), 0 0 0 1px var(--linie);
  padding: clamp(24px, 2.8vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
@media (hover: hover) { .feld:hover { box-shadow: var(--kartenanhebung), 0 0 0 1px var(--linie-stark); background: #FFFFFF; } }
.feld:has(a:focus-visible) { box-shadow: var(--kartenanhebung), 0 0 0 2px var(--navy), 0 0 0 7px rgba(219, 192, 69, .35); }
.feld:has(a:active) { background: #FBF7EE; }
.feld-leit { grid-row: 1 / span 2; background: var(--weiss); justify-content: flex-end; min-height: 440px; padding: clamp(28px, 3.4vw, 48px); overflow: hidden; }
.feld-raster {
  flex: 1 1 auto; min-height: 112px;
  margin: calc(-1 * clamp(28px, 3.4vw, 48px)) calc(-1 * clamp(28px, 3.4vw, 48px)) 8px 30%;
  background-image: radial-gradient(var(--raster) 1.1px, transparent 1.2px); background-size: 14px 14px; background-position: right 6px top 6px;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, #000 0%, transparent 78%);
  pointer-events: none;
}
.feld h3 { font-size: 1.5rem; line-height: 1.15; font-weight: 640; letter-spacing: -0.022em; color: var(--navy); }
.feld-leit h3 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.02; letter-spacing: -0.034em; font-weight: 660; max-width: 11em; }
.feld p { color: var(--lese); max-width: 32rem; }
.feld-leit p { font-size: 1.1875rem; line-height: 1.5; max-width: 26rem; margin-top: 6px; }
.feld a {
  margin-top: auto; padding-top: 14px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 620; font-size: 1.0625rem;
  color: var(--navy);
  text-decoration: underline; text-decoration-color: rgba(23, 35, 87, .28); text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  border-radius: 6px; transition: text-decoration-color .25s var(--ease);
}
.feld-leit a { padding-top: 22px; margin-top: 0; }
.feld a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.feld a svg { width: 18px; height: 18px; transition: margin .25s var(--ease); }
@media (hover: hover) { .feld:hover a { text-decoration-color: var(--navy); } }
@media (hover: hover) { .feld:hover a svg { margin-left: 4px; margin-right: -4px; } }
.feld a:focus-visible { outline: none; }

/* ---------- Fall Sebastian: Rechenblatt in vier Zeilen ---------- */
.fall { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.fall-ablauf { display: grid; gap: 0; margin: 0; }
.fall-ablauf > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--linie-stark); }
.fall-ablauf dt { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 640; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-tief); padding-top: 3px; }
.fall-ablauf dd { margin: 0; color: var(--ink); }
.zitat { margin: 14px 0 0; padding-left: 18px; border-left: 3px solid var(--gold); font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 560; font-size: 1.125rem; line-height: 1.45; color: var(--navy); }
.zitat p { margin: 0; }
.fall-ergebnis { background: var(--karte); border-radius: var(--r-karte); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--kartenlage), 0 0 0 1px var(--linie); position: relative; }
.fall-ergebnis .kicker { margin-bottom: 18px; }
.ergebnis-reihe { display: grid; gap: 4px; padding-bottom: 20px; }
.ergebnis-reihe + .ergebnis-reihe { padding-top: 20px; border-top: 1px solid var(--linie); }
.ergebnis-reihe p { color: var(--ink); font-size: 1.0625rem; }
.ergebnis-reihe .wert-gross { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 680; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.12; color: var(--navy); }
.fall-ergebnis .pflicht { margin-top: 4px; padding: 14px 16px; background: var(--creme); border-radius: var(--r-sm); color: var(--ink); font-weight: 560; font-size: 1rem; }
.zuschreibung { margin-top: 14px; font-size: 0.9375rem; color: var(--lese); }

/* ---------- Absender Ben ---------- */
.ben { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.foto-platz {
  aspect-ratio: 4 / 5; border-radius: var(--r-karte);
  background: repeating-linear-gradient(135deg, var(--creme-tief) 0 14px, #E6DDCA 14px 15px);
  box-shadow: inset 0 0 0 2px var(--linie-stark);
  display: grid; place-items: center; text-align: center;
  color: var(--lese); font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 620; font-size: 1.0625rem;
}
.foto-platz span { background: var(--karte); padding: 10px 16px; border-radius: var(--r-pille); box-shadow: 0 0 0 1px var(--linie-stark); }
.notiz { background: var(--karte); border-radius: var(--r-karte); padding: clamp(26px, 3.6vw, 48px); box-shadow: var(--kartenlage), 0 0 0 1px var(--linie); }
.notiz p + p { margin-top: 14px; }
.notiz p { color: var(--ink); font-size: 1.0938rem; line-height: 1.62; }
.signatur { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--linie); font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 640; color: var(--navy); }
.zahlenleiste { margin-top: clamp(28px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.zahlenleiste > div { background: var(--weiss); border-radius: var(--r-md); padding: 22px 24px; box-shadow: 0 0 0 1px var(--linie); }
.zahlenleiste strong { display: block; font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 680; font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; color: var(--navy); white-space: nowrap; }
.zahlenleiste span { display: block; margin-top: 6px; color: var(--lese); font-size: 1rem; line-height: 1.45; }
.zitatzeile { margin-top: 24px; }
.zitatzeile figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--lese); padding-left: 21px; }

/* ---------- Einwände, Akkordeon ---------- */
.zweispaltig { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.zweispaltig > .sektion-kopf { margin-bottom: 0; position: sticky; top: 32px; }
.fragen { display: grid; gap: 12px; max-width: 54rem; }
.frage { background: var(--karte); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--linie); transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
@media (hover: hover) { .frage:hover { box-shadow: 0 0 0 1px var(--linie-stark), var(--kartenlage); } }
.frage summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px clamp(20px, 2.6vw, 30px);
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 620; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.3; letter-spacing: -0.01em;
  color: var(--navy);
  border-radius: var(--r-md);
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.frage summary .zeichen { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--creme-tief); display: grid; place-items: center; transition: background-color .25s var(--ease); }
.frage summary .zeichen svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.frage[open] summary .zeichen { background: var(--sand); }
.frage[open] summary .zeichen svg { transform: rotate(45deg); }
.frage .antwort { padding: 0 clamp(20px, 2.6vw, 30px) 24px; color: var(--ink); max-width: 46rem; }

/* ---------- So läuft es ---------- */
.entlastung { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 600; font-size: clamp(1.1875rem, 1rem + .6vw, 1.4rem); line-height: 1.4; color: var(--navy); max-width: 40rem; margin-top: 18px; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: schritt; }
.schritt { background: var(--karte); border-radius: var(--r-md); padding: clamp(24px, 2.8vw, 34px); box-shadow: var(--kartenlage), 0 0 0 1px var(--linie); display: flex; flex-direction: column; gap: 12px; }
.schritt-nr { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 680; font-size: 1.125rem; }
.schritt h3 { font-size: 1.3125rem; line-height: 1.2; font-weight: 640; letter-spacing: -0.015em; color: var(--navy); }
.schritt p { color: var(--lese); font-size: 1rem; line-height: 1.55; }
.cta-reihe { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------- Warum jetzt ---------- */
.jetzt { background: var(--karte); border-radius: var(--r-karte); padding: clamp(28px, 4vw, 56px); box-shadow: var(--kartenlage), 0 0 0 1px var(--linie); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.jetzt .h2 { max-width: 14em; }
.jetzt-text p { color: var(--ink); }
.jetzt-text p + p { margin-top: 16px; }
.jetzt-text .ehrlich { color: var(--lese); font-size: 1rem; padding-top: 16px; border-top: 1px solid var(--linie); }

/* ---------- Abschluss ---------- */
.abschluss { text-align: center; display: grid; justify-items: center; gap: 0; padding: clamp(24px, 4vw, 40px) 0 0; }
.abschluss .h2 { max-width: 16em; margin: 0 auto; }
.abschluss .text { margin-top: 18px; color: var(--lese); font-size: 1.1875rem; max-width: 34rem; }
.abschluss .knopf { margin-top: 30px; }
.abschluss .mikro { margin-top: 14px; }
.abschluss .zweiter-weg { margin-top: 22px; font-size: 1.0625rem; }

/* ---------- Drei Säulen (Themenseiten) ---------- */
.saeulen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.saeule { background: var(--karte); border-radius: var(--r-md); padding: clamp(24px, 2.8vw, 34px); box-shadow: var(--kartenlage), 0 0 0 1px var(--linie); display: flex; flex-direction: column; gap: 12px; }
.saeule h3 { font-size: 1.3125rem; line-height: 1.2; font-weight: 640; letter-spacing: -0.015em; color: var(--navy); }
.saeule p { color: var(--lese); font-size: 1rem; line-height: 1.6; }
.saeule .marke-strich { width: 40px; height: 7px; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.unter-saeulen { margin-top: 24px; max-width: 46rem; color: var(--ink); font-weight: 500; }
.leitfrage { margin-top: 18px; font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 600; font-size: clamp(1.1875rem, 1rem + .6vw, 1.4rem); line-height: 1.4; color: var(--navy); max-width: 40rem; }

/* Liste "Das bekommst du" */
.liste-pruefen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); max-width: 64rem; }
.liste-pruefen li { position: relative; padding: 18px 0 18px 38px; border-top: 1px solid var(--linie-stark); color: var(--ink); }
.liste-pruefen li::before { content: ""; position: absolute; left: 0; top: calc(18px + .2em); width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Fuß ---------- */
.fuss { background: var(--creme-tief); color: var(--ink); padding: clamp(48px, 6vw, 72px) 0 clamp(96px, 8vw, 72px); border-top: 1px solid var(--linie); }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.fuss .marke { color: var(--navy); }
.fuss-zeile { margin-top: 16px; color: var(--lese); font-size: 0.9375rem; max-width: 26rem; }
.fuss-navi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fuss-navi h2 { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-size: 0.875rem; font-weight: 660; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.fuss-navi ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fuss-navi a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(23, 35, 87, .28); text-underline-offset: 4px; display: inline-block; padding: 6px 0; border-radius: 4px; }
@media (hover: hover) { .fuss-navi a:hover { text-decoration-color: var(--navy); } }
.fuss-navi a:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.fuss-hinweis { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--linie-stark); font-size: 0.9375rem; color: var(--lese); }

/* ---------- Sticky-Bar mobil ---------- */
.klebeleiste { display: none; }

/* ---------- Bänder: jedes Kapitel legt sich mit runder Kante über das vorige ---------- */
.band { position: relative; background: var(--creme); padding: var(--band-pad) 0; }
.nacht + .band, .band + .band {
  margin-top: calc(-1 * var(--r-kapitel));
  border-radius: var(--r-kapitel) var(--r-kapitel) 0 0;
  padding-top: calc(var(--r-kapitel) + var(--band-pad) * .8);
}
.band:has(+ .band) { padding-bottom: calc(var(--band-pad) + var(--r-kapitel)); }
.nacht + .band--erst { padding-top: 0; }
.band--creme { background-color: var(--creme); }
.band--creme-tief { background-color: var(--creme-tief); }
.band--weiss { background-color: var(--weiss); }
.band--navy {
  background-color: var(--nacht);
  background-image:
    radial-gradient(900px 520px at 100% 0%, rgba(32, 48, 107, .42), transparent 70%),
    radial-gradient(760px 520px at 0% 100%, rgba(32, 48, 107, .26), transparent 70%);
  color: var(--auf-nacht);
}
.band--navy ::selection { background: var(--gold-hell); color: var(--nacht-tief); }
.band--navy .lead-karte ::selection, .band--navy .feld ::selection, .band--navy .jetzt ::selection, .band--navy .frage ::selection { background: var(--sand); color: var(--navy); }

/* Text direkt auf Navy */
.band--navy .sektion-kopf .kicker, .band--navy .abschluss > .kicker { color: var(--gold-hell); }
.band--navy .sektion-kopf .h2, .band--navy .abschluss > .h2 { color: var(--auf-nacht); }
.band--navy .sektion-kopf .vorspann, .band--navy .sektion-kopf .leitfrage, .band--navy .sektion-kopf .entlastung { color: var(--auf-nacht-hauch); }
.band--navy .abschluss > .text, .band--navy .abschluss > .mikro { color: var(--auf-nacht-hauch); }
.band--navy .abschluss .textlink { color: var(--auf-nacht); text-decoration-color: rgba(255, 255, 255, .5); }
.band--navy .abschluss .textlink:focus-visible { outline-color: var(--gold-hell); }
.band--navy .abschluss .knopf { box-shadow: var(--praegung-nacht); }
.band--navy .abschluss .knopf:focus-visible { outline-color: var(--gold-hell); box-shadow: var(--praegung-nacht), 0 0 0 8px rgba(219, 192, 69, .22); }
/* Helle Karten auf Navy: das Muster der Zahlkarte */
.band--navy .feld { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 18px 40px -22px rgba(0, 0, 0, .6); }
.band--navy .feld-leit, .band--navy .jetzt, .band--navy .lead-karte { box-shadow: var(--zahlkarte); }
.band--navy .frage { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 26px -18px rgba(0, 0, 0, .55); }

/* Rechner auf Creme-tief: helle Flächen statt gleicher Farbe */
.band--creme-tief .kasten-netto { background: var(--karte); box-shadow: 0 0 0 1px var(--linie); }
.band--creme-tief .segmente { background: #E2D9C6; }
.band--creme-tief .zwischenhalt { padding-bottom: 0; }

/* Ben auf Weiß */
.band--weiss .notiz { background: var(--creme); box-shadow: none; }
.band--weiss .zahlenleiste > div { background: var(--weiss); box-shadow: 0 0 0 1px var(--linie-stark); }

/* ---------- Copy v2: Fall als Absatz, Merkzeile unter dem Vergleich ---------- */
.fall-text { padding-top: 22px; border-top: 1px solid var(--linie-stark); }
.fall-text p { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.6; color: var(--ink); max-width: 30rem; }
.merkzeile {
  margin-top: clamp(28px, 3.4vw, 40px); display: flex; align-items: center; gap: 16px;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 640;
  font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--navy);
}
.merkzeile::before { content: ""; flex: none; width: 40px; height: 7px; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }

/* ---------- Runde 3 ---------- */
.einzelfall { margin-top: 10px; font-size: .875rem; line-height: 1.45; color: var(--lese); }
/* Seiten ohne Fotoband: Navy endet ohne Überstand */
.nacht:has(+ .band:not(.band--erst)) { padding-bottom: calc(var(--r-kapitel) + clamp(48px, 7vh, 88px)); }
/* Hero-Karte mit Foto (Immobilien) */
.zahlkarte.foto-karte { padding: 10px 10px clamp(20px, 2.4vw, 28px); }
.zahlkarte.foto-karte::after { display: none; }
.foto-karte-bild .foto { aspect-ratio: 4 / 3; border-radius: calc(var(--r-karte) - 10px); }
.foto-karte-bild .foto img { object-position: 62% 50%; }
.foto-karte .stark { margin: 18px clamp(10px, 1.6vw, 18px) 0; font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 620; font-size: 1.125rem; line-height: 1.4; color: var(--navy); }
/* Cookie-Banner (aus tracking.html) mobil als schmale Leiste unten; Sticky-Bar rückt darüber */
@media (max-width: 700px) {
  html body #bf-consent {
    left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); max-width: none;
    padding: 10px 12px; border-radius: 12px; font-size: .78rem; line-height: 1.4;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: center;
  }
  html body #bf-consent p { margin: 0; }
  html body #bf-consent .row { flex-direction: column; gap: 6px; flex-wrap: nowrap; }
  html body #bf-consent button { padding: 8px 10px; font-size: .78rem; white-space: nowrap; }
  body .klebeleiste { bottom: var(--banner-h, 0px); }
}
/* Hero mobil kompakter, damit der Knopf über dem Cookie-Banner bleibt */
@media (max-width: 700px) {
  body .buehne { padding-top: 14px; }
  body .pille { margin-bottom: 12px; }
  body .buehne-lead { margin-top: 12px; line-height: 1.5; }
  body .zahlkarte { margin-top: 16px; }
  body .karte-zeilen { margin-top: 10px; padding-top: 10px; gap: 6px; }
  body .summenstrich { margin: 8px 0 10px; }
  body .handlung { margin-top: 16px; }
  html body #bf-consent { font-size: .74rem; line-height: 1.35; padding: 9px 10px; }
}
/* ---------- Fotos ---------- */
.foto {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--r-karte); background: var(--creme-tief);
}
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.foto::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 23, 54, .10) 0%, rgba(18, 23, 54, 0) 28%, rgba(18, 23, 54, 0) 58%, rgba(18, 23, 54, .26) 100%);
  box-shadow: inset 0 0 0 1px rgba(18, 23, 54, .08);
}
.fotoband { margin-top: calc(-1 * var(--foto-ueber)); margin-bottom: clamp(80px, 9vw, 128px); }
.fotoband .foto { aspect-ratio: 1600 / 686; box-shadow: var(--zahlkarte); }
.fotoband .foto img { object-position: 50% 45%; }

.kopf-mit-bild { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(32px, 4.5vw, 52px); }
.kopf-mit-bild .sektion-kopf { margin-bottom: 0; padding-bottom: 8px; }
.kopf-bild .foto { aspect-ratio: 3 / 2; box-shadow: var(--kartenanhebung); }
.kopf-bild .foto img { object-position: 60% 40%; }

/* Felder mit Bild */
.feld-leit { --pad: clamp(28px, 3.4vw, 48px); }
.feld-leit .feld-bild {
  position: relative; flex: 1 1 auto; min-height: 290px;
  margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 14px;
}
.feld-leit .feld-bild .foto { position: absolute; inset: 0; border-radius: var(--r-md) var(--r-md) 0 0; }
.feld-leit .feld-bild .foto img { object-position: 50% 62%; }
.feld-leit .feld-bild .foto::after { background: linear-gradient(180deg, rgba(18, 23, 54, 0) 55%, rgba(18, 23, 54, .18) 100%); box-shadow: none; }
.feld-mit-bild {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(120px, 12vw, 168px);
  grid-template-rows: auto auto 1fr; column-gap: 20px; row-gap: 10px; align-content: stretch;
}
.feld-mit-bild > :not(.feld-bild) { grid-column: 1; }
.feld-mit-bild .feld-bild { grid-column: 2; grid-row: 1 / span 3; position: relative; min-height: 150px; }
.feld-mit-bild .feld-bild .foto { position: absolute; inset: 0; border-radius: var(--r-sm); }
.feld-mit-bild a { align-self: end; }
.feld .foto img { transition: transform .6s var(--ease); }
@media (hover: hover) { .feld:hover .foto img { transform: scale(1.035); } }

/* Ben */
.ben-foto { position: sticky; top: 32px; }
.ben-foto .foto { aspect-ratio: 4 / 5; box-shadow: var(--kartenanhebung); }
.ben-foto .foto img { object-position: 50% 30%; }
.ben-foto .foto::after { background: linear-gradient(180deg, rgba(18, 23, 54, 0) 60%, rgba(18, 23, 54, .22) 100%); }

/* ---------- Lead-Formular ---------- */
.lead { margin-top: clamp(40px, 5vw, 64px); }
.band--navy .lead { margin-top: clamp(64px, 8vw, 104px); }
.lead-karte {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.5vw, 72px);
  background: var(--karte); color: var(--ink);
  border-radius: var(--r-karte); padding: clamp(26px, 4vw, 56px);
  box-shadow: var(--kartenanhebung), 0 0 0 1px var(--linie);
}
.lead-karte::after {
  content: ""; position: absolute; inset: 10px; border-radius: calc(var(--r-karte) - 10px);
  border: 1px solid rgba(111, 86, 23, .14); pointer-events: none;
}
.lead-kopf { align-self: start; }
.lead-titel { font-size: clamp(1.75rem, 1.05rem + 1.9vw, 2.6rem); line-height: 1.06; font-weight: 660; letter-spacing: -0.03em; color: var(--navy); }
.lead-text { margin-top: 18px; color: var(--lese); font-size: 1.0625rem; line-height: 1.55; max-width: 30rem; }
.lead-koerper { position: relative; z-index: 1; }
.lead-felder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.lead-feld { display: grid; gap: 8px; align-content: start; }
.lead-feld--breit { grid-column: 1 / -1; }
.lead-feld label { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink); }
.lead-feld input {
  -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 54px; padding: 12px 16px;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--weiss); border: 1.5px solid rgba(23, 35, 87, .26); border-radius: 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lead-feld input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(219, 192, 69, .4); }
.lead-feld input[aria-invalid="true"] { border-color: #B3261E; }
.lead-feld input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .16); }
.lead-fehler { color: #A1251B; font-size: .9375rem; line-height: 1.4; font-weight: 500; }
.lead-fehler[hidden] { display: none; }
.lead-honig { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lead-einwilligung { margin-top: 22px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px 14px; align-items: start; }
.lead-einwilligung input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); cursor: pointer; }
.lead-einwilligung label { font-size: .9375rem; line-height: 1.5; color: var(--lese); cursor: pointer; }
.lead-einwilligung .textlink { font-family: inherit; text-underline-offset: 3px; }
.lead-einwilligung .lead-fehler { grid-column: 2; }
.lead-absenden { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.lead-knopf { border: 0; cursor: pointer; }
.lead-hilfe { color: var(--lese); font-size: .9375rem; line-height: 1.45; }
.lead-erfolg .textlink { margin-top: 4px; }
.lead-knopf[aria-busy="true"] { cursor: progress; background: var(--gold-hell); }
.lead-knopf[aria-busy="true"] svg { display: none; }
.lead-knopf[aria-busy="true"]::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(12, 16, 41, .25); border-top-color: var(--nacht-tief);
  animation: drehen .8s linear infinite;
}
@keyframes drehen { to { transform: rotate(360deg); } }
.lead-status:not(:empty) { margin-top: 16px; }
.lead-panne { background: #FBEDEA; border-radius: var(--r-sm); padding: 14px 18px; color: var(--ink); font-size: 1rem; line-height: 1.5; box-shadow: 0 0 0 1px rgba(161, 37, 27, .18); }
.lead-panne .textlink { margin-left: 2px; }
.lead-erfolg { display: grid; gap: 14px; justify-items: start; align-content: center; min-height: 100%; }
.lead-erfolg[hidden] { display: none; }
.lead-erfolg:focus { outline: none; }
.lead-erfolg p { color: var(--lese); max-width: 32rem; }
.lead-erfolg .knopf { margin-top: 8px; }
.lead-haken { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--sand); }
.lead-haken svg { width: 26px; height: 26px; }
.lead-erfolg-titel { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.1; font-weight: 660; letter-spacing: -0.025em; color: var(--navy); margin-top: 6px; }
.lead-erfolg.zeigen { animation: auftauchen .6s var(--ease) both; }
@keyframes auftauchen { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Zahlen, die hochzählen ---------- */
.zaehl { font-variant-numeric: tabular-nums lining-nums; }
.zaehl.zaehlt { display: inline-block; text-align: right; }
.zahlenleiste strong .zaehl { display: inline; margin: 0; font-size: inherit; color: inherit; line-height: inherit; }
.zahlenleiste strong .zaehl.zaehlt { display: inline-block; }

/* ---------- Einblenden beim Scrollen (Klasse setzt nur das Skript, nie bei reduzierter Bewegung) ---------- */
.einblenden { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--verz, 0ms); }
.einblenden.da { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .kopf-mit-bild { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ben-foto { position: static; max-width: 22rem; }
  .lead-karte { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  :root { --band-pad: 72px; --foto-ueber: 56px; }
  .fotoband { margin-bottom: 64px; }
  .fotoband .foto { aspect-ratio: 4 / 3; }
  .fotoband .foto img { object-position: 50% 50%; }
  .kopf-bild .foto { aspect-ratio: 4 / 3; }
  .feld-leit .feld-bild { min-height: 180px; }
  .feld-mit-bild { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .feld-mit-bild > :not(.feld-bild) { grid-column: 1; }
  .feld-mit-bild .feld-bild { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; margin-bottom: 6px; }
  .lead-felder { grid-template-columns: minmax(0, 1fr); }
  .lead-knopf, .lead-erfolg .knopf { width: 100%; }
  .lead-absenden { justify-content: center; text-align: center; }
  .lead-knopf { padding-left: 20px; padding-right: 20px; gap: 10px; white-space: nowrap; }
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1100px) {
  .navi-liste a { padding: 10px 10px; font-size: .9375rem; }
}
@media (max-width: 980px) {
  .buehne { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "karte" "handlung" "erklaer"; grid-template-rows: none; }
  .zahlkarte { margin-top: 28px; max-width: 34rem; }
  .handlung { margin-top: 26px; }
  .rechner { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .feld-leit { grid-row: auto; min-height: 360px; }
  .fall, .ben, .jetzt, .fuss-raster, .zweispaltig { grid-template-columns: minmax(0, 1fr); }
  .zweispaltig > .sektion-kopf { position: static; margin-bottom: 8px; }
  .ben .foto-platz { max-width: 22rem; }
  .schritte, .saeulen { grid-template-columns: minmax(0, 1fr); }
  .navi-liste, .kopf-knopf { display: none; }
  .menue-knopf { display: inline-flex; }
  .navi.offen-menue .navi-liste {
    display: grid; position: absolute; right: var(--rand); top: calc(100% + 10px);
    background: var(--pille-nacht); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-md);
    padding: 8px; min-width: 260px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6);
  }
  .navi.offen-menue .navi-liste a { display: block; padding: 14px 16px; font-size: 1.0625rem; border-radius: var(--r-sm); }
  .navi.offen-menue .navi-check { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .16); }
  .navi.offen-menue .navi-check a { color: var(--auf-nacht); font-weight: 660; }
}
@media (max-width: 700px) {
  :root { --r-kapitel: 28px; --r-karte: 24px; }
  body { font-size: 1rem; }
  .kopf .huelle { gap: 10px; }
  .marke { font-size: 1.0625rem; gap: 10px; padding-right: 0; white-space: nowrap; }
  .menue-knopf { padding: 8px 14px; gap: 6px; }
  .marke img { width: 36px; height: 36px; }
  .buehne { padding-top: 22px; }
  .pille { font-size: 0.875rem; padding: 6px 14px; margin-bottom: 16px; }
  .h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); line-height: 1.04; letter-spacing: -0.034em; }
  .thema .h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .buehne-lead { font-size: 1.0625rem; margin-top: 16px; }
  .zahlkarte { margin-top: 20px; padding: 20px 22px 22px; }
  .zahlkarte::after { inset: 7px; }
  .karte-zahl { font-size: clamp(2.9rem, 14vw, 3.6rem); }
  .summenstrich { margin: 10px 0 12px; }
  .karte-nach { font-size: 1.125rem; }
  .karte-zeilen { margin-top: 12px; padding-top: 12px; gap: 8px; }
  .karte-zeilen p { font-size: .9375rem; line-height: 1.5; }
  .handlung { margin-top: 18px; gap: 10px; }
  .handlung .knopf { width: 100%; }
  .knopf { padding: 16px 24px; min-height: 56px; font-size: 1.0625rem; }
  .nacht { padding-bottom: calc(var(--r-kapitel) + 40px + var(--foto-ueber)); }
  .vergleich, .vergleich.drei-zeilen { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 40px; }
  .spalte, .vergleich.drei-zeilen .spalte { grid-row: auto; grid-template-rows: none; }
  .punkte { display: block; }
  .wende { position: relative; left: auto; top: auto; margin: -28px auto; transform: rotate(90deg); grid-row: 2; }
  .ergebnis { grid-template-columns: minmax(0, 1fr); }
  .fall-ablauf > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .feld-leit { min-height: 0; }
  .feld-raster { min-height: 64px; }
  .zahlenleiste { grid-template-columns: minmax(0, 1fr); }
  .liste-pruefen { grid-template-columns: minmax(0, 1fr); }
  .fuss-navi { grid-template-columns: minmax(0, 1fr); }
  .abschluss .knopf { width: 100%; }
  .klebeleiste {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) 18px;
    background: var(--karte);
    box-shadow: 0 -1px 0 var(--linie-stark), 0 -12px 28px -14px rgba(23, 35, 87, .35);
    visibility: hidden; opacity: 0;
    transition: opacity .25s var(--ease), visibility 0s linear .25s;
  }
  .klebeleiste.sichtbar { visibility: visible; opacity: 1; transition: opacity .25s var(--ease), visibility 0s; }
  .klebeleiste .mikro { flex: 1 1 auto; min-width: 0; font-size: .875rem; line-height: 1.3; color: var(--lese); }
  .klebeleiste .knopf { min-height: 48px; padding: 12px 16px; font-size: 1rem; gap: 6px; flex: none; }
  .klebeleiste .knopf svg { width: 18px; height: 18px; }
}
@media (max-width: 380px) {
  .klebeleiste .mikro { font-size: .8125rem; }
  .klebeleiste .knopf { padding: 12px 14px; font-size: .9375rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Fall: Video von Sebastian (2026-10-30) */
.fall-video { margin: 28px 0 0; }
.fall-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-karte); background: var(--navy, #172357); box-shadow: var(--kartenlage), 0 0 0 1px var(--linie); }
.fall-video figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--ink); opacity: .75; }

/* ---------- Runde 4 (2026-10-30): ruhigere Typografie oben, kompakte Hero-Karte, Rechner mit einer Zahl ---------- */
.h1 { font-size: clamp(2.25rem, 1rem + 3.1vw, 4rem); line-height: 1.05; font-weight: 650; letter-spacing: -0.03em; }
.thema .h1 { font-size: clamp(2.125rem, 1rem + 2.7vw, 3.5rem); line-height: 1.06; }
.h2 { font-size: clamp(1.625rem, 1rem + 2.1vw, 2.75rem); line-height: 1.1; font-weight: 650; letter-spacing: -0.028em; }

/* Hero-Karte: Zahl, eine Zeile Bedeutung, eine leise Brücke zum Rechner */
.zahlkarte { padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.6vw, 34px); }
.zahlkarte::after { display: none; }
.zahlkarte .karte-zahl {
  font-size: clamp(2.5rem, 1.7rem + 1.9vw, 3.5rem);
  font-weight: 660; line-height: 1; letter-spacing: -0.035em; margin: 0;
}
.zahlkarte .karte-zahl .eur { font-size: .8em; vertical-align: baseline; margin-left: 0; letter-spacing: 0; font-weight: 600; }
.zahlkarte .karte-nach {
  margin-top: 10px; font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem; font-weight: 560; line-height: 1.4; letter-spacing: 0; color: var(--ink);
}
.karte-weiter { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); color: var(--lese); font-size: .9375rem; line-height: 1.45; }

/* Rechner-Ergebnis: eine große Zahl */
.ergebnis { grid-template-columns: minmax(0, 1fr); }
.kasten-brutto { gap: 0; }
.ergebnis-label { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 620; font-size: 1rem; line-height: 1.3; color: var(--navy); }
.ergebnis-zahl {
  margin-top: 6px; font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.5rem); font-weight: 680; line-height: 1.05; letter-spacing: -0.035em;
  color: var(--navy); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}
.ergebnis-zurueck { margin-top: 8px; font-size: 1.0625rem; line-height: 1.45; color: var(--ink); }
.ergebnis-rahmen { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(111, 86, 23, .2); font-size: .9375rem; line-height: 1.45; color: var(--lese); }
.ergebnis .wert { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 680; color: var(--navy); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }

@media (max-width: 700px) {
  .h1 { font-size: 2.125rem; line-height: 1.1; letter-spacing: -0.028em; }
  .thema .h1 { font-size: 2rem; }
  .h2 { font-size: clamp(1.625rem, 6.8vw, 1.875rem); }
  .zahlkarte { margin-top: 18px; padding: 18px 20px; }
  .zahlkarte .karte-zahl { font-size: 2.5rem; }
  .zahlkarte .karte-nach { font-size: 1rem; margin-top: 8px; }
  .karte-weiter { margin-top: 12px; padding-top: 10px; }
}

/* Runde 4b: Themenseite mit Fotokarte, mobil Knopf vor das Bild (2026-10-30) */
@media (max-width: 980px) {
  .buehne:has(.foto-karte) { grid-template-areas: "text" "handlung" "karte" "erklaer"; }
  .buehne:has(.foto-karte) .handlung { margin-top: 22px; }
}

/* Team treue
   Runde 5, Design-Challenge 261031: Effekte der alten Startseite Baustein für Baustein.
   Alles hängt an body.start-treue (nur die Startseite), Themenseiten bleiben unberührt.
   Tokens der alten Seite (:root alt), Kontraste gemessen, siehe bericht.md. */
.start-treue {
  --t-gold-hi: #EAD26E;
  --t-kicker: #574310;            /* 8,35:1 auf #F5F0E6, 7,62:1 auf #EDE6D6 */
  --t-sh: 0 30px 60px -34px rgba(23, 35, 87, .28), 0 10px 22px -14px rgba(23, 35, 87, .16);
  --t-sh-lg: 0 50px 90px -40px rgba(23, 35, 87, .4), 0 16px 34px -18px rgba(23, 35, 87, .22);
  --t-dots: radial-gradient(rgba(169, 141, 71, .16) 1.1px, transparent 1.2px);
  --t-gold-verlauf: linear-gradient(180deg, #f7e4a6 0%, #e3c26c 15%, #cfa94f 39%, #C4A23C 51%, #cba352 63%, #e4c576 86%, #f4de97 100%);
  --t-praegung: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 -2px 0 rgba(108, 76, 20, .28) inset, 0 12px 26px -12px rgba(120, 88, 20, .6);
  --t-ease: cubic-bezier(.22, 1, .36, 1);
}
html:has(body.start-treue) { scroll-padding-top: 100px; }

/* Kicker auf hellen Flächen dunkler (Entscheidung Head: ≥ 7:1), auf Navy Gold-hell */
.start-treue .kicker { color: var(--t-kicker); }
.start-treue .band--navy .kicker { color: #DBC045; }

/* 0 Kopf: transparent über dem Foto, ab Hero-Ende Creme-Glas */
.start-treue .kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background-color .4s var(--t-ease), box-shadow .4s var(--t-ease);
}
.start-treue .kopf .marke span { color: #FFFFFF; }
.start-treue .kopf .navi-liste a { color: #FFFFFF; }
.start-treue .kopf .menue-knopf { color: #FFFFFF; }
.start-treue .kopf.kopf--glas {
  background-color: rgba(245, 240, 230, .94);
  box-shadow: 0 1px 0 var(--linie), 0 10px 30px -18px rgba(23, 35, 87, .3);
}
@supports (backdrop-filter: blur(1px)) {
  .start-treue .kopf.kopf--glas { background-color: rgba(245, 240, 230, .86); backdrop-filter: saturate(1.3) blur(12px); }
  @media (min-width: 981px) { .start-treue .kopf.kopf--glas { backdrop-filter: saturate(1.3) blur(16px); } }
}
.start-treue .kopf.kopf--glas .marke span { color: var(--navy); }
@media (min-width: 981px) {
  .start-treue .kopf.kopf--glas .navi-liste a { color: var(--ink); }
  .start-treue .kopf.kopf--glas .navi-liste a:hover { color: var(--navy); }
}
.start-treue .kopf.kopf--glas .menue-knopf { color: var(--navy); }

/* 2 Gold-Knopf mit Glanz-Sweep (kein transform auf dem Knopf, nur der Glanz wandert) */
.start-treue .knopf,
.start-treue .kopf-knopf {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--t-gold-verlauf); color: var(--nacht-tief);
  border: 1px solid rgba(111, 86, 23, .35);
  box-shadow: var(--t-praegung);
  text-shadow: none;
  transition: box-shadow .35s var(--t-ease), border-color .35s var(--t-ease);
}
.start-treue .knopf::after,
.start-treue .kopf-knopf::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(103deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%) no-repeat;
  background-size: 200% 100%; background-position: 160% 0;
  transition: background-position .55s var(--t-ease);
}
.start-treue .knopf:hover,
.start-treue .kopf-knopf:hover {
  background: var(--t-gold-verlauf); color: var(--nacht-tief);
  box-shadow: var(--t-praegung), 0 18px 40px -10px rgba(120, 88, 20, .7), 0 0 46px -8px rgba(234, 210, 110, .65);
}
.start-treue .knopf:hover::after,
.start-treue .kopf-knopf:hover::after { background-position: 40% 0; }
.start-treue .knopf:active,
.start-treue .kopf-knopf:active { box-shadow: 0 2px 0 rgba(108, 76, 20, .3) inset; }
.start-treue .knopf:focus-visible,
.start-treue .kopf-knopf:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.start-treue .nacht .knopf:focus-visible,
.start-treue .kopf:not(.kopf--glas) .kopf-knopf:focus-visible { outline-color: #FFFFFF; }
.start-treue .kopf-knopf { padding: 11px 20px; }

/* 1 Hero: Foto, warmer Schleier, Glas-Karten */
.start-treue .nacht { position: relative; isolation: isolate; background-color: var(--nacht); }
.start-treue .buehne-bild { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.start-treue .buehne-bild picture,
.start-treue .buehne-bild img { display: block; width: 100%; height: 100%; }
.start-treue .buehne-bild img { object-fit: cover; object-position: 50% 40%; }
.start-treue .buehne-bild::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(62% 58% at 24% 38%, rgba(18, 14, 8, .52), transparent 72%),
    linear-gradient(180deg, rgba(18, 14, 8, .5) 0%, rgba(18, 14, 8, 0) 30%, rgba(18, 14, 8, 0) 78%, rgba(18, 14, 8, .5) 100%),
    linear-gradient(90deg, rgba(18, 14, 8, .88) 0%, rgba(18, 14, 8, .84) 42%, rgba(18, 14, 8, .62) 58%, rgba(18, 14, 8, .38) 100%);
}
.start-treue .buehne { position: relative; z-index: 1; }
.start-treue .pille {
  background: rgba(12, 16, 41, .42); border: 1px solid rgba(255, 255, 255, .22); color: #FFFFFF;
  display: inline-flex; align-items: center; gap: 9px;
}
.start-treue .pille-punkt {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: #DBC045; box-shadow: 0 0 0 3px rgba(219, 192, 69, .22);
}
.start-treue .h1 .vorher { color: var(--t-gold-hi); }
.start-treue .h1 .nachher { color: #FDF8EC; }
.start-treue .h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.start-treue .buehne-lead,
.start-treue .nacht .mikro { color: rgba(253, 248, 236, .92); }
.start-treue .ki-etikett {
  position: absolute; left: clamp(16px, 2vw, 28px); bottom: 64px; z-index: 1; margin: 0;
  font-size: .75rem; line-height: 1.3; letter-spacing: .01em; color: #FFFFFF;
  background: rgba(12, 16, 41, .72); border-radius: 999px; padding: 4px 10px;
}

/* 3 Zahlkarte und Deko-Karten als Glas */
.start-treue .zahlkarte {
  background: rgba(18, 23, 54, .78); color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px;
  box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.start-treue .zahlkarte * { color: inherit; }
.start-treue .zahlkarte .karte-zahl { color: var(--t-gold-hi); }
.start-treue .zahlkarte .karte-nach { color: #FFFFFF; }
.start-treue .zahlkarte .karte-weiter { color: #E4E6EF; border-color: rgba(255, 255, 255, .14); }
.start-treue .glaskarte { display: none; }
@media (min-width: 981px) {
  .start-treue .zahlkarte { background: rgba(18, 23, 54, .88); }
  @supports (backdrop-filter: blur(1px)) {
    .start-treue .zahlkarte,
    .start-treue .glaskarte { backdrop-filter: saturate(1.5) blur(16px); }
  }
  .start-treue .zahlkarte { animation: t-bob 7s ease-in-out infinite; }
  .start-treue .glaskarte {
    display: block; position: absolute; z-index: 2; width: 232px; margin: 0;
    background: rgba(18, 23, 54, .82); color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 16px 18px;
    box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .16);
  }
  .start-treue .glaskarte--a { right: 310px; bottom: 6px; animation: t-bob 8s ease-in-out -2s infinite; }
  .start-treue .glaskarte--b { right: 54px; bottom: -34px; animation: t-bob 9s ease-in-out -4.5s infinite; }
  .start-treue .glaskarte p { margin: 0; }
  .start-treue .gk-k { font-size: .75rem; line-height: 1.35; color: var(--auf-nacht-hauch); margin-bottom: 6px !important; }
  .start-treue .gk-v { font-family: var(--font-kopf, inherit); font-size: 1.75rem; line-height: 1.1; font-weight: 680; color: var(--t-gold-hi); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
  .start-treue .gk-n { font-size: .875rem; color: #FFFFFF; margin-top: 2px !important; }
  .start-treue .gk-fuss { font-size: .8125rem; color: var(--auf-nacht-hauch); margin-top: 10px !important; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .start-treue .sterne { color: #DBC045; letter-spacing: 1px; }
  .start-treue .ki-etikett { left: max(4vw, calc((100% - 1180px) / 2)); bottom: 150px; }
}
@keyframes t-bob { 50% { transform: translateY(-14px); } }

/* 2 „Kommt dir das bekannt vor?": warmes Hintergrundlicht, Material nur auf „Mit Plan" */
.start-treue .band--erst {
  background-image:
    radial-gradient(50% 40% at 88% 8%, rgba(219, 192, 69, .14), transparent 60%),
    radial-gradient(46% 40% at 6% 42%, rgba(196, 162, 60, .10), transparent 60%);
}
.start-treue .fotoband { box-shadow: var(--t-sh-lg); }
.start-treue .spalte-heute { background: var(--creme-tief); box-shadow: none; }
.start-treue .spalte-plan,
.start-treue .lead-karte,
.start-treue .fall-ergebnis {
  background: var(--t-dots) 0 0 / 15px 15px, linear-gradient(160deg, #FFFFFF, #FBF7EE);
  border: 1px solid var(--linie);
  box-shadow: var(--t-sh);
}

/* 3 Rechner: Ergebnis wird die Cockpit-Kachel */
.start-treue .kasten-brutto {
  position: relative; overflow: hidden;
  background:
    radial-gradient(50% 40% at 82% 6%, rgba(219, 192, 69, .18), transparent 62%),
    linear-gradient(165deg, var(--nacht), var(--nacht-tief));
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px;
  box-shadow: 0 14px 26px -22px rgba(12, 16, 41, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
  color: #FFFFFF;
}
.start-treue .kasten-brutto .ergebnis-label { color: var(--auf-nacht-hauch); }
.start-treue .kasten-brutto .ergebnis-zahl { color: var(--t-gold-hi); font-variant-numeric: tabular-nums; }
.start-treue .kasten-brutto .ergebnis-zahl * { color: inherit; }
.start-treue .kasten-brutto .ergebnis-zurueck { color: #FFFFFF; }
.start-treue .kasten-brutto .ergebnis-zurueck .wert,
.start-treue .kasten-brutto .ergebnis-zurueck .wert * { color: #DBC045; }
.start-treue .kasten-brutto .ergebnis-rahmen { color: var(--auf-nacht-leise); border-top: 1px solid rgba(255, 255, 255, .12); }
.start-treue .kasten-brutto .ergebnis-rahmen .wert,
.start-treue .kasten-brutto .ergebnis-rahmen .wert * { color: #FFFFFF; }
.start-treue .strich { display: block; width: min(240px, 70%); height: 8px; margin: 6px 0 4px; overflow: visible; }
.start-treue .strich .ln {
  fill: none; stroke: #DBC045; stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 240; stroke-dashoffset: 240;
  transition: stroke-dashoffset 1.1s var(--t-ease) .15s;
}
.start-treue .strich.gezeichnet .ln { stroke-dashoffset: 0; }

/* 4, 7, 9 Navy-Bänder als Cockpit-Fläche */
.start-treue .band--navy {
  background:
    radial-gradient(50% 40% at 82% 6%, rgba(219, 192, 69, .18), transparent 62%),
    radial-gradient(46% 44% at 8% 96%, rgba(120, 110, 220, .16), transparent 64%),
    linear-gradient(165deg, var(--nacht), var(--nacht-tief));
}
.start-treue .band--navy:has(.jetzt) {
  background:
    radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.1px) 0 0 / 18px 18px,
    radial-gradient(50% 40% at 82% 6%, rgba(219, 192, 69, .14), transparent 62%),
    linear-gradient(165deg, var(--nacht), var(--nacht-tief));
}
.start-treue .feld {
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .7);
  transition: border-color .3s var(--t-ease), box-shadow .3s var(--t-ease);
}
.start-treue .feld:hover { border-color: rgba(219, 192, 69, .55); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(219, 192, 69, .25); }
.start-treue .jetzt { box-shadow: inset 4px 0 0 var(--gold), var(--t-sh-lg); }

/* 5 Fall: Video-Rahmen und Gold-Play */
.start-treue .fall-video { position: relative; }
.start-treue .fall-video video { border-radius: 24px; box-shadow: var(--t-sh-lg); border: 1px solid var(--linie); }
.start-treue .play-deko {
  position: absolute; z-index: 2; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 9;
  display: grid; place-items: center; pointer-events: none;
  transition: opacity .2s linear;
}
.start-treue .play-deko svg {
  width: 88px; height: 88px; padding: 27px 25px 27px 31px; border-radius: 50%;
  background: linear-gradient(180deg, var(--t-gold-hi), var(--gold)); fill: var(--nacht);
  box-shadow: 0 22px 46px -14px rgba(219, 192, 69, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.start-treue .play-deko::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 108px; height: 108px; margin: -54px 0 0 -54px;
  border-radius: 50%; border: 2px solid rgba(219, 192, 69, .42);
  animation: t-puls 2.6s ease-out infinite;
}
@keyframes t-puls { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.start-treue .fall-video.spielt .play-deko { opacity: 0; }
.start-treue .fall-video.spielt .play-deko::after { animation: none; }
.start-treue .fall-ergebnis .wert-gross { color: var(--navy); }

/* 6 Ben: Ring zu „4,9 von 5" */
.start-treue .zahlenleiste > .mit-ring { position: relative; padding-left: 98px; }
.start-treue .ring { position: absolute; left: 24px; top: 50%; width: 58px; height: 58px; margin-top: -29px; transform: rotate(-90deg); }
.start-treue .ring circle { fill: none; stroke-width: 8; }
.start-treue .ring .bg { stroke: rgba(23, 35, 87, .10); }
.start-treue .ring .fg {
  stroke: var(--gold); stroke-linecap: round;
  stroke-dasharray: 264; stroke-dashoffset: 264;
  transition: stroke-dashoffset 1.6s var(--t-ease) .2s;
}
.start-treue .ring.gezeichnet .fg { stroke-dashoffset: 5.3; } /* 98 % = 4,9 von 5 */

/* 10 Abschluss: goldene Schluss-Sektion, Schrift Nacht statt Weiß */
.start-treue .band--creme:has(.abschluss) {
  position: relative; z-index: 2;
  background:
    radial-gradient(rgba(60, 44, 10, .07) 1.2px, transparent 1.3px) 0 0 / 18px 18px,
    radial-gradient(44% 34% at 50% 60%, rgba(255, 242, 190, .32), transparent 72%),
    radial-gradient(120% 92% at 50% 0%, var(--t-gold-hi), transparent 56%),
    linear-gradient(160deg, #DBC045, #CBAA45 96%);
  border-radius: 36px 36px 0 0;
}
.start-treue .abschluss .kicker,
.start-treue .abschluss .h2,
.start-treue .abschluss .text,
.start-treue .abschluss .mikro,
.start-treue .abschluss .textlink { color: var(--nacht-tief); }
.start-treue .abschluss .textlink { text-decoration-color: rgba(18, 23, 54, .55); }
.start-treue .abschluss .knopf {
  background: var(--nacht); color: var(--t-gold-hi);
  border: 1px solid rgba(234, 210, 110, .62);
  box-shadow: 0 18px 36px -16px rgba(12, 16, 41, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.start-treue .abschluss .knopf:hover { background: var(--nacht); color: var(--t-gold-hi); box-shadow: 0 22px 44px -14px rgba(12, 16, 41, .7), 0 0 0 1px rgba(234, 210, 110, .5); }
.start-treue .abschluss .knopf::after { background-image: linear-gradient(103deg, transparent 38%, rgba(234, 210, 110, .22) 50%, transparent 62%); }
.start-treue .abschluss .knopf:focus-visible { outline-color: var(--nacht); }

/* 11 Klebeleiste mobil: Creme-Glas, deckend ohne Filter */
.start-treue .klebeleiste { background: rgba(245, 240, 230, .96); box-shadow: 0 -1px 0 var(--linie), 0 -12px 30px -18px rgba(23, 35, 87, .3); }

/* Einblendung mit den Werten der alten .reveal */
.start-treue .einblenden:not(.da) { transform: translateY(26px); }

/* Mobil */
@media (max-width: 980px) {
  .start-treue .buehne-bild::after {
    background: linear-gradient(180deg, rgba(18, 14, 8, .86) 0%, rgba(18, 14, 8, .82) 50%, rgba(18, 14, 8, .86) 85%, rgba(18, 14, 8, .9) 100%);
  }
  .start-treue .play-deko svg { width: 64px; height: 64px; padding: 19px 17px 19px 23px; }
  .start-treue .play-deko::after { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
  .start-treue .band--creme:has(.abschluss) { border-radius: 28px 28px 0 0; }
}

/* Ohne Bewegung: alles steht, Linie und Ring sofort fertig */
@media (prefers-reduced-motion: reduce) {
  .start-treue .zahlkarte,
  .start-treue .glaskarte,
  .start-treue .play-deko::after { animation: none !important; }
  .start-treue .knopf::after,
  .start-treue .kopf-knopf::after,
  .start-treue .kopf,
  .start-treue .feld,
  .start-treue .knopf,
  .start-treue .kopf-knopf { transition: none !important; }
  .start-treue .strich .ln { transition: none; stroke-dashoffset: 0; }
  .start-treue .ring .fg { transition: none; stroke-dashoffset: 5.3; }
  .start-treue .einblenden:not(.da) { transform: none; }
}
.start-treue .kopf.kopf--glas .menue-knopf { border-color: var(--linie-stark); }
@media (max-width: 1199px) { .start-treue .glaskarte--a { display: none; } }

/* Runde 5b (Ben 2026-10-31): keine Gold-Doppelstriche mehr, kein KI-Etikett, kein Fotoband direkt unter dem Foto-Hero */
.merkzeile::before, .summenstrich, .marke-strich { display: none !important; }
.merkzeile { gap: 0; }
.ki-etikett { display: none !important; }

/* Runde 5d (Ben 2026-10-31): statt Gold-Doppelstrich ein goldener Punkt ("Bubble") */
.merkzeile { gap: 14px !important; align-items: center; }
.merkzeile::before, .saeule .marke-strich {
  display: block !important; content: "" !important; flex: none;
  width: 12px !important; height: 12px !important; border: 0 !important; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #EAD26E, #C4A23C 60%, #8a6d1f);
  box-shadow: 0 0 0 5px rgba(196,162,60,.16);
  transform: none !important;
}
/* Runde 5d: ohne Fotoband braucht das erste Band oben Luft */
.start-treue .band--erst > .huelle { padding-top: clamp(56px, 7vw, 96px); }
