/* HALLRAUM (Beispiel) · Clubnacht in Graz
   Warmes Dunkel wie Ziegel und Ruß in einer alten Halle, genau eine Laserfarbe (Grün), Schrift hell.
   Schriften: Big Shoulders Display (Überschriften, Zeiten, Preise), Satoshi (Text). Ecken überall eckig. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --grund: #1d1410;
  --grund-tief: #150e0b;
  --flaeche: #271c16;
  --text: #f3e9dd;
  --text-2: #c7b5a5;
  --text-3: #a08e7f;
  --linie: rgba(243, 233, 221, 0.14);
  --linie-stark: rgba(243, 233, 221, 0.26);
  --laser: #52f074;
  --laser-hell: #8dffa3;
  --laser-schein: rgba(82, 240, 116, 0.5);
  --auf-laser: #0b1a0e;
  --fehler: #ffb4a3;
  --anzeige: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --fliess: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --rand: clamp(1.25rem, 4vw, 3rem);
  --breite: 1320px;
  --spalt: clamp(1rem, 2vw, 1.75rem);
  color-scheme: dark;
}

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

html {
  background: var(--grund);
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  scrollbar-color: #57453a var(--grund-tief);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--fliess);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--laser); color: var(--auf-laser); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

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

h1, h2, h3 { font-family: var(--anzeige); font-weight: 800; margin: 0; }

p { margin: 0; }

.sprung {
  position: absolute;
  left: var(--rand);
  top: -4rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  background: var(--laser);
  color: var(--auf-laser);
  font-weight: 600;
  text-decoration: none;
}
.sprung:focus { top: 0.75rem; }

/* ---------- Knöpfe ---------- */

.knopf {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  overflow: hidden;
  min-height: 44px;
  padding: 1.05rem 1.65rem;
  border: 0;
  border-radius: 0;
  background: var(--laser);
  color: var(--auf-laser);
  font: 700 1.0625rem/1 var(--fliess);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
/* Ein heller Strich streicht beim Darüberfahren einmal über den Knopf, wie ein Laser über eine Kante */
.knopf::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translateX(-4px);
  pointer-events: none;
}
.knopf:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .knopf:hover {
    background: var(--laser-hell);
  }
  .knopf:hover::after {
    animation: strich 520ms var(--ease-in-out) 1;
  }
}

@keyframes strich {
  0% { opacity: 0; transform: translateX(-4px); }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; transform: translateX(var(--knopf-breite, 260px)); }
}

.knopf-klein { padding: 0.72rem 1.1rem; font-size: 0.9375rem; --knopf-breite: 150px; }
.knopf-gross { padding: 1.3rem 2.25rem; font-size: 1.25rem; --knopf-breite: 260px; }

.knopf-hell {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--linie-stark);
}
.knopf-hell::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  .knopf-hell:hover {
    background: rgba(243, 233, 221, 0.07);
    box-shadow: inset 0 0 0 1px var(--text);
  }
}

/* ---------- Kopfzeile ---------- */

.kopfzeile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
  border-bottom: 1px solid transparent;
  transition: background-color 260ms ease, border-color 260ms ease;
}
.kopfzeile.fest {
  background: var(--grund);
  border-bottom-color: var(--linie);
}

.marke {
  font-family: var(--anzeige);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.menue { display: flex; gap: 1.75rem; margin-left: auto; }
.menue a {
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .menue a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--laser); }
}

/* ---------- Bühne (Kopf mit Laser) ---------- */

.buehne {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /* Ohne Skript: warmes Dunkel mit einem Hauch Licht dort, wo der Laser stünde */
  background:
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(82, 240, 116, 0.10), transparent 70%),
    radial-gradient(ellipse 80% 60% at 30% 65%, #2b1e17, transparent 72%),
    var(--grund);
}

.laser {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
}

.kopf-marke {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 48px;
  pointer-events: none;
}

