/* Check Royale – Website v3 (30.11.2026): hell wie Variante B „Schnee-hell“, dazu die Wisch-Effekte aus Variante A.
   Nach dem dunklen Winterbild öffnet sich die Seite in helles Schneeweiß mit weichen blauen Schatten.
   Bewegung: motion.js schreibt nur CSS-Variablen, hier werden daraus transform / opacity / clip-path.
   Jeder Grundwert ist der fertige Zustand (ohne JavaScript und mit „weniger Bewegung“ steht alles sofort da).
   Farben: Nachtblau (Knöpfe, Schrift), Himmelblau aus dem Startbild (Akzente), ein warmes Kerzen-Orange (sparsam).
   Kein Weinrot, keine Creme-Knöpfe, keine Goldrahmen, keine Ränder um Buchstaben – nur weicher Schatten.
   Schrift: Kanit Black Italic (OFL) für Überschriften, Systemschrift für kleinen Text. */

@font-face {
  font-family: "Kanit";
  src: url("../fonts/Kanit-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --snow: #eef3fc;
  --snow-2: #e7eefa;
  --ice: #d9e5fb;
  --white: #ffffff;
  --ink: #0e1a44;
  --ink-2: #47547a;
  --ink-3: #56627f;
  --frost: #dfe6fb;
  --foot: #e2e9fa;
  --night: #0d1b4f;
  --night-2: #1d3290;
  --night-deep: #070f33;
  --sky: #2f5bd6;
  --sky-2: #7c9cff;
  --warm: #ff8a3d;
  --warm-2: #ffb36b;
  --radius: 28px;
  --radius-s: 18px;
  --shadow-sm: 0 1px 2px rgba(24, 46, 120, 0.06), 0 10px 24px -10px rgba(24, 46, 120, 0.22);
  --shadow: 0 2px 6px rgba(24, 46, 120, 0.06), 0 28px 56px -22px rgba(24, 46, 120, 0.34);
  --shadow-lg: 0 4px 12px rgba(24, 46, 120, 0.07), 0 48px 90px -34px rgba(24, 46, 120, 0.5);
  --display: "Kanit", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 58px;
  --tabbar-h: 68px;
  --strip-h: 0px;
  --wrap: 1160px;
  --gutter: 16px;
}

body.has-strip {
  --strip-h: 28px;
}

@media (min-width: 760px) {
  :root {
    --header-h: 68px;
    --tabbar-h: 0px;
    --gutter: 32px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--snow);
}

html.film {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  background: var(--snow);
  /* clip statt hidden: kein eigener Scroll-Kasten, nichts kann seitlich wandern */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sky);
}

h1,
h2,
h3,
h4,
.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: clamp(36px, 7vw, 76px);
}

h2 {
  font-size: clamp(30px, 4.6vw, 54px);
}

h3 {
  font-size: 22px;
  line-height: 1.05;
}

p,
dl,
dd,
ol,
ul {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.muted {
  color: var(--ink-2);
}

.ico {
  width: 1em;
  height: 1em;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

figure {
  margin: 0;
}

#site-header {
  display: contents;
}

.kicker {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
}

/* ---------- Vorschau-Hinweis (eine schmale Zeile) ---------- */
.preview-banner {
  position: relative;
  z-index: 41;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  background: var(--night-deep);
  color: #c9d5f5;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
}

.preview-banner span + span::before {
  content: "·";
  margin: 0 0.55em;
}

@media (max-width: 599px) {
  .preview-banner span:nth-child(n + 3) {
    display: none;
  }
}

noscript .preview-banner,
noscript + .preview-banner {
  height: auto;
  white-space: normal;
  padding: 10px var(--gutter);
}

/* ---------- Kopfzeile: hell und mattiert; auf der Startseite über dem Bild durchsichtig ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(243, 246, 252, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(24, 46, 120, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header.over-hero {
  color: #fff;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
  min-width: 0;
  min-height: 44px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 6px 16px -4px rgba(8, 18, 70, 0.45);
}

.brand span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.over-hero .brand span,
.over-hero .main-nav a {
  text-shadow: 0 2px 14px rgba(5, 12, 50, 0.55);
}

.main-nav {
  display: none;
  gap: 4px;
}

.main-nav a {
  font-family: var(--body);
  font-weight: 650;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: inherit;
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  opacity: 0.78;
  transition: background-color 0.2s, opacity 0.2s, color 0.2s;
}

.main-nav a:hover {
  opacity: 1;
  background: rgba(47, 91, 214, 0.08);
}

.main-nav a[aria-current="page"] {
  opacity: 1;
  color: #fff;
  background: var(--night);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 6px 16px -6px rgba(13, 27, 79, 0.6);
}

.over-hero .main-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.over-hero .main-nav a[aria-current="page"] {
  color: #fff;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

/* Sprache: kleiner Schalter in zwei Teilen */
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(14, 26, 68, 0.07);
}

.lang-switch button {
  font: 800 13px/1 var(--body);
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  transition: background-color 0.2s, color 0.2s;
}

.lang-switch button[aria-pressed="true"] {
  color: #fff;
  background: var(--night);
  box-shadow: 0 4px 10px -4px rgba(13, 27, 79, 0.6);
}

