/* Magic City — Stylesheet (Nightlife-Look: Zinc, Magenta, edel)
   Mobile-first, Hauptnutzungsfall: Handy nach QR-Scan. Kein Build-Step. */

/* ── Fonts (variable, lokal gehostet) ─────────────────────────── */
@font-face {
  font-family: "Inter";
  src: url("/magic-city/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("/magic-city/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* ── Design-Tokens ────────────────────────────────────────────── */
:root {
  --bg: #09090b;
  --surface: #18181b;
  --surface-2: #27272a;
  --bg-input: #09090b;
  --accent: #FB01ED;
  --accent-bright: #FF4DF3;
  --accent-deep: #BE01B2;
  --glow: rgba(251, 1, 237, .45);
  --border: #27272a;
  --border-glow: #5E1E58;
  --text: #fafafa;
  --text-soft: #d4d4d8;
  --muted: #a1a1aa;
  --faint: #52525b;
  --error: #f87171;
  --ok: #34d399;

  --hero-url: none; /* spaeter z.B. url("/img/hero.webp") — Gradient bleibt Fallback */
  --header-h: 64px;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Unbounded", var(--font-body);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

::selection { background: rgba(251, 1, 237, .45); color: #fff; }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Deutlich sichtbarer Fokus (Tastatur) */
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 26px;
  border: none;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, filter .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 55%, var(--accent-deep));
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35), 0 0 24px var(--glow);
}
.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .4), 0 0 42px var(--glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(1px); }
.btn-large { min-height: 54px; padding: 15px 34px; font-size: 17px; border-radius: 16px; }
.btn-small { min-height: 44px; padding: 10px 22px; font-size: 15px; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-glow);
}
.btn-ghost:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(251, 1, 237, .2);
}

/* ── Header (sticky, blur) ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(94, 30, 88, .35);
  /* PWA-Standalone: Inhalt nicht unter die Notch/Statusleiste schieben */
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.brand-logo { display: block; height: 38px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 4px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease;
}
.nav-link:hover { color: var(--text); }

/* ── Sprachumschalter (DE/EN) ─────────────────────────────────── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.lang-link:hover { color: var(--text); }
.lang-link.is-active {
  background: var(--surface-2);
  color: var(--text);
}

/* Burger erst auf kleinen Screens */
.nav-toggle { display: none; }

@media (max-width: 719px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
  }
  .nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px 20px 20px;
    background: rgba(9, 9, 11, .96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
  }
  .site-nav.nav-open { display: flex; }
  .site-nav .nav-link { padding: 12px 6px; }
  .site-nav .lang-switch { align-self: center; margin: 4px 0; }
  .site-nav .btn { width: 100%; }
}

/* ── Hero: Mehrschicht-Gradient + Glow-Orbs + Lichtkegel + Grain ──
   Optionales Hintergrundbild via --hero-url, Gradient als Fallback. */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h)); /* Gradient laeuft hinter den Blur-Header */
  padding: calc(var(--header-h) + 72px) 20px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* Gefilmter Loop (Drohnen-/Hyperlapse-Aufnahmen Zürich) hinter dem Gradient-Look.
   Liegt vor .hero-bg im DOM, damit dessen halbtransparente Gradients als Scrim
   darueber liegen (Lesbarkeit) — .hero-bg ist dafuer nicht mehr blickdicht. */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    /* 1) dunkles Overlay fuer Lesbarkeit, laesst das Video durchscheinen */
    linear-gradient(180deg, rgba(9, 9, 11, .55) 0%, rgba(9, 9, 11, .35) 45%, rgba(9, 9, 11, .95) 100%),
    /* 2) Magenta-Mehrschicht-Gradient als eigenstaendiger Look ueber dem Video */
    radial-gradient(1100px 620px at 50% -10%, rgba(190, 1, 178, .5), transparent 65%),
    radial-gradient(720px 520px at 10% 36%, rgba(251, 1, 237, .2), transparent 62%),
    radial-gradient(820px 560px at 90% 50%, rgba(255, 77, 243, .15), transparent 64%),
    radial-gradient(940px 720px at 50% 118%, rgba(190, 1, 178, .28), transparent 62%);
  background-size: cover;
  background-position: center;
}

