/* Blatt (Slice BLATT): Praxis-Befund im Vollbild-Blatt mit Zwischenseite, Formular, Ergebnis und Danke.
   Präfix b-. Ohne JS steht das Blatt als normaler Abschnitt unter der Seite. */

.b-blatt {
  --b-navy: #001524; --b-hell: #E1E8EF; --b-mittel: #C9D3DF; --b-grau: #A3B2C5; --b-rot: #D71A17;
  --b-text: #1B2A38; --b-neben: #3E4F61; --b-linie: #C9D3DF;
  --b-passt: #2E8B57; --b-pruefen: #E3A21A; --b-fehlt: #C0392B;
  --b-drawer: cubic-bezier(.32, .72, 0, 1);
  color: var(--b-text); background: #FFFFFF;
}

/* ---------- Blatt über der Seite (sobald das Kit läuft) ---------- */
html[data-nf-check] .b-blatt {
  position: fixed; inset: 0; z-index: 58; /* unter dem Cookie-Hinweis (60), über dem Sticky (40) */
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: rgba(0, 21, 36, .56);
  display: none; /* geschlossen ohne Box: qa und Vorleser sehen keine Frage */
}
html[data-sheet="auf"] .b-blatt { display: block; }
/* Einfahren von unten (Schließen sofort) */
html[data-nf-check] .b-flaeche { transition: transform 360ms var(--b-drawer); }
@starting-style { html[data-sheet="auf"] .b-flaeche { transform: translateY(100%); } }
html[data-sheet="auf"], html[data-sheet="auf"] body { overflow: hidden; }
/* Seite dahinter nicht erreichbar (qa klickt sonst durch das Blatt) */
html[data-sheet="auf"] .o-kopf, html[data-sheet="auf"] .o-main, html[data-sheet="auf"] .u-notiz,
html[data-sheet="auf"] .u-fuss, html[data-sheet="auf"] [data-nf-sticky] { visibility: hidden; }
html:not([data-nf-check]) .b-leiste, html:not([data-nf-check]) .b-zeichen { display: none; }

.b-flaeche {
  position: relative; width: 100%; max-width: 560px; min-height: 100%; margin: 0 auto;
  padding: 0 16px 40px; background: #FFFFFF; outline: none;
}
.b-flaeche:focus-visible { outline: none; }

/* Kopf: Kreuz klebt oben rechts, Zurück und Fortschritt stehen im Check */
.b-leiste { position: sticky; top: 0; z-index: 3; height: 0; display: flex; justify-content: flex-end; }
.b-rund {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0;
  border-radius: var(--o-pille); background: #FFFFFF; color: var(--b-navy); cursor: pointer;
  transition: transform 160ms var(--o-ease), background-color 160ms ease;
}
.b-rund:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .b-rund:hover { background: #F3F3F3; } }
.b-zu { margin: 8px -6px 0 0; }
.b-ico { width: 22px; height: 22px; }
.b-ico--zurueck { transform: scaleX(-1); }
/* Wasserzeichen aus: das Original-Logo mit 6 % Deckkraft wirkte als grauer Fleck neben dem Kreuz (Durchgang 3.11.) */
.b-zeichen { display: none; }

/* ---------- Check: Befundbogen ---------- */
.b-check { position: relative; display: flex; flex-direction: column; }
.b-check > .b-kopf { order: -2; }
.b-blatt.b-laedt .b-check { visibility: hidden; }
.b-kopf {
  display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 64px; margin: 0 -6px;
  padding: 8px 0; border-bottom: 3px double var(--b-linie);
}
.b-kopf .b-zurueck { grid-column: 1; grid-row: 1; }
.b-kopf .b-fort { grid-column: 2; grid-row: 1; }
html[data-nf-check="fertig"] .b-kopf, html:not([data-nf-check]) .b-kopf { display: none; }
.b-fort { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--b-navy); font-variant-numeric: tabular-nums; }
.b-fort__kit { display: none; }
.b-fort__frei { display: none; }
.b-seg { display: flex; gap: 6px; }
.b-seg i { display: block; width: 12px; height: 12px; border: 2px solid var(--b-navy); background: var(--b-hell); border-color: var(--b-grau); }
.b-seg i.b-seg--an { background: var(--b-navy); border-color: var(--b-navy); }
.b-seg i.b-seg--weg { display: none; }
.b-blatt[data-b-frei] .b-fort__zahl, .b-blatt[data-b-frei] .b-seg { display: none; }
.b-blatt[data-b-frei] .b-fort__frei { display: block; font-size: 14px; }