.over-hero .lang-switch {
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.over-hero .lang-switch button {
  color: rgba(255, 255, 255, 0.82);
}

.over-hero .lang-switch button[aria-pressed="true"] {
  color: var(--night);
  background: #fff;
}

@media (min-width: 760px) and (max-width: 1023px) {
  .main-nav a {
    padding: 10px 12px;
  }
  .site-header .wrap {
    gap: 8px;
  }
}

@media (min-width: 760px) {
  .main-nav {
    display: flex;
  }
  .brand span {
    font-size: 22px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
}

/* ---------- Knöpfe: Nachtblau mit weißer Schrift, rund, leichter Glanz oben ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.18s ease, filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 30px -12px rgba(13, 27, 79, 0.7);
}

.btn-secondary {
  color: var(--night);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(13, 27, 79, 0.12), 0 12px 26px -14px rgba(24, 46, 120, 0.45);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn:focus-visible,
.lang-switch button:focus-visible,
.main-nav a:focus-visible,
.tabbar a:focus-visible,
.store-badge:focus-visible,
.footer-links a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--sky-2);
  outline-offset: 3px;
}

.btn-block {
  width: 100%;
}

.btn-small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
}

/* Platzhalter für den offiziellen App-Store-Knopf (kommt von Apple, wenn die App live ist) – nachtblau, rund */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 28px 8px 22px;
  border-radius: 999px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #22389c 0%, var(--night) 60%, #0a1540 100%);
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 18px 40px -14px rgba(8, 18, 70, 0.75);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 46px -14px rgba(8, 18, 70, 0.8);
}

.store-badge .ico {
  width: 26px;
  height: 26px;
}

.store-badge span {
  display: flex;
  flex-direction: column;
}

.store-badge small {
  font-size: 12px;
  line-height: 1.15;
  opacity: 0.78;
}

.store-badge b {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Start-Zustand: derselbe Knopf als Link „Jetzt im App Store“ */
a.store-badge {
  text-decoration: none;
}

/* Apples offizielles Abzeichen (Datei in assets/img/store/) statt des eigenen Knopfs */
.store-badge.apple {
  padding: 0;
  min-height: 44px;
  border-radius: 12px;
  background: none;
  box-shadow: 0 14px 30px -14px rgba(8, 18, 70, 0.6);
}

.store-badge.apple img {
  height: 56px;
  width: auto;
}

/* ---------- Karten und Pillen (Unterseiten) ---------- */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-pad {
  padding: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 800 12px/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--night);
  white-space: nowrap;
}

/* ---------- Abschnitte (Unterseiten) ---------- */
.section {
  padding: 64px 0;
  scroll-margin-top: var(--header-h);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.page-head {
  padding-top: 56px;
  padding-bottom: 6px;
}

.page-head h1 {
  color: var(--night);
  font-size: clamp(40px, 6vw, 72px);
}

.page-head p {
  color: var(--ink-2);
  max-width: 680px;
  margin-top: 14px;
  font-size: 18px;
}

/* =========================================================
   Startseite 1: großes Bild. Drei Ebenen: hinten Bild + Schnee, dazwischen der Spruch, vorne die Figuren.
   Beim Scrollen (--hs 0…1 aus motion.js): Bild langsamer als die Figuren (Tiefe), Spruch steigt weg.
   Beim Laden (motion.js, Zeit): --l1y/--l1k, --l2y/--l2k (Zeilen), je Figur --ps/--py/--po, je Schneewolke --b/--bo, --ia (Knopf).
   Alle Grundwerte = fertiger Zustand (ohne JavaScript / mit „weniger Bewegung“ steht alles sofort da).
   ========================================================= */
.hero {
  --hh: clamp(600px, calc(100vh - var(--strip-h) - var(--tabbar-h)), 940px);
  --hh: clamp(600px, calc(100svh - var(--strip-h) - var(--tabbar-h)), 940px);
  --hs: 0;
  position: relative;
  height: var(--hh);
  margin-top: calc(var(--header-h) * -1);
  overflow: hidden;
  /* clip = kein Scroll-Kasten: das Bild kann nicht in sich selbst verrutschen (Fokus, Tab-Taste) */
  overflow: clip;
  isolation: isolate;
  container: hero / size;
  background: linear-gradient(180deg, #050b33 0%, #142681 55%, #8d93d6 100%);
}

@media (min-width: 760px) {
  .hero {
    --hh: clamp(620px, calc(100vh - var(--strip-h)), 980px);
    --hh: clamp(620px, calc(100svh - var(--strip-h)), 980px);
  }
}

.hero-scene {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 1900px, calc(var(--hh) * 1.7));
  translate: -50% 0;
  container: scene / size;
  z-index: 0;
}

/* nur ein weicher Rand auf sehr breiten Bildschirmen (Schmuck, nichts hängt davon ab) */
@container hero (min-aspect-ratio: 17 / 10) {
  .hero-back {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  }
}

.hero-back {
  transform: translate3d(0, calc(var(--hs) * 16%), 0) scale(calc(1 + var(--hs) * 0.05));
  transform-origin: 50% 100%;
  will-change: transform;
}

.hero-figs {
  z-index: 3;
  pointer-events: none;
  transform: translate3d(0, calc(var(--hs) * 12%), 0);
  will-change: transform;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50.104% 74.586%;
}

.lineup {
  position: absolute;
  inset: 0;
  --iw: max(100cqw, 133.333cqh);
  --P: calc(var(--iw) * 0.17334);
  --kw: calc(var(--P) * 1.6555);
  --kh: calc(var(--kw) * 1.0137);
  --sh: calc(var(--kh) * 0.74);
  --off: calc(var(--P) + var(--sh) * 0.48 + var(--iw) * 0.03);
  --feet: 74.586cqh;
  --side-top: calc(var(--feet) + var(--P) * 0.03);
}

.f {
  position: absolute;
  max-width: none;
  height: auto;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1));
  transform-origin: 50% 95%;
  opacity: var(--po, 1);
}

/* Kronenwächter auf dem Sockel: Fußpunkt 402,5 / 770 von 805 × 816 */
.f-main {
  z-index: 3;
  width: var(--kw);
  left: calc(50.104cqw - var(--kw) * 0.5);
  top: calc(var(--feet) - var(--kw) * 0.9565);
  filter: drop-shadow(0 10px 16px rgba(4, 6, 40, 0.35));
}

/* --fy = wo im Bild die Füße stehen (Geschenkebote 0,93, Frostkönig 0,9 der Bildhöhe) */
.f-side {
  z-index: 2;
  height: var(--sh);
  width: auto;
  top: calc(var(--side-top) - var(--sh) * var(--fy, 0.95));
  translate: -50% 0;
  filter: drop-shadow(0 8px 12px rgba(4, 6, 40, 0.35));
}

.f-side.f-l {
  --fy: 0.93;
}

.f-side.f-r {
  --fy: 0.9;
}

.f-side.f-l,
.sh-l,
.bu-l {
  left: calc(50cqw - var(--off));
}

.f-side.f-r,
.sh-r,
.bu-r {
  left: calc(50cqw + var(--off));
}

.sh {
  position: absolute;
  z-index: 1;
  width: calc(var(--sh) * 0.7);
  height: calc(var(--sh) * 0.11);
  top: calc(var(--side-top) - var(--sh) * 0.055);
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 10, 50, 0.55), rgba(10, 10, 50, 0));
  opacity: var(--po, 1);
  transform: scale(var(--ss, 1));
}

/* Handy hochkant: Geschenkebote und Frostkönig kleiner, weiter innen und hinter dem Kronenwächter – ganz zu sehen */
@container scene (max-aspect-ratio: 6 / 5) {
  .lineup {
    --side-top: calc(var(--feet) - var(--P) * 0.14);
  }
  .f-side {
    height: calc(var(--sh) * 0.56);
    top: calc(var(--side-top) - var(--sh) * 0.56 * var(--fy, 0.95));
  }
  .sh {
    width: calc(var(--sh) * 0.4);
    height: calc(var(--sh) * 0.065);
    top: calc(var(--side-top) - var(--sh) * 0.032);
  }
  .f-side.f-l,
  .sh-l,
  .bu-l {
    left: 19cqw;
  }
  .f-side.f-r,
  .sh-r,
  .bu-r {
    left: 81cqw;
  }
}

/* Schneewolke beim Erscheinen (wie das Pack-Öffnen im Spiel): Lichtblitz am Boden + heller Lichtkegel von unten (--fl),
   ein Ring (dunkelblau + weiß, trägt auch auf hellem Grund), 16 Flocken in zwei Größen, 6 längliche Funken (--b, --bo).
   --b 0…1 = wie weit, --bo / --fl = Deckkraft (am Ende 0: im fertigen Zustand unsichtbar). Nur transform/opacity. */
.burst {
  position: absolute;
  z-index: 4;
  width: 0;
  height: 0;
  pointer-events: none;
  --d: 60px;
}

.burst::before {
  content: "";
  position: absolute;
  left: calc(var(--d) * -1.5);
  top: calc(var(--d) * -1.5);
  width: calc(var(--d) * 3);
  height: calc(var(--d) * 3);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 91, 214, 0) 48%, rgba(47, 91, 214, 0.7) 57%, #ffffff 65%, rgba(150, 210, 255, 0.75) 75%, rgba(150, 210, 255, 0) 100%);
  transform: scaleY(0.34) scale(calc(0.12 + var(--b, 1) * 1.05));
  opacity: var(--bo, 0);
}

.burst .fl,
.burst .cone {
  position: absolute;
  border-radius: 50%;
  opacity: var(--fl, 0);
}

.burst .fl {
  left: calc(var(--d) * -1.7);
  top: calc(var(--d) * -0.6);
  width: calc(var(--d) * 3.4);
  height: calc(var(--d) * 1.2);
  background: radial-gradient(closest-side, #ffffff 0%, rgba(255, 255, 255, 0.9) 30%, rgba(200, 232, 255, 0.55) 58%, rgba(200, 232, 255, 0) 100%);
  transform: scale(calc(1.35 - var(--fl, 0) * 0.5));
}

.burst .cone {
  left: calc(var(--d) * -0.8);
  top: calc(var(--d) * -4.6);
  width: calc(var(--d) * 1.6);
  height: calc(var(--d) * 4.8);
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(50% 100% at 50% 100%, rgba(255, 255, 255, 0.9) 0%, rgba(214, 238, 255, 0.55) 45%, rgba(190, 225, 255, 0) 100%);
  transform: scaleX(calc(0.45 + var(--fl, 0) * 0.6));
  transform-origin: 50% 100%;
}

.burst i {
  position: absolute;
  left: calc(-7px * var(--z, 1));
  top: calc(-7px * var(--z, 1));
  width: calc(14px * var(--z, 1));
  height: calc(14px * var(--z, 1));
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 42%, rgba(230, 244, 255, 0.95) 56%, rgba(214, 238, 255, 0) 74%);
  box-shadow: 0 2px 7px rgba(13, 27, 79, 0.42);
  opacity: var(--bo, 0);
  transform: rotate(var(--a)) translateX(calc(var(--b, 1) * var(--d) * var(--r) * 2.4)) scale(calc(1.4 - var(--b, 1) * 0.75));
}

