/* Welle 3 (5.11.2026, Slice w2-garbe): Gestaltungs-Upgrade nach docs/design-welle-0511/REFERENZ-DESIGN.md (Regeln 1 bis 15)
   und WELLE-3-ADRIAN-0511-ABEND.md (R16 bis R19). Nur Gestaltung, kein Text geändert. Lädt als letzte Seiten-CSS.
   Schrift Poppins und Farben Navy #001524 / Rot #D71A17 bleiben: beides aus Garbes CI (css/token.css, ui-ci.json). */

/* Regel 5 und 14: eine Familie. Die Kursiv-Akzentfamilie (Instrument Serif) und die farbigen Einzelwörter entfallen;
   die Wörter stehen in der Schrift und Farbe ihrer Überschrift. */
:root { --font-akzent: var(--font-headline); }
.o-key, .r-key { font-family: inherit; font-style: normal; font-weight: inherit; font-size: 1em; line-height: inherit; letter-spacing: inherit; padding-inline-end: 0; }
.o-h1zahl { display: inline; white-space: normal; line-height: inherit; vertical-align: baseline; }
.o-h1zahl__wert, .o-hero--team .o-h1zahl__wert { font-size: 1em; line-height: inherit; color: inherit; padding-inline: 0; letter-spacing: inherit; }
.o-marker--h1 { display: none; }
/* Sätze, die ein eigenes Element sind, bekommen 600 statt Kursiv (R19) */
.o-notiz__text { font-family: var(--font-text); font-style: normal; font-weight: 600; font-size: 15px; line-height: 19px; }
.o-rechnung__abbinder { font-family: var(--font-text); font-style: normal; font-weight: 600; font-size: 17px; line-height: 24px; }
.o-wege__serif, .o-wege__ueberleitung { font-family: var(--font-text); font-style: normal; font-weight: 600; font-size: 18px; line-height: 26px; }
.u-fuss__slogan { font-family: var(--font-text); font-style: normal; font-weight: 600; font-size: 16px; line-height: 22px; }

