/* ==========================================================================
   TIEFTONTHERAPIE
   Mobile-first. Breakpoints: 720px (tablet), 1024px (desktop)
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2-variations"),
       url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-var.woff2") format("woff2-variations"),
       url("../assets/fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #19191c;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.22);
  --text: #f3f2ee;
  --muted: #9b9994;
  --dim: #5c5b57;
  --accent: #ff4a1c;
  --accent-ink: #0a0a0b;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 16px;
  --maxw: 1240px;
  --header-h: 60px;
  --beat: calc(60s / 174);          /* one beat @ 174 BPM */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 720px)  { :root { --gutter: 32px; --header-h: 72px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

/* film grain — kept below the player (40), menu (45) and header (50). iOS 26
   Safari hit-tests the viewport edges (ignoring pointer-events) to find a fixed
   bar whose color it extends behind its floating toolbars; a full-screen overlay
   on top would be hit instead and the page would show through there. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 39;
  pointer-events: none;
  opacity: .07;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Seitenwechsel ohne Neuladen (js/app.js) */
#main:focus { outline: none; }
html.is-navigating #main { opacity: .5; transition: opacity .2s .15s; }
html.is-navigating { cursor: progress; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { top: 12px; }

.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); vertical-align: middle; margin: 0 .5em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px;
  padding: .85rem 1.3rem;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--text); }
.btn--ghost, .btn--line { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover, .btn--line:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.btn--dark { background: var(--accent-ink); color: var(--text); }
.btn--dark:hover { background: var(--text); color: var(--accent-ink); }
.cta .btn--line { border-color: rgba(10,10,11,.4); color: var(--accent-ink); }
.cta .btn--line:hover { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.arrow { font-family: var(--font); font-size: 1.1em; line-height: 1; }

.link {
  display: inline-flex; gap: .4em; align-items: center;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link:hover { color: var(--accent); border-color: var(--accent); }

.eyebrow, .section__num {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
/* iOS 26 Safari fills the area behind its floating toolbars with the background
   color of a fixed bar at the viewport edge — but not if the bar (or an ancestor)
   has a backdrop-filter. So the color stays on the bar (>= .75 alpha counts as
   solid) and the blur lives on a ::before layer behind its content. */
.header::before, .player::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.header::before { opacity: 0; transition: opacity .3s; }
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled, body.is-locked .header {
  background: rgba(10, 10, 11, .78);
  border-bottom-color: var(--line);
}
body.is-locked .header { background: var(--bg); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header__logo img { height: 15px; width: auto; }
@media (min-width: 720px) { .header__logo img { height: 18px; } }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 2.2rem; }
  .nav a {
    position: relative;
    font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); transition: color .2s; padding: .5rem 0;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav a:hover, .nav a.is-current { color: var(--text); }
  .nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
  .burger { display: none !important; }
}

.burger {
  position: relative; width: 44px; height: 44px; margin-right: -10px;
  display: grid; place-items: center;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text);
  transition: transform .35s var(--ease);
}
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child  { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  padding: calc(var(--header-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2.4rem, 12vw, 4rem);
  font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1;
  letter-spacing: -.01em;
  transform: translateY(12px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s;
}
.menu__nav a span { font-family: var(--mono); font-size: .75rem; font-weight: 500; color: var(--accent); letter-spacing: .1em; }
.menu__nav a:hover { color: var(--accent); }
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .12s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.menu__foot a { padding: .4rem 0; }
@media (min-width: 900px) { .menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 1.5rem) 0 4.5rem;
  display: flex; align-items: center;
  isolation: isolate;
  overflow: hidden;
  --cx: 50%; --cy: 28%;
}
.hero::before, .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
/* speaker-cone rings */
.hero::before {
  background: repeating-radial-gradient(circle at var(--cx) var(--cy), transparent 0 38px, rgba(255,255,255,.045) 38px 39px);
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 0, transparent 62%);
          mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 0, transparent 62%);
}
/* low glow */
.hero::after {
  background: radial-gradient(circle at var(--cx) var(--cy), rgba(255, 74, 28, .16), transparent 42%);
}

.hero__inner {
  display: grid;
  gap: 2rem;
  justify-items: center;
}

.hero__mark {
  position: relative;
  width: min(72vw, 360px);
  aspect-ratio: 1;
}
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
.hero__emblem { position: absolute; inset: 18.43%; width: 63.14%; height: 63.14%; }

.pulse { position: absolute; inset: 18.43%; }
.pulse span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: pulse calc(var(--beat) * 8) var(--ease) infinite;
}
.pulse span:nth-child(2) { animation-delay: calc(var(--beat) * 2); }
.pulse span:nth-child(3) { animation-delay: calc(var(--beat) * 4); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%   { transform: scale(.85); opacity: 0; }
  10%  { opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}

.hero__copy { width: 100%; max-width: 640px; text-align: left; }
.hero__copy .eyebrow { margin-bottom: 1rem; }
.hero__title {
  font-size: clamp(2.6rem, 12.5vw, 6.6rem);
  font-weight: 800;
  font-stretch: 68%;
  line-height: .9;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__title .amp { font-weight: 300; font-stretch: 100%; color: var(--muted); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll svg { width: 10px; height: 18px; animation: nudge calc(var(--beat) * 4) ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

@media (min-width: 720px) {
  .hero__mark { width: min(56vw, 420px); }
}
@media (min-width: 1024px) {
  .hero { --cx: 76%; --cy: 52%; padding-bottom: 5rem; }
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-areas: "copy mark";
    align-items: center;
    gap: 3rem;
  }
  .hero__copy { grid-area: copy; max-width: none; }
  .hero__mark { grid-area: mark; width: min(38vw, 520px); justify-self: end; }
  .hero__title { font-size: clamp(4.5rem, 7.4vw, 7.6rem); }
  .session { max-width: 600px; }
  .hero__scroll { display: flex; }
}

/* ---------- Session card (hero) ---------- */
.session {
  margin-top: 1.75rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 1.25rem;
  display: grid;
  gap: .9rem;
}
.session:empty { display: none; }
.session__label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 74, 28, .6);
  animation: live calc(var(--beat) * 4) ease-out infinite;
}
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255,74,28,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255,74,28,0); } }
.session__when { font-family: var(--mono); font-size: .85rem; color: var(--accent); letter-spacing: .04em; }
.session__title { font-size: 1.6rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1; letter-spacing: -.005em; }
.session__text { color: var(--muted); font-size: .95rem; max-width: 52ch; }
.session__artists { font-size: 1.05rem; font-weight: 600; }
.session__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
.session__actions .btn { flex: 1 1 auto; }
.session__last {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding-top: .9rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
  transition: color .2s;
}
.session__last b { color: var(--text); font-weight: 600; }
.session__last:hover { color: var(--text); }
.session__last:hover .arrow { color: var(--accent); }
@media (min-width: 720px) {
  .session { padding: 1.5rem; }
  .session__actions .btn { flex: 0 0 auto; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--bg);
}
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); padding-right: clamp(1rem, 3vw, 2rem);
  font-size: clamp(1.6rem, 6vw, 3.2rem);
  font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--muted); }
