/* ==========================================================================
   Dance Nice — Landingpage
   Tokens und Regeln nach BRAND.md. Cyan ist die interaktive Farbe, Magenta der
   seltenere zweite Spot.

   Zwei bewusste Abweichungen von BRAND.md, auf Wunsch des Auftraggebers:
   Inhalte laufen zentriert statt flush left, und Ecken sind gerundet statt hart.
   Beides hängt an je einem Token — siehe --dn-radius und die .section-Regel.
   ========================================================================== */

/* Schriften lokal gehostet — keine Verbindung zu Google Fonts. Variable Fonts,
   eine Datei je Familie und Subset deckt 400 bis 700 ab. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Ground */
  --dn-ink:        #0a0512;
  --dn-ink-2:      #140724;
  --dn-ink-3:      #1e0c33;
  --dn-paper:      #f3f2f2;

  /* Neon */
  --dn-cyan:        #22d7ff;
  --dn-cyan-soft:   #a8ecff;
  --dn-blue:        #1268d6;
  --dn-magenta:     #ff2f9e;
  --dn-magenta-soft:#ff8ec4;
  --dn-violet:      #7b2ff7;

  /* Text */
  --dn-text:       #f6effa;
  --dn-text-muted: #cbbedb;
  --dn-text-dim:   #9d8cb0;

  /* Glow */
  --dn-glow-cyan:    0 0 8px #22d7ff, 0 0 34px rgba(34,215,255,.85);
  --dn-glow-magenta: 0 0 8px #ff2f9e, 0 0 34px rgba(255,47,158,.8);

  /* Type */
  --dn-font-display: "Outfit", system-ui, sans-serif;
  --dn-font-body:    "Space Grotesk", system-ui, sans-serif;
  --dn-font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --dn-step-display: clamp(48px, 7vw, 92px);
  --dn-step-h2:      clamp(28px, 3.4vw, 40px);
  --dn-step-h3:      22px;
  --dn-step-body:    18px;
  --dn-step-small:   15px;
  --dn-step-kicker:  12px;

  --dn-radius:     14px;   /* Karten, Panels, Bilder */
  --dn-radius-btn: 999px;  /* Buttons, Chips, Leiste */

  /* Layout */
  --dn-gutter: clamp(20px, 5vw, 64px);
  --dn-max:    1120px;
  --dn-measure: 62ch;
  --dn-cell: 2.4vmin;   /* eine Kachel der Tanzfläche */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dn-ink);
  color: var(--dn-text-muted);
  font-family: var(--dn-font-body);
  font-size: var(--dn-step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--dn-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 215, 255, .4);
}

a:hover { color: var(--dn-magenta); border-bottom-color: rgba(255, 47, 158, .5); }

::selection { background: rgba(255, 47, 158, .35); color: var(--dn-text); }

:focus-visible {
  outline: 2px solid var(--dn-cyan);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--dn-cyan); color: var(--dn-ink);
  padding: 12px 20px; font-weight: 700; border: 0;
  border-radius: var(--dn-radius-btn);
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

.kicker {
  font-family: var(--dn-font-mono);
  font-size: var(--dn-step-kicker);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dn-cyan);
  margin: 0 0 20px;
  max-width: none;
}

.display {
  font-family: var(--dn-font-display);
  font-weight: 400;
  font-size: var(--dn-step-display);
  line-height: .94;
  letter-spacing: -.03em;
  color: var(--dn-text);
  margin: 0 0 24px;
}

.h2 {
  font-family: var(--dn-font-display);
  font-weight: 400;
  font-size: var(--dn-step-h2);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--dn-text);
  margin: 0 0 24px;
}

.h3 {
  font-family: var(--dn-font-display);
  font-weight: 400;
  font-size: var(--dn-step-h3);
  line-height: 1.25;
  color: var(--dn-text);
  margin: 0 0 12px;
}

.hero__inner,
.section,
.footer__inner { text-align: center; }

p { margin: 0 auto 18px; max-width: var(--dn-measure); }
p:last-child { margin-bottom: 0; }

