/* Workshop-Anmeldung /workshops1 — Cinema-Dark wie /tickets/ */
:root {
  --bg: #050507;
  --card: #0E0E12;
  --card-2: #16161C;
  --text: #F2F0EA;
  --muted: rgba(242, 240, 234, 0.7);
  --faint: rgba(242, 240, 234, 0.45);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.2);
  --accent: #4DECDC;
  --accent-ink: #050507;
  --hl: #FFC857;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Anton', 'Bebas Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; padding-bottom: 76px; }
a { color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wsp { max-width: 760px; margin: 0 auto; padding: 28px 24px 48px; }

.wsp-back { display: inline-flex; gap: 8px; color: var(--muted); text-decoration: none; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 32px; }
.wsp-back:hover { color: var(--accent); }

/* ---------- Kopf ---------- */
.wsp-head { text-align: center; margin-bottom: 28px; }
.wsp-eyebrow { display: inline-block; font-size: 11px; letter-spacing: .26em; color: var(--accent); font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.wsp-h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(42px, 7vw, 80px); line-height: .95; letter-spacing: -.02em; margin: 0 0 16px; }
.wsp-h1 em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; text-transform: none; color: var(--accent); letter-spacing: -.025em; }
.wsp-sub { margin: 0 auto 12px; max-width: 600px; color: var(--muted); font-size: 16.5px; }
.wsp-sub strong { color: var(--text); }
.wsp-info { list-style: none; max-width: 600px; margin: 0 auto 14px; padding: 14px 18px; display: grid; gap: 8px; text-align: left; font-size: 14.5px; color: var(--muted); background: var(--card); border: 1px solid rgba(77, 236, 220, .35); border-radius: 14px; }
.wsp-info li { padding-left: 22px; position: relative; }
.wsp-info li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.wsp-info strong { color: var(--text); }
.wsp-fine { margin: 0; font-size: 13px; color: var(--faint); }

/* ---------- Tag & Slot ---------- */
.wsp-day { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 34px; letter-spacing: .01em; margin: 40px 0 12px; }
.wsp-day span { font-family: var(--font-mono); font-size: 14px; color: var(--faint); letter-spacing: 0; margin-left: 6px; }

.wsp-slot { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 14px; }
.wsp-slot.is-done { border-color: rgba(77, 236, 220, .45); }
.wsp-slot.is-blocked .wsp-opts { opacity: .45; }
.wsp-slot-hack { border-style: dashed; }
.wsp-slot-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.wsp-slot-lbl { font-weight: 700; font-size: 17px; }
.wsp-slot-time { font-family: var(--font-mono); font-size: 15px; color: var(--accent); font-weight: 600; }
.wsp-slot-note { margin: -4px 0 12px; font-size: 13.5px; color: var(--muted); }