/* Weiche Glow-Orbs (Tiefe) */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
  animation: orb-float 10s ease-in-out infinite alternate;
}
.hero-orb-1 {
  width: 420px; height: 420px;
  left: -120px; top: 6%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 77, 243, .5), rgba(190, 1, 178, .15) 65%, transparent 75%);
}
.hero-orb-2 {
  width: 360px; height: 360px;
  right: -100px; top: 34%;
  background: radial-gradient(circle at 60% 40%, rgba(251, 1, 237, .42), rgba(190, 1, 178, .12) 65%, transparent 75%);
  animation-duration: 13s;
  animation-delay: -5s;
}
.hero-orb-3 {
  width: 480px; height: 480px;
  left: 50%; bottom: -240px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 30%, rgba(190, 1, 178, .4), transparent 70%);
  animation: none; /* unten ruhig lassen */
}

/* Lichtkegel von oben (Club-Anmutung) */
.hero-beams {
  position: absolute;
  inset: -12% -18%;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    conic-gradient(from 167deg at 28% -8%, transparent 0deg, rgba(251, 1, 237, .14) 7deg, transparent 17deg),
    conic-gradient(from 177deg at 52% -12%, transparent 0deg, rgba(255, 77, 243, .12) 9deg, transparent 21deg),
    conic-gradient(from 196deg at 74% -8%, transparent 0deg, rgba(190, 1, 178, .14) 8deg, transparent 18deg);
}

/* Dezentes Grain gegen Banding */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-mark { height: 48px; width: auto; margin-bottom: 22px; filter: drop-shadow(0 0 18px var(--glow)); }
.hero-eyebrow {
  margin: 0 0 18px;
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.hero-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 11vw, 96px);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 18px rgba(255, 77, 243, .55),
    0 0 60px rgba(251, 1, 237, .4),
    0 0 130px rgba(190, 1, 178, .35);
}
.hero-sub {
  max-width: 540px;
  margin: 0 auto 34px;
  color: var(--text-soft);
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.65;
}
.hero-hint { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* ── Sections (gemeinsam) ─────────────────────────────────────── */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 88px 20px; }
.section-inner.narrow { max-width: 720px; }
.section-eyebrow,
.card-eyebrow {
  margin: 0 0 10px;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.5vw, 36px);
  line-height: 1.2;
  letter-spacing: .01em;
}
.section-sub { margin: 0 0 30px; color: var(--muted); font-size: 16px; }

