/* NOFUNKSHUN – dunkel, roh, mobil zuerst */

@font-face {
  font-family: "Grunge";
  src: url("assets/fonts/grunge.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --bg-2: #141413;
  --ink: #ece7dd;          /* knochenweiß, passend zum Logo */
  --ink-dim: #9d978c;
  --line: #2a2926;
  --accent: #d8452b;       /* rostrot, sparsam eingesetzt */
  --pad: clamp(16px, 5vw, 56px);
  --max: 1120px;
  --display: "Grunge", "Impact", "Arial Narrow", sans-serif;
  --text: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  /* KEIN overflow hier: in Safari würde body sonst ein eigener Scroll-Bereich
     und alle Scroll-Animationen hingen an einem Bereich, der nie scrollt.
     Seitliches Überstehen fängt html { overflow-x: clip } ab. */
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* Körnung über allem – gibt den rohen Druck-Look */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 50;
  opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Sprachumschaltung: nur die aktive Sprache zeigen */
html[data-lang="de"] body [lang="en"],
html[data-lang="en"] body [lang="de"] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Kopfleiste ─────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: 16px;
  padding: 10px var(--pad);
  padding-top: max(10px, env(safe-area-inset-top));
  background: linear-gradient(to bottom, rgba(11,11,11,.85), rgba(11,11,11,0));
  transition: background .3s;
}
.bar.is-solid { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.bar__mark img { width: 40px; height: auto; opacity: 0; transition: opacity .3s; }
.bar.is-solid .bar__mark img { opacity: 1; }
.bar__nav { display: none; }
.lang { margin-left: auto; display: flex; border: 1px solid var(--ink-dim); }
.lang button {
  appearance: none; border: 0; background: transparent; color: var(--ink-dim);
  font: 600 13px/1 var(--mono); letter-spacing: .08em;
  padding: 9px 11px; min-width: 44px; min-height: 36px; cursor: pointer;
}
html[data-lang="de"] .lang [data-set-lang="de"],
html[data-lang="en"] .lang [data-set-lang="en"] { background: var(--ink); color: var(--bg); }
/* Handy: Kopfleiste scrollt mit der Seite weg und liegt ohne dunklen Balken über dem Foto */
@media (max-width: 759px) {
  .bar, .bar.is-solid { position: absolute; background: none; box-shadow: none; }
  .bar__mark { display: none; }
  .lang { background: rgba(11,11,11,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(236,231,221,.45); }
}

/* ── Hero ───────────────────────────────────── */
/* Bis zum Fotoshooting (14.11.2026) ohne Startfoto: nur das Logo, groß und mittig.
   Licht von hinten nach vorn:
   ::before – kalter, schmaler Lichtkegel von oben (ein einzelner Spot) + dunkle Ecken.
              Flackert bei jedem Logo-Glitch kurz mit (Bewegung siehe unten).
   ::after  – schwache rote Glut tief hinter dem Logo, atmet langsam. */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 88px var(--pad) 72px;
  text-align: center;
  isolation: isolate;
  overflow: clip;
}
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before {
  z-index: -1;
  background:
    radial-gradient(ellipse 34% 72% at 50% -6%, rgba(236,231,221,.12), rgba(236,231,221,.035) 55%, rgba(236,231,221,0) 78%),
    radial-gradient(ellipse 95% 80% at 50% 45%, rgba(0,0,0,0) 50%, rgba(0,0,0,.6) 100%);
}
.hero::after {
  z-index: -2;
  background: radial-gradient(ellipse 42% 24% at 50% 68%, rgba(216,69,43,.22), rgba(216,69,43,.06) 50%, rgba(216,69,43,0) 75%);
}
.hero__inner { width: 100%; max-width: 760px; }
.hero__logo { position: relative; margin: 0 auto; width: min(86vw, 640px, 58svh); }
.hero__logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 40px rgba(0,0,0,.6)); }
/* Glitch-Kopien: rote und helle Fläche mit dem Logo als Schablone, liegen deckungsgleich
   über dem Logo und sind nur während des Glitchs zu sehen (Bewegung siehe unten). */
