/* ══════════════════════════════════════════════════════════════════════
   Linux-Abos.com · Theme „Pinguin-Welt“ (aus Mockup 1 „Pinguin-Welt im Tageslicht“)
   Hell, warm, Miniatur-Dioramen. Gegenvariante: Polarnacht (data-thema).
   Schriften: Bricolage Grotesque, Source Sans 3, Red Hat Mono (SIL OFL 1.1, Lizenzen in assets/fonts/).
   ══════════════════════════════════════════════════════════════════════ */

/* ── Schriften (lokal, OFL) ───────────────────────────────────────────── */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque/bricolage-grotesque-latin-standard-normal.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3/source-sans-3-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3/source-sans-3-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3/source-sans-3-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3/source-sans-3-latin-ext-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Red Hat Mono"; src: url("../fonts/red-hat-mono/red-hat-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Red Hat Mono"; src: url("../fonts/red-hat-mono/red-hat-mono-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Werte ────────────────────────────────────────────────────────────── */
:root {
  --f-anzeige: "Bricolage Grotesque", "Mona Sans", "Segoe UI Variable Display", system-ui, sans-serif;
  --f-text: "Source Sans 3", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Red Hat Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Tageslicht */
  --eis: #e9f1f4;          /* Seitengrund: Tageslicht auf Schnee */
  --eis-2: #dbe7ed;
  --schnee: #fbfdfd;       /* Flächen */
  --tinte: #13283a;        /* Text, Polartinte */
  --tinte-2: #3a5266;
  --tinte-3: #52687a;
  --linie: #c6d6df;
  --linie-zart: #dde8ee;
  --petrol: #0b5f69;       /* Schal: Links, Fokus */
  --petrol-hell: #127480;
  --schnabel: #f39a1e;     /* Schnabel: Akzentflächen */
  --schnabel-tief: #9a5200;
  --karton: #d9bb92;       /* Kraftpapier: Etiketten */
  --karton-hell: #eedfc6;
  --karton-tinte: #4a3520;
  --birke: #e6d3b3;        /* Diorama-Sockel */
  --birke-hell: #f2e6d2;
  --birke-kante: #bf9f73;
  --polar: #10233a;        /* tiefe Felder */
  --polar-2: #183454;
  --auf-polar: #eef4f7;
  --auf-polar-2: #b9cad6;
  --bild-filter: none;
  --schatten-1: 0 1px 2px rgb(19 40 58 / .06), 0 6px 14px -8px rgb(19 40 58 / .18);
  --schatten-2: 0 2px 4px rgb(19 40 58 / .06), 0 18px 36px -18px rgb(19 40 58 / .32);
  --schatten-3: 0 3px 8px rgb(19 40 58 / .08), 0 34px 70px -30px rgb(19 40 58 / .45);
  --r-1: .45rem; --r-2: .9rem; --r-3: 1.4rem;
  --rand: clamp(1rem, 3.2vw, 3rem);
  color-scheme: light;
}
[data-thema="polarnacht"] {
  --eis: #0a1520;
  --eis-2: #0f1f2e;
  --schnee: #12253a;
  --tinte: #e7eff4;
  --tinte-2: #b7c8d4;
  --tinte-3: #98adbd;
  --linie: #26425c;
  --linie-zart: #1a3249;
  --petrol: #73d3d6;
  --petrol-hell: #9ce3e5;
  --schnabel: #f6a53a;
  --schnabel-tief: #f7b85f;
  --karton: #5a4630;
  --karton-hell: #2c241b;
  --karton-tinte: #f0d6ad;
  --birke: #2a231b;
  --birke-hell: #1f1a15;
  --birke-kante: #4d3e2c;
  --polar: #050d16;
  --polar-2: #0d1d2e;
  --bild-filter: brightness(.74) saturate(.92) hue-rotate(-4deg);
  --schatten-1: 0 1px 2px rgb(0 0 0 / .3), 0 6px 14px -8px rgb(0 0 0 / .5);
  --schatten-2: 0 2px 4px rgb(0 0 0 / .3), 0 18px 36px -18px rgb(0 0 0 / .65);
  --schatten-3: 0 3px 8px rgb(0 0 0 / .35), 0 34px 70px -30px rgb(0 0 0 / .75);
  color-scheme: dark;
}

/* ── Grundlagen ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
/* 4K: oberhalb 1920 px wächst alles proportional mit (1920 → 16 px, 3840 → 32 px) */
html { font-size: clamp(16px, .8333vw, 32px); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem;
  scrollbar-color: color-mix(in srgb, var(--tinte-3) 60%, transparent) var(--eis-2); }
body { margin: 0; background: var(--eis); color: var(--tinte); font: 400 1.0625rem/1.6 var(--f-text); font-kerning: normal;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; transition: background-color .4s ease, color .4s ease; }
img, picture, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--petrol); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--tinte); }
h1, h2, h3, h4 { font-family: var(--f-anzeige); font-optical-sizing: auto; color: var(--tinte); text-wrap: balance; margin: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--schnabel); color: #13283a; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: .3rem; }
kbd { display: inline-block; min-width: 1.5em; padding: .1em .38em .16em; font: 600 .74em/1.2 var(--f-mono); color: var(--tinte-2); text-align: center;
  background: var(--schnee); border: 1px solid var(--linie); border-bottom-width: 2px; border-radius: .32em; }
code { font-family: var(--f-mono); font-size: .9em; }
button { font: inherit; color: inherit; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.breite { width: min(100% - 2 * var(--rand), 108rem); margin-inline: auto; }
.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1.1rem; background: var(--tinte); color: var(--eis); border-radius: var(--r-1); font-weight: 600; }
.sprung:focus { top: 1rem; }
.sprung:hover { color: var(--eis); }

/* Pins (Emaille-Anstecker) */
.pin { flex: none; filter: drop-shadow(0 1px 1px rgb(19 40 58 / .22)) drop-shadow(0 4px 6px rgb(19 40 58 / .14)); }
.pin--mini { filter: drop-shadow(0 1px 1px rgb(19 40 58 / .25)); }
.pin--gross { filter: drop-shadow(0 3px 2px rgb(19 40 58 / .25)) drop-shadow(0 14px 18px rgb(19 40 58 / .22)); }

/* Etikett: Pfade und Befehle als Kraftpapier-Anhänger */
.etikett { position: relative; display: inline-flex; align-items: center; gap: .1rem; padding: .32rem .7rem .34rem 1.35rem; font: 500 .78rem/1.2 var(--f-mono);
  color: var(--karton-tinte); background: var(--karton-hell); border-radius: .2rem .45rem .45rem .2rem; white-space: nowrap;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--karton-tinte) 14%, transparent), 0 1px 2px rgb(19 40 58 / .08); }
.etikett::before { content: ""; position: absolute; left: .5rem; top: 50%; width: .4rem; height: .4rem; margin-top: -.2rem; border-radius: 50%;
  background: var(--eis); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--karton-tinte) 35%, transparent); }
.etikett--gross { font-size: 1rem; padding: .5rem 1rem .52rem 1.7rem; }
.etikett--gross::before { left: .65rem; width: .5rem; height: .5rem; margin-top: -.25rem; }
.prompt { color: var(--schnabel-tief); font-weight: 600; margin-right: .6ch; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1.15rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 650 .98rem/1.1 var(--f-text); text-decoration: none; color: #13283a; background: var(--schnabel);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), inset 0 -2px 0 rgb(120 60 0 / .28), 0 6px 14px -8px rgb(19 40 58 / .45); transition: transform .2s ease, box-shadow .2s ease; }
.knopf:hover { color: #13283a; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), inset 0 -2px 0 rgb(120 60 0 / .28), 0 10px 20px -10px rgb(19 40 58 / .55); }
.knopf:active { transform: translateY(1px); box-shadow: inset 0 2px 3px rgb(120 60 0 / .3); }
.knopf--leise { background: var(--eis-2); color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie); }
.knopf--leise:hover { color: var(--tinte); box-shadow: inset 0 0 0 1px var(--tinte-3); }
.knopf--hell { background: var(--schnabel); }

/* ── Kopf ─────────────────────────────────────────────────────────────── */
.kopf { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--schnee) 96%, transparent); border-bottom: 1px solid var(--linie-zart);
  transition: box-shadow .3s ease, background-color .4s ease; }