.burst s {
  position: absolute;
  left: 0;
  top: -2px;
  width: calc(var(--d) * 0.42);
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(160, 215, 255, 0), #ffffff 70%, #e8f6ff);
  box-shadow: 0 1px 5px rgba(13, 27, 79, 0.35);
  opacity: var(--bo, 0);
  transform-origin: 0 50%;
  transform: rotate(var(--a)) translateX(calc(var(--b, 1) * var(--d) * var(--r) * 2.6)) scaleX(calc(1.3 - var(--b, 1) * 0.9));
}

.bu {
  top: var(--side-top);
  --d: calc(var(--sh) * 0.62);
}

.bu-m {
  left: 50.104cqw;
  top: var(--feet);
  --d: calc(var(--kw) * 0.5);
}

.snow,
.snow::after {
  position: absolute;
  inset: -200px 0 0;
  pointer-events: none;
  background-image:
    radial-gradient(2.2px 2.2px at 30px 40px, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1.6px 1.6px at 130px 120px, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(2.6px 2.6px at 190px 60px, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(1.8px 1.8px at 80px 170px, rgba(255, 255, 255, 0.7), transparent 60%);
  background-size: 220px 200px;
  animation: snow 16s linear infinite;
  opacity: 0.55;
  z-index: 1;
}

.snow::after {
  content: "";
  inset: 0;
  background-size: 340px 300px;
  animation-duration: 26s;
  opacity: 0.6;
}

@keyframes snow {
  to {
    transform: translateY(200px);
  }
}

/* oben dunkler (Kopfzeile und Spruch lesbar) */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 7, 36, 0.74) 0%, rgba(3, 7, 36, 0.34) 15%, rgba(3, 7, 36, 0) 32%);
}

/* unten weich ins Eis-Blauweiß der Seite (liegt über den Figuren).
   Beim Scrollen schiebt sich das Weiß von unten hoch und deckt Sockel und Schnee zu (eine lange, weiche Kante über ≈ 40 % der
   Bildhöhe) – nichts bleicht aus, kein Nebel-Band. Ruhezustand: nur ein schmaler weicher Saum ganz unten. */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(0deg, var(--frost) 0%, var(--frost) 22%, rgba(223, 230, 251, 0.92) 32%, rgba(223, 230, 251, 0.7) 44%, rgba(223, 230, 251, 0.4) 58%, rgba(223, 230, 251, 0.14) 74%, rgba(223, 230, 251, 0) 100%);
  transform: translate3d(0, calc((1 - min(1, var(--hs) * 1.5)) * 78%), 0);
  will-change: transform;
}

/* fester, schmaler Saum ganz unten (Übergang in den Winterpass auch ohne Scrollen) */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(0deg, var(--frost) 0%, rgba(223, 230, 251, 0.72) 30%, rgba(223, 230, 251, 0.25) 66%, rgba(223, 230, 251, 0) 100%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + 2cqh);
  padding: 0 var(--gutter);
  text-align: center;
  color: #fff;
  transform: translate3d(0, calc(var(--hs) * -75%), 0) scale(calc(1 - var(--hs) * 0.1));
  opacity: calc(1 - var(--hs) * 1.8);
  will-change: transform, opacity;
}

/* Handy: „NUR KRASSER.“ / „LEVELLED UP.“ passt in eine Zeile (11,2 % der Breite), nie drei Zeilen */
.slogan {
  font-size: clamp(36px, min(11.2cqw, 12cqh), 128px);
  line-height: 0.9;
  letter-spacing: -0.005em;
}

@container hero (min-aspect-ratio: 6 / 5) {
  .slogan {
    font-size: clamp(46px, min(13cqw, 12cqh), 128px);
  }
}

/* jede Zeile steigt aus einer unsichtbaren Kante auf (clip-path), danach geht die Kante auf (Schatten bleibt ganz) */
.slogan .ln {
  display: block;
  padding: 0 0.08em;
  white-space: nowrap;
}

.slogan .lt {
  display: inline-block;
  padding: 0 0.06em;
  text-shadow: 0 6px 36px rgba(4, 10, 50, 0.6), 0 2px 6px rgba(4, 10, 50, 0.35);
}

.js-motion .slogan .ln-1 {
  clip-path: inset(-0.5em -0.6em var(--l1k, -0.5em) -0.6em);
}

.js-motion .slogan .ln-2 {
  clip-path: inset(-0.5em -0.6em var(--l2k, -0.5em) -0.6em);
}

.slogan .ln-1 .lt {
  transform: translate3d(0, var(--l1y, 0%), 0);
}

.slogan .ln-2 .lt {
  transform: translate3d(0, var(--l2y, 0%), 0);
}

.hero-sub {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--night);
}

.hero-actions {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: clamp(14px, 2.6cqh, 30px);
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* beim Scrollen schnell weg (bei --hs ≈ 0,14 ganz), mit kleinem Hochsteigen – keine Geister auf dem Sockel */
  opacity: calc(var(--ia, 1) * (1 - var(--hs) * 7));
  transform: translate3d(0, calc((1 - var(--ia, 1)) * 26px - var(--hs) * 260px), 0);
}

.store-slot {
  display: flex;
  justify-content: center;
}

/* =========================================================
   Schrift „spawnt“: Wörter steigen aus ihrer Zeile auf (motion.js: --wy, --wk, --wo je Wort)
   ========================================================= */
.w {
  display: inline-block;
  padding: 0 0.04em;
}

.js-motion .w {
  clip-path: inset(-0.5em -0.4em var(--wk, -0.4em) -0.4em);
}

.wi {
  display: inline-block;
  transform: translate3d(0, var(--wy, 0%), 0);
  opacity: var(--wo, 1);
}

/* kleine Zeilen: von links aufgewischt (clip-path), mit einem kurzen Ruck nach rechts */
.js-motion [data-fx="wipe"] {
  clip-path: inset(-0.4em calc((1 - var(--wp, 1)) * 100%) -0.4em -0.4em);
  transform: translate3d(calc((1 - var(--wp, 1)) * -14px), 0, 0);
  opacity: calc(var(--wp, 1) * 6);
}

[data-fx="rise"] {
  opacity: var(--p, 1);
  transform: translate3d(0, calc((1 - var(--p, 1)) * 40px), 0) scale(calc(0.92 + var(--p, 1) * 0.08));
}

/* =========================================================
   Startseite 2: Winterpass
   ========================================================= */
.pass {
  position: relative;
  padding: clamp(30px, 4.4vw, 64px) 0 clamp(26px, 2.8vw, 42px);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background: linear-gradient(180deg, var(--frost) 0%, #e3ebfc 50%, var(--snow) 100%);
}

/* gemalter, kühler Schneehimmel (winter-abend weichgezeichnet und aufgehellt) hinter dem GANZEN Pass – Wort, Türchen,
   Figuren, Belohnungen und Preis. Oben und unten weich ins Eis-Blau über Verläufe im selben Hintergrund (keine Maske).
   Dazu ein kühler Schein hinter den Belohnungen und ein warmer hinter dem Preis, damit unten nichts fad wird. */
.pass-sky {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, var(--frost) 0%, rgba(223, 230, 251, 0.55) 5%, rgba(223, 230, 251, 0) 13%, rgba(238, 243, 252, 0) 88%, var(--snow) 100%),
    radial-gradient(36% 9% at 50% 36%, rgba(255, 179, 107, 0.22), rgba(255, 179, 107, 0) 70%),
    radial-gradient(52% 12% at 50% 66%, rgba(110, 150, 255, 0.26), rgba(110, 150, 255, 0) 72%),
    radial-gradient(30% 7% at 50% 88%, rgba(255, 160, 80, 0.2), rgba(255, 160, 80, 0) 72%),
    url("../img/schneehimmel.jpg") center top / cover no-repeat;
  pointer-events: none;
}

