/*
Theme Name: weltraumspiele
Theme URI: https://www.weltraumspiele.de/
Description: Theme von weltraumspiele.de – Design „Launcher“ (Mockup D, Runde 2): Spotlight, Bibliothek mit Genre-Filter, Spieltests mit Aktionsleiste. Anzeigen erst nach Einwilligung (Usercentrics), Schriften und Bibliotheken lokal.
Version: 2.0.4
Requires at least: 6.0
Requires PHP: 8.2
Text Domain: weltraumspiele
*/

/* Grundlage: mockups/d-launcher/assets/css/launcher.css (Mockup D „Launcher“, freigegeben) – 1:1 übernommen, nur Pfade angepasst.
   WordPress-Ergänzungen stehen am Ende („Theme-Ergänzungen“). */

/* ---------- Schriften (lokal, OFL) ---------- */
@font-face {
  font-family: "Saira"; src: url("assets/fonts/saira/saira-latin-600-900.woff2") format("woff2");
  font-weight: 600 900; font-stretch: 100% 125%; font-style: normal; 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: "Manrope"; src: url("assets/fonts/manrope/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; 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: "Saira Ersatz"; src: local("Arial Narrow"), local("Arial"); size-adjust: 96%; ascent-override: 92%; }
@font-face { font-family: "Manrope Ersatz"; src: local("Segoe UI"), local("Arial"); size-adjust: 104%; ascent-override: 98%; }

/* ---------- Tokens ---------- */
:root {
  --grund: #07081a;
  --grund-2: #0b0c24;
  --tiefe: #050613;
  --panel: #10112e;
  --panel-2: #16173c;
  --panel-3: #1e2050;
  --linie: rgba(165, 172, 255, .13);
  --linie-2: rgba(165, 172, 255, .26);
  --text: #f3f4ff;
  --text-2: #c8cbef;
  --text-3: #a3a8db;
  --lese: #dcdef6;
  --cyan: #3be3ff;
  --magenta: #ff4fd8;
  --violett: #8d6bff;
  --orange: #ff8a1f;
  --gold: #ffd25e;
  --mint: #7ff2cf;
  --g-strategie: #5ee6ff;
  --g-action: #ff8466;
  --g-rollenspiel: #c9a2ff;
  --offline: #b0b4d4;
  --f-display: "Saira", "Saira Ersatz", system-ui, sans-serif;
  --f-text: "Manrope", "Manrope Ersatz", system-ui, sans-serif;
  --rand: clamp(16px, 2.8vw, 128px);
  --leiste-h: 4.25rem;
  --r-karte: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --schatten: 0 24px 50px -24px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: clamp(16px, calc(10px + .3125vw), 22px);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--leiste-h) + 1.25rem);
  scrollbar-color: #3d4090 var(--tiefe);
  background: var(--grund);
}
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100svh; overflow-x: clip;
  font: 400 1rem/1.6 var(--f-text); color: var(--text);
  background: var(--grund);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.2px 1.2px at 23px 41px, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(1px 1px at 131px 177px, rgba(200, 220, 255, .45), transparent 70%),
    radial-gradient(1.4px 1.4px at 211px 83px, rgba(255, 255, 255, .5), transparent 70%),
    radial-gradient(1px 1px at 77px 251px, rgba(255, 210, 250, .4), transparent 70%),
    radial-gradient(70rem 40rem at 10% -10%, rgba(141, 107, 255, .20), transparent 62%),
    radial-gradient(60rem 36rem at 95% 2%, rgba(59, 227, 255, .09), transparent 60%),
    radial-gradient(90rem 50rem at 50% 115%, rgba(255, 79, 216, .07), transparent 62%);
  background-size: 290px 290px, 290px 290px, 290px 290px, 290px 290px, auto, auto, auto;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
::selection { background: rgba(255, 79, 216, .42); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-klein { width: 1em; height: 1em; }
.d3 { flex: none; height: auto; user-select: none; -webkit-user-drag: none; }
.sprunglink {
  position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .75rem 1.1rem; border-radius: 12px;
  background: var(--cyan); color: #04121a; font: 700 .95rem var(--f-display); text-decoration: none; transition: top .2s;
}
.sprunglink:focus { top: 1rem; }
main:focus { outline: none; }
.zahl {
  display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.4rem; padding: 0 .4rem; border-radius: 7px;
  font: 700 .78rem/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: .02em;
  background: rgba(255, 255, 255, .09); color: var(--text-2);
}

/* ---------- Knöpfe ---------- */
.knopf {
  --h: 2.75rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: var(--h); padding: 0 1.15rem; border: 0; border-radius: 12px; cursor: pointer;
  font: 700 .9rem/1 var(--f-display); font-stretch: 108%; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, filter .25s;
}
.knopf .i { width: 1.15em; height: 1.15em; }
.knopf-icon { width: 1.9em; height: 1.9em; margin: -.4em -.1rem -.4em -.45rem; filter: drop-shadow(0 3px 3px rgba(60, 15, 0, .35)); transition: transform .35s var(--ease); }
.knopf--spielen {
  color: #1f0d00; background-color: #ff8f24;
  background-image: linear-gradient(180deg, #ffc163 0%, #ff8f24 52%, #ff6c14 100%);
  box-shadow: 0 12px 26px -12px rgba(255, 118, 26, .9), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(140, 40, 0, .35);
}
.knopf--zweit {
  color: var(--text); background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.knopf--gedaempft {
  color: #ffe4cc; background-color: #4f3e33; background-image: linear-gradient(180deg, #5b4639, #45352c);
  box-shadow: inset 0 0 0 1px rgba(255, 176, 102, .32);
}
.knopf--gedaempft .knopf-icon { filter: grayscale(.75) brightness(.9); }
.knopf-hinweis {
  display: inline-flex; align-items: center; gap: .25rem; margin-left: .3rem; height: 1.45rem; padding: 0 .45rem; border-radius: 6px;
  font-size: .72em; letter-spacing: .08em; background: rgba(10, 11, 30, .55); color: var(--offline);
}
.knopf-hinweis .i { width: 1em; height: 1em; }
.knopf--gross { --h: 3.25rem; padding: 0 1.45rem; font-size: 1rem; border-radius: 14px; }
.knopf--xl { --h: 3.75rem; padding: 0 1.75rem; font-size: 1.08rem; border-radius: 16px; }
@media (hover: hover) {
  .knopf--spielen:hover { transform: translateY(-2px); filter: brightness(1.06) saturate(1.06); box-shadow: 0 16px 34px -12px rgba(255, 118, 26, 1), 0 0 0 1px rgba(255, 210, 150, .55), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(140, 40, 0, .35); }
  .knopf--spielen:hover .knopf-icon { transform: rotate(-14deg) scale(1.1); }
  .knopf--zweit:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .65), 0 0 22px -4px rgba(59, 227, 255, .45); }
  .knopf--zweit:hover .i { transform: translateX(3px); }
  .knopf--gedaempft:hover { filter: brightness(1.12); box-shadow: inset 0 0 0 1px rgba(255, 176, 102, .6); transform: translateY(-1px); }
}
.knopf .i { transition: transform .25s var(--ease); }
.knopf:active { transform: translateY(1px) scale(.985); }
.knopf:focus-visible { outline-offset: 3px; border-radius: 14px; }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.badge {
  --c: var(--text-2);
  display: inline-flex; align-items: center; gap: .3rem; height: 1.8rem; padding: 0 .6rem 0 .28rem; border-radius: 9px;
  font: 700 .76rem/1 var(--f-display); font-stretch: 106%; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
  color: color-mix(in srgb, var(--c) 82%, #fff);
  background: color-mix(in srgb, var(--c) 15%, rgba(9, 10, 30, .78));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 42%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.badge .d3 { width: 1.4rem; height: 1.4rem; }
.badge .i { width: 1rem; height: 1rem; margin-left: .2rem; }
.badge--strategie { --c: var(--g-strategie); }
.badge--action { --c: var(--g-action); }
.badge--rollenspiel { --c: var(--g-rollenspiel); }
.badge--gratis { --c: var(--gold); }
.badge--browser { --c: var(--mint); }
.badge--offline { --c: var(--offline); }
.offline-kz { color: var(--text-3); font-weight: 600; }

/* ---------- Launcher-Leiste ---------- */
.leiste {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 27, .8); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--linie), 0 10px 30px -20px rgba(0, 0, 0, .9);
}
.leiste-innen { display: flex; align-items: center; gap: clamp(.5rem, 1.2vw, 1.5rem); height: var(--leiste-h); padding: 0 var(--rand); }
.leiste-marke { display: block; flex: none; border-radius: 12px; }
.wortmarke { height: 2.75rem; width: auto; }
.leiste-marke:hover .wm-emblem { filter: brightness(1.12); }
.leiste-nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.leiste-link {
  display: inline-flex; align-items: center; gap: .45rem; height: 2.75rem; padding: 0 .8rem; border: 0; border-radius: 11px; cursor: pointer;
  background: none; color: var(--text-2); text-decoration: none;
  font: 700 .86rem/1 var(--f-display); font-stretch: 108%; letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.leiste-link .d3 { width: 1.75rem; height: 1.75rem; transition: transform .35s var(--ease); }
.leiste-link:hover, .leiste-link[aria-expanded="true"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.leiste-link:hover .d3 { transform: rotate(-10deg) translateY(-2px) scale(1.08); }
.leiste-spiele { color: var(--text); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--linie); }
.leiste-spiele .i-klein { transition: transform .25s var(--ease); }
.leiste-spiele[aria-expanded="true"] .i-klein { transform: rotate(180deg); }
.leiste-suche { margin-left: auto; width: min(22rem, 24vw); }
.knopf-zufall {
  position: relative; display: inline-flex; align-items: center; gap: .5rem; height: 2.75rem; padding: 0 1rem 0 2.9rem; border: 0; border-radius: 12px; cursor: pointer;
  font: 700 .86rem/1 var(--f-display); font-stretch: 108%; letter-spacing: .06em; text-transform: uppercase; color: var(--text);
  background: linear-gradient(135deg, rgba(141, 107, 255, .42), rgba(255, 79, 216, .3));
  box-shadow: inset 0 0 0 1px rgba(214, 170, 255, .45), 0 8px 22px -12px rgba(255, 79, 216, .8);
  transition: box-shadow .25s, transform .25s var(--ease);
}
.zufall-wuerfel { position: absolute; left: .2rem; top: 50%; width: 2.6rem; height: 2.6rem; translate: 0 -50%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); transition: transform .45s var(--ease); }
.knopf-zufall:hover { box-shadow: inset 0 0 0 1px rgba(234, 200, 255, .8), 0 10px 28px -10px rgba(255, 79, 216, 1); transform: translateY(-1px); }
.knopf-zufall:hover .zufall-wuerfel { transform: rotate(-20deg) scale(1.12); }
.leiste-menue {
  display: none; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--linie-2); color: var(--text);
}
.leiste-menue .i { width: 1.4rem; height: 1.4rem; }

