/* Christmas Special xmas.holofreaks.de (21.11.2026). Farben, Schrift und Radien aus tokens.css, das tools/xmas-bauen.sh aus
   apps/web/src/marke/holofreaks-tokens.css kopiert (eine Quelle mit der Website). Brand Kit: Bilder dürfen leben, Bedienelemente bleiben
   ruhig. Schnee, Sterne und das Los bewegen sich, Knöpfe und Felder nicht. prefers-reduced-motion schaltet jede Bewegung ab.
   Keine Inline-Stile im HTML: die CSP erlaubt nur diese Datei. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--hf-nacht);
  color: var(--hf-eisweiss);
  font: 16px/1.55 var(--hf-schrift-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: var(--hf-eis); text-underline-offset: 3px; }
img, svg { display: block; }
h1, h2, h3, p, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--hf-eis); outline-offset: 3px; border-radius: 6px; }

/* Himmel: Eis oben, Glut unten wie im Logo. Davor ruhige Sterne und warme, unscharfe Lichter wie von einem Weihnachtsmarkt */
.himmel {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 50% -8%, rgba(96, 203, 241, 0.22), transparent 62%),
    radial-gradient(760px 520px at 108% 104%, rgba(255, 194, 74, 0.14), transparent 60%),
    radial-gradient(620px 460px at -12% 72%, rgba(229, 72, 77, 0.09), transparent 60%),
    var(--hf-nacht);
}
.himmel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    radial-gradient(1.2px 1.2px at 24px 36px, rgba(234, 249, 250, 0.7), transparent 70%),
    radial-gradient(1px 1px at 132px 84px, rgba(234, 249, 250, 0.45), transparent 70%),
    radial-gradient(1.6px 1.6px at 72px 158px, rgba(96, 203, 241, 0.7), transparent 70%),
    radial-gradient(1.2px 1.2px at 188px 196px, rgba(255, 194, 74, 0.55), transparent 70%);
  background-size: 240px 240px;
}
.himmel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(96px 96px at 10% 20%, rgba(255, 194, 74, 0.17), transparent 70%),
    radial-gradient(70px 70px at 88% 13%, rgba(255, 93, 93, 0.13), transparent 70%),
    radial-gradient(120px 120px at 80% 60%, rgba(255, 194, 74, 0.1), transparent 70%),
    radial-gradient(84px 84px at 7% 76%, rgba(61, 220, 151, 0.09), transparent 70%),
    radial-gradient(64px 64px at 42% 42%, rgba(255, 255, 255, 0.05), transparent 70%),
    radial-gradient(90px 90px at 60% 88%, rgba(255, 93, 93, 0.08), transparent 70%);
}

/* Schneefall (client/schnee.ts): feste Leinwand über dem ganzen Fenster, fängt keine Klicks. Auf der Landingpage vor dem Inhalt,
   auf Formular- und Textseiten dahinter, damit beim Tippen nichts über die Felder zieht */
