/* =========================================================
   GÄBS — "Die Seite ist ein DJ-Set"
   Hot-Cue-Navigation · Wellenform-Scroll · Magazin-Cover-Hero
   Setlist · Crossfader · Filmstreifen · Decks · Live-Ticket
   ========================================================= */

@view-transition { navigation: auto; }

:root {
  --bg: #0b0b0a;
  --bg-2: #141412;
  --bg-3: #1d1d1a;
  --fg: #ece8de;
  --muted: #8d887c;
  --line: rgba(236, 232, 222, 0.13);
  --line-2: rgba(236, 232, 222, 0.28);
  --red: #ff3a30;
  --wa: #25d366;
  --spot: #1ed760;

  /* Hot-Cue-Farben wie am Controller */
  --cue-a: #ff3a30;
  --cue-b: #ff8a1f;
  --cue-c: #f2d20b;
  --cue-d: #2bd46b;
  --cue-e: #33c3f0;
  --cue-f: #a274ff;
  --cue: var(--red);

  --f-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;
  --f-led: 'Doto', 'IBM Plex Mono', monospace;

  --pad: clamp(16px, 3vw, 44px);
  --hdr: 56px;
  --wave: 22px;
  --deck: 62px;
  --ease: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body, var(--f-display));
  font-weight: 400;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; border: none; outline: none; }
button, a { cursor: pointer; }
::selection { background: var(--red); color: var(--bg); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cue, var(--red)); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 0.6rem; left: 0.6rem; z-index: 10001;
  padding: 0.6rem 1rem; background: var(--fg); color: var(--bg);
  font: 600 0.75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em;
  transform: translateY(-200%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }

/* ============ EINZÄHLER ============ */
.countin {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: var(--bg);
  animation: countin-safety 0s linear 3.2s forwards;
}
.countin span {
  grid-area: 1 / 1;
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(9rem, 34vw, 24rem); line-height: 1;
  opacity: 0;
}
.countin span:last-child { color: var(--red); }
.no-loader .countin { display: none; }
@keyframes countin-safety { to { visibility: hidden; opacity: 0; } }

/* ============ HEADER ============ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hdr);
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 1.4rem;
  padding: 0 var(--pad);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hdr.static { position: sticky; }
.brand img { height: 22px; width: auto; transition: opacity 0.3s; }
.brand:hover img { opacity: 0.75; }

.cues { display: flex; gap: 0.35rem; justify-self: center; }
.cues a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 34px; padding: 0 0.75rem 0 0.3rem;
  border: 1px solid var(--line); border-radius: 3px;
  background: var(--bg-2);
  font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.cues a b {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 2px;
  background: color-mix(in srgb, var(--cue) 20%, transparent);
  color: var(--cue); font-weight: 600; font-size: 0.75rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.3s;
}
.cues a:hover, .cues a.is-active { color: var(--fg); border-color: color-mix(in srgb, var(--cue) 50%, transparent); }
.cues a:hover b, .cues a.is-active b {
  background: var(--cue); color: var(--bg);
  box-shadow: 0 0 14px color-mix(in srgb, var(--cue) 65%, transparent);
}

.bpm {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.1em; color: var(--muted);
  padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 3px;
  background: #070707;
}
.bpm span { color: var(--fg); font-weight: 600; font-size: 0.85rem; min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; }
.bpm small { font-size: 0.6rem; }
.bpm-dot {
  align-self: center;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); opacity: 0.25;
  transition: opacity 0.08s;
}
.bpm-dot.on { opacity: 1; box-shadow: 0 0 10px var(--red); }

.hdr-cta {
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 0.95rem;
  background: var(--red); color: var(--bg);
  font: 600 0.7rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(255, 58, 48, 0.3);
  transition: background 0.2s, box-shadow 0.3s;
}
.hdr-cta:hover { background: #ff5a51; box-shadow: 0 0 28px rgba(255, 58, 48, 0.5); }

/* ============ WELLENFORM ============ */
.wave {
  position: fixed; top: var(--hdr); left: 0; right: 0; z-index: 99;
  height: var(--wave);
  background: #070707;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  touch-action: none;
  overflow: hidden;
}
.wave-base, .wave-play { position: absolute; inset: 3px 0; }
.wave svg { display: block; width: 100%; height: 100%; }
.wave-base rect { fill: rgba(236, 232, 222, 0.2); }
.wave-play rect { fill: var(--fg); }
.wave-play { clip-path: inset(0 100% 0 0); }
.wave-head {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px;
  background: var(--red); box-shadow: 0 0 10px var(--red);
  will-change: transform;
}
.wave-cues i {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: var(--cue);
}
.wave-cues b {
  position: absolute; top: 0; left: 1px;
  padding: 0 3px; font: 600 9px/12px var(--f-mono);
  background: var(--cue); color: var(--bg);
}