.marquee__item img { width: .55em; height: .55em; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }

.section__head { margin-bottom: 2.5rem; max-width: 760px; }
.section__head--row { max-width: none; display: grid; gap: 1.5rem; align-items: end; }
.section__head--row .btn { justify-self: start; }
@media (min-width: 720px) {
  .section__head--row { grid-template-columns: 1fr auto; }
  .section__head--row > div { max-width: 640px; }
}
.section__num { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.section__num::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.section__title {
  font-size: clamp(2.6rem, 11vw, 5.5rem);
  font-weight: 800; font-stretch: 68%; line-height: .92; text-transform: uppercase; letter-spacing: -.015em;
  text-wrap: balance;
}
.section__lead { margin-top: 1.1rem; color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.section__lead strong { color: var(--text); font-weight: 600; }

/* ---------- Feature (current / next event) ---------- */
.feature { display: grid; gap: 1.25rem; margin-bottom: 4rem; }
.feature:empty { display: none; }
.fcard {
  position: relative;
  display: grid;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  overflow: hidden;
}
.fcard::before {
  content: ""; position: absolute; right: -18%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 22px, rgba(255,255,255,.04) 22px 23px);
  pointer-events: none;
}
.fcard__date {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .25rem 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.fcard__day {
  grid-row: span 2;
  font-size: clamp(4rem, 22vw, 7.5rem); font-weight: 800; font-stretch: 62%; line-height: .8; letter-spacing: -.02em;
}
.fcard__meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.fcard__badge {
  justify-self: start; align-self: start;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .55rem; border: 1px solid var(--line-2); color: var(--muted);
}
.fcard__badge.is-next { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Artwork-Emblem: großer, grauer, blasser Ausschnitt oben rechts hinter dem Text; die Ringe kreisen um ihn.
   --em = Durchmesser, --em-c = Abstand der Mitte von oberer/rechter Kante */
.fcard--art { --em: 22rem; --em-c: 5rem; }
.fcard--art::before {
  width: 72rem; right: calc(var(--em-c) - 36rem); top: calc(var(--em-c) - 36rem);
}
.fcard__emblem {
  position: absolute;
  top: calc(var(--em-c) - var(--em) / 2); right: calc(var(--em-c) - var(--em) / 2);
  width: var(--em); aspect-ratio: 1;
  overflow: hidden; pointer-events: none;
  /* grau und blass, damit Text darüber gut lesbar bleibt */
  opacity: .16; filter: grayscale(1);
  /* weicher Rand: läuft in den grauen Kartenhintergrund aus */
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0,0,0,.65) 35%, rgba(0,0,0,.25) 65%, rgba(0,0,0,.07) 85%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0,0,0,.65) 35%, rgba(0,0,0,.25) 65%, rgba(0,0,0,.07) 85%, transparent 100%);
}
.fcard__emblem img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--focus, 50% 41%);
  transform: scale(var(--zoom, 1.45)); transform-origin: var(--focus, 50% 41%);
}