.pass-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(6px, 1.2vw, 14px);
}

.kicker {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
}

/* WINTERPASS: groß, nachtblau mit leichtem Verlauf; jeder Buchstabe einzeln (--cy, --cs, --co), davor das Frostlicht (--sx, --so) */
.pass-word {
  font-size: min(15vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--night);
}

.chs {
  position: relative;
  display: inline-block;
  padding: 0.04em 0.08em 0.06em 0;
}

.ch {
  display: inline-block;
  padding-right: 0.07em;
  margin-right: -0.07em;
  color: var(--night);
  transform: translate3d(0, var(--cy, 0%), 0) scale(var(--cs, 1));
  transform-origin: 50% 100%;
  opacity: var(--co, 1);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ch {
    background: linear-gradient(180deg, #3a5ee0 0%, #1a35a0 46%, #0b1849 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* Frostlicht: nur ein schmaler, leuchtender Streif, der über das Wort läuft – oben und unten weich auslaufend
   (elliptische Verläufe, kein Kasten, kein box-shadow-Rechteck), dazu ein weicher, runder Schein um den Streif. */
.sweep {
  position: absolute;
  inset: -0.16em 0 -0.1em 0;
  pointer-events: none;
  opacity: var(--so, 0);
  transform: translate3d(calc(var(--sx, 1.2) * 100%), 0, 0);
}

.sweep::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -0.07em;
  width: 0.14em;
  background: radial-gradient(50% 50% at 50% 50%, #ffffff 0%, rgba(240, 250, 255, 0.95) 34%, rgba(170, 225, 255, 0.55) 62%, rgba(150, 215, 255, 0) 100%);
  transform: skewX(-12deg);
}

.sweep::after {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: -0.5em;
  width: 1em;
  background: radial-gradient(50% 50% at 50% 50%, rgba(150, 215, 255, 0.5) 0%, rgba(150, 215, 255, 0.22) 45%, rgba(150, 215, 255, 0) 100%);
  transform: skewX(-12deg);
}

.pass-line {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

/* 30 Eisblöcke (seit 30.11. abends, Eisblock-Pass; vorher 24 Türchen): die gemalten Blöcke aus dem Spiel
   (Resources/EisPassR58: block-gesperrt = bereift/zu, block-riss = leuchtend gerissen/bereit), leuchten beim Scrollen
   nacheinander auf. Ohne JavaScript sind alle an. Handy 6 × 5, breit 10 × 3. Klassen heißen weiter .doors/.door. */
.doors {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 9px;
  max-width: 400px;
  margin: clamp(22px, 2.6vw, 34px) auto 0;
}

@media (min-width: 760px) {
  .doors {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 14px 14px;
    max-width: 820px;
  }
}

/* Jeder Block: weicher Schatten am Boden (fest, im Hintergrund des Blocks selbst), darüber
   .dh = eisblauer Schein hinter dem Block, .dk = der bereifte Block (zu), .dw = der leuchtend gerissene Block (an).
   motion.js schreibt nur --k (0 = zu, 1 = an); daraus werden opacity und transform – keine filter beim Scrollen.
   Grundwert --k = 1: ohne JavaScript / „weniger Bewegung“ sind alle an. */
.door {
  --k: 1;
  position: relative;
  aspect-ratio: 240 / 216;
  background: radial-gradient(closest-side, rgba(24, 46, 120, 0.3), rgba(24, 46, 120, 0)) 50% 100% / 92% 18% no-repeat;
  /* „an“ hebt sich kurz (Höcker in der Mitte des Angehens), danach etwas größer als „zu“ */
  --bump: calc(var(--k) * (1 - var(--k)) * 4);
  transform: translate3d(0, calc(var(--bump) * -8px), 0) scale(calc(0.93 + var(--k) * 0.07 + var(--bump) * 0.12));
}

.door i {
  position: absolute;
  inset: 0 0 5% 0;
  background: center / 100% 100% no-repeat;
}

.door .dh {
  inset: -22% -26% -14%;
  background: radial-gradient(closest-side, rgba(90, 215, 255, 0.5), rgba(80, 190, 255, 0.2) 55%, rgba(80, 190, 255, 0) 100%);
  opacity: calc(var(--k) * 0.8 + var(--bump) * 0.45);
}

/* zu: der bereifte Block, etwas durchscheinend; an: darüber der leuchtend gerissene Block + eisblauer Schein */
.door .dk {
  background-image: url("../img/pass/eis-zu.webp");
  opacity: calc(0.7 + var(--k) * 0.3);
}

.door .dw {
  background-image: url("../img/pass/eis-auf.webp");
  opacity: var(--k);
}

.door b {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  z-index: 1;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(14px, 1.9vw, 21px);
  line-height: 1;
  color: #fff6ea;
  text-shadow: 0 1px 2px rgba(10, 16, 50, 0.75), 0 2px 8px rgba(10, 16, 50, 0.45);
}

/* Die drei Figuren: drei Spalten, die Nussknackerin in der Mitte größer und vorne.
   motion.js: --sx/--so (Lichtstreif), je Figur --g (Wachsen), --gy, --o, --b/--bo (Schneewolke), --cap (Name), --c (Schweben) */
.stars {
  --H: min(54vw, 440px);
  --capH: 44px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: end;
  max-width: 1040px;
  margin: clamp(18px, 2.2vw, 30px) auto 0;
}

@media (min-width: 760px) {
  .stars {
    --H: min(36vw, 450px);
    --capH: 56px;
    grid-template-columns: 1fr 1.2fr 1fr;
  }
}

/* Lichtstreif auf Fußhöhe: läuft einmal die Reihe entlang */
.streak {
  position: absolute;
  z-index: 3;
  left: 0;
  width: 40%;
  height: 6px;
  bottom: calc(var(--capH) - 3px);
  border-radius: 6px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(120, 200, 255, 0), rgba(140, 215, 255, 0.9) 45%, #ffffff 70%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 18px 6px rgba(130, 200, 255, 0.55), 0 0 44px 10px rgba(90, 160, 255, 0.3);
  opacity: var(--so, 0);
  transform: translate3d(calc(-100% + var(--sx, 1.2) * 350%), 0, 0);
}

.star {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  z-index: 1;
}

.star-c {
  z-index: 2;
}

.star-float {
  position: relative;
  width: 100%;
  height: calc(var(--H) * 0.76);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translate3d(0, calc(var(--c, 0) * -16px), 0);
}

.star-c .star-float {
  height: var(--H);
}

.star-pop {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translate3d(0, var(--gy, 0px), 0) scale(var(--g, 1));
  transform-origin: 50% 100%;
  opacity: var(--o, 1);
}

.star-pop img {
  height: 100%;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 18px 16px rgba(24, 46, 120, 0.24));
}

/* Schatten am Boden: steht schon schwach da (Platzhalter, 0,3), bevor die Figur erscheint */
.star-shadow {
  position: absolute;
  z-index: 0;
  left: 12%;
  right: 12%;
  bottom: -5%;
  height: 13%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(24, 46, 120, 0.38), rgba(24, 46, 120, 0));
  transform: scale(calc(0.7 + var(--g, 1) * 0.3));
  opacity: calc(0.3 + var(--o, 1) * 0.7);
}

/* Platzhalter: der Umriss der Figur ganz schwach, bis sie erscheint (dann blendet er aus) */
.star-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: calc((1 - var(--o, 1)) * 0.16);
  pointer-events: none;
}

.star-ghost img {
  height: 100%;
  width: auto;
  max-width: none;
}

/* Schneewolke an den Füßen (Größe: --d) */
.sb {
  left: 50%;
  bottom: 0;
  top: auto;
  --d: calc(var(--H) * 0.46);
}

.star figcaption {
  height: var(--capH);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(14px, 1.7vw, 21px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--night);
  white-space: nowrap;
}

.star-c figcaption {
  font-size: clamp(15px, 2vw, 25px);
}

.js-motion .star figcaption {
  clip-path: inset(-0.4em calc((1 - var(--cap, 1)) * 100%) -0.4em -0.4em);
  opacity: calc(var(--cap, 1) * 6);
}

/* Der Rest des Passes: vier Dinge frei auf der Seite – kein Kreis, kein Kasten, nur ein weicher Schatten am Boden.
   motion.js je Ding: --dy/--do (Fallen), --dsx/--dsy (Federn), --ss/--sso (Schatten), --lab (Name) */
.more-kicker {
  position: relative;
  z-index: 2;
  display: block;
  margin: clamp(40px, 4.8vw, 66px) 0 clamp(18px, 2vw, 28px);
  text-align: center;
}

.gifts {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 12px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 760px) {
  .gifts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 34px);
  }
}

