/* Quiet Hertz Shop. Werte aus DESIGN.md § 12. Hell und Dunkel (Entscheidung Robert 27.09.2026, Auftrag A § 3):
   Das Skript oben in basis.html setzt data-thema="hell|dunkel" auf <html>, bevor gemalt wird.
   Ohne JavaScript folgt die Seite dem Geraet (prefers-color-scheme). Kasse und Mails bleiben hell. */
:root {
  --grund: #f3f7f7;  --flaeche: #ffffff;
  --tinte: #10303a;  --tinte-leise: #4a6970;
  --wasser: #1f6f7c; --wasser-hell: #e2eff0;
  --robert: #a4503f; --robert-hell: #f7e9e3;
  --gut: #2f7a4f;    --gut-hell: #e4f2e9;
  --achtung: #8a5d0c; --achtung-hell: #fbf1dc;
  --fehler: #a3372e; --fehler-hell: #f8e6e4;
  --aus-hell: #edf1f2;
  --linie: rgba(16, 48, 58, 0.13);
  --feldrand: rgba(16, 48, 58, 0.55);      /* Rahmen von Bedienelementen: 3,4 : 1 (WCAG 1.4.11) */
  --knopf-hover: #1b4450;
  --schatten: rgba(16, 48, 58, 0.16);
  --kachel-licht: 1;                          /* Szenen-Kacheln im Dunkeln leicht gedimmt */
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --r-klein: 8px; --r-karte: 14px; --r-pult: 18px; --r-pille: 999px;
  --dauer: 220ms; --kurve: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
/* Dunkel = Nachtwelt. Zweimal derselbe Block: einmal per Umschalter/Uhrzeit, einmal ohne JavaScript nach Geraet. */
:root[data-thema="dunkel"] {
  --grund: #0b1118;  --flaeche: #14212a;
  --tinte: #f2f0e9;  --tinte-leise: #b6c3c6;
  --wasser: #63b8b7; --wasser-hell: #123236;
  --robert: #e8a595; --robert-hell: #2c1d1a;
  --gut: #86cfa0;    --gut-hell: #12291c;
  --achtung: #e6bd6c; --achtung-hell: #2b2312;
  --fehler: #f19488; --fehler-hell: #301816;
  --aus-hell: #1e2c35;
  --linie: rgba(242, 240, 233, 0.14);
  --feldrand: rgba(242, 240, 233, 0.40);
  --knopf-hover: #d9d6cc;
  --schatten: rgba(0, 0, 0, 0.45);
  --kachel-licht: 0.82;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-thema]) {
    --grund: #0b1118;  --flaeche: #14212a;
    --tinte: #f2f0e9;  --tinte-leise: #b6c3c6;
    --wasser: #63b8b7; --wasser-hell: #123236;
    --robert: #e8a595; --robert-hell: #2c1d1a;
    --gut: #86cfa0;    --gut-hell: #12291c;
    --achtung: #e6bd6c; --achtung-hell: #2b2312;
    --fehler: #f19488; --fehler-hell: #301816;
    --aus-hell: #1e2c35;
    --linie: rgba(242, 240, 233, 0.14);
    --feldrand: rgba(242, 240, 233, 0.40);
    --knopf-hover: #d9d6cc;
    --schatten: rgba(0, 0, 0, 0.45);
    --kachel-licht: 0.82;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--tinte); font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  transition: background-color 400ms ease, color 400ms ease; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--wasser); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, .knopf:focus-visible {
  outline: 2px solid var(--wasser); outline-offset: 3px; }
.mono, .zahl { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Tastatur: direkt zum Inhalt springen (Barrierefreiheit) */
.sprung { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--tinte); color: var(--flaeche); padding: 10px 16px; border-radius: var(--r-pille); font-weight: 600; text-decoration: none; }
.sprung:focus { top: 12px; }

/* Streifen oben: Testmodus */
.testmodus { background: var(--achtung-hell); color: var(--achtung); font-size: 0.8125rem; font-weight: 600; text-align: center; padding: 6px 16px; }