.kopf.ist-gerollt { box-shadow: 0 8px 24px -18px rgb(19 40 58 / .5); }
.kopf__leiste { display: flex; align-items: center; gap: 1.6rem; min-height: 4.1rem; }
.marke { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--tinte); }
.marke__zeichen { width: 2.75rem; height: 2.75rem; filter: drop-shadow(0 2px 2px rgb(19 40 58 / .18)); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.marke:hover .marke__zeichen { transform: rotate(-10deg) scale(1.05); }
.marke__name { font: 800 1.5rem/1 var(--f-anzeige); font-stretch: 88%; letter-spacing: -.02em; }
.marke__name span { font-weight: 500; color: var(--tinte-3); }
.kopf__claim { margin: 0; padding-left: 1.4rem; border-left: 1px solid var(--linie); font-size: .95rem; color: var(--tinte-2); }
.kopf__werkzeuge { margin-left: auto; display: flex; align-items: center; gap: .7rem; }
.suchknopf { display: inline-flex; align-items: center; gap: .6rem; min-width: 20rem; padding: .42rem .5rem .42rem .55rem; cursor: pointer; text-align: left;
  background: var(--eis); border: 1px solid var(--linie); border-radius: 999px; color: var(--tinte-3); transition: border-color .2s, box-shadow .2s; }
.suchknopf:hover { border-color: var(--tinte-3); box-shadow: var(--schatten-1); }
.suchknopf__text { flex: 1; font-size: .95rem; }
.tasten { display: inline-flex; gap: .2rem; }
.themaknopf { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .9rem .42rem .5rem; cursor: pointer; border: 1px solid var(--linie);
  border-radius: 999px; background: var(--schnee); color: var(--tinte); font-weight: 600; font-size: .95rem; }
.themaknopf:hover { box-shadow: var(--schatten-1); }
.themaknopf .pin { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.themaknopf:hover .pin { transform: rotate(-18deg); }
.thema-sonne { display: none; }
[data-thema="polarnacht"] .thema-mond { display: none; }
[data-thema="polarnacht"] .thema-sonne { display: block; }

/* Lesestand im Stil eines Paketmanagers */
.lesestand { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.lesestand__balken { height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--stand, 0));
  background: linear-gradient(90deg, var(--petrol), var(--petrol-hell) 70%, var(--schnabel)); }
.lesestand__zahl { position: absolute; right: var(--rand); top: .5rem; padding: .18rem .45rem; font: 600 .72rem/1 var(--f-mono); white-space: pre;
  color: var(--karton-tinte); background: var(--karton-hell); border-radius: .25rem; box-shadow: var(--schatten-1); opacity: 0; transition: opacity .3s; }
.lesestand.ist-aktiv .lesestand__zahl { opacity: 1; }

/* Rubrikleiste mit Emaille-Pins */
.rubrikleiste { position: relative; z-index: 30; background: var(--eis); border-bottom: 1px solid var(--linie-zart); }
.rubrikleiste ul { display: flex; justify-content: space-between; gap: .2rem; margin-block: 0; padding: .45rem 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.rubrikleiste a { display: flex; align-items: center; gap: .5rem; padding: .32rem .75rem .32rem .35rem; border-radius: 999px; white-space: nowrap;
  color: var(--tinte); text-decoration: none; font: 600 .98rem/1.1 var(--f-text); transition: background-color .2s, box-shadow .2s; }
.rubrikleiste .pin { width: 2.1rem; height: 2.1rem; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.rubrikleiste a:hover { background: var(--schnee); box-shadow: var(--schatten-1); }
.rubrikleiste a:hover .pin { transform: translateY(-2px) rotate(-9deg); }
.rubrikleiste a[aria-current] { background: var(--schnee); box-shadow: var(--schatten-1), inset 0 -2px 0 var(--schnabel); }
.rubrikleiste .unter a { font-weight: 500; color: var(--tinte-2); }

/* ── Meta, Tags ───────────────────────────────────────────────────────── */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .85rem; margin: .55rem 0 0; font-size: .88rem; color: var(--tinte-3); }
.ver { font: 500 .74rem/1 var(--f-mono); color: var(--tinte-3); padding: .18rem .35rem; border-radius: .25rem; background: var(--eis-2); }
.lz::before { content: ""; display: inline-block; width: .32rem; height: .32rem; margin: 0 .55rem .15rem 0; border-radius: 50%; background: var(--linie); }
.rtag { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--tinte-2); text-decoration: none; }
a.rtag { padding: .2rem .65rem .2rem .25rem; border-radius: 999px; background: var(--schnee); box-shadow: inset 0 0 0 1px var(--linie); }
a.rtag:hover { color: var(--tinte); box-shadow: inset 0 0 0 1px var(--tinte-3); }
.rtag .pin { width: 1.4rem; height: 1.4rem; }

/* ── Kartenfamilien ───────────────────────────────────────────────────── */
.karte { position: relative; }
.karte__rahmen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-2); background: var(--eis-2); box-shadow: var(--schatten-1); }
.karte__rahmen img, .karte__bild { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .4s; filter: var(--bild-filter); }
.karte__bild--leer { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--eis-2) 0 .6rem, var(--eis) .6rem 1.2rem); }
.karte__bild--leer .pin { width: 4rem; height: 4rem; }
.karte:hover .karte__rahmen img { transform: scale(1.035); }
.karte__titel { font-weight: 680; font-size: 1.22rem; line-height: 1.2; letter-spacing: -.01em; }
.karte__titel a { color: var(--tinte); text-decoration: none; }
.karte__titel a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-2); }
.karte__titel a:hover, .karte:hover .karte__titel a { color: var(--petrol); }
.karte__titel a:focus-visible { outline: none; }
.karte:has(.karte__titel a:focus-visible) { outline: 3px solid var(--petrol); outline-offset: 6px; border-radius: var(--r-2); }
.karte__auszug { margin: .7rem 0 0; color: var(--tinte-2); font-size: 1.02rem; }
.karte--kasten .karte__text { padding: .9rem .15rem 0; }
.karte--vitrine .karte__titel { font-size: 1.95rem; font-weight: 720; line-height: 1.1; letter-spacing: -.02em; margin-top: 1.1rem; }
.karte--zeile { display: grid; grid-template-columns: 7.5rem 1fr; gap: .95rem; align-items: center; }
.karte--zeile .karte__bild { aspect-ratio: 16 / 10; height: auto; border-radius: var(--r-1); box-shadow: var(--schatten-1); }
.karte--zeile .karte__titel { font-size: 1.02rem; font-weight: 650; }
.karte--zeile .meta { font-size: .8rem; margin-top: .3rem; }

