:root {
  --bg: #0b0807;
  --card: rgba(20, 13, 10, 0.82);
  --card-strong: rgba(26, 14, 10, 0.92);
  --line: #33251f;
  --line-soft: #2c211c;
  --field: #120c0a;
  --field-line: #4a3830;
  --text: #f3ece6;
  --text-2: #d8cbc2;
  --muted: #b3a398;
  --muted-2: #a8988d;
  --accent: #ff7a4d;
  --accent-soft: #ff9a73;
  --accent-pale: #ffd2bf;
  --on-accent: #1a0d07;
  --glow: rgba(255, 106, 61, 0.35);
  --font: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --script: 'Mrs Saint Delafield', 'Snell Roundhand', cursive;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 300; line-height: 1.5; }
a { color: var(--accent-soft); }
a:hover { color: #ffc2a8; }
button, input, textarea { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #ffb38f; outline-offset: 3px; }

.page { position: relative; overflow: hidden; min-height: 100vh; }
.deco { position: absolute; pointer-events: none; height: auto; }
.deco-palm, .deco-palm-left { width: clamp(110px, 18vw, 270px); opacity: 0.85; -webkit-mask-composite: source-in; mask-composite: intersect; }
.deco-palm {
  right: 0; top: 640px;
  -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 100%), linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to left, #000 45%, transparent 100%), linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.deco-palm-left {
  left: 0; top: 70px;
  -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 100%), linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to right, #000 45%, transparent 100%), linear-gradient(to bottom, #000 70%, transparent);
}
.deco-floor {
  left: 0; bottom: 0; width: clamp(260px, 34vw, 520px); opacity: 0.7;
  -webkit-mask-image: linear-gradient(to top right, #000 25%, transparent 72%);
  mask-image: linear-gradient(to top right, #000 25%, transparent 72%);
}
main { position: relative; z-index: 1; }

/* Kopfzeile */
.topbar { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 24px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.brand { font-size: 15px; font-weight: 400; letter-spacing: 0.32em; color: var(--accent); text-decoration: none; }
.pill { display: flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid rgba(255, 122, 77, 0.35); border-radius: 999px; font-size: 12px; letter-spacing: 0.14em; color: var(--text-2); }
.pill svg { color: var(--accent); }

/* Hero */
.hero { text-align: center; padding: 0 16px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 400; letter-spacing: 0.5em; padding-left: 0.5em; color: #e9dfd8; }
.hero-ball {
  display: block; width: min(72vw, 520px); height: auto; margin: 8px auto 0;
  /* Bildhintergrund kreisförmig um die Kugel in den Seitenhintergrund ausblenden */
  -webkit-mask-image: radial-gradient(circle at 48% 48%, #000 47%, transparent 62%), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 2%, #000 95%, transparent);
  -webkit-mask-composite: source-in, source-in;
  mask-image: radial-gradient(circle at 48% 48%, #000 47%, transparent 62%), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 2%, #000 95%, transparent);
  mask-composite: intersect, intersect;
}
.wordmark {
  margin: -28px 0 0; display: flex; justify-content: center; align-items: center;
  font-weight: 300; font-size: clamp(2.6rem, 9.5vw, 8.75rem); line-height: 1; letter-spacing: 0.04em; color: var(--accent);
  text-shadow: 0 0 18px rgba(255, 106, 61, 0.55), 0 0 46px rgba(255, 90, 40, 0.35);
}
.wordmark-o { width: 0.84em; height: 0.74em; margin: 0 0.03em; overflow: visible; stroke: var(--accent); stroke-width: 7; filter: drop-shadow(0 0 14px rgba(255, 106, 61, 0.6)); }
.subtitle { margin: 22px 0 0; font-size: clamp(1rem, 2.2vw, 1.75rem); font-weight: 400; letter-spacing: 0.55em; padding-left: 0.55em; color: #e9dfd8; }
.genres { margin: 36px 0 0; font-size: clamp(12px, 3.4vw, 15px); font-weight: 400; letter-spacing: 0.4em; padding-left: 0.4em; line-height: 2.2; color: #e9dfd8; }
.divider { margin: 32px auto 0; display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--accent); }
.divider span { width: clamp(60px, 14vw, 170px); height: 1px; background: rgba(255, 122, 77, 0.7); }
.divider svg { stroke-width: 1.6; }

/* Karten & Formulare */
.card { border-radius: 22px; border: 1px solid var(--line); background: var(--card); padding: 34px clamp(20px, 4vw, 36px); }
.gate-wrap { padding: 52px 16px 0; display: flex; justify-content: center; }
.gate { width: 100%; max-width: 560px; border-color: rgba(255, 122, 77, 0.35); background: rgba(22, 13, 10, 0.8); box-shadow: 0 0 80px rgba(255, 90, 40, 0.12); }
.gate form { display: flex; flex-direction: column; gap: 12px; }
.gate-title { margin: 0; text-align: center; font-size: 26px; font-weight: 400; letter-spacing: 0.02em; }
.center { text-align: center; }
.muted { margin: 0; color: var(--muted); font-size: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.label { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: var(--text-2); }
.label-note { font-weight: 300; letter-spacing: 0.04em; color: var(--muted-2); }
.input { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--field-line); background: var(--field); color: var(--text); font-size: 16px; }
.input::placeholder { color: #8f7d72; }
.input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.input-code { height: 64px; font-family: var(--mono); font-size: clamp(18px, 5vw, 22px); letter-spacing: 0.16em; text-align: center; color: #ffe3d6; text-transform: uppercase; }
.error { margin: 0; font-size: 14px; color: var(--accent-soft); }
.hint { margin: 6px 0 0; font-size: 14px; color: var(--muted-2); text-align: center; }
.fine { margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; cursor: pointer; text-decoration: none; font-size: 15px; font-weight: 500; }
.btn-primary { height: 56px; margin-top: 8px; border: 0; background: var(--accent); color: var(--on-accent); font-weight: 600; letter-spacing: 0.16em; box-shadow: 0 0 30px var(--glow); }
.btn-primary:hover { background: #ff8a61; color: var(--on-accent); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { border: 1px solid var(--accent); background: transparent; color: #ffb38f; }
.btn-ghost:hover { background: rgba(255, 122, 77, 0.1); color: #ffc2a8; }
.btn-fill { border: 0; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn-fill:hover { color: var(--on-accent); background: #ff8a61; }
.btn-small { min-height: 44px; border-radius: 12px; font-size: 14px; }
.text-btn { margin-top: 18px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }

.gate-ok { display: flex; align-items: center; gap: 16px; }
.gate-ok h2 { margin: 0; font-size: 20px; font-weight: 400; }
.gate-ok p { font-size: 15px; }
.gate-ok .mono { font-family: var(--mono); color: var(--accent-pale); }
.check-ring { flex: none; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 122, 77, 0.14); border: 1px solid rgba(255, 122, 77, 0.5); color: var(--accent); }
.check-ring svg { stroke-width: 2; }

/* Teaser (gesperrt) */
.teaser { max-width: 1100px; margin: 0 auto; padding: 44px 16px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.teaser-card { padding: 22px; border-radius: 18px; border: 1px solid var(--line-soft); background: rgba(18, 12, 10, 0.7); display: flex; flex-direction: column; gap: 14px; }
.teaser-head { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); font-size: 13px; letter-spacing: 0.2em; }
.dim { color: #8f7d72; }
.bar { height: 14px; border-radius: 7px; background: #2a1f1a; }
.bar:nth-of-type(3) { background: #231a16; }
.w45 { width: 45%; } .w50 { width: 50%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w80 { width: 80%; }
.teaser-note { margin: 18px 0 0; padding: 0 16px; text-align: center; font-size: 14px; letter-spacing: 0.06em; color: var(--muted-2); }

/* Details */
.details { max-width: 1100px; margin: 0 auto; padding: 60px 16px 0; }
.section-title { margin: 0; text-align: center; font-size: 15px; font-weight: 500; letter-spacing: 0.4em; padding-left: 0.4em; color: var(--accent); }
.detail-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.detail-card { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.detail-card.accent { border-color: rgba(255, 122, 77, 0.45); background: rgba(40, 18, 10, 0.8); }
.detail-card .icon { color: var(--accent); stroke-width: 1.6; margin-bottom: 4px; }
.detail-label { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: var(--muted); }
.detail-value { font-size: 20px; font-weight: 400; overflow-wrap: anywhere; }
.detail-sub { font-size: 15px; color: #c9bcb3; white-space: pre-line; overflow-wrap: anywhere; }
.detail-link { font-size: 15px; margin-top: 2px; }
.event-notes { margin: 20px auto 0; max-width: 760px; text-align: center; font-size: 16px; color: var(--muted); white-space: pre-line; }

/* Buchung */
.booking { max-width: 1100px; margin: 0 auto; padding: 44px 16px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px; align-items: start; }
.booking h3 { margin: 0; font-size: 26px; font-weight: 400; }
.expect .muted { margin-top: 10px; line-height: 1.6; }
.checks { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { color: var(--accent); stroke-width: 1.8; margin-top: 2px; }
.checks strong { display: block; font-size: 17px; font-weight: 400; }
.checks span { display: block; margin-top: 2px; font-size: 15px; color: var(--muted-2); }
.marks { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--field-line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.mark { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; box-shadow: inset 0 0 0 4px #160d0a, inset 0 0 0 5px rgba(255, 122, 77, 0.5); }
.marks span { font-size: 15px; color: var(--muted); }

.reserve { border-color: rgba(255, 122, 77, 0.45); background: var(--card-strong); box-shadow: 0 0 80px rgba(255, 90, 40, 0.1); display: flex; flex-direction: column; gap: 10px; }
.capacity { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; font-size: 14px; color: #c9bcb3; }
.accent-text { color: var(--accent-soft); }
.capacity-bar { height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; margin-bottom: 8px; }
.capacity-bar div { height: 100%; width: 0; background: var(--accent); transition: width 0.6s ease; }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.checkbox { margin-top: 10px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #c9bcb3; cursor: pointer; }
.checkbox input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }

.done { border-color: rgba(255, 122, 77, 0.55); background: rgba(30, 15, 10, 0.92); box-shadow: 0 0 90px rgba(255, 90, 40, 0.16); display: flex; flex-direction: column; }
.check-solid { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); }
.check-solid svg { stroke-width: 2.2; }
.done h3 { margin-top: 20px; font-size: 28px; }
.done > .muted { margin-top: 8px; font-size: 15px; }
.done > .error { margin-top: 12px; }
.done-block { margin-top: 24px; padding-top: 22px; border-top: 1px dashed #5a463d; }
.code-item { margin-top: 12px; }
.code-box { padding: 16px; border-radius: 14px; border: 1px solid #5a463d; background: var(--field); text-align: center; font-family: var(--mono); font-size: clamp(19px, 5vw, 28px); letter-spacing: 0.14em; color: var(--accent-pale); }
.code-box.is-used, .code-box.is-blocked { color: #8f7d72; text-decoration: line-through; text-decoration-thickness: 1px; }
.code-status { margin-top: 8px; font-size: 14px; color: var(--muted-2); text-align: center; }
.code-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.code-actions .btn { flex: 1 1 140px; }
.cancelled-text { margin: 12px 0 0; font-size: 15px; color: var(--text-2); }
.btn-quiet-danger { min-height: 44px; padding: 0; border: 0; background: none; color: #ff9b9b; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; justify-content: flex-start; }
.btn-quiet-danger:hover { color: #ffc2c2; }
.btn-danger { border: 1px solid #ff9b9b; background: rgba(255, 107, 107, 0.12); color: #ffc2c2; font-weight: 600; }
.btn-danger:hover { background: rgba(255, 107, 107, 0.2); color: #ffd6d6; }
.cancel-panel { margin-top: 6px; padding: 18px; border-radius: 14px; border: 1px solid rgba(255, 155, 155, 0.35); background: rgba(255, 107, 107, 0.05); }
.cancel-panel h4 { margin: 0; font-size: 17px; font-weight: 400; }
.cancel-points { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: #c9bcb3; }
.cancel-panel .error { margin-top: 10px; }
.link-row { margin-top: 12px; display: flex; gap: 10px; }
.input-link { height: 44px; font-family: var(--mono); font-size: 13px; color: #c9bcb3; min-width: 0; }

/* Tagline & Footer */
.tagline { padding: 84px 16px 0; display: flex; justify-content: center; }
.tagline div { transform: rotate(-8deg); font-family: var(--script); font-size: clamp(40px, 5vw, 58px); line-height: 1.05; color: #ff8a5c; text-align: center; }
.footer { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 96px 20px 36px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted-2); }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer a { display: inline-block; padding: 10px 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 12px; background: #2a1f1a; border: 1px solid var(--field-line); color: var(--text); font-size: 15px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 10; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Rechtstexte */
.legal-main { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 24px 20px 80px; }
.legal-main h1 { font-weight: 400; font-size: 34px; }
.legal-text { white-space: pre-line; color: var(--text-2); line-height: 1.7; }

@media (max-width: 560px) {
  .wordmark { margin-top: -10px; }
  .deco-palm { top: 560px; opacity: 0.5; }
  .deco-palm-left { top: 60px; opacity: 0.5; }
  .gate-title { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .capacity-bar div, .toast { transition: none; }
}