/* Suche */
.suche { position: relative; }
.suche-lupe { position: absolute; left: .85rem; top: 1.375rem; translate: 0 -50%; color: var(--text-3); pointer-events: none; }
.suche-feld {
  width: 100%; height: 2.75rem; padding: 0 1rem 0 2.65rem; border-radius: 12px; border: 1px solid var(--linie-2);
  background: #131430; color: var(--text); font: 500 .95rem var(--f-text); appearance: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.suche-feld::placeholder { color: var(--text-2); opacity: 1; }
.suche-feld::-webkit-search-cancel-button { appearance: none; }
.suche-feld:hover { border-color: rgba(165, 172, 255, .4); }
.suche-feld:focus { outline: none; border-color: var(--cyan); background: #181a3c; box-shadow: 0 0 0 3px rgba(59, 227, 255, .22); }
.suche-treffer {
  position: absolute; left: 0; top: calc(100% + .5rem); z-index: 70; width: max(100%, 23rem); max-height: min(70vh, 30rem); overflow: auto;
  padding: .45rem; border-radius: 16px; background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--linie-2), 0 30px 60px -20px rgba(0, 0, 0, .95);
}
.leiste-suche .suche-treffer { left: auto; right: 0; }
.treffer {
  display: grid; grid-template-columns: 4.25rem 1fr; gap: .8rem; align-items: center; padding: .45rem; border-radius: 11px;
  color: var(--text); text-decoration: none;
}
.treffer img { width: 4.25rem; height: auto; aspect-ratio: 30 / 23; object-fit: cover; border-radius: 7px; }
.treffer-titel { display: block; font: 700 1rem/1.2 var(--f-display); }
.treffer-titel mark { background: none; color: var(--cyan); }
.treffer-meta { display: block; margin-top: .2rem; font: 600 .74rem/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.treffer[aria-selected="true"], .treffer:hover { background: rgba(59, 227, 255, .1); box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .3); }
.treffer--offline img { filter: grayscale(.8) brightness(.75); }
.treffer-leer { padding: .9rem; color: var(--text-2); font-size: .95rem; }
.treffer-alle { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .3rem; padding: .7rem; border-radius: 10px; color: var(--cyan); font: 700 .8rem var(--f-display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; border-top: 1px solid var(--linie); }
.treffer-alle:hover { background: rgba(59, 227, 255, .08); }

/* Mega-Menü */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 45; max-height: calc(100svh - var(--leiste-h)); overflow: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #0b0c25, #090a1d);
  box-shadow: 0 1px 0 var(--linie-2) inset, 0 40px 80px -30px rgba(0, 0, 0, .95);
}
.mega-innen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 1.5rem 2.25rem; padding: 1.75rem var(--rand) 1.5rem; }
.mega-suche { display: none; grid-column: 1 / -1; }
.mega-kopf { display: flex; align-items: center; gap: .55rem; margin: 0 0 .7rem; padding-bottom: .65rem; border-bottom: 1px solid var(--linie); font: 700 .86rem/1 var(--f-display); font-stretch: 108%; letter-spacing: .08em; text-transform: uppercase; }
.mega-kopf .d3 { width: 2.2rem; height: 2.2rem; margin: -.4rem 0; }
.mega-kopf .zahl { margin-left: auto; }
.mega-gruppe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mega-gruppe a { display: flex; align-items: center; gap: .7rem; padding: .3rem .45rem; border-radius: 10px; color: var(--text-2); text-decoration: none; font: 600 .95rem/1.3 var(--f-text); transition: background-color .15s, color .15s; }
.mega-gruppe a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.mega-bild { width: 3.3rem; height: auto; aspect-ratio: 30 / 23; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.mega-gruppe--archiv ul { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.mega-gruppe--archiv a { color: var(--text-3); padding: .38rem .45rem; font-size: .9rem; }
.mega-fuss { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: .75rem; padding-top: 1.1rem; border-top: 1px solid var(--linie); }
.mega-fuss .d3 { width: 1.7rem; height: 1.7rem; }

/* ---------- Titelzeile (h1) ---------- */
.titelzeile { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding: 1.15rem var(--rand) 1rem; }
.titel-h1 { font: 700 1.15rem/1.15 var(--f-display); font-size: clamp(1.15rem, .9rem + .6vw, 1.75rem); font-stretch: 104%; letter-spacing: .005em; color: var(--text-2); text-wrap: balance; }
.titel-marke { color: var(--text); }
.titel-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.titel-chips li {
  display: inline-flex; align-items: center; gap: .4rem; height: 2.35rem; padding: 0 .95rem 0 .35rem; border-radius: 999px;
  font: 700 .78rem/1 var(--f-display); font-stretch: 106%; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
  background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--linie);
}
.titel-chips .d3 { width: 1.95rem; height: 1.95rem; margin: -.3rem 0; }

/* ---------- Spotlight ---------- */
.spot {
  --spot-h: clamp(28rem, min(100svh - 18.5rem, 64vh), 60rem);
  --leiste-w: clamp(17rem, 19vw, 26rem);
  display: grid; grid-template-columns: minmax(0, 1fr) var(--leiste-w); gap: 1rem; padding: 0 var(--rand);
}
.spot-buehne {
  position: relative; height: var(--spot-h); border-radius: 26px; overflow: hidden; isolation: isolate;
  background: #0a0b25; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 1), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.spot-hg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.spot-hg-bild { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(42px) saturate(1.55) brightness(.78); opacity: 0; transition: opacity .9s ease; }
.spot-hg-bild.ist-aktiv { opacity: .95; }
.spot-keyart {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, .3) 30%, #000 64%); mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, .3) 30%, #000 64%);
}
.spot-buehne::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 8, 26, .9) 0%, rgba(7, 8, 26, .66) 32%, rgba(7, 8, 26, .1) 58%, rgba(7, 8, 26, 0) 70%),
    linear-gradient(0deg, rgba(7, 8, 26, .8) 0%, rgba(7, 8, 26, 0) 32%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); border-radius: inherit;
}
.spot-folien { position: absolute; inset: 0; z-index: 3; display: grid; }
.spot-folie {
  grid-area: 1 / 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 2rem;
  padding: clamp(1.5rem, 3vw, 4.5rem) clamp(1.5rem, 3.4vw, 5rem) clamp(4.75rem, 6vw, 7rem);
  visibility: hidden;
}
.spot-folie.ist-aktiv { visibility: visible; }
.spot-text { display: grid; justify-items: start; gap: 1.05rem; max-width: 42rem; min-width: 0; }
.spot-titel {
  font: 800 2.4rem/.94 var(--f-display); font-size: clamp(2.4rem, 1rem + 3.3vw, 6.4rem); font-stretch: 116%; text-transform: uppercase; letter-spacing: -.005em;
  text-wrap: balance; text-shadow: 0 6px 34px rgba(0, 0, 0, .55);
}
.spot-titel--mittel { font-size: clamp(2.1rem, .9rem + 2.7vw, 5.3rem); }
.spot-titel--lang { font-size: clamp(1.85rem, .8rem + 2.15vw, 4.3rem); }
.spot-titel a { color: var(--text); text-decoration: none; }
.spot-titel a:hover { color: #fff; text-shadow: 0 0 30px rgba(59, 227, 255, .55); }
.spot-auszug {
  font: 500 1rem/1.6 var(--f-text); font-size: clamp(1rem, .9rem + .28vw, 1.2rem); color: var(--text-2); max-width: 52ch;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.spot-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.spot-galerie { position: relative; justify-self: center; width: min(86%, 600px); aspect-ratio: 30 / 23; margin: 0 4% 0 10%; }
.spot-bild { position: absolute; height: auto; border-radius: 16px; }
.spot-bild--haupt {
  inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
  transform: perspective(1400px) rotateY(-9deg) rotateX(2deg);
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .26), 0 0 46px -6px rgba(59, 227, 255, .38);
}
.spot-bild--zweit {
  width: 54%; left: -17%; bottom: -15%; z-index: 1; transform: rotate(-6deg);
  filter: brightness(.72) saturate(1.1);
  box-shadow: 0 24px 44px -16px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .16);
}
.spot-sticker { position: absolute; z-index: 3; width: 27%; right: -8%; top: -14%; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .55)); animation: schweben 6s ease-in-out infinite; }
.spot-steuer { position: absolute; z-index: 4; left: clamp(1.5rem, 3.4vw, 5rem); bottom: clamp(1.25rem, 2vw, 2.25rem); display: flex; gap: .5rem; }
.spot-pfeil, .spot-pause {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; cursor: pointer; color: var(--text);
  background: rgba(10, 11, 32, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color .2s, box-shadow .2s;
}
.spot-pfeil:hover, .spot-pause:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .7), 0 0 18px -4px rgba(59, 227, 255, .6); }
.spot-pause .i-play { display: none; }
.spot-pause[aria-pressed="true"] .i-play { display: block; }
.spot-pause[aria-pressed="true"] .i-pause { display: none; }
.ruhig .spot-pause, html:not(.js) .spot-steuer { display: none; }
.spot-leiste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); gap: .6rem; height: var(--spot-h); }
.spot-leiste li { min-height: 0; }
.spot-vorschau {
  position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .85rem;
  padding: .55rem .9rem .55rem .55rem; border: 0; border-radius: 16px; cursor: pointer; overflow: hidden; text-align: left;
  background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--linie); color: var(--text-2);
  transition: background-color .3s, box-shadow .3s;
}
.sv-bild { height: 100%; max-height: 6.2rem; width: auto; aspect-ratio: 30 / 23; object-fit: cover; border-radius: 10px; filter: brightness(.82) saturate(.9); transition: filter .3s; }
.sv-titel { display: block; font: 700 1.02rem/1.15 var(--f-display); font-stretch: 104%; color: var(--text-2); }
.sv-genre { display: block; margin-top: .35rem; font: 700 .7rem/1 var(--f-display); letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); }
.sv-fortschritt { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .07); }
.sv-fortschritt span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--cyan), var(--magenta)); }
.spot-vorschau:hover { background: rgba(255, 255, 255, .07); }
.spot-vorschau:hover .sv-bild { filter: none; }
.spot-vorschau.ist-aktiv { background: linear-gradient(100deg, rgba(141, 107, 255, .3), rgba(59, 227, 255, .1)); box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .45), 0 0 26px -6px rgba(59, 227, 255, .35); }
.spot-vorschau.ist-aktiv .sv-bild { filter: none; }
.spot-vorschau.ist-aktiv .sv-titel { color: var(--text); }
.spot-vorschau.ist-aktiv .sv-fortschritt span { transform: scaleX(var(--fort, 1)); }
.spot.laeuft .spot-vorschau.ist-aktiv .sv-fortschritt span { animation: fortschritt var(--dauer, 8s) linear forwards; }
.spot.pausiert .spot-vorschau.ist-aktiv .sv-fortschritt span { animation-play-state: paused; }
@keyframes fortschritt { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Abschnitte ---------- */
.abschnitt-kopf { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.abschnitt-titel { display: flex; align-items: center; gap: .75rem; font: 700 1.55rem/1.15 var(--f-display); font-size: clamp(1.55rem, 1.1rem + 1.1vw, 2.5rem); font-stretch: 104%; text-wrap: balance; }
.titel-icon { width: 3rem; height: 3rem; margin: -.5rem 0; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
.bibliothek { padding: 2.25rem var(--rand) 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; height: 2.85rem; padding: 0 .75rem 0 .4rem; border: 0; border-radius: 14px; cursor: pointer;
  font: 700 .86rem/1 var(--f-display); font-stretch: 108%; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
  background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--linie-2);
  transition: background-color .2s, box-shadow .2s, color .2s, transform .25s var(--ease);
}
.chip .d3 { width: 2.1rem; height: 2.1rem; margin: -.3rem 0; transition: transform .35s var(--ease); }
.chip:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.chip:hover .d3 { transform: rotate(-10deg) scale(1.1); }
.chip[aria-pressed="true"] {
  color: var(--text); background: linear-gradient(120deg, rgba(141, 107, 255, .45), rgba(59, 227, 255, .2));
  box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .6), 0 0 24px -6px rgba(59, 227, 255, .5);
}
.chip[aria-pressed="true"] .zahl { background: rgba(255, 255, 255, .18); color: var(--text); }

/* ---------- Raster + Spielkarten ---------- */
.raster { --spalten: 4; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--spalten), minmax(0, 1fr)); gap: clamp(1rem, 1.5vw, 1.9rem); }
.karte, .kachel { position: relative; min-width: 0; }
.karte[hidden], .kachel[hidden] { display: none !important; }
.ist-weg { display: none; }
.karte { --glow: var(--g-strategie); }
.karte[data-genres^="action"] { --glow: var(--g-action); }
.karte[data-genres^="rollenspiel"] { --glow: var(--g-rollenspiel); }
.karte-innen, .kachel-innen {
  position: relative; height: 100%; display: grid; grid-template-areas: "medien" "titel" "aktionen"; grid-template-rows: auto auto 1fr;
  border-radius: var(--r-karte); background: linear-gradient(180deg, var(--panel-2), var(--panel) 70%);
  box-shadow: inset 0 0 0 1px var(--linie), 0 18px 34px -22px rgba(0, 0, 0, .9);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.karte-medien { grid-area: medien; position: relative; overflow: hidden; border-radius: var(--r-karte) var(--r-karte) 0 0; aspect-ratio: 30 / 23; background: #0d0e2a; }
.karte-bild { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.karte-innen > .badges { grid-area: medien; align-self: start; justify-self: start; position: relative; z-index: 2; margin: .7rem; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.karte-auszug {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0; padding: 2.4rem 1rem .85rem;
  font: 500 .9rem/1.5 var(--f-text); color: var(--text-2);
  background: linear-gradient(0deg, rgba(10, 11, 32, .97) 0%, rgba(10, 11, 32, .9) 52%, rgba(10, 11, 32, 0) 100%);
  max-height: calc(3em + 3.3rem); overflow: hidden; transition: max-height .5s var(--ease), padding .4s var(--ease), background-color .3s;
}
.karte-auszug > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.karte-titel { grid-area: titel; padding: .95rem .95rem .1rem; font: 700 1.22rem/1.2 var(--f-display); font-stretch: 106%; text-wrap: balance; }
.karte-link { color: var(--text); text-decoration: none; }
.karte-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-karte); }
.karte-link:focus-visible { outline: none; }
.karte-link:focus-visible::after { outline: 2px solid var(--cyan); outline-offset: 3px; }
.karte-aktionen { grid-area: aktionen; align-self: end; position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: .7rem .95rem .95rem; }
.karte-aktionen .knopf--spielen { flex: 1 1 auto; --h: 2.6rem; padding: 0 .8rem; gap: .45rem; font-size: .8rem; letter-spacing: .045em; }
.karte-aktionen .knopf--spielen .knopf-icon { width: 1.75em; height: 1.75em; }
.karte-aktionen .knopf--zweit { flex: 0 0 auto; --h: 2.6rem; padding: 0 .8rem; font: 700 .88rem/1 var(--f-text); text-transform: none; letter-spacing: 0; }
.karte-aktionen .knopf-hinweis { display: none; }
@media (hover: hover) {
  .karte:hover .karte-innen, .karte:focus-within .karte-innen {
    transform: translateY(-6px);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--glow) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--glow) 28%, transparent),
      0 26px 50px -20px rgba(0, 0, 0, .95), 0 0 40px -8px color-mix(in srgb, var(--glow) 45%, transparent);
  }
  .karte:hover .karte-bild { transform: scale(1.07); }
  .karte:hover .karte-innen > .badges, .karte:focus-within .karte-innen > .badges { opacity: 0; transform: translateY(-8px); }
  .karte:hover .karte-auszug > span, .karte:focus-within .karte-auszug > span { -webkit-line-clamp: unset; line-clamp: none; }
  .karte:hover .karte-auszug, .karte:focus-within .karte-auszug {
    max-height: 100%; padding-top: 1rem; background-color: rgba(10, 11, 32, .9);
    background-image: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--text);
  }
}
.karte--offline .karte-bild { filter: grayscale(.85) brightness(.7); }
.karte--offline:hover .karte-bild { filter: grayscale(.4) brightness(.85); }
.karte--offline { --glow: var(--offline); }

