/* Die Website von blXcker (BLX-46): Startseite, Download, Fehlerseite und die
   Rechtsseiten. Eine Datei, keine Bibliothek, nichts von fremden Servern.

   Aufbau, Groessenverhaeltnisse und Bewegung nach dem Vorbild appblock.app:
   Titel 72 und 56 px, Einleitung 24 px, Abschnitte 120 px Luft, Kacheln mit
   25 px Rundung, Karten mit weichem 30-px-Schatten. Farben eins zu eins aus
   apps/android/.../ui/Thema.kt, hell und dunkel nach dem Geraet.
   Kategorietoene als Flaeche mit weisser Schrift, als Linien-Symbol oder als
   weicher Schein; als Schrift nur ueber --akzent und die hellen Leit-Toene im
   dunklen Block.

   Geraete sind die Zeichnungen der Einfuehrung (website/geraete/*.svg). Die
   App-Ansicht liegt genau auf deren Bildschirmflaeche; Masse in Einheiten der
   Zeichnung, siehe "Geraete".

   Formen: Knoepfe 14px, Karten 20px, Kacheln und Tafeln 25px, Symbolflaechen
   12px, Umschalter und Kopf-Knopf rund. Ueberall dieselbe Regel.

   Bewegung: Startzustaende gelten nur unter html.js (seite.js setzt die Klasse)
   und nur ohne "Bewegung reduzieren". Ohne JavaScript ist alles sofort da. */

