/* Emivita — Vorschlag für eine neue öffentliche Startseite (templates/startseite_vorschlag.html)
   ──────────────────────────────────────────────────────────────────────────
   Nur mit STARTSEITE_VORSCHLAG=1 ausgeliefert (app.startseite_vorschlag).
   Grundlage ist static/plus/start.css, die Startseite von Emivita Plus:
   gleiches Layout, gleicher Gerätrahmen, aber für Betroffene statt für Ärzte
   und nur mit dem, was im öffentlichen Produkt ohne Flags läuft. Alle Schriften
   lokal (fonts.css), keine fremden Hosts.

   Aufbau: 1. Grundlagen  2. Navigation  3. Titelband  4. Abschnitte
   5. Gerätrahmen und Datenerhebung  6. Module  7. Kontakt/Fuß
   8. Hallo und Befund (aus homepage.html)  9. Auftakt (Kopie)
   10. Ergänzungen dieser Seite: Sprache, Datenschutzkarten, Preise */

/* ── 1. Grundlagen ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Emivita */
  --gruen:      #1C5A45;
  --gruen-dk:   #134233;
  --salbei:     #9CB3A6;
  --salbei-hell:#E4ECE7;
  --salbei-txt: #5F7F6E;   /* Salbei, auf hellem Grund lesbar (≥ 4,5:1 auf Weiß nicht, daher nur groß/fett) */
  --creme:      #F3EFE6;
  --papier:     #FAF8F3;
  --weiss:      #FFFFFF;
  --tinte:      #15201C;
  --tinte-2:    #36423D;
  --grau:       #5E6863;
  --linie:      #E3DED3;
  --linie-2:    #ECE8DF;
  --warn-bg:    #F7EADB;
  --warn-txt:   #7A4318;
  --r-karte:    28px;
  --r-klein:    16px;
  --schatten:   0 1px 2px rgba(21,32,28,.04), 0 12px 32px rgba(21,32,28,.07);
  --schatten-h: 0 2px 6px rgba(21,32,28,.06), 0 28px 60px rgba(21,32,28,.14);

  /* Variablen, die der Auftakt aus homepage.html erwartet */
  --bg: #f6f4ee; --surface: #fffefb; --card: #fffefb;
  --border: #e7e2d6; --border-soft: #eee9dd;
  --accent: #1f5e54; --accent2: #2c7568; --teal: #1f5e54; --clay: #b7714e;
  --text: #1c211f; --text2: #3b423f; --muted: #6b716b; --faint: #9a9e96;
  --radius: 16px; --radius-sm: 12px;
  --shadow-lg: 0 18px 50px rgba(40,36,28,.10);
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.65; color: var(--tinte);
  background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--gruen); }
a:hover { color: var(--gruen-dk); }
:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2, h3, h4 { font-family: "Inter", -apple-system, sans-serif; color: var(--tinte); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.012em; }
p + p { margin-top: 14px; }

.augenbraue {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--gruen);
  margin-bottom: 14px;
}
.augenbraue::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--salbei); }
.einleitung { font-size: 19px; line-height: 1.6; color: var(--tinte-2); max-width: 720px; margin-top: 18px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em; }

