/* Zeitraffer Konzerte – Schwarz-Weiß, Geist, flache Flächen.
   Fünf Schriftgrößen: small, body, lead, head, display. Keine Linien, Verläufe, Schatten. */

@font-face { font-family: "Geist"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/geist-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #0b0908;
  --ink: #f4f4f2;
  --muted: #b0b0ab;
  --paper: #f3f3f1;
  --paper-ink: #0b0908;
  --paper-muted: #5c5c58;
  --step: #1a1918;          /* Tonstufe auf dem dunklen Grund */
  --paper-step: #e6e6e3;    /* Tonstufe auf dem hellen Grund */

  --small: clamp(0.9rem, 0.88rem + 0.1vw, 0.97rem);
  --body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --head: clamp(2.6rem, 1.2rem + 5.4vw, 6rem);
  --display: clamp(5rem, 2rem + 12vw, 13rem);

  --margin: clamp(16px, 2.4vw, 32px);
  --gap: clamp(88px, 12vw, 200px);
  --bar: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--body); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol { margin: 0; padding: 0; }
ol { list-style: none; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -80px; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; z-index: 50; }
.skip:focus { top: 12px; }

/* ── Buttons: flach, rund, eine Form ─────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  font-weight: 700; font-size: var(--body); letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--paper-ink); color: var(--paper); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: var(--small); }
.link { font-weight: 500; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.link:hover { text-decoration-thickness: 4px; }

/* ── Kopfleiste ──────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 20; height: var(--bar);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--margin); background: var(--bg);
}
.bar__home img { height: 40px; width: auto; }
.bar__nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); font-weight: 500; font-size: var(--small); }
.bar__nav a:not(.btn) { text-decoration: none; padding: 10px 0; }
.bar__nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: .3em; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--margin);
  min-height: calc(100svh - var(--bar)); padding: 0 var(--margin) var(--margin);
}
.hero__text { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-top: 8px; }
.hero__title img { width: min(100%, 860px); height: auto; }
.hero__lead { font-size: var(--lead); line-height: 1.3; max-width: 30ch; font-weight: 500; letter-spacing: -0.01em; }
.hero__next { display: grid; gap: 14px; justify-items: start; }
.hero__days { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.hero__num { font-size: var(--display); font-weight: 700; line-height: .85; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.hero__unit { font-size: var(--lead); font-weight: 500; line-height: 1.15; max-width: 12ch; }
.hero__when { color: var(--muted); font-size: var(--body); }
.hero__photo { position: relative; min-height: 420px; overflow: hidden; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; }

/* ── Allgemeine Abschnitte ───────────────────────────────── */
.sec { padding: var(--gap) var(--margin); }
.sec--paper { background: var(--paper); color: var(--paper-ink); }
.sec h2 { font-size: var(--head); line-height: .95; letter-spacing: -0.045em; font-weight: 700; }
.sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--margin); align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.sec__head p { font-size: var(--lead); line-height: 1.3; max-width: 28ch; font-weight: 500; letter-spacing: -0.01em; }

/* ── Terminliste: ein Maß, vier Spalten ──────────────────── */
.table { font-size: clamp(1.2rem, 0.9rem + 1.1vw, 1.9rem); letter-spacing: -0.015em; }
.row {
  display: grid; grid-template-columns: 17% 1fr 32% 9rem; gap: 0 var(--margin); align-items: center;
  padding: .55em 0; min-height: 3.1em;
  transition: background-color .2s, padding .3s var(--ease);
}
.row:hover { background: var(--paper-step); padding-left: 12px; padding-right: 12px; margin: 0 -12px; }
.row__date { font-variant-numeric: tabular-nums; font-weight: 700; }
.row__title { font-weight: 500; }
.row__place { color: var(--paper-muted); }
.row__act { justify-self: end; font-size: var(--small); color: var(--paper-muted); }
.row--past .row__date, .row--past .row__title { color: var(--paper-muted); font-weight: 500; }
.table-title { font-size: var(--lead); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; }
.table + .table-title { margin-top: clamp(56px, 7vw, 104px); }

/* ── Zeitraffer: der Titel bleibt, die Bilder laufen durch ── */
.lapse { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--margin); padding: var(--gap) var(--margin); background: var(--bg); }
.lapse__stage { position: sticky; top: var(--bar); height: calc(100svh - var(--bar)); display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0 var(--margin); align-self: start; }
.lapse__title { font-size: var(--head); line-height: .95; letter-spacing: -0.045em; font-weight: 700; max-width: 9ch; }
.lapse__date { font-size: var(--display); line-height: .85; font-weight: 700; letter-spacing: -0.05em; transition: opacity .25s, transform .35s var(--ease); }
.lapse__name { font-size: var(--lead); font-weight: 500; line-height: 1.2; margin-top: 14px; min-height: 1.2em; }
.lapse__frames { display: grid; gap: clamp(40px, 5vw, 72px); }
.frame { width: min(100%, 460px); justify-self: center; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--step); transition: transform .9s var(--ease); }
.frame:hover img { transform: scale(1.015); }
.frame figcaption { display: grid; gap: 10px; justify-items: start; padding-top: 18px; font-size: var(--body); }
.frame figcaption strong { font-size: var(--lead); font-weight: 700; letter-spacing: -0.02em; }
.frame figcaption span { color: var(--muted); }