/* Rahmen */
.rahmen { max-width: 1040px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .rahmen { padding-inline: 24px; } }
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.kopf { flex-wrap: wrap; }
.marke { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--wasser); text-decoration: none; font-weight: 300; font-size: 1.0625rem; letter-spacing: 0.22em; }
.marke svg { width: 30px; height: 30px; flex: none; }
.navi { display: flex; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; font-size: 0.9375rem; }
.navi a { color: var(--tinte); text-decoration: none; padding: 10px 2px; }
.navi a:hover, .navi a[aria-current="page"] { color: var(--wasser); text-decoration: underline; }
/* Umschalter Hell/Dunkel: Automatisch -> Hell -> Dunkel. Ohne JavaScript unsichtbar (hidden). */
.thema-knopf { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linie); background: transparent;
  color: var(--tinte); display: grid; place-items: center; cursor: pointer; padding: 0; transition: border-color var(--dauer) var(--kurve); }
.thema-knopf:hover { border-color: var(--feldrand); }
.thema-knopf:focus-visible { outline: 2px solid var(--wasser); outline-offset: 3px; }
.thema-knopf svg { width: 20px; height: 20px; display: none; }
.thema-knopf[data-wahl="auto"] .i-auto, .thema-knopf[data-wahl="hell"] .i-hell, .thema-knopf[data-wahl="dunkel"] .i-dunkel { display: block; }
.thema-knopf[hidden] { display: none; }
@media (max-width: 560px) {
  .kopf { padding-block: 10px 0; row-gap: 4px; }
  .thema-knopf { order: 2; margin-left: auto; }
  .navi { order: 3; width: 100%; justify-content: space-between; gap: 0 10px; border-top: 1px solid var(--linie); font-size: 0.875rem; }
  .navi a { padding: 8px 0; }
}
main { padding-block: 24px 64px; display: flex; flex-direction: column; gap: 48px; }
.schmal { max-width: 640px; }