/* ── Bühne (Startseite) ───────────────────────────────────────────────── */
.buehne { position: relative; }
.buehne__welt { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #cfe0e8; }
.buehne__bild, .buehne__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.buehne__bild img { object-fit: cover; will-change: transform; filter: var(--bild-filter); transform-origin: 64% 60%; }
.buehne__welt::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 72%, color-mix(in srgb, var(--eis) 55%, transparent) 100%); }
.buehne__staub { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.buehne__text { position: absolute; inset: 0; pointer-events: none; padding-top: clamp(2rem, 6.2%, 6rem); }
.buehne__text { --spalte: min(35rem, calc(34vw - max(var(--rand), (100vw - 108rem) / 2))); }
.buehne__text > * { pointer-events: auto; max-width: var(--spalte); }
/* Dachzeile in H1 (übernimmt die H1 des alten Themes sichtbar) */
.dach { display: block; margin: 0 0 .8rem; font: 600 .86rem/1.35 var(--f-mono); font-stretch: 100%; letter-spacing: .01em; color: var(--petrol); text-shadow: none; text-wrap: balance; }
.buehne .dach { color: #0b5f69; }
.buehne h1 { font-size: clamp(2.5rem, 3.4vw, 3.55rem); font-weight: 780; font-stretch: 86%; line-height: 1.02; letter-spacing: -.03em; color: #102236;
  text-shadow: 0 1px 0 rgb(255 255 255 / .35); }
.buehne__unter { margin: 1.1rem 0 1.2rem; font-size: 1.15rem; line-height: 1.5; color: #223a4f; max-width: min(31rem, var(--spalte)); }
.buehne__befehl { margin: 0 0 1.25rem; }
.apt { display: inline-block; padding: .75rem 1rem .85rem; border-radius: var(--r-1); background: rgb(251 253 253 / .78); box-shadow: var(--schatten-1);
  font: 500 .8rem/1.55 var(--f-mono); color: #2c4458; max-width: 31rem; }
.apt__zeile { margin: 0; }
.apt__zeile strong { color: #0b5f69; font-weight: 700; }
.apt__balken { position: relative; height: .55rem; margin-top: .5rem; border-radius: .2rem; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgb(19 40 58 / .1) 0 .45rem, transparent .45rem .6rem); }
.apt__balken span { position: absolute; inset: 0; transform-origin: 0 50%;
  background: repeating-linear-gradient(90deg, #0b5f69 0 .45rem, transparent .45rem .6rem); animation: apt-laden 1.8s cubic-bezier(.3, .1, .2, 1) .3s both; }
@keyframes apt-laden { from { transform: scaleX(.04); } to { transform: scaleX(1); } }

/* Erkundungspunkte im Diorama */
.erkunden { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.erkunden li { position: absolute; left: var(--x); top: var(--y); }
.erkunden__punkt { position: absolute; left: -1.1rem; top: -1.1rem; display: block; width: 2.2rem; height: 2.2rem; border-radius: 50%; text-decoration: none;
  background: radial-gradient(circle, var(--schnabel) 0 .32rem, rgb(255 255 255 / .92) .34rem .5rem, rgb(255 255 255 / .28) .52rem);
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / .9), 0 4px 10px rgb(19 40 58 / .35); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.erkunden__punkt::before { content: ""; position: absolute; inset: -.35rem; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .85); opacity: 0; animation: puls 2.4s ease-out var(--v, 0s) 2; }
.erkunden li:nth-child(2) { --v: .3s; } .erkunden li:nth-child(3) { --v: .6s; } .erkunden li:nth-child(4) { --v: .9s; } .erkunden li:nth-child(5) { --v: 1.2s; } .erkunden li:nth-child(6) { --v: 1.5s; }
@keyframes puls { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.erkunden__punkt:hover, .erkunden__punkt:focus-visible { transform: scale(1.15); }
.erkunden__schild { position: absolute; left: 50%; bottom: calc(100% + .7rem); display: flex; align-items: center; gap: .6rem; padding: .5rem .95rem .55rem .55rem;
  white-space: nowrap; border-radius: .35rem .7rem .7rem .35rem; background: var(--karton-hell); color: var(--karton-tinte); box-shadow: var(--schatten-2);
  opacity: 0; transform: translate(-50%, .4rem); pointer-events: none; transition: opacity .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
.erkunden__schild strong { display: block; font: 700 1rem/1.15 var(--f-anzeige); }
.erkunden__schild small { display: block; font: 500 .78rem/1.2 var(--f-mono); opacity: .85; }
/* Schild immer so breit wie sein Inhalt (sonst drückt Chrome den Text im Flex-Container zusammen und er läuft über den Rand) */
.erkunden__schild { width: max-content; }
.erkunden__schild > * { flex: none; }
.erkunden__punkt:hover .erkunden__schild, .erkunden__punkt:focus-visible .erkunden__schild { opacity: 1; transform: translate(-50%, 0); }
/* Rechte Punkte (Klasse nach-links aus front-page.php) öffnen ihr Schild nach oben links – nie über den Bildrand */
.erkunden li.nach-links .erkunden__schild { left: auto; right: -1rem; transform: translate(0, .4rem); }
.erkunden li.nach-links .erkunden__punkt:hover .erkunden__schild, .erkunden li.nach-links .erkunden__punkt:focus-visible .erkunden__schild { transform: translate(0, 0); }

/* Linke Punkte (Klasse nach-rechts, vor dem Text) öffnen ihr Schild nach rechts – nie über die Überschrift */
.erkunden li.nach-rechts .erkunden__schild { left: calc(100% + .6rem); bottom: auto; top: 50%; transform: translate(-.4rem, -50%); }
.erkunden li.nach-rechts .erkunden__punkt:hover .erkunden__schild, .erkunden li.nach-rechts .erkunden__punkt:focus-visible .erkunden__schild { transform: translate(0, -50%); }
.erkunden li:hover, .erkunden li:focus-within { z-index: 2; }

/* Titelgeschichte überlappt die Bühne */
.titelgeschichte { position: relative; z-index: 3; margin-top: clamp(-11rem, -8vw, -5rem); }
.titelgeschichte__karte { position: relative; display: grid; grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); gap: 2rem; align-items: center; max-width: 72rem;
  padding: 1rem 2.2rem 1rem 1rem; border-radius: var(--r-3); background: var(--schnee); box-shadow: var(--schatten-3); }
.titelgeschichte__bild { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: calc(var(--r-3) - .5rem); }
.titelgeschichte__bild img { width: 100%; height: 100%; object-fit: cover; filter: var(--bild-filter); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.titelgeschichte__karte:hover .titelgeschichte__bild img { transform: scale(1.03); }
.titelgeschichte__marke { position: absolute; left: 1.9rem; top: -.75rem; margin: 0; padding: .3rem .8rem .32rem; border-radius: .3rem; transform: rotate(-2.5deg);
  font: 700 .82rem/1.2 var(--f-anzeige); letter-spacing: .01em; color: #13283a; background: var(--schnabel); box-shadow: 0 4px 10px -5px rgb(19 40 58 / .5); }
.titelgeschichte__titel { font-size: 2.1rem; font-weight: 740; line-height: 1.08; letter-spacing: -.025em; }
.titelgeschichte__titel a { color: var(--tinte); text-decoration: none; }
.titelgeschichte__titel a:hover { color: var(--petrol); }

/* ── Abschnitte ───────────────────────────────────────────────────────── */
.abschnitt { padding-block: 5.5rem 0; }
.bkopf { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin-bottom: 1.8rem; }
.bkopf h2 { font-size: 2.45rem; font-weight: 760; font-stretch: 90%; line-height: 1.05; letter-spacing: -.03em; }
.bkopf--klein h2 { font-size: 1.6rem; }
.bkopf-einfach { font-size: 1.8rem; font-weight: 740; margin: 0 0 1.2rem; letter-spacing: -.02em; }
.abschnitt__vorspann { max-width: 46rem; margin: -.8rem 0 2rem; font-size: 1.12rem; color: var(--tinte-2); }

.raster-neu { display: grid; grid-template-columns: minmax(0, 1fr) 25rem; gap: 3.5rem; align-items: start; }
.neu-oben { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2rem; }
.neu-stapel { display: grid; gap: 1.6rem; align-content: start; }
.neu-zeilen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 2rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--linie); }

/* Kraftpapier-Panel (Meistgelesen) */
.kraftpanel { position: relative; padding: 1.6rem 1.6rem 1.3rem; border-radius: var(--r-2); background-color: var(--karton-hell); color: var(--karton-tinte);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .21 0 0 0 0 .13 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E");
  box-shadow: var(--schatten-2); }
.kraftpanel .bkopf { margin-bottom: 1rem; }
.kraftpanel h2 { color: var(--karton-tinte); }
.kraftpanel .etikett { background: var(--schnee); }
.kraftpanel__hinweis { margin: 1rem 0 0; font-size: .82rem; opacity: .85; }
.popcon { margin: 0; padding: 0; list-style: none; counter-reset: rang; }
.popcon li { counter-increment: rang; position: relative; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; grid-template-areas: "nr titel titel" "nr balken zahl";
  gap: .2rem .7rem; padding: .75rem 0; border-top: 1px dashed color-mix(in srgb, var(--karton-tinte) 28%, transparent); }
.popcon li:first-child { border-top: 0; padding-top: .2rem; }
.popcon li::before { content: counter(rang); grid-area: nr; font: 800 1.65rem/1 var(--f-anzeige); font-stretch: 80%; color: color-mix(in srgb, var(--karton-tinte) 55%, transparent); }
.popcon a { grid-area: titel; color: var(--karton-tinte); font-weight: 650; line-height: 1.32; text-decoration: none; }
.popcon a:hover { text-decoration: underline; }
.popcon__balken { grid-area: balken; align-self: center; height: .38rem; border-radius: .2rem; background: color-mix(in srgb, var(--karton-tinte) 14%, transparent); overflow: hidden; position: relative; }
.popcon__balken::after { content: ""; position: absolute; inset: 0; width: calc(var(--anteil) * 100%); min-width: .38rem; border-radius: .2rem; background: var(--schnabel); }
.popcon__zahl { grid-area: zahl; font: 500 .74rem/1 var(--f-mono); opacity: .9; }

/* Setzkasten: Rubrikwelten in Birkenholz-Fächern */
.abschnitt--holz { padding-top: 6rem; }
.setzkasten { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(15.5rem, auto); gap: .9rem; padding: .9rem;
  border-radius: 1.1rem; background: var(--birke); box-shadow: var(--schatten-3), inset 0 1px 0 rgb(255 255 255 / .55), inset 0 -2px 0 var(--birke-kante); }
/* Sperrholz-Kante oben */
.setzkasten::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: -.55rem; height: .55rem; border-radius: .4rem .4rem 0 0;
  background: repeating-linear-gradient(180deg, var(--birke-hell) 0 .09rem, var(--birke-kante) .09rem .14rem); opacity: .9; }
.fach { position: relative; display: flex; flex-direction: column; padding: .55rem; border-radius: .7rem; background: var(--birke-hell);
  box-shadow: inset 0 .5rem .9rem -.4rem rgb(90 60 20 / .35), inset 0 -1px 0 rgb(255 255 255 / .6); }
.fach--gross { grid-column: span 2; grid-row: span 2; }
.fach--breit { grid-column: span 2; }
.fach__link { position: relative; flex: 1; display: block; min-height: 11rem; overflow: hidden; border-radius: .45rem; text-decoration: none; box-shadow: 0 1px 2px rgb(90 60 20 / .3); }
.fach__bild, .fach__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fach__bild img { object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); filter: var(--bild-filter); }
.fach__link:hover .fach__bild img { transform: scale(1.045); }
.fach__schild { position: absolute; left: .8rem; bottom: .8rem; display: flex; align-items: center; gap: .55rem; padding: .45rem .9rem .5rem .45rem;
  border-radius: .3rem .6rem .6rem .3rem; background: var(--karton-hell); color: var(--karton-tinte); box-shadow: var(--schatten-2); transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.fach__link:hover .fach__schild { transform: translateY(-3px) rotate(-1.2deg); }
.fach__name { display: block; font: 740 1.08rem/1.1 var(--f-anzeige); letter-spacing: -.01em; }
.fach--gross .fach__name { font-size: 1.6rem; }
.fach__zahl { display: block; font: 500 .74rem/1.3 var(--f-mono); }
.fach__neu { margin: .6rem .25rem .1rem; font-size: .86rem; line-height: 1.3; color: var(--karton-tinte); }
.fach__neu a { color: var(--karton-tinte); font-weight: 600; }
.fach--gross .fach__neu { font-size: 1rem; }

/* Umzug */
.umzug { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 4rem; align-items: center; }
.umzug__bild { position: relative; }
.umzug__bild picture { display: block; overflow: hidden; border-radius: var(--r-3); box-shadow: var(--schatten-3); aspect-ratio: 4 / 3; }
.umzug__bild img { width: 100%; height: 100%; object-fit: cover; filter: var(--bild-filter); }
.umzug__spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.umzug__spalten h3 { margin-bottom: .6rem; font-size: 1rem; }
.liste { margin: 0; padding: 0; list-style: none; }
.liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--linie); }
.liste a { color: var(--tinte); font-weight: 620; text-decoration: none; line-height: 1.3; }
.liste a:hover { color: var(--petrol); text-decoration: underline; }
.liste__meta { flex: none; font: 500 .74rem/1 var(--f-mono); color: var(--tinte-3); }

/* Spielhalle (Startseite) */
.abschnitt--spielhalle { margin-top: 6rem; padding-block: 5rem; color: var(--auf-polar);
  background: radial-gradient(48rem 26rem at 88% 8%, rgb(255 70 170 / .17), transparent 70%), radial-gradient(42rem 26rem at 6% 96%, rgb(40 210 255 / .15), transparent 70%), var(--polar); }
.abschnitt--spielhalle h2 { color: var(--auf-polar); }
.abschnitt--spielhalle .abschnitt__vorspann { color: var(--auf-polar-2); }
.spielwelt { display: grid; grid-template-columns: 22rem minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.automaten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.automat a { display: block; padding: .7rem .7rem 1rem; border-radius: 1.1rem; text-decoration: none; color: var(--auf-polar);
  background: linear-gradient(180deg, #1d3756, #132a44); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 18px 30px -18px rgb(0 0 0 / .8); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s; }
.automat__bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .6rem; outline: .3rem solid #0a1626; box-shadow: 0 12px 22px -12px rgb(0 0 0 / .8); transition: box-shadow .35s, filter .35s; }
.automat a:hover { transform: translateY(-4px); }
.automat a:hover .automat__bild { filter: brightness(1.08) saturate(1.08); box-shadow: 0 18px 28px -14px rgb(0 0 0 / .9); }
.automat__titel { display: block; margin: .9rem .3rem .5rem; font: 720 1.2rem/1.15 var(--f-anzeige); }
.automat__start { display: inline-flex; margin-left: .3rem; padding: .3rem .75rem; border-radius: 999px; font-weight: 700; font-size: .85rem; color: #13283a; background: var(--schnabel); }

/* Für Kenner */
.befehle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.befehl { position: relative; padding: 1rem 1rem 1.2rem; border-radius: var(--r-2); background: var(--schnee); box-shadow: var(--schatten-1); }
.befehl__zeile { position: relative; margin: 0 0 1rem; padding: .85rem 4.6rem .85rem 1rem; border-radius: .6rem; overflow-x: auto; white-space: pre;
  background: var(--polar); color: #e3edf2; font: 500 .86rem/1.5 var(--f-mono); }
.befehl__zeile::before { content: "$ "; color: var(--schnabel); }
.befehl .karte__titel { font-size: 1.1rem; }
.befehl .karte__titel a::after { border-radius: var(--r-2); }
.befehl .kopieren { z-index: 2; }

/* Kopierknopf für Code */
.kopieren { position: absolute; top: .45rem; right: .45rem; padding: .28rem .6rem; border: 0; border-radius: .35rem; cursor: pointer;
  font: 600 .74rem/1.2 var(--f-text); color: #13283a; background: #e8eff3; opacity: .92; }
.kopieren:hover { opacity: 1; background: #fff; }
.kopieren.ist-kopiert { background: var(--schnabel); }

/* ── Rubrikseiten / Kopfmotive ───────────────────────────────────────── */
.rkopf { position: relative; }
.rkopf__welt { position: relative; height: clamp(21rem, 36vw, 44rem); overflow: hidden; background: #cfe0e8; }
.rkopf__bild, .rkopf__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rkopf__bild img { object-fit: cover; filter: var(--bild-filter); }
.rkopf__welt::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--eis) 70%, transparent)); }
.rkopf__schild { position: relative; z-index: 2; margin-top: -7.5rem; }
.rkopf__karte { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2.2rem; align-items: center; padding: 2rem 2.4rem; border-radius: var(--r-3);
  background: var(--schnee); box-shadow: var(--schatten-3); }
.rkopf__karte .pin--gross { width: 7rem; height: 7rem; transform: rotate(-8deg); }
.rkopf h1 { font-size: 3.4rem; font-weight: 780; font-stretch: 88%; line-height: 1; letter-spacing: -.035em; }
.rkopf__seite { display: inline-block; margin-left: .6rem; font: 500 1rem/1 var(--f-mono); letter-spacing: 0; color: var(--tinte-3); vertical-align: middle; }
.rkopf__beschreibung { max-width: 52rem; margin: .9rem 0 0; font-size: 1.12rem; color: var(--tinte-2); }
.pfad { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 .6rem; font: 500 .84rem/1.3 var(--f-mono); color: var(--tinte-3); }
.pfad a { color: var(--petrol); text-decoration: none; }
.pfad a:hover { text-decoration: underline; }
.pfad > span:not(:last-child) { opacity: .6; }
/* apt show-Steckbrief auf Kraftpapier */
.aptshow { margin: 0; padding: 1rem 1.2rem; min-width: 17rem; border-radius: .4rem .8rem .8rem .4rem; background: var(--karton-hell); color: var(--karton-tinte);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--karton-tinte) 14%, transparent); font: 500 .82rem/1.55 var(--f-mono); }
.aptshow div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .6rem; }
.aptshow dt { font-weight: 700; }
.aptshow dt::after { content: ":"; }
.aptshow dd { margin: 0; overflow-wrap: anywhere; }
.aptshow a { color: var(--karton-tinte); }

.rraster { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: 3.5rem; margin-top: 3.5rem; align-items: start; }
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 1.8rem; }
.karten--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.karten--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.karten .karte--vitrine { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2.2rem; align-items: center; }
.karten .karte--vitrine .karte__titel { margin-top: 0; }
.karten .karte.ist-neu { animation: einblenden .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes einblenden { from { transform: translateY(.8rem); opacity: .3; } }
.rraster__seite { display: grid; gap: 2rem; }
.unterrubrik { position: relative; display: block; overflow: hidden; min-height: 10rem; border-radius: var(--r-2); text-decoration: none; box-shadow: var(--schatten-2); }
.unterrubrik__bild, .unterrubrik__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.unterrubrik__bild img { object-fit: cover; filter: var(--bild-filter); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.unterrubrik:hover .unterrubrik__bild img { transform: scale(1.05); }
.unterrubrik > span { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center;
  padding: .55rem .8rem .55rem .5rem; border-radius: .35rem .7rem .7rem .35rem; background: var(--karton-hell); color: var(--karton-tinte); box-shadow: var(--schatten-1); }
.unterrubrik .pin { grid-row: span 2; }
.unterrubrik strong { font: 740 1.05rem/1.15 var(--f-anzeige); }
.unterrubrik small { font-size: .82rem; }
.andere h2 { font-size: 1.25rem; margin-bottom: .7rem; }
.andere ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .15rem; }
.andere a { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; padding: .4rem .5rem; border-radius: .6rem; color: var(--tinte); text-decoration: none; font-weight: 600; }
.andere a:hover { background: var(--schnee); box-shadow: var(--schatten-1); }
.andere small { font: 500 .74rem/1 var(--f-mono); color: var(--tinte-3); }

.blaettern { display: grid; justify-items: center; gap: 1.2rem; margin-top: 3.2rem; }
.mehr__rest { font-weight: 500; opacity: .75; }
.blaettern__nummern { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 0; padding: 0; list-style: none; font-family: var(--f-mono); font-size: .88rem; }
.blaettern__nummern a, .blaettern__nummern span { display: grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding: 0 .4rem; border-radius: .5rem; }
.blaettern__nummern a { color: var(--tinte-2); text-decoration: none; background: var(--schnee); box-shadow: inset 0 0 0 1px var(--linie); }
.blaettern__nummern a:hover { color: var(--tinte); box-shadow: inset 0 0 0 1px var(--tinte-3); }
.blaettern__nummern [aria-current] { background: var(--tinte); color: var(--eis); font-weight: 700; }

/* ── Beitragsseite ───────────────────────────────────────────────────── */
.bband { position: relative; height: 19rem; overflow: hidden; }
.bband__bild, .bband__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bband__bild img { object-fit: cover; filter: var(--bild-filter) saturate(.85); }
.bband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--eis) 85%, transparent) 88%, var(--eis)); }
.bkopf-karte { position: relative; z-index: 2; margin-top: -8.5rem; }
.bkopf-karte__innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 38%); gap: 2.6rem; align-items: center; padding: 2.4rem; border-radius: 1.6rem;
  background: var(--schnee); box-shadow: var(--schatten-3); }