@font-face {
  font-family: "blXcker X";
  src: url("/schrift/marke-x-100.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: block;
  unicode-range: U+0058;
}
@font-face {
  font-family: "blXcker X";
  src: url("/schrift/marke-x-200.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: block;
  unicode-range: U+0058;
}
@font-face {
  font-family: "blXcker X";
  src: url("/schrift/marke-x-300.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: block;
  unicode-range: U+0058;
}
@font-face {
  font-family: "blXcker X";
  src: url("/schrift/marke-x-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
  unicode-range: U+0058;
}
@font-face {
  font-family: "blXcker X";
  src: url("/schrift/marke-x-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: block;
  unicode-range: U+0058;
}
@font-face {
  font-family: "blXcker X";
  src: url("/schrift/marke-x-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: block;
  unicode-range: U+0058;
}
@font-face {
  font-family: "blXcker X";
  src: url("/schrift/marke-x-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: block;
  unicode-range: U+0058;
}
@font-face {
  font-family: "blXcker X";
  src: url("/schrift/marke-x-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: block;
  unicode-range: U+0058;
}
@font-face {
  font-family: "blXcker X";
  src: url("/schrift/marke-x-900.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: block;
  unicode-range: U+0058;
}
@font-face {
  font-family: "Outfit";
  src: url("/schrift/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------- Tokens -- */

:root {
  /* Die Seite steht immer im dunklen Modus der App; die hellen Werte oben
     bleiben als Grundlage, die dunklen darunter gelten fest. */
  color-scheme: dark;

  --grund: #F5F4F0;
  --flaeche: #FAF9F6;
  --flaeche-hoch: #E8E7E3;
  --tinte: #202123;
  --leise: #5C5D60;
  --rand: #D1D0CC;
  --rand-weich: rgba(32, 33, 35, 0.09);

  --schutz: #18703F;
  --kurzvideo: #B5441B;
  --apps: #2F5BCC;
  --eigene: #A3296F;
  --start: #5644C4;
  --figur: #FFB74D;
  /* Auf dem Schein der Figur steht immer dunkle Schrift. */
  --auf-figur: #202123;
  /* Hervorgehobene Woerter in Titeln und das X der Wortmarke: das Gold der App (AboSeite.kt). */
  --akzent: #8A5A14;
  /* Fokusring: 6:1 auf --grund hell, 8:1 auf --grund dunkel. */
  --fokus: #2F5BCC;

  /* Helle Toene fuer Schrift auf dem dunklen Leitsatz-Block, je >= 4,5:1. */
  --leit-schutz: #7FD3A0;
  --leit-kurzvideo: #F2A07E;
  --leit-apps: #9DB6F5;
  --leit-figur: #FFB74D;
  --leit-start: #B9AEF5;
  --leit-eigene: #E9A3C9;

  --nacht: #131416;
  --schatten: 46 40 30;

  --aus: cubic-bezier(0.23, 1, 0.32, 1);
  --ein-aus: cubic-bezier(0.65, 0, 0.35, 1);

  --seite: clamp(16px, 5vw, 76px);
  --breite: 1290px;
  --mittel: 970px;
  --r-kachel: 25px;
  --r-karte: 20px;
  --r-knopf: 14px;
  --r-symbol: 12px;
  --kopf-hoehe: 80px;
  --karten-schatten: 0 0 30px rgb(var(--schatten) / 0.1);
}

@media all {
  :root {
    --grund: #121212;
    --flaeche: #1C1D1F;
    --flaeche-hoch: #2A2B2D;
    --tinte: #F2F1ED;
    --leise: #B7B8BA;
    --rand: #454648;
    --rand-weich: rgba(242, 241, 237, 0.1);

    --schutz: #156B3C;
    --kurzvideo: #A63E18;
    --apps: #2D55BF;
    --eigene: #9A2768;
    --start: #5140B8;
    --akzent: #E9B872;
    --fokus: #9DB6F5;

    --schatten: 0 0 0;
    --karten-schatten: 0 0 0 1px var(--rand-weich), 0 0 30px rgb(0 0 0 / 0.4);

    /* Abschnittsfarben nach dem Vorbild appblock.app, mit unserem Schwarz:
       der dunkle Verlauf fuer Einstieg und Leitsaetze (dort Blau zu Violett,
       hier Dunkelgold ueber Schwarz zu Bronze), eine hellere Stufe fuer
       abgesetzte Abschnitte, die feste Farbe der Kopfleiste. */
    --nacht: #0A0B0D;
    /* Ein ruhiges Schwarz mit einem einzigen, sehr leisen warmen Licht hinter
       der Blase, statt brauner Flecken in den Ecken. */
    --nacht-verlauf: radial-gradient(48% 55% at 70% 42%, rgb(233 184 114 / 0.06), transparent 72%), linear-gradient(180deg, #0F0E0C, #0B0B0C);
    --abschnitt-hell: #18191C;
    --kopf-grund: #0D0E10;
  }
}

/* Je Kategorie: Flaechenton, Ton fuer Linien-Symbole, heller Schriftton. */
.ton-schutz { --ton: var(--schutz); --leit: var(--leit-schutz); }
.ton-kurzvideo { --ton: var(--kurzvideo); --leit: var(--leit-kurzvideo); }
.ton-apps { --ton: var(--apps); --leit: var(--leit-apps); }
.ton-eigene { --ton: var(--eigene); --leit: var(--leit-eigene); }
.ton-start { --ton: var(--start); --leit: var(--leit-start); }
.ton-figur { --ton: var(--figur); --ton-auf: var(--auf-figur); --leit: var(--leit-figur); }
.ton-schutz, .ton-kurzvideo, .ton-apps, .ton-eigene, .ton-start { --zeichen: var(--ton); }
/* Die Muenze im Figur-Ton, dunkel genug fuer 3:1 als Grafik auf --grund. */
.ton-figur { --zeichen: #9A6412; }
@media all {
  .ton-schutz, .ton-kurzvideo, .ton-apps, .ton-eigene, .ton-start, .ton-figur { --zeichen: var(--leit); }
}

/* --------------------------------------------------------------- Grund -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: "Outfit", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elemente, die von links oder rechts hereingleiten oder ueber den Rand
   ragen, sollen nie einen waagerechten Bildlauf erzeugen. Am main statt am
   body: Am body ginge die Angabe an den Viewport ueber. */
main { overflow-x: clip; }

h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
img { max-width: 100%; }
/* Kein Doppeltipp-Zoom auf Bedienelementen, und statt des grauen Kastens beim
   Antippen der eigene :active- bzw. :hover-Zustand. */
a, button, summary, [role="button"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--fokus);
  outline-offset: 3px;
  border-radius: 6px;
}

.symbol {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.symbol.klein { width: 16px; height: 16px; }
/* Fertige Symbole als Flaeche (Phosphor Icons, MIT), etwa die Figur mit ausgebreiteten Armen. */
.symbol.symbol-voll { fill: currentColor; stroke: none; }
/* Grosse Linien-Symbole wie im Vorbild: duenner Strich, Ton der Kategorie. */
.symbol.gross { width: 96px; height: 96px; stroke-width: 1.05; color: var(--zeichen, var(--akzent)); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.nur-vorleser {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.rahmen {
  width: min(100% - 2 * var(--seite), var(--breite));
  margin-inline: auto;
}
.mittig { text-align: center; }
.mittig .lead { margin-inline: auto; max-width: 34em; }

.abschnitt { padding-block: clamp(72px, 8.4vw, 120px); }

/* Abschnittsfarben im Wechsel wie bei appblock.app: dunkler Verlauf oben und
   bei den Leitsaetzen, ein getoenter Verlauf von oben bei Funktionen und
   Fragen, eine durchgehend hellere Stufe bei den Geraeten, sonst schlicht. */
/* Der Einstieg traegt den Verlauf wie appblock.app ueber die ganze Flaeche, am Fenster festgemacht wie die Kopfleiste. */
/* Unten laeuft der Verlauf weich in die Grundfarbe aus, statt an einer Kante zu enden. */
.einstieg, .seiten-kopf { background: linear-gradient(to bottom, transparent calc(100% - 240px), var(--grund) 100%), var(--nacht) var(--nacht-verlauf) fixed; }
.seiten-kopf { padding-bottom: clamp(56px, 7vw, 120px); }
.funktionen, .fragen { background: linear-gradient(var(--abschnitt-hell) 0, color-mix(in srgb, var(--abschnitt-hell) 0%, var(--grund)) 70%); }
.geraete { background: var(--abschnitt-hell); }

/* Schrift: Verhaeltnisse 72 / 56 / 40 / 24 wie im Vorbild. */
.titel-gross {
  font-size: clamp(2.35rem, 1.1rem + 4vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.35em;
}
.titel {
  font-size: clamp(2.05rem, 1.15rem + 2.7vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.028em;
  margin-bottom: 0.55em;
}
.titel-klein {
  font-size: clamp(1.8rem, 1.35rem + 1.3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  max-width: var(--mittel);
  font-size: clamp(1.12rem, 0.9rem + 0.66vw, 1.5rem);
  font-weight: 500;
  line-height: 1.36;
  color: var(--leise);
}
.lead strong { font-weight: 500; color: var(--tinte); }
/* Gruener Akzent in Titeln nur im Einstieg und in der Strenge. */
.akzent, .akzent-ganz { color: var(--akzent); }
.vorteile .akzent, .zeitfenster .akzent, .dl .akzent, .funktionen .akzent, .welt .akzent { color: inherit; }

.sprung {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--tinte);
  color: var(--grund);
  font-weight: 600;
  text-decoration: none;
}
.sprung:focus { top: 12px; }

/* --------------------------------------------------------------- Knoepfe -- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border: 1.5px solid var(--tinte);
  border-radius: var(--r-knopf);
  background: var(--tinte);
  color: var(--grund);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.knopf .symbol { width: 21px; height: 21px; }
.knopf-zweit { background: transparent; color: var(--tinte); border-color: var(--rand); }
.knopf-klein { min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; }

@media (hover: hover) and (pointer: fine) {
  .knopf:hover { background: color-mix(in srgb, var(--tinte) 84%, var(--grund)); }
  .knopf-zweit:hover { background: var(--flaeche-hoch); border-color: var(--flaeche-hoch); }
  .sprachwahl a:not([aria-current]):hover { color: var(--tinte); background: var(--flaeche); }
  .menue > summary:hover { background: var(--flaeche-hoch); }
  .frage summary:hover { color: var(--akzent); }
  .frage summary:hover .symbol { color: currentColor; }
}
@media (prefers-reduced-motion: no-preference) {
  .knopf { transition: transform 160ms var(--aus), background-color 200ms ease, border-color 200ms ease; }
  .knopf:active { transform: scale(0.97); }
}

/* Einstieg: Zeile 1 die Rechner als Hauptknoepfe, Zeile 2 kleiner die Stores. */
.plattformen { display: grid; gap: 14px; justify-items: start; }
.plattformen-haupt, .plattformen-stores { display: flex; flex-wrap: wrap; gap: 12px; }
/* Nicht unter den Inhalt schrumpfen, sonst laeuft "Herunterladen fuer" auf 320 px aus dem Knopf; lieber umbrechen. */
.plattformen-haupt .knopf { min-width: 9.5em; flex-shrink: 0; }

/* Store-Knoepfe: zwei Zeilen wie ein Abzeichen, aber in unserer eigenen
   Form, ohne fremdes Logo. Ohne Store-Adresse stehen sie als "bald" da:
   ruhige Flaeche, nicht klickbar, gut lesbar. */
.laden-text { display: grid; text-align: left; line-height: 1.15; }
.laden-text small { font-size: 0.8rem; font-weight: 500; }
/* Windows und Linux wie Store-Abzeichen: Zeichen links, darueber klein "Download for". */
.knopf-os { gap: 12px; justify-content: flex-start; padding: 0 22px 0 18px; }
.knopf-os .os-logo { flex: none; display: block; }
.knopf-os .os-pc { width: 26px; height: 26px; color: var(--akzent-tief, #8A5A14); stroke-width: 1.7; }
.knopf-os .os-tux { width: 27px; height: 32px; }
.fuss-hinweis { margin: 0; font-size: 0.8rem; color: var(--leise); }
.knopf-bald {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--rand-weich);
  border-radius: var(--r-knopf);
  background: var(--flaeche-hoch);
  color: var(--leise);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: default;
}
.knopf-bald .symbol { width: 19px; height: 19px; }
.knopf-bald.knopf-os .os-pc { width: 22px; height: 22px; color: var(--leise); }
.knopf-bald.knopf-os .os-tux { width: 19px; height: 22px; }
.knopf-bald .laden-text { color: var(--tinte); }
.knopf-bald .laden-text small { color: var(--leise); }
.knopf-bald .bald {
  margin-left: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--leise);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 559px) {
  .plattformen, .plattformen-haupt, .plattformen-stores { width: 100%; }
  .plattformen-haupt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .plattformen-haupt .knopf { min-width: 0; }
  .plattformen-stores { display: grid; gap: 10px; }
  .plattformen-stores .bald { margin-left: auto; }
}

/* Am Handy nur der passende Store (Erkennung in seite.js), keine Rechner. */
[data-geraet] .plattformen-haupt,
[data-geraet="android"] .plattformen .knopf-apple,
[data-geraet="apple"] .plattformen .knopf-android { display: none; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--tinte);
  font-weight: 500;
  text-decoration: underline;
  /* Kraeftig genug, dass der Link nicht nur an der Farbe erkannt wird (WCAG 1.4.1). */
  text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
}
@media (hover: hover) and (pointer: fine) {
  .textlink:hover { text-decoration-color: currentColor; }
}

.ton-symbol {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-symbol);
  background: var(--ton);
  color: var(--ton-auf, #FFFFFF);
  flex: none;
}
.ton-symbol .symbol { width: 24px; height: 24px; }
.ton-symbol.klein { width: 32px; height: 32px; border-radius: 9px; }
.ton-symbol.klein .symbol { width: 18px; height: 18px; }

/* ------------------------------------------------------------- Kopfleiste -- */

.kopf-anker { position: absolute; top: 0; left: 0; width: 1px; height: 8px; }

/* Die Kopfleiste hat ueber jedem Abschnitt dieselbe deckende Farbe und
   aendert sich beim Rollen nicht. */
.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  /* Derselbe Verlauf wie im Einstieg, am Fenster festgemacht: Oben gehen
     beide nahtlos ineinander ueber, und die Leiste sieht ueber jedem
     Abschnitt gleich aus. */
  background: var(--nacht) var(--nacht-verlauf) fixed;
}
/* Ohne JavaScript bleibt die Kopfleiste oben stehen und rollt mit. */
html:not(.js) .kopf { position: relative; }
/* Bei wenig Hoehe (Handy quer, starker Zoom) wuerde die feste Leiste ein Drittel verdecken. */
@media (max-height: 480px) { .kopf { position: relative; } }

.kopf-innen {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--kopf-hoehe);
  width: min(100% - 2 * var(--seite), var(--breite));
  margin-inline: auto;
}

.kopf-marke { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinte); }
.wortmarke { display: block; height: 23px; width: auto; fill: currentColor; }
/* Das X in jedem "blXcker" im Text ist ein echter Buchstabe aus einer Schrift,
   die nur das Schild-X enthaelt (tools/marke_x_schrift.py), je Staerke von
   Outfit eine Datei. So rastert der Browser es wie die Buchstaben daneben. */
.marke-x {
  font-family: "blXcker X", "Outfit", system-ui, sans-serif;
}
/* Das ganze Wort als eine Einheit, auch in Flex-Zeilen mit Abstand (Kopfleiste). */
.marke-wort { white-space: nowrap; }

/* Seitenwechsel wie bei appblock.app: Der Browser haelt die alte Seite, bis
   die neue steht, die Kopfleiste bleibt stehen, der Inhalt blendet ueber. */
@view-transition { navigation: auto; }
.kopf { view-transition-name: kopf; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
/* Das Schild der Marke (marke-schild.svg) gross links neben dem Schriftzug, ohne Feld. */
.kopf-marke { gap: 10px; }
.marke-zeichen { display: block; width: auto; height: 34px; }
.fuss-unten .marke-zeichen { height: 28px; }

.kopf-nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.kopf-nav > a,
.ausklapp > summary {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--tinte);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .kopf-nav > a:hover,
  .ausklapp > summary:hover { background: var(--flaeche-hoch); }
}

.ausklapp { position: relative; }
.ausklapp > summary { list-style: none; }
.ausklapp > summary::-webkit-details-marker,
.menue > summary::-webkit-details-marker,
.frage > summary::-webkit-details-marker { display: none; }
.ausklapp[open] > summary { background: var(--flaeche-hoch); }
/* Der Winkel zeigt den Zustand; gedreht wird er nur ohne reduzierte Bewegung
   weich, sonst springt er. */
.ausklapp[open] > summary .symbol { transform: rotate(180deg); }

/* Geschlossen ganz aus dem Fluss: Der Inhalt eines zugeklappten details wird
   sonst neben dem Knopf ausgelegt und zaehlt zur Seitenbreite. */
.menue:not([open]) .menue-tafel,
.ausklapp:not([open]) .ausklapp-tafel { display: none; }

.ausklapp-tafel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 260px;
  padding: 8px;
  border-radius: var(--r-karte);
  background: var(--flaeche);
  box-shadow: var(--karten-schatten), 0 0 0 1px var(--rand-weich);
  transform-origin: top center;
}

.geraeteliste { list-style: none; margin: 0; padding: 0; }
.geraeteliste a,
.geraeteliste .ist-bald {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 10px;
  color: var(--tinte);
  font-weight: 500;
  text-decoration: none;
}
.geraeteliste .symbol { color: var(--leise); }
.geraeteliste .ist-bald { color: var(--leise); }
.geraeteliste .bald { margin-left: auto; font-size: 0.85rem; font-weight: 400; color: var(--leise); }
@media (hover: hover) and (pointer: fine) {
  .geraeteliste a:hover { background: var(--flaeche-hoch); }
}

.kopf-rechts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.kopf-sprache { display: none; }
.kopf-laden { display: none; }

.sprachwahl { display: inline-flex; gap: 2px; border-radius: 999px; background: var(--flaeche-hoch); }
.sprachwahl a {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 44px;
  border-radius: 999px;
  color: var(--leise);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.sprachwahl a[aria-current] {
  background: var(--flaeche);
  color: var(--tinte);
  /* Sichtbarer Rand: Die gewaehlte Sprache darf nicht nur an der Farbe haengen (WCAG 1.4.1). */
  box-shadow: inset 0 0 0 1.5px var(--tinte), 0 1px 3px rgb(var(--schatten) / 0.12);
}

.menue > summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  list-style: none;
  cursor: pointer;
  color: var(--tinte);
}
.menue .menue-zu { display: none; }
.menue[open] .menue-zu { display: block; }
.menue[open] .menue-auf { display: none; }
.menue[open] > summary { background: var(--flaeche-hoch); }

.menue-tafel {
  position: absolute;
  top: var(--kopf-hoehe);
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--kopf-hoehe));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px var(--seite) 28px;
  border-bottom: 1px solid var(--rand);
  background: var(--grund);
  box-shadow: 0 30px 40px -30px rgb(var(--schatten) / 0.3);
}
.menue-nav { display: grid; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--rand-weich); }
.menue-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.menue-tafel .geraeteliste a,
.menue-tafel .geraeteliste .ist-bald { padding-inline: 0; }
.menue-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--rand-weich);
}

@media (min-width: 420px) { .kopf-laden { display: inline-flex; } }

@media (min-width: 1200px) {
  .kopf-nav { display: flex; }
  .kopf-sprache { display: block; margin-left: 8px; }
  .menue { display: none; }
  .kopf-rechts { margin-left: 0; }
}
/* Offenes Handy-Menue: die Seite dahinter rollt nicht mit. */
@media (max-width: 1199px) {
  body:has(.menue[open]) { overflow: hidden; }
}

@media (prefers-reduced-motion: no-preference) {
  .kopf-nav > a, .ausklapp > summary { transition: background-color 160ms ease; }
  .ausklapp > summary .symbol, .frage summary .symbol { transition: transform 220ms var(--aus); }
  .ausklapp[open] .ausklapp-tafel { animation: tafel-auf 180ms var(--aus); }
  .menue[open] .menue-tafel { animation: tafel-auf 220ms var(--aus); }
}
@keyframes tafel-auf {
  from { opacity: 0; transform: translateY(-6px) scale(0.985); }
}

/* --------------------------------------------------------------- Einstieg -- */

.einstieg { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }

.einstieg-raster { display: grid; gap: 48px; align-items: center; }
.einstieg-raster > * { min-width: 0; }

.einstieg h1 { margin-bottom: 28px; }
.einstieg-unter { max-width: 30em; margin-bottom: 36px; }

.einstieg-bild { position: relative; display: grid; place-items: center; padding-block: 24px; }

/* Der Kreis hinter den Geraeten: eine Glasblase mit einer Lichtquelle.
   Licht kommt von oben links (heller Glanz) und tritt unten rechts als
   goldene Kante aus der Blase; nur dort strahlt es weich in den Raum,
   nicht als gleichmaessiger Hof rundum (03.12.2026). */
.kreis {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 92vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(70% 70% at 30% 24%, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.03) 35%, transparent 62%),
    radial-gradient(75% 75% at 78% 84%, rgb(242 205 139 / 0.22), rgb(233 184 114 / 0.10) 30%, rgb(233 184 114 / 0.03) 55%, transparent 72%),
    radial-gradient(circle, rgb(255 255 255 / 0.012) 50%, rgb(255 255 255 / 0.04) 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.08),
    inset 10px 14px 22px -14px rgb(255 255 255 / 0.45),
    inset -18px -24px 46px -20px rgb(242 205 139 / 0.55),
    /* Bloom: weich, gerichtet, aus mehreren Lagen statt einer harten. */
    14px 20px 40px -18px rgb(242 205 139 / 0.30),
    30px 44px 110px -30px rgb(233 184 114 / 0.32),
    50px 70px 220px -40px rgb(233 184 114 / 0.16);
  pointer-events: none;
}
/* Glanzpunkt: eine schmale, weiche Spiegelung oben links. */
.kreis::before {
  content: "";
  position: absolute;
  left: 17%;
  top: 9%;
  width: 34%;
  height: 15%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.20), transparent);
  rotate: -32deg;
  filter: blur(4px);
}
/* Die Kante: ein feiner Ring, unten rechts golden und hell, oben links
   weiss und leise, dazwischen fast unsichtbar. */
.kreis::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1.5px;
  background: conic-gradient(
    rgb(255 255 255 / 0.22) 0%,
    transparent 12%,
    rgb(242 205 139 / 0) 24%,
    rgb(242 205 139 / 0.75) 32%,
    rgb(255 228 178 / 1) 37.5%,
    rgb(242 205 139 / 0.75) 43%,
    rgb(242 205 139 / 0) 54%,
    transparent 72%,
    rgb(255 255 255 / 0.45) 87.5%,
    rgb(255 255 255 / 0.22) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.einstieg-bild .einstieg-laptop { display: none; }
.einstieg-bild .einstieg-handy { width: min(300px, 74vw); }

@media (min-width: 1024px) {
  .einstieg-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .einstieg-bild { display: block; min-height: 700px; padding: 0; }
  .einstieg-bild .kreis, .geraet-kopf-bild .kreis { left: 60%; top: 44%; width: 600px; }
  .einstieg-bild .einstieg-laptop { display: block; position: absolute; top: 5%; right: 0; width: 86%; }
  .einstieg-bild .einstieg-handy { position: absolute; left: 0; bottom: 0; width: min(320px, 50%); z-index: 2; }

  /* Tauschen (seite.js): Ziehen oder Klick auf das hintere Geraet holt es nach
     vorn. Beim Tausch weichen beide zur Seite aus, die Ebene wechselt, wenn sie
     auseinander sind, dann gleiten sie zurueck. --von-* ist die Stelle beim
     Loslassen, damit nichts springt. */
  .js .einstieg-bild { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
  .js .einstieg-bild.zieht { cursor: grabbing; }
  .einstieg-bild .einstieg-laptop { z-index: 1; }
  .einstieg-bild .einstieg-laptop,
  .einstieg-bild .einstieg-handy {
    will-change: translate;
    transition: translate 480ms cubic-bezier(0.32, 0.72, 0, 1), scale 560ms cubic-bezier(0.32, 0.72, 0, 1),
      filter 560ms ease, z-index 0s 230ms;
  }
  .einstieg-bild.laptop-vorn .einstieg-laptop { z-index: 3; }
  .einstieg-bild.laptop-vorn .einstieg-handy { z-index: 1; scale: 0.94; filter: brightness(0.94); }
  .einstieg-bild:not(.laptop-vorn) .einstieg-handy,
  .einstieg-bild.laptop-vorn .einstieg-laptop { translate: calc(var(--zug, 0px) * 0.5) 0; }
  .einstieg-bild:not(.laptop-vorn) .einstieg-laptop,
  .einstieg-bild.laptop-vorn .einstieg-handy { translate: calc(var(--zug, 0px) * -0.25) 0; }
  .einstieg-bild.zieht .einstieg-laptop,
  .einstieg-bild.zieht .einstieg-handy { transition: scale 560ms cubic-bezier(0.32, 0.72, 0, 1), filter 560ms ease, z-index 0s 230ms; }
  .einstieg-bild.tauscht .einstieg-laptop { animation: tausch-laptop 560ms both; }
  .einstieg-bild.tauscht .einstieg-handy { animation: tausch-handy 560ms both; }
  .einstieg-bild [data-tausch]:focus-visible { outline: 2px solid var(--figur); outline-offset: 6px; border-radius: 12px; }
}
@keyframes tausch-laptop {
  0% { translate: var(--von-laptop, 0px) 0; animation-timing-function: cubic-bezier(0.3, 0.7, 0.4, 1); }
  42% { translate: 72px -6px; animation-timing-function: cubic-bezier(0.45, 0, 0.15, 1); }
  100% { translate: 0 0; }
}
@keyframes tausch-handy {
  0% { translate: var(--von-handy, 0px) 0; animation-timing-function: cubic-bezier(0.3, 0.7, 0.4, 1); }
  42% { translate: -72px 6px; animation-timing-function: cubic-bezier(0.45, 0, 0.15, 1); }
  100% { translate: 0 0; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .einstieg-bild .einstieg-laptop,
  .einstieg-bild .einstieg-handy,
  .einstieg-bild.zieht .einstieg-laptop,
  .einstieg-bild.zieht .einstieg-handy { transition: none; }
  .einstieg-bild.tauscht .einstieg-laptop,
  .einstieg-bild.tauscht .einstieg-handy { animation: none; }
}

/* Neigung im Einstieg: Oben steht das Handy schraeg wie auf einem
   Produktfoto, man sieht seine linke Seite. Das erste Stueck Scrollen
   dreht es nach vorn, waehrend der Einstieg stehen bleibt (Breitbild:
   der Abschnitt ist um 45vh laenger, das Raster klebt solange an seiner
   Stelle). Ein eigener Rahmen (.neigung), weil das Tauschen translate und
   animation des Geraets nutzt. Die Flanke steht 90 Grad zur Front und ist
   so tief wie das Geraet (0,82 von 7,9 cm Bildbreite; die Kante sitzt bei
   1,9 %). Ohne Scroll-Zeitleiste oder bei reduzierter Bewegung: gerade. */
.neigung { position: relative; transform-style: preserve-3d; }
.flanke { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .einstieg-handy .neigung {
      animation: handy-neigen linear both;
      animation-timeline: scroll(root);
      animation-range: 0 45vh;
    }
    .einstieg-handy .flanke {
      display: block;
      position: absolute;
      top: 6.5%;
      bottom: 6.5%;
      right: 98.1%;
      width: 10.4cqi;
      transform-origin: 100% 50%;
      transform: rotateY(-90deg);
      border-radius: 3cqi;
      background: linear-gradient(270deg, #d4d5d8, #9c9da1 18%, #c2c3c6 45%, #6d6e72 80%, #3a3b3e);
    }
  }
  @media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    /* Sticky haelt nur im Inhalt des Abschnitts, nicht im Innenabstand:
       darum ein leerer Block mit der Laufstrecke statt mehr padding. */
    .einstieg::after { content: ""; display: block; height: 45vh; }
    .einstieg-raster {
      position: sticky;
      top: min(calc(80px + clamp(40px, 6vw, 88px)), calc(100vh - 700px));
    }
  }
}
@keyframes handy-neigen {
  from { transform: perspective(1500px) rotateY(34deg) rotateX(7deg) rotateZ(2deg); }
  to { transform: perspective(1500px); }
}

/* ---------------------------------------------------------------- Geraete -- */
/* Gehaeuse aus website/geraete/; die Ansicht liegt auf ihrer Bildschirmflaeche.
     Handy  handy.webp, Render von tools/handy_rendern.py, 76,31 x 158,64 mm
            mit Rahmen +0,4 mm je Seite und den rechts abstehenden Tasten.
            Bildschirm 71,79 x 154,61 mm, 1 mm innerhalb des Displays, damit
            der schwarze Rand stehen bleibt; Kamera-Loch 4,43 mm unter der
            Oberkante (dort bleibt das Bild sichtbar).
     Laptop laptop.webp, Render von tools/laptop_rendern.py, 1400 x 1018 px,
            von vorn oben mit Shift: das Display bleibt ein Rechteck.
     Die Zeichnungen handy-an.svg und laptop-an.svg (Abschnitt Geraete) bleiben. */

.geraet { position: relative; container-type: inline-size; }
.geraet .gehaeuse {
  display: block;
  width: 100%;
  height: auto;
  /* Kein Schlagschatten: Schwarz auf fast Schwarz zeigte nur Stufen im
     Verlauf (8 Bit), keinen Schatten (03.12.2026). */
}

.bildschirm {
  position: absolute;
  overflow: hidden;
  background: var(--grund);
  container-type: inline-size;
}

/* Das Handy ist ein Produktfoto aus design/werbung/handy_foto.py (gerade,
   Bildschirm aus); die Lage steht dort in der Zeile BILDSCHIRM der Ausgabe. */
.handy .bildschirm {
  left: 5.4430%;
  top: 2.6708%;
  width: 89.1139%;
  height: 94.6584%;
  border-radius: 7.812% / 3.609%;
  /* Das Kamera-Loch des Renders bleibt frei. */
  -webkit-mask-image: radial-gradient(circle 1.25cqi at 50% 1.7717%, transparent 92%, #000 100%);
  mask-image: radial-gradient(circle 1.25cqi at 50% 1.7717%, transparent 92%, #000 100%);
}
/* Das Deckglas liegt vor der Aufnahme: Spiegelung und Fettspuren aus
   demselben Render, auf Schwarz gerendert und darum aufhellend gemischt. */
.handy .bildschirm::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: url("/geraete/handy-glas.webp") 0 0 / 100% 100% no-repeat;
  mix-blend-mode: screen;
}
.laptop .bildschirm {
  left: 9.6774%;
  top: 2.4764%;
  width: 80.5607%;
  height: 62.7691%;
  border-radius: 0.5% / 0.8%;
}

.platzhalter, .ansicht, .medium-bild, .medium-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.medium-bild, .medium-video { object-fit: cover; display: block; }
.medium-video { opacity: 0; transition: opacity 400ms ease; }
.spielt .medium-video { opacity: 1; }

/* ------------------------------------- Angedeutete App-Ansichten (Mocks) -- */
/* Masse in em, die Schriftgroesse haengt an der Breite des Bildschirms
   (cqi), so waechst jede Ansicht mit ihrem Geraet. Nur Woerter, Zahlen und
   Symbole, die es in der App gibt; keine Platzhalter-Striche. */

.ansicht { overflow: hidden; color: var(--tinte); line-height: 1.25; }
.a-handy { font-size: 4.9cqi; }
.a-laptop { font-size: 2cqi; display: flex; }
.a-breit { font-size: 2.1cqi; }
.ansicht .symbol { width: 1.5em; height: 1.5em; }
.ansicht b { font-weight: 600; }
.a-titel { font-size: 1.2em; font-weight: 600; letter-spacing: -0.01em; }

.a-rund {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.75em;
  background: var(--ton);
  color: var(--ton-auf, #FFFFFF);
  flex: none;
}
.a-rund .symbol { width: 1.35em; height: 1.35em; }

.a-karte {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.8em;
  border-radius: 1.1em;
  background: var(--flaeche);
  box-shadow: 0 0 0 1px var(--rand-weich);
}
.a-statuszeile { display: flex; justify-content: flex-end; align-items: center; min-height: 1.6em; }

.a-leiste {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1em 1.4em 1.8em;
  background: var(--flaeche);
  border-top: 1px solid var(--rand-weich);
  color: var(--leise);
}
.a-leiste .symbol { width: 1.7em; height: 1.7em; }
.a-leiste .aktiv { color: var(--tinte); }

.a-punkte { display: inline-flex; gap: 0.35em; align-items: center; }
.a-punkte i { width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--leise); opacity: 0.55; }

.a-figur { position: relative; display: grid; place-items: center; width: 12em; height: 12em; align-self: center; }
.a-figur .symbol { position: relative; width: 6.4em; height: 6.4em; color: var(--tinte); stroke-width: 1.6; }
.a-schein {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--figur) 75%, transparent) 0%, color-mix(in oklch, var(--figur) 28%, transparent) 42%, transparent 70%);
}
.a-boden { align-self: center; width: 7em; height: 0.9em; margin-top: -2.6em; border-radius: 50%; background: rgb(var(--schatten) / 0.14); }

.a-sprechblase {
  position: relative;
  align-self: center;
  display: grid;
  place-items: center;
  padding: 0.75em 1.2em;
  border-radius: 1.2em;
  background: var(--flaeche);
  box-shadow: 0 0 0 1px var(--rand-weich);
}
.a-sprechblase::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.45em;
  width: 0.9em;
  height: 0.9em;
  translate: -50% 0;
  rotate: 45deg;
  background: var(--flaeche);
  border-radius: 0 0 0.2em 0;
}

/* Startseite der App */
.a-start { display: flex; flex-direction: column; gap: 0.8em; padding: 3.2em 1.2em 0; }
.a-serie { color: var(--kurzvideo); }
.a-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em; }
.a-paar .a-karte { flex-direction: column; align-items: flex-start; gap: 0.55em; }

/* Startseite am Rechner */
.a-leiste-seite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9em;
  width: 9%;
  padding: 2em 0;
  background: var(--flaeche);
  border-right: 1px solid var(--rand-weich);
  color: var(--leise);
}
.a-leiste-seite span { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 0.8em; }
.a-leiste-seite .aktiv { background: var(--flaeche-hoch); color: var(--tinte); }
.a-haupt { flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.4em; padding: 2em; }
.a-buehne {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.4em;
  border-radius: 1.4em;
  background: var(--flaeche);
  box-shadow: 0 0 0 1px var(--rand-weich);
}
.a-buehne .a-figur { width: 15em; height: 15em; }
.a-buehne .a-figur .symbol { width: 8em; height: 8em; }
.a-spalte { display: grid; gap: 1em; align-content: center; }
.a-schalter { position: relative; flex: none; width: 2.9em; height: 1.7em; margin-left: auto; border-radius: 99em; background: var(--schutz); }
.a-schalter::after {
  content: "";
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: #FFFFFF;
}

/* Sperrseite im Browser wie in der Erweiterung: immer dunkel, der Atemkreis
   in der Mitte, darunter die Karte zum Garten mit seinem Bild. */
.a-sperrseite {
  display: flex;
  flex-direction: column;
  background: radial-gradient(70% 80% at 50% 48%, #1A2420 0%, #131416 70%);
  color: #F2F1ED;
}
.a-sperrseite .a-browserleiste { background: #1C1D1F; border-bottom-color: rgb(255 255 255 / 0.08); color: #B7B8BA; }
.a-sperrseite .a-browserleiste .a-adresse { display: inline-flex; align-items: center; justify-content: center; gap: 0.45em; background: #2A2B2D; }
.a-sperrseite .a-browserleiste .a-adresse .symbol { width: 1.15em; height: 1.15em; color: #7FD3A0; }
.a-sperrseite .a-punkte i { background: #B7B8BA; }
.a-sperrinhalt { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2em; padding-bottom: 1.6em; }
.a-atem { position: relative; display: grid; place-items: center; width: 17em; height: 17em; --ton: #7FD3A0; }
.a-ring { position: absolute; border-radius: 50%; border: 1px solid color-mix(in oklch, var(--ton, var(--schutz)) 32%, transparent); }
.a-ring.r1 { inset: 17%; }
.a-ring.r2 { inset: 7%; border-color: color-mix(in oklch, var(--ton, var(--schutz)) 20%, transparent); }
.a-ring.r3 { inset: -3%; border-color: color-mix(in oklch, var(--ton, var(--schutz)) 12%, transparent); }
.a-kern {
  display: grid;
  place-items: center;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #1E2A25, #141816 80%);
  box-shadow: inset 0 0 0 0.12em #7FD3A0, 0 0 2.6em color-mix(in oklch, #7FD3A0 30%, transparent);
  font-size: 1.15em;
}
.a-gartenkarte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  width: min(30em, 70%);
  padding: 0.9em 0.9em 0.9em 1.4em;
  border-radius: 1.2em;
  background: #1C1D1F;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1);
  color: #B7B8BA;
}
.a-gartenkarte b { display: inline-flex; align-items: center; gap: 0.3em; font-size: 1.1em; }
.a-gartenkarte .symbol { width: 1em; height: 1em; }
.a-gartenbild {
  position: relative;
  width: 11em;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.7em;
  background: linear-gradient(180deg, #E9E2CC 0%, #E2DCC4 46%, #9DAA86 47%, #8E8A62 55%, #7E6A4C 100%);
}
.a-teich { position: absolute; left: 52%; top: 66%; width: 30%; height: 16%; border-radius: 50%; background: #8FB3C2; box-shadow: inset 0 0.15em 0 #6E95A6; }
.a-baeume {
  position: absolute;
  left: 0;
  right: 0;
  top: 36%;
  height: 12%;
  background: radial-gradient(circle at 50% 100%, #4E6B48 45%, transparent 47%) 0 0 / 7% 100% repeat-x;
}
.a-wahl { display: flex; gap: 0.25em; padding: 0.28em; border-radius: 99em; background: var(--flaeche-hoch); font-size: 1.05em; font-weight: 500; }
.a-wahl span { padding: 0.45em 1.1em; border-radius: 99em; color: var(--leise); white-space: nowrap; }
.a-wahl .aktiv { background: var(--flaeche); color: var(--tinte); box-shadow: 0 0.1em 0.35em rgb(var(--schatten) / 0.14); }

.a-adresse { font-size: 0.95em; color: var(--leise); }

/* Browser auf dem Laptop: Leiste mit drei Punkten und Adresse */
.a-browserleiste {
  display: flex;
  align-items: center;
  gap: 1.2em;
  height: 2.6em;
  padding: 0 1.2em;
  background: var(--flaeche-hoch);
  border-bottom: 1px solid var(--rand-weich);
}
.a-browserleiste .a-adresse {
  flex: 0 1 50%;
  margin: 0 auto;
  padding: 0.25em 1em;
  border-radius: 99em;
  background: var(--flaeche);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.a-browserleiste .a-punkte i { opacity: 0.4; }

.a-schutz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2em;
  background: radial-gradient(120% 90% at 50% 45%, color-mix(in oklch, var(--schutz) 14%, var(--flaeche)) 0%, var(--flaeche) 72%);
}
.a-schutz .a-browserleiste { align-self: stretch; }
.a-schild { position: relative; display: grid; place-items: center; width: 12em; height: 12em; margin-top: 1.6em; --ton: var(--schutz); }
.a-schild .a-rund { width: 5em; height: 5em; border-radius: 1.4em; }
.a-schild .a-rund .symbol { width: 2.6em; height: 2.6em; }
.a-satz { font-size: 1.3em; }

/* Stufe waehlen und Bedenkzeit am Handy */
.a-stufen,
.a-bedenk { display: flex; flex-direction: column; gap: 1em; padding: 4em 1.3em 0; }
.a-bedenk { align-items: center; text-align: center; }
/* Einstellungen und Bedenkzeit stehen ruhig in der Mitte des Bildschirms. */
.a-stufen, .a-bedenk { justify-content: center; padding-bottom: 2.4em; }
.a-stufen .a-stufe { padding: 1.2em 1em; }
.a-stufenliste { display: grid; gap: 0.7em; }
.a-stufe {
  display: flex;
  align-items: flex-start;
  gap: 0.9em;
  padding: 1em;
  border-radius: 1.1em;
  background: var(--flaeche);
  box-shadow: 0 0 0 1px var(--rand-weich);
}
.a-stufe.aktiv { box-shadow: inset 0 0 0 1.5px var(--apps); }
.a-stufe-text { display: grid; gap: 0.3em; }
.a-stufe-text b { font-size: 1.05em; }
.a-stufe-text small { font-size: 0.85em; color: var(--leise); line-height: 1.3; }
.a-stufe .staerke { height: 1.2em; gap: 0.18em; margin-top: 0.1em; }
.a-stufe .staerke span { width: 0.32em; border-radius: 0.1em; }
.a-stufe .staerke span:nth-child(1) { height: 0.5em; }
.a-stufe .staerke span:nth-child(2) { height: 0.85em; }
.a-stufe .staerke span:nth-child(3) { height: 1.2em; }
.a-uhrring { position: relative; width: 14em; height: 14em; margin: 1em 0; }
.a-uhrring > svg:not(.symbol),
.a-levelring > svg:not(.symbol) { width: 100%; height: 100%; rotate: -90deg; }
.spur { fill: none; stroke: var(--flaeche-hoch); stroke-width: 6; }
.lauf { fill: none; stroke: var(--apps); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 276.5; stroke-dashoffset: 0; }
.a-zeit {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  font-size: 2.8em;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.a-zeit .symbol { width: 0.5em; height: 0.5em; color: var(--apps); }
.a-hinweis { align-self: stretch; margin-top: 0.4em; }
.a-hinweis b { flex: 1; text-align: left; font-size: 0.95em; }

/* Video-App ohne Kurzvideo-Reiter: Beitraege im Querformat, unten vier
   Reiter. Wo sonst der Reiter fuer Kurzvideos saesse, ist keiner. Kein
   fremdes Zeichen, kein Name. */
.a-videoapp { display: flex; flex-direction: column; gap: 1.1em; padding: 3.2em 1.2em 0; background: var(--flaeche); }
.a-appkopf { display: flex; align-items: center; justify-content: space-between; color: var(--leise); }
.a-appzeichen { display: grid; place-items: center; width: 2.3em; height: 1.7em; border-radius: 0.55em; background: var(--tinte); color: var(--flaeche); }
.a-appzeichen .symbol { width: 1.05em; height: 1.05em; fill: currentColor; stroke-width: 1; }
.a-beitrag { display: grid; gap: 0.5em; }
.a-kanal { display: block; width: 1.9em; height: 1.9em; border-radius: 50%; }
.a-kanal.k1 { background: color-mix(in oklch, var(--figur) 70%, var(--flaeche)); }
.a-kanal.k2 { background: color-mix(in oklch, var(--apps) 45%, var(--flaeche)); }
.a-kanal.k3 { background: color-mix(in oklch, var(--schutz) 45%, var(--flaeche)); }
.a-video {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 0.9em;
  background: linear-gradient(140deg, color-mix(in oklch, var(--figur) 60%, var(--kurzvideo)) 0%, var(--kurzvideo) 100%);
  color: #FFFFFF;
}
.a-video .symbol { width: 2.2em; height: 2.2em; fill: currentColor; stroke-width: 1; opacity: 0.9; }
.a-video.zwei { background: linear-gradient(140deg, color-mix(in oklch, var(--apps) 70%, #FFFFFF) 0%, var(--apps) 100%); }
.a-video.drei { background: linear-gradient(140deg, color-mix(in oklch, var(--schutz) 60%, #FFFFFF) 0%, var(--schutz) 100%); }
.a-videoapp .a-leiste { justify-content: space-around; }

/* Gesperrte App */
.a-apps { padding: 4em 1.3em 0; }
.a-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1em 0.95em; opacity: 0.5; }
.a-raster span { aspect-ratio: 1; border-radius: 0.95em; }
.a-raster .t1 { background: color-mix(in oklch, var(--apps) 26%, var(--flaeche-hoch)); }
.a-raster .t2 { background: color-mix(in oklch, var(--schutz) 26%, var(--flaeche-hoch)); }
.a-raster .t3 { background: color-mix(in oklch, var(--kurzvideo) 26%, var(--flaeche-hoch)); }
.a-raster .t4 { background: color-mix(in oklch, var(--eigene) 24%, var(--flaeche-hoch)); }
.a-raster .t5 { background: color-mix(in oklch, var(--start) 24%, var(--flaeche-hoch)); }
.a-raster .t6 { background: color-mix(in oklch, var(--figur) 45%, var(--flaeche-hoch)); }
.a-raster .gesperrt { display: grid; place-items: center; background: var(--apps); color: #FFFFFF; }
.a-raster .gesperrt .symbol { width: 1.4em; height: 1.4em; }
.a-blatt {
  position: absolute;
  left: 1.2em;
  right: 1.2em;
  top: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  padding: 1.6em 1.4em;
  border-radius: 1.6em;
  background: var(--flaeche);
  box-shadow: 0 0 0 1px var(--rand-weich), 0 1.6em 3em -1.4em rgb(var(--schatten) / 0.45);
}
.a-blatt .a-rund { width: 3.2em; height: 3.2em; border-radius: 1em; margin-bottom: 0.4em; }
.a-blatt .a-rund .symbol { width: 1.7em; height: 1.7em; }
.a-blatt b { font-size: 1.15em; }
.a-blatt small { display: inline-flex; align-items: center; gap: 0.3em; color: var(--leise); font-size: 0.95em; font-variant-numeric: tabular-nums; }
.a-blatt small .symbol { width: 1.1em; height: 1.1em; }

/* YouTube nach eigener Wahl */
.a-yt { display: flex; flex-direction: column; background: var(--flaeche); }
.a-yt-inhalt { display: grid; gap: 1.4em; padding: 1.8em 2.2em; }
.a-chips { display: flex; gap: 0.6em; }
.a-chips span { width: 5.6em; height: 2em; border-radius: 99em; background: var(--flaeche-hoch); }
.a-chips .aktiv { background: color-mix(in oklch, var(--eigene) 70%, var(--flaeche)); }
.a-vorschauen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.a-vorschauen i { display: block; aspect-ratio: 16 / 9; border-radius: 0.8em; }
.a-vorschauen .v1 { background: linear-gradient(135deg, color-mix(in oklch, var(--schutz) 40%, var(--flaeche)), color-mix(in oklch, var(--schutz) 75%, var(--flaeche))); }
.a-vorschauen .v2 { background: linear-gradient(135deg, color-mix(in oklch, var(--figur) 55%, var(--flaeche)), color-mix(in oklch, var(--kurzvideo) 55%, var(--flaeche))); }
.a-vorschauen .v3 { background: linear-gradient(135deg, color-mix(in oklch, var(--apps) 35%, var(--flaeche)), color-mix(in oklch, var(--start) 65%, var(--flaeche))); }
.a-vorschauen .v4 { background: linear-gradient(135deg, color-mix(in oklch, var(--eigene) 35%, var(--flaeche)), color-mix(in oklch, var(--eigene) 65%, var(--flaeche))); }

/* Ruhe-Reiter */
.a-ruhe { position: relative; flex-direction: column; align-items: center; justify-content: center; gap: 1.2em; }
.a-ruhe > * { position: relative; }
.a-himmel {
  position: absolute !important;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in oklch, var(--figur) 32%, var(--flaeche)) 0%, color-mix(in oklch, var(--eigene) 10%, var(--flaeche)) 60%, var(--flaeche) 100%);
}
.a-ruhe .a-titel { font-size: 1.6em; }
.a-ruhe .a-atem { width: 15em; height: 15em; --ton: var(--figur); }
.a-ruhe .a-ring { border-color: color-mix(in oklch, #FFFFFF 70%, transparent); }
.a-ruhe .a-ring.r2 { border-color: color-mix(in oklch, #FFFFFF 45%, transparent); }
.a-ruhe .a-kern {
  background: radial-gradient(circle at 38% 32%, #FFFFFF, color-mix(in oklch, var(--figur) 65%, #FFFFFF) 80%);
  box-shadow: 0 0 4em color-mix(in oklch, var(--figur) 60%, transparent);
}

/* Ruhiger Startbildschirm: nur Text */
.a-launcher { display: flex; flex-direction: column; gap: 0.4em; padding: 4.6em 1.8em 0; }
.a-uhrzeit { font-size: 3.4em; font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.a-favoriten { display: grid; gap: 0.6em; margin-top: 1.6em; font-size: 1.7em; font-weight: 500; letter-spacing: -0.01em; }
.a-alphabet {
  position: absolute;
  right: 0.7em;
  top: 34%;
  display: flex;
  flex-direction: column;
  gap: 0.18em;
  font-size: 0.95em;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  color: var(--leise);
}
.a-suche {
  position: absolute;
  left: 1.4em;
  right: 1.4em;
  bottom: 2.2em;
  display: flex;
  align-items: center;
  height: 3.2em;
  padding: 0 1.1em;
  border-radius: 99em;
  background: var(--flaeche-hoch);
  color: var(--leise);
}

/* Uebungen und Muenzen */
.a-uebungen { display: grid; gap: 0.6em; margin: 0; padding: 0; list-style: none; }
.a-uebungen li {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.8em;
  border-radius: 1.1em;
  background: var(--flaeche);
  box-shadow: 0 0 0 1px var(--rand-weich);
  font-size: 1.02em;
  font-weight: 500;
}
.a-uebungen .a-rund { width: 2.2em; height: 2.2em; }
.a-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-start .a-uebungen { margin-top: 0.1em; }
.a-muenze { display: grid; place-items: center; width: 1.9em; height: 1.9em; }
.a-muenze img { display: block; width: 100%; height: 100%; }

/* Atmen in den Ansichten: ein ruhiger Zug, wenn sie ins Bild kommen. Hoechstens 5 s,
   weil es sich nicht anhalten laesst (WCAG 2.2.2). */
@media (prefers-reduced-motion: no-preference) {
  .a-sperrseite .a-kern,
  .a-ruhe .a-kern { animation: atmen 5s ease-in-out 1; }
  .js .a-kern { animation-play-state: paused; }
  .js .ist-sichtbar .a-kern { animation-play-state: running; }
}
@keyframes atmen {
  0%, 100% { transform: scale(0.82); }
  50% { transform: scale(1.14); }
}

/* --------------------------------------------------------- Vier Vorteile -- */

.vorteile { padding-bottom: clamp(24px, 3vw, 48px); }
.vorteile-liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 24px;
  margin: clamp(56px, 7vw, 112px) 0 0;
  padding: 0;
  list-style: none;
}
.vorteile-liste li { display: grid; justify-items: center; gap: 28px; }
/* Linien-Symbole auf 48er Raster, eine Farbe je Symbol (Ton der Kategorie). */
.vorteile-liste .vorteil-symbol { width: clamp(96px, 10vw, 128px); height: auto; aspect-ratio: 1; stroke-width: 2.1; }
.vorteil-zahl { fill: currentColor; stroke: none; font-size: 6.2px; font-weight: 600; }
.vorteile-liste span { font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.5rem); font-weight: 500; line-height: 1.3; color: var(--leise); }
@media (max-width: 479px) {
  .vorteile-liste .symbol.gross { width: 72px; height: 72px; stroke-width: 2.6; }
}
@media (min-width: 900px) { .vorteile-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ------------------------------------------- Paare aus Bild und Text -- */

.paar { display: grid; gap: 56px; align-items: center; }
.paar-text .lead { max-width: 32em; }

@media (min-width: 1024px) {
  .paar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 96px); }
}

/* Impuls: der Laptop mit der Sperrseite, um ihn herum Atem-Ringe. */
.impuls-bild { position: relative; display: grid; place-items: center; padding-block: 32px; }
.impuls-bild .laptop { position: relative; width: min(640px, 100%); z-index: 1; }
.atemringe { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.atemringe span {
  grid-area: 1 / 1;
  width: min(420px, 100vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklch, var(--schutz) 26%, transparent);
}
.atemringe span:nth-child(2) { width: min(540px, 120vw); border-color: color-mix(in oklch, var(--schutz) 16%, transparent); }
.atemringe span:nth-child(3) { width: min(660px, 140vw); border-color: color-mix(in oklch, var(--schutz) 9%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .js .impuls-bild.ist-sichtbar .atemringe span { animation: ring-atmen 4.2s ease-in-out 1; }
  .js .impuls-bild.ist-sichtbar .atemringe span:nth-child(2) { animation-delay: 400ms; }
  .js .impuls-bild.ist-sichtbar .atemringe span:nth-child(3) { animation-delay: 800ms; }
}
@keyframes ring-atmen {
  0%, 100% { transform: scale(0.94); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* ------------------------------------------------------------ Zeitfenster -- */

.zeitfenster {
  background: linear-gradient(180deg,
    var(--grund) 0%,
    color-mix(in oklch, var(--schutz) 7%, var(--grund)) 22%,
    color-mix(in oklch, var(--schutz) 7%, var(--grund)) 78%,
    var(--grund) 100%);
}
.zeitfenster .lead { margin-top: clamp(40px, 5vw, 64px); }

.fensterkarten { display: grid; gap: 20px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }

.fensterkarte {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 30px 22px 22px;
  border-radius: var(--r-karte);
  background: var(--flaeche);
  box-shadow: var(--karten-schatten);
  color: var(--tinte);
}
.fk-ort { position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; color: var(--leise); }
.fk-art { position: absolute; right: 14px; top: 12px; display: inline-flex; padding: 2px; border-radius: 999px; background: var(--flaeche-hoch); font-size: 0.8rem; }
.fk-art span { padding: 2px 9px; border-radius: 999px; color: var(--leise); }
.fk-art .an { background: var(--flaeche); color: var(--tinte); font-weight: 600; box-shadow: 0 1px 2px rgb(var(--schatten) / 0.12); }
/* Das bunte Symbol wie im Startbildschirm der Einfuehrung; sein Schatten ist Teil der Zeichnung. */
.fk-bild { display: block; width: 52px; height: auto; margin: 6px 0 4px; }
.fk-name { font-size: 1.3rem; font-weight: 600; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.fk-zeit { color: var(--leise); font-variant-numeric: tabular-nums; }
.fk-tage { display: flex; gap: 5px; margin-top: 4px; }
.fk-tage span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--flaeche-hoch);
  color: var(--leise);
  font-size: 0.8rem;
  font-weight: 600;
}
.fk-tage .an { background: var(--ton); color: var(--ton-auf, #FFFFFF); }
/* Die untere Reihe tritt zurueck: kleiner, leiserer Schatten, Text bleibt voll lesbar. */
.fensterkarte.blass { scale: 0.96; box-shadow: 0 0 22px rgb(var(--schatten) / 0.06); }

@media (min-width: 640px) {
  .fensterkarten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fensterkarte:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
@media (min-width: 1024px) {
  .fensterkarten { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 44px; }
  .fensterkarte:nth-child(1) { grid-column: 1 / 3; }
  .fensterkarte:nth-child(2) { grid-column: 3 / 5; }
  .fensterkarte:nth-child(3) { grid-column: 5 / 7; }
  .fensterkarte:nth-child(4) { grid-column: 2 / 4; margin-top: 42px; }
  .fensterkarte:nth-child(5) { grid-column: 4 / 6; margin-top: 42px; width: auto; justify-self: stretch; }
  .fensterkarte.versetzt { translate: 0 42px; }
}

/* ---------------------------------------------------------------- Strenge -- */

.strenge-frage { font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.5rem); font-weight: 600; line-height: 1.35; color: var(--leise); margin-bottom: 0.9em; }

.stufen { display: grid; margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rand); max-width: 34em; }
.stufen li {
  display: grid;
  grid-template-columns: 28px 5.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rand);
}
.staerke { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.staerke span { width: 5px; border-radius: 2px; background: var(--rand); }
.staerke span:nth-child(1) { height: 7px; }
.staerke span:nth-child(2) { height: 11px; }
.staerke span:nth-child(3) { height: 16px; }
.staerke .an { background: var(--tinte); }
.stufe-name { font-weight: 600; font-size: 1.1rem; }
.stufe-text { color: var(--leise); }
@media (max-width: 479px) {
  .stufen li { grid-template-columns: 28px minmax(0, 1fr); row-gap: 2px; }
  .stufe-text { grid-column: 2; }
}

/* Zwei Handys wie im Vorbild: eines hinten links tiefer, eines vorn rechts. */
.zwei-geraete { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.zwei-geraete .hinten { width: 100%; margin-top: 18%; margin-right: -10%; }
.zwei-geraete .vorne { width: 100%; margin-left: -10%; z-index: 1; }
@media (min-width: 1024px) {
  .zwei-geraete { display: block; min-height: 700px; }
  .zwei-geraete .hinten { position: absolute; left: 4%; top: 13%; width: 290px; margin: 0; }
  .zwei-geraete .vorne { position: absolute; right: 2%; top: 0; width: 310px; margin: 0; }
}

/* ------------------------------------------------------------- Leitsaetze -- */

.leitsaetze { position: relative; padding-block: clamp(96px, 10.4vw, 150px); color: #F2F1ED; isolation: isolate; }
.nachtflaeche {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--nacht);
  background-image: var(--nacht-verlauf);
}
.leit-spalte { width: min(100% - 2 * var(--seite), 640px); }
.leitsaetze .titel { color: #F2F1ED; margin-bottom: clamp(56px, 7vw, 112px); max-width: 12ch; }
.leitsatz {
  margin: 0;
  color: var(--leit);
  font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.leitsatz + .leitsatz { margin-top: clamp(24px, 2.6vw, 38px); }

/* ------------------------------------------------------------- Funktionen -- */

.funktionen { padding-bottom: clamp(24px, 3vw, 48px); }
.funktionen .titel-gross { margin-bottom: clamp(48px, 5vw, 80px); }

/* Geraete-Marke oben rechts: wo die Funktion laeuft. */
.kachel { position: relative; }
.geraete-marke {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--rand-weich);
  color: var(--leise);
}
.geraete-marke .symbol { width: 18px; height: 18px; }


.kacheln { display: grid; gap: 56px 32px; margin: 0; padding: 0; list-style: none; }
.kachel h3 { display: flex; align-items: center; gap: 12px; margin: 26px 0 10px; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; }
.kachel p { color: var(--leise); max-width: 26em; }
/* Kachel mit eigener Themenseite: der Titel ist der Link, seine Flaeche
   spannt ueber die ganze Kachel. Kein Extra-Link unter dem Text, damit die
   Titel einer Reihe auf einer Linie bleiben. */
.kachel h3 a { display: inherit; align-items: inherit; gap: inherit; color: inherit; text-decoration: none; }
.kachel h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-kachel); }
.kachel h3 a:focus-visible { outline: none; }
.kachel h3 a:focus-visible::after { outline: 2px solid var(--fokus); outline-offset: 4px; }
.kachel-pfeil { width: 18px; height: 18px; color: var(--leise); }
@media (hover: hover) and (pointer: fine) {
  .kachel:has(h3 a:hover) .kachel-pfeil { color: var(--tinte); translate: 3px 0; }
  .kachel:has(h3 a:hover) .kachel-bild { box-shadow: inset 0 0 0 1px var(--rand); }
}
/* Druck: das Bild gibt kurz nach, damit der Klick auf die Kachel spuerbar ist. */
.kachel:has(h3 a:active) .kachel-bild { scale: 0.985; }
@media (prefers-reduced-motion: no-preference) {
  .kachel-pfeil { transition: translate 200ms cubic-bezier(0.23, 1, 0.32, 1), color 200ms ease; }
  .kachel:has(h3 a) .kachel-bild { transition: scale 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease; }
}

/* Eine ruhige Flaeche fuer alle Kacheln; der Ton der Kategorie nur als
   weicher Schein hinter dem Geraet und im Symbol am Titel. */
.kachel-bild {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-kachel);
  background:
    radial-gradient(62% 58% at 50% 56%, color-mix(in oklch, var(--ton) 28%, transparent) 0%, transparent 100%),
    var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--rand-weich);
}
.kachel-bild.handy-bild { align-items: flex-start; padding-top: 11%; }
.kachel-bild.zeigt-unten { align-items: flex-end; padding-top: 0; }
.kachel-bild.zeigt-unten .handy { margin-bottom: -5%; }
.kachel-bild .handy { width: 56%; }
/* In den Kacheln der Laptop gross und oben angesetzt: das Display ganz, von
   der Tastatur nur der Anfang, den Rest schneidet die Kachel ab. */
.kachel-bild:has(> .laptop) { align-items: flex-start; padding-top: 24%; }
.kachel-bild .laptop { width: 118%; flex: none; }

@media (min-width: 640px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Weitere Funktionen: zugeklappt schaut die obere Kante der Bilder heraus und
   laeuft nach unten aus; der Knopf sitzt auf dem Auslauf. */
.mehr-funktionen { position: relative; margin-top: 56px; }
.kacheln-mehr { overflow: hidden; }
.mehr-funktionen.zu .kacheln-mehr {
  max-height: 210px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
.mehr-knopf {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -36px auto 0;
  min-height: 52px;
  padding: 0 22px 0 26px;
  /* Durchsichtig statt 0: Im Kontrastmodus wird der Rand sichtbar. */
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--tinte);
  color: var(--grund);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgb(var(--schatten) / 0.5);
}
.mehr-funktionen:not(.zu) .mehr-knopf { margin-top: 48px; }
.mehr-knopf .symbol { width: 20px; height: 20px; }
.mehr-funktionen.zu .mehr-zu, .mehr-funktionen:not(.zu) .mehr-auf { display: none; }
.mehr-funktionen:not(.zu) .mehr-knopf .symbol { transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) {
  .kacheln-mehr { transition: max-height 520ms cubic-bezier(0.22, 1, 0.36, 1); }
  .mehr-knopf .symbol { transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), translate 200ms ease; }
  .mehr-knopf:hover .symbol { translate: 0 2px; }
}

/* Bilder der weiteren Funktionen */
.a-eigene { display: flex; flex-direction: column; gap: 0.7em; padding: 2.4em 1.2em; }
.a-eigene .a-titel { margin-bottom: 0.4em; }
.a-zeile { display: grid; flex: 1; text-align: left; line-height: 1.2; }
.a-zeile small { color: var(--leise); font-size: 0.8em; }
.a-eigene .a-karte > .symbol { color: var(--leise); }
.abgleich-bild { position: relative; }
.abgleich-bild .laptop { width: 82%; margin-right: 12%; }
.abgleich-bild .handy { position: absolute; right: 9%; bottom: 14%; width: 24%; }
.a-gleich { display: grid; place-items: center; height: 100%; }
.a-laptop.a-gleich .a-figur { width: 9em; height: 9em; }
.a-laptop.a-gleich .a-figur .symbol { width: 4.6em; height: 4.6em; }

/* ----------------------------------------------------------------- Spiel -- */
/* Das eine laute Bild der Seite: die Figur in 3D auf dem Gipfel. Darunter
   ein Raster aus fuenf Karten, jede mit ihrem eigenen Bild aus der App,
   keine zwei gleich gebaut. */

.spiel { position: relative; }
.spiel-kopf { display: grid; gap: 24px; align-items: center; }
.spiel-kopf .lead { max-width: 30em; }
/* Ein Kasten im Seitenverhaeltnis von Berg und Figur: Der Berg fuellt die
   Breite, sein Gipfel liegt bei 69 % seiner Hoehe, also bei 47,5 % des Kastens. */
.spiel-held { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; }
.spiel-held .kreis { top: 50%; width: 112%; }
/* Die Figur in ihrer Turnhalle, wie in der App, rund geschnitten. */
.spiel-szene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 30px 60px -28px rgb(var(--schatten) / 0.55), 0 0 0 1px var(--rand-weich);
}

.spiel-raster {
  display: grid;
  gap: 20px;
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}
.spiel-karte {
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 36px);
  border-radius: var(--r-kachel);
  background: var(--flaeche);
  box-shadow: var(--karten-schatten);
}
.spiel-karte h3 { margin-bottom: 8px; font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.spiel-karte p { color: var(--leise); max-width: 34em; }

.sk-bild { display: flex; align-items: flex-end; justify-content: center; gap: 12px; min-height: 180px; }

/* Stimmung: dieselbe Figur bedrueckt und froh, darunter die vier Gesichter der
   App auf einer Leiste in ihren Farben (Stimmung.tsx). */
.sk-stimmung .sk-bild { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; align-items: end; gap: 10px 0; }
.sk-figur { width: auto; height: clamp(180px, 19vw, 250px); }
.sk-figur.matt { grid-column: 1; grid-row: 1; filter: saturate(0.5); opacity: 0.8; }
.sk-figur:not(.matt) { grid-column: 2; grid-row: 1; }
.sk-skala {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: stretch;
  display: flex;
  justify-content: space-between;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    color-mix(in oklch, #8a8c90 26%, transparent),
    color-mix(in oklch, #b5441b 20%, transparent) 36%,
    color-mix(in oklch, #d9a030 24%, transparent) 64%,
    color-mix(in oklch, #2e9a5c 26%, transparent));
}
.sk-skala img { display: block; width: clamp(30px, 2.8vw, 38px); height: auto; }

/* Geschenke: Apfel und Shake auf einem Tablett. */
.sk-tablett {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  padding: 18px 34px 10px;
  border-radius: 999px 999px 32px 32px / 120px 120px 32px 32px;
  background: radial-gradient(70% 60% at 50% 100%, color-mix(in oklch, var(--figur) 30%, transparent), transparent 70%);
}
.sk-tablett img { width: clamp(76px, 8vw, 104px); height: auto; filter: drop-shadow(0 10px 10px rgb(var(--schatten) / 0.18)); }
.sk-tablett img + img { width: clamp(64px, 6.6vw, 88px); }

/* Level: die Raeume des Wegs nacheinander, dazwischen Muenzen. */
.sk-weg {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}
.sk-weg li { position: relative; flex: 1 1 0; min-width: 0; }
.sk-weg img { display: block; width: 100%; height: auto; border-radius: 10px; }
/* Zwischen den Raeumen: das Level-Abzeichen der App (LevelAbzeichen.kt), ab dem
   der naechste Raum frei ist (Umgebung.abTag + 1 in daten/Figur.kt), darunter
   ein Pfeil zum naechsten Raum. */
.sk-weg .weg-stufe { flex: 0 0 auto; display: grid; justify-items: center; gap: 6px; }
.weg-schild { display: block; width: 42px; height: 42px; overflow: visible; font-family: inherit; }
.weg-pfeil { display: block; width: 22px; height: 11px; color: var(--leise); opacity: 0.7; }
@media (max-width: 639px) {
  /* Drei Raeume oben, zwei unten; Abzeichen und Pfeil bleiben dazwischen. */
  .sk-weg { flex-wrap: wrap; justify-content: center; gap: 10px 5px; }
  .sk-weg li { flex: 0 0 calc((100% - 2 * 30px - 4 * 5px) / 3); }
  .sk-weg li.weg-stufe { flex: 0 0 30px; gap: 4px; }
  .weg-schild { width: 30px; height: 30px; }
  .weg-pfeil { width: 16px; height: 8px; }
}

/* Muenzen: die Goldmuenze der App (geraete/symbole/muenze.svg), drei leicht
   ueberlappend, die mittlere vorn. */
.sk-stapel { display: flex; align-items: center; }
.sk-stapel .a-muenze { width: 84px; height: 84px; filter: drop-shadow(0 10px 14px rgb(var(--schatten) / 0.22)); }
.sk-stapel .a-muenze + .a-muenze { margin-left: -22px; }
.sk-stapel .a-muenze:nth-child(2) { position: relative; z-index: 1; width: 104px; height: 104px; }

/* Uebungen: Zeilen wie die Kacheln im Ruhe-Reiter. */
.sk-uebungen { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sk-uebungen li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-karte);
  background: var(--grund);
  font-weight: 500;
}
.sk-uebungen li > span:nth-child(2) { flex: 1; min-width: 0; }
.sk-uebungen .a-rund { font-size: 17px; }
/* Die Figur bei der Uebung, wie im Ruhe-Reiter am PC (ruhe_avatar_*), auf dem
   Farbfeld der Uebung, Kopf und Oberkoerper im Bild. */
.sk-uebungen .uebung-bild { position: relative; width: 52px; height: 52px; font-size: 0; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, color-mix(in oklch, var(--ton) 30%, white), color-mix(in oklch, var(--ton) 62%, white)); }
.sk-uebungen .uebung-bild img { position: absolute; left: 50%; top: 8%; width: 74%; height: auto; translate: -50% 0; }
.sk-uebungen .a-muenze { font-size: 17px; }

@media (min-width: 640px) {
  .spiel-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-stimmung, .sk-level, .sk-uebung { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .spiel-kopf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .spiel-raster { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .sk-stimmung { grid-column: 1 / 8; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
  .sk-geschenk { grid-column: 8 / 13; }
  .sk-level { grid-column: 1 / -1; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 48px; }
  .sk-muenzen-karte { grid-column: 1 / 6; }
  .sk-uebung { grid-column: 6 / 13; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 36px; }
}

/* ---------------------------------------------------------------- Geraete -- */

.geraete-raster { display: grid; gap: 48px; }
.geraete-erweiterung { color: var(--leise); max-width: 32em; margin-top: 1.4em; }

/* Laden: ein grosser Knopf zur Download-Seite (Geraete und Schluss); dort waehlt man das Geraet. */
.geraete-text .laden-gross { margin-top: 36px; }
.laden-gross {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 30rem;
  min-height: 84px;
  padding: 14px 26px 14px 14px;
  border-radius: var(--r-knopf);
  background: var(--tinte);
  color: var(--grund);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.laden-pfeil { width: 26px; height: 26px; stroke-width: 2; }
.laden-gross:focus-visible { outline: 2px solid var(--fokus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .laden-gross:hover { background: color-mix(in srgb, var(--tinte) 86%, var(--grund)); }
}
@media (prefers-reduced-motion: no-preference) {
  .laden-gross { transition: transform 160ms var(--aus), background-color 200ms ease; }
  .laden-gross:active { transform: scale(0.98); }
  .laden-pfeil { transition: transform 220ms var(--aus); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Der Pfeil zeigt, wohin es geht: einen Schritt nach unten, wie ein Download. */
  .laden-gross:hover .laden-pfeil { transform: translateY(3px); }
}
@media (max-width: 559px) {
  .laden-gross { min-height: 76px; font-size: 1.15rem; gap: 14px; padding-right: 20px; }
}

@media (min-width: 1024px) {
  .geraete-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 112px); align-items: start; }
}

/* ------------------------------------------------------------ Datenschutz -- */

.ds-tafel {
  display: grid;
  gap: 40px;
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--r-kachel);
  background: var(--flaeche);
  box-shadow: var(--karten-schatten);
}
/* Linien-Schild wie die Vorteile-Symbole: eine Farbe, Silber. */
.ds-schild { display: block; width: 80px; height: auto; fill: none; stroke: #C6CCD3; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ds-kopf .titel { margin: 0 0 14px; max-width: 13ch; }
/* Unter Titel und Link, damit der Titel oben steht. */
.ds-kopf .ds-schild { margin-top: 32px; }
.ds-punkte { display: grid; gap: 28px 40px; margin: 0; padding: 0; list-style: none; }
.ds-punkte li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; }
.ds-punkte .symbol { width: 26px; height: 26px; margin-top: 2px; color: var(--tinte); }
.ds-punkte p { font-size: clamp(1.08rem, 0.98rem + 0.3vw, 1.25rem); font-weight: 500; line-height: 1.4; }
@media (min-width: 640px) { .ds-punkte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .ds-tafel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 64px; }
}

/* ----------------------------------------------------------------- Fragen -- */

.fragen-raster { display: grid; gap: 24px; }
.fragenliste { border-top: 1px solid var(--rand); }
.frage { border-bottom: 1px solid var(--rand); }
.frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 20px 4px;
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.frage summary .symbol { color: var(--leise); }
.frage[open] summary .symbol { transform: rotate(180deg); }
.antwort { padding: 0 48px 26px 4px; }
.antwort p { color: var(--leise); max-width: 62ch; font-size: 1.06rem; }
@media (min-width: 1024px) {
  .fragen-raster { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(56px, 7vw, 112px); }
  .fragen .titel { position: sticky; top: calc(var(--kopf-hoehe) + 32px); align-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .frage::details-content { height: 0; overflow: clip; transition: height 300ms var(--aus), content-visibility 300ms allow-discrete; }
    .frage[open]::details-content { height: auto; }
  }
}

/* --------------------------------------------- Schluss: blXcker holen -- */

.holen { padding-block: clamp(56px, 6vw, 88px) clamp(48px, 5vw, 72px); }
.holen .rahmen { padding-top: clamp(48px, 5vw, 64px); border-top: 1px solid var(--rand); }
.holen-zeile { display: grid; gap: 24px; justify-items: start; }
.holen-knopf { grid-template-columns: minmax(0, 1fr) auto; padding-left: 26px; max-width: 22rem; }
@media (min-width: 760px) {
  .holen-zeile { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .holen-knopf { width: 22rem; }
}

/* ------------------------------------------------------------- Fusszeile -- */

.fuss { padding: 8px 0 40px; }
.fuss-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.fuss-spalte { display: flex; flex-direction: column; align-items: flex-start; }
.fuss-spalte h2 { margin-bottom: 6px; font-size: 1.125rem; font-weight: 500; letter-spacing: 0; color: var(--akzent); }
.fuss-spalte > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tinte);
  font-size: 1.06rem;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .fuss-spalte > a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
}
.fuss-unten {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 24px;
  border-top: 1px solid var(--rand-weich);
  color: var(--leise);
  font-size: 0.92rem;
}
.fuss-unten p { margin: 0; }
.fuss-unten .wortmarke { height: 19px; }
.fuss-sozial { display: flex; flex-wrap: wrap; gap: 0 20px; margin-left: auto; }
.fuss-sozial a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--tinte);
  text-decoration: none;
}
.fuss-sozial svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .fuss-sozial a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
}
@media (min-width: 900px) { .fuss-spalten { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------------------------------------------------------- Download-Seite -- */

.dl { padding-bottom: clamp(56px, 7vw, 96px); }
.dl-kopf { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
/* Die Wahl: vier Geraete, das eigene vorn (seite.js), alle gleich. */
.wahl-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block: 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .wahl-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.wahl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
  padding: 20px 20px 22px;
  border-radius: var(--r-kachel);
  background: var(--flaeche);
  box-shadow: var(--karten-schatten);
  color: var(--tinte);
  text-decoration: none;
}
.wahl-bild { --hoehe: clamp(120px, 14vw, 170px); grid-column: 1 / -1; display: grid; place-items: center; height: var(--hoehe); margin-bottom: 18px; }
.wahl-handy .geraet { width: calc(var(--hoehe) * 760 / 1549); }
.wahl-laptop .geraet { width: min(100%, calc(var(--hoehe) * 0.62 * 1400 / 1018)); }
.wahl-name { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); font-weight: 600; letter-spacing: -0.015em; }
.wahl-stand { color: var(--leise); font-size: 0.95rem; }
/* Jede Kachel traegt einen echten Knopf: hier geht es zum Download dieser Plattform. */
.wahl-knopf {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; margin-top: 20px; padding: 0 16px 0 18px;
  border-radius: var(--r-knopf);
  background: var(--tinte); color: var(--grund);
  font-size: 1rem; font-weight: 600;
}
.wahl-pfeil { width: 22px; height: 22px; stroke-width: 2; }
.wahl:focus-visible { outline: 2px solid var(--fokus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .wahl:hover { background: var(--flaeche-hoch); }
  .wahl:hover .wahl-knopf { background: color-mix(in srgb, var(--tinte) 86%, var(--grund)); }
}
@media (prefers-reduced-motion: no-preference) {
  .wahl, .wahl-knopf { transition: transform 160ms var(--aus), background-color 200ms ease; }
  .wahl:active { transform: scale(0.98); }
  .wahl-pfeil { transition: transform 220ms var(--aus); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .wahl:hover .wahl-pfeil { transform: translateY(3px); }
}
@media (max-width: 419px) {
  .wahl { padding: 16px 14px 18px; }
  .wahl-knopf { gap: 6px; padding: 0 10px 0 12px; font-size: 0.9rem; }
}
.dl-symbol { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--flaeche-hoch); }
.dl-symbol .symbol { width: 28px; height: 28px; }
.dl-inhalt h2 { margin: 10px 0 8px; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; }
.dl-inhalt p { color: var(--leise); max-width: 60ch; font-size: 1.08rem; }
.dl-hinweis { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; }
.dl-hinweis .symbol { margin-top: 3px; width: 20px; height: 20px; }
/* "Bald verfuegbar" als leiser Text, nicht als Knopf. */
.dl-bald { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--leise) !important; font-weight: 500; }
.dl-bald .symbol { width: 20px; height: 20px; }
.dl-datei { margin-top: 18px; }
.dl-version { margin-top: 10px; color: var(--leise) !important; font-size: 0.86rem !important; }
.dl-probe { color: var(--tinte) !important; font-weight: 500; }
/* ------------------------------------------------------- Geraeteseiten -- */
/* Je Geraet: Kopf wie die Download-Seite, darunter eine kurze Uebersicht. */
.geraet-seite .dl-kopf .dl-symbol { margin-bottom: 18px; }
/* Rechts neben dem Titel das Geraet wie im Einstieg der Startseite. */
.geraet-kopf { display: grid; gap: 40px; align-items: center; }
.geraet-kopf-bild { position: relative; display: grid; place-items: center; min-height: 360px; }
/* Kreis und Geraet in derselben Rasterzelle: dieselbe Mitte. */
.geraet-kopf-bild > * { grid-area: 1 / 1; }
.geraet-kopf-bild .kreis { position: relative; left: auto; top: auto; translate: none; }
/* Warnhinweis zu nicht unterstuetzten Browsern: bernsteinfarben, ruhig. */
.browser-warnung { display: flex; gap: 12px; align-items: flex-start; max-width: 38em; margin: 22px 0 0; padding: 14px 18px; border: 1px solid rgb(245 158 11 / 0.35); border-radius: var(--r-karte); background: rgb(245 158 11 / 0.08); color: var(--leise); font-size: 0.98rem; line-height: 1.5; }
.browser-warnung .symbol { flex: none; margin-top: 2px; color: #F5B041; }
.browser-warnung strong { color: #F5C66B; font-weight: 600; }
.geraet-kopf-bild .kreis { width: min(440px, 88vw); }
.geraet-kopf-bild .geraet.laptop { position: relative; width: min(560px, 100%); }
.geraet-kopf-bild .geraet.handy { position: relative; width: min(260px, 66vw); }
@media (min-width: 1024px) {
  .geraet-kopf { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; }
  .geraet-kopf-bild { min-height: 520px; }
  .geraet-kopf-bild .kreis { width: 480px; }
}
.geraet-laden { margin-top: 28px; }
.geraet-laden .dl-datei, .geraet-laden .dl-bald { margin-top: 0; }
.geraet-uebersicht { padding-bottom: clamp(56px, 7vw, 104px); }
.geraet-uebersicht .titel { margin-bottom: 28px; }
.geraet-funktionen { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.geraet-funktionen li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; border-radius: var(--r-karte); background: var(--flaeche); box-shadow: var(--karten-schatten); }
.gf-zeichen { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-symbol); background: var(--ton); color: var(--ton-auf, #FFFFFF); }
.gf-zeichen .symbol { width: 24px; height: 24px; }
.geraet-funktionen h3 { margin: 2px 0 4px; font-size: 1.08rem; font-weight: 600; }
.geraet-funktionen p { margin: 0; color: var(--leise); font-size: 0.98rem; line-height: 1.45; }
@media (min-width: 720px) { .geraet-funktionen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* So geht's: drei Schritte nebeneinander, die Zahl in Gold. */
.geraet-schritte { padding-top: 0; }
.schritt-liste { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.schritt-liste li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 22px 24px; border-radius: var(--r-karte); background: var(--flaeche); box-shadow: var(--karten-schatten); }
.schritt-zahl { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--akzent); color: var(--akzent); font-size: 1.15rem; font-weight: 700; }
.schritt-liste h3 { margin: 2px 0 6px; font-size: 1.1rem; font-weight: 600; }
.schritt-liste p { margin: 0; color: var(--leise); font-size: 0.98rem; line-height: 1.5; }
.geraet-schritte .browser-warnung { margin-top: 28px; max-width: none; }
@media (min-width: 900px) { .schritt-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* ----------------------------------------------------------- Support -- */
.support-teil { padding-bottom: clamp(48px, 6vw, 88px); }
.support-teil .titel { margin-bottom: 24px; }
/* Suchfeld ueber den Fragen: filtert beim Tippen, ohne JavaScript unsichtbar. */
.support-suche {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 560px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
html:not(.js) .support-suche { display: none; }
.support-suche .symbol { position: absolute; left: 18px; color: var(--leise); pointer-events: none; }
.support-suche input {
  width: 100%;
  min-height: 52px;
  padding: 0 20px 0 50px;
  border: 1px solid var(--rand);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--tinte);
  font: inherit;
  font-size: 1.06rem;
}
.support-suche input::placeholder { color: var(--leise); }
.support-suche input:focus-visible { outline: 2px solid var(--fokus); outline-offset: 2px; border-color: transparent; }
.support-gruppen { display: grid; gap: clamp(36px, 4vw, 56px); }
.support-gruppe-titel { margin: 0 0 12px; color: var(--leise); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.support-gruppe[hidden], .support-gruppe .frage[hidden] { display: none; }
.support-leer { margin: 0; color: var(--leise); font-size: 1.06rem; }
.support-leer a { color: var(--tinte); text-decoration: underline; text-decoration-color: var(--akzent); text-underline-offset: 4px; }
.support-kontakt { padding: clamp(28px, 5vw, 56px); border-radius: var(--r-kachel); background: var(--flaeche); box-shadow: var(--karten-schatten); }
.support-kontakt .lead { max-width: 34em; }
.support-adresse { display: flex; align-items: center; gap: 10px; margin: 20px 0 24px; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 600; }
.support-adresse .symbol { color: var(--akzent); }
.support-adresse a { color: var(--tinte); text-decoration: underline; text-decoration-color: var(--akzent); text-underline-offset: 5px; }
.support-tipps { display: grid; gap: 8px; margin: 0; padding-left: 1.2em; color: var(--leise); }
.support-tipps li::marker { color: var(--akzent); }
.support-discord { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; font-size: 1.06rem; color: var(--leise); }
.support-discord svg { flex: none; color: var(--akzent); }
.support-discord a { color: var(--tinte); font-weight: 600; text-decoration: underline; text-decoration-color: var(--akzent); text-underline-offset: 4px; }

/* ------------------------------------------------------------ Fehlerseite -- */

.fehler { padding-block: clamp(56px, 8vw, 112px); }
.fehler-innen { display: grid; gap: 32px; }
.fehler-zeichen { display: block; width: auto; height: 96px; }
/* ---------------------------------------------------------- Kontoseite -- */
.konto { padding-block: clamp(56px, 8vw, 112px); }
.konto-innen { display: grid; gap: 24px; max-width: 600px; }
.konto-zeichen { display: block; width: auto; height: 72px; }
.konto .titel { margin: 0; }
.konto .lead { margin: 0; }
.konto-teil:not([hidden]), .konto-formular { display: grid; gap: 20px; justify-items: start; }
.konto-feld { display: grid; gap: 8px; width: 100%; color: var(--tinte); font-weight: 500; }
.konto-feld small { color: var(--leise); font-size: 0.95rem; font-weight: 400; }
.konto-feld input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--rand);
  border-radius: var(--r-knopf);
  background: var(--flaeche);
  color: var(--tinte);
  font: inherit;
  font-size: 1.06rem;
}
.konto-feld input:focus-visible { outline: 2px solid var(--fokus); outline-offset: 2px; border-color: transparent; }
.konto .knopf:disabled { opacity: 0.5; cursor: default; }
.konto-meldung { margin: 0; padding: 18px 20px; border-radius: var(--r-karte); background: var(--flaeche); color: var(--tinte); font-size: 1.06rem; line-height: 1.5; }
.konto-meldung[hidden] { display: none; }
/* Anmeldeseite der Desktop-App: gleicher Aufbau, dazu der Google-Knopf. Den
   Probe-Knopf schaltet das Skript ueber hidden; .knopf setzt display und
   wuerde es sonst ueberstimmen. */
.konto .knopf[hidden] { display: none; }
/* Ohne den grossen Fuss waere die Seite kuerzer als das Fenster, und der
   kleine Fuss hinge in der Mitte. 93px: Hoehe von .dienst-fuss. */
.konto:has(~ .dienst-fuss) { min-height: calc(100svh - var(--kopf-hoehe) - 93px); }
.konto-hinweis { margin: 0; color: var(--leise); font-size: 0.95rem; }
/* Nach den Vorgaben von Google fuer Anmeldeknoepfe, dunkle Fassung: fast
   schwarz mit grauem Rand, das G in Farbe. */
.knopf-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid #8E918F;
  border-radius: 999px;
  background: #131314;
  color: #E3E3E3;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.knopf-google:focus-visible { outline: 2px solid var(--fokus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .knopf-google:hover { background: #1E1F20; }
}
.dienst-fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 24px;
  padding: 16px var(--seite) 32px;
  border-top: 1px solid var(--rand-weich);
  font-size: 0.92rem;
}
.dienst-fuss a { display: inline-flex; align-items: center; min-height: 44px; color: var(--leise); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .dienst-fuss a:hover { color: var(--tinte); text-decoration: underline; text-underline-offset: 0.25em; }
}
.fehler-sprachen { display: grid; gap: 40px; }
.fehler-sprache .lead { margin-top: 20px; }
.fehler .knopf { margin-top: 28px; }
.fehler-sprache + .fehler-sprache { padding-top: 40px; border-top: 1px solid var(--rand-weich); }
@media (min-width: 1024px) {
  .fehler-sprachen { grid-template-columns: 1fr 1fr; gap: 64px; }
  .fehler-sprache + .fehler-sprache { padding: 0 0 0 64px; border-top: 0; border-left: 1px solid var(--rand-weich); }
}

/* ------------------------------------------------------------ Ueber-Seite -- */
/* Kopf mit der Figur wie der Einstieg der Startseite; darunter je Thema eine
   Zeile aus Titel links und Text rechts, getrennt von einer feinen Linie. */

.ueber-kopf { padding-block: clamp(24px, 4vw, 48px) clamp(24px, 3vw, 40px); }
.ueber-kopf-raster { display: grid; gap: 24px; align-items: center; }
.ueber-kopf .lead { max-width: 24em; }
.ueber-figur { position: relative; display: grid; place-items: center; height: clamp(320px, 46vw, 520px); }
.ueber-figur .kreis { width: min(480px, 92%); }
.ueber-figur img { position: relative; width: auto; max-width: none; height: clamp(300px, 44vw, 500px); filter: drop-shadow(0 18px 24px rgb(var(--schatten) / 0.2)); }
/* Die Figur mit Daumen hoch in ihrem Zimmer, rund geschnitten wie im Spiel-Abschnitt. */
.ueber-figur .ueber-szene { width: min(440px, 86%); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--rand-weich), 0 24px 48px rgb(0 0 0 / 0.45); filter: none; }

.ueber-teil { padding-block: clamp(40px, 5vw, 72px); }
.ueber-teil + .ueber-teil .ueber-zeile { padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rand); }
.ueber-teil + .ueber-teil { padding-top: 0; }
.ueber-zeile { display: grid; gap: 8px 48px; }
.ueber-zeile .titel { margin-bottom: 0.3em; }
.ueber-fliess { max-width: 36em; font-size: clamp(1.1rem, 0.98rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--leise); }
.ueber-zeile .textlink { margin-top: 8px; }
.ueber-zeichen { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.ueber-zeichen li { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-symbol); background: var(--ton); color: var(--ton-auf, #FFFFFF); }
.ueber-zeichen .symbol { width: 26px; height: 26px; }
.ueber-fliess strong { color: var(--tinte); font-weight: 600; }
/* Quellen: klein und ruhig, nummeriert. */
.quellenliste { display: grid; gap: 10px; max-width: 46em; margin: 0; padding-left: 1.4em; color: var(--leise); font-size: 0.95rem; line-height: 1.5; }
.quellenliste li::marker { color: var(--akzent); font-weight: 600; }
@media (max-width: 479px) {
  .ueber-zeichen { gap: 8px; }
  .ueber-zeichen li { width: 44px; height: 44px; }
  .ueber-zeichen .symbol { width: 22px; height: 22px; }
}
@media (min-width: 1024px) {
  .ueber-kopf-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .ueber-zeile { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}

/* ------------------------------------------------------------ Rechtsseiten -- */

.recht { width: min(100% - 2 * var(--seite), 48rem); margin-inline: auto; padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.recht-kopf { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--rand); }
.recht h1 { margin-bottom: 14px; font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.5rem); line-height: 1.15; letter-spacing: -0.03em; }
.recht h2 { margin: 2.6em 0 0.5em; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.015em; }
.recht h3 { margin: 1.8em 0 0.4em; font-size: 1.15rem; }
.recht p, .recht li, .recht td { color: var(--leise); }
.recht p { margin: 0.8em 0; }
.recht ul { padding-left: 1.2em; }
.recht li { margin: 0.4em 0; }
.recht strong, .recht th { color: var(--tinte); }
.recht a { color: var(--tinte); text-decoration-color: color-mix(in srgb, currentColor 60%, transparent); text-underline-offset: 0.22em; }
.recht .recht-stand { font-size: 0.95rem; }
.recht .recht-hinweis { margin: 1.6em 0; padding: 22px 26px; border-radius: var(--r-karte); background: var(--flaeche); box-shadow: var(--karten-schatten); }
.recht .recht-hinweis p:first-child { margin-top: 0; }
.recht .recht-hinweis p:last-child { margin-bottom: 0; }
/* Breite Tabellen rollen in ihrer eigenen Flaeche; ein Schatten am Rand
   zeigt, dass es seitlich weitergeht (kein zusaetzlicher Text). */
.recht .tabelle {
  margin: 1em 0;
  overflow-x: auto;
  background:
    linear-gradient(to right, var(--grund) 30%, transparent) left / 32px 100% no-repeat local,
    linear-gradient(to left, var(--grund) 30%, transparent) right / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgb(var(--schatten) / 0.18), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgb(var(--schatten) / 0.18), transparent) right / 12px 100% no-repeat scroll;
}
.recht table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.recht th, .recht td { padding: 0.65em 0.6em; border-bottom: 1px solid var(--rand); text-align: left; vertical-align: top; }
.recht th { font-weight: 600; white-space: nowrap; }
.recht code {
  padding: 0.05em 0.35em;
  border-radius: 6px;
  background: var(--flaeche-hoch);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

/* --------------------------------------------- Erzwungene Farben (Windows) -- */

@media (forced-colors: active) {
  .fk-tage span { border: 1px solid CanvasText; }
  .fk-tage .an { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .staerke span { forced-color-adjust: none; background: GrayText; }
  .staerke .an { background: CanvasText; }
  .sprachwahl a[aria-current] { outline: 2px solid Highlight; }
  .fk-art .an { outline: 1px solid CanvasText; }
  .knopf-bald { border-style: dashed; }
  /* Karten und Tafeln haben ihre Kante sonst nur als Schatten, der hier wegfaellt. */
  .ausklapp-tafel, .menue-tafel, .ds-tafel, .wahl, .geraet-funktionen li, .schritt-liste li,
  .support-kontakt, .recht-hinweis { border: 1px solid CanvasText; }
}

/* ------------------------------------------------- Einblenden beim Scrollen -- */
/* Nach dem Vorbild: von unten gestaffelt (fadeInUp), Paare von links und
   rechts, im dunklen Block ein Wisch von oben. Einmal je Element (seite.js).
   Starke Ease-out-Kurve, laenger als UI-Bewegung: Es ist eine Erklaerung,
   keine Rueckmeldung. */

[data-stufe="1"] { --verzoegerung: 80ms; }
[data-stufe="2"] { --verzoegerung: 160ms; }
[data-stufe="3"] { --verzoegerung: 240ms; }
[data-stufe="4"] { --verzoegerung: 320ms; }
[data-stufe="5"] { --verzoegerung: 400ms; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .js [data-einblenden] {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition:
      opacity 700ms var(--aus) var(--verzoegerung, 0ms),
      transform 900ms var(--aus) var(--verzoegerung, 0ms);
  }
  .js [data-einblenden="links"] { transform: translate3d(-56px, 0, 0); }
  .js [data-einblenden="rechts"] { transform: translate3d(56px, 0, 0); }
  .js [data-einblenden="sanft"] { transform: translate3d(0, 48px, 0) scale(0.98); }
  .js [data-einblenden].ist-sichtbar { opacity: 1; transform: none; }
  /* Wer mit der Tastatur hineinspringt, sieht das Ziel sofort. */
  .js [data-einblenden]:focus-within { opacity: 1; transform: none; transition: none; }

  /* Der Wisch sitzt an der Flaeche, nicht am beobachteten Abschnitt: Ein
     clip-path am Element selbst zaehlt fuer den IntersectionObserver mit. */
  .js [data-einblenden="wisch"] { opacity: 1; transform: none; }
  .js [data-einblenden="wisch"] .nachtflaeche { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ein-aus); }
  .js [data-einblenden="wisch"].ist-sichtbar .nachtflaeche { clip-path: inset(0 0 0 0); }
  .js [data-einblenden="wisch"] .titel,
  .js [data-einblenden="wisch"] .leitsatz {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 700ms var(--aus), transform 900ms var(--aus);
  }
  .js [data-einblenden="wisch"].ist-sichtbar .titel,
  .js [data-einblenden="wisch"].ist-sichtbar .leitsatz { opacity: 1; transform: none; }
  .js [data-einblenden="wisch"] .titel { transition-delay: 450ms; }
  .js .leitsatz:nth-of-type(1) { transition-delay: 640ms; }
  .js .leitsatz:nth-of-type(2) { transition-delay: 760ms; }
  .js .leitsatz:nth-of-type(3) { transition-delay: 880ms; }
  .js .leitsatz:nth-of-type(4) { transition-delay: 1000ms; }
  .js .leitsatz:nth-of-type(5) { transition-delay: 1120ms; }
  .js .leitsatz:nth-of-type(6) { transition-delay: 1240ms; }
}

@media print {
  .kopf { position: static; }
  .menue, .sprung { display: none; }
  .js [data-einblenden],
  .js [data-einblenden] .nachtflaeche,
  .js [data-einblenden] .titel,
  .js [data-einblenden] .leitsatz { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Kurzvideo-Faecher (AC-37 bis AC-42).
   Grundform ohne JavaScript und bei "Bewegung reduzieren": drei Standbilder
   nebeneinander, am schmalen Schirm untereinander (AC-41). Mit .faecher-lebt
   steht die Buehne, seite.js setzt --p von 0 bis 1 ueber den Abschnitt, die
   Phasen rechnet CSS daraus. Erklaert wird mit Bild, nicht mit Untertiteln:
   Tipp-Kreise im Video, eine Uhr, die auf 0 laeuft, Reiter, die wegschrumpfen,
   und ein Short, der beim Wischen hochrutscht und zurueckfedert. */
.faecher-feld { position: relative; }
.faecher-reihe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(32px, 4vw, 56px);
}
.faecher-handy { width: min(260px, 64vw); text-align: center; }
.faecher-name { display: block; margin-bottom: 12px; font-weight: 500; color: var(--leise); }
.faecher-ebene { position: absolute; inset: 0; }
.faecher-leisten, .faecher-start, .faecher-ebene.mit, .faecher-uhr, .faecher-reiter, .faecher-kreis,
.faecher-naechstes, .faecher-finger, .faecher-heim { display: none; }

/* Scrollgetrieben nach Lehrbuch: Jeder Zustand ist eine Funktion von --p,
   nichts laeuft auf Zeit, nichts haelt das Scrollen an, rueckwaerts geht
   alles genauso (03.12.2026). seite.js glaettet --p, damit ein Rad-Ruck
   nicht springt; die Strecke ist lang genug, dass jeder Schritt rund eine
   Bildschirmhoehe bekommt. */
/* 1250svh: 900 fuer die Phasen, 70 mehr fuer den Short, 280 fuers
   Nachspiel am Laptop (seite.js, strecke). */
.faecher-lebt { height: 1250svh; padding-block: 0; }
.faecher-lebt .faecher-buehne {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(92px, 12svh, 120px) clamp(28px, 5svh, 48px);
  overflow: hidden;
  /* a Start geht, b Reihe kommt, c Uhr laeuft ab, d Mitte kommt vor,
     w Weiterwischen, h zurueck in den Tag. */
  --a: clamp(0, (var(--p, 0) - 0.16) / 0.05, 1);
  --b: clamp(0, (var(--p, 0) - 0.18) / 0.08, 1);
  --c: clamp(0, (var(--p, 0) - 0.27) / 0.11, 1);
  --d: clamp(0, (var(--p, 0) - 0.64) / 0.06, 1);
  --w: clamp(0, (var(--p, 0) - 0.87) / 0.07, 1);
  --h: clamp(0, (var(--p, 0) - 0.94) / 0.06, 1);
  /* Weich ein- und ausgeschwungen (smoothstep), weil der Finger zieht. */
  --u0: clamp(0, var(--w) / 0.4, 1);
  --u: calc(var(--u0) * var(--u0) * (3 - 2 * var(--u0)));
  --z0: clamp(0, (var(--w) - 0.55) / 0.35, 1);
  --z: calc(var(--z0) * var(--z0) * (3 - 2 * var(--z0)));
  --hh: calc(var(--h) * var(--h) * (3 - 2 * var(--h)));
}
.faecher-lebt .faecher-kopf .titel-gross { font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.4rem); }
.faecher-lebt .faecher-kopf .lead { display: none; }
/* Das Feld misst sich selbst: Die Handys passen in jede Fensterhoehe. */
.faecher-lebt .faecher-feld {
  container-type: size;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 0;
  width: 100%;
  margin-top: clamp(4px, 1svh, 12px);
  padding-top: 60px;
}
.faecher-lebt .faecher-reihe,
.faecher-lebt .faecher-start { grid-area: 1 / 1; margin: 0; }
.faecher-lebt .faecher-handy { width: clamp(130px, min(26vw, (100cqh - 40px) / 2.14), 360px); }
.faecher-lebt .faecher-start {
  display: block;
  opacity: calc(1 - var(--a));
  transform: scale(calc(1.04 - 0.1 * var(--a)));
}
.faecher-lebt .faecher-reihe {
  width: 100%;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
  opacity: var(--b);
}
.faecher-lebt .faecher-reihe .faecher-handy { position: relative; flex: none; margin-inline: calc(1.4vw * (1 - var(--d))); }
.faecher-lebt .faecher-ig { --x: -1; --k: clamp(0, (var(--p, 0) - 0.40) / 0.04, 1); --s: clamp(0, (var(--p, 0) - 0.44) / 0.05, 1); }
.faecher-lebt .faecher-yt { --x: 0; --k: clamp(0, (var(--p, 0) - 0.47) / 0.04, 1); --s: clamp(0, (var(--p, 0) - 0.51) / 0.05, 1); z-index: 1; }
.faecher-lebt .faecher-tt { --x: 1; --k: clamp(0, (var(--p, 0) - 0.54) / 0.04, 1); --s: clamp(0, (var(--p, 0) - 0.58) / 0.05, 1); }
.faecher-lebt .faecher-ig,
.faecher-lebt .faecher-tt {
  opacity: calc(1 - var(--d));
  transform: translateX(calc(var(--x) * (40% * (1 - var(--b)) + 30% * var(--d)))) scale(calc(1 - 0.1 * var(--d)));
}
.faecher-lebt .faecher-yt { transform: scale(calc(1 + 0.06 * var(--d))); }

/* Reiter: Kreis drum, dann schrumpft der Ausschnitt mit dem Symbol auf nichts,
   und darunter blendet die Leiste ohne Reiter ein. */
.faecher-lebt .faecher-ebene.mit { display: block; z-index: 1; opacity: calc(1 - var(--s)); }
.faecher-lebt .faecher-ebene.ohne { z-index: 0; }
.faecher-lebt .faecher-ig { --rx: 29.8%; --ry: 94.45%; }
.faecher-lebt .faecher-yt { --rx: 38.2%; --ry: 95.4%; }
.faecher-lebt .faecher-reiter,
.faecher-lebt .faecher-kreis { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.faecher-lebt .faecher-ig .faecher-reiter { background: url("/medien/faecher-ig-mit.webp") center / 100% 100%; }
.faecher-lebt .faecher-yt .faecher-reiter { background: url("/medien/faecher-yt-mit.webp") center / 100% 100%; }
.faecher-lebt .faecher-reiter {
  clip-path: circle(7.5% at var(--rx) var(--ry));
  transform-origin: var(--rx) var(--ry);
  transform: scale(calc(1 - var(--s)));
  opacity: calc(var(--k) * (1 - var(--s)));
}
.faecher-lebt .faecher-kreis {
  inset: auto;
  left: var(--rx);
  top: var(--ry);
  width: 19cqi;
  aspect-ratio: 1;
  margin: -9.5cqi 0 0 -9.5cqi;
  border-radius: 50%;
  border: 0.9cqi solid var(--akzent);
  box-shadow: 0 0 0 2.4cqi color-mix(in srgb, var(--akzent) 28%, transparent);
  opacity: calc(var(--k) * (1 - var(--s)));
  transform: scale(calc(1.6 - 0.6 * var(--k) - 0.7 * var(--s)));
}
/* TikTok hat keinen Reiter: Der Kreis liegt um den Feed, die Decke kommt. */
.faecher-lebt .faecher-tt .faecher-kreis {
  left: 8%; top: 8%; width: 84%; height: 82%; aspect-ratio: auto; margin: 0;
  border-radius: 6cqi;
  transform: scale(calc(1.06 - 0.06 * var(--k)));
}

/* Uhr: klein ueber den Handys, laeuft von 5 auf 0 und bleibt stehen. */
.faecher-lebt .faecher-uhr {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 50%;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--flaeche-hoch, #222) 86%, transparent);
  box-shadow: 0 0 0 1px var(--rand-weich);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--tinte);
  opacity: calc(clamp(0, (var(--p, 0) - 0.24) / 0.03, 1) * (1 - var(--hh)));
  transform: translate(-50%, calc(8px * (1 - var(--b))));
}
.faecher-uhr svg { width: 32px; height: 32px; transform: rotate(-90deg); }
.faecher-uhr circle { fill: none; stroke-width: 4; }
.faecher-uhr-grund { stroke: color-mix(in srgb, var(--tinte) 14%, transparent); }
.faecher-uhr-rest {
  stroke: var(--akzent);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 * var(--c));
}
.faecher-uhr-zahl { font-size: 1.3em; font-variant-numeric: tabular-nums; }
.faecher-lebt.ist-leer .faecher-uhr { color: var(--akzent); }

/* Die Mitte kommt vor, der gesuchte Short laeuft. Beim Weiterwischen rutscht
   er hoch und kommt zurueck (u hin, z zurueck); beim Heimwisch schrumpft er
   zur Karte ueber dem Startbildschirm. Alles am Scrollstand. */
.faecher-lebt .faecher-ebene.einzeln {
  z-index: 3;
  opacity: calc(var(--d) * (1 - clamp(0, (var(--h) - 0.55) / 0.3, 1)));
  transform: translateY(calc(-17% * (var(--u) - var(--z)) - 6% * var(--hh))) scale(calc(1 - 0.4 * var(--hh)));
}
/* Status- und Navigationsleiste stehen fest ueber dem Short. Beim Heimwisch
   schrumpfen sie nicht mit: Sie gehen sofort, die Leiste des Startbildschirms
   steht schon darunter, so gibt es nie zwei Uhren (03.12.2026). */
.faecher-lebt .faecher-leisten {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 4; pointer-events: none;
  opacity: calc(var(--d) * (1 - clamp(0, var(--h) / 0.12, 1)));
}
/* Ohne die Leisten aus dem Video; beim Heimwisch eine Karte mit runden Ecken. */
.faecher-lebt .faecher-ebene.einzeln > * { clip-path: inset(5.51% 0 8.33% 0 round calc(10cqi * var(--hh))); }
.faecher-lebt .faecher-name { opacity: calc(1 - var(--d)); }
/* Unter dem Short wartet nur ein Schloss. */
.faecher-lebt .faecher-naechstes {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 2;
  inset: 40% 0 8.33% 0;
  background: linear-gradient(#0d0d0f, #19191c);
  opacity: calc(clamp(0, var(--w) * 20, 1) * (1 - var(--hh)));
}
.faecher-schloss {
  width: 18cqi; height: 18cqi;
  fill: none; stroke: var(--akzent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  align-self: end;
  margin-bottom: 7cqi;
  opacity: calc(var(--u) * (1 - var(--z)));
  transform: scale(calc(0.6 + 0.4 * var(--u)));
}
/* Finger: zieht beim Wischen hoch, spaeter die Home-Geste von unten. */
.faecher-lebt .faecher-finger {
  display: block;
  position: absolute;
  z-index: 7;
  left: 50%;
  width: 15cqi;
  aspect-ratio: 1;
  margin-left: -7.5cqi;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.6);
  box-shadow: 0 0 0 3cqi rgb(255 255 255 / 0.2);
  top: 74%;
  --f: clamp(0, var(--w) / 0.06, 1) * (1 - clamp(0, (var(--w) - 0.4) / 0.08, 1));
  opacity: calc(var(--f));
  transform: translateY(calc(-60cqi * var(--u)));
}
.faecher-lebt.heim .faecher-finger {
  top: 93%;
  opacity: calc(clamp(0, var(--h) / 0.08, 1) * (1 - clamp(0, (var(--h) - 0.5) / 0.1, 1)));
  transform: translateY(calc(-50cqi * clamp(0, var(--h) / 0.55, 1)));
}
.faecher-lebt .faecher-heim {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: clamp(0, var(--h) / 0.12, 1);
  transform: scale(calc(1.08 - 0.08 * var(--hh)));
}
.faecher-lebt .faecher-heim img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Wie weit man ist: ein schmaler Balken unten, damit die lange Strecke
   absehbar bleibt. */
.faecher-fortschritt { display: none; }
.faecher-lebt .faecher-fortschritt {
  display: block;
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.5svh, 24px);
  width: 120px;
  height: 3px;
  margin-left: -60px;
  border-radius: 3px;
  background: var(--rand-weich);
  overflow: hidden;
  opacity: clamp(0, var(--p, 0) * 40, 1);
}
.faecher-lebt .faecher-fortschritt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--leise);
  transform-origin: left;
  transform: scaleX(var(--q, 0));
}

/* Nachspiel (--n 0..1 von seite.js, erst wenn --p fertig ist): Es ist
   2 Uhr, das Handy ist sauber und wird weggelegt, der Laptop kommt hoch,
   in Chrome wird getippt, ein Treffer angeklickt, und es kommt die
   Sperrseite. Alles am Scrollstand, rueckwaerts genauso. */
.faecher-nacht { display: none; }
.faecher-lebt .faecher-buehne {
  --n1: clamp(0, var(--n, 0) / 0.14, 1);                 /* Handy geht */
  --nl0: clamp(0, (var(--n, 0) - 0.10) / 0.16, 1);       /* Laptop kommt */
  --nl: calc(1 - (1 - var(--nl0)) * (1 - var(--nl0)) * (1 - var(--nl0)));
  --nw: clamp(0, (var(--n, 0) - 0.24) / 0.05, 1);        /* Schirm wacht auf */
  --nt: clamp(0, (var(--n, 0) - 0.54) / 0.05, 1);        /* Treffer */
  --nz0: clamp(0, (var(--n, 0) - 0.58) / 0.10, 1);       /* Zeiger faehrt */
  --nz: calc(var(--nz0) * var(--nz0) * (3 - 2 * var(--nz0)));
  --nk: clamp(0, (var(--n, 0) - 0.68) / 0.05, 1);        /* Klick */
  --ns0: clamp(0, (var(--n, 0) - 0.72) / 0.08, 1);       /* Sperrseite */
  --ns: calc(var(--ns0) * var(--ns0) * (3 - 2 * var(--ns0)));
}
.faecher-lebt .faecher-reihe { transform: perspective(900px) translateY(calc(40cqh * var(--n1) * var(--n1))) rotateX(calc(50deg * var(--n1))); transform-origin: 50% 100%; }
.faecher-lebt .faecher-reihe { opacity: calc(var(--b) * (1 - var(--n1))); }
.faecher-lebt .faecher-kopf { opacity: calc(1 - var(--n1)); }
.faecher-lebt .faecher-nacht {
  display: grid;
  place-items: center;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  position: relative;
  pointer-events: none;
  visibility: hidden;
}
.faecher-lebt.nacht .faecher-nacht { visibility: visible; }
.nacht-laptop {
  width: min(90cqw, (100cqh - 9cqh) * 1.3, 820px);
  opacity: var(--nl0);
  margin-top: 9cqh;
  transform: translateY(calc(60cqh * (1 - var(--nl)))) scale(calc(0.9 + 0.1 * var(--nl)));
}
.nacht-laptop .bildschirm { background: #000; }
.nb, .nb-sperre { position: absolute; inset: 0; }
.nb {
  background: #202124;
  color: #e8eaed;
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  container-type: inline-size;
  opacity: calc(var(--nw) * (1 - var(--ns)));
  filter: brightness(calc(0.4 + 0.6 * var(--nw)));
}
.nb-leiste { display: flex; align-items: center; gap: 2cqi; height: 6.5cqi; padding-inline: 2cqi; background: #35363a; }
.nb-punkte { display: flex; gap: 0.9cqi; }
.nb-punkte i { width: 1.3cqi; height: 1.3cqi; border-radius: 50%; background: #5f6368; }
.nb-tab { font-size: 1.8cqi; padding: 0.8cqi 2.4cqi; border-radius: 1cqi 1cqi 0 0; background: #202124; align-self: end; }
.nb-adresse {
  display: flex; align-items: center; gap: 1.4cqi;
  margin: calc(17cqi - 13cqi * var(--nt)) auto 0;
  width: calc(64% + 30% * var(--nt));
  height: 6cqi;
  padding-inline: 2.4cqi;
  border-radius: 3cqi;
  background: #303134;
  font-size: 2.5cqi;
}
.nb-adresse svg { width: 2.6cqi; height: 2.6cqi; fill: none; stroke: #9aa0a6; stroke-width: 2.2; stroke-linecap: round; flex: none; }
.nb-cursor { width: 0.25cqi; height: 3cqi; margin-left: -1cqi; background: #8ab4f8; animation: nb-blinken 1s steps(1) infinite; }
@keyframes nb-blinken { 50% { opacity: 0; } }
.nb-treffer { margin: 3cqi 0 0 6cqi; width: 70%; opacity: var(--nt); transform: translateY(calc(2cqi * (1 - var(--nt)))); }
.nb-eintrag { display: grid; gap: 0.4cqi; margin-bottom: 3.2cqi; font-size: 1.9cqi; color: #bdc1c6; }
.nb-eintrag small { font-size: 1.6cqi; color: #9aa0a6; }
.nb-eintrag b { font-size: 2.8cqi; font-weight: 400; color: #8ab4f8; }
.nb-ziel b { text-decoration: underline calc(0.2cqi * var(--nk)); }
.nb-zeiger {
  position: absolute; left: 0; top: 0; width: 3.4cqi; height: 3.4cqi;
  fill: #fff; stroke: #000; stroke-width: 1.2;
  opacity: var(--nt);
  transform: translate(calc(78cqi - 52cqi * var(--nz)), calc(48cqi - 24.5cqi * var(--nz))) scale(calc(1 - 0.15 * var(--nk) * (1 - var(--ns))));
}
.nb-klick {
  position: absolute; left: 27.6cqi; top: 24.6cqi; width: 8cqi; height: 8cqi; margin: -4cqi 0 0 -4cqi;
  border-radius: 50%; border: 0.5cqi solid var(--akzent);
  opacity: calc(var(--nk) * (1 - var(--nk)) * 4);
  transform: scale(calc(0.4 + 1.2 * var(--nk)));
}
.nb-sperre img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nb-sperre { opacity: var(--ns); transform: scale(calc(1.06 - 0.06 * var(--ns))); filter: blur(calc(6px * (1 - var(--ns)))); }
.faecher-lebt .marke-nacht { top: max(0px, calc(50% + 4.5cqh - min(90cqw, 91cqh * 1.3, 820px) * 0.3636 - 2.8em)); }
.faecher-lebt.nacht-da .marke-nacht { opacity: 1; transform: translate(-50%, 0) scale(1); }
.faecher-lebt .marke-planb { top: max(0px, calc(50% + 4.5cqh - min(90cqw, 91cqh * 1.3, 820px) * 0.3636 - 2.8em)); }
.faecher-lebt.planb .marke-planb { opacity: 1; transform: translate(-50%, 0) scale(1); }
.faecher-lebt .marke-gesperrt-pc { top: max(0px, calc(50% + 4.5cqh - min(90cqw, 91cqh * 1.3, 820px) * 0.3636 - 2.8em)); }
.faecher-lebt.gesperrt-pc .marke-gesperrt-pc { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* Am schmalen Schirm ein Faecher: eins vorn, zwei schraeg dahinter. */
@media (max-width: 899px) {
  .faecher-lebt .faecher-handy { width: clamp(130px, min(54vw, (100cqh - 36px) / 2.14), 260px); }
  .faecher-lebt .faecher-reihe .faecher-handy { margin-inline: -16%; }
  .faecher-lebt .faecher-ig,
  .faecher-lebt .faecher-tt {
    transform-origin: 50% 100%;
    transform: translateX(calc(var(--x) * (6% + 30% * var(--d))))
               rotate(calc(var(--x) * 9deg * var(--b) * (1 - var(--d))))
               scale(calc(0.86 - 0.1 * var(--d)));
  }
  .faecher-lebt .faecher-ig .faecher-name,
  .faecher-lebt .faecher-tt .faecher-name { visibility: hidden; }
  .faecher-lebt .faecher-name { font-size: 0.85rem; margin-bottom: 8px; }
  .faecher-lebt .faecher-uhr { font-size: 0.95rem; }
}

/* Marken: kurze Stichworte genau dort, wo es passiert. Sie schalten an
   festen Stellen der Strecke, vor und zurueck gleich. */
.faecher-marke { display: none; }
.faecher-lebt .faecher-marke {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  position: absolute;
  z-index: 6;
  left: 50%;
  padding: 0.36em 0.8em;
  border-radius: 999px;
  background: var(--akzent);
  color: var(--grund);
  font-weight: 700;
  font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.25rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px) scale(0.92);
  transition: opacity 180ms ease-out, transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}
.faecher-lebt .faecher-marke svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.faecher-lebt .marke-an { top: 46%; }
.faecher-lebt.limit-an .marke-an { opacity: 1; transform: translate(-50%, 0) scale(1); }
.faecher-lebt .marke-leer { top: 50%; left: calc(100% + 10px); margin-top: -1.1em; transform: translate(0, 4px) scale(0.92); }
.faecher-lebt.ist-leer .marke-leer { opacity: calc(1 - var(--d)); transform: translate(0, 0) scale(1); }
@media (max-width: 899px) {
  .faecher-lebt .marke-leer { top: calc(100% + 8px); left: 50%; margin-top: 0; transform: translate(-50%, 4px) scale(0.92); }
  .faecher-lebt.ist-leer .marke-leer { transform: translate(-50%, 0) scale(1); }
}
.faecher-lebt .marke-weg { top: 58%; transition: none; transform: translate(-50%, 0); opacity: calc(clamp(0, (var(--s) - 0.85) / 0.15, 1) * (1 - var(--d))); }
.faecher-lebt .marke-gesperrt { top: 30%; }
.faecher-lebt.ringt .marke-gesperrt { opacity: 1; transform: translate(-50%, 0) scale(1); }
.faecher-lebt .marke-heim { top: 62%; }
.faecher-lebt.heim-da .marke-heim { opacity: 1; transform: translate(-50%, 0) scale(1); }