/* Werkzeug-Kacheln */
.kachel-innen { grid-template-areas: "bild" "titel" "text" "aktion"; grid-template-rows: auto auto auto 1fr; text-decoration: none; color: inherit; padding-bottom: 1.05rem;
  background: radial-gradient(120% 80% at 50% 0%, rgba(141, 107, 255, .26), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel) 70%); }
.kachel-bild { grid-area: bild; position: relative; aspect-ratio: 30 / 23; display: grid; place-items: center; overflow: hidden; border-radius: var(--r-karte) var(--r-karte) 0 0; }
.kachel-titel { grid-area: titel; padding: .2rem 1.05rem .2rem; font: 800 1.3rem/1.15 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.kachel-text { grid-area: text; padding: .25rem 1.05rem .6rem; color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.kachel-innen > .knopf, .kachel-innen > .suche { grid-area: aktion; align-self: end; justify-self: start; margin: 0 1.05rem; }
.kachel-innen > .suche { justify-self: stretch; }
.kachel-portal { width: 72%; height: auto; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .5)); }
.kachel-wuerfel { position: absolute; width: 38%; height: auto; right: 12%; bottom: 6%; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5)); transition: transform .6s var(--ease); }
.kachel-figur { width: 74%; height: auto; margin-top: 8%; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); animation: schweben 7s ease-in-out infinite; }
.kachel-kiste { width: 66%; height: auto; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); transition: transform .5s var(--ease); }
.kachel .knopf .d3 { width: 1.75rem; height: 1.75rem; margin: -.3rem -.1rem -.3rem -.4rem; }
@media (hover: hover) {
  .kachel:hover .kachel-innen { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 79, 216, .6), 0 26px 50px -20px rgba(0, 0, 0, .95), 0 0 40px -8px rgba(255, 79, 216, .4); }
  .kachel--zufall:hover .kachel-wuerfel { transform: rotate(-24deg) translate(-6px, -8px); }
  .kachel--archiv:hover .kachel-kiste { transform: scale(1.06) rotate(-3deg); }
}
.kachel-ganz:focus-visible { outline-offset: 4px; border-radius: var(--r-karte); }

/* ---------- Anzeigen ---------- */
.ws-anzeige {
  position: relative; margin: 3.5rem var(--rand) 0; min-height: 280px; display: grid; padding: 2.4rem 1rem 1rem;
  border-radius: 20px; background: radial-gradient(80% 120% at 100% 0%, rgba(141, 107, 255, .1), transparent 60%), var(--panel);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.ws-anzeige-label { position: absolute; left: 1rem; top: .8rem; font: 700 .72rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.ws-anzeige-flaeche { display: grid; place-items: center; border-radius: 12px; border: 1px dashed rgba(165, 172, 255, .2); color: var(--text-3); font-size: .85rem; text-align: center; padding: 1rem; }
.ws-anzeige--seite { margin: 0; min-height: 600px; }

/* ---------- Vorteile ---------- */
.vorteile { padding: 6.5rem var(--rand) 0; }
.vorteile-liste {
  list-style: none; margin: 0; padding: 3rem clamp(1.25rem, 2.6vw, 3.5rem) 2.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 2.4vw, 3rem);
  border-radius: 28px; position: relative;
  background: radial-gradient(60% 120% at 0% 0%, rgba(141, 107, 255, .35), transparent 60%), radial-gradient(50% 120% at 100% 100%, rgba(59, 227, 255, .16), transparent 60%), linear-gradient(135deg, #1a1650, #111339 55%, #0d1838);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.vorteil { position: relative; display: grid; align-content: start; gap: .55rem; padding-top: 3.6rem; }
.vorteil-icon { position: absolute; left: -.6rem; top: -6.4rem; width: 8.5rem; height: 8.5rem; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .55)); transition: transform .5s var(--ease); }
.vorteil:hover .vorteil-icon { transform: rotate(-8deg) translateY(-4px); }
.vorteil-label { font: 800 1.3rem/1.1 var(--f-display); font-stretch: 116%; text-transform: uppercase; letter-spacing: .02em; }
.vorteil-zitat { margin: 0; }
.vorteil-zitat p { font: 500 .98rem/1.6 var(--f-text); color: var(--text-2); }

/* ---------- Archiv ---------- */
.archiv { padding: 5rem var(--rand) 0; }
.archiv-kopf { display: flex; align-items: flex-end; gap: 1.25rem; margin-bottom: 1.5rem; }
.archiv-figur { width: clamp(7.5rem, 9vw, 11rem); height: auto; margin: -2rem 0 -1rem -1rem; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .5)); }
.archiv-kopf-text { display: grid; gap: .5rem; padding-bottom: .4rem; }
.zahl--gross { height: 2rem; min-width: 2.4rem; font-size: 1.05rem; border-radius: 10px; background: rgba(176, 180, 212, .16); color: var(--offline); }
.archiv-hinweis { display: flex; align-items: center; gap: .45rem; color: var(--text-3); font-size: .95rem; }
.archiv-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.akarte { position: relative; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--linie); overflow: hidden; transition: box-shadow .3s; }
.akarte:hover { box-shadow: inset 0 0 0 1px rgba(176, 180, 212, .45); }
.akarte-bild { position: relative; display: block; aspect-ratio: 30 / 23; overflow: hidden; }
.akarte-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) brightness(.62) contrast(.95); transition: filter .4s, transform .6s var(--ease); }
.akarte:hover .akarte-img { filter: grayscale(.35) brightness(.85); transform: scale(1.04); }
.akarte-stecker { position: absolute; right: .5rem; top: .5rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px; background: rgba(9, 10, 30, .8); color: var(--offline); box-shadow: inset 0 0 0 1px rgba(176, 180, 212, .3); }
.akarte-stecker .i { width: 1.1rem; height: 1.1rem; }
.akarte-text { padding: .75rem .85rem .85rem; display: grid; gap: .45rem; }
.akarte-titel { font: 700 1rem/1.3 var(--f-display); font-stretch: 104%; }
.akarte-titel a { color: var(--text-2); text-decoration: none; }
.akarte-titel a:hover { color: var(--text); }
.akarte-titel .offline-kz { font-size: .82em; }
.akarte-meta { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; font: 700 .7rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.badge-mini { display: inline-flex; align-items: center; gap: .2rem; color: var(--offline); }
.badge-mini .i { width: .95rem; height: .95rem; }
.akarte-mehr summary {
  display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; list-style: none; border-radius: 6px;
  font: 700 .74rem/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; color: var(--cyan); padding: .3rem 0;
}
.akarte-mehr summary::-webkit-details-marker { display: none; }
.akarte-mehr summary .i { transition: transform .25s var(--ease); }
.akarte-mehr[open] summary .i { transform: rotate(180deg); }
.akarte-mehr p { margin-top: .4rem; font-size: .86rem; line-height: 1.55; color: var(--text-2); }

/* ---------- Lesetext ---------- */
.lesetext { font: 400 1.0625rem/1.75 var(--f-text); color: var(--lese); }
.lesetext > * + * { margin-top: 1.15em; }
.lesetext p { max-width: 68ch; }
.lesetext .lead { font-size: 1.18rem; line-height: 1.7; color: var(--text); }
.lesetext h2 { margin-top: 2.3em; font: 700 1.5rem/1.2 var(--f-display); font-size: clamp(1.5rem, 1.15rem + .9vw, 2.1rem); font-stretch: 104%; color: var(--text); text-wrap: balance; scroll-margin-top: 9rem; }
.lesetext h3 { margin-top: 1.9em; font: 700 1.36rem/1.3 var(--f-display); font-stretch: 104%; color: var(--text); text-wrap: balance; scroll-margin-top: 9rem; }
.lesetext h2 + *, .lesetext h3 + * { margin-top: .6em; }
.lesetext a { color: #7fecff; text-decoration: underline; text-decoration-color: rgba(59, 227, 255, .45); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color .2s, color .2s; }
.lesetext a:hover { color: #fff; text-decoration-color: currentColor; }
.lesetext u { text-decoration: none; }
.lesetext b, .lesetext strong { font-weight: 700; color: var(--text); }
.lesetext ul, .lesetext ol { max-width: 66ch; padding-left: 1.3em; }
.lesetext li + li { margin-top: .35em; }
.lesetext li::marker { color: var(--cyan); }
.abb { margin: 1.5em 0; }
.abb img { border-radius: 14px; box-shadow: 0 0 0 1px var(--linie-2); }

/* Video (lädt erst nach Klick) */
.video { margin: 2em 0; max-width: 46rem; }
.video-start { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: #000; box-shadow: inset 0 0 0 1px var(--linie-2), 0 24px 50px -26px #000; }
.video-bild { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); transition: transform .6s var(--ease), filter .3s; }
.video-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 5.25rem; height: 5.25rem; border-radius: 50%;
  color: #1f0d00; background: linear-gradient(180deg, #ffc163, #ff6c14);
  box-shadow: 0 0 0 10px rgba(255, 138, 31, .2), 0 18px 40px -10px rgba(255, 118, 26, .9); transition: transform .3s var(--ease), box-shadow .3s;
}
.video-play .i { width: 2.3rem; height: 2.3rem; margin-left: .3rem; }
.video-label { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .7rem; border-radius: 9px; background: rgba(9, 10, 30, .75); font: 700 .78rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.video-start:hover .video-bild { transform: scale(1.04); filter: brightness(.9); }
.video-start:hover .video-play { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255, 138, 31, .22), 0 20px 46px -10px rgba(255, 118, 26, 1); }
.video-ersatz { position: absolute; inset: 0; display: block; }
.video-ersatz-figur { position: absolute; right: 6%; bottom: 4%; width: 26%; }
.video-hinweis { display: flex; align-items: center; gap: .5rem; margin-top: .65rem; font-size: .88rem; color: var(--text-3); }
.video-hinweis .i { color: var(--mint); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; background: #000; }

/* ---------- Über (Startseitentext) ---------- */
.ueber { padding: 5.5rem var(--rand) 0; max-width: 120rem; margin: 0 auto; }
.ueber-oben { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 3.5vw, 4.5rem); align-items: start; }
.ueber-figur { align-self: start; }
.ueber-maskottchen { width: clamp(8rem, 10vw, 13rem); height: auto; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .5)); animation: schweben 7s ease-in-out infinite; }
.ueber-erster > :first-child { margin-top: 0; }
.ueber-schalter { position: relative; display: flex; justify-content: center; margin-top: 2.25rem; }
.ueber-schalter::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--linie-2) 20%, var(--linie-2) 80%, transparent); }
.ueber-knopf { position: relative; }
.ueber-knopf, .ueber-knopf:hover { background-color: var(--panel-2); }
.ueber-pfeil { transition: transform .35s var(--ease); }
.ueber-knopf[aria-expanded="true"] .ueber-pfeil { transform: rotate(180deg); }
html:not(.js) .ueber-schalter { display: none; }
html:not(.js) .ueber-mehr[hidden] { content-visibility: visible; display: block; }
.ueber-mehr { margin-top: 2.5rem; columns: 2 30rem; column-gap: clamp(2.5rem, 4vw, 5rem); column-rule: 1px solid var(--linie); }
.ueber-mehr > :first-child, .ueber-mehr .top-eintrag:first-child { margin-top: 0; }
.ueber-mehr h2, .ueber-mehr h3 { break-after: avoid; }
.ueber-mehr .top-bild, .ueber-mehr .video, .ueber-mehr figure, .ueber-mehr h3 + figure { break-inside: avoid; }
.ueber-mehr .top-eintrag { break-inside: avoid-column; }
.ueber-mehr .video { max-width: none; }
.top-eintrag { display: flow-root; margin-top: 2.2em; padding-top: 1.6em; border-top: 1px solid var(--linie); }
.top-eintrag h3 { margin-top: 0; }
.top-bild { float: right; width: min(300px, 44%); margin: .35em 0 1em 1.75em; }
.top-bild img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--linie-2), 0 20px 34px -18px #000; }
.top-eintrag-text > * + * { margin-top: 1.15em; }