.b-check fieldset { margin: 0; padding: 28px 0 0; border: 0; min-width: 0; }
.b-check legend {
  float: left; width: 100%; padding: 0 56px 0 0; margin: 0;
  font-family: var(--font-headline); font-weight: 800; font-size: 28px; line-height: 32px; letter-spacing: -0.02em;
  color: var(--b-navy); text-wrap: balance; outline: none;
}
.b-check legend + p { clear: both; margin: 0; padding-top: 10px; font-size: 15px; line-height: 22px; color: var(--b-neben); text-wrap: pretty; }
.b-check fieldset > .b-opt:first-of-type { margin-top: 20px; }

/* Antworten: Kästchen links, Auswahl Navy gefüllt */
.b-opt, .b-weg {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 60px; margin-top: 12px; padding: 10px 16px;
  border: 2px solid var(--b-navy); border-radius: var(--o-radius); background: #FFFFFF; color: var(--b-navy);
  font-weight: 600; font-size: 17px; line-height: 22px; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--o-ease);
}
.b-opt > span:not(.b-kasten), .b-weg > span:not(.b-kasten) { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.b-opt input, .b-weg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.b-opt:active, .b-weg:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .b-opt:hover, .b-weg:hover { background: var(--b-hell); } }
.b-kasten { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid currentColor; background: #FFFFFF; color: var(--b-navy); }
.b-kasten .b-ico--haken { width: 16px; height: 16px; opacity: 0; transform: scale(.6); transition: opacity 120ms ease, transform 160ms var(--o-ease); }
.b-opt:has(input:checked), .b-weg:has(input:checked) { background: var(--b-navy); color: #FFFFFF; }
.b-opt:has(input:checked) .b-kasten, .b-weg:has(input:checked) .b-kasten { border-color: #FFFFFF; }
.b-opt:has(input:checked) .b-ico--haken, .b-weg:has(input:checked) .b-ico--haken { opacity: 1; transform: none; }
.b-opt:has(input:focus-visible), .b-weg:has(input:focus-visible) { outline: 3px solid var(--b-navy); outline-offset: 3px; }

/* Weiter (Navy; Rot bleibt dem Absenden) */
.b-weiter {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; margin-top: 20px;
  padding: 0 8px 0 24px; border: 0; border-radius: var(--o-pille); background: var(--b-navy); color: #FFFFFF;
  font-family: var(--font-text); font-weight: 600; font-size: 17px; line-height: 22px; cursor: pointer;
  transition: transform 160ms var(--o-ease), background-color 160ms ease;
}
.b-weiter:active { transform: scale(.97); }
.b-weiter[aria-disabled="true"] { background: var(--b-mittel); color: var(--b-navy); }
.b-weiter__pfeil { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.b-weiter__pfeil .b-ico { width: 18px; height: 18px; }
.b-weiter--form { justify-content: center; padding: 0 24px; }
.b-check [data-nf-frage="q3"] .b-weiter { position: sticky; bottom: 12px; box-shadow: 0 10px 24px -12px rgba(0, 21, 36, .5); }
.b-check [data-nf-frage="q3"]:has(input:checked) .b-weiter { background: var(--b-navy); color: #FFFFFF; }

.b-skip, .b-zurueck-text {
  display: block; min-height: 48px; margin: 8px auto 0; padding: 0 12px; border: 0; background: none; color: var(--b-navy);
  font-family: var(--font-text); font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer;
}
.b-skip--q4 { display: none; }
html[data-o-folge="inhaber"] .b-skip--q4 { display: block; }
html[data-o-folge="inhaber"] [data-nf-frage="q5"] [data-nf-ueberspringen] { display: none; }

/* Mini-Ampel (nur ?a=inhaber, nach „Deine Vorsorge“) */
.b-mini { display: none; margin-top: 28px; padding: 22px 20px 20px; border: 2px solid var(--b-navy); border-radius: var(--o-radius); outline: none; }
/* Karte steht über der nächsten Frage; die Frage bleibt darunter erreichbar (qa und Tastatur laufen weiter) */
.b-blatt[data-b-mini="auf"] .b-mini { display: block; order: -1; }
.b-blatt[data-b-mini="auf"] .b-check fieldset { padding-top: 32px; }
.b-mini__eyebrow { margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--b-neben); }
.b-mini__wort { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; font-family: var(--font-headline); font-weight: 800; font-size: 34px; line-height: 38px; color: var(--b-navy); }
.b-mini__satz { margin: 12px 0 0; font-size: 17px; line-height: 26px; text-wrap: pretty; }

/* Farbpunkte der Ampel (immer mit Wort daneben) */
.b-punkt { flex: none; display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--b-grau); }
[data-stufe="gruen"] .b-punkt { background: var(--b-passt); }
[data-stufe="gelb"] .b-punkt { background: var(--b-pruefen); }
[data-stufe="rot"] .b-punkt { background: var(--b-fehlt); }
.b-punkt--grau { background: var(--b-mittel); }

/* ---------- Zwischenseite (Ergebnis scharf: Karte, Ampel, erste Handlung) und Formular ---------- */
html[data-nf-check="fertig"] .b-check fieldset { display: none; }
.b-zwischen { padding-top: 64px; }
html:not([data-nf-check]) .b-zwischen { padding-top: 24px; }
.b-titel {
  margin: 0; padding-right: 48px; font-family: var(--font-headline); font-weight: 800; font-size: 30px; line-height: 34px;
  letter-spacing: -0.02em; color: var(--b-navy); text-wrap: balance; outline: none;
}
.b-titel .o-key { padding-bottom: .08em; }
.b-rechnung { margin-top: 14px; }
.b-befund { max-width: none; margin: 0; }
.b-satz { margin: 16px 0 0; font-size: 17px; line-height: 26px; text-wrap: pretty; }
.b-satz--stark { margin-top: 8px; font-weight: 600; color: var(--b-navy); text-wrap: balance; }
.b-h3 { margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: 22px; line-height: 26px; letter-spacing: -0.015em; color: var(--b-navy); text-wrap: balance; }

/* Ergebnis auf der Zwischenseite (Deck-Runde 3.11.): Karte Betriebsrente, Karte Krankenzusatz, dann die Ampel mit erster Handlung */
.b-befund--kz { margin-top: 20px; }
.b-zwischen .b-ergebnis { margin-top: 32px; padding-top: 24px; border-top: 3px double var(--b-linie); }
.b-quelle { margin-top: 4px; }
.b-h3--klein { margin-top: 22px; font-size: 19px; line-height: 24px; }
/* Erste Handlung: ein Schritt (hinweisLimit 1), ohne Ziffer */
.b-hinweise.b-hinweise--eins li { padding-left: 0; }
.b-hinweise.b-hinweise--eins li::before { display: none; }
/* Termin erst mit Kalender-Link (member.terminLink); ohne href bleibt der Block aus, eine eckige Klammer steht nie auf der Seite */
.b-termin:not(:has(a[href])) { display: none; }
.b-termin__knopf { margin-top: 12px; width: 100%; justify-content: center; }
.b-seitenlink--befund { display: inline-flex; align-items: center; min-height: 44px; }

.b-zwischen__form { margin-top: 36px; padding-top: 28px; border-top: 3px double var(--b-linie); }
.b-formfrage { font-size: 24px; line-height: 28px; }
.b-text { margin: 10px 0 0; font-size: 16px; line-height: 24px; text-wrap: pretty; }
.b-formtext { color: var(--b-neben); }
/* Text über dem Formular: Bei zwei Wegen nennt er den gewählten Weg erst in Schritt 3, vorher „wählst du gleich“ */
.b-zwischen__form:has([data-nf-weg-wahl]:not([hidden])):not(:has([data-nf-step="formular.kontakt"]:not([hidden]))) .b-formtext--wahl { display: none; }
.b-zwischen__form:has([data-nf-step="formular.kontakt"]:not([hidden])) .b-formtext--offen { display: none; }

.b-form { margin-top: 20px; }
.b-schritt { display: flex; flex-direction: column; }
.b-frage { float: none; width: 100%; padding: 0; margin: 0 0 14px; font-family: var(--font-headline); font-weight: 800; font-size: 22px; line-height: 26px; letter-spacing: -0.015em; color: var(--b-navy); }
.b-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.b-form legend.b-frage { display: block; }
.b-ico--wa, .b-ico--mail { width: 22px; height: 22px; flex: none; }
.b-form [data-nf-feldbox] { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.b-form [data-nf-feldbox] > label { font-weight: 600; font-size: 15px; line-height: 20px; color: var(--b-navy); }
.b-form [data-nf-feldbox]:has(select) { display: grid; grid-template-columns: 96px 1fr; column-gap: 8px; row-gap: 6px; }
.b-form [data-nf-feldbox]:has(select) > label { grid-column: 1 / -1; }
.b-form .b-feld-hinweis { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: var(--b-neben); }
.b-form input[type="text"], .b-form input:not([type]), .b-form input[type="tel"], .b-form input[type="email"], .b-form select {
  width: 100%; min-width: 0; height: 56px; padding: 0 16px; border: 2px solid var(--b-grau); border-radius: var(--o-radius);
  background: #FFFFFF; color: var(--b-text); font: inherit; font-size: 17px; transition: border-color 160ms ease;
}
.b-form select { padding: 0 10px; font-weight: 600; color: var(--b-navy); }
.b-form input:focus-visible, .b-form select:focus-visible { outline: none; border-color: var(--b-navy); box-shadow: 0 0 0 3px var(--b-hell); }
.b-form [data-nf-datenschutz-box] { margin-top: 18px; }
.b-form [data-nf-datenschutz-box] label { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--b-text); cursor: pointer; }
.b-form [data-nf-datenschutz-box] input[type="checkbox"] { flex: none; width: 24px; height: 24px; margin: 0; accent-color: #001524; cursor: pointer; }
.b-form [data-nf-datenschutz-box] a, .b-ds a { color: var(--b-navy); text-decoration: underline; text-underline-offset: 3px; }
.b-senden { margin-top: 16px; justify-content: center; }
.b-senden[disabled], .b-senden[aria-busy="true"] { opacity: .7; }
.b-mikro { margin: 10px 0 0; text-align: center; color: var(--b-neben); }
.b-ds { margin: 14px 0 0; color: var(--b-neben); text-wrap: pretty; }
.b-form [data-nf-form-status] { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--o-radius); background: #FBE9E8; color: #8E1210; font-size: 15px; line-height: 22px; }
.b-form [data-nf-vorschlag] { margin: 4px 0 0; font-size: 15px; }
.b-blatt .nf-fehler { grid-column: 1 / -1; margin: 6px 0 0; font-size: 15px; line-height: 22px; font-weight: 600; color: #A81210; }
.b-blatt .nf-fehler[hidden] { display: none; }
.b-blatt [aria-invalid="true"] { border-color: #A81210; }

/* ---------- Bühne: WhatsApp-Vorschau (mobil kompakt, ab 768 px als Handy) ---------- */
.b-buehne-mobil { order: 0; margin-top: 18px; }
.b-handy { border: 1px solid var(--b-linie); border-radius: var(--o-radius); background: #FFFFFF; overflow: hidden; }
.b-chat__kopf { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #F3F3F3; border-bottom: 1px solid var(--b-linie); }
.b-chat__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.b-chat__wer { display: flex; flex-direction: column; margin: 0; }
.b-chat__name { font-weight: 700; font-size: 15px; line-height: 20px; color: var(--b-navy); }
.b-chat__tippt { display: none; font-size: 13px; line-height: 16px; color: var(--b-passt); }
.b-chat__verlauf { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; background: var(--b-hell); }
.b-chat__tag { align-self: center; margin: 0; padding: 2px 10px; border-radius: var(--o-pille); background: #FFFFFF; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--b-neben); }
.b-chat__nachricht { max-width: 92%; margin: 0; padding: 8px 12px; border-radius: var(--o-radius); background: #FFFFFF; font-size: 15px; line-height: 21px; color: var(--b-text); }
.b-chat__anhang { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; max-width: 92%; padding: 8px; border-radius: var(--o-radius); background: #FFFFFF; }
.b-chat__seite { width: 44px; height: auto; border: 1px solid var(--b-linie); }
.b-chat__datei { display: flex; flex-direction: column; margin: 0; }
.b-chat__dateiname { font-weight: 600; font-size: 14px; line-height: 18px; color: var(--b-navy); }
.b-chat__seiten { font-size: 13px; line-height: 18px; color: var(--b-neben); }
.b-chat__punkte { display: none; gap: 4px; margin: 0; padding: 12px 14px; border-radius: var(--o-radius); background: #FFFFFF; }
.b-chat__punkte i { width: 7px; height: 7px; border-radius: 50%; background: var(--b-grau); animation: b-punkt 900ms ease-in-out infinite; }
.b-chat__punkte i:nth-child(2) { animation-delay: 150ms; }
.b-chat__punkte i:nth-child(3) { animation-delay: 300ms; }
@keyframes b-punkt { 50% { transform: translateY(-3px); background: var(--b-neben); } }

/* Danke: Zustellung läuft an (Kit setzt die Klassen nach dem Lead; reduzierte Bewegung: sofort alle) */
.b-buehne--danke .b-chat__nachricht, .b-buehne--danke .b-chat__anhang { display: none; }
.b-buehne--danke.b-tippt .b-chat__punkte { display: flex; }
.b-buehne--danke.b-tippt .b-chat__tippt { display: block; }
.b-buehne--danke.b-nachricht .b-chat__punkte, .b-buehne--danke.b-nachricht .b-chat__tippt { display: none; }
.b-buehne--danke.b-nachricht .b-chat__nachricht, .b-buehne--danke.b-anhang .b-chat__anhang { display: block; animation: b-rein 260ms var(--o-ease); }
.b-buehne--danke.b-anhang .b-chat__anhang { display: grid; }
@keyframes b-rein { from { transform: translateY(8px); opacity: 0; } }

/* ---------- Danke ---------- */
.b-danke { display: flex; flex-direction: column; gap: 28px; padding-top: 64px; }
.b-danke[hidden] { display: none; }
.b-danke__spalte { display: contents; }
.b-danke__kopf { order: 1; }
.b-download { order: 2; }
.b-danke__buehne { order: 3; }
.b-block--befund { order: 4; }
.b-ergebnis { order: 5; }
.b-block--jetzt { order: 6; }
.b-block--unddu { order: 7; }
html[data-o-folge="inhaber"] .b-ergebnis { order: 4; }
html[data-o-folge="inhaber"] .b-block--befund { order: 5; }
.b-danke__sub { margin: 10px 0 0; font-size: 17px; line-height: 26px; color: var(--b-neben); }

.b-karte { border: 1px solid var(--b-linie); border-radius: var(--o-radius); background: #FFFFFF; }
.b-download { display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; align-items: start; padding: 16px; box-shadow: var(--o-schatten-papier); }
.b-download__text { display: contents; }
.b-download__seite { grid-column: 1; grid-row: 1 / span 2; }
.b-download__titel, .b-download__meta { grid-column: 2; }
.b-download__knopf, .b-download__zeile { grid-column: 1 / -1; }
.b-download__seite { width: 88px; height: auto; border: 1px solid var(--b-linie); box-shadow: 0 8px 18px -10px rgba(0, 21, 36, .45); transform: rotate(-2deg); }
.b-download__titel { margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: 19px; line-height: 23px; color: var(--b-navy); }
.b-download__meta { margin: 2px 0 0; color: var(--b-neben); }
.b-download__knopf { margin-top: 16px; width: 100%; justify-content: space-between; }
.b-download__titel { align-self: end; }
.b-download__zeile { margin: 10px 0 0; color: var(--b-neben); }

.b-block { min-width: 0; }
.b-block--befund .b-h3 { margin-bottom: 4px; }
.b-annahme { margin: 12px 0 0; color: var(--b-neben); text-wrap: pretty; }
.b-ergebnis { min-width: 0; }
.b-ergebnis[hidden] { display: none; }
.b-gesamt { margin-top: 10px; }
.b-gesamt__titel { margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: 20px; line-height: 25px; color: var(--b-navy); text-wrap: balance; }
.b-gesamt__text { margin: 6px 0 0; font-size: 16px; line-height: 24px; text-wrap: pretty; }
.b-ampel { display: flex; flex-direction: column; list-style: none; margin: 16px 0 0; padding: 0 16px; overflow: hidden; border: 1px solid var(--b-linie); border-radius: var(--o-radius); background: #FFFFFF; }
html[data-o-folge="inhaber"] .b-ampel [data-nf-bereich="inhaber"] { order: -1; }
/* Trennlinie oben, die oberste schneidet die Liste ab: stimmt auch, wenn „Deine Vorsorge“ per order nach vorn rückt */
.b-ampel__zeile { margin-top: -1px; padding: 15px 0 14px; border-top: 1px solid var(--b-linie); }
.b-ampel__kopf { display: flex; align-items: center; gap: 10px; margin: 0; }
.b-ampel__name { font-weight: 600; font-size: 16px; color: var(--b-navy); }
.b-ampel__wort { margin-left: auto; font-family: var(--font-headline); font-weight: 800; font-size: 16px; color: var(--b-navy); }
.b-ampel__zeile p:not(.b-ampel__kopf) { margin: 6px 0 0 24px; font-size: 15px; line-height: 22px; text-wrap: pretty; }
.b-seitenlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--b-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.b-seitenlink[hidden] { display: none; }
.b-seitenlink--inhaber { display: none; margin-left: 24px; }
html[data-o-folge="inhaber"] .b-seitenlink--inhaber:not([hidden]) { display: inline-flex; }
.b-ergebnis > .b-h3 + .b-gesamt { margin-top: 10px; }
.b-ergebnis > .b-h3:not(:first-child) { margin-top: 28px; }
.b-hinweise { list-style: none; counter-reset: b-h; margin: 12px 0 0; padding: 0; }
.b-hinweise li { counter-increment: b-h; position: relative; margin-top: 12px; padding-left: 40px; font-size: 16px; line-height: 24px; text-wrap: pretty; }
.b-hinweise li::before {
  content: counter(b-h); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px;
  border: 2px solid var(--b-navy); font-family: var(--font-headline); font-weight: 800; font-size: 14px; color: var(--b-navy);
}
.b-disclaimer { margin: 16px 0 0; color: var(--b-neben); text-wrap: pretty; }
.b-eyebrow { margin: 0 0 6px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--b-neben); }
.b-block--unddu { padding: 20px 16px; border-radius: var(--o-radius); background: var(--b-hell); }
.b-block--jetzt { padding-top: 20px; border-top: 3px double var(--b-linie); }

/* ---------- Fokus ---------- */
.b-blatt :focus-visible { outline: 3px solid var(--b-navy); outline-offset: 2px; }
.b-blatt .o-cta:focus-visible { outline-offset: 3px; }

/* ---------- Ab 768 px: Handy statt Karte, Blatt als Fläche ---------- */
@media (min-width: 768px) {
  .b-flaeche { margin: 32px auto; min-height: min(640px, calc(100% - 64px)); padding: 0 32px 48px; border-radius: var(--o-radius); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); }
  .b-zu { margin-right: -18px; }
  .b-kopf { margin: 0 -18px; }
  .b-check legend { font-size: 32px; line-height: 36px; }
  .b-titel { font-size: 36px; line-height: 40px; }
  .b-schritt[data-nf-step="formular.kontakt"] .b-buehne-mobil { order: -1; margin: 0 0 20px; }
  .b-handy { width: 280px; margin: 0 auto; padding: 10px; border: 0; border-radius: var(--o-radius); background: #0B1F33; box-shadow: 0 24px 48px -24px rgba(0, 21, 36, .6); }
  .b-handy > * { background-clip: padding-box; }
  .b-chat__kopf { border-bottom: 0; }
  .b-chat__verlauf { min-height: 0; }
  .b-chat__anhang { grid-template-columns: 64px 1fr; }
  .b-chat__seite { width: 64px; }
  .b-danke__buehne .b-chat__verlauf { min-height: 260px; }
  .b-danke__buehne .b-chat__anhang { grid-template-columns: 1fr; }
  .b-danke__buehne .b-chat__seite { width: 100%; }
  .b-download { grid-template-columns: 120px 1fr; padding: 20px; }
  .b-download__seite { width: 120px; grid-row: 1 / span 4; }
  .b-download__knopf, .b-download__zeile { grid-column: 2; }
}
/* Ab 960 px: Zwischenseite zweispaltig (Rechnung links, Formular mit Handy rechts) */
@media (min-width: 960px) {
  html[data-nf-check] .b-blatt { padding: 0 24px; }
  html[data-nf-check="fertig"] .b-flaeche { max-width: 1040px; }
  .b-zwischen:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .b-zwischen__form { margin-top: 0; padding-top: 64px; border-top: 0; position: sticky; top: 0; }
  .b-zwischen__text { padding-top: 0; }
  .b-danke { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .b-danke__spalte { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
  .b-danke__spalte--rechts { padding-top: 8px; }
}

/* ---------- Ruhige Bewegung: keine Übergänge, auch nicht beim Farbwechsel ---------- */
@media (prefers-reduced-motion: reduce) {
  html[data-nf-check] .b-blatt, html[data-nf-check] .b-flaeche, .b-opt, .b-weg, .b-rund, .b-weiter, .b-kasten .b-ico--haken,
  .b-form input, .b-form select { transition: none !important; }
  .b-chat__punkte i, .b-buehne--danke .b-chat__nachricht, .b-buehne--danke .b-chat__anhang { animation: none !important; }
}

/* Absenden: „Einen Moment“ während das Kit sendet */
.b-senden__moment { display: none; }
.b-senden.nf-sendet .b-senden__wort { display: none; }
.b-senden.nf-sendet .b-senden__moment { display: inline; }

/* ---------- Feedback Markus 3.11.: Rentenrechner in der Karte „Deine Vorsorge“ (nur ?a=inhaber) und Kasten „Deine Rentenlücke“ ---------- */
.b-rr { margin-top: 22px; padding-top: 20px; border-top: 3px double var(--b-linie); }
.b-rr__titel { margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: 24px; line-height: 28px; letter-spacing: -0.015em; color: var(--b-navy); text-wrap: balance; }
.b-rr__lead { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: var(--b-neben); text-wrap: pretty; }
.b-rr__felder { display: grid; gap: 14px; margin-top: 16px; }
.b-rr__feld { display: grid; gap: 6px; }
.b-rr__label { font-weight: 600; font-size: 15px; line-height: 20px; color: var(--b-navy); }
.b-rr__eingabe { position: relative; display: flex; align-items: center; }
.b-rr__input {
  width: 100%; min-width: 0; height: 56px; padding: 0 118px 0 16px; border: 2px solid var(--b-grau); border-radius: var(--o-radius);
  background: #FFFFFF; color: var(--b-navy); font: inherit; font-family: var(--font-headline); font-weight: 700; font-size: 20px;
  font-variant-numeric: tabular-nums; transition: border-color 160ms ease;
}
.b-rr__input:focus-visible { outline: none; border-color: var(--b-navy); box-shadow: 0 0 0 3px var(--b-hell); }
.b-rr__einheit { position: absolute; right: 16px; font-size: 15px; line-height: 20px; color: var(--b-neben); pointer-events: none; }
.b-rr__hilfe { margin: 0; font-size: 14px; line-height: 20px; color: var(--b-neben); }
.b-rr__inflation { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 10px; font-weight: 600; font-size: 16px; line-height: 22px; color: var(--b-navy); cursor: pointer; }
.b-rr__inflation input { position: absolute; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.b-rr__inflation:has(input:checked) .b-ico--haken { opacity: 1; transform: none; }
.b-rr__inflation:has(input:focus-visible) .b-kasten { outline: 3px solid var(--b-navy); outline-offset: 3px; }
.b-rr__ausgabe { margin-top: 12px; padding: 14px 16px; border-radius: var(--o-radius); background: #F3F3F3; }
.b-rr__leer { margin: 0; font-size: 15px; line-height: 22px; color: var(--b-neben); }
.b-rr__erg-label { margin: 0; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--b-neben); }
.b-rr__erg-zahl { margin: 2px 0 0; font-family: var(--font-headline); font-weight: 800; font-size: 34px; line-height: 40px; letter-spacing: -0.02em; color: var(--b-rot); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.b-rr__erg--keine .b-rr__erg-zahl { color: var(--b-passt); }
.b-rr__erg-satz { margin: 8px 0 0; font-size: 15px; line-height: 22px; color: var(--b-text); text-wrap: pretty; }
.b-rr__erg-satz [data-rr-wert] { font-weight: 700; color: var(--b-navy); white-space: nowrap; }
.b-rr__annahme { margin: 10px 0 0; color: var(--b-neben); text-wrap: pretty; }
/* Zustände (rente.js): leer, luecke, spaet (ab 67 ohne Sparrate), keine; Inflation an oder aus */
[data-rr] [data-rr-teil], [data-rr-box] [data-rr-teil], [data-rr] .b-rr__leer, .b-rr__infl { display: none; }
[data-rr][data-rr-zustand="leer"] .b-rr__leer { display: block; }
[data-rr-zustand="luecke"] [data-rr-teil="luecke"], [data-rr-zustand="spaet"] [data-rr-teil="luecke"],
[data-rr-zustand="luecke"] [data-rr-teil="spar"], [data-rr-zustand="spaet"] [data-rr-teil="spaet"],
[data-rr-zustand="keine"] [data-rr-teil="keine"] { display: block; }
[data-rr-inflation="an"] .b-rr__infl--an, [data-rr-inflation="aus"] .b-rr__infl--aus { display: inline; }
@media (prefers-reduced-motion: no-preference) {
  [data-rr-teil] { animation: b-rr-ein 180ms var(--o-ease); }
}
@keyframes b-rr-ein { from { opacity: 0; } to { opacity: 1; } }
/* Ergebnis-Kasten mit seinen Zahlen */
.b-rr-kasten { margin-top: 16px; padding: 16px; border: 2px solid var(--b-navy); border-radius: var(--o-radius); background: #FFFFFF; }
.b-rr-kasten[hidden] { display: none; }
.b-rr-kasten .b-rr__erg { margin-top: 8px; }
.b-rr-kasten__angaben { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.b-rr-kasten__zelle { padding: 8px 12px; border-radius: 12px; background: #F3F3F3; }
.b-rr-kasten__zelle dt { font-size: 13px; line-height: 18px; color: var(--b-neben); }
.b-rr-kasten__zelle dd { margin: 0; font-weight: 700; font-size: 17px; line-height: 24px; color: var(--b-navy); font-variant-numeric: tabular-nums; }
.b-rr-kasten .b-satz--stark { margin-top: 12px; font-size: 16px; line-height: 24px; }
.b-block--befund .b-rr-kasten { margin-bottom: 16px; }