.hero__logo .glitch {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  -webkit-mask: url("assets/img/logo-1400.webp") center / 100% 100% no-repeat;
          mask: url("assets/img/logo-1400.webp") center / 100% 100% no-repeat;
}
.glitch--red { background: var(--accent); }
.glitch--ink { background: var(--ink); }
.hero__genre {
  margin: 18px 0 26px;
  font: 600 11px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  opacity: .78;
}
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero__next { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; padding: 4px 8px; }
.hero__next-label { font: 600 11px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.hero__next-what { font: 600 16px/1.3 var(--text); color: var(--ink); border-bottom: 1px solid rgba(236,231,221,.35); padding-bottom: 2px; transition: border-color .15s; }
.hero__next:hover .hero__next-what { border-color: var(--ink); }
.hero__down {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  text-decoration: none; font-size: 20px; color: var(--ink-dim);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ── Sanftes Einblenden beim Scrollen (nur mit JS, nicht bei „Bewegung reduzieren“) ── */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; translate: none; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: 700 14px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ── Abschnitte ─────────────────────────────── */
.sec {
  max-width: var(--max); margin: 0 auto;
  padding: 72px var(--pad);
  scroll-margin-top: 56px;
}
.sec__title {
  margin: 0 0 30px;
  /* Grunge läuft in Großbuchstaben sehr breit. Titel bleiben einzeilig und
     werden so klein, dass das breiteste Wort (--title-em, Breite in em) passt.
     09.11.: kleiner (max. 58 statt 96 px), damit der Inhalt darunter nicht untergeht. */
  font: 400 min(clamp(30px, 8vw, 58px), calc((min(100vw, var(--max)) - 2 * var(--pad)) / var(--title-em, 8.9)))/1 var(--display);
  letter-spacing: 0; text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-1.5deg); transform-origin: left;
  /* Nachglühen in Rost-Rot, wie die Glut hinter dem Logo */
  text-shadow: 0 0 .16em rgba(216,69,43,.5), 0 0 .55em rgba(216,69,43,.32), 0 0 1.3em rgba(216,69,43,.18);
}
.sec__title::after {
  content: ""; display: block; width: 64px; height: 4px; margin-top: 14px;
  background: var(--accent); transform: rotate(1.5deg);
}
.kicker { margin: 0 0 6px; font: 600 12px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }

/* ── Gigs ───────────────────────────────────── */
.gigs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gig {
  display: grid; grid-template-columns: 76px 1fr; gap: 12px 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.gig__date { text-align: center; border: 2px solid var(--ink); padding: 8px 4px; align-self: start; }
.gig__links { grid-column: 2; }
.gig__day { display: block; font: 400 38px/1 var(--display); }
.gig__mon { display: block; font: 600 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.gig__year { display: block; font: 12px/1.3 var(--mono); color: var(--ink-dim); }
.gig__where { margin: 0; font-weight: 700; font-size: 21px; line-height: 1.25; }
.gig__meta { margin: 0; color: var(--ink-dim); font-size: 16px; }
.gig__links { display: flex; flex-wrap: wrap; gap: 10px; }
.gig__links .btn { min-height: 42px; padding: 9px 16px; font-size: 13px; }
.gigs__none { color: var(--ink-dim); }

.past { margin-top: 40px; }
.past summary {
  cursor: pointer; list-style: none;
  font: 600 13px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  padding: 12px 0; color: var(--ink-dim);
}
.past summary::-webkit-details-marker { display: none; }
.past summary::before { content: "+ "; color: var(--accent); }
.past[open] summary::before { content: "– "; }
.gigs--past .gig { grid-template-columns: 1fr; padding: 12px 0; }
.gigs--past .gig__date { display: none; }
.gigs--past .gig__where { font-size: 16px; font-weight: 600; }
.gigs--past .gig__when { font-family: var(--mono); font-size: 13px; color: var(--ink-dim); margin-right: 10px; }

/* ── Musik ──────────────────────────────────── */
.sec--music { position: relative; }
.release { display: grid; gap: 24px; }
.release__cover { width: 100%; border: 1px solid var(--line); }
.release__title { margin: 4px 0 20px; }
.release__title img { width: min(100%, 340px); }
.tracks { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: t; }
.tracks li { counter-increment: t; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.tracks li::before { content: counter(t, decimal-leading-zero); font: 13px var(--mono); color: var(--accent); margin-right: 14px; }

.embed {
  margin-top: 40px; padding: 20px; border: 1px dashed var(--ink-dim);
  display: grid; gap: 14px; justify-items: start; color: var(--ink-dim); font-size: 15px;
}
.embed p { margin: 0; }
.embed.is-loaded { padding: 0; border: 0; }
.embed iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; }

.teaser { margin: 40px 0 0; }
.teaser video { width: 100%; background: #000; border: 1px solid var(--line); }
.teaser figcaption { margin-top: 8px; font: 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }

/* ── Band ───────────────────────────────────── */
.band { display: grid; gap: 40px; }
.bio p { margin: 0 0 1em; max-width: 62ch; }
.bio .lead { font-size: clamp(20px, 5vw, 26px); line-height: 1.35; font-weight: 700; }
.members { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); align-self: start; }
.members li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.members b { font-size: 18px; }
.members span { font: 13px/1.8 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }

/* ── Fotos ──────────────────────────────────── */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gallery a { display: block; overflow: clip; aspect-ratio: 1; background: var(--bg-2); }
.gallery .g--wide { grid-column: span 2; aspect-ratio: 2 / 1.2; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s;
}
/* Fotos sind schon schwarz-weiß gespeichert; beim Drüberfahren nur Zoom */
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.03); }
.gallery__credit { margin: 14px 0 0; font: 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }

/* ── Kontakt ────────────────────────────────── */
.sec--contact { padding-bottom: 96px; }
.mail {
  display: inline-block; margin: 4px 0 28px;
  font-weight: 800; font-size: clamp(22px, 7vw, 48px); line-height: 1.1;
  text-decoration: none; word-break: break-all;
  border-bottom: 3px solid var(--accent);
}
.mail:hover { color: var(--accent); }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--ink-dim); text-decoration: none;
  font: 600 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.social a:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* ── Fuß ────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  padding: 24px var(--pad) max(24px, env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font: 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim);
}
.foot p { margin: 0; }