/* ── Line-up-Sektion: Flyer + DJ-Liste + Event-Fakten + Ticket-CTA ── */
.lineup { position: relative; }
.lineup-grid {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 38px;
}
.lineup-grid-noflyer { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .lineup-grid { grid-template-columns: 1fr; }
}
.lineup-flyer img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .35), 0 0 30px rgba(251, 1, 237, .12);
}
.lineup-djs { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lineup-dj-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.lineup-dj-headliner .lineup-dj-name { font-size: 28px; color: var(--accent-bright); }
.lineup-headliner-tag {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 2px;
}
.lineup-meta {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
}
.lineup-meta li { display: flex; align-items: center; gap: 10px; }
.lineup-meta svg { flex: none; color: var(--accent-bright); }
.lineup-age-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
  font-weight: 600;
  font-size: 13px;
}
.lineup-cta { display: inline-flex; align-items: center; gap: 10px; }
.lineup-price { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* ── Karten-Sektion: 4 Cards · 4 Levels ───────────────────────────
   Die Kartenflächen bauen das physische Bloom-Design nach.
   Mass-Trick: font-size = Kartenbreite / 86 → 1em entspricht 1mm der
   echten Karte (86×54mm), alle Innenmasse kommen 1:1 aus dem Druckdesign. */
.cards { position: relative; }
.cards-lede { max-width: 560px; }

.mc-card {
  --mag: 251, 1, 237; /* Magenta-Glow (Site-Accent) */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: var(--card-w);
  height: calc(var(--card-w) * .6279); /* Seitenverhältnis 86:54 */
  font-size: calc(var(--card-w) / 86); /* 1em = 1mm */
  padding: 6em 8em;
  border-radius: 3.2em;
  overflow: hidden;
  background: var(--card-bg, #222);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .55);
}
.mc-card::after { /* diagonaler Plastik-Sheen */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, .13) 46%, rgba(255, 255, 255, .02) 58%, transparent 68%);
}
.mc-purple { --card-bg: #6D1F80; }
.mc-blue   { --card-bg: #004183; }
.mc-orange { --card-bg: #D77A0E; }
.mc-black  { --card-bg: #0B0B0E; }
.mc-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70em;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(3.6em);
  background: radial-gradient(circle, rgba(var(--mag), .85) 0%, rgba(var(--mag), .48) 38%, rgba(var(--mag), .12) 60%, transparent 74%);
}
.mc-black .mc-glow { /* wie auf der echten schwarzen Karte: deutlich dezenter */
  background: radial-gradient(circle, rgba(var(--mag), .42) 0%, rgba(var(--mag), .2) 40%, rgba(var(--mag), .05) 62%, transparent 78%);
}
.mc-inf  { width: 26em; height: auto; position: relative; z-index: 2; }
.mc-logo { width: 46em; height: auto; position: relative; z-index: 2; }
.mc-card img { -webkit-user-drag: none; } /* Safari: kein natives Bild-Draggen */
.mc-slogan {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.3em;
  letter-spacing: .32em;
  text-indent: .32em; /* gleicht das Letterspacing des letzten Zeichens aus */
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

/* Fächer-Container. Ohne JS: ruhiges Grid, alle Karten + Benefits sichtbar. */
.fan {
  --card-w: clamp(200px, 62vw, 260px);
  --fan-deg: 12deg; /* Öffnungswinkel pro Karten-Abstand */
  margin-top: 34px;
}
.fan-stage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 44px 20px;
  justify-items: center;
  max-width: 760px; /* Fallback-Grid: max. 2 Spalten (2×2 statt 3+1) */
  margin: 0 auto;
}
.fan-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 360px;
}
.fan-card {
  display: block;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  border-radius: calc(var(--card-w) / 86 * 3.2); /* = Kartenradius, für den Fokusring */
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* Ohne JS sind die Buttons disabled (app.js aktiviert sie beim Fächer-Init) */
.fan-card:disabled { cursor: default; }
.fan-benefit { text-align: center; max-width: 420px; }
.fan-level {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lv, var(--accent-bright));
}
.lv-purple { --lv: #C879F2; }
.lv-blue   { --lv: #5B9BFF; }
.lv-orange { --lv: #FFA02E; }
.lv-black  { --lv: #fafafa; }
.fan-name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
}
.fan-tag {
  margin: 0 0 10px;
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fan-text {
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 400px;
}
.fan-hint,
.fan-dots { display: none; } /* nur im JS-Fächer-Modus sinnvoll */

/* ── Fächer-Modus (nur mit JS): Karten übereinander, aufgefächert ──
   app.js setzt pro Karte --o (Abstand zur aktiven Karte, beim Draggen
   auch Zwischenwerte) und --abs (|--o|, gedeckelt) — das CSS macht
   daraus Rotation, Absenkung, Grösse und Abdunklung. */
html.js .fan-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}
html.js .fan-hint svg { color: var(--accent-bright); flex: none; }
html.js .fan-stage {
  display: grid;
  /* genau ein Track in Containerbreite — sonst bestimmt der breiteste
     Benefit-Text die Trackbreite und der Fächer schiebt sich nach rechts */
  grid-template-columns: minmax(0, 100%);
  justify-items: stretch;
  gap: 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none; /* iOS: kein Long-Press-Menü auf den Logos */
  touch-action: pan-y; /* vertikales Scrollen bleibt frei */
  cursor: grab;
}
html.js .fan.is-dragging .fan-stage { cursor: grabbing; }
html.js .fan-item {
  /* Alle 4 Items liegen in derselben Grid-Zelle übereinander;
     Zeile 1 = Kartenbühne (fix), Zeile 2 = Benefit (auto, höchstes zählt) */
  grid-area: 1 / 1;
  display: grid;
  grid-template-rows: calc(var(--card-w) * .6279 + 170px) auto;
  justify-items: center;
  width: 100%;
  max-width: none;
  gap: 0;
  pointer-events: none;
  position: relative;
}
html.js .fan-card {
  pointer-events: auto;
  align-self: start;
  margin-top: 40px;
  transform-origin: 50% 230%;
  transform: rotate(calc(var(--o, 0) * var(--fan-deg)))
             scale(calc(1.04 - var(--abs, 0) * .07));
  filter: brightness(calc(1 - var(--abs, 0) * .13));
  transition: transform .5s cubic-bezier(.22, .65, .3, 1), filter .4s ease;
  will-change: transform;
}
html.js .fan.is-dragging .fan-card { transition: none; }
/* Vor dem Scroll-Reveal liegen die Karten als Stapel — der Fächer
   öffnet sich, sobald die Sektion in den Blick scrollt. */
html.js .fan:not(.reveal-visible) .fan-card { transform: none; }
html.js .fan-benefit {
  grid-row: 2;
  padding-top: 8px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease .1s, transform .45s cubic-bezier(.22, .65, .3, 1) .1s;
}
html.js .fan-item.is-active .fan-benefit {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
html.js .fan-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}
html.js .fan-dot {
  position: relative;
  width: 30px;
  height: 30px; /* Touch-Target, sichtbarer Punkt via ::after */
  padding: 0;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
html.js .fan-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #71717a; /* zinc-500: heller als --faint, hält 3:1 UI-Kontrast */
  transition: background .2s ease, transform .2s ease, box-shadow .25s ease;
}
html.js .fan-dot[aria-current="true"]::after {
  background: var(--accent-bright);
  transform: scale(1.35);
  box-shadow: 0 0 12px var(--glow);
}

@media (max-width: 719px) {
  .fan { --fan-deg: 10deg; }
  /* Stage bis an die Displaykante ziehen: rotierte Randkarten werden dann an
     der Viewport-Kante angeschnitten (bewusster Bleed), nicht mitten im Content */
  html.js .fan-stage { margin-inline: -20px; }
}

/* ── Anmelde-Section ──────────────────────────────────────────── */
.register { position: relative; }
.register::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(720px 440px at 50% 32%, rgba(190, 1, 178, .14), transparent 65%);
}
.register .section-inner { position: relative; }

/* QR-Scan: fokussierte Anmelde-Ansicht — Formular sofort oben, kompaktes Spacing,
   eigener Atmosphären-Glow (statt des ::before-Glows der Marketing-Variante). */
.register--focus::before { display: none; }
.register--focus {
  background:
    radial-gradient(1000px 560px at 50% -8%, rgba(190, 1, 178, .30), transparent 60%),
    radial-gradient(640px 420px at 14% 26%, rgba(251, 1, 237, .12), transparent 64%),
    var(--bg);
}
.register--focus .section-inner {
  padding-top: clamp(24px, 5vw, 44px);
  padding-bottom: 44px;
}
/* Übergang zur darunterliegenden Section nicht ins Leere laufen lassen
   (sonst summieren sich 44px + 88px zu totem Raum). Nach dem QR-Scan folgt
   auf das Formular die Karten-Sektion, sonst die Info-Section. */
.register--focus + .lineup .section-inner,
.register--focus + .cards .section-inner { padding-top: 48px; }
.register-intro { text-align: center; margin-bottom: 28px; }
.register-eyebrow {
  margin: 0 0 14px;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.register-headline {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 77, 243, .5), 0 0 70px rgba(190, 1, 178, .35);
}
.register-lede {
  max-width: 440px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.6;
}

.form-card {
  padding: 40px 36px;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(251, 1, 237, .07);
}
@media (max-width: 719px) {
  .form-card { padding: 30px 20px; border-radius: 20px; }
}

/* Fehlerbox oberhalb des Formulars */
.form-error {
  margin-bottom: 22px;
  padding: 13px 16px;
  background: rgba(248, 113, 113, .1);
  border: 1px solid rgba(248, 113, 113, .4);
  border-radius: 12px;
  color: var(--error);
  font-size: 15px;
  text-align: center;
}

/* Anmelde-Gate: erscheint statt des Formulars ohne gültigen QR-Code */
.code-gate { text-align: center; }
.gate-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(251, 1, 237, .12);
  border: 1px solid var(--border-glow);
  color: var(--accent-bright);
}
.gate-icon.gate-warn {
  background: rgba(248, 113, 113, .1);
  border-color: rgba(248, 113, 113, .4);
  color: var(--error);
}
.gate-icon.gate-done {
  background: rgba(52, 211, 153, .12);
  border-color: rgba(52, 211, 153, .4);
  color: var(--ok);
}
.code-gate .section-sub { margin-bottom: 8px; }
.gate-hint { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Formular-Grid: 6 Spalten Desktop (Paare 3+3 / 4+2 / 2+4), 1 Spalte mobil */
.form-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 14px;
}
.f-2 { grid-column: span 2; }
.f-3 { grid-column: span 3; }
.f-4 { grid-column: span 4; }
.f-6 { grid-column: 1 / -1; }
@media (max-width: 719px) {
  .form-grid { grid-template-columns: 1fr; }
  .f-2, .f-3, .f-4, .f-6 { grid-column: auto; }
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.field input {
  width: 100%;
  min-height: 48px; /* Touch-Target */
  padding: 12px 15px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px; /* kein iOS-Zoom */
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: var(--faint); }
.field input:hover { border-color: var(--border-glow); }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(251, 1, 237, .22);
}

/* Validierung: fehlende/ungültige Felder werden rot markiert */
.field-invalid label { color: var(--error); }
.field-invalid input,
.field-invalid select { border-color: var(--error); background: rgba(248, 113, 113, .06); }
.field-invalid input:focus,
.field-invalid select:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, .22);
}
.field-msg { margin: 7px 0 0; color: var(--error); font-size: 13px; line-height: 1.5; }

/* Magic-City-Geburtsdatum-Picker (Tag · Monat · Jahr) */
.dob-picker { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 10px; }
.field-dob select {
  width: 100%;
  min-height: 48px;
  padding: 12px 38px 12px 15px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px; /* kein iOS-Zoom */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FB01ED' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field-dob select:hover { border-color: var(--border-glow); }
.field-dob select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(251, 1, 237, .22);
}
.field-dob select:invalid { color: var(--faint); }  /* Platzhalter gedimmt */
.field-dob option { color: var(--text); background: var(--surface); }

.btn-submit { width: 100%; margin-top: 4px; }

.form-legal {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.form-legal a { color: var(--accent-bright); text-decoration: underline; }

/* ── Erfolgsseite ─────────────────────────────────────────────── */
.success-wrap {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background:
    radial-gradient(800px 480px at 50% 0%, rgba(190, 1, 178, .2), transparent 65%),
    var(--bg);
}
.success-card {
  width: 100%;
  max-width: 480px;
  padding: 44px 32px;
  text-align: center;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(251, 1, 237, .08);
}
.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .4);
  color: var(--ok);
}
.success-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.25;
}
.success-text { margin: 0 0 10px; color: var(--text-soft); }
.success-hint { margin: 0 0 28px; color: var(--muted); font-size: 14px; }

