/* Schriften lokal gehostet (keine Verbindung zu Google) */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-tight-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/space-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/space-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #121212;
  --bg-2: #1b1b1a;
  --ink: #e8e6e1;
  --ink-dim: #8d8a84;
  --line: #2d2d2d;
  --lime: #cfff3d;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; }
.lime { color: var(--lime); }
.dim { color: var(--ink-dim); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad);
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.nav .brand img { width: 28px; height: 28px; }
.nav ul { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav ul a { text-decoration: none; }
.nav ul a:hover { color: var(--lime); }
@media (max-width: 900px) { .nav ul li:not(:last-child) { display: none; } }

/* ── Hero ────────────────────────────────────────── */
.hero { padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 110px); }
.hero-meta { display: flex; justify-content: space-between; margin-bottom: clamp(24px, 5vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-logo { width: 100%; max-width: 520px; justify-self: center; color: var(--ink); }
.hero-logo .orbit { transform-origin: 100px 100px; animation: orbit 14s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-logo .orbit { animation: none; } }

.wordmark {
  font-weight: 800;
  font-size: clamp(4.2rem, 13vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: -0.055em;
  margin-bottom: 28px;
}
.hero p.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 30ch; color: var(--ink); }
.hero p.lede strong { color: var(--lime); font-weight: 700; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--mono); text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.04em;
  text-decoration: none; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; transition: background .15s, color .15s, transform .1s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.primary { background: var(--lime); border-color: var(--lime); color: var(--bg); font-weight: 700; }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn:active { transform: scale(0.97); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { max-width: 300px; order: -1; }
}

/* ── Sections ────────────────────────────────────── */
section { border-top: 1px solid var(--line); padding: clamp(56px, 9vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(28px, 5vw, 56px); gap: 16px; }
h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }

/* Event-Karte im Poster-Stil */
.event-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-2);
}
.event-card .left, .event-card .right { padding: clamp(24px, 4vw, 44px); }
.event-card .left { border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.event-date { font-size: clamp(3.4rem, 8vw, 6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.lineup { list-style: none; text-align: right; }
.lineup li { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.lineup a { text-decoration: none; }
.lineup a:hover { color: var(--lime); }
.right .group + .group { margin-top: 26px; }
.right .group .mono { margin-bottom: 6px; text-align: right; }
.event-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 18px clamp(24px, 4vw, 44px); grid-column: 1 / -1; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card .left { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Konzept */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.step { background: var(--bg); padding: clamp(24px, 3.5vw, 40px); }
.step .num { font-family: var(--mono); color: var(--lime); margin-bottom: 40px; }
.step h3 { font-size: 1.6rem; letter-spacing: -0.03em; margin-bottom: 10px; }
.step p { color: var(--ink-dim); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ── Voting-Seite ────────────────────────────────── */
.vote-page { min-height: 100svh; display: flex; flex-direction: column; }
.vote-head { padding: 22px var(--pad) 0; display: flex; justify-content: space-between; align-items: center; }
.vote-head img { width: 40px; height: 40px; }
.vote-main { flex: 1; padding: 28px var(--pad) 40px; max-width: 560px; width: 100%; margin: 0 auto; }
.vote-main h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.92; margin: 10px 0 14px; }
.vote-main .sub { color: var(--ink-dim); margin-bottom: 28px; }
.vote-submit { width: 100%; justify-content: center; margin-top: 22px; padding: 18px; font-size: 0.95rem; }
.vote-submit:disabled { background: var(--bg-2); border-color: var(--line); color: var(--ink-dim); cursor: not-allowed; }
.notice { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: var(--bg-2); }
.notice h2 { font-size: 2rem; margin-bottom: 8px; }
.notice p { color: var(--ink-dim); }
.demo-flag { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%); background: #3a2f00; color: #ffd84a; border-radius: 999px; padding: 6px 14px; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; white-space: nowrap; }

/* ── Live-Ergebnis (Beamer) ──────────────────────── */
.results-page { min-height: 100vh; padding: 4vh 5vw; display: grid; grid-template-rows: auto 1fr auto; gap: 4vh; }
.results-top { display: flex; justify-content: space-between; align-items: flex-start; }
.results-top h1 { font-size: 7vw; font-weight: 800; letter-spacing: -0.055em; line-height: 0.85; }
.results-bars { display: grid; align-content: center; gap: 3.2vh; }
.bar-row { display: grid; grid-template-columns: 26vw 1fr 9vw; align-items: center; gap: 2vw; }
.bar-row .name { font-size: 3.4vw; font-weight: 800; letter-spacing: -0.04em; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 7vh; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--ink); border-radius: 999px; transition: width 0.9s cubic-bezier(.2,.8,.2,1); }
.bar-row.lead .bar-fill { background: var(--lime); }
.bar-row .pct { font-family: var(--mono); font-size: 2.4vw; }
.results-foot { display: flex; justify-content: space-between; align-items: flex-end; }
.qr-box { display: flex; gap: 2vw; align-items: center; }
.qr-box .qr { background: var(--ink); padding: 10px; border-radius: 12px; width: 15vh; height: 15vh; }
.qr-box .qr img, .qr-box .qr canvas, .qr-box .qr svg { width: 100%; height: 100%; }
.results-foot .mono { font-size: 1.4vw; }

/* Sprachumschalter */
.lang { display: flex; gap: 6px; align-items: center; }
.lang button { background: none; border: 0; color: var(--ink-dim); font: inherit; cursor: pointer; padding: 2px; }
.lang button[aria-pressed="true"] { color: var(--lime); }
.lang button:hover { color: var(--ink); }
.hero-logo img { width: 100%; height: auto; }

/* Nach dem Voting */
.stay { margin-top: 28px; }
.next-mini { display: grid; gap: 4px; margin-top: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; background: var(--bg-2); }
.next-mini strong { font-size: 1.3rem; letter-spacing: -0.02em; }
.next-mini:hover { border-color: var(--lime); }

/* ── Rad (Genre-Spiel) ───────────────────────────── */
.wheel { width: 100%; height: auto; display: block; user-select: none; -webkit-tap-highlight-color: transparent; }
.wheel .w-arc { fill: none; stroke: #3a3a38; stroke-width: 14; stroke-linecap: round; transition: stroke .3s; }
.wheel .w-arc.on { stroke: var(--lime); }
.wheel .w-label { font-family: var(--sans); font-weight: 800; font-size: 68px; letter-spacing: -0.02em; fill: #8d8a84; transition: fill .3s; }
.wheel .w-label.on { fill: var(--lime); }
.wheel .w-hit { fill: transparent; cursor: pointer; }
.wheel .w-center { fill: transparent; cursor: pointer; }
.wheel.spinning .w-label { fill: #5a5955; }

/* ── Das Spiel ───────────────────────────────────── */
.game { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.game-title { font-family: var(--mono); font-weight: 700; text-transform: uppercase; color: var(--lime); font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: 0.02em; margin: 10px 0 22px; }
.game p { font-family: var(--mono); font-size: clamp(.95rem, 1.3vw, 1.08rem); line-height: 1.6; max-width: 44ch; margin-bottom: 14px; }
.game-drink { display: block; font-family: var(--mono); font-weight: 700; text-transform: uppercase; color: var(--lime); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin-top: 10px; }
.game-wheel { max-width: 460px; width: 100%; justify-self: center; }
@media (max-width: 800px) { .game { grid-template-columns: 1fr; } }

/* ── Archiv ──────────────────────────────────────── */
#archive-list { display: grid; gap: 22px; }
.arch { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.arch-head, .arch-foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; flex-wrap: wrap; }
.arch-head { border-bottom: 1px solid var(--line); }
.arch-foot { border-top: 1px solid var(--line); }
.arch-body { display: grid; grid-template-columns: 240px 1fr; gap: 22px; padding: 22px; }
.arch-poster img { width: 100%; border-radius: 10px; display: block; transition: transform .2s; }
.arch-poster:hover img { transform: scale(1.02); }
.arch-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; align-content: start; }
.person { margin: 0; }
.person img, .person .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; display: block; filter: grayscale(1); background: var(--bg); transition: filter .3s; }
.person:hover img { filter: none; }
.person figcaption { display: grid; gap: 2px; margin-top: 8px; }
.person strong { font-size: 1.05rem; letter-spacing: -0.02em; }
.person a { text-decoration: none; } .person a:hover { color: var(--lime); }
.empty { color: var(--ink-dim); padding: 24px 0; }
@media (max-width: 700px) { .arch-body { grid-template-columns: 1fr; } .arch-poster { max-width: 260px; } .arch-people { grid-template-columns: repeat(2, 1fr); } }

/* ── Für Künstler:innen ──────────────────────────── */
.artists { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.artists h2 { margin: 10px 0 18px; }
.artists-p { font-size: 1.15rem; max-width: 46ch; color: var(--ink); }
.artists-p strong { color: var(--lime); }
.artist-steps { list-style: none; display: grid; gap: 14px; margin: 28px 0 8px; }
.artist-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-family: var(--mono); font-size: .92rem; }
.artist-steps .n { width: 26px; height: 26px; border-radius: 6px; background: var(--lime); color: var(--bg); display: grid; place-items: center; font-weight: 700; }
.artists-side { display: grid; gap: 16px; }
.qr-card { display: grid; justify-items: center; gap: 12px; padding: 22px; border: 2px solid var(--lime); border-radius: 18px; text-decoration: none; background: var(--bg-2); }
.qr-card .qr, .support-qr .qr { background: var(--ink); padding: 12px; border-radius: 12px; width: 190px; height: 190px; }
.qr svg { width: 100%; height: 100%; display: block; }
.video-slot { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border: 1px dashed var(--line); border-radius: 18px; }
.video-slot .play { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink-dim); position: relative; flex: none; }
.video-slot .play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--ink-dim); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
@media (max-width: 800px) { .artists { grid-template-columns: 1fr; } }

/* ── Unterstützen ────────────────────────────────── */
.support { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.support p { color: var(--ink-dim); font-size: 1.1rem; max-width: 44ch; margin-top: 16px; }
.support-qr { display: grid; justify-items: center; gap: 10px; }
.donate-range { font-family: var(--mono); font-size: 1.6rem; }
@media (max-width: 760px) { .support { grid-template-columns: 1fr; } }

/* ── Abstimmung / Ticket ─────────────────────────── */
.vote-brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.vote-brand img { width: 30px; height: 30px; }
.vote-wheel { max-width: 400px; margin: 4px auto 0; }
.ticket { margin-top: 22px; border: 2px solid var(--line); border-radius: 22px; padding: 22px; background: var(--bg-2); position: relative; overflow: hidden; }
.ticket.won { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(207,255,61,.12); animation: glow 1.6s ease-in-out infinite; }
.ticket.lost { opacity: .85; }
@keyframes glow { 50% { box-shadow: 0 0 0 10px rgba(207,255,61,.05); } }
.ticket-top { display: flex; justify-content: space-between; align-items: center; color: var(--ink-dim); }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.ticket-genre { font-family: var(--mono); font-weight: 700; text-transform: uppercase; color: var(--lime); font-size: clamp(3.4rem, 18vw, 5rem); line-height: 1; margin: 18px 0 6px; letter-spacing: 0.02em; }
.ticket-code { color: var(--ink); font-size: .95rem; }
.ticket-status { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.ticket-status h2 { font-family: var(--mono); text-transform: uppercase; font-size: 2.2rem; margin-bottom: 6px; }
.ticket-status p { color: var(--ink-dim); } .ticket-status strong { color: var(--ink); text-transform: uppercase; }
.ticket-clock { margin-top: 14px; color: var(--ink-dim); font-size: .75rem; }
.bar-row .name.genre { font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; }

/* ── Instagram-Buttons ───────────────────────────── */
.ig { width: 18px; height: 18px; flex: none; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: color .15s, border-color .15s, background .15s; }
.icon-btn:hover { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.nav-ig { display: block !important; }
.ig-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 8px 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-family: var(--mono); font-size: .8rem; color: var(--ink); transition: border-color .15s; }
.ig-pill:hover { border-color: var(--lime); }
.ig-pill .ig-follow { background: var(--lime); color: var(--bg); border-radius: 999px; padding: 5px 12px; font-weight: 700; text-transform: uppercase; font-size: .72rem; }
.btn .ig { width: 16px; height: 16px; }

/* ── Locations ───────────────────────────────────── */
.venues { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 6vw, 80px); align-items: end; }
.venues h2 { margin-top: 10px; }
.venues p { color: var(--ink-dim); font-size: 1.15rem; max-width: 48ch; }
@media (max-width: 760px) { .venues { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────── */
.foot { align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 26px; }
.foot-social { display: flex; align-items: center; gap: 12px; }
.foot-legal { display: flex; gap: 18px; align-items: center; }
.foot-legal a { color: var(--ink-dim); text-decoration: none; } .foot-legal a:hover { color: var(--ink); }

/* ── Anfrage-Formular ────────────────────────────── */
.apply-page { padding-top: 40px; padding-bottom: 90px; max-width: 860px; }
.apply-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 34px; }
.apply-tabs a { padding: 9px 18px; border-radius: 999px; text-decoration: none; color: var(--ink-dim); }
.apply-tabs a[aria-selected="true"] { background: var(--lime); color: var(--bg); font-weight: 700; }
.apply-title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.045em; line-height: .95; }
.apply-lede { color: var(--ink-dim); font-size: 1.1rem; margin: 14px 0 30px; max-width: 52ch; }
form.apply-form { display: grid; gap: 16px; }
.apply-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); font: inherit; font-size: 1rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); }
.field textarea { resize: vertical; }
.field input[type=file] { padding: 12px; font-size: .9rem; }
.radio-row { border: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.radio-row legend { margin-bottom: 8px; }
.radio-row label, .consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
input[type=radio], input[type=checkbox] { accent-color: var(--lime); width: 18px; height: 18px; margin-top: 2px; }
.consent { color: var(--ink-dim); font-size: .92rem; } .consent a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { color: #ff7a70; font-size: .75rem; }
.apply-done h2 { font-size: 2.6rem; }
@media (max-width: 640px) { .apply-form .grid2 { grid-template-columns: 1fr; } }

/* ── Instagram-Hinweis vor dem Spiel ─────────────── */
.vote-tools { display: flex; align-items: center; gap: 14px; }
.vote-tools .icon-btn { width: 34px; height: 34px; }
.gate { margin-top: 26px; display: grid; justify-items: start; }
.gate-logo img { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--lime); margin-bottom: 18px; }
.gate h1 { margin-top: 6px; }
.gate-btn { width: 100%; justify-content: center; padding: 18px; font-size: .9rem; margin-top: 10px; }
.gate-btn .ig { width: 18px; height: 18px; }
.gate-skip { background: none; border: 0; color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; margin: 18px auto 0; cursor: pointer; font-size: .75rem; }
