@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

.lc-root {
  --bg: #15100e;
  --surface: #1e1713;
  --surface-2: #261c17;
  --wine: #7a2140;
  --wine-light: #a8365a;
  --gold: #c9a24b;
  --gold-soft: rgba(201,162,75,0.16);
  --ink: #f2e9de;
  --ink-muted: #a99a8b;
  --line: rgba(242,233,222,0.12);
  --ok: #7fa07a;
  --radius: 16px;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image: radial-gradient(ellipse at 20% -10%, rgba(122,33,64,0.35), transparent 55%),
                     radial-gradient(ellipse at 90% 0%, rgba(201,162,75,0.10), transparent 45%);
  padding: 48px 24px 60px;
  border-radius: 18px;
}
.lc-root *, .lc-root *::before, .lc-root *::after { box-sizing: border-box; }
.lc-root button { font-family: inherit; }
.lc-root :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.lc-header { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.lc-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.lc-eyebrow::before, .lc-eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--gold); opacity: 0.6; }
.lc-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 44px);
  margin: 16px 0 10px;
  letter-spacing: -0.01em;
}
.lc-title em { font-style: italic; font-weight: 500; color: var(--gold); }
.lc-sub { color: var(--ink-muted); font-size: 15px; max-width: 560px; margin: 0 auto; line-height: 1.6; }
.lc-motto {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 600;
  color: var(--gold); font-size: 15.5px; max-width: 560px; margin: 14px auto 0; line-height: 1.5;
}

.lc-grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.ticket {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  overflow: hidden;
  transition: border-color .25s ease;
}
.ticket:hover { border-color: rgba(201,162,75,0.35); }

.ticket__stub {
  flex: 0 0 88px;
  background: linear-gradient(160deg, var(--wine), #5a1830);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 6px;
}
.stub__day { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.stub__date { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 600; line-height: 1.05; margin-top: 4px; }
.stub__month { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,233,222,0.75); }

.ticket__perf {
  flex: 0 0 1px;
  background-image: radial-gradient(circle, var(--bg) 2.5px, transparent 2.6px);
  background-size: 1px 14px;
  background-position: center;
  position: relative;
}
.ticket__perf::before, .ticket__perf::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; background: var(--bg); border-radius: 50%;
}
.ticket__perf::before { top: -8px; }
.ticket__perf::after { bottom: -8px; }

.ticket__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ticket__image { width: 100%; height: 260px; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.ticket__image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ticket__body { padding: 18px 20px 16px; }
.ticket__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ticket__head h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; margin: 0; }
.time-badge { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-muted); white-space: nowrap; }
.ticket__desc { color: var(--ink-muted); font-size: 13.5px; line-height: 1.55; margin: 8px 0 14px; }
.ticket__desc p { margin: 0 0 8px; }
.ticket__desc p:last-child { margin-bottom: 0; }
.ticket__desc a { color: var(--gold); text-decoration: underline; }
.ticket__desc ul, .ticket__desc ol { margin: 0 0 8px; padding-left: 18px; }
.ticket__more {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600;
  color: var(--gold); text-decoration: none; margin: -6px 0 14px; border-bottom: 1px solid transparent;
}
.ticket__more:hover { border-bottom-color: var(--gold); }

.discount-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600;
  color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold);
  border-radius: 999px; padding: 4px 10px; margin: 8px 0 0;
}

.ticket__dresscode { margin: 0 0 14px; font-size: 13px; color: var(--ink-muted); }
.ticket__dresscode summary {
  cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex;
  align-items: center; gap: 6px; user-select: none;
}
.ticket__dresscode summary::before { content: "▸"; color: var(--gold); transition: transform 0.15s ease; }
.ticket__dresscode[open] summary::before { transform: rotate(90deg); }
.ticket__dresscode summary::-webkit-details-marker { display: none; }
.ticket__dresscode p { margin: 8px 0 0; line-height: 1.55; }

.capacity { margin-bottom: 14px; }
.capacity__bar { height: 5px; border-radius: 3px; background: rgba(242,233,222,0.08); overflow: hidden; }
.capacity__fill { height: 100%; background: var(--gold); border-radius: 3px; transition: width .4s ease; }
.capacity__fill.is-low { background: var(--wine-light); }
.capacity__label { display: block; margin-top: 6px; font-size: 11.5px; color: var(--ink-muted); }

.ticket__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-from { font-family: 'Fraunces', serif; font-size: 15px; color: var(--ink); }
.price-from span { color: var(--ink-muted); font-family: 'Manrope', sans-serif; font-size: 12px; }

.lc-root .btn {
  border: none; border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.01em; transition: transform .15s ease, opacity .15s ease, background .15s ease;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; line-height: 1.2;
}
.lc-root .btn:active { transform: scale(0.97); }
.lc-root .btn--gold { background: var(--gold); color: #241a0c; }
.lc-root .btn--gold:hover, .lc-root .btn--gold:visited, .lc-root .btn--gold:focus { color: #241a0c; background: #d9b465; }
.lc-root .btn--gold:disabled { background: rgba(242,233,222,0.10); color: var(--ink-muted); cursor: not-allowed; }
.lc-root .btn--ghost { background: transparent; color: var(--ink-muted); border: 1px solid var(--line); }
.lc-root .btn--ghost:hover, .lc-root .btn--ghost:visited { color: var(--ink); border-color: rgba(242,233,222,0.3); }
.lc-root .btn--full { width: 100%; }

.form-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; border-top: 1px solid transparent; }
.ticket.is-open .form-wrap { grid-template-rows: 1fr; border-top-color: var(--line); }
.form-inner { overflow: hidden; min-height: 0; }
.form-pad { padding: 18px 20px 20px; }

.segmented { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; margin-bottom: 16px; }
.segmented__opt {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 6px; text-align: center; cursor: pointer; color: var(--ink-muted);
}
.segmented__opt span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; margin-top: 3px; }
.segmented__opt.is-active { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); }