.buehne-innen {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 7.5rem var(--rand) clamp(2.25rem, 6vh, 4.5rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: end;
}

.titel {
  grid-column: 1 / 9;
  font-size: clamp(4.5rem, 12vw, 12rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--text);
  text-wrap: balance;
  padding-bottom: 0.04em;
}
/* Mit Laser: die Schrift entsteht im Licht, erst am Ende steht sie hell */
.laser-vor .titel,
.laser-an .titel { color: transparent; }
.laser-an .titel.hell { color: var(--text); transition: color 1400ms ease; }

.buehne-text {
  grid-column: 9 / 13;
  padding-bottom: 0.5rem;
}

.unter {
  font-size: 1.1875rem;
  line-height: 1.45;
  max-width: 30ch;
  margin-bottom: 1.6rem;
}
/* Termin der nächsten Nacht: im selben Satzblock, aber in der Anzeigeschrift, damit Datum und Zeit sofort lesbar sind */
.termin {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--anzeige);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.sicher {
  margin-top: 0.95rem;
  max-width: 36ch;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-2);
}

/* ---------- Abschnitte ---------- */

.abschnitt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(5.5rem, 11vw, 9.5rem) var(--rand) 0;
}

h2 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

figure { margin: 0; }
figcaption { margin-top: 0.8rem; font-size: 0.875rem; color: var(--text-2); }

/* Nächste Nacht: das Datum ragt ins Bild der Halle */

.nacht-kopf {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: center;
}
.datum {
  grid-column: 1 / 7;
  grid-row: 1;
  position: relative;
  z-index: 2;
  line-height: 0.8;
  text-shadow: 0 0.02em 0.35em rgba(21, 14, 11, 0.55);
}
.datum-tag {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--laser);
  margin: 0 0 0.25em 0.06em;
}
.datum-zahl {
  display: block;
  font-size: clamp(7rem, 21vw, 20rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.nacht-bild { grid-column: 4 / 13; grid-row: 1; }
.nacht-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.nacht-daten {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--spalt);
  margin: 3.5rem 0 0;
  border-top: 1px solid var(--linie);
}
.nacht-daten div { padding-top: 1.2rem; }
.nacht-daten dt { font-size: 0.875rem; color: var(--text-2); }
.nacht-daten dd {
  margin: 0.2rem 0 0;
  font-family: var(--anzeige);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.zeit-titel { font-size: 1.85rem; font-weight: 700; margin: 4.25rem 0 1.4rem; }

.zeitleiste {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1.5fr 2fr 2fr 1.5fr; /* 1,5 h · 2 h · 2 h · 1,5 h */
  border-top: 2px solid var(--linie);
}
/* Die Laserlinie läuft einmal die Nacht entlang, von 23 bis 6 Uhr */
.zeitleiste::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 2px;
  background: var(--laser);
  box-shadow: 0 0 12px 1px var(--laser-schein);
  transform-origin: left center;
}
.js .zeitleiste::before { transform: scaleX(0); }
.js .zeitleiste.an::before { transform: scaleX(1); transition: transform 2800ms cubic-bezier(0.45, 0, 0.25, 1); }

.slot {
  position: relative;
  padding: 1.3rem 1.25rem 0 1rem;
  border-left: 1px solid var(--linie);
}
.slot time {
  display: block;
  font-family: var(--anzeige);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--laser);
}
.js .slot time { color: var(--text-3); transition: color 500ms ease; }
.js .zeitleiste.an .slot time { color: var(--laser); }
.js .zeitleiste.an .slot-2 time { transition-delay: 600ms; }
.js .zeitleiste.an .slot-3 time { transition-delay: 1400ms; }
.js .zeitleiste.an .slot-4 time { transition-delay: 2200ms; }
.slot strong { display: block; margin: 0.5rem 0 0.2rem; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.slot span { display: block; font-size: 0.9375rem; color: var(--text-2); }

/* Klang */

.klang {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: start;
}
.klang-bild { grid-column: 1 / 6; }
.klang-bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.klang-text { grid-column: 7 / 13; padding-top: 1.5rem; }
.einleitung { margin: 1.4rem 0 2.5rem; max-width: 46ch; color: var(--text-2); }
.residents { list-style: none; margin: 0; padding: 0; }
.residents li { padding: 1.5rem 0 0.9rem; border-top: 1px solid var(--linie); }
.residents h3 { font-size: 2.35rem; line-height: 1; margin-bottom: 0.45rem; }
.residents p { max-width: 48ch; margin-bottom: 0.2rem; }
.set-link {
  display: inline-block;
  padding: 0.62rem 0;
  color: var(--laser);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition: text-decoration-thickness 160ms ease, color 160ms ease;
}
.set-dauer { margin-left: 0.55em; color: var(--text-2); font-weight: 400; display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  .set-link:hover { color: var(--laser-hell); text-decoration-thickness: 2px; }
}

/* Regeln: vier Sätze, groß gesetzt */

.regeln h2 { max-width: 14ch; }
.regel-liste {
  list-style: none;
  margin: 3.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.regel-liste li { padding: 1.7rem 0 2.6rem; border-top: 1px solid var(--linie); }
.regel-liste h3 {
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  line-height: 0.98;
  margin-bottom: 0.8rem;
}
.regel-liste p { max-width: 40ch; color: var(--text-2); }

/* Anfahrt */

.anfahrt h2 { max-width: 16ch; }
.anfahrt-bild { margin-top: 2.5rem; }
.anfahrt-bild img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 62%; }
.weg {
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem var(--spalt);
}
.weg dt { font-family: var(--anzeige); font-size: 1.6rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.weg dd { margin: 0; max-width: 32ch; color: var(--text-2); }
.weg div:first-child dd { color: var(--text); }

/* Booking */

.booking {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: start;
}
.booking-text { grid-column: 1 / 6; }
.booking-text p { margin-top: 1.25rem; max-width: 38ch; color: var(--text-2); }
.booking-text .telefon { margin-top: 2rem; color: var(--text-2); font-size: 0.9375rem; }
.telefon a {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  margin-top: 0.1rem;
  font-family: var(--anzeige);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .telefon a:hover { color: var(--laser-hell); }
}

.formular { grid-column: 7 / 13; display: grid; gap: 1.25rem; padding-top: 0.5rem; }
.feld { display: grid; gap: 0.45rem; }
.feld label { font-size: 0.9375rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--text-2); }
.feld input,
.feld textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--linie-stark);
  border-radius: 0;
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
  caret-color: var(--laser);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.feld textarea { resize: vertical; min-height: 6.5rem; }