.bkopf-karte h1 { font-size: clamp(2.2rem, 2.6vw, 3rem); font-weight: 760; font-stretch: 90%; line-height: 1.06; letter-spacing: -.03em; }
.vorspann { margin: 1.1rem 0 0; font-size: 1.2rem; line-height: 1.5; color: var(--tinte-2); }
.bmeta { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin: 1.3rem 0 0; font-size: .94rem; color: var(--tinte-3); }
.bmeta__autor { font-weight: 650; color: var(--tinte-2); }
.bmeta__neu { color: var(--schnabel-tief); font-weight: 650; }
.btags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.2rem 0 0; }
.bkopf-karte__bild { margin: 0; }
.bbild { width: 100%; border-radius: var(--r-2); box-shadow: var(--schatten-2); filter: var(--bild-filter); }

.lese { display: grid; grid-template-columns: 15rem minmax(0, 46rem) 15rem; gap: 3.5rem; justify-content: center; align-items: start; margin-top: 3.8rem; }
.lese--ohne-toc { grid-template-columns: minmax(0, 46rem) 15rem; }
.toc, .steckbrief { position: sticky; top: 6.2rem; }
.toc h2, .steckbrief h2 { font-size: 1.05rem; margin-bottom: .8rem; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--linie); }
.toc li { position: relative; }
.toc a { display: block; padding: .38rem 0 .38rem 1rem; font-size: .92rem; line-height: 1.3; color: var(--tinte-2); text-decoration: none; }
.toc a:hover { color: var(--tinte); }
.toc .toc__e3 a { padding-left: 1.8rem; font-size: .86rem; }
.toc a.ist-aktiv { color: var(--tinte); font-weight: 650; }
.toc a.ist-aktiv::before { content: ""; position: absolute; left: -.32rem; top: .72rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--schnabel); box-shadow: 0 0 0 3px var(--eis); }
.aptshow--senkrecht { min-width: 0; padding: .9rem 1rem; font-size: .78rem; }
.aptshow--senkrecht div { grid-template-columns: 1fr; gap: 0; margin-bottom: .45rem; }
.aptshow--senkrecht div:last-child { margin-bottom: 0; }
.aptshow--senkrecht dd { overflow-wrap: normal; word-break: normal; }