.fcard__body { position: relative; padding: 1.25rem; display: grid; gap: 1.25rem; align-content: start; }
.fcard__title { font-size: clamp(1.9rem, 8vw, 3rem); font-weight: 800; font-stretch: 72%; text-transform: uppercase; line-height: .95; }
.fcard__note { color: var(--muted); }

.floors { display: grid; gap: 1rem; }
.floor__name { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.floor__genre { color: var(--muted); }
.floor__genre::before { content: "·"; margin: 0 .6em; }
.floor__artists { display: flex; flex-wrap: wrap; gap: .1rem .9rem; font-size: 1.35rem; font-weight: 700; font-stretch: 85%; line-height: 1.2; }
.floor__artists .is-support { color: var(--muted); font-weight: 500; }
.floor__artists .lbl { font-size: .62em; font-weight: 400; color: var(--muted); font-family: var(--mono); letter-spacing: 0; margin-left: .3em; }

.fcard__info {
  display: grid; gap: .25rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--muted);
}
.fcard__info b { color: var(--text); font-weight: 600; }
.fcard__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.fcard__actions .btn { flex: 1 1 auto; }

@media (min-width: 720px) {
  .fcard { grid-template-columns: 240px 1fr; }
  .fcard__date {
    grid-template-columns: 1fr; align-content: space-between; align-items: start;
    border-bottom: 0; border-right: 1px solid var(--line);
    padding: 1.75rem;
  }
  .fcard__day { grid-row: auto; font-size: 6.5rem; }
  .fcard__body { padding: 1.75rem 2rem 2rem; }
  .fcard--art { --em: 34rem; --em-c: 8.5rem; }
  .fcard__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .fcard { grid-template-columns: 300px 1fr; }
  .fcard__day { font-size: 8rem; }
  .fcard--art { --em: 42rem; --em-c: 10.5rem; }
  .floors { grid-template-columns: 1.6fr 1fr; gap: 2rem; }
  .floors--single { grid-template-columns: 1fr; }
  .floor__artists { font-size: 1.6rem; }
}