.feld input::placeholder,
.feld textarea::placeholder { color: var(--text-3); opacity: 1; }
.feld input:focus-visible,
.feld textarea:focus-visible {
  outline: none;
  border-color: var(--laser);
  box-shadow: 0 0 0 1px var(--laser);
}
.feld input[aria-invalid="true"] { border-color: var(--fehler); }
.fehler { font-size: 0.875rem; color: var(--fehler); }
.formular .knopf { justify-self: start; }
.meldung {
  padding: 0.95rem 1.1rem;
  background: rgba(82, 240, 116, 0.08);
  box-shadow: inset 0 0 0 1px rgba(82, 240, 116, 0.4);
  font-size: 0.9375rem;
}

/* Ticket: der Schluss */

.ticket {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: end;
  padding-bottom: 1rem;
}
.ticket::before {
  content: "";
  grid-column: 1 / -1;
  display: block;
  height: 2px;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(90deg, var(--laser), rgba(82, 240, 116, 0.15) 70%, transparent);
}
.ticket h2 { grid-column: 1 / 8; font-size: clamp(3.25rem, 8.5vw, 7.5rem); max-width: 12ch; padding-bottom: 0.05em; }
.kasse { grid-column: 9 / 13; }
.preise {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  color: var(--text-2);
  font-size: 0.9375rem;
}
.preise li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--linie);
}
.preis {
  flex: 0 0 4.2rem;
  font-family: var(--anzeige);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.preise li:first-child .preis { color: var(--laser); }
.kasse .knopf-gross { display: flex; width: 100%; }

/* ---------- Fuß ---------- */

.fuss {
  max-width: var(--breite);
  margin: clamp(5rem, 10vw, 8rem) auto 0;
  padding: 0 var(--rand) 2.25rem;
  font-size: 0.875rem;
  color: var(--text-2);
}
/* Betreiber, Kontakt und Links in drei Spalten statt einer Zeile mit Mittelpunkten */
.fuss-raster {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--linie);
}
.betreiber { grid-column: 1 / 5; padding-top: 0.7rem; line-height: 1.6; }
.kontakt { grid-column: 5 / 9; display: flex; flex-direction: column; align-items: flex-start; }
.fuss-links { grid-column: 9 / 13; display: flex; flex-wrap: wrap; column-gap: 1.5rem; align-content: flex-start; }
.kontakt a, .fuss-links a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss a { color: var(--text-2); }
@media (hover: hover) and (pointer: fine) {
  .fuss a:hover { color: var(--text); }
}
.fuss-zeile {
  width: 100%;
  max-width: none;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-3);
}
.fuss-zeile a { display: inline-block; padding: 0.8rem 0; color: var(--text-3); }