/* ---------- Spielseite ---------- */
.spielkopf { position: relative; isolation: isolate; overflow: hidden; padding: 1.25rem var(--rand) clamp(3rem, 5vw, 5.5rem); }
.spielkopf-buehne { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.spielkopf-hg { position: absolute; inset: -14%; width: 128%; height: 128%; max-width: none; object-fit: cover; filter: blur(50px) saturate(1.6) brightness(.66); }
.spielkopf-buehne::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 26, .82) 0%, rgba(7, 8, 26, .35) 55%, rgba(7, 8, 26, .15) 100%), linear-gradient(180deg, rgba(7, 8, 26, 0) 55%, var(--grund) 100%);
}
.ist-offline .spielkopf-hg { filter: blur(50px) grayscale(.85) brightness(.55); }
.spielkopf-innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "krumen krumen" "text galerie"; align-items: center; gap: 1.5rem clamp(2rem, 4vw, 6rem); max-width: 110rem; margin: 0 auto; }
.brotkrumen { grid-area: krumen; }
.brotkrumen ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; font: 700 .78rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.brotkrumen li + li::before { content: ""; display: inline-block; width: .4rem; height: .4rem; margin: 0 .7rem .1rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.brotkrumen a { color: var(--text-2); text-decoration: none; border-radius: 4px; }
.brotkrumen a:hover { color: var(--text); }
.brotkrumen [aria-current] { color: var(--text); }
.spielkopf-text { grid-area: text; display: grid; justify-items: start; gap: 1.1rem; min-width: 0; }
.spiel-h1 { font: 800 2.6rem/.94 var(--f-display); font-size: clamp(2.6rem, 1rem + 4.2vw, 7rem); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; text-shadow: 0 6px 34px rgba(0, 0, 0, .5); }
.spiel-h1--mittel { font-size: clamp(2.3rem, .9rem + 3.4vw, 5.8rem); }
.spiel-h1--lang { font-size: clamp(2rem, .8rem + 2.6vw, 4.6rem); }
.spiel-h1 .offline-kz { display: inline-block; font-size: clamp(1rem, .7rem + .9vw, 2.3rem); font-stretch: 104%; letter-spacing: .08em; vertical-align: .55em; color: var(--offline); }
.spielkopf-auszug { font: 500 1.02rem/1.62 var(--f-text); font-size: clamp(1.02rem, .92rem + .3vw, 1.25rem); color: var(--text-2); max-width: 56ch; }
.spielkopf-aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .35rem; }
.spielkopf-galerie { grid-area: galerie; position: relative; justify-self: center; width: min(84%, 600px); aspect-ratio: 30 / 23; margin: 1rem 6% 3.5rem 12%; }
.galerie-bild { position: absolute; display: block; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.galerie-bild--1 { inset: 0; z-index: 2; transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .26), 0 0 50px -8px rgba(59, 227, 255, .38); transition: transform .5s var(--ease), box-shadow .4s; }
.galerie-bild--2 { width: 52%; aspect-ratio: 30 / 23; left: -16%; bottom: -20%; z-index: 3; transform: rotate(-5deg); box-shadow: 0 26px 46px -16px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .3); transition: transform .5s var(--ease); }
.galerie-zoom { position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 10px; background: rgba(9, 10, 30, .75); color: var(--text); opacity: .85; transition: opacity .2s; }
.galerie-bild:hover img { transform: scale(1.05); }
.galerie-bild--1:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.galerie-bild--2:hover { transform: rotate(-2deg) scale(1.04); }
.galerie-bild:hover .galerie-zoom { opacity: 1; }
.spielkopf-figur { position: absolute; z-index: 4; right: -9%; bottom: -24%; width: 36%; height: auto; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .55)); animation: schweben 6.5s ease-in-out infinite; pointer-events: none; }
.ist-offline .galerie-bild img { filter: grayscale(.6) brightness(.85); }

/* Mitlaufende Aktionsleiste */
.aktionsleiste {
  position: fixed; left: 0; right: 0; top: var(--leiste-h); z-index: 40; visibility: hidden; transform: translateY(-115%);
  background: rgba(10, 11, 32, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--linie-2), 0 16px 30px -20px rgba(0, 0, 0, .9);
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.aktionsleiste.ist-sichtbar { visibility: visible; transform: none; transition: transform .4s var(--ease), visibility 0s; }
.aktionsleiste-innen { display: flex; align-items: center; gap: 1rem; padding: .55rem var(--rand); }
.al-bild { width: 3.6rem; height: auto; aspect-ratio: 30 / 23; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px var(--linie-2); }
.ist-offline .al-bild { filter: grayscale(.8); }
.al-titel { font: 800 1.15rem/1.1 var(--f-display); font-stretch: 112%; text-transform: uppercase; white-space: nowrap; }
.al-titel .offline-kz { font-size: .7em; }
.al-knopf { margin-left: auto; }

/* Layout Test + Seitenleiste */
.spiel-layout { display: grid; grid-template-columns: 14rem minmax(0, 46rem) 19.5rem; justify-content: center; align-items: start; gap: clamp(2rem, 3vw, 4rem); padding: 2.5rem var(--rand) 0; }
.toc { position: sticky; top: calc(var(--leiste-h) + 5.5rem); padding: 1rem 0; }
.toc-titel { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; font: 700 .78rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; border-left: 1px solid var(--linie-2); }
.toc a { position: relative; display: block; padding: .45rem .75rem .45rem 1rem; color: var(--text-3); text-decoration: none; font: 600 .9rem/1.35 var(--f-text); border-radius: 0 8px 8px 0; transition: color .2s, background-color .2s; }
.toc .toc-h3 a { padding-left: 1.8rem; font-size: .86rem; }
.toc a::before { content: ""; position: absolute; left: -1px; top: .3rem; bottom: .3rem; width: 2px; border-radius: 2px; background: transparent; transition: background-color .2s; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.toc a.ist-aktiv { color: var(--text); }
.toc a.ist-aktiv::before { background: linear-gradient(180deg, var(--cyan), var(--magenta)); box-shadow: 0 0 10px rgba(59, 227, 255, .7); }
.spiel-text { min-width: 0; }
.spiel-seite { position: sticky; top: calc(var(--leiste-h) + 5.5rem); display: grid; gap: 1.5rem; }
.steckbrief { display: grid; gap: 1rem; padding: 1.15rem; border-radius: 20px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--linie), var(--schatten); }
.steckbrief-titel { display: flex; align-items: center; gap: .75rem; font: 800 1.15rem/1.1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.steckbrief-bild { width: 4.4rem; height: auto; aspect-ratio: 30 / 23; object-fit: cover; border-radius: 9px; box-shadow: 0 0 0 1px var(--linie-2); }
.ist-offline .steckbrief-bild { filter: grayscale(.8); }
.steckbrief-genres, .steckbrief-status { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.steckbrief-genres { grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); padding: .75rem 0; border-block: 1px solid var(--linie); }
.steckbrief-genres li, .steckbrief-status li { display: flex; align-items: center; gap: .5rem; font: 700 .82rem/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.steckbrief-genres .d3 { width: 2.4rem; height: 2.4rem; }
.steckbrief-status .d3 { width: 1.75rem; height: 1.75rem; }
.steckbrief-status .i { width: 1.75rem; height: 1.2rem; color: var(--offline); }
.steckbrief .knopf { width: 100%; }
.steckbrief .knopf-hinweis { display: none; }
.spiel-seite, .toc { min-width: 0; }
.aehnliche { padding: 5rem var(--rand) 0; }
.aehnliche .abschnitt-titel { margin-bottom: 1.5rem; }
.raster--reihe { --spalten: 5; }

/* ---------- Fuß ---------- */
.fuss { position: relative; margin-top: 6rem; }
.fuss-buehne { position: relative; height: clamp(24rem, 34vw, 50rem); overflow: hidden; isolation: isolate; }
.fuss-szene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; z-index: 0; }
.fuss-buehne::before { content: ""; position: absolute; inset: 0 0 auto; height: 42%; z-index: 1; background: linear-gradient(180deg, var(--grund) 0%, rgba(7, 8, 26, .6) 45%, rgba(7, 8, 26, 0) 100%); }
.fuss-buehne::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; z-index: 1; background: linear-gradient(0deg, var(--tiefe) 0%, rgba(5, 6, 19, .7) 40%, rgba(5, 6, 19, 0) 100%); }
.fuss-figur { position: absolute; z-index: 2; left: 47%; top: 9%; width: clamp(8rem, 13vw, 19rem); }
.fuss-maskottchen { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)); animation: jetpack 7s ease-in-out infinite; }
.fuss-start { position: absolute; z-index: 3; left: var(--rand); top: 17%; display: grid; justify-items: start; gap: 1.2rem; }
.fuss-frage { font: 800 1.9rem/1 var(--f-display); font-size: clamp(1.9rem, 1rem + 2.4vw, 4.4rem); font-stretch: 118%; text-transform: uppercase; text-shadow: 0 6px 30px rgba(0, 0, 0, .7); }
.fuss-aktionen { display: flex; flex-wrap: wrap; gap: .85rem; }
.fuss-aktionen .knopf-icon { width: 2.2em; height: 2.2em; }
.fuss-spalten {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.9fr) repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(1.25rem, 1.8vw, 3rem);
  padding: 2rem 16px 2.5rem; padding-inline: var(--rand); background: var(--tiefe);
}
.fuss-titel { display: flex; align-items: center; gap: .55rem; margin: 0 0 .85rem; padding-bottom: .7rem; border-bottom: 1px solid var(--linie); font: 700 .86rem/1 var(--f-display); font-stretch: 108%; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.fuss-titel .d3 { width: 2.2rem; height: 2.2rem; margin: -.45rem 0; }
.fuss-titel .zahl { margin-left: auto; }
.fuss-spalte ul { list-style: none; margin: 0; padding: 0; }
.fuss-spalte--archiv ul { columns: 2; column-gap: 1.75rem; }
.fuss-spalte li { break-inside: avoid; }
.fuss-spalte a, .fuss-knopf {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--text-2); text-decoration: none; font: 500 .95rem/1.35 var(--f-text); transition: color .2s;
}
.fuss-spalte--archiv a { color: var(--text-3); }
.fuss-spalte a:hover, .fuss-knopf:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: .25em; }
.fuss-spalte .i-klein { opacity: .6; }
.fuss-schluss { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.4rem var(--rand) 1.8rem; background: var(--tiefe); box-shadow: inset 0 1px 0 var(--linie); }
.fuss-marke .wortmarke { height: 2.6rem; }
.fusszeile { color: var(--text-3); font-size: .9rem; }
.fusszeile a { color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(165, 172, 255, .4); text-underline-offset: .2em; }
.fusszeile a:hover { color: var(--text); text-decoration-color: var(--cyan); }
.nach-oben {
  margin-left: auto; display: inline-flex; align-items: center; gap: .6rem; height: 3rem; padding: 0 1.1rem 0 .5rem; border: 0; border-radius: 14px; cursor: pointer;
  font: 700 .86rem/1 var(--f-display); font-stretch: 108%; letter-spacing: .07em; text-transform: uppercase; color: var(--text);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--linie-2); transition: background-color .2s, box-shadow .2s;
}
.nach-oben:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .6), 0 0 24px -6px rgba(255, 138, 31, .6); }
.nach-oben-rakete { position: relative; display: block; width: 2.2rem; height: 2.2rem; }
.nach-oben-rakete .d3 { width: 100%; height: 100%; transform: rotate(0deg); transition: transform .35s var(--ease); }
.nach-oben:hover .nach-oben-rakete .d3 { transform: translateY(-3px); }
.nach-oben-flamme { position: absolute; left: 50%; top: 88%; width: .7rem; height: 0; translate: -50% 0; border-radius: 0 0 50% 50%; background: linear-gradient(180deg, #ffe066, #ff7a12 60%, rgba(255, 60, 100, 0)); filter: blur(1px); }

/* Toast + Lightbox */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 120; translate: -50% 0; max-width: min(92vw, 34rem); padding: .85rem 1.1rem; border-radius: 14px;
  background: var(--panel-3); color: var(--text); font-size: .95rem; box-shadow: inset 0 0 0 1px var(--linie-2), 0 20px 50px -14px #000;
}
.lightbox { padding: 0; border: 0; background: transparent; color: var(--text); max-width: none; max-height: none; width: 100vw; height: 100svh; overflow: hidden; }
.lightbox::backdrop { background: rgba(4, 5, 16, .88); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: .8rem; justify-items: center; }
.lightbox img { width: min(600px, 86vw); height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--linie-2), 0 40px 80px -30px #000; }
.lightbox figcaption { color: var(--text-2); font-size: .95rem; }
.lb-knopf { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--linie-2); }
.lb-knopf:hover { background: rgba(255, 255, 255, .15); }
.lb-zu { top: 1.25rem; right: 1.25rem; }
.lb-zurueck { left: 1.25rem; top: 50%; translate: 0 -50%; }
.lb-vor { right: 1.25rem; top: 50%; translate: 0 -50%; }

