/* seite.css · lp-196 Schwerelos, KI-Kurse Linz (Beispiel).
 * Idee: Die Seite erzählt eine Landung. Oben schwebt der Astronaut im rosa Rummel, in der Mitte reißen die Wolken auf,
 * ab dort ist der Grund klar und hell. Schrift: Mona Sans (Breite und Stärke variabel), eine Familie.
 * Farben: Rosa aus den Wolken, Ultramarin-Nacht für Schrift, Knöpfe und Flächen (kein Gelb, Martin 27.10.). */

@font-face { font-family: "Mona Sans"; src: url("../fonts/mona-sans-wdth-var.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap; }
@property --schwebe { syntax: "<number>"; inherits: false; initial-value: 0; }

:root {
  --rosa: #f7b7cb;
  --rosa-hell: #fde4ec;
  --rosa-tief: #d9567f;
  --klar: #fbf8f1;
  --rosa-text: #a8325a;   /* Rosa für kleine Schrift auf Hell */
  --tinte: #17135c;
  --tinte-tief: #0e0b40;
  --schatten: 0 24px 60px -30px rgba(23, 19, 92, 0.45);
}
html { background: var(--klar); }
body { background: var(--klar); font-stretch: 100%; }
h1, h2, h3 { font-weight: 760; font-stretch: 112%; letter-spacing: -0.03em; }
:focus-visible { outline-color: var(--tinte); }
.knopf { font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .knopf:hover { background: #f0c25c; } }
.marke { font-weight: 800; font-stretch: 118%; gap: 10px; font-size: 1.2rem; }
.marke-zusatz { font-weight: 560; font-stretch: 90%; font-size: 0.85rem; color: var(--text); letter-spacing: 0; }

.abschnitt h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.6rem); max-width: 19ch; line-height: 0.98; }
.abschnitt-satz { color: var(--text-2); }

/* ---------- Kopf: Foto bzw. WebGL-Szene vollflächig, Überschrift oben rechts, Karte unten links */
.anfang { position: relative; min-height: 100svh; padding-top: var(--kopf-hoehe); overflow: hidden; background: var(--rosa-hell); align-items: stretch; }
.anfang-bild { position: absolute; inset: 0; }
.anfang-foto, .anfang-szene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% 42%; }
.anfang-szene { opacity: 0; transition: opacity 0.6s ease; }
.anfang-szene.bereit { opacity: 1; }
.anfang::after { content: ""; position: absolute; inset: auto 0 0 0; height: 16svh; background: linear-gradient(to bottom, rgba(253, 228, 236, 0), var(--rosa-hell)); pointer-events: none; }
.anfang-raster { position: relative; z-index: 2; min-height: calc(100svh - var(--kopf-hoehe)); display: grid; grid-template-rows: 1fr auto; padding-block: clamp(8px, 3svh, 40px) clamp(24px, 6svh, 72px); }
.titel { justify-self: end; align-self: start; text-align: right; font-size: min(7.6vw, 14svh); font-weight: 820; font-stretch: 108%; line-height: 0.92; letter-spacing: -0.045em; color: var(--tinte); max-width: 11ch; }
.titel-zeile { display: block; }
.schwebewort { display: inline-block; white-space: nowrap; }
.schwebewort .bs { display: inline-block; }
.anfang-karte { justify-self: start; align-self: end; max-width: 31rem; padding: clamp(20px, 2.4vw, 32px); background: var(--grund); border-radius: var(--rund-bild); box-shadow: var(--schatten); border-top: 4px solid var(--rosa-tief); }
.anfang .unterzeile { margin-top: 0; color: var(--text); font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); }
.anfang .beleg { color: var(--text-2); }
.anfang .handlung { margin-top: 22px; }