/* ---------- Archive ---------- */
.archive__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.archive__title { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.year { border-top: 1px solid var(--line-2); }
.year[hidden] { display: none; }
.year__label {
  font-size: 2.6rem; font-weight: 800; font-stretch: 62%; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--dim);
  padding: 1rem 0 .25rem;
}
.row {
  display: grid;
  grid-template-columns: 3.6rem 1fr auto;
  gap: .25rem 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s, padding .3s var(--ease);
}
.row[hidden] { display: none; }
.row:last-child { border-bottom: 0; }
.row__date { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.row__main { min-width: 0; }
.row__title { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }
.row__artists { display: block; font-size: 1.15rem; font-weight: 700; font-stretch: 85%; line-height: 1.25; overflow-wrap: anywhere; }
.row__artists .lbl { font-size: .7em; font-weight: 400; color: var(--muted); font-family: var(--mono); margin-left: .25em; }
.sep { font-style: normal; color: var(--dim); font-weight: 400; margin: 0 .35em; }
.row__sub { display: block; margin-top: .25rem; font-size: .85rem; color: var(--muted); }
.row__venue { display: none; }
.row__arrow { color: var(--dim); transition: color .2s, transform .3s var(--ease); font-size: 1.1rem; }
.row:hover .row__arrow { color: var(--accent); transform: translate(2px, -2px); }
.row:hover .row__artists { color: var(--text); }
.archive__more { margin-top: 2rem; width: 100%; }
.archive__more[hidden] { display: none; }

@media (min-width: 720px) {
  .year { display: grid; grid-template-columns: 9rem 1fr; }
  .year__label { font-size: 4rem; padding: 1.25rem 0; position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; }
  .row { grid-template-columns: 4.5rem 1fr 9rem 1.5rem; padding: 1.25rem .5rem; }
  .row:hover { background: var(--bg-2); }
  .row__venue { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .row__sub .v { display: none; }
  .row__sub[data-empty] { display: none; }
  .row__artists { font-size: 1.35rem; }
  .archive__more { width: auto; }
}

/* ---------- Sets rail ---------- */
.rail {
  --pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 280px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: .25rem var(--pad) 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--dim) transparent;
  overscroll-behavior-x: contain;
}
.rail:focus-visible { outline-offset: -2px; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--dim); }
.ep {
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  min-height: 300px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color .25s, transform .35s var(--ease);
}
.ep:hover { border-color: var(--accent); transform: translateY(-4px); }
.ep__top { display: flex; justify-content: space-between; align-items: start; }
.ep__date { font-size: 4.5rem; font-weight: 800; font-stretch: 62%; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color .25s, -webkit-text-stroke-color .25s; }
.ep:hover .ep__date { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.ep__play {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-2);
  transition: background-color .25s, border-color .25s;
}
.ep__play svg { width: 12px; height: 12px; margin-left: 2px; fill: currentColor; }
.ep:hover .ep__play { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ep__wave { display: flex; align-items: center; gap: 2px; height: 48px; }
.ep__wave i { flex: 1; background: var(--dim); border-radius: 1px; transition: background-color .25s; }
.ep:hover .ep__wave i { background: var(--text); }
.ep__kind { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.ep__info { padding: .5rem; margin: -.5rem; transition: color .2s; }
.ep__info:hover { color: var(--accent); }

/* playable cards */
.ep--audio { cursor: pointer; }
.ep__play { position: relative; color: inherit; }
.i-pause { display: none; }
.is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }
.ep__play .i-pause { margin-left: 0; }
.ep.is-active { border-color: var(--accent); }
.ep.is-active .ep__date { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.ep.is-active .ep__play { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ep.is-active .ep__wave i { background: var(--line-2); }
.ep .ep__wave i.is-on { background: var(--accent); }

/* loading ring (card button + player toggle) */
.ep.is-loading .ep__play::before,
.player.is-loading .player__toggle::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid transparent; border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}

/* ---------- Player bar ---------- */
.player {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  background: rgba(10, 10, 11, .9); /* blur via ::before, see .header */
  border-top: 1px solid var(--line-2);
  padding-bottom: env(safe-area-inset-bottom);
  animation: player-in .4s var(--ease);
}
.player[hidden] { display: none; }
@keyframes player-in { from { transform: translateY(100%); } }
.player__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "toggle meta close" "seek seek seek";
  gap: .35rem .9rem; align-items: center;
  padding-block: .75rem .5rem;
}
.player__toggle {
  grid-area: toggle; position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  transition: background-color .2s;
}
.player__toggle:hover { background: var(--text); }
.player__toggle svg { width: 12px; height: 12px; fill: currentColor; }
.player__toggle .i-play { margin-left: 2px; }
.player__meta { grid-area: meta; min-width: 0; }
.player__series { font-family: var(--mono); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.player__name { font-weight: 700; font-stretch: 85%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player.is-error .player__name { color: var(--muted); font-weight: 500; }
.player__link { transition: color .2s; }
@media (hover: hover) { .player__link:hover { color: var(--accent); } }
.player__seek {
  grid-area: seek; display: flex; align-items: center; gap: .75rem;
  font-family: var(--mono); font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.player__skip { display: none; }
.player__close {
  grid-area: close; width: 44px; height: 44px; margin-right: -10px;
  display: grid; place-items: center; color: var(--muted); transition: color .2s;
}
.player__close:hover { color: var(--text); }
.player__close svg { width: 12px; height: 12px; }

/* waveform seek: two identical bar layers, the top one clipped to the played part */
.player__wave { --fill: 0%; position: relative; flex: 1; min-width: 0; height: 32px; }
.player__bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; pointer-events: none; }
.player__bars i { flex: 1; min-width: 1px; background: var(--line-2); border-radius: 1px; }
.player__bars--played { clip-path: inset(0 calc(100% - var(--fill)) 0 0); }
.player__bars--played i { background: var(--accent); }

/* the range input sits on top: transparent track, thin playhead as thumb */
.player__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.player__range:disabled { cursor: default; }
.player__range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.player__range::-moz-range-track { height: 100%; background: transparent; }
.player__range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 32px; border-radius: 0; background: var(--text); }
.player__range::-moz-range-thumb { width: 2px; height: 32px; border: 0; border-radius: 0; background: var(--text); }
.player__range:disabled::-webkit-slider-thumb { opacity: 0; }
.player__range:disabled::-moz-range-thumb { opacity: 0; }
.player__range:focus-visible { outline-offset: 2px; }

@media (min-width: 720px) {
  .player__inner {
    grid-template-columns: auto minmax(0, 18rem) minmax(0, 1fr) auto auto auto;
    grid-template-areas: none;
    gap: 1.25rem; padding-block: .85rem;
  }
  .player__inner > * { grid-area: auto; }
  .player__skip {
    display: grid; place-items: center; min-width: 44px; height: 44px;
    font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); transition: color .2s;
  }
  .player__skip:hover { color: var(--text); }
}
.ep__artist { font-size: 1.35rem; font-weight: 800; font-stretch: 80%; line-height: 1.1; text-transform: uppercase; }
.ep__title { color: var(--muted); font-size: .92rem; margin-top: .3rem; }

/* ---------- About ---------- */
.about__body { display: grid; gap: 1.25rem; max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.about__big { font-size: clamp(1.35rem, 4.6vw, 2rem); line-height: 1.3; color: var(--text); font-weight: 500; letter-spacing: -.005em; }

.facts {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-2);
}
.facts > div { padding: 1.25rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 1rem; }
.facts dt { font-size: clamp(2.8rem, 12vw, 5rem); font-weight: 800; font-stretch: 62%; line-height: .9; }
.facts > div:last-child dt { color: var(--accent); }
.facts dd { margin-top: .4rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts > div, .facts > div:nth-child(odd), .facts > div:nth-child(even) { padding: 1.5rem 1.5rem 1.75rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .facts > div:first-child { padding-left: 0; }
  .facts > div:last-child { border-right: 0; }
}

.venues { margin-top: 3.5rem; display: grid; gap: 1rem; }
@media (min-width: 720px) { .venues { grid-template-columns: 1fr 1fr; } }
.venue {
  display: grid; gap: .9rem; align-content: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.venue__tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.venue__name { font-size: 2.4rem; font-weight: 800; font-stretch: 68%; line-height: .95; text-transform: uppercase; }
.venue__name span { font-size: .45em; font-weight: 500; font-stretch: 100%; color: var(--muted); letter-spacing: .02em; margin-left: .3em; vertical-align: middle; }
.venue__text { color: var(--muted); }
.venue address { font-family: var(--mono); font-size: .85rem; line-height: 1.6; }
.venue .link { justify-self: start; }
.venue__links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--accent); color: var(--accent-ink);
  padding: 5rem 0 5.5rem;
}
.cta__inner { position: relative; }
.cta .section__num { color: rgba(10,10,11,.7); }
.cta .section__num::before { background: var(--accent-ink); }
.cta__title {
  font-size: clamp(3rem, 15vw, 9rem);
  font-weight: 800; font-stretch: 62%; line-height: .86; text-transform: uppercase; letter-spacing: -.02em;
  max-width: 11ch;
}
.cta__text { margin-top: 1.25rem; font-size: 1.1rem; max-width: 40ch; font-weight: 500; }
.cta__emblem {
  position: absolute; right: -28%; top: 50%; width: 80%; max-width: 640px; transform: translateY(-50%);
  filter: brightness(0); opacity: .1; pointer-events: none;
  animation: spin-c 120s linear infinite;
}
@keyframes spin-c { to { transform: translateY(-50%) rotate(-360deg); } }
@media (min-width: 1024px) {
  .cta { padding: 8rem 0; }
  .cta__emblem { right: -6%; width: 46%; }
}

/* ---------- Footer ---------- */
.footer { padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer__logo { width: 100%; height: auto; opacity: .95; }
.footer__cols { margin-top: 3rem; display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.footer__cols > div:first-child { grid-column: 1 / -1; }
.footer__cols h3 { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.footer__cols a { display: block; padding: .3rem 0; width: fit-content; transition: color .2s; }
.footer__cols a:hover { color: var(--accent); }
.footer__cols > div:first-child a { font-size: clamp(1.25rem, 5vw, 1.75rem); font-weight: 600; word-break: break-all; }
.footer__base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
}
@media (min-width: 900px) {
  .footer__cols { grid-template-columns: 2fr 1fr 1fr; }
  .footer__cols > div:first-child { grid-column: auto; }
}

/* ---------- Event page (event.html) ---------- */
.evp__hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + 1.75rem) 0 3.5rem;
  border-bottom: 1px solid var(--line);
  --cx: 88%; --cy: 18%;
}
.evp__hero::before, .evp__hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.evp__hero::before {
  background: repeating-radial-gradient(circle at var(--cx) var(--cy), transparent 0 38px, rgba(255,255,255,.045) 38px 39px);
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 0, transparent 60%);
          mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 0, transparent 60%);
}
.evp__hero::after { background: radial-gradient(circle at var(--cx) var(--cy), rgba(255, 74, 28, .14), transparent 40%); }
.evp__hero--missing { min-height: 80svh; display: flex; align-items: center; }
.evp__hero--missing .wrap > .eyebrow { margin-bottom: 1rem; }

