/* Gemeinsamer Stil aller Medistent-Seiten im scroll-craft-Entwurf (Startseite, Praxis Portal, Honorarblick).
   Bis 2026-10-08 stand er inline in index.html. Engine-Stil bleibt scrollcraft.css. */
  /* Schriften lokal (SIL OFL, assets/fonts/LICENSE-*). Keine Anfrage an Dritte. */
  @font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair-display-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
  @font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
  @font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
  @font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
  @font-face { font-family: "Geist"; src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
  @font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

  /* Markenpalette (Marketing/Marke/FARBEN.md). Teal = Praxis Portal, Gold = nur Website-Erstellung,
     Navy = alles ohne Produkt. Akzentfarben nie als Schriftfarbe: dafür teal-ink / gold-ink. */
  :root {
    --sc-canvas: #f8f8f6; --sc-surface: #ffffff; --sc-ink: #1c1917; --sc-ink-soft: #545d6b;
    --sc-accent: #097067; --sc-accent-ink: #ffffff;
    /* Überschriften Arial, Fließtext DM Sans (Wlad 2026-10-06). Playfair nur noch im Logo-Schriftzug (.brand__w). */
    --sc-font-display: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
    --sc-font-text: "DM Sans", system-ui, sans-serif;
    --sc-font-mono: "JetBrains Mono", ui-monospace, monospace;
    --sc-edge: none; --sc-shadow-color: 212 40% 20%;
    --schatten: 0 1px 2px hsl(212 40% 20% / .05), 0 14px 30px -12px hsl(212 40% 20% / .22);
    --schatten-gross: 0 4px 10px hsl(212 40% 20% / .05), 0 30px 60px -18px hsl(212 40% 20% / .3);
    --navy: #0c2340; --teal: #0fa89b; --teal-ink: #097067; --teal-light: #d0f0ed;
    --gold: #c8954a; --gold-ink: #8a6226; --line: #e3dfd6;
    --ease-brand: cubic-bezier(0.22, 1, 0.36, 1);
    --bar-h: 70px; /* Kopfleiste oben, wie die React-Leiste (Nav.tsx KOPF_HOEHE.voll). Gescrollt: .appbar.is-kompakt */
  }
  html { background: #f6f1e8; }
  body { color: var(--sc-ink); background: #f6f1e8; }
  h1, h2, h3 { color: var(--navy); }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; border-radius: 4px; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mono { font-family: var(--sc-font-mono); font-weight: 500; }
  .skip { position: absolute; left: -9999px; }
  .skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--navy); color: #fff; padding: .5rem 1rem; }
  .label { font-size: var(--sc-t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); font-weight: 600; margin: 0; }

  /* Tageslicht: tief und warm um 7:45, über den Vormittag hell und neutral. Nur Farbe und Lage. */
  .tageslicht { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
  .tageslicht i { position: absolute; left: -30vw; top: -40vh; width: 110vw; height: 110vw; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 196, 128, .42), rgba(255, 214, 160, .16) 52%, rgba(255, 232, 196, 0) 100%); will-change: transform, opacity; }
  main { position: relative; z-index: 1; }

  /* ------------------------------------------------ App-Leiste (Navigation) -- */
  /* Helle Kopfleiste wie auf medistent.de: warmes Weiß, leicht durchscheinend, feine Unterkante */
  /* Die Weichzeichnung sitzt auf einer eigenen Ebene: backdrop-filter direkt an der Leiste machte sie zum
     Bezugsrahmen für das fixierte Handy-Menü, das dann nur noch Leistenhöhe hatte. */
  /* Aufbau wie die React-Kopfleiste (Wlad 2026-10-31: „kopiere die Struktur von Website-Erstellung"):
     max. 1200 px, Logo links, Menü dazwischen, Anmelden · Kontakt · Erstgespräch rechts, Menüpunkte ohne Pfeil.
     Die Farben bleiben die dieser Seite. Beim Scrollen 70 → 56 px, das Logo schrumpft auf das Symbol. */
  .appbar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h); color: var(--navy); transition: height 300ms var(--ease-brand); }
  .appbar.is-kompakt { height: 56px; }
  .appbar.is-kompakt .mmenue { top: 56px; }
  .appbar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(248, 248, 246, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: background-color 200ms ease, border-color 200ms ease; }
  .appbar.is-kompakt::before, .appbar.is-mobil-offen::before { background: rgba(248, 248, 246, .94); border-bottom-color: #e0ddd6; }
  .appbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
  .brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy); flex: none; }
  .brand__w { color: var(--navy); }
  .brand svg { width: 34px; height: auto; }
  .brand__w { font-family: "Playfair Display", serif; font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1; }
  /* Logo in der Kopfleiste wie in der React-Leiste (Wlad 2026-10-31, Vorlage „Über uns"): „Medi" in Teal,
     „stent" in Navy, 30 px Symbol, Schriftzug 27 px. Gilt nur in der Leiste, das Logo im Seitenfuss bleibt. */
  .appbar .brand { gap: 0; min-width: 168px; } /* Platz des vollen Logos bleibt frei, das Menü rutscht beim Schrumpfen nicht */
  .appbar .brand svg { width: auto; height: 30px; flex: none; }
  .appbar .brand svg path { fill: #0c8f84; }
  .appbar .brand__medi { color: #0c8f84; }
  .appbar .brand__w { font-size: 27px; display: inline-block; overflow: hidden; white-space: nowrap; max-width: 10em; margin-left: 9px; transition: max-width 320ms var(--ease-brand), margin-left 320ms var(--ease-brand), opacity 200ms ease; }
  .appbar.is-kompakt .brand__w { max-width: 0; margin-left: 0; opacity: 0; }
  /* Vollprüfung Aufgabe 9 (2026-11-01): unter reduzierter Bewegung lief dieser Übergang als einzige Bewegung der
     Kopfleiste weiter (gemessen über document.getAnimations). Der Schriftzug klappt dann ohne Übergang ein. */
  /* Abschluss-Review 2026-11-01: auch die Höhe der Leiste (transition: height 300ms) fuhr unter reduzierter Bewegung
     weiter — gemessen über die ersten 18 Frames nach dem Zurückscrollen, eine Einzelmessung traf sie nur manchmal. */
  @media (prefers-reduced-motion: reduce) { .appbar, .appbar .brand__w { transition: none; } }
  /* Kopfleiste: Aufbau wie auf medistent.de (Leistungen, Einblick, Ablauf, Preise · Anmelden, Kontakt, Erstgespräch),
     gestaltet wie diese Seite: teal App-Leiste, Menüs als helle Tafeln mit Kategorien in den Markenfarben. */
  .hnav { position: relative; }
  .hnav__liste { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
  .hnav__knopf, .hnav__link { display: inline-flex; align-items: center; gap: .3rem; font: inherit; font-size: .9rem; font-weight: 400; color: #3d5a75; background: none; border: 0; cursor: pointer; padding: .5rem .25rem; border-radius: 0; text-decoration: none; transition: color 120ms ease; }
  .hnav__knopf svg { display: none; } /* Menüpunkte ohne Pfeil, wie die React-Leiste */
  .hnav__knopf[aria-expanded="true"] { color: var(--navy); }
  .hnav__knopf[aria-expanded="true"] svg { transform: rotate(180deg); }
  @media (hover: hover) and (pointer: fine) { .hnav__knopf:hover, .hnav__link:hover, .hlink:hover { color: var(--navy); } }
  .menue { position: absolute; top: calc(100% + 12px); left: 50%; width: min(720px, calc(100vw - 2rem)); translate: -50% 0; background: #fffdf9; color: var(--sc-ink); border-radius: 18px; box-shadow: 0 1px 0 rgba(12,35,64,.04), 0 30px 60px -20px rgba(12,35,64,.35), 0 0 0 1px rgba(12,35,64,.06); padding: 1.15rem 1.2rem 1.2rem; box-sizing: border-box;
    visibility: hidden; opacity: 0; filter: blur(6px); transition: opacity 200ms var(--ease-brand), filter 200ms var(--ease-brand), visibility 0s linear 200ms; }
  .menue.is-offen { visibility: visible; opacity: 1; filter: none; transition: opacity 200ms var(--ease-brand), filter 200ms var(--ease-brand), visibility 0s; }
  .menue__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .menue__mehr { font-size: .82rem; font-weight: 600; color: var(--teal-ink); text-decoration: none; white-space: nowrap; }
  .menue__mehr--gold { color: var(--gold-ink); }
  .kat { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--teal-ink); }
  .kat::before { content: ""; width: .5rem; height: .5rem; border-radius: 2px; background: var(--teal); }
  .kat--navy { color: var(--navy); } .kat--navy::before { background: var(--navy); }
  .kat--gold { color: var(--gold-ink); } .kat--gold::before { background: var(--gold); }
  .kat--petrol { color: #11383f; } .kat--petrol::before { background: #00a3a6; }
  .kachel--honorar .kachel__ic { background: linear-gradient(160deg, #e3f3f3, #c9e9ea); color: #006a71; box-shadow: inset 0 -2px 0 rgba(0,106,113,.14), 0 4px 10px -6px rgba(0,163,166,.6); }
  .menue__trenn { height: 1px; background: rgba(12,35,64,.08); margin: .8rem 0; }
  .kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem .5rem; margin-top: .55rem; }
  .kacheln--2 { grid-template-columns: repeat(2, 1fr); }
  /* align-items: center seit 2026-10-30 — die Kacheln tragen keinen Untertitel mehr, der Titel steht mittig neben dem Symbol. */
  .kachel { display: flex; gap: .7rem; align-items: center; padding: .55rem .6rem; border-radius: 12px; text-decoration: none; color: inherit; transition: background-color 160ms var(--ease-brand); }
  @media (hover: hover) and (pointer: fine) { .kachel:hover { background: #f1f7f5; } .kachel--gold:hover { background: #faf4ea; } }
  .kachel__ic { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(160deg, #e6f5f3, #d0f0ed); color: var(--teal-ink); box-shadow: inset 0 -2px 0 rgba(9,112,103,.12), 0 4px 10px -6px rgba(9,112,103,.5); }
  .kachel__ic svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .kachel--bald .kachel__ic { background: linear-gradient(160deg, #eef0f3, #e1e6ee); color: var(--navy); box-shadow: inset 0 -2px 0 rgba(12,35,64,.1); }
  .kachel--gold .kachel__ic { background: linear-gradient(160deg, #fbf3e6, #f3e3c7); color: var(--gold-ink); box-shadow: inset 0 -2px 0 rgba(138,98,38,.14), 0 4px 10px -6px rgba(200,149,74,.6); }
  .kachel b { display: block; font-size: .92rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
  .kachel small { display: block; font-size: .78rem; color: var(--sc-ink-soft); line-height: 1.35; margin-top: .12rem; }
  .einblick { display: grid; grid-template-columns: 1fr 13rem; gap: 1rem; }
  /* Ablauf-Menü (Wlad 2026-10-22): je Produkt eine Kachel, aus lib/navigation.ts ABLAUF erzeugt
     (tools/start-menue-schreiben.mjs) — gleich wie die AblaufKarte der React-Leiste. */
  /* Ablauf-Menü (Wlad 2026-10-30: „mehr an die anderen Header angepasst"): Desktop in der Machart des
     Produkte-Menüs, eine Spalte je Ablauf mit Name und Link, rechts der nächste Schritt. Gleich mit
     AblaufPanel in components/Nav.tsx. Spaltenzahl folgt der Zahl der Abläufe (flex statt repeat(3),
     sonst blieb nach dem Wegfall von Honorarblick eine Spalte leer). Das Handy-Menü behält die Kacheln. */
  .ablauf-menue { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .6rem; }
  .ablauf-menue.ablauf-menue--spalten { display: flex; gap: 1.25rem; }
  .ablauf-menue--spalten > .produkt { flex: 1 1 0; }
  .ablauf__promo { flex: 0 0 13rem; display: flex; flex-direction: column; gap: .15rem; padding: .9rem; border-radius: 12px; border: 1px solid #e8e5df; background: #fbfaf6; text-decoration: none; color: inherit; transition: border-color 160ms var(--ease-brand); }
  .ablauf__promo:hover, .ablauf__promo:focus-visible { border-color: var(--navy); }
  .ablauf__promo-kopf { display: flex; align-items: center; gap: .55rem; }
  .ablauf__promo .produkt__ic { width: 34px; height: 34px; border-radius: 8px; background: #fff; border: 1px solid #e0ddd6; box-shadow: none; color: var(--navy); }
  .ablauf__promo small { font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
  .ablauf__promo b { margin-top: .55rem; font-size: .88rem; font-weight: 500; line-height: 1.3; color: var(--navy); }
  .ablauf__promo em { margin-top: auto; padding-top: .6rem; font-style: normal; font-size: .78rem; font-weight: 500; color: var(--navy); }
  .ablauf-menue .kachel { align-items: center; padding: .85rem; border: 1px solid rgba(12,35,64,.08); background: #fbf8f2; }
  .ablauf__bild { flex: none; width: 2.4rem; height: 2.4rem; }
  .ablauf__bild svg { width: 100%; height: 100%; display: block; }
  @media (hover: hover) and (pointer: fine) { .kachel--teal:hover { background: #f1f7f5; } .kachel--petrol:hover { background: #ecf6f6; } }
  .blogkarte { display: flex; flex-direction: column; gap: .6rem; padding: 1rem; border-radius: 14px; background: linear-gradient(170deg, #eef8f6, #e1f2ef); text-decoration: none; color: inherit; }
  .blogkarte b { font-size: 1.02rem; color: var(--navy); line-height: 1.3; font-family: var(--sc-font-display); font-weight: 500; }
  .blogkarte span { font-size: .8rem; color: var(--sc-ink-soft); line-height: 1.45; }
  .blogkarte em { margin-top: auto; font-style: normal; font-size: .82rem; font-weight: 600; color: var(--teal-ink); }
  .hlink { color: #3d5a75; text-decoration: none; font-size: .875rem; font-weight: 400; padding: .45rem .25rem; transition: color 120ms ease; white-space: nowrap; }
  .appbar__r { display: flex; align-items: center; gap: .75rem; }
  .cta-g { display: flex; flex-direction: row-reverse; align-items: center; gap: .6rem; margin-left: .25rem; }
  .cta { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 1.1rem; border-radius: 9px; background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: transform 140ms var(--ease-brand), background-color 160ms var(--ease-brand); }
  .cta-g .cta { font-weight: 500; font-size: .875rem; border-radius: 7px; } /* Kopfleiste wie die React-Leiste; Knöpfe im Inhalt behalten ihre Grösse */
  .cta:active { transform: scale(.97); }
  @media (hover: hover) and (pointer: fine) { .cta:hover { background: #163a63; } }
  .burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(12,35,64,.18); background: #fff; color: var(--navy); place-items: center; cursor: pointer; padding: 0; }
  .burger svg { width: 20px; height: 20px; }
  .burger .zu { display: none; }
  .appbar.is-mobil-offen .burger .auf { display: none; }
  .appbar.is-mobil-offen .burger .zu { display: block; }
  /* Menü auf schmalen Bildschirmen: eine ruhige Tafel unter der Leiste, Gruppen wie auf der Website */
  .mmenue { position: fixed; left: 0; right: 0; top: var(--bar-h); bottom: 0; overflow-y: auto; overscroll-behavior: contain; background: #fbf8f2; color: var(--sc-ink); padding: 1.1rem 1rem 2rem; box-sizing: border-box;
    visibility: hidden; opacity: 0; filter: blur(6px); transition: opacity 220ms var(--ease-brand), filter 220ms var(--ease-brand), visibility 0s linear 220ms; }
  .appbar.is-mobil-offen .mmenue { visibility: visible; opacity: 1; filter: none; transition: opacity 220ms var(--ease-brand), filter 220ms var(--ease-brand), visibility 0s; }
  /* Kategorien des Handy-Menüs (Wlad 2026-11-09, erzeugt von medistent-web/tools/start-menue-schreiben.mjs aus
     HANDY_GRUPPEN): Kategorie als deutliche Überschrift, ihre Seiten darunter an einer Leitlinie eingerückt.
     Zeilen 44 px hoch (Fingerziel). Gleich mit `.hm` in medistent-web/app/globals.css. */
  .hm__gruppe { margin-top: 1.15rem; }
  .hm__gruppe:first-child { margin-top: .2rem; }
  .hm__titel { margin: 0 0 .3rem; font-family: var(--sc-font-display); font-size: 1.08rem; font-weight: 700; line-height: 1.2; color: var(--navy); }
  .hm__liste { list-style: none; margin: 0 0 0 .3rem; padding: 0 0 0 .9rem; border-left: 2px solid #cfe3df; display: grid; }
  .hm__link { display: flex; align-items: center; gap: .6rem; min-height: 44px; font-size: .97rem; font-weight: 500; color: #2b3a4d; text-decoration: none; }
  .hm__ic { display: grid; flex: none; }
  .hm__ic > svg { width: 1.6rem; height: 1.6rem; display: block; }
  .hm__ic .produkt__ic { width: 1.6rem; height: 1.6rem; border-radius: 7px; }
  .hm__ic .produkt__ic svg { width: .95rem; height: .95rem; }
  .hm__extern { font-size: .85em; color: #5b6472; }
  .mmenue .menue__mehr { display: inline-block; padding: .35rem .6rem .2rem; }
  .mmenue__links { display: grid; margin-top: 1rem; border-top: 1px solid rgba(12,35,64,.08); }
  /* Gewicht 500 wie die Seiten unter den Kategorien: Die Kategorien sollen führen (Wlad 2026-11-09), nicht diese losen Links. */
  .mmenue__links a { display: flex; align-items: center; min-height: 44px; padding: 0 .6rem; font-size: .97rem; font-weight: 500; color: #2b3a4d; text-decoration: none; border-bottom: 1px solid rgba(12,35,64,.08); }
  .mmenue__cta { display: grid; gap: .7rem; justify-items: stretch; margin-top: 1.2rem; }
  .mmenue__cta .cta { background: var(--navy); color: #fff; min-height: 48px; }
  .mmenue__cta .angebot { justify-self: center; }
  /* Angebot auf schmalen Bildschirmen: ein eigener Streifen unter der Leiste, immer sichtbar */
  .streifen { display: none; }
  @media (max-width: 1360px) { .angebot--bar small:not(.vor) { display: none; } }
  @media (max-width: 1200px) { .hnav, .hlink { display: none; } .burger { display: grid; } }
  @media (max-width: 760px) {
    :root { --bar-h: 62px; --leiste-h: 62px; }
    .appbar__in { height: var(--leiste-h); }
    .appbar.is-kompakt { height: var(--bar-h); } /* Handy: Höhe bleibt (Angebotsstreifen hängt an --leiste-h), nur das Logo schrumpft */
    .appbar.is-kompakt .mmenue { top: var(--bar-h); }
    .cta-g .angebot--bar { display: none; }
    .streifen { display: flex; align-items: center; justify-content: center; gap: .5rem; height: calc(var(--bar-h) - var(--leiste-h)); background: var(--teal-ink); color: #fff; font-size: .8rem; font-weight: 600; text-decoration: none; position: relative; overflow: hidden; }
    .streifen .angebot__ic { width: 1.25rem; height: 1.25rem; background: #fff; }
    .streifen small { font-weight: 400; }
    .streifen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.3) 50%, transparent 65%); transform: translateX(-120%); animation: glanz 5.5s var(--ease-brand) 1.2s infinite; }
    .mmenue__cta .angebot { font-size: 1rem; }
    .brand__w { font-size: 1.15rem; }
    .cta { min-height: 34px; font-size: .82rem; padding: 0 .75rem; }
    .appbar__r { gap: .5rem; }
    .burger { width: 38px; height: 38px; }
    .angebot { font-size: .92rem; }
  }
  @media (max-width: 420px) { .angebot--hero small:not(.vor) { display: none; } }


  /* ============================================================ PRODUKTE ==
     Medistent als Dach. Jedes Programm steht ohne Rahmen auf dem Grund; Gegenstand ist nur das kleine
     Abbild seiner Oberfläche. Farben: Teal = Praxis Portal, Petrol/Türkis = Honorarblick, Gold = Website. */
  /* Einblenden der Abschnitte: nur Transparenz, kurz (vorher 700 ms mit Weichzeichner auf ganzen Abschnitten) */
  [data-sc-in] { transform: none !important; transition: opacity 250ms var(--ease-brand); }
  /* Abbilder: kleine Oberflächen, die für das Produkt stehen (Gegenstände, deshalb mit Schatten) */
  .abbild { width: 100%; aspect-ratio: 16 / 9.4; border-radius: 14px; overflow: hidden; box-shadow: var(--schatten-gross); background: #fff; font-size: clamp(9px, .72vw, 11.5px); display: flex; flex-direction: column; }
  /* Kleine Abbilder (Wlad 2026-10-02): einfache Bildsprache statt Schrift, wie das Website-Abbild. Nur der Programmname bleibt Text. */
  .ap__leiste { display: flex; align-items: center; gap: .6em; height: 3.2em; padding: 0 1.1em; background: var(--teal-ink); color: #fff; font-weight: 600; flex: none; }
  /* Offizielles Portal-Icon (lib/programm-icons.ts). Seine Fläche (#006a71) liegt fast im Ton der Leiste (--teal-ink):
     ohne den feinen hellen Rand bliebe nur das weiße Zeichen sichtbar, nicht das Icon. Radius = rx 14/64 des Icons. */
  .ap__zeichen svg { width: 1.9em; height: 1.9em; display: block; border-radius: 22%; box-shadow: 0 0 0 1px rgba(255,255,255,.45); }
  .ap__faecher { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .9em; padding: 1em 1.1em; background: #f7f5f0; align-content: start; }
  .ap__fach { display: grid; gap: .5em; align-content: start; }
  .ap__kopf { display: flex; align-items: center; gap: .5em; padding-bottom: .55em; border-bottom: 1px solid rgba(12, 35, 64, .1); }
  .ap__kopf i { flex: none; width: 2.2em; height: 2.2em; border-radius: .6em; display: grid; place-items: center; background: #d0f0ed; color: var(--teal-ink); }
  .ap__kopf svg { width: 1.3em; height: 1.3em; }
  .ap__kopf s { width: 55%; height: .5em; border-radius: 3px; background: #ddd7cb; }
  .ap__karte { display: flex; align-items: center; gap: .55em; margin: 0; padding: .6em; border-radius: .55em; background: #fff; box-shadow: 0 1px 2px rgba(12, 35, 64, .06), 0 4px 10px -6px rgba(12, 35, 64, .2); }
  .ap__karte i { flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; background: #f1e3cf; }
  .ap__karte i.b { background: #dde7f3; } .ap__karte i.c { background: #e6efe0; }
  .ap__karte s { height: .5em; border-radius: 3px; background: #e7e3db; }
  .ap__karte.mine { box-shadow: 0 0 0 1.5px var(--teal), 0 4px 10px -6px rgba(12, 35, 64, .2); }
  .ap__karte.mine i { background: var(--teal-light); }
  /* Kleine Schleifen in den Abbildern (Wlad 2026-10-02): zeigen in wenigen Sekunden, was das Programm tut.
     Nur transform und opacity (laufen auf der Grafikkarte). Kopien im Halo Reel versetzt über --ver.
     Bei reduzierter Bewegung steht alles. */
  .abbild { --ver: 0s; }
  .halo__karte:nth-child(3n+2) .abbild { --ver: -1.7s; } .halo__karte:nth-child(3n) .abbild { --ver: -3.3s; }
  .halo__karte:nth-child(n+4) .abbild { --ver: -2.4s; }
  /* Honorarblick, 6 s: Datei lädt, Haken, drei Hinweise nacheinander, weich aus */
  .ah__datei s { position: relative; overflow: hidden; }
  .ah__datei s::after { content: ""; position: absolute; inset: 0; background: #307366; opacity: .55; transform-origin: 0 50%; animation: hbLaden 6s var(--ease-brand) var(--ver) infinite; }
  .ah__ok { animation: hbHaken 6s var(--ease-brand) var(--ver) infinite; }
  .ah__liste li { animation: hbZeile 6s var(--ease-brand) var(--ver) infinite; }
  .ah__liste li:nth-child(2) { animation-name: hbZeile2; } .ah__liste li:nth-child(3) { animation-name: hbZeile3; }
  @keyframes hbLaden { 0% { transform: scaleX(0); opacity: .55; } 26% { transform: scaleX(1); opacity: .55; } 34%, 100% { transform: scaleX(1); opacity: 0; } }
  @keyframes hbHaken { 0%, 26% { transform: scale(0); opacity: 0; } 32% { transform: scale(1.18); opacity: 1; } 36%, 88% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(.6); opacity: 0; } }
  @keyframes hbZeile { 0%, 36% { transform: translate3d(0, .6em, 0); opacity: 0; } 44%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
  @keyframes hbZeile2 { 0%, 44% { transform: translate3d(0, .6em, 0); opacity: 0; } 52%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
  @keyframes hbZeile3 { 0%, 52% { transform: translate3d(0, .6em, 0); opacity: 0; } 60%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
  /* Praxis Portal, 5 s: in jedes Fach rutscht nacheinander eine neue Anfrage, die markierte Karte pulsiert */
  .ap__fach .ap__karte:nth-of-type(1) { animation: apNeu 5s var(--ease-brand) var(--ver) infinite; }
  .ap__fach:nth-child(2) .ap__karte:nth-of-type(1) { animation-delay: calc(var(--ver) + 1.3s); }
  .ap__fach:nth-child(3) .ap__karte:nth-of-type(1) { animation-delay: calc(var(--ver) + 2.6s); }
  .ap__karte.mine { position: relative; }
  .ap__karte.mine::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 1.5px var(--teal); animation: apPuls 2.5s ease-out var(--ver) infinite; }
  @keyframes apNeu { 0% { transform: translate3d(0, -.9em, 0); opacity: 0; } 12%, 80% { transform: none; opacity: 1; } 92%, 100% { transform: none; opacity: 0; } }
  @keyframes apPuls { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.12, 1.35); opacity: 0; } }
  /* Website, 6 s: Textzeilen bauen sich auf, Foto zoomt langsam, das Widget mit Medi pulsiert */
  .aw__seite { position: relative; }
  .aw__z { transform-origin: 0 50%; animation: awZeile 6s var(--ease-brand) var(--ver) infinite; }
  .aw__z.kurz { animation-name: awZeile2; }
  .aw__medi { position: absolute; right: 1em; bottom: .9em; width: 2.4em; height: 2.4em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .22em var(--teal-ink), 0 4px 10px -4px rgba(12, 35, 64, .5); }
  .aw__medi::before { content: ""; position: absolute; inset: .55em; border-radius: 50%; background: var(--teal); }
  .aw__medi::after { content: ""; position: absolute; inset: -.22em; border-radius: 50%; box-shadow: 0 0 0 .22em var(--teal); animation: awPuls 2.4s ease-out var(--ver) infinite; }
  @keyframes awZeile { 0% { transform: scaleX(0); opacity: 1; } 22%, 86% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
  @keyframes awZeile2 { 0%, 12% { transform: scaleX(0); opacity: 1; } 32%, 86% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
  @keyframes awFoto { from { transform: scale(1); } to { transform: scale(1.08); } }
  @keyframes awPuls { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
  .szene[data-aus] .abbild *, .szene[data-aus] .abbild *::before, .szene[data-aus] .abbild *::after { animation-play-state: paused; }   /* unsichtbare Szenen rechnen nicht mit */
  @media (prefers-reduced-motion: reduce) { .abbild *, .abbild *::before, .abbild *::after { animation: none !important; } }
  .abbild--honorar { background: #f0f6f4; font-family: "Geist", system-ui, sans-serif; color: #133c43; }
  .ah__leiste { display: flex; align-items: center; gap: .5em; height: 3.2em; padding: 0 1em; background: #11383f; color: #f7faf9; flex: none; }
  .ah__zeichen svg { width: 1.9em; height: 1.9em; display: block; }
  .ah__leiste b { font-weight: 700; letter-spacing: -.035em; font-size: 1.05em; }
  .ah__inhalt { flex: 1; min-height: 0; padding: 1em 1.1em; display: grid; gap: .7em; align-content: start; }
  .ah__datei { display: flex; align-items: center; gap: .65em; padding: .6em .7em; border: 1px solid #c5d9d6; border-radius: .7em; background: #fff; }
  .ah__dok { flex: none; width: 2.2em; height: 2.2em; border-radius: .55em; display: grid; place-items: center; background: #d9eeea; color: #006a71; }
  .ah__dok svg { width: 1.3em; height: 1.3em; }
  .ah__datei s { flex: 1; height: .5em; border-radius: 3px; background: #d4e3df; }
  .ah__ok { flex: none; width: 1.8em; height: 1.8em; border-radius: 50%; display: grid; place-items: center; background: #307366; color: #fff; }
  .ah__ok svg { width: 1.1em; height: 1.1em; }
  .ah__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; }
  .ah__liste li { position: relative; display: flex; align-items: center; gap: .6em; padding: .6em .7em .6em .9em; border-radius: .55em; background: #fff; box-shadow: 0 1px 2px rgba(17, 56, 63, .06); overflow: hidden; }
  .ah__liste li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .3em; background: var(--hf); }
  .ah__liste i { flex: none; width: .9em; height: .9em; border-radius: 50%; background: var(--hf); }
  .ah__liste s { height: .5em; border-radius: 3px; background: #e0ebe7; }
  .ah__liste .f { --hf: #b42318; } .ah__liste .w { --hf: #c08a2e; } .ah__liste .o { --hf: #307366; }
  .aw__leiste { display: flex; align-items: center; gap: .4em; height: 2.6em; padding: 0 1em; background: #f1ede5; }
  .aw__leiste i { width: .7em; height: .7em; border-radius: 50%; background: #d8d2c6; }
  .aw__leiste span { margin-left: 1em; flex: 1; background: #fff; border-radius: 99px; padding: .2em .9em; color: #6b7280; font-size: .92em; }
  .aw__seite { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto 1fr; gap: .55em 1.2em; padding: 1.3em 1.3em 1em; background: #fbfaf7; }
  .aw__seite b { grid-column: 1; font-family: var(--sc-font-display); font-weight: 500; color: var(--navy); font-size: 1.55em; line-height: 1.1; }
  .aw__bild { position: relative; overflow: hidden; grid-column: 2; grid-row: 1 / span 4; border-radius: .7em; }
  .aw__bild::before { content: ""; position: absolute; inset: 0; background: url("assets/01-empfang-720.webp") center/cover; animation: awFoto 12s ease-in-out var(--ver) infinite alternate; }   /* Zoom bleibt im Rahmen */
  .aw__z { grid-column: 1; height: .5em; border-radius: 3px; background: #e7e3db; }
  .aw__z.kurz { width: 70%; }
  .aw__knopf { grid-column: 1; align-self: end; width: 55%; height: 2em; border-radius: .6em; background: var(--gold); }
  @media (prefers-reduced-motion: reduce) { [data-sc-in] { filter: none; } }

  /* ============================================================ DER FILM ==
     Eine einzige Bühne für die ganze Geschichte. Jede Szene ist eine Ebene; die Scrollposition
     ist die Zeitleiste. Übergänge sind Kamerafahrten und Verwandlungen, keine Schnitte. */
  .marke { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
  .buehne { background: transparent; }
  .szene { position: absolute; inset: var(--bar-h) 0 0 0; transform-origin: 0 0; }
  .szene[data-aus] { visibility: hidden; }
  .szene:not([data-szene="hero"]) { opacity: 0; }   /* bis das Skript die Zeitleiste liest */
  .ic { flex: none; display: grid; place-items: center; }

  /* ---- Szene 1 · 7:45 im Empfang ---- */
  .plate { position: absolute; inset: calc(-1 * var(--bar-h)) 0 0 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 calc(var(--bar-h) + 9rem)); mask-image: linear-gradient(180deg, transparent 0, #000 calc(var(--bar-h) + 9rem)); }
  .plate img { position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; object-fit: cover; object-position: 50% 58%; transform-origin: 62% 56%; }
  .licht { position: absolute; inset: calc(-1 * var(--bar-h)) 0 0 0; pointer-events: none; mix-blend-mode: soft-light;
    background: linear-gradient(115deg, rgba(255,210,140,0) 18%, rgba(255,210,140,.55) 30%, rgba(255,210,140,0) 40%), linear-gradient(115deg, rgba(255,220,160,0) 42%, rgba(255,220,160,.4) 50%, rgba(255,220,160,0) 57%); }
  .ebene { position: absolute; }
  .hero-text { left: max(calc(var(--sc-gutter) + 2vw), calc(50% - 40rem)); top: 50%; width: min(36rem, 50vw); transform: translate3d(var(--x, 0px), calc(-50% + var(--y, 0px)), 0); display: grid; gap: 1.1rem; }
  /* Aufhellung nur dort, wo der Text steht, weich ausgelaufen (keine Fläche, kein Rahmen) */
  .hero-text::before { content: ""; position: absolute; inset: -22% -26% -24% -22%; z-index: -1; background: radial-gradient(closest-side, rgba(250, 247, 240, .9), rgba(250, 247, 240, .72) 45%, rgba(250, 247, 240, 0) 100%); }
  .status { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--navy); margin: 0; }
  .status__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--teal); flex: none; box-shadow: 0 0 0 4px rgba(15,168,155,.2); }
  .status b { font-weight: 600; }
  .zeit { margin: 0; font-size: .92rem; color: var(--teal-ink); font-weight: 600; }
  .gruss { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(2.2rem, 1.3rem + 3vw, 3.8rem); line-height: 1.04; letter-spacing: -.015em; color: var(--navy); margin: 0; max-width: 15ch; text-wrap: balance; }
  .lead { font-size: var(--sc-t-lg); line-height: 1.5; margin: 0; max-width: 34ch; color: #2b3444; }
  .faecher-klein { display: flex; gap: 1.6rem; flex-wrap: wrap; }
  .fk { display: flex; align-items: center; gap: .55rem; }
  .fk b { display: block; color: var(--navy); font-size: .95rem; }
  .fk span { font-size: .8rem; color: #0a4f49; }
  .handy { width: var(--hw, 250px); aspect-ratio: 250 / 512; border-radius: calc(var(--hw, 250px) * .15); background: #102a4a; padding: calc(var(--hw, 250px) * .035); box-shadow: var(--schatten-gross), inset 0 0 0 1.5px #2a4466; position: relative; }
  .handy__screen { position: relative; height: 100%; border-radius: calc(var(--hw, 250px) * .12); overflow: hidden; background: #fbfaf7; font-size: calc(var(--hw, 250px) * .05); display: flex; flex-direction: column; }
  .handy__notch { position: absolute; left: 50%; top: calc(var(--hw, 250px) * .03); width: 32%; height: calc(var(--hw, 250px) * .07); margin-left: -16%; background: #102a4a; border-radius: 99px; z-index: 5; }
  .handy__sb { display: flex; justify-content: space-between; padding: 1em 1.6em .4em; font-size: .78em; font-weight: 600; color: var(--navy); }
  /* Die Praxis-Website im Handy: derselbe Inhalt wie die große Website in der nächsten Szene. Zeilenhöhen,
     Laufweiten und Textbreiten entsprechen ihr genau, damit jedes Teil beim Übergang deckungsgleich landet. */
  .ms { position: relative; flex: 1; min-height: 0; background: #fbfaf7; }
  .ms__nav { display: flex; align-items: center; justify-content: space-between; padding: .6em 1em .65em; background: #fff; border-bottom: 1px solid #ebe8e1; }
  .ms__name { display: block; font-weight: 600; color: var(--navy); font-size: .88em; line-height: 1.2; }
  .ms__name small, .teil--text small { display: block; font-weight: 400; color: #6b7280; font-size: .735em; }
  .ms__menu { width: 1.1em; height: .8em; background: linear-gradient(#0c2340 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(#0c2340 0 0) 0 50% / 100% 2px no-repeat, linear-gradient(#0c2340 0 0) 0 100% / 100% 2px no-repeat; opacity: .7; }
  .ms__img { height: 9.4em; background: url("assets/01-empfang-1200.webp") center/cover; }
  .ms__copy { padding: .95em 1em .4em; display: grid; gap: .6em; justify-items: start; }
  .ms__h { margin: 0; font-family: var(--sc-font-display); font-weight: 500; color: var(--navy); font-size: 1.5em; line-height: 1.08; letter-spacing: -.01em; white-space: nowrap; }
  .ms__p { margin: 0; color: #5b6472; font-size: .8em; line-height: 1.55; max-width: 34ch; }
  .ms__zeiten, .teil--zeiten { display: grid; grid-template-columns: auto 1fr; gap: .3em 1.33em; line-height: 1.4; color: #334155; }
  .ms__zeiten { font-size: .7em; }
  .ms__zeiten span:nth-child(odd), .teil--zeiten span:nth-child(odd) { color: #6b7280; }
  .ms__leiste { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; padding: .55em 1em 0; }
  .ms__leiste div { background: #fff; border: 1px solid #ebe8e1; border-radius: .6em; padding: .5em .55em; }
  .ms__leiste b { display: block; color: var(--navy); font-size: .7em; font-weight: 600; line-height: 1.45; }
  .launcher { position: absolute; right: 1em; bottom: 1.2em; width: 3.6em; height: 3.6em; border-radius: 50%; background: #006a71; box-shadow: 0 6px 16px -4px rgba(10,124,115,.55); display: grid; place-items: center; }
  .launcher::before, .launcher::after { content: ""; position: absolute; inset: -.35em; border-radius: 50%; border: 1.5px solid rgba(15,168,155,.45); animation: ring 2.8s var(--ease-brand) infinite; }
  .launcher::after { animation-delay: 1.4s; }
  @keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
  .launcher__medi { width: 3.1em; height: 3.1em; border-radius: 50%; background: #f8f8f6; overflow: hidden; display: grid; place-items: center; }
  .launcher__medi svg { max-width: none; }
  .launcher__dot { position: absolute; right: -.05em; top: -.05em; width: .8em; height: .8em; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
  .handy--hero { position: absolute; right: max(calc(var(--sc-gutter) + 3vw), calc(50% - 40rem)); top: 50%; --hw: clamp(236px, 19vw, 290px); transform: translate3d(var(--x, 0px), calc(-50% + var(--y, 0px)), 0); }
  .schwebe { right: calc(max(calc(var(--sc-gutter) + 3vw), calc(50% - 40rem)) + clamp(236px, 19vw, 290px) - 3rem); bottom: 12%; width: 18rem; transform: translate3d(var(--x, 0px), var(--y, 0px), 0); }
  .schwebe .req { animation: schweb 6s ease-in-out infinite; }
  @keyframes schweb { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
  .tippt { display: inline-flex; gap: 3px; margin-left: .3rem; vertical-align: middle; }
  .tippt i { width: 4px; height: 4px; border-radius: 50%; background: var(--teal-ink); animation: tipp 1.2s infinite; }
  .tippt i:nth-child(2) { animation-delay: .15s; } .tippt i:nth-child(3) { animation-delay: .3s; }
  @keyframes tipp { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
  .blatt { left: -6vw; bottom: -26vh; width: min(24vw, 340px); height: auto; z-index: 4; pointer-events: none; filter: blur(1.4px) drop-shadow(0 18px 24px rgba(20,40,30,.18)); transform: translate3d(var(--x, 0px), var(--y, 0px), 0) rotate(-6deg); transform-origin: 20% 90%; }

  .szene.im-flug .handy--hero .ms, .szene.im-flug .handy--hero .launcher { visibility: hidden; }
  .morph { position: absolute; inset: 0; pointer-events: none; }
  .morph[hidden] { display: none; }
  .teil { position: absolute; left: 0; top: 0; transform-origin: 0 0; box-sizing: border-box; }
  .teil--flaeche { background: #fff; }
  .teil--blatt { background: #fbfaf7; }
  .teil--nav { background: #fff; border-bottom: 1px solid #ebe8e1; }
  .teil--kachel { background: #fff; border: 1px solid #ebe8e1; }
  .teil--bild { background: url("assets/01-empfang-1200.webp") center/cover; }
  .teil--text { white-space: normal; }
  .teil--knopf { border-radius: 50%; background: #006a71; display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(0,106,113,.55); }
  .teil--knopf span { width: 86%; height: 86%; border-radius: 50%; background: #f8f8f6; overflow: hidden; display: grid; place-items: center; }
  .teil--knopf svg { max-width: none; width: 100%; height: auto; }

  /* Angebote stechen immer heraus: eigene Fläche, Häkchen, ein ruhiger Glanz alle paar Sekunden */
  .angebot { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .55em; justify-self: start; border-radius: 99px; padding: .5em 1.05em .5em .5em; background: var(--teal-ink); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(9,112,103,.75), 0 0 0 4px rgba(15,168,155,.16); }
  .angebot__ic { flex: none; width: 1.55em; height: 1.55em; border-radius: 50%; background: #fff; display: grid; place-items: center; }
  .angebot__ic svg { width: 62%; height: 62%; }
  .angebot small { font-weight: 400; font-size: .86em; opacity: .92; }
  .angebot small.vor { font-weight: 600; opacity: .8; margin-right: .15em; }
  .angebot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.42) 50%, transparent 65%); transform: translateX(-120%); animation: glanz 5.5s var(--ease-brand) 1.2s infinite; }
  @keyframes glanz { 0%, 62% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }
  .angebot--bar { font-size: .76rem; padding: .3em .85em .3em .32em; gap: .45em; box-shadow: 0 6px 16px -8px rgba(9,112,103,.7), 0 0 0 3px rgba(15,168,155,.14); }
  .angebot--gross { font-size: 1.12rem; padding: .6em 1.25em .6em .6em; justify-self: center; }

  /* Karte einer Anfrage: der eine Gegenstand, der durch den Film reist */
  .req { background: #fff; border-radius: 12px; padding: .6rem .75rem; display: grid; grid-template-columns: 2.1rem 1fr auto; gap: .1rem .6rem; align-items: center; box-shadow: var(--schatten); width: 100%; box-sizing: border-box; }
  .req__av { grid-row: span 2; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #ebe7df; color: var(--navy); display: grid; place-items: center; font-weight: 600; font-size: .85rem; }
  .req__n { font-weight: 600; color: var(--navy); font-size: .88rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .req__t { font-size: .76rem; color: var(--sc-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; grid-column: 2; min-width: 0; }
  .req__side { grid-row: 1 / span 2; grid-column: 3; display: flex; align-items: center; gap: .5rem; }
  .req__time { font-size: .72rem; color: var(--sc-ink-soft); }
  .badge { font-size: .68rem; font-weight: 600; border-radius: 99px; padding: .08rem .5rem; white-space: nowrap; }
  .badge--rezept { background: #e3f2f0; color: #0a4f49; }
  .badge--termin { background: #e6ecf3; color: var(--navy); }
  .badge--weitere { background: #ece8e0; color: #3d3a35; }
  .req--mine { box-shadow: 0 0 0 2px var(--teal), var(--schatten); }

  /* ---- Szene 2 · Praxis-Website mit dem echten Widget, randlos ---- */
  .web { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; align-items: center; height: 100%; max-width: 88rem; margin-inline: auto; padding-inline: var(--sc-gutter); box-sizing: border-box; }
  .web__note { display: grid; gap: .9rem; }
  .web__note h2 { font-family: var(--sc-font-text); font-weight: 600; font-size: 1.35rem; line-height: 1.3; margin: 0; }
  .schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
  .schritte li { display: flex; gap: .6rem; align-items: center; font-size: .92rem; color: var(--sc-ink-soft); transition: color 120ms var(--ease-brand); }
  .schritte li i { flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 1.5px solid #c9c6bf; display: grid; place-items: center; font-style: normal; font-size: .7rem; color: #fff; transition: background-color 120ms var(--ease-brand), border-color 120ms var(--ease-brand); }
  .schritte li.is-done { color: var(--navy); }
  .schritte li.is-done i { background: var(--teal-ink); border-color: var(--teal-ink); }
  .schritte li.is-now { color: var(--navy); font-weight: 600; }
  .schritte li.is-now i { border-color: var(--teal-ink); box-shadow: 0 0 0 4px var(--teal-light); }
  .web__made { font-size: .8rem; color: var(--gold-ink); font-weight: 600; margin: 0; }
  .web__made::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); margin-right: .45rem; vertical-align: .05em; }
  /* Die Website läuft an allen Rändern weich in den Seitengrund aus */
  .site { position: relative; justify-self: center; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }
  .site iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: #fbfaf7; }

  /* ---- Szene 3 · das Portal, die Fächer ---- */
  .portal { height: 100%; max-width: 76rem; margin-inline: auto; padding: clamp(1rem, 3vh, 2rem) var(--sc-gutter) 4.5rem; box-sizing: border-box; display: grid; grid-template-rows: auto auto auto auto; align-content: center; gap: .9rem; }
  /* Platz für drei Anfragen je Fach (film.js: slotH 60, slotGap 10, 12 px unter dem Kopf); die Karten liegen absolut im Stapel.
     Vorher füllten die Fächer die ganze Höhe (1fr) und die Fußzeile stand am unteren Bildschirmrand. */
  .fach > [data-slot] { min-height: 212px; }
  .portal__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
  .portal__kopf h2 { font-family: var(--sc-font-text); font-weight: 600; font-size: 1.45rem; margin: 0; }
  .portal__status { font-size: .9rem; color: var(--sc-ink-soft); }
  .eingang { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--sc-ink-soft); }
  .eingang::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(15,168,155,.18); }
  .eingang::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(9,112,103,.35), rgba(9,112,103,0)); }
  .faecher { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 2.4vw, 2.4rem); min-height: 0; }
  .fach { display: grid; grid-template-rows: auto 1fr; gap: .8rem; min-width: 0; }
  .fach__kopf { display: flex; align-items: center; gap: .6rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(12,35,64,.1); }
  .fach__kopf b { color: var(--navy); font-size: 1rem; flex: 1; }
  .fach__n { font-size: .82rem; font-variant-numeric: tabular-nums; color: #0a4f49; background: rgba(208,240,237,.7); border-radius: 99px; padding: .05rem .55rem; transition: background-color 120ms var(--ease-brand); }
  .fach__n.is-bump { background: var(--teal-light); box-shadow: 0 0 0 4px rgba(15,168,155,.18); }
  .stapel { position: absolute; inset: 0; pointer-events: none; }
  .stapel .req { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
  /* Die Aussage der Szene (Wlad 2026-10-13: war zu klein, zu weit unten, leicht zu übersehen) */
  .portal__fuss { display: grid; justify-items: start; gap: .75rem; margin-top: clamp(.3rem, 1.6vh, 1.2rem); max-width: 54rem; padding: clamp(1rem, 2.2vh, 1.35rem) clamp(1.15rem, 2vw, 1.6rem); border-radius: 16px; background: #fff; box-shadow: inset 4px 0 0 var(--teal-ink), var(--schatten); }
  .portal__fuss p { margin: 0; font-size: clamp(1.05rem, .88rem + .5vw, 1.32rem); line-height: 1.45; color: var(--navy); }
  .portal__fuss strong { color: var(--navy); font-weight: 700; }
  .portal__fuss .portal__anruf { display: inline-flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 600; color: var(--teal-ink); }   /* schlichter Text, keine Pille (Regel 2026-10-02) */
  .portal__anruf svg { width: 1.05rem; height: 1.05rem; flex: none; }

  /* ---- Szene 4 · Bearbeitung ---- */
  .fall { height: 100%; display: grid; align-content: center; justify-items: start; gap: 1rem; max-width: 76rem; margin-inline: auto; padding: 1rem var(--sc-gutter) 4.5rem; box-sizing: border-box; }
  .fall__karte { box-sizing: border-box; width: min(42rem, 100%); display: grid; gap: 1rem; transform-origin: 0 0; padding: clamp(1.1rem, 2.2vw, 1.75rem); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(9,112,103,.2), var(--schatten-gross); }
  .fall__karte .bubble { background: #f6f3ec; box-shadow: none; }
  .fall__karte .knopf { box-shadow: inset 0 0 0 1px rgba(12,35,64,.16); }
  .fall__karte .knopf.is-on { box-shadow: none; }
  /* Kennzeichen der beiden Ansichten (Wlad 2026-10-13): Praxis = Portal-Teal mit Programm-Icon, Patientin = Navy */
  .ansicht { display: inline-flex; align-items: center; gap: .7rem; max-width: 100%; box-sizing: border-box; margin: 0; padding: .45rem 1rem .45rem .45rem; border-radius: 14px; background: #fff; }
  .ansicht--praxis { box-shadow: inset 0 0 0 1.5px rgba(9,112,103,.4), var(--schatten); }
  .ansicht--patient { box-shadow: inset 0 0 0 1.5px rgba(12,35,64,.3), var(--schatten); }
  .ansicht__ic { flex: none; width: 2.3rem; height: 2.3rem; border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
  .ansicht__ic svg { width: 100%; height: 100%; display: block; }
  .ansicht--patient .ansicht__ic { background: var(--navy); color: #fff; }
  .ansicht--patient .ansicht__ic svg { width: 1.3rem; height: 1.3rem; }
  .ansicht__t { display: grid; gap: .1rem; line-height: 1.25; min-width: 0; }
  .ansicht__t b { font-size: 1.02rem; color: var(--navy); }
  .ansicht__t small { font-size: .8rem; color: var(--sc-ink-soft); }
  .fall__kopf { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; }
  .fall__wer { display: flex; gap: .8rem; align-items: center; }
  .fall__wer .req__av { width: 3rem; height: 3rem; font-size: 1.05rem; background: #fff; box-shadow: var(--schatten); }
  .fall__name { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); color: var(--navy); line-height: 1.05; }
  .fall__sub { font-size: .85rem; color: var(--sc-ink-soft); }
  .state { font-size: .8rem; font-weight: 600; border-radius: 99px; padding: .3rem .8rem; transition: background-color 120ms var(--ease-brand), color 120ms var(--ease-brand); }
  .state--neu { background: #ebe7df; color: var(--navy); }
  .state--bearb { background: #e1e8f1; color: var(--navy); }
  .state--done { background: var(--teal-ink); color: #fff; }
  .fakten { display: flex; flex-wrap: wrap; gap: .4rem 2rem; font-size: .88rem; color: var(--navy); }
  .fakten span { color: var(--sc-ink-soft); margin-right: .4rem; }
  .bubble { background: rgba(255,255,255,.75); border-radius: 16px 16px 16px 4px; padding: .8rem 1rem; font-size: .95rem; max-width: 42ch; margin: 0; box-shadow: var(--schatten); }
  .antwort { display: grid; gap: .35rem; }
  .antwort__text { font-size: .98rem; color: var(--sc-ink); line-height: 1.55; white-space: pre-wrap; min-height: 4.6em; padding-left: 1rem; border-left: 2px solid var(--teal); margin: 0; }
  .antwort__text:empty::before { content: "Antwort verfassen …"; color: var(--sc-ink-soft); }
  .knoepfe { display: flex; gap: .5rem; flex-wrap: wrap; }
  .knopf { font: inherit; font-size: .84rem; font-weight: 600; border-radius: 99px; padding: .45rem .9rem; background: rgba(255,255,255,.7); color: var(--navy); transition: background-color 120ms var(--ease-brand), color 120ms var(--ease-brand); }
  .knopf.is-on { background: var(--teal-ink); color: #fff; }

  /* ---- Szene 5 · bei der Patientin ---- */
  .patient { height: 100%; display: grid; align-content: center; justify-items: end; max-width: 76rem; margin-inline: auto; padding: 1rem calc(var(--sc-gutter) + 4vw) 4.5rem; box-sizing: border-box; gap: .7rem; }
  .patient__spalte { display: grid; justify-items: center; gap: 1rem; }
  .handy--work { --hw: clamp(220px, 19vw, 270px); }
  .mail-home { position: absolute; inset: 0; padding-top: 3.2em; display: grid; align-content: start; gap: .6em; background: linear-gradient(180deg, #e9f1ef, #f6f4ee); }
  .mail-home__zeit { text-align: center; font-size: 3.1em; font-weight: 500; color: var(--navy); letter-spacing: -.02em; line-height: 1; margin-top: .5em; }
  .mail-home__tag { text-align: center; font-size: .9em; color: var(--sc-ink-soft); }
  .push { margin: 1.2em .8em 0; background: rgba(255,255,255,.95); border-radius: 1.1em; padding: .8em .9em; box-shadow: 0 8px 18px -8px rgba(12,35,64,.35); display: grid; gap: .25em; opacity: 0; filter: blur(8px); transition: opacity 120ms var(--ease-brand), filter 120ms var(--ease-brand); }
  .push.is-on { opacity: 1; filter: none; }
  .push__kopf { display: flex; justify-content: space-between; font-size: .72em; color: var(--sc-ink-soft); }
  .push b { font-size: .88em; color: var(--navy); }
  .push span { font-size: .8em; color: #334155; }
  .mail-offen { position: absolute; inset: 0; padding: 3.2em 1.1em 1em; background: #fff; display: grid; align-content: start; gap: .7em; opacity: 0; filter: blur(8px); transition: opacity 120ms var(--ease-brand), filter 120ms var(--ease-brand); }
  .mail-offen.is-on { opacity: 1; filter: none; }
  .mail-offen__von { display: flex; gap: .6em; align-items: center; font-size: .82em; color: var(--sc-ink-soft); }
  .mail-offen__von i { width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--teal-light); display: grid; place-items: center; font-style: normal; font-weight: 600; color: #0a4f49; }
  .mail-offen__von b { color: var(--navy); display: block; font-size: 1.05em; }
  /* .ui-h: Titel innerhalb der nachgebauten Programmfenster — bewusst KEINE Überschrift der Seite (bis 2026-10-08 h4, Sprung h2→h4) */
  .mail-offen .ui-h { margin: 0; font-size: 1.05em; font-weight: 700; color: var(--navy); }
  .mail-offen p { margin: 0; font-size: .86em; line-height: 1.45; color: #334155; white-space: pre-wrap; }
  .mail-offen__ok { display: inline-flex; gap: .4em; align-items: center; font-size: .78em; font-weight: 600; color: #0a4f49; background: var(--teal-light); border-radius: 99px; padding: .25em .7em; justify-self: start; }

  /* ---- Szene 7 · Sie ---- */
  .schluss { display: grid; align-content: center; justify-items: center; text-align: center; gap: 1.1rem; padding: 1rem var(--sc-gutter) 3rem; box-sizing: border-box; }
  .schluss__icons { display: flex; gap: 1rem; }
  .schluss__gruss { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); line-height: 1.05; margin: 0; color: var(--navy); text-wrap: balance; max-width: 18ch; }
  .feld { display: grid; gap: .3rem; width: min(26rem, 100%); text-align: left; }
  .feld label { font-weight: 600; color: var(--navy); font-size: .92rem; }
  .feld input { font: inherit; font-size: 1.2rem; padding: .55rem .1rem; border: 0; border-bottom: 2px solid rgba(12,35,64,.25); background: transparent; color: var(--sc-ink); border-radius: 0; }
  .feld input:focus { border-bottom-color: var(--teal-ink); outline: none; }
  .schluss__note { font-size: .82rem; color: var(--sc-ink-soft); margin: 0; }
  .cta--big { background: var(--navy); color: #fff; min-height: 52px; padding: 0 1.5rem; font-size: 1rem; border-radius: 10px; }
  @media (hover: hover) and (pointer: fine) { .cta--big:hover { background: #112b4d; } }
  .schluss .angebot small { color: inherit; font-size: .86em; }
  @media (max-width: 420px) { .angebot--gross small:not(.vor) { display: none; } }


  /* ---- Start: Firma, darin die drei Programme als schwebende Oberflächen ---- */
  .hero-text .gruss { font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.6rem); max-width: none; }
  /* Pilotpraxen: schlichter Text statt Pille (Wlad 2026-10-02: keine Pillen, kein 30-Tage-Angebot) */
  .pilot { margin: 0; flex-basis: 100%; font-size: .98rem; line-height: 1.5; color: var(--sc-ink-soft); }
  .pilot b { color: var(--navy); font-weight: 600; }
  .pilot--schluss { max-width: 32rem; text-align: center; justify-self: center; }
  .prog__pilot { margin: .2rem 0 0; font-size: .92rem; line-height: 1.5; color: var(--sc-ink-soft); }
  .prog__pilot b { color: var(--navy); font-weight: 600; }
  /* Beta (2026-11-01): der Pilot-Hinweis führt auf /pilotpraxen. Kein Linkblau — die Unterstreichung trägt den Link. */
  .pilot a, .prog__pilot a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
  .prog__pvs { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--sc-ink-soft); }
  .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: .2rem; }
  .hero-text { z-index: 5; }
  .hero-weiter { display: inline-flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 600; color: var(--navy); text-decoration: none; margin-top: .4rem; }
  .hero-weiter i { width: 18px; height: 28px; border-radius: 10px; border: 2px solid rgba(12,35,64,.35); position: relative; flex: none; }
  .hero-weiter i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--teal-ink); animation: rad 1.8s var(--ease-brand) infinite; }
  @keyframes rad { 0% { opacity: 0; translate: 0 -2px; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 9px; } }
  .fenster { width: clamp(250px, 23vw, 370px); transform: translate3d(var(--x, 0px), var(--y, 0px), 0); }
  .fenster .abbild { font-size: clamp(7.5px, .62vw, 10px); }
  .fenster--hb { right: calc(max(calc(var(--sc-gutter) + 3vw), calc(50% - 40rem)) + clamp(236px, 19vw, 290px) * .62); top: 9%; }
  .fenster--portal { right: calc(max(calc(var(--sc-gutter) + 3vw), calc(50% - 40rem)) + clamp(236px, 19vw, 290px) * .78); bottom: 9%; }
  .fenster__name, .handy-name { display: inline-flex; align-items: center; gap: .4rem; margin-top: .55rem; background: rgba(255,255,255,.88); border-radius: 99px; padding: .25rem .7rem; font-size: .76rem; font-weight: 600; color: var(--navy); box-shadow: var(--schatten); }
  .handy-name { right: max(calc(var(--sc-gutter) + 3vw), calc(50% - 40rem)); bottom: calc(50% - clamp(236px, 19vw, 290px) * 1.024 - 2.6rem); margin: 0; transform: translate3d(var(--x, 0px), var(--y, 0px), 0); }
  .p-web, .p-portal, .p-hb { width: .55rem; height: .55rem; border-radius: 50%; flex: none; display: inline-block; }
  .p-web { background: var(--gold); } .p-portal { background: var(--teal); } .p-hb { background: #00a3a6; box-shadow: 0 0 0 2px #11383f inset; }
  @media (max-width: 1100px) { .fenster, .handy-name { display: none; } }
  @media (max-width: 860px) {
    .hero-cta .cta { display: none; }
    .hero-weiter { display: none; }
  }

  /* ---- Szene 6 · Quartalsende: Honorarblick (Petrol/Türkis, wie die App selbst) ---- */
  .hb { display: grid; grid-template-columns: 17rem 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; height: 100%; max-width: 84rem; margin-inline: auto; padding: 1rem var(--sc-gutter) 4.5rem; box-sizing: border-box; }
  .hb__note { display: grid; gap: .9rem; }
  .hb__note .label { color: #11383f; }
  .hb__umfang { margin: -.4rem 0 0; font-size: .85rem; color: var(--sc-ink-soft); }
  .hb__note h2 { font-family: var(--sc-font-text); font-weight: 600; font-size: 1.35rem; line-height: 1.3; margin: 0; }
  .hb__note .schritte li.is-done i { background: #006a71; border-color: #006a71; }
  .hb__note .schritte li.is-now i { border-color: #006a71; box-shadow: 0 0 0 4px #d7eeee; }
  /* Das Fenster ist ein maßstäblicher Nachbau der echten App (Daniels Repo medistent-honorarblick, Stand 2026-10-01):
     Farben, Schrift (Geist), Kopfleiste, Unterreiter, CON-Import, Prüfliste und Praxisnotiz wie im Programm.
     1em im Inneren = 16 px der App bei einer logischen Fensterbreite von --hb-lw (1040 px, Handy 760 px). */
  .hbf { --hb-lw: 1040; justify-self: center; width: min(100%, 50rem); aspect-ratio: 16 / 10.2; border-radius: 14px; overflow: hidden; background: #f0f6f4; box-shadow: var(--schatten-gross); container-type: inline-size; color: #133c43; }
  .hba { position: relative; height: 100%; font-family: "Geist", system-ui, sans-serif; font-size: calc(100cqw * 16 / var(--hb-lw)); line-height: 1.45; }
  .hba__app { display: flex; flex-direction: column; height: 100%; }
  .hba__nav { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.25em; min-height: 6em; padding: 0 1.25em; background: #11383f; color: #f7faf9; }
  .hba__marke { display: flex; align-items: center; gap: .5em; }
  .hba__marke svg { width: 3em; height: 3em; display: block; flex: none; }
  .hba__marke b { display: block; font-size: 1.25em; font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
  .hba__marke small { display: block; margin-top: .25em; color: #c6e3e5; font-size: .8125em; }
  .hba__haupt { display: flex; gap: .25em; padding: .3125em; border: 1px solid #52787c; border-radius: .75em; }
  .hba__haupt span { display: flex; align-items: center; min-height: 2.75em; padding: 0 .75em; border-radius: .4375em; color: #c6e3e5; font-size: .875em; font-weight: 560; white-space: nowrap; transition: background-color 120ms, color 120ms; }
  .hba__haupt span.an { color: #11383f; background: #d9eeea; }
  .hba__konto { justify-self: end; display: flex; align-items: center; gap: .35em; min-height: 3em; padding: 0 .625em; border: 1px solid #52787c; border-radius: .625em; }
  .hba__konto svg { width: 1.25em; height: 1.25em; display: block; }
  .hba__werk { flex: none; position: relative; display: flex; align-items: center; justify-content: space-between; height: 3.625em; padding: 0 1.25em; border-bottom: 1px solid #c5d9d6; background: #f7faf9; }
  .hba__unter { display: flex; gap: .25em; transition: opacity 120ms; }
  .hba__unter + .hba__unter { position: absolute; left: 1.25em; top: 50%; translate: 0 -50%; }
  .hba__unter:not(.is-an) { opacity: 0; }
  .hba__unter span { padding: .65em .75em; border-radius: .375em; color: #526d71; font-size: .8125em; font-weight: 550; white-space: nowrap; }
  .hba__unter span.an { color: #006a71; background: #d9eeea; }
  .hba__suche { display: flex; align-items: center; gap: .5em; width: 17em; height: 2.375em; padding: 0 .75em; border: 1px solid #769b9e; border-radius: .5em; color: #526d71; font-size: .8125em; transition: opacity 120ms; }
  .hba__suche svg { width: 1.1em; height: 1.1em; flex: none; }
  .hba__flaeche { position: relative; flex: 1; min-height: 0; background: #f0f6f4; }
  .hba__seite { position: absolute; inset: 0; overflow: hidden; }
  .hba__rolle { padding: 1.75em 1.25em 1.5em; }
  .hba .ui-h { margin: 0; font-size: 1.875em; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: #133c43; }
  .hba__unterzeile { margin: .5em 0 0; max-width: 45em; font-size: .9375em; color: #45636a; }
  .hba__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5em; padding-bottom: 1.25em; border-bottom: 1px solid #c5d9d6; }
  .hba__import .hba__unterzeile { max-width: none; padding: 0 calc(100% - 45em) 1.25em 0; border-bottom: 1px solid #c5d9d6; }
  .hba__knopf { display: inline-flex; align-items: center; gap: .4em; height: 2.75em; padding: 0 1em; border: 1px solid #c5d9d6; border-radius: .625em; background: #fff; color: #006a71; font-size: .9375em; font-weight: 600; white-space: nowrap; }
  .hba__zwei { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 1.5em; margin-top: 1.5em; align-items: start; }
  .hba__karte { background: #f7faf9; border: 1px solid #c5d9d6; border-radius: .875em; }
  .hba__einlesen { padding: 1.5em 1.5em 0; overflow: hidden; }
  .hba__kk { display: grid; grid-template-columns: auto 1fr; gap: 1em; align-items: start; }
  .hba__ic { display: grid; place-items: center; width: 2.75em; height: 2.75em; border-radius: .625em; background: #d9eeea; color: #006a71; }
  .hba__ic svg { width: 1.3em; height: 1.3em; }
  .hba__kk b { font-size: 1.0625em; font-weight: 650; }
  .hba__kk p { margin: .3em 0 0; font-size: .875em; color: #45636a; }
  .hba__ablage { display: grid; justify-items: center; gap: .35em; margin-top: 1.25em; padding: 1.4em 1em 1.5em; border: 2px dashed #b5ccca; border-radius: .875em; background: #edf4f1; text-align: center; transition: border-color 120ms, background-color 120ms; }
  .hba__ablage.is-bereit { border-color: #006a71; background: #d9eeea; }
  .hba__ablage > svg { width: 2em; height: 2em; color: #006a71; }
  .hba__ablage b { font-size: .9375em; font-weight: 650; }
  .hba__ablage small { font-size: .8125em; color: #526d71; }
  .hba__ablage .hba__knopf { margin-top: .5em; height: 2.6em; }
  .hba__lokal { display: flex; justify-content: center; align-items: center; gap: .5em; margin: 1em 0; font-size: .8125em; color: #45636a; }
  .hba__lokal svg { width: 1.1em; height: 1.1em; }
  .hba__datei { display: grid; grid-template-columns: auto 1fr auto; gap: 1em; align-items: center; margin: 0 -1.5em; padding: 1em 1.5em; border-top: 1px solid #c5d9d6; opacity: 0; }
  .hba__datei b { display: block; font-size: .9375em; font-weight: 650; }
  .hba__datei small { display: block; font-size: .8125em; color: #45636a; }
  .hba__datei em { display: block; font-style: normal; font-size: .8125em; color: #006a71; font-weight: 500; }
  .hba__dreh { width: 1.25em; height: 1.25em; border-radius: 50%; border: 2px solid #b5ccca; border-top-color: #006a71; }
  .hba__datei.is-fertig .hba__dreh { visibility: hidden; }
  .hba__umfang { padding: 1.5em; }
  .hba__umfang > b { font-size: 1.125em; font-weight: 650; }
  .hba__umfang p { margin: .4em 0 0; padding-bottom: 1em; border-bottom: 1px solid #c5d9d6; font-size: .8125em; color: #45636a; }
  .hba__umfang ul { list-style: none; margin: 1em 0 0; padding: 0; display: grid; gap: .7em; font-size: .875em; }
  .hba__umfang li { display: grid; grid-template-columns: auto 1fr; gap: .6em; align-items: start; }
  .hba__umfang li::before { content: ""; width: 1em; height: 1em; margin-top: .15em; border-radius: 50%; border: 1.5px solid #307366; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.2 2.1 4.6-4.7' fill='none' stroke='%23307366' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
  .hba__liste { opacity: 0; }
  .hba__kpi { display: grid; gap: .75em; margin-top: 1.25em; }
  .hba__kpi > div { display: grid; grid-template-columns: 2fr 1fr; gap: .75em; }
  .hba__kpi > div + div { grid-template-columns: 1fr 2fr; }
  .hba__kpi article { position: relative; padding: 1.25em; background: #f7faf9; border: 1px solid #c5d9d6; border-radius: .875em; }
  .hba__kpi span { display: block; font-size: .8125em; font-weight: 600; }
  .hba__kpi b { display: block; margin-top: .3em; font-size: 1.75em; font-weight: 650; line-height: 1.1; }
  .hba__kpi small { display: block; margin-top: .6em; font-size: .8125em; color: #45636a; }
  .hba__kpi i { position: absolute; right: 1.25em; top: 1.25em; display: grid; place-items: center; width: 2.25em; height: 2.25em; border-radius: .625em; font-style: normal; }
  .hba__kpi i::before { content: ""; width: 1.05em; height: 1.05em; border-radius: 50%; border: 1.5px solid currentColor; }
  .kpi--w { background: #faf6ed; color: #94601d; } .kpi--f { background: #fbf1ef; color: #b42318; } .kpi--p { background: #edf4f1; color: #307366; } .kpi--h { background: #edf4f1; color: #36757a; }
  .hba__tabelle { margin-top: 1.5em; border: 1px solid #c5d9d6; border-radius: .875em; overflow: hidden; background: #fbfdfc; }
  .hba__th, .hba__z { display: grid; grid-template-columns: 2.4em minmax(0, 1.2fr) 7.6em minmax(0, 1.6fr) minmax(0, 2fr) 2em; gap: 0 1em; padding: 0 1em; align-items: start; }
  .hba__th { padding-block: .85em; background: #e5efec; border-bottom: 1px solid #c5d9d6; font-size: .8125em; font-weight: 650; }
  .hba__th span:first-child, .hba__th span:last-child { visibility: hidden; }
  .hba__zw { display: grid; grid-template-rows: 1fr; }
  .hba__zw > div { overflow: hidden; min-height: 0; }
  .hba__z { padding-block: 1em; border-bottom: 1px solid #e0ebe7; font-size: .875em; }
  .hba__zw:last-child .hba__z { border-bottom: 0; }
  .hba__z b { display: block; font-weight: 650; color: #133c43; }
  .hba__z small { display: block; margin-top: .3em; font-size: .9em; color: #45636a; }
  .hba__z > span:nth-child(3) { color: #45636a; }
  .hba__z > span:nth-child(5) { color: #22464e; }
  .hba__box { width: 1.15em; height: 1.15em; margin-top: .15em; border: 1.5px solid #769b9e; border-radius: .25em; background: #fff; transition: background-color 120ms, border-color 120ms; }
  .hba__box.is-an { border-color: #006a71; background: #006a71 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.8 8.4l2.6 2.5 5.8-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
  .hba__stift { width: 1.25em; height: 1.25em; margin-top: .1em; color: #006a71; border-radius: .3em; transition: box-shadow 120ms, background-color 120ms; }
  .hba__stift.is-an { background: #d9eeea; box-shadow: 0 0 0 .3em #d9eeea; }
  .art { display: inline-block; margin-top: .45em; padding: .1em .5em; border-radius: .375em; font-style: normal; font-size: .9em; font-weight: 500; }
  .art--f { background: #fbf1ef; color: #8f261e; } .art--p { background: #faf6ed; color: #684015; } .art--o { background: #edf4f1; color: #24594f; } .art--h { background: #edf4f1; color: #31585e; }
  .hba__schleier { position: absolute; inset: 0; background: rgba(17, 56, 63, .26); opacity: 0; pointer-events: none; }
  .hba__notiz { position: absolute; top: 0; right: 0; bottom: 0; width: 24em; padding: 1em; background: #fff; box-shadow: -10px 0 30px -12px rgba(17, 56, 63, .35); visibility: hidden; transform: translate3d(105%, 0, 0); display: grid; align-content: start; gap: .75em; }
  .hba__nk { position: relative; padding-right: 2em; margin-bottom: .75em; }
  .hba__nk b { display: block; font-size: 1em; font-weight: 600; }
  .hba__nk small { display: block; margin-top: .2em; font-size: .875em; color: #526d71; }
  .hba__nk i { position: absolute; right: .2em; top: .2em; width: .9em; height: .9em; background: linear-gradient(45deg, transparent 45%, #526d71 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, #526d71 45% 55%, transparent 55%); }
  .hba__notiz label { font-size: .875em; font-weight: 600; }
  .hba__feld { min-height: 10em; padding: .5em .75em; border: 1px solid #769b9e; border-radius: .5em; background: #f0f6f4; box-shadow: 0 0 0 2px #006a71; font-size: .875em; line-height: 1.45; }
  .hba__feld i { display: inline-block; width: 1px; height: 1.1em; margin-left: 1px; vertical-align: text-bottom; background: #133c43; }
  .hba__notiz > small { font-size: .75em; line-height: 1.65; color: #526d71; }
  .datei { position: absolute; left: 0; top: 0; z-index: 22; pointer-events: none; opacity: 0; transform-origin: 0 0; display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 12px; padding: .6rem .9rem .6rem .7rem; box-shadow: var(--schatten-gross); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 13px; color: #133c43; white-space: nowrap; }
  .datei b { display: block; font-weight: 600; }
  .datei small { color: #526d71; }
  .zeitsprung { position: absolute; left: 0; right: 0; top: 42%; z-index: 24; margin: 0; text-align: center; pointer-events: none; opacity: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); color: var(--navy); line-height: 1.1; }
  .zeitsprung small { display: block; font-family: var(--sc-font-text); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--sc-ink-soft); margin-bottom: .6rem; }

  /* ---- Szene 7 · Aus einer Hand ---- */
  /* Finale: Halo Reel */
  .halo__buehne { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; cursor: grab; outline: none; -webkit-user-select: none; user-select: none; }
  .halo__buehne:active { cursor: grabbing; }
  .halo__buehne:focus-visible { box-shadow: inset 0 0 0 3px rgba(9, 112, 103, .45); }
  .halo__karte { position: absolute; left: 0; top: 0; margin: 0; width: var(--hk-w, 340px); padding: .45rem .45rem .2rem; border-radius: 16px; background: #fff; box-shadow: 0 22px 44px -22px rgba(12, 35, 64, .42), 0 2px 6px rgba(12, 35, 64, .06); transform-origin: 50% 50%; backface-visibility: hidden; }
  .halo__karte .abbild { box-shadow: none; border-radius: 11px; font-size: var(--hk-f, 10.5px); }
  .halo__karte figcaption { display: flex; align-items: center; gap: .45rem; padding: .55rem .35rem .45rem; font-size: .95rem; font-weight: 600; color: var(--navy); }
  .halo__text { position: absolute; top: 0; bottom: 0; left: 50%; right: var(--sc-gutter); display: grid; align-content: center; justify-items: start; gap: .9rem; padding-bottom: 4rem; pointer-events: none; }
  .halo__text h2 { margin: 0; max-width: 16ch; font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(2rem, 1.2rem + 2.3vw, 3.4rem); line-height: 1.06; }
  .halo__liste { list-style: none; margin: .5rem 0 0 -.9rem; padding: 0; display: grid; gap: .25rem; width: min(100%, 30rem); }
  .halo__liste li { --vorn: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .7rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, calc(.85 * var(--vorn))); box-shadow: 0 1px 2px rgba(12, 35, 64, calc(.06 * var(--vorn))), 0 10px 24px -16px rgba(12, 35, 64, calc(.4 * var(--vorn))); }
  .halo__liste li b { font-weight: 600; color: var(--navy); }
  .halo__liste li span { grid-column: 2; font-size: .92rem; color: var(--sc-ink-soft); }
  .halo__band { margin: .4rem 0 0; font-size: .9rem; color: var(--sc-ink-soft); }


  /* ---- Programme als App-Symbole (nach 21st „Integrations Section“) ---- */
  .apps { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); max-width: 64rem; margin: 0 auto clamp(3.5rem, 8vh, 5.5rem); }
  /* Weicher Auslauf nach außen wie im Original (bg-radial … to-75 %), aber als Maske: eine Farbfläche
     zeichnete auf dem warmen, wandernden Seitengrund einen sichtbaren Kasten. */
  .apps__raster { position: relative; justify-self: center; display: grid; gap: .6rem; padding: 1.2rem 1.6rem;
    -webkit-mask-image: radial-gradient(ellipse farthest-corner at center, #000 55%, rgba(0,0,0,.18) 100%); mask-image: radial-gradient(ellipse farthest-corner at center, #000 55%, rgba(0,0,0,.18) 100%); }
  .apps__schleier { display: none; }
  .apps__reihe { display: flex; justify-content: center; gap: .6rem; }
  .app { display: grid; justify-items: center; align-content: start; gap: .45rem; width: 6.6rem; text-decoration: none; color: var(--navy); }
  .app__kachel { position: relative; display: grid; place-items: center; width: 5.6rem; height: 5.6rem; border-radius: 18px; background: #fff; transition: transform 240ms var(--ease-brand), box-shadow 240ms var(--ease-brand); }
  .app__rand { position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(12,35,64,.16); }
  .app__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 13px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12), 0 8px 16px -8px rgba(12,35,64,.55); }
  .app__icon > svg { width: 62%; height: auto; }
  .app__name { font-size: .78rem; font-weight: 600; text-align: center; line-height: 1.25; display: grid; justify-items: center; gap: .15rem; }
  .app__name em { font-style: normal; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sc-ink-soft); }
  .app--portal .app__icon { background: linear-gradient(160deg, #13a092, var(--teal-ink) 70%); }
  .app--honorar .app__icon { background: none; box-shadow: 0 8px 16px -8px rgba(0,106,113,.6); }
  .app--honorar .app__icon > svg { width: 100%; height: 100%; }
  .app--website .app__icon { background: linear-gradient(160deg, #dcae6a, var(--gold) 70%); }
  .app--inventur .app__icon { background: linear-gradient(160deg, #4b5d78, var(--navy) 75%); }
  .app--telefon .app__icon { background: linear-gradient(160deg, #4b5d78, var(--navy) 75%); }
  .app--bald .app__icon { opacity: .55; filter: saturate(.6); }
  .app--weitere .app__icon { background: transparent; box-shadow: none; border: 1.5px dashed rgba(12,35,64,.35); color: rgba(12,35,64,.55); }
  .app--weitere .app__icon > svg { width: 45%; }
  .app--mitte .app__kachel { background: #fff; box-shadow: 0 22px 40px -18px rgba(12,35,64,.35), 0 4px 10px rgba(12,35,64,.06); }
  .app--mitte .app__rand { border-color: rgba(12,35,64,.28); }
  .app--mitte .app__icon { background: #fff; box-shadow: none; }
  .app--mitte .app__icon > svg { width: 82%; }
  @media (hover: hover) and (pointer: fine) {
    a.app:hover .app__kachel { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(12,35,64,.45); }
  }
  .apps__text { display: grid; gap: 1rem; justify-items: start; max-width: 32rem; }
  .apps__text h2 { margin: 0; }
  .knopf-umriss { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 9px; border: 1.5px solid rgba(12,35,64,.25); color: var(--navy); font-weight: 600; font-size: .92rem; text-decoration: none; background: #fff; transition: border-color 180ms var(--ease-brand), background-color 180ms var(--ease-brand); }
  @media (hover: hover) and (pointer: fine) { .knopf-umriss:hover { border-color: var(--navy); background: #f4f6f9; } }
  @media (max-width: 760px) {
    .apps { grid-template-columns: 1fr; }
    .apps__text { justify-items: center; text-align: center; margin-inline: auto; }
    .app { width: 5.6rem; } .app__kachel { width: 4.8rem; height: 4.8rem; } .app__icon { width: 2.9rem; height: 2.9rem; }
  }

  /* ---- Abschnitte nach dem Film: ohne Rahmen auf dem Grund ---- */
  .sek { position: relative; z-index: 1; max-width: 76rem; margin-inline: auto; padding: clamp(4rem, 10vh, 7rem) var(--sc-gutter); box-sizing: border-box; }
  .sek__kopf { display: grid; gap: .7rem; margin-bottom: clamp(2rem, 5vh, 3.25rem); max-width: 44rem; }
  .sek h2 { margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem); line-height: 1.1; color: var(--navy); text-wrap: balance; }
  .sek h3 { margin: 0; font-family: var(--sc-font-text); font-weight: 600; font-size: 1.12rem; color: var(--navy); }
  .sek p { margin: 0; line-height: 1.6; color: var(--sc-ink-soft); }
  /* Programme nach 21st „Gradient Card“ (2026-10-11): weicher Verlauf in der Produktfarbe, eine Illustration im Stil des
     Videos ragt unten rechts aus der Karte. Beim Zeigen hebt sich die Karte, die Illustration dreht leicht mit Nachfedern.
     Statt der Plakette der Vorlage eine schlichte Zeile mit App-Symbol (keine Pillen, Wlad 2026-10-02). Die ganze Karte ist
     über den Link klickbar. translate/scale/rotate statt transform: [data-sc-in] sperrt transform mit !important. */
  .programme__reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.2vw, 1.75rem); }
  .prog { --g1: #effaf7; --g2: #cdeee7; --farbe: var(--teal-ink); --strich: rgba(15,168,155,.35);
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: .75rem;
    min-height: 34rem; padding: 1.9rem 1.9rem 2rem; box-sizing: border-box; border-radius: 24px;
    background: linear-gradient(140deg, var(--g1) 8%, var(--g2) 100%);
    box-shadow: 0 1px 2px rgba(12,35,64,.05), 0 14px 30px -24px rgba(12,35,64,.45);
    transition: opacity 250ms var(--ease-brand), translate 420ms var(--ease-brand), scale 420ms var(--ease-brand), box-shadow 320ms var(--ease-brand); }
  .prog--honorar { --g1: #eef7f9; --g2: #c9e5ea; --farbe: #006a71; --strich: rgba(0,163,166,.35); }
  .prog--website { --g1: #fdf9f1; --g2: #f7ecd6; --farbe: var(--gold-ink); --strich: rgba(200,149,74,.45); }
  .prog > :not(.prog__bild) { position: relative; z-index: 1; }
  .prog__art { display: inline-flex; align-items: center; gap: .55rem; font-size: .72rem !important; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--farbe) !important; }
  .prog h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: 1.9rem; line-height: 1.1; margin-top: .15rem; }
  .prog__text { max-width: 30ch; color: #4a5361 !important; }
  .prog__link { margin-top: .35rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--farbe); text-decoration: none; font-size: .95rem; padding: .2rem 0; border-bottom: 2px solid var(--strich); }
  .prog__link::after { content: ""; position: absolute; inset: -40rem -40rem -40rem -40rem; }
  .prog__pfeil { width: 1rem; height: 1rem; flex: none; transition: translate 300ms var(--ease-brand); }
  .prog__bild { position: absolute; z-index: 0; right: -10%; bottom: -9%; width: 80%; height: auto; pointer-events: none;
    transform-origin: 70% 80%; transition: scale 620ms cubic-bezier(.34, 1.56, .64, 1), rotate 620ms cubic-bezier(.34, 1.56, .64, 1); }
  .prog--portal .prog__bild { width: 62%; right: -5%; bottom: -16%; }
  .prog--website .prog__bild { width: 90%; right: -16%; bottom: -12%; }
  /* B8: Tablet mit Häkchen. Ein Durchlauf 6 s: Anfrage 1 und 2 werden erledigt (1,2 s versetzt), beide stehen
     kurz, dann blenden sie gemeinsam aus und es beginnt von vorn. Farben aus der Zeichnung selbst (Teal der Symbole,
     Navy der Umrisse), damit die Ebene nicht als Fremdkörper auf dem Bild liegt. */
  .prog__tablet img, .prog__hb img, .prog__web img { display: block; width: 100%; height: auto; }
  .prog__tablet svg, .prog__hb svg, .prog__web svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .haken { transform-box: view-box; transform-origin: 0 0; opacity: 0; scale: .3;
    animation: 6s cubic-bezier(.4, 0, .2, 1) infinite paused; }
  .haken circle { fill: #3aa3ad; stroke: #1a2238; stroke-width: 3; }
  .haken path { fill: none; stroke: #fff; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1; stroke-dashoffset: 1; animation: 6s cubic-bezier(.4, 0, .2, 1) infinite paused; }
  .haken--1 { animation-name: haken-1; } .haken--1 path { animation-name: strich-1; }
  .haken--2 { animation-name: haken-2; } .haken--2 path { animation-name: strich-2; }
  .prog__tablet.ist-im-bild .haken, .prog__tablet.ist-im-bild .haken path { animation-play-state: running; }
  @keyframes haken-1 { 0% { opacity: 0; scale: .3; } 7% { opacity: 1; scale: 1.12; } 11%, 72% { opacity: 1; scale: 1; } 80%, 100% { opacity: 0; scale: .85; } }
  @keyframes haken-2 { 0%, 20% { opacity: 0; scale: .3; } 27% { opacity: 1; scale: 1.12; } 31%, 72% { opacity: 1; scale: 1; } 80%, 100% { opacity: 0; scale: .85; } }
  @keyframes strich-1 { 0%, 7% { stroke-dashoffset: 1; } 15%, 100% { stroke-dashoffset: 0; } }
  @keyframes strich-2 { 0%, 27% { stroke-dashoffset: 1; } 35%, 100% { stroke-dashoffset: 0; } }
  @media (prefers-reduced-motion: reduce) {
    .haken, .haken path { animation: none; }
    .haken { opacity: 1; scale: 1; }
    .haken path { stroke-dashoffset: 0; }
  }
  /* Honorarblick und Website (Wlad 2026-11-13): dieselbe Uhr wie das Tablet (6 s), aber nacheinander, damit nicht drei
     Karten gleichzeitig zappeln: Tablet 0 bis 2,1 s, Laptop 2,2 bis 5,2 s, Browserfenster 4,5 bis 5,8 s. Beide Ebenen
     DECKEN nur AB: Im Ruhezustand (0 %) sind sie unsichtbar und das gezeichnete Bild steht unverändert da.
     Laptop: je Häkchen ein Strich in der Farbe des Bildschirms (#f6ebd8, im Bild gemessen). Der Strich läuft vom Ende des
     Häkchens zu seinem Anfang, stroke-dashoffset 0 → 1 zieht ihn also vom Anfang her weg: das Häkchen wird aufgezogen.
     Kein negativer dashoffset (ältere Safari). */
  .hb-deck { fill: none; stroke: #f6ebd8; stroke-width: 19; stroke-linejoin: round; stroke-dasharray: 1 1.5; stroke-dashoffset: 0; opacity: 0;
    animation: 6s cubic-bezier(.4, 0, .2, 1) infinite paused; }
  .hb-deck--1 { animation-name: hb-deck-1; } .hb-deck--2 { animation-name: hb-deck-2; } .hb-deck--3 { animation-name: hb-deck-3; }
  @keyframes hb-deck-1 { 0%, 26% { opacity: 0; stroke-dashoffset: 0; } 31%, 37% { opacity: 1; stroke-dashoffset: 0; } 44%, 100% { opacity: 1; stroke-dashoffset: 1.02; } }
  @keyframes hb-deck-2 { 0%, 26% { opacity: 0; stroke-dashoffset: 0; } 31%, 46% { opacity: 1; stroke-dashoffset: 0; } 53%, 100% { opacity: 1; stroke-dashoffset: 1.02; } }
  @keyframes hb-deck-3 { 0%, 26% { opacity: 0; stroke-dashoffset: 0; } 31%, 55% { opacity: 1; stroke-dashoffset: 0; } 62%, 100% { opacity: 1; stroke-dashoffset: 1.02; } }
  /* Das Warndreieck meldet sich mit zwei Ringen in seinem eigenen Gold (#d19d2d, im Bild gemessen). */
  .hb-ping { fill: none; stroke: #d19d2d; stroke-width: 5; stroke-linejoin: round; transform-box: view-box; transform-origin: 0 0; opacity: 0;
    animation: 6s cubic-bezier(.2, .6, .3, 1) infinite paused; }
  .hb-ping--1 { animation-name: hb-ping-1; } .hb-ping--2 { animation-name: hb-ping-2; }
  @keyframes hb-ping-1 { 0%, 64% { opacity: 0; scale: 1; } 65% { opacity: .85; scale: 1; } 81%, 100% { opacity: 0; scale: 1.5; } }
  @keyframes hb-ping-2 { 0%, 71% { opacity: 0; scale: 1; } 72% { opacity: .85; scale: 1; } 88%, 100% { opacity: 0; scale: 1.5; } }
  /* Browserfenster: Abdeckung in Himmel- bzw. Seitenfarbe (im Bild gemessen), auf den Bildrahmen bzw. die Zeile beschnitten
     (clipPath im SVG). Sie blendet ein, schiebt sich nach rechts weg und springt unsichtbar zurück. */
  .web-deck { opacity: 0; animation: 6s cubic-bezier(.4, 0, .2, 1) infinite paused; }
  .web-deck--bild { fill: #d3ede4; animation-name: web-bild; } .web-deck--zeile { fill: #f7f6f2; animation-name: web-zeile; }
  @keyframes web-bild { 0%, 66% { opacity: 0; translate: 0 0; } 71%, 75% { opacity: 1; translate: 0 0; } 91%, 100% { opacity: 1; translate: 612px 0; } }
  @keyframes web-zeile { 0%, 66% { opacity: 0; translate: 0 0; } 71%, 88% { opacity: 1; translate: 0 0; } 97%, 100% { opacity: 1; translate: 264px 0; } }
  .web-ping { fill: none; stroke: var(--gold); stroke-width: 6; transform-box: view-box; transform-origin: 0 0; opacity: 0;
    animation: web-ping 6s cubic-bezier(.2, .6, .3, 1) infinite paused; }
  @keyframes web-ping { 0%, 2% { opacity: 0; scale: 1; } 3% { opacity: .8; scale: 1; } 19%, 100% { opacity: 0; scale: 1.38; } }
  .prog__hb.ist-im-bild .hb-deck, .prog__hb.ist-im-bild .hb-ping, .prog__web.ist-im-bild .web-deck, .prog__web.ist-im-bild .web-ping { animation-play-state: running; }
  @media (prefers-reduced-motion: reduce) { .hb-deck, .hb-ping, .web-deck, .web-ping { animation: none; opacity: 0; } }
  .p-mark { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; box-shadow: 0 10px 22px -12px rgba(12,35,64,.5); }
  .p-mark svg { width: 62%; height: auto; }
  .p-mark--portal { background: none; box-shadow: 0 10px 22px -12px rgba(9,150,142,.6); } .p-mark--portal svg { width: 100%; height: 100%; }
  .p-mark--hb { background: none; box-shadow: 0 10px 22px -12px rgba(0,106,113,.6); } .p-mark--hb svg { width: 100%; height: 100%; }
  .p-mark--web { background: var(--gold); }
  .p-mark--klein { width: 1.55rem; height: 1.55rem; border-radius: 7px; box-shadow: none; }
  @media (hover: hover) and (pointer: fine) {
    .prog:hover, .prog:focus-within { translate: 0 -4px; scale: 1.015; box-shadow: 0 1px 2px rgba(12,35,64,.05), 0 26px 46px -26px rgba(12,35,64,.5); }
    .prog:hover .prog__bild, .prog:focus-within .prog__bild { scale: 1.08; rotate: 3deg; }
    .prog:hover .prog__pfeil, .prog:focus-within .prog__pfeil { translate: 4px 0; }
  }
  /* Zwei Spalten: die Website-Karte allein in der zweiten Reihe, quer über beide Spalten. Eine Spalte: etwas niedriger. */
  @media (max-width: 1000px) and (min-width: 641px) { .prog--website { grid-column: 1 / -1; min-height: 19rem; } .prog--website .prog__bild { width: 30%; right: 3%; bottom: -14%; } }
  @media (max-width: 640px) { .prog { min-height: 31rem; } }
  @media (prefers-reduced-motion: reduce) { .prog, .prog__bild, .prog__pfeil { transition: opacity 250ms var(--ease-brand); translate: none !important; scale: none !important; rotate: none !important; } }
  .angebot--klein { font-size: .84rem; padding: .38em .95em .38em .38em; white-space: nowrap; }
  .status { display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 600; border-radius: 99px; padding: .4rem .9rem .4rem .7rem; }
  .status i { width: .55rem; height: .55rem; border-radius: 50%; }
  .status--verfuegbar { background: #e3f1ef; color: #11383f; }
  .status--verfuegbar i { background: #00a3a6; box-shadow: 0 0 0 4px rgba(0,163,166,.2); }
  .status--pilot { background: #e6f3f4; color: #11383f; }
  .status--pilot i { background: transparent; border: 2px solid #00a3a6; box-sizing: border-box; }
  /* Warum Medistent nach 21st „Feature 1“: zentrierte Karten, Symbol in einem Kästchen auf einem ausgeblendeten Raster */
  .warum__kopf { margin-inline: auto; text-align: center; justify-items: center; }
  .warum__kopf > p:not(.label) { margin: 0; max-width: 40rem; color: var(--sc-ink-soft); font-size: 1.02rem; line-height: 1.6; }
  .warum__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); max-width: 68rem; margin-inline: auto; }
  .vz { --fk-farbe: var(--navy); display: grid; justify-items: center; align-content: start; text-align: center; padding: 1.25rem 1.5rem 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 2px rgba(12, 35, 64, .05); }
  .vz--portal { --fk-farbe: var(--teal-ink); } .vz--hb { --fk-farbe: #006a71; } .vz--web { --fk-farbe: var(--gold-ink); }
  .vz__deko { position: relative; width: 9rem; height: 9rem; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); }
  .vz__deko::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, var(--navy) 1px, transparent 1px), linear-gradient(to bottom, var(--navy) 1px, transparent 1px); background-size: 24px 24px; opacity: .1; transition: opacity 300ms var(--ease-brand); }
  .vz__ic { position: absolute; inset: 0; margin: auto; width: 3rem; height: 3rem; display: grid; place-items: center; background: #fff; border-top: 1px solid #cfc9bd; border-left: 1px solid #cfc9bd; color: var(--fk-farbe); }
  .vz__ic svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .vz .vz__prod { margin: .9rem 0 0; font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--fk-farbe); }
  .vz h3 { margin: .45rem 0 0; font-size: 1.08rem; font-weight: 600; line-height: 1.3; color: var(--navy); }
  .vz p:last-child { margin: .55rem 0 0; max-width: 30ch; font-size: .93rem; line-height: 1.55; color: var(--sc-ink-soft); }
  @media (hover: hover) and (pointer: fine) { .vz:hover .vz__deko::before { opacity: .18; } }
  .schrittfolge { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); position: relative; }
  .schrittfolge::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 1.4rem; height: 2px; background: linear-gradient(90deg, var(--teal), rgba(15,168,155,.15)); }
  .schrittfolge li { position: relative; display: grid; gap: .55rem; justify-items: start; align-content: start; }
  .nr { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--teal-ink); color: #fff; font-weight: 600; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--sc-canvas, #f8f8f6), 0 8px 18px -8px rgba(9,112,103,.6); margin-bottom: .4rem; }
  .starten__cta { margin-top: clamp(2rem, 5vh, 3rem); }
  /* Ausblick nach 21st „How it works“ (2026-10-11): Kopf mittig, darunter eine Spur mit drei Punkten über drei Karten.
     Punkte statt Ziffern: Die Projekte haben keine Reihenfolge und keinen Termin, eine 1-2-3 läse sich wie ein Fahrplan.
     Karten heben sich beim Zeigen (scale statt transform, siehe [data-sc-in]). Navy = ohne Produkt, Teal für „Weitere folgen“. */
  .ausblick { display: block; }
  .ausblick__kopf { margin-inline: auto; justify-items: center; text-align: center; max-width: 46rem; }
  .ausblick__kopf p:last-child { max-width: 40rem; font-size: 1.05rem; }
  .ausblick__spur { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 64rem; margin: 0 auto 2rem; }
  .ausblick__spur::before { content: ""; position: absolute; left: 16.6667%; right: 16.6667%; top: 50%; height: 2px; translate: 0 -50%; background: #ddd6c9; }
  .ausblick__punkt { position: relative; justify-self: center; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: #ebe5d9; box-shadow: 0 0 0 4px #f6f1e8; }
  .ausblick__punkt::after { content: ""; width: .6rem; height: .6rem; border-radius: 50%; border: 2px solid var(--navy); box-sizing: border-box; }
  .ausblick__punkt--plus { background: #dcefec; }
  .ausblick__punkt--plus::after { width: .75rem; height: .75rem; border: 0; border-radius: 0; background: linear-gradient(var(--teal-ink), var(--teal-ink)) center / 100% 2px no-repeat, linear-gradient(var(--teal-ink), var(--teal-ink)) center / 2px 100% no-repeat; }
  .ausblick__liste { list-style: none; margin: 0 auto; padding: 0; max-width: 64rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .schritt { --s-farbe: var(--navy); --s-grund: #eef1f5; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-sizing: border-box;
    transition: opacity 250ms var(--ease-brand), scale 320ms var(--ease-brand), box-shadow 320ms var(--ease-brand), border-color 320ms var(--ease-brand), background-color 320ms var(--ease-brand); }
  .schritt--offen { --s-farbe: var(--teal-ink); --s-grund: #e6f5f3; }
  .schritt__ic { width: 3rem; height: 3rem; border-radius: 10px; display: grid; place-items: center; background: var(--s-grund); color: var(--s-farbe); margin-bottom: .5rem; }
  .schritt__ic svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .schritt h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--navy); text-wrap: balance; }
  .schritt > p { font-size: .95rem; line-height: 1.55; }
  .schritt .schritt__kopf { margin-top: .9rem; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
  .schritt__punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
  .schritt__punkte li { display: flex; align-items: flex-start; gap: .7rem; font-size: .93rem; line-height: 1.45; color: var(--sc-ink-soft); }
  .schritt__punkte li::before { content: ""; flex: none; width: 1rem; height: 1rem; margin-top: .13rem; border-radius: 50%; background: radial-gradient(circle, var(--s-farbe) 0 .25rem, transparent .27rem), color-mix(in srgb, var(--s-farbe) 16%, transparent); }
  @media (hover: hover) and (pointer: fine) { .schritt:hover { scale: 1.04; background: #fcfaf6; border-color: color-mix(in srgb, var(--s-farbe) 45%, transparent); box-shadow: 0 22px 40px -26px rgba(12,35,64,.45); } }
  @media (prefers-reduced-motion: reduce) { .schritt { transition: opacity 250ms var(--ease-brand); scale: none !important; } }
  @media (max-width: 860px) { .ausblick__spur { display: none; } .ausblick__liste { grid-template-columns: 1fr; max-width: 30rem; gap: 1.25rem; } }
  .bald { justify-self: start; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sc-ink-soft); }
  .bald--offen { color: var(--teal-ink); }
  .ueber { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .ueber__text { display: grid; gap: .8rem; }
  .ueber__firma { font-size: .85rem; color: var(--navy) !important; }
  /* Die Fotos ganz und groß (Wlad 2026-10-27): das volle quadratische Bild statt eines kleinen runden Ausschnitts. */
  .ueber__koepfe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
  .kopf { margin: 0; display: grid; gap: .9rem; text-align: center; }
  .kopf__foto { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #e9e3d8;
    box-shadow: 0 0 0 4px #fff, 0 24px 44px -26px rgba(12,35,64,.6); }
  .kopf figcaption { display: grid; gap: .15rem; }
  .kopf b { font-size: 1.05rem; color: var(--navy); }
  .kopf span { font-size: .85rem; color: var(--sc-ink-soft); }
  .schluss-sek { max-width: none; padding-bottom: 6rem; }
  .schluss-sek .schluss__gruss { margin: 0; }
  @media (max-width: 1000px) {
    .programme__reihe, .warum__raster, .schrittfolge { grid-template-columns: 1fr 1fr; }
    .warum__raster { max-width: 44rem; }
    .ausblick, .ueber { grid-template-columns: 1fr; }
    .ueber__koepfe { max-width: 36rem; width: 100%; justify-self: center; }
    .schrittfolge::before { display: none; }
  }
  @media (max-width: 860px) {
    .hb { grid-template-columns: 1fr; align-content: center; gap: .9rem; padding-bottom: 4.8rem; }
    .hb__note h2 { display: none; }
    .hb__note .schritte { grid-template-columns: 1fr 1fr; gap: .35rem .8rem; }
    .hb__note .schritte li { font-size: .76rem; }
    .hbf { --hb-lw: 560; aspect-ratio: 560 / 560; }
    .hba__haupt span:nth-child(n+4), .hba__marke small, .hba__suche, .hba__umfang, .hba__z > span:nth-child(3), .hba__th > span:nth-child(3), .hba__z > span:nth-child(5), .hba__th > span:nth-child(5), .hba__unter span:nth-child(n+4) { display: none; }
    .hba__zwei { grid-template-columns: 1fr; }
    .hba__import .hba__unterzeile { padding-right: 0; }
    .hba__kopf .hba__knopf { display: none; }
    .hba__nav { grid-template-columns: auto 1fr auto; gap: .75em; }
    .hba__haupt { justify-self: center; }
    .hba__th, .hba__z { grid-template-columns: 2.4em minmax(0, 1fr) minmax(0, 1.3fr) 2em; }
    .hba__notiz { width: 21em; }
    .halo__text { left: var(--sc-gutter); bottom: auto; align-content: start; gap: .4rem; padding: 1.1rem 0 0; }
    .halo__text h2 { font-size: 1.75rem; max-width: none; }
    .halo__liste { margin: .2rem 0 0 -.6rem; gap: 0; width: calc(100% + .6rem); }
    .halo__liste li { padding: .35rem .6rem; }
    .halo__liste li span { font-size: .8rem; }
    .halo__band { display: none; }
    .halo__karte { padding: .3rem .3rem .1rem; border-radius: 12px; }
    .halo__karte figcaption { font-size: .8rem; padding: .4rem .25rem .3rem; }
  }
  @media (max-width: 640px) { .programme__reihe, .warum__raster, .schrittfolge { grid-template-columns: 1fr; } .warum__raster { max-width: 24rem; } .vz__deko { width: 7.5rem; height: 7.5rem; } }
  @media (prefers-reduced-motion: reduce) { .hero-weiter i::after { animation: none; } }

  /* ---- Die Uhr des Films: läuft mit der Geschichte von 7:45 bis 8:20, die Zeiger folgen dem Scrollen ---- */
  .filmuhr { opacity: 0; transition: none; position: absolute; left: max(var(--sc-gutter), calc(50% - 44rem)); bottom: 1.1rem; z-index: 26; display: flex; align-items: center; gap: .65rem; padding: .4rem 1rem .4rem .4rem; border-radius: 99px; background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--schatten); pointer-events: none; }
  .filmuhr svg { width: 46px; height: 46px; flex: none; }
  .filmuhr .rand { fill: #fff; stroke: var(--teal-ink); stroke-width: 1.6; }
  .filmuhr .strich { stroke: #9aa6b2; stroke-width: 1.1; stroke-linecap: round; }
  .filmuhr .strich--v { stroke: var(--navy); stroke-width: 1.6; }
  .filmuhr .std { stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }
  .filmuhr .min { stroke: var(--teal-ink); stroke-width: 1.6; stroke-linecap: round; }
  .filmuhr__t { display: grid; line-height: 1.15; }
  .filmuhr__t b { font-size: 1.2rem; color: var(--navy); letter-spacing: .02em; }
  .filmuhr__t small { font-size: .72rem; color: var(--sc-ink-soft); display: flex; align-items: center; gap: .35rem; }
  .filmuhr__t small i { width: .5rem; height: .5rem; border-radius: 50%; background: #c9c6bf; transition: background-color 120ms; }
  .filmuhr[data-k="web"] small i { background: var(--gold); } .filmuhr[data-k="portal"] small i { background: var(--teal); } .filmuhr[data-k="hb"] small i { background: #00a3a6; } .filmuhr[data-k="alle"] small i { background: var(--navy); }
  @media (max-width: 860px) {
    .filmuhr { left: .6rem; bottom: .8rem; gap: .4rem; padding: .25rem .6rem .25rem .25rem; }
    .filmuhr svg { width: 30px; height: 30px; }
    .filmuhr__t b { font-size: .85rem; }
    .filmuhr__t small { display: none; }
  }

  /* ---- Die Akteure: Gegenstände, die zwischen den Szenen reisen ---- */
  .akteur { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; transform-origin: 0 0; will-change: transform, opacity; opacity: 0; }
  .akteur__form { position: absolute; inset: 0; background: #fff; border-radius: 14px; box-shadow: var(--schatten-gross); overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #111827; }
  .akteur__form-in { position: absolute; left: 0; top: 0; width: var(--fw, 368px); transform-origin: 0 0; padding: 16px; box-sizing: border-box; }
  .af-kopf { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
  .af-kopf i { width: 28px; height: 28px; border-radius: 8px; background: #f0fdfa; display: grid; place-items: center; }
  .af-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .af-feld { margin-bottom: 11px; }
  .af-feld label { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 500; color: #374151; }
  .af-feld div { border-radius: 8px; border: 1px solid #d1d5db; padding: 7px 10px; font-size: 12.5px; min-height: 16px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .af-feld div.lang { white-space: normal; min-height: 52px; }
  .af-senden { display: flex; justify-content: flex-end; }
  .af-senden span { border-radius: 8px; background: #006a71; padding: 8px 18px; font-size: 13px; font-weight: 500; color: #fff; }
  .akteur__karte { position: absolute; left: 50%; top: 50%; opacity: 0; transform-origin: 50% 50%; }
  .akteur__karte .req { height: 100%; }
  .flugantwort { position: absolute; left: 0; top: 0; z-index: 21; pointer-events: none; transform-origin: 0 0; opacity: 0; background: #fff; border-radius: 14px 14px 14px 4px; box-shadow: var(--schatten-gross); padding: .7rem .9rem; width: 17rem; font-size: .82rem; line-height: 1.45; color: #334155; }
  .flugantwort b { display: block; color: var(--navy); font-size: .78rem; margin-bottom: .2rem; }

  /* ------------------------------------------ Verlauf der verfolgten Anfrage -- */
  .track { position: fixed; z-index: 55; left: 50%; bottom: max(.9rem, env(safe-area-inset-bottom)); transform: translateX(-50%); background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 99px; box-shadow: var(--schatten); padding: .35rem .45rem .35rem .9rem; display: flex; align-items: center; gap: .75rem; font-size: .78rem; opacity: 0; filter: blur(6px); pointer-events: none; transition: opacity 400ms var(--ease-brand), filter 400ms var(--ease-brand); max-width: calc(100vw - 1.5rem); }
  .track.is-on { opacity: 1; filter: none; pointer-events: auto; }
  .track__t { color: var(--navy); font-weight: 600; white-space: nowrap; }
  .track ol { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
  .track a { display: flex; align-items: center; gap: .35rem; text-decoration: none; color: var(--sc-ink-soft); padding: .3rem .55rem; border-radius: 99px; white-space: nowrap; }
  .track a i { width: .5rem; height: .5rem; border-radius: 50%; border: 1.5px solid var(--sc-ink-soft); flex: none; }
  .track a.is-done i { background: var(--teal-ink); border-color: var(--teal-ink); }
  .track a[aria-current="step"] { background: var(--teal-light); color: #0a4f49; font-weight: 600; }
  .track a[aria-current="step"] i { background: var(--teal-ink); border-color: var(--teal-ink); }


  /* ------------------------------------------------------------ schmal -- */
  @media (max-width: 1100px) { .schwebe { display: none; } }
  @media (max-width: 860px) {
    .plate img { object-position: 30% 55%; }
    .hero-text { left: 1.1rem; right: 1.1rem; width: auto; top: 1.4rem; transform: translate3d(0, var(--y, 0px), 0); gap: .8rem; }
    .hero-text::before { inset: -10% -12% -14% -12%; }
    .gruss { font-size: 2.3rem; }
    .lead { font-size: 1rem; }
    .faecher-klein { gap: .9rem; flex-wrap: nowrap; }
    .fk { gap: .35rem; }
    .fk .ic { width: 32px; height: 32px; }
    .fk .ic > * { transform: scale(.76); transform-origin: 0 0; }
    .fk b { font-size: .85rem; } .fk span { font-size: .72rem; }
    .handy--hero { top: auto; bottom: 1.2rem; right: 1rem; --hw: 160px; transform: translate3d(0, var(--y, 0px), 0); }
    .blatt { width: 44vw; left: -12vw; bottom: -8vh; }
    .web { grid-template-columns: 1fr; align-content: center; gap: .8rem; }
    .web__note h2, .web__made { display: none; }
    .schritte { grid-template-columns: 1fr 1fr; gap: .35rem .8rem; }
    .schritte li { font-size: .78rem; }
    .faecher { gap: .5rem; }
    .fach__kopf { flex-wrap: wrap; gap: .3rem; }
    .fach__kopf b { font-size: .82rem; }
    .stapel .req, .akteur__karte .req { grid-template-columns: 1.6rem 1fr; padding: .45rem .5rem; gap: 0 .4rem; }
    .stapel .req .req__av, .akteur__karte .req__av { width: 1.6rem; height: 1.6rem; font-size: .7rem; }
    .stapel .req .req__side, .stapel .req .req__t, .akteur__karte .req__side, .akteur__karte .req__t { display: none; }
    .stapel .req .req__n, .akteur__karte .req__n { font-size: .74rem; grid-row: span 2; }
    .fach > [data-slot] { min-height: 156px; }   /* slotH 44, slotGap 6 */
    .portal__fuss { padding: .8rem .95rem; gap: .55rem; border-radius: 14px; }
    .portal__fuss p { font-size: .92rem; }
    .portal__fuss .portal__anruf { font-size: .86rem; }
    .ansicht__t b { font-size: .95rem; } .ansicht__t small { font-size: .74rem; }
    .fall__karte { gap: .7rem; }
    .bubble { font-size: .86rem; }
    .antwort__text { font-size: .88rem; }
    .patient { justify-items: center; padding-inline: 1rem; }
    .track { padding: .3rem .4rem; gap: .3rem; left: auto; right: .6rem; transform: none; max-width: calc(100vw - 7.4rem); }
    .track__t { display: none; }
    .track a { padding: .3rem .45rem; }
    .track a span { display: none; }
    .track a[aria-current="step"] span { display: inline; }
  }
  @media (max-width: 860px) and (max-height: 700px) { .handy--hero { display: none; } }
  @media (prefers-reduced-motion: reduce) {
    .launcher::before, .launcher::after, .schwebe .req, .tippt i, .angebot::after, .streifen::after { animation: none; }
  }

/* Produkte-Menü (Wlad 2026-10-06): je Produkt Nutzen und Leistungen. Gleich mit components/Nav.tsx. */
.produkte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.produkt { display: flex; flex-direction: column; min-width: 0; }
.produkt__name { margin: 0; display: flex; align-items: center; gap: .55rem; font-family: var(--sc-font-display); font-weight: 700; font-size: .98rem; color: var(--navy); }
.produkt__ic { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(160deg, #e6f5f3, #d0f0ed); color: var(--teal-ink); box-shadow: inset 0 -2px 0 rgba(9,112,103,.12); }
.produkt--petrol .produkt__ic, .produkt__ic--petrol { background: linear-gradient(160deg, #e3f3f3, #c9e9ea); color: #006a71; box-shadow: inset 0 -2px 0 rgba(0,106,113,.14); }
.produkt--gold .produkt__ic, .produkt__ic--gold { background: linear-gradient(160deg, #fbf3e6, #f3e3c7); color: var(--gold-ink); box-shadow: inset 0 -2px 0 rgba(138,98,38,.14); }
.produkt__ic svg, .produkt__lic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.produkt__ic svg { width: 1.05rem; height: 1.05rem; }
/* Offizielle Programm-Icons (lib/programm-icons.ts, Wlad 2026-10-12): eigene Fläche und Farben, deshalb
   bewusst NICHT in .produkt__ic — dessen Strich-Regeln (stroke: currentColor) würden auf das Icon durchschlagen. */
.produkt__app { flex: none; width: 1.9rem; height: 1.9rem; }
.produkt__app svg { width: 100%; height: 100%; display: block; }
.produkt__lic { flex: none; width: 1rem; height: 1rem; margin-top: .1em; color: var(--teal-ink); }
.produkt--petrol .produkt__lic { color: #006a71; }
.produkt--gold .produkt__lic { color: var(--gold-ink); }
.produkt__nutzen { margin: .25rem 0 .5rem; font-size: .8rem; color: var(--sc-ink-soft); line-height: 1.4; }
.produkt__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.produkt__liste a { display: flex; gap: .5rem; align-items: flex-start; padding: .3rem .4rem; border-radius: 8px; font-size: .85rem; line-height: 1.35; color: var(--navy); text-decoration: none; transition: background-color 160ms var(--ease-brand); }
.produkt__liste a:hover, .produkt__liste a:focus-visible { background: #f1f7f5; }
.produkt--petrol .produkt__liste a:hover, .produkt--petrol .produkt__liste a:focus-visible { background: #ecf6f6; }
.produkt--gold .produkt__liste a:hover, .produkt--gold .produkt__liste a:focus-visible { background: #faf4ea; }
.produkt__hinweis { margin: .45rem 0 0; font-size: .75rem; color: var(--sc-ink-soft); line-height: 1.4; }
.produkt__mehr { margin-top: .55rem; font-size: .8rem; font-weight: 600; color: var(--teal-ink); text-decoration: none; }
.produkt--petrol .produkt__mehr { color: #006a71; }
.produkt--gold .produkt__mehr { color: var(--gold-ink); }
.produkte__bald { margin: 0; font-size: .78rem; color: var(--sc-ink-soft); }
.produkte__bald b { color: var(--navy); font-weight: 600; }
.produkte__bald a { color: var(--sc-ink-soft); }
/* Fuß — gleich mit components/Footer.tsx. Unten 5rem Luft für die feste Spur (.track). */
.fuss { position: relative; z-index: 1; background: #fcfaf6; border-top: 1px solid rgba(12,35,64,.08); padding: 4rem var(--sc-gutter) 5rem; color: var(--sc-ink-soft); font-size: .875rem; }
.fuss__raster { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(12,35,64,.08); }
.fuss__marke p { margin: 1rem 0 0; max-width: 260px; line-height: 1.6; }
/* Fußzeilen-Logo wie auf den React-Seiten (Footer.tsx: Logo height 32, Akzent #0fa89b auf Symbol UND „Medi“) —
   bis 2026-10-31 stand hier nur die Grundregel (34 px, einfarbig navy) und die Startseite wich als einzige Seite ab. */
.fuss .brand svg { width: auto; height: 32px; }
.fuss .brand svg path { fill: #0fa89b; }
.fuss .brand__medi { color: #0fa89b; }
.fuss .brand__w { font-size: 28.8px; }
.fuss__titel { margin: 0 0 1rem; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.fuss ul a { color: #3d4f5f; text-decoration: none; text-underline-offset: .2em; }
.fuss ul a:hover, .fuss ul a:focus-visible { color: var(--teal-ink); text-decoration: underline; }
.fuss__unten { max-width: 1100px; margin: 2rem auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.fuss__beispiel { max-width: 1100px; margin: 1rem auto 0; font-size: .78rem; }
@media (max-width: 860px) { .fuss__raster { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; } }
@media (max-width: 460px) { .fuss__raster { grid-template-columns: 1fr; } }

  /* ================= Produktseiten (2026-10-08): praxis-portal.html, honorarblick.html =================
     Erzeugt von seiten-bauen.mjs aus index.html. Teal = Portal, Petrol = Honorarblick. */
  /* Portal-Seite: im Hero nur das Portal-Fenster, nicht das Honorarblick-Fenster */
  .seite--portal .fenster--hb { visibility: hidden; }
  /* Wlad 2026-10-13: Das Portal-Fenster ist das Produkt selbst und wirkte neben dem Handy nebensächlich. Es wird so groß,
     dass beide gleich viel Gewicht haben, und steht nur noch knapp hinter dem Handy. Das Handy bleibt unverändert.
     Der Inhalt des Abbilds ist in em gesetzt; die Schrift folgt der Breite (vorher 331 px Breite bei 8,9 px Schrift). */
  .seite--portal .fenster--portal { --fw: min(clamp(340px, 32vw, 540px), 52vh); width: var(--fw); bottom: 12%;   /* 52vh: auf breiten, flachen Schirmen (1366×768) rückte es sonst an den Einleitungstext */
    right: calc(max(calc(var(--sc-gutter) + 3vw), calc(50% - 40rem)) + clamp(236px, 19vw, 290px) * .88); }
  .seite--portal .fenster--portal .abbild { font-size: calc(var(--fw) / 37); }
  /* Der Lichtschein hinter dem Einleitungstext (.hero-text::before, Ebene 5) lag um 1100 px Breite über dem Fenster
     und wusch es aus. Das Fenster liegt jetzt darüber, das Handy weiter davor. Nur wo das Fenster sichtbar ist. */
  @media (min-width: 1101px) { .seite--portal .fenster--portal { z-index: 6; } .seite--portal .handy--hero { z-index: 7; } }

  /* Kopf der Honorarblick-Seite (vor dem Film, ruhig, kein Pin) */
  .produktkopf { position: relative; z-index: 1; max-width: 76rem; margin-inline: auto; box-sizing: border-box;
    padding: calc(var(--bar-h, 68px) + clamp(2.5rem, 8vh, 5rem)) var(--sc-gutter) clamp(3rem, 8vh, 5rem);
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .produktkopf__text { display: grid; gap: 1rem; justify-items: start; }
  .produktkopf__text > p { margin: 0; max-width: 34rem; font-size: 1.02rem; line-height: 1.6; color: var(--sc-ink-soft); }
  .produktkopf h1 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.4rem); line-height: 1.02; color: var(--navy); }
  .produktkopf .produktkopf__lead { font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); line-height: 1.35; color: var(--navy); }
  .produktkopf__app { display: block; width: 3.25rem; height: 3.25rem; filter: drop-shadow(0 6px 10px rgba(0,106,113,.28)); }   /* offizielles Programm-Icon */
  .produktkopf__app svg { width: 100%; height: 100%; display: block; }
  .lkarte__ic svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .produktkopf__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin-top: .4rem; }
  .produktkopf__aktion .pilot { flex-basis: auto; }
  .produktkopf__bild .abbild { box-shadow: var(--schatten-gross); }

  /* ---- Einstieg der Honorarblick-Seite (Wlad 2026-10-13): „nicht repräsentativ genug“ neben dem Praxis Portal ----
     Größeres Fenster als vereinfachte Fassung der echten Oberfläche (seiten-bauen.mjs → hbKopfBild), drumherum
     digitale Karten, dahinter weiches Licht über die volle Breite. Alles Bewegte läuft auf einer 10-s-Schleife
     (nur transform, opacity, clip-path); bei reduzierter Bewegung steht der fertige Zustand. */
  .hbkopf { max-width: 86rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
  .hbkopf h1 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); }
  .hbkopf .produktkopf__text, .hbkopf .produktkopf__bild { position: relative; z-index: 1; }
  .hbkopf__grund { position: absolute; z-index: 0; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); pointer-events: none; overflow: hidden;
    background: radial-gradient(55% 65% at 76% 48%, rgba(0, 163, 166, .11), transparent 70%), radial-gradient(45% 55% at 8% 92%, rgba(17, 56, 63, .06), transparent 70%); }
  .hbkopf__grund i { position: absolute; border-radius: 50%; animation: hbkTreib 20s ease-in-out infinite alternate; }
  .hbkopf__grund i:nth-child(1) { width: 38vw; height: 38vw; right: 2vw; top: 4%; background: radial-gradient(circle, rgba(0, 163, 166, .16), transparent 66%); }
  .hbkopf__grund i:nth-child(2) { width: 24vw; height: 24vw; right: 34vw; bottom: -8vw; background: radial-gradient(circle, rgba(48, 115, 102, .13), transparent 66%); animation-duration: 24s; }
  .hbkopf__grund i:nth-child(3) { width: 30vw; height: 30vw; left: -10vw; top: -8vw; background: radial-gradient(circle, rgba(232, 190, 120, .18), transparent 66%); animation-duration: 28s; }
  .hbkopf__geist { position: absolute; border-radius: 1rem; background: rgba(255, 255, 255, .5); box-shadow: 0 20px 40px -28px rgba(17, 56, 63, .35), inset 0 0 0 1px rgba(17, 56, 63, .05);
    display: grid; align-content: start; gap: .55rem; padding: 1rem 1.1rem; filter: blur(1.5px); animation: hbkGeist 16s ease-in-out infinite alternate; }   /* Tiefenschärfe: Hintergrund, nicht Inhalt */
  .hbkopf__geist s { display: block; height: .5rem; border-radius: 3px; background: rgba(17, 56, 63, .08); }
  .hbkopf__geist s:first-child { width: 45%; background: rgba(0, 106, 113, .16); }
  .hbkopf__geist--1 { left: max(2vw, calc(50% - 41rem)); top: calc(var(--bar-h, 68px) + 3vh); width: 15rem; height: 7rem; opacity: .55; }
  .hbkopf__geist--2 { left: 38%; bottom: 5vh; width: 18rem; height: 6rem; opacity: .5; animation-duration: 19s; }
  .hbkopf__geist--3 { right: max(1.5vw, calc(50% - 44rem)); bottom: 7vh; width: 10rem; height: 8rem; opacity: .45; animation-duration: 22s; }
  @keyframes hbkGeist { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -1.2rem, 0); } }
  @media (max-width: 860px) { .hbkopf__geist { display: none; } }
  @keyframes hbkTreib { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(2.5vw, -2vw, 0); } }

  .hbkopf .produktkopf__bild { container-type: inline-size; }
  .hbk-szene { position: relative; font-size: clamp(8px, calc(100cqw / 48), 14px); padding: 3.4em 0 3.8em 3.2em; font-family: "Geist", system-ui, sans-serif; color: #133c43; line-height: 1.35; }
  .hbk { position: relative; z-index: 2; border-radius: 1.1em; overflow: hidden; background: #f0f6f4; box-shadow: 0 2.2em 4.4em -1.8em rgba(17, 56, 63, .5), 0 0 0 1px rgba(17, 56, 63, .08); }
  .hbk__leiste { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1em; height: 4em; padding: 0 1em; background: #11383f; color: #f7faf9; }
  .hbk__marke { display: flex; align-items: center; gap: .55em; }
  .hbk__marke svg { width: 2.3em; height: 2.3em; display: block; flex: none; }
  .hbk__marke b { display: block; font-size: 1.05em; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
  .hbk__marke small { display: block; font-size: .72em; color: #c6e3e5; }
  .hbk__reiter { justify-self: center; display: flex; gap: .2em; padding: .25em; border: 1px solid #52787c; border-radius: .7em; }
  .hbk__reiter span { padding: .45em .7em; border-radius: .45em; font-size: .8em; font-weight: 560; color: #c6e3e5; white-space: nowrap; }
  .hbk__reiter .an { background: #d9eeea; color: #11383f; }
  .hbk__konto { display: grid; place-items: center; width: 2.3em; height: 2.3em; border: 1px solid #52787c; border-radius: .6em; }
  .hbk__konto svg { width: 1.2em; height: 1.2em; display: block; }
  .hbk__werk { display: flex; align-items: center; gap: .2em; height: 2.9em; padding: 0 1em; background: #f7faf9; border-bottom: 1px solid #c5d9d6; }
  .hbk__werk > span { padding: .45em .65em; border-radius: .35em; font-size: .78em; font-weight: 550; color: #526d71; white-space: nowrap; }
  .hbk__werk > .an { color: #006a71; background: #d9eeea; }
  .hbk__werk > .hbk__suche { margin-left: auto; display: flex; align-items: center; gap: .5em; width: 13em; height: 2.4em; padding: 0 .7em; border: 1px solid #769b9e; border-radius: .5em; }
  .hbk__suche svg { width: 1.15em; height: 1.15em; flex: none; }
  .hbk__suche s { flex: 1; height: .5em; border-radius: 3px; background: #d4e3df; }
  .hbk__flaeche { padding: 1em 1em 1.15em; display: grid; gap: .8em; }
  .hbk__datei { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8em; padding: .65em .8em; border: 1px solid #c5d9d6; border-radius: .8em; background: #fff; }
  .hbk__dok { flex: none; width: 2.3em; height: 2.3em; border-radius: .55em; display: grid; place-items: center; background: #d9eeea; color: #006a71; }
  .hbk__dok svg { width: 1.3em; height: 1.3em; display: block; }
  .hbk__datei b { display: block; font-size: .85em; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hbk__datei s { display: block; position: relative; overflow: hidden; height: .42em; margin-top: .45em; border-radius: 3px; background: #d4e3df; }
  .hbk__datei s::after { content: ""; position: absolute; inset: 0; background: #307366; transform-origin: 0 50%; }
  .hbk__ok { width: 1.8em; height: 1.8em; border-radius: 50%; display: grid; place-items: center; background: #307366; color: #fff; }
  .hbk__ok svg { width: 1.1em; height: 1.1em; display: block; }
  .hbk__kpi { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: .6em; }
  .hbk__kpi article { position: relative; padding: .7em .75em .65em; background: #f7faf9; border: 1px solid #c5d9d6; border-radius: .75em; }
  .hbk__kpi span { display: block; font-size: .7em; font-weight: 600; line-height: 1.25; padding-right: 2.1em; }
  .hbk__kpi b { position: relative; display: block; margin-top: .3em; height: 1.15em; font-size: 1.5em; font-weight: 650; line-height: 1.15; }
  .hbk__kpi b em { position: absolute; left: 0; top: 0; font-style: normal; }
  .hbk__kpi b em + em { opacity: 0; }
  .hbk__kpi i { position: absolute; right: .55em; top: .55em; width: 1.5em; height: 1.5em; border-radius: .45em; display: grid; place-items: center; }
  .hbk__kpi i::before { content: ""; width: .75em; height: .75em; border-radius: 50%; border: 1.5px solid currentColor; }
  .hbk__kpi .w i { background: #faf6ed; color: #94601d; } .hbk__kpi .f i { background: #fbf1ef; color: #b42318; }
  .hbk__kpi .o i { background: #edf4f1; color: #307366; } .hbk__kpi .h i { background: #edf4f1; color: #36757a; }
  .hbk__liste { border: 1px solid #c5d9d6; border-radius: .8em; overflow: hidden; background: #fbfdfc; }
  .hbk__z { display: grid; grid-template-columns: 1.2em minmax(0, 1fr) minmax(0, 1.35fr) 1.3em; gap: .9em; align-items: start; padding: .75em .9em; border-bottom: 1px solid #e0ebe7; }
  .hbk__z:last-child { border-bottom: 0; }
  .hbk__z s { display: block; height: .5em; margin-top: .3em; border-radius: 3px; background: #c9d9d5; }
  .hbk__z s.k { margin-top: .5em; background: #e0ebe7; }
  .hbk__z .art { font-size: .72em; }
  .hbk__box { position: relative; width: 1.15em; height: 1.15em; margin-top: .1em; border: 1.5px solid #769b9e; border-radius: .25em; background: #fff; box-sizing: border-box; }
  .hbk__box::after { content: ""; position: absolute; inset: -1.5px; border-radius: .25em; opacity: 0;
    background: #006a71 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.8 8.4l2.6 2.5 5.8-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 90% no-repeat; }
  .hbk__stift { color: #006a71; }
  .hbk__stift svg { width: 1.25em; height: 1.25em; display: block; }

  /* Digitale Karten um das Fenster (Bildsprache: digital, nicht Papier) */
  .hbk-ding { position: absolute; z-index: 3; display: flex; align-items: center; gap: .7em; padding: .8em 1em; border-radius: .9em; background: #fff;
    box-shadow: 0 1.4em 2.8em -1.3em rgba(17, 56, 63, .5), 0 0 0 1px rgba(17, 56, 63, .07); }
  .hbk-ding b { display: block; font-size: .85em; font-weight: 650; }
  .hbk-ding small { display: block; margin-top: .15em; font-size: .72em; color: #45636a; }
  .hbk-datei { left: -1.6em; top: -.4em; max-width: 21em; }
  .hbk-datei b { white-space: nowrap; }
  .hbk-kalender { right: -3em; top: -1.2em; display: grid; gap: .45em; width: 12em; padding: .75em .85em .8em; }
  .hbk-kalender b { color: #11383f; }
  .hbk-kalender__tage { display: grid; grid-template-columns: repeat(7, 1fr); gap: .22em; }
  .hbk-kalender__tage i { aspect-ratio: 1; border-radius: .22em; background: #e3eeeb; }
  .hbk-kalender__tage i.leer { background: none; }
  .hbk-kalender__tage i.ende { background: #00a3a6; box-shadow: 0 0 0 .2em rgba(0, 163, 166, .22); }
  .hbk-kalender small { color: #11383f; font-weight: 600; }
  .hbk-lokal { left: 0; bottom: 1.4em; max-width: 15em; }
  .hbk-lokal span:last-child { font-size: .78em; font-weight: 600; line-height: 1.3; }
  .hbk-notiz { right: -1.2em; bottom: 0; display: grid; gap: .3em; width: 15.5em; padding: .85em 1em; border-left: .3em solid #006a71; }   /* Petrol, nicht Gold: Gold gehört allein der Website-Erstellung */
  .hbk-notiz span { font-size: .8em; line-height: 1.4; color: #22464e; }

  /* Die Schleife, 10 s: Datei fliegt ein · lädt · Haken · Kennzahlen · Prüfliste · ein Punkt wird abgehakt (3 → 2) · Praxisnotiz */
  .hbk-datei { animation: hbkFlug 10s var(--ease-brand) infinite; }
  .hbk__datei s::after { animation: hbkLaden 10s var(--ease-brand) infinite; }
  .hbk__ok { animation: hbkOk 10s var(--ease-brand) infinite; }
  .hbk__kpi article { animation: hbkKpi 10s var(--ease-brand) infinite; }
  .hbk__kpi article:nth-child(2) { animation-name: hbkKpi2; } .hbk__kpi article:nth-child(3) { animation-name: hbkKpi3; } .hbk__kpi article:nth-child(4) { animation-name: hbkKpi4; }
  .hbk__z { animation: hbkZeile 10s var(--ease-brand) infinite; }
  .hbk__z:nth-child(2) { animation-name: hbkZeile2; } .hbk__z:nth-child(3) { animation-name: hbkZeile3; } .hbk__z:nth-child(4) { animation-name: hbkZeile4; }
  .hbk__liste { animation: hbkListe 10s var(--ease-brand) infinite; }
  .hbk__z--p .hbk__box::after { animation: hbkHaken 10s var(--ease-brand) infinite; }
  .hbk__z--p { animation-name: hbkZeile2, hbkErledigt; animation-duration: 10s; animation-iteration-count: infinite; }
  .hbk__kpi .w b em:first-child { animation: hbkZahlAlt 10s steps(1) infinite; }
  .hbk__kpi .w b em + em { animation: hbkZahlNeu 10s steps(1) infinite; }
  .hbk-notiz span { animation: hbkSchreib 10s linear infinite; }
  .hbk-kalender { animation: hbkSchweb 8s ease-in-out infinite; }
  .hbk-lokal { animation: hbkSchweb 7s ease-in-out -2.5s infinite; }
  .hbk-notiz { animation: hbkSchweb 9s ease-in-out -4s infinite; }
  @keyframes hbkFlug { 0% { opacity: 0; transform: translate3d(-1.5em, -1em, 0); } 4% { opacity: 1; transform: none; } 8% { opacity: 1; transform: none; }
    13% { opacity: 1; transform: translate3d(3em, 5.4em, 0) scale(.94); } 16%, 100% { opacity: 0; transform: translate3d(3em, 5.4em, 0) scale(.9); } }
  @keyframes hbkLaden { 0%, 13% { transform: scaleX(0); } 21%, 95% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
  @keyframes hbkOk { 0%, 21% { transform: scale(0); } 24% { transform: scale(1.15); } 26%, 94% { transform: scale(1); } 98%, 100% { transform: scale(0); } }
  @keyframes hbkKpi { 0%, 26% { opacity: 0; transform: translate3d(0, .5em, 0); } 31%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
  @keyframes hbkKpi2 { 0%, 28% { opacity: 0; transform: translate3d(0, .5em, 0); } 33%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
  @keyframes hbkKpi3 { 0%, 30% { opacity: 0; transform: translate3d(0, .5em, 0); } 35%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
  @keyframes hbkKpi4 { 0%, 32% { opacity: 0; transform: translate3d(0, .5em, 0); } 37%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
  @keyframes hbkZeile { 0%, 35% { opacity: 0; transform: translate3d(0, .6em, 0); } 40%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
  @keyframes hbkZeile2 { 0%, 38% { opacity: 0; transform: translate3d(0, .6em, 0); } 43%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
  @keyframes hbkZeile3 { 0%, 41% { opacity: 0; transform: translate3d(0, .6em, 0); } 46%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
  @keyframes hbkZeile4 { 0%, 44% { opacity: 0; transform: translate3d(0, .6em, 0); } 49%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
  @keyframes hbkHaken { 0%, 60% { opacity: 0; transform: scale(.6); } 63% { opacity: 1; transform: scale(1.12); } 65%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
  @keyframes hbkErledigt { 0%, 62% { background-color: transparent; } 65%, 94% { background-color: #edf6f3; } 99%, 100% { background-color: transparent; } }
  @keyframes hbkZahlAlt { 0%, 64% { opacity: 1; } 65%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
  @keyframes hbkZahlNeu { 0%, 64% { opacity: 0; } 65%, 96% { opacity: 1; } 97%, 100% { opacity: 0; } }
  @keyframes hbkSchreib { 0%, 66% { clip-path: inset(0 100% 0 0); } 80%, 95% { clip-path: inset(0 0 0 0); } 99%, 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes hbkListe { 0%, 33% { opacity: 0; } 37%, 94% { opacity: 1; } 99%, 100% { opacity: 0; } }
  @keyframes hbkSchweb { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.45em; } }
  @media (prefers-reduced-motion: reduce) {
    .hbk-szene *, .hbk-szene *::after, .hbkopf__grund i, .hbkopf__geist { animation: none !important; }
  }
  /* Schmal: weniger Reiter, Karten näher ans Fenster */
  @container (max-width: 560px) {
    .hbk__reiter span:nth-child(4), .hbk__werk > .hbk__suche, .hbk__marke small { display: none; }
    .hbk-szene { padding: 3em 0 3.4em 1.4em; }
    .hbk-kalender { right: -.4em; width: 10em; }
    .hbk-notiz { right: -.4em; width: 13em; }
  }

  /* Leistungen nach dem Film: Karten mit Symbol, Pilotpraxen, Erstgespräch */
  .leistungen { display: grid; gap: 1.6rem; justify-items: start; }
  .leistungskarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .9rem; width: 100%; }
  .lkarte { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 14px; background: #fff; border: 1px solid rgba(12,35,64,.08); box-shadow: 0 10px 24px -20px rgba(12,35,64,.45); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .98rem; line-height: 1.35; transition: transform 200ms var(--ease-brand), box-shadow 200ms var(--ease-brand); }
  @media (hover: hover) and (pointer: fine) { .lkarte:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(12,35,64,.5); } }
  .lkarte__ic { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(160deg, #e6f5f3, #d0f0ed); color: var(--teal-ink); box-shadow: inset 0 -2px 0 rgba(9,112,103,.12); }
  .leistungen--petrol .lkarte__ic { background: linear-gradient(160deg, #e3f3f3, #c9e9ea); color: #006a71; box-shadow: inset 0 -2px 0 rgba(0,106,113,.14); }
  .lkarte__ic svg { width: 1.3rem; height: 1.3rem; }
  .leistungen__hinweis { margin: 0; font-size: .92rem; color: var(--sc-ink-soft); }
  .leistungen__ablauf { font-size: .92rem; font-weight: 600; color: var(--teal-ink); text-decoration: none; }
  /* Produktseiten (Wlad 2026-10-13): der Knopf stand links neben dem Satz und ging unter. Jetzt eine eigene Fläche,
     mittig, Satz über dem größeren Knopf. Teal = Portal, Petrol = Honorarblick. */
  .leistungen__aktion { justify-self: stretch; display: grid; justify-items: center; gap: 1.1rem; text-align: center;
    margin-top: clamp(.5rem, 2vw, 1.5rem); padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 3rem); border-radius: 22px;
    background: linear-gradient(160deg, #f1faf8, #dff3ef); box-shadow: inset 0 0 0 1px rgba(9,112,103,.16), 0 26px 50px -36px rgba(12,35,64,.5); }
  .leistungen__aktion .pilot { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--navy); }
  .leistungen__aktion .cta--big { min-height: 60px; padding: 0 2.4rem; font-size: 1.08rem; border-radius: 12px; box-shadow: 0 16px 30px -14px rgba(12,35,64,.6); }
  .leistungen__ablauf { justify-self: center; }
  .leistungen--petrol .leistungen__aktion { background: linear-gradient(160deg, #f0f8f8, #dbeeee); box-shadow: inset 0 0 0 1px rgba(0,106,113,.16), 0 26px 50px -36px rgba(12,35,64,.5); }
  .leistungen__ablauf:hover, .leistungen__ablauf:focus-visible { text-decoration: underline; text-underline-offset: .2em; }

  /* Abschluss im Honorarblick-Film: Schleier + Zeile, Deckkraft setzt seite.js über die letzten 0,8 Höhen */
  .film-scrim { position: absolute; inset: 0; z-index: 29; background: rgba(248, 245, 240, .84); opacity: 0; pointer-events: none; }
  .film-schluss { position: absolute; z-index: 30; left: 50%; bottom: clamp(1.5rem, 6vh, 3.5rem); transform: translateX(-50%); margin: 0; width: min(40rem, calc(100% - 2 * var(--sc-gutter))); text-align: center;
    padding: .8rem 1.2rem; border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: var(--schatten); color: #11383f; font-weight: 600; font-size: 1rem; line-height: 1.45; opacity: 0; pointer-events: none; }

  /* Desktop: der Kopf füllt den Bildschirm, damit der Film nicht als leere Fläche darunter beginnt */
  @media (min-width: 861px) { .produktkopf { min-height: 100svh; } }
  @media (max-width: 860px) {
    .film-schluss { top: 50%; bottom: auto; transform: translate(-50%, -50%); font-size: 1.05rem; }
    .produktkopf { grid-template-columns: 1fr; }
    .produktkopf__bild { order: 2; }
  }

  /* Die Verlaufsleiste gibt es seit 2026-10-02 nicht mehr (Wlad: keine Verlaufsleiste). Das Element bleibt nur
     als Messstelle für die Prüfwerkzeuge (data-sc-verify-state) und trägt `hidden` — das muss gegen das
     display der .track-Regel gewinnen, sonst schwebt eine leere weiße Pille unten in der Mitte. */
  .track[hidden] { display: none !important; }
  /* Abbild im Kopf der Honorarblick-Seite: Höhe folgt dem Inhalt (im Hero ist es teilweise verdeckt) */
  .produktkopf__bild .abbild { aspect-ratio: auto; }

  /* Leistungen im Einzelnen (Wlad 2026-10-08): ein Block je Leistung, Ziel der Menülinks (#anker) */
  .leistungsliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: 100%; margin-top: .6rem; }
  .ldetail { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.4rem 1.4rem 1.3rem; border-radius: 16px; background: #fff;
    border: 1px solid rgba(12,35,64,.08); box-shadow: 0 12px 28px -24px rgba(12,35,64,.5);
    scroll-margin-top: calc(var(--bar-h, 68px) + 1.25rem); transition: box-shadow 400ms var(--ease-brand); }
  .ldetail:target { box-shadow: 0 0 0 2px var(--teal), 0 12px 28px -24px rgba(12,35,64,.5); }
  .leistungen--petrol .ldetail:target { box-shadow: 0 0 0 2px #00a3a6, 0 12px 28px -24px rgba(12,35,64,.5); }
  .ldetail__text { display: grid; gap: .6rem; }
  /* Merkmale + „Mehr zu …" als eine Gruppe — im Portal-Layout bilden sie die rechte Spalte. */
  .ldetail__seite { display: grid; gap: .6rem; }
  .ldetail h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: var(--navy); }
  .ldetail p { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--sc-ink-soft); }
  .ldetail__merkmale { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .4rem; }
  .ldetail__merkmale li { position: relative; padding-left: 1.5rem; font-size: .93rem; line-height: 1.45; color: var(--navy); }
  .ldetail__merkmale li::before { content: ""; position: absolute; left: .1rem; top: .38em; width: .75rem; height: .4rem; border-left: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: rotate(-45deg); }
  .leistungen--petrol .ldetail__merkmale li::before { border-color: #006a71; }
  .ldetail__mehr { justify-self: start; margin-top: .2rem; font-size: .9rem; font-weight: 600; color: var(--teal-ink); text-decoration: none; }
  .ldetail__mehr:hover, .ldetail__mehr:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
  .leistungen__fussnote { margin: 0; max-width: 46rem; font-size: .9rem; line-height: 1.55; color: var(--sc-ink-soft); }
  @media (max-width: 860px) { .leistungsliste { grid-template-columns: 1fr; } .ldetail { padding: 1.15rem; grid-template-columns: 1fr; gap: .8rem; } }
  /* Praxis Portal und Honorarblick (Wlad 2026-10-22: „Die einzelnen Funktionen sollen untereinander stehen und eigene Sektionen
     haben (keine Karten)" · Pilot-Hinweis „keine Karte, mehr eine Zwischensektion. Der Hintergrund soll nicht
     herausstehen, nur Text und Knopf"). Für Honorarblick am selben Tag übernommen.
     - Sprungleiste statt Karten: dieselben Links, ohne Fläche, Rand und Schatten.
     - Jede Funktion ein eigener Abschnitt über die volle Breite, getrennt durch eine feine Linie:
       links Titel und Erläuterung, rechts die Merkmale. Keine Fläche, kein Rahmen, kein Schatten.
     - Pilot-Hinweis auf dem Seitengrund; hervor stehen allein der größere Satz und der Knopf. */
  .leistungen--sektionen .leistungskarten { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
  .leistungen--sektionen .lkarte { padding: .3rem 0; gap: .6rem; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .leistungen--sektionen .lkarte .lkarte__ic { width: 2rem; height: 2rem; border-radius: 9px; }
  .leistungen--sektionen .lkarte .lkarte__ic svg { width: 1.05rem; height: 1.05rem; }
  @media (hover: hover) and (pointer: fine) { .leistungen--sektionen .lkarte:hover { transform: none; box-shadow: none; text-decoration: underline; text-underline-offset: .2em; } }
  .leistungen--sektionen .leistungsliste { grid-template-columns: 1fr; gap: 0; margin-top: 1rem; }
  .leistungen--sektionen .ldetail { padding: clamp(2rem, 4vw, 3rem) 0; gap: 1.25rem; background: none; border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid rgba(12,35,64,.1); }
  .leistungen--sektionen .ldetail:last-child { border-bottom: 1px solid rgba(12,35,64,.1); }
  .leistungen--sektionen .ldetail:target { box-shadow: none; }
  .leistungen--sektionen .ldetail:target h3 { color: var(--teal-ink); }
  .leistungen--sektionen .ldetail h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
  .leistungen--sektionen .ldetail__text { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 4rem); row-gap: .7rem; align-items: start;
    grid-template-rows: auto 1fr; /* die höhere rechte Spalte dehnt Zeile 2, nicht den Abstand unter dem Titel */ }
  .leistungen--sektionen .ldetail__text > h3, .leistungen--sektionen .ldetail__text > p { grid-column: 1; }
  .leistungen--sektionen .ldetail__seite { grid-column: 2; grid-row: 1 / span 2; gap: .9rem; }
  .leistungen--sektionen .ldetail__merkmale { margin: .35rem 0 0; }
  .leistungen--sektionen .leistungen__aktion { margin-top: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 2.5rem) 0 0; border-radius: 0; background: none; box-shadow: none; }
  .leistungen--sektionen .leistungen__aktion .pilot { font-family: var(--sc-font-display); font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); line-height: 1.3; }
  @media (max-width: 860px) {
    .leistungen--sektionen .ldetail { padding: 1.75rem 0; }
    .leistungen--sektionen .ldetail__text { grid-template-columns: 1fr; grid-template-rows: none; }
    .leistungen--sektionen .ldetail__text > * { grid-column: 1; grid-row: auto; }
  }

  /* ===== Startseite als Firmen- und Visionsseite (2026-10-10, plaene/ENTW_startseite-vision.md) =====
     Einstieg und Höhepunkt „Aus vielem wird eins“ in EINEM scrub-Akt: das Video spult mit dem Scrollen,
     darüber echtes HTML. Die Zeilen stehen im selben Rasterfeld und lösen einander ab (data-sc-cue). */
  .wandel__buehne { background: var(--sc-canvas); }
  /* Ausschnitt rechts statt mittig (Wlad 2026-10-11): der Bildschirm, der am Ende allein auf dem Tresen steht, bleibt ganz im Bild */
  .wandel__buehne :is(video, .wandel__poster, .wandel__ruhe) { object-position: 85% 50%; }
  .wandel__ruhe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; }
  /* Heller Schleier nur dort, wo der Text steht (links); rechts bleibt das Bild unberührt */
  .wandel__schleier { position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(248,248,246,.94) 0%, rgba(248,248,246,.82) 30%, rgba(248,248,246,.35) 52%, rgba(248,248,246,0) 68%); }
  .wandel__text { position: absolute; inset: 0; z-index: 2; display: grid; align-items: center; box-sizing: border-box;
    padding: calc(var(--bar-h) + 1.5rem) var(--sc-gutter) 3rem; max-width: 76rem; margin-inline: auto; pointer-events: none; }
  .wandel__text > * { grid-area: 1 / 1; max-width: 36rem; }
  .wandel__einstieg { display: grid; gap: 1.1rem; justify-items: start; }
  .wandel__einstieg .gruss { max-width: 15ch; }
  .wandel__einstieg .lead { max-width: 34ch; }
  .wandel__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
  .wandel__zeile { margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem);
    line-height: 1.15; letter-spacing: -.01em; color: var(--navy); max-width: 20ch; text-wrap: balance; }
  .wandel__schluss { display: grid; gap: 1.4rem; }
  .wandel__zeile--schluss { max-width: 22ch; }
  /* Die drei Programme rasten am Ende ein (Wlad 2026-10-11: untereinander, gleich breit, eine klare Spalte). Jede Karte fliegt
     von rechts in die Spalte, eine nach der anderen; der Versatz schmilzt mit dem Fortschritt des Akts (--sc-p der Engine). */
  .haus { display: grid; grid-template-columns: minmax(0, 16rem); gap: .6rem; }
  .haus__kachel { --ab: .76; --dx: 72px; --dy: 0px; --rast: clamp(0, calc((var(--sc-p, 1) - var(--ab)) / .12), 1);
    display: flex; align-items: center; gap: .75rem; padding: .55rem 1rem .55rem .55rem;
    border-radius: 14px; background: #fff; border: 1px solid rgba(12,35,64,.1); box-shadow: var(--schatten);
    color: var(--navy); font-weight: 600; font-size: .98rem; text-decoration: none;
    transform: translate(calc(var(--dx) * (1 - var(--rast))), calc(var(--dy) * (1 - var(--rast)))); }
  .haus__kachel--hb { --ab: .80; }
  .haus__kachel--web { --ab: .84; }
  @media (hover: hover) and (pointer: fine) { .haus__kachel:hover { border-color: rgba(12,35,64,.28); } }
  /* Echte App-Symbole der Programme wie in der Sektion „Programme“ (Wlad 2026-10-11), nur kleiner und ohne Schlagschatten */
  .p-mark--haus { width: 2.2rem; height: 2.2rem; border-radius: 10px; flex: none; box-shadow: 0 4px 10px -6px rgba(12,35,64,.45); }
  .p-mark--haus.p-mark--hb { border-radius: 0; box-shadow: none; }
  .p-mark--haus.p-mark--portal { border-radius: 0; box-shadow: none; }
  @media (prefers-reduced-motion: reduce) {
    .wandel__ruhe { opacity: 1; }
    .haus__kachel { --rast: 1; }
    .wandel__buehne :is(video, .wandel__poster, .wandel__ruhe) { object-position: 88% 50% !important; }
  }
  @media (max-width: 860px) {
    /* Oben ein Schleier für Einstieg und Zeilen; zum Schluss blendet er aus und ein Schleier unten ein, denn der Schlusssatz mit
       den Karten steht am Handy unten auf der leeren Tischfläche. So bleibt der Bildschirm in der Bildmitte frei. */
    .wandel__schleier { --unten: clamp(0, calc((var(--sc-p, 0) - .7) / .06), 1); background: none; }
    .wandel__schleier::before, .wandel__schleier::after { content: ""; position: absolute; inset: 0; }
    .wandel__schleier::before { opacity: calc(1 - var(--unten));
      background: linear-gradient(180deg, rgba(248,248,246,.95) 0%, rgba(248,248,246,.86) 42%, rgba(248,248,246,.25) 66%, rgba(248,248,246,0) 80%); }
    .wandel__schleier::after { opacity: var(--unten);
      background: linear-gradient(0deg, rgba(248,248,246,.95) 0%, rgba(248,248,246,.9) 40%, rgba(248,248,246,.5) 50%, rgba(248,248,246,0) 58%); }
    .wandel__schluss { align-self: end; padding-bottom: .5rem; }
    /* Schmaler Ausschnitt, der während der Verwandlung nach rechts schwenkt: am Anfang Telefon und Fax, am Ende der ganze
       Bildschirm. Ohne --sc-p (vor dem Start der Engine) steht er am Anfang, passend zum Standbild. */
    .wandel__buehne :is(video, .wandel__poster, .wandel__ruhe) { --schwenk: clamp(0, calc((var(--sc-p, 0) - .45) / .3), 1);
      object-position: calc(74% + 14% * var(--schwenk)) 50%; }
    .wandel__text { align-items: start; padding-top: calc(var(--bar-h) + 1.25rem); }
    /* Bühne bis zur GROSSEN Höhe (Wlad 2026-11-09: „das Bild geht etwas nach unten und der Bildschirm ist nicht komplett
       von der Animation bedeckt“). Die Engine-Bühne ist 100svh hoch, also so hoch wie der Bildschirm MIT eingeblendeter
       Browserleiste. Klappt die Leiste beim Scrollen ein, wird der Bildschirm höher, und unter dem Bild erschien ein Streifen
       Seitenhintergrund. Das Bild reicht jetzt bis 100lvh (Leiste eingeklappt); die Schrift bleibt im immer sichtbaren
       Teil (100svh), damit der Schlusssatz mit den Karten bei eingeblendeter Leiste nicht darunter verschwindet. */
    .wandel .wandel__buehne { height: 100vh; height: 100lvh; }
    .wandel__text { bottom: auto; height: 100vh; height: 100svh; }
    .wandel__einstieg .gruss { font-size: 2.2rem; }
    .wandel__zeile { font-size: 1.55rem; }
    /* Die zwei Zeilen zwischen Einstieg und Schluss stehen mittig (Wlad 2026-11-09: „mehr mittig, nicht komplett in der
       Ecke“); Einstieg und Schluss bleiben linksbündig. */
    .wandel__zeile:not(.wandel__zeile--schluss) { justify-self: center; text-align: center; margin-top: 4svh; }
    .haus { gap: .45rem; grid-template-columns: minmax(0, 14rem); }
    .haus__kachel { --dx: 48px; font-size: .9rem; padding: .45rem .8rem .45rem .45rem; }
  }
  /* Handy im HOCHFORMAT: das Bild als Band unten, die Schrift darüber (Wlad 2026-11-10, Variante A: „Gibt es eine
     Möglichkeit, dass man das Bild in der Scroll-Animation mehr darstellen kann?“). Vollbild zeigte nur gut ein Viertel
     der Bildbreite; das Band (60 % der Höhe) zeigt bei 390 × 844 rund 43 %. Querformat-Handys behalten das Vollbild,
     dort bliebe über dem Band kein Platz für Schrift.
     - Solange der Einstieg steht (länger als die freie Fläche, gemessen bis ~488 px), reicht der helle Schleier bis unter
       die Knöpfe (::before). Danach gibt er das Band frei (::after: nur eine weiche Kante am Bandanfang).
     - Der Schlusssatz mit den Karten steht oben im hellen Bereich statt unten auf dem Bild: Unten verdeckte er den
       aufgeräumten Bildschirm, um den es am Ende geht. Deshalb entfällt hier der untere Schleier (--unten). */
  @media (max-width: 860px) and (orientation: portrait) {
    .wandel { --band: 60%; }
    /* Schwenk bis 96 % statt 88 %: Im Band ist mehr Breite zu sehen, am Ende steht der Bildschirm samt Pflanze ganz im Bild. */
    .wandel .wandel__buehne :is(video, .wandel__poster, .wandel__ruhe) { top: auto; bottom: 0; height: var(--band);
      object-position: calc(74% + 22% * var(--schwenk)) 50%; }
    /* Der Schleier gibt erst frei, wenn der Einstieg ausgeblendet ist (sonst scheinen Text und Knöpfe übers Bild). */
    .wandel__schleier { --frei: clamp(0, calc((var(--sc-p, 0) - .19) / .07), 1); }
    .wandel__schleier::before { opacity: calc(1 - var(--frei));
      background: linear-gradient(180deg, rgba(248,248,246,1) 0, rgba(248,248,246,1) calc(var(--bar-h) + 27.5rem), rgba(248,248,246,0) calc(var(--bar-h) + 31rem)); }
    .wandel__schleier::after { opacity: var(--frei);
      background: linear-gradient(180deg, rgba(248,248,246,1) 0, rgba(248,248,246,1) calc(100% - var(--band)), rgba(248,248,246,0) calc(100% - var(--band) + 7%)); }
    .wandel__schluss { align-self: start; padding-bottom: 0; }
  }

  /* Wofür wir stehen (Runde 34, Wlad 2026-10-27: „zu leer"): links der Kopf mit Einleitung, rechts vier Grundsätze
     als Zeilen mit je drei konkreten Punkten. Bewusst KEINE Karten — der Ausblick direkt darunter trägt Karten, zwei
     Kartenreihen hintereinander läsen sich als dieselbe Sektion. Keine zusätzlichen Grafiken, nur die vier Symbole. */
  .grundsaetze__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .grundsaetze__kopf { position: sticky; top: calc(var(--bar-h) + 2.5rem); margin-bottom: 0; }
  .grundsaetze__kopf p:last-child { font-size: 1.05rem; line-height: 1.6; color: var(--sc-ink-soft); max-width: 24rem; }
  .grundsaetze__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .grundsatz { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(1.25rem, 2.5vw, 2.25rem); align-items: start;
    padding: clamp(1.4rem, 3vh, 2rem) 0; border-bottom: 1px solid var(--line); }
  .grundsatz__ic { width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center; background: #eef1f5; color: var(--navy); }
  .grundsatz__ic svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .grundsatz__text { display: grid; gap: .45rem; }
  .grundsatz h3 { font-family: var(--sc-font-display) !important; font-weight: 700 !important; font-size: 1.2rem !important; line-height: 1.25; color: var(--navy); margin: .55rem 0 0; }
  .grundsatz p { font-size: .97rem; line-height: 1.55; margin: 0; }
  .grundsatz__punkte { list-style: none; margin: .55rem 0 0; padding: 0; display: grid; gap: .6rem; }
  .grundsatz__punkte li { display: flex; align-items: flex-start; gap: .65rem; font-size: .93rem; line-height: 1.45; color: var(--sc-ink-soft); }
  .grundsatz__punkte li::before { content: ""; flex: none; width: 1rem; height: 1rem; margin-top: .13rem; border-radius: 50%;
    background: radial-gradient(circle, var(--navy) 0 .25rem, transparent .27rem), color-mix(in srgb, var(--navy) 14%, transparent); }
  @media (max-width: 1040px) {
    .grundsaetze__raster { grid-template-columns: 1fr; gap: 2rem; }
    .grundsaetze__kopf { position: static; }
    .grundsaetze__kopf p:last-child { max-width: 36rem; }
  }
  @media (max-width: 680px) {
    .grundsatz { grid-template-columns: 2.75rem minmax(0, 1fr); }
    .grundsatz__punkte { grid-column: 2; margin-top: 0; }
  }

/* ── Honorarblick: Preise auf der Produktseite (2026-10-12) ──────────────────
   Beträge kommen aus lib/honorarblick-preise.ts (seiten-bauen.mjs). Petrol ist die
   Produktfarbe; Text in der Ink-Stufe #006a71, Flächen heller. */
.hbpreis { display: grid; gap: 1.4rem; }
.hbpreis h2 { margin: 0; }
.hbpreis__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.hbpreis__liste li { display: grid; align-content: start; gap: .25rem; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid rgba(0,106,113,.18); border-top: 2px solid #0e7c84; border-radius: 16px; }
.hbpreis__name { font-weight: 600; color: var(--navy); }
.hbpreis__betrag { font-size: 1.8rem; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.hbpreis__zusatz { font-size: .9rem; line-height: 1.45; color: #006a71; }
.hbpreis__hinweis { margin: 0; max-width: 46rem; font-size: .95rem; line-height: 1.6; color: var(--sc-ink-soft); }
.hbpreis__mehr { justify-self: start; font-weight: 600; color: #006a71; text-decoration: none; border-bottom: 1px solid rgba(0,106,113,.35); padding-bottom: .1rem; }
.hbpreis__mehr:hover { border-bottom-color: #006a71; }
.hbpreis__zeit { font-size: .85rem; color: var(--sc-ink-soft); margin-top: -.15rem; }
/* Portal-Seite (Wlad 2026-10-13): derselbe Block in Teal. Akzent als Fläche/Linie, Schrift in --teal-ink. */
.hbpreis--portal .hbpreis__liste li { border-color: rgba(9, 112, 103, .18); border-top-color: var(--teal); }
.hbpreis--portal .hbpreis__zusatz { color: var(--teal-ink); }
.hbpreis--portal .hbpreis__mehr { color: var(--teal-ink); border-bottom-color: rgba(9, 112, 103, .35); }
.hbpreis--portal .hbpreis__mehr:hover { border-bottom-color: var(--teal-ink); }

/* ═══════════════════════════════════════════════════════════════════════════
   Honorarblick-PRODUKTSEITE: Seiten-Branding auf Schwarz/INK (Auftrag 2026-10-21)
   Angleichung an die schwarze Honorarblick-PREISseite (components/
   HonorarblickPreiseClient.tsx, INK #161616 · PreisHeroLeuchten rgb 18,18,18).
   NUR Marketing-Chrome. Alles auf .seite--honorarblick gescopt, weil seite.css
   mit der Startseite (index.html, Body OHNE diese Klasse) und der Portal-Seite
   (.seite--portal) geteilt ist.
   BEWUSST PETROL/TÜRKIS gelassen (= das ECHTE Produkt, Wlad 2026-10-21):
     · App-Nachbauten (.hbk…, .hba…, .hbk-…) — erkennbare Fassung der echten App
     · kleine App-Abbilder (.abbild--honorar, .ah__…)
     · Produktpunkt .p-hb im Halo-Reel (Produkt-Identität neben dem echten
       Abbild; Web bleibt gold, Portal teal — ein schwarzer Punkt bräche die Reihe)
     · Portal-/Rezept-Szenen im geteilten Film (zeigen andere Produkte)
   ⚠️ Das offizielle Icon-SVG ist seit 2026-10-21 NICHT mehr türkis, sondern schwarz
   (#17191c, neue abstrakte H-Marke, Quelle lib/programm-icons.ts) — es bringt seine
   eigene Fläche mit und wird von diesem INK-Block nicht berührt.
   Ebenfalls unverändert: navy Überschriften (--navy), heller Seitengrund, der
   Petrol-Logo-Akzent und die Nav-CTA im Kopf (qa-preis-trennung erwartet Petrol
   im Header). INK = #161616. */

/* Hero-Glows (.hbkopf__grund): petrol/grün/gold Radial-Lichter → neutrale INK-
   Lichter. Schwarz trägt keine Farbe und liest schwerer als Petrol — Deckkraft
   darum gedämpft, damit der navy Titel/Fließtext darüber lesbar bleibt. */
.seite--honorarblick .hbkopf__grund { background: radial-gradient(55% 65% at 76% 48%, rgba(18,18,18,.07), transparent 70%), radial-gradient(45% 55% at 8% 92%, rgba(18,18,18,.05), transparent 70%); }
.seite--honorarblick .hbkopf__grund i:nth-child(1) { background: radial-gradient(circle, rgba(18,18,18,.12), transparent 66%); }
.seite--honorarblick .hbkopf__grund i:nth-child(2) { background: radial-gradient(circle, rgba(18,18,18,.09), transparent 66%); }
.seite--honorarblick .hbkopf__grund i:nth-child(3) { background: radial-gradient(circle, rgba(18,18,18,.10), transparent 66%); }
/* Hero-„Geist"-Karten: petrol/navy Schatten und Balken → neutral/INK */
.seite--honorarblick .hbkopf__geist { box-shadow: 0 20px 40px -28px rgba(18,18,18,.30), inset 0 0 0 1px rgba(18,18,18,.05); }
.seite--honorarblick .hbkopf__geist s { background: rgba(18,18,18,.08); }
.seite--honorarblick .hbkopf__geist s:first-child { background: rgba(18,18,18,.18); }
/* Offizielles Icon bleibt türkis — nur sein Schlagschatten wird neutral.
   (.produktkopf__app ist mit der Portal-Produktseite geteilt → zwingend gescopt.) */
.seite--honorarblick .produktkopf__app { filter: drop-shadow(0 6px 10px rgba(18,18,18,.22)); }

/* Primäre INHALTS-CTAs (Hero, Film-Hero, Leistungen) → INK, wie der schwarze
   Knopf auf der Preisseite. Die Nav-CTA (.cta-g/.mmenue__cta) bleibt navy. */
.seite--honorarblick .produktkopf__aktion .cta,
.seite--honorarblick .hero-cta .cta,
.seite--honorarblick .leistungen__aktion .cta--big { background: #161616; }
.seite--honorarblick .leistungen__aktion .cta--big { box-shadow: 0 16px 30px -14px rgba(18,18,18,.5); }
@media (hover: hover) and (pointer: fine) {
  .seite--honorarblick .produktkopf__aktion .cta:hover,
  .seite--honorarblick .hero-cta .cta:hover,
  .seite--honorarblick .leistungen__aktion .cta--big:hover { background: #2a2a2a; }
}

/* Leistungen-Sektion: Petrol-Akzente → INK (Karten-Symbol, CTA-Fläche, aktiver
   Leistungsblock, Haken der Merkmale, „So läuft's"-Link). */
.seite--honorarblick .leistungen--petrol .lkarte__ic { background: linear-gradient(160deg, #ececec, #dcdcdc); color: #161616; box-shadow: inset 0 -2px 0 rgba(18,18,18,.14); }
.seite--honorarblick .leistungen--petrol .leistungen__aktion { background: linear-gradient(160deg, #f4f4f3, #e7e7e4); box-shadow: inset 0 0 0 1px rgba(18,18,18,.16), 0 26px 50px -36px rgba(18,18,18,.4); }
.seite--honorarblick .leistungen--petrol .ldetail:target { box-shadow: 0 0 0 2px #161616, 0 12px 28px -24px rgba(18,18,18,.4); }
.seite--honorarblick .leistungen--petrol .ldetail__merkmale li::before { border-color: #161616; }
.seite--honorarblick .leistungen__ablauf { color: #161616; }
/* Abschnitte statt Karten: die Petrol-Regeln darüber sind spezifischer als .leistungen--sektionen und
   brächten Fläche und Ring der Karten zurück. Markierter Abschnitt trägt Schwarz statt Teal. */
.seite--honorarblick .leistungen--sektionen .leistungen__aktion { background: none; box-shadow: none; }
.seite--honorarblick .leistungen--sektionen .ldetail:target { box-shadow: none; }
.seite--honorarblick .leistungen--sektionen .ldetail:target h3 { color: #161616; }

/* Film: honorarblick-eigene Notiz (Quartalsende) + Abschlusszeile → INK.
   Die übrigen Film-Szenen (Portal, Rezept) behalten ihre Farben. */
.seite--honorarblick .hb__note .label { color: #161616; }
.seite--honorarblick .hb__note .schritte li.is-done i { background: #161616; border-color: #161616; }
.seite--honorarblick .hb__note .schritte li.is-now i { border-color: #161616; box-shadow: 0 0 0 4px rgba(18,18,18,.12); }
.seite--honorarblick .film-schluss { color: #161616; }

/* Honorarblick-Preisblock auf der Produktseite → INK (Rand, Zusatz, „mehr") */
.seite--honorarblick .hbpreis__liste li { border-color: rgba(18,18,18,.18); border-top-color: #161616; }
.seite--honorarblick .hbpreis__zusatz { color: #161616; }
.seite--honorarblick .hbpreis__mehr { color: #161616; border-bottom-color: rgba(18,18,18,.35); }
.seite--honorarblick .hbpreis__mehr:hover { border-bottom-color: #161616; }

/* ── Honorarblick: neutraler Seitengrund statt Beige (Wlad 2026-10-22: „Hintergrund muss zum Honorarblick-Stil
   passen“, auf Rückfrage „neutral statt Beige“). Schwarz bleibt Akzent. Der Film tönt den Grund am
   Quartalsende nach — dort in film.js ebenfalls neutral (HB_SEITE). */
html:has(body.seite--honorarblick), .seite--honorarblick { background: #eef0f1; }
/* „etwas Schwärze" (Wlad 2026-10-22): ein dunkler Schein oben links (wandert mit dem Film) und zwei feste,
   weiche Schattenflächen rechts und unten links. Alles in der fixierten Ebene hinter <main>, statisch. */
.seite--honorarblick .tageslicht i {
  background: radial-gradient(closest-side, rgba(18,18,18,.16), rgba(18,18,18,.07) 52%, rgba(18,18,18,0) 100%);
}
/* Der Abschluss-Schleier des Films war warm (248,245,240) und setzte über dem Grund eine helle Kante. */
.seite--honorarblick .film-scrim { background: rgba(232, 234, 236, .84);
  /* läuft nach unten aus, sonst steht am Ende der Bühne eine gerade Kante gegen die dunklen Flächen */
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.seite--honorarblick .tageslicht::before,
.seite--honorarblick .tageslicht::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.seite--honorarblick .tageslicht::before { right: -25vw; top: 15vh; width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, rgba(18,18,18,.13), rgba(18,18,18,.05) 55%, rgba(18,18,18,0) 100%); }
.seite--honorarblick .tageslicht::after { left: -20vw; bottom: -35vh; width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, rgba(18,18,18,.10), rgba(18,18,18,0) 100%); }

/* ── Praxis Portal: teal statt gold im Hintergrund (Wlad 2026-10-21) ──
   Navy und Gold gehören nicht aufs Portal — teal ist seine Farbwelt. Zwei warme
   Quellen werden auf Teal gekühlt, NUR auf .seite--portal (Startseite und
   Honorarblick-INK bleiben unberührt, obwohl sie dieselben Elemente nutzen):
   1) der seitenweite Morgenglanz (.tageslicht i),
   2) der warme Empfangs-Grund (.plate) über eine Farb-Mischebene, die die
      Helligkeit des Fotos erhält und nur den Farbton Richtung Teal dreht. */
.seite--portal .tageslicht i {
  background: radial-gradient(closest-side, rgba(15,168,155,.40), rgba(15,168,155,.16) 52%, rgba(15,168,155,0) 100%);
}
.seite--portal .plate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: #0fa89b; mix-blend-mode: color; opacity: .5;
}

/* ---- Technik: Anbieter-Dock (Wlad 2026-10-26, nach 21st „Techstack“) ----
   Kacheln wie App-Symbole, leicht verdreht und überlappend. Unter dem Zeiger wächst eine Kachel,
   die Reihe macht ihr Platz, ein Schild nennt den Namen. Gerechnet wird aus der Zeigerposition
   entlang der Reihe, nie aus dem Element unter dem Zeiger (die Kacheln überlappen und wachsen;
   ein Treffertest würde beim Wachsen die Kachel wechseln und flackern). */
.technik__kopf { margin-inline: auto; text-align: center; justify-items: center; }
.technik__kopf { max-width: 48rem; }
.technik__kopf p { color: var(--sc-ink-soft); max-width: 42rem; margin: 0; }
.technik__kopf a { color: var(--teal-ink); }
/* EINE Reihe, ohne Unterteilung (Wlad 2026-10-27). Über ihr liegt der Platz, in den die Kacheln beim
   Zeigen wachsen und in dem das Namensschild erscheint. */
/* 14 Kacheln ergeben 12,44 Kachelbreiten; zwischen 761 und 999 px darf eine Kachel deshalb höchstens rund 7 vw messen. */
.dock { --dock-g: clamp(54px, 7vw, 60px); display: grid; justify-items: center; gap: .6rem; }
.dock__gruppe { position: relative; display: grid; justify-items: center; padding-top: calc(var(--dock-g) * .47 + 1.8rem); }
.dock__reihe { list-style: none; margin: 0; padding: 0; display: flex; touch-action: pan-y; }
.dock__platz { position: relative; display: flex; }
.dock__platz + .dock__platz { margin-left: calc(var(--dock-g) * -.12); }
.dock__kachel { width: var(--dock-g); height: var(--dock-g); border-radius: 23%; display: grid; place-items: center; overflow: hidden; position: relative;
  transform-origin: 50% 100%; transform: rotate(var(--neig)); will-change: transform; user-select: none;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 1px 1.5px rgba(0,0,0,.16), 0 8px 18px -10px rgba(12,35,64,.35); }
.dock__kachel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.15), transparent); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.3); }
.dock__kachel img { object-fit: contain; display: block; }
.dock__ini { color: #fff; font-family: var(--sc-font-display); font-weight: 700; font-size: calc(var(--dock-g) * .44); line-height: 1; }
.dock__ini--zwei { font-size: calc(var(--dock-g) * .34); letter-spacing: -.02em; }
/* Oben verankert: die gewachsene Kachel endet 1,8 rem unter der Gruppenkante (= padding-top minus Hub). */
.dock__tip { position: absolute; left: 0; top: 1.8rem; z-index: 50; white-space: nowrap; pointer-events: none;
  padding: .3rem .65rem; border-radius: 7px; background: #fff; color: var(--navy); font-size: .82rem; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(12,35,64,.1), 0 6px 16px -8px rgba(12,35,64,.4); opacity: 0; transform: translate(-50%, calc(-100% - .45rem));
  transition: opacity 200ms var(--ease-brand); }
.dock__tip.is-auf { opacity: 1; }
.dock__tip.is-gleiten { transition: opacity 200ms var(--ease-brand), left 300ms var(--ease-brand); }
/* Schmale Fenster: umbrechen statt winziger Kacheln, ohne Wachsen (Touch hat keinen Zeiger, der über der Reihe schwebt). */
@media (max-width: 760px) {
  .dock { --dock-g: 54px; padding-top: 0; gap: 2.2rem; }
  .dock__gruppe { padding-top: 0; }
  .dock__reihe { flex-wrap: wrap; justify-content: center; gap: 14px 12px; max-width: 20rem; } /* 5 · 5 · 4 */
  .dock__platz + .dock__platz { margin-left: 0; }
  .dock__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dock__tip { transition: none; } }
/* Breite Fenster: größere Kacheln, damit die Reihe in der Breite der oberen Sektionen läuft (Wlad 2026-10-27). */
@media (min-width: 1000px) { .dock { --dock-g: clamp(60px, 5.2vw, 74px); } }

/* Einblick-Symbole im Grafikstil der Kopf-Illustrationen (Quelle: medistent-web/lib/einblick-symbole.ts).
   Mehrfarbig und fest eingefärbt: Das allgemeine .kachel__ic svg setzt stroke/fill für einfarbige
   Linien-Symbole — das würde hier jede Fläche ohne eigene Kontur umranden. */
.kachel__ic.kachel__ic--grafik { background: linear-gradient(160deg, #fffdf8, #f5eee1); color: inherit;
  box-shadow: inset 0 0 0 1px rgba(12,35,64,.08), 0 4px 10px -6px rgba(12,35,64,.35); }
.kachel__ic.kachel__ic--grafik svg { width: 1.75rem; height: 1.75rem; stroke: none; fill: none; }