.lead { font-size: 20px; color: var(--dn-text-muted); }

.small { font-size: var(--dn-step-small); color: var(--dn-text-dim); }

strong { font-weight: 700; color: var(--dn-text); }

/* --------------------------------------------------------------------------
   Tanzfläche — Ebene in Perspektive, läuft endlos auf den Betrachter zu.
   Laut BRAND.md höchstens zwei Sektionen pro Seite: Hero und Footer.
   -------------------------------------------------------------------------- */

.floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46vh;
  overflow: hidden;
  perspective: 30vh;
  perspective-origin: 50% 0%;
  z-index: 0;
  pointer-events: none;
}

.floor__plane {
  position: absolute;
  top: 0; left: -60%; right: -60%;
  height: 260vh;
  transform-origin: 50% 0%;
  transform: rotateX(84.5deg);
  background-image:
    linear-gradient(to right,  rgba(255, 47, 158, .85) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 47, 158, .85) 1px, transparent 1px);
  background-size: var(--dn-cell) var(--dn-cell);
  animation: floor-run 2.6s linear infinite;
  /* am Horizont auflösen, im Vordergrund noch einmal: dort bläst die
     Perspektive eine 1px-Linie sonst zu einem Balken auf */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 68%, rgba(0,0,0,.12) 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 68%, rgba(0,0,0,.12) 100%);
}

@keyframes floor-run {
  from { background-position: 0 0; }
  to   { background-position: 0 var(--dn-cell); }
}

.horizon {
  position: absolute;
  left: 0; right: 0;
  bottom: 46vh;
  height: 1px;
  z-index: 1;
  background: var(--dn-magenta);
  box-shadow:
    0 0 8px 1px var(--dn-magenta),
    0 0 30px 5px rgba(255, 47, 158, .7),
    0 0 90px 20px rgba(123, 47, 247, .45);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(40px, 6vh, 64px) var(--dn-gutter) clamp(48px, 8vh, 80px);
  isolation: isolate;
  overflow: hidden;
}

.sky {
  position: absolute; inset: 0 0 46vh 0;
  z-index: 0;
  background:
    radial-gradient(90% 46% at 50% 100%, rgba(255, 47, 158, .5) 0%, rgba(123, 47, 247, .24) 42%, transparent 76%),
    linear-gradient(to bottom, #04010b 0%, #08021a 42%, #0f0426 74%, #1b0736 100%);
}

.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 18%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.1px 1.1px at 68% 12%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.6px 1.6px at 84% 32%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px     at 12% 44%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.3px 1.3px at 44% 8%,  rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px     at 92% 62%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 32% 70%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px     at 58% 40%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 76% 52%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.3px 1.3px at 6% 26%,  rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px     at 50% 88%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.2px 1.2px at 26% 56%, rgba(255,255,255,.55), transparent);
  background-size: 420px 340px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 88%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 88%);
  opacity: .9;
  animation: twinkle 7s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: .55; }
  to   { opacity: 1; }
}