/* Handy: eigener Ausschnitt, der Astronaut bleibt ganz sichtbar, Text darunter auf ruhigem Rosa */
@media (max-width: 559px), (max-width: 700px) and (orientation: portrait) {
  .anfang-bild { bottom: auto; height: 54svh; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
  .anfang-foto, .anfang-szene { object-position: 51% 50%; }
  .anfang::after { display: none; }
  .anfang-raster { grid-template-rows: auto auto; align-content: end; padding-top: 38svh; padding-bottom: 20px; gap: 14px; }
  .titel { justify-self: start; text-align: left; font-size: clamp(2.6rem, 12.4vw, 3.6rem); max-width: none; }
  .titel-zeile--zwei { display: block; }
  .anfang-karte { padding: 0; background: none; box-shadow: none; border: 0; }
  .anfang .unterzeile { font-size: 1.02rem; }
  .anfang .beleg { margin-top: 8px; }
  .anfang .handlung { margin-top: 14px; }
  .anfang .knopf { width: 100%; }
}

/* Flaches Fenster (Laptop mit Zoom, kleines Fenster): Karte kompakter, damit Knopf und Satz im Bild bleiben */
@media (min-width: 560px) and (max-height: 620px) {
  .anfang-raster { padding-block: 4px 14px; }
  .titel { font-size: min(7vw, 15svh); }
  .anfang-karte { padding: 16px 20px; max-width: 27rem; }
  .anfang .unterzeile { font-size: 0.98rem; line-height: 1.35; }
  .anfang .beleg { margin-top: 8px; }
  .anfang .handlung { margin-top: 12px; }
  .anfang .knopf { min-height: 46px; padding: 8px 22px; }
}

/* ---------- 1 · Der Rummel: Sätze schweben, dann fallen sie (Schwerkraft) und liegen gestapelt am Boden */
.rummel { background: var(--rosa-hell); }
.rummel-raster { display: grid; gap: 48px clamp(32px, 5vw, 80px); align-items: end; }
@media (min-width: 960px) { .rummel-raster { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.rummel-antworten { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; max-width: 34rem; }
.rummel-antworten li { padding-left: 18px; border-left: 3px solid var(--rosa-tief); color: var(--text-2); }
.rummel-antworten strong { color: var(--text); }
.rummel-buehne { position: relative; height: clamp(380px, 62svh, 560px); }
.satz { position: absolute; left: 0; margin: 0; font-family: var(--schrift-display); font-weight: 680; font-stretch: 96%; font-size: clamp(1.05rem, 0.8rem + 1vw, 1.55rem); line-height: 1.25; color: var(--tinte); }
.satz span { display: inline-block; padding: 14px 22px; background: #fff; border-radius: 4px; box-shadow: 0 16px 30px -18px rgba(23, 19, 92, 0.5); }
.satz--1 { bottom: 136px; left: 4%; --dx: 60px; --dy: -230px; --r0: -9deg; --r1: -2deg; --d: 0.18; }
.satz--2 { bottom: 68px; left: 10%; --dx: -40px; --dy: -150px; --r0: 7deg; --r1: 1.5deg; --d: 0.23; }
.satz--3 { bottom: 0; left: 0; --dx: 90px; --dy: -300px; --r0: -4deg; --r1: -0.5deg; --d: 0.28; }
.satz { rotate: var(--r1); }
.rummel-boden { position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--tinte); }
@media (max-width: 700px) { .rummel-buehne { margin-inline: 10px; } .satz { right: 0; --dx: 0px; } .satz span { padding: 12px 16px; } .satz--1 { bottom: 150px; left: 0; } .satz--2 { bottom: 76px; left: 2%; } }

/* ---------- 2 · Was KI kann: Frage, Antwort schreibt sich, ein Punkt ist erfunden */
.koennen { background: linear-gradient(to bottom, var(--rosa-hell), var(--grund)); }
.koennen-raster { display: grid; gap: 40px clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .koennen-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .koennen-spalten { grid-column: 1 / -1; } }
.chat { margin: 0; padding: clamp(20px, 2.6vw, 34px); background: #fff; border-radius: var(--rund-bild); box-shadow: var(--schatten); }
.chat-frage { margin-left: auto; max-width: 30ch; padding: 12px 18px; background: var(--tinte); color: #fff; border-radius: 18px 18px 4px 18px; font-weight: 560; }
.chat-antwort { margin-top: 20px; }
.chat-liste { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--text); }
.chat-liste .rest { color: transparent; }
.chat-liste .tipp::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--tinte); }
.chat-falsch mark { background: linear-gradient(var(--rosa), var(--rosa)) no-repeat 0 100% / 100% 0.45em; color: inherit; padding: 0 2px; }
.chat-hinweis { margin-top: 18px; padding: 12px 16px; border-left: 3px solid var(--rosa-tief); background: var(--klar); color: var(--text); font-size: 0.98rem; }
.koennen-spalten { display: grid; gap: 28px clamp(28px, 4vw, 64px); }
@media (min-width: 700px) { .koennen-spalten { grid-template-columns: 1fr 1fr; } }
.koennen-spalten h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); }
.koennen-spalten ul { list-style: none; margin: 16px 0 0; padding: 0; }
.koennen-spalten li { padding: 12px 0; border-top: 1px solid var(--linie); }
.koennen-nein h3 { color: var(--rosa-tief); color: #a62a55; }

/* ---------- 3 · Schlüsselszene: die Wolken reißen auf */
.landung { position: relative; background: var(--tinte-tief); }
.landung-buehne { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.landung-bilder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.landung-boden { object-position: 60% 50%; transform-origin: 60% 68%; }   /* Zielpunkt: die kleine Stadt */
.landung-raum { opacity: 1; }
.landung-viertel, .landung-fenster, .landung-wolken { display: none; }   /* nur in der bewegten Fassung */
/* Wolkenebenen aus dem Kopfbild: außen deckend, zur Mitte weicher Rand. object-position hält den weichen Rand im Bild */
.landung-wolken { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.wolke { position: absolute; max-width: none; object-fit: cover; }
.wolke--hl { left: -14%; top: -12%; width: 78%; height: 124%; object-position: right center; transform-origin: 0 50%; }
.wolke--hr { right: -14%; top: -12%; width: 76%; height: 124%; object-position: left center; transform-origin: 100% 50%; }
.wolke--vl { left: -10%; top: -14%; width: 76%; height: 80%; object-position: right bottom; transform-origin: 0 0; }
.wolke--vr { right: -10%; bottom: -14%; width: 74%; height: 82%; object-position: left top; transform-origin: 100% 100%; }
/* Handy (hochkant): Stadt bleibt in der Mitte; Wolken breiter, damit mehr vom deckenden Teil zu sehen ist */
@media (max-aspect-ratio: 1/1) {
  .landung-boden { object-position: 64% 50%; transform-origin: 50% 68%; }
  .wolke--hl { left: -36%; width: 106%; }
  .wolke--hr { right: -36%; width: 106%; }
  .wolke--vl { left: -34%; width: 124%; height: 58%; }
  .wolke--vr { right: -34%; width: 124%; height: 60%; }
}
.landung-text { position: absolute; left: 0; right: 0; bottom: clamp(20px, 6svh, 64px); z-index: 2; }
.landung-titel { display: inline-block; margin-bottom: 14px; padding: 8px 16px; background: var(--grund); border-radius: 4px; font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); color: var(--tinte); }
.landung-schritte { list-style: none; margin: 0; padding: clamp(18px, 2.2vw, 28px); max-width: 30rem; background: var(--grund); border-radius: var(--rund-bild); box-shadow: var(--schatten); display: grid; gap: 12px; }
.schritt { color: var(--text-2); }
.schritt strong { display: block; color: var(--tinte); font-family: var(--schrift-display); font-stretch: 110%; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.1; margin-bottom: 4px; }
.schritt-nr { display: block; font-size: 0.82rem; font-weight: 650; color: var(--rosa-text); margin-bottom: 2px; }

/* ---------- 4 · Was darf ich der KI geben? Die Ampel in Rosa, halb Rosa und Ultramarin */
.ampel { background: var(--klar); }
.ampel h2 { max-width: 14ch; }
.ampel-liste { list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0; display: grid; gap: clamp(56px, 8vw, 110px); }
.stufe { display: grid; gap: 28px clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .stufe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .stufe--um .stufe-text { order: 2; } }
.stufe-wort { display: flex; align-items: center; gap: 0.3em; font-family: var(--schrift-display); font-weight: 850; font-stretch: 122%; font-size: clamp(2.8rem, 1.6rem + 5vw, 6.4rem); line-height: 0.95; letter-spacing: -0.045em; color: var(--tinte); }
.stufe--um .stufe-wort { font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4.8rem); }
.stufe-licht { flex: none; width: 0.62em; height: 0.62em; border-radius: 50%; }
.stufe--ja .stufe-licht { background: var(--rosa-tief); }
.stufe--um .stufe-licht { background: linear-gradient(90deg, var(--rosa-tief) 50%, transparent 50%); box-shadow: inset 0 0 0 0.07em var(--rosa-tief); }
.stufe--nie .stufe-licht { background: var(--tinte); }
.stufe-satz { margin-top: 14px; font-size: var(--t-mittel); line-height: 1.35; color: var(--text); max-width: 26ch; }
.stufe-beispiele { margin: 18px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.stufe-beispiele li { padding: 8px 0 8px 22px; position: relative; }
.stufe-beispiele li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 2px; background: currentColor; }
.stufe-bild { position: relative; min-height: 320px; }
/* Ja: Blätter landen sauber auf einem Stapel */
.stapel { display: grid; place-items: end center; }
.blatt { position: absolute; bottom: 20px; width: min(78%, 360px); padding: 16px 24px 70px; background: #fff; border-radius: 3px; border-top: 6px solid var(--rosa-tief); box-shadow: 0 14px 28px -18px rgba(23, 19, 92, 0.55); font-weight: 650; color: var(--tinte); }
.blatt--1 { --dy: -110px; --r0: -14deg; --r1: -3deg; --d: 0.06; bottom: 160px; }
.blatt--2 { --dy: -150px; --r0: 11deg; --r1: 2deg; --d: 0.11; bottom: 86px; }
.blatt--3 { --dy: -190px; --r0: -6deg; --r1: -0.5deg; --d: 0.16; bottom: 12px; }
.blatt { rotate: var(--r1); }
/* Nur umgeformt: Stellen werden geschwärzt, der Ersatz steht darüber */
.dokument { padding: clamp(22px, 3vw, 40px); background: #fff; border-radius: 3px; box-shadow: var(--schatten); border-left: 6px solid var(--rosa-tief); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.9; color: var(--tinte); min-height: 0; }
.dokument-kopf { font-weight: 700; font-stretch: 110%; margin-bottom: 10px; color: #a62a55; }
.dokument-fuss { margin-top: 14px; font-size: 0.85rem; color: var(--text-3); }
.schwarz { position: relative; white-space: nowrap; }
.schwarz::after { content: attr(data-ersatz); position: absolute; inset: -0.05em -0.2em; display: grid; place-items: center; background: var(--tinte); color: var(--rosa-tief); font-size: 0.75em; font-weight: 700; border-radius: 2px; }
/* Nie: die Mappe schließt sich */
.mappe { perspective: 1400px; min-height: 300px; }
.mappe-innen, .mappe-deckel { position: absolute; left: 10%; right: 10%; top: 20px; bottom: 20px; border-radius: 4px; }
.mappe-innen { background: #efe7da; display: grid; align-content: center; gap: 10px; padding: 26px; box-shadow: var(--schatten); }
.mappe-innen span { padding: 10px 14px; background: #fff; font-weight: 600; color: var(--tinte); border-radius: 2px; }
.mappe-deckel { background: var(--tinte); transform-origin: 0 50%; display: grid; place-items: center; backface-visibility: hidden; box-shadow: 0 24px 50px -24px rgba(14, 11, 64, 0.8); }
.mappe-deckel span { padding: 8px 16px; border: 2px solid var(--rosa); color: var(--rosa); font-weight: 750; font-stretch: 112%; letter-spacing: 0.02em; }
.ampel-schluss { margin-top: clamp(56px, 7vw, 96px); max-width: 30ch; font-family: var(--schrift-display); font-weight: 700; font-stretch: 108%; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.15; color: var(--tinte); padding-top: 24px; border-top: 4px solid var(--rosa-tief); }

/* ---------- 5 · Kurse wie Landebahnen, darunter die Ankunftstafel */
.kurse { background: var(--klar); padding-top: 0; }
.kurs-liste { list-style: none; margin: 48px 0 0; padding: 0; }
.kurs { position: relative; display: grid; gap: 8px 32px; padding: 28px 0; }
.kurs::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rosa-tief); transform-origin: 0 50%; }
@media (min-width: 900px) { .kurs { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, 0.55fr) auto; align-items: baseline; } }
.kurs-name { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3rem); font-stretch: 116%; line-height: 1; }
.kurs-was { color: var(--text-2); }
.kurs-dauer { color: var(--text); font-weight: 600; }
.kurs-preis { font-family: var(--schrift-display); font-weight: 820; font-stretch: 120%; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); color: var(--tinte); line-height: 1; }
.termine { margin-top: clamp(64px, 9vw, 120px); }
.termine-titel { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.8rem); }
.termine-satz { margin-top: 10px; color: var(--text-2); }
.tafel { margin-top: 28px; padding: clamp(16px, 2.4vw, 32px); background: var(--tinte); border-radius: 6px; box-shadow: var(--schatten); transform-origin: 50% 0; }
.tafel-tabelle { width: 100%; border-collapse: separate; border-spacing: 0 10px; color: #fff; font-variant-numeric: tabular-nums; }
.tafel-tabelle th { text-align: left; font-size: 0.8rem; font-weight: 650; color: var(--rosa); padding: 0 12px 4px 0; }
.tafel-tabelle td { padding: 0 14px 0 0; font-weight: 650; font-stretch: 92%; font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.2rem); vertical-align: middle; }
.tafel-tabelle td:last-child { color: var(--rosa); }
.kz { display: inline-block; width: 0.78em; overflow: hidden; font-stretch: 85%; padding: 0.2em 0.06em; margin: 0 1px 2px 0; text-align: center; background: var(--tinte-tief); border-radius: 2px; position: relative; line-height: 1.1; }
.kz::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.55); }
.kz.leer { background: transparent; }
@media (max-width: 760px) {
  .tafel-tabelle thead { display: none; }
  .tafel-tabelle, .tafel-tabelle tbody, .tafel-tabelle tr, .tafel-tabelle td { display: block; }
  .tafel-tabelle tr { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .tafel-tabelle td { padding: 3px 0; }
  .tafel-tabelle td::before { content: attr(data-titel); display: inline-block; min-width: 4.4em; font-size: 0.8rem; color: var(--rosa); }
}

/* ---------- 6 · Ein Abend: Zeitleiste mit wachsender Linie, Helm-Foto */
.abend { background: var(--klar); }
.abend-raster { display: grid; gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
@media (min-width: 960px) { .abend-raster { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.zeitleiste { position: relative; list-style: none; margin: 36px 0 0; padding: 0 0 0 30px; display: grid; gap: 16px; }
.zeitleiste::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 3px; background: var(--rosa-tief); transform-origin: 50% 0; }
.zeitleiste li { position: relative; }
.zeitleiste li::before { content: ""; position: absolute; left: -30px; top: 0.45em; width: 15px; height: 15px; border-radius: 50%; background: var(--klar); box-shadow: inset 0 0 0 3px var(--tinte); }
.zeitleiste time { display: inline-block; min-width: 3.4em; font-weight: 760; font-variant-numeric: tabular-nums; color: var(--rosa-text); }
.mitbringen { margin-top: 36px; padding: 22px 24px; background: #fff; border-radius: var(--rund-bild); box-shadow: var(--schatten); }
.mitbringen h3 { font-size: 1.4rem; margin-bottom: 8px; }
.abend-bild { margin: 0; }
.abend-bild img { width: 100%; border-radius: var(--rund-bild); box-shadow: var(--schatten); }
.abend-bild figcaption { margin-top: 12px; color: var(--text-2); font-size: var(--t-klein); }

/* ---------- 7 · Fragen: zwei Spalten, die Antworten setzen sich gerade hin */
.fragen { background: var(--klar); }
.fragen-raster { display: grid; gap: 40px clamp(32px, 6vw, 96px); }
@media (min-width: 960px) { .fragen-raster { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: start; } }
.fragen-liste { margin: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .fragen-liste { grid-template-columns: 1fr 1fr; } }
.frage { padding: 22px 24px; background: #fff; border-radius: var(--rund-bild); box-shadow: 0 10px 30px -22px rgba(23, 19, 92, 0.6); }
.frage:nth-child(1) { --d: 0.05; } .frage:nth-child(2) { --d: 0.1; } .frage:nth-child(3) { --d: 0.15; } .frage:nth-child(4) { --d: 0.2; } .frage:nth-child(5) { --d: 0.25; }
.frage dt { font-family: var(--schrift-display); font-weight: 720; font-stretch: 106%; font-size: 1.2rem; line-height: 1.2; color: var(--tinte); }
.frage dd { margin: 8px 0 0; color: var(--text-2); }

/* ---------- 8 · Kontakt: der Handschuh setzt auf der Tastatur auf */
.kontakt { background: var(--klar); border-top: 4px solid var(--rosa-tief); }
.kontakt h2 { max-width: 14ch; }
.feld input, .feld select { background-color: #fff; }
.kontakt-seite { display: grid; gap: 24px; align-content: start; }
.kontakt-bild { margin: 0; }
.kontakt-bild img { width: 100%; border-radius: var(--rund-bild); box-shadow: var(--schatten); }
.direkt a { font-weight: 650; }
.fuss { background: var(--klar); }

/* ---------- Bewegung: nur mit JavaScript und ohne „Bewegung reduzieren“. --p kommt aus js/bewegung.js, Rückfall 1 = Endzustand */
@media (prefers-reduced-motion: no-preference) {
  /* Kopf: die Buchstaben von „abzuheben.“ schweben und landen beim ersten Scrollen auf der Zeile (der eine Regelbruch) */
  .js .schwebewort .bs { --land: clamp(0, var(--p, 1) * 3.2, 1); translate: 0 calc((var(--fy) + var(--schwebe) * 0.06em) * (1 - var(--land))); rotate: calc(var(--fr) * (1 - var(--land))); animation: schweben 3.6s ease-in-out infinite alternate; animation-delay: var(--fd, 0s); }
  .js .anfang-karte { translate: 0 calc(var(--p, 0) * -40px); }
  .js .titel { translate: 0 calc(var(--p, 0) * -70px); }
  @keyframes schweben { from { --schwebe: -1; } to { --schwebe: 1; } }

  /* Rummel: Schwerkraft. t läuft je Satz von 0 nach 1, der Weg wächst mit t² wie beim freien Fall */
  .js .satz, .js .blatt { --t: clamp(0, (var(--p, 1) - var(--d)) * 5, 1); translate: calc((1 - var(--t) * var(--t)) * var(--dx, 0px)) calc((1 - var(--t) * var(--t)) * var(--dy)); rotate: calc(var(--r1) + (var(--r0) - var(--r1)) * (1 - var(--t))); }
  .js .satz span { translate: 0 calc(var(--schwebe) * 10px * (1 - var(--t))); animation: schweben 2.8s ease-in-out infinite alternate; }
  .js .satz--2 span { animation-duration: 3.4s; } .js .satz--3 span { animation-duration: 2.3s; }
  .js .rummel-antworten li { opacity: clamp(0, (var(--p, 1) - 0.34) * 6, 1); translate: calc((1 - clamp(0, (var(--p, 1) - 0.34) * 6, 1)) * -24px) 0; }
  .js .rummel-antworten li:nth-child(2) { opacity: clamp(0, (var(--p, 1) - 0.39) * 6, 1); }
  .js .rummel-antworten li:nth-child(3) { opacity: clamp(0, (var(--p, 1) - 0.44) * 6, 1); }

  /* Können: Hinweis und Markierung erst, wenn die Antwort fertig getippt ist */
  .js .chat .chat-falsch mark { background-size: 0% 0.45em; transition: background-size 0.6s var(--aus); }
  .js .chat.fertig .chat-falsch mark { background-size: 100% 0.45em; }
  .js .chat-hinweis { opacity: 0; translate: 0 12px; transition: opacity 0.5s ease, translate 0.5s var(--aus); }
  .js .chat.fertig .chat-hinweis { opacity: 1; translate: 0 0; }
  .js .koennen-ja { translate: 0 calc((1 - var(--p, 1)) * 40px); }
  .js .koennen-nein { translate: 0 calc((1 - var(--p, 1)) * 90px); }

  /* Landung: hohe Bühne, angeheftet. Zustand setzt js/landung.js als data-zustand */
  /* Landung: Wolken und Bildkette bewegt js/landung.js (nur transform und opacity) */
  .js .landung { height: 300svh; }
  .js .landung-buehne { position: sticky; top: 0; }
  .js .landung-viertel, .js .landung-fenster { display: block; opacity: 0; }
  .js .landung-raum { opacity: 0; }
  .js .landung-wolken { display: block; }
  .js .landung-bilder img, .js .wolke { will-change: transform, opacity; backface-visibility: hidden; }
  .js .landung-schritte { grid-template-areas: "s"; }
  .js .schritt { grid-area: s; opacity: 0; translate: 0 14px; transition: opacity 0.45s ease, translate 0.45s var(--aus); }
  .js .landung[data-zustand="1"] .schritt[data-schritt="1"], .js .landung[data-zustand="2"] .schritt[data-schritt="2"],
  .js .landung[data-zustand="3"] .schritt[data-schritt="3"], .js .landung[data-zustand="4"] .schritt[data-schritt="4"] { opacity: 1; translate: 0 0; }

  /* Ampel: Blätter landen, Stellen werden geschwärzt, die Mappe klappt zu */
  .js .schwarz::after { transform-origin: 0 50%; scale: clamp(0, (var(--p, 1) - 0.25) * 4, 1) 1; }
  .js .schwarz:nth-of-type(2)::after { scale: clamp(0, (var(--p, 1) - 0.31) * 4, 1) 1; }
  .js .schwarz:nth-of-type(3)::after { scale: clamp(0, (var(--p, 1) - 0.37) * 4, 1) 1; }
  .js .schwarz:nth-of-type(4)::after { scale: clamp(0, (var(--p, 1) - 0.43) * 4, 1) 1; }
  .js .mappe-deckel { transform: rotateY(calc(-150deg * (1 - clamp(0, (var(--p, 1) - 0.25) * 3.2, 1)))); }
  .js .stufe-text { translate: 0 calc((1 - var(--p, 1)) * 36px); }

  /* Kurse: Linie zieht sich, der Preis setzt auf */
  .js .kurs::before { scale: clamp(0, (var(--p, 1) - 0.08) * 3, 1) 1; }
  .js .kurs-preis { translate: calc((1 - clamp(0, (var(--p, 1) - 0.15) * 3, 1)) * 60px) 0; opacity: clamp(0.15, (var(--p, 1) - 0.12) * 4, 1); }
  .js .tafel { transform: perspective(1200px) rotateX(calc((1 - clamp(0, var(--p, 1) * 2.4, 1)) * 16deg)); }

  /* Abend: Linie wächst, Helm gleitet gegen die Liste */
  .js .zeitleiste::before { scale: 1 clamp(0, (var(--p, 1) - 0.1) * 2.2, 1); }
  .js .abend-bild img { translate: 0 calc((0.5 - var(--p, 0.5)) * 70px); }

  /* Fragen setzen sich gerade hin */
  .js .frage { --t: clamp(0, (var(--p, 1) - var(--d)) * 4, 1); translate: 0 calc((1 - var(--t)) * 34px); rotate: calc((1 - var(--t)) * -2.5deg); }

  /* Kontakt: der Handschuh setzt auf */
  .js .kontakt-bild img { translate: 0 calc((1 - clamp(0, var(--p, 1) * 2.2, 1)) * -50px); rotate: calc((1 - clamp(0, var(--p, 1) * 2.2, 1)) * -2.5deg); }
}

/* Ruhige Fassung und ohne JavaScript: Landung als stehendes Bild mit allen vier Schritten */

/* Handy: Kopfzeile passt in 360 px, Tafel mit Beschriftung links */
@media (max-width: 480px) { .marke-zusatz { display: none; } }
@media (max-width: 760px) {
  .tafel-tabelle td { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); align-items: start; }
  .tafel-tabelle td::before { padding-top: 0.35em; }
}
/* Was sich beim Scrollen seitlich bewegt, darf die Seite nie breiter machen */
html { overflow-x: clip; }
main > section { overflow-x: clip; }