.gift {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  min-width: 0;
}

/* Die eigene Zelle schneidet das Fallen oben ab (12 % über der Zelle): ein Ding kommt „aus dem Nichts“ direkt über
   seinem Platz und fliegt nie über die Überschrift oder die Namen darüber. Seitlich und unten großzügig (Glanz, Schatten). */
.gart {
  position: relative;
  width: min(100%, 220px);
  aspect-ratio: 1;
}

.js-motion .gart {
  clip-path: inset(-12% -40% -30% -40%);
}

.gdrop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translate3d(0, var(--dy, 0%), 0) scale(var(--dsx, 1), var(--dsy, 1));
  transform-origin: 50% 100%;
  opacity: var(--do, 1);
}

.gdrop img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: drop-shadow(0 14px 14px rgba(24, 46, 120, 0.22));
}

.g-coins .gdrop img {
  width: 92%;
}

.g-emote .gdrop img {
  width: 116%;
  max-width: none;
}

.g-pack .gdrop img {
  height: 100%;
}

/* zwei echte Namenskarten, leicht gefächert */
.g-cards .gdrop .nc {
  position: absolute;
  width: 88%;
  height: auto;
  border-radius: 8px;
  filter: none;
  box-shadow: 0 14px 22px -6px rgba(24, 46, 120, 0.45);
}

.g-cards .nc-1 {
  left: 0;
  top: 22%;
  transform: rotate(-8deg);
}

.g-cards .nc-2 {
  right: 0;
  top: 48%;
  transform: rotate(5deg);
}

.gshadow {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -7%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(24, 46, 120, 0.3), rgba(24, 46, 120, 0));
  transform: scale(var(--ss, 1));
  opacity: var(--sso, 1);
}

.gcap {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.05;
  color: var(--night);
}

.gcap b {
  color: var(--sky);
}

.js-motion .gcap {
  clip-path: inset(-0.4em calc((1 - var(--lab, 1)) * 100%) -0.6em -0.4em);
  opacity: calc(var(--lab, 1) * 6);
}

.gcap small {
  display: block;
  margin-top: 6px;
  font-family: var(--body);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.pass-extra {
  margin: clamp(26px, 2.6vw, 36px) auto 0;
  max-width: 680px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* Preis: groß, warm, stempelt herein (--ps, --po, --pr), dahinter ein warmer Ring (--rs, --ro) */
.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: clamp(28px, 3.4vw, 48px) auto 0;
  text-align: center;
}

/* kurzer Ruck der Zeilen unter dem Preis, wenn der Stempel aufsetzt (motion.js --shk an .price) */
.price > p,
.price > .pass-get {
  translate: 0 var(--shk, 0px);
}

.price-stamp {
  position: relative;
  display: inline-block;
  transform: rotate(var(--pr, 0deg)) scale(var(--ps, 1));
  opacity: var(--po, 1);
}

.price-ring {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 150%;
  aspect-ratio: 2.4;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 160, 80, 0) 55%, rgba(255, 150, 70, 0.55) 70%, rgba(255, 190, 120, 0.35) 80%, rgba(255, 160, 80, 0) 100%);
  transform: scale(var(--rs, 1));
  opacity: var(--ro, 0);
}

.pass-price {
  position: relative;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(68px, 9vw, 124px);
  line-height: 0.95;
  padding: 0 0.08em;
  color: var(--warm);
  white-space: nowrap;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pass-price {
    background: linear-gradient(180deg, #ffb86b 0%, #ff8a3d 55%, #f0662a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 14px 26px rgba(255, 120, 40, 0.28));
  }
}

.pass-buynote {
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.pass-note {
  max-width: 560px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.pass-get {
  margin-top: 14px;
}

/* „Im Spiel holen“: runder, glänzender Knopf wie im Spiel (Verlauf, helle Glanzkante oben, weicher Schatten) */
.btn-get {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding: 16px 34px;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(8, 20, 80, 0.45);
  background: linear-gradient(180deg, #5d8bff 0%, #2f5bd6 48%, #1d3290 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), inset 0 -3px 0 rgba(8, 18, 70, 0.35), 0 16px 30px -12px rgba(29, 50, 144, 0.75);
}

.btn-get::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 4px;
  height: 44%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.pass-get[hidden] {
  display: none;
}

/* Handy */
@media (max-width: 759px) {
  .star figcaption {
    font-size: 13px;
  }
  .star-c figcaption {
    font-size: 14px;
  }
  .gart {
    width: min(100%, 160px);
  }
}

/* =========================================================
   Startseite 3: Ränge, klein (Handy: 2 Reihen à 4, alle Namen lesbar)
   motion.js: --lp (Linie), je Abzeichen --rs/--ro/--ry
   ========================================================= */
.ranks {
  position: relative;
  padding: clamp(28px, 3.4vw, 50px) 0 clamp(14px, 1.8vw, 24px);
}

.ranks-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.6vw, 30px);
  text-align: center;
}

.ranks-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ranks-copy h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  color: var(--night);
}

.rank-line {
  position: relative;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 6px;
  width: 100%;
  max-width: 880px;
}

.rk {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  opacity: var(--ro, 1);
  transform: translate3d(0, var(--ry, 0px), 0);
}

.rk img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(24, 46, 120, 0.25));
  transform: scale(var(--rs, 1));
}

.rk span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

@media (min-width: 760px) {
  .rank-line {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: clamp(4px, 1.4vw, 22px);
  }
  /* dünne Linie hinter den Abzeichen: läuft von links nach rechts */
  .rank-line::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: calc(min(9.5vw, 84px) * 0.5);
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(200, 120, 60, 0.5), rgba(47, 91, 214, 0.5), rgba(130, 90, 220, 0.55));
    transform: scaleX(var(--lp, 1));
    transform-origin: 0 50%;
  }
  .rk img {
    width: min(9.5vw, 84px);
    height: min(9.5vw, 84px);
  }
}

/* =========================================================
   Startseite 4: Schluss
   ========================================================= */
/* Schluss auf einem gemalten Winterabend (winter-abend.jpg): oben weich aus dem Eis-Blau der Seite heraus, das Bild hell
   abgetönt und mit Tiefe (wandert beim Scrollen langsamer, --c aus motion.js), unten der Schnee, der in den hellen Fuß übergeht.
   Darin erscheint der Kronenwächter wie im Spiel (Typ pop: wächst aus den Füßen, Lichtblitz, Schneewolke). */
.end {
  --H: clamp(230px, 34vw, 360px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  min-height: clamp(600px, 62vw, 800px);
  padding: clamp(70px, 9vw, 130px) 0 0;
  display: flex;
  flex-direction: column;
}

.end-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.end-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  bottom: -2%;
  background:
    linear-gradient(180deg, var(--snow) 0%, rgba(238, 243, 252, 0.7) 9%, rgba(238, 243, 252, 0.12) 24%, rgba(238, 243, 252, 0) 34%),
    linear-gradient(180deg, rgba(200, 214, 250, 0.22), rgba(200, 214, 250, 0.22)),
    url("../img/winter-abend.jpg") 50% 100% / cover no-repeat;
  transform: translate3d(0, calc(var(--c, 0) * 7%), 0);
  will-change: transform;
}