/* ── Rechtsseiten ─────────────────────────────────────────────── */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.legal-wrap h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 5vw, 34px);
}
.legal-wrap h2 { margin: 36px 0 10px; font-size: 19px; font-weight: 700; }
.legal-wrap p { margin: 0 0 12px; color: var(--text-soft); line-height: 1.7; }
.legal-note { color: var(--muted); font-size: 14px; }
.legal-stand { margin-top: 36px; color: var(--muted); font-size: 14px; }
.placeholder {
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(251, 1, 237, .1);
  color: var(--accent-bright);
  font-size: .92em;
  white-space: nowrap;
}

/* ── Footer (zweistufig: Marke + Social oben, Recht/Copy unten) ── */
.site-footer {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(190, 1, 178, .10), transparent 70%),
    #0c0c0e;
}
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; }
.footer-logo {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(251, 1, 237, .28));
}
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, box-shadow .25s ease;
}
.footer-ig:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(251, 1, 237, .22);
}
.footer-base {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px 42px;
  border-top: 1px solid rgba(39, 39, 42, .6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy { margin: 0; color: var(--muted); font-size: 13px; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 719px) {
  .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 34px; }
}

/* ── Animationen: Fade-up beim Laden + Scroll-Reveal ──────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes orb-float {
  from { translate: 0 0; }
  to   { translate: 0 -32px; }
}
.fade-up { animation: fade-up .7s cubic-bezier(.22, .65, .3, 1) both; }
.fade-d1 { animation-delay: .08s; }
.fade-d2 { animation-delay: .16s; }
.fade-d3 { animation-delay: .26s; }
.fade-d4 { animation-delay: .38s; }

/* Scroll-Reveal: nur ausblenden, wenn JS aktiv ist (html.js via app.js) */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .65, .3, 1);
}
html.js .reveal-d2 { transition-delay: .1s; }
html.js .reveal-d3 { transition-delay: .2s; }
html.js .reveal-visible { opacity: 1; transform: none; }

/* ── Reduzierte Bewegung: alles abschalten ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
}

/* ── Hero: volles Brush-Logo als Hauptelement ─────────────────── */
.hero-logo {
  display: block;
  width: min(86vw, 560px);
  height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 0 26px var(--glow));
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