/* Schrift (DESIGN.md § 4) */
.etikett { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wasser); }
h1 { font-size: clamp(1.875rem, 6vw, 2.75rem); font-weight: 300; line-height: 1.14; letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; font-weight: 500; line-height: 1.25; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.lead { font-size: 1.125rem; color: var(--tinte-leise); max-width: 60ch; }
.leise { color: var(--tinte-leise); }
.klein { font-size: 0.875rem; }
.abschnitt { display: flex; flex-direction: column; gap: 16px; }
.text { max-width: 66ch; display: flex; flex-direction: column; gap: 12px; }

/* Knoepfe (DESIGN.md § 6) */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--r-pille); border: 1px solid var(--tinte); background: var(--tinte); color: var(--flaeche);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background var(--dauer) var(--kurve), transform var(--dauer) var(--kurve); }
.knopf:hover { background: var(--knopf-hover); border-color: var(--knopf-hover); }
.knopf:active { transform: scale(0.98); }
.knopf.zweit { background: transparent; color: var(--tinte); border-color: var(--feldrand); }
.knopf.zweit:hover { background: transparent; border-color: var(--tinte); }
.knopf[disabled], .knopf[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.knopf.breit { width: 100%; }
.leiser-knopf { background: none; border: 0; padding: 12px 4px; font: inherit; color: var(--wasser); text-decoration: underline; cursor: pointer; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Karten */
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.raster.zwei { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Preiskarte */
.preiskarte.empfohlen { border-color: var(--wasser); }
.preiskarte .preis { font-size: 2rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.preiskarte .knopf { margin-top: auto; }
.haken-liste { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.9375rem; }
.haken-liste li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.haken-liste li::before { content: ""; width: 12px; height: 7px; margin-top: 7px; border-left: 2px solid var(--wasser); border-bottom: 2px solid var(--wasser); transform: rotate(-45deg); }

/* Zusagen */
.zusagen { display: grid; gap: 16px 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); counter-reset: z; }
.zusage { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.zusage::before { counter-increment: z; content: counter(z); font-family: var(--mono); color: var(--wasser); font-size: 0.875rem; padding-top: 2px; }
.zusage b { display: block; font-weight: 600; }
.zusage span { color: var(--tinte-leise); font-size: 0.9375rem; }

/* Szenen-Kachel pro Modus (DESIGN.md § 3) */
.kachel { filter: brightness(var(--kachel-licht)); aspect-ratio: 16 / 9; max-width: 100%; border-radius: 10px; position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255, 255, 255, 0.9); }
.kachel svg { width: 34%; height: auto; opacity: 0.85; }
.kachel.fokus { background: linear-gradient(180deg, #f4f8f8 0%, #d6e6e8 50%, #b3cfd4 50%, #6f9ba4 100%); color: #1f6f7c; }
.kachel.entspannen { background: linear-gradient(180deg, #f8e8d9 0%, #efc0a6 50%, #d69d8b 50%, #946269 100%); color: #fff7f1; }
.kachel.schlafen { background: linear-gradient(180deg, #060b22 0%, #17224d 50%, #101a3e 50%, #050918 100%); color: #b6c4ff; }
.kachel.paket { background: linear-gradient(90deg, #6f9ba4 0 33%, #946269 33% 66%, #17224d 66%); }
.produkt-meta { font-family: var(--mono); font-size: 0.8125rem; color: var(--tinte-leise); }
.preiszeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.preiszeile b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.bald { font-size: 0.8125rem; font-weight: 600; color: var(--achtung); background: var(--achtung-hell); border-radius: var(--r-pille); padding: 2px 10px; align-self: flex-start; }

/* Hinweisboxen */
.hinweis { border-radius: var(--r-karte); padding: 14px 16px; background: var(--wasser-hell); display: flex; flex-direction: column; gap: 6px; }
.hinweis.achtung { background: var(--achtung-hell); }
.hinweis.gut { background: var(--gut-hell); }
.hinweis.gut strong { color: var(--gut); }
.hinweis.fehler { background: var(--fehler-hell); }
.hinweis.fehler strong { color: var(--fehler); }

/* Bestelluebersicht */
.posten { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.posten dt { color: var(--tinte-leise); }
.posten dd { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.posten .summe { border-top: 1px solid var(--linie); padding-top: 8px; }

/* Formulare (DESIGN.md § 6) */
form { display: flex; flex-direction: column; gap: 20px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label, .feld legend { font-weight: 600; font-size: 0.9375rem; }
.feld .hilfe { font-size: 0.875rem; color: var(--tinte-leise); }
input[type="email"], input[type="text"], textarea { font: inherit; color: var(--tinte); background: var(--flaeche); border: 1px solid var(--feldrand); border-radius: var(--r-klein); padding: 11px 12px; min-height: 48px; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--fehler); }
.feldfehler { color: var(--fehler); font-size: 0.875rem; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.wahl { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--feldrand); border-radius: var(--r-klein); background: var(--flaeche); cursor: pointer; }
.wahl input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--tinte); flex: none; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--achtung-hell); border-radius: var(--r-karte); cursor: pointer; }
.zustimmung input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--tinte); flex: none; }

/* Konto */
.status { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border-radius: var(--r-pille); padding: 2px 10px; }
.status.aktiv { background: var(--gut-hell); color: var(--gut); }
.status.test { background: var(--wasser-hell); color: var(--wasser); }
.status.endet { background: var(--achtung-hell); color: var(--achtung); }
.status.aus { background: var(--aus-hell); color: var(--tinte-leise); }
.liste-ruhig { list-style: none; padding: 0; display: flex; flex-direction: column; }
.liste-ruhig li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-block: 10px; border-top: 1px solid var(--linie); flex-wrap: wrap; }
.liste-ruhig li:first-child { border-top: 0; }

/* Robert spricht */
.robert { background: var(--robert-hell); border-radius: var(--r-karte); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; max-width: 66ch; }
.robert .von { color: var(--robert); font-weight: 600; font-size: 0.875rem; }
/* Robert mit rundem Portrait (Startseite, Ueber uns). Schmal: Bild oben, breit: Bild links. */
.robert.mit-bild { max-width: none; flex-direction: row; align-items: center; gap: 28px; padding: 24px 28px; }
.robert.mit-bild .bild { flex: none; width: 200px; height: 200px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 5px var(--flaeche), 0 10px 28px var(--schatten); }
.robert.mit-bild .worte { display: flex; flex-direction: column; gap: 8px; max-width: 60ch; }
@media (max-width: 640px) {
  .robert.mit-bild { flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px; }
  .robert.mit-bild .bild { width: 168px; height: 168px; }
}

/* Pflichthinweis und Fuss (DESIGN.md § 6) */
.pflicht { font-size: 0.8125rem; color: var(--tinte-leise); border-left: 2px solid var(--linie); padding-left: 12px; max-width: 72ch; }
.fuss { border-top: 1px solid var(--linie); padding-block: 24px 40px; display: flex; flex-direction: column; gap: 16px; font-size: 0.875rem; color: var(--tinte-leise); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fuss nav a { color: var(--tinte-leise); padding-block: 8px; }
.fuss nav a.kuendigen { color: var(--tinte); font-weight: 600; }
.fuss .umgesetzt {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  color: inherit; text-decoration: none; opacity: 0.55; transition: opacity var(--dauer) var(--kurve);
}
.fuss .umgesetzt:hover, .fuss .umgesetzt:focus-visible { opacity: 1; }
.fuss .umgesetzt span { font-family: var(--mono); font-size: 0.625rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; }
.fuss .umgesetzt img { height: 16px; width: auto; display: block; }
.fuss .umgesetzt img.logo-dunkel { display: none; }
:root[data-thema="dunkel"] .fuss .umgesetzt img.logo-hell { display: none; }
:root[data-thema="dunkel"] .fuss .umgesetzt img.logo-dunkel { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-thema]) .fuss .umgesetzt img.logo-hell { display: none; }
  :root:not([data-thema]) .fuss .umgesetzt img.logo-dunkel { display: block; }
}

/* Rechtstexte */
.recht h2 { font-size: 1.25rem; margin-top: 12px; }
.platzhalter { background: var(--achtung-hell); color: var(--achtung); font-weight: 600; padding: 0 4px; border-radius: 4px; }

/* Postausgang */
.mail { white-space: pre-wrap; font-family: var(--mono); font-size: 0.8125rem; background: var(--grund); border-radius: var(--r-klein); padding: 12px; overflow-x: auto; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .testmodus, .kopf, .fuss, .knopfreihe { display: none; } body { background: #fff; color: #10303a; } }

/* Web-Player (hoeren.html) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spieler { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 2; gap: 14px; }
.spieler-kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.spieler-kopf h2 { font-size: 1.25rem; }
.play-knopf { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--tinte); background: var(--tinte); color: var(--flaeche); display: grid; place-items: center; cursor: pointer; transition: transform var(--dauer) var(--kurve); }
.play-knopf svg { width: 26px; height: 26px; fill: currentColor; }
.play-knopf:active { transform: scale(0.96); }
.play-knopf[disabled] { opacity: 0.35; cursor: default; }
.play-knopf:focus-visible, .chip-knopf:focus-visible { outline: 2px solid var(--wasser); outline-offset: 3px; }
input[type="range"] { width: 100%; accent-color: var(--wasser); min-height: 32px; }
.zeitzeile { display: flex; justify-content: space-between; gap: 8px; font-size: 0.8125rem; color: var(--tinte-leise); }
.feld-titel { font-weight: 600; font-size: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-knopf { font: inherit; font-size: 0.875rem; font-weight: 500; min-height: 40px; padding: 0 14px; border-radius: var(--r-pille); border: 1px solid var(--linie); background: var(--flaeche); color: var(--tinte); cursor: pointer; }
.chip-knopf[aria-pressed="true"] { background: var(--tinte); color: var(--flaeche); border-color: var(--tinte); }

/* Textseiten: Wissen, Fragen, Ueber uns, Kontakt */
.text-seite section { display: flex; flex-direction: column; gap: 10px; }
.text-seite h2 { margin-top: 12px; }
.text-seite p { max-width: 66ch; }
.inhaltsverzeichnis { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 14px 16px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); font-size: 0.9375rem; }
.inhaltsverzeichnis a { padding-block: 6px; }
.quellen { font-size: 0.875rem; color: var(--tinte-leise); }
.baender { margin: 0; display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 8px 16px; }
.baender dt { font-family: var(--mono); font-size: 0.875rem; padding-top: 2px; }
.baender dd { margin: 0; color: var(--tinte-leise); }
@media (max-width: 520px) { .baender { grid-template-columns: minmax(0, 1fr); } .baender dd { margin-bottom: 8px; } }
.faq { border-top: 1px solid var(--linie); }
.faq:last-child { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.25rem; color: var(--wasser); }
.faq[open] summary::after { content: "–"; }
.faq summary h3 { display: inline; font-size: 1.0625rem; font-weight: 600; }
.faq p { padding-bottom: 14px; color: var(--tinte-leise); }
.faq-gruppe { gap: 0 !important; }
.faq-gruppe h2 { margin-bottom: 8px; }
.gross { font-size: 1.25rem; font-weight: 600; }
.schritte { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; max-width: 66ch; }
.karte-link { text-decoration: none; color: var(--tinte); transition: border-color var(--dauer) var(--kurve); }
.karte-link:hover { border-color: var(--wasser); }

/* Eingebettete Stripe-Kasse (kasse.html): Platz halten, damit die Seite beim Laden nicht springt */
.kasse-rahmen { min-height: 420px; margin-block: 16px; }

/* ---------------------------------------------------------------------------------------------------------------
   Designkonzept v2 (28.09.2026): Website und Player sind eine Welt. Startseite = drei Bildfelder, eins bekommt den Raum.
   Bilder sind KI-erzeugt und werden am Bild so gekennzeichnet (DESIGN.md § 7). Text auf Bildern immer weiss ueber Verlauf. */

/* Menue als ruhige Pillen, aktuelle Seite hinterlegt */
.navi { gap: 2px; }
.navi a { padding: 8px 12px; border-radius: var(--r-pille); color: var(--tinte-leise); }
.navi a:hover, .navi a[aria-current="page"] { color: var(--tinte); background: var(--wasser-hell); text-decoration: none; }
@media (max-width: 560px) { .navi a { padding: 8px 8px; } }

/* Uebergang Startseite -> Player: das Motiv des offenen Feldes wird zur Szene (View Transitions, sonst normaler Seitenwechsel) */
@view-transition { navigation: auto; }
::view-transition-group(qh-szene), ::view-transition-group(qh-titel) { animation-duration: 560ms; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

.held { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 880px) { .held { gap: 40px; } }
.einstieg { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 40px; }
.einstieg .lead { max-width: 36ch; font-size: 1rem; }
@media (min-width: 880px) { .einstieg .lead { font-size: 1.0625rem; } }

.felder { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 880px) { .felder { flex-direction: row; gap: 10px; } }
.bildfeld { container-type: inline-size; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-pult); background: #0d1a22;
  flex: none; height: 52px; transition: height 450ms var(--kurve), flex-grow 450ms var(--kurve); }
.bildfeld:has(.feld-radio:checked) { height: 404px; }
/* feste Hoehe statt stretch: im fieldset uebernehmen Flex-Kinder die Hoehe des Containers nicht */
@media (min-width: 880px) { .bildfeld, .bildfeld:has(.feld-radio:checked) { flex: 1 1 0; min-width: 0; height: clamp(460px, 64vh, 620px); } .bildfeld:has(.feld-radio:checked) { flex-grow: 2.6; } }
.feld-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); z-index: -3;
  filter: brightness(var(--kachel-licht)); transform: scale(1.06); transition: transform 1.2s var(--kurve); }
.bildfeld:has(.feld-radio:checked) .feld-bild { transform: none; view-transition-name: qh-szene; }
.bildfeld:not(:has(.feld-radio:checked)):hover .feld-bild { transform: scale(1.1); }
.bildfeld::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 12, 18, .3) 0%, rgba(4, 12, 18, 0) 32%, rgba(4, 12, 18, .08) 52%, rgba(4, 12, 18, .66) 100%); }
.feld-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.feld-wahl { position: absolute; inset: 0; z-index: 1; cursor: pointer; color: #fff; padding: 0 20px; display: flex; align-items: center; gap: 12px; }
.feld-wahl .name { font-size: 1.125rem; font-weight: 500; order: -1; white-space: nowrap; }
.feld-wahl .wann { font-size: 0.75rem; color: rgba(255, 255, 255, .82); margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (min-width: 880px) {
  .feld-wahl { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 2px; padding: 18px; }
  .feld-wahl .name { order: 0; font-size: 1.25rem; font-weight: 400; }
  .feld-wahl .wann { margin-left: 0; font-size: 0.8125rem; white-space: normal; }
}
.bildfeld:has(.feld-radio:checked) .feld-wahl { pointer-events: none; }
.bildfeld:has(.feld-radio:checked) .feld-wahl span { opacity: 0; }
.feld-wahl span { transition: opacity 250ms ease; }
.feld-radio:focus-visible ~ .feld-wahl { outline: 2px solid #fff; outline-offset: -6px; border-radius: var(--r-pult); }

.feld-inhalt { --pad: 20px; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #fff; padding: var(--pad); display: flex; flex-direction: column;
  align-items: flex-start; gap: 8px; visibility: hidden; opacity: 0; transform: translateY(12px);
  transition: opacity 380ms var(--kurve), transform 520ms var(--kurve), visibility 0s linear 380ms; }
@media (min-width: 880px) { .feld-inhalt { --pad: clamp(24px, 3vw, 40px); gap: 14px; } }
.bildfeld:has(.feld-radio:checked) .feld-inhalt { visibility: visible; opacity: 1; transform: none; transition-delay: 220ms, 220ms, 0s; }
.feld-inhalt .etikett { color: rgba(255, 255, 255, .86); }
.feld-inhalt { text-shadow: 0 1px 14px rgba(4, 12, 18, .28); }
/* Morgenbild ist hell (Sonne am Horizont): kraeftigerer Verlauf, damit weisse Schrift lesbar bleibt */
.bildfeld[data-ziel="aufwachen"]::after { background: linear-gradient(180deg, rgba(4, 12, 18, .26) 0%, rgba(4, 12, 18, .24) 30%, rgba(4, 12, 18, .4) 55%, rgba(4, 12, 18, .76) 100%); }
.feld-inhalt h2 { font-weight: 200; font-size: clamp(2.375rem, 7vw, 4.25rem); line-height: 1; letter-spacing: -0.02em; }
/* Lange Namen („Runterkommen“) passen in die Feldbreite: --zeichen kommt aus der Vorlage, 0,58 em je Zeichen (Manrope 200,
   gemessen 0,47–0,55) plus Reserve. cqi = Breite des Bildfelds (container-type oben). Ohne Container-Einheiten gilt die Zeile davor. */
@supports (width: 1cqi) {
  .feld-inhalt h2 { font-size: min(clamp(2.375rem, 7vw, 4.25rem), calc((100cqi - 2 * var(--pad)) / (var(--zeichen, 9) * 0.58))); }
}
.bildfeld:has(.feld-radio:checked) .feld-inhalt h2 { view-transition-name: qh-titel; }
.feld-inhalt .satz { max-width: 42ch; color: rgba(255, 255, 255, .88); font-size: 0.9375rem; line-height: 1.5; }
@media (min-width: 880px) { .feld-inhalt .satz { font-size: 1rem; } }
.feld-inhalt .hz { font-size: 0.8125rem; color: rgba(255, 255, 255, .8); }
.feld-dauer { border: 0; margin: 0; padding: 0; display: flex; flex-direction: row; gap: 8px; }
.feld-dauer label { position: relative; cursor: pointer; font-weight: inherit; }
.feld-dauer input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.feld-dauer span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pille); font-size: 0.875rem;
  font-weight: 500; font-variant-numeric: tabular-nums; color: #fff; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background var(--dauer) var(--kurve), color var(--dauer) var(--kurve); }
.feld-dauer span { white-space: nowrap; }
@media (max-width: 379px) { .feld-dauer span { padding: 0 12px; } }   /* 320-px-Handys: drei Knöpfe in einer Zeile */
.feld-inhalt .nur-abo { margin-top: -4px; font-size: 0.75rem; color: rgba(255, 255, 255, .8); }
.feld-inhalt .nur-abo.betont { font-size: 0.8125rem; color: #fff; }
.feld-inhalt .nur-abo a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.feld-dauer label.gesperrt { cursor: not-allowed; }
.feld-dauer label.gesperrt span { opacity: .42; }   /* Abo-Laenge ohne Abo: ausgegraut, nicht waehlbar */
.feld-dauer input:checked + span { background: #fff; color: #10303a; border-color: #fff; font-weight: 600; }
.feld-dauer input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.feld-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 2px; }
.feld-los { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px 0 20px; border: 0; border-radius: var(--r-pille);
  background: #fff; color: #10303a; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform var(--dauer) var(--kurve), box-shadow var(--dauer) var(--kurve); }
.feld-los:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0, 0, 0, .26); }
.feld-los:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.feld-los svg { width: 16px; height: 16px; }
.feld-experte { color: #fff; font-size: 0.9375rem; padding-block: 12px; text-underline-offset: 4px; }
.feld-experte:focus-visible { outline-color: #fff; }
.bildfeld > .ki-hinweis { position: absolute; top: 12px; right: 14px; z-index: 2; opacity: 0; transition: opacity 400ms 300ms; }
.bildfeld:has(.feld-radio:checked) > .ki-hinweis { opacity: 1; }
.ki-hinweis { font-size: 0.75rem; color: rgba(255, 255, 255, .8); letter-spacing: .02em; pointer-events: none; }

/* Wellenringe: einmal beim Oeffnen, vom Tropfen im Bild aus */
.feld-ringe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; overflow: visible; }
.feld-ringe ellipse { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1; transform-box: fill-box; transform-origin: center; opacity: 0; }
.feld-ringe.laeuft ellipse { animation: qh-ring 3.2s var(--kurve) forwards; }
@keyframes qh-ring { 0% { opacity: 0; transform: scale(.08); } 12% { opacity: .75; } 100% { opacity: 0; transform: scale(1); } }
.felder-hinweis { margin-top: -6px; }

/* Ohne :has() (sehr alte Browser): alle drei Felder offen untereinander */
@supports not selector(:has(a)) {
  .felder { height: auto !important; flex-direction: column !important; }
  .bildfeld { height: 404px !important; flex: none !important; }
  .feld-inhalt { visibility: visible; opacity: 1; transform: none; }
  .feld-wahl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bildfeld, .feld-bild, .feld-inhalt { transition: none !important; }
  .feld-bild, .bildfeld:not(:has(.feld-radio:checked)):hover .feld-bild { transform: none; }
  .feld-ringe { display: none; }
}

/* Abschnitte */
.abschnitt-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.abschnitt-kopf a { font-size: 0.9375rem; }
.drei-schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.drei-schritte li { border-top: 1px solid var(--linie); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.drei-schritte b { font-size: 1.0625rem; font-weight: 600; }
.drei-schritte b::before { counter-increment: s; content: counter(s); font-family: var(--mono); font-weight: 400; font-size: 0.8125rem; color: var(--wasser); margin-right: 12px; }
.drei-schritte span { color: var(--tinte-leise); font-size: 0.9375rem; }

/* Bildkacheln mit echtem Motiv (Stuecke, Downloads, Gratis-Stueck) */
.kachel.foto { background: #0d1a22; display: block; }
.kachel.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--kurve); }
.kachel.foto svg { position: absolute; left: 12px; top: 10px; width: 28px; height: 28px; opacity: .92; color: #fff; }
.kachel.foto .ki-hinweis { position: absolute; right: 10px; bottom: 8px; }

.stuecke { display: grid; gap: 24px 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stueck { text-decoration: none; color: var(--tinte); display: flex; flex-direction: column; gap: 8px; }
.stueck .kachel { border-radius: var(--r-karte); }
.stueck:hover .kachel.foto img { transform: scale(1.04); }
.stueck h3 { margin-top: 4px; }
.stueck .produkt-meta { font-family: var(--mono); font-size: 0.8125rem; color: var(--tinte-leise); }

.angebot { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); }
.angebot > div { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--linie); }
.angebot > div:first-child { border-top: 0; }
@media (min-width: 800px) { .angebot > div { border-top: 0; } .angebot > div + div { border-left: 1px solid var(--linie); } }
.angebot p { font-size: 0.9375rem; }

.kennenlernen { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) { .kennenlernen { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.kennenlernen .robert.mit-bild { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 26px; }
.kennenlernen .robert.mit-bild .bild { width: 96px; height: 96px; }
.geschenk-karte { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-karte); min-height: 280px; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; color: #fff; text-decoration: none; background: #0d1a22; }
.geschenk-karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(var(--kachel-licht));
  transition: transform .9s var(--kurve); }
.geschenk-karte:hover img { transform: scale(1.04); }
.geschenk-karte::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 12, 18, 0) 30%, rgba(4, 12, 18, .72)); }
.geschenk-karte .etikett { color: rgba(255, 255, 255, .82); }
.geschenk-karte b { font-weight: 300; font-size: 1.75rem; line-height: 1.15; }
.geschenk-karte span { color: rgba(255, 255, 255, .88); font-size: 0.9375rem; }
.geschenk-karte .ki-hinweis { position: absolute; top: 12px; right: 14px; font-size: 0.75rem; }
.geschenk-karte:focus-visible { outline: 2px solid var(--wasser); outline-offset: 3px; }