/* unten: Schnee → heller Fuß (gleiche Farbe), keine graue Kante */
.end::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(226, 234, 251, 0) 0%, rgba(226, 234, 251, 0.75) 60%, var(--foot) 100%);
}

.end-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.end h2 {
  font-size: clamp(30px, 4.4vw, 56px);
  color: #fff;
  text-shadow: 0 4px 24px rgba(4, 10, 50, 0.55), 0 2px 6px rgba(4, 10, 50, 0.35);
}

.end .hero-sub {
  color: #fff;
  text-shadow: 0 2px 10px rgba(4, 10, 50, 0.6);
}

.end .store-badge {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.22), 0 18px 40px -14px rgba(4, 8, 40, 0.85);
}

.end-fig {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-bottom: clamp(26px, 4vw, 54px);
}

.end-float {
  transform: translate3d(0, calc(var(--c, 0) * -18px), 0);
}

.end-pop {
  position: relative;
  height: var(--H);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.end-grow {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  transform: translate3d(0, var(--gy, 0px), 0) scale(var(--g, 1));
  transform-origin: 50% 100%;
  opacity: var(--o, 1);
}

.end-grow img {
  height: 100%;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 16px 18px rgba(8, 16, 60, 0.4));
}

.end-pop .star-shadow {
  left: 8%;
  right: 8%;
  bottom: -3%;
  background: radial-gradient(closest-side, rgba(10, 20, 70, 0.45), rgba(10, 20, 70, 0));
}

.end-pop .sb {
  --d: calc(var(--H) * 0.42);
}

.fine {
  font-size: 14px;
  color: var(--ink-3);
  margin: 8px 0 24px;
}

/* =========================================================
   Startseite 3b: Updates-Leiste (v3b, 30.11.2026) – EINE schmale Zeile zwischen Ränge und Schluss, keine eigene Fläche.
   Zwei feine blaue Linien (oben von links, unten von rechts, --lp), ein kurzer Frost-Schimmer (--lg) beim Hereinscrollen;
   Wort, Text und Link wischen nacheinander auf (data-fx="wipe"). Kein Gold, keine Kreise, keine Symbole.
   Handy: oben „UPDATES“ links und „ALLE UPDATES ›“ rechts, darunter der Text (darf umbrechen, nie abgeschnitten).
   ========================================================= */
.upd {
  position: relative;
  padding: clamp(4px, 0.8vw, 10px) 0 clamp(18px, 2.2vw, 30px);
}

/* v3b: weicher Übergang oben ins Schlussbild (vorher je nach Scroll-Stelle eine harte Kante direkt unter der Leiste) */
.end::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(40px, 6vw, 90px);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--snow) 0%, rgba(238, 243, 252, 0.6) 40%, rgba(238, 243, 252, 0) 100%);
}

.upd-bar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 15px 6px;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, calc(var(--lg, 0) * 0.85)), rgba(255, 255, 255, 0)) no-repeat;
  background-size: 38% 100%;
  background-position: calc((var(--lp, 1) * 1.5 - 0.25) * 100%) 0;
}

.upd-bar::before,
.upd-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 91, 214, 0), rgba(47, 91, 214, 0.34) 16%, rgba(47, 91, 214, 0.34) 84%, rgba(47, 91, 214, 0));
  transform: scaleX(var(--lp, 1));
  pointer-events: none;
}

.upd-bar::before {
  top: 0;
  transform-origin: 0 50%;
}

.upd-bar::after {
  bottom: 0;
  transform-origin: 100% 50%;
}

.upd-kicker {
  white-space: nowrap;
}

/* Wort „BALD“ / „VERSION 1.0“ steht immer vorne in der ersten Zeile; wird es eng, bricht nur der Text danach um */
.upd-text {
  display: block;
  min-width: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink-2);
}

.upd-v {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--night);
  white-space: nowrap;
  margin-right: 0.45em;
}

.upd-pts {
  min-width: 0;
}

.upd-pt {
  white-space: nowrap;
}

.upd-dot {
  font-style: normal;
  color: var(--sky-2);
}

.upd-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--sky);
  white-space: nowrap;
}

.upd-arrow {
  font-size: 24px;
  line-height: 0.8;
  transition: transform 0.2s ease;
}

.upd-bar:hover .upd-more {
  color: var(--night-2);
}

.upd-bar:hover .upd-arrow {
  transform: translateX(3px);
}

.upd-bar:focus-visible {
  outline: 3px solid var(--sky-2);
  outline-offset: 4px;
  border-radius: 12px;
}

@media (max-width: 759px) {
  .upd-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 13px 2px 14px;
  }
  .upd-kicker {
    grid-column: 1;
    grid-row: 1;
  }
  .upd-more {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
  }
  .upd-text {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 15px;
  }
  .upd-v {
    font-size: 18px;
  }
}

/* ---------- Seite updates.html: Versionen untereinander, feine Linien dazwischen, Punkte mit kleinem schrägem Strich ---------- */
.upd-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
}

.upd-item {
  padding: 26px 0 30px;
  border-top: 1px solid rgba(24, 46, 120, 0.12);
}

.upd-item:first-child {
  border-top: 0;
  padding-top: 6px;
}

.upd-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 16px;
}

.upd-item h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--night);
}

.upd-item time {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.upd-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upd-points li {
  position: relative;
  padding-left: 28px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.upd-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 15px;
  height: 3px;
  border-radius: 2px;
  background: var(--sky);
  transform: skewX(-24deg);
}

.upd-note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--ink-2);
}

/* =========================================================
   updates.html, v3b Runde 2 (30.11.2026): gestaltet im hellen Look der Startseite.
   Kopf: großes UPDATES (Frostlicht wischt, Buchstaben steigen auf, wie WINTERPASS). Dann die Version 1.0 als großer Eintrag,
   darin jeder Bereich als Bild + zwei kurze Zeilen (abwechselnd links/rechts). Bilder spawnen (motion.js „shot“):
   --se/--sb/--so je Teil .sp, Lichtstreif über Spielbilder (--sg, --sgo), Lichtblitz an den Füßen der Figuren (--sf).
   Grundwerte = fertiger Zustand. Keine Masken an Bildern, keine Kreise, nichts Goldenes.
   ========================================================= */
.uhead {
  position: relative;
  padding: clamp(40px, 7vw, 100px) 0 clamp(18px, 3vw, 40px);
  overflow: hidden;
  overflow: clip;
}

.uhead-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  right: -12%;
  top: -40%;
  width: 70%;
  height: 150%;
  background: radial-gradient(closest-side, rgba(124, 156, 255, 0.28), rgba(124, 156, 255, 0.1) 55%, rgba(124, 156, 255, 0));
}

.uhead .wrap {
  position: relative;
  z-index: 1;
}

.uhead-word {
  margin-top: 6px;
  font-size: min(19vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--night);
}

.uhead-lead {
  max-width: 620px;
  margin-top: clamp(14px, 1.6vw, 22px);
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-2);
}

.upd-feed {
  padding-bottom: clamp(56px, 8vw, 110px);
}

.rel-head {
  padding-top: clamp(18px, 3vw, 40px);
  border-top: 1px solid rgba(24, 46, 120, 0.12);
}

/* Figur rechts neben „Version 1.0“ (nur breite Fenster; auf dem Handy wäre sie nur Länge) */
.rel-head {
  position: relative;
}

.rel-head .rel-fig {
  display: none;
}