.evp__back {
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 2.5rem; padding: .5rem 0;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.evp__back span { transition: transform .3s var(--ease); }
.evp__back:hover { color: var(--text); }
.evp__back:hover span { transform: translateX(-3px); color: var(--accent); }

/* Zeile über dem Hero: zurück links, Teilen rechts */
.evp__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.evp__top .evp__back { margin-bottom: 0; }
.share {
  display: inline-flex; align-items: center; gap: .6em; padding: .5rem 0;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; transition: color .2s;
}
.share__icon { width: 1.1em; height: 1.1em; flex: none; transition: transform .3s var(--ease), color .2s; }
.share.is-done { color: var(--text); }
.share.is-done .share__icon { color: var(--accent); }
@media (hover: hover) {
  .share:hover { color: var(--text); }
  .share:hover .share__icon { transform: translateY(-2px); color: var(--accent); }
}

.evp__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
.evp__date { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .9rem 1.1rem; }
.evp__badge { flex-basis: 100%; display: flex; }
.evp__day {
  font-size: clamp(5rem, 27vw, 11rem); font-weight: 800; font-stretch: 62%; line-height: .8; letter-spacing: -.02em;
}
.evp__meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

.evp__copy .eyebrow { margin-bottom: 1rem; }
.evp__title {
  font-size: clamp(2.6rem, 11.5vw, 6.4rem);
  font-weight: 800; font-stretch: 68%; line-height: .9; letter-spacing: -.015em; text-transform: uppercase;
  text-wrap: balance; overflow-wrap: break-word; hyphens: auto;
}
.evp__artists { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; }
.evp__lead { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.evp__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.evp__actions .btn { flex: 1 1 auto; }

.evp__section { padding: 3.5rem 0 5rem; }
.evp__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.evp__lineup .section__num { font-weight: 400; margin-bottom: 1.25rem; }

/* Line-up: Floors untereinander, Headliner groß */
.evp__floors { gap: 0; border-bottom: 1px solid var(--line); }
.evp__floors .floor { padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--line-2); }
.evp__floors .floor__name { margin-bottom: .6rem; }
.evp__floors .floor__artists {
  align-items: baseline; gap: .2rem 1.1rem;
  font-size: clamp(1.75rem, 8vw, 2.8rem); font-weight: 800; font-stretch: 72%; line-height: 1.05; text-transform: uppercase;
}
.evp__floors .floor__artists .is-support { font-size: .6em; font-weight: 600; font-stretch: 85%; text-transform: none; }
.evp__floors .floor__artists .lbl { text-transform: none; }

/* Mobil: Artwork → Line-up → Infos; Desktop: zwei Spalten (siehe unten) */
.evp__main, .evp__side { display: contents; }
.evp__art    { order: 1; }
.evp__lineup { order: 2; }
.evp__info   { order: 3; }

/* Artwork */
.evp__art { margin: 0; justify-self: start; max-width: 100%; }
.evp__art a { display: block; border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color .25s; }
.evp__art a:hover { border-color: var(--accent); }
.evp__art img { width: auto; max-width: 100%; max-height: 75svh; height: auto; }
.evp__art a { cursor: zoom-in; }

/* Artwork-Lightbox (<dialog>, liegt im Top-Layer über Header und Player) */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: calc(env(safe-area-inset-top) + 64px) var(--gutter) calc(env(safe-area-inset-bottom) + 32px);
  border: 0; background: rgba(10, 10, 11, .94); color: var(--text);
  cursor: zoom-out; overscroll-behavior: contain;
}
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in .3s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox:focus { outline: none; }
.lightbox img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border: 1px solid var(--line-2); animation: lightbox-zoom .4s var(--ease);
}
.lightbox__close {
  position: absolute; top: calc(env(safe-area-inset-top) + 10px); right: calc(var(--gutter) - 10px);
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--muted); transition: color .2s; cursor: pointer;
}
.lightbox__close:hover, .lightbox__close:focus-visible { color: var(--text); }
.lightbox__close svg { width: 14px; height: 14px; }
:root:has(.lightbox[open]) { overflow: hidden; }
@keyframes lightbox-in { from { opacity: 0; } }
@keyframes lightbox-zoom { from { transform: scale(.96); } }

