/* ==========================================================================
   Cardletics – Homepage Preview
   Karten-Overlay 1:1 aus lib/ui/trading_card.dart (Designraster 900×1300)
   ========================================================================== */

:root {
  --bg: #0b0907;
  --bg-2: #14110e;
  --surface: #1e1a17;          /* AppColors.bg */
  --surface-2: #27231f;        /* AppColors.surface */
  --text: #ece4d9;             /* AppColors.text */
  --muted: #b9afa3;            /* AppColors.muted */
  --accent: #d99a3e;           /* AppColors.accent */

  /* TradingCard._rarityColor */
  --r-basic: #8e8e8e;
  --r-common: #36d66b;
  --r-rare: #24b8ff;
  --r-epic: #c05cff;
  --r-legendary: #ffc857;
  --r-ultra: #ff6a00;

  /* kCardStamp* aus card_stamp_badge.dart */
  --gold: #ffc84a;
  --gold-dark: #7a4308;
  --bronze: #c98a52;
  --bronze-dark: #6e3f25;
  --silver: #d8dee6;
  --silver-dark: #66717f;

  /* Flutter rendert ohne fontFamily die Systemschrift (SF auf iOS, Roboto auf Android) */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.4;
}
html, body { overflow-x: clip; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Typo ---------- */
.mega {
  margin: 0;
  font-weight: 900;
  font-size: clamp(48px, 8.6vw, 150px);
  line-height: .86;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.mega .line { display: block; width: fit-content; }
.hero .mega { font-size: clamp(46px, 7.4vw, 128px); }
.line--gold {
  background: linear-gradient(100deg, #fff3c4 0%, var(--r-legendary) 30%, var(--accent) 55%, #fff3c4 75%, var(--r-legendary) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: goldSlide 6s linear infinite;
}
@keyframes goldSlide { to { background-position: -220% 0; } }

.title {
  margin: 0 0 clamp(32px, 5vw, 64px);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 96px);
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent);
}
.lead { margin: 0; font-size: clamp(18px, 2vw, 24px); color: var(--muted); font-weight: 500; max-width: 30ch; }

/* ---------- Buttons ---------- */
.btn {
  --c: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  color: #120d06;
  background: linear-gradient(180deg, #f3c06c, var(--c));
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 30px -8px rgba(217,154,62,.6);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 16px 40px -8px rgba(217,154,62,.8); }
.btn:active { transform: scale(.97); }
.btn--ghost { color: var(--text); background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset; backdrop-filter: blur(10px); }
.btn--ghost:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset; }
.btn--gold { background: linear-gradient(180deg, #fff1b8, var(--r-legendary) 50%, #d99a3e); }
.btn--small { height: 40px; padding: 0 18px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: linear-gradient(180deg, rgba(11,9,7,.85), rgba(11,9,7,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__right { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 8px 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 900; letter-spacing: .08em;
  background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset;
  transition: box-shadow .2s;
}
.lang__btn:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset; }
.lang__btn .material-icons-round { font-size: 18px; color: var(--muted); }
.lang__flag { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; }
.lang__menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 70;
  width: min(460px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow: auto;
  padding: 14px; border-radius: 20px;
  background: rgba(20,17,14,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 30px 60px -20px rgba(0,0,0,.8);
}
.lang__label { margin: 2px 6px 10px; font-size: 12px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.lang__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.lang__opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-align: start; font-size: 14px; font-weight: 700; color: var(--muted); transition: background .15s, color .15s; }
.lang__opt img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; flex: none; }
.lang__opt:hover { background: rgba(255,255,255,.06); color: var(--text); }
.lang__opt.is-active { background: rgba(217,154,62,.16); color: var(--text); box-shadow: 0 0 0 1px rgba(217,154,62,.45) inset; }
@media (max-width: 480px) { .nav .btn--small { display: none; } }
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .16em; font-size: 18px; }
.nav__brand img { width: auto; height: 56px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.6)); transition: transform .4s var(--ease-spring); }
.nav__brand:hover img { transform: rotate(-6deg) scale(1.06); }
.hero__logo {
  width: clamp(110px, 12vw, 170px); height: auto; margin: 0 0 22px -6px;
  filter: drop-shadow(0 0 30px rgba(255,218,138,.25)) drop-shadow(0 10px 20px rgba(0,0,0,.6));
  opacity: 0; animation: logoIn 1.2s var(--ease-spring) .1s forwards;
}
@keyframes logoIn { from { opacity: 0; transform: translateX(-30px) rotate(-12deg) scale(.8); } to { opacity: 1; transform: none; } }
.nav__links { display: flex; gap: 28px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 820px) { .nav__links { display: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) var(--gutter); max-width: 1320px; margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   TRADING CARD
   Ebenen: glow → art (Motiv) → holo → overlay (Text, Parallax) → glare
   ========================================================================== */
.tc {
  --w: 300px;
  --rc: var(--r-legendary);         /* Rarity-Farbe */
  --s: 1.45;                        /* Rarity-Stärke */
  --mx: 50%; --my: 50%;             /* Cursor in % */
  --hyp: 0;                         /* Abstand zur Mitte 0..1 */
  --act: 0;                         /* 0 = ruhig, 1 = aktiv */
  width: var(--w);
  aspect-ratio: 900 / 1300;
  perspective: 1100px;
  container-type: inline-size;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  cursor: pointer;
  direction: ltr;
}
.natural-names .tc__name .st { text-transform: none; letter-spacing: calc(var(--u) * .2); }
.tc[data-rarity="basic"]     { --rc: var(--r-basic);     --s: .48; }
.tc[data-rarity="common"]    { --rc: var(--r-common);    --s: .70; }
.tc[data-rarity="rare"]      { --rc: var(--r-rare);      --s: 1.0; }
.tc[data-rarity="epic"]      { --rc: var(--r-epic);      --s: 1.22; }
.tc[data-rarity="legendary"] { --rc: var(--r-legendary); --s: 1.45; }
.tc[data-rarity="ultra"]     { --rc: var(--r-ultra);     --s: 1.65; }

.tc__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.tc__face {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* in preserve-3d gilt backface-visibility pro Ebene */
.tc__face > *, .tc__overlay > * { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tc__back { transform: rotateY(180deg); }

/* 1 Designpixel (900er Raster) */
.tc { --u: calc(100cqw / 900); }
@supports not (width: 1cqw) { .tc { --u: calc(var(--w) / 900); } }

/* _GridGlow: skalierte, eingefärbte Masken */
.tc__base { position: absolute; inset: 0; transform-style: flat; isolation: isolate; }
.tc__glow { position: absolute; inset: 0; pointer-events: none; }
.tc__glow i {
  position: absolute; inset: 0;
  background: var(--rc);
  -webkit-mask: url(assets/ui/card_mask.png) center / 100% 100% no-repeat;
          mask: url(assets/ui/card_mask.png) center / 100% 100% no-repeat;
}
.tc__glow i:nth-child(1) { transform: scale(1.060); opacity: var(--g1); }
.tc__glow i:nth-child(2) { transform: scale(1.036); opacity: var(--g2); }
.tc__glow i:nth-child(3) { transform: scale(1.018); opacity: var(--g3); }
.tc__glow i:nth-child(4) { transform: scale(1.008); opacity: .16; background: #fff; }
/* _DetailGlow beim Aktivieren */
.tc__aura {
  position: absolute; inset: -6%;
  border-radius: 12%;
  background: var(--rc);
  filter: blur(calc(var(--u) * 60 * var(--s)));
  opacity: calc(.18 + var(--act) * .35);
  transition: opacity .4s;
  pointer-events: none;
}

.tc__art {
  position: absolute; inset: 0;
  /* Holo-Glanz als Hintergrundebene über dem Motiv: background-blend-mode
     bleibt stabil, auch wenn Eltern animiert werden (mix-blend-mode nicht) */
  --hc: calc(var(--ho, 0));
  background-image:
    repeating-linear-gradient(115deg,
      hsl(0 85% 42% / var(--hc)) 0%, hsl(45 90% 40% / var(--hc)) 6%, hsl(140 85% 36% / var(--hc)) 12%,
      hsl(200 90% 42% / var(--hc)) 18%, hsl(270 85% 46% / var(--hc)) 24%, hsl(330 85% 42% / var(--hc)) 30%, hsl(0 85% 42% / var(--hc)) 36%),
    var(--art);
  background-size: 300% 300%, 100% 100%;
  background-position: var(--mx) var(--my), center;
  background-blend-mode: color-dodge, normal;
  -webkit-mask: url(assets/ui/card_mask.png) center / 100% 100% no-repeat;
          mask: url(assets/ui/card_mask.png) center / 100% 100% no-repeat;
}
.tc[data-rarity="basic"] .tc__art { background-blend-mode: soft-light, normal; }

/* Lichtreflex, folgt dem Cursor */
.tc__glare {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(assets/ui/card_mask.png) center / 100% 100% no-repeat;
          mask: url(assets/ui/card_mask.png) center / 100% 100% no-repeat;
  background: radial-gradient(circle at var(--mx) var(--my),
    rgba(255,255,255,calc(.08 + var(--act) * .32)) 0%,
    rgba(255,255,255,calc(var(--act) * .08)) 25%,
    rgba(0,0,0,calc(var(--act) * .22)) 80%);
}

/* Overlay-Ebene – Parallax über translateZ */
.tc__overlay {
  position: absolute; inset: 0; pointer-events: none;
  transform: translateZ(calc(var(--u) * 46));
  transform-style: preserve-3d;
  font-family: var(--font);
}

/* _StampedText: Kontur hinten, Füllung vorne */
.st { position: absolute; display: block; font-weight: 900; line-height: 1; white-space: nowrap; color: #fff; }
.st::before {
  content: attr(data-t);
  position: absolute; inset: 0;
  color: transparent;
  -webkit-text-stroke: var(--sw) var(--sc);
  text-shadow: 0 0 var(--sb) rgba(0, 0, 0, .46);
  z-index: -1;
}
.st > span { position: relative; }

/* Prozent oben links (condLeft/condTop/condFont/condStroke) */
.tc__cond {
  left: calc(var(--u) * 78);
  top: calc(var(--u) * var(--cond-top, 71));
  font-size: calc(var(--u) * 48);
  letter-spacing: 0;
  --sw: calc(var(--u) * 7.2);
  --sc: rgba(0, 0, 0, .88);
  --sb: calc(var(--u) * 2);
  isolation: isolate;
}
/* Sport-Icon oben rechts */
.tc__icon {
  position: absolute;
  right: calc(var(--u) * 88);
  top: calc(var(--u) * var(--icon-top, 66));
  font-size: calc(var(--u) * 66);
  width: calc(var(--u) * 66); height: calc(var(--u) * 66);
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px calc(var(--u) * 2.4) rgba(0, 0, 0, .55);
  overflow: hidden;
}
/* Name auf der Namensplatte (nameSide/nameBottom/nameHeight + cardNameLift) */
.tc__name {
  position: absolute;
  left: calc(var(--u) * 110);
  right: calc(var(--u) * 110);
  bottom: calc(var(--u) * (var(--name-bottom, 82) + 14.33));
  height: calc(var(--u) * 86);
  display: flex; align-items: center; justify-content: center;
}
.tc__name .st {
  position: relative;
  max-width: 100%;
  font-size: calc(var(--u) * 72);
  letter-spacing: calc(var(--u) * 1.2);
  text-transform: uppercase;
  --sw: calc(var(--u) * 11);
  --sc: rgba(0, 0, 0, .9);
  --sb: calc(var(--u) * 2.2);
  isolation: isolate;
  overflow: visible;
}
/* CardStampOverlay: right 18, bottom 158, 175er Siegel */
.tc__stamp {
  position: absolute;
  right: calc(var(--u) * 18);
  bottom: calc(var(--u) * 158);
  width: calc(var(--u) * 175); height: calc(var(--u) * 175);
  display: grid; place-items: center;
  transform: translateZ(calc(var(--u) * 24));
}
.tc__stamp::before {
  content: ""; position: absolute;
  width: 68%; height: 68%; border-radius: 50%;
  box-shadow: 0 0 calc(var(--u) * 24.5) calc(var(--u) * 2.6) rgba(0, 0, 0, .28);
}
.tc__stamp img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.tc__stamp.is-pressing img { animation: stampPress .7s var(--ease-out) both; }
.tc__stamp.is-pressing::after {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  border: calc(var(--u) * 6) solid var(--stamp-c, var(--gold));
  animation: stampRing .7s var(--ease-out) .18s both;
}
@keyframes stampPress {
  0% { transform: scale(2.6) rotate(-25deg); opacity: 0; filter: blur(4px); }
  45% { transform: scale(.88) rotate(4deg); opacity: 1; filter: blur(0); }
  70% { transform: scale(1.06) rotate(-1deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes stampRing { from { transform: scale(.8); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.tc.is-thud .tc__inner { animation: thud .5s var(--ease-out) .15s; }
@keyframes thud { 30% { translate: 0 2%; scale: .97; } 100% { translate: 0 0; scale: 1; } }

/* Rückseite */
.tc__back-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: url(assets/ui/card_mask.png) center / 100% 100% no-repeat;
          mask: url(assets/ui/card_mask.png) center / 100% 100% no-repeat;
}
/* Ausrüstung wie CardGearBack in der App: Rückseite abgedunkelt, fünf leuchtende Plätze */
.tc:not(.tc--plain-back) .tc__back-img { filter: brightness(.38) saturate(.8); }
.tc__gear {
  position: absolute;
  inset: calc(var(--u) * 92) calc(var(--u) * 36) calc(var(--u) * 58);
  display: flex; flex-direction: column; align-items: center;
  transform: translateZ(calc(var(--u) * 40));
  font-family: var(--font);
  color: #fff;
  text-align: center;
}
.tc__g-title { font-size: calc(var(--u) * 56); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tc__g-places { margin: auto 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 26); }
.tc__g-row { width: 100%; display: flex; justify-content: space-evenly; align-items: flex-start; }
.tc__g-place { width: calc(var(--u) * 378); display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 8); }
.tc__g-slot {
  --gc: #fff;
  position: relative;
  width: calc(var(--u) * 216); height: calc(var(--u) * 216);
  padding: 0; border-radius: calc(var(--u) * 52);
  background: radial-gradient(circle, color-mix(in srgb, var(--gc) 45%, transparent), transparent 70%), rgba(0,0,0,.45);
  border: calc(var(--u) * 5) solid color-mix(in srgb, var(--gc) 85%, transparent);
  box-shadow: 0 0 calc(var(--u) * 70) calc(var(--u) * 4) color-mix(in srgb, var(--gc) 55%, transparent);
  cursor: pointer; overflow: hidden;
  animation: gearPulse 1.6s ease-in-out infinite alternate;
}
.tc__g-place--charm .tc__g-slot { width: calc(var(--u) * 153); height: calc(var(--u) * 153); border-radius: calc(var(--u) * 38); }
.tc__g-slot img { width: 90%; height: 90%; object-fit: contain; pointer-events: none; }
.tc__g-slot:focus-visible { outline: calc(var(--u) * 6) solid #fff; outline-offset: calc(var(--u) * 6); }
/* Legendär: ein Lichtstreifen läuft über das Teil */
.tc__g-slot--legendary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: gearShine 2.4s ease-in-out infinite;
  pointer-events: none;
}
.tc__g-name {
  max-width: 100%;
  font-size: calc(var(--u) * 42); font-weight: 900; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 0 calc(var(--u) * 12) #000;
}
.tc__g-set { margin: 0; font-size: calc(var(--u) * 38); font-weight: 900; color: #ffc53d; }
.tc__g-bonus { margin: calc(var(--u) * 6) 0 0; font-size: calc(var(--u) * 40); font-weight: 900; color: #2edb6e; line-height: 1.2; }
.tc__g-detail {
  --gc: #fff;
  position: absolute; inset: calc(var(--u) * -40) 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 14);
  padding: calc(var(--u) * 40);
  border-radius: calc(var(--u) * 48);
  background: #0b0a0d;
  box-shadow: 0 0 0 calc(var(--u) * 4) color-mix(in srgb, var(--gc) 70%, transparent) inset, 0 0 calc(var(--u) * 80) color-mix(in srgb, var(--gc) 35%, transparent) inset;
  cursor: pointer;
  animation: gearPop .28s var(--ease-out) both;
}
.tc__g-detail[hidden] { display: none; }
.tc__g-big {
  position: relative; overflow: hidden;
  width: calc(var(--u) * 340); height: calc(var(--u) * 340);
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gc) 55%, transparent), transparent 70%);
}
.tc__g-big img { width: 92%; height: 92%; object-fit: contain; }
.tc__g-dname { font-size: calc(var(--u) * 62); font-weight: 900; line-height: 1.05; color: var(--gc); }
.tc__g-chip {
  padding: calc(var(--u) * 8) calc(var(--u) * 22); border-radius: 999px;
  font-size: calc(var(--u) * 30); font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gc); background: color-mix(in srgb, var(--gc) 16%, transparent);
}
.tc__g-dbonus { font-size: calc(var(--u) * 72); font-weight: 900; color: #2edb6e; line-height: 1; }
.tc__g-affix { font-size: calc(var(--u) * 38); font-weight: 800; color: rgba(255,255,255,.88); }
.tc--plain-back .tc__gear { display: none; }
@keyframes gearPulse {
  from { box-shadow: 0 0 calc(var(--u) * 40) calc(var(--u) * 2) color-mix(in srgb, var(--gc) 40%, transparent); }
  to { box-shadow: 0 0 calc(var(--u) * 80) calc(var(--u) * 6) color-mix(in srgb, var(--gc) 70%, transparent); }
}
@keyframes gearShine { 0%, 40% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes gearPop { from { opacity: 0; transform: scale(.92); } }
@media (prefers-reduced-motion: reduce) {
  .tc__g-slot, .tc__g-slot--legendary::after, .tc__g-detail { animation: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 110px var(--gutter) 70px;
  max-width: 1440px; margin: 0 auto;
}
.hero__aura {
  position: absolute; inset: -20% -30% auto; height: 120%;
  background:
    radial-gradient(40% 45% at 70% 50%, rgba(255,200,87,.20), transparent 70%),
    radial-gradient(30% 35% at 85% 30%, rgba(192,92,255,.18), transparent 70%),
    radial-gradient(35% 40% at 55% 70%, rgba(36,184,255,.12), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .lead { margin-top: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .line { opacity: 0; transform: translateY(60%) rotate(3deg); animation: lineIn 1.1s var(--ease-out) forwards; }
.hero .line:nth-child(2) { animation-delay: .12s; }
.hero .lead, .hero__cta, .hero .eyebrow { opacity: 0; animation: fadeUp 1s var(--ease-out) .35s forwards; }
.hero__cta { animation-delay: .5s; }
@keyframes lineIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hint { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; margin: 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.35); }

/* Fächer */
.fan {
  --cw: clamp(170px, 16.5vw, 260px);
  position: relative; z-index: 1;
  height: calc(var(--cw) * 1.444 + 80px);
  display: grid; place-items: center;
}
.fan__slot {
  --i: 0;          /* -2..2 */
  --a: 0;          /* |i| */
  position: absolute;
  transform-origin: 50% 120%;
  transform:
    translateX(calc(var(--i) * var(--cw) * .14))
    translateY(calc(var(--a) * 8px))
    rotate(calc(var(--i) * 5deg));
  transition: transform .8s var(--ease-spring);
  z-index: calc(10 - var(--a));
  opacity: 0;
  animation: dealIn .9s var(--ease-out) forwards;
  animation-delay: calc(.4s + var(--n) * .09s);
}
.fan__slot .tc { --w: var(--cw); }
@keyframes dealIn {
  from { opacity: 0; translate: 0 40vh; rotate: calc(var(--i) * -30deg); }
  to   { opacity: 1; translate: 0 0; rotate: 0deg; }
}
.fan.is-open .fan__slot {
  transform:
    translateX(calc(var(--i) * var(--cw) * .46))
    translateY(calc(var(--a) * var(--a) * 10px))
    rotate(calc(var(--i) * 8deg));
}
.fan.is-open .fan__slot:hover, .fan .fan__slot.is-lift {
  z-index: 20;
}
.fan.is-open .fan__slot:hover .tc, .fan .fan__slot.is-lift .tc { translate: 0 -24px; scale: 1.06; }
.fan__slot .tc { transition: translate .5s var(--ease-spring), scale .5s var(--ease-spring); }

@media (max-width: 900px) {
  .hero__logo { display: none; }
  .nav__brand img { height: 44px; }
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 96px; gap: 8px; align-content: start; }
  .fan { --cw: min(40vw, 220px); order: -1; margin-top: 28px; }
  .fan.is-open .fan__slot { transform: translateX(calc(var(--i) * var(--cw) * .3)) translateY(calc(var(--a) * var(--a) * 8px)) rotate(calc(var(--i) * 8deg)); }
  .hint { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); padding: 22px 0; background: rgba(255,255,255,.015); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-weight: 900; font-size: clamp(28px, 4vw, 52px); text-transform: uppercase; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.marquee span:nth-of-type(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee i { width: 14px; height: 14px; border-radius: 3px; rotate: 45deg; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- How ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; overflow: hidden;
  padding: 34px 30px 36px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
  min-height: 300px;
  display: flex; flex-direction: column;
}
.step:nth-child(2) { transition-delay: .1s; }
.step:nth-child(3) { transition-delay: .2s; }
.step__num { font-weight: 900; font-size: 120px; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); position: absolute; right: 18px; top: 22px; }
.step__icon { font-size: 44px; color: var(--accent); }
.step h3 { margin: auto 0 10px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .step { min-height: 220px; } }

/* ---------- Pack ---------- */
.pack { text-align: center; }
.pack .title { margin-bottom: 24px; }
.pack__stage {
  --cw: clamp(96px, 27vw, 250px);
  position: relative;
  height: calc(var(--cw) * 1.444 + 120px);
  display: grid; place-items: center;
}
.pack__rays {
  position: absolute; width: min(900px, 140vw); aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,200,87,.14) 0 8deg, transparent 8deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 65%);
          mask: radial-gradient(circle, #000 0, transparent 65%);
  animation: spin 40s linear infinite;
  opacity: .6;
  transition: opacity .6s;
}
@keyframes spin { to { rotate: 360deg; } }
.pack__pack {
  position: relative; width: min(340px, 70vw); aspect-ratio: 1;
  transition: transform .4s var(--ease-spring), opacity .4s;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.6));
}
.pack__pack:hover { transform: scale(1.05) rotate(-2deg); }
@keyframes float { 50% { translate: 0 -14px; } }
.pack__half { position: absolute; inset: 0; transition: transform .9s var(--ease-out), opacity .9s; }
.pack__half img { width: 100%; height: 100%; }
.pack__half--top { clip-path: polygon(0 0, 100% 0, 100% 24%, 85% 21%, 70% 25%, 55% 21%, 40% 25%, 25% 21%, 10% 25%, 0 22%); }
.pack__half--bottom { clip-path: polygon(0 22%, 10% 25%, 25% 21%, 40% 25%, 55% 21%, 70% 25%, 85% 21%, 100% 24%, 100% 100%, 0 100%); }
.pack__flash { position: absolute; inset: -20%; background: radial-gradient(circle, #fff 0, rgba(255,220,140,.6) 20%, transparent 60%); opacity: 0; pointer-events: none; }
.pack__cards { position: absolute; inset: 0; pointer-events: none; }
.pack__cards .slot {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  transition: transform 1s var(--ease-spring), opacity .3s;
  pointer-events: auto;
}
.pack__cards .tc { --w: var(--cw); }
.pack__sparks { position: absolute; inset: 0; pointer-events: none; }
.spark { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--c, #ffc857); box-shadow: 0 0 12px var(--c, #ffc857); animation: spark 1s var(--ease-out) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }

.pack__stage.is-charging .pack__pack { animation: shake .09s linear infinite; filter: drop-shadow(0 0 40px rgba(255,200,87,.9)) brightness(1.15); }
.pack__stage.is-charging .pack__rays { opacity: 1; animation-duration: 3s; }
@keyframes shake { 0%,100% { transform: translate(0,0) rotate(0); } 25% { transform: translate(-4px, 2px) rotate(-2deg); } 75% { transform: translate(4px,-2px) rotate(2deg); } }
.pack__stage.is-open .pack__half--top { transform: translate(18%, -120%) rotate(28deg); opacity: 0; }
.pack__stage.is-open .pack__half--bottom { transform: translateY(70%) scale(.8); opacity: 0; }
.pack__stage.is-open .pack__flash { animation: flash .8s ease-out; }
.pack__stage.is-open .pack__pack { animation: none; pointer-events: none; }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
.pack__actions { margin-top: 16px; min-height: 56px; display: grid; place-items: center; }
.pack__tip { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.burst { position: absolute; inset: -30%; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, var(--rc) 0, transparent 60%); animation: burst .9s var(--ease-out) forwards; }
@keyframes burst { from { opacity: .9; scale: .4; } to { opacity: 0; scale: 1.6; } }

/* ---------- Stamps ---------- */
.stamps__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.stamps__copy .lead { margin-bottom: 40px; }
.tiers { display: grid; gap: 12px; }
.tier {
  --c: var(--bronze); --cd: var(--bronze-dark);
  display: grid; grid-template-columns: 72px 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 18px;
  padding: 14px 22px 14px 14px; border-radius: 22px; text-align: left;
  background: rgba(255,255,255,.03);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: background .3s, box-shadow .3s, transform .4s var(--ease-spring);
}
.tier--silver { --c: var(--silver); --cd: var(--silver-dark); }
.tier--gold { --c: var(--gold); --cd: var(--gold-dark); }
.tier img { grid-row: 1 / 3; width: 72px; height: 72px; transition: transform .6s var(--ease-spring); }
.tier__label { font-weight: 900; font-size: 28px; text-transform: uppercase; letter-spacing: -.01em; color: var(--c); line-height: 1; }
.tier__count { grid-column: 2; font-size: 14px; font-weight: 700; color: var(--muted); }
.tier__dots { grid-column: 3; grid-row: 1 / 3; display: flex; gap: 6px; }
.tier__dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.12); }
.tier__dots i.on { background: var(--c); box-shadow: 0 0 10px var(--c); }
.tier:hover { transform: translateX(6px); }
.tier.is-active { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 18%, transparent), rgba(255,255,255,.02)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent) inset, 0 10px 40px -10px color-mix(in srgb, var(--c) 50%, transparent); }
.tier.is-active img { transform: rotate(-12deg) scale(1.12); }
.stamps__card { display: grid; place-items: center; }
.stamps__card .tc { --w: clamp(240px, 30vw, 360px); }
@media (max-width: 900px) {
  .stamps__grid { grid-template-columns: 1fr; gap: 0; }
  .stamps__copy { display: contents; }
  .stamps__copy .title { order: 1; }
  .stamps__copy .lead { order: 2; margin-bottom: 18px; }
  .stamps__card { order: 3; }
  .stamps__card .tc { --w: min(54vw, 260px); }
  .tiers { order: 4; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
  .tier { grid-template-columns: 1fr; grid-template-rows: none; justify-items: center; row-gap: 6px; padding: 10px 6px 12px; border-radius: 16px; text-align: center; }
  .tier img { grid-row: auto; width: 40px; height: 40px; }
  .tier__label { font-size: 15px; }
  .tier__dots { grid-column: auto; grid-row: auto; gap: 4px; }
  .tier__dots i { width: 7px; height: 7px; }
  .tier__count { grid-column: auto; font-size: 12px; line-height: 1.3; }
  .tier:hover { transform: none; }
  .tier.is-active img { transform: rotate(-12deg) scale(1.08); }
}

/* ---------- Award ---------- */
.award { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.award__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.award__rays {
  position: absolute; inset: -10%; border-radius: 50%;
  background: repeating-conic-gradient(color-mix(in srgb, var(--aw2) 24%, transparent) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 10%, transparent 68%);
          mask: radial-gradient(circle, #000 10%, transparent 68%);
  animation: spin 30s linear infinite;
  opacity: 0; transition: opacity 1s;
}
.award__img {
  position: relative; width: 78%; height: auto; aspect-ratio: 1; object-fit: contain;
  -webkit-mask: radial-gradient(circle, #000 52%, transparent 71%);
          mask: radial-gradient(circle, #000 52%, transparent 71%);
  transform: scale(.6) rotate(-20deg); opacity: .25; filter: grayscale(1);
  transition: transform 1.2s var(--ease-spring), opacity .8s, filter .8s;
}
.award.is-done .award__img { transform: none; opacity: 1; filter: none; animation: float 5s ease-in-out 1.2s infinite; }
.award.is-done .award__rays { opacity: 1; }
.mega--award { display: flex; align-items: baseline; gap: .12em; font-size: clamp(96px, 16vw, 240px); }
.award { --aw1: #ffb347; --aw2: #ff6a00; }
.award__num { font-variant-numeric: tabular-nums; background: linear-gradient(180deg, color-mix(in srgb, var(--aw1) 70%, #fff), var(--aw2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.award__unit { font-size: .3em; letter-spacing: -.01em; }
.award__copy .lead { margin-top: 18px; }
.streak { margin-top: 36px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; max-width: 460px; }
.streak i { aspect-ratio: 1; border-radius: 8px; background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; transition: background .3s, box-shadow .3s, transform .4s var(--ease-spring); }
.streak i.on { background: linear-gradient(160deg, var(--aw1), var(--aw2)); box-shadow: 0 0 14px color-mix(in srgb, var(--aw2) 55%, transparent); transform: scale(1.08); }
.streak--dense { gap: 4px; }
.streak--dense i { border-radius: 4px; }
.award__title { margin: 10px 0 6px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.award__picker { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.award__pick {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  font-size: 13px; font-weight: 900; color: var(--muted);
  background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset;
  transition: color .2s, box-shadow .2s, transform .3s var(--ease-spring);
}
.award__pick img { width: 40px; height: 40px; object-fit: contain; }
.award__pick:hover { color: var(--text); transform: translateY(-2px); }
.award__pick.is-active { color: var(--text); background: color-mix(in srgb, var(--aw2) 16%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--aw2) 60%, transparent) inset; }
.award__note { margin: 18px 0 0; font-size: 13px; color: rgba(255,255,255,.45); }
@media (max-width: 900px) { .award { grid-template-columns: 1fr; } .award__visual { max-width: 380px; margin: 0 auto; width: 100%; } }

/* ---------- Kampf ---------- */
.battle .lead { margin: -40px 0 40px; max-width: 52ch; }
.snowfield {
  position: relative; overflow: hidden; isolation: isolate; direction: ltr;
  aspect-ratio: 16 / 8.4; min-height: 360px; border-radius: 32px;
  background: #1a2433; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 40px 80px -40px rgba(120,180,255,.35);
}
.sf__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: blur(1.2px) saturate(1.05); z-index: -2; }
.snowfield::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16,26,42,.85), rgba(16,26,42,.35) 22%, transparent 55%, rgba(16,26,42,.15) 86%, rgba(16,26,42,.7)),
              radial-gradient(ellipse at 50% 55%, transparent 55%, rgba(6,10,18,.55)); }
.sf__head { position: absolute; top: 16px; left: 20px; right: 20px; display: flex; align-items: center; gap: 14px; padding: 8px 16px; border-radius: 16px; background: rgba(14,24,38,.8); box-shadow: 0 0 0 1px rgba(159,231,255,.25) inset; backdrop-filter: blur(6px); z-index: 4; }
.sf__name { unicode-bidi: plaintext; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: #9fe7ff; white-space: nowrap; }
.sf__hp { flex: 1; height: 10px; border-radius: 99px; background: rgba(0,0,0,.45); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,120,80,.35) inset; }
.sf__hp i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff4a2a, #ffb347); transition: width .45s var(--ease-out); }
.sf__hptext { font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.85); white-space: nowrap; }
.sf__avatar { position: absolute; left: 2%; bottom: 7%; width: 17%; height: auto; z-index: 2; filter: drop-shadow(0 16px 18px rgba(0,0,0,.5)); animation: sfBob 3.1s ease-in-out infinite; }
@keyframes sfBob { 50% { translate: 0 -5px; } }
.sf__team { position: absolute; left: 20%; bottom: 9%; display: grid; grid-template-columns: repeat(3, auto); gap: 14px 12px; z-index: 3; }
.sf__team .sf__card:nth-child(n+4) { translate: 26% 0; }
.sf__card { position: relative; transition: transform .35s var(--ease-spring), filter .3s; }
.sf__card .tc { --w: clamp(56px, 6.6vw, 98px); cursor: default; }
.sf__card.is-attack { transform: translateX(34%) scale(1.12); z-index: 2; }
.sf__card.is-hit { animation: hit .45s ease-out; filter: drop-shadow(0 0 14px rgba(255,70,50,.9)); }
.sf__foe { position: absolute; right: 3%; bottom: 7%; width: 34%; height: 66%; z-index: 2; transition: opacity .6s, filter .6s, transform .35s var(--ease-spring); }
.sf__foe img { position: absolute; height: auto; filter: drop-shadow(0 18px 20px rgba(0,0,0,.55)); }
.sf__leader { width: 78%; right: 4%; bottom: 0; z-index: 2; animation: sfBob 2.6s ease-in-out infinite; }
/* The rival avatar in the arena faces the team; the boss stands taller. */
/* The squad on the winter map looks toward the cards. */
.snowfield[data-mode="map"] .sf__leader { scale: -1 1; }
/* Arena: the rival's avatar at the far right, its six cards in front. */
.sf__team--foe { left: auto; right: 19%; display: none; }
.sf__team--foe .sf__card:nth-child(n+4) { translate: -26% 0; }
.sf__team--foe .sf__card.is-attack { transform: translateX(-34%) scale(1.12); }
.snowfield[data-mode="arena"] .sf__team--foe { display: grid; }
.snowfield[data-mode="arena"] .sf__foe { width: 17%; right: 2%; height: 60%; }
.snowfield[data-mode="arena"] .sf__leader { width: 100%; right: 0; scale: -1 1; }
/* The team's awards, top left under the health bar, as in the app. */
.sf__awards { position: absolute; top: 72px; left: 20px; display: flex; gap: 8px; z-index: 4; }
.sf__award { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 8px 5px; border-radius: 12px; background: rgba(14,24,38,.75); box-shadow: 0 0 0 1px rgba(255,200,87,.35) inset; }
.sf__award img { width: clamp(30px, 3.4vw, 46px); height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.sf__award b { font-size: 12px; font-weight: 900; color: #7dffa8; }
.snowfield[data-mode="boss"] .sf__leader { width: 96%; right: 0; }
.snowfield[data-mode="boss"] .sf__bg { filter: saturate(1.1) hue-rotate(-12deg) brightness(.82); }
.mode[data-sf-mode] { cursor: pointer; }
.mode.is-active { box-shadow: 0 0 0 2px var(--c1) inset, 0 30px 60px -30px var(--c1); }
.sf__minion { width: 40%; filter: brightness(.68) saturate(.85) drop-shadow(0 14px 16px rgba(0,0,0,.5)) !important; }
.sf__minion--1 { left: 0; bottom: 30%; }
.sf__minion--2 { left: 16%; bottom: 2%; }
.sf__foe.is-attack { transform: translateX(-10%); }
.sf__foe.is-hit .sf__leader { animation: hit .45s ease-out, sfFlash .45s ease-out; }
@keyframes sfFlash { 30% { filter: brightness(2.2) drop-shadow(0 0 20px #fff); } }
.sf__foe.is-dead { opacity: 0; filter: blur(4px); transform: translateY(8%) scale(.92); }
.sf__fx { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.sf__float { position: absolute; translate: -50% 0; font-weight: 900; font-size: clamp(18px, 2.2vw, 30px); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.6), 0 0 18px rgba(0,0,0,.5); white-space: nowrap; animation: sfRise 1.1s ease-out forwards; }
.sf__float--foe { color: #ffd36b; }
/* Boss counterattack: a roar and lunge, the field shakes, ice shards fly. */
.sf__foe.is-roar { transform: translateX(-14%) scale(1.06); filter: drop-shadow(0 0 26px rgba(120,200,255,.85)); }
.snowfield.is-quake { animation: sfQuake .5s ease-in-out; }
@keyframes sfQuake { 0%,100% { transform: none; } 20% { transform: translate(-6px,3px); } 40% { transform: translate(6px,-3px); } 60% { transform: translate(-4px,2px); } 80% { transform: translate(3px,-1px); } }
.sf__shard { position: absolute; width: clamp(14px, 1.8vw, 24px); height: clamp(14px, 1.8vw, 24px); margin: -12px 0 0 -12px; z-index: 6; pointer-events: none;
  background: linear-gradient(135deg, #ffffff 0%, #9fe7ff 45%, #3d9bff 100%); clip-path: polygon(50% 0, 100% 40%, 70% 100%, 20% 85%, 0 30%);
  filter: drop-shadow(0 0 8px rgba(140,220,255,.95)); }
@media (prefers-reduced-motion: reduce) { .snowfield.is-quake { animation: none; } }
.sf__float--me { color: #ff7a6b; font-size: clamp(15px, 1.6vw, 22px); }
.sf__float--crit { color: #ff9a3c; font-size: clamp(14px, 1.5vw, 20px); letter-spacing: .04em; text-transform: uppercase; }
@keyframes sfRise { 0% { opacity: 0; transform: translateY(10px) scale(.8); } 15% { opacity: 1; transform: translateY(0) scale(1.08); } 100% { opacity: 0; transform: translateY(-46px) scale(1); } }
.sf__win { position: absolute; inset: 0; display: grid; place-items: center; z-index: 6; pointer-events: none; opacity: 0; transition: opacity .4s; }
.sf__win span { font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 7vw, 96px); letter-spacing: -.02em; color: var(--r-legendary); text-shadow: 0 0 40px rgba(255,200,87,.6), 0 4px 0 rgba(0,0,0,.5); transform: scale(.6); transition: transform .5s var(--ease-spring); }
.snowfield.is-won .sf__win { opacity: 1; }
.snowfield.is-won .sf__win span { transform: scale(1); }
.modes { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode {
  --c1: #24b8ff; --c2: #c05cff;
  position: relative; overflow: hidden; min-height: 240px;
  display: flex; flex-direction: column; padding: 28px; border-radius: 28px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 22%, #120f0c), color-mix(in srgb, var(--c2) 18%, #0d0b09) 80%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 35%, transparent) inset;
  transition: transform .4s var(--ease-spring), box-shadow .3s;
}
.mode:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 70%, transparent) inset, 0 30px 60px -30px var(--c1); }
.mode:nth-child(2) { transition-delay: .08s; }
.mode:nth-child(3) { transition-delay: .16s; }
.mode--adventure { --c1: #36d66b; --c2: #1fd1c1; }
.mode--boss { --c1: #ffc857; --c2: #ff4a2a; }
.mode__icon { font-size: 44px; color: var(--c1); }
.mode__tag { position: absolute; top: 28px; right: 28px; font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--c1); padding: 6px 12px; border-radius: 99px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 50%, transparent) inset; }
.mode h3 { margin: auto 0 8px; font-size: clamp(28px, 3vw, 40px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.mode p { margin: 0; color: var(--muted); font-size: 16px; }
.boss-hp { margin-top: 16px; height: 10px; border-radius: 99px; background: rgba(0,0,0,.4); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,200,87,.3) inset; }
.boss-hp i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff4a2a, #ffc857); animation: bossHp 6s ease-in-out infinite; }
@keyframes bossHp { 0% { width: 100%; } 70% { width: 18%; } 85%, 100% { width: 100%; } }
@media (max-width: 820px) {
  .modes { grid-template-columns: 1fr; } .mode { min-height: 190px; }
  .battle .lead { margin-top: -20px; }
  .snowfield { aspect-ratio: auto; height: 420px; min-height: 0; border-radius: 24px; }
  .sf__head { top: 12px; left: 12px; right: 12px; gap: 10px; padding: 7px 12px; }
  .sf__name { font-size: 12px; } .sf__hptext { font-size: 12px; }
  .sf__avatar { width: 30%; left: 0; bottom: 4%; }
  .sf__team { left: 4%; bottom: auto; top: 116px; grid-template-columns: repeat(2, auto); gap: 10px; }
  .sf__team .sf__card:nth-child(n+5) { display: none; }
  .sf__team .sf__card:nth-child(n+4) { translate: none; }
  .sf__card .tc { --w: 17vw; }
  .sf__foe { width: 56%; height: 58%; right: 0; bottom: 4%; }
  .sf__awards { top: 56px; left: 12px; } .sf__award img { width: 26px; }
  .sf__team--foe { left: auto; right: 4%; top: 116px; }
  .sf__team--foe .sf__card:nth-child(n+4) { translate: none; }
  .snowfield[data-mode="arena"] .sf__team { grid-template-columns: repeat(2, auto); }
  .snowfield[data-mode="arena"] .sf__team .sf__card .tc { --w: 13vw; }
  .snowfield[data-mode="arena"] .sf__avatar { width: 22%; }
  .snowfield[data-mode="arena"] .sf__foe { width: 22%; height: 28%; right: 0; }
}

/* ---------- Aufgaben ---------- */
.tasks__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; margin-bottom: clamp(32px, 5vw, 64px); }
.tasks__head .title { margin: 0; }
.quests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quest {
  --c: #24b8ff; --p: .5;
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px; border-radius: 28px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--c) 12%, #15120f), #0f0d0b 75%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent) inset;
}
.quest:nth-child(2) { transition-delay: .08s; }
.quest:nth-child(3) { transition-delay: .16s; }
.quest__icon { font-size: 40px; color: var(--c); margin-bottom: 26px; }
.quest h3 { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.quest p { margin: 0 0 22px; color: var(--muted); }
.quest__bar { height: 12px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.quest__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 60%, #000), var(--c)); box-shadow: 0 0 16px var(--c); transition: width 1.6s var(--ease-out) .4s; }
.quest.is-in .quest__bar i { width: calc(var(--p) * 100%); }
.quest__val { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.tasks__note { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--muted); font-weight: 700; }
.tasks__note .material-icons-round { color: var(--accent); }
@media (max-width: 820px) { .quests { grid-template-columns: 1fr; } }

/* ---------- Spielerpass (player_pass_card.dart) ---------- */
.pass__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pass__copy .lead { margin-top: -24px; }
.pass__slot { display: grid; place-items: center; }
.tc--pass { --w: clamp(260px, 28vw, 360px); aspect-ratio: .66; --rc: #ffda8a; }
.pp {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; flex-direction: column;
  padding: calc(var(--u) * 50);
  border-radius: calc(var(--u) * 80);
  border: calc(var(--u) * 5) solid rgba(255,218,138,.65);
  background: linear-gradient(135deg, #263645, #0f1725 50%, #35283f);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(255,218,138,.35);
  color: #fff;
}
.pp--back { background: linear-gradient(135deg, #35283f, #0f1725 50%, #263645); }
.pp__wm { position: absolute; inset: 18%; background: url(assets/ui/app_icon.webp) center / contain no-repeat; opacity: .055; }
.pp__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,calc(.04 + var(--act) * .16)), transparent 55%); }
.pp__top { position: relative; display: flex; align-items: center; gap: calc(var(--u) * 30); }
.pp__top img { width: calc(var(--u) * 130); height: calc(var(--u) * 130); border-radius: calc(var(--u) * 28); }
.pp__top span { flex: 1; color: #ffda8a; font-weight: 900; font-size: calc(var(--u) * 44); letter-spacing: calc(var(--u) * 5.4); }
.pp__top b { color: #ffda8a; font-weight: 900; font-size: calc(var(--u) * 72); }
.pp__who { position: relative; display: flex; align-items: center; gap: calc(var(--u) * 36); margin-top: calc(var(--u) * 44); }
.pp__who--c { justify-content: center; text-align: center; }
.pp__avatar { width: calc(var(--u) * 158); height: calc(var(--u) * 158); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #ffda8a; font-size: calc(var(--u) * 100); }
.pp__who b { display: block; font-size: calc(var(--u) * 68); font-weight: 900; line-height: 1.1; }
.pp__who small { display: block; color: #ffda8a; font-size: calc(var(--u) * 40); font-weight: 700; }
.pp__who em { display: block; font-style: normal; color: rgba(255,255,255,.54); font-size: calc(var(--u) * 29); }
.pp__steps { position: relative; text-align: center; margin-top: calc(var(--u) * 50); }
.pp__steps b { display: block; font-size: calc(var(--u) * 116); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.pp__steps small { display: block; color: rgba(255,255,255,.7); font-size: calc(var(--u) * 36); margin-top: calc(var(--u) * 6); }
.pp__steps span { display: block; color: #ffda8a; font-size: calc(var(--u) * 58); font-weight: 800; margin-top: calc(var(--u) * 6); }
.pp__grid { position: relative; margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 22); }
.pp__grid--gold { margin-top: calc(var(--u) * 34); flex: 1; align-content: center; gap: calc(var(--u) * 16); }
.pp--back .pp__m { padding: calc(var(--u) * 16) calc(var(--u) * 24); }
.pp--back .pp__m b { font-size: calc(var(--u) * 48); }
.pp--back .pp__who { margin-top: calc(var(--u) * 30); }
.pp__m { padding: calc(var(--u) * 24) calc(var(--u) * 26); border-radius: calc(var(--u) * 36); background: rgba(255,255,255,.06); box-shadow: 0 0 0 calc(var(--u) * 2) rgba(255,255,255,.06) inset; }
.pp__m .material-icons-round { font-size: calc(var(--u) * 58); }
.pp__m b { display: block; font-size: calc(var(--u) * 54); font-weight: 900; line-height: 1.05; margin-top: calc(var(--u) * 6); }
.pp__m small { display: block; color: rgba(255,255,255,.7); font-size: calc(var(--u) * 30); line-height: 1.15; }
@media (max-width: 900px) { .pass__grid { grid-template-columns: 1fr; } .pass__copy .lead { margin-top: -12px; } }

/* ---------- Creator-Hinweis (klein, Ecke) ---------- */
.creator-chip {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 11px; border-radius: 999px;
  font-size: 12px; color: var(--muted);
  background: rgba(20,17,14,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset;
  transition: color .2s, box-shadow .2s, transform .3s var(--ease-spring);
}
.creator-chip b { color: var(--text); font-weight: 900; }
.creator-chip .material-icons-round { font-size: 18px; color: var(--accent); }
.creator-chip:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(217,154,62,.5) inset; }
@media (max-width: 600px) { .creator-chip { right: 10px; bottom: 10px; font-size: 12px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.plan {
  --c: var(--r-basic);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 6px;
  padding: 32px 28px 28px; border-radius: 30px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--c) 14%, #15120f), #0f0d0b 70%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent) inset, 0 30px 60px -30px rgba(0,0,0,.9);
  transform-style: preserve-3d;
  transition: box-shadow .3s;
}
.plan:nth-child(2) { transition-delay: .08s; }
.plan:nth-child(3) { transition-delay: .16s; }
.plan.is-in { transition: opacity .9s var(--ease-out), transform .25s ease-out, box-shadow .3s; }
.plan--club { --c: var(--r-epic); }
.plan--master { --c: var(--r-legendary); }
.plan:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 70%, transparent) inset, 0 30px 80px -20px color-mix(in srgb, var(--c) 40%, transparent); }
.plan__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 35%, transparent), transparent 50%); opacity: .7; }
.plan__name { margin: 0; font-weight: 900; font-size: 22px; letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
.plan__price { margin: 0; color: var(--muted); font-size: 15px; }
.plan__price b { color: var(--text); font-size: 22px; font-weight: 900; }
.plan__big { margin: 18px 0 8px; font-size: 128px; font-weight: 900; line-height: .85; letter-spacing: -.06em; display: flex; align-items: flex-end; gap: 12px; }
.plan__big small { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.2; padding-bottom: 12px; font-weight: 700; }
.plan ul { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 8px; }
.plan li { position: relative; padding-left: 22px; font-weight: 700; color: var(--text); font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; rotate: 45deg; background: var(--c); }
.plan .btn { margin-top: auto; }
.plan__badge { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--c); color: #12051c; }
.plan--club .btn { background: linear-gradient(180deg, #e3b3ff, var(--r-epic)); box-shadow: 0 10px 30px -8px rgba(192,92,255,.6); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan__big { font-size: 100px; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head .lead { margin-top: -20px; }
.faq__contact { margin-top: 30px; }
.faq__contact .material-icons-round { font-size: 20px; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: 22px; background: rgba(255,255,255,.035); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; transition: background .25s, box-shadow .25s; }
.faq__item[open] { background: rgba(217,154,62,.07); box-shadow: 0 0 0 1px rgba(217,154,62,.35) inset; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 900; font-size: clamp(16px, 1.5vw, 19px); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--accent); transition: transform .35s var(--ease-spring), background .25s; }
.faq__item[open] summary i { transform: rotate(45deg); background: rgba(217,154,62,.2); }
.faq__a { padding: 0 22px 22px; }
.faq__a p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 62ch; }
.faq__item[open] .faq__a { animation: faqIn .4s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: 24px; } .faq__head { position: static; } }

/* ---------- Download ---------- */
.download { text-align: center; overflow: hidden; padding-bottom: clamp(120px, 14vw, 200px); }
.download .mega { position: relative; z-index: 2; }
.download__cards { position: absolute; inset: 0; pointer-events: none; }
.download__cards .float-card { position: absolute; opacity: .55; filter: blur(.5px); animation: drift 9s ease-in-out infinite; }
.download__cards .tc { --w: clamp(110px, 13vw, 180px); cursor: default; }
@keyframes drift { 50% { translate: 0 -24px; rotate: 4deg; } }
.stores { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 48px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 26px 0 20px; border-radius: 18px;
  background: #fff; color: #000; font-weight: 900; font-size: 20px; line-height: 1; text-align: left;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  box-shadow: 0 20px 50px -20px rgba(255,255,255,.4);
}
.store small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; margin-bottom: 3px; }
.store svg { width: 28px; height: 28px; }
.store:hover { transform: translateY(-3px) scale(1.04); }

/* ---------- Fußzeile (Aufbau wie SiteFooter.tsx) ---------- */
.footer { max-width: 1320px; margin: 0 auto; padding: 40px var(--gutter) 96px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: auto; height: 44px; }
.footer__brand b { display: block; font-weight: 900; letter-spacing: .16em; font-size: 16px; }
.footer__brand p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; font-weight: 700; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.4); font-size: 13px; }

.gyro-btn { position: fixed; bottom: 18px; left: 50%; translate: -50% 0; z-index: 60; height: 44px; padding: 0 20px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; background: rgba(20,17,14,.85); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset; backdrop-filter: blur(10px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Winter-Update ---------- */
.winter { --ice: #9fd8ff; --ice-2: #4f8fd6; }
.winter__head {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(340px, 46vw, 520px); border-radius: 36px;
  display: flex; align-items: flex-end;
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 0 0 1px rgba(159,216,255,.22) inset, 0 40px 80px -40px rgba(0,0,0,.9);
}
.winter__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); }
.winter__head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,9,7,.05) 20%, rgba(11,9,7,.88) 100%); }
.winter__snow {
  position: absolute; inset: -40% 0 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(2px 2px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 60% 70%, #fff 50%, transparent 51%), radial-gradient(2.5px 2.5px at 80% 20%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 35% 85%, #fff 50%, transparent 51%);
  background-size: 220px 220px, 160px 160px, 300px 300px, 120px 120px;
  animation: winterSnow 18s linear infinite;
}
@keyframes winterSnow { to { transform: translateY(40%); } }
.winter__copy { max-width: 760px; }
.winter__copy .eyebrow { display: inline-block; color: #dff3ff; padding: 8px 14px; border-radius: 999px; background: rgba(11,20,34,.72); box-shadow: 0 0 0 1px rgba(159,216,255,.35) inset; backdrop-filter: blur(6px); }
.winter__copy .title { margin-bottom: 18px; }
.winter__copy .lead { max-width: 44ch; color: #e6eef6; }
.winter__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.wcard {
  --c: var(--ice);
  display: flex; flex-direction: column; overflow: hidden; border-radius: 30px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--c) 13%, #15120f), #0f0d0b 72%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 26%, transparent) inset;
}
.wcard--map { grid-column: span 2; }
.wcard--stadium { --c: #ffc857; }
.wcard--boss { --c: #c05cff; }
.wcard--gear { --c: #ff9a3c; }
.wcard--awards { --c: #36d66b; }
.wcard:nth-child(2), .wcard:nth-child(4) { transition-delay: .08s; }
.wcard:nth-child(5) { transition-delay: .16s; }
.wcard__art { position: relative; height: 240px; background: radial-gradient(ellipse at 50% 85%, color-mix(in srgb, var(--c) 30%, transparent), transparent 65%); }
.wcard--map .wcard__art { height: 280px; background: radial-gradient(ellipse at 50% 90%, rgba(255,255,255,.22), transparent 60%), radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%); }
.wa { position: absolute; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); transition: transform .6s var(--ease-spring); }
.wcard:hover .wa { transform: translateY(-6px); }
.wa--hut { width: 23%; left: 2%; bottom: 8%; }
.wa--inn { width: 25%; left: 26%; bottom: 12%; }
.wa--market { width: 25%; left: 52.5%; bottom: 4%; }
.wa--monster { width: 17%; right: 2%; bottom: 10%; }
.wa--coin { width: 7%; left: 18%; top: 6%; animation: wFloat 3.2s ease-in-out infinite; }
.wa--diamond { width: 6%; left: 47%; top: 4%; animation: wFloat 3.6s ease-in-out .4s infinite; }
.wa--chest { width: 8%; left: 74%; top: 6%; animation: wFloat 4s ease-in-out .8s infinite; }
@keyframes wFloat { 50% { translate: 0 -10px; } }
.wa--stadium { width: 48%; left: 26%; top: 50%; translate: 0 -50%; z-index: 2; }
.wa--training { width: 22%; left: 2%; top: 4%; }
.wa--fanshop { width: 22%; right: 2%; top: 4%; }
.wa--workshop { width: 22%; left: 2%; bottom: 4%; }
.wa--tower { width: 18%; right: 4%; bottom: 4%; }
.wa--pvp { display: none; }
.wa--gate { width: 40%; left: 3%; bottom: 6%; opacity: .95; }
.wa--boss { width: 52%; right: 2%; bottom: 2%; z-index: 2; animation: wFloat 5s ease-in-out infinite; }
.gear-row { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 12px 10px; padding: 20px 22px; }
.gear { width: 100%; max-width: 74px; height: auto; margin: 0 auto; aspect-ratio: 1; object-fit: contain; border-radius: 18px; padding: 8px; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 34%, transparent), transparent 70%); box-shadow: 0 0 0 1px color-mix(in srgb, var(--rc) 55%, transparent) inset; }
.gear--basic { --rc: var(--r-basic); } .gear--common { --rc: var(--r-common); } .gear--rare { --rc: var(--r-rare); }
.gear--epic { --rc: var(--r-epic); } .gear--legendary { --rc: var(--r-legendary); } .gear--ultra { --rc: var(--r-ultra); }
.wa--aw1 { width: 26%; left: 5%; top: 14%; rotate: -8deg; }
.wa--aw2 { width: 26%; left: 37%; top: 4%; z-index: 2; }
.wa--aw3 { width: 26%; right: 5%; top: 14%; rotate: 8deg; }
.wa--gift { width: 20%; left: 40%; bottom: 0; z-index: 3; }
.wcard__body { display: flex; flex-direction: column; gap: 10px; padding: 8px 28px 28px; }
.wcard h3 { margin: 0; font-size: clamp(26px, 2.4vw, 36px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; color: var(--c); }
.wcard p { margin: 0; color: var(--muted); }
.wcard ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.wcard li { position: relative; padding-inline-start: 22px; font-weight: 700; font-size: 15px; }
.wcard li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; rotate: 45deg; background: var(--c); }
.wcard--map ul { grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.plan li.plan__xmas { color: #ffd9a0; }
.plan li.plan__xmas::before { background: #ff6b6b; }
@media (max-width: 1000px) { .winter__grid { grid-template-columns: 1fr 1fr; } .wcard--map { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .winter__grid { grid-template-columns: 1fr; }
  .wcard--map ul { grid-template-columns: 1fr; }
  .wcard__art, .wcard--map .wcard__art { height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .winter__snow, .wa, .sf__avatar, .sf__leader { animation: none !important; } }
.gear-pop {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.gear-pop__box {
  --u: calc(min(340px, 100vw - 32px) / 900);
  position: relative; inset: auto;
  width: min(340px, 100vw - 32px);
  aspect-ratio: 900 / 1100;
  font-family: var(--font);
  color: #fff;
  text-align: center;
}

/* ---------- Barrierefreiheit ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Hauptüberschrift: Stichwort klein darüber, Slogan groß (vorher eigene Zeile über dem h1) */
.hero__h1 { margin: 0; }
.hero__h1 .eyebrow, .hero__h1 .mega { display: block; }
.award__val { display: flex; align-items: baseline; gap: .12em; }
/* Sichtbare Markierung für die Bedienung mit der Tastatur */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.tc:focus-visible { outline-offset: 6px; border-radius: 4%; }
/* Pause-Schalter: hält alle CSS-Animationen an, JS-Schleifen prüfen `still` */
.is-still *, .is-still *::before, .is-still *::after { animation-play-state: paused !important; }
.motion-btn {
  position: fixed; left: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; color: var(--muted);
  background: rgba(20,17,14,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset;
  cursor: pointer;
}
.motion-btn:hover { color: var(--text); }
.motion-btn .material-icons-round { font-size: 20px; }
@media (max-width: 600px) {
  .motion-btn { left: 10px; bottom: 10px; padding: 0 12px; }
  .motion-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
