@font-face {
  font-family: "League Spartan";
  src: url("fonts/league-spartan.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --rot: #B20D1C;
  --rot-dunkel: #8E0A16;
  --gruen: #0E4B30;
  --gold: #E9B949;
  --schwarz: #1A1A1A;
  --weiss: #FFFFFF;
  --creme: #FFF7EE;
  --grau: #5C5450;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--rot);
  color: var(--weiss);
  font-family: "League Spartan", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

#schnee { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.seite {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* ---------- Hero ---------- */
.hero { display: grid; gap: 28px; }

.poster { display: flex; flex-direction: column; container-type: inline-size; }

.label {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--weiss); color: var(--schwarz);
  font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 7px 10px 5px;
}
.punkte { display: flex; gap: 4px; flex: none; }
.punkte i { display: block; width: 11px; height: 11px; border-radius: 50%; }
.punkte .gold { background: var(--gold); }
.punkte .gruen { background: var(--gruen); }

h1 {
  margin: 22px 0 16px;
  font-weight: 800;
  font-size: clamp(40px, 12.5vw, 84px);
  font-size: 15.4cqi;
  line-height: 0.85;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.platte-feld {
  background: var(--gruen);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.platte {
  width: 78%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.rillen {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,0.09) 14%, transparent 20% 58%, rgba(255,255,255,0.06) 62%, transparent 68%),
    repeating-radial-gradient(circle, #141414 0 2px, #1f1f1f 2px 3px);
  animation: drehen 6s linear infinite;
}
.etikett {
  position: relative;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rot);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px #111;
}
.etikett svg { width: 36%; height: auto; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rillen { animation: none; } }

.kacheln { display: grid; grid-template-columns: repeat(5, 1fr); }
.k { aspect-ratio: 1; display: grid; place-items: center; }
.k svg { width: 56%; height: auto; }
.k.schwarz { background: var(--schwarz); }
.k.gruen { background: var(--gruen); }
.k.gold { background: var(--gold); }
.k.streifen { background: repeating-linear-gradient(135deg, var(--weiss) 0 9px, var(--rot) 9px 18px); }

/* ---------- Fakten ---------- */
.spalte { display: flex; flex-direction: column; gap: 22px; }

.fakten { display: flex; flex-direction: column; gap: 14px; }
.wann {
  margin: 0;
  font-weight: 300;
  font-size: clamp(32px, 9vw, 46px);
  line-height: 1;
  text-transform: uppercase;
}
.wann span { color: var(--gold); }
.fakten dl { margin: 0; border-top: 1px solid rgba(255,255,255,0.4); }
.fakten dl > div {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px;
  padding: 10px 0 8px; border-bottom: 1px solid rgba(255,255,255,0.4);
}
.fakten dt { font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); padding-top: 2px; }
.fakten dd { margin: 0; }
.fakten a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Formular ---------- */
.karte {
  background: var(--creme);
  color: var(--schwarz);
  padding: 24px 20px 22px;
  scroll-margin-top: 16px;
  box-shadow: 0 18px 50px rgba(60, 0, 8, 0.35);
}
.karte h2 { color: var(--rot); }
.karte > div > p { margin: 0 0 16px; color: var(--grau); }
.karte a { color: var(--rot); text-underline-offset: 3px; }
.zaehler {
  display: inline-block;
  background: var(--gold); color: var(--schwarz);
  font-weight: 700; padding: 6px 10px 4px; text-transform: uppercase; font-size: 14px; letter-spacing: 0.03em;
}

h2 { margin: 0 0 8px; font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; }

form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 15px; }
input[type="text"], input[type="email"], select {
  font: inherit; font-weight: 400; font-size: 17px;
  color: var(--schwarz); background: var(--weiss);
  border: 1.5px solid #D9CFC6; border-radius: 0;
  padding: 12px 12px 10px; min-height: 48px; width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, select:focus { border-color: var(--schwarz); outline: none; }
button:focus-visible, a:focus-visible, .haken input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
input[aria-invalid="true"] { border-color: var(--rot); background: #FFF0F0; }
.haken { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; line-height: 1.35; color: #3A3330; }
.haken input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--rot); }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fehler { margin: 0; background: #FFE3E3; color: var(--rot-dunkel); padding: 10px 12px 8px; font-weight: 600; }

button {
  font: inherit; font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--rot); color: var(--weiss);
  border: 0; padding: 15px 18px 12px; min-height: 52px; cursor: pointer;
}
button:hover { background: var(--rot-dunkel); }
button[disabled] { opacity: 0.7; cursor: progress; }

/* Danke + Story */
.story-box { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; margin-top: 4px; }
.story-box img { width: 100%; aspect-ratio: 9 / 16; background: var(--rot); display: block; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.story-text h3 { margin: 0 0 6px; font-size: 19px; text-transform: uppercase; font-weight: 800; }
.story-text p { margin: 0 0 12px; font-size: 15px; color: #3A3330; }
.story-text button { width: 100%; font-size: 16px; }
.klein-hinweis { margin: 18px 0 0; font-size: 15px; }

/* ---------- Mehr ---------- */
.mehr { display: grid; gap: 36px; margin-top: 44px; }
.block p { margin: 0 0 14px; }
.ablauf { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.4); }
.ablauf li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0 9px; border-bottom: 1px solid rgba(255,255,255,0.4); }
.ablauf b { font-weight: 700; color: var(--gold); text-transform: uppercase; }

.djs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dj {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--schwarz); color: var(--weiss); text-decoration: none;
  padding: 18px 16px 14px;
}
.dj b { font-size: 30px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.dj span { font-size: 15px; color: var(--gold); overflow-wrap: anywhere; }
.dj:hover b { text-decoration: underline; }
.ort { margin-top: 14px !important; font-size: 16px; }
.ort a, .fuss a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.fuss { text-align: center; font-size: 14px; margin-top: 48px; }
.fuss p { margin: 4px 0; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .seite { padding: 48px 40px 56px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: start; }
  .spalte { position: sticky; top: 24px; }
  .platte-feld { aspect-ratio: 5 / 4; }
  .mehr { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 64px; }
}

@media (max-width: 380px) {
  .story-box { grid-template-columns: 1fr; }
  .story-box img { width: 140px; }
}

/* =========================================================
   Interaktion & Bewegung
   ========================================================= */
html, body { overflow-x: clip; }
#funken { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

/* Platte */
.platte-feld { position: relative; }
.platte { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.platte.greift { cursor: grabbing; }
.scheibe { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; will-change: transform; }
.rillen { animation: none; }
.tipp {
  position: absolute; right: 12px; bottom: 12px;
  background: var(--gold); color: var(--schwarz);
  font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 9px 4px; pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.tipp.weg { opacity: 0; transform: translateY(6px); }
.bewegt .tipp { animation: wink 2.4s ease-in-out infinite; }
@keyframes wink { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) scale(1.06); } }

/* Kacheln */
.k { border: 0; padding: 0; min-height: 0; border-radius: 0; cursor: pointer; position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.k.schwarz:hover { background: #2a2a2a; }
.k.gruen:hover { background: #13603d; }
.k.gold:hover { background: #F3C962; }
.k svg { transition: transform 0.25s cubic-bezier(.3,1.6,.5,1); }
.k:hover svg { transform: scale(1.12); }
.k:active svg { transform: scale(0.9); }
.k.hit svg { animation: huepf 0.6s cubic-bezier(.3,1.5,.5,1); }
.k:nth-child(2).hit svg, .k:nth-child(4).hit svg { animation: wirbel 0.7s cubic-bezier(.3,1.2,.4,1); }
.k:nth-child(3).hit svg { animation: pendel 0.8s ease-in-out; transform-origin: 50% 10%; }
.k.streifen { background-size: 25.46px 25.46px; transition: background-position 0.6s; }
.k.streifen:hover { background-position: 25.46px 0; }
.k.streifen.hit { animation: streif 0.6s linear; }
@keyframes huepf { 0% { transform: scale(1); } 30% { transform: scale(1.35) rotate(-8deg); } 60% { transform: scale(0.92) rotate(6deg); } 100% { transform: scale(1); } }
@keyframes wirbel { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(200deg) scale(1.3); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes pendel { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(22deg); } 45% { transform: rotate(-18deg); } 70% { transform: rotate(10deg); } 88% { transform: rotate(-4deg); } }
@keyframes streif { to { background-position: 76.38px 0; } }

/* Countdown */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.countdown > div { background: var(--schwarz); padding: 12px 6px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.countdown b { font-weight: 800; font-size: clamp(30px, 8.5vw, 40px); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; display: block; }
.countdown span { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.countdown > div:last-child b { color: var(--weiss); }
.bewegt .countdown b.tick { animation: tick 0.35s ease-out; }
@keyframes tick { 0% { transform: translateY(-22%); opacity: 0.2; } 100% { transform: none; opacity: 1; } }
.jetzt { margin: 0; background: var(--gold); color: var(--schwarz); font-weight: 800; text-transform: uppercase; padding: 12px 12px 9px; }

/* Stepper */
.feld { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 15px; }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; background: var(--weiss); border: 1.5px solid #D9CFC6; }
.stepper button { background: var(--schwarz); padding: 6px 0 0; min-height: 48px; font-size: 28px; font-weight: 400; line-height: 1; }
.stepper button:hover { background: #333; }
.stepper button[disabled] { opacity: 0.25; cursor: default; }
.stepper output { display: grid; place-items: center; font-weight: 600; font-size: 17px; padding-top: 3px; }
.bewegt .stepper output.tick { animation: plopp 0.3s cubic-bezier(.3,1.6,.5,1); }
@keyframes plopp { 0% { transform: scale(0.8); } 100% { transform: scale(1); } }

/* Knopf */
#absenden, .story-text button { transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
#absenden:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--schwarz); }
#absenden:active { transform: translateY(2px); box-shadow: 0 0 0 var(--schwarz); }

/* DJ-Karten */
.dj { position: relative; transition: transform 0.2s cubic-bezier(.3,1.4,.5,1), box-shadow 0.2s; }
.dj::after { content: "↗"; position: absolute; right: 12px; top: 10px; color: var(--gold); font-size: 22px; transition: transform 0.2s; }
.dj:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--gold); }
.dj:hover::after { transform: translate(3px, -3px); }
.dj:hover b { text-decoration: none; }

/* Ablauf */
.ablauf li { transition: padding-left 0.2s, background 0.2s; }
.ablauf li:hover { padding-left: 10px; background: rgba(0,0,0,0.12); }

/* Laufband */
.laufband {
  width: 100vw; margin: 44px 0 0 calc(50% - 50vw);
  background: var(--gold); color: var(--schwarz); overflow: hidden;
  transform: rotate(-1.2deg);
}
.spur { display: flex; width: max-content; }
.bewegt .spur { animation: lauf 28s linear infinite; }
.laufband:hover .spur { animation-play-state: paused; }
.spur span { flex: none; white-space: pre; font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; padding: 12px 0 8px; }
@keyframes lauf { to { transform: translateX(-50%); } }
.mehr { margin-top: 40px; }

/* Titel + Einblenden */
.bewegt h1 span { display: inline-block; animation: rein 0.6s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes rein { 0% { transform: translateY(60%) rotate(8deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.bewegt h1 span:hover { color: var(--gold); transform: translateY(-6%); transition: transform 0.15s, color 0.15s; }
.bewegt .platte-feld { animation: auf 0.7s 0.2s cubic-bezier(.2,1,.3,1) both; }
.bewegt .kacheln .k { animation: auf 0.5s cubic-bezier(.2,1,.3,1) both; }
.bewegt .kacheln .k:nth-child(1) { animation-delay: 0.45s; } .bewegt .kacheln .k:nth-child(2) { animation-delay: 0.52s; }
.bewegt .kacheln .k:nth-child(3) { animation-delay: 0.59s; } .bewegt .kacheln .k:nth-child(4) { animation-delay: 0.66s; }
.bewegt .kacheln .k:nth-child(5) { animation-delay: 0.73s; }
.bewegt .spalte { animation: auf 0.7s 0.35s cubic-bezier(.2,1,.3,1) both; }
@keyframes auf { 0% { transform: translateY(26px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.ein { opacity: 0; transform: translateY(22px); transition: opacity 0.6s, transform 0.6s cubic-bezier(.2,1,.3,1); }
.ein.da { opacity: 1; transform: none; }
.dj.ein.da:hover { transform: translate(-3px, -3px); }

@media (min-width: 900px) { .laufband { margin-top: 64px; } .mehr { margin-top: 56px; } .spur span { font-size: 26px; } }
.bewegt h1 { white-space: nowrap; font-size: 14.9cqi; }

/* =========================================================
   Tiefe & 3D
   ========================================================= */
body { background: #7A0812; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 45% at 50% 18%, rgba(255,150,60,0.30), transparent 70%),
    radial-gradient(130% 90% at 50% 0%, #CF1525 0%, #B20D1C 34%, #7A0812 72%, #40030A 100%);
}
.seite { padding-top: 78px; }

/* Bokeh */
.bokeh { position: fixed; inset: -10%; z-index: 0; pointer-events: none; transform: translate(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -12px)); }
.bokeh i { position: absolute; border-radius: 50%; filter: blur(26px); animation: schweb 20s ease-in-out infinite alternate; }
@keyframes schweb { to { transform: translate(40px, -60px) scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .bokeh i { animation: none; } }

/* Lichterkette */
.kette { position: absolute; top: 0; left: 0; width: 100%; height: 80px; z-index: 3; pointer-events: none; overflow: hidden; }
.kette svg { position: absolute; top: 0; left: 0; }
.kette i {
  position: absolute; width: 11px; height: 15px; margin: 0 0 0 -5.5px; border-radius: 45% 45% 50% 50%;
  background: var(--f); box-shadow: 0 0 10px 3px var(--f), 0 0 26px 8px color-mix(in srgb, var(--f) 55%, transparent);
  animation: funkel 2.4s ease-in-out infinite;
}
.kette i::before { content: ""; position: absolute; left: 3px; top: -3px; width: 5px; height: 4px; background: #1A1A1A; }
@keyframes funkel { 0%, 100% { opacity: 1; } 45% { opacity: 0.35; } 55% { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .kette i { animation: none; } }

/* Christbaumkugeln (nur wo Platz ist) */
.kugeln { display: none; }
@media (min-width: 1300px) {
  .kugeln { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: 2; pointer-events: none; }
  .kugel { position: absolute; top: 0; width: 2px; background: rgba(0,0,0,0.55); transform-origin: 50% 0; animation: pendeln 5s ease-in-out infinite alternate; }
  .kugel::after {
    content: ""; position: absolute; left: 50%; bottom: 0; width: var(--g); height: var(--g); border-radius: 50%;
    transform: translate(-50%, 100%);
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95) 0 6%, var(--h) 16%, var(--m) 52%, var(--d) 100%);
    box-shadow: 0 24px 40px rgba(30,0,4,0.5), inset -8px -10px 18px rgba(0,0,0,0.3);
  }
  .kugel::before { content: ""; position: absolute; left: 50%; bottom: -3px; width: 14px; height: 10px; margin-left: -7px; background: linear-gradient(90deg, #8a6a1c, #F6D57A, #8a6a1c); z-index: 1; border-radius: 2px; }
  .k1 { left: 5%; height: 210px; --g: 86px; --h: #FFE39A; --m: #E9B949; --d: #8C6510; }
  .k2 { left: 10.5%; height: 420px; --g: 58px; --h: #5FCB93; --m: #0E6B41; --d: #052A19; animation-duration: 6.5s; animation-delay: -2s; }
  .k3 { right: 5.5%; height: 300px; --g: 74px; --h: #FFFFFF; --m: #E8E2DA; --d: #9B8F84; animation-duration: 5.8s; animation-delay: -1s; }
  .k4 { right: 11%; height: 150px; --g: 50px; --h: #FFE39A; --m: #E9B949; --d: #8C6510; animation-duration: 4.4s; animation-delay: -3s; }
}
@keyframes pendeln { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .kugel { animation: none; } }

/* Titel: Glut + Tiefe */
h1 {
  text-shadow:
    0 1px 0 #F6DFA8, 0 2px 0 #EBC467, 0 3px 0 #D9A53A, 0 4px 0 #B98622, 0 5px 0 #946812,
    0 10px 18px rgba(40,0,5,0.55), 0 0 42px rgba(255,170,60,0.55);
}
.bewegt h1 { animation: glut 3.6s ease-in-out infinite; }
@keyframes glut {
  0%, 100% { text-shadow: 0 1px 0 #F6DFA8, 0 2px 0 #EBC467, 0 3px 0 #D9A53A, 0 4px 0 #B98622, 0 5px 0 #946812, 0 10px 18px rgba(40,0,5,0.55), 0 0 30px rgba(255,170,60,0.35); }
  50% { text-shadow: 0 1px 0 #F6DFA8, 0 2px 0 #EBC467, 0 3px 0 #D9A53A, 0 4px 0 #B98622, 0 5px 0 #946812, 0 10px 18px rgba(40,0,5,0.55), 0 0 70px rgba(255,190,80,0.95); }
}
.label { box-shadow: 0 8px 20px rgba(40,0,5,0.35); }

/* Platte als 3D-Bühne */
.platte-feld {
  perspective: 900px; overflow: visible;
  background: radial-gradient(circle at 50% 38%, #1F8A57 0%, #0E4B30 52%, #062617 100%);
  box-shadow: 0 30px 60px rgba(40,0,5,0.5), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.buehne { position: relative; width: 78%; max-width: 420px; aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(16deg); will-change: transform; }
.schatten { position: absolute; inset: 3%; border-radius: 50%; background: rgba(0,0,0,0.6); filter: blur(22px); transform: translateZ(-50px) translateY(12%); }
.platte { position: absolute; inset: 0; width: auto; max-width: none; transform: translateZ(26px); box-shadow: 0 4px 0 #050505, 0 7px 0 #2b2b2b, 0 8px 0 #050505; }
.rillen {
  background:
    conic-gradient(from 20deg, transparent 0 6%, rgba(255,255,255,0.20) 11%, transparent 17% 48%, rgba(255,255,255,0.14) 55%, transparent 62% 80%, rgba(255,220,150,0.10) 86%, transparent 92%),
    repeating-radial-gradient(circle, #101010 0 2px, #232323 2px 3px);
}
.etikett { background: radial-gradient(circle at 35% 30%, #E22636, #B20D1C 60%, #7d0812); box-shadow: 0 0 0 6px #0c0c0c, inset 0 2px 6px rgba(255,255,255,0.25); }
.etikett::after { content: ""; position: absolute; width: 7%; aspect-ratio: 1; border-radius: 50%; background: #0c0c0c; box-shadow: inset 0 1px 2px rgba(255,255,255,0.4); }
.etikett svg { transform: translateY(-62%); width: 30%; }
.arm { position: absolute; right: -8%; top: 1%; width: 40%; height: auto; transform: translateZ(74px); pointer-events: none; filter: drop-shadow(0 14px 10px rgba(0,0,0,0.35)); overflow: visible; }
.tipp { z-index: 2; box-shadow: 0 6px 14px rgba(0,0,0,0.35); }

/* Kacheln: schweben und drehen sich um */
.kacheln { perspective: 700px; position: relative; z-index: 1; }
.k { overflow: visible; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(.3,1.3,.4,1), box-shadow 0.3s; box-shadow: 0 14px 24px rgba(40,0,5,0.4); }
.bewegt .kacheln .k { animation-fill-mode: backwards; }
.k .vorn, .k .hinten { position: absolute; inset: 0; display: grid; place-items: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.k .vorn svg { width: 56%; height: auto; }
.k .hinten {
  transform: rotateY(180deg); background: var(--weiss); color: var(--schwarz);
  font-weight: 800; font-size: clamp(13px, 4.3cqi, 22px); text-transform: uppercase; letter-spacing: 0.02em; padding-top: 3px;
}
.k:nth-child(2) .hinten { background: var(--gold); } .k:nth-child(3) .hinten { background: var(--schwarz); color: var(--gold); }
.k:nth-child(4) .hinten { background: var(--rot); color: var(--weiss); } .k:nth-child(5) .hinten { background: var(--gruen); color: var(--weiss); }
.k:hover { transform: translateY(-8px) rotateX(10deg); z-index: 2; }
.k.um { transform: rotateY(180deg); }
.k.um:hover { transform: translateY(-8px) rotateY(180deg); }
.k.streifen.hit { animation: none; }

/* Countdown als Klappzahlen */
.countdown { perspective: 600px; gap: 8px; }
.countdown > div {
  position: relative; border-radius: 6px;
  background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 49.5%, #000 50%, #151515 51%, #101010 100%);
  box-shadow: 0 14px 26px rgba(40,0,5,0.5), inset 0 1px 0 rgba(255,255,255,0.18);
  transform-style: preserve-3d; transition: transform 0.2s;
}
.countdown b { text-shadow: 0 0 18px rgba(233,185,73,0.55); transform-origin: 50% 50%; }
@keyframes tick { 0% { transform: rotateX(-88deg); opacity: 0.4; } 100% { transform: none; opacity: 1; } }

/* Karten kippen */
.kipp { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.15s ease-out, box-shadow 0.2s; }
.dj { overflow: hidden; background: linear-gradient(150deg, #2a2a2a, #111); box-shadow: 0 16px 30px rgba(40,0,5,0.45), inset 0 1px 0 rgba(255,255,255,0.14); }
.dj.kipp:hover, .dj.ein.da.kipp:hover { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(14px); box-shadow: 0 26px 44px rgba(40,0,5,0.6), 0 0 0 2px var(--gold); }
.dj.kipp::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.22), transparent 55%); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.dj.kipp:hover::before { opacity: 1; }

/* Formular-Karte */
.karte {
  position: relative; border-top: 10px solid; border-image: repeating-linear-gradient(135deg, #B20D1C 0 12px, #FFFFFF 12px 24px) 10;
  box-shadow: 0 34px 70px rgba(30,0,4,0.6), 0 0 60px rgba(255,170,60,0.18);
}
#absenden { box-shadow: 0 6px 0 #5E060E, 0 14px 22px rgba(94,6,14,0.35); }
#absenden:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #5E060E, 0 18px 26px rgba(94,6,14,0.4); background: #C51022; }
#absenden:active { transform: translateY(6px); box-shadow: 0 0 0 #5E060E; }
.stepper button { box-shadow: inset 0 -4px 0 rgba(255,255,255,0.12); }

/* Fakten + Inhaltsblöcke als Glasflächen */
.wann { text-shadow: 0 6px 18px rgba(40,0,5,0.5); }
.mehr .block {
  background: linear-gradient(160deg, rgba(20,0,3,0.42), rgba(20,0,3,0.18));
  border: 1px solid rgba(255,255,255,0.16); padding: 26px 20px 22px;
  box-shadow: 0 26px 56px rgba(30,0,4,0.5), inset 0 1px 0 rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.laufband { box-shadow: 0 16px 34px rgba(30,0,4,0.5); position: relative; z-index: 1; }
@media (min-width: 900px) { .seite { padding-top: 96px; } .mehr .block { padding: 32px 28px 28px; } }

/* =========================================================
   Flyer-Farben statt Creme und Milchglas
   ========================================================= */
.karte { background: #121212; color: var(--weiss); box-shadow: 0 34px 70px rgba(20,0,3,0.65), 0 0 0 1px rgba(233,185,73,0.35); }
.karte h2 { color: var(--gold); }
.karte > div > p { color: #D8D2CC; }
.karte a { color: var(--gold); }
input[type="text"], input[type="email"] { background: #FFFFFF; border: 2px solid transparent; }
input[type="text"]:focus, input[type="email"]:focus { border-color: var(--gold); }
input[aria-invalid="true"] { border-color: #FF6B6B; background: #FFF0F0; }
.haken { color: #E6E0DA; }
.haken input { accent-color: var(--gold); }
.fehler { background: var(--gold); color: var(--schwarz); }
.stepper { border: 0; }
.stepper button { background: var(--gold); color: var(--schwarz); box-shadow: inset 0 -4px 0 rgba(0,0,0,0.18); }
.stepper button:hover { background: #F3C962; }
.stepper output { color: var(--schwarz); }
#absenden { background: var(--rot); box-shadow: 0 6px 0 #5E060E, 0 14px 22px rgba(0,0,0,0.4); }
.story-text p { color: #D8D2CC; }
.story-text button { background: var(--gold); color: var(--schwarz); }
.story-text button:hover { background: #F3C962; }
.klein-hinweis { color: #D8D2CC; }

.mehr .block { -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: 0 26px 56px rgba(20,0,3,0.55); }
.mehr .block:nth-child(1) { background: var(--gruen); }
.mehr .block:nth-child(2) { background: var(--weiss); color: var(--schwarz); }
.mehr .block:nth-child(2) h2 { color: var(--rot); }
.mehr .block:nth-child(2) .ort a { color: var(--rot); }
.mehr .block h2 { font-size: 38px; }

/* =========================================================
   Liquid Glass – ruhig, rund, durchscheinend
   ========================================================= */
:root {
  --glas: linear-gradient(145deg, rgba(255,255,255,0.22), rgba(255,255,255,0.07) 45%, rgba(255,255,255,0.12));
  --glas-kante: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -1px 0 rgba(255,255,255,0.10), inset 1px 0 0 rgba(255,255,255,0.12);
  --glas-schatten: 0 24px 60px rgba(30,0,6,0.38);
  --unschaerfe: blur(26px) saturate(115%) brightness(0.92);
}
body { padding-bottom: 96px; }
.glasflaeche, .karte, .mehr .block:nth-child(1), .mehr .block:nth-child(2), .countdown > div, .label, .dj, .spieler, .tipp {
  background: var(--glas); color: var(--weiss);
  -webkit-backdrop-filter: var(--unschaerfe); backdrop-filter: var(--unschaerfe);
  border: 1px solid rgba(255,255,255,0.28); border-image: none;
  box-shadow: var(--glas-kante), var(--glas-schatten);
}

/* Ruhe */
.laufband { display: none; }
.bewegt h1 { animation: none; }
h1 { text-shadow: 0 8px 30px rgba(40,0,5,0.45), 0 0 46px rgba(255,190,110,0.35); letter-spacing: 0; }
.bewegt h1 span:hover { color: inherit; transform: none; }
.bewegt .tipp { animation: none; }
.kette i { animation-duration: 5s; }
.kugel { animation-duration: 10s !important; }
.bokeh i { filter: blur(40px); animation-duration: 34s !important; }
.ablauf li:hover { padding-left: 0; background: none; }

/* Kopf */
.label { border-radius: 999px; padding: 9px 16px 7px; font-weight: 600; }
.platte-feld { border-radius: 32px; box-shadow: var(--glas-kante), 0 30px 70px rgba(30,0,6,0.45); background: radial-gradient(circle at 50% 36%, #1F8A57 0%, #0E4B30 55%, #072b1b 100%); }
.tipp { border-radius: 999px; padding: 8px 14px 6px; font-weight: 600; right: 16px; bottom: 16px; }
.arm { transform-origin: 74% 14%; transform: translateZ(74px) rotate(-24deg); transition: transform 0.9s cubic-bezier(.3,1,.3,1); }
.musik-an .arm { transform: translateZ(74px) rotate(0deg); }

/* Kacheln wie App-Symbole */
.kacheln { gap: 10px; margin-top: 14px; }
.k { border-radius: 26%; box-shadow: var(--glas-kante), 0 12px 26px rgba(30,0,6,0.35); }
.k .vorn, .k .hinten { border-radius: inherit; }
.k.streifen { overflow: hidden; }
.k:hover { transform: translateY(-4px); }
.k.um:hover { transform: translateY(-4px) rotateY(180deg); }

/* Fakten */
.wann { font-weight: 300; }
.countdown > div { border-radius: 20px; padding: 14px 6px 10px; }
.countdown b { color: var(--weiss); text-shadow: none; font-weight: 700; }
.fakten dl { border-top-color: rgba(255,255,255,0.22); }
.fakten dl > div { border-bottom-color: rgba(255,255,255,0.22); }

/* Anmeldung */
.karte { border-radius: 32px; padding: 28px 22px 26px; }
.karte h2, .mehr .block:nth-child(2) h2 { color: var(--weiss); }
.karte > div > p, .story-text p, .klein-hinweis, .haken { color: rgba(255,255,255,0.86); }
.karte a, .mehr .block:nth-child(2) .ort a { color: var(--weiss); }
h2, .mehr .block h2 { font-size: 30px; font-weight: 700; letter-spacing: 0.01em; }
input[type="text"], input[type="email"] {
  background: rgba(255,255,255,0.14); color: var(--weiss);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 16px; padding: 13px 16px 11px;
  box-shadow: inset 0 1px 2px rgba(30,0,6,0.25);
}
input::placeholder { color: rgba(255,255,255,0.6); }
input[type="text"]:focus, input[type="email"]:focus { border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.2); }
input[aria-invalid="true"] { border-color: var(--gold); background: rgba(233,185,73,0.18); }
.fehler { border-radius: 14px; }
.haken input { accent-color: var(--weiss); border-radius: 6px; }
.stepper { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 4px; grid-template-columns: 44px 1fr 44px; }
.stepper button { background: rgba(255,255,255,0.9); color: var(--schwarz); border-radius: 50%; min-height: 44px; box-shadow: none; }
.stepper button:hover { background: #fff; }
.stepper output { color: var(--weiss); }
#absenden, .story-text button {
  background: var(--weiss); color: var(--rot); border-radius: 999px; font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(178,13,28,0.12), 0 12px 26px rgba(30,0,6,0.35);
}
#absenden:hover, .story-text button:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px rgba(30,0,6,0.4); }
#absenden:active { transform: scale(0.98); box-shadow: 0 6px 14px rgba(30,0,6,0.3); }
.story-box img { border-radius: 14px; }
.zaehler { border-radius: 999px; }

/* Inhaltsblöcke */
.mehr .block:nth-child(1), .mehr .block:nth-child(2) { border-radius: 32px; }
.ablauf, .ablauf li { border-color: rgba(255,255,255,0.22); }
.ablauf b { color: var(--weiss); font-weight: 700; }
.dj { border-radius: 22px; }
.dj span { color: rgba(255,255,255,0.8); }
.dj::after { color: var(--weiss); }
.dj.kipp:hover, .dj.ein.da.kipp:hover { box-shadow: var(--glas-kante), 0 26px 50px rgba(30,0,6,0.45); }
.fakten dt { color: rgba(255,255,255,0.75); }

/* Musik-Knopf */
.spieler {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 6;
  display: flex; align-items: center; gap: 12px;
  border-radius: 999px; padding: 8px 20px 8px 8px; min-height: 0;
  font-size: 16px; font-weight: 600; letter-spacing: 0.02em; text-transform: none;
  transition: transform 0.2s, background 0.3s;
}
.spieler:hover { background: var(--glas); transform: translateX(-50%) scale(1.03); }
.spieler:active { transform: translateX(-50%) scale(0.97); }
.sp-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--weiss); color: var(--rot); display: grid; place-items: center; flex: none; }
.sp-icon svg { width: 22px; height: 22px; }
.i-pause, .musik-an .i-play { display: none; }
.musik-an .i-pause { display: block; }
.sp-text { padding-top: 3px; white-space: nowrap; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--weiss); opacity: 0.6; }
.musik-an .eq i { opacity: 1; animation: eq 0.49s ease-in-out infinite alternate; }
.musik-an .eq i:nth-child(2) { animation-delay: -0.2s; } .musik-an .eq i:nth-child(3) { animation-delay: -0.35s; } .musik-an .eq i:nth-child(4) { animation-delay: -0.1s; }
@keyframes eq { from { height: 4px; } to { height: 18px; } }
@media (prefers-reduced-motion: reduce) { .musik-an .eq i { animation: none; height: 12px; } }
.dj span { font-size: 13px; overflow-wrap: normal; white-space: nowrap; } .dj { padding: 18px 14px 14px; }
.etikett svg { transform: none; width: 38%; } .etikett::after { display: none; }

/* =========================================================
   Beat-Baukasten + größere Plattenfläche
   ========================================================= */
.platte-feld, .bewegt .platte-feld { aspect-ratio: 1 / 1; }
.buehne { width: 76%; max-width: 440px; }
@media (min-width: 900px) { .platte-feld { aspect-ratio: 1 / 1; } }

.k { transition: transform 0.25s cubic-bezier(.3,1.4,.5,1), opacity 0.3s, filter 0.3s, box-shadow 0.3s; }
.k svg { width: 56%; height: auto; }
.musik-an .k:not(.aktiv) { opacity: 0.45; filter: saturate(0.5); }
.k.aktiv { box-shadow: var(--glas-kante), 0 0 0 3px rgba(255,255,255,0.9), 0 0 26px rgba(255,220,150,0.7); }
.k.puls { transform: scale(1.08); transition-duration: 0.05s; }
.k:hover, .k.um:hover { transform: translateY(-3px); }
.k.puls:hover { transform: scale(1.08); }
.spurnamen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 8px; text-align: center; }
.spurnamen span { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.88); }
.mixtext { margin: 12px 0 0; font-size: 15.5px; line-height: 1.4; color: rgba(255,255,255,0.88); text-align: center; }
.mixtext b { color: var(--weiss); font-weight: 700; }
@media (min-width: 900px) {
  .platte-feld, .bewegt .platte-feld { aspect-ratio: 1 / 0.88; }
  .buehne { width: 68%; }
  .spieler { left: 28px; bottom: 28px; transform: none; }
  .spieler:hover { transform: scale(1.03); } .spieler:active { transform: scale(0.97); }
}