/* Regel 9: Flächen ohne Verlauf, Glanz und Rauschtextur. Navy einfarbig, Hero hell einfarbig. */
.o-kopf, .o-sek--navy, .u-stimmen__note { background: #001524; }
.o-hero { background: #E1E8EF; }
.o-hero:has(.o-hero--bav:not([hidden])), .o-hero:has(.o-hero--inhaber:not([hidden])) { background: #001524; }
.o-leucht__panel { background: #F3F6F9; }
.o-blatt__papier { background-image: none; }
.o-gebiss__platz { background: #0E2A42; }
.o-zahn-platz, .o-weg__bild--streifen { background: #E1E8EF; }
.o-notiz { background: #E1E8EF; }
.o-notiz::before { background: rgba(0, 21, 36, .06); }

/* Regel 4: mobil nur das Logo im Kopf, der Knopf im Kopf erst ab 768 px (der Hero-Knopf liegt mobil bei y 301 bis 357) */
@media (max-width: 767.98px) {
  .o-kopf__knopf { display: none; }
}

/* Regel 6: Laufweite der Überschrift höchstens -0,025 em */
@media (min-width: 960px) {
  .o-hero__h1 { letter-spacing: -0.025em; }
}

/* Regel 10 (Lehre Runde 1): der echte Markus groß im ersten Bildschirm statt 52-px-Kreis.
   Gesicht nimmt rund 68 % der Bildbreite ein: 192 px Bild = rund 130 px Gesicht (mobil). */
.o-beleg { align-items: end; gap: 16px; }
.o-beleg__foto { width: 192px; height: 216px; border-radius: 20px; object-fit: cover; object-position: 50% 28%; box-shadow: none; }
.o-beleg__text { padding-bottom: 4px; }
.o-beleg__name { font-size: 17px; line-height: 22px; }
.o-beleg__zeile { font-size: 15px; line-height: 21px; margin-top: 4px; }
@media (min-width: 960px) {
  .o-beleg { margin-top: 28px; gap: 20px; }
  .o-beleg__foto { width: 176px; height: 200px; }
  .o-beleg__text { max-width: 30ch; }
}

/* Regel 10: keine nachgebaute Suchleiste über dem Gehaltsblatt. Der Suchtext bleibt als ruhige Zeile über dem Blatt stehen. */
.o-such { width: auto; height: auto; margin: 0 0 8px; padding: 0 4px; justify-content: flex-start; background: none; border-radius: 0; box-shadow: none; transform: none; font-size: 14px; font-weight: 600; line-height: 20px; color: #22384D; }
.o-such__strich { display: none; }
.o-blatt__papier { margin-top: 0; }

/* Regel 15: Über-mich-Foto mobil mindestens 160 × 190 px */
@media (max-width: 767.98px) {
  .u-markus__raster { grid-template-columns: 160px minmax(0, 1fr); }
}

/* R18: Linien-Icons neben Text (Lucide, ISC, siehe LIZENZ-ICONS.txt), ein Strich, Akzent, keine Kachel */
.w3-i { flex: none; width: 22px; height: 22px; color: var(--akzent); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.o-weg__kopf { display: flex; align-items: center; gap: 10px; }
.u-markus__fakten { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.u-markus__fakten > .w3-i { margin-top: 1px; color: var(--primaer); }

/* Einwilligungskarte: gestrichen (COOKIE-2011, 20.11.2026). Das Kit (nf-funnel.css) setzt Maß und Lage, die Marke steht als --nf-consent-* in basis.css. */

/* Ein Bewegungssystem: das ältere scroll-getriebene Einblenden (oben.css, V2 4.11.) entfällt, die Köpfe tragen jetzt data-bw */
.o-sek h2, .o-kachel, .u-stimme, .u-faecher { animation: none; }
.o-leucht__panel::before { display: none; }

/* Bewegung (Welle 3): nur unter html.bw (js/bw-schalter.js). Ausgangszustand ohne Übergang, Übergang nur auf .bw-da (sonst 1 → 0 → 1).
   Nur opacity, transform, clip-path; Kurve --o-ease. Ohne html.bw ist alles sofort und statisch sichtbar.
   Signature-Moment ist die vorhandene Treppe „50 € werden 24 €“ (js/oben.js, Balken laufen einmal ein). */
html.bw [data-bw]:not(.bw-da), html.bw [data-bw-gruppe] > :not(.bw-da) { opacity: 0; }
html.bw [data-bw="auf"]:not(.bw-da), html.bw [data-bw-gruppe] > :not(.bw-da) { transform: translateY(20px); }
html.bw [data-bw="seite"]:not(.bw-da) { transform: translateX(-24px); }
html.bw [data-bw="seite"][data-bw-von="rechts"]:not(.bw-da) { transform: translateX(24px); }
/* Bild: der Clip sitzt auf dem img, nicht auf der figure (ein Ziel mit clip-path 100 % meldet der IntersectionObserver nie) */
html.bw [data-bw="bild"] { overflow: hidden; }
html.bw [data-bw="bild"]:not(.bw-da) { opacity: 1; }
html.bw [data-bw="bild"]:not(.bw-da) img { clip-path: inset(0 0 100% 0); transform: scale(1.04); }
html.bw .bw-da { transition: opacity 600ms var(--o-ease), transform 650ms var(--o-ease); }
html.bw .bw-da[data-bw="bild"] img { transition: clip-path 750ms var(--o-ease), transform 750ms var(--o-ease); }
html.bw .bw-da.bw-sofort, html.bw .bw-da.bw-sofort img { transition: none; }
/* Notfall: fällt bewegung.js aus (keine Klasse bw-ok), steht nach 2,5 s der Endzustand */
@keyframes bw-notfall { to { opacity: 1; transform: none; clip-path: inset(0); } }
html.bw:not(.bw-ok) [data-bw], html.bw:not(.bw-ok) [data-bw-gruppe] > *, html.bw:not(.bw-ok) [data-bw="bild"] img { animation: bw-notfall 0s 2.5s forwards; }

/* ---------- Erster Bildschirm (Resume 5.11. abends, Brain-Befund 1 bis 4). Nur Gestaltung, Texte und Schlüssel gleich. ----------
   Desktop: ein Zwei-Spalten-Raster mit gemeinsamer Oberkante. Links H1, Sub, Mikrozeile, Knopf, Absender; rechts das Objekt ab Höhe H1.
   Die freie Höhe geht in eine leere Schlusszeile, nie zwischen Sub und Knopf. Mobil: Absender kompakt, damit das Objekt höher rückt. */

/* Befund 3: die Zeile über dem Knopf ist ein Satz, kein Chip */
.o-hero__befundpille { display: block; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 15px; line-height: 22px; font-weight: 600; color: #E1E8EF; }

/* Befund 2: Absender mobil kompakt. Foto neben dem Namen, der Satz darunter über die volle Breite. */
@media (max-width: 959.98px) {
  .o-beleg { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; align-items: center; }
  .o-beleg__text { display: contents; }
  .o-beleg__foto { width: 88px; height: 100px; border-radius: 14px; }
  .o-beleg__name { grid-column: 2; grid-row: 1; }
  .o-beleg__zeile { grid-column: 1 / -1; grid-row: 2; margin-top: 0; font-size: 14px; line-height: 20px; }
}

/* Befund 1: Desktop-Raster */
@media (min-width: 960px) {
  .o-hero__in { grid-template-areas: "h1 objekt" "sub objekt" "pille objekt" "aktion objekt" ". objekt"; grid-template-rows: repeat(4, auto) minmax(0, 1fr); align-items: start; }
  /* Oberkante des Objekts = Oberkante der H1-Buchstaben (H1 hat 14 px Abstand und rund 8 px Zeilen-Vorlauf) */
  .o-hero__objekt { align-self: start; margin-top: 22px; }
  .o-hero__befundpille { margin-top: 18px; }
  .o-beleg { margin-top: 32px; align-items: center; gap: 24px; }
  .o-beleg__text { padding-bottom: 0; }
  .o-beleg__name { font-size: 18px; line-height: 24px; }
  .o-beleg__zeile { font-size: 15px; line-height: 22px; margin-top: 6px; }
  /* Gebissmodell als ruhige Bühne im Bildformat 4:5, ohne Beschnitt; die Ringe sitzen in Bildkoordinaten (vorher 358:224, Mitte 50 %) */
  .o-hero__objekt--gebiss { justify-self: end; width: 100%; max-width: 496px; }
  .o-gebiss { max-width: none; aspect-ratio: 1080 / 1350; box-shadow: 0 0 0 1px rgba(163, 178, 197, .22);
    --o-ring1-y: 46.5%; --o-ring2-y: 46%; }
}

/* Befund 4 (Regel 10): Beispiel-Ergebnis im Ablauf als ruhige Tabelle. Keine Ampelpunkte, keine Drehung, kein Randstrich, kein gekippter Chip. */
.u-befund__beispiel { position: static; transform: none; display: block; min-height: 0; margin: 0 0 10px; padding: 0; border: 0; border-radius: 0; background: none; color: #A3B2C5; font-size: 14px; line-height: 20px; font-weight: 600; }
.u-befund__blatt { padding: 18px 22px 8px; background-image: none; border-radius: var(--o-radius); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7); transform: none; }
.u-ampel { display: none; }
.u-befund__stufe { font-weight: 500; }

/* Überlauf ?a=team&v=bkv (Slice w3-garbe-ueberlauf, 5.11. abends). Ursache: Die H2 „Zwei Wege“ der bkv-Folge trägt das Wort
   „Krankenzusatzversicherung.“ ohne Trennstelle (26 px, rund 14,6 Geviert breit = 380 px). Bei 390 ragt es 7 px, bei 360 38 px über
   die Spalte (100vw minus 2 × 16 px), der Prüf-Chrome trennt nicht selbst. Nur diese H2 und nur unter 960 px: Schriftgröße höchstens
   26 px, sonst Spaltenbreite / 15 (bei 390 rund 23,9 px, bei 360 rund 21,9 px); ab 422 px bleibt alles wie bisher. Zeilenhöhe im Verhältnis 30/26. */
@media (max-width: 959.98px) {
  html[data-o-folge="bkv"] .o-wege__kopf .o-h2 { font-size: min(26px, calc((100vw - 32px) / 15)); line-height: 1.154; }
}