/* ── Reihen ──────────────────────────────────────────────── */
.series { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--margin); align-items: start; }
.series__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.series__body { display: grid; gap: clamp(32px, 5vw, 72px); }
.brand { display: grid; gap: 18px; max-width: 640px; }
.brand__logo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.brand h3 { font-size: var(--lead); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.brand p { max-width: 52ch; }
.brand__links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }

/* ── Booking ─────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--margin); align-items: center; background: var(--bg); }
.contact__body { display: grid; gap: 28px; justify-items: start; }
.contact__body p { font-size: var(--lead); line-height: 1.3; max-width: 34ch; font-weight: 500; letter-spacing: -0.01em; }
.contact__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: var(--body) !important; }
.contact__mark { justify-self: center; }
.contact__mark img { height: min(60vh, 520px); width: auto; }

/* ── Fuß ─────────────────────────────────────────────────── */
.foot { padding: 0 var(--margin) 28px; }
.foot__line { display: flex; justify-content: space-between; gap: var(--margin); align-items: center; font-size: var(--small); }
.foot__line nav { display: flex; gap: 24px; }
.foot__line p:last-child { justify-self: end; }
.foot__line a { text-decoration: none; padding: 10px 0; }
.foot__line a:hover { text-decoration: underline; text-underline-offset: .3em; }

/* ── Rechtstexte ────────────────────────────────────────── */
.legal { padding: clamp(48px, 8vw, 120px) var(--margin) var(--gap); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--margin); }
.legal h1 { font-size: var(--head); line-height: .95; letter-spacing: -0.045em; font-weight: 700; }
.legal__text { display: grid; gap: 18px; max-width: 64ch; }
.legal__text h2 { font-size: var(--lead); font-weight: 700; margin-top: 18px; letter-spacing: -0.02em; }
.legal__text h3 { font-size: var(--body); font-weight: 700; margin-top: 10px; letter-spacing: -0.01em; }
.legal__text dl { margin: 0; display: grid; gap: 4px; }
.legal__text dt { font-weight: 700; margin-top: 12px; }
.legal__text dd { margin: 0; }
.legal__text .todo { background: var(--ink); color: var(--bg); padding: 14px 18px; font-weight: 500; }

/* ── Bewegung: Einblenden, nur mit Skript und ohne Reduced-Motion ── */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .frame { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s var(--ease), transform 1s var(--ease); }
  .js .frame.is-in { opacity: 1; transform: none; }
  .js .hero__photo img { transform: scale(1.08); transition: transform 2.4s var(--ease); }
  .js .hero__photo.is-in img { transform: scale(1); }
  .js .hero__title img { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js .hero__title.is-in img { opacity: 1; transform: none; }
}

/* ── Telefon: eigene Komposition ─────────────────────────── */
@media (max-width: 860px) {
  :root { --bar: 60px; }
  .bar__opt { display: none; }
  .bar__home img { height: 34px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { order: -1; min-height: 0; aspect-ratio: 4 / 3; margin-top: 4px; }
  .hero__text { gap: 28px; padding-top: 12px; }
  .hero__num { font-size: clamp(5.5rem, 28vw, 9rem); }
  .btn { width: 100%; }
  .btn--small { width: auto; }
  .sec__head { grid-template-columns: 1fr; gap: 20px; }
  .row { grid-template-columns: 1fr auto; grid-template-areas: "title act" "date place"; gap: 4px 16px; padding: .9em 0; font-size: 1.1rem; min-height: 0; }
  .row:hover { margin: 0; padding-left: 0; padding-right: 0; background: none; }
  .row__title { grid-area: title; font-weight: 700; font-size: 1.3rem; }
  .row__date { grid-area: date; font-weight: 500; font-size: var(--small); color: var(--paper-muted); }
  .row__place { grid-area: place; font-size: var(--small); justify-self: end; text-align: right; }
  .row__act { grid-area: act; }
  .lapse { grid-template-columns: 1fr; }
  .lapse__stage { position: static; height: auto; gap: 8px; padding-bottom: 32px; }
  .lapse__date, .lapse__name { display: none; }
  .lapse__title { max-width: none; }
  .series { grid-template-columns: 1fr; }
  .series__photo { order: 2; }
  .contact { grid-template-columns: 1fr; }
  .contact__mark { display: none; }
  .foot__line { flex-direction: column; align-items: flex-start; gap: 8px; }
  .legal { grid-template-columns: 1fr; }
}