@media (min-width: 900px) {
  /* die Figur ragt nie unter den Kopf (Mindesthöhe = Figur + Abstand oben) */
  .rel-head.has-fig {
    padding-right: clamp(250px, 26vw, 360px);
    min-height: calc(clamp(220px, 22vw, 310px) * 1.07 + clamp(18px, 3vw, 40px) + 30px);
  }
  .rel-head .rel-fig {
    display: flex;
    position: absolute;
    right: 2%;
    top: clamp(18px, 3vw, 40px);
    width: clamp(220px, 22vw, 310px);
  }
  .rel-fig .fig img {
    height: auto;
    width: 100%;
  }
}

.rel-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  min-height: 34px;
}

.rel-state {
  display: inline-flex;
  align-items: center;
  font: 800 12.5px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--night);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(47, 91, 214, 0.22), 0 8px 18px -10px rgba(24, 46, 120, 0.45);
  white-space: nowrap;
}

.rel-state.is-live {
  color: #fff;
  background: linear-gradient(180deg, var(--night-2), var(--night) 65%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 18px -8px rgba(13, 27, 79, 0.7);
}

.rel-tag time {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.rel-title {
  margin-top: 14px;
  font-size: clamp(50px, 9vw, 124px);
  line-height: 0.9;
  color: var(--night);
}

.rel-lead {
  max-width: 720px;
  margin-top: 16px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.rel-inside {
  margin-top: clamp(26px, 3.4vw, 44px);
}

.areas {
  list-style: none;
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(52px, 8vw, 120px);
}

.area {
  display: grid;
  gap: 20px;
  align-items: center;
}

.area-pic {
  position: relative;
  min-width: 0;
}

.area-copy {
  min-width: 0;
}

.area-copy h3 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 0.95;
  color: var(--night);
}

.area-a {
  margin-top: 14px;
  max-width: 34em;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.area-b {
  margin-top: 6px;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .area {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
  }
  .area.flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
  .area.flip .area-pic {
    order: 2;
  }
}

/* Teile, die spawnen (Grundwerte = fertig) */
.js-motion .sp {
  opacity: var(--so, 1);
  transform: translate3d(0, calc((1 - var(--se, 1)) * 44px), 0) scale(calc(0.88 + 0.12 * var(--sb, 1)));
}

/* Spielbilder: weiche Ecken, tiefer blauer Schatten, Lichtstreif läuft einmal darüber */
.shot {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  overflow: clip;
  background: var(--frost);
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 60%;
}

.shot img {
  width: 100%;
  height: auto;
}

.glint {
  position: absolute;
  inset: -2% 0;
  pointer-events: none;
  opacity: var(--sgo, 0);
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 62%);
  transform: translate3d(calc((var(--sg, 1.3) - 0.5) * 100%), 0, 0);
}

/* Filme (Runde 3): feste Box (aspect-ratio im HTML + width/height), das Standbild füllt sie, bis der Film läuft */
.vid video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--frost);
}

/* Breit (Runde 4, Schach in 3D mit dem einen Film): Überschrift oben, darunter Bild / Film über die ganze Spalte,
   höchstens so breit wie seine Pixel (max-width im HTML), mittig */
.area-wide {
  display: block;
}

.area-wide .area-pic {
  width: 100%;
  margin: clamp(20px, 2.6vw, 34px) auto 0;
}

/* Figuren: stehen auf einem weichen Schatten, wachsen aus den Füßen, Lichtblitz am Boden */
.pic-figs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 10px 0 18px;
}

.floor {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 4px;
  height: 46px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(24, 46, 120, 0.22), rgba(24, 46, 120, 0.08) 60%, rgba(24, 46, 120, 0));
}

.fig {
  position: relative;
  display: block;
  transform-origin: 50% 100%;
}

.js-motion .fig {
  transform: translate3d(0, calc((1 - var(--se, 1)) * 26px), 0) scale(calc(0.2 + 0.8 * var(--sb, 1)));
}

.fig img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: clamp(240px, 30vw, 420px);
}

.flash {
  position: absolute;
  z-index: 2;
  left: 8%;
  right: 8%;
  bottom: -8%;
  height: 34%;
  pointer-events: none;
  opacity: var(--sf, 0);
  transform: scale(calc(0.6 + var(--sf, 0) * 0.7));
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(190, 220, 255, 0.6) 45%, rgba(190, 220, 255, 0));
}

.pic-figs.n3 .fig {
  flex: 0 1 34%;
  margin: 0 -2.5%;
}

.pic-figs.n3 .fig img {
  height: clamp(170px, 21vw, 300px);
  margin: 0 auto;
}

.pic-figs.n3 .f2 {
  z-index: 2;
}

.pic-figs.n3 .f2 img {
  height: clamp(195px, 24vw, 345px);
}

.pic-pass .fig img {
  height: auto;
  width: 100%;
  max-width: 560px;
}

/* Abzeichen 4 × 2 und Bretter 3 × 2, jedes spawnt einzeln */
.pic-ranks,
.pic-boards {
  display: grid;
  gap: 16px 10px;
}

.pic-ranks {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pic-boards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.rkb,
.brd {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 70%;
}

.rkb img {
  width: 100%;
  max-width: 128px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(24, 46, 120, 0.22));
}

.brd img {
  width: 100%;
  max-width: 220px;
  filter: drop-shadow(0 12px 16px rgba(24, 46, 120, 0.2));
}

.rkb small,
.brd small {
  margin-top: 4px;
  font: 800 12px/1.2 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: center;
}

/* „Und außerdem“: Bereiche ohne Bild, nur Schrift */
.area-more {
  display: block;
}

.more-grid {
  display: grid;
  gap: 30px;
  margin-top: 16px;
}

.more-grid .area-copy {
  padding-top: 18px;
  border-top: 1px solid rgba(24, 46, 120, 0.12);
}

@media (min-width: 760px) {
  .more-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* „Als Nächstes“: nur was fest ist (Clubs 14.12.) */
.next {
  margin-top: clamp(72px, 10vw, 140px);
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, var(--snow-2) 100%);
  box-shadow: var(--shadow);
}

.next h2 {
  color: var(--night);
}

.next-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.next-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 26px;
  align-items: center;
}

.next-date {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  color: var(--sky);
  white-space: nowrap;
}

.next-item h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--night);
}

.next-item p {
  margin-top: 6px;
  font-size: 17px;
  color: var(--ink-2);
}

.next-note {
  margin-top: 22px;
  font-size: 15px;
  color: var(--ink-3);
}