/* Info-Box */
.evp__info { border: 1px solid var(--line-2); background: var(--bg-2); padding: 1.5rem; align-self: start; }
.evp__info dl > div { display: grid; gap: .3rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.evp__info dl > div:first-child { padding-top: 0; }
.evp__info dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.evp__info dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.evp__info dd { margin: 0; font-size: 1.05rem; font-weight: 500; display: grid; gap: .3rem; justify-items: start; }
.evp__info dd b { font-size: 1.35rem; font-weight: 800; font-stretch: 72%; text-transform: uppercase; line-height: 1.1; }
.evp__info address { font-family: var(--mono); font-size: .82rem; color: var(--muted); line-height: 1.6; }
.evp__info .link { margin-top: .4rem; }
.evp__info-cta { margin-top: 1.5rem; }
.evp__info-cta .btn { width: 100%; }

/* Vorherige / nächste Session */
.evp__nav { margin-top: 4rem; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.evp__adj { display: grid; gap: .45rem; align-content: start; padding: 1.5rem 1rem 1.75rem 0; min-width: 0; }
.evp__adj--next { text-align: right; justify-items: end; padding: 1.5rem 0 1.75rem 1rem; border-left: 1px solid var(--line); }
.evp__adj-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.evp__adj-date { font-family: var(--mono); font-size: .82rem; color: var(--dim); }
.evp__adj-title {
  font-size: clamp(1.15rem, 4.5vw, 1.9rem); font-weight: 800; font-stretch: 72%; line-height: 1; text-transform: uppercase;
  overflow-wrap: anywhere; transition: color .2s;
}
a.evp__adj:hover .evp__adj-label, a.evp__adj:hover .evp__adj-title { color: var(--accent); }

@media (min-width: 720px) {
  .evp__hero { padding: calc(var(--header-h) + 2.5rem) 0 4.5rem; }
  .evp__actions .btn { flex: 0 0 auto; }
  .evp__floors .floor { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; align-items: baseline; }
  .evp__floors .floor__name { margin-bottom: 0; }
  .evp__floors .floor__genre { display: block; }
  .evp__floors .floor__genre::before { content: none; }
  .evp__info { padding: 1.75rem; }
  .evp__info-cta .btn { width: auto; }
  .evp__adj { padding: 2rem 2rem 2.25rem 0; }
  .evp__adj--next { padding: 2rem 0 2.25rem 2rem; }
  .evp__adj:hover { background: var(--bg-2); }
}
@media (min-width: 1024px) {
  .evp__hero { --cx: 22%; --cy: 62%; padding-bottom: 5.5rem; }
  .evp__grid { grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 3rem 5rem; }
  .evp__date { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .evp__section { padding: 5rem 0 7rem; }
  .evp__body { grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; align-items: start; }
  .evp__main { display: grid; gap: 4.5rem; align-content: start; }
  .evp__side { display: grid; gap: 1.25rem; align-content: start; }
  .evp__art { justify-self: stretch; }
  .evp__art img { width: 100%; max-height: none; }
  .evp__floors { grid-template-columns: 1fr; gap: 0; }
  .evp__floors .floor__artists { font-size: 3rem; }
  .evp__info-cta .btn { width: 100%; }
}

/* ---------- Set page (set.html) ---------- */
.setp__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.setp__art { margin: 0; max-width: 420px; border: 1px solid var(--line-2); background: var(--bg-2); }
.setp__art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.setp__copy .eyebrow { margin-bottom: 1rem; }
.setp__name { margin-top: .75rem; font-size: clamp(1.25rem, 4.5vw, 1.6rem); font-weight: 600; line-height: 1.25; }

.setp__controls { margin-top: 1.75rem; display: flex; align-items: center; gap: 1.1rem; }
.setp__play {
  position: relative; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  transition: background-color .2s, transform .2s var(--ease);
}
.setp__play:hover { background: var(--text); }
.setp__play:active { transform: scale(.96); }
.setp__play svg { width: 16px; height: 16px; fill: currentColor; }
.setp__play .i-play { margin-left: 3px; }
.evp.is-loading .setp__play::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid transparent; border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
.setp__meta {
  display: grid; gap: .2rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); font-variant-numeric: tabular-nums;
}

/* große Waveform zum Springen: zwei Balken-Ebenen, die obere bis zur Position sichtbar */
.setp__wave { --fill: 0%; --h: 72px; position: relative; height: var(--h); margin-top: 2.5rem; }
.setp__bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; pointer-events: none; }
.setp__bars i { flex: 1; min-width: 1px; background: var(--line-2); border-radius: 1px; }
.setp__bars--played { clip-path: inset(0 calc(100% - var(--fill)) 0 0); }
.setp__bars--played i { background: var(--accent); }
.setp__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.setp__range:disabled { cursor: default; }
.setp__range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.setp__range::-moz-range-track { height: 100%; background: transparent; }
.setp__range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: var(--h); border-radius: 0; background: var(--text); }
.setp__range::-moz-range-thumb { width: 2px; height: var(--h); border: 0; border-radius: 0; background: var(--text); }
.setp__range:disabled::-webkit-slider-thumb { opacity: 0; }
.setp__range:disabled::-moz-range-thumb { opacity: 0; }
.setp__range:focus-visible { outline-offset: 4px; }