.knopf {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.2;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.knopf-voll { background: var(--gruen); color: #fff; box-shadow: 0 6px 18px rgba(28,90,69,.25); }
.knopf-voll:hover { background: var(--gruen-dk); color: #fff; transform: translateY(-1px); }
.knopf-hell { background: var(--creme); color: var(--gruen); }
.knopf-hell:hover { background: #fff; color: var(--gruen-dk); }
.knopf-rand { border: 1.5px solid rgba(243,239,230,.55); color: var(--creme); }
.knopf-rand:hover { border-color: var(--creme); color: #fff; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ── 2. Navigation ─────────────────────────────────────────────────────── */
.pn-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 32px;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(21,32,28,.06);
  transition: box-shadow .25s ease, background .25s ease;
}
.pn-nav.pn-nav-schatten { background: rgba(255,255,255,.9); box-shadow: 0 6px 24px rgba(21,32,28,.08); }
.pn-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.pn-logo-zeichen {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: var(--gruen); display: flex; align-items: center; justify-content: center;
}
.pn-logo-wort { font-family: 'Marcellus', Georgia, serif; font-size: 19px; line-height: 1; white-space: nowrap; }
.pn-logo-unter { display: block; font-size: 11.5px; color: var(--grau); line-height: 1.2; margin-top: 3px; white-space: nowrap; }
.pn-links { display: flex; gap: 4px; list-style: none; }
.pn-links a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--tinte-2); text-decoration: none;
}
.pn-links a:hover { background: var(--salbei-hell); color: var(--gruen); }
.pn-nav .knopf { padding: 10px 18px; font-size: 14px; box-shadow: none; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1040px) { .pn-links { display: none; } }
@media (max-width: 640px) {
  .pn-nav { padding: 0 16px; height: 58px; }
  .pn-logo-unter { display: none; }
  .pn-nav .knopf { padding: 9px 14px; font-size: 13.5px; }
}
@media (max-width: 400px) { .pn-logo-wort { font-size: 17px; } .pn-nav .knopf { padding: 9px 12px; font-size: 13px; } }

/* ── 3. Titelband ──────────────────────────────────────────────────────── */
.titel { background: var(--gruen); color: var(--creme); position: relative; overflow: hidden; }
.titel-innen {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 40px;
}
.titel .augenbraue { color: var(--salbei); }
.titel .augenbraue::before { background: var(--creme); }
.titel h1 {
  color: #fff; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.1;
  font-weight: 700; letter-spacing: -.03em;
}
.titel h1 .leise { display: block; color: var(--salbei); font-weight: 600; }
.titel .einleitung { color: rgba(243,239,230,.88); }
.titel .knopf-voll { background: var(--creme); color: var(--gruen); box-shadow: none; }
.titel .knopf-voll:hover { background: #fff; color: var(--gruen-dk); }
.titel-buehne { position: relative; display: flex; justify-content: center; padding: 8px 0 32px; }
.titel-welle { display: block; width: 100%; height: 72px; margin-top: -1px; }
.titel-welle path { fill: var(--bg); }

/* Schwebende Karte am Telefon (Ausschnitt aus einem echten Screenshot) */
.schwebe {
  position: absolute; z-index: 2; background: #fff; color: var(--tinte);
  border-radius: 18px; box-shadow: var(--schatten-h);
  padding: 14px 16px; font-size: 13.5px; line-height: 1.45; max-width: 250px;
}
.schwebe b { display: block; font-size: 12px; color: var(--grau); font-weight: 600; margin-bottom: 4px; }
.schwebe-links { left: -8px; bottom: 90px; }
.schwebe-rechts { right: -12px; top: 70px; }
@media (max-width: 900px) {
  .titel-innen { grid-template-columns: 1fr; gap: 28px; padding-top: 72px; }
  .schwebe-links { left: 0; }
  .schwebe-rechts { right: 0; }
}
@media (max-width: 640px) {
  .schwebe { display: none; }
  .titel-welle { height: 40px; }
}

/* Kennzahlen unter dem Titel: nur, was im Code steht */
.fakten {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin-top: 8px;
}
.fakt { background: var(--weiss); border-radius: var(--r-klein); padding: 20px 22px; box-shadow: var(--schatten); }
.fakt-zahl { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--gruen); line-height: 1.1; }
.fakt-text { font-size: 14px; color: var(--tinte-2); line-height: 1.45; margin-top: 6px; }
@media (max-width: 900px) { .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .fakten { grid-template-columns: 1fr; } }

/* ── 4. Abschnitte ─────────────────────────────────────────────────────── */
.abschnitt { padding: 104px 0; }
.abschnitt-kopf { max-width: 780px; margin-bottom: 48px; }
.abschnitt-kopf.mitte { margin-left: auto; margin-right: auto; text-align: center; }
.abschnitt-kopf.mitte .einleitung { margin-left: auto; margin-right: auto; }
.flaeche-creme { background: var(--creme); }
.flaeche-weiss { background: var(--weiss); }
.flaeche-papier { background: var(--papier); }
@media (max-width: 640px) {
  .abschnitt { padding: 68px 0; }
  .abschnitt-kopf { margin-bottom: 32px; }
  body { font-size: 16px; }
  .einleitung { font-size: 17px; }
}

.tafel {
  background: var(--weiss); border-radius: var(--r-karte);
  box-shadow: var(--schatten); padding: 48px;
}
@media (max-width: 640px) { .tafel { padding: 26px 20px; border-radius: 22px; } }

/* ── 5. Gerätrahmen ────────────────────────────────────────────────────────
   Reiner CSS-Rahmen: Gehäuse, Bildschirm mit Statusleiste und Dynamic Island.
   Die Screenshots sind 390 × 797 CSS-Pixel groß (844 minus Statusleiste),
   also dasselbe Seitenverhältnis wie der Bildschirm unter der Statusleiste. */
.telefon {
  --b: 300px;
  position: relative; width: var(--b); flex-shrink: 0;
  aspect-ratio: 390 / 844;
  padding: calc(var(--b) * .034);
  border-radius: calc(var(--b) * .17);
  background: linear-gradient(145deg, #2b312e, #111513 55%, #262b28);
  box-shadow: inset 0 0 0 1.5px #3c4440, var(--schatten-h);
}
.telefon-schirm {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--b) * .136);
  background: #fffefb;
  display: flex; flex-direction: column;
}
.telefon-leiste {
  flex: 0 0 auto; height: calc(var(--b) * .1208); /* 47 von 390 */
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 calc(var(--b) * .085) 0 calc(var(--b) * .1);
  font-size: calc(var(--b) * .04); font-weight: 600; color: #111;
  background: #fffefb; position: relative;
}
.telefon-leiste::after {  /* Dynamic Island */
  content: ""; position: absolute; left: 50%; top: calc(var(--b) * .03);
  width: calc(var(--b) * .3); height: calc(var(--b) * .085);
  transform: translateX(-50%); border-radius: 999px; background: #0b0d0c;
}
.telefon-symbole { display: flex; gap: calc(var(--b) * .012); align-items: center; }
.telefon-symbole i { display: block; background: #111; border-radius: 1.5px; }
.telefon-symbole .bal { width: calc(var(--b) * .009); }
.telefon-symbole .akku {
  width: calc(var(--b) * .06); height: calc(var(--b) * .028);
  border-radius: calc(var(--b) * .008); background: transparent;
  box-shadow: inset 0 0 0 1px #111; position: relative; margin-left: calc(var(--b) * .01);
}
.telefon-symbole .akku::after {
  content: ""; position: absolute; inset: 2px; right: 30%; background: #111; border-radius: 1px;
}
.telefon-schirm img { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; object-position: top center; }
.telefon.klein { --b: 250px; }
.telefon.gross { --b: 320px; }
@media (max-width: 640px) {
  .telefon, .telefon.gross { --b: min(280px, 76vw); }
  .telefon.klein { --b: min(240px, 70vw); }
}

/* ── 5b. Datenerhebung: Umschalter mit Telefon ─────────────────────────── */
.erhebung.tafel { background: var(--papier); box-shadow: none; border: 1px solid var(--linie-2); }
.erhebung { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.erhebung-telefon { display: flex; justify-content: center; position: relative; }
.erhebung-telefon .telefon img { transition: opacity .25s ease; }
.erhebung-liste { list-style: none; display: grid; gap: 8px; }
.wahl {
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: start;
  padding: 16px 18px; border-radius: 20px; border: 1px solid transparent; background: none;
  transition: background .18s ease, border-color .18s ease;
}
.wahl:hover { background: var(--papier); }
.wahl[aria-selected="true"] { background: var(--salbei-hell); border-color: rgba(28,90,69,.12); }
.wahl-symbol {
  grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gruen); color: var(--creme);
}
.wahl-symbol svg { width: 22px; height: 22px; }
.wahl:nth-child(even) .wahl-symbol, li:nth-child(even) > .wahl .wahl-symbol { background: var(--salbei); color: var(--gruen-dk); }
.wahl-titel { font-weight: 700; font-size: 17px; line-height: 1.35; padding-top: 2px; }
.wahl-text { font-size: 15px; color: var(--tinte-2); line-height: 1.55; }
/* Ohne Skript stehen alle Beschreibungen offen; mit Skript nur die gewählte. */
.js .wahl:not([aria-selected="true"]) .wahl-text { display: none; }
@media (max-width: 900px) {
  .erhebung { grid-template-columns: 1fr; gap: 32px; }
  .erhebung-telefon { order: -1; }
}
.hinweis-synthetisch {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 28px; font-size: 13.5px; color: var(--grau); line-height: 1.5;
}
.hinweis-synthetisch svg { flex-shrink: 0; margin-top: 2px; }

/* ── 6. Module (in Plus: 7. Auswertungsmodule) ─────────────────────────────────────────────── */
.module { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.modul {
  background: var(--weiss); border-radius: var(--r-karte); box-shadow: var(--schatten);
  display: flex; flex-direction: column; overflow: hidden; min-width: 0;
}
.modul-text { padding: 36px 36px 26px; }
.modul-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 14px; }
.modul-nr {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; font-weight: 600;
  color: var(--gruen); background: var(--salbei-hell); border-radius: 8px; padding: 3px 8px;
}
.modul h3 { margin-bottom: 10px; }
.modul p { font-size: 15.5px; color: var(--tinte-2); line-height: 1.62; }
.modul-grenze {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--linie);
  font-size: 14px !important; color: var(--grau) !important;
}
.modul-grenze b { color: var(--tinte-2); }
/* Das Telefon ragt aus dem unteren Kartenrand — es zeigt den oberen Teil des Screenshots. */
.modul-bild {
  margin-top: auto; height: 380px; overflow: hidden; position: relative;
  display: flex; justify-content: center; align-items: flex-start; padding-top: 8px;
  background: linear-gradient(180deg, var(--weiss) 0%, var(--salbei-hell) 100%);
}
.modul-bild .telefon { --b: 280px; }
.modul-bild.papier { padding-top: 28px; }
.blatt {
  width: min(320px, 82%); aspect-ratio: 210 / 297; background: #fff; border-radius: 6px;
  box-shadow: var(--schatten-h); overflow: hidden; flex-shrink: 0;
}
.blatt img { width: 100%; height: auto; }
.modul.breit { grid-column: 1 / -1; flex-direction: row; }
.modul.breit .modul-text { flex: 1 1 55%; }
.modul.breit .modul-bild { flex: 0 0 42%; height: auto; min-height: 420px; margin-top: 0; padding-top: 36px; }
@media (max-width: 980px) {
  .module { grid-template-columns: 1fr; }
  .modul.breit { flex-direction: column; }
  .modul.breit .modul-bild { height: 380px; min-height: 0; }
}
@media (max-width: 640px) {
  .modul-text { padding: 26px 20px 20px; }
  .modul-bild { height: 330px; }
  .modul-bild .telefon { --b: min(260px, 72vw); }
}

/* ── 7. Kontakt und Fuß (dazu: zwei Telefone nebeneinander, Papierstapel) ──────────────────────────────────────────────── */
.kontakt {
  background: var(--gruen); color: var(--creme); border-radius: 32px;
  padding: 64px 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.kontakt h2 { color: #fff; }
.kontakt p { color: rgba(243,239,230,.9); margin-top: 16px; font-size: 17px; }
.kontakt .knopf-voll { background: var(--creme); color: var(--gruen); box-shadow: none; }
.kontakt .knopf-voll:hover { background: #fff; }
.kontakt-daten { font-size: 15px; line-height: 1.8; color: rgba(243,239,230,.92); }
.kontakt-daten a { color: #fff; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; padding: 40px 24px; border-radius: 24px; } }

.fuss { padding: 40px 0 36px; font-size: 13.5px; color: var(--grau); }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
/* Links auf die Inhaltsseiten (Ratgeber, Wissen) wie auf jeder Seite, eigene Zeile über dem Rechtlichen. */
.fuss-verstehen { flex-basis: 100%; font-size: 13px; line-height: 2; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fuss a { color: var(--grau); text-decoration: none; }
.fuss a:hover { color: var(--gruen); text-decoration: underline; }

/* Bildbeschriftung unter Screenshots */
.bildhinweis { font-size: 12.5px; color: var(--grau); text-align: center; margin-top: 14px; }


.modul-bild.zwei { gap: 16px; align-items: flex-start; padding-left: 12px; padding-right: 12px; }
.modul-bild.zwei .telefon { --b: 234px; }
.modul-bild.zwei .telefon.klein { --b: 206px; margin-top: 64px; }
@media (max-width: 640px) { .modul-bild.zwei .telefon.klein { display: none; } }

/* Arztbericht: zwei Berichtsseiten als Papierstapel */
.blaetter { position: relative; width: min(320px, 82%); }
.blaetter .blatt { width: 100%; position: relative; z-index: 1; }
.blaetter .blatt-hinten { position: absolute; top: 18px; left: 34px; z-index: 0; transform: rotate(3deg); opacity: .95; }

/* ── 8. Hallo und Befund: aus templates/homepage.html ──────────────────────
   #hallo und #hp-hero (.akte-*) der Produktseite, hier auf die Farben dieser
   Seite gebracht. Geändert: kein farbiger Pfeil am TSH-Wert (.akte-zeile.hoch
   fehlt), und die Kurvenbeschriftung steht ohne Versalien, weil „mU/l“ sonst
   zu „MU/L“ würde (Mega statt Milli, vgl. µg → ΜG). */
.hallo { max-width: 800px; margin: 0 auto; padding: 96px 40px 72px; }
.hallo-byline { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.hallo-avatar { width: 104px; height: 104px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
                border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(40,36,28,.16);
                background: linear-gradient(135deg,#ece7db,#d8d2c4); }
.hallo-name  { font-size: 17px; font-weight: 700; color: var(--text); }
.hallo-rolle { font-family: ui-monospace,"SF Mono",Menlo,Consolas,monospace;
               font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase;
               color: var(--muted); margin-top: 4px; }
.hallo .hallo-h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 500;
            font-size: clamp(27px, 4.2vw, 42px); line-height: 1.22;
            letter-spacing: -.5px; color: var(--text); margin: 0 0 18px; }
.hallo .hallo-h1 .hl-hallo { display: block; font-size: .58em; color: var(--muted);
                      letter-spacing: 0; margin-bottom: 12px; }
.hallo p { font-size: 17px; line-height: 1.7; color: var(--text2); margin: 0 0 14px; }
.hallo p + p { margin-top: 0; }
.hallo .hallo-dann { font-size: 19px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.hallo .knopf-reihe { margin-top: 28px; }
/* „Von einem Betroffenen für Betroffene“: Ollis eigene Symptome (13 von 38). */
.hallo-eigene { margin: 30px 0 6px; padding: 22px 24px 20px; background: var(--surface);
                border: 1px solid var(--border); border-radius: var(--radius); }
.hallo .hallo-eigene .hallo-eigene-tag { font-family: ui-monospace,"SF Mono",Menlo,Consolas,monospace;
                font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase;
                color: var(--accent); margin: 0 0 10px; line-height: 1.4; }
.hallo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.hallo-chips li { font-size: 13.5px; line-height: 1.3; color: var(--text2); background: var(--bg);
                  border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; }

.akte { max-width: 1120px; margin: 0 auto; padding: 24px 40px 96px; }
.akte-masthead {
  display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 1.1px; color: var(--muted);
  border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 34px;
}
.akte-masthead .ab-wer { display: inline-flex; align-items: center; gap: 10px; color: var(--text2); }
.ab-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
/* Die H1 ist eine Dokumentzeile, kein Banner (wie auf der Produktseite). */
.akte-titel {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: 0;
  color: var(--text2); max-width: 640px; margin: 0 0 40px;
}
.akte-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 64px; align-items: start; }
.akte-doc { border-top: 2px solid var(--text); padding-top: 12px; min-width: 0; }
.akte-kopf { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
             font-size: 11px; letter-spacing: .6px; color: var(--muted);
             text-transform: uppercase; margin-bottom: 18px; }
.akte-zeile { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto;
              gap: 12px; align-items: baseline;
              font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
              font-size: 13px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }
.akte-zeile .k { color: var(--text2); font-weight: 600; }
.akte-zeile .w { font-size: 16px; color: var(--text); font-weight: 600; }
.akte-zeile .r { font-size: 11px; color: var(--muted); white-space: nowrap; }
.akte-notiz { font-family: 'Caveat', cursive; font-size: 21px; color: #5c6b66;
              line-height: 1.35; margin: 22px 0 0; padding-left: 26px; position: relative; }
.akte-notiz::before { content: '✎'; position: absolute; left: 0; top: 2px; color: var(--faint); }
.akte-kurve { margin-top: 30px; border-top: 1px solid var(--border); padding-top: 14px; }
.akte-kurve-kopf { display: flex; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap;
                   font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
                   font-size: 10.5px; letter-spacing: .3px; color: var(--muted); margin-bottom: 10px; }
.akte-kurve-kopf.unten { margin: 8px 0 0; }
.akte-kurve svg { width: 100%; height: auto; display: block; }
.akte-text p { font-size: 16.5px; color: var(--text2); line-height: 1.68; margin: 0 0 16px; }
.akte-text p + p { margin-top: 0; }
.akte-fuss { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--border); }
.akte-sig { font-size: 13.5px; color: var(--muted); }
.akte-fuss .knopf-reihe { margin-top: 18px; }
@media (max-width: 900px) { .akte-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 700px) {
  .hallo { padding: 76px 16px 56px; }
  .hallo-avatar { width: 84px; height: 84px; }
  .hallo-byline { gap: 16px; }
  .hallo p { font-size: 16px; }
  .hallo .hallo-dann { font-size: 17.5px; }
  .hallo-eigene { padding: 18px 18px 16px; }
  .akte { padding: 8px 16px 72px; }
}
@media (max-width: 480px) {
  .akte-zeile { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px; font-size: 12px; }
  .akte-zeile .w { font-size: 14px; }
}

/* ── 9. Auftakt: Kopie aus templates/homepage.html ──────────────────────────
   Übernommen aus static/plus/start.css (dort Stand a8dc8a9 der Produktseite),
   ohne die Eckbeschriftungen. Die Navigation heißt hier .pn-nav statt nav.
   Änderungen an der Bühne der Produktseite hier nachziehen;
   tests/test_startseite_vorschlag.py prüft Morph-Koordinaten und Farben. */
/* clip statt hidden: hidden machte .hero-outer zum Scroll-Container, und .tg-pin
   würde nicht mehr anpinnen. Der Lichtschein (.tg-glow, inset −8 %) ragte sonst auf
   dem Handy rund 36 px über den Rand, die Seite ließ sich seitlich verschieben. */
.hero-outer { position: relative; overflow-x: clip; }
@keyframes hfIn { to { opacity: 1; } }

/* ── Auftritt: das Zeichen entfaltet sich, dann kommt die Wortmarke ─────── */
.tgw { transform-origin: 450px 200px; transform: scale(0);
       animation: tgwIn .5s cubic-bezier(.34,1.56,.64,1) 1.45s forwards; }
.tgw2 { animation-delay: 1.57s } .tgw3 { animation-delay: 1.65s } .tgw4 { animation-delay: 1.77s }
.tgb { transform-origin: 450px 200px; transform: scale(0);
       animation: tgwIn .45s cubic-bezier(.34,1.56,.64,1) 1.85s forwards; }
.tgd { transform-box: fill-box; transform-origin: center; transform: scale(0);
       animation: tgwIn .5s cubic-bezier(.34,1.56,.64,1) forwards; }
.tgd1 { animation-delay: 2.4s } .tgd2 { animation-delay: 2.75s } .tgd3 { animation-delay: 3.1s }
@keyframes tgwIn { to { transform: scale(1); } }

.tg-word { font-family: 'Marcellus', Georgia, serif; font-size: clamp(28px, 3.8vw, 38px);
           letter-spacing: .005em; margin-top: 12px; }
/* Auftritt sitzt auf dem inneren Element: eine CSS-Animation mit forwards
   gewinnt sonst gegen inline-Styles und der Scroll könnte nicht ausblenden. */
.tg-word-in { display: inline-block; opacity: 0;
              animation: tgFadeUp .6s ease-out 3.45s forwards; }
/* Der Auftakt-Satz: Serifenschrift der Wortmarke statt Handschrift, in den
   beiden Flügelfarben des Zeichens. Er steht vor dem Schmetterling. */
.tg-tag  { font-family: 'Marcellus', Georgia, serif; font-weight: 400;
           font-size: clamp(26px, 4.2vw, 48px); line-height: 1.16;
           letter-spacing: -.008em; margin: 0 auto 26px; max-width: 100%; }
.tg-tag > * { display: block; opacity: 0; }
.tg-t1 { color: #1C5A45; animation: tgFadeUp .7s ease-out .15s forwards; }
/* Salbei des hellen Flügels (146°), nur so weit abgedunkelt wie nötig:
   #9CB3A6 selbst käme auf dem Papierton nur auf 2:1. Dieser Ton trägt
   3,5:1 — über der Schwelle für große Schrift, und der Satz bleibt auch
   mobil bei 26 px groß genug, damit die gilt. */
.tg-t2 { color: #6A8A78; animation: tgFadeUp .7s ease-out .6s forwards; }
@keyframes tgFadeUp { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }

/* Navigation tritt erst nach dem Zeichen auf — der Auftritt bleibt sauber */
.pn-nav { opacity: 0; animation: tgNavIn .8s ease-out 3.2s forwards; }
@keyframes tgNavIn { to { opacity: 1 } }

/* ── Eigene Vollbild-Bühne: direkter Übergang aus dem Intro ── */
/* Scroll-Strecke: die Grafik bleibt angeheftet, während der Morph läuft */
.tg-scene { position: relative; height: 300svh; }
.tg-pin {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 104px 40px 88px; text-align: center;
}
@supports not (height: 100svh) {
  .tg-scene { height: 300vh; } .tg-pin { height: 100vh; }
}

/* ── Premium: ambienter Glow hinter der Bühne — rein optisch, rührt
   weder Scroll-Progress noch Morph-Pfad im JS an. ── */
.tg-glow {
  position: absolute; inset: -8%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(480px 360px at 30% 30%, rgba(31,94,84,.15), transparent 68%),
    radial-gradient(420px 340px at 72% 64%, rgba(183,113,78,.09), transparent 70%);
  filter: blur(6px);
  animation: tgGlowDrift 17s ease-in-out infinite alternate;
}
@keyframes tgGlowDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(1.5%,-2%,0) scale(1.06); }
}

.tg-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 600; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--faint);
}
.tg-scroll-in {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  opacity: 0; animation: hfIn 1s ease 5.1s forwards;
}
.tg-scroll svg { animation: tgBob 1.9s ease-in-out infinite; }
@keyframes tgBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.tg-wrap { width: 100%; max-width: min(1400px, 92vw); margin: 0 auto; }
.tg-svg  { max-height: 46svh; }
.tg-stage { perspective: 1100px; }
/* Bewusst KEIN will-change/preserve-3d: das promotet die Gruppen zu
   Texturen, die beim Hochskalieren sichtbar pixeln. Ohne Promotion
   zeichnet der Browser die Vektoren bei jeder Größe frisch. */
.tg-shadow { animation: tgShadow 4.2s ease-in-out infinite; transform-origin: 450px 326px; }
@keyframes tgShadow { 0%,100% { transform: scale(1); opacity: .8; }
                      50% { transform: scale(1.05); opacity: .6; } }
.tg-svg  { width: 100%; height: auto; display: block; overflow: visible; }
.tg-cap  { font-size: 13px; color: var(--muted); letter-spacing: .3px; margin: 6px 0 0;
           font-family: 'Fraunces', Georgia, serif; font-style: italic; opacity: .85; }

/* ── Anklickbare Körperfunktionen ──────────────────────────────────
   Die Bühne ist gepinnt (300svh Scrollstrecke): ein Seitenwechsel würde
   den Morph mitten in der Bewegung abreißen lassen und beim Zurück oben
   auf der Seite landen. Der Klick öffnet deshalb ein Panel auf der Bühne
   selbst; der Weg in die Tiefe steht darin als Link. */
.tg-pt   { pointer-events: none; cursor: pointer; }
/* Erst anklickbar, wenn die Drüse steht — render() schaltet frei. */
.tg-glandlink { pointer-events: none; cursor: pointer; }
.tg-glandhit  { fill: transparent; stroke: transparent; stroke-width: 2;
                transition: stroke .18s; }
.tg-glandlink:hover .tg-glandhit { stroke: rgba(255,255,255,.5); }
.tg-glandlink:focus { outline: none; }
.tg-glandlink:focus-visible .tg-glandhit { stroke: var(--accent); }
.tg-glandcue { font-family: Inter, system-ui, sans-serif; font-size: 10px;
               font-weight: 700; letter-spacing: 1.8px; fill: var(--accent);
               text-anchor: middle; opacity: 0; transition: opacity .18s; }
.tg-glandlink:hover .tg-glandcue,
.tg-glandlink:focus-visible .tg-glandcue { opacity: 1; }
@media (max-width: 700px) { .tg-glandcue { display: none; } }
.tg-hit  { fill: transparent; }
.tg-hit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* animation:none ist nötig — tgLit/tgLabel animieren fill und würden eine
   einfache Hover-Deklaration sonst überstimmen. */
.tg-pt:hover .tg-node, .tg-pt:focus-within .tg-node, .tg-pt.on .tg-node {
  animation: none; fill: var(--accent); }
.tg-pt:hover .tg-label, .tg-pt:focus-within .tg-label, .tg-pt.on .tg-label {
  animation: none; fill: var(--text); }
.tg-ringi { fill: none; stroke: var(--accent); stroke-width: 1.2;
            opacity: 0; transition: opacity .18s; }
.tg-pt:hover .tg-ringi, .tg-pt:focus-within .tg-ringi, .tg-pt.on .tg-ringi { opacity: .75; }

.tg-veil {
  position: absolute; inset: 0; z-index: 5; border: 0; padding: 0; margin: 0;
  background: radial-gradient(ellipse at 50% 62%, rgba(246,244,238,.86) 0%,
              rgba(246,244,238,.55) 45%, rgba(246,244,238,0) 78%);
  opacity: 0; transition: opacity .22s ease; cursor: default;
}
/* Solange das Panel offen ist, schrumpft die Grafik so weit, dass die
   unteren beiden Beschriftungen über der Karte bleiben. Wie weit, hängt
   von der Fensterhöhe ab — den Faktor rechnet fitStage() aus. Ankerpunkt
   ist die Oberkante, damit die Drüse oben stehen bleibt. */
.tg-wrap { transition: transform .28s ease; transform-origin: 50% 0; }
.tg-panel {
  position: absolute; z-index: 6; left: 50%; bottom: 40px;
  width: min(560px, calc(100% - 48px)); transform: translate(-50%, 10px);
  background: rgba(255,254,251,.82);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 22px 16px; text-align: left;
  max-height: calc(100% - 108px); overflow: auto;
  opacity: 0; transition: opacity .22s ease, transform .22s ease;
}
.tg-veil.open, .tg-panel.open { opacity: 1; }
.tg-panel.open { transform: translate(-50%, 0); }
.tg-panel-x {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
  color: var(--faint); font-size: 15px; line-height: 1;
}
.tg-panel-x:hover { background: rgba(16,24,40,.05); color: var(--text2); }
.tg-panel-eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--faint); margin-bottom: 7px;
}
.tg-panel-h { font-size: 18px; font-weight: 700; letter-spacing: -.3px;
              color: var(--text); margin: 0 0 7px; }
.tg-panel-p { font-size: 14px; line-height: 1.58; color: var(--text2); margin: 0; }
.tg-panel-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none;
}
.tg-panel-link:hover { text-decoration: underline; }
.tg-panel-fine { font-size: 11px; color: var(--faint); line-height: 1.45;
                 margin: 11px 0 0; padding-top: 9px; border-top: 1px solid var(--border-soft); }

/* Mobile Chips: unter 700px gibt es keine SVG-Knoten (siehe unten),
   die Textzeile ist dort der einzige Einstieg. */
.tg-chip {
  font: inherit; color: var(--accent); font-weight: 600;
  background: none; border: 0; border-bottom: 1px dashed rgba(31,94,84,.4);
  padding: 0 1px; cursor: pointer;
}
.tg-chip:active { color: var(--accent2); }

.tg-trachea    { fill: url(#tgTube); }
.tg-ring       { stroke: #d5ddd4; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.tg-gland-fill { fill: url(#tgGrad); }
.tg-gland-line { fill: none; stroke: #0e352e; stroke-width: 2; stroke-linejoin: round;
                 stroke-dasharray: 100; stroke-dashoffset: 100;
                 animation: tgDraw 1.7s cubic-bezier(.4,0,.2,1) .15s forwards,
                            tgLineRest 1.2s ease 2.1s forwards; }
.tg-conn  { fill: none; stroke: #cfd9cf; stroke-width: 1.6; }
.tg-sig   { fill: none; stroke: var(--accent2); stroke-width: 3.2; stroke-linecap: round;
            stroke-dasharray: 6 100; stroke-dashoffset: 0; opacity: 0;
            animation: tgFlow 5.4s linear infinite; animation-delay: calc(var(--i) * .4s); }
.tg-node  { fill: #9cb3a6; animation: tgLit 5.4s ease-out infinite, tgNodeGlow 5.4s ease-out infinite;
            animation-delay: calc(var(--i) * .4s + 1.95s), calc(var(--i) * .4s + 1.95s); }
@keyframes tgNodeGlow { 0% { filter: drop-shadow(0 0 0 rgba(31,94,84,0)); }
                        8% { filter: drop-shadow(0 0 7px rgba(31,94,84,.6)); }
                        60%,100% { filter: drop-shadow(0 0 0 rgba(31,94,84,0)); } }
.tg-pulse { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0;
            animation: tgPulse 5.4s ease-out infinite;
            animation-delay: calc(var(--i) * .4s + 1.95s); }
.tg-label { font-family: Inter, system-ui, sans-serif; font-size: 11.5px; font-weight: 600;
            letter-spacing: 1.7px; fill: var(--muted); text-anchor: middle;
            animation: tgLabel 5.4s ease-out infinite;
            animation-delay: calc(var(--i) * .4s + 1.95s); }
.tg-num   { font-family: Inter, system-ui, sans-serif; font-size: 8.5px; font-weight: 600;
            letter-spacing: 1.4px; fill: var(--faint); text-anchor: middle; opacity: .8; }
.tg-veins { stroke: #08221d; fill: none; stroke-linecap: round; }
.tg-breathe { transform-origin: 450px 205px; animation: tgBreathe 4.2s ease-in-out infinite; }

@keyframes tgDraw   { to { stroke-dashoffset: 0; } }
@keyframes tgLineRest { to { opacity: .3; } }
@keyframes tgBreathe{ 0%,100% { transform: scale(1); } 50% { transform: scale(1.022); } }
@keyframes tgFlow   { 0% { stroke-dashoffset: 0; opacity: 0; }
                      5% { opacity: 1; }
                      38% { stroke-dashoffset: -100; opacity: 1; }
                      45%,100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes tgPulse  { 0% { r: 7; opacity: .5; } 55%,100% { r: 20; opacity: 0; } }
@keyframes tgLit    { 0% { fill: #9cb3a6; } 8% { fill: #1f5e54; }
                      60%,100% { fill: #9cb3a6; } }
@keyframes tgLabel  { 0% { fill: #6b716b; } 8% { fill: #1c211f; }
                      60%,100% { fill: #6b716b; } }

/* Mobil: Beschriftungen als Textzeile unter der Grafik (im SVG zu klein) */
.tg-mobile { display: none; }
@media (max-width: 700px) {
  .tg-label, .tg-conn, .tg-sig, .tg-node, .tg-pulse,
  .tg-hit, .tg-ringi { display: none; }
  /* Röhre bei 250px unleserlich — die Drüsen-Silhouette allein trägt hier */
  .tg-trachea, .tg-ring, .tg-trail { display: none; }
  .tg-svg { max-width: 290px; margin: 0 auto; }
  .tg-scene { height: 240svh; }
  .tg-pin { height: 92svh; padding: 96px 24px 76px; }
  .tg-mobile { display: block; font-size: 13px; color: var(--muted);
               line-height: 1.9; max-width: 330px; margin: 14px auto 0; }
  .tg-mobile b { color: var(--accent); font-weight: 600; }
  .tg-panel { left: 12px; right: 12px; bottom: 12px; width: auto;
              transform: translateY(12px); padding: 20px 20px 18px; }
  .tg-panel.open { transform: translateY(0); }
  .tg-panel-h { font-size: 17.5px; }
  .tg-panel-p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .tg-gland-line { animation: none; stroke-dashoffset: 0; opacity: .3; }
  .tg-breathe, .tg-node, .tg-label, .tg-pulse, .tg-shadow, .tg-glow { animation: none; }
  .tg-scroll-in { animation: none; opacity: 1; }
  .tgw, .tgb, .tgd { animation: none; transform: none; }
  .tg-word-in, .tg-tag > *, .pn-nav { animation: none; opacity: 1; }
  .tg-scroll svg { animation: none; }
  .tg-scene { height: auto; }
  .tg-pin { position: static; height: auto; min-height: 100svh; }
  .tg-sig { animation: none; opacity: .5; stroke-dasharray: none; stroke-width: 2; }
  .tg-wrap, .tg-panel, .tg-veil { transition: none; }
}

/* ── 10. Ergänzungen dieser Seite ─────────────────────────────────────────── */

/* Navigation: rechts Sprachwahl, Anmelden und der Start-Knopf. Unter 420 px
   heißt der Knopf nur „Starten“, sonst passt die Leiste bei 320 px nicht. */
.pn-rechts { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sprache {
  font: 600 13px/1 "Inter", -apple-system, sans-serif; color: var(--tinte-2);
  background: none; border: 1px solid var(--linie); border-radius: 999px;
  padding: 8px 11px; cursor: pointer;
}
.sprache:hover { border-color: var(--gruen); color: var(--gruen); }
.pn-anmelden { font-size: 14px; font-weight: 600; color: var(--tinte-2); text-decoration: none; padding: 8px 6px; white-space: nowrap; }
.pn-anmelden:hover { color: var(--gruen); }
.pn-sd { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--tinte-2);
  text-decoration: none; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(44,117,104,.08); border: 1px solid rgba(44,117,104,.2); }
.pn-sd:hover { background: var(--salbei-hell); color: var(--gruen); }
/* Offizielles Apple-Abzeichen, unverändert. Apples Vorgaben: nicht umfärben, nicht verzerren,
   Mindesthöhe 40 px und ringsum ein Zehntel der Höhe frei lassen. */
.app-abzeichen { display: inline-flex; align-items: center; padding: 4.7px; line-height: 0; }
.app-abzeichen img { height: 47px; width: auto; display: block; }
.app-abzeichen:focus-visible { outline: 2px solid var(--creme); outline-offset: 3px; border-radius: 8px; }
.pn-sd svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: #1f5e54; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 370px) { .pn-sd span { display: none; } .pn-sd { padding: 7px 9px; } }
.pn-nav .knopf .kurz { display: none; }
@media (max-width: 640px) { .pn-anmelden { display: none; } }
@media (max-width: 420px) {
  .pn-nav .knopf .lang { display: none; }
  .pn-nav .knopf .kurz { display: inline; }
  .pn-rechts { gap: 8px; }
  .pn-nav { gap: 10px; }
}

/* Knöpfe auf hellem Grund */
.knopf-linie { border: 1.5px solid var(--gruen); color: var(--gruen); background: transparent; }
.knopf-linie:hover { background: var(--gruen); color: #fff; }
.knopf-text { font-size: 14.5px; color: var(--grau); text-decoration: none; }
.knopf-text:hover { color: var(--tinte); text-decoration: underline; }
.knopf-reihe { align-items: center; }

/* Titelband: Hier geht helles Papier voraus, deshalb auch oben eine Welle. */
.titel-welle.oben { margin: 0 0 -1px; }
.titel-welle.oben path { fill: var(--bg); }
.titel .titel-innen { padding-top: 48px; }
.titel h2 {
  color: #fff; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.1;
  font-weight: 700; letter-spacing: -.03em;
}
.titel h2 .leise { display: block; color: var(--salbei); font-weight: 600; }
.schwebe span { display: block; }
@media (max-width: 640px) {
  .titel .titel-innen { padding-top: 24px; }
  .titel-welle.oben { height: 40px; }
}

/* Module: Ort statt Prüfstatus */
.ort {
  display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
  background: var(--salbei-hell); color: var(--gruen);
  font-size: 12.5px; font-weight: 600; line-height: 1.4;
}
.modul p + p { margin-top: 12px; }
.modul-link { margin-top: 16px; }
.modul-link a { font-weight: 700; color: var(--gruen); text-decoration: none; }
.modul-link a:hover { text-decoration: underline; }
/* Die Halbwertszeit-Uhr steht vorn und hervorgehoben: grüner Rahmen, größere Überschrift. */
.modul.hervor { box-shadow: 0 0 0 2px var(--gruen), var(--schatten-h); }
.modul.hervor h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; }
.modul.hervor .modul-bild { background: linear-gradient(180deg, var(--salbei-hell) 0%, #cfdcd4 100%); }
.modul.hervor .modul-nr { background: var(--gruen); color: var(--creme); }
/* Untereinander gestapelt gilt sonst flex-basis 42 % statt der Höhe, und das Telefon
   stünde in voller Länge da. Die Uhr bekommt mehr Höhe, damit die Tabelle zu sehen ist. */
@media (max-width: 980px) {
  .modul.breit .modul-bild { flex: 0 0 auto; }
  .modul.hervor .modul-bild { height: 540px; }
}
@media (max-width: 640px) { .modul.hervor .modul-bild { height: 480px; } }

/* Datenschutz: vier Karten, darunter die Zweckbestimmung */
.vier { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.karte { background: var(--papier); border: 1px solid var(--linie-2); border-radius: 22px; padding: 24px 22px; min-width: 0; }
.karte-ort { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--salbei-txt); margin-bottom: 8px; }
.karte h3 { font-size: 19px; margin-bottom: 8px; }
.karte p + p { margin-top: 0; }
.karte p:not(.karte-ort) { font-size: 14.5px; color: var(--tinte-2); line-height: 1.58; }
@media (max-width: 1040px) { .vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .vier { grid-template-columns: 1fr; } }
.zweck { margin-top: 28px; border-radius: 22px; padding: 26px 28px 24px; background: var(--gruen); color: var(--creme); }
.zweck h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.zweck p { font-size: 15px; line-height: 1.62; color: rgba(243,239,230,.92); max-width: 920px; }
.zweck .zweck-fuss { font-size: 13.5px; color: rgba(243,239,230,.78); margin-top: 12px; }
@media (max-width: 640px) { .zweck { padding: 22px 20px; } }

/* Preise */
.preise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.preis {
  position: relative; background: var(--weiss); border-radius: var(--r-karte);
  box-shadow: var(--schatten); padding: 32px 28px 28px;
  display: flex; flex-direction: column; min-width: 0;
}
.preis p + p { margin-top: 0; }
.preis.empfohlen { box-shadow: 0 0 0 2px var(--gruen), var(--schatten-h); }
.preis-fahne {
  align-self: flex-start; padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
  background: var(--gruen); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.4;
}
.preis-fahne.leise { background: var(--salbei-hell); color: var(--gruen); }
.preis-name { font-size: 15px; font-weight: 700; color: var(--tinte-2); }
.preis-betrag { margin-top: 6px !important; }
.preis-zahl { font-size: 38px; font-weight: 700; letter-spacing: -.02em; color: var(--tinte); }
.preis-per { font-size: 15px; color: var(--grau); }
.preis-notiz { font-size: 14px; color: var(--grau); margin-top: 4px !important; }
.preis-liste { list-style: none; display: grid; gap: 9px; margin: 20px 0 26px; }
.preis-liste li { position: relative; padding-left: 30px; font-size: 15px; color: var(--tinte-2); line-height: 1.5; }
.preis-liste li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%23F3EFE6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.preis .knopf { margin-top: auto; justify-content: center; text-align: center; }
.preise-fein { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--grau); }
@media (max-width: 980px) { .preise { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }

/* Start: grüne Schlusskarte mit Olli */
.nach-oben { padding-top: 0; }
.kontakt .augenbraue { color: var(--salbei); }
.kontakt .augenbraue::before { background: var(--creme); }
.kontakt-olli { display: grid; gap: 10px; justify-items: start; }
.kontakt .kontakt-olli p { margin-top: 0; font-size: 15px; line-height: 1.5; }
.kontakt-olli img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(243,239,230,.4); }
.kontakt-olli b { color: #fff; }
.kontakt-olli a { color: #fff; font-weight: 700; text-decoration: none; }
.kontakt-olli a:hover { text-decoration: underline; }

/* Hinweis über dem Fuß (wie auf der Produktseite) */
.fuss-hinweis { border-top: 1px solid var(--linie); padding: 20px 16px 0; text-align: center; }
.fuss-hinweis p { font-size: 12.5px; color: var(--grau); max-width: 800px; margin: 0 auto; line-height: 1.6; }
.fuss-hinweis strong { color: var(--tinte-2); }

/* Mit Anker aufgerufen (etwa /#kontakt) steht die Navigation sofort. */
.pn-nav.sofort { animation: none; opacity: 1; }
