/* =========================================================
   W1 Tickets – Design-System
   Clean · minimal · durchsichtig (Glas) · hell & dunkel
   ========================================================= */
:root {
  --bg: #f5f5f7;
  --bg-elev: #ffffff;
  --text: #1d1d1f;
  --text-2: #424245;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 1px 1px rgba(0,0,0,.02), 0 8px 32px rgba(0, 0, 0, 0.08);
  --fill: rgba(120, 120, 128, 0.12);
  --fill-2: rgba(120, 120, 128, 0.2);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --green: #34c759;
  --red: #ff3b30;
  --orange: #ff9f0a;
  --radius: 22px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --nav-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elev: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #d2d2d7;
    --text-3: #8e8e93;
    --line: rgba(255, 255, 255, 0.1);
    --glass: rgba(30, 30, 32, 0.55);
    --glass-strong: rgba(30, 30, 32, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    --fill: rgba(120, 120, 128, 0.24);
    --fill-2: rgba(120, 120, 128, 0.32);
    --accent: #2997ff;
    --accent-hover: #47a6ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Ambient-Hintergrund (für Glas-Effekt) ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.ambient span:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: #a5b4fc; }
.ambient span:nth-child(2) { width: 46vw; height: 46vw; right: -12vw; top: 8vh; background: #f9a8d4; opacity: .38; }
.ambient span:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; top: 55vh; background: #7dd3fc; opacity: .32; }
@media (prefers-color-scheme: dark) { .ambient span { opacity: 0.22 !important; } }

/* ---------- Glas ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1080px; margin: 0 auto; height: 100%; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 24px; }
.brand small { color: var(--text-3); font-weight: 400; }
.nav-links { display: flex; gap: 22px; font-size: 13px; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Layout ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 640px; }
.section { padding-top: 48px; padding-bottom: 48px; }

.hero { padding-top: 96px; padding-bottom: 40px; text-align: center; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.headline { font-size: clamp(44px, 8vw, 80px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.headline .grad { background: linear-gradient(90deg, #5e5ce6, #bf5af2 45%, #ff375f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subhead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; color: var(--text-3); font-weight: 500; margin: 18px auto 0; max-width: 620px; letter-spacing: -0.015em; }

h1, h2, h3 { letter-spacing: -0.028em; }
.title-lg { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 700; margin: 0; }
.title-md { font-size: 28px; line-height: 1.14; font-weight: 700; margin: 0; }
.muted { color: var(--text-3); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }

/* ---------- Buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  background: var(--accent); color: #fff; transition: background .2s var(--ease), transform .15s var(--ease), opacity .2s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 17px; font-weight: 600; }
.btn-block { width: 100%; }
.btn-secondary { background: var(--fill); color: var(--text); }
.btn-secondary:hover { background: var(--fill-2); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #222; }
@media (prefers-color-scheme: dark) { .btn-dark { background: #fff; color: #000; } .btn-dark:hover { background: #e5e5ea; } }
.btn-danger { background: transparent; color: var(--red); }
.btn-danger:hover { background: color-mix(in srgb, var(--red) 12%, transparent); }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 14px; }
.btn-icon { width: 44px; padding: 0; }
.link-btn { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; font-size: inherit; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Event-Karten ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 34px; }
.chip { border: 0; cursor: pointer; padding: 8px 16px; border-radius: 980px; font-size: 14px; background: var(--fill); color: var(--text); transition: background .2s; }
.chip:hover { background: var(--fill-2); }
.chip.active { background: var(--text); color: var(--bg); }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  color: var(--text); text-decoration: none !important; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 20px 50px rgba(0,0,0,.14); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .art { position: absolute; inset: 0; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55)); }
.card-date {
  position: absolute; top: 16px; left: 16px; z-index: 2; text-align: center; min-width: 56px; padding: 8px 10px; border-radius: 16px;
  background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.3); line-height: 1.1;
}
.card-date b { display: block; font-size: 24px; letter-spacing: -0.03em; }
.card-date span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.card-badge { position: absolute; top: 16px; right: 16px; z-index: 2; }
.card-title { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; }
.card-title .genre { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.card-title h3 { margin: 2px 0 0; font-size: 26px; line-height: 1.12; font-weight: 700; }
.card-body { padding: 16px 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--glass-strong); }
.card-body p { margin: 0; font-size: 14px; color: var(--text-3); }
.card-body .price { font-weight: 600; font-size: 17px; color: var(--text); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 980px; font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.pill-light { background: rgba(255,255,255,.9); color: #1d1d1f; }
.pill-red { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.pill-orange { background: color-mix(in srgb, var(--orange) 16%, transparent); color: #c27400; }
.pill-green { background: color-mix(in srgb, var(--green) 16%, transparent); color: #1f8f3a; }
.pill-gray { background: var(--fill); color: var(--text-2); }
@media (prefers-color-scheme: dark) { .pill-orange { color: var(--orange); } .pill-green { color: var(--green); } }

.art-gradient { background: radial-gradient(120% 90% at 10% 10%, color-mix(in srgb, var(--c) 60%, #fff) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 55%, #000) 100%); }
.art-gradient::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(50% 50% at 85% 20%, rgba(255,255,255,.55), transparent 70%), radial-gradient(40% 50% at 20% 90%, rgba(255,255,255,.25), transparent 70%);
}

.empty { text-align: center; padding: 80px 20px; color: var(--text-3); }
.empty h3 { color: var(--text); margin: 0 0 6px; }

/* ---------- Event-Detail ---------- */
.event-hero { position: relative; height: min(62vh, 560px); min-height: 380px; overflow: hidden; color: #fff; }
.event-hero img, .event-hero .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.65) 100%); }
.event-hero .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 44px; }
.event-hero .genre { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.event-hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; margin: 6px 0 8px; }
.event-hero p { font-size: clamp(18px, 2.2vw, 22px); margin: 0; opacity: .9; font-weight: 500; }