/* ============ PADS (Buttons) ============ */
.pad {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  height: 3.1rem; padding: 0 1.2rem;
  font: 600 0.75rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg);
  background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s, translate 0.12s;
  white-space: nowrap;
}
.pad:hover { border-color: var(--fg); }
.pad:active { translate: 0 1px; }
.pad-red { background: var(--red); border-color: var(--red); color: var(--bg); box-shadow: 0 0 26px rgba(255, 58, 48, 0.32); }
.pad-red:hover { background: #ff5a51; border-color: #ff5a51; box-shadow: 0 0 34px rgba(255, 58, 48, 0.5); }
.pad-green { background: var(--spot); border-color: var(--spot); color: #04230f; }
.pad-green:hover { box-shadow: 0 0 28px rgba(30, 215, 96, 0.45); border-color: var(--spot); }
.pad-wa { background: var(--wa); border-color: var(--wa); color: #04230f; }
.pad-wa:hover { box-shadow: 0 0 28px rgba(37, 211, 102, 0.45); border-color: var(--wa); }
.pad-lg { height: 3.6rem; padding: 0 1.7rem; font-size: 0.82rem; }

/* ============ HERO — Magazin-Cover ============ */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 600px;
  padding: calc(var(--hdr) + var(--wave)) var(--pad) 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: 2;
  background: linear-gradient(to bottom, rgba(11, 11, 10, 0), var(--bg) 92%);
  pointer-events: none;
}
.beams { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.beams { filter: blur(26px); }
.beams i {
  position: absolute; top: calc(var(--hdr) - 4%);
  width: 26vw; height: 120%;
  transform-origin: 50% 0;
  clip-path: polygon(48.5% 0, 51.5% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
  animation: sweep 12s ease-in-out infinite alternate;
}
.beams i:nth-child(1) { left: 6%;  background: linear-gradient(to bottom, rgba(255, 58, 48, 0.42), rgba(255, 58, 48, 0.08) 45%, rgba(255, 58, 48, 0) 72%); }
.beams i:nth-child(2) { left: 37%; background: linear-gradient(to bottom, rgba(236, 232, 222, 0.22), rgba(236, 232, 222, 0.04) 45%, rgba(236, 232, 222, 0) 70%); animation-delay: -5s; animation-duration: 15s; }
.beams i:nth-child(3) { left: 68%; background: linear-gradient(to bottom, rgba(255, 58, 48, 0.38), rgba(255, 58, 48, 0.08) 45%, rgba(255, 58, 48, 0) 72%); animation-delay: -9s; }
@keyframes sweep { from { transform: rotate(-17deg); } to { transform: rotate(17deg); } }

.hero-meta {
  position: relative; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding-top: 1.1rem;
  font: 500 0.75rem/1.4 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.rec { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.rec i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 12px var(--red);
  animation: rec 1.6s ease-in-out infinite;
}
@keyframes rec { 50% { opacity: 0.25; } }
.hero-facts { color: var(--muted); text-align: right; }
.hero-facts b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-facts em { color: var(--red); font-style: normal; padding: 0 0.3em; }

.mast {
  position: absolute; left: 0; right: 0;
  top: calc(var(--hdr) + var(--wave) + 7svh);
  margin: 0;
  text-align: center;
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(6rem, 29vw, 30rem);
  line-height: 0.8; letter-spacing: -0.035em;
  text-transform: uppercase; white-space: nowrap;
  padding-top: 0.11em;
  user-select: none;
}
.mast span { display: inline-block; will-change: font-stretch, transform; }
.js .mast span { opacity: 0; }
.mast-fill { z-index: 1; color: var(--fg); }
.mast-line {
  z-index: 3; color: transparent;
  -webkit-text-stroke: 1.5px rgba(236, 232, 222, 0.92);
  pointer-events: none;
  /* Gesicht aussparen (Position setzt das Skript) */
  -webkit-mask-image: radial-gradient(circle at var(--hx, 50%) var(--hy, -50%), transparent 0 var(--hr, 0px), #000 calc(var(--hr, 0px) + 24px));
  mask-image: radial-gradient(circle at var(--hx, 50%) var(--hy, -50%), transparent 0 var(--hr, 0px), #000 calc(var(--hr, 0px) + 24px));
}
.hero-cut {
  position: absolute; bottom: 0; left: 50%; z-index: 2;
  height: min(78svh, 128vw); width: auto; max-width: none;
  transform: translateX(-50%);
  -webkit-mask-image: url(assets/photos/hero-cut-mask.png);
  mask-image: url(assets/photos/hero-cut-mask.png);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  pointer-events: none;
  will-change: transform;
}
.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 1.6rem; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem;
}
.hero-tag {
  font-family: var(--f-display); font-weight: 800; font-stretch: 75%;
  font-size: clamp(1.7rem, 3.3vw, 3.2rem); line-height: 0.94;
  text-transform: uppercase;
}
.hero-tag em { font-style: italic; font-weight: 300; color: rgba(236, 232, 222, 0.85); }
.hero-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-end; }

/* ============ LED-LAUFSCHRIFT ============ */
.led {
  position: relative; overflow: hidden; white-space: nowrap;
  background: #060606;
  border-block: 1px solid var(--line);
  padding: 0.5rem 0;
}
.led-track {
  display: inline-flex; align-items: center;
  font-family: var(--f-led); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.1;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--red);
  text-shadow: 0 0 8px rgba(255, 58, 48, 0.75), 0 0 24px rgba(255, 58, 48, 0.35);
  will-change: transform;
}
.led-track span { margin: 0 0.55em; flex-shrink: 0; }

/* ============ SEKTIONEN ============ */
.sec { position: relative; padding: 3.2rem 0 2.6rem; }
.sec-head {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: end; gap: 1rem;
  padding-bottom: 0.9rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.cue-tag {
  display: grid; place-items: center; align-self: center;
  width: 2.5rem; height: 2.5rem; border-radius: 3px;
  background: var(--cue); color: var(--bg);
  font: 600 1.05rem/1 var(--f-mono);
  box-shadow: 0 0 22px color-mix(in srgb, var(--cue) 45%, transparent);
}
.sec-head h2 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(2.8rem, 7.6vw, 7.2rem); line-height: 0.86;
  text-transform: uppercase; letter-spacing: -0.005em;
  padding-top: 0.08em;
}
.sec-meta {
  font: 500 0.7rem/1.3 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-align: right; padding-bottom: 0.45rem;
}
.word-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.16em 0 0.06em; margin-top: -0.16em; }
.word { display: inline-block; will-change: transform; }

/* ============ A — SETLIST ============ */
.setlist { list-style: none; }
.track {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) minmax(0, 25rem) 3rem;
  align-items: center; gap: 1.4rem;
  padding: 0.95rem 0.6rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: color 0.25s;
}
.track::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--cue);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--ease-out);
}
.track:hover::before, .track:focus-visible::before { transform: scaleY(1); }
.track:hover, .track:focus-visible { color: var(--bg); }
.t-no { font: 600 0.8rem/1 var(--f-mono); color: var(--cue); transition: color 0.25s; }
.track:hover .t-no { color: var(--bg); }
.t-title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 68%;
  font-size: clamp(2.6rem, 8vw, 8rem); line-height: 0.86;
  text-transform: uppercase; padding-top: 0.06em;
  transition: font-stretch 0.55s var(--ease-out);
}
.track:hover .t-title { font-stretch: 84%; }
.t-desc { font-size: 1rem; line-height: 1.45; color: var(--muted); transition: color 0.25s; }
.track:hover .t-desc { color: rgba(11, 11, 10, 0.8); }
.t-go { justify-self: end; font-size: 1.7rem; transition: transform 0.45s var(--ease-out); }
.track:hover .t-go { transform: rotate(45deg); }
.t-thumb { display: none; }
.t-float {
  position: fixed; left: 0; top: 0; z-index: 50;
  width: 270px; height: 350px;
  pointer-events: none;
  opacity: 0; scale: 0.85;
  transition: opacity 0.25s, scale 0.4s var(--ease-out);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border: 6px solid var(--cue-a);
  will-change: transform;
}
.t-float.is-on { opacity: 1; scale: 1; }
.t-float img { width: 100%; height: 100%; object-fit: cover; }