@media (max-width: 759px) {
  .area-a {
    margin-top: 10px;
  }
  .pic-ranks {
    gap: 12px 6px;
  }
  .rkb small,
  .brd small {
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .next-item {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.news-card .visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-card .visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .visual.rank-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2%;
  padding: 0 6%;
  background:
    radial-gradient(70% 70% at 50% 60%, rgba(124, 156, 255, 0.35), transparent 70%),
    linear-gradient(160deg, #ffffff, var(--ice));
}

.news-card .visual.rank-mini img {
  width: 11%;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(24, 46, 120, 0.25));
}

.news-card .card-pad {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card time {
  font-size: 13px;
  color: var(--sky);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 26px;
  color: var(--night);
}

.news-card p {
  color: var(--ink-2);
}

.news-card .visual.winter-mini {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4%;
  padding-top: 14px;
  background: url("../img/winter-abend.jpg") center 40% / cover;
}

/* Start-Meldung (nur im Live-Zustand): Kronenwächter mit Frostkönig und Nussknackerin vor der Winterbühne */
.news-card .visual.hero-mini {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1%;
  padding-bottom: 4%;
  background: url("../img/buehne-1448.jpg") center 70% / cover;
}

.news-card .visual.hero-mini img {
  width: auto;
  filter: drop-shadow(0 8px 12px rgba(8, 16, 60, 0.45));
}

.news-card .visual.hero-mini .hm-m {
  height: 84%;
}

.news-card .visual.hero-mini .hm-s {
  height: 60%;
}

.news-card .visual.winter-mini img {
  height: 88%;
  width: auto;
  filter: drop-shadow(0 8px 12px rgba(8, 16, 60, 0.45));
}

/* ---------- Hilfe ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.faq .card {
  box-shadow: var(--shadow-sm);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 62px 20px 22px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--night);
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 20px/1 var(--body);
  color: #fff;
  background: var(--night);
}

.faq details[open] summary::after {
  content: "–";
}

.faq .answer {
  padding: 0 22px 22px;
  color: var(--ink-2);
}

/* ---------- Rechtliches ---------- */
.legal > .card {
  max-width: 860px;
}

/* lange deutsche Wörter (z. B. „Verbraucherschlichtungsstelle“) brechen auf schmalen Handys um statt überzustehen */
.legal,
.faq,
.page-head {
  overflow-wrap: break-word;
  hyphens: auto;
}

.legal .card-pad {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal h2 {
  font-size: 21px;
  margin-top: 14px;
  text-transform: none;
  font-style: normal;
  font-family: var(--body);
  font-weight: 800;
  line-height: 1.2;
  color: var(--night);
}

.legal p,
.legal li {
  color: var(--ink-2);
  font-size: 16px;
}

.legal strong,
.legal b {
  color: var(--ink);
}

.legal .placeholder {
  color: var(--warm);
  font-weight: 700;
}

.legal-note {
  font-size: 14px;
  color: var(--ink-2);
  background: var(--snow-2);
  border-radius: 14px;
  padding: 12px 16px;
}

/* Widerruf-Formular (recht.js) */
.withdraw-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
  max-width: 520px;
}

.withdraw-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.withdraw-form input {
  font: 400 16px/1.3 var(--body);
  color: var(--ink);
  background: var(--snow);
  border: 1.5px solid rgba(24, 46, 120, 0.14);
  border-radius: 14px;
  padding: 13px 14px;
}

.withdraw-form .btn {
  align-self: flex-start;
}

.withdraw-status {
  min-height: 1.4em;
  font-size: 14px;
  color: var(--ink-2);
}

.withdraw-form input:focus {
  border-color: var(--sky);
  background: #fff;
}

#widerrufen h2 {
  font-size: 24px;
  color: var(--night);
}

/* ---------- Fußzeile: hell (Frost-Ton) mit dunkler Schrift – auf der Startseite geht der Schnee des Schlussbilds
   nahtlos hinein (gleiche Farbe), kein grauer Verlauf, kein schwerer Nachtblau-Block ---------- */
.site-footer {
  position: relative;
  padding: 40px 0 40px;
  background: linear-gradient(180deg, var(--foot) 0%, #d8e2f8 100%);
  color: var(--ink-2);
  font-size: 15px;
}

body:not([data-page="start"]) .site-footer {
  margin-top: 48px;
  box-shadow: inset 0 1px 0 rgba(24, 46, 120, 0.08);
}

/* Runde 5: Unterseiten füllen das Fenster – der Fuß sitzt immer unten, darunter kein heller Streifen */
body:not([data-page="start"]) {
  display: flex;
  flex-direction: column;
}

body:not([data-page="start"]) > main {
  flex: 1 0 auto;
}

.nojs-note {
  padding: 14px var(--gutter);
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--foot);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .brand {
  color: var(--night);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  margin: 0 -8px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 46, 120, 0.1);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--night);
  text-decoration: none;
  font-weight: 650;
  padding: 10px 8px;
}

.footer-links a:hover {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-small {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* Mail-Links im Fließtext (Hilfe, Recht): größere Tippfläche, ohne die Zeile zu verschieben */
.page-head a[href^="mailto:"],
.fine a[href^="mailto:"],
.legal a[href^="mailto:"],
.faq a[href^="mailto:"] {
  display: inline-block;
  padding: 12px 0;
  margin: -12px 0;
}

/* ---------- Dialog "Bald im App Store" ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 15, 51, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.modal.open {
  display: flex;
  animation: fade 0.2s ease;
}

.modal-box {
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 34px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  animation: pop 0.32s cubic-bezier(0.2, 1.3, 0.4, 1);
}

.modal-box h2 {
  font-size: 34px;
  color: var(--night);
}

.modal-box p {
  color: var(--ink-2);
}

.modal-box .sub {
  font-size: 14px;
  color: var(--ink-3);
}

.modal-box .btn {
  margin-top: 8px;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes pop {
  from {
    transform: scale(0.9) translateY(10px);
    opacity: 0;
  }
}

/* ---------- Untere Leiste auf dem Handy: hell, mattiert, gewählter Reiter nachtblau ---------- */
.tabbar {
  display: none;
}

@media (max-width: 759px) {
  /* Runde 5: der Platz für die Leiste gehört zum Fuß (gleiche Farbe), nicht zum hellen body – kein Streifen unter dem Fuß */
  body {
    padding-bottom: 0;
  }
  .site-footer {
    padding-bottom: calc(40px + var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  }
  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 4px;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 10px env(safe-area-inset-bottom, 0px);
    background: rgba(243, 246, 252, 0.88);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 -1px 0 rgba(24, 46, 120, 0.08), 0 -10px 30px -12px rgba(24, 46, 120, 0.25);
  }
  .tabbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 54px;
    height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--ink-2);
    text-decoration: none;
    font-family: var(--display);
    font-style: italic;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
  }
  .tabbar a .ico {
    width: 24px;
    height: 24px;
  }
  .tabbar a .lbl {
    display: none;
  }
  .tabbar a[aria-current="page"] {
    color: #fff;
    background: linear-gradient(180deg, var(--night-2), var(--night) 65%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 18px -8px rgba(13, 27, 79, 0.7);
  }
  .tabbar a[aria-current="page"] .lbl {
    display: inline;
  }
  .section {
    padding: 44px 0;
  }
}

/* ---------- Film-Modus (?film=…): keine Zeit-Animationen, nur der Zustand der Scroll-Stelle ---------- */
html.film *,
html.film *::before,
html.film *::after {
  animation: none !important;
  transition: none !important;
}

/* Film-Modus verschiebt den Inhalt statt zu scrollen (site.js, filmGo): Kopf und Leiste bleiben am Bildrand */
/* Ganzseiten-Bild (?still=1): das große Bild behält die Höhe des Fensters beim Laden */
html.still .hero {
  height: var(--still-hh);
}

html.film-shift,
html.film-shift body {
  overflow: hidden;
}

html.film-shift body {
  transform: translate3d(0, calc(var(--film-y, 0px) * -1), 0);
}

html.film-shift .site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--film-y, 0px);
}

html.film-shift body[data-page="start"] .hero {
  margin-top: 0;
}

html.film-shift .tabbar {
  position: absolute;
  bottom: auto;
  top: calc(var(--film-y, 0px) + var(--film-vh, 100vh) - var(--tabbar-h));
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .snow,
  .burst,
  .streak,
  .sweep,
  .price-ring,
  .star-ghost,
  .glint,
  .flash {
    display: none;
  }
  .hero-fade {
    transform: translate3d(0, 78%, 0) !important;
  }
  .door {
    --k: 1 !important;
  }
  .js-motion .gart {
    clip-path: none !important;
  }
  /* Updates-Leiste: Linien stehen, kein Schimmer */
  .upd-bar {
    background: none !important;
  }
  .upd-bar::before,
  .upd-bar::after {
    transform: none !important;
  }
  /* alles fertig und an seinem Platz – auch wenn motion.js nicht läuft */
  .hero-copy,
  .hero-back,
  .hero-figs,
  .hero-actions,
  .f,
  .lt,
  .wi,
  .ch,
  .star-float,
  .star-pop,
  .end-float,
  .end-grow,
  .end-bg,
  .gdrop,
  .price-stamp,
  .rk,
  .rk img,
  .sp,
  [data-fx] {
    opacity: 1 !important;
    transform: none !important;
  }
  .f-side {
    translate: -50% 0;
  }
  .js-motion .slogan .ln,
  .js-motion .w,
  .js-motion [data-fx="wipe"],
  .js-motion .star figcaption,
  .js-motion .gcap {
    clip-path: none !important;
  }
}