.row-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.row-label > span:first-child { font-size: 13px; color: var(--ink-muted); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2);
  color: var(--ink); font-size: 16px; cursor: pointer; line-height: 1;
}
.stepper__value { font-family: 'JetBrains Mono', monospace; min-width: 16px; text-align: center; display: inline-block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); }
.lc-root { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.lc-root .field input {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
  padding: 9px 11px; font-size: 12.5px !important; font-weight: 400 !important; font-family: 'Manrope', sans-serif; width: 100%; line-height: 1.4;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
.lc-root .field input::placeholder { font-size: 12.5px !important; font-weight: 400; color: var(--ink-muted); opacity: 0.85; }
.lc-root .field input:focus { border-color: var(--gold); outline: none; }
.lc-root .field input:-webkit-autofill,
.lc-root .field input:-webkit-autofill:hover,
.lc-root .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-2) inset;
  box-shadow: 0 0 0 1000px var(--surface-2) inset;
  transition: background-color 9999s ease-in-out 0s;
  font-size: 12.5px !important;
}

.checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink-muted); margin: 14px 0; cursor: pointer; }
.checkbox input { margin-top: 2px; }

.summary { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; margin-bottom: 14px; }
.summary span { font-size: 12.5px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.summary strong { font-family: 'Fraunces', serif; font-size: 20px; color: var(--gold); }

.form-actions { display: flex; gap: 10px; }
.form-actions .btn--ghost { flex: 0 0 auto; }
.form-actions .btn--gold { flex: 1; }
.disclaimer { font-size: 11px; color: var(--ink-muted); line-height: 1.5; margin-top: 12px; }
.error-msg { font-size: 11.5px; color: #e0949b; margin: 0 0 10px; min-height: 0; display: none; }
.error-msg.is-visible { display: block; }

.confirm { padding: 22px 20px 20px; display: none; }
.ticket.is-confirmed .form-wrap { display: none; }
.ticket.is-confirmed .confirm { display: block; }
.confirm__top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.seal { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; padding: 6px; background: var(--surface-2); border: 1px solid var(--gold-soft); }
.seal i { border-radius: 1px; }
.confirm__code { font-family: 'JetBrains Mono', monospace; color: var(--gold); font-size: 13px; letter-spacing: 0.04em; }
.confirm__msg { font-size: 13.5px; line-height: 1.6; color: var(--ink); margin: 0 0 14px; }
.confirm__msg strong { color: var(--gold); font-weight: 700; }
.confirm dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 12.5px; margin: 0 0 16px; }
.confirm dt { color: var(--ink-muted); }
.confirm dd { margin: 0; text-align: right; }

@media (max-width: 480px) {
  .ticket { flex-direction: column; }
  .ticket__stub { flex-direction: row; gap: 8px; padding: 10px 16px; }
  .ticket__perf { display: none; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-root *, .form-wrap { transition: none !important; }
}

/* Event-Unterseite (single-lb-event.php) */
.lc-single { max-width: 720px; margin: 0 auto; }
.lc-single .lc-grid, .lc-single > .ticket { max-width: 100%; }
.lc-grid--single { grid-template-columns: 1fr; }
.lc-single__back { margin: 0 0 20px; }
.lc-single__back a { color: var(--gold); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.lc-single__back a:hover { text-decoration: underline; }
.lc-single__details { margin-top: 32px; }
.lc-single__cta { margin-top: 8px; }
.lc-single__section { margin-bottom: 32px; }
.lc-single__section h2 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.lc-single__text { font-size: 14.5px; line-height: 1.7; color: var(--ink-muted); }
.lc-single__text--vorkasse {
  background: var(--surface-2); border: 1px solid var(--gold-soft); border-radius: 10px;
  padding: 16px 18px; white-space: normal;
}
.lc-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px;
}

/* Mini-Terminliste ([lillith_naechste_termine]) */
.lc-mini-list { list-style: none; margin: 0; padding: 0; max-width: 420px; display: flex; flex-direction: column; gap: 8px; }
.lc-mini-list__empty { color: var(--ink-muted); font-size: 13.5px; }
.lc-mini-list__link {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 14px 8px 8px; transition: border-color .2s ease;
}
.lc-mini-list__link:hover { border-color: rgba(201,162,75,0.4); }
.lc-mini-list__thumb {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px; background: var(--wine); color: var(--ink);
  overflow: hidden;
}
.lc-mini-list__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-mini-list__day { font-size: 15px; font-weight: 700; line-height: 1.1; }
.lc-mini-list__month { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-muted); }
.lc-mini-list__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lc-mini-list__title { font-size: 13.5px; font-weight: 600; }
.lc-mini-list__meta { font-size: 11.5px; color: var(--ink-muted); }
.lc-mini-list__arrow { color: var(--gold); font-size: 14px; flex: 0 0 auto; }
.lc-root .lc-price-table { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--line); }
.lc-root .lc-price-table th, .lc-root .lc-price-table td { text-align: left; padding: 8px 10px; border: 1px solid var(--line); }
.lc-root .lc-price-table th { color: var(--gold); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; background: var(--surface-2); }
.lc-root .lc-price-table td:not(:first-child), .lc-root .lc-price-table th:not(:first-child) { text-align: right; }