/* ---------- Bewegung ---------- */
@keyframes schweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes jetpack { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(8px, -16px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Breiten ---------- */
@media (min-width: 2000px) {
  .raster { --spalten: 5; }
  .sv-bild { max-height: 9.5rem; }
  .spot-galerie { width: min(78%, 600px); }
}
@media (min-width: 3200px) {
  .raster { --spalten: 6; }
  /* 4K: Bühne nutzen – beide Screenshots gestaffelt (je ≤ 2× = 600 px), Genre-Icon dazwischen, größerer Titel */
  .spot-folie { grid-template-columns: minmax(0, 52rem) minmax(0, 1fr); gap: 3rem; }
  .spot-titel { font-size: 8.2rem; }
  .spot-titel--mittel { font-size: 6.9rem; }
  .spot-titel--lang { font-size: 5.4rem; }
  .spot-auszug { font-size: 1.28rem; -webkit-line-clamp: 4; line-clamp: 4; }
  .spot-galerie { width: 1240px; max-width: 100%; aspect-ratio: 1240 / 700; margin: 0; justify-self: center; }
  .spot-bild--haupt { inset: auto; left: 0; top: 0; width: 600px; height: 460px; transform: perspective(1600px) rotateY(8deg) rotateX(2deg); }
  .spot-bild--zweit { width: 600px; height: 460px; object-fit: cover; left: auto; right: 0; bottom: 0; transform: perspective(1600px) rotateY(-8deg) rotateX(2deg); filter: none; box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .22), 0 0 46px -6px rgba(255, 79, 216, .35); }
  .spot-sticker { width: 230px; right: auto; left: 515px; top: auto; bottom: 30px; z-index: 3; }
  .kachel--extra { display: none; }
  .spiel-layout { grid-template-columns: 17rem minmax(0, 46rem) 22rem; }
}
@media (max-width: 1279px) {
  .ueber-oben { grid-template-columns: auto minmax(0, 1fr); }
  .ueber-erster { grid-column: 2; }
  .ueber-mehr { columns: 1; max-width: 50rem; margin-inline: auto; }
  .fuss-spalten { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.9fr); }
  .fuss-spalte:nth-last-child(-n+2) { grid-column: span 2; }
  .raster:not(.raster--reihe) { --spalten: 3; }
  .kachel--extra { display: none; }
  .archiv-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .akarte { display: grid; grid-template-columns: 9rem minmax(0, 1fr); }
  .akarte-bild { height: 100%; aspect-ratio: auto; min-height: 6.9rem; }
  .spiel-layout { grid-template-columns: minmax(0, 46rem) 19rem; }
  .toc { grid-column: 1 / -1; position: static; padding: 1rem 1.15rem; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--linie); max-width: 46rem; }
  .toc ol { border-left: 0; }
  .toc a::before { display: none; }
  .toc .toc-h3 a { padding-left: 1.75rem; }
  .raster--reihe { --spalten: 5; }
}
@media (max-width: 1099px) {
  .leiste-nav, .leiste-suche { display: none; }
  .leiste-menue { display: grid; }
  .knopf-zufall { margin-left: auto; }
  .mega { position: fixed; inset: var(--leiste-h) 0 0; max-height: none; }
  .mega-innen { grid-template-columns: 1fr 1fr; }
  .mega-suche { display: block; }
  .mega-gruppe--archiv { grid-column: 1 / -1; }
  .mega-gruppe--archiv ul { grid-template-columns: repeat(3, 1fr); }
  .raster:not(.raster--reihe) { --spalten: 2; }
  .kachel--extra { display: block; }
  .spot { grid-template-columns: 1fr; }
  .spot-leiste { height: auto; grid-template-rows: none; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .spot-vorschau { grid-template-columns: 1fr; padding: .45rem; gap: .4rem; }
  .sv-bild { width: 100%; height: auto; max-height: none; }
  .sv-genre { display: none; }
  .sv-titel { font-size: .86rem; }
  .vorteile-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 5.5rem; padding-top: 3.5rem; }
  .spiel-layout { grid-template-columns: minmax(0, 46rem); }
  .spiel-seite { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .ws-anzeige--seite { min-height: 280px; }
  .raster--reihe { --spalten: 5; display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(16rem, 1fr); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-bottom: -1rem; }
  .raster--reihe > li { scroll-snap-align: start; }
  .ueber { max-width: 50rem; }
  .ueber-oben { grid-template-columns: 1fr; }
  .ueber-figur { justify-self: end; margin-bottom: -4rem; }
  .ueber-mehr { columns: 1; }
  .ueber-erster { grid-column: auto; }
  .fuss-spalten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-spalte--archiv { grid-column: 1 / -1; }
  .fuss-spalte--archiv ul { columns: 3; }
  .fuss-spalte:nth-last-child(-n+2) { grid-column: auto; }
}
@media (max-width: 899px) {
  .spot-buehne { height: auto; }
  .spot-folien { position: relative; }
  .spot-folie { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem 1.25rem 5rem; align-content: start; }
  .spot-galerie { order: -1; justify-self: center; width: min(76%, 420px); margin: .5rem 0 1rem; }
  .spot-buehne::after { background: linear-gradient(180deg, rgba(7, 8, 26, .1) 0%, rgba(7, 8, 26, .55) 38%, rgba(7, 8, 26, .9) 70%); }
  .spot-keyart { -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 80%); mask-image: linear-gradient(180deg, #000 30%, transparent 80%); object-position: 75% 50%; }
  .spot-steuer { left: 1.25rem; bottom: 1.25rem; }
  .spielkopf-innen { grid-template-columns: 1fr; grid-template-areas: "krumen" "galerie" "text"; }
  .spielkopf-galerie { width: min(78%, 480px); margin: .5rem auto 3rem; }
  .fuss-start { left: 50%; translate: -50% 0; justify-items: center; text-align: center; width: calc(100% - 2 * var(--rand)); top: 12%; }
  .fuss-figur { left: auto; right: 2%; top: 50%; width: 8rem; }
  .fuss-szene { object-position: 70% 80%; }
}
@media (max-width: 767px) {
  :root { --leiste-h: 3.75rem; }
  .wortmarke { height: 2.35rem; }
  .knopf-zufall { width: 2.75rem; padding: 0; justify-content: center; }
  .zufall-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .zufall-wuerfel { left: 50%; translate: -50% -50%; width: 2.3rem; height: 2.3rem; }
  .titelzeile { padding-top: .9rem; }
  .titel-chips { display: none; }
  .spot { padding: 0 12px; }
  .spot-buehne { border-radius: 20px; }
  .spot-auszug { -webkit-line-clamp: 3; }
  .spot-aktionen { width: 100%; }
  .spot-aktionen { flex-wrap: nowrap; gap: .5rem; }
  .spot-aktionen .knopf { flex: 1 1 auto; padding: 0 .85rem; font-size: .88rem; letter-spacing: .04em; gap: .4rem; }
  .spot-aktionen .knopf-icon { width: 1.7em; height: 1.7em; }
  .spot-leiste { gap: .4rem; }
  .spot-vorschau { border-radius: 12px; padding: .3rem .3rem .45rem; }
  .sv-bild { border-radius: 8px; }
  .sv-text { display: none; }
  .abschnitt-kopf { align-items: flex-start; flex-direction: column; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--rand)); margin: 0 calc(-1 * var(--rand)); padding: .2rem var(--rand) .5rem; scrollbar-width: none; }
  .chip { flex: none; }
  .vorteile { padding-top: 5.5rem; }
  .vorteile-liste { grid-template-columns: 1fr; row-gap: 4.5rem; padding: 3rem 1.25rem 2rem; }
  .vorteil { padding-top: 0; padding-left: 6rem; min-height: 5rem; }
  .vorteil-icon { width: 6rem; height: 6rem; left: -.5rem; top: -1.2rem; }
  .archiv-raster { grid-template-columns: 1fr; }
  .archiv-figur { width: 6.5rem; margin: -1rem 0 -.5rem -.5rem; }
  .spiel-seite { grid-template-columns: 1fr; }
  .aktionsleiste { top: auto; bottom: 0; transform: translateY(115%); box-shadow: 0 -1px 0 var(--linie-2), 0 -16px 30px -20px rgba(0, 0, 0, .9); }
  .aktionsleiste .badges, .al-bild { display: none; }
  .al-titel { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; }
  .fuss-aktionen { flex-direction: column; width: 100%; max-width: 22rem; }
  .fuss-aktionen .knopf { width: 100%; }
  .fuss-buehne { height: 30rem; }
  .fuss-figur { top: auto; bottom: 8%; right: 4%; width: 6.5rem; }
  .fuss-spalten { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .fuss-spalte--archiv ul { columns: 2; }
  .fuss-schluss { flex-direction: column; align-items: flex-start; }
  .nach-oben { margin-left: 0; }
  .mega-innen { grid-template-columns: 1fr; }
  .mega-gruppe--archiv ul { grid-template-columns: 1fr 1fr; }
  .mega-fuss { justify-content: stretch; } .mega-fuss .knopf { flex: 1; }
  .top-bild { float: none; width: min(300px, 100%); margin: .3em 0 1.1em; }
  .ueber { padding-top: 4rem; }
  .ueber-maskottchen { width: 7rem; }
  .ueber-figur { justify-self: start; margin: 0 0 .25rem -.5rem; }
  .ueber-knopf { --h: 3rem; max-width: 100%; padding: 0 .9rem; font-size: .8rem; letter-spacing: .04em; }
}
@media (max-width: 639px) {
  .raster:not(.raster--reihe) { --spalten: 1; gap: .85rem; }
  .raster--reihe { grid-auto-columns: min(78vw, 19rem); }
  .raster:not(.raster--reihe) .karte-innen { grid-template-columns: 8.25rem minmax(0, 1fr); grid-template-areas: "medien titel" "medien badges" "auszug auszug" "aktionen aktionen"; grid-template-rows: auto 1fr auto auto; }
  .raster:not(.raster--reihe) .karte-medien { display: contents; }
  .raster:not(.raster--reihe) .karte-bild { grid-area: medien; width: 100%; height: auto; aspect-ratio: 30 / 23; border-radius: 11px; margin: .85rem 0 0 .85rem; width: calc(100% - .85rem); align-self: start; }
  .raster:not(.raster--reihe) .karte-innen > .badges { grid-area: badges; margin: .45rem .9rem 0; align-self: start; pointer-events: auto; }
  .raster:not(.raster--reihe) .karte-titel { padding: .85rem .9rem 0; font-size: 1.12rem; }
  .raster:not(.raster--reihe) .karte-auszug > span { -webkit-line-clamp: 3; line-clamp: 3; }
  .raster:not(.raster--reihe) .karte-innen > .badges .badge { height: 1.6rem; font-size: .72rem; padding-right: .5rem; }
  .raster:not(.raster--reihe) .karte-innen > .badges .d3 { width: 1.2rem; height: 1.2rem; }
  .raster:not(.raster--reihe) .karte-auszug { grid-area: auszug; position: static; padding: .7rem .95rem 0; background: none; max-height: none; -webkit-line-clamp: 3; line-clamp: 3; font-size: .92rem; }
  .raster:not(.raster--reihe) .karte-aktionen { padding: .8rem .95rem .95rem; }
  .raster:not(.raster--reihe) .karte-aktionen .knopf--zweit { flex: 0 0 auto; }
  .kachel-innen { grid-template-columns: 8.25rem minmax(0, 1fr); grid-template-areas: "bild titel" "bild text" "aktion aktion"; grid-template-rows: auto 1fr auto; padding: .85rem 0 .95rem; }
  .kachel-bild { aspect-ratio: 1; border-radius: 12px; margin-left: .85rem; }
  .kachel-titel { padding-top: 0; font-size: 1.15rem; }
  .kachel-innen > .knopf, .kachel-innen > .suche { margin-top: .8rem; }
  .spiel-h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .spiel-h1--lang { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
  .spielkopf-aktionen { width: 100%; }
  .spielkopf-aktionen .knopf { flex: 1 1 auto; padding: 0 1rem; }
  .knopf--xl { --h: 3.4rem; font-size: 1rem; }
  .ws-anzeige { margin-inline: 12px; }
}
@media (max-width: 420px) {
  .spot-titel { font-size: 2.15rem; }
  .spot-titel--mittel { font-size: 1.9rem; }
  .spot-titel--lang { font-size: 1.6rem; }
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   Meilenstein 2: Mini-Karten, Suche, 404, Impressum (Crew-Karte), Datenschutz (Quest-Log), Druck
   ===================================================================== */

/* ---------- Mini-Karten (Suche, 404) ---------- */
.mraster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 25rem), 1fr)); gap: 1rem; }
.mraster--spalte { grid-template-columns: 1fr; gap: .75rem; }
.mkarte-link {
  position: relative; display: grid; grid-template-columns: 7.25rem minmax(0, 1fr) auto; align-items: center; gap: .95rem;
  padding: .6rem 1rem .6rem .6rem; border-radius: 16px; color: var(--text); text-decoration: none;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--linie), 0 14px 28px -20px rgba(0, 0, 0, .9);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mkarte-bild { width: 100%; height: auto; aspect-ratio: 30 / 23; object-fit: cover; border-radius: 10px; transition: transform .5s var(--ease), filter .3s; }