.ridge {
  position: absolute;
  left: -2%; right: -2%; bottom: 0;
  height: clamp(60px, 14vh, 150px);
  background: linear-gradient(to bottom, #1a0430, var(--dn-ink));
  clip-path: polygon(
    0% 100%, 0% 62%, 6% 44%, 11% 58%, 17% 30%, 23% 55%, 28% 47%, 33% 70%,
    38% 88%, 62% 88%, 67% 68%, 72% 46%, 78% 58%, 83% 26%, 89% 52%, 94% 40%, 100% 60%, 100% 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 100%;
  max-width: var(--dn-max);
}

/* Lichtkegel unter dem Lockup: das Grid bleibt sichtbar, die Schrift lesbar */
.hero__inner::before {
  content: "";
  position: absolute;
  inset: -8% -14% -16%;
  z-index: -1;
  background: radial-gradient(62% 58% at 50% 62%,
    rgba(4, 1, 11, .94) 0%,
    rgba(4, 1, 11, .74) 44%,
    transparent 80%);
  pointer-events: none;
}

.hero__logo { margin: 0 0 28px; }

/* Countdown im Hero: kleiner als die frühere eigene Sektion, damit er
   den Bildausschnitt ankündigt statt ihm die Schau zu stehlen. */
.hero__countdown { margin: 0 0 30px; }

.hero__countdown .kicker { margin-bottom: 10px; }

.hero__countdown .countdown {
  gap: 10px clamp(18px, 3.2vw, 36px);
  margin-bottom: 10px;
}

.hero__countdown .countdown__num { font-size: clamp(26px, 3.4vw, 40px); }

.hero__countdown .countdown__label { font-size: 10px; }

.countdown__caption {
  font-size: var(--dn-step-small);
  color: var(--dn-text-dim);
}

/* Gerahmter Bildausschnitt aus dem Flyer. Die Breite ist zusätzlich an die
   Viewport-Höhe gekoppelt, damit der Hero auf flachen Fenstern nicht überläuft. */
.hero__frame {
  width: min(100%, 420px, calc(42svh * 0.926));
  height: auto;
  margin-inline: auto;
  border: 2px solid rgba(255, 47, 158, .75);
  border-radius: var(--dn-radius);
  box-shadow:
    0 0 0 6px rgba(10, 5, 18, .85),
    0 0 30px rgba(255, 47, 158, .38),
    0 0 90px rgba(123, 47, 247, .25);
}

.hero__genres {
  font-family: var(--dn-font-display);
  font-weight: 400;
  /* Desktop-Größe um 25 % reduziert (46px → 34.5px); der Mobil-Wert von 24px
     bleibt unverändert, er greift erst unterhalb von ~890px Fensterbreite. */
  font-size: clamp(20px, 2.7vw, 34.5px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--dn-text);
  margin: 0 auto 28px;
  max-width: none;
}

.hero__meta {
  font-family: var(--dn-font-mono);
  font-size: var(--dn-step-kicker);
  letter-spacing: .22em;
  text-transform: uppercase;
  /* Datum, Trenner und Uhrzeit in einer Helligkeit — sie sind eine Angabe */
  color: var(--dn-text);
  margin: 12px 0 0;
  max-width: none;
}

.hero__meta b { color: var(--dn-text); font-weight: 400; }

/* Die Datumszeile wird auf die Breite der Ortszeile skaliert. Der Wert hier
   ist die Näherung; main.js rechnet ihn exakt nach, sobald die Schrift
   geladen ist. Ohne JavaScript bleibt es bei dieser Näherung. */
.hero__when {
  display: inline-block;
  font-size: 15px;
}

/* Der Ort steht auf einer eigenen Zeile unter dem Datum und gibt die Breite vor */
.hero__venue {
  display: block;
  width: fit-content;
  margin: 8px auto 0;
  /* muss auf Handybreiten in eine Zeile passen, sonst bricht der Abgleich */
  font-size: clamp(15px, 4.4vw, 22px);
  color: var(--dn-text);
}

/* Vier Buttons als 2x2-Raster. 1fr-Spalten und gleich hohe Zeilen sorgen
   dafür, dass alle vier exakt dieselben Maße haben — unabhängig von der
   Textlänge und in jeder Fenstergröße gleich. */
.hero__actions {
  display: grid;
  /* minmax(0, 1fr) statt 1fr: sonst wächst die Spalte mit dem längsten
     Text über ihren Anteil hinaus und die Buttons werden ungleich breit. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  width: min(100%, 400px);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .hero { padding-block: 28px 32px; }
  .hero__frame { width: min(100%, calc(34svh * 0.926)); }
}

/* --------------------------------------------------------------------------
   Buttons — Cyan ist die primäre Aktion, Kanten bleiben hart
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--dn-radius-btn);
  border: 1px solid var(--dn-cyan);
  font-family: var(--dn-font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.btn:hover, .btn:focus-visible { border-bottom-color: var(--dn-cyan); }

.btn--primary {
  background: var(--dn-cyan);
  color: var(--dn-ink);
  box-shadow: var(--dn-glow-cyan);
}

.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--dn-cyan-soft);
  color: var(--dn-ink);
  border-color: var(--dn-cyan-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--dn-cyan);
}

.btn svg { width: 20px; height: 20px; flex: none; }

.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(34, 215, 255, .12);
  color: var(--dn-cyan-soft);
}

/* --------------------------------------------------------------------------
   Sektionen — flush left, getrennt durch Raum und Mono-Kicker,
   nicht durch dekorative Linien
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(64px, 10vh, 112px) var(--dn-gutter);
  max-width: var(--dn-max);
  margin-inline: auto;
}

/* Countdown ------------------------------------------------------------- */

.countdown {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px clamp(24px, 5vw, 56px);
  margin: 0 0 20px;
  padding: 0;
}

.countdown li { display: grid; gap: 6px; }

.countdown__num {
  font-family: var(--dn-font-mono);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  color: var(--dn-text);
  font-variant-numeric: tabular-nums;
  text-shadow: var(--dn-glow-cyan);
}

.countdown__label {
  font-family: var(--dn-font-mono);
  font-size: var(--dn-step-kicker);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dn-text-dim);
}

/* Sounds ---------------------------------------------------------------- */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--dn-ink-3);
  border: 1px solid var(--dn-ink-3);
  border-radius: var(--dn-radius);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 32px 28px 36px;
  background: var(--dn-ink-2);
  transition: background-color .2s ease;
}