/* Tracklist */
.setp__tracks { order: 2; }
.setp__tracks .section__num { font-weight: 400; margin-bottom: 1.25rem; }
.setp__empty { color: var(--muted); }
.tl + .tl { margin-top: 2.5rem; }
.tl__head { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.tl__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.tl__row {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: .2rem 1rem; align-items: baseline;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.tl__no, .tl__time { font-family: var(--mono); font-size: .78rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.tl__time { justify-self: start; color: var(--muted); padding: .25rem 0; transition: color .2s; }
.tl__time:hover { color: var(--accent); }
.tl__track { display: grid; gap: .1rem; min-width: 0; }
.tl__artist { font-weight: 700; font-stretch: 85%; font-size: 1.05rem; line-height: 1.25; overflow-wrap: anywhere; }
.tl__title { color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.tl__track > .tl__title:first-child { color: var(--text); font-weight: 600; }
.tl__label { grid-column: 2; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tl__row.is-now .tl__time, .tl__row.is-now .tl__artist { color: var(--accent); }
.tl__row.is-now .tl__title { color: var(--text); }

@media (min-width: 720px) {
  .setp__wave { --h: 96px; }
  .tl__row { grid-template-columns: 4.6rem minmax(0, 1fr) minmax(0, 13rem); padding: .9rem 0; }
  .tl__label { grid-column: auto; text-align: right; }
}
@media (min-width: 1024px) {
  .setp__grid { grid-template-columns: 360px minmax(0, 1fr); align-items: end; gap: 3.5rem; }
  .setp__grid--noart { grid-template-columns: minmax(0, 1fr); }
  .setp__art { max-width: none; }
}

/* ---------- Newsletter: Formular (CTA + Seiten) ---------- */
.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;
}
.nlf { margin-top: 2rem; max-width: 36rem; }
.nlf__row { display: flex; flex-wrap: wrap; gap: .6rem; }
.nlf__input {
  flex: 999 1 15rem; min-width: 0; min-height: 48px;
  padding: .8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 0;
  transition: border-color .2s;
}
.nlf__input::placeholder { color: var(--dim); opacity: 1; }
.nlf__input:hover { border-color: var(--muted); }
.nlf__input:focus { border-color: var(--text); }
.nlf__input[aria-invalid="true"] { border-color: var(--accent); }
.nlf .btn { flex: 1 0 auto; }
.nlf.is-busy .btn { opacity: .55; cursor: progress; }
.nlf__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nlf__note { margin-top: .9rem; font-size: .85rem; line-height: 1.5; color: var(--muted); max-width: 48ch; }
.nlf__note a { text-decoration: underline; text-underline-offset: 2px; }
.nlf__note a:hover { color: var(--text); }
.nlf__status { margin-top: .9rem; padding-left: .9rem; border-left: 2px solid var(--accent); font-weight: 500; max-width: 48ch; }
.nlf__status:empty { display: none; }
.nlf__status strong { font-weight: 800; }
.nlf.is-done .nlf__fields, .nlf.is-done .nlf__note { display: none; }
.nlf.is-done .nlf__status { margin-top: 0; font-size: 1.15rem; line-height: 1.45; }
.nlf.has-uid .nlf__input { display: none; }
.nlf.has-uid .btn { flex: 0 0 auto; }

/* auf Orange (CTA) */
.cta .nlf__input { background: transparent; color: var(--accent-ink); border-color: rgba(10,10,11,.4); }
.cta .nlf__input::placeholder { color: rgba(10,10,11,.55); }
.cta .nlf__input:hover, .cta .nlf__input:focus { border-color: var(--accent-ink); }
.cta .nlf__input[aria-invalid="true"] { border-color: var(--accent-ink); border-width: 2px; }
.cta .nlf__note { color: rgba(10,10,11,.75); }
.cta .nlf__note a:hover { color: var(--accent-ink); }
.cta .nlf__status { border-color: var(--accent-ink); }
.cta :focus-visible { outline-color: var(--accent-ink); }

/* ---------- Newsletter-Seiten ---------- */
.nlp--center { min-height: 80svh; display: flex; align-items: center; }
.nlp .eyebrow { margin-bottom: 1rem; }
.nlp .evp__lead { max-width: 46ch; }
.nlp__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.nlp__steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .35rem 1rem; padding: 1.4rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.nlp__steps span { grid-row: span 2; font-family: var(--mono); font-size: .78rem; color: var(--accent); padding-top: .3rem; }
.nlp__steps b { font-size: 1.35rem; font-weight: 800; font-stretch: 72%; text-transform: uppercase; line-height: 1.1; }
.nlp__steps p { color: var(--muted); max-width: 52ch; }
.nlp__steps a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.nlp__steps a:hover { color: var(--accent); }
.nlp__body .section__num { font-weight: 400; margin-bottom: 1.25rem; }
@media (min-width: 900px) {
  .nlp__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .nlp__steps li { grid-template-columns: minmax(0, 1fr); padding: 1.6rem 2rem 1.8rem 0; border-bottom: 0; }
  .nlp__steps li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
  .nlp__steps span { grid-row: auto; padding: 0 0 .6rem; }
}

/* ---------- Rechtstexte (impressum.html, datenschutzerklaerung.html) ---------- */
.legal .eyebrow { margin-bottom: 1rem; }
.legal .evp__title { hyphens: manual; }   /* nur am &shy; trennen: Datenschutz-erklärung */
.legal__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.legal__body { max-width: 70ch; }
.legal__body > section + section { margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.legal__body h2 {
  font-size: clamp(1.35rem, 4.5vw, 1.75rem); font-weight: 800; font-stretch: 72%; line-height: 1.05;
  text-transform: uppercase; margin-bottom: 1rem; text-wrap: balance; hyphens: auto;
}
.legal__body h3 {
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); margin: 1.75rem 0 .6rem;
}
.legal__body p, .legal__body li { color: var(--muted); hyphens: auto; overflow-wrap: break-word; }
.legal__body p + p, .legal__body ul + p, .legal__body p + ul, .legal__body p + address, .legal__body address + p { margin-top: .9rem; }
.legal__body ul { margin: 0; padding-left: 1.15rem; }
.legal__body li + li { margin-top: .4rem; }
.legal__body li::marker { color: var(--accent); }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; overflow-wrap: anywhere; transition: color .2s, text-decoration-color .2s; }
.legal__body a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.legal__body address { font-family: var(--mono); font-size: .88rem; line-height: 1.75; color: var(--text); }
.legal__body code { font-family: var(--mono); font-size: .85em; color: var(--text); }
.legal__stand { margin-top: 3rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

.legal__toc { border-top: 1px solid var(--line-2); padding-top: 1.1rem; align-self: start; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: .3rem 0;
  font-size: .92rem; color: var(--muted); transition: color .2s;
}
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; color: var(--dim); padding-top: .2rem; transition: color .2s; }
.legal__toc a:hover, .legal__toc a:hover::before { color: var(--accent); }
.legal__toc .section__num { margin-bottom: .75rem; }
@media (min-width: 1024px) {
  .legal__grid--toc { grid-template-columns: 15rem minmax(0, 70ch); gap: 5rem; }
  .legal__toc { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .pulse { display: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group + .marquee__group { display: none; }
  .marquee__group { flex-wrap: wrap; padding-inline: var(--gutter); row-gap: .5rem; }
  .js .reveal { opacity: 1; transform: none; }
}