/* Fließtext */
.artikel { min-width: 0; font-size: 1.14rem; line-height: 1.72; }
.artikel > :first-child { margin-top: 0; }
.artikel h2 { margin: 2.4em 0 .7em; font-size: 1.75rem; font-weight: 720; line-height: 1.15; letter-spacing: -.02em; }
.artikel h3 { margin: 1.9em 0 .55em; font-size: 1.32rem; font-weight: 700; line-height: 1.2; }
.artikel h4 { margin: 1.6em 0 .5em; font-size: 1.12rem; }
.artikel p, .artikel ul, .artikel ol { margin: 0 0 1.1em; }
.artikel li { margin-bottom: .35em; }
.artikel strong, .artikel b { font-weight: 680; }
.artikel img { border-radius: var(--r-1); }
/* Transparente Logos mit dunkler Schrift (Klasse aus la-kern): helle Fläche nur in der Polarnacht */
[data-thema="polarnacht"] img.la-helle-flaeche { box-sizing: border-box; padding: .5rem .7rem; background: #f4f8fa; border-radius: var(--r-1); }
.artikel .aligncenter { margin-inline: auto; }
.artikel .alignleft { float: left; max-width: 45%; margin: .3em 1.6rem 1rem 0; }
.artikel .alignright { float: right; max-width: 45%; margin: .3em 0 1rem 1.6rem; }
.artikel .img-full, .artikel .size-full { margin-block: 1.4rem; }
.artikel hr { clear: both; margin: 2.4rem 0; border: 0; height: 1px; background: var(--linie); }
.artikel h2, .artikel h3 { clear: both; }
.artikel blockquote { margin: 1.6rem 0; }
.artikel figure { margin: 1.8rem 0; }
.artikel figcaption, .artikel .wp-caption-text { font-size: .9rem; color: var(--tinte-3); margin-top: .5rem; }
.artikel table { border-collapse: collapse; width: 100%; margin: 1.4rem 0; font-size: .98rem; }
.artikel th, .artikel td { padding: .55rem .7rem; border: 1px solid var(--linie); vertical-align: top; text-align: left; }
.artikel thead th { background: var(--eis-2); }
.artikel :not(pre) > code:not([style]) { padding: .1em .35em; border-radius: .25em; background: var(--eis-2); color: var(--tinte); }
.artikel pre { position: relative; max-width: 100%; overflow-x: auto; padding: 1.1rem 1.2rem; border-radius: .7rem; background: var(--polar); color: #e3edf2; font: 500 .9rem/1.6 var(--f-mono); }
.artikel pre code { background: none; color: inherit; padding: 0; }
.artikel code[style*="display:block"] { position: relative; padding-right: 5.6rem !important; }
.artikel .ez-toc-section { scroll-margin-top: 6rem; }
.artikel .mitte { text-align: center; }
.artikel::after { content: ""; display: block; clear: both; }
/* YouTube erst nach Klick */
.yt-video { margin: 2rem 0; }
.yt-video__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-2); background: #0d1b28; box-shadow: var(--schatten-2); }
.yt-video__thumb { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.yt-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-video__play { position: absolute; left: 50%; top: 50%; width: 4.6rem; height: 4.6rem; margin: -2.3rem 0 0 -2.3rem; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--schnabel); box-shadow: 0 10px 26px -8px rgb(0 0 0 / .6); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.yt-video__play::after { content: ""; position: absolute; left: 1.85rem; top: 1.45rem; border-style: solid; border-width: .85rem 0 .85rem 1.35rem; border-color: transparent transparent transparent #13283a; }
.yt-video__play:hover { transform: scale(1.08); }
.yt-video__caption { display: grid; gap: .25rem; margin-top: .6rem; font-size: .86rem; color: var(--tinte-3); }
.yt-video__title { font-weight: 650; color: var(--tinte-2); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lesetipps { padding-bottom: 1rem; }

/* Spielseite */
.spielhalle { position: relative; overflow: hidden; padding: 2.6rem 0 2.8rem; color: var(--auf-polar);
  background: radial-gradient(60rem 30rem at 85% 0%, rgb(255 70 170 / .18), transparent 70%), radial-gradient(50rem 30rem at 0% 100%, rgb(40 210 255 / .16), transparent 70%), var(--polar); }
.spielhalle h1 { color: var(--auf-polar); font-size: clamp(2.2rem, 2.6vw, 3rem); font-weight: 780; letter-spacing: -.03em; }
.spielhalle .pfad, .spielhalle .bmeta { color: var(--auf-polar-2); }
.spielhalle .pfad a { color: #8fe0e2; }
.spielhalle .bmeta__autor { color: var(--auf-polar); }
.spielhalle .bmeta__neu { color: #f7b85f; }
.spielhalle .ver { background: rgb(255 255 255 / .1); color: var(--auf-polar-2); }
.spielhalle__kopf { margin-bottom: 1.8rem; }
.spielhalle__buehne { position: relative; display: grid; place-items: center; width: min(100%, 76rem); aspect-ratio: 16 / 10; margin-inline: auto; overflow: hidden;
  border-radius: 1.1rem; background: #000; outline: .55rem solid #0b1828; box-shadow: 0 40px 80px -30px #000; }
.spielhalle__rahmen { width: 100%; height: 100%; border: 0; }
.spielhalle__ruffle { display: grid; place-items: center; width: 100%; height: 100%; }
.spielhalle__ruffle ruffle-player { max-width: 100%; }
.spielhalle__leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem; margin: 2rem 0 0; color: var(--auf-polar-2); font-size: .95rem; }

/* ── Entdeckungsreise (Impressum, Datenschutz) ───────────────────────── */
.rkopf--reise .rkopf__karte, .rkopf--404 .rkopf__karte { grid-template-columns: auto minmax(0, 1fr) auto; }
.reise { display: grid; grid-template-columns: 18rem minmax(0, 50rem); gap: 4rem; justify-content: center; margin-top: 4rem; }
.reise__karte { position: sticky; top: 6.2rem; align-self: start; padding: 1.4rem; border-radius: var(--r-2); background: var(--schnee); box-shadow: var(--schatten-1); }
.reise__karte h2 { font-size: 1.15rem; margin-bottom: .8rem; }
.reise__karte ol { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.reise__karte li { counter-increment: st; }
.reise__karte a { display: grid; grid-template-columns: 1.9rem 1fr; gap: .7rem; align-items: center; padding: .42rem .3rem; border-radius: .5rem; color: var(--tinte-2); text-decoration: none; font-size: .94rem; line-height: 1.32; }
.reise__karte a:hover { background: var(--eis); color: var(--tinte); }
.reise__nr { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font: 700 .78rem/1 var(--f-mono); color: var(--tinte-3);
  background: var(--eis); box-shadow: inset 0 0 0 1.5px var(--linie); transition: background-color .4s, color .4s, box-shadow .4s; }
.seite-impressum .reise__nr::before { content: counter(st); }
.reise__nr:empty::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.reise__karte li.ist-besucht .reise__nr { background: var(--schnabel); color: #13283a; box-shadow: none; }
.reise__karte li.ist-hier a { color: var(--tinte); font-weight: 650; background: var(--eis); }
.reise__stand { margin: 1rem 0 0; font: 500 .78rem/1.3 var(--f-mono); color: var(--tinte-3); }
.reise__weg { position: relative; padding-left: 4.4rem; }
.spuren { position: absolute; left: 0; top: 0; width: 4.4rem; height: 100%; overflow: visible; pointer-events: none; }
.spuren__pfad { fill: none; stroke: var(--linie); stroke-width: 2; stroke-dasharray: 1 9; stroke-linecap: round; }
.spuren .tritt { fill: var(--tinte-3); opacity: 0; transition: opacity .5s ease; }
.spuren .tritt.ist-da { opacity: .55; }
.station-reise { position: relative; margin-bottom: 2.4rem; padding: 2rem 2.4rem; border-radius: var(--r-3); background: var(--schnee); box-shadow: var(--schatten-1); }
.station-reise__ort { position: absolute; left: -4.4rem; top: 1.9rem; width: 4.4rem; margin: 0; font: 600 .66rem/1.3 var(--f-mono); color: var(--tinte-2); text-align: center; hyphens: manual; overflow-wrap: break-word; }
.station-reise__marke { display: block; width: 1.3rem; height: 1.3rem; margin: 0 auto .4rem; border-radius: 50%; background: var(--schnee); box-shadow: 0 0 0 3px var(--linie), var(--schatten-1);
  transition: background-color .5s, box-shadow .5s; }
.station-reise.ist-besucht .station-reise__marke { background: var(--schnabel); box-shadow: 0 0 0 3px var(--schnee), 0 0 0 4.5px var(--schnabel); }
.rechtstext { font-size: 1.06rem; line-height: 1.68; overflow-wrap: anywhere; }
.rechtstext h2 { font-size: 1.65rem; font-weight: 740; letter-spacing: -.02em; margin: 0 0 .8rem; }
.rechtstext h3 { font-size: 1.2rem; font-weight: 700; margin: 1.6rem 0 .5rem; }
.rechtstext > h3:first-child { margin-top: 0; font-size: 1.5rem; }
.rechtstext p, .rechtstext ul { margin: 0 0 1em; }
.rechtstext > br { display: none; }
.rechtstext ul.table { padding: 0; list-style: none; }
.rechtstext ul.table li { display: grid; grid-template-columns: 6rem 1fr; gap: .8rem; }
/* Impressum: Adresse als Paketaufkleber */
.adressetikett { position: relative; padding-right: 7rem; }
.station-reise--erste { background: var(--karton-hell); color: var(--karton-tinte);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .21 0 0 0 0 .13 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E"); }
.seite-impressum .station-reise--erste .rechtstext { padding: 1.2rem 7rem 1.2rem 1.4rem; border: 2px dashed color-mix(in srgb, var(--karton-tinte) 35%, transparent); border-radius: .6rem;
  font: 500 1.02rem/1.6 var(--f-mono); }
.seite-impressum .station-reise--erste .rechtstext::after { content: ""; position: absolute; right: 1.4rem; top: 1.2rem; bottom: 1.2rem; width: 4.2rem;
  background: repeating-linear-gradient(90deg, var(--karton-tinte) 0 2px, transparent 2px 4px, var(--karton-tinte) 4px 7px, transparent 7px 9px, var(--karton-tinte) 9px 10px, transparent 10px 13px); opacity: .7; }
/* Datenschutz: Messing-Schließfächer */
.seite-datenschutz .reise__nr { border-radius: .35rem; background: linear-gradient(160deg, #e4c77e, #b38a35); color: #3a2a0c; box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 1px 2px rgb(60 40 0 / .4); }
.seite-datenschutz .reise__karte li.ist-besucht .reise__nr { background: #3a2a0c; color: #e4c77e; box-shadow: inset 0 0 0 2px #b38a35; }
.seite-datenschutz .station-reise__marke { border-radius: .3rem; background: linear-gradient(160deg, #e4c77e, #b38a35); box-shadow: 0 0 0 3px var(--linie); }

/* ── Suche, 404, Feed ─────────────────────────────────────────────────── */
.rkopf__karte--suche { grid-template-columns: 1fr; gap: 1.2rem; }
.grosssuche label, .station__suche label { display: block; margin-bottom: .35rem; font-weight: 650; font-size: .95rem; }
.feld { display: flex; align-items: center; gap: .6rem; padding: .4rem .4rem .4rem .8rem; border-radius: 999px; background: var(--eis); box-shadow: inset 0 0 0 1.5px var(--linie); }
.feld:focus-within { box-shadow: inset 0 0 0 2px var(--petrol); }
.feld input { flex: 1; min-width: 0; padding: .5rem .2rem; border: 0; background: transparent; color: var(--tinte); font: 500 1.15rem/1.2 var(--f-text); }
.feld input:focus { outline: none; }
.feld input::placeholder { color: var(--tinte-3); opacity: .9; }
.filter { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; border: 0; }
.filter legend { width: 100%; margin-bottom: .45rem; font-weight: 650; font-size: .95rem; }
.filter label { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem .3rem .4rem; border-radius: 999px; cursor: pointer; font-size: .92rem; font-weight: 600;
  background: var(--eis); box-shadow: inset 0 0 0 1px var(--linie); }
.filter input { position: absolute; opacity: 0; pointer-events: none; }
.filter label:has(input:checked) { background: var(--tinte); color: var(--eis); box-shadow: none; }
.filter label:has(input:focus-visible) { outline: 3px solid var(--petrol); outline-offset: 2px; }
.suchergebnis { margin-top: 3rem; }
.suchergebnis__titel { font-size: 1.6rem; margin-bottom: 1.4rem; }
.karten-liste { display: grid; gap: 1rem; max-width: 62rem; }
.treffer { position: relative; display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.3rem; padding: .9rem; border-radius: var(--r-2); background: var(--schnee); box-shadow: var(--schatten-1); }
.treffer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-1); }
.treffer h3 { font-size: 1.2rem; }
.treffer h3 a { color: var(--tinte); text-decoration: none; }
.treffer h3 a::after { content: ""; position: absolute; inset: 0; }
.treffer:hover h3 a { color: var(--petrol); }
.treffer p { margin: .35rem 0 0; color: var(--tinte-2); font-size: .98rem; }
mark { background: color-mix(in srgb, var(--schnabel) 45%, transparent); color: inherit; border-radius: .15em; padding: 0 .1em; }
.fehlerzeile { margin: 0 0 1rem; }
.fehlerzeile code { display: inline-block; padding: .45rem .7rem; border-radius: .4rem; background: var(--polar); color: #e3edf2; font-size: .86rem; }
.rkopf--404 h1 { font-size: 3rem; }
.rkopf--404 .grosssuche { margin-top: 1.4rem; max-width: 40rem; }
.wege { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1rem; margin: 0 0 3.5rem; padding: 0; list-style: none; }
.wege a { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; padding: .8rem 1rem .8rem .7rem; border-radius: var(--r-2); text-decoration: none;
  color: var(--tinte); background: var(--schnee); box-shadow: var(--schatten-1); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.wege a:hover { transform: translateY(-3px); box-shadow: var(--schatten-2); }
.wege .pin { grid-row: span 2; width: 3.4rem; height: 3.4rem; }
.wege strong { font: 720 1.08rem/1.15 var(--f-anzeige); }
.wege small { color: var(--tinte-3); font: 500 .76rem/1.2 var(--f-mono); }
.feedseite { padding-bottom: 5rem; }
.feedseite h1 { display: flex; align-items: center; gap: 1rem; font-size: 2.6rem; margin-bottom: 1.4rem; }
.feedseite .pin { width: 4rem; height: 4rem; }

/* ── Suchdialog, man-Seite, Meldung ───────────────────────────────────── */
dialog { color: var(--tinte); }
dialog::backdrop { background: rgb(10 22 34 / .5); }
.suchdialog { width: min(48rem, 92vw); margin: 11vh auto auto; padding: 0; border: 0; border-radius: var(--r-3); background: var(--schnee); box-shadow: var(--schatten-3); }
.suchdialog[open] { animation: auftauchen .35s cubic-bezier(.16, 1, .3, 1); }
@keyframes auftauchen { from { transform: translateY(-.8rem) scale(.98); opacity: .4; } }
.suchdialog__kopf { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--linie); }
.suchdialog__kopf input { flex: 1; min-width: 0; padding: .5rem 0; border: 0; background: transparent; color: var(--tinte); font: 500 1.3rem/1.2 var(--f-text); }
.suchdialog__kopf input:focus { outline: none; }
.suchdialog__kopf input::-webkit-search-cancel-button { display: none; }
.suchdialog__treffer { max-height: min(56vh, 34rem); overflow-y: auto; margin: 0; padding: .5rem; list-style: none; }
.suchdialog__treffer:empty { display: none; }
.suchdialog__treffer a { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .9rem; align-items: center; padding: .55rem; border-radius: var(--r-1); color: var(--tinte); text-decoration: none; }
.suchdialog__treffer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .35rem; }
.suchdialog__treffer strong { display: block; font-weight: 650; line-height: 1.32; }
.suchdialog__treffer small { display: block; margin-top: .2rem; color: var(--tinte-3); font-size: .8rem; }
.suchdialog__treffer [aria-selected="true"] a, .suchdialog__treffer a:hover { background: var(--eis); }
.suchdialog__treffer [aria-selected="true"] a { box-shadow: inset 0 0 0 2px var(--petrol); }
.suchdialog__leer { padding: 1.2rem; color: var(--tinte-3); }
.suchdialog__fuss { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; padding: .8rem 1.1rem; border-top: 1px solid var(--linie); font-size: .9rem; }
.manseite { width: min(44rem, 92vw); padding: 0; border: 0; border-radius: .6rem; background: var(--schnee); box-shadow: var(--schatten-3); }
.manseite__papier { padding: 1.6rem 2rem 1.8rem; font-size: 1rem; }
.manseite__kopfzeile { display: flex; justify-content: space-between; margin: 0 0 1.2rem; font: 600 .78rem/1 var(--f-mono); color: var(--tinte-3); }
.manseite h2 { font-size: 1.7rem; margin-bottom: .6rem; }
.manseite h3 { margin: 1.2rem 0 .4rem; font: 700 .86rem/1 var(--f-mono); letter-spacing: .04em; }
.manseite dl { display: grid; grid-template-columns: 9rem 1fr; gap: .4rem 1rem; margin: 0; }
.manseite dd { margin: 0; }
.manseite form { margin-top: 1.4rem; }
.meldung { position: fixed; left: 50%; bottom: 1.6rem; z-index: 90; max-width: min(40rem, 92vw); padding: .8rem 1.2rem; border-radius: .7rem; transform: translate(-50%, 1.5rem); opacity: 0; pointer-events: none;
  background: var(--polar); color: #e3edf2; font: 500 .92rem/1.4 var(--f-mono); box-shadow: var(--schatten-3); transition: opacity .3s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.meldung.ist-da { opacity: 1; transform: translate(-50%, 0); }
.rutscher { position: fixed; left: 0; bottom: .6rem; z-index: 80; width: 12rem; pointer-events: none; filter: drop-shadow(0 12px 10px rgb(19 40 58 / .3)); }

/* ── Fuß: Eisscholle mit Stationen ───────────────────────────────────── */
.fuss { position: relative; margin-top: 7rem; }
.scholle { position: relative; aspect-ratio: 3168 / 1129; }
.scholle__bild { overflow: hidden; }
.scholle__bild, .scholle__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scholle__bild img { object-fit: cover; object-position: 50% 100%; filter: var(--bild-filter); }
.scholle::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--eis), transparent); }
.scholle__polarlicht { position: absolute; inset: 0 0 45%; z-index: 1; pointer-events: none; opacity: 0; }
.stationen { position: absolute; inset: 0; z-index: 6; margin: 0; padding: 0; list-style: none; }
.station { position: absolute; left: var(--x); top: var(--y); }
.station__knopf { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .5rem; padding: 0; border: 0; background: none; cursor: pointer; }
.station__punkt { width: 2rem; height: 2rem; border-radius: 50%; background: radial-gradient(circle, var(--schnabel) 0 .28rem, rgb(255 255 255 / .94) .3rem .45rem, rgb(255 255 255 / .25) .47rem);
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / .9), 0 4px 10px rgb(19 40 58 / .35); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.station__name { padding: .3rem .7rem .32rem; border-radius: .3rem .55rem .55rem .3rem; white-space: nowrap; font: 700 .86rem/1.1 var(--f-anzeige);
  color: #4a3520; background: #eedfc6; box-shadow: 0 4px 10px -4px rgb(19 40 58 / .45); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.station__knopf:hover .station__punkt, .station__knopf[aria-expanded="true"] .station__punkt { transform: scale(1.18); }
.station__knopf:hover .station__name, .station__knopf[aria-expanded="true"] .station__name { transform: translateY(-2px) rotate(-2deg); }
.station__knopf[aria-expanded="true"] .station__name { background: var(--schnabel); color: #13283a; }
.station__panel { position: absolute; left: 0; bottom: 2rem; z-index: 5; width: 21rem; transform: translateX(-50%); padding: 1.2rem 1.3rem 1.1rem; border-radius: var(--r-2);
  background: var(--schnee); color: var(--tinte); box-shadow: var(--schatten-3); animation: auftauchen .3s cubic-bezier(.16, 1, .3, 1); }
.station:first-child .station__panel { transform: translateX(-15%); }
.station:last-child .station__panel { transform: translateX(-85%); }
.station__panel h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.station__panel p { font-size: .96rem; }
.station__panel p:last-child { margin-bottom: 0; }
.station__liste { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.station__liste a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .55rem; padding: .28rem .4rem; border-radius: .45rem; color: var(--tinte); text-decoration: none; font-weight: 600; font-size: .95rem; }
.station__liste a:hover { background: var(--eis); }
.station__n { font: 500 .74rem/1 var(--f-mono); color: var(--tinte-3); }
.station__liste--feeds a { grid-template-columns: auto 1fr; }
.feedpfad { grid-column: 1 / -1; font: 500 .84rem/1.2 var(--f-mono); color: var(--petrol); }
.zahlen { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 0 0 .8rem; }
.zahlen div { padding: .55rem .7rem; border-radius: .5rem; background: var(--eis); }
.zahlen dt { font-size: .78rem; color: var(--tinte-3); }
.zahlen dd { margin: 0; font: 760 1.3rem/1.1 var(--f-anzeige); font-variant-numeric: tabular-nums; }
.uptime { font-size: .84rem !important; color: var(--tinte-3); }
.uptime code { color: var(--tinte); }
.fundament { position: relative; padding: 2.8rem 0 2.4rem; background: var(--birke); color: var(--karton-tinte); }
.fundament::before { content: ""; position: absolute; inset: 0 0 auto; height: .7rem; background: repeating-linear-gradient(180deg, var(--birke-hell) 0 .1rem, var(--birke-kante) .1rem .16rem); opacity: .75; }
.fundament__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 3rem; }
.fundament h3 { font-size: 1rem; margin-bottom: .7rem; color: var(--karton-tinte); }
.fundament ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.fundament a { color: var(--karton-tinte); text-decoration: none; }
.fundament a:hover { text-decoration: underline; }
.fundament p { margin: .8rem 0 0; font-size: .95rem; }
.fundament .klein { font-size: .84rem; opacity: .85; }
.marke--fuss .marke__name span { color: inherit; opacity: .75; }
.marke--fuss { color: var(--karton-tinte); }
.fundament kbd { background: var(--birke-hell); border-color: var(--birke-kante); color: var(--karton-tinte); }
.fundament__tasten li { font-size: .92rem; }

/* ── Polarnacht: Bildwelt bei Nacht, dezentes Polarlicht ─────────────── */
[data-thema="polarnacht"] .buehne__welt { background: #0d1b28; }
[data-thema="polarnacht"] .buehne__welt::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: radial-gradient(60% 45% at 30% 0%, rgb(46 229 157 / .45), transparent 70%), radial-gradient(50% 40% at 75% 5%, rgb(123 108 255 / .4), transparent 70%);
  animation: polarlicht 18s ease-in-out infinite alternate; }
[data-thema="polarnacht"] .buehne__text { background: linear-gradient(90deg, rgb(8 18 28 / .78), rgb(8 18 28 / .35) 45%, transparent 62%); width: 100%; max-width: none; padding-left: max(var(--rand), (100% - 108rem) / 2); }
[data-thema="polarnacht"] .buehne h1 { color: #f2f7fa; text-shadow: 0 2px 12px rgb(0 0 0 / .4); }
[data-thema="polarnacht"] .buehne__unter { color: #cbd9e3; }
[data-thema="polarnacht"] .apt { background: rgb(10 22 34 / .72); color: #c6d6e0; }
[data-thema="polarnacht"] .apt__zeile strong { color: #73d3d6; }
[data-thema="polarnacht"] .apt__balken span { background: repeating-linear-gradient(90deg, #73d3d6 0 .45rem, transparent .45rem .6rem); }
[data-thema="polarnacht"] .apt__balken { background: repeating-linear-gradient(90deg, rgb(255 255 255 / .12) 0 .45rem, transparent .45rem .6rem); }
[data-thema="polarnacht"] .scholle__polarlicht { opacity: .6; mix-blend-mode: screen;
  background: radial-gradient(40% 70% at 25% 0%, rgb(46 229 157 / .55), transparent 70%), radial-gradient(35% 60% at 70% 0%, rgb(123 108 255 / .5), transparent 70%);
  animation: polarlicht 22s ease-in-out infinite alternate; }
[data-thema="polarnacht"] .station__name { background: #2c241b; color: #f0d6ad; }
[data-thema="polarnacht"] .kopieren { background: #24405a; color: #e7eff4; }
@keyframes polarlicht { from { transform: translateX(-4%) skewX(-4deg); } to { transform: translateX(4%) skewX(4deg); } }
[data-thema="polarnacht"] .buehne .dach { color: #8fe0e2; }

/* ── Redaktionstexte (alte Texte oben/unten, unverändert) ─────────────── */
.redtext { font-size: 1.14rem; line-height: 1.72; }
.redtext h2 { margin: 0 0 .7em; font-size: 2rem; font-weight: 760; font-stretch: 90%; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.redtext h3 { margin: 1.8em 0 .5em; font-size: 1.38rem; text-wrap: balance; }
.redtext h2 + h3, .redtext > h3:first-child { margin-top: 0; }
.redtext p:last-child { margin-bottom: 0; }
.redtext u { text-decoration-color: color-mix(in srgb, var(--petrol) 50%, transparent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.redtext .alignright { margin-top: .4rem; }
.redtext .wp-caption img { border-radius: var(--r-1); box-shadow: var(--schatten-2); }

/* Mehrspaltiger Redaktionstext (Zeitungssatz) */
.spaltig p { hyphens: auto; orphans: 3; widows: 3; }
.spaltig h3 { break-after: avoid; }
.spaltig figure, .spaltig .wp-caption { break-inside: avoid; }
.spaltig .alignright { max-width: 40%; margin-left: 1.3rem; }

/* Startseite: Begrüßung als Karte mit Emaille-Pinguin – volle Breite, zweispaltig, über den Rubrikwelten */
.willkommen { position: relative; padding: 2.4rem 3.4rem 2.8rem; border-radius: var(--r-3); background: var(--schnee); box-shadow: var(--schatten-2); }
.willkommen::before { content: ""; position: absolute; inset: .7rem; border-radius: calc(var(--r-3) - .5rem); pointer-events: none;
  border: 1px dashed color-mix(in srgb, var(--tinte-3) 28%, transparent); }
.willkommen__pin { position: absolute; right: 3rem; top: -2.4rem; width: 7.5rem; height: 7.5rem; transform: rotate(9deg); }
.willkommen__etikett { margin: 0 0 1.2rem; }
.willkommen__text { columns: 2; column-gap: 4.5rem; column-rule: 1px dashed var(--linie); }
.willkommen__text > h2 { column-span: all; margin-bottom: .8em; padding-right: 9rem; font-size: 2.2rem; }

/* Startseite: README (Text unten) – volle Breite, dreispaltig, Video mittig über alle Spalten */
.readme { padding-bottom: 1rem; }
.readme__text { columns: 3; column-gap: 3.6rem; column-rule: 1px dashed var(--linie); }
.readme__text > h3:first-child { margin-top: 0; }
.readme__text .yt-video { column-span: all; max-width: 60rem; margin: 2.6rem auto 2.8rem; }

/* Rubrik: Text oben als Vorspann (Überschrift links, Text rechts) */
.rintro { margin: 0 0 3.2rem; padding: 0 0 2.6rem; border-bottom: 1px solid var(--linie); }
.rintro .redtext { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 46rem); column-gap: 3rem; align-items: start; }
.rintro .redtext > h2 { grid-column: 1; grid-row: 1 / span 20; margin: .15rem 0 0; font-size: 1.85rem; }
.rintro .redtext > :not(h2) { grid-column: 2; }

/* Rubrik: Text unten als Infotafel */
.rtext { margin-top: 4.5rem; padding: 2.2rem 2.6rem 2.2rem; border-radius: var(--r-3); background: var(--schnee); box-shadow: var(--schatten-1);
  border: 1px solid var(--linie-zart); }
.rtext__kopf { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--linie); }
.rtext__marke { margin: 0; font: 700 1.1rem/1.2 var(--f-anzeige); letter-spacing: -.01em; }
.rtext__kopf .etikett { margin-left: auto; }
.rtext .redtext { max-width: 52rem; }

/* Weiterlesen (nur mit JS gekürzt) */
.aufklapp[data-zu] { max-height: var(--zu-hoehe, 20rem); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 7rem), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 7rem), transparent); }
.aufklapp__knopf { margin-top: 1.1rem; }
.aufklapp__knopf[hidden] { display: none; }
.aufklapp__knopf svg { transition: transform .3s ease; }
.aufklapp__knopf[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ── Ruhige Fassung ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .buehne__staub, .rutscher { display: none; }
}

/* ── Schmalere Bildschirme (Desktop-Fokus, aber robust) ──────────────── */
@media (max-width: 1500px) {
  .kopf__claim { display: none; }
  .buehne h1 { font-size: clamp(2.1rem, 2.95vw, 2.6rem); }
  .buehne .dach { font-size: .78rem; margin-bottom: .55rem; }
  .buehne__unter { font-size: 1rem; margin-block: .7rem; }
  .readme__text { columns: 2; }
  .rintro .redtext { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); column-gap: 2.2rem; }
  .apt { display: none; }
  .titelgeschichte__titel { font-size: 1.75rem; }
  .raster-neu { grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.5rem; }
  .lese { grid-template-columns: 13rem minmax(0, 44rem) 13rem; gap: 2.5rem; }
  /* ohne Inhaltsverzeichnis nur zwei Spalten (im Mockup überschrieb .lese die Zweispaltigkeit → Text in 13rem-Spalte) */
  .lese--ohne-toc { grid-template-columns: minmax(0, 44rem) 13rem; }
}
/* Zwischen 1501 und 1700 px stieß der apt-Kasten im Mockup an das Etikett der Titelgeschichte (bis 26 px Überdeckung) → dort ausblenden */
@media (max-width: 1700px) {
  .apt { display: none; }
}
@media (max-width: 1180px) {
  .suchknopf { min-width: 0; } .suchknopf__text, .tasten { display: none; }
  .rubrikleiste ul { justify-content: flex-start; }
  .buehne__welt { aspect-ratio: 16 / 9; }
  .erkunden { display: none; }
  .raster-neu, .spielwelt, .umzug, .rraster, .rintro .redtext { grid-template-columns: 1fr; }
  .readme__text, .willkommen__text { columns: 1; }
  .rintro .redtext > h2 { grid-row: auto; margin-bottom: .6em; }
  .rintro .redtext > :not(h2) { grid-column: 1; }
  .karten, .befehle, .automaten, .karten--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setzkasten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lese, .lese--ohne-toc { grid-template-columns: minmax(0, 1fr); }
  .toc, .steckbrief { position: static; }
  .reise { grid-template-columns: 1fr; }
  .reise__karte { position: static; }
  .fundament__raster { grid-template-columns: 1fr 1fr; }
  .stationen .station__name { font-size: .7rem; }
}
@media (max-width: 760px) {
  .themaknopf__text, .marke__name span { display: none; }
  .buehne__text { position: static; padding: 1.4rem var(--rand) 0; }
  .buehne h1 { color: var(--tinte); }
  .buehne__unter { color: var(--tinte-2); }
  .titelgeschichte { margin-top: 1.5rem; }
  .titelgeschichte__karte, .bkopf-karte__innen, .rkopf__karte, .karten .karte--vitrine, .neu-oben { grid-template-columns: 1fr; }
  .neu-zeilen, .karten, .befehle, .automaten, .karten--drei, .karten--vier, .setzkasten, .umzug__spalten, .fundament__raster { grid-template-columns: 1fr; }
  .fach--gross, .fach--breit { grid-column: auto; grid-row: auto; }
  .bkopf h2 { font-size: 1.9rem; } .rkopf h1 { font-size: 2.4rem; }
  .stationen { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   Ergänzungen für WordPress (nicht im Mockup, im selben Stil)
   ══════════════════════════════════════════════════════════════════════ */

/* YouTube-Karten aus la-kern: Zustände (Abspielen und Einwilligung regelt la-kern.js) */
.yt-video.has-consent .yt-video__consent { display: none; }
.yt-video.is-loading .yt-video__play { cursor: progress; animation: yt-laden 1s ease-in-out infinite alternate; }
@keyframes yt-laden { from { transform: scale(1); } to { transform: scale(.9); opacity: .75; } }
.yt-video.is-playing .yt-video__frame { background: #000; }
.yt-video--unavailable { padding: 1.2rem 1.4rem; border-radius: var(--r-2); background: var(--eis-2); color: var(--tinte-2); font-size: .98rem; }
.yt-video--unavailable p { margin: 0; }

/* WordPress-Inhalt */
.wp-caption { max-width: 100%; }
.artikel .alignnone { margin-block: 1.2rem; }
.artikel iframe { max-width: 100%; border: 0; }
.artikel .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; }

/* Schlichter Kopf (Startseite ab Seite 2, Datumsarchive, Seiten): Schild ohne Diorama */
.rkopf--schlicht .rkopf__schild { margin-top: 3.2rem; }
.rkopf__karte--seite { grid-template-columns: auto minmax(0, 1fr); }
.seitentext { max-width: 50rem; margin-top: 3.5rem; }
.leer { font-size: 1.1rem; color: var(--tinte-2); }

/* Suche: Feldbeschriftung nur im Suchfeld-Block */
.rkopf__karte--suche .grosssuche label { display: block; margin-bottom: .35rem; font-weight: 650; font-size: .95rem; }
.treffer .karte__bild--leer { aspect-ratio: 16 / 9; border-radius: var(--r-1); }
.treffer .karte__bild--leer .pin { width: 3rem; height: 3rem; }
.suchergebnis .blaettern { justify-items: start; max-width: 62rem; }
.suchergebnis .blaettern[hidden] { display: none; }

/* Monatsarchiv (Auswahl + Knopf „Anzeigen“, kein Springen beim Auswählen) */
.archivwahl label { display: block; margin-bottom: .45rem; font-size: .92rem; }
.archivwahl__zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.archivwahl select { min-width: 0; flex: 1 1 9rem; padding: .5rem 2rem .5rem .75rem; border: 1px solid var(--linie); border-radius: .55rem; cursor: pointer;
  font: 500 .95rem/1.2 var(--f-text); color: var(--tinte); background: var(--schnee) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2352687a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .6rem center;
  -webkit-appearance: none; appearance: none; }
.archivwahl select:hover { border-color: var(--tinte-3); }
.archivwahl .knopf { padding: .52rem 1rem; font-size: .92rem; }
.fundament .archivwahl label { color: var(--karton-tinte); }
.fundament .archivwahl select { border-color: var(--birke-kante); background-color: var(--birke-hell); color: var(--karton-tinte); }
.fundament .archivwahl .knopf--leise { background: var(--birke-hell); color: var(--karton-tinte); box-shadow: inset 0 0 0 1px var(--birke-kante); }
.fundament__raster { grid-template-columns: 1.4fr 1fr 1fr 1.25fr 1.1fr; }
.archivpanel .archivwahl label { color: var(--karton-tinte); }
.archivpanel .archivwahl select { border-color: color-mix(in srgb, var(--karton-tinte) 30%, transparent); }
[data-thema="polarnacht"] .archivwahl select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23b7c8d4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 1180px) {
  .fundament__raster { grid-template-columns: 1fr 1fr; }
}