/* ---------- Seite rechtliches.html ---------- */

.recht { max-width: 50rem; }
.recht h1 { font-size: clamp(3rem, 7vw, 5rem); line-height: 0.95; margin-bottom: 2rem; }
.recht h2 { font-size: 2.25rem; margin: 3rem 0 1rem; }
.recht p { margin-bottom: 1rem; color: var(--text-2); max-width: 62ch; }
.recht p a { display: inline-block; padding: 0.6rem 0; }
.recht .zurueck { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 2.5rem; color: var(--laser); font-weight: 600; }

/* ---------- Schmal ---------- */

@media (max-width: 1080px) {
  .menue { gap: 1.25rem; }
  .titel { grid-column: 1 / -1; font-size: clamp(4.5rem, 14vw, 9.5rem); }
  .buehne-text { grid-column: 1 / -1; margin-top: 2rem; max-width: 38rem; }
}

@media (max-width: 860px) {
  .menue { display: none; }
  .kopfzeile .knopf-klein { margin-left: auto; }
  .klang-bild { grid-column: 1 / -1; }
  .klang-bild img { aspect-ratio: 4 / 3; object-position: center 70%; }
  .klang-text { grid-column: 1 / -1; padding-top: 2.5rem; }
  .booking-text, .formular { grid-column: 1 / -1; }
  .ticket h2, .kasse { grid-column: 1 / -1; }
  .kasse { margin-top: 2.25rem; max-width: 30rem; }
  .formular { margin-top: 2.25rem; }
  .regel-liste { grid-template-columns: minmax(0, 1fr); }
  .nacht-daten { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .weg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .betreiber { grid-column: 1 / 7; }
  .kontakt { grid-column: 7 / 13; }
  .fuss-links { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .marke { font-size: 1.35rem; }
  .buehne-innen { padding-top: 6rem; }
  .titel { font-size: clamp(4rem, 24vw, 7rem); line-height: 0.88; }
  .buehne-text { display: block; margin-top: 1.75rem; }
  .unter { font-size: 1.0625rem; }
  .termin { font-size: 1.5rem; }
  .buehne-text .knopf { display: flex; width: 100%; }

  .datum { grid-column: 1 / -1; grid-row: 1; }
  .nacht-bild { grid-column: 1 / -1; grid-row: 2; margin-top: -2.2rem; }
  .datum-zahl { font-size: clamp(6rem, 33vw, 9rem); }

  .zeitleiste { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--linie); }
  .zeitleiste::before { left: -2px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: center top; }
  .js .zeitleiste::before { transform: scaleY(0); }
  .js .zeitleiste.an::before { transform: scaleY(1); }
  .slot { border-left: 0; padding: 0 0 1.6rem 1.25rem; }
  .slot time { font-size: 1.8rem; }

  .anfahrt-bild img { aspect-ratio: 4 / 3; }
  .preis { font-size: 2.5rem; }
  .knopf-gross { width: 100%; }
  .weg { grid-template-columns: minmax(0, 1fr); }
  .betreiber, .kontakt, .fuss-links { grid-column: 1 / -1; }
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf, .kopfzeile, .menue a, .set-link { transition: none; }
  .knopf:active { transform: none; }
  .knopf:hover::after { animation: none; }
  .laser-an .titel.hell { transition: none; }
  .js .zeitleiste::before { transform: none; transition: none; }
  .js .slot time { color: var(--laser); transition: none; }
}
