/* LOG-OUT · Unterseiten (Kapitel, Weltkarte, Trailer).
   Dieselbe Welt wie die Startseite: Papier-Umschlag und dunkler Spielbildschirm im Wechsel, Pixel-Knöpfe mit orangem Versatz,
   Level-Schilder, gemalte Szenen im Rahmen. Werte aus Landingpage/index.html übernommen. */
:root {
  --paper: #F5F1E8; --paper-2: #EAE3D3; --ink: #14161C; --ink-2: #1B1E26; --ink-3: #2A2E39;
  --orange: #D4501C; --orange-2: #AC401B; --orange-3: #E0612C; --glow: #F2C48D; --muted: #6C665B; --muted-d: #A09A8C; --line: rgba(20,22,28,.14);
  --f-display: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Source Code Pro", ui-monospace, Consolas, "Courier New", monospace;
  --f-pixel: "Silkscreen", "Source Code Pro", ui-monospace, monospace;
  --gutter: clamp(18px, 4vw, 48px);
  --hud-h: 46px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hud-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-serif); font-size: 19px; line-height: 1.6; overflow-x: hidden; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--orange); color: var(--paper); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
figure { margin: 0; }

.band { padding-inline: var(--gutter); }
.wrap { max-width: 1180px; margin-inline: auto; }
.paper { background: var(--paper); color: var(--ink); }
.screen { background: var(--ink); color: var(--paper); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 900; line-height: .98; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 5.4vw, 68px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.01em; line-height: 1.1; }
p { margin: 0; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; max-width: 36em; text-wrap: pretty; }
.screen .lead, .screen p { color: #E6DFD0; }
.small { font-size: 15px; line-height: 1.55; }
.muted { color: var(--muted); }
.screen .muted { color: var(--muted-d); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sq { display: inline-block; width: .36em; height: .36em; background: var(--orange); margin: 0 .1em; vertical-align: .15em; }

/* ---------- Knöpfe (wie Startseite) ---------- */
.btn { font-family: var(--f-pixel); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 12px 20px; border: 3px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none;
  box-shadow: 5px 5px 0 var(--orange); transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease; }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--orange); }
.btn:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--orange); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); transform: none; }
.screen .btn { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.screen .btn.ghost { background: transparent; color: var(--paper); }
.screen .btn.ghost:hover { background: var(--paper); color: var(--ink); }
.tri { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; margin-top: 32px; }

/* ---------- Kopfleiste (HUD) ---------- */
.hud { position: sticky; top: 0; z-index: 50; height: var(--hud-h); display: flex; align-items: center; gap: 18px; padding-inline: var(--gutter);
  background: rgba(20,22,28,.95); color: var(--paper); font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; }
.hud .logo { font-family: var(--f-display); font-weight: 900; font-size: 19px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.hud .lvl { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--glow); text-transform: uppercase; }
.hud nav { display: flex; gap: 2px; }
.hud nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; text-transform: uppercase; }
.hud nav a:hover { background: var(--ink-3); }
.hud nav a[aria-current="page"] { color: var(--ink); background: var(--glow); }
@media (max-width: 600px) { .hud .lvl { visibility: hidden; } .hud nav a { padding: 0 8px; } .hud { gap: 8px; } }
/* Seit 29.10.2026 vier Menüpunkte (mit „Übungen“): Am schmalen Handy fällt „Trailer“ weg, er steht in der Fußzeile und auf der Startseite */
@media (max-width: 480px) { .hud nav a[href="/trailer/"] { display: none; } }
@media (max-width: 360px) { .hud .logo { font-size: 16px; } .hud nav a { padding: 0 6px; letter-spacing: .03em; } .hud { gap: 6px; } }

/* ---------- Brotkrumen und Level-Schild ---------- */
.krumen { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.krumen li + li::before { content: "›"; margin: 0 10px; opacity: .55; }
.krumen a { text-decoration: none; border-bottom: 2px solid currentColor; }
.krumen a:hover { color: var(--orange-3); }
.paper .krumen a:hover { color: var(--orange-2); }
.screen .krumen { color: var(--muted-d); }
.screen .krumen a { color: var(--paper); }
.screen .krumen [aria-current] { color: var(--glow); }
.lvl-tag { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-family: var(--f-pixel); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.lvl-tag .n { background: var(--orange-2); color: var(--paper); padding: 3px 8px; }
.screen .lvl-tag { color: var(--glow); }

/* ---------- Kapitel-Kopf: das Level als Titelbildschirm ---------- */
.kap-kopf, .trailer-kopf { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.kap-kopf .wrap, .trailer-kopf .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kap-kopf h1, .trailer-kopf h1 { font-size: clamp(52px, 8.6vw, 118px); line-height: .86; letter-spacing: -.035em; margin-top: 18px; color: var(--paper); }
.trailer-kopf h1 { font-size: clamp(46px, 6.8vw, 92px); }
/* Lange Wörter (Kleingedruckte, Schlafwandler …) bleiben in ihrer Spalte statt unter das Bild zu laufen:
   --wort = Breite des längsten Worts in em (seiten_build.mjs), die Schrift wird höchstens so groß, dass es hineinpasst */
@supports (container-type: inline-size) {
  .kap-kopf .wrap > div { container-type: inline-size; }
  .kap-kopf h1.passend { font-size: min(clamp(52px, 8.6vw, 118px), calc(100cqi / (var(--wort, 4.6) + .12))); }
}
.unter { font-family: var(--f-serif); font-weight: 600; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.22; letter-spacing: -.01em; margin-top: 20px; max-width: 20em; text-wrap: balance; }
.screen .unter { color: #EFE8D9; }
.stand { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; color: var(--glow); margin-top: 24px; }
.trailer-kopf .lead { margin-top: 22px; }
.szene { position: relative; border: 3px solid var(--paper); box-shadow: 12px 12px 0 var(--orange); background: var(--ink-2); aspect-ratio: 16 / 10; }
.szene img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Lebendiges Kopfbild: Blender-Schleife mit Tiefe über dem Standbild, weich eingeblendet, sobald sie läuft */
.szene video.leben { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s ease; }
.szene video.leben.da { opacity: 1; }
.szene .gegenstand { position: absolute; right: -14px; top: -14px; width: 64px; height: 64px; padding: 7px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--orange); }
.pix { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
@media (max-width: 860px) {
  .kap-kopf .wrap, .trailer-kopf .wrap { grid-template-columns: minmax(0, 1fr); }
  .szene { margin-right: 12px; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(56px, 8vw, 112px); }
.abschnitt h2 { max-width: 15em; }
.abschnitt .lead { margin-top: 22px; }
.wrap.schmal { max-width: 860px; }
.probieren { margin-top: 18px; font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.probieren a { text-decoration: none; border-bottom: 3px solid var(--orange-2); padding-bottom: 2px; }
.probieren a:hover { color: var(--orange-2); }
.fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); margin-top: clamp(36px, 5vw, 56px); }
.fakten div { padding: 20px 20px 22px 0; }
.fakten div + div { border-left: 2px solid var(--line); padding-left: 20px; }
.fakten strong { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 3.8vw, 46px); line-height: 1; letter-spacing: -.02em; }
.fakten span { display: block; margin-top: 10px; font-size: 16px; line-height: 1.45; color: #3D3A34; }
@media (max-width: 760px) { .fakten { grid-template-columns: minmax(0, 1fr); } .fakten div + div { border-left: 0; border-top: 2px solid var(--line); padding-left: 0; } }
.zitat { margin: clamp(32px, 4vw, 48px) 0 0; border-left: 4px solid var(--orange-2); padding-left: 20px; max-width: 38em; }
.zitat p { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; }
.zitat cite { display: block; font-style: normal; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ---------- Cheat-Codes ---------- */
.codes-sec { border-top: 2px solid var(--ink-3); }
.codes-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 470px), 1fr)); gap: 30px 36px; margin-top: clamp(32px, 4vw, 52px); }
.code-karte { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 20px; align-items: start; border-top: 2px dashed var(--ink-3); padding-top: 22px; }
.code-karte .bild { aspect-ratio: 4 / 5; border: 2px solid var(--ink-3); overflow: hidden; background: #14161C; }
.code-karte .bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Lebendige Bilder in den Kacheln von /themen/ und /uebungen/ (seit 01.11.2026, beide Seiten laden dafür seiten.css?v=22) */
.code-karte .bild { position: relative; }
.code-karte .bild video.leben { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s ease; }
.code-karte .bild video.leben.da { opacity: 1; }
.code-karte .nr { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; color: var(--glow); }
.code-karte h3 { color: var(--paper); font-size: clamp(22px, 2.3vw, 27px); margin: 8px 0 10px; }
.code-karte p { font-size: 16px; line-height: 1.5; color: #D9D2C3; }
.code-karte .meta { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted-d); margin-top: 14px; }
.code-karte .spielen, .tipp .spielen { display: inline-flex; align-items: center; min-height: 40px; margin-top: 14px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .05em; color: var(--ink); background: var(--glow);
  padding: 6px 11px; text-decoration: none; box-shadow: 3px 3px 0 var(--orange); }
.code-karte .spielen:hover, .tipp .spielen:hover { background: var(--paper); }
.code-karte .spielen:not(:last-child) { margin-right: 12px; }   /* Code 3: „Spielen“ und „Ganze Übung“ nebeneinander (seit 29.10.2026, v=10) */
@media (max-width: 520px) { .code-karte { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); gap: 16px; } }

/* ---------- Film und Inventar ---------- */
.film-inv .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.film-inv .hinweis { margin-top: 22px; }
.inventar { border: 3px solid var(--ink); background: var(--paper-2); padding: 22px 22px 24px; display: grid; gap: 10px; justify-items: start; box-shadow: 8px 8px 0 var(--ink); }
.inventar .tl { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; color: var(--orange-2); }
.inventar .pix { width: 96px; height: 96px; margin: 6px 0 4px; }
.inventar h3 { font-size: 30px; }
.inventar p.small { color: #3D3A34; }
@media (max-width: 860px) { .film-inv .wrap { grid-template-columns: minmax(0, 1fr); } .inventar { max-width: 360px; } }

/* ---------- Weiter zum nächsten Level ---------- */
.weiter { border-top: 3px solid var(--ink); }
.weiter .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px 30px; }
.weiter a, .weiter span { font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; display: inline-flex; align-items: center; min-height: 44px; }
.weiter a { text-decoration: none; border-bottom: 3px solid var(--orange-2); }
.weiter a:hover { color: var(--orange-2); }
.weiter .nebel { color: var(--muted); }

/* ---------- Weltkarte (Übersicht) ---------- */
.ueber-kopf { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.ueber-kopf .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ueber-kopf h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .88; letter-spacing: -.035em; }
.ueber-kopf .lead { margin-top: 22px; }
.facts-book { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); margin-top: 32px; max-width: 560px; }
.facts-book div { padding: 14px 12px 14px 0; }
.facts-book div + div { border-left: 2px solid var(--line); padding-left: 14px; }
.facts-book b { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 4vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; }
.facts-book span { font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cover { justify-self: center; width: min(340px, 72vw); }
.cover img { display: block; width: 100%; border: 3px solid var(--ink); box-shadow: 14px 14px 0 var(--orange); }
.cover figcaption { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
@media (max-width: 860px) { .ueber-kopf .wrap { grid-template-columns: minmax(0, 1fr); } .cover { justify-self: start; } }
.karte-sec { padding-block: clamp(48px, 7vw, 96px); border-top: 3px solid var(--ink); }
.karte-sec .lead { margin-top: 18px; }
.map { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
.tile { position: relative; border: 3px solid var(--ink); background: var(--paper); padding: 18px 18px 20px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; transition: transform .15s ease, box-shadow .15s ease; }
.tile.offen:hover, .tile.offen:focus-within { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); }
.tile .tl { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .05em; }
.tile .tl .deep { background: var(--ink); color: var(--paper); padding: 2px 6px; font-size: 12px; }
.tile h3 { font-size: 26px; }
.tile h3 a { text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }             /* ganze Kachel klickbar */
.tile h3 a:focus-visible { outline: none; }
.tile.offen:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.tile p { font-size: 16px; line-height: 1.45; color: #3D3A34; margin-top: 6px; }
.tile .item { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; border-top: 2px solid var(--line); padding-top: 10px; }
.tile .item span:last-child { color: var(--orange-2); text-align: right; }
.tile .scene { position: relative; aspect-ratio: 16 / 10; border: 2px solid var(--ink); overflow: hidden; background: var(--paper); }
.tile .scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .scene .pix { position: absolute; width: 56px; height: 56px; filter: drop-shadow(2px 2px 0 rgba(245,241,232,.9)); }
.tile .scene.nebel .pix { left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .82; }
.tile .scene.frei .pix { right: 8px; top: 8px; width: 40px; height: 40px; background: var(--paper); padding: 4px; border: 2px solid var(--ink); filter: none; }
.tile .scene .badge { position: absolute; left: 8px; bottom: 8px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .05em; padding: 3px 7px; background: rgba(245,241,232,.85); color: var(--ink-3); border: 1px solid var(--line); }
.tile .scene.frei img { transition: transform .6s ease; }
.tile.offen:hover .scene.frei img { transform: scale(1.05); }
/* Lebendige Kacheln wie auf der Startseite (seit 01.11.2026, Benjamin): Schleife über dem Standbild, das Symbol bleibt obenauf; /kapitel/ lädt dafür seiten.css?v=21 */
.tile .scene video.leben { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.tile .scene video.leben.da { opacity: 1; }
.tile.offen:hover .scene.frei video.leben { transform: scale(1.05); }
/* Handy: Level im Nebel als kleine Kacheln, zwei pro Reihe; aufgedeckte Level bleiben über die ganze Breite */
@media (max-width: 560px) {
  .map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .map > .tile.offen { grid-column: 1 / -1; }
  .tile:not(.offen) { padding: 10px 10px 12px; gap: 8px; }
  .tile:not(.offen) .tl { flex-wrap: wrap; gap: 4px 8px; font-size: 10px; }
  .tile:not(.offen) .tl .deep { font-size: 9px; padding: 1px 4px; }
  .tile:not(.offen) .scene .pix { width: 40px; height: 40px; }
  .tile:not(.offen) .scene .badge { font-size: 9px; left: 5px; bottom: 5px; padding: 2px 5px; }
  .tile:not(.offen) h3 { font-size: 17px; line-height: 1.15; hyphens: auto; overflow-wrap: break-word; }
  .tile:not(.offen) p { font-size: 13.5px; line-height: 1.35; margin-top: 4px; }
  .tile:not(.offen) .item { flex-direction: column; gap: 2px; font-size: 11.5px; padding-top: 7px; }
  .tile:not(.offen) .item span:last-child { text-align: left; }
}
.film-band { padding-block: clamp(56px, 8vw, 104px); }
.film-band .lead { margin-top: 20px; }

/* ---------- Trailer ---------- */
.phone { justify-self: center; width: min(320px, 78vw); border: 3px solid var(--paper); border-radius: 26px; padding: 10px; background: var(--ink); box-shadow: 10px 10px 0 var(--orange); }
.phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 16px; background: var(--ink-2); object-fit: contain; }
.mitschrift { margin: 28px 0 0; padding: 0; border-top: 3px solid var(--ink); }
.mitschrift div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 2px solid var(--line); }
.mitschrift dt { font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--orange-2); font-variant-numeric: tabular-nums; padding-top: 4px; }
.mitschrift dd { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.3; }
.mitschrift dd small { display: block; margin-top: 6px; font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Fußzeile (wie Startseite) ---------- */
footer { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
footer .fuss-titel { font-size: 18px; margin-bottom: 8px; color: var(--paper); letter-spacing: -.01em; line-height: 1.1; }
footer p { color: #CFC8B8; line-height: 1.55; }
footer .nums { font-family: var(--f-mono); font-size: 14px; line-height: 1.8; color: var(--paper); }
footer .nums b { color: var(--glow); font-weight: 700; }
footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--ink-3); padding-top: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-d); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
footer .fine a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
footer .fine a:hover { color: var(--glow); }
/* Social-Media-Konten des Buchs: eigene Zeile über der Kleinschrift, Knöpfe im Pixel-Stil der Seite (wie auf der Startseite) */
footer .folgen { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
footer .folgen-titel { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; color: var(--glow); margin-right: 6px; }
footer .folgen a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink-3); color: var(--paper); font-family: var(--f-mono); font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
footer .folgen a:hover { border-color: var(--glow); color: var(--glow); transform: translate(-2px, -2px); box-shadow: 2px 2px 0 var(--orange); }
footer .folgen a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .btn, .tile, .tile .scene.frei img { transition: none; } }

/* ---------- Übungsseite (Gedankenkarussell stoppen) ---------- */
.uebung-kopf h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .9; }
.uebung-kopf .lead { margin-top: 22px; }
.szene.hoch { aspect-ratio: 4 / 5; width: min(400px, 100%); justify-self: center; }
.schritte { list-style: none; counter-reset: schritt; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; border-bottom: 2px dashed var(--ink-3); }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; align-items: start; padding: 20px 0 22px; border-top: 2px dashed var(--ink-3);
  font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: #E6DFD0; }
