/* Schlicht dunkel. Kein Neon, keine Farbverläufe. */
:root {
  --bg: #0c0c0c;
  --ink: #f3f1ec;
  --muted: #9a9892;
  --line: #3a3a3a;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.reduce { scroll-behavior: auto; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; }

.grain,
.scan {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
}
.grain {
  opacity: .12;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
  mix-blend-mode: overlay;
}
.scan {
  opacity: .08;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0,0,0,.45) 3px 4px);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity .45s ease, visibility .45s ease;
}
#preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
.pre-mark {
  width: min(78vw, 420px);
  height: auto;
  display: block;
  animation: intro-glitch 1s steps(2, end) both;
}
@keyframes intro-glitch {
  0% { clip-path: inset(40% 0 50% 0); transform: translate(-4px, 0); opacity: .5; }
  22% { clip-path: inset(0 0 28% 0); transform: translate(4px, 1px); opacity: 1; }
  48% { clip-path: inset(0); transform: translate(-2px, 0); }
  72% { transform: translate(2px, 0); }
  100% { clip-path: inset(0); transform: none; opacity: 1; }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + var(--safe-t)) 14px 10px;
  background: #0c0c0c;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
}
.wordmark img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Hairline-Rahmen, eckig, invert beim Tippen. Kein Glow, kein Radius. */
.ticket,
.ghost {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  box-shadow: none;
}
.ghost { flex-direction: row; align-items: center; }
.ticket-label {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}
.ticket-sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket:hover,
.ticket:active,
.ghost:hover,
.ghost:active {
  background: var(--ink);
  color: var(--bg);
}
.ticket:hover .ticket-sub,
.ticket:active .ticket-sub { color: #3a3a3a; }
.ticket-lg { min-height: 56px; padding: 12px 18px; }
.ticket.is-door { cursor: default; }
.ticket.is-door .ticket-sub { display: none; }
.ticket-lg .ticket-label { font-size: 16px; }

.hero {
  position: relative;
  display: block;
}
.hero-frame {
  width: min(100%, 480px);
  margin: 0 auto;
  background: #0c0c0c;
}
.hero-art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0c0c0c;
}
.hero-shade { display: none; }
.hero-copy {
  position: relative;
  padding: 18px 18px 8px;
}
.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  color: var(--ink);
}
h1, h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: .86;
  text-transform: uppercase;
}
h1 { font-size: clamp(46px, 15vw, 104px); overflow-wrap: anywhere; }
[hidden] { display: none !important; }
h2 { font-size: clamp(40px, 12vw, 72px); }
.reveal {
  clip-path: inset(0 0 100% 0);
  transform: translateY(12px);
}
.reveal.in {
  clip-path: inset(0 0 0 0);
  transform: none;
  transition: clip-path .7s ease, transform .7s ease;
}
.meta, .notes { margin: 12px 0 0; color: var(--muted); }
.meta { color: var(--ink); font-weight: 600; }
.count {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.count div {
  min-width: 64px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: transparent;
}
.count b {
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-size: 28px;
  line-height: 1;
}
.count span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0c0c0c;
  color: var(--muted);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}
.marquee span {
  padding: 10px 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes ticker { to { transform: translateX(-50%); } }

.links { padding: 8px 12px 4px; }
.link-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  margin: 8px 0;
  padding: 10px 12px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.link-row:hover,
.link-row:focus-visible,
.link-row.flash {
  border-color: var(--ink);
  background: #161616;
}
.link-ico {
  width: 76px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.link-ico svg {
  width: 28px;
  height: 28px;
  display: block;
}
.link-ico img {
  height: 28px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  display: block;
}
.link-ico img.sc-mark {
  width: 24px;
  height: 24px;
  max-width: 24px;
}
.link-row strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.link-row small { color: var(--muted); }
.link-go { color: var(--ink); font-size: 18px; }

.about { padding: 36px 18px 20px; }
.imprint { padding: 28px 18px 48px; max-width: 40rem; }
.imprint h1 {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: none;
  margin: 0 0 16px;
}
.imprint p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}
.about p { max-width: 36rem; font-size: 18px; }

.history { padding: 12px 0 32px; }
.history h2 { margin: 0 18px 8px; }

/* Horizontal swipe strip. One flyer snaps to center; neighbors peek. */
.reel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  perspective: 900px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 18px;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  padding-inline: max(0px, calc((100% - min(78vw, 340px)) / 2));
  cursor: grab;
  user-select: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel:focus { outline: none; }
.reel:focus-visible {
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.reel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.reel-card {
  flex: 0 0 min(78vw, 340px);
  width: min(78vw, 340px);
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  opacity: 0.42;
  transform: translateY(0) scale(1);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.reel-card.active {
  opacity: 1;
  transform: translateY(-8px) scale(1.045);
}
.history-flyer {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0c0c0c;
  border: 1px solid var(--line);
  -webkit-user-drag: none;
}

footer {
  padding: 20px 18px calc(24px + var(--safe-b));
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer nav { display: flex; gap: 16px; }
footer nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
footer .credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fine { font-size: 12px; }

.burst {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  opacity: 0;
  background: #f3f1ec;
}
body.burst-on .burst { animation: flash .35s ease; }
@keyframes flash {
  0% { opacity: 0; }
  25% { opacity: .18; }
  100% { opacity: 0; }
}

@media (min-width: 800px) {
  .hero-frame { width: min(440px, 100%); }
  .hero-copy { padding: 18px 20px 24px; }
  .links { max-width: 760px; margin: 0 auto; }
  .about, .imprint, .history, footer { padding-left: 48px; padding-right: 48px; }
  .topbar { padding-left: 24px; padding-right: 24px; }

  /* Frontpage only. One centered column so wide screens share the same edges. */
  .home {
    --col: min(720px, calc(100% - 96px));
  }
  .home .topbar,
  .home .marquee,
  .home .links,
  .home .about,
  .home footer {
    width: var(--col);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .home .topbar,
  .home .links,
  .home .about,
  .home footer {
    padding-left: 0;
    padding-right: 0;
  }
  .home .hero-frame {
    width: min(420px, var(--col));
  }
  .home .hero-copy {
    padding: 22px 0 32px;
  }
  .home .links { padding-top: 20px; padding-bottom: 8px; }
  .home .about { padding-top: 48px; padding-bottom: 28px; }
  .home .history { padding-left: 0; padding-right: 0; }
  .home .history h2 {
    width: var(--col);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
  }
  .home .reel {
    width: var(--col);
    margin-left: auto;
    margin-right: auto;
    padding-inline: max(0px, calc((100% - min(420px, var(--col) * 0.62)) / 2));
  }
  .home .reel-card {
    flex-basis: min(420px, calc(var(--col) * 0.62));
    width: min(420px, calc(var(--col) * 0.62));
  }
  .home footer { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { clip-path: none; transform: none; }
  .marquee-track { transform: none; }
  .reel-card,
  .reel-card.active { transition: none; transform: none; }
}