.mkarte--offline .mkarte-bild { filter: grayscale(.85) brightness(.7); }
.mkarte-text { display: grid; gap: .35rem; min-width: 0; }
.mkarte-titel { font: 700 1.1rem/1.2 var(--f-display); font-stretch: 104%; }
.mkarte-titel mark { background: none; color: var(--cyan); }
.mkarte-meta { display: flex; flex-wrap: wrap; gap: .3rem .7rem; font: 700 .7rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.mkarte-genre { display: inline-flex; align-items: center; gap: .2rem; color: var(--g-strategie); }
.mkarte-genre--action { color: var(--g-action); }
.mkarte-genre--rollenspiel { color: var(--g-rollenspiel); }
.mkarte-genre--offline { color: var(--offline); }
.mkarte-genre .i { width: .95rem; height: .95rem; }
.mkarte-auszug { font-size: .88rem; line-height: 1.45; color: var(--text-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.mkarte-pfeil { color: var(--text-3); transition: transform .3s var(--ease), color .2s; }
@media (hover: hover) {
  .mkarte-link:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .55), 0 20px 36px -20px #000, 0 0 30px -8px rgba(59, 227, 255, .45); }
  .mkarte-link:hover .mkarte-bild { transform: scale(1.04); }
  .mkarte-link:hover .mkarte-pfeil { transform: translateX(4px); color: var(--cyan); }
}
a.chip { text-decoration: none; }

/* ---------- Suche ---------- */
.suchseite { padding: 1.75rem var(--rand) 0; }
.such-kopf {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem clamp(1.5rem, 3vw, 3.5rem);
  padding: clamp(1.25rem, 2.6vw, 2.75rem) clamp(1.25rem, 3vw, 3.5rem); border-radius: 28px; overflow: hidden;
  background: radial-gradient(60% 130% at 0% 0%, rgba(141, 107, 255, .38), transparent 62%), radial-gradient(50% 120% at 100% 100%, rgba(59, 227, 255, .14), transparent 60%), linear-gradient(135deg, #19164e, #0f1237 60%, #0c1736);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), var(--schatten);
}
.such-maskottchen { width: clamp(8.5rem, 13vw, 17rem); height: auto; margin: -1rem 0 -2.5rem; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .55)); animation: schweben 7s ease-in-out infinite; }
.such-h1 { font: 700 1.45rem/1.15 var(--f-display); font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2.7rem); font-stretch: 104%; text-wrap: balance; }
.suchbegriff { color: var(--cyan); }
.suche--gross { display: flex; gap: .6rem; margin-top: 1.2rem; max-width: 48rem; }
.suche--gross .suche-feld { flex: 1; height: 3.5rem; padding-left: 3.1rem; border-radius: 15px; font-size: 1.1rem; background: #0c0d26; }
.suche--gross .suche-lupe { left: 1.05rem; top: 1.75rem; width: 1.35em; height: 1.35em; }
.suche--gross .knopf { --h: 3.5rem; }
.such-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 1.1rem; max-width: 48rem; }
.such-anzahl { font: 700 .86rem/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; color: var(--text-2); }
.such-zustand { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem; border-radius: 12px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--linie); }
.such-zustand-label { padding: 0 .5rem; font: 700 .72rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.such-zustand-knopf { padding: .55rem .8rem; border: 0; border-radius: 9px; cursor: pointer; background: none; color: var(--text-2); font: 700 .78rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; }
.such-zustand-knopf:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.such-zustand-knopf[aria-pressed="true"] { color: var(--text); background: rgba(59, 227, 255, .16); box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .5); }
.such-ergebnis { margin-top: 2rem; }
.such-ergebnis[hidden] { display: none; }
.such-leer { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2rem clamp(2rem, 4vw, 4.5rem); margin-top: 2rem; padding: clamp(1.5rem, 3vw, 3rem); border-radius: 26px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--linie); }
.such-leer[hidden] { display: none; }
.such-leer-bild { position: relative; width: clamp(10rem, 15vw, 16rem); }
.such-leer-ufo { width: 100%; height: auto; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .5)); animation: schweben 6s ease-in-out infinite; }
.such-leer-asteroid { position: absolute; width: 44%; height: auto; right: -16%; bottom: -8%; }
.such-leer-text { display: grid; justify-items: start; gap: 1rem; }
.such-leer-satz { max-width: 60ch; font-size: 1.12rem; line-height: 1.6; color: var(--text-2); }
.such-leer-tipp { color: var(--text-3); }
.such-leer-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 404 ---------- */
.fehler { position: relative; isolation: isolate; overflow: visible; display: grid; align-items: center; min-height: calc(100svh - var(--leiste-h)); padding: 2.5rem var(--rand) 4rem; }
.fehler-buehne { position: absolute; inset: 0; z-index: -1; }
.fehler-szene { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.fehler-buehne::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 8, 26, .95) 0%, rgba(7, 8, 26, .78) 38%, rgba(7, 8, 26, .35) 66%, rgba(7, 8, 26, .7) 100%), linear-gradient(0deg, var(--grund) 0%, rgba(7, 8, 26, 0) 30%); }
.fehler-innen { display: grid; grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 27rem); align-items: center; gap: 2rem clamp(1.5rem, 3vw, 4rem); width: 100%; max-width: 120rem; margin: 0 auto; }
.fehler-text { display: grid; justify-items: start; gap: 1rem; }
.fehler-code { display: flex; align-items: center; font: 900 5rem/.8 var(--f-display); font-size: clamp(5rem, 2.5rem + 7vw, 12rem); font-stretch: 125%; letter-spacing: -.02em; color: var(--text); text-shadow: 0 0 40px rgba(141, 107, 255, .7), 0 8px 30px rgba(0, 0, 0, .6); }
.fehler-null { width: .95em; height: auto; margin: 0 -.03em; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)); animation: drehen 40s linear infinite; }
.fehler-h1 { font: 800 1.8rem/1.05 var(--f-display); font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3.4rem); font-stretch: 112%; text-transform: uppercase; text-wrap: balance; }
.fehler-lead { font-size: 1.2rem; color: var(--text); }
.fehler-hinweis { color: var(--text-2); max-width: 52ch; }
.fehler-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.fehler-text .suche { width: min(100%, 30rem); margin-top: .4rem; }
.fehler-maskottchen { width: clamp(11rem, 17vw, 22rem); height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .6)); animation: schweben 6s ease-in-out infinite; }
.fehler-vorschlaege { padding: 1.25rem; border-radius: 24px; background: rgba(12, 13, 38, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--linie-2), var(--schatten); }
.vorschlag-titel { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font: 800 1.05rem/1 var(--f-display); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; }
.vorschlag-titel .titel-icon { width: 2.5rem; height: 2.5rem; }
@keyframes drehen { to { rotate: 360deg; } }

/* ---------- Rechtliches: gemeinsamer Kopf ---------- */
.recht-kopf { max-width: 120rem; margin: 0 auto; padding: 1.25rem var(--rand) 0; }
.recht-kopf-zeile { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-top: .9rem; }
.recht-h1 { font: 800 2.4rem/.95 var(--f-display); font-size: clamp(2.4rem, 1.3rem + 3vw, 5.2rem); font-stretch: 118%; text-transform: uppercase; text-shadow: 0 6px 34px rgba(0, 0, 0, .5); }
.recht-werkzeuge { display: flex; gap: .6rem; }
html:not(.js) [data-drucken], html:not(.js) .recht-werkzeuge { display: none; }
#nafets_imprint h2, #nafets_imprint h3, #nafets_imprint h4 { scroll-margin-top: calc(var(--leiste-h) + 1.5rem); }