.schritte li::before { content: counter(schritt, decimal-leading-zero); grid-row: span 2; display: grid; place-items: center; height: 42px; font-family: var(--f-pixel); font-size: 15px;
  color: var(--paper); background: var(--orange-2); box-shadow: 4px 4px 0 var(--ink-3); }
.schritte b { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(22px, 2.3vw, 27px); line-height: 1.15; letter-spacing: -.01em; color: var(--paper); margin-bottom: 4px; }
.tipp { margin-top: clamp(32px, 4vw, 48px); border: 2px solid var(--ink-3); background: var(--ink-2); padding: 20px 22px 22px; max-width: 40em; }
.tipp .tl { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; color: var(--glow); margin-bottom: 10px; }
.tipp p { font-size: 17px; line-height: 1.55; }
.quelle { margin-top: 26px; max-width: 42em; color: #3D3A34; }
.zwischen { margin-top: clamp(44px, 6vw, 64px); font-size: clamp(28px, 3.2vw, 38px); }
.zwischen + .lead { margin-top: 14px; }
.vorsicht { margin-top: clamp(40px, 5vw, 56px); border: 3px solid var(--ink); background: var(--paper-2); padding: 22px 24px 24px; box-shadow: 8px 8px 0 var(--orange); max-width: 40em; }
.vorsicht h3 { margin-bottom: 10px; }
.vorsicht p { font-size: 17px; line-height: 1.55; }
.vorsicht p + p { margin-top: 12px; }
.screen .inventar { color: var(--ink); }
.screen .zitat cite { color: var(--muted-d); }
@media (max-width: 860px) { .szene.hoch { justify-self: start; width: min(400px, calc(100% - 12px)); } }
@media (max-width: 520px) { .schritte li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; } .schritte li::before { height: 36px; font-size: 13px; } }
.nw { white-space: nowrap; }

/* Musikvideo: Songtext zum Mitlesen (28.10.2026) */
.songtext { margin: 28px 0 0; padding: 0; border-top: 3px solid var(--ink); }
.songtext div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 2px solid var(--line); }
.songtext dt { font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-2); padding-top: 5px; }
.songtext dd { margin: 0; font-family: var(--f-serif); font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; }
@media (max-width: 560px) { .songtext div { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
/* Musikvideo auf Deutsch und Englisch nebeneinander, je mit Sprachschild (29.10.2026) */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 30px); width: min(620px, 100%); justify-self: center; align-items: start; }
.duo figure { margin: 0; display: grid; gap: 14px; justify-items: center; min-width: 0; }
.duo .phone { width: 100%; max-width: 290px; padding: 8px; border-radius: 22px; box-shadow: 8px 8px 0 var(--orange); }
.duo .phone video { border-radius: 13px; }
.sprache-tag { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin: 0; font-family: var(--f-pixel); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.sprache-tag .n { background: var(--orange-2); color: var(--paper); padding: 3px 8px; }
.sprache-tag .t { flex-basis: 100%; text-align: center; font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--muted-d); }
.screen .sprache-tag { color: var(--glow); }
.songtexte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 28px; }
.songtexte .sprache-tag { justify-content: flex-start; color: var(--ink); }
.songtexte .songtext { margin-top: 14px; }
@media (max-width: 860px) { .duo { justify-self: start; } .songtexte { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .duo .phone { padding: 6px; border-radius: 16px; box-shadow: 6px 6px 0 var(--orange); } .duo .phone video { border-radius: 10px; } .sprache-tag { font-size: 12px; gap: 4px 6px; } }

/* ---------- Epilog (seit 29.10.2026 vorbereitet): alle Codes als Liste, Platz elf im Inventar ---------- */
.ep-codes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 22px 32px; margin-top: clamp(28px, 4vw, 44px); }
.ep-kap { border-top: 2px dashed var(--ink-3); padding-top: 14px; }
.ep-kap .kap { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--glow); text-decoration: none; border-bottom: 2px solid var(--orange-2); }
.ep-kap .kap:hover { color: var(--paper); }
.ep-kap ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ep-kap li { color: var(--paper); font-size: 17px; line-height: 1.3; }
.ep-kap li span { display: block; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted-d); }
.ep-kap .kein { color: var(--muted-d); font-size: 15px; margin-top: 12px; }
.platz-frei { display: block; width: 96px; height: 96px; margin: 6px 0 4px; border: 3px dashed var(--ink-3); }