/* ── Größere Bildschirme ────────────────────── */
@media (min-width: 760px) {
  .bar__nav { display: flex; gap: 22px; margin-left: 12px; }
  .bar__nav a {
    text-decoration: none; font: 600 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
    color: var(--ink-dim); padding: 8px 0;
  }
  .bar__nav a:hover { color: var(--ink); }
  .sec { padding-top: 112px; padding-bottom: 112px; }
  .gig { grid-template-columns: 92px 1fr auto; align-items: center; gap: 0 28px; }
  .gig__links { grid-column: 3; }
  .release { grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
  .band { grid-template-columns: 1.6fr 1fr; gap: 64px; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gallery .g--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
  .gallery .g--big { grid-row: span 2; aspect-ratio: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__down { animation: none; }
  .gallery img { transition: none; }
}

/* ══ Fließende Bänder zwischen den Abschnitten ═══════════════════════ */
/* Grunge zeichnet ihre Großbuchstaben rund doppelt so hoch wie die Schriftgröße
   (Glyphen bis 2,07 em über der Grundlinie, Zeile nur 1 em). Darum hier hohe
   Zeile + Polster oben, damit nichts an einer Kante abgeschnitten wird. */
.flow {
  overflow-x: clip; margin: clamp(16px, 4vw, 40px) 0;
  border-block: 1px solid var(--line);
  font-family: var(--display); text-transform: uppercase;
  white-space: nowrap; user-select: none;
  container-type: inline-size;
}
/* Alle vier Begriffe passen ganz in die Breite: die Zeile ist ~40 em breit,
   also Schriftgröße = Breite / 42 (am Handy zwei Zeilen à ~23 em → / 25). Mit Luft am Rand. */
.flow__row {
  display: flex; justify-content: center; align-items: center;
  padding: .45em var(--pad) .1em; line-height: 2.3;
  font-size: min(44px, calc((100cqi - 2 * var(--pad)) / 42));
}
.flow__half { display: inline-flex; align-items: center; }
@media (max-width: 759px) {
  .flow__row { flex-direction: column; line-height: 1.9; padding-bottom: .3em; font-size: calc((100cqi - 2 * var(--pad)) / 25); }
  .flow__mid { display: none !important; }
}
.flow__row i { flex-shrink: 0; display: inline-block; width: .16em; height: .16em; margin: 0 .38em; background: var(--accent); border-radius: 50%; translate: 0 -.05em; }

.stage {
  position: relative; margin: 0; height: clamp(240px, 62vw, min(78svh, 860px)); overflow: clip; /* Handy: flacher, damit alle fünf im Bild bleiben */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.stage img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; object-position: 50% 45%; filter: brightness(.7); }
/* Handy: Foto nur wenig größer als die Fläche, sonst fallen Sänger und Gitarrist an den Rändern raus */
@media (max-width: 759px) {
  .stage img { top: -7.5%; height: 115%; }
}
.stage figcaption {
  position: absolute; left: var(--pad); bottom: 18%; text-shadow: 0 1px 12px rgba(0,0,0,.8);
  font: 600 12px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}

/* Fortschritt oben – nur mit Scroll-Animation sichtbar */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 3px; background: var(--accent); transform-origin: 0 50%; scale: 0 1; pointer-events: none; }

/* ══ Bewegung beim Scrollen ═══════════════════════════════════════════
   Alles über CSS-Scroll-Animationen (laufen im Compositor, kein JS pro Frame).
   Nur wenn der Browser sie kann und niemand „Bewegung reduzieren“ eingestellt hat.
   Ohne Unterstützung bleibt die Seite ruhig; das Einblenden übernimmt dann script.js. */
@media (prefers-reduced-motion: no-preference) {
  /* Ankommen: Logo, Genre und Knöpfe erscheinen nacheinander */
  @keyframes intro { from { opacity: 0; translate: 0 26px; filter: blur(8px); } }
  .hero__logo  { animation: intro 1.1s cubic-bezier(.2,.7,.2,1) .1s backwards; }

  /* Logo-Glitch (Variante A): 0,75 s Störung, dann 4,25 s Ruhe, endlos. Die Prozentwerte sind
     die Schritte der 0,75-s-Störung auf einen 5-s-Takt umgerechnet (×0,15). steps(1) = harte
     Sprünge statt Überblendung. Läuft nur, solange der Start sichtbar ist (.hero.is-still per JS). */
  .hero__logo img     { animation: glitch-jitter 5s steps(1, end) 1.3s infinite; }
  .glitch--red        { animation: glitch-slice-a 5s steps(1, end) 1.3s infinite; }
  .glitch--ink        { animation: glitch-slice-b 5s steps(1, end) 1.3s infinite; }
  .hero::before { animation: light-flicker 5s steps(1, end) 1.3s infinite; }
  .hero::after  { animation: ember 7s ease-in-out infinite alternate; }
  .hero.is-still .hero__logo img, .hero.is-still .glitch, .hero.is-still::before, .hero.is-still::after { animation-play-state: paused; }
  @keyframes light-flicker {
    0%    { opacity: .3; }
    1.8%  { opacity: 1; }
    3.6%  { opacity: .15; }
    5.4%  { opacity: .85; }
    7.2%  { opacity: .4; }
    10.8%, 100% { opacity: 1; }
  }
  @keyframes ember { from { opacity: .45; } to { opacity: 1; } }
  @keyframes glitch-jitter {
    0%    { translate: 3px 0;     skew: 0; }
    1.8%  { translate: -4px 1px;  skew: -4deg 0; }
    3.6%  { translate: 2px -1px;  skew: 0; }
    5.4%  { translate: -2px 0;    skew: 3deg 0; }
    7.2%  { translate: 4px 0;     skew: 0; }
    9%    { translate: -1px 0;    skew: -1deg 0; }
    10.8%, 100% { translate: none; skew: none; }
  }
  @keyframes glitch-slice-a {
    0%    { opacity: .9; translate: -10px 0; clip-path: inset(12% 0 70% 0); }
    1.8%  { translate: 8px 0;   clip-path: inset(58% 0 22% 0); }
    3.6%  { translate: -5px 0;  clip-path: inset(30% 0 52% 0); }
    5.4%  { translate: 12px 0;  clip-path: inset(78% 0 6% 0); }
    7.2%  { translate: -4px 0;  clip-path: inset(2% 0 86% 0); }
    9%    { translate: 3px 0;   clip-path: inset(44% 0 40% 0); }
    10.8%, 100% { opacity: 0; translate: none; clip-path: inset(50% 0 50% 0); }
  }
  @keyframes glitch-slice-b {
    0%    { opacity: .8; translate: 7px 0;  clip-path: inset(64% 0 18% 0); }
    1.8%  { translate: -9px 0;  clip-path: inset(20% 0 66% 0); }
    3.6%  { translate: 6px 0;   clip-path: inset(82% 0 4% 0); }
    5.4%  { translate: -7px 0;  clip-path: inset(40% 0 44% 0); }
    7.2%  { translate: 5px 0;   clip-path: inset(8% 0 78% 0); }
    9%    { translate: -2px 0;  clip-path: inset(70% 0 16% 0); }
    10.8%, 100% { opacity: 0; translate: none; clip-path: inset(50% 0 50% 0); }
  }
  .hero__genre { animation: intro .9s cubic-bezier(.2,.7,.2,1) .45s backwards; }
  .hero__cta   { animation: intro .9s cubic-bezier(.2,.7,.2,1) .65s backwards; }

  @view-transition { navigation: auto; }

  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    /* Fortschrittslinie */
    @keyframes nfs-progress { to { scale: 1 1; } }
    .progress { animation: nfs-progress linear both; animation-timeline: scroll(root); }

    /* Start löst sich auf: Foto sinkt langsamer (Tiefe), Schrift steigt und verblasst */
    .hero { view-timeline: --hero; }
    @keyframes hero-lift { to { translate: 0 -14vh; scale: .92; opacity: 0; } }
    .hero__inner   { animation: hero-lift linear both; animation-timeline: --hero; animation-range: exit 0% exit 55%; }
    .hero__down    { animation: hero-lift linear both; animation-timeline: --hero; animation-range: exit 0% exit 20%; }

    /* Abschnittstitel werden von links freigelegt, der rote Balken wächst nach */
    .sec__title { view-timeline: --title; }
    @keyframes title-wipe {
      /* oben -150 %: die Schrift ragt fast eine Zeilenhöhe über ihren Kasten hinaus */
      /* unten -90 %: Platz für das rote Nachglühen */
      from { clip-path: inset(-150% 100% -90% -20%); translate: -6% 0; }
      to   { clip-path: inset(-150% -20% -90% -20%); translate: 0 0; }
    }
    @keyframes bar-grow { from { scale: 0 1; } }
    .sec__title { animation: title-wipe linear both; animation-timeline: --title; animation-range: entry 10% cover 42%; }
    .sec__title::after { transform-origin: left; animation: bar-grow linear both; animation-timeline: --title; animation-range: cover 25% cover 50%; }

    /* Inhalte gleiten herein */
    @keyframes rise { from { opacity: 0; translate: 0 56px; } }
    .sec > :not(.sec__title, .gallery) { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }

    /* Termine und Titel der EP nacheinander */
    @keyframes slide-in { from { opacity: 0; translate: -40px 0; } }
    .gig, .tracks li, .members li { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 10% entry 100%; }

    /* EP-Cover kippt in die Gerade */
    @keyframes cover-in { from { opacity: 0; rotate: -6deg; scale: .86; } }
    .release__cover { animation: cover-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }

    /* Galerie: Kacheln wachsen herein, Fotos laufen in der Kachel langsamer (Tiefe) */
    .gallery a { view-timeline: --tile; animation: tile-in linear both; animation-timeline: --tile; animation-range: entry 0% cover 32%; }
    .gallery a:nth-child(even) { animation-range: entry 12% cover 42%; }
    @keyframes tile-in { from { opacity: 0; scale: .84; translate: 0 70px; } }
    .gallery img { height: 116%; animation: tile-depth linear both; animation-timeline: --tile; animation-range: cover 0% cover 100%; }
    @keyframes tile-depth { from { translate: 0 0; } to { translate: 0 -13.8%; } }

    /* Laufband: läuft beim Scrollen seitlich durch */
    .flow { view-timeline: --flow; }
    /* Hälften gleiten von beiden Seiten herein und stehen ab der Bildschirmmitte ganz still */
    @keyframes flow-from-left  { from { translate: -45% 0; opacity: 0; } }
    @keyframes flow-from-right { from { translate: 45% 0; opacity: 0; } }
    @keyframes flow-dot { from { scale: 0; } }
    .flow__half:first-child { animation: flow-from-left  cubic-bezier(.2,.7,.2,1) both; animation-timeline: --flow; animation-range: entry 0% cover 45%; }
    .flow__half:last-child  { animation: flow-from-right cubic-bezier(.2,.7,.2,1) both; animation-timeline: --flow; animation-range: entry 0% cover 45%; }
    .flow__mid              { animation: flow-dot linear both; animation-timeline: --flow; animation-range: cover 30% cover 45%; }

    /* Bühnenbild: Foto bewegt sich langsamer als die Seite, zoomt dabei leicht heraus */
    .stage { view-timeline: --stage; }
    @keyframes stage-depth { from { translate: 0 -11%; scale: 1.12; } to { translate: 0 11%; scale: 1; } }
    @keyframes caption-in { from { opacity: 0; translate: -30px 0; } }
    .stage img { animation: stage-depth linear both; animation-timeline: --stage; animation-range: cover 0% cover 100%; }
    .stage figcaption { animation: caption-in linear both; animation-timeline: --stage; animation-range: entry 40% cover 50%; }
    @media (max-width: 759px) {
      @keyframes stage-depth-m { from { translate: 0 -6%; } to { translate: 0 6%; } }
      .stage img { animation-name: stage-depth-m; }
    }
  }
}
