/* Markus Garbe, OBEN-A: Kopf, Hero (team, bav, inhaber), Die Rechnung, Zwei Wege, Zwei Zähne. Klassen-Präfix o-. */

/* ---------- Seitenfolge je Variante (html[data-o-folge] setzt oben.js nach nf:bereit; ohne JS gilt team) ---------- */
.o-main { display: flex; flex-direction: column; }
html[data-o-folge="bav"] .o-main > *,
html[data-o-folge="bkv"] .o-main > *,
html[data-o-folge="inhaber"] .o-main > * { order: 10; }
html[data-o-folge="bav"] .o-main > [data-o-abschnitt="hero"],
html[data-o-folge="bkv"] .o-main > [data-o-abschnitt="hero"] { order: 1; }
html[data-o-folge="bav"] .o-main > [data-o-abschnitt="wege"],
html[data-o-folge="bkv"] .o-main > [data-o-abschnitt="wege"] { order: 2; }
html[data-o-folge="bav"] .o-main > [data-o-abschnitt="rechnung"],
html[data-o-folge="bkv"] .o-main > [data-o-abschnitt="rechnung"] { order: 3; }
html[data-o-folge="inhaber"] .o-main > [data-o-abschnitt="hero"] { order: 1; }
html[data-o-folge="inhaber"] .o-main > [data-o-abschnitt="zaehne"] { order: 2; }
html[data-o-folge="inhaber"] .o-main > [data-o-abschnitt="wege"] { order: 3; }
html[data-o-folge="inhaber"] .o-main > [data-o-abschnitt="rechnung"] { display: none; }

