/* CONTRAST – Stylesheet */

:root {
  --black: #0a0a0a;
  --ink: #111;
  --white: #f2f2ee;
  --steel: #8a8c8f;
  --line: #2a2a2a;
  --font: "Helvetica Neue", "Arial Nova", Arial, system-ui, sans-serif;
  --font-cond: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Körnung – Beton / Stahl */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
main { flex: 1; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--black); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); }
.nav a {
  text-decoration: none;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--white); }
.nav .social { display: flex; gap: 14px; padding-left: clamp(4px, 2vw, 16px); border-left: 1px solid var(--line); }
.nav .social a { border: 0; display: flex; padding: 4px; }
.nav .social svg { width: 20px; height: 20px; }
.nav .social a:hover { opacity: .65; }

@media (max-width: 560px) {
  .site-header .wrap { height: 58px; }
  .brand img { height: 34px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; letter-spacing: .1em; }
  .nav .social { gap: 6px; padding-left: 8px; }
  .nav .social svg { width: 18px; height: 18px; }
}

/* ---------- Typo ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 12px;
}
h1, h2, h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  margin: 0;
}
.page-title { font-size: clamp(48px, 11vw, 140px); letter-spacing: -.01em; }
.section-title { font-size: clamp(32px, 6vw, 64px); margin-bottom: 32px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 48px var(--gutter);
}
.hero::after {
  /* weiße Fläche – das Logo invertiert sich darüber */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%);
  z-index: -1;
}
.hero-inner { text-align: center; display: grid; justify-items: center; gap: 28px; }
.hero-logo {
  width: min(78vw, 520px);
  height: auto;
  mix-blend-mode: difference;
}
.hero-claim {
  mix-blend-mode: difference;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: clamp(14px, 2.2vw, 20px);
  margin: 0;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; mix-blend-mode: difference; }
.scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  mix-blend-mode: difference;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--white); color: var(--black); }
.btn.solid { background: var(--white); color: var(--black); }
.btn.solid:hover { background: transparent; color: var(--white); }
.btn[aria-disabled="true"] {
  opacity: .28;
  pointer-events: none;
  cursor: default;
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 12vw, 140px) 0; border-top: 1px solid var(--line); }
.page-head { padding: clamp(48px, 9vw, 110px) 0 clamp(32px, 5vw, 56px); }
.page-head p { color: var(--steel); max-width: 60ch; margin: 20px 0 0; }

.about-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.about-text {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.05;
  margin: 0;
}
.about-text .dim { color: var(--steel); }
.about-sub { font-size: clamp(18px, 2vw, 22px); margin: 24px 0 0; max-width: 40ch; }

.split { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.split .section-title { margin: 0; }

/* ---------- Karten-Grid ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.group + .group { margin-top: clamp(56px, 8vw, 96px); }
.group-label { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.group-label h2 { font-size: clamp(24px, 3.4vw, 36px); }
.group-label .count { font-family: var(--font-mono); color: var(--steel); font-size: 13px; }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
  overflow: hidden;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.card:hover, .card:focus-visible { background: var(--white); color: var(--black); border-color: var(--white); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.card-title { font-size: clamp(24px, 2.6vw, 30px); }
.card-meta { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--steel); }
.card:hover .card-meta { color: #555; }
.card-lineup { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.card-more {
  margin-top: 6px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.card-more::after { content: " →"; }

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 9px;
}
.tag.outline { background: rgba(0, 0, 0, .7); color: var(--white); border: 1px solid var(--white); }

/* Datums-Block auf Event-Karten */
.date-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: var(--black);
  color: var(--white);
  padding: 10px 14px 8px;
  text-align: center;
  font-family: var(--font-cond);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
}
.date-badge .d { display: block; font-size: 38px; }
.date-badge .m { display: block; font-size: 13px; letter-spacing: .2em; }
.date-badge .y { display: block; font-size: 11px; letter-spacing: .2em; color: var(--steel); margin-top: 3px; }

.is-past .card-media img { filter: grayscale(1) contrast(1.1); }
.is-past:hover .card-media img { filter: none; }

.empty {
  border: 1px dashed var(--line);
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  gap: 16px;
  justify-items: start;
}
.empty p { margin: 0; color: var(--steel); max-width: 52ch; }
.empty strong { font-family: var(--font-cond); text-transform: uppercase; font-size: clamp(22px, 3vw, 30px); letter-spacing: .04em; color: var(--white); }

/* ---------- Modal ---------- */
dialog.modal {
  width: min(1040px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
dialog.modal::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }

.modal-inner {
  display: grid;
  grid-template-columns: 1fr;
  max-height: calc(100dvh - 26px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (min-width: 820px) {
  .modal-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); overflow: hidden; }
  .modal-inner > .modal-content { overflow-y: auto; max-height: calc(100dvh - 26px); }
}
.modal-media { background: #000; display: flex; align-items: flex-start; justify-content: center; }
.modal-media img { width: 100%; height: auto; }
@media (min-width: 820px) {
  .modal-media { max-height: calc(100dvh - 26px); overflow-y: auto; }
}
.modal-content { padding: clamp(24px, 4vw, 44px); display: grid; gap: 24px; align-content: start; }
.modal-content h2 { font-size: clamp(36px, 5vw, 60px); padding-right: 40px; }
.modal-tagline { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; font-size: 20px; letter-spacing: .04em; margin: 0; }
.modal-content p { margin: 0; }
.prose { display: grid; gap: 14px; color: #d4d4d0; }

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--white);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
}
.modal-close:hover { background: var(--white); color: var(--black); }
.modal-close svg { width: 20px; height: 20px; }

.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); padding-top: 3px; }
.facts dd { margin: 0; }
.facts dd a { text-underline-offset: 3px; }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

.lineup { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lineup li { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: .03em; line-height: 1.2; }
.lineup .live { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--steel); margin-left: 8px; vertical-align: middle; text-transform: lowercase; }
.lineup a { text-decoration: none; border-bottom: 1px solid var(--steel); }
.lineup a:hover { border-color: var(--white); }

.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.info-list li { border: 1px solid var(--line); padding: 5px 10px; font-family: var(--font-mono); font-size: 13px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.history { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.history li { border-bottom: 1px solid var(--line); }
.history a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; text-decoration: none; }
.history a:hover { color: var(--steel); }
.history .when { font-family: var(--font-mono); font-size: 13px; color: var(--steel); white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--steel); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; padding-bottom: 96px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { color: #d4d4d0; }
.todo { background: #fff3a8; color: #000; padding: 0 4px; font-family: var(--font-mono); font-size: .9em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.site-footer .credit { flex-basis: 100%; margin: 4px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .04em; }
.site-footer .credit a { color: var(--white); }
.site-footer .credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