/* ============ CROSSFADER ============ */
.xfade { padding: 0.8rem 0 2.6rem; }
.xf-stage {
  --x: 0;
  position: relative; overflow: hidden;
  height: min(72svh, 760px);
  margin: 0 var(--pad);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.xf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xf-a { object-position: 50% 28%; transform: scale(calc(1.06 - 0.06 * (1 - var(--x)))); }
.xf-b { object-position: 50% 42%; opacity: var(--x); transform: scale(calc(1 + 0.06 * (1 - var(--x)))); }
.xf-stage::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(15deg, rgba(11, 11, 10, 0.88) 0%, rgba(11, 11, 10, 0.25) 45%, rgba(11, 11, 10, 0) 70%);
}
.xf-copy { position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 2; max-width: 44rem; }
.xf-kicker { display: block; font: 600 0.72rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }
.xf-title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(2.2rem, 5.6vw, 5.6rem); line-height: 0.88;
  text-transform: uppercase;
}
.xf-label {
  position: absolute; top: 1rem; z-index: 2;
  padding: 0.4rem 0.6rem;
  font: 600 0.7rem/1 var(--f-mono); letter-spacing: 0.1em;
  background: rgba(11, 11, 10, 0.75); border: 1px solid var(--line-2); border-radius: 2px;
}
.xf-la { left: 1rem; opacity: calc(0.35 + 0.65 * (1 - var(--x))); }
.xf-lb { right: 1rem; opacity: calc(0.35 + 0.65 * var(--x)); color: var(--red); }
.xf-ctrl {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem;
  max-width: 600px; margin: 1.1rem auto 0; padding: 0 var(--pad);
}
.xf-end { font: 600 0.85rem/1 var(--f-mono); color: var(--muted); }
.xf-hint { grid-column: 1 / -1; text-align: center; font: 500 0.66rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
#xf { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: ew-resize; }
#xf::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, transparent calc(50% - 1px), var(--muted) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), #050505;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
}
#xf::-moz-range-track {
  height: 6px; border-radius: 3px; background: #050505;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
}
#xf::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 42px; margin-top: -18px;
  border-radius: 3px; border: 1px solid #5c5a54;
  background:
    linear-gradient(90deg, transparent 45%, var(--fg) 45% 55%, transparent 55%) center / 100% 70% no-repeat,
    linear-gradient(#45433e, #1c1c1a);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
#xf::-moz-range-thumb {
  width: 28px; height: 42px; border-radius: 3px; border: 1px solid #5c5a54;
  background:
    linear-gradient(90deg, transparent 45%, var(--fg) 45% 55%, transparent 55%) center / 100% 70% no-repeat,
    linear-gradient(#45433e, #1c1c1a);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}
#xf:focus-visible { outline: none; }
#xf:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--red); outline-offset: 2px; }

/* ============ B — ÜBER ============ */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: start;
}
.about-fig { position: relative; }
.about-fig img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  filter: grayscale(1) contrast(1.06);
  transition: filter 0.7s;
}
.about-fig:hover img { filter: grayscale(0); }
.about-fig figcaption {
  margin-top: 0.6rem;
  font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.about-fig figcaption span { color: var(--cue); margin-right: 0.6rem; }
.lead {
  font-family: var(--f-display); font-weight: 700; font-stretch: 88%;
  font-size: clamp(1.5rem, 2.9vw, 2.7rem); line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.scrub-text .sw { opacity: 0.2; }
.body { font-size: 1rem; line-height: 1.65; color: var(--muted); max-width: 36em; margin-bottom: 1.6rem; }
.spec { border-top: 1px solid var(--line); }
.spec > div {
  display: flex; align-items: baseline; gap: 0.7rem;
  padding: 0.62rem 0; border-bottom: 1px solid var(--line);
}
.spec dt {
  flex: 1; display: flex; align-items: baseline; gap: 0.7rem;
  font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.spec dt::after { content: ''; flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-2px); }
.spec dd { font-family: var(--f-display); font-weight: 600; font-stretch: 90%; font-size: 1.02rem; text-align: right; }

/* ============ C — GALERIE: Filmstreifen ============ */
.gallery { padding-bottom: 3rem; }
.film {
  position: relative;
  background: #120f0b;
  border-block: 1px solid #2b2319;
  padding: 30px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.film::-webkit-scrollbar { display: none; }
.film.is-pinned { overflow: hidden; scroll-snap-type: none; }
.film-track {
  position: relative;
  display: flex; gap: 16px;
  width: max-content;
  padding: 0 var(--pad);
  will-change: transform;
}
.film-track::before, .film-track::after {
  content: ''; position: absolute; left: 0; right: 0; height: 12px;
  background: repeating-linear-gradient(90deg, rgba(234, 226, 208, 0.42) 0 11px, transparent 11px 25px);
  pointer-events: none;
}
.film-track::before { top: -22px; }
.film-track::after { bottom: -22px; }
.frame {
  position: relative; flex: 0 0 auto;
  height: clamp(300px, 54vh, 540px);
  padding: 0; background: #000;
  cursor: zoom-in;
  scroll-snap-align: center;
  overflow: hidden;
}
.frame img {
  height: 100%; width: auto; display: block;
  filter: sepia(0.18) saturate(0.88) contrast(1.06);
  transition: filter 0.5s, scale 0.8s var(--ease-out);
  pointer-events: none;
}
.frame:hover img { filter: none; scale: 1.035; }
.f-no {
  position: absolute; top: 0.55rem; left: 0.6rem; z-index: 2;
  font: 600 0.66rem/1 var(--f-mono); letter-spacing: 0.12em; color: #ff9b3d;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}
.f-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.6rem 0.7rem 0.6rem;
  font: 500 0.66rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  opacity: 0; translate: 0 6px;
  transition: opacity 0.35s, translate 0.45s var(--ease-out);
}
.frame:hover .f-cap { opacity: 1; translate: 0 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; border: none;
  background: rgba(6, 6, 6, 0.95); color: var(--fg);
  overflow: hidden;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lb-in 0.4s var(--ease-out); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
@keyframes lb-in { from { opacity: 0; } }
.lb-figure { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 4.5rem 4.5rem 4rem; touch-action: pan-y; }
.lb-figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 6px solid var(--fg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lb-btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 3px;
  display: grid; place-items: center;
  font: 600 1rem/1 var(--f-mono);
  background: var(--bg-2); border: 1px solid var(--line-2);
  transition: background 0.2s, color 0.2s;
}
.lb-btn:hover { background: var(--red); color: var(--bg); border-color: var(--red); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; margin-top: -24px; }
.lb-next { right: 1.2rem; top: 50%; margin-top: -24px; }
.lb-count { position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%); font: 500 0.75rem/1 var(--f-mono); letter-spacing: 0.15em; color: var(--muted); }

/* ============ D — MUSIK: Decks ============ */
.decks { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.deck { background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 0.7rem; }
.deck-top {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.15rem 0.2rem 0.7rem;
  font: 500 0.66rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.deck-id { color: var(--cue); font-weight: 600; }
.spotify-embed { position: relative; min-height: 352px; background: #0d0d0c; border-radius: 3px; overflow: hidden; }
.spotify-embed iframe { display: block; border: 0; }
.track-embed { min-height: 152px; }
.sp-facade {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 0.9rem;
  padding: 1.2rem;
}
.sp-wave { position: absolute; left: 1.2rem; right: 1.2rem; top: 1.3rem; height: 42%; opacity: 0.9; }
.sp-wave svg, .tf-wave svg { display: block; width: 100%; height: 100%; }
.sp-wave rect { fill: rgba(30, 215, 96, 0.55); }
.sp-info { display: flex; flex-direction: column; gap: 0.35rem; }
.sp-title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: 0.82; letter-spacing: -0.03em;
  text-transform: uppercase; padding-top: 0.1em;
}
.sp-sub { font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sp-note { font: 400 0.62rem/1.4 var(--f-mono); color: var(--muted); }
.sp-note a { text-decoration: underline; text-underline-offset: 2px; }
.track-facade {
  width: 100%; height: 152px;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto 1fr;
  align-items: center; gap: 0.7rem 1rem;
  padding: 1rem; text-align: left;
  background: #0d0d0c;
}
.tf-play {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 3px;
  background: var(--spot); color: #04230f; font-size: 1.3rem;
  transition: box-shadow 0.3s;
}
.track-facade:hover .tf-play { box-shadow: 0 0 28px rgba(30, 215, 96, 0.5); }
.tf-meta { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.tf-meta strong { font-family: var(--f-display); font-weight: 800; font-stretch: 85%; font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.tf-meta span { font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tf-wave { grid-column: 1 / -1; align-self: stretch; height: 100%; min-height: 30px; }
.tf-wave rect { fill: rgba(236, 232, 222, 0.32); }
.track-facade:hover .tf-wave rect { fill: rgba(30, 215, 96, 0.7); }

.biglinks { list-style: none; margin-top: 1rem; border-top: 1px solid var(--line); }
.biglinks a {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem;
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s;
}
.biglinks a::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--cue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.biglinks a:hover::before { transform: scaleX(1); }
.biglinks a:hover { color: var(--bg); }
.bl-name {
  font-family: var(--f-display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 0.9; text-transform: uppercase;
  padding-top: 0.06em;
  transition: font-stretch 0.5s var(--ease-out);
}
.biglinks a:hover .bl-name { font-stretch: 92%; }
.bl-handle { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.08em; color: var(--muted); transition: color 0.25s; }
.biglinks a:hover .bl-handle { color: rgba(11, 11, 10, 0.75); }
.bl-go { font-size: 1.4rem; }

/* ============ E — FAQ ============ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem; align-items: start; }
.faq-intro p { color: var(--muted); line-height: 1.6; max-width: 24em; margin-bottom: 1.2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 2.8rem minmax(0, 1fr) auto; align-items: baseline; gap: 0.8rem;
  padding: 1.05rem 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.q-no { font: 600 0.75rem/1 var(--f-mono); color: var(--cue); }
.q-text {
  font-family: var(--f-display); font-weight: 700; font-stretch: 90%;
  font-size: clamp(1.15rem, 1.9vw, 1.65rem); line-height: 1.15;
  transition: color 0.2s;
}
.faq-list summary:hover .q-text { color: var(--cue); }
.q-tog::before { content: '[+]'; font: 500 0.85rem/1 var(--f-mono); color: var(--muted); }
.faq-list details[open] .q-tog::before { content: '[–]'; color: var(--cue); }
.faq-a p { padding: 0 2rem 1.25rem 3.6rem; color: rgba(236, 232, 222, 0.75); line-height: 1.65; max-width: 48em; }
.faq-list details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete;
}
.faq-list details[open]::details-content { block-size: auto; }

/* ============ F — BOOKING ============ */
.quick { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 0.7rem; margin-bottom: 1.8rem; }
.quick a {
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: 0.95rem 1.05rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.quick a:hover { border-color: var(--line-2); background: var(--bg-3); }
.q-label { font: 500 0.64rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.quick strong { font-family: var(--f-display); font-weight: 700; font-stretch: 90%; font-size: 1.15rem; }
.quick-wa { background: rgba(37, 211, 102, 0.1) !important; border-color: rgba(37, 211, 102, 0.42) !important; }
.quick-wa .q-label { color: var(--wa); }
.quick-wa:hover { background: rgba(37, 211, 102, 0.18) !important; }

.book { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.bform { display: flex; flex-direction: column; gap: 1.15rem; }
.bform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field > span { font: 500 0.66rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.field:focus-within > span { color: var(--cue); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.5rem 0 0.6rem;
  font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; line-height: 1.3;
  border-bottom: 1px solid var(--line-2); border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; padding: 0.7rem 0.8rem; border: 1px solid var(--line-2); border-radius: 2px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cue); box-shadow: 0 1px 0 var(--cue); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 12px) 55% / 6px 6px no-repeat,
              linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 6px) 55% / 6px 6px no-repeat;
}
.field select option { background: var(--bg); color: var(--fg); }
.field input[type="number"]::-webkit-inner-spin-button, .field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.6; cursor: pointer; }

.cf-check { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.cf-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg-2);
  position: relative; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cf-check input[type="checkbox"]:checked { background: var(--cue); border-color: var(--cue); }
.cf-check input[type="checkbox"]:checked::after {
  content: '✓'; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--bg); font-size: 12px; font-weight: 700;
}
.cf-check a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.bform .pad { align-self: flex-start; margin-top: 0.3rem; }
.bform .pad.is-sending { opacity: 0.6; pointer-events: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-state {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem;
  padding: 2rem 1.6rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px;
}
.form-state h3 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 75%;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 0.9; text-transform: uppercase;
}
.form-state p { color: rgba(236, 232, 222, 0.8); max-width: 30em; }
.form-state strong { color: var(--fg); }
.fs-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 3px;
  font: 700 1.4rem/1 var(--f-mono);
  background: var(--wa); color: #04230f;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.fs-warn { background: #ffb020; color: #2a1a00; }
@keyframes pop { from { transform: scale(0); } }
.fs-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.fs-retry { font: 500 0.75rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.fs-retry:hover { color: var(--fg); }

/* Ticket */
.ticket {
  position: sticky; top: calc(var(--hdr) + var(--wave) + 1.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) 7.2rem;
  background: var(--fg); color: var(--bg);
  border-radius: 6px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5));
  rotate: -1.6deg;
  transition: rotate 0.6s var(--ease-out);
}
.ticket:hover { rotate: 0deg; }
.ticket::before, .ticket::after {
  content: ''; position: absolute; right: calc(7.2rem - 10px);
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg);
}
.ticket::before { top: -10px; }
.ticket::after { bottom: -10px; }
.tk-main { padding: 1.15rem 1.3rem 1.3rem; min-width: 0; }
.tk-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 0.75rem; margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg);
}
.tk-head img { height: 18px; width: auto; filter: invert(1); }
.tk-head span { font: 600 0.62rem/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.tk-rows > div {
  display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); align-items: baseline; gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(11, 11, 10, 0.22);
}
.tk-rows dt { font: 500 0.6rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(11, 11, 10, 0.55); }
.tk-rows dd {
  font-family: var(--f-display); font-weight: 800; font-stretch: 80%;
  font-size: 1.18rem; line-height: 1.1; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tk-rows dd.flash { animation: flash 0.5s ease-out; }
@keyframes flash { from { background: rgba(255, 58, 48, 0.35); } }
.tk-stub {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 1.15rem 0.6rem;
  border-left: 2px dashed rgba(11, 11, 10, 0.3);
  background: #e0dbcf;
  border-radius: 0 6px 6px 0;
}
.tk-admit {
  font-family: var(--f-display); font-weight: 900; font-stretch: 68%;
  font-size: 1.7rem; line-height: 0.84; text-transform: uppercase; text-align: center;
}
.tk-no { font: 600 0.66rem/1 var(--f-mono); letter-spacing: 0.08em; }
.tk-bar { display: flex; align-items: stretch; gap: 1px; width: 100%; height: 64px; }
.tk-bar i { display: block; background: var(--bg); }
.tk-stamp {
  position: absolute; left: 34%; top: 38%;
  padding: 0.35rem 0.8rem;
  font: 700 1.15rem/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); border: 3px solid var(--red); border-radius: 4px;
  rotate: -14deg; scale: 2.4; opacity: 0;
  pointer-events: none;
  transition: scale 0.35s cubic-bezier(0.2, 1.6, 0.4, 1), opacity 0.2s;
}
.ticket.is-stamped .tk-stamp { scale: 1; opacity: 0.92; }

/* ============ FOOTER ============ */
.ftr { border-top: 1px solid var(--line); padding: 2.4rem 0 1.6rem; overflow: hidden; }
.ftr-mail {
  display: block;
  font-family: var(--f-display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(2.2rem, 11.2vw, 11.5rem); line-height: 0.88;
  letter-spacing: -0.01em; white-space: nowrap;
  padding-top: 0.06em; margin-bottom: 1.6rem;
  transition: color 0.3s;
}
.ftr-mail:hover { color: var(--red); }
.ftr-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding-bottom: 1.2rem; }
.ftr-brand img { height: 22px; width: auto; }
.ftr-links, .ftr-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.ftr-links { justify-content: center; }
.ftr-links a, .ftr-legal a { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.ftr-links a:hover, .ftr-legal a:hover { color: var(--fg); }
.ftr-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
  font: 500 0.66rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.to-top:hover { color: var(--red); }

/* ============ WHATSAPP (Desktop) ============ */
.wa-pad {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: inline-flex; align-items: center; gap: 0.55rem;
  height: 48px; padding: 0 1rem;
  background: var(--wa); color: #04230f;
  font: 600 0.72rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  opacity: 0; pointer-events: none; translate: 0 140%;
  transition: translate 0.5s var(--ease-out), opacity 0.3s, box-shadow 0.3s;
}
.wa-pad.is-visible { opacity: 1; pointer-events: auto; translate: 0 0; }
.wa-pad:hover { box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5); }

/* ============ MOBILE DECK-LEISTE ============ */
.deckbar { display: none; }

/* ============ UNTERSEITEN (Impressum, Datenschutz, Danke, 404) ============ */
.page-legal .hdr { grid-template-columns: auto 1fr auto; }
.legal { padding: 3rem 0 4.5rem; }
.legal .wrap { max-width: 900px; }
.back-link {
  display: inline-block; margin-bottom: 2rem;
  font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: color 0.2s;
}
.back-link:hover { color: var(--red); }
.legal-title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.86; text-transform: uppercase;
  padding-top: 0.06em; margin-bottom: 1.2rem;
}
.legal-intro { color: var(--muted); line-height: 1.6; padding-bottom: 1.8rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.legal-block { margin-bottom: 2.2rem; }
.legal-block h2 {
  font-family: var(--f-display); font-weight: 800; font-stretch: 85%;
  font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.01em;
  margin-bottom: 0.8rem;
}
.legal-block p, .legal-block li { font-size: 0.98rem; line-height: 1.75; color: rgba(236, 232, 222, 0.85); }
.legal-block p { margin-bottom: 0.8rem; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul { list-style: none; margin-bottom: 0.8rem; }
.legal-block li { padding-left: 1.4rem; position: relative; }
.legal-block li::before { content: '—'; position: absolute; left: 0; color: var(--red); }
.legal-block a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal-block strong { color: var(--fg); font-weight: 600; }

.thanks { min-height: 74vh; display: flex; align-items: center; padding: 4rem 0; }
.thanks-inner { max-width: 760px; }
.thanks-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 3px;
  background: var(--wa); color: #04230f; font: 700 1.7rem/1 var(--f-mono);
  margin-bottom: 1.6rem;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.thanks-title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(3rem, 9vw, 7rem); line-height: 0.86; text-transform: uppercase;
  padding-top: 0.06em; margin-bottom: 1.2rem;
}
.big-404 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(7rem, 24vw, 16rem); line-height: 0.8; color: var(--red);
  margin-bottom: 0.6rem;
}
.thanks-sub { font-size: 1.1rem; line-height: 1.6; color: rgba(236, 232, 222, 0.85); max-width: 32em; margin-bottom: 0.6rem; }
.thanks-sub strong { color: var(--fg); }
.thanks-note { color: var(--muted); max-width: 32em; margin-bottom: 1.8rem; }
.thanks-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.thanks-contact {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
  font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.08em; color: var(--muted);
}
.thanks-contact a:hover { color: var(--red); }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.4s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .track { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 18rem) 2.4rem; }
  .cues a { padding: 0 0.55rem 0 0.3rem; }
}
@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; }
  .about-fig { max-width: 520px; }
  .decks { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .book { grid-template-columns: 1fr; }
  .ticket { position: relative; top: auto; max-width: 520px; order: -1; }
}
@media (max-width: 900px) {
  :root { --hdr: 52px; --wave: 16px; }
  .cues, .hdr-cta { display: none; }
  .hdr { grid-template-columns: auto 1fr auto; }
  .bpm { justify-self: end; grid-column: 3; }
  .page-legal .hdr-cta { display: inline-flex; grid-column: 3; }
  body:not(.page-legal) { padding-bottom: calc(var(--deck) + var(--wave) + env(safe-area-inset-bottom)); }
  .wave {
    top: auto; bottom: calc(var(--deck) + env(safe-area-inset-bottom));
    border-bottom: none; border-top: 1px solid var(--line);
  }
  .wave-cues b { font-size: 8px; line-height: 10px; padding: 0 2px; }
  .hero {
    padding-top: var(--hdr);
    height: calc(100svh - var(--deck) - var(--wave) - env(safe-area-inset-bottom));
    min-height: 560px;
  }
  .mast { top: calc(var(--hdr) + 8svh); font-size: 29.5vw; }
  .hero-cut { height: min(60svh, 112vw); bottom: 0; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 0.9rem; bottom: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.5rem; }
  .hero-actions .pad { padding: 0 0.7rem; font-size: 0.68rem; }
  .hero-meta { font-size: 0.66rem; }
  .wa-pad { display: none; }

  .deckbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
    height: calc(var(--deck) + env(safe-area-inset-bottom));
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: var(--bg);
  }
  .deckbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border-radius: 3px; border: 1px solid var(--line);
    background: var(--bg-2);
    font: 500 8.5px/1 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
    min-width: 0; overflow: hidden;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .deckbar a b { font: 600 14px/1 var(--f-mono); color: var(--cue); }
  .deckbar a.is-active { background: var(--cue); border-color: var(--cue); color: var(--bg); }
  .deckbar a.is-active b { color: var(--bg); }
  .deckbar .db-wa { background: var(--wa); border-color: var(--wa); color: #04230f; }
}
@media (max-width: 700px) {
  .sec { padding: 2.6rem 0 2.2rem; }
  .sec-head { grid-template-columns: auto 1fr; }
  .sec-meta { grid-column: 1 / -1; text-align: left; padding: 0; }
  .track { grid-template-columns: 2.4rem minmax(0, 1fr) 1.8rem; gap: 0.3rem 0.8rem; padding: 0.9rem 0.2rem 1.1rem; }
  .t-thumb {
    display: block; grid-column: 1 / -1; order: -1;
    width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 35%;
    margin-bottom: 0.7rem;
    filter: grayscale(0.3);
  }
  .t-no { grid-row: 2; grid-column: 1; }
  .t-title { grid-row: 2; grid-column: 2; font-size: 16vw; }
  .t-go { grid-row: 2; grid-column: 3; }
  .t-desc { grid-row: 3; grid-column: 2 / -1; font-size: 0.92rem; }
  .t-float { display: none; }
  .xf-stage { height: 64svh; }
  .xf-copy { left: 1rem; bottom: 1rem; right: 1rem; }
  .frame { height: min(50svh, 430px); }
  .f-cap { opacity: 1; translate: 0 0; }
  .quick { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .quick-wa { grid-column: 1 / -1; }
  .quick a { padding: 0.75rem 0.8rem; min-width: 0; }
  .quick strong { font-size: 0.95rem; overflow-wrap: anywhere; }
  .ticket { rotate: -1deg; }
  .tk-main { padding: 0.9rem 1rem 1rem; }
  .tk-rows > div { padding: 0.32rem 0; }
  .bform .row { grid-template-columns: 1fr; }
  .faq-a p { padding: 0 0 1.2rem 3.6rem; }
  .ftr-row { grid-template-columns: 1fr; justify-items: start; gap: 1rem; }
  .ftr-links { justify-content: flex-start; }
  .ftr-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .lb-figure { padding: 4rem 0.8rem 4.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; margin-top: 0; }
  .lb-count { bottom: 2.1rem; }
  .tk-rows dd { font-size: 1.05rem; }
}
@media (hover: none) {
  .beams i { animation-duration: 18s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .countin { display: none; }
}

/* Nur für Screenreader & Suchmaschinen sichtbar */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