.event-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding: 40px 22px 80px; }
@media (max-width: 900px) { .event-layout { grid-template-columns: 1fr; gap: 28px; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 32px; }
.fact { padding: 16px 18px; border-radius: 18px; }
.fact span { display: block; font-size: 12px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.fact b { font-size: 17px; font-weight: 600; }
.prose { font-size: 19px; line-height: 1.55; color: var(--text-2); white-space: pre-line; }

.buy { position: sticky; top: calc(var(--nav-h) + 20px); border-radius: var(--radius-lg); padding: 26px; }
.buy h2 { margin: 0 0 4px; font-size: 24px; }
.buy-price { font-size: 15px; color: var(--text-3); margin: 0 0 20px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--fill); border-radius: 980px; padding: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-elev); cursor: pointer; font-size: 20px; line-height: 1; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .1s; }
.stepper button:active { transform: scale(.92); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 34px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.divider { height: 1px; background: var(--line); margin: 20px 0; border: 0; }
.total { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Formulare ---------- */
.field { display: block; margin: 0 0 12px; }
.field > span { display: block; font-size: 13px; color: var(--text-3); margin: 0 0 6px 4px; font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent); outline: none; transition: border-color .2s, box-shadow .2s; font-size: 17px;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.45; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin: 14px 0 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.form-error { color: var(--red); font-size: 14px; margin: 10px 0 0; min-height: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Tickets ---------- */
.tickets-wrap { padding: 40px 0 80px; }
.success-head { text-align: center; margin: 20px 0 36px; }
.check-anim { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); display: grid; place-items: center; animation: pop .5s var(--ease) both; }
.check-anim svg { width: 36px; height: 36px; stroke: #fff; stroke-width: 3.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .25s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.ticket-list { display: grid; gap: 28px; }
.ticket {
  border-radius: var(--radius-lg); overflow: hidden; color: #fff; position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.ticket-top { position: relative; padding: 22px 24px 20px; }
.ticket-top .art { position: absolute; inset: 0; }
.ticket-top > *:not(.art) { position: relative; }
.ticket-brand { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; opacity: .92; }
.ticket-brand svg { width: 34px; height: 24px; }
.ticket-name { font-size: 30px; line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; margin: 22px 0 18px; }
.ticket-fields { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px 16px; }
.ticket-fields span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.ticket-fields b { font-size: 16px; font-weight: 600; }
.ticket-perf { position: relative; height: 0; border-top: 2px dashed rgba(255,255,255,.35); }
.ticket-bottom { padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; }
.ticket-bottom .art { position: absolute; inset: 0; filter: brightness(.82); }
.ticket-bottom > *:not(.art) { position: relative; }
.qr { width: 220px; height: 220px; padding: 16px; background: #fff; border-radius: 20px; }
.qr svg { width: 100%; height: 100%; display: block; }
.ticket-code { font-family: var(--mono); font-size: 15px; letter-spacing: .14em; opacity: .9; }
.ticket-void { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-size: 22px; font-weight: 700; }
.ticket-state { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 980px; background: rgba(255,255,255,.2); }

.wallet-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 0 0 30px; }
.wallet-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 16px; border-radius: 14px;
  background: #000; color: #fff !important; text-decoration: none !important; font-size: 15px; font-weight: 600; border: 1px solid rgba(255,255,255,.18);
  transition: transform .15s, opacity .2s;
}
.wallet-btn:active { transform: scale(.97); }
.wallet-btn svg { width: 30px; height: 24px; flex: none; }
.wallet-btn small { display: block; font-size: 11px; font-weight: 500; opacity: .8; line-height: 1.1; }
.wallet-btn span { line-height: 1.15; text-align: left; }

/* ---------- Pending / Spinner ---------- */
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--fill-2); border-top-color: var(--text); animation: spin .8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.center-box { text-align: center; padding: 120px 20px; }

/* ---------- Toast ---------- */
.toast-host { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1000; display: grid; gap: 8px; pointer-events: none; }
.toast { padding: 12px 20px; border-radius: 980px; font-size: 15px; font-weight: 500; animation: toast-in .35s var(--ease) both; text-align: center; }
.toast.error { color: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 12px; color: var(--text-3); }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { color: var(--text-2); margin-left: 18px; }
.footer a:first-child { margin-left: 0; }

/* ---------- Login ---------- */
.auth { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 380px; padding: 36px 30px; border-radius: var(--radius-lg); text-align: center; }
.auth-card .logo-big { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px; background: var(--text); color: var(--bg); display: grid; place-items: center; }
.auth-card .logo-big svg { width: 42px; height: 30px; }
.auth-card form { text-align: left; margin-top: 24px; }

/* ---------- Demo-Pay-Sheet ---------- */
.sheet-wrap { min-height: 100vh; display: grid; place-items: end center; padding: 20px; }
@media (min-width: 600px) { .sheet-wrap { place-items: center; } }
.sheet { width: 100%; max-width: 420px; border-radius: var(--radius-lg); padding: 28px; }

/* ---------- Legal ---------- */
.legal h1 { margin: 60px 0 24px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p { color: var(--text-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Fade-in für Inhalte */
.reveal { animation: reveal .7s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } }

/* =========================================================
   v2: Highlights, Event-Liste, Zeitfenster, Live
   ========================================================= */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.link-arrow { font-size: 15px; font-weight: 500; }
.link-arrow::after { content: " ›"; }
.clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* Highlights: großes Hauptevent + zwei daneben */
.featured { display: grid; gap: 22px; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
.featured .card-hero { grid-row: span 2; }
.featured .card-hero .card-media { aspect-ratio: auto; flex: 1; min-height: 420px; }
.featured .card-hero .card-title h3 { font-size: clamp(30px, 3.4vw, 40px); }
.featured .card:not(.card-hero) .card-media { aspect-ratio: 16 / 9; }
@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; }
  .featured .card-hero { grid-row: auto; }
  .featured .card-hero .card-media { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
}
.card-body .btn { pointer-events: none; }

.more-wrap { text-align: center; margin: 40px 0 0; }
.more-btn { min-width: 280px; }
.more-wrap p { margin: 12px 0 0; }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px; border-radius: var(--radius); }
.step b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 15px; }
.step h3 { margin: 14px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--text-3); font-size: 15px; line-height: 1.45; }

/* Live */
.pill-live { background: var(--green); color: #fff; }
.live-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-radius: 18px; color: var(--text) !important; text-decoration: none !important; font-size: 15px; margin-top: 8px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,199,89,.6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }
.live-occ { margin-left: auto; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---------- Liste aller Events ---------- */
.list-page { padding-top: 48px; padding-bottom: 80px; max-width: 860px; }
.list-head { margin-bottom: 22px; }
.list-head p { margin: 6px 0 0; }
.list-tools { position: sticky; top: var(--nav-h); z-index: 10; padding: 12px 0; margin: 0 -4px 8px; background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 46px; border-radius: 14px; margin: 0 4px 10px; }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--text-3); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; min-width: 0; }
.filters-left { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 2px 4px; scrollbar-width: none; }
.filters-left::-webkit-scrollbar { display: none; }
.filters-left .chip { flex: none; }
.day-group { margin: 22px 0 0; }
.day-label { font-size: 15px; font-weight: 600; color: var(--text-3); margin: 0 0 8px 6px; letter-spacing: -0.01em; }
.row-list { border-radius: 18px; overflow: hidden; }
.row-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--text) !important; text-decoration: none !important; border-bottom: 1px solid var(--line); transition: background .15s; }
.row-item:last-child { border-bottom: 0; }
.row-item:hover { background: var(--fill); }
.row-time { width: 92px; flex: none; line-height: 1.2; }
.row-time b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.row-time span { font-size: 11px; color: var(--text-3); }
.row-dot { width: 4px; align-self: stretch; border-radius: 2px; flex: none; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 16px; font-weight: 600; line-height: 1.3; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-sub { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.row-cta { flex: none; font-size: 13px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 6px 12px; border-radius: 980px; }
@media (max-width: 520px) { .row-time { width: 68px; } .row-time span { display: none; } .row-cta { display: none; } }

/* ---------- Kauf: Schritte & Zeitfenster ---------- */
.buy-step { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin: 18px 0 10px; }
.buy-step:first-of-type { margin-top: 4px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot {
  border: 1.5px solid var(--line); background: color-mix(in srgb, var(--bg-elev) 70%, transparent); border-radius: 14px; padding: 10px 6px; cursor: pointer; text-align: center;
  transition: border-color .15s, background .15s, transform .1s; line-height: 1.2;
}
.slot b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.slot small { font-size: 11px; color: var(--text-3); }
.slot:hover:not(:disabled) { border-color: var(--accent); }
.slot:active:not(:disabled) { transform: scale(.97); }
.slot.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.slot.selected small { color: var(--accent); }
.slot.low small { color: var(--orange); }
.slot:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.slot-hint { font-size: 13px; color: var(--text-3); margin: 8px 2px 0; }

.event-live { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font-size: 14px; margin: 0 0 20px; background: color-mix(in srgb, var(--green) 12%, transparent); }
.event-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.ticket-slot { display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border-radius: 980px; background: rgba(255,255,255,.22); font-weight: 600; font-size: 15px; margin-top: 14px; }

/* Auf dem Handy: Buchung direkt unter dem Titelbild, Beschreibung danach */
@media (max-width: 900px) {
  .event-layout aside { order: -1; }
  .buy { position: static; }
}