.card:hover { background: var(--dn-ink-3); }

.card__name { color: var(--dn-text); }

.card p { margin: 0; font-size: 16px; }

/* Sound ----------------------------------------------------------------- */

/* Dresscode -------------------------------------------------------------- */

.panel {
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(34, 215, 255, .35);
  border-radius: var(--dn-radius);
  background: var(--dn-ink-2);
}

.panel .h2 { color: var(--dn-text); }

.panel__kicker {
  margin: 28px 0 0;
  font-family: var(--dn-font-mono);
  font-size: var(--dn-step-kicker);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dn-magenta);
  max-width: none;
}

/* Wann & wo -------------------------------------------------------------- */

.infos {
  display: grid;
  gap: 1px;
  margin: 0 0 32px;
  background: var(--dn-ink-3);
  border: 1px solid var(--dn-ink-3);
  border-radius: var(--dn-radius);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.info { padding: 24px 24px 28px; background: var(--dn-ink-2); }

.info__key {
  font-family: var(--dn-font-mono);
  font-size: var(--dn-step-kicker);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dn-cyan);
  margin-bottom: 10px;
}

.info__val {
  margin: 0;
  font-family: var(--dn-font-display);
  font-weight: 400;
  font-size: var(--dn-step-h3);
  line-height: 1.25;
  color: var(--dn-text);
}

/* Adresse unter dem Hallennamen: leiser als die Kennzahl darüber, aber lesbar.
   Sie steht sichtbar auf der Seite, weil Gäste sie brauchen — und weil eine
   Adresse, die nur in den strukturierten Daten steht, für Ortssuchen wenig
   ausrichtet. */
.info__sub {
  display: block;
  margin-top: .25rem;
  font-family: var(--dn-font-body);
  font-size: var(--dn-step-small, .875rem);
  color: var(--dn-text-dim);
}

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Tickets ---------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Footer — die Seite endet wieder auf der Tanzfläche
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vh, 72px) var(--dn-gutter) calc(46vh + 16px);
  isolation: isolate;
}

.footer__inner {
  position: relative;
  z-index: 2;
  max-width: var(--dn-max);
  margin-inline: auto;
}


.footer__legal { margin: 0; max-width: none; font-size: var(--dn-step-small); color: var(--dn-text-dim); }
.footer__legal a { color: var(--dn-text-dim); border-bottom-color: rgba(157, 140, 176, .4); }
.footer__legal a:hover { color: var(--dn-magenta); }

/* --------------------------------------------------------------------------
   Ticketleiste, erscheint nach dem Hero
   -------------------------------------------------------------------------- */

.dockbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  padding-block: 12px calc(12px + env(safe-area-inset-bottom));
  padding-inline: max(var(--dn-gutter), calc((100% - var(--dn-max)) / 2));
  background: rgba(10, 5, 18, .94);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(34, 215, 255, .35);
  border-bottom: 0;
  transform: translateY(110%);
  transition: transform .3s ease;
}

.dockbar:hover { border-bottom: 0; }

.dockbar.is-visible { transform: translateY(0); }

.dockbar__cta {
  border-bottom: 0;
  padding: 10px 24px;
  border-radius: var(--dn-radius-btn);
  background: var(--dn-cyan);
  color: var(--dn-ink);
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--dn-glow-cyan);
}

.footer { padding-bottom: calc(46vh + 80px); }

/* --------------------------------------------------------------------------
   Scroll-Einblendung
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Reduced motion: die Fläche bleibt eine Fläche, sie bewegt sich nur nicht
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .floor__plane,
  .stars {
    animation: none;
  }

  .js .reveal { opacity: 1; transform: none; transition: none; }

  .btn, .dockbar__social, .card, .dockbar { transition: none; }
}

/* --------------------------------------------------------------------------
   Rechtstexte — Impressum und Datenschutz. Fließtext liest sich links
   ausgerichtet besser als der zentrierte Rest der Seite.
   -------------------------------------------------------------------------- */

.legal {
  text-align: left;
  padding-bottom: clamp(64px, 10vh, 112px);
}

.legal p, .legal ul { max-width: var(--dn-measure); margin-inline: 0; }

.legal .h2 {
  font-size: var(--dn-step-h3);
  margin: 40px 0 12px;
}

.legal .display { margin-bottom: 44px; }

.legal .h2:first-of-type { margin-top: 0; }

.legal address { font-style: normal; }

.legal ul { padding-left: 1.2em; color: var(--dn-text-muted); }
.legal li { margin-bottom: 6px; }

.legal__back { margin-bottom: 32px; }

.legal__updated {
  margin-top: 48px;
  font-family: var(--dn-font-mono);
  font-size: var(--dn-step-small);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dn-text-dim);
}

/* Icon-Sprite: einmal definiert, dreifach benutzt (Hero, Leiste, Footer) */
.sprite { display: none; }

/* Ticketleiste: Social-Icons zwischen Datum und Ticket-Button */
.dockbar__links { display: flex; align-items: center; gap: 4px; }

.dockbar__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* Polsterung und Schriftgröße wie .dockbar__cta — damit sind beide
     zwangsläufig gleich hoch. */
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  color: var(--dn-cyan);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  transition: background-color .2s ease;
}

.dockbar__social svg { width: 18px; height: 18px; flex: none; }

.dockbar__social:hover, .dockbar__social:focus-visible {
  background: rgba(34, 215, 255, .14);
  color: var(--dn-cyan);
}

/* Auf schmalen Schirmen wird es in der Leiste eng: Datum weicht zuerst */
@media (max-width: 560px) {
  .dockbar { gap: 8px; }

  /* Mit Beschriftung passt die Leiste hier nicht mehr in die Breite —
     die Namen weichen, die Icons bleiben (aria-label trägt den Namen). */
  .dockbar__social span { display: none; }
  .dockbar__social { padding: 10px; }
  /* Ohne Text gibt das Icon die Höhe vor: auf Zeilenhöhe setzen,
     dann bleibt der Button so hoch wie "Tickets sichern" daneben. */
  .dockbar__social svg { width: 1.55em; height: 1.55em; }
}

/* --------------------------------------------------------------------------
   Mobile-Feinschliff. Steht bewusst am Dateiende: die Regeln überschreiben
   .btn, das weiter oben definiert ist.
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  /* Schmaleres Polster: in den 2x2-Spalten wird es sonst für
     "Tickets sichern" zu eng. */
  .btn { padding-inline: 12px; }
}

/* Sehr schmale Geräte (iPhone SE & Co.): eine Spur kleinerer Text, damit
   "Tickets sichern" einzeilig bleibt statt umzubrechen. */
@media (max-width: 360px) {
  .btn { font-size: 15px; white-space: nowrap; }
}