/* ---------- Impressum: Crew-Karte ---------- */
.profil { max-width: 120rem; margin: 1.6rem auto 0; padding: 0 var(--rand); display: grid; gap: 1.5rem; }
.ausweis {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem clamp(1.5rem, 3vw, 3.5rem);
  padding: clamp(1.25rem, 2.6vw, 2.75rem); border-radius: 30px; overflow: hidden; transform-style: preserve-3d;
  background: radial-gradient(70% 140% at 0% 0%, rgba(141, 107, 255, .45), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(59, 227, 255, .2), transparent 60%), linear-gradient(135deg, #1c1754, #10123a 60%, #0c1736);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 90px -46px #000;
}
.ausweis::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(30% 50% at 85% 50%, rgba(255, 79, 216, .16), transparent 70%); }
.ausweis-glanz { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(45% 70% at var(--gx, 25%) var(--gy, 0%), rgba(255, 255, 255, .16), transparent 62%); }
.ausweis-avatar { position: relative; width: clamp(8.5rem, 11vw, 13rem); aspect-ratio: 1; }
.ausweis-avatar::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 30%, rgba(59, 227, 255, .4), rgba(16, 17, 46, .95) 68%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.ausweis-ring { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(59, 227, 255, .55)); }
.ausweis-figur { position: absolute; left: 6%; top: 2%; width: 88%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.ausweis-text { min-width: 0; }
.ausweis-rang { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem; border-radius: 9px; background: rgba(59, 227, 255, .12); box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .4); font: 700 .78rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: #9df2ff; }
.ausweis-name { margin-top: .6rem; font: 800 1.9rem/1 var(--f-display); font-size: clamp(1.9rem, 1.2rem + 2vw, 3.6rem); font-stretch: 120%; text-transform: uppercase; }
.ausweis-hinweis { margin-top: .6rem; max-width: 58ch; color: var(--text-2); }
.ausweis-abzeichen { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.abzeichen-link { display: inline-flex; align-items: center; gap: .35rem; height: 2.4rem; padding: 0 .75rem 0 .3rem; border-radius: 12px; background: rgba(5, 6, 20, .38); box-shadow: inset 0 0 0 1px var(--linie-2); color: var(--text-2); text-decoration: none; font: 700 .72rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; transition: color .2s, box-shadow .2s; }
.abzeichen-link img { width: 1.9rem; height: 1.9rem; transition: transform .35s var(--ease); }
.abzeichen-link:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .6), 0 0 20px -6px rgba(59, 227, 255, .6); }
.abzeichen-link:hover img { transform: rotate(-12deg) scale(1.12); }
.szene { position: relative; }
.ausweis-3d { width: clamp(10rem, 14vw, 17rem); aspect-ratio: 1; }
.szene-ersatz { width: 100%; height: auto; transition: opacity .7s ease; animation: schweben 7s ease-in-out infinite; }
.szene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .9s ease; }
.szene.ist-3d canvas { opacity: 1; }
.szene.ist-3d .szene-ersatz { opacity: 0; }
/* Nafets-Block: ohne JS ein ruhiges Dokument */
.profil-inhalt { padding: clamp(1.25rem, 2.5vw, 2.5rem); border-radius: 26px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--linie); }
.profil-inhalt #nafets_imprint { font: 400 1.0625rem/1.7 var(--f-text); color: var(--lese); }
.profil-inhalt #nafets_imprint > * + * { margin-top: .9em; }
.profil-inhalt #nafets_imprint h2, .profil-inhalt #nafets_imprint h3 { margin-top: 1.6em; font: 700 1.6rem/1.25 var(--f-display); font-stretch: 104%; color: var(--text); }
.profil-inhalt #nafets_imprint h3 { font-size: 1.2rem; line-height: 1.3; }
.profil-inhalt #nafets_imprint ul { list-style: none; margin-left: 0; padding: 0; display: grid; gap: .45rem; }
.profil-inhalt #nafets_imprint li > span:first-child { display: inline-block; min-width: 5.6rem; font: 700 .76rem/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
/* Mit JS: Profilfelder */
.profil-inhalt.ist-aufgebaut { padding: 0; background: none; box-shadow: none; }
.ist-aufgebaut #nafets_imprint { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.profil-inhalt.ist-aufgebaut #nafets_imprint > * + * { margin-top: 0; }
.feld { position: relative; display: grid; align-content: start; gap: .8rem; padding: 1.2rem 1.25rem 1.25rem; border-radius: 22px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--linie), 0 16px 32px -24px #000; transition: box-shadow .3s; }
.feld:hover { box-shadow: inset 0 0 0 1px rgba(165, 172, 255, .3), 0 16px 32px -24px #000; }
.feld--text { grid-column: 1 / -1; }
.feld-kopf { display: flex; align-items: center; gap: .65rem; }
.feld-abzeichen { width: 2.75rem; height: 2.75rem; margin: -.4rem 0; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.profil-inhalt.ist-aufgebaut #nafets_imprint .feld h2, .profil-inhalt.ist-aufgebaut #nafets_imprint .feld h3 { margin: 0; font: 700 .86rem/1.3 var(--f-display); font-stretch: 106%; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.feld--daten p, .feld--daten li { font: 600 1.05rem/1.55 var(--f-text); color: var(--text); }
.feld--text p { max-width: 75ch; }
.feld-spalten { columns: 2 26rem; column-gap: 3rem; }
.feld-spalten > p { break-inside: avoid; }
.feld-spalten > p + p { margin-top: .9em; }
.feld-wert { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.feld-wert + .feld-wert { margin-top: .5rem; }
.profil-inhalt.ist-aufgebaut #nafets_imprint li { display: flex; align-items: center; gap: .5rem; }
.profil-inhalt.ist-aufgebaut #nafets_imprint li > span:nth-child(2) { flex: 1; }
.kopier-knopf { flex: none; position: relative; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 11px; cursor: pointer; color: var(--text-2); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--linie-2); transition: color .2s, box-shadow .2s, background-color .2s; }
.kopier-knopf .i { width: 1.15rem; height: 1.15rem; }
.kopier-knopf .i-ok { display: none; }
.kopier-knopf:hover { color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(59, 227, 255, .6), 0 0 16px -4px rgba(59, 227, 255, .6); }
.kopier-knopf.ist-kopiert { color: var(--mint); box-shadow: inset 0 0 0 1px rgba(127, 242, 207, .7); }
.kopier-knopf.ist-kopiert .i-ok { display: block; }
.kopier-knopf.ist-kopiert .i-kopie { display: none; }

/* ---------- Datenschutz: Quest-Log ---------- */
.questlog { display: grid; grid-template-columns: minmax(17rem, 22rem) minmax(0, 48rem); justify-content: center; align-items: start; gap: clamp(2rem, 4vw, 5.5rem); max-width: 120rem; margin: 0 auto; padding: 1.75rem var(--rand) 0; }
html:not(.js) .questlog { grid-template-columns: minmax(0, 48rem); }
html:not(.js) .questlog-seite { display: none; }
.questlog-seite { position: sticky; top: calc(var(--leiste-h) + 1.25rem); max-height: calc(100svh - var(--leiste-h) - 2.5rem); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; border-radius: 26px; }
.ql-panel {
  display: grid; gap: .75rem; padding: 1.1rem 1.15rem 1.15rem; border-radius: 26px;
  background: radial-gradient(90% 60% at 0% 0%, rgba(141, 107, 255, .36), transparent 60%), radial-gradient(70% 50% at 100% 100%, rgba(59, 227, 255, .14), transparent 60%), linear-gradient(180deg, #19164c, #0f1135);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), var(--schatten);
}
.ql-kopf { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -.25rem; }
.ql-maskottchen { width: 6.75rem; height: auto; margin: -.5rem 0 -.6rem -.4rem; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
.ql-kristall { width: 6.25rem; aspect-ratio: 1; }
.ql-titel { font: 800 1.7rem/1 var(--f-display); font-stretch: 120%; text-transform: uppercase; }
.ql-erklaerung { font-size: .9rem; line-height: 1.55; color: var(--text-2); }
.xp { position: relative; height: 1.05rem; border-radius: 999px; overflow: hidden; background: rgba(0, 0, 0, .38); box-shadow: inset 0 0 0 1px var(--linie-2); }
.xp-fuellung { position: absolute; inset: 0; transform: scaleX(var(--xp, 0)); transform-origin: left center; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violett) 60%, var(--magenta)); box-shadow: 0 0 18px rgba(59, 227, 255, .65); transition: transform .9s var(--ease); }
.xp-glanz { position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent); animation: xp-glanz 3.2s ease-in-out infinite; }
@keyframes xp-glanz { 0% { left: -30%; } 60%, 100% { left: 110%; } }
.xp-text { font: 700 .82rem/1.3 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ql-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; }
.ql-stat { padding: .5rem .7rem; border-radius: 13px; background: rgba(0, 0, 0, .26); box-shadow: inset 0 0 0 1px var(--linie); }
.ql-stat dt, .ql-zwischentitel { font: 700 .72rem/1 var(--f-display); letter-spacing: .11em; text-transform: uppercase; color: var(--text-3); }
.ql-stat dd { margin: .3rem 0 0; font: 800 1.25rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.ql-abzeichen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.ql-abzeichen a { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--linie); transition: box-shadow .4s; }
.ql-abzeichen img { width: 74%; height: auto; filter: grayscale(1) brightness(.42) contrast(.9); transition: filter .7s ease; }
.ql-abzeichen .i { position: absolute; right: .3rem; bottom: .3rem; width: .95rem; height: .95rem; color: var(--text-3); }
.ql-abzeichen .ist-frei { box-shadow: inset 0 0 0 1px rgba(255, 210, 94, .65), 0 0 20px -6px rgba(255, 210, 94, .75); }
.ql-abzeichen .ist-frei img { filter: none; }
.ql-abzeichen .ist-frei .i { display: none; }
.ql-werkzeuge { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.ql-werkzeuge .knopf { --h: 2.5rem; justify-content: flex-start; width: 100%; padding: 0 .75rem; font-size: .72rem; letter-spacing: .04em; }
.ql-werkzeuge [data-reset] { grid-column: 1 / -1; }
/* Kapitel = Quests, Abschnitte = Aufgaben (von rechtliches.js aus h2/h3 gebildet) */
.questlog-inhalt #nafets_imprint > h2:first-child { font: 800 1.6rem/1.1 var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem); font-stretch: 112%; color: var(--text); margin: 0; }
.questlog-inhalt h2 + br, .questlog-inhalt h3 + br, .questlog-inhalt h4 + br, .questlog-inhalt #nafets_imprint > br { display: none; }
.questlog-inhalt #nafets_imprint p, .questlog-inhalt #nafets_imprint ul { margin: 0 0 1em; }
.questlog-inhalt #nafets_imprint ul { padding-left: 1.3em; }
.questlog-inhalt h4 { font: 700 1.0625rem/1.3 var(--f-display); color: var(--text); margin: 1.2em 0 .5em; }
.questlog-inhalt a { overflow-wrap: anywhere; }
.quest { margin-top: 1.75rem; border-radius: 24px; background: linear-gradient(180deg, rgba(24, 25, 64, .62), rgba(16, 17, 46, .35)); box-shadow: inset 0 0 0 1px var(--linie); scroll-margin-top: calc(var(--leiste-h) + 1rem); transition: box-shadow .5s; }
.quest.ist-fertig { box-shadow: inset 0 0 0 1px rgba(255, 210, 94, .45), 0 0 34px -14px rgba(255, 210, 94, .6); }
.lesetext .quest > h2 { margin: 0; font: 700 1.3rem/1.2 var(--f-display); font-size: clamp(1.3rem, 1.05rem + .6vw, 1.75rem); font-stretch: 104%; }
.quest-knopf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .9rem; width: 100%; padding: 1rem 1.25rem; border: 0; border-radius: 24px; cursor: pointer; text-align: left; background: none; color: var(--text); }
.quest-knopf:hover { background: rgba(255, 255, 255, .03); }
.quest-icon { width: 3.1rem; height: 3.1rem; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); transition: filter .6s; }
.quest:not(.ist-fertig) .quest-icon { filter: grayscale(.6) brightness(.8) drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); }
.quest-name { font: inherit; text-wrap: balance; }
.quest-status { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .55rem; border-radius: 8px; background: rgba(0, 0, 0, .3); font: 700 .72rem/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; color: var(--text-3); font-variant-numeric: tabular-nums; }
.quest.ist-fertig .quest-status { color: var(--gold); background: rgba(255, 210, 94, .12); }
.quest-pfeil { color: var(--text-3); transition: transform .3s var(--ease); }
.quest-knopf[aria-expanded="false"] .quest-pfeil { transform: rotate(-90deg); }
.quest-inhalt { padding: .25rem 1.25rem 1.25rem; }
.aufgabe { position: relative; padding-left: 2.1rem; }
.aufgabe + .aufgabe { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--linie); }
.lesetext .aufgabe h3 { margin: 0 0 .55rem; font: 700 1.36rem/1.3 var(--f-display); font-stretch: 104%; color: var(--text); }
.aufgabe-marke { position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--linie-2); }
.aufgabe + .aufgabe .aufgabe-marke { top: 1.55rem; }
.aufgabe-marke::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--cyan) calc(var(--lese, 0) * 1turn), transparent 0); -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%); mask: radial-gradient(circle, transparent 52%, #000 54%); }
.aufgabe-marke .i { position: absolute; inset: 0; width: 100%; height: 100%; padding: .2rem; color: #062a22; opacity: 0; }
.aufgabe.ist-gelesen .aufgabe-marke { background: var(--mint); box-shadow: 0 0 14px rgba(127, 242, 207, .55); }
.aufgabe.ist-gelesen .aufgabe-marke::after { display: none; }
.aufgabe.ist-gelesen .aufgabe-marke .i { opacity: 1; stroke-width: 3; }

@media (max-width: 1279px) {
  .ist-aufgebaut #nafets_imprint { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fehler-innen { grid-template-columns: minmax(0, 1fr) auto; }
  .fehler-vorschlaege { grid-column: 1 / -1; }
  .fehler-vorschlaege .mraster--spalte { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
}
@media (max-width: 1099px) {
  .questlog { grid-template-columns: minmax(0, 48rem); }
  .questlog-seite { position: static; max-height: none; overflow: visible; }
  .ql-panel { grid-template-columns: 1fr 1fr; align-items: start; }
  .ql-kopf, .ql-titel, .ql-erklaerung, .xp, .xp-text, .ql-zwischentitel { grid-column: 1 / -1; }
  .ql-abzeichen { grid-template-columns: repeat(8, minmax(0, 1fr)); grid-column: 1 / -1; }
  .ql-werkzeuge { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; }
  .ql-werkzeuge .knopf { width: auto; }
  .ausweis { grid-template-columns: auto minmax(0, 1fr); }
  .ausweis-3d { position: absolute; right: 1rem; top: 1rem; width: 8rem; opacity: .9; }
}
@media (max-width: 767px) {
  .such-kopf { grid-template-columns: 1fr; }
  .such-figur { position: absolute; right: -1rem; top: -.5rem; opacity: .9; }
  .such-maskottchen { width: 7.5rem; margin: 0; }
  .such-h1 { padding-right: 5.5rem; }
  .suche--gross .knopf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .such-leer { grid-template-columns: 1fr; }
  .mkarte-link { grid-template-columns: 6rem minmax(0, 1fr); padding-right: .8rem; }
  .mkarte-pfeil { display: none; }
  .fehler { padding-top: 1.5rem; align-items: start; }
  .fehler-innen { grid-template-columns: 1fr; }
  .fehler-figur { position: absolute; right: 0; top: 0; z-index: -1; opacity: .9; }
  .fehler-maskottchen { width: 9rem; }
  .fehler-code { font-size: 5.5rem; }
  .fehler-aktionen .knopf { flex: 1 1 auto; }
  .ausweis { grid-template-columns: 1fr; }
  .ausweis-avatar { width: 7.5rem; }
  .ausweis-3d { width: 6.5rem; }
  .ist-aufgebaut #nafets_imprint { grid-template-columns: 1fr; }
  .ql-panel { grid-template-columns: 1fr; }
  .ql-abzeichen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ql-werkzeuge { grid-template-columns: 1fr; }
  .ql-werkzeuge .knopf { width: 100%; }
  .quest-knopf { grid-template-columns: auto minmax(0, 1fr) auto; padding: .9rem 1rem; gap: .65rem; }
  .quest-status { grid-column: 2; justify-self: start; }
  .quest-pfeil { grid-row: 1; grid-column: 3; }
  .quest-icon { width: 2.5rem; height: 2.5rem; }
  .quest-inhalt { padding: .25rem 1rem 1rem; }
  .recht-werkzeuge .knopf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Druck (Impressum, Datenschutz, Spieltests) ---------- */
@media print {
  .leiste, .fuss, .sprunglink, .toast, .questlog-seite, .recht-werkzeuge, .ausweis-3d, .ausweis-abzeichen, .kopier-knopf, .ws-anzeige, .aktionsleiste, .toc, .spiel-seite, .spielkopf-galerie, .aehnliche, .sprite, .quest-pfeil, .quest-status { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  body::before { display: none; }
  main, main * { color: #000 !important; background: none !important; box-shadow: none !important; text-shadow: none !important; filter: none !important; }
  [hidden] { display: block !important; content-visibility: visible !important; }
  .ausweis, .questlog, .spiel-layout { display: block !important; transform: none !important; }
  .ausweis-avatar, .quest-icon, .aufgabe-marke, .feld-abzeichen { display: none !important; }
  .ist-aufgebaut #nafets_imprint { display: block !important; }
  .feld, .quest { padding: 0 !important; margin: 0 0 1rem !important; break-inside: avoid-page; }
  a { text-decoration: underline; }
}
.suchseite .ws-anzeige, .fehlerseite .ws-anzeige { margin-inline: 0; }
.quest-inhalt[hidden], .ueber-mehr[hidden] { padding: 0; margin: 0; }

/* Feinschliff mobil (Meilenstein 2) */
@media (max-width: 767px) {
  .ausweis-name { font-size: 1.4rem; font-stretch: 108%; overflow-wrap: anywhere; }
  .ausweis-abzeichen { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * clamp(1.25rem, 2.6vw, 2.75rem)); padding: 0 clamp(1.25rem, 2.6vw, 2.75rem) .4rem; scroll-snap-type: x proximity; scrollbar-width: none; }
  .abzeichen-link { flex: none; scroll-snap-align: start; }
  .fehler-maskottchen { width: 6.5rem; }
  .fehler-figur { top: .25rem; }
  .ql-kopf { margin-top: 0; }
  .ql-maskottchen { width: 5.5rem; }
  .ql-kristall { width: 5rem; }
  .ql-stat { padding: .45rem .6rem; }
  .ql-stat dd { font-size: 1.05rem; }
  .ql-abzeichen { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .3rem; }
  .ql-abzeichen a { border-radius: 10px; }
  .ql-abzeichen .i { width: .7rem; height: .7rem; right: .15rem; bottom: .15rem; }
  .ql-werkzeuge { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   Theme-Ergänzungen (WordPress) – nicht im Mockup, weil dort Platzhalter standen
   ===================================================================== */

/* ---------- Schriften: Latin-Erweiterung (lädt nur, wenn solche Zeichen vorkommen) ---------- */
@font-face {
  font-family: "Saira"; src: url("assets/fonts/saira/saira-latin-ext-600-900.woff2") format("woff2");
  font-weight: 600 900; font-stretch: 100% 125%; font-style: normal; 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: "Manrope"; src: url("assets/fonts/manrope/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; 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;
}

/* ---------- Anzeigen ----------
   Ohne Einwilligung unsichtbar (kein leerer Kasten). „html.ws-anzeigen“ setzt das Kopf-Skript, wenn die Einwilligung
   beim Laden schon gespeichert ist (dann ist der Platz von Anfang an reserviert), sonst js/anzeigen.js nach der Einwilligung.
   Reservierte Höhe = heutige feste Blöcke (breit 468×60, seite 120×600); responsive Blöcke: Klasse ws-anzeige--responsiv. */
.ws-anzeige { display: none; }
html.ws-anzeigen .ws-anzeige { display: grid; }
.ws-anzeige[hidden] { display: none !important; }
.ws-anzeige-flaeche { place-items: center; min-width: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; }
.ws-anzeige-flaeche ins { margin: 0 auto; }
.ws-anzeige--breit { min-height: calc(60px + 3.4rem); }
.ws-anzeige--seite { min-height: calc(600px + 3.4rem); }
.ws-anzeige--breit.ws-anzeige--responsiv { min-height: 280px; }
.ws-anzeige--seite.ws-anzeige--responsiv { min-height: 600px; }
@media (max-width: 1099px) { .ws-anzeige--seite.ws-anzeige--responsiv { min-height: 280px; } }
@media (max-width: 539px) { html.ws-anzeigen .ws-anzeige--breit:not(.ws-anzeige--responsiv) { display: none; } }

/* ---------- YouTube (MU-Plugin ws-youtube) im Stil des Mockups (.video) ----------
   Markup des Plugins: span.ws-yt-box[style=Breite/Höhe] > button.ws-yt > img + .ws-yt__play + .ws-yt__hinweis;
   nach dem Klick ersetzt ein iframe.ws-yt-frame den Knopf. Die Größe aus dem Inhalt wird durch 16:9 ersetzt. */
/* Box = Video (16:9) + Platz für den Hinweis darunter (wie figcaption im Mockup: .65rem Abstand + eine Zeile) */
.ws-yt-box.ws-yt-box {
  display: block; position: relative; box-sizing: content-box; width: 100% !important; max-width: 46rem; height: auto !important; aspect-ratio: 16 / 9;
  margin: 2em 0; padding-bottom: calc(.65rem + .88rem * 1.75); overflow: visible; background: none; text-align: left; vertical-align: top; break-inside: avoid;
}
.ueber-mehr .ws-yt-box.ws-yt-box { max-width: none; }
.lesetext p:has(> .ws-yt-box) { max-width: none; } /* Video im Absatz (z. B. Drifting Souls 2): volle Spaltenbreite wie im Mockup */
.ws-yt-box .ws-yt, .ws-yt-box .ws-yt-frame { bottom: auto; height: auto; aspect-ratio: 16 / 9; }
.ws-yt-box .ws-yt { overflow: visible; border-radius: 18px; background: #000; box-shadow: inset 0 0 0 1px var(--linie-2), 0 24px 50px -26px #000; }
.ws-yt-box .ws-yt img {
  object-fit: cover; opacity: 1; filter: brightness(.78); clip-path: inset(0 round 18px);
  transition: transform .6s var(--ease), clip-path .6s var(--ease), filter .3s;
}
.ws-yt-box .ws-yt:hover img, .ws-yt-box .ws-yt:focus-visible img { transform: scale(1.04); clip-path: inset(1.923% round 17.3px); filter: brightness(.9); }
.ws-yt-box .ws-yt__play {
  left: 50%; top: 50%; width: 5.25rem; height: 5.25rem; margin: 0; translate: -50% -50%; border-radius: 50%;
  background: linear-gradient(180deg, #ffc163, #ff6c14);
  box-shadow: 0 0 0 10px rgba(255, 138, 31, .2), 0 18px 40px -10px rgba(255, 118, 26, .9); transition: transform .3s var(--ease), box-shadow .3s;
}
.ws-yt-box .ws-yt__play::after {
  left: calc(50% + .15rem); top: 50%; width: 2.3rem; height: 2.3rem; translate: -50% -50%; border: 0; background: #1f0d00;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 5.6v12.8a1 1 0 0 0 1.53.85l10.1-6.4a1 1 0 0 0 0-1.7l-10.1-6.4a1 1 0 0 0-1.53.85Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 5.6v12.8a1 1 0 0 0 1.53.85l10.1-6.4a1 1 0 0 0 0-1.7l-10.1-6.4a1 1 0 0 0-1.53.85Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ws-yt-box .ws-yt:hover .ws-yt__play { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255, 138, 31, .22), 0 20px 46px -10px rgba(255, 118, 26, 1); }
.ws-yt-box .ws-yt::after {
  content: "Video abspielen"; position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .7rem; border-radius: 9px;
  background: rgba(9, 10, 30, .75); font: 700 .78rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text);
}
.ws-yt-box .ws-yt__hinweis {
  left: 0; right: auto; top: calc(100% + .65rem); bottom: auto; display: flex; align-items: center; gap: .5rem; padding: 0; background: none;
  font: 400 .88rem/1.75 var(--f-text); color: var(--text-3); text-align: left; text-transform: none; letter-spacing: 0;
}
@media (max-width: 499px) { .ws-yt-box.ws-yt-box { padding-bottom: calc(.65rem + .88rem * 1.75 * 2); } } /* Hinweis bricht um */
.ws-yt-box .ws-yt__hinweis::before {
  content: ""; flex: none; width: 1.25em; height: 1.25em; background: var(--mint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 5.2 6v5.2c0 4.3 2.9 8 6.8 9.6 3.9-1.6 6.8-5.3 6.8-9.6V6L12 3.2Z'/%3E%3Cpath d='m9 12.2 2.1 2.1 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 5.2 6v5.2c0 4.3 2.9 8 6.8 9.6 3.9-1.6 6.8-5.3 6.8-9.6V6L12 3.2Z'/%3E%3Cpath d='m9 12.2 2.1 2.1 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ws-yt-box .ws-yt:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.ws-yt-box .ws-yt-frame { border-radius: 18px; background: #000; }
/* Ohne Vorschaubild: gestalteter Platzhalter (Key-Art + Maskottchen) wie im Mockup */
.ws-yt-box .ws-yt:not(:has(img)) { background: #0a0b25 url("assets/bilder/d-szene-hero-960.webp") 72% 50% / cover no-repeat; }
.ws-yt-box:not(:has(img, iframe))::before {
  content: ""; position: absolute; z-index: 1; right: 6%; bottom: 4%; width: 26%; aspect-ratio: 1; pointer-events: none;
  background: url("assets/bilder/d-maskottchen-controller-512.webp") center / contain no-repeat;
}

/* ---------- Spieltest mobil: die Aktionsleiste unten verdeckt sonst am Seitenende „Nach oben“ ---------- */
@media (max-width: 767px) { .seite-spiel .fuss-schluss { padding-bottom: calc(1.8rem + 4.25rem); } }

/* ---------- Suche: Zeile behält die Höhe des Mockup-Zustandsumschalters (der im Theme entfällt) ---------- */
@media (min-width: 768px) { .such-leiste { min-height: 2.38rem; } }

/* ---------- Seite (Rückfallvorlage page.php: Kopf der Rechtsseiten + Lesespalte) ---------- */
.seite-inhalt { max-width: 120rem; margin: 1.6rem auto 0; padding: 0 var(--rand); }
.seite-inhalt > .lesetext { max-width: 48rem; }

/* ---------- Spieltest ohne Zwischenüberschriften (kein Inhaltsverzeichnis) ---------- */
@media (min-width: 1280px) { .spiel-layout--ohne-toc .spiel-text { grid-column: 2; } }

/* ---------- WordPress-Admin-Leiste (nur angemeldet) ---------- */
@media (min-width: 783px) {
  .admin-bar .leiste { top: 32px; }
  .admin-bar .aktionsleiste { top: calc(var(--leiste-h) + 32px); }
}
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .leiste { top: 46px; } .admin-bar .aktionsleiste { top: calc(var(--leiste-h) + 46px); } }
@media (min-width: 601px) and (max-width: 767px) { .admin-bar .aktionsleiste { top: auto; } }

/* =====================================================================
   2.0.3: iPhone-Korrekturen (Prüfung webapp-testing, 390 × 844)
   ===================================================================== */
@media (max-width: 1099px) {
  /* Menü: .leiste hat backdrop-filter und ist damit Bezugsrahmen für position:fixed – das Menü hatte 0 px Höhe.
     Jetzt absolut direkt unter der Leiste, Höhe = sichtbarer Bildschirm minus Leiste. */
  .mega { position: absolute; top: 100%; right: 0; bottom: auto; left: 0; height: calc(100vh - var(--leiste-h)); height: calc(100dvh - var(--leiste-h)); max-height: none; }
}
/* Lightbox: Bildunterschrift nicht am Bildschirmrand */
.lightbox figcaption { box-sizing: border-box; max-width: min(600px, 100vw); padding-inline: 1.25rem; text-align: center; }
/* Tippflächen ≥ 44 px ohne Layoutverschiebung */
.akarte-titel a, .fusszeile a { padding-block: .6rem; }
.akarte-mehr summary { padding: 1rem 0; margin: -.7rem 0; }
/* 404: Spielvorschläge stehen bis 1279 px unter dem Text */
.w-schmal { display: none; }
@media (max-width: 1279px) { .w-breit { display: none; } .w-schmal { display: inline; } }
/* 2.0.4: nachgeladene Bibliotheksbilder – ohne JavaScript übernimmt das <noscript>-Bild */
html:not(.js) img[data-nachladen] { display: none; }
html:not(.js) noscript.bild-ersatz { display: contents; }