/* ---------- Kopf ---------- */
.o-kopf { background: linear-gradient(180deg, #001524 0%, #051A2E 100%); color: #FFFFFF; }
.o-kopf__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 560px; height: 72px; margin-inline: auto; padding-inline: 16px; }
.o-kopf__logo { display: flex; align-items: center; flex: none; min-height: 44px; border-radius: 4px; }
.o-kopf__logo img { width: auto; height: 52px; }
.o-kopf__knopf { flex: 0 1 auto; min-width: 0; white-space: nowrap; color: #FFFFFF; border-color: rgba(255, 255, 255, .72); }
.o-kopf :focus-visible { outline-color: #A3B2C5; }
@media (hover: hover) and (pointer: fine) { .o-kopf__knopf:hover { background: rgba(255, 255, 255, .1); border-color: #FFFFFF; } }
@media (min-width: 960px) { .o-kopf__in { max-width: 1120px; height: 80px; } .o-kopf__logo img { height: 60px; } }
@media (max-width: 400px) { .o-kopf__knopf { padding-inline: 14px; font-size: 13px; } }
@media (max-width: 380px) { .o-kopf__in { gap: 8px; } .o-kopf__logo img { height: 46px; } .o-kopf__knopf { padding-inline: 10px; font-size: 12.5px; } }

/* ---------- Hero: Poster über die ganze Breite ---------- */
.o-hero { position: relative; overflow: clip; padding: 6px 0 28px; color: var(--primaer); background: linear-gradient(180deg, #E1E8EF 0%, #D3DCE6 46%, #A3B2C5 100%); }
.o-hero:has(.o-hero--bav:not([hidden])) { color: #FFFFFF; background: radial-gradient(120% 70% at 96% 0%, rgba(163, 178, 197, .42) 0%, rgba(163, 178, 197, 0) 52%), linear-gradient(180deg, #001524 0%, #051A2E 100%); }
.o-hero:has(.o-hero--inhaber:not([hidden])) { color: #FFFFFF; background: radial-gradient(90% 46% at 50% 47%, rgba(163, 178, 197, .30) 0%, rgba(163, 178, 197, 0) 70%), radial-gradient(140% 100% at 50% 30%, #001524 40%, #000B14 100%); }
.o-hero__in { display: grid; grid-template-columns: minmax(0, 1fr); }
.o-hero__var { display: contents; }
.o-hero__stempel { justify-self: start; margin-top: 10px; }
.o-hero--team .o-hero__stempel { border-color: rgba(0, 21, 36, .55); }
.o-hero--bav .o-hero__stempel, .o-hero--inhaber .o-hero__stempel { color: #E1E8EF; border-color: rgba(163, 178, 197, .7); }
.o-hero__h1 { margin-top: 14px; max-width: 15em; }
.o-hero--inhaber .o-hero__h1 { font-size: 28px; line-height: 32px; }
.o-hero__h1 .o-key { color: inherit; }
.o-hero__sub { margin-top: 10px; font-size: 16px; line-height: 24px; max-width: 30em; }
.o-hero--bav .o-hero__sub, .o-hero--inhaber .o-hero__sub { color: #E1E8EF; }
.o-hero--team .o-hero__sub { text-wrap: balance; }
.o-hero__objekt { position: relative; margin-top: 16px; }
.o-hero__zeile { margin-top: 12px; font-size: 13px; line-height: 18px; color: #22384D; max-width: 34em; }
.o-hero--bav .o-hero__zeile { color: #C9D3DF; }

/* Die 24 in der H1: größer, kursiv, rot, mit Marker-Kreis */
.o-h1zahl { position: relative; display: inline-block; white-space: nowrap; line-height: 1; vertical-align: -0.12em; }
.o-h1zahl__wert { font-size: 1.4em; line-height: 1; color: var(--akzent); padding-inline: .22em .12em; letter-spacing: -0.01em; }
.o-marker--h1 { left: -.16em; top: -.16em; width: calc(100% + .3em); height: calc(100% + .3em); }

/* ---------- Heldenobjekt team: Gehaltsblatt unter der Suchleiste auf dem Leuchtkasten ---------- */
.o-hero__objekt--blatt { margin-inline: -16px; }
.o-hero__objekt--blatt .o-hero__zeile { padding-inline: 16px; }
.o-leucht { position: relative; height: 292px; margin: 0; }
.o-leucht__panel {
  position: absolute; inset: 26px 0 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 14px),
    radial-gradient(60% 80% at 50% 46%, #FFFFFF 0%, #F7FAFD 55%, #E9EFF5 100%);
  border-block: 5px solid #C9D3DF;
  box-shadow: 0 1px 0 #FFFFFF inset, 0 -1px 0 #FFFFFF inset, 0 0 56px 10px rgba(255, 255, 255, .8), 0 20px 36px -16px rgba(0, 21, 36, .4);
}
.o-leucht__panel::before { content: ""; position: absolute; left: 50%; top: -9px; width: 56px; height: 13px; margin-left: -28px; border-radius: var(--o-pille); background: linear-gradient(180deg, #E1E8EF, #A3B2C5); box-shadow: 0 1px 2px rgba(0, 21, 36, .3); }
.o-leucht__bild { position: absolute; inset: 26px 0 0 0; width: 100%; height: calc(100% - 26px); object-fit: cover; }
.o-blatt { position: absolute; top: 0; left: 50%; width: 300px; margin-left: -150px; transform: rotate(2deg); transform-origin: 50% 0; }
.o-such {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 2px;
  width: 248px; height: 38px; margin: 0 auto; padding: 0 18px;
  background: #FFFFFF; border-radius: var(--o-pille);
  box-shadow: 0 1px 2px rgba(0, 21, 36, .16), 0 6px 16px -4px rgba(0, 21, 36, .22);
  font-size: 13px; line-height: 18px; color: #1B2A38; transform: rotate(-2deg);
}
.o-such__text { white-space: nowrap; }
.o-such__strich { width: 1.5px; height: 17px; background: #001524; }
.o-blatt__papier {
  position: relative; margin-top: -12px; padding: 26px 18px 14px;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.16  0 0 0 0 0.22  0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E"), linear-gradient(170deg, #FFFFFF 0%, #FBFCFD 60%, #F4F6F8 100%);
  box-shadow: var(--o-schatten-papier);
  color: #1B2A38;
}
.o-blatt__papier--bild { background: none; box-shadow: none; }
.o-blatt__traeger { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; z-index: 0; }
.o-blatt__papier > :not(.o-blatt__traeger) { position: relative; z-index: 1; }
.o-blatt__titel { font-weight: 700; font-size: 17px; line-height: 22px; color: #001524; letter-spacing: -0.01em; }
.o-blatt__unter { margin-top: 1px; font-size: 11px; line-height: 15px; color: #4A5B6C; }
.o-blatt__zeilen { margin: 10px 0 0; }
.o-bz { display: flex; align-items: baseline; gap: 8px; min-height: 25px; font-size: 13px; line-height: 18px; }
.o-bz dt { display: flex; align-items: baseline; flex: 1; gap: 6px; min-width: 0; }
.o-bz dt::after { content: ""; flex: 1; min-width: 12px; border-bottom: 1.5px dotted #A3B2C5; transform: translateY(-3px); }
.o-bz dd { position: relative; margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; color: #001524; white-space: nowrap; min-width: 44px; text-align: right; }
.o-marker--blatt { inset: -7px -9px -7px -11px; width: calc(100% + 20px); height: calc(100% + 14px); }
/* Zwischenzeile „= Gehaltserhöhung brutto“: Summenstrich darüber, kein Marker */
.o-bz--brutto { margin-top: 2px; padding-top: 3px; border-top: 1.5px solid #1B2A38; font-weight: 600; }
.o-bz--brutto dt::after { content: none; }
/* Leistungsblatt bkv: Haken statt Betrag, Wort statt Zahl im roten Kasten */
.o-bz__haken { display: block; margin-left: auto; color: #2E8B57; }
.o-bz--leistung dd { min-width: 28px; }
.o-blatt__end.o-blatt__end--wort { font-size: 14px; font-weight: 700; text-align: right; }
.o-blatt__ergebnis {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 8px; padding: 7px 10px; min-height: 36px;
  background: var(--akzent); color: #FFFFFF; font-weight: 600; font-size: 14px; line-height: 18px;
}
.o-blatt__end { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }

/* Beim Scrollen wandert das Papier 16 px weiter aus dem Panel (nur mit Bewegung, ohne Füllmodus: Grundzustand = Endzustand) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .o-blatt { animation: o-blatt-raus linear; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes o-blatt-raus { to { translate: 0 -16px; } }
  }
}

/* ---------- Befund-Karte (BLATT nutzt sie mit anderen Zahlen über data-b-zahl) ---------- */
.o-befund { width: 100%; max-width: 358px; margin: 0; padding: 14px; background: #FFFFFF; border: 1px solid #C9D3DF; border-radius: var(--o-radius); color: #1B2A38; box-shadow: 0 14px 30px -18px rgba(0, 21, 36, .45); }
.o-befund__bsp { font-size: 13px; line-height: 18px; color: #3E4F61; }
.o-befund__gehalt, .o-befund__zahlst { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; margin-top: 10px; padding: 10px 14px; border-radius: var(--o-radius); }
.o-befund__gehalt { background: #F3F3F3; }
.o-befund__zahlst { background: #001524; color: #FFFFFF; }
.o-befund__label { font-size: 14px; line-height: 20px; font-weight: 600; }
.o-befund__zahl { font-size: 30px; line-height: 34px; white-space: nowrap; }
.o-befund__gehalt .o-befund__zahl { color: var(--akzent); }
.o-befund__imjahr { grid-column: 1 / -1; justify-self: end; margin-top: 2px; font-size: 14px; line-height: 20px; font-weight: 600; color: #3E4F61; font-variant-numeric: tabular-nums; white-space: nowrap; }
.o-befund__zahlst .o-befund__imjahr { color: #C9D3DF; }
/* Ergebnis-Karte (Deck-Runde): „weniger für die Praxis“ und Gegenwert sind ein Plus, deshalb Navy statt Rot */
.o-befund__gehalt--plus .o-befund__zahl { color: #001524; }
.o-befund__kopf { font-family: var(--font-headline); font-weight: 800; font-size: 17px; line-height: 22px; color: #001524; }
.o-befund__zehn { margin-top: 10px; font-size: 14px; line-height: 20px; color: #1B2A38; text-wrap: pretty; }
/* Cookie-Hinweis ab 960 px unten rechts: links unten lag er bei 1440 x 900 über dem Hero-Knopf (gemessen 3.11.) */
@media (min-width: 960px) {
  #nf-consent.nf-cc { left: auto; right: 24px; }
}

/* ---------- Papierstreifen (Hero bav, Weg 3) ---------- */
.o-streifen { position: relative; padding: 12px 14px 10px; background: #FFFFFF; color: #1B2A38; box-shadow: var(--o-schatten-papier); font-variant-numeric: tabular-nums; }
.o-streifen::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: linear-gradient(135deg, transparent 50%, #FFFFFF 50%) 0 0 / 8px 6px repeat-x, linear-gradient(225deg, transparent 50%, #FFFFFF 50%) 4px 0 / 8px 6px repeat-x; }
.o-streifen__titel { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .06em; color: #4A5B6C; }
.o-streifen__zeilen { margin-top: 6px; }
.o-streifen__z { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; font-size: 12px; line-height: 16px; letter-spacing: .02em; border-bottom: 1px dashed #C9D3DF; }
.o-streifen__b { font-weight: 600; white-space: nowrap; }
.o-streifen__end { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 6px 8px; background: var(--akzent); color: #FFFFFF; font-weight: 700; font-size: 13px; line-height: 18px; }

/* ---------- Heldenobjekt bav: Druckrechner mit Papierstreifen, dahinter Seite 5 ---------- */
.o-rechner { position: relative; height: 292px; margin: 0; }
.o-rechner__seite { position: absolute; left: 0; top: 30px; width: 160px; height: 136px; padding: 14px 14px; background: #FFFFFF; transform: rotate(-6deg); box-shadow: var(--o-schatten-papier); overflow: hidden; }
.o-rechner__seite:not(.o-rechner__seite--bild)::after { content: ""; position: absolute; left: 14px; right: 14px; top: 58px; bottom: 10px; background: repeating-linear-gradient(180deg, #E1E8EF 0 6px, transparent 6px 15px); }
.o-rechner__seite--bild { padding: 0; }
.o-rechner__seitenbild { width: 100%; height: auto; }
.o-rechner__seitentitel { font-size: 12px; line-height: 16px; font-weight: 700; color: #001524; max-width: 9em; }
.o-rechner__geraet {
  position: absolute; right: 6px; bottom: 0; width: 184px; height: 132px; padding: 22px 14px 12px;
  background: linear-gradient(180deg, #FAFAFA 0%, #F3F3F3 40%, #E4E7EA 100%);
  border-radius: var(--o-radius);
  box-shadow: 0 1px 0 #FFFFFF inset, 0 -2px 0 rgba(0, 21, 36, .06) inset, 0 2px 4px rgba(0, 0, 0, .25), 0 24px 40px -12px rgba(0, 0, 0, .55);
}
.o-rechner__schlitz { position: absolute; left: 22px; right: 22px; top: 9px; height: 5px; border-radius: var(--o-pille); background: #1B2A38; box-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.o-rechner__display { height: 42px; padding: 0 12px; display: flex; align-items: center; justify-content: flex-end; background: #0E2131; box-shadow: 0 2px 4px rgba(0, 0, 0, .45) inset; color: #E1E8EF; font-weight: 800; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.o-rechner__tasten { display: block; height: 46px; margin-top: 10px; background: radial-gradient(circle at 50% 50%, #FFFFFF 0 9px, transparent 9.5px) 0 0 / 25% 50%, radial-gradient(circle at 50% 56%, rgba(0, 21, 36, .16) 0 10px, transparent 10.5px) 0 0 / 25% 50%; }
.o-rechner__streifen { position: absolute; right: 12px; bottom: 126px; width: 224px; transform: rotate(-3deg); transform-origin: 50% 100%; z-index: 1; }
.o-rechner__streifen .o-streifen__z, .o-rechner__streifen .o-streifen__end { white-space: nowrap; }
.o-rechner__streifen .o-streifen__titel { font-size: 10px; line-height: 12px; }
.o-rechner__streifen .o-streifen { padding: 10px 11px 9px; }
.o-rechner__streifen .o-streifen__z { font-size: 11px; line-height: 15px; }
.o-rechner__streifen .o-streifen__end { font-size: 12px; padding: 5px 7px; }
.o-rechner__geraet { z-index: 2; }
.o-rechner__pille { position: absolute; left: 6px; bottom: 34px; z-index: 3; display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: var(--o-pille); background: #FFFFFF; color: #001524; font-weight: 700; font-size: 14px; line-height: 18px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }

/* ---------- Heldenobjekt inhaber: Gebissmodell mit Ringen 1 und 2 ---------- */
.o-gebiss { position: relative; width: 100%; max-width: 520px; aspect-ratio: 358 / 224; margin: 0; border-radius: var(--o-radius); overflow: hidden; background: #0A2236; box-shadow: 0 0 0 1px rgba(163, 178, 197, .25), 0 24px 48px -20px rgba(0, 0, 0, .7);
  --o-ring1-x: 55%; --o-ring1-y: 43%; --o-ring1-w: 12%;
  --o-ring2-x: 64.5%; --o-ring2-y: 42%; --o-ring2-w: 9%; }
.o-gebiss__bild { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.o-gebiss__platz { width: 100%; height: 100%; background: radial-gradient(60% 70% at 50% 45%, rgba(163, 178, 197, .38) 0%, rgba(163, 178, 197, 0) 70%), linear-gradient(180deg, #0E2A42 0%, #071A2B 100%); }
.o-ring { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 1.15; transform: translate(-50%, -50%); }
.o-ring--1 { --x: var(--o-ring1-x); --y: var(--o-ring1-y); --w: var(--o-ring1-w); }
.o-ring--2 { --x: var(--o-ring2-x); --y: var(--o-ring2-y); --w: var(--o-ring2-w); }
.o-marker--ring { inset: 0; width: 100%; height: 100%; }
.o-marker--ring path { stroke-width: 3.5; }
.o-ring b { position: absolute; right: -6px; top: -10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; color: #001524; font-weight: 800; font-size: 14px; line-height: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.o-ring--2 b { width: 22px; height: 22px; font-size: 12px; }
.o-ring--1 b { right: auto; left: -10px; }
.o-ring--1 .o-ring__nr::before { content: '1'; }
.o-ring--2 .o-ring__nr::before { content: '2'; }
.o-hero__befundpille { justify-self: start; margin-top: 16px; color: #E1E8EF; border-color: rgba(163, 178, 197, .7); }

/* ---------- Knopf, Mikrozeile, Beleg ---------- */
.o-hero__aktion { display: grid; justify-items: stretch; margin-top: 14px; }
.o-hero__cta { width: 100%; justify-content: space-between; }
.o-hero__wort { display: block; white-space: nowrap; }
.o-hero__mikro { margin-top: 8px; font-size: 14px; line-height: 20px; color: #22384D; text-align: center; text-wrap: balance; }
.o-hero:has(.o-hero--bav:not([hidden])) .o-hero__mikro,
.o-hero:has(.o-hero--inhaber:not([hidden])) .o-hero__mikro { color: #C9D3DF; }
.o-beleg { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.o-beleg__foto { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: #E1E8EF; box-shadow: 0 0 0 2px #FFFFFF, 0 4px 10px -4px rgba(0, 21, 36, .45); }
.o-beleg__text { min-width: 0; }
.o-beleg__name { font-weight: 600; font-size: 15px; line-height: 20px; }
.o-beleg__zeile { font-size: 13px; line-height: 18px; color: #22384D; }
.o-hero:has(.o-hero--bav:not([hidden])) .o-beleg__zeile,
.o-hero:has(.o-hero--inhaber:not([hidden])) .o-beleg__zeile { color: #A3B2C5; }
.o-hero:has(.o-hero--bav:not([hidden])) :focus-visible,
.o-hero:has(.o-hero--inhaber:not([hidden])) :focus-visible { outline-color: #A3B2C5; }

/* Mobil und Tablet (bis 959): Knopf und Mikrozeile direkt unter der Sub, damit der Knopf auch bei offenem Cookie-Hinweis frei liegt; Objekt danach, Beleg unter dem Objekt. */
@media (max-width: 959px) {
  .o-hero__aktion { display: contents; }
  .o-hero__stempel { order: 1; }
  .o-hero__h1, .o-hero__var > div:has(> .o-hero__h1) { order: 2; }
  .o-hero__sub { order: 3; }
  .o-hero__befundpille { order: 4; margin-top: 14px; }
  .o-hero__cta { order: 5; margin-top: 16px; }
  .o-hero__mikro { order: 6; }
  .o-beleg { order: 7; margin-top: 14px; }
  .o-hero__objekt { order: 8; margin-top: 18px; }
}

/* Desktop: Text links, Objekt rechts */
@media (min-width: 960px) {
  .o-hero { padding: 24px 0 56px; }
  .o-hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 48px; grid-template-areas: "stempel objekt" "h1 objekt" "sub objekt" "pille objekt" "aktion objekt"; align-content: start; }
  .o-hero__stempel { grid-area: stempel; margin-top: 40px; }
  .o-hero__h1, .o-hero__var > div:has(> .o-hero__h1) { grid-area: h1; }
  /* Deck-Seite: höchstens vier Zeilen bei 1440, Blatt rechts bleibt 420 px breit */
  .o-hero__h1 { font-size: clamp(40px, 3.2vw, 48px); line-height: 1.13; letter-spacing: -0.03em; }
  .o-hero--inhaber .o-hero__h1 { font-size: clamp(40px, 3.2vw, 48px); line-height: 1.13; }
  .o-hero__sub { grid-area: sub; font-size: 19px; line-height: 28px; margin-top: 16px; }
  .o-hero__befundpille { grid-area: pille; }
  .o-hero__aktion { grid-area: aktion; justify-items: start; margin-top: 24px; }
  .o-hero__cta { width: auto; min-width: 360px; }
  .o-hero__mikro { text-align: left; }
  .o-hero__objekt { grid-area: objekt; align-self: center; margin-top: 32px; }
  .o-hero__objekt--blatt { margin-inline: 0; }
  .o-hero__objekt--blatt .o-hero__zeile { padding-inline: 0; }
  .o-leucht { height: 426px; }
  /* Durchgang 3.11.: kein grauer Rand um den Leuchttisch bei 1440, das Blatt liegt auf dem hellen Schein */
  .o-leucht__panel { inset: 40px 0 0 0; border-radius: var(--o-radius); border: 0; }
  .o-leucht__panel::before { display: none; }
  .o-blatt { width: 420px; margin-left: -210px; }
  .o-such { width: 330px; height: 48px; font-size: 16px; }
  .o-blatt__papier { padding: 36px 28px 22px; }
  .o-blatt__titel { font-size: 24px; line-height: 30px; }
  .o-blatt__unter { font-size: 13px; line-height: 18px; }
  .o-bz { font-size: 16px; line-height: 22px; min-height: 34px; }
  .o-blatt__ergebnis { font-size: 17px; min-height: 46px; padding: 9px 14px; }
  .o-blatt__end { font-size: 22px; }
  .o-blatt__end.o-blatt__end--wort { font-size: 18px; }
  .o-rechner { height: 420px; max-width: 520px; transform-origin: 0 0; }
  .o-rechner__seite { width: 230px; height: 200px; }
  .o-rechner__geraet { width: 250px; height: 176px; padding: 28px 18px 16px; }
  .o-rechner__display { height: 58px; font-size: 42px; }
  .o-rechner__tasten { height: 64px; }
  .o-rechner__streifen { width: 268px; bottom: 172px; right: 20px; }
  .o-rechner__streifen .o-streifen__z { font-size: 14px; line-height: 19px; }
  .o-rechner__streifen .o-streifen__end { font-size: 15px; }
  .o-hero__zeile { font-size: 14px; line-height: 20px; }
}
@media (min-width: 768px) and (max-width: 959px) {
  .o-hero__h1 { font-size: 40px; line-height: 44px; }
  .o-hero__sub { font-size: 18px; line-height: 27px; }
  .o-leucht { height: 300px; }
  .o-blatt { width: 380px; margin-left: -190px; }
  .o-hero__cta { width: auto; justify-self: start; min-width: 360px; }
  .o-hero__mikro { text-align: left; }
}

/* ---------- Die Rechnung ---------- */
.o-rechnung .o-h2 .o-key { color: #FFFFFF; }
.o-szene { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 20px; }
.o-notiz { position: relative; display: grid; place-items: center; width: 100px; aspect-ratio: 1; padding: 10px; background: linear-gradient(160deg, #EEF2F6 0%, #E1E8EF 70%, #D3DCE6 100%); color: #001524; transform: rotate(-4deg); box-shadow: 0 2px 3px rgba(0, 0, 0, .25), 0 18px 28px -14px rgba(0, 0, 0, .7); }
.o-notiz::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: linear-gradient(180deg, rgba(0, 21, 36, .07), rgba(0, 21, 36, 0)); }
.o-notiz--bild { background: none; box-shadow: none; }
.o-notiz__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.o-notiz__text { position: relative; font-family: var(--font-akzent); font-style: italic; font-size: 22px; line-height: 24px; text-align: center; }
.o-szene__satz { color: #E1E8EF; }

/* Satz links, Balkenbahn rechts (--o-bahn): Sätze stehen nie auf Schraffur oder über einem Balkenende. --o-f = Balkenlänge in der Bahn. */
.o-treppe { margin-top: 20px; display: grid; gap: 4px; --o-bahn: 50%; }
.o-stufe { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--o-bahn); align-items: center; column-gap: 12px; min-height: 42px; padding: 2px 0; }
.o-stufe__balken { position: absolute; left: calc(100% - var(--o-bahn)); top: 0; bottom: 0; width: calc(var(--o-bahn) * var(--o-f)); border-radius: var(--o-radius); background: rgba(163, 178, 197, .16); transform-origin: 0 50%; }
.o-stufe__balken i { position: absolute; right: 0; top: 0; bottom: 0; width: var(--o-ab, 0%); border-radius: 0 var(--o-radius) var(--o-radius) 0; background: repeating-linear-gradient(135deg, rgba(163, 178, 197, .55) 0 2px, rgba(163, 178, 197, .12) 2px 7px); }
.o-stufe--1 { --o-f: 1; }
.o-stufe--2 { --o-f: 1; --o-ab: 18%; }
.o-stufe--3 { --o-f: .82; --o-ab: 21.95%; }
.o-stufe--4 { --o-f: .64; --o-ab: 25%; }
.o-stufe--5 { --o-f: .48; }
/* Zwischenzeile 41 € brutto: heller Balken, kein Abzug */
.o-stufe--brutto { --o-f: .82; }
.o-stufe--brutto .o-stufe__balken { background: rgba(163, 178, 197, .28); }
.o-stufe--5 .o-stufe__balken { background: var(--akzent); }
.o-stufe__zahl { position: relative; grid-column: 2; grid-row: 1; margin-left: 12px; justify-self: start; font-size: 28px; line-height: 32px; color: #FFFFFF; white-space: nowrap; }
.o-stufe--2 .o-stufe__zahl, .o-stufe--3 .o-stufe__zahl, .o-stufe--4 .o-stufe__zahl { color: #C9D3DF; }
.o-marker--stufe { inset: -8px -10px -8px -12px; width: calc(100% + 22px); height: calc(100% + 16px); }
.o-stufe__satz { position: relative; grid-column: 1; grid-row: 1; font-size: 15px; line-height: 20px; color: #E1E8EF; }
.o-stufe--5 .o-stufe__satz { color: #FFFFFF; font-weight: 600; }
.o-stufe__wert { display: inline-block; }
.o-stufe__wert[data-o-zwischen] { color: transparent; position: relative; }
.o-stufe__wert[data-o-zwischen]::after { content: attr(data-o-zwischen); position: absolute; left: 0; top: 0; color: #FFFFFF; }
.o-rechnung__weg { margin-top: 22px; font-weight: 700; font-size: 20px; line-height: 26px; }
.o-rechnung__umkehr { margin-top: 6px; font-size: 16px; line-height: 24px; color: #C9D3DF; }
.o-rechnung__abbinder { margin-top: 14px; font-family: var(--font-akzent); font-style: italic; font-size: 21px; line-height: 26px; color: #FFFFFF; }
.o-rechnung__weg-text { margin-top: 14px; }
@media (min-width: 960px) {
  .o-rechnung .o-wrap { max-width: 720px; }
  .o-stufe { min-height: 64px; }
  .o-stufe__zahl { font-size: 36px; line-height: 40px; }
  .o-stufe__satz { font-size: 18px; line-height: 24px; }
}

/* ---------- Zwei Wege: zwei gleich gebaute Karten (Bild, Kopf, Titel, Text, Mitte, Kachel, Fuß) ---------- */
.o-wege__kopf .o-h2 .o-key { color: var(--primaer); }
.o-wege__lead { margin-top: 12px; max-width: 34em; }
.o-umfrage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 6px; margin: 16px 0 0; max-width: 520px; }
.o-umfrage__wert { padding: 8px 14px 10px; border-radius: 12px; background: #001524; color: #FFFFFF; }
.o-umfrage__wert--obst { background: #F3F3F3; color: var(--text-1); }
.o-umfrage__zahl { font-family: var(--font-headline); font-weight: 800; font-size: 28px; line-height: 34px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.o-umfrage__text { font-size: 13px; line-height: 18px; }
.o-umfrage__wert:not(.o-umfrage__wert--obst) .o-umfrage__text { color: #C9D3DF; }
.o-umfrage__zeile { grid-column: 1 / -1; font-size: 13px; line-height: 18px; color: #4A5B6C; }

.o-wege__liste { display: grid; gap: 12px; margin-top: 18px; }
@media (max-width: 959px) { .o-wege { padding-block: 40px; } }
.o-weg { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: 10px; padding: 0 18px 18px; border-radius: var(--o-radius); background: #EEF2F6; overflow: clip; }
.o-weg__bild { display: grid; grid-template-rows: minmax(0, 1fr); height: 156px; margin: 0 -18px 4px; overflow: hidden; background: #E1E8EF; }
.o-weg__bild--streifen { height: auto; grid-template-rows: minmax(0, 1fr) auto; align-items: center; padding: 12px 16px 6px; background: radial-gradient(70% 75% at 50% 42%, #FFFFFF 0%, #E9EFF5 62%, #D3DCE6 100%); }
.o-weg__streifen { display: grid; justify-items: center; }
.o-streifen--weg { width: min(300px, 100%); transform: rotate(-1.5deg); }
.o-weg__bildzeile { margin-top: 8px; font-size: 12px; line-height: 16px; color: #3E4F61; text-align: center; }
.o-weg__foto { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 62%; }
/* Zahnmodell als eigener Streifen oben in der Karte, nie hinter dem Text */
.o-weg__bild--zahn { position: relative; }
.o-weg__bild--zahn .o-weg__foto { position: absolute; inset: 0; }
.o-zahn-platz { display: block; width: 100%; height: 100%; background: radial-gradient(46% 40% at 52% 56%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #E1E8EF 0%, #C9D3DF 100%); }
.o-weg__label { font-weight: 600; font-size: 13px; line-height: 18px; color: #4A5B6C; }
.o-weg__titel { font-weight: 800; font-size: 21px; line-height: 27px; letter-spacing: -0.015em; color: var(--primaer); text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.o-weg__text { display: grid; gap: 8px; font-size: 15px; line-height: 22px; }
.o-weg__anlass { font-weight: 600; color: var(--primaer); }
.o-weg__aufgeben { font-size: 14px; line-height: 20px; color: #3E4F61; }
.o-vorteile { display: grid; gap: 8px; align-content: start; font-size: 15px; line-height: 21px; }
.o-vorteile li { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.o-vorteile .o-bz__haken { margin: 1px 0 0; }
.o-kachel { margin: 0; padding: 12px 16px 10px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 21, 36, .06), 0 10px 24px -14px rgba(0, 21, 36, .35); }
.o-kachel__kopf { font-size: 13px; line-height: 18px; font-weight: 600; color: #4A5B6C; }
.o-kachel__zahl { margin-top: 2px; font-size: 32px; line-height: 38px; font-weight: 800; letter-spacing: -0.02em; color: var(--akzent); white-space: nowrap; }
.o-kachel__satz { font-size: 14px; line-height: 20px; color: var(--text-1); }
.o-kachel__fuss { margin-top: 6px; font-size: 12px; line-height: 17px; color: #4A5B6C; }
.o-weg__schritte { font-weight: 600; font-size: 14px; line-height: 20px; }
.o-schritte { counter-reset: o-schritt; display: grid; gap: 10px; font-size: 14px; line-height: 20px; }
.o-schritte li { counter-increment: o-schritt; position: relative; padding-left: 34px; }
.o-schritte li::before { content: counter(o-schritt); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #001524; color: #FFFFFF; font-weight: 800; font-size: 13px; line-height: 1; }
.o-weg__liste > .o-klein { margin-top: 10px; }
/* bkv: Krankenzusatz zuerst; den Anlass trägt dort schon die Zeile im Hero */
html[data-o-folge="bkv"] .o-weg--b { order: -1; }
html[data-o-folge="bkv"] .o-weg__anlass { display: none; }
.o-weg__nurbkv { display: none; }
html[data-o-folge="bkv"] .o-weg__nurbkv { display: block; }

.o-wege__schluss { margin-top: 20px; display: grid; gap: 14px; }
.o-wege__serif { font-family: var(--font-akzent); font-style: italic; font-size: 24px; line-height: 30px; color: var(--primaer); text-wrap: balance; }

@media (min-width: 960px) {
  .o-wege__kopf { max-width: 760px; }
  .o-umfrage { grid-template-columns: repeat(2, minmax(0, 230px)); column-gap: 14px; max-width: none; }
  .o-wege__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); column-gap: 32px; row-gap: 0; margin-top: 40px; }
  .o-weg { grid-row: 1 / span 7; grid-template-rows: subgrid; row-gap: 14px; padding: 0 28px 28px; }
  .o-weg--a { grid-column: 1; }
  .o-weg--b { grid-column: 2; }
  html[data-o-folge="bkv"] .o-weg--a { grid-column: 2; }
  html[data-o-folge="bkv"] .o-weg--b { grid-column: 1; }
  /* Bildstreifen beider Karten gleich hoch: das Zahnmodell füllt die Zeile, die der Papierstreifen vorgibt */
  .o-weg__bild { height: auto; min-height: 300px; margin: 0 -28px 6px; }
  .o-weg__bild--streifen { padding: 24px 24px 12px; }
  .o-weg__titel { font-size: 24px; line-height: 30px; }
  .o-wege__schluss { max-width: 560px; }
}

/* ---------- Zwei Zähne (nur ?a=inhaber) ---------- */
.o-zaehne .o-h2 .o-key { color: var(--primaer); }
.o-zaehne__lead { margin-top: 8px; }
.o-zaehne__liste { display: grid; gap: 18px; margin-top: 24px; counter-reset: o-zahn; }
.o-zahn { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.o-zahn { counter-increment: o-zahn; }
.o-zahn__bild { position: relative; display: block; width: 48px; height: 56px; }
.o-zahn__svg { display: block; }
.o-zahn__nr { position: absolute; inset: 15px 0 auto; font-family: var(--font-headline); font-style: normal; font-weight: 800; font-size: 18px; line-height: 20px; text-align: center; color: #001524; font-variant-numeric: tabular-nums; }
.o-zahn__nr::before { content: counter(o-zahn); }
.o-zahn__titel { font-weight: 600; font-size: 14px; line-height: 20px; color: #3E4F61; }
.o-zahn__frage { margin-top: 2px; font-weight: 700; font-size: 18px; line-height: 25px; color: var(--primaer); }
.o-zaehne__stockst { margin-top: 24px; font-weight: 700; font-size: 20px; line-height: 26px; }
.o-zaehne__h3 { margin-top: 28px; font-size: 22px; line-height: 28px; letter-spacing: -0.015em; color: var(--primaer); }
.o-zaehne__h3 .o-key { color: var(--primaer); }
.o-zaehne__text { margin-top: 10px; }
.o-zaehne__bedingung { margin-top: 10px; }
.o-zaehne__befund { margin-top: 18px; font-weight: 600; }
.o-zaehne__cta { margin-top: 18px; }

/* ---------- Bewegung: Grundzustand = Endzustand. oben.js spielt Marker und Treppe über die Web Animations API, nur ohne reduzierte Bewegung. ---------- */
.o-marker path { stroke-dasharray: none; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .o-stufe__wert[data-o-zwischen] { color: inherit; }
  .o-stufe__wert[data-o-zwischen]::after { content: none; }
}

/* ---------- Feedback Markus 3.11.: Pfeiler der Brücke (Zwei Zähne) und Überleitung zu Zwei Wege (nur ?a=inhaber) ---------- */
.o-pfeiler { display: grid; gap: 6px; margin-top: 12px; }
.o-pfeiler__teil { padding: 10px 12px; border-radius: 12px; background: #FFFFFF; font-size: 14px; line-height: 20px; color: var(--text-1); }
.o-pfeiler__name { font-weight: 700; color: var(--primaer); }
.o-wege__ueberleitung { margin: 0 0 16px; font-family: var(--font-akzent); font-style: italic; font-size: 24px; line-height: 29px; color: var(--primaer); text-wrap: balance; }
@media (min-width: 640px) {
  .o-pfeiler { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .o-pfeiler__teil { padding: 14px 16px; font-size: 15px; line-height: 22px; }
  .o-pfeiler__name { display: block; margin-bottom: 2px; }
}
@media (min-width: 960px) {
  .o-wege__ueberleitung { max-width: 720px; margin-bottom: 30px; font-size: 32px; line-height: 38px; }
}

/* ---------- V2 4.11.: Wort statt Zahl im Team-Hero, ruhige Scroll-Reveals ----------
   Reveals sind scroll-getrieben (animation-timeline: view(), fill forwards): vor dem Eintritt und in Ganzseiten-Aufnahmen steht alles im Endzustand,
   nur transform/opacity, nur kleine Elemente (Überschriften, Kacheln, Stimmen), nie ganze Abschnitte. Ohne Unterstützung: keine Bewegung. */
.o-hero--team .o-h1zahl__wert { font-size: 1.2em; }
@keyframes o-v2-auftauchen { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .o-sek h2, .o-kachel, .u-stimme, .u-faecher {
      animation: o-v2-auftauchen linear forwards; /* kein backwards: unterhalb des Bildes und in Ganzseiten-Aufnahmen gilt der Grundzustand */
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}
@media (max-width: 959px) { .u-befund { display: none; } }