/* ---------- Themen-Bereich (seit 01.11.2026 vorbereitet) ---------- */
.thema-kopf h1, .artikel-kopf h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: .95; text-wrap: balance; }
.artikel-kopf h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; }
.artikel-liste { display: grid; gap: 24px; margin-top: clamp(24px, 3vw, 36px); }
/* Artikel-Karte wie das Teilen-Bild, im grauen runden Kasten (seit 01.11.2026, Themenseiten laden dafür seiten.css?v=13) */
.artikel-karte { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 280px); gap: clamp(24px, 4vw, 52px); align-items: center; padding: clamp(26px, 4vw, 48px); background: #E8E4DC; border-radius: 18px; transition: background-color .2s ease; }
.artikel-karte:hover { background: #E1DCD2; }
.artikel-karte .kicker, .artikel-karte .nr { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-2); }
.artikel-karte .nr span { white-space: nowrap; }
.artikel-karte h3 { margin: 16px 0 20px; }
.artikel-karte h3 a { color: var(--ink); text-decoration: none; }
.artikel-karte h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.artikel-karte h3 a:focus-visible { outline: none; }
.artikel-karte:has(a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.artikel-karte .titel { display: block; font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.artikel-karte .unter { display: block; margin-top: 14px; max-width: 20em; font-family: var(--f-serif); font-weight: 400; font-size: clamp(19px, 2vw, 26px); line-height: 1.3; letter-spacing: 0; }
.artikel-karte .lesen { display: inline-flex; align-items: center; min-height: 40px; margin-top: 22px; padding: 0 14px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: var(--glow); box-shadow: 3px 3px 0 var(--orange); }
.artikel-karte:hover .lesen { background: var(--paper); }
.artikel-karte .bild { aspect-ratio: 4 / 5; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--orange); background: var(--ink-2); }
.artikel-karte .bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .artikel-karte { grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; padding: 20px 18px 24px; align-items: start; border-radius: 14px; }
  .artikel-karte h3 { margin: 10px 0 14px; }
  .artikel-karte .titel { font-size: 30px; }
  .artikel-karte .unter { margin-top: 10px; font-size: 17px; }
  .artikel-karte .kicker, .artikel-karte .nr { font-size: 12px; letter-spacing: .06em; }
  .artikel-karte .bild { box-shadow: 6px 6px 0 var(--orange); }
}
.bald { color: var(--muted); }
.ueb-liste { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ueb-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 19px; color: #E6DFD0; }
.ueb-liste a { font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: var(--glow); padding: 8px 12px; text-decoration: none; box-shadow: 3px 3px 0 var(--orange); }
.ueb-liste a:hover { background: var(--paper); }
.ueb-liste span { color: var(--muted-d); font-size: 16px; }
.hilfe-kasten { margin: clamp(28px, 4vw, 40px) 0; border: 3px solid var(--ink); background: var(--paper-2); padding: 18px 22px 20px; box-shadow: 6px 6px 0 var(--orange); max-width: 42em; }
.hilfe-kasten .tl { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; color: var(--orange-2); margin-bottom: 8px; }
.hilfe-kasten p { font-size: 16px; line-height: 1.55; }
/* Artikel (seit 01.11.2026 abends lebendiger, Artikelseiten laden seiten.css?v=14): Leseleiste unter der Kopfleiste, Inhalt (am breiten Bildschirm
   rechts mitlaufend), Abschnitte mit Linie und orangem Quadrat wie im Logo, Vorspann, Merksätze, Kacheln, Sprechblasen, Notrufkasten,
   „Für heute“ als dunkler Spielbildschirm, Quellen zum Aufklappen. Spalte 36em, gut 70 Zeichen je Zeile */
.artikel { max-width: 36em; overflow-wrap: break-word; }
.artikel > * + * { margin-top: 20px; }
.artikel p, .artikel li { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.68; }
.artikel-anfang > p:first-child { font-size: clamp(21px, 2vw, 24px); line-height: 1.5; font-weight: 600; letter-spacing: -.005em; }
.artikel > h2 { position: relative; max-width: none; margin-top: clamp(60px, 7vw, 88px); padding-top: 24px; border-top: 3px solid var(--ink); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.06; }
.artikel > h2::before { content: ""; position: absolute; left: 0; top: -9px; width: 15px; height: 15px; background: var(--orange); }
.artikel > h2:first-child { margin-top: clamp(44px, 5vw, 60px); }
.artikel > h2 + * { margin-top: 18px; }
.artikel h3 { margin-top: 36px; font-size: clamp(21px, 2vw, 24px); line-height: 1.2; }
.artikel h3 + * { margin-top: 10px; }
.artikel ul { list-style: none; padding-left: 0; }
.artikel ul > li { position: relative; padding-left: 26px; }
.artikel ul > li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 8px; height: 8px; background: var(--orange); }
.artikel ol { list-style: none; padding-left: 0; counter-reset: schritt; }
.artikel ol:not(.kacheln) > li { counter-increment: schritt; position: relative; padding-left: 48px; }
.artikel ol:not(.kacheln) > li::before { content: counter(schritt); position: absolute; left: 0; top: .1em; width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--f-pixel); font-size: 13px; color: var(--paper); background: var(--orange-2); box-shadow: 3px 3px 0 var(--ink-3); }
.artikel ol:not(.kacheln) > li + li { margin-top: 16px; }
.artikel ol:not(.kacheln) > li > strong:first-child { display: block; margin-bottom: 2px; font-family: var(--f-display); font-weight: 900; font-size: 1.1em; line-height: 1.3; }
.artikel p.wichtig { padding: 16px 20px 18px; border: 3px solid var(--ink); background: var(--glow); box-shadow: 6px 6px 0 var(--orange); }
.artikel p.wichtig + * { margin-top: 30px; }
.artikel .notizen { padding: 14px 18px 16px; background: var(--paper-2); }
.artikel .notizen p { font-size: 17px; line-height: 1.6; }
.artikel .notizen p + p { margin-top: 10px; }
.artikel li + li { margin-top: 10px; }
.artikel blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); font-style: italic; }
.artikel a { color: var(--orange-2); text-underline-offset: 3px; }
.artikel .bild-im-text { margin-block: clamp(36px, 5vw, 52px); }
.artikel .bild-im-text img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--orange); background: var(--ink-2); }
@media (max-width: 640px) { .artikel .bild-im-text img { box-shadow: 6px 6px 0 var(--orange); } }
.artikel p.merksatz { margin-block: clamp(40px, 5vw, 56px); max-width: 19em; font-family: var(--f-display); font-weight: 900; font-size: clamp(27px, 3vw, 36px); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.artikel p.merksatz::before { content: ""; display: block; width: 48px; height: 6px; margin-bottom: 18px; background: var(--orange); }
.artikel ol.kacheln { list-style: none; padding: 0; counter-reset: kachel; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr)); gap: 12px; margin-block: 26px 30px; }
.artikel ol.kacheln > li { counter-increment: kachel; margin: 0; padding: 14px 14px 16px; border: 3px solid var(--ink); background: var(--paper-2); font-family: var(--f-display); font-weight: 900; font-size: 19px; line-height: 1.12; letter-spacing: -.01em; }
.artikel ol.kacheln > li::before { content: counter(kachel); display: block; margin-bottom: 12px; font-size: 44px; line-height: .8; color: var(--orange); }
.artikel ul.punkte > li + li { margin-top: 18px; }
.artikel ul.punkte > li::before { top: .52em; }
.artikel ul.punkte > li > strong:first-child { display: block; margin-bottom: 2px; font-family: var(--f-display); font-weight: 900; font-size: 1.1em; line-height: 1.3; }
.artikel ul.saetze { display: grid; justify-items: start; gap: 12px; }
.artikel ul.saetze > li { margin: 0; padding: 11px 18px 12px; border: 2px solid var(--ink); border-radius: 18px 18px 18px 4px; background: var(--paper-2); }
.artikel ul.saetze > li::before { content: none; }
.artikel .notruf { margin-block: 30px 34px; padding: 18px 22px 20px; border: 3px solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--orange); }
.artikel .notruf h3 { margin: 0 0 12px; font-family: var(--f-pixel); font-weight: 400; font-size: 12px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
.artikel .notruf ul { margin: 0; }
.artikel .notruf li { font-size: 17px; line-height: 1.55; }
.artikel a.tel { font-family: var(--f-display); font-weight: 900; font-size: 1.08em; line-height: 1; color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--orange); white-space: nowrap; }
.artikel a.tel:hover { color: var(--orange-2); }
.artikel-raster { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "hilfe" "anfang" "nav" "rest"; }
.artikel-raster > .hilfe-kasten { grid-area: hilfe; margin-top: 0; max-width: 36em; }
.artikel-anfang { grid-area: anfang; }
.artikel-rest { grid-area: rest; }
.inhalt-nav { grid-area: nav; max-width: 36em; margin-top: clamp(36px, 5vw, 48px); padding: 14px 0 16px; border-block: 3px solid var(--ink); }
.inhalt-nav .tl { margin-bottom: 6px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
.inhalt-nav ol { list-style: none; margin: 0; padding: 0; }
.inhalt-nav a { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 7px 0; font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--ink); text-decoration: none; }
.inhalt-nav a::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--ink-3); box-sizing: border-box; }
.inhalt-nav a:hover, .inhalt-nav a[aria-current] { color: var(--orange-2); }
.inhalt-nav a:hover::before { border-color: var(--orange); }
.inhalt-nav a[aria-current]::before { background: var(--orange); border-color: var(--orange); }
@media (min-width: 1000px) {
  .artikel-raster { grid-template-columns: minmax(0, 36em) minmax(200px, 250px); grid-template-areas: "hilfe nav" "anfang nav" "rest nav"; column-gap: clamp(48px, 7vw, 100px); justify-content: start; }
  .inhalt-nav { position: sticky; top: calc(var(--hud-h) + 28px); align-self: start; margin-top: 0; }
  .inhalt-nav a { padding: 6px 0; font-size: 15.5px; }
}
.lesefortschritt { display: none; }
@supports (animation-timeline: view()) {
  .artikel-strecke { view-timeline: --artikel block; }
  .lesefortschritt { display: block; position: fixed; inset: var(--hud-h) 0 auto; height: 3px; z-index: 49; pointer-events: none; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0);
    animation: lesefortschritt linear both; animation-timeline: --artikel; animation-range: contain 0% contain 100%; }
}
@keyframes lesefortschritt { to { transform: scaleX(1); } }
.heute-innen { max-width: 40em; }
.heute h2 { max-width: 13em; font-size: clamp(36px, 4.8vw, 60px); line-height: 1; }
.heute .lead { margin-top: 18px; }
.heute .schritte { margin-top: clamp(26px, 3.4vw, 40px); }
.heute .schritte strong { display: block; margin-bottom: 4px; font-family: var(--f-display); font-weight: 900; font-size: clamp(22px, 2.3vw, 27px); line-height: 1.15; letter-spacing: -.01em; color: var(--paper); }
.heute .schritte a.tel { font-family: var(--f-display); font-weight: 900; color: var(--paper); text-decoration: none; border-bottom: 3px solid var(--orange); white-space: nowrap; }
.heute .schritte a.tel:hover { color: var(--glow); }
.heute .schluss { margin-top: clamp(28px, 4vw, 40px); max-width: 30em; font-weight: 600; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--glow); text-wrap: pretty; }
.heute .ueb-hinweis { margin-top: clamp(32px, 4vw, 44px); }
.heute .ueb-hinweis .tl { color: var(--glow); }
.heute .ueb-hinweis a { color: var(--ink); background: var(--glow); }
.heute .ueb-hinweis a:hover { background: var(--paper); }
.heute .ueb-hinweis .was { color: var(--muted-d); }
.quellen-band { padding-block: clamp(40px, 5vw, 64px); }
.quellen-klapp { max-width: 36em; border-block: 3px solid var(--ink); }
.quellen-klapp summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px 16px 0; cursor: pointer; list-style: none; }
.quellen-klapp summary::-webkit-details-marker { display: none; }
.quellen-klapp summary h2 { font-size: clamp(24px, 2.4vw, 30px); }
.quellen-klapp summary:hover h2 { color: var(--orange-2); }
.quellen-klapp summary::after { content: ""; flex: none; width: 0; height: 0; border-left: 11px solid var(--orange); border-block: 7px solid transparent; transition: transform .2s ease; }
.quellen-klapp[open] summary::after { transform: rotate(90deg); }
.quellen-text { padding-bottom: 22px; }
.quellen-text ul, .quellen-text ol { margin: 0; padding-left: 1.2em; }
.quellen-text li { font-size: 15px; line-height: 1.5; color: #3D3A34; }
.quellen-text li + li { margin-top: 8px; }
.quellen-text a { color: var(--orange-2); text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .quellen-klapp summary::after { transition: none; } }
.hilft { margin-top: clamp(36px, 5vw, 52px); border: 3px solid var(--ink); background: var(--paper-2); padding: 20px 24px 22px; box-shadow: 8px 8px 0 var(--ink); max-width: 40em; }
.hilft h2 { font-size: clamp(24px, 2.4vw, 30px); }
.hilft ul { margin: 14px 0 0; padding-left: 1.2em; }
.hilft li { font-size: 18px; line-height: 1.55; }
.hilft li + li { margin-top: 8px; }
.ueb-hinweis { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 32px; }
.ueb-hinweis .tl { flex-basis: 100%; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
.ueb-hinweis a { white-space: nowrap; font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--paper); background: var(--ink); padding: 9px 12px; text-decoration: none; box-shadow: 3px 3px 0 var(--orange); }
.ueb-hinweis a:hover { background: var(--orange-2); }
.ueb-hinweis .was { color: var(--muted); font-size: 16px; }
.quellen-liste { margin-top: 36px; max-width: 42em; }
.quellen-liste h3 { font-size: 18px; font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.quellen-liste ol { margin: 10px 0 0; padding-left: 1.3em; }
.quellen-liste li { font-size: 15px; line-height: 1.5; color: #3D3A34; }
.cover.klein { max-width: 260px; justify-self: center; }
.beispiel-band { background: var(--orange); color: var(--paper); font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding-block: 10px; }
.beispiel-band b { font-weight: 400; background: var(--ink); padding: 2px 8px; margin-right: 10px; }
.link-bald { text-decoration-style: dashed !important; }   /* nur in der Vorschau: Link auf einen geplanten Artikel, online bis zu dessen Tag nur Text */
@media (max-width: 400px) { .hud nav a[href="/leser/"] { display: none; } }

/* ---------- Quellen /quellen/ (seit 01.11.2026 vorbereitet) ---------- */
.q-inhalt { list-style: none; margin: clamp(22px, 3vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px 14px; }
.q-inhalt a { display: block; height: 100%; padding: 12px 14px 14px; border: 2px solid var(--ink-3); background: var(--ink-2); color: var(--paper); text-decoration: none; font-size: 17px; line-height: 1.3; }
.q-inhalt a span { display: block; margin-bottom: 4px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--glow); }
.q-inhalt a:hover, .q-inhalt a:focus-visible { border-color: var(--glow); }
.quellen-text { max-width: 46em; overflow-wrap: anywhere; }
.quellen-text > p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; }
.q-kap { margin-top: clamp(44px, 6vw, 68px); }
.q-kap h2 { max-width: none; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; text-wrap: balance; scroll-margin-top: 76px; }
.q-kap h3 { margin-top: 28px; font-family: var(--f-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-2); scroll-margin-top: 76px; }
.q-kap ul { list-style: none; margin: 12px 0 0; padding: 0; }
.q-kap li { padding-left: 14px; border-left: 3px solid var(--line); font-size: 16px; line-height: 1.6; color: #2E2B26; }
.q-kap li + li { margin-top: 12px; }
.q-kap li b { font-weight: 700; color: var(--ink); }
.quellen-text a { color: var(--orange-2); text-underline-offset: 3px; }
.q-hoch { display: inline-block; margin-top: 18px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
#inhalt { scroll-margin-top: 50px; }
@media (max-width: 520px) { .q-inhalt { grid-template-columns: 1fr 1fr; gap: 10px; } .q-inhalt a { padding: 10px 11px 12px; font-size: 15px; } }

/* ---------- Autor /autor/ (seit 02.11.2026 vorbereitet): Porträt im Rahmen mit orangem Versatz wie das Cover, Zitate auf dem Spielbildschirm, Wege als Pixel-Karten ---------- */
.autor-kopf .wrap { align-items: start; }
.autor-kopf .lvl-tag { margin-top: 4px; }
.autor-kopf h1 { margin-top: 18px; font-size: clamp(48px, 6.6vw, 96px); }
.autor-kopf .unter { margin-top: 16px; max-width: none; font-size: clamp(20px, 2vw, 26px); }
.autor-bio { margin-top: clamp(22px, 3vw, 32px); max-width: 34em; }
.autor-bio p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: #2E2B26; text-wrap: pretty; }
.autor-bio p + p { margin-top: 14px; }
.autor-knoepfe { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: clamp(24px, 3vw, 34px); }
.autor-foto { justify-self: center; width: min(360px, 76vw); margin-top: clamp(8px, 4vw, 56px); }
.autor-foto img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 3px solid var(--ink); box-shadow: 14px 14px 0 var(--orange); background: #8B7058; }
.autor-foto figcaption { margin-top: 22px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* am Handy das Porträt gleich unter den Namen (vor die Biografie): die linke Spalte löst sich auf, ihre Teile werden der Reihe nach angeordnet */
@media (max-width: 860px) {
  .autor-kopf .wrap { gap: 0; }
  .autor-kopf .wrap > div { display: contents; }
  .autor-kopf .krumen, .autor-kopf .lvl-tag, .autor-kopf h1, .autor-kopf .unter { order: 1; }
  .autor-kopf .lvl-tag { justify-self: start; }
  .autor-foto { order: 2; justify-self: start; width: min(320px, 72vw); margin-top: 30px; margin-bottom: 18px; }
  .autor-bio, .autor-knoepfe { order: 3; }
}
.worte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(26px, 4vw, 44px); }
.wort { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px 22px 18px; border: 2px solid var(--ink-3); background: var(--ink-2); }
.wort blockquote, .leitsatz blockquote { margin: 0; }
.screen .wort p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--paper); }
.wort figcaption { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--glow); }
.leitsatz { margin-top: clamp(36px, 6vw, 72px); text-align: center; }
.screen .leitsatz p { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.02em; color: var(--glow); text-wrap: balance; }
.leitsatz figcaption { margin-top: 16px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-d); }
@media (max-width: 900px) { .worte { grid-template-columns: minmax(0, 1fr); } }
.autor-wege { list-style: none; margin: clamp(24px, 3vw, 34px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 860px) { .autor-wege { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .autor-wege { grid-template-columns: minmax(0, 1fr); } }
.autor-wege a { display: block; height: 100%; padding: 14px 16px 16px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none;
  font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.25; box-shadow: 5px 5px 0 var(--orange); transition: transform .15s ease, box-shadow .15s ease; }
.autor-wege a span { display: block; margin-bottom: 6px; font-family: var(--f-pixel); font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
@media (hover: hover) { .autor-wege a:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--orange); } }
.autor-wege a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.autor-kontakt { margin-top: clamp(40px, 5vw, 60px); padding-top: 22px; border-top: 3px solid var(--ink); max-width: 40em; }
.autor-kontakt h3 { font-family: var(--f-pixel); font-weight: 400; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
.autor-kontakt p { margin-top: 10px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.autor-kontakt a { color: var(--orange-2); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .autor-wege a { transition: none; } }

/* ---------- Presse /presse/ (seit 02.11.2026 vorbereitet): Text wie ein Blatt Papier mit orangem Versatz, Fakten auf dem Spielbildschirm, Bilder als Mauer ---------- */
.presse-kopf .wrap { align-items: start; }
.presse-kopf .lvl-tag { margin-top: 4px; }
.presse-kopf h1 { margin-top: 18px; }
.presse-kopf .unter { margin-top: 16px; max-width: 22em; font-size: clamp(20px, 2vw, 26px); }
.presse-kurz { margin-top: clamp(20px, 3vw, 28px); max-width: 36em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: #2E2B26; text-wrap: pretty; }
.presse-frei { margin-top: 16px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.presse-kopf .cover { margin-top: clamp(8px, 4vw, 56px); }
.presse-fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: clamp(24px, 3vw, 36px) 0 0; }
.presse-fakten div { padding: 14px 0 16px; border-top: 2px solid var(--ink-3); }
.presse-fakten dt { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--glow); }
.presse-fakten dd { margin: 6px 0 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: #E6DFD0; }
.presse-fakten a { color: var(--paper); }
@media (max-width: 760px) { .presse-fakten { grid-template-columns: minmax(0, 1fr); } }
.presse-raster { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.presse-seite { position: sticky; top: calc(var(--hud-h) + 24px); display: grid; gap: 14px; justify-items: start; }
.presse-seite p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.presse-seite .dateien { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.presse-seite .dateien a { color: var(--orange-2); }
.presse-seite [hidden] { display: none; }
.presse-text { max-width: 36em; padding: clamp(22px, 3vw, 38px); border: 3px solid var(--ink); background: #FBF8F1; box-shadow: 10px 10px 0 var(--orange); }
.presse-text h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.presse-text .dach { margin-top: 12px; font-style: italic; font-weight: 600; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.45; color: #3D3A34; }
.presse-text p:not(.dach) { margin-top: 14px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; }
.presse-text .fuss-zeilen { margin-top: 22px; padding-top: 14px; border-top: 2px solid var(--line); }
.presse-text .fuss-zeilen p { margin-top: 6px; font-size: 15px; line-height: 1.55; }
.presse-text .nw { white-space: nowrap; color: var(--orange-2); }
@media (max-width: 860px) { .presse-raster { grid-template-columns: minmax(0, 1fr); } .presse-seite { position: static; } .presse-text { box-shadow: 6px 6px 0 var(--orange); } }
.presse-bilder-band .lead { max-width: 40em; }
.presse-bilder { list-style: none; margin: clamp(26px, 3vw, 38px) 0 0; padding: 0; column-count: 3; column-gap: 24px; }
.presse-bilder li { break-inside: avoid; margin: 0 0 26px; }
.presse-bilder a { display: block; color: var(--ink); text-decoration: none; }
.presse-bilder img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
@media (hover: hover) { .presse-bilder a:hover img { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--orange); } .presse-bilder a:hover .logo-flaeche img { transform: none; box-shadow: none; } }
.presse-bilder a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.presse-bilder .pb-text { display: block; margin-top: 10px; font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1.3; }
.presse-bilder .pb-meta { display: block; margin-top: 3px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
.presse-bilder .logo-flaeche { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 10%; border: 2px solid var(--ink); background: var(--paper-2); }
.presse-bilder .logo-flaeche.dunkel { background: var(--ink); }
.presse-bilder .logo-flaeche img { border: 0; }
@media (max-width: 860px) { .presse-bilder { column-count: 2; } }
@media (max-width: 480px) { .presse-bilder { column-count: 1; } }
@media (prefers-reduced-motion: reduce) { .presse-bilder img { transition: none; } }
.presse-kontakt p + p { margin-top: 12px; }
.presse-kontakt .lead a { color: var(--glow); }
.presse-kontakt .mehr { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--glow); text-decoration: none; border-bottom: 3px solid currentColor; }

/* ---------- Adventkalender /advent/ (seit 04.11.2026 eingebaut, Seite lädt seiten.css?v=25) ---------- */
/* Winterhimmel: eine Fläche hinter Kopf und Türchen. Darauf Schnee (Canvas, klebt am Bildschirm), Lichterkette und am Ende der Schneehügel, der ins Papier übergeht */
.advent-winter { position: relative; isolation: isolate; background: linear-gradient(180deg, #0A0F22 0%, #101833 55%, #1C2A52 100%); }
.advent-winter::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(1.4px 1.4px at 12% 18%, rgba(245,241,232,.85), transparent 60%), radial-gradient(1px 1px at 27% 64%, rgba(245,241,232,.6), transparent 60%),
  radial-gradient(1.6px 1.6px at 44% 12%, rgba(242,196,141,.9), transparent 60%), radial-gradient(1px 1px at 58% 42%, rgba(245,241,232,.55), transparent 60%), radial-gradient(1.3px 1.3px at 71% 78%, rgba(245,241,232,.75), transparent 60%),
  radial-gradient(1px 1px at 83% 26%, rgba(245,241,232,.6), transparent 60%), radial-gradient(1.5px 1.5px at 92% 58%, rgba(242,196,141,.8), transparent 60%), radial-gradient(1px 1px at 6% 86%, rgba(245,241,232,.5), transparent 60%);
  background-size: 420px 300px; }
.advent-winter .screen { position: relative; background: transparent; }
.d-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.schnee { position: sticky; top: 0; z-index: 2; display: block; width: 100%; height: 100vh; margin-bottom: -100vh; pointer-events: none; }
.lichter { position: relative; height: 46px; }
.lichter svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lichter path { fill: none; stroke: rgba(245,241,232,.38); stroke-width: 2; vector-effect: non-scaling-stroke; }
.lichter i { position: absolute; width: 8px; height: 11px; margin: 0 0 0 -4px; background: var(--c); box-shadow: 0 0 12px 3px var(--c); animation: funkeln 2.6s ease-in-out infinite; animation-delay: calc(var(--v) * -1); }
@keyframes funkeln { 50% { opacity: .55; box-shadow: 0 0 5px 1px var(--c); } }
@media (max-width: 560px) { .lichter { height: 34px; } .lichter i { width: 6px; height: 8px; margin-left: -3px; box-shadow: 0 0 8px 2px var(--c); } .lichter i:nth-of-type(3n+2) { display: none; } }
.advent-kopf { padding-block: clamp(10px, 2vw, 22px) clamp(28px, 4vw, 48px); }
.advent-kopf .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.advent-kopf h1 { margin-top: 18px; font-size: clamp(44px, 6.4vw, 92px); line-height: .98; text-wrap: balance; text-shadow: 0 0 34px rgba(242,196,141,.32); }
.advent-kopf .unter { margin-top: 16px; max-width: none; font-size: clamp(19px, 1.9vw, 25px); color: #EFE8D9; }
.advent-kopf .nw { white-space: nowrap; }
.advent-lead { margin-top: 14px; font-size: clamp(18px, 1.6vw, 21px); color: var(--glow) !important; }
.advent-stand { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding: 10px 18px; border: 2px solid var(--glow); background: rgba(10,15,34,.72); box-shadow: 6px 6px 0 var(--orange); font-family: var(--f-pixel); font-size: 13px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--paper) !important; }
.advent-stand b { font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; color: var(--glow); }
.advent-titelbild { position: relative; justify-self: center; width: min(360px, 76vw); }
.advent-titelbild::before { content: ""; position: absolute; inset: -14%; z-index: -1; background: radial-gradient(closest-side, rgba(242,170,90,.42), rgba(242,170,90,0)); }
.advent-titelbild::after { content: ""; position: absolute; left: -7px; right: -7px; top: -9px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='18' shape-rendering='crispEdges'%3E%3Cpath fill='%23F7F3EA' d='M0 0h72v7h-6v4h-10v4h-6v-4h-13v-4h-10v4h-6v4h-8v-4h-5v-4h-8z'/%3E%3C/svg%3E") repeat-x left top / 72px 18px; pointer-events: none; }
.advent-titelbild img { display: block; width: 100%; height: auto; border: 3px solid var(--paper); box-shadow: 14px 14px 0 var(--orange); }
@media (max-width: 860px) { .advent-kopf .wrap { grid-template-columns: minmax(0, 1fr); } .advent-titelbild { justify-self: start; } }
.advent-band { padding-block: clamp(20px, 3vw, 36px) clamp(26px, 4vw, 44px); }
.advent-band h2 { text-align: center; font-size: clamp(28px, 3.6vw, 46px); color: var(--paper); }
/* das Brett mit den Türchen: Holz, oben eine Schneekante, Versatz wie überall auf der Seite */
.advent-tueren { position: relative; list-style: none; margin: clamp(22px, 3vw, 34px) 0 0; padding: clamp(10px, 1.9vw, 24px); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(6px, 1.1vw, 13px); border: 3px solid #120B07; background: linear-gradient(180deg, #3D2616, #2A1A10); box-shadow: 10px 10px 0 var(--orange); }
.advent-tueren::before { content: ""; position: absolute; left: -7px; right: -7px; top: -9px; z-index: 1; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='18' shape-rendering='crispEdges'%3E%3Cpath fill='%23F7F3EA' d='M0 0h72v7h-6v4h-10v4h-6v-4h-13v-4h-10v4h-6v4h-8v-4h-5v-4h-8z'/%3E%3C/svg%3E") repeat-x left top / 72px 18px; pointer-events: none; }
.advent-tueren li { order: var(--o); display: grid; }
.advent-tueren li.gross { grid-column: span 2; grid-row: span 2; }
.advent-tueren li.hoch { grid-row: span 2; }
@media (max-width: 760px) { .advent-tueren { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tuer { position: relative; display: block; width: 100%; min-height: 0; aspect-ratio: 1; padding: 0; border: 2px solid rgba(10,6,4,.7); background: #0E1120; color: var(--glow); cursor: pointer; perspective: 700px; font: inherit; }
.tuer.gross, .tuer.hoch { aspect-ratio: auto; height: 100%; }
.tuer-bild { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(242,196,141,.45), rgba(14,17,32,0) 70%) center / cover no-repeat; }
.tuer-fluegel { position: absolute; inset: 0; display: grid; place-items: center; background: var(--f); background: linear-gradient(160deg, color-mix(in srgb, var(--f) 84%, white), var(--f) 70%); border: 1px solid rgba(245,241,232,.16); box-shadow: inset 0 0 0 clamp(2px, .4vw, 4px) rgba(0,0,0,.16); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.3,.7,.2,1); backface-visibility: hidden; }
.tuer-fluegel::after { content: ""; position: absolute; right: 9%; top: 50%; width: 5px; height: 5px; margin-top: -2px; background: var(--glow); }   /* Knauf */
.tuer-zahl { font-family: var(--f-pixel); font-size: clamp(18px, 2.5vw, 32px); line-height: 1; color: #FBE9C8; text-shadow: 2px 2px 0 rgba(0,0,0,.35); }
.tuer-deko { position: absolute; left: 9%; top: 9%; width: 21%; max-width: 26px; height: auto; aspect-ratio: 1; color: rgba(251,233,200,.62); fill: currentColor; }
.tuer.hoch .tuer-deko { width: 34%; max-width: 40px; left: 50%; top: 13%; transform: translateX(-50%); color: rgba(251,233,200,.8); }
.tuer.gross .tuer-fluegel { background: linear-gradient(90deg, transparent 45%, #E3B25A 45% 55%, transparent 55%), linear-gradient(0deg, transparent 45%, #E3B25A 45% 55%, transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--f) 84%, white), var(--f) 70%); }
.tuer.gross .tuer-zahl { position: relative; padding: .22em .34em .16em; background: var(--ink); color: var(--glow); font-size: clamp(30px, 4.6vw, 60px); text-shadow: none; box-shadow: 4px 4px 0 var(--orange); }
.tuer.heute { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange), 0 0 22px rgba(224,97,44,.55); animation: heuteGlimmt 2.6s ease-in-out infinite; }
@keyframes heuteGlimmt { 50% { box-shadow: 0 0 0 2px var(--orange), 0 0 34px rgba(242,196,141,.75); } }
.tuer.geht-auf .tuer-fluegel { transform: rotateY(-104deg); }
.tuer.gesehen .tuer-fluegel { transform: rotateY(-62deg); }
.tuer.gesehen .tuer-fluegel .tuer-zahl { opacity: .9; }
.tuer.wackelt { animation: wackeln .38s steps(4, end); }
@keyframes wackeln { 25% { transform: translateX(-3px); } 50% { transform: translateX(3px); } 75% { transform: translateX(-2px); } }
@media (hover: hover) { .tuer.offen:hover .tuer-fluegel { transform: rotateY(-20deg); } .tuer.gesehen:hover .tuer-fluegel { transform: rotateY(-72deg); } .tuer.zu:hover .tuer-fluegel { transform: rotateY(-5deg); } }
.tuer:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.advent-tueren:not(.bereit) .tuer { cursor: progress; }
.advent-hinweis { min-height: 1.6em; margin-top: 26px; font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--glow) !important; text-align: center; }
/* Schneehügel: geht ins Papier über, oben steht der Junge (derselbe wie in der Leiste der Startseite) mit einem kleinen Licht */
.schneehuegel { position: relative; height: 70px; margin-top: 8px; }
.schneehuegel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.schneehuegel path { fill: var(--paper); }
.schneehuegel .junge { position: absolute; left: 73%; bottom: 49px; width: 24px; height: 40px; image-rendering: pixelated; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' shape-rendering='crispEdges'%3E%3Cpath fill='%234B2620' d='M1 0h4v1h1v2H5V2H1v1H0V1h1z'/%3E%3Cpath fill='%239C4E35' d='M2 0h1v1H2z'/%3E%3Cpath fill='%23F6A960' d='M1 2h4v2H1z'/%3E%3Cpath fill='%23D4501C' d='M0 4h6v2H5v1H1V6H0z'/%3E%3Cpath fill='%23AC401B' d='M1 4h1v1H1zM4 4h1v1H4z'/%3E%3Cpath fill='%233A3F4D' d='M1 7h4v1H4v1H3V8H2v1H1z'/%3E%3Cpath fill='%23F3EADB' d='M1 9h1v1H1zM4 9h1v1H4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.schneehuegel .junge::after { content: ""; position: absolute; left: 100%; top: 50%; width: 9px; height: 9px; margin-left: 3px; background: #FFD98A; box-shadow: 0 0 18px 7px rgba(255,200,110,.75); animation: funkeln 3.2s ease-in-out infinite; }
@media (max-width: 560px) { .schneehuegel .junge { left: 70%; } }
.advent-fuss .wrap { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.advent-fuss .cover { width: 100%; justify-self: start; }
.advent-fuss .lead { margin-top: 14px; }
@media (max-width: 700px) { .advent-fuss .wrap { grid-template-columns: minmax(0, 1fr); } .advent-fuss .cover { width: min(240px, 60vw); } }
/* Blatt im Hochformat: alles untereinander, das Bild gibt nach, damit Text, Frage und Knöpfe ohne Scrollen zu sehen sind. Im Querformat (unten): Bild links, Text rechts wie ein offenes Buch. */
.advent-blatt { width: min(540px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 3px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 10px 10px 0 var(--orange); overflow: auto; }
.advent-blatt[open] { display: flex; flex-direction: column; }
.advent-blatt::backdrop { background: rgba(8,10,20,.86); }
.blatt-kopf { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px 0 18px; background: var(--ink); color: var(--glow); }
.blatt-kopf p { font-family: var(--f-pixel); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.blatt-zu { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--paper); font-size: 20px; cursor: pointer; }
.blatt-zu:focus-visible { outline: 3px solid var(--glow); outline-offset: -3px; }
.blatt-seite { display: contents; }
.blatt-seite img { flex: 1 1 auto; display: block; width: 100%; height: auto; min-height: 240px; object-fit: contain; background: #0E1120; }
.blatt-seite figcaption { flex: none; padding: 14px 20px 6px; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; text-wrap: pretty; }
/* Frage unter jedem Türchen, falls die Geschichte eine mitbringt („frage“ in kopf_fuss.json, z. B. „Was war heute dein Licht?“) */
.blatt-frage { flex: none; padding: 2px 20px 0; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
.blatt-nav { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 16px 12px; }
.blatt-nav .btn { min-height: 44px; padding: 8px 14px; font-size: 13px; }
.blatt-nav [hidden] { visibility: hidden; display: inline-flex; }
#blattZaehler { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
/* Jede Zelle füllt das Blatt ganz aus: Ein Klick direkt aufs Blatt zählt im Skript als Klick daneben und schließt es. */
@media (orientation: landscape) and (min-width: 560px) {
  .advent-blatt[open] { --h: min(calc(100dvh - 32px), 820px); display: grid; grid-template-columns: calc((var(--h) - 6px) * .8) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; width: min(calc((var(--h) - 6px) * .8 + 386px), calc(100vw - 32px)); height: var(--h); max-height: none; overflow: hidden; }
  .blatt-seite img { grid-column: 1; grid-row: 1 / -1; height: 100%; min-height: 0; }
  .blatt-kopf, .blatt-seite figcaption, .blatt-frage, .blatt-nav { grid-column: 2; }
  .blatt-kopf { padding-left: 30px; }
  .blatt-seite figcaption { display: grid; align-content: safe center; min-height: 0; overflow-y: auto; padding: 16px 30px; }
  .blatt-frage { padding: 0 30px 4px; }
  .blatt-nav { padding: 10px 30px 22px; }
}
@media (prefers-reduced-motion: reduce) { .tuer.heute, .tuer.wackelt { animation: none; } .tuer-fluegel { transition: none; } }

/* ---------- Geschichte des Monats /geschichten/ (seit 04.11.2026, Seite lädt seiten.css?v=27): Bild läuft in den Nachthimmel aus, daneben ein Satz und ein Knopf ---------- */
.monat-kopf { --grund: #17223A; position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; height: calc(100vh - var(--hud-h)); height: calc(100svh - var(--hud-h)); min-height: 540px; max-height: 960px; padding-inline: 0; background: radial-gradient(1.4px 1.4px at 62% 16%, rgba(245,241,232,.8), transparent 60%), radial-gradient(1px 1px at 78% 30%, rgba(245,241,232,.6), transparent 60%), radial-gradient(1.5px 1.5px at 90% 12%, rgba(242,196,141,.8), transparent 60%), radial-gradient(1px 1px at 70% 72%, rgba(245,241,232,.5), transparent 60%), radial-gradient(1.3px 1.3px at 94% 64%, rgba(245,241,232,.7), transparent 60%), radial-gradient(1px 1px at 84% 86%, rgba(245,241,232,.5), transparent 60%), var(--grund); }
.monat-bild { position: relative; align-self: stretch; min-height: 0; overflow: hidden; }
.monat-bild img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 66%; -webkit-mask-image: linear-gradient(to right, #000 74%, transparent 100%); mask-image: linear-gradient(to right, #000 74%, transparent 100%); }
.monat-inhalt { padding: 40px clamp(28px, 7vw, 120px) 48px clamp(20px, 3vw, 52px); }
.monat-kopf h1 { margin-top: 18px; font-size: clamp(44px, 5.8vw, 86px); line-height: .98; }
.monat-text { margin-top: clamp(16px, 2vw, 24px); max-width: 26em; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; text-wrap: pretty; }
.monat-buch { margin-top: 26px; font-size: 17px; color: var(--muted-d) !important; }
.monat-buch a { color: var(--glow); }
@media (max-width: 759px), (orientation: portrait) {
  .monat-kopf { grid-template-columns: minmax(0, 1fr); align-items: start; height: auto; min-height: 0; max-height: none; }
  .monat-bild { height: min(112vw, 50vh); height: min(112vw, 50svh); }
  .monat-bild img { object-position: 42% 74%; -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%); mask-image: linear-gradient(to bottom, #000 76%, transparent 100%); }
  .monat-inhalt { margin-top: -18px; padding: 0 var(--gutter) 40px; position: relative; }
  .monat-inhalt .krumen { display: none; }
}

/* ---------- Alle Geschichten /geschichten/alle/ (seit 04.11.2026, Seite lädt seiten.css?v=27): Papier-Karten auf dem Nachthimmel ---------- */
.regal-seite { --grund: #17223A; min-height: calc(100vh - var(--hud-h)); min-height: calc(100svh - var(--hud-h)); padding-block: clamp(26px, 4vw, 52px) clamp(56px, 7vw, 96px); background: radial-gradient(1.4px 1.4px at 12% 18%, rgba(245,241,232,.85), transparent 60%), radial-gradient(1px 1px at 27% 64%, rgba(245,241,232,.6), transparent 60%), radial-gradient(1.6px 1.6px at 44% 12%, rgba(242,196,141,.9), transparent 60%), radial-gradient(1px 1px at 58% 42%, rgba(245,241,232,.55), transparent 60%), radial-gradient(1.3px 1.3px at 71% 78%, rgba(245,241,232,.75), transparent 60%), radial-gradient(1px 1px at 83% 26%, rgba(245,241,232,.6), transparent 60%), radial-gradient(1.5px 1.5px at 92% 58%, rgba(242,196,141,.8), transparent 60%), radial-gradient(1px 1px at 6% 86%, rgba(245,241,232,.5), transparent 60%) 0 0 / 420px 300px, var(--grund); }
.regal-seite h1 { margin-top: 10px; font-size: clamp(44px, 6vw, 88px); }
.regal-lead { margin-top: 14px; max-width: 34em; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; text-wrap: pretty; }
.regal-liste { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.regal-karte.gross, .regal-bald { grid-column: 1 / -1; }
.regal-karte a { display: grid; height: 100%; color: var(--ink); text-decoration: none; background: var(--paper); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--orange); transition: transform .18s ease, box-shadow .18s ease; }
@media (hover: hover) { .regal-karte a:hover { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--orange); } }
.regal-karte a:focus-visible { outline: 3px solid var(--glow); outline-offset: 4px; }
.regal-karte.gross a { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); align-items: center; }
.regal-bild { display: block; overflow: hidden; background: var(--ink); }
.regal-bild img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .regal-karte a:hover .regal-bild img { transform: scale(1.03); } }
.regal-text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(20px, 3.4vw, 48px); }
.regal-titel { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.regal-karte:not(.gross) .regal-titel { font-size: clamp(24px, 2.2vw, 30px); }
.regal-info { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: #2E2B26; text-wrap: pretty; }
.regal-meta { font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.regal-karte .btn { margin-top: 8px; border-color: var(--ink); background: var(--ink); color: var(--paper); }
.regal-karte .lvl-tag { color: var(--muted); }
.regal-bald { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 24px; border: 2px dashed rgba(245,241,232,.32); }
.regal-bald p { margin: 0; font-family: var(--f-pixel); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--glow); }
.regal-stern { width: 9px; height: 9px; background: #FFD98A; box-shadow: 0 0 14px 5px rgba(255,200,110,.6); }
@media (max-width: 820px) { .regal-karte.gross a { grid-template-columns: minmax(0, 1fr); } .regal-karte.gross .regal-bild img { aspect-ratio: 1; object-fit: cover; object-position: 50% 72%; } .regal-seite .krumen { display: none; } }
@media (prefers-reduced-motion: reduce) { .regal-karte a, .regal-bild img { transition: none; } }

/* ---------- Lese-Seite /geschichten/<name>/ (seit 04.11.2026, Seite lädt seiten.css?v=28): Bilderbuch mit Text im Bild, Scroll-Film, Vorlesen ---------- */
.lesen { --oben: calc(var(--hud-h) + 46px); position: relative; color: var(--paper); background: radial-gradient(1.4px 1.4px at 12% 18%, rgba(245,241,232,.8), transparent 60%), radial-gradient(1px 1px at 27% 64%, rgba(245,241,232,.55), transparent 60%), radial-gradient(1.6px 1.6px at 44% 12%, rgba(242,196,141,.85), transparent 60%), radial-gradient(1px 1px at 71% 78%, rgba(245,241,232,.7), transparent 60%), radial-gradient(1px 1px at 88% 30%, rgba(245,241,232,.55), transparent 60%) 0 0 / 420px 300px, #131B31; }
.lesen .lang { display: inline; } .lesen .kurz { display: none; }
.lesen-bar { position: sticky; top: var(--hud-h); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; padding-inline: var(--gutter); background: rgba(14,17,32,.94); border-bottom: 1px solid rgba(245,241,232,.14); font-family: var(--f-pixel); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.lesen-zurueck { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--glow); text-decoration: none; white-space: nowrap; }
.lesen-zurueck:hover { color: var(--paper); }
.lesen:not([data-modus]) .lesen-modi { display: none; }
.lesen-modi { display: flex; gap: 4px; }
.lesen-modi button { min-height: 34px; padding: 4px 11px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--paper); background: none; border: 2px solid rgba(245,241,232,.3); cursor: pointer; }
.lesen-modi button:hover { border-color: var(--glow); }
.lesen-modi button[aria-pressed="true"] { color: var(--ink); background: var(--glow); border-color: var(--glow); }
@media (max-width: 560px) { .lesen .lang { display: none; } .lesen .kurz { display: inline; } .lesen-bar { padding-inline: 14px; } }
/* ein Blatt: Bild füllt alles, der Text steht oben im ruhigen Teil, die Schriftgröße wächst mit dem Blatt */
.blaetter { display: grid; justify-items: center; gap: 22px; padding: 22px 0 40px; }
.blaetter[hidden] { display: none; }
.blaetter .blatt { width: min(100%, 760px); }
.blatt { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; container-type: inline-size; background: #0E1120; color: var(--ink); font-family: var(--f-display); }
.blatt > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.blatt-text { position: absolute; left: 0; right: 0; top: 0; padding: 6.5cqw 8cqw 17cqw; text-align: center; font-weight: 600; font-size: clamp(15px, 4.4cqw, 34px); line-height: 1.36; }
.blatt-text p { margin: 0 auto; text-wrap: balance; color: inherit !important; }
.blatt-text.hell { color: #171c2f; background: linear-gradient(to bottom, rgba(246,241,232,.84), rgba(246,241,232,.58) 55%, rgba(246,241,232,0)); }
.blatt-text.dunkel { color: #f7f1e4; background: linear-gradient(to bottom, rgba(11,16,34,.68), rgba(11,16,34,.38) 55%, rgba(11,16,34,0)); text-shadow: 0 1px 7px rgba(0,0,0,.5); }
.blatt-nr { position: absolute; right: 3cqw; bottom: 2.6cqw; font-family: var(--f-pixel); font-size: clamp(10px, 2.2cqw, 15px); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.75); }
.blatt.titel .blatt-text { padding-top: 7cqw; }
.blatt.titel h1 { font-size: clamp(26px, 8.4cqw, 66px); line-height: 1.03; letter-spacing: -.012em; margin: 0 0 2.2cqw; text-wrap: balance; }
.blatt.titel .unter { font-style: italic; font-weight: 400; font-size: clamp(14px, 3.4cqw, 25px); }
.blatt.titel .autor { font-weight: 600; font-size: clamp(13px, 3cqw, 22px); letter-spacing: .03em; margin-top: 1cqw; }
.blatt.leitsatz { background: radial-gradient(ellipse at 50% 40%, #22305a 0%, #141d3a 52%, #0a0f22 100%); }
.blatt.leitsatz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.blatt.leitsatz p { position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%); margin: 0; padding: 0 11cqw; text-align: center; color: #f7f1e4 !important; font-weight: 600; font-size: clamp(22px, 7cqw, 52px); line-height: 1.24; text-wrap: balance; }
.blatt.ende { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.6cqw; padding: 5cqw 9cqw; text-align: center; background: var(--paper); }
.blatt.ende > img { position: static; width: 37cqw; height: auto; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.blatt.ende p { margin: 0; font-size: clamp(14px, 3.3cqw, 22px); line-height: 1.42; color: var(--ink) !important; text-wrap: balance; }
.blatt.ende a { color: inherit; }
.ende-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.ende-knoepfe .btn { min-height: 44px; padding: 8px 14px; font-size: clamp(11px, 2.2cqw, 14px); border-color: var(--ink); background: var(--ink); color: var(--paper); }
.ende-knoepfe .btn.ghost { background: transparent; color: var(--ink); }
.ende-pdf { font-family: var(--f-mono); font-weight: 700; font-size: clamp(11px, 2.2cqw, 13px); letter-spacing: .04em; }
/* Bilderbuch: am PC Doppelseite, am Handy Seite für Seite. Das Blatt dreht sich um den Rücken. */
.buch-buehne { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) 58px; height: calc(100vh - var(--oben)); height: calc(100svh - var(--oben)); min-height: 400px; }
.buch-buehne[hidden] { display: none; }
.buch-platz { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.buch { --h: 500px; position: relative; display: flex; width: calc(var(--h) * 1.6); height: var(--h); perspective: 2400px; transition: transform .55s cubic-bezier(.3,.7,.2,1); cursor: pointer; }
.buch.einzeln { width: calc(var(--h) * .8); }
.buch.nur-rechts { transform: translateX(-25%); } .buch.nur-links { transform: translateX(25%); }
.buch-seite { position: relative; width: calc(var(--h) * .8); height: var(--h); box-shadow: 10px 10px 0 var(--orange); }
.buch-seite:empty { box-shadow: none; }
.buch-seite:empty::after { display: none; }
.buch-seite[hidden] { display: none; }
.buch-seite.rechts { z-index: 1; }
.buch-seite .blatt, .buch-blatt .blatt { width: 100%; height: 100%; }
.buch:not(.einzeln) .buch-seite.links::after, .buch:not(.einzeln) .buch-seite.rechts::after { content: ""; position: absolute; top: 0; bottom: 0; width: 9%; pointer-events: none; }
.buch-seite.links::after { right: 0; background: linear-gradient(to left, rgba(0,0,0,.26), transparent); }
.buch-seite.rechts::after { left: 0; background: linear-gradient(to right, rgba(0,0,0,.26), transparent); }
.buch-blatt { position: absolute; top: 0; z-index: 3; width: calc(var(--h) * .8); height: var(--h); transform-style: preserve-3d; will-change: transform; }
.buch-blatt[hidden] { display: none; }
.buch-blatt.vor { left: 50%; transform-origin: 0 50%; }
.buch-blatt.zurueck { left: 0; transform-origin: 100% 50%; }
.buch-blatt.einzeln { left: 0; transform-origin: 0 50%; }
.buch-blatt > div { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--paper); }
.buch-blatt .hinten { transform: rotateY(180deg); }
.buch-nav { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 52px; align-items: center; gap: 12px; width: min(100%, 720px); margin-inline: auto; padding-inline: 14px; }
.buch-pfeil { width: 48px; height: 44px; font-family: var(--f-pixel); font-size: 15px; color: var(--ink); background: var(--glow); border: 0; box-shadow: 4px 4px 0 var(--orange); cursor: pointer; }
.buch-pfeil:disabled { opacity: .3; cursor: default; box-shadow: none; }
.buch-pfeil:not(:disabled):hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--orange); }
.buch-weg { position: relative; height: 2px; margin-top: 14px; background: rgba(245,241,232,.3); }
.buch-weg i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s ease; }
.buch-weg span, .film-leiste span { position: absolute; left: 0; bottom: 1px; width: 12px; height: 20px; margin-left: -6px; image-rendering: pixelated; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' shape-rendering='crispEdges'%3E%3Cpath fill='%234B2620' d='M1 0h4v1h1v2H5V2H1v1H0V1h1z'/%3E%3Cpath fill='%239C4E35' d='M2 0h1v1H2z'/%3E%3Cpath fill='%23F6A960' d='M1 2h4v2H1z'/%3E%3Cpath fill='%23D4501C' d='M0 4h6v2H5v1H1V6H0z'/%3E%3Cpath fill='%23AC401B' d='M1 4h1v1H1zM4 4h1v1H4z'/%3E%3Cpath fill='%233A3F4D' d='M1 7h4v1H4v1H3V8H2v1H1z'/%3E%3Cpath fill='%23F3EADB' d='M1 9h1v1H1zM4 9h1v1H4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.buch-weg span { transition: left .5s ease; }
.buch-zahl { margin: 0; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .05em; color: var(--glow) !important; white-space: nowrap; }
/* Film: stehende Bühne wie der Prolog der Startseite */
.film { position: relative; width: 100%; height: calc(var(--szenen) * 112vh); color: var(--paper); background: var(--ink); }
.film.hell { color: var(--ink); }
.film.automatisch { height: calc(100vh - var(--oben)); height: calc(100svh - var(--oben)); }
.film-buehne { position: sticky; top: var(--oben); height: calc(100vh - var(--oben)); height: calc(100svh - var(--oben)); overflow: hidden; isolation: isolate; }
.film-bilder { position: absolute; inset: 0 0 auto 0; height: min(125vw, 66%); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
.film-bild { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; transform-origin: 50% 40%; will-change: opacity, transform; }
.film-himmel { position: absolute; inset: 0; display: block; width: 100%; height: 100%; background: radial-gradient(ellipse at 50% 40%, #22305a 0%, #141d3a 52%, #0a0f22 100%); will-change: opacity; }
.film-text { position: absolute; left: 0; right: 0; bottom: 0; top: min(118vw, 60%); z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 8px 22px 40px; pointer-events: none; }
.film.automatisch .film-text { padding-bottom: 78px; }
.film-text p { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 5.4vw, 25px); line-height: 1.38; text-wrap: pretty; color: inherit !important; }
.film-text p span { opacity: .14; }
.film-titel h1 { font-size: clamp(32px, 9vw, 46px); line-height: 1.04; letter-spacing: -.015em; margin: 0; }
.film-titel .unter { margin: 10px 0 0; font-style: italic; font-size: 18px; }
.film-titel .autor { margin: 4px 0 0; font-weight: 600; font-size: 16px; letter-spacing: .03em; }
.film-buehne[data-art="satz"] .film-text { top: 0; align-items: center; text-align: center; padding: 0 12%; }
.film-buehne[data-art="satz"] .film-text p { font-size: clamp(28px, 4.4vw, 54px); line-height: 1.2; }
.film-tipp { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; margin: 0; text-align: center; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: inherit !important; pointer-events: none; animation: filmTipp 1.8s ease-in-out infinite; }
@keyframes filmTipp { 50% { transform: translateY(5px); } }
.film-leiste { position: absolute; left: 22px; right: 22px; bottom: 12px; z-index: 2; height: 2px; background: rgba(128,128,128,.4); }
.film-leiste i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }
.film-knoepfe { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.film-knoepfe[hidden] { display: none; }
.film-knopf { min-width: 46px; min-height: 42px; padding: 6px 12px; font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: var(--glow); border: 0; box-shadow: 4px 4px 0 var(--orange); cursor: pointer; }
.film-knopf.gross { min-width: 112px; }
.film-ende { display: grid; justify-items: center; padding: 34px 16px 48px; }
.film-ende[hidden] { display: none; }
.film-ende .blatt { width: min(100%, 560px); box-shadow: 10px 10px 0 var(--orange); }
@media (orientation: landscape) and (min-width: 700px) {
  .film { height: calc(var(--szenen) * 124vh); --bild: min(62%, calc((100vh - var(--oben)) * .8 + 6vw)); }
  .film-bilder { inset: 0 auto 0 0; width: var(--bild); height: 100%; -webkit-mask-image: linear-gradient(to right, #000 76%, transparent 100%); mask-image: linear-gradient(to right, #000 76%, transparent 100%); }
  .film-bild { object-position: 50% 50%; transform-origin: 40% 50%; }
  .film-text { inset: 0 0 0 var(--bild); padding: 40px clamp(28px, 6vw, 110px) 40px clamp(20px, 2.4vw, 44px); }
  .film-text p { font-size: clamp(25px, 2.5vw, 38px); line-height: 1.34; }
  .film-titel h1 { font-size: clamp(40px, 4.4vw, 68px); }
  .film-titel .unter { font-size: clamp(19px, 1.7vw, 24px); }
  .film-buehne[data-art="satz"] .film-text { left: 0; padding: 0 12%; }
  .film-tipp, .film-knoepfe { left: var(--bild); right: 0; }
}

/* ---------- Buch-Design V12 (01.11.2026): Fließtext in Source Sans ---------- */
.artikel p, .artikel li { font-size: clamp(18px, 1.55vw, 20.5px); }
.artikel, .artikel-raster > .hilfe-kasten, .inhalt-nav { max-width: 33em; }
@media (min-width: 1000px) { .artikel-raster { grid-template-columns: minmax(0, 33em) minmax(200px, 250px); } }

/* ====================== Ergänzungen vom 14.11.2026 (seiten_zusatz.mjs) ====================== */
/* Zum Inhalt springen: erster Halt der Tastatur, zu sehen erst mit Fokus */
.sprung { position: absolute; left: 12px; top: -90px; z-index: 100; padding: 12px 16px; background: var(--glow); color: var(--ink); font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none; box-shadow: 4px 4px 0 var(--orange); }
.sprung:focus { top: 8px; }
main:focus { outline: none; }

/* Kopfzeile: Buch-Knopf (immer zu sehen) und am Handy das Menü */
.hud nav { margin-left: auto; }
.hud-buch { flex: none; position: relative; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; background: var(--orange-2); color: var(--paper); text-decoration: none; text-transform: uppercase;
  white-space: nowrap; box-shadow: 3px 3px 0 var(--paper); transition: transform .12s ease, box-shadow .12s ease; }
.hud-buch::after { content: ""; position: absolute; inset: -9px -5px; }   /* Tippfläche 46 px hoch */
.hud-buch:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--paper); }
.hud-buch:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--paper); }
.hud-buch[aria-current="page"] { background: var(--glow); color: var(--ink); box-shadow: 3px 3px 0 var(--orange); }
.hud-menue { display: none; }
@media (max-width: 760px) {
  .hud { gap: 12px; }
  .hud .lvl { visibility: hidden; }
  html.js .hud-menue { display: inline-flex; align-items: center; gap: 9px; height: 44px; margin-right: -6px; padding: 0 6px; background: none; border: 0; border-radius: 0; color: var(--paper);
    font: inherit; letter-spacing: inherit; text-transform: uppercase; cursor: pointer; }
  html.js .hud-menue span { width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  html.js .hud.offen .hud-menue { color: var(--glow); }
  html.js .hud nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; margin: 0; padding: 2px var(--gutter) 18px; background: var(--ink);
    border-bottom: 3px solid var(--orange); box-shadow: 0 26px 44px rgba(0, 0, 0, .45); max-height: calc(100vh - var(--hud-h)); overflow-y: auto; }
  html.js .hud.offen nav { display: flex; }
  html.js .hud nav a { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 2px; font-size: 14px; letter-spacing: .06em; border-bottom: 2px dashed var(--ink-3); }
  html.js .hud nav a::after { content: ""; width: 0; height: 0; border-left: 8px solid var(--orange-3); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
  html.js .hud nav a:hover, html.js .hud nav a[aria-current="page"] { background: none; color: var(--glow); }
  html.js .hud nav a[aria-current="page"]::after { border-left-color: var(--glow); }
  /* ohne Skript: die Bereiche als Leiste zum Wischen */
  html:not(.js) .hud .lvl { display: none; }
  html:not(.js) .hud nav { flex: 1; min-width: 0; overflow-x: auto; }
}
@media (max-width: 360px) { .hud { gap: 8px; } .hud-buch { padding: 0 9px; } }

/* Seitenende: Weitergeben und der Buch-Kasten */
.seiten-ende { padding-block: clamp(36px, 5vw, 64px); border-top: 3px solid var(--ink); }
.seiten-ende .wrap { display: grid; gap: clamp(24px, 3vw, 34px); justify-items: start; }
.weitergeben { display: none; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
html.js .weitergeben { display: flex; }
.wg-titel { font-family: var(--f-pixel); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); margin-right: 4px; }
.wg-knopf { font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer; border-radius: 0; transition: background-color .12s ease, color .12s ease; }
.wg-knopf:hover { background: var(--ink); color: var(--paper); }
.wg-meldung { font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--ink-3); overflow-wrap: anywhere; }
.buch-kasten { width: min(100%, 780px); display: grid; grid-template-columns: clamp(84px, 14vw, 132px) minmax(0, 1fr); gap: clamp(16px, 3vw, 34px); align-items: center; padding: clamp(14px, 2vw, 22px);
  border: 3px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; box-shadow: 8px 8px 0 var(--orange); transition: transform .15s ease, box-shadow .15s ease; }
.buch-kasten img { display: block; width: 100%; height: auto; border: 2px solid var(--paper); }
.bk-text { display: grid; gap: 7px; min-width: 0; justify-items: start; }
.bk-tl { font-family: var(--f-pixel); font-size: 12px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: var(--glow); }
.bk-titel { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 4.4vw, 46px); line-height: 1; letter-spacing: -.02em; }
.bk-unter { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.35; color: #E6DFD0; }
.bk-fakten { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted-d); }
.bk-knopf { margin-top: 8px; display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 14px; background: var(--glow); color: var(--ink); font-family: var(--f-pixel); font-size: 13px;
  letter-spacing: .05em; text-transform: uppercase; box-shadow: 3px 3px 0 var(--orange); }
@media (hover: hover) { .buch-kasten:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--orange); } .buch-kasten:hover .bk-knopf { background: var(--paper); } }
.buch-kasten:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
@media (max-width: 420px) { .buch-kasten { width: calc(100% - 8px); } }

/* Artikel-Karten: ein langes Wort im Titel (z. B. „Weihnachtsstress“) bleibt in seiner Spalte statt unter das Bild zu laufen; --wort = Breite des längsten Worts in em (seiten_build.mjs) */
@supports (container-type: inline-size) {
  .artikel-karte > div:first-child { container-type: inline-size; }
  .artikel-karte .titel { font-size: min(clamp(38px, 5vw, 64px), calc(100cqi / (var(--wort, 4) + .1))); }
  @media (max-width: 640px) { .artikel-karte .titel { font-size: min(30px, calc(100cqi / (var(--wort, 4) + .1))); } }
}

/* Fußzeile: die Links am Handy mit Abstand, damit der Finger sie trifft */
@media (max-width: 760px) { footer .fine a { display: inline-block; padding: 10px 2px; } }

/* ---------- Die Buch-Seite /buch/ ---------- */
.buch-kopf { padding-bottom: clamp(48px, 7vw, 96px); }
.buch-kopf .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }
.buch-kopf h1 { margin-top: 16px; }
.buch-kopf .unter { margin-top: 16px; }
.bk-hook { margin-top: 20px; max-width: 30em; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; text-wrap: pretty; }
.bk-preis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 26px; font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--ink-3); }
.bk-preis b { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 3.8vw, 46px); line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.bk-preis span + span::before { content: "·"; margin-right: 16px; color: var(--orange-2); }
@media (max-width: 480px) { .bk-preis span:last-child { flex-basis: 100%; } .bk-preis span:last-child::before { content: none; } }
.bk-handeln { margin-top: 26px; max-width: 560px; padding: 20px 22px 18px; border: 3px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--orange); scroll-margin-top: calc(var(--hud-h) + 20px); }
.bk-form-tl { font-family: var(--f-pixel); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
.bk-klein { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.bk-kauf { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 14px; }
.vormerken .v-lead { margin: 8px 0 16px; font-size: 17px; line-height: 1.5; }
.vormerken .v-reihe { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: stretch; }
.vormerken input[type=email] { flex: 1 1 220px; min-width: 0; min-height: 48px; font-family: var(--f-mono); font-size: 17px; padding: 10px 12px; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 0; }
.vormerken input[type=email]:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.vormerken .v-ok { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--ink-3); cursor: pointer; }
.vormerken .v-ok input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange-2); }
.vormerken .v-ok a { color: inherit; text-decoration-color: var(--orange-2); text-underline-offset: 3px; }
.vormerken .v-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vormerken .v-msg { min-height: 1.5em; margin: 12px 0 0; font-size: 16px; line-height: 1.45; }
.vormerken .v-msg.ok { color: #2F6E46; font-weight: 600; }
.vormerken .v-msg.fehler { color: var(--orange-2); font-weight: 600; }
.vormerken.busy .btn { opacity: .6; pointer-events: none; }
.bk-cover { justify-self: center; width: min(360px, 74vw); margin-top: clamp(8px, 5vw, 72px); }
/* am Handy das Cover gleich unter den Titel (vor Text, Preis und Formular): die linke Spalte löst sich auf, ihre Teile ordnen sich der Reihe nach */
@media (max-width: 860px) {
  .buch-kopf .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .buch-kopf .wrap > div { display: contents; }
  .buch-kopf .krumen, .buch-kopf .lvl-tag, .buch-kopf h1, .buch-kopf .unter { order: 1; }
  .buch-kopf .lvl-tag { justify-self: start; }
  .bk-cover { order: 2; justify-self: start; width: min(230px, 58vw); margin-top: 28px; margin-bottom: 6px; }
  .bk-hook, .bk-preis, .bk-handeln { order: 3; }
  .bk-handeln { width: calc(100% - 8px); }
}
.buch-worum .lead + .lead { margin-top: 16px; }
.buch-worum .facts-book { border-color: var(--paper); margin-top: clamp(32px, 4vw, 48px); }
.buch-worum .facts-book div + div { border-left-color: var(--ink-3); }
.buch-worum .facts-book span { color: var(--glow); }
.buch-fakten .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.bk-dl { margin: clamp(22px, 3vw, 32px) 0 0; border-top: 3px solid var(--ink); }
.bk-dl div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 2px solid var(--line); }
.bk-dl dt { font-family: var(--f-pixel); font-size: 12px; line-height: 1.7; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
.bk-dl dd { margin: 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.bk-h2-klein { font-size: clamp(26px, 3vw, 36px); }
.bk-wege { list-style: none; margin: clamp(22px, 3vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.bk-wege a { display: block; height: 100%; padding: 13px 15px 15px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 700;
  font-size: 18px; line-height: 1.25; box-shadow: 5px 5px 0 var(--orange); transition: transform .15s ease, box-shadow .15s ease; }
.bk-wege a span { display: block; margin-bottom: 6px; font-family: var(--f-pixel); font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }
@media (hover: hover) { .bk-wege a:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--orange); } }
@media (max-width: 860px) { .buch-fakten .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .bk-dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .bk-wege { grid-template-columns: minmax(0, 1fr); } .bk-wege a { width: calc(100% - 6px); } }
.buch-leseprobe { border-top: 3px solid var(--ink); scroll-margin-top: var(--hud-h); }
.buch-leseprobe h2 { margin-top: 16px; }
.bk-lesen { margin-top: clamp(22px, 3vw, 32px); max-width: 34em; }
.bk-lesen p { font-size: clamp(18px, 1.55vw, 20.5px); line-height: 1.65; text-wrap: pretty; }
.bk-lesen p + p, .bk-mehr > p:first-of-type { margin-top: 16px; }
.bk-mehr { margin-top: 20px; }
.bk-mehr summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 2px solid var(--ink); font-family: var(--f-pixel); font-size: 13px; letter-spacing: .05em;
  text-transform: uppercase; cursor: pointer; list-style: none; }
.bk-mehr summary::-webkit-details-marker { display: none; }
.bk-mehr summary:hover { background: var(--ink); color: var(--paper); }
.bk-mehr[open] summary { display: none; }
@media (prefers-reduced-motion: reduce) { .hud-buch, .buch-kasten, .bk-wege a, .wg-knopf { transition: none; } }

/* ---------- Druckansicht (seit 14.11.2026): eine Übung oder ein Artikel als sauberes Blatt ---------- */
.nur-druck { display: none; }
@media print {
  @page { margin: 15mm 15mm 17mm; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; overflow: visible; }
  .hud, .sprung, .seiten-ende, .weiter, .folgen, footer .fine, video, .actions, .probieren, .krumen, .spielen, .inhalt-nav, .lesefortschritt, .mehr-thema, .cover.klein, .btn, .gegenstand, .tipp, .inventar,
  .film-inv, .hilft, .ueb-hinweis, .phone, .quellen-klapp summary::after { display: none !important; }
  .band { padding-inline: 0; }
  .band, .screen, .paper, footer { background: #fff !important; color: #000 !important; border-color: #000 !important; }
  .screen p, .screen .lead, .screen li, .screen h1, .screen h2, .screen h3, .screen .unter, .screen .stand, .screen .lvl-tag, .schritte li, .schritte b, .schritte strong, .heute .ueb-hinweis, footer p, footer .nums, footer .nums b, footer .fuss-titel,
  .artikel p, .artikel li, .lead, .muted, .quelle, .fakten span, .zitat cite { color: #000 !important; }
  .abschnitt, .kap-kopf, .trailer-kopf, .ueber-kopf, .seiten-ende { padding-block: 5mm 3mm; border-top: 0; }
  h1, .kap-kopf h1, .uebung-kopf h1, .thema-kopf h1, .artikel-kopf h1, .ueber-kopf h1 { font-size: 26pt !important; line-height: 1.02; margin-top: 3mm; }
  h2 { font-size: 16pt !important; break-after: avoid; }
  h3 { font-size: 12.5pt !important; break-after: avoid; }
  .unter { font-size: 13pt; margin-top: 3mm; }
  .lead, .artikel p, .artikel li, .schritte li, .bk-lesen p { font-size: 11pt !important; line-height: 1.45; }
  .abschnitt .lead, .uebung-kopf .lead { margin-top: 3mm; }
  .kap-kopf .wrap, .trailer-kopf .wrap { grid-template-columns: minmax(0, 1fr) 40mm; gap: 8mm; align-items: start; }
  .szene, .szene.hoch { width: 40mm; margin: 0; border: 1pt solid #000; box-shadow: none; }
  .szene img, .artikel .bild-im-text img, .cover img { box-shadow: none !important; }
  .szene, .artikel .bild-im-text, .artikel .bild-im-text img { background: none !important; }
  .lvl-tag .n, .schritte li::before { background: #000 !important; color: #fff !important; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .schritte { margin-top: 4mm; border-color: #999; }
  .schritte li { padding: 3mm 0; border-color: #999; break-inside: avoid; }
  .schritte b { font-size: 12.5pt; }
  .fakten { margin-top: 5mm; grid-template-columns: repeat(3, minmax(0, 1fr)); border-color: #000; }
  .fakten div { padding: 3mm 3mm 3mm 0; }
  .fakten div + div { border-top: 0; border-left: 1pt solid #999; padding-left: 3mm; }
  .fakten strong { font-size: 18pt; }
  .fakten span { font-size: 10pt; margin-top: 2mm; }
  .vorsicht p, .hilfe-kasten p, .quelle { font-size: 10.5pt !important; line-height: 1.45; }
  .zwischen { margin-top: 6mm; }
  .fakten, .vorsicht, .hilfe-kasten, .zitat, .artikel blockquote, .artikel .notruf, .artikel p.merksatz, .artikel ol.kacheln > li { break-inside: avoid; }
  .vorsicht, .hilfe-kasten, .artikel .notruf { box-shadow: none !important; background: #fff !important; border: 1pt solid #000 !important; margin-top: 5mm; padding: 4mm; }
  a { color: #000; text-decoration: none; }
  .artikel a, .quellen-text a { text-decoration: underline; }
  details > * { display: revert; }
  footer { padding-block: 4mm 0; border-top: 1pt solid #000; font-size: 9.5pt; break-inside: avoid; }
  footer .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 6mm; }
  footer .nums { font-size: 9pt; line-height: 1.6; }
  .nur-druck { display: block; }
  .druck-fuss { margin: 6mm 0 0; padding-inline: 0; font-family: var(--f-mono); font-size: 8.5pt; color: #000; }
}