.schneefall { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.schneefall[data-ebene="vorn"] { z-index: 30; }

/* Lichterkette am oberen Rand */
.mit-kette { position: relative; }
.lichterkette { position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 48px; overflow: hidden; pointer-events: none; }
.kette-reihe { position: absolute; top: 0; left: 50%; display: flex; width: max-content; transform: translateX(-50%); }
.kette { flex: 0 0 auto; overflow: visible; }
.birne rect { fill: #33406b; }
.birne-gold ellipse { fill: #ffc24a; filter: drop-shadow(0 0 7px rgba(255, 194, 74, 0.95)); animation: glimmen 5.5s ease-in-out infinite; }
.birne-rot ellipse { fill: #ff5d5d; filter: drop-shadow(0 0 7px rgba(255, 93, 93, 0.95)); }
.birne-eis ellipse { fill: #8fdcf7; filter: drop-shadow(0 0 7px rgba(96, 203, 241, 0.95)); }
.birne-tanne ellipse { fill: #3ddc97; filter: drop-shadow(0 0 7px rgba(61, 220, 151, 0.95)); }
@keyframes glimmen { 50% { opacity: 0.55; } }

.spalte {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 18px max(32px, env(safe-area-inset-bottom));
}
.mit-kette .spalte { padding-top: max(58px, calc(env(safe-area-inset-top) + 50px)); }

/* Kopf: Zweizeiler-Logo (Mindesthöhe 64 px) mal Partner */
.kopf { display: flex; justify-content: center; }
.marken { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hf-eisweiss); }
.logo { width: auto; height: 72px; }
.mal { font: 300 26px/1 var(--hf-schrift-text); color: var(--hf-stahl-hell); }
.partner-logo { width: auto; height: 96px; }

/* Held mit Christbaum (Jeff, 21.11.2026: „festlicher und deutlich größer“, „zentriere die Texte im Hero und optimiere vor allem die
   mobile Ansicht“). Unter 1240 px stehen die Texte mittig oben; darunter eine Zeile mit dem halben Baum am linken Rand und rechts
   daneben Knöpfe und Chips. Ab 1240 px steht der Baum ganz in der linken Randspalte, so groß, wie die Randspalte es hergibt */
.held { text-align: center; padding-top: 22px; }
.held-kopf { position: relative; }
.baum-platz { position: relative; }
.baum { position: relative; width: 100%; aspect-ratio: 360 / 540; pointer-events: none; }
.baum-bild { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.5)); }
.licht-gold { fill: #ffc24a; filter: drop-shadow(0 0 5px rgba(255, 194, 74, 0.95)); animation: glimmen 5.5s ease-in-out infinite; }
.licht-gold:nth-of-type(2n) { animation-delay: -2.7s; }
.licht-rot { fill: #ff5d5d; filter: drop-shadow(0 0 5px rgba(255, 93, 93, 0.95)); }
.licht-eis { fill: #bfeaff; filter: drop-shadow(0 0 5px rgba(96, 203, 241, 0.95)); }
.funkel { transform-box: fill-box; transform-origin: center; animation: funkeln 5s ease-in-out infinite; }
.funkel-1 { animation-delay: -1.7s; }
.funkel-2 { animation-delay: -3.3s; }
/* Baumschmuck: Die Kugeln hängen still. Nur die fünf Sterne schaukeln langsam an ihrem Faden */
.haenger { transform-box: fill-box; transform-origin: 50% 0; animation: schaukeln 5.2s ease-in-out infinite alternate; }
@keyframes schaukeln { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@media (max-width: 1239px) {
  .held-kopf {
    --links: max(18px, calc((100vw - 640px) / 2 + 18px));
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto 1fr 1fr;
    column-gap: 14px;
  }
  .held-kopf > .ueberzeile, .held-kopf > h1, .held-kopf > .claim, .held-kopf > .intro { grid-column: 1 / -1; }
  .baum-platz { grid-column: 1; grid-row: 5 / span 2; height: 452px; margin-top: 14px; }
  .baum { position: absolute; top: 0; left: calc(-1 * var(--links)); width: 300px; transform: translateX(-50%); }
  .held-kopf > .knoepfe { grid-column: 2; grid-row: 5; align-self: end; flex-direction: column; align-items: stretch; margin-top: 0; }
  .held-kopf > .fakten { grid-column: 2; grid-row: 6; align-self: start; }
  .held-kopf .knopf { padding-left: 14px; padding-right: 14px; white-space: nowrap; }
}
@media (min-width: 1240px) {
  .baum-platz { --breite: min(470px, calc((100vw - 640px) / 2 - 30px)); position: absolute; top: -44px; left: calc(-1 * (var(--breite) + 14px)); width: var(--breite); }
}
.ueberzeile { font: 700 13px/1.2 var(--hf-schrift-marke); letter-spacing: 0.16em; text-transform: uppercase; color: var(--hf-glut); }
.funke { display: inline-block; }
@keyframes funkeln { 50% { opacity: 0.35; transform: scale(0.8) rotate(20deg); } }
h1 { font: 800 clamp(31px, 8.4vw, 46px)/1.08 var(--hf-schrift-marke); letter-spacing: -0.01em; margin-top: 12px; text-wrap: balance; }
.verlauf { background: var(--hf-verlauf-marke); -webkit-background-clip: text; background-clip: text; color: transparent; }
.claim { margin-top: 12px; font: 700 clamp(18px, 5vw, 23px)/1.25 var(--hf-schrift-marke); color: var(--hf-eisweiss); }
.intro { margin: 10px auto 0; max-width: 34em; color: var(--hf-stahl-hell); font-size: 17px; text-wrap: pretty; }

/* Das Los als Eintrittskarte (Jeff, 21.11.2026: „soll mehr nach Ticket aussehen“): goldenes Ticket mit eingezogenen Ecken, rechts der
   Abriss hinter einer Perforation. Die Form entsteht aus vier Masken je Teil (ein Viertelkreis je Ecke); wo Hauptteil und Abriss
   aneinanderstoßen, ergeben zwei Viertelkreise die Kerbe. Die Statuszeile ist eine dunkle Pille, damit der Punkt auf Gold lesbar bleibt */
.los {
  display: flex;
  width: min(100%, 372px);
  margin: 30px auto 0;
  color: var(--hf-nacht);
  transform: rotate(-2deg);
  filter: drop-shadow(0 16px 28px rgba(255, 194, 74, 0.22)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}
@keyframes holo { to { background-position: 100% 0; } }
.los-haupt, .los-abriss {
  --kerbe: 11px;
  position: relative;
  background: linear-gradient(118deg, #fff3c8 0%, #ffd768 20%, #f0ae36 46%, #ffe392 68%, #e9a630 100%);
  background-size: 230% 100%;
  animation: holo 16s linear infinite alternate;
  -webkit-mask:
    radial-gradient(circle var(--kerbe) at 0 0, transparent calc(var(--kerbe) - 0.5px), #000 var(--kerbe)) top left / 51% 51% no-repeat,
    radial-gradient(circle var(--kerbe) at 100% 0, transparent calc(var(--kerbe) - 0.5px), #000 var(--kerbe)) top right / 51% 51% no-repeat,
    radial-gradient(circle var(--kerbe) at 0 100%, transparent calc(var(--kerbe) - 0.5px), #000 var(--kerbe)) bottom left / 51% 51% no-repeat,
    radial-gradient(circle var(--kerbe) at 100% 100%, transparent calc(var(--kerbe) - 0.5px), #000 var(--kerbe)) bottom right / 51% 51% no-repeat;
  mask:
    radial-gradient(circle var(--kerbe) at 0 0, transparent calc(var(--kerbe) - 0.5px), #000 var(--kerbe)) top left / 51% 51% no-repeat,
    radial-gradient(circle var(--kerbe) at 100% 0, transparent calc(var(--kerbe) - 0.5px), #000 var(--kerbe)) top right / 51% 51% no-repeat,
    radial-gradient(circle var(--kerbe) at 0 100%, transparent calc(var(--kerbe) - 0.5px), #000 var(--kerbe)) bottom left / 51% 51% no-repeat,
    radial-gradient(circle var(--kerbe) at 100% 100%, transparent calc(var(--kerbe) - 0.5px), #000 var(--kerbe)) bottom right / 51% 51% no-repeat;
}
.los-haupt { flex: 1 1 auto; min-width: 0; padding: 22px 16px 20px; text-align: center; }
.los-haupt::after { content: ""; position: absolute; inset: 12px 10px 12px 12px; border: 1.5px solid rgba(7, 13, 31, 0.3); border-radius: 7px; pointer-events: none; }
.los-abriss {
  flex: 0 0 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 6px;
  border-left: 2px dashed rgba(7, 13, 31, 0.55);
}
.los-strichcode {
  width: 46px;
  height: 46px;
  opacity: 0.88;
  background: repeating-linear-gradient(90deg, var(--hf-nacht) 0 2px, transparent 2px 4px, var(--hf-nacht) 4px 7px, transparent 7px 9px, var(--hf-nacht) 9px 10px, transparent 10px 13px);
}
.los-abriss-nr { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 15px/1 var(--hf-schrift-marke); letter-spacing: 0.14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.los-oben { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.los-aktion { font: 800 12.5px/1.2 var(--hf-schrift-marke); letter-spacing: 0.15em; text-transform: uppercase; }
.los-marke { font-size: 12px; font-weight: 600; opacity: 0.78; letter-spacing: 0.02em; }
.los-kern { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 8px 0 10px; }
.los-wort { font: 800 14px/1 var(--hf-schrift-marke); letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.82; }
.los-nr { font: 800 64px/1 var(--hf-schrift-marke); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55); }
.los-von { font-size: 14px; font-weight: 600; opacity: 0.82; }
.los-stand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--hf-radius-pille);
  background: var(--hf-nacht);
  color: var(--hf-eisweiss);
  font: 700 11px/1.2 var(--hf-schrift-marke);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.los-punkt {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff3b4e;
  box-shadow: 0 0 0 3px rgba(255, 59, 78, 0.22), 0 0 12px rgba(255, 59, 78, 0.95);
  animation: punkt-blinken 2.6s ease-in-out infinite;
}
@keyframes punkt-blinken { 50% { opacity: 0.15; } }
.los-aktiv .los-punkt { background: var(--hf-gewinn); box-shadow: 0 0 0 3px rgba(43, 212, 125, 0.25), 0 0 14px rgba(43, 212, 125, 0.95); animation: none; }
.los-aktiv .los-stand { color: var(--hf-gewinn); }
.code-zeile-klein { margin-top: 16px; text-align: center; font: 13px/1.2 var(--hf-schrift-mono); letter-spacing: 0.08em; color: var(--hf-stahl-hell); }

/* Symbole (Emojis): Zierde neben kurzem Text und in der Regel still. Bewegt sind nur wenige (Jeff, 21.11.2026: „die Animationen
   etwas einschränken, das sind doch zu viele“): die vier Schritte, das Los im Claim und das Geschenk, alle langsam.
   Am 21.11. liefen 92 Animationen gleichzeitig. prefers-reduced-motion schaltet auch den Rest ab */
.emoji { display: inline-block; font-style: normal; line-height: 1; }
.wippt { animation: wippen 3.4s ease-in-out infinite; }
.wackelt { animation: wackeln 4.2s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes wippen { 50% { transform: translateY(-4px); } }
@keyframes wackeln { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

/* Schneehauben: liegen auf der Oberkante von Kacheln (public/schneehaube.svg, wird in die Breite gezogen) */
.fakten li::before, .schritte li::before, .partner-karte::before, .gewinne li::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 6px;
  right: 6px;
  height: 20px;
  background: url("/schneehaube.svg") center / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 2px rgba(7, 13, 31, 0.45));
  pointer-events: none;
}
.fakten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.fakten li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 15px 6px 12px; border: 1px solid var(--linie); border-radius: var(--hf-radius); background: rgba(13, 22, 48, 0.72); }
.fakten li::before { left: 3px; right: 3px; height: 17px; top: -9px; }
.fakten .emoji { font-size: 26px; margin-bottom: 4px; }
.fakten strong { font: 800 21px/1.1 var(--hf-schrift-marke); color: var(--hf-eisweiss); }
.fakten span:not(.emoji) { font-size: 13px; color: var(--hf-stahl-hell); }
@media (max-width: 1239px) {
  /* neben dem Baum: drei schmale Chips untereinander statt dreier Kacheln */
  .held-kopf .fakten { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
  .held-kopf .fakten li { flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; padding: 8px 11px; border-radius: var(--hf-radius-pille); }
  .held-kopf .fakten li::before { display: none; }
  .held-kopf .fakten .emoji { font-size: 20px; margin: 0; }
  .held-kopf .fakten strong { font-size: 16px; }
}

.knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: var(--hf-radius-pille);
  background: var(--hf-eis);
  color: var(--hf-nacht);
  font: 700 16px/1.2 var(--hf-schrift-text);
  text-decoration: none;
  cursor: pointer;
}
.knopf:hover { background: var(--hf-eis-dunkel); }
.knopf[disabled], .knopf[aria-busy="true"] { opacity: 0.6; cursor: default; }
.knopf-zweit { background: transparent; color: var(--hf-eisweiss); box-shadow: inset 0 0 0 1.5px var(--hf-stahl); }
.knopf-zweit:hover { background: var(--hf-nacht-3); }
.knopf-gross { width: 100%; min-height: 58px; font-size: 18px; }

/* Abschnitte */
.abschnitt { margin-top: 44px; scroll-margin-top: 16px; }
h2 { font: 800 22px/1.2 var(--hf-schrift-marke); margin-bottom: 12px; }
h3 { font: 700 16px/1.25 var(--hf-schrift-text); }
.gross { font: 800 clamp(20px, 5.4vw, 26px)/1.2 var(--hf-schrift-marke); color: var(--hf-glut); }
.ruhig { color: var(--hf-stahl-hell); }
.klein { font-size: 14px; }
.termine { display: grid; gap: 8px; margin-top: 12px; }
.termine li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--linie); border-radius: var(--hf-radius); background: rgba(13, 22, 48, 0.78); color: var(--hf-eisweiss); font-size: 15px; }
.termine .emoji { flex: 0 0 auto; font-size: 22px; }

.schritte { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 10px; padding-top: 8px; }
.schritte li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 8px 14px; border: 1px solid var(--linie); border-radius: var(--hf-radius); background: rgba(13, 22, 48, 0.78); text-align: center; }
.schritte .emoji { font-size: 40px; margin-bottom: 4px; }
/* Schwarzes Mystery Pack statt Paket-Emoji (Jeff, 21.11.2026) */
.pack { display: block; width: 36px; height: 46px; filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.55)); }
.schritte li:nth-child(2) .emoji { animation-delay: -0.85s; }
.schritte li:nth-child(3) .emoji { animation-delay: -1.7s; }
.schritte li:nth-child(4) .emoji { animation-delay: -2.55s; }
.zeichen { fill: currentColor; }
.schritt-nr { position: absolute; left: 10px; top: 12px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--hf-glut); color: var(--hf-nacht); font: 800 13px/1 var(--hf-schrift-text); }
.schritte h3 { font-size: 15.5px; overflow-wrap: anywhere; }
.schritte p { color: var(--hf-stahl-hell); font-size: 13.5px; }
.teaser { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; border: 1px dashed rgba(255, 194, 74, 0.5); border-radius: var(--hf-radius); font: 800 18px/1.2 var(--hf-schrift-marke); color: var(--hf-glut); }
.teaser .emoji { font-size: 30px; }
h2 .emoji { margin-right: 4px; }
summary .emoji { margin-right: 6px; }

.code-form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.code-zeile { display: flex; gap: 10px; }
.code-zeile .knopf { flex: 0 0 auto; padding-left: 18px; padding-right: 18px; white-space: nowrap; }
.code-zeile input { flex: 1 1 auto; min-width: 0; font-family: var(--hf-schrift-mono); letter-spacing: 0.12em; text-transform: uppercase; }

/* Gewinne nach Platz (Jeff, 21.11.2026): Platz 1 über die ganze Breite, die anderen zu zweit. Mit Foto des echten Stücks, sobald es
   da ist; bis dahin trägt das Symbol die Karte */
.gewinne { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 6px; }
.gewinn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 38px 10px 16px; border: 1px solid rgba(255, 194, 74, 0.35); border-radius: var(--hf-radius); background: rgba(13, 22, 48, 0.78); text-align: center; }
.gewinn-haupt { grid-column: 1 / -1; padding-top: 42px; border-color: rgba(255, 194, 74, 0.8); background: linear-gradient(160deg, rgba(255, 194, 74, 0.22), rgba(13, 22, 48, 0.9) 58%); }
.gewinn-platz { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--hf-glut); color: var(--hf-nacht); font: 800 12px/1.2 var(--hf-schrift-text); letter-spacing: 0.04em; text-transform: uppercase; }
.gewinn-zeichen { font-size: 46px; }
.gewinn-haupt .gewinn-zeichen { font-size: 68px; }
.gewinn-bild { display: block; width: 100%; height: auto; }
/* Bewertete Karte im Slab, nachgebaut nach Abbildungen der aktuellen Hüllen von PSA und CGC (Jeff, 21.11.2026: „die aktuellen 1:1
   original Slabs“). Seitenverhältnis 81 zu 136. Alle Maße hängen an der Breite des Slabs (cqi), damit Etikett und Hülle in der
   kleinen wie in der großen Karte gleich aussehen. Der Bezug für cqi ist der Kasten .slab-platz um den Slab: Am Container selbst
   messen diese Einheiten das Fenster (gemessen 21.11.2026: 4cqi am Slab waren 15 px statt 6).
   Browser ohne Container-Einheiten zeigen die Karte in einem schlichten Rahmen ohne Etikett; die Note steht dann am Titel.
   Ohne Zertifikatsnummer; die Streifen an der Stelle des Barcodes sind Zierde ohne Inhalt */
.slab-platz, .gewinn-foto { width: min(100%, 178px); margin: 2px auto 6px; }
.gewinn-haupt .slab-platz { width: min(100%, 250px); }
.gewinn-haupt .gewinn-foto { width: min(100%, 300px); }
.slab-platz { container-type: inline-size; }
.slab {
  /* figure bringt vom Browser 40 px Außenabstand je Seite mit: ohne die Null war der Slab 80 px schmaler als sein Platz (gemessen 21.11.2026) */
  margin: 0;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 81 / 136;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background: rgba(226, 234, 246, 0.2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
  text-align: left;
}
.slab-etikett { display: none; }
.slab-fenster { flex: 1 1 auto; display: grid; place-items: center; min-height: 0; padding: 0 8px; }
.slab .gewinn-bild { border-radius: 5px; }
@supports (width: 1cqi) {
  .slab { border: 0; --aussen: 0 2.4cqi 3cqi -1cqi rgba(0, 0, 0, 0.6), 0 9cqi 14cqi -4cqi rgba(0, 0, 0, 0.6); }
  /* Spiegelung auf dem Kunststoff: liegt über Etikett und Karte */
  .slab::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(112deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.05) 16%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 57%, rgba(255, 255, 255, 0.13) 63%, rgba(255, 255, 255, 0) 71%);
    mix-blend-mode: screen;
  }
  .slab-etikett { position: relative; flex: 0 0 auto; display: grid; color: #111; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
  .slab-text { display: flex; flex-direction: column; min-width: 0; }
  .slab-text span, .slab-wert span, .slab-firma { white-space: nowrap; }
  .slab-text > span:not(.slab-streifen) { overflow: hidden; text-overflow: clip; }
  .slab-wert { display: flex; flex-direction: column; }
  .slab-streifen {
    display: block;
    background: repeating-linear-gradient(90deg, #111 0 0.34cqi, transparent 0.34cqi 0.62cqi, #111 0.62cqi 0.78cqi, transparent 0.78cqi 1.3cqi, #111 1.3cqi 1.78cqi, transparent 1.78cqi 2.06cqi, #111 2.06cqi 2.2cqi, transparent 2.2cqi 2.6cqi);
  }

  /* PSA, nach dem Scan der aktuellen Hülle vermessen (Slabbreite = 100) und nach psacard.com/security: klarer Kunststoff, vor
     dunklem Grund zu sehen an hellen Kanten, Fasen und Stegen (auf Scans wirkt er grau, in der Hand ist er durchsichtig); außen das
     matte Band der Schweißnaht; das Etikett (85 breit, 25,6 hoch, ab 6,2) liegt in einer Tasche, darunter ein Quersteg; die
     Kartenmulde hat oben und seitlich einen breiten Rahmen und unten einen schmalen, die Karte (78,8 breit, ab 44,9) liegt
     vertieft darin; am Fuß zwei Stege und rechts der eingeprägte Schriftzug */
  .slab-psa {
    padding: 5.6cqi 3.6cqi 3.6cqi;
    border-radius: 3.4cqi;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0 35.3cqi, rgba(255, 255, 255, 0.4) 35.3cqi 35.5cqi, rgba(160, 180, 215, 0.14) 35.5cqi 36.6cqi, rgba(255, 255, 255, 0.3) 36.6cqi 36.8cqi, rgba(255, 255, 255, 0) 36.8cqi) 50% 0 / calc(100% - 8cqi) 100% no-repeat,
      linear-gradient(0deg, rgba(255, 255, 255, 0) 0 2.6cqi, rgba(255, 255, 255, 0.38) 2.6cqi 2.8cqi, rgba(160, 180, 215, 0.12) 2.8cqi 3.5cqi, rgba(255, 255, 255, 0.3) 3.5cqi 3.7cqi, rgba(255, 255, 255, 0) 3.7cqi) 50% 100% / calc(100% - 8cqi) 100% no-repeat,
      linear-gradient(122deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 20%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.04) 80%, rgba(255, 255, 255, 0.1) 100%),
      rgba(186, 202, 230, 0.07);
    box-shadow: var(--aussen),
      inset 0 0 0 0.22cqi rgba(255, 255, 255, 0.85), inset 0.5cqi 0.6cqi 0.9cqi rgba(255, 255, 255, 0.4), inset -0.5cqi -0.6cqi 1cqi rgba(110, 135, 185, 0.28),
      inset 0 0 0 1.3cqi rgba(206, 218, 238, 0.1), inset 0 0 0 1.5cqi rgba(255, 255, 255, 0.34);
  }
  /* das matte, gekörnte Band der Schweißnaht rings um den Halter (nur der Rand, die Mitte bleibt klar) */
  .slab-psa::before {
    content: "";
    position: absolute;
    inset: 1.6cqi;
    padding: 2cqi;
    border-radius: 2.2cqi;
    pointer-events: none;
    background: url("/korn.png") 0 0 / 16cqi auto, rgba(226, 233, 245, 0.15);
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000, #000) content-box exclude, linear-gradient(#000, #000);
  }
  .slab-psa .slab-etikett {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2cqi;
    height: 25.6cqi;
    margin: 0.6cqi 3.6cqi 0;
    padding: 1.7cqi 2.4cqi 0 2.2cqi;
    border: solid #e62a26;
    border-width: 2.7cqi 2.2cqi;
    border-radius: 0.9cqi;
    background: linear-gradient(104deg, rgba(255, 255, 255, 0) 46%, rgba(186, 212, 240, 0.42) 60%, rgba(255, 255, 255, 0) 72%, rgba(206, 222, 244, 0.34) 86%, rgba(255, 255, 255, 0) 100%), #fdfdfd;
    /* Tasche: außen die helle Kante der Vertiefung im klaren Kunststoff */
    box-shadow: 0 0.4cqi 0.9cqi rgba(0, 0, 0, 0.55), 0 0 0 0.25cqi rgba(120, 16, 22, 0.5), 0 0 0 2cqi rgba(255, 255, 255, 0.025), 0 0 0 2.2cqi rgba(255, 255, 255, 0.4), 0 0 0 2.45cqi rgba(110, 135, 185, 0.2);
    font-size: 3.75cqi;
    line-height: 4.1cqi;
  }
  .slab-psa .slab-streifen { width: 21.5cqi; height: 3.6cqi; margin-top: 1cqi; }
  .slab-psa .slab-wert { align-items: flex-end; }
  .slab-psa .slab-wert b { font-weight: 400; }
  .slab-psa .slab-marke {
    position: absolute;
    left: 50%;
    bottom: -2.7cqi;
    display: grid;
    grid-auto-flow: column;
    place-items: center;
    width: 10.8cqi;
    height: 7cqi;
    padding: 0 0.9cqi;
    border: 0.25cqi solid #8f9cb4;
    border-radius: 0.5cqi;
    background: conic-gradient(from 215deg at 50% 50%, #f4f7fb, #9fb4d8 18%, #ecd9f1 36%, #bfe6ea 54%, #f6f1d4 72%, #a9bbdb 88%, #f4f7fb);
    box-shadow: 0 0.3cqi 0.7cqi rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
    font-weight: 800;
    font-style: italic;
    font-size: 4.5cqi;
    line-height: 1;
    letter-spacing: -0.04em;
  }
  .slab-psa .slab-marke i { color: #1d3f9a; }
  .slab-psa .slab-marke i:nth-child(2) { color: #d9252e; }
  /* Kartenmulde: außen der helle, gekörnte Rahmen mit Wänden, innen (::before) der dunkle Boden, auf dem die Karte liegt */
  .slab-psa .slab-fenster {
    position: relative;
    z-index: 0;
    align-items: end;
    margin: 6.5cqi 0.4cqi 5.9cqi;
    padding: 0 6.6cqi 1.9cqi;
    border-radius: 1.2cqi;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 30%, rgba(255, 255, 255, 0.04));
    box-shadow: inset 0.35cqi 0.4cqi 0.4cqi rgba(255, 255, 255, 0.42), inset -0.35cqi -0.4cqi 0.5cqi rgba(110, 135, 185, 0.3), 0 0 0 0.3cqi rgba(255, 255, 255, 0.28);
  }
  .slab-psa .slab-fenster::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 5.1cqi 5.2cqi 0.7cqi;
    border-radius: 0.8cqi;
    background: rgba(3, 6, 16, 0.32);
    box-shadow: 0 0 0 0.28cqi rgba(255, 255, 255, 0.5), 0 0 0 0.6cqi rgba(110, 135, 185, 0.22), inset 0 0.6cqi 1.2cqi rgba(0, 0, 0, 0.3);
  }
  /* im Kunststoff eingeprägter Schriftzug im Band unter der Mulde, rechts */
  .slab-psa .slab-fenster::after { content: "PSA"; position: absolute; right: 4.6cqi; bottom: -5cqi; color: rgba(255, 255, 255, 0.38); font: 800 italic 2.3cqi/1 Arial, Helvetica, sans-serif; letter-spacing: 0.08em; text-shadow: 0 0.12cqi 0 rgba(0, 0, 0, 0.45); }
  .slab-psa .gewinn-bild { border-radius: 0; filter: drop-shadow(0 0.5cqi 0.8cqi rgba(0, 0, 0, 0.7)); }

  /* CGC, nach den Abbildungen von CGC vermessen (Slabbreite = 100): klare Hülle mit leichtem Blaugrün und mehreren umlaufenden Konturlinien, oben runder,
     mit Stapelkante und zwei Kerben, unten drei Kerben; das schwarze Etikett (80 breit, 31,75 hoch, ab 9,5) sitzt in einer hell
     gefassten Tasche: Kopfzeile 7 hoch mit dem türkisen Hologrammfeld (17,8 breit) und dem Firmennamen, darunter das silberne
     Feld mit vier Zeilen, dünnem Trennstrich und der Note; die Karte (78,5 breit, ab 48,75) liegt frei im klaren Feld,
     darunter die Auflageleiste, seitlich zwei Haltenasen */
  .slab-cgc {
    padding: 9.5cqi 10cqi 9cqi;
    border-radius: 5.4cqi 5.4cqi 3.6cqi 3.6cqi;
    background:
      linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)) 19% calc(100% - 1.1cqi) / 0.3cqi 1.7cqi no-repeat,
      linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)) 50% calc(100% - 1.1cqi) / 0.3cqi 1.7cqi no-repeat,
      linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)) 81% calc(100% - 1.1cqi) / 0.3cqi 1.7cqi no-repeat,
      linear-gradient(122deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.03) 18%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.05) 82%, rgba(255, 255, 255, 0.14) 100%),
      rgba(120, 205, 222, 0.09);
    box-shadow: var(--aussen),
      inset 0 0 0 0.3cqi rgba(255, 255, 255, 0.9), inset 0.5cqi 0.6cqi 0.9cqi rgba(255, 255, 255, 0.4),
      inset 0 0 0 1.1cqi rgba(120, 205, 222, 0.14), inset 0 0 0 1.3cqi rgba(255, 255, 255, 0.62),
      inset 0 0 0 2.3cqi rgba(120, 205, 222, 0.1), inset 0 0 0 2.5cqi rgba(255, 255, 255, 0.46),
      inset 0 0 0 3.6cqi rgba(120, 205, 222, 0.07), inset 0 0 0 3.78cqi rgba(255, 255, 255, 0.32);
  }
  .slab-cgc::before {
    content: "";
    position: absolute;
    left: 4.4cqi;
    right: 4.4cqi;
    top: 1.3cqi;
    height: 2.8cqi;
    border-radius: 3cqi 3cqi 0 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0 3.3cqi, rgba(255, 255, 255, 0.55) 3.3cqi 3.6cqi, rgba(255, 255, 255, 0) 3.6cqi calc(100% - 3.6cqi), rgba(255, 255, 255, 0.55) calc(100% - 3.6cqi) calc(100% - 3.3cqi), rgba(255, 255, 255, 0) calc(100% - 3.3cqi));
    box-shadow: inset 0 0.3cqi 0 rgba(255, 255, 255, 0.8), inset 0 0.75cqi 0 rgba(120, 205, 222, 0.16), inset 0 1.1cqi 0 rgba(255, 255, 255, 0.5), inset 0 1.6cqi 0 rgba(120, 205, 222, 0.1);
  }
  .slab-cgc .slab-etikett { grid-template-rows: 7cqi minmax(0, 1fr); height: 31.75cqi; padding-bottom: 1.9cqi; border-radius: 0.3cqi; background: linear-gradient(180deg, #111114, #040405); box-shadow: 0 0.4cqi 1cqi rgba(0, 0, 0, 0.5), 0 0 0 1.5cqi rgba(255, 255, 255, 0.04), 0 0 0 1.7cqi rgba(255, 255, 255, 0.5), 0 0 0 1.95cqi rgba(90, 170, 190, 0.28); }
  .slab-kopf { display: flex; align-items: center; justify-content: space-between; min-width: 0; padding-right: 3.5cqi; color: #fff; font-family: "Avenir Next", Avenir, Montserrat, "Century Gothic", "Segoe UI", Arial, sans-serif; font-weight: 700; font-size: 2.42cqi; letter-spacing: 0.02em; text-transform: uppercase; }
  /* Hologrammfeld: Schuppenmuster über einem Verlauf von Blau nach Türkis */
  .slab-cgc .slab-marke { display: flex; align-items: center; justify-content: center; gap: 0.5cqi; align-self: stretch; flex: 0 0 17.8cqi; background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0) 0 0.5cqi, rgba(255, 255, 255, 0.24) 0.5cqi 0.66cqi, rgba(255, 255, 255, 0) 0.66cqi) 0 0 / 1.5cqi 0.85cqi, radial-gradient(circle at 50% 100%, rgba(8, 30, 80, 0) 0 0.5cqi, rgba(8, 30, 80, 0.3) 0.5cqi 0.66cqi, rgba(8, 30, 80, 0) 0.66cqi) 0.75cqi 0.42cqi / 1.5cqi 0.85cqi, linear-gradient(112deg, #1c3f96, #1a7f9c 34%, #4cc2a6 56%, #1f73a4 80%, #27409a); font-weight: 600; font-size: 4.3cqi; letter-spacing: -0.01em; }
  .slab-waage { width: 3.5cqi; height: 3cqi; }
  .slab-feld { display: grid; grid-template-columns: minmax(0, 1fr) 20.7cqi; min-height: 0; margin: 0 2.7cqi 0 2.5cqi; padding: 0 0 0 1.9cqi; border-radius: 1cqi; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 0.25cqi, rgba(255, 255, 255, 0.22) 0.25cqi 0.4cqi), linear-gradient(100deg, #e9ebee 0%, #c4c8ce 22%, #f7f8fa 52%, #fdfdfe 66%, #d2d5db 88%, #e6e8ec 100%); }
  .slab-cgc .slab-text { padding-top: 2.1cqi; font-weight: 700; font-size: 3.45cqi; line-height: 3.98cqi; }
  .slab-cgc .slab-streifen { width: 25.6cqi; height: 2.6cqi; margin-top: 0.35cqi; }
  /* Trennstrich: dünn und kürzer als das Feld, wie auf dem Etikett */
  .slab-cgc .slab-wert { align-items: center; justify-content: center; gap: 1.5cqi; background: linear-gradient(#1b1b1b, #1b1b1b) 0 4.8cqi / 0.25cqi calc(100% - 8.9cqi) no-repeat; font-weight: 800; font-size: 2.45cqi; line-height: 1; text-transform: uppercase; }
  .slab-cgc .slab-wert b { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 13cqi; line-height: 0.74; letter-spacing: -0.02em; transform: scaleX(0.84); }
  .slab-cgc .slab-fenster { position: relative; margin-top: 7.5cqi; padding: 0 0.75cqi; border-radius: 0.9cqi; background: rgba(255, 255, 255, 0.015); box-shadow: inset 0 0 0 0.25cqi rgba(255, 255, 255, 0.42), 0 0 0 0.2cqi rgba(90, 170, 190, 0.3); }
  /* Haltenasen links und rechts neben der Karte, Auflageleiste darunter */
  .slab-cgc .slab-fenster::before { content: ""; position: absolute; left: -1.5cqi; right: -1.5cqi; bottom: 6.8cqi; height: 4.2cqi; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(160, 215, 228, 0.3)) 0 0 / 1.1cqi 100% no-repeat, linear-gradient(rgba(255, 255, 255, 0.5), rgba(160, 215, 228, 0.3)) 100% 0 / 1.1cqi 100% no-repeat; }
  .slab-cgc .slab-fenster::after { content: ""; position: absolute; left: 6.7cqi; right: 6.7cqi; bottom: -1.9cqi; height: 1.2cqi; border: 0.2cqi solid rgba(255, 255, 255, 0.5); border-radius: 0.3cqi; background: rgba(160, 215, 228, 0.14); pointer-events: none; }
  .slab-cgc .gewinn-bild { border-radius: 0; filter: drop-shadow(0 0.6cqi 1cqi rgba(0, 0, 0, 0.5)); }

  /* Rückseiten der Etiketten, nur in der 3D-Ansicht (den Inhalt baut client/slab.ts). Nach den Abbildungen der Anbieter
     (psacard.com/security, cgccards.com/card-grading/holder-label, gesehen 21.11.2026):
     PSA dunkelblau mit dem grauen Logo-Muster, in der Mitte das silberne LightHouse-Feld mit dem farbigen Logo, rechts das helle
     Feld (auf dem Original der QR-Code, hier leer), unten der weiße Streifen (Original: Barcode und Nummer, hier Zierstreifen).
     CGC silbern mit dem Hologramm-Siegel links (auf dem Original daneben der QR-Code, hier nichts) */
  .slab-rueck.slab-psa .slab-etikett { grid-template-columns: minmax(0, 1fr) 17cqi minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 5.3cqi; column-gap: 0; padding: 0; border: 0.3cqi solid #e9ecf2; overflow: hidden; background: linear-gradient(180deg, #0e1538, #070b22); }
  .rueck-muster { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5cqi; color: rgba(176, 182, 204, 0.8); font-style: italic; font-weight: 800; line-height: 1; white-space: nowrap; }
  .rueck-muster small { font-size: 2.3cqi; word-spacing: 1.1cqi; }
  .rueck-muster b { font-size: 9.6cqi; letter-spacing: -0.05em; }
  .slab-psa .rueck-siegel { grid-area: 1 / 2; display: grid; justify-items: center; align-content: start; padding-top: 3.4cqi; background: url("/korn.png") 0 0 / 9cqi auto, linear-gradient(100deg, #969dab, #e6e9ee 30%, #b1b7c3 55%, #f0f2f5 78%, #a2a9b6); clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%); font-style: italic; font-weight: 800; font-size: 6.2cqi; line-height: 1; letter-spacing: -0.05em; }
  .slab-psa .rueck-siegel i { color: #1d3f9a; }
  .slab-psa .rueck-siegel i:nth-child(2) { color: #d9252e; }
  .rueck-feld { grid-area: 1 / 3; place-self: center; width: 14.2cqi; aspect-ratio: 1; border-radius: 1.5cqi; background: #f1f2f5; }
  .rueck-leiste { grid-area: 2 / 1 / 3 / 4; display: flex; align-items: center; padding: 0 4.4cqi; background: linear-gradient(104deg, #fdfdfd 40%, rgba(186, 212, 240, 0.6) 58%, #fdfdfd 74%), #fdfdfd; }
  .rueck-leiste .slab-streifen { width: 21.5cqi; height: 3.3cqi; margin: 0; }
  .slab-rueck.slab-cgc .slab-etikett { display: flex; align-items: center; padding: 0 0 0 3.2cqi; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 0.25cqi, rgba(255, 255, 255, 0.16) 0.25cqi 0.4cqi), linear-gradient(112deg, #9da2aa 0%, #c9cdd3 26%, #eceef1 48%, #b9bdc5 72%, #a3a8b0 100%); }
  .slab-cgc .rueck-siegel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7cqi; width: 26.5cqi; height: 24cqi; border-radius: 2.6cqi; color: #fff; background: repeating-radial-gradient(circle at 50% 125%, rgba(255, 255, 255, 0) 0 0.5cqi, rgba(255, 255, 255, 0.3) 0.5cqi 0.62cqi), repeating-radial-gradient(circle at 0 0, rgba(40, 60, 160, 0) 0 0.7cqi, rgba(40, 60, 160, 0.2) 0.7cqi 0.82cqi), linear-gradient(135deg, #5f79d8 0%, #58c7c2 22%, #b9e06a 42%, #f3d75c 56%, #f09ac0 74%, #8c8ee6 100%); box-shadow: inset 0 0 0 0.25cqi rgba(255, 255, 255, 0.5), 0 0.3cqi 0.8cqi rgba(0, 0, 0, 0.25); font-family: "Avenir Next", Avenir, Montserrat, "Century Gothic", "Segoe UI", Arial, sans-serif; font-weight: 600; font-size: 7.4cqi; line-height: 1; text-shadow: 0 0.15cqi 0.35cqi rgba(20, 40, 90, 0.65); }
  .slab-cgc .rueck-siegel > span { display: flex; align-items: center; gap: 0.6cqi; }
  .slab-cgc .rueck-siegel small { font-size: 2.2cqi; font-weight: 700; }
  .slab-cgc .rueck-siegel .slab-waage { width: 6cqi; height: 5cqi; }
}

/* Knopf über dem Slab: öffnet die 3D-Ansicht. Nur mit Skript (client/slab.ts setzt .js-slab) */
.slab-auf { display: none; }
.js-slab .slab-platz { position: relative; }
.js-slab .slab-auf { display: block; position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.slab-auf:focus-visible { outline: 2px solid var(--hf-eis); outline-offset: 3px; }
.slab-auf-zeichen { position: absolute; right: 7%; bottom: 5%; padding: 5px 9px; border-radius: 999px; background: rgba(7, 13, 31, 0.86); color: #fff; font: 800 11px/1 var(--hf-schrift-text); letter-spacing: 0.06em; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 4px 10px rgba(0, 0, 0, 0.5); }

/* 3D-Ansicht (Jeff, 21.11.2026): Dialog über der ganzen Seite, dunkle Bühne mit Lichtkegel. Der Körper trägt Vorder- und Rückseite
   und vier Kanten in der Dicke eines echten Slabs; gedreht wird über --rx und --ry, die client/slab.ts setzt. Die Holo-Schicht
   liegt über der Karte, Lichtfleck und Glanzstreifen über der Hülle, der Schatten am Boden folgt der Drehung */
.slab-schau { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0 0 max(18px, env(safe-area-inset-bottom)); border: 0; background: radial-gradient(ellipse 80% 55% at 50% 40%, rgba(62, 84, 138, 0.42), rgba(10, 16, 34, 0) 70%), #050914; color: var(--hf-eisweiss); overflow: hidden; }
.slab-schau::backdrop { background: #050914; }
.slab-schau[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; justify-items: center; gap: 12px; }
.schau-buehne { position: relative; display: grid; place-items: center; width: 100%; min-height: 0; perspective: 1100px; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.schau-buehne[data-zieht] { cursor: grabbing; }
/* Dicke: PSA rund 5,5 mm, CGC rund 7,5 mm auf 81 mm Breite (--tiefe ist die halbe Dicke) */
.schau-koerper { --breite: min(70vw, 40vh, 340px); --tiefe: calc(var(--breite) * 0.034); position: relative; width: var(--breite); aspect-ratio: 81 / 136; transform-style: preserve-3d; transform: rotateX(-8deg) rotateY(24deg); will-change: transform; }
.schau-koerper[data-pruefer="CGC"] { --tiefe: calc(var(--breite) * 0.046); }
.schau-schatten { position: absolute; left: 50%; top: calc(50% + min(70vw, 40vh, 340px) * 0.9); width: calc(min(70vw, 40vh, 340px) * 1.05); height: 26px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 70%); transform: translateX(-50%); will-change: transform; pointer-events: none; }
.schau-seite { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* Der Inhalt (Etikett mit Tasche, Mulde, Karte) liegt dicht unter der Schale. Wie tief er durch den Kunststoff erscheint, rechnet
   client/slab.ts je Bild und verschiebt ihn nur so weit (mit Lichtbrechung, deshalb nie aus dem Umriss) */
.schau-vorn { transform: translateZ(calc(var(--tiefe) - 0.6px)); }
.schau-hinten { transform: rotateY(180deg) translateZ(calc(var(--tiefe) - 0.6px)); }
.schau-vorn .slab-platz, .schau-hinten .slab-platz { will-change: transform; }
.schau-schale { pointer-events: none; }
.schau-schale-vorn { transform: translateZ(var(--tiefe)); }
.schau-schale-hinten { transform: rotateY(180deg) translateZ(var(--tiefe)); }
.schau-seite .slab-platz { width: 100%; margin: 0; }
.schau-seite .slab { --aussen: 0 0 0 0 transparent; }

/* Inhalt: Etikett mit seiner Tasche, die Mulde mit Rahmen und Kante, die Karte. Eine starre Einheit, damit die Karte beim Drehen
   in ihrer Mulde bleibt. Das Äußere der Hülle (Umriss, Naht, Stege, Prägung) malt die Schale davor */
.schau-inhalt.slab { background: none; box-shadow: none; }
.schau-inhalt.slab::before, .schau-inhalt.slab::after, .schau-inhalt.slab-psa .slab-fenster::after { content: none; }
.schau-inhalt .gewinn-bild { border-radius: 0; filter: none; }
.schau-karte { position: relative; display: block; width: 100%; overflow: hidden; isolation: isolate; border-radius: 4.6% / 3.3%; box-shadow: 0 0.6cqi 1.4cqi rgba(0, 0, 0, 0.6); line-height: 0; }

/* Schale: nur das Äußere der klaren Hülle. Etikett, Tasche und Mulde gehören zum Inhalt; von PSA bleibt die Prägung unten rechts */
.schau-huelle.slab::after { mix-blend-mode: normal; opacity: 0.5; }
.schau-huelle .slab-etikett { border-color: transparent; background: none; box-shadow: none; }
.schau-huelle .slab-fenster { background: none; box-shadow: none; }
.schau-huelle .slab-fenster::before, .schau-huelle.slab-cgc .slab-fenster::after { content: none; }

/* Kanten: der klare Kunststoff in seiner Dicke, helle Linien an beiden Flächen und an der Naht in der Mitte */
.schau-kante { position: absolute; pointer-events: none; }
.schau-kante-links, .schau-kante-rechts { top: 1.6%; bottom: 1.4%; width: calc(var(--tiefe) * 2); background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(190, 206, 232, 0.3) 9%, rgba(160, 178, 210, 0.12) 42%, rgba(255, 255, 255, 0.5) 50%, rgba(160, 178, 210, 0.12) 58%, rgba(190, 206, 232, 0.3) 91%, rgba(255, 255, 255, 0.8)); }
.schau-kante-links { left: 0; transform-origin: 0 50%; transform: translateZ(var(--tiefe)) rotateY(90deg); }
.schau-kante-rechts { right: 0; transform-origin: 100% 50%; transform: translateZ(var(--tiefe)) rotateY(-90deg); }
.schau-kante-oben, .schau-kante-unten { left: 2.6%; right: 2.6%; height: calc(var(--tiefe) * 2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(190, 206, 232, 0.3) 9%, rgba(160, 178, 210, 0.12) 42%, rgba(255, 255, 255, 0.5) 50%, rgba(160, 178, 210, 0.12) 58%, rgba(190, 206, 232, 0.3) 91%, rgba(255, 255, 255, 0.8)); }
.schau-kante-oben { top: 0; transform-origin: 50% 0; transform: translateZ(var(--tiefe)) rotateX(-90deg); }
.schau-kante-unten { bottom: 0; transform-origin: 50% 100%; transform: translateZ(var(--tiefe)) rotateX(90deg); }
.schau-koerper[data-pruefer="CGC"] .schau-kante-links, .schau-koerper[data-pruefer="CGC"] .schau-kante-rechts { background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(120, 205, 222, 0.36) 8%, rgba(100, 190, 210, 0.16) 30%, rgba(255, 255, 255, 0.45) 36%, rgba(100, 190, 210, 0.14) 44%, rgba(255, 255, 255, 0.55) 50%, rgba(100, 190, 210, 0.14) 56%, rgba(255, 255, 255, 0.45) 64%, rgba(100, 190, 210, 0.16) 70%, rgba(120, 205, 222, 0.36) 92%, rgba(255, 255, 255, 0.85)); }
.schau-koerper[data-pruefer="CGC"] .schau-kante-oben, .schau-koerper[data-pruefer="CGC"] .schau-kante-unten { background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(120, 205, 222, 0.36) 8%, rgba(100, 190, 210, 0.16) 30%, rgba(255, 255, 255, 0.45) 36%, rgba(100, 190, 210, 0.14) 44%, rgba(255, 255, 255, 0.55) 50%, rgba(100, 190, 210, 0.14) 56%, rgba(255, 255, 255, 0.45) 64%, rgba(100, 190, 210, 0.16) 70%, rgba(120, 205, 222, 0.36) 92%, rgba(255, 255, 255, 0.85)); }

/* Holofolie über der Karte und Glanzband über der Schale: beide sind größer als ihr Ausschnitt und werden je Bild nur verschoben
   (eigene Ebenen, nichts wird neu gemalt). Frontal ist die Folie fast unsichtbar, schräg kräftig */
.schau-holo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: color-dodge; }
.schau-holo-flaeche {
  position: absolute;
  left: -70%;
  top: -30%;
  width: 240%;
  height: 160%;
  opacity: 0.2;
  will-change: transform, opacity;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0) 32%, rgba(255, 70, 170, 0.7) 39%, rgba(90, 170, 255, 0.72) 45%, rgba(96, 255, 190, 0.66) 50%, rgba(255, 236, 96, 0.72) 55%, rgba(255, 120, 70, 0.62) 61%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0 1px, rgba(255, 255, 255, 0) 2px) 0 0 / 14px 14px,
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.45) 0 1px, rgba(255, 255, 255, 0) 2px) 0 0 / 19px 19px,
    repeating-linear-gradient(58deg, rgba(255, 255, 255, 0) 0 5px, rgba(255, 255, 255, 0.14) 5px 6px);
}
.schau-glanz { position: absolute; inset: 0; z-index: 4; overflow: hidden; border-radius: inherit; pointer-events: none; }
.schau-glanz-flaeche {
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: -50%;
  width: 200%;
  will-change: transform;
  background:
    linear-gradient(104deg, rgba(255, 255, 255, 0) 41%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.46) 48.6%, rgba(255, 255, 255, 0.1) 50.4%, rgba(255, 255, 255, 0.24) 52%, rgba(255, 255, 255, 0) 57%),
    radial-gradient(ellipse 24% 36% at 50% 38%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}
.schau-hinweis { color: var(--hf-stahl-hell); font-size: 14px; }
.schau-zu .knopf { min-width: 160px; }
.gewinn-foto .gewinn-bild { border-radius: 8px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5); }
.gewinn-hinweis { font-size: 11.5px; color: var(--hf-stahl-hell); }
.gewinn-titel { font: 800 16px/1.2 var(--hf-schrift-marke); color: var(--hf-eisweiss); overflow-wrap: anywhere; }
.gewinn-haupt .gewinn-titel { font-size: 23px; }
.gewinn-note { display: inline-block; padding: 2px 8px; border: 1px solid rgba(255, 194, 74, 0.6); border-radius: 999px; background: rgba(255, 194, 74, 0.16); color: var(--hf-glut); font: 800 12px/1.3 var(--hf-schrift-text); vertical-align: middle; white-space: nowrap; }
.gewinn-text { color: var(--hf-stahl-hell); font-size: 13.5px; }

.partner-karte { position: relative; margin-top: 18px; display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid rgba(255, 194, 74, 0.3); border-radius: var(--hf-radius); background: rgba(13, 22, 48, 0.78); }
.partner-bild { flex: 0 0 auto; width: 118px; height: auto; }
.partner-name { font: 800 18px/1.2 var(--hf-schrift-marke); color: var(--hf-glut); margin-bottom: 4px; }
.textlink { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 600; }
.textlink .strich { width: 16px; height: 16px; }

.profile { display: grid; gap: 10px; }
.profil, .folgen-knopf {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 11px 14px;
  border: 1px solid var(--linie);
  border-radius: var(--hf-radius);
  background: rgba(13, 22, 48, 0.78);
  color: var(--hf-eisweiss);
  text-decoration: none;
}
.profil:hover, .folgen-knopf:hover { background: var(--hf-nacht-3); }
.profil > .zeichen, .folgen-knopf > .zeichen { flex: 0 0 auto; width: 28px; height: 28px; color: var(--hf-eis); }
.profil > .strich, .folgen-knopf > .strich { flex: 0 0 auto; width: 18px; height: 18px; margin-left: auto; color: var(--hf-stahl-hell); }
.profil-text { display: flex; flex-direction: column; min-width: 0; }
.profil-name { font-weight: 700; overflow-wrap: anywhere; }
.profil-handle { font-size: 14px; color: var(--hf-stahl-hell); overflow-wrap: anywhere; }

details { border-bottom: 1px solid var(--linie); }
details:first-of-type { border-top: 1px solid var(--linie); }
summary { padding: 14px 28px 14px 0; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font: 300 24px/1 var(--hf-schrift-text); color: var(--hf-eis); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 16px; color: var(--hf-stahl-hell); }

/* Kästen für Zustände */
.kasten { margin-top: 26px; padding: 20px; border: 1px solid var(--linie); border-radius: var(--hf-radius); background: rgba(13, 22, 48, 0.86); }
.kasten h1 { margin-top: 0; font-size: clamp(22px, 6vw, 28px); }
.kasten p { margin-top: 8px; color: var(--hf-stahl-hell); }
.kasten-gut { border-color: rgba(43, 212, 125, 0.55); }
.kasten-gut h1 { color: var(--hf-gewinn); }
.kasten-rot { border-color: rgba(255, 84, 112, 0.6); }
/* Band im Probelauf (die Datenbank meldet ihn): bleibt oben stehen, auf jeder Seite mit Aktionsstand */
.probelauf-band { position: sticky; top: 0; z-index: 40; margin: 0; padding: 8px 14px; background: #ffc24a; color: #1a1205; font: 800 13px/1.3 var(--hf-schrift-text); text-align: center; }
/* Warten auf die Bestätigung der E-Mail-Adresse (Double Opt-in) */
.kasten-mail { border-color: rgba(96, 203, 241, 0.65); }
.kasten-mail h1 { color: var(--hf-eis); }
.kasten-mail strong { color: var(--hf-eisweiss); overflow-wrap: anywhere; }
.mail-hinweis { font-weight: 600; }
.kasten p.mail-hinweis { color: var(--hf-glut); }
.erneut { margin-top: 14px; }
.erneut .knopf { width: 100%; }
.korrektur { margin-top: 18px; }
.korrektur p { padding-bottom: 0; }
.korrektur .aktivierung { padding-bottom: 18px; }
.mail-vorschau { text-align: center; }
.bestaetigen { margin-top: 20px; }
.bestaetigen + p { margin-top: 16px; text-align: center; }
div.kasten-rot { color: var(--hf-eisweiss); }

/* Formular der Aktivierung */
.los-titel { margin-top: 22px; text-align: center; font-size: clamp(26px, 7vw, 34px); }
.los-titel + .intro { text-align: center; }
.aktivierung { margin-top: 8px; }
.stufe { margin-top: 26px; padding: 20px 18px; border: 1px solid var(--linie); border-radius: var(--hf-radius); background: rgba(13, 22, 48, 0.86); }
.stufe legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font: 800 18px/1.25 var(--hf-schrift-marke); }
.stufe legend + * { clear: both; }
.stufe-nr { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--hf-glut); color: var(--hf-nacht); font: 800 15px/1 var(--hf-schrift-text); }
.stufe-text { padding-top: 10px; color: var(--hf-stahl-hell); font-size: 15px; }
.stufe > * + * { margin-top: 14px; }

.folgen { border: 1px solid var(--linie); border-radius: var(--hf-radius); overflow: hidden; }
.folgen .folgen-knopf { min-height: 56px; padding: 9px 12px; border: 0; border-radius: 0; background: var(--hf-nacht-3); }
.folgen .haken-feld { padding: 0 14px; }
.folgen-pille { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px; margin-left: auto; padding: 8px 9px 8px 13px; border-radius: 999px; background: var(--hf-eis); color: var(--hf-nacht); font: 700 14px/1 var(--hf-schrift-text); }
.folgen-pille .strich { width: 14px; height: 14px; }
/* Profil war offen, Haken fehlt noch: die Zeile hebt sich ab, der Knopf tritt zurück */
.folgen.besucht .folgen-pille { background: transparent; color: var(--hf-stahl-hell); box-shadow: inset 0 0 0 1.5px var(--hf-stahl); }
.js .folgen.besucht:not(.erledigt) { border-color: var(--hf-eis); }
.folgen.erledigt { border-color: rgba(43, 212, 125, 0.6); }
.folgen.erledigt .haken span { color: var(--hf-gewinn); font-weight: 600; }
.js .folgen.wartet .haken { opacity: 0.5; }
.folgen-hinweis { color: var(--hf-glut); font-weight: 600; }

/* Haken: die ganze Zeile ist Tippfläche, mindestens 48 px hoch (Handy) */
.haken { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; cursor: pointer; }
.haken input { flex: 0 0 auto; width: 24px; height: 24px; margin: 0; accent-color: var(--hf-eis); }
.stufe > .haken-feld { margin-top: 4px; }
.stufe > .haken-feld + .haken-feld { margin-top: 0; }
.stufe > .haken-feld .haken span { font-size: 15px; line-height: 1.42; }
.haken span { min-width: 0; overflow-wrap: anywhere; }

.feld label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--hf-stahl);
  border-radius: 12px;
  background: var(--hf-nacht);
  color: var(--hf-eisweiss);
  font: 16px/1.3 var(--hf-schrift-text);
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--hf-eis) 50%), linear-gradient(135deg, var(--hf-eis) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
input:focus-visible, select:focus-visible { outline: 2px solid var(--hf-eis); outline-offset: 1px; border-radius: 12px; }
.feld-hilfe { margin-top: 6px; font-size: 14px; color: var(--hf-stahl-hell); }
.feld-meldung { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--hf-verlust); }
.feld-rot input, .feld-rot select { border-color: var(--hf-verlust); }
.at-eingabe { display: flex; align-items: center; border: 1px solid var(--hf-stahl); border-radius: 12px; background: var(--hf-nacht); }
.at-eingabe span { padding-left: 14px; color: var(--hf-stahl-hell); font-weight: 600; }
.at-eingabe input { border: 0; background: transparent; padding-left: 4px; }
.feld-rot .at-eingabe { border-color: var(--hf-verlust); }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.paar-plz { grid-template-columns: minmax(96px, 0.42fr) 1fr; }

/* Fuß */
/* Gewinner nach der Ziehung */
.gewinner-liste { display: grid; gap: 10px; margin-top: 14px; }
.gewinner-liste li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 194, 74, 0.55);
  border-radius: var(--hf-radius);
  background: linear-gradient(100deg, rgba(255, 194, 74, 0.16), rgba(13, 22, 48, 0.88) 62%);
}
.gewinner-rang { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--hf-glut); color: var(--hf-nacht); font: 800 15px/1 var(--hf-schrift-text); }
.gewinner-los { font: 800 17px/1.2 var(--hf-schrift-marke); color: var(--hf-glut); font-variant-numeric: tabular-nums; }
.gewinner-name { font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.gewinner-wer { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gewinner-gewinn { font-size: 13px; font-weight: 600; color: var(--hf-stahl-hell); overflow-wrap: anywhere; }
.gewinner-zeile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }

/* Meine Lose und der Topf */
.meine-lose { display: grid; gap: 10px; margin-top: 22px; }
.mein-los { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 12px; padding: 14px 16px; border: 1px solid rgba(255, 194, 74, 0.45); border-radius: var(--hf-radius); background: rgba(13, 22, 48, 0.86); }
.mein-los-nr { font: 800 18px/1.2 var(--hf-schrift-marke); color: var(--hf-glut); font-variant-numeric: tabular-nums; }
.mein-los-stand { color: var(--hf-stahl-hell); font-size: 15px; overflow-wrap: anywhere; }
.mein-los-aus { border-color: rgba(255, 84, 112, 0.6); }
.mein-los-aus .mein-los-stand { color: var(--hf-eisweiss); }
.mein-los .los-punkt[data-punkt="gruen"] { background: var(--hf-gewinn); box-shadow: 0 0 0 3px rgba(43, 212, 125, 0.25), 0 0 14px rgba(43, 212, 125, 0.95); animation: none; }
.topf { display: grid; grid-template-columns: repeat(25, 1fr); gap: 3px; margin-top: 16px; }
.zelle { display: block; aspect-ratio: 1; border-radius: 3px; background: rgba(138, 156, 201, 0.16); }
.zelle-an { background: var(--hf-eis); }
.zelle-mein { background: var(--hf-glut); box-shadow: 0 0 0 2px rgba(255, 194, 74, 0.35); }
.legende { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; color: var(--hf-stahl-hell); }
.legende li { display: flex; align-items: center; gap: 8px; }
.legende .zelle { width: 13px; }
@media (max-width: 380px) { .mein-los { grid-template-columns: auto 1fr; } .mein-los-stand { grid-column: 1 / -1; } }

/* Fuß: verschneite Tannenreihe über die ganze Breite (public/schneehuegel.svg), darunter das Kleingedruckte */
.fuss { position: relative; margin-top: 44px; padding-top: 112px; font-size: 13.5px; color: var(--hf-stahl-hell); }
.fuss::before {
  content: "";
  position: absolute;
  top: 0;
  left: -18px;
  right: -18px;
  height: 90px;
  background: url("/schneehuegel.svg") center bottom / 600px 90px repeat-x;
  pointer-events: none;
}
.fuss p { margin-top: 10px; }
.fuss-recht { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fuss-recht a { color: var(--hf-eisweiss); font-weight: 600; }
.copy { display: flex; align-items: center; gap: 8px; }
.stern { width: 22px; height: 22px; }

/* Teilnahmebedingungen */
.rechtstext { margin-top: 26px; }
.rechtstext h1 { font-size: clamp(26px, 7vw, 36px); }
.rechtstext h2 { margin-top: 28px; font-size: 19px; }
.rechtstext p, .rechtstext ul { margin-top: 10px; }
.rechtstext ul { list-style: disc; padding-left: 20px; }
.rechtstext ol.rechts-gewinne { display: grid; gap: 4px; margin-top: 10px; }
.offen { color: var(--hf-glut); font-weight: 700; }

/* Bühne der Live-Ziehung: füllt das Fenster, gedacht für 16:9 im Stream */
.buehnen-seite { overflow: hidden; }
.buehne {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 24vw);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "kopf kopf" "trommel gezogen" "regie regie";
  gap: 2.2vh 2.4vw;
  height: 100vh;
  height: 100dvh;
  padding: 3vh 3vw;
}
.buehne-kopf { grid-area: kopf; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.buehne-kopf .logo { height: clamp(60px, 9vh, 104px); }
.buehne-kopf .partner-logo { height: clamp(72px, 11.5vh, 132px); }
.buehne-titel { font: 800 clamp(16px, 2vw, 34px)/1.1 var(--hf-schrift-marke); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hf-glut); text-align: right; }
.trommel {
  grid-area: trommel;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  border: 2px solid var(--linie);
  border-radius: 36px;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(96, 203, 241, 0.16), transparent 70%),
    rgba(13, 22, 48, 0.82);
  text-align: center;
}
.trommel-ueber { font: 700 clamp(16px, 2.2vw, 38px)/1.2 var(--hf-schrift-marke); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hf-stahl-hell); }
.trommel-platz { min-height: 1.25em; margin-top: 0.8vh; padding: 0 2vw; font: 800 clamp(20px, 3.1vw, 58px)/1.2 var(--hf-schrift-marke); color: var(--hf-glut); overflow-wrap: anywhere; }
.trommel-los { display: flex; align-items: baseline; gap: 2vw; margin-top: 1vh; }
.trommel-los .los-wort { font-size: clamp(18px, 2.6vw, 44px); color: var(--hf-stahl-hell); opacity: 1; }
.trommel-nr {
  font: 800 clamp(110px, 21vw, 360px)/1 var(--hf-schrift-marke);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  background: var(--hf-verlauf-chrom);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trommel-name { min-height: 1.25em; font: 800 clamp(34px, 6vw, 110px)/1.2 var(--hf-schrift-marke); color: var(--hf-glut); overflow-wrap: anywhere; padding: 0 2vw; }
.trommel-topf { margin-top: 1.4vh; font-size: clamp(14px, 1.5vw, 26px); color: var(--hf-stahl-hell); }
[data-zustand="dreht"] .trommel-nr { filter: blur(1.5px); }
[data-zustand="treffer"] .trommel { border-color: var(--hf-glut); box-shadow: 0 0 0 6px rgba(255, 194, 74, 0.16), 0 0 110px rgba(255, 194, 74, 0.28); }
[data-zustand="treffer"] .trommel-nr { background: var(--hf-verlauf-marke); -webkit-background-clip: text; background-clip: text; animation: treffer 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
[data-zustand="treffer"] .trommel-name:not(:empty) { animation: aufgehen 0.6s ease-out both; }
@keyframes treffer { from { transform: scale(0.82); } to { transform: scale(1); } }
@keyframes aufgehen { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.gezogen { grid-area: gezogen; min-height: 0; overflow: hidden; padding: 2.2vh 1.4vw; border: 1px solid var(--linie); border-radius: 26px; background: rgba(13, 22, 48, 0.82); }
.gezogen h2 { font-size: clamp(15px, 1.5vw, 24px); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hf-stahl-hell); }
.gezogen ol { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.gezogen li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 14px; background: var(--hf-nacht-3); }
.gezogen li[data-status="verworfen"] { opacity: 0.45; text-decoration: line-through; }
.gezogen-platz { font: 700 clamp(11px, 0.95vw, 15px)/1.25 var(--hf-schrift-text); color: var(--hf-glut); overflow-wrap: anywhere; }
.gezogen-nr { font: 700 clamp(12px, 1vw, 16px)/1.2 var(--hf-schrift-marke); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hf-eis); }
.gezogen-name { font: 700 clamp(16px, 1.5vw, 26px)/1.25 var(--hf-schrift-text); overflow-wrap: anywhere; }
.regie { grid-area: regie; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; min-height: 58px; }
.regie form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.regie form label { font-weight: 600; }
.regie form input { width: min(46vw, 360px); }
.regie .knopf-gross { width: auto; padding-left: 44px; padding-right: 44px; }
.regie-meldung { font-weight: 600; color: var(--hf-glut); }
.regie-klein { margin-left: auto; font-size: 13px; color: var(--hf-stahl-hell); text-align: right; }

@media (min-width: 600px) {
  .schritte { grid-template-columns: repeat(4, 1fr); }
  .profile { grid-template-columns: 1fr 1fr; }
  .logo { height: 84px; }
  .partner-logo { height: 112px; }
}
/* Vorname und Nachname stehen ab 341 px nebeneinander (spart am Handy eine Zeile); nur ganz schmale Fenster stapeln */
@media (max-width: 340px) {
  .paar:not(.paar-plz) { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .logo { height: 64px; }
  .partner-logo { height: 84px; }
  .partner-bild { width: 92px; }
  .los-nr { font-size: 54px; }
  .los-abriss { flex-basis: 70px; }
  .los-haupt { padding-left: 12px; padding-right: 10px; }
}
@media (max-width: 760px) {
  .buehnen-seite { overflow: auto; }
  .buehne { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; grid-template-areas: "kopf" "trommel" "regie" "gezogen"; height: auto; min-height: 100dvh; }
  .trommel { padding: 5vh 0; }
  .regie-klein { margin-left: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .birne ellipse, .licht-gold, .funkel, .haenger, .emoji, .los-haupt, .los-abriss, .los-punkt, [data-zustand="treffer"] .trommel-nr, [data-zustand="treffer"] .trommel-name:not(:empty) { animation: none; }
  .schneefall { display: none; }
}