.wsp-stage { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 13px; }
.wsp-stage-lbl { width: 100%; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.wsp-kn { padding: 3px 10px; border-radius: 999px; background: var(--card-2); color: var(--muted); }
.wsp-kn small { font-size: 12px; opacity: .8; }
.wsp-kn.is-hl { background: rgba(255, 200, 87, .12); color: var(--hl); box-shadow: inset 0 0 0 1px rgba(255, 200, 87, .4); }
.wsp-kn b { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; margin-right: 2px; }

/* ---------- Optionen ---------- */
.wsp-opts { display: grid; gap: 8px; }
.wsp-opt {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid transparent;
  transition: border-color .15s, background .15s, opacity .15s; scroll-margin-top: 120px;
}
.wsp-opt:hover { border-color: var(--line-2); }
.wsp-check { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.wsp-opt-body { flex: 1; min-width: 0; }
.wsp-opt-body strong { display: block; font-size: 15.5px; }
.wsp-opt-body span { display: block; font-size: 14px; color: var(--muted); }
.wsp-opt-why, .wsp-opt-left { flex: none; font-size: 12px; font-weight: 600; color: var(--faint); margin-top: 3px; white-space: nowrap; }
.wsp-opt-left { color: var(--hl); }

.wsp-opt.is-on { background: rgba(77, 236, 220, .1); border-color: var(--accent); }
.wsp-opt.is-on .wsp-check { background: var(--accent); border-color: var(--accent); }
.wsp-opt.is-on .wsp-check::after { content: ''; width: 6px; height: 11px; border: solid var(--accent-ink); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.wsp-opt.is-off { cursor: not-allowed; opacity: .45; }
.wsp-opt.is-off:hover { border-color: transparent; }
.wsp-opt.is-full { opacity: 1; background: rgba(255, 255, 255, .03); }
.wsp-opt.is-full .wsp-check { border-style: dashed; opacity: .5; }
.wsp-opt.is-full .wsp-opt-body strong,
.wsp-opt.is-full .wsp-opt-body > span { color: var(--faint); }
.wsp-opt.is-full .wsp-opt-body strong { text-decoration: line-through; }
.wsp-time-note { display: inline-block; margin-top: 6px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--accent); font-family: var(--font-mono); }
.wsp-full-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13px; }
.wsp-full-lbl { width: 100%; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.wsp-full-item { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--faint); text-decoration: line-through; }
.wsp-full-note { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 8px; font-style: normal; line-height: 1.4; font-size: 12.5px; font-weight: 600; color: var(--hl); background: rgba(255, 200, 87, .1); }
.wsp-opt.is-flash { animation: wsp-flash 1.6s ease-out; }
@keyframes wsp-flash { 0%, 35% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Anmeldung ---------- */
.wsp-signup { margin-top: 44px; padding: 22px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); scroll-margin-top: 20px; }
.wsp-signup h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 34px; margin: 0 0 4px; }
.wsp-signup-sub { margin: 0 0 16px; font-size: 15px; }
.wsp-signup-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wsp-signup-list li { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--bg); color: var(--text); }
.wsp-signup-list li > div { flex: 1; min-width: 0; }
.wsp-su-when { display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }
.wsp-signup-list strong { display: block; font-size: 15.5px; }
.wsp-go { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.wsp-go.is-opened { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.wsp-go.is-full { background: rgba(255, 255, 255, .08); color: var(--faint); }
.wsp-su-x { flex: none; background: none; border: 0; font-size: 22px; line-height: 1; color: var(--faint); cursor: pointer; padding: 4px 6px; }

/* ---------- Leiste unten ---------- */
.wsp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(14, 14, 18, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line-2); }
.wsp-bar-inner { max-width: 760px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wsp-bar-count { font-size: 15px; color: var(--muted); }
.wsp-bar-count strong { color: var(--text); }
.wsp-bar-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.wsp-bar-btn[aria-disabled="true"] { background: rgba(255, 255, 255, .08); color: var(--faint); pointer-events: none; }

/* ---------- Anmeldung geschlossen ---------- */
body.is-closed { padding-bottom: 0; }
body.is-closed .wsp-head, body.is-closed .wsp-bar, body.is-closed .wsp-signup { display: none; }
.wsp-closed { text-align: center; padding: 48px 8px 32px; }
.wsp-closed .wsp-h1 { font-size: clamp(36px, 6vw, 64px); }
.wsp-closed p { max-width: 560px; margin: 0 auto 28px; color: var(--muted); font-size: 17px; }

.wsp-loading { color: var(--muted); text-align: center; padding: 40px 0; }
.wsp-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 24px 16px 32px; font-size: 13px; color: var(--faint); border-top: 1px solid var(--line); }
.wsp-foot a { color: var(--muted); text-decoration: none; }
.wsp-noscript { text-align: center; color: var(--muted); }

@media (max-width: 600px) {
  .wsp { padding: 20px 16px 40px; }
  .wsp-slot { padding: 14px; }
  .wsp-day { font-size: 28px; }
  .wsp-opt { flex-wrap: wrap; }
  .wsp-opt-why, .wsp-opt-left { width: 100%; padding-left: 34px; margin-top: -4px; }
  .wsp-signup { padding: 16px; }
  .wsp-signup-list li { flex-wrap: wrap; padding: 12px; }
  .wsp-signup-list li > div { flex-basis: calc(100% - 40px); }
  .wsp-su-x { order: 1; }
  .wsp-go { order: 2; flex: 1; justify-content: center; }
  .wsp-bar-inner { padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) { .wsp-opt.is-flash { animation: none; } }
