/* Table07 – dunkles Design: Komponenten (ergänzt Tailwind) */

:root {
  --night-950: #050505;
  --night-900: #0A0A0A;
  --night-850: #101010;
  --night-800: #151515;
  --night-700: #1E1E1E;
  --night-600: #2A2A2A;
  --bone-50: #FFFFFF;
  --bone-100: #F3F1ED;
  --bone-200: #D9D5CE;
  --bone-300: #ABA69E;
  --bone-400: #8A857D;
  --red-300: #FF7A82;
  --red-400: #F2434D;
  --red-500: #DA101E;
  --red-600: #B80D19;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --serif: "Cormorant Garamond", Georgia, Cambria, "Times New Roman", serif;
  color-scheme: dark;
}

html { -webkit-text-size-adjust: 100%; background: var(--night-900); }
::selection { background: var(--red-500); color: #fff; }
main section[id] { scroll-margin-top: 4.5rem; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--red-400); outline-offset: 3px; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bone-300);
}
.eyebrow .idx { color: var(--red-400); font-variant-numeric: tabular-nums; }
.eyebrow .idx::after { content: ""; display: inline-block; width: 2rem; height: 1px; margin-left: .75rem; vertical-align: middle; background: var(--line-strong); }
.h2 {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.01em;
  color: #fff;
}
.h2 em, .hero-title em { font-style: italic; color: var(--red-500); }
.muted { color: var(--bone-300); }
.label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-400); }
.link {
  color: var(--bone-100);
  text-decoration: underline;
  text-decoration-color: var(--red-500);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s;
}
.link:hover { color: var(--red-300); }
.req { color: var(--red-400); }

/* ---------- Abschnitte ---------- */
.section { padding: 6rem 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--night-850); }
@media (min-width: 1024px) { .section { padding: 8.5rem 0; } }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 5, 5, .88);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header.is-static { position: relative; background: var(--night-950); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 2.75rem; width: auto; }
@media (min-width: 1024px) { .brand img { height: 3.25rem; } }
.nav-link { position: relative; padding: .5rem 0; color: var(--bone-200); transition: color .2s; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .15rem;
  height: 1px;
  background: var(--red-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  color: var(--bone-100);
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .07); }
.mobile-menu { background: var(--night-950); border-top: 1px solid var(--line); }
.mm-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.85rem;
  color: #fff;
}
.mm-link span { font-family: inherit; font-size: .8rem; color: var(--red-400); }

/* ---------- Buttons ---------- */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 44px;
  padding: .9rem 1.6rem;
  border-radius: 2px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--red-500); border: 1px solid var(--red-500); color: #fff; }
.btn-primary:hover { background: var(--red-600); border-color: var(--red-600); }
.btn-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--bone-100); }
.btn-ghost:hover { border-color: var(--bone-100); background: rgba(255, 255, 255, .04); }
.btn-primary:disabled,
.btn-ghost:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary[aria-busy="true"] { cursor: progress; }
.btn-arrow { transition: transform .2s; }
.btn-primary:hover .btn-arrow,
.btn-ghost:hover .btn-arrow { transform: translateX(3px); }

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 9999px;
  animation: t07-spin .8s linear infinite;
}
.spinner-lg { width: 2rem; height: 2rem; color: var(--red-500); }
@keyframes t07-spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night-950); }
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(48% 42% at 80% 32%, rgba(218, 16, 30, .22), transparent 70%),
    radial-gradient(38% 38% at 0% 100%, rgba(218, 16, 30, .09), transparent 70%);
}
.hero-numeral {
  position: absolute;
  right: -2vw;
  top: 46%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15rem, 46vw, 44rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(218, 16, 30, .32);
  pointer-events: none;
  user-select: none;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.3rem, min(8.6vw, 13vh), 8rem);
  line-height: .92;
  letter-spacing: -.02em;
  color: #fff;
}
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats > div { display: flex; flex-direction: column-reverse; gap: .4rem; padding-top: 1.25rem; padding-bottom: 1rem; border-top: 1px solid var(--line-strong); }
.stats dd { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1; color: #fff; }
.stats dt { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-400); }
.next-event {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(10, 10, 10, .6);
  font-size: .9rem;
  color: var(--bone-100);
  transition: border-color .2s;
}
.next-event:hover { border-color: var(--red-500); }
.pulse-dot { position: relative; width: .5rem; height: .5rem; border-radius: 9999px; background: var(--red-500); flex-shrink: 0; }
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid var(--red-500);
  animation: t07-pulse 2s ease-out infinite;
}
@keyframes t07-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.marquee { overflow: hidden; border-top: 1px solid var(--line); background: var(--night-900); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  padding: 1.15rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  white-space: nowrap;
  color: var(--bone-200);
  animation: t07-marquee 50s linear infinite;
}
.marquee-track .star { font-style: normal; font-size: .8em; color: var(--red-500); }
@keyframes t07-marquee { to { transform: translateX(-50%); } }

/* ---------- Erlebnis ---------- */
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { padding: 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .feature { padding: 2.5rem 2rem 2.5rem 0; }
  .feature:nth-child(2n) { padding-left: 2rem; border-left: 1px solid var(--line); }
}
.feature-no { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--red-500); }
.feature h3 { margin-top: .9rem; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: #fff; }
.feature p { margin-top: .75rem; font-size: .95rem; line-height: 1.7; color: var(--bone-300); }

/* ---------- Termine ---------- */
.event-list { border-top: 1px solid var(--line); }
.event-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s;
}
.event-meta, .event-actions { grid-column: 1 / -1; }
.event-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.event-actions > * { flex: 1 1 auto; }
@media (min-width: 960px) {
  .event-row { grid-template-columns: 7.5rem minmax(0, 1fr) auto auto; gap: 2rem; padding: 2rem 1.25rem; }
  .event-row:hover { background: rgba(255, 255, 255, .025); }
  .event-meta, .event-actions { grid-column: auto; }
  .event-actions > * { flex: 0 0 auto; }
}
.event-date { display: flex; flex-direction: column; min-width: 4.5rem; }
.event-day { font-family: var(--serif); font-size: 3.6rem; line-height: .85; color: #fff; }
.event-month { margin-top: .5rem; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--red-400); }
.event-venue { margin-top: .35rem; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; color: #fff; }

/* ---------- Anfahrt ---------- */
.venue-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .venue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.venue-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--night-850);
  scroll-margin-top: 6rem;
  transition: border-color .3s;
}
.venue-card:hover,
.venue-card:target { border-color: rgba(218, 16, 30, .65); }
.venue-map { position: relative; height: 9rem; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--night-800); }
.venue-map svg { display: block; width: 100%; height: 100%; }
.venue-pin { transform-box: fill-box; transform-origin: center; animation: t07-pin 2.4s ease-out infinite; }
@keyframes t07-pin { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.venue-name { margin-top: .5rem; font-family: var(--serif); font-size: 2rem; line-height: 1.05; color: #fff; }
.venue-hint {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-left: 2px solid var(--red-500);
  background: rgba(255, 255, 255, .03);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--bone-200);
}
.route-steps { counter-reset: route; display: grid; gap: .5rem; margin-top: 1.25rem; font-size: .85rem; color: var(--bone-300); }
.route-steps li { display: flex; gap: .75rem; }
.route-steps li::before {
  counter-increment: route;
  content: counter(route);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 9999px;
  font-size: .7rem;
  color: var(--bone-100);
}

/* ---------- Sponsoren ---------- */
/* Weiße Kacheln, damit alle Logos in ihren Originalfarben gut lesbar sind.
   Flex statt Grid: unvollständige Reihen bleiben mittig, egal wie viele Sponsoren dazukommen. */
.sponsor-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.sponsor-wall > li { flex: 0 0 calc(50% - .5rem); }
@media (min-width: 768px) { .sponsor-wall > li { flex-basis: calc((100% - 2rem) / 3); } }
@media (min-width: 1100px) { .sponsor-wall > li { flex-basis: calc((100% - 3rem) / 4); } }
.sponsor-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 1.25rem 1.5rem;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s, box-shadow .3s;
}
@media (min-width: 768px) { .sponsor-tile { padding: 1.75rem 2rem; } }
.sponsor-tile:hover,
.sponsor-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--red-500), 0 24px 50px -24px rgba(0, 0, 0, .9); }
.sponsor-tile:focus-visible { outline: 2px solid var(--red-400); outline-offset: 4px; }
.sponsor-tile img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Flächen & Hinweise ---------- */
.panel { border: 1px solid var(--line); border-radius: 2px; background: var(--night-850); }
.panel-raised { border: 1px solid var(--line-strong); border-radius: 2px; background: var(--night-800); }
.notice { border: 1px solid; border-radius: 2px; padding: 1rem 1.25rem; font-size: .875rem; line-height: 1.6; }
.notice-warn { border-color: rgba(252, 211, 77, .4); background: rgba(252, 211, 77, .07); color: #FDE68A; }
.notice-error { border-color: rgba(242, 67, 77, .55); background: rgba(218, 16, 30, .1); color: #FECACA; }
.notice-info { border-color: var(--line-strong); background: rgba(255, 255, 255, .03); color: var(--bone-200); }
.notice a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Formulare ---------- */
.legend { font-family: var(--serif); font-size: 1.85rem; line-height: 1.1; color: #fff; }
.legend .num { font-style: italic; color: var(--red-500); }
.field-label { display: block; margin-bottom: .45rem; font-size: .8rem; font-weight: 500; letter-spacing: .03em; color: var(--bone-200); }
.field {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--night-900);
  color: var(--bone-50);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: var(--bone-400); }
.field:hover { border-color: rgba(255, 255, 255, .32); }
.field:focus { outline: none; border-color: var(--red-400); box-shadow: 0 0 0 3px rgba(218, 16, 30, .28); }
.field[aria-invalid="true"] { border-color: var(--red-400); box-shadow: 0 0 0 1px var(--red-400); }
textarea.field { resize: vertical; min-height: 6rem; }
.field.qty {
  width: 4rem;
  padding: .5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.field.qty::-webkit-inner-spin-button,
.field.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field-error { margin-top: .4rem; font-size: .85rem; color: var(--red-300); }
.check { width: 1.1rem; height: 1.1rem; margin-top: .2rem; flex-shrink: 0; accent-color: var(--red-500); }

.stepper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.stepper-btn:hover { border-color: var(--bone-100); background: rgba(255, 255, 255, .05); }
.stepper-btn[aria-disabled="true"] { opacity: .3; cursor: not-allowed; background: transparent; border-color: var(--line-strong); }

/* ---------- Fortschritt ---------- */
.steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  list-style: none;
}
.steps::before { content: ""; position: absolute; top: 1.125rem; left: 12.5%; right: 12.5%; height: 1px; background: var(--line-strong); }
.steps li {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bone-400);
}
.steps-dot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 9999px;
  background: var(--night-900);
  color: var(--bone-300);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0;
  transition: background-color .3s, color .3s, box-shadow .3s, border-color .3s;
}
.steps li.is-done .steps-dot { background: var(--bone-100); border-color: var(--bone-100); color: var(--night-900); }
.steps li.is-current { color: #fff; }
.steps li.is-current .steps-dot { background: var(--red-500); border-color: var(--red-500); color: #fff; box-shadow: 0 0 0 5px rgba(218, 16, 30, .22); }

/* ---------- Terminauswahl ---------- */
.event-option {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--night-900);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.event-option:hover { border-color: rgba(255, 255, 255, .35); }
.event-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.event-option.is-selected,
.event-option:has(input:checked) { border-color: var(--red-500); background: rgba(218, 16, 30, .07); box-shadow: inset 0 0 0 1px var(--red-500); }
.event-option:has(input:focus-visible) { outline: 2px solid var(--red-400); outline-offset: 3px; }
.event-option.is-disabled { opacity: .5; cursor: not-allowed; }
.event-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--bone-300);
  border-radius: 9999px;
}
.event-option.is-selected .event-radio,
.event-option:has(input:checked) .event-radio { border-color: var(--red-500); }
.event-option.is-selected .event-radio::after,
.event-option:has(input:checked) .event-radio::after { content: ""; width: .6rem; height: .6rem; border-radius: 9999px; background: var(--red-500); }

/* ---------- Zusammenfassung ---------- */
.summary { border: 1px solid var(--line-strong); border-radius: 2px; background: var(--night-800); }
.plan { border: 1px solid var(--line-strong); border-radius: 2px; overflow: hidden; }
.plan-now { background: rgba(218, 16, 30, .12); border-bottom: 1px solid rgba(218, 16, 30, .35); }

/* ---------- Chips, Icons, Platzhalter ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .65rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
}
.chip::before { content: ""; width: .4rem; height: .4rem; border-radius: 9999px; background: currentColor; }
.chip-paid { background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .3); color: #6EE7B7; }
.chip-pending { background: rgba(252, 211, 77, .08); border-color: rgba(252, 211, 77, .3); color: #FCD34D; }
.chip-cancelled { background: rgba(242, 67, 77, .1); border-color: rgba(242, 67, 77, .35); color: var(--red-300); }
.chip-expired { background: rgba(255, 255, 255, .05); border-color: var(--line-strong); color: var(--bone-300); }

.result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
}

/* Hinweis nach der Buchung: Bestätigungsmail ggf. im Spam-Ordner */
.mail-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--red-500);
  border-radius: 2px;
  background: rgba(255, 255, 255, .03);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--bone-200);
  text-align: left;
}
.mail-note strong { color: #fff; font-weight: 600; }
.mail-note p + p { margin-top: .4rem; }

.skeleton {
  display: block;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--night-800) 25%, var(--night-700) 50%, var(--night-800) 75%);
  background-size: 200% 100%;
  animation: t07-shimmer 1.4s ease-in-out infinite;
}
@keyframes t07-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.team-photo { margin: 0; }
.team-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--red-500);
  border-radius: 2px;
  background: var(--night-800);
}
.team-photo figcaption { margin-top: .9rem; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-400); }

/* ---------- Bewegung ---------- */
.reveal { transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(28px); }

/* ---------- Rechtstexte ---------- */
.legal { color: var(--bone-200); font-size: 1.0625rem; line-height: 1.8; }
.legal > * + * { margin-top: 1rem; }
.legal h1 { color: #fff; line-height: 1.05; overflow-wrap: anywhere; hyphens: auto; }
.legal h2 { margin-top: 3.25rem; font-family: var(--serif); font-size: 2rem; line-height: 1.15; color: #fff; }
.legal h3 { margin-top: 1.75rem; font-weight: 600; color: #fff; }
.legal strong { color: #fff; font-weight: 600; }
.legal ul { list-style: disc; padding-left: 1.5rem; }
.legal li::marker { color: var(--red-500); }
.legal li + li { margin-top: .4rem; }
.legal a { color: #fff; text-decoration: underline; text-decoration-color: var(--red-500); text-underline-offset: 3px; }
.legal a:hover { color: var(--red-300); }
.legal address { font-style: normal; }
.legal dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: .125rem 2rem; }
.legal dt { font-weight: 600; color: #fff; }
.legal dd { margin-bottom: .75rem; }
@media (min-width: 640px) {
  .legal dl { grid-template-columns: 14rem minmax(0, 1fr); }
  .legal dd { margin-bottom: .5rem; }
}
@media (max-width: 639px) { .legal h1 { font-size: 2.6rem !important; } }
.todo { padding: 0 .3rem; border-radius: 2px; background: #4A3B00; color: #FFE58A; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Cookie-Hinweis ---------- */
.consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 100;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--red-500);
  border-radius: 2px;
  background: var(--night-800);
  color: var(--bone-100);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9);
}
.consent a { color: #fff; text-decoration: underline; text-decoration-color: var(--red-500); text-underline-offset: 3px; }

/* ---------- Admin ---------- */
.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table th {
  padding: .8rem .75rem;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone-400);
  white-space: nowrap;
}
.admin-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--bone-100); }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-table tr.is-inactive td { color: var(--bone-400); }
.cap-bar { height: .4rem; overflow: hidden; border-radius: 9999px; background: var(--night-600); }
.cap-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--red-500); }

/* Ansicht umschalten: Gästeliste | Tischplan */
.view-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; }
.view-switch button { min-height: 2.75rem; padding: 0 1.25rem; font-size: .875rem; color: var(--bone-300); }
.view-switch button + button { border-left: 1px solid var(--line-strong); }
.view-switch button[aria-pressed="true"] { background: var(--red-500); color: #fff; }
.view-switch button:not([aria-pressed="true"]):hover { color: #fff; background: rgba(255, 255, 255, .05); }

/* Tischplan: Karopapier mit frei verschiebbaren Tischkarten (wie „Table07 → Tischplan öffnen“ im Sheet) */
.tp-wrap { position: relative; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; color: #1A1A1A; color-scheme: light; }
.tp-scroll { height: min(72vh, 760px); overflow: auto; }
.tp-canvas {
  position: relative;
  min-width: 100%;
  min-height: 100%;
  background-color: #fff;
  background-image:
    linear-gradient(#E0E0E0 1px, transparent 1px), linear-gradient(90deg, #E0E0E0 1px, transparent 1px),
    linear-gradient(#EFEFEF 1px, transparent 1px), linear-gradient(90deg, #EFEFEF 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  font-family: Arial, Helvetica, sans-serif;
}
.tp-t { position: absolute; width: 160px; touch-action: none; user-select: none; }
.tp-t:focus-visible { outline: none; }
.tp-t:focus-visible .tp-card, .tp-t.tp-sel .tp-card { box-shadow: 0 0 0 3px rgba(218, 16, 30, .4); }
.tp-card { position: relative; height: 120px; padding: 6px 8px; overflow: hidden; border: 1.5px solid #1A1A1A; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); cursor: grab; }
.tp-t.tp-drag { z-index: 10; }
.tp-t.tp-drag .tp-card { cursor: grabbing; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.tp-head { display: flex; justify-content: space-between; align-items: baseline; }
.tp-no { font-size: 16px; font-weight: bold; }
.tp-badge { font-size: 11px; font-weight: bold; color: #1E8C2F; }
.tp-name { margin-top: 1px; overflow: hidden; font-size: 13px; font-weight: bold; white-space: nowrap; text-overflow: ellipsis; }
.tp-pax { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.tp-sub { max-height: 42px; margin-top: 3px; overflow: hidden; font-size: 10.5px; font-style: italic; line-height: 1.3; color: #8A8A8A; }
.tp-foot { display: flex; justify-content: space-between; margin-top: 3px; padding: 0 2px; font-size: 12px; color: #1E8C2F; }
.tp-code { font-size: 10px; font-style: italic; }
.tp-bubble { position: relative; margin: 6px 0 0 16px; padding: 5px 8px 5px 20px; border-radius: 3px; background: #E9E9E9; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); font-size: 10.5px; line-height: 1.3; color: #333; }
.tp-dot { position: absolute; left: -14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #1A1A1A; border-radius: 50%; background: #fff; font-size: 11px; font-weight: bold; }
.tp-empty .tp-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.tp-empty .tp-no { font-size: 15px; font-style: italic; }
.tp-icon { font-size: 14px; color: #555; }
.tp-arrived .tp-card { border-color: #1E8C2F; }
/* Übersicht unten links (wie im Vorbild) */
.tp-sum { position: absolute; left: 16px; bottom: 16px; z-index: 5; min-width: 230px; padding: 14px 18px; border: 1px solid #E3E3E3; border-radius: 4px; background: rgba(255, 255, 255, .97); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #8A8A8A; pointer-events: none; }
.tp-sum p { margin: 3px 0; }
@media (max-width: 640px) { .tp-sum { left: 8px; bottom: 8px; min-width: 0; padding: 8px 10px; font-size: 12px; } .tp-sum .tp-sum-day { font-size: 13px; } .tp-sum .tp-sum-venue { display: none; } }
.tp-sum .tp-sum-day { margin: 0; font-size: 16px; font-weight: bold; color: #1A1A1A; }
.tp-sum .tp-sum-venue { margin: 8px 0 10px; padding: 7px 10px; border: 1px solid #DDD; border-radius: 4px; color: #1A1A1A; }
/* Popup beim Klick auf einen Tisch */
.tp-pop { position: fixed; z-index: 60; width: 300px; max-height: 70vh; overflow: auto; padding: 14px; border: 1px solid #BBB; border-radius: 6px; background: #fff; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #1A1A1A; color-scheme: light; }
.tp-pop-title { margin: 0 0 8px; font-size: 16px; font-weight: bold; }
.tp-x { position: absolute; right: 8px; top: 4px; border: 0; background: none; font-size: 22px; color: #8A8A8A; cursor: pointer; }
.tp-g { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #EEE; }
.tp-g small { color: #555; }
.tp-g .tp-n { color: #B3121D; }
.tp-g label { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8A8A8A; white-space: nowrap; }
.tp-g input { width: 58px; height: 32px; padding: 0 6px; border: 1px solid #BBB; border-radius: 4px; background: #fff; text-align: center; font-size: 14px; color: #1A1A1A; }
.tp-hint { margin: 8px 0 0; font-size: 11px; color: #8A8A8A; }
.tp-del { min-height: 36px; margin-top: 8px; padding: 0 12px; border: 1px solid #B3121D; border-radius: 4px; background: #fff; color: #B3121D; cursor: pointer; }

/* Tischplan drucken: nur die Pläne */
@media print {
  body.print-plan { background: #fff !important; color: #000; }
  body.print-plan > a, body.print-plan header, body.print-plan #dash > div:first-child, body.print-plan #dash-error,
  body.print-plan #event-tabs, body.print-plan #kpis, body.print-plan #view-tabs, body.print-plan #list-tools,
  body.print-plan #events, body.print-plan .plan-noprint, body.print-plan .tp-pop { display: none !important; }
  body.print-plan #dash { padding: 0; max-width: none; }
  body.print-plan #plan, body.print-plan #plan-events { margin: 0; }
  body.print-plan .plan-event + .plan-event { break-before: page; }
  body.print-plan .plan-event h2, body.print-plan .plan-event .label { color: #000 !important; }
  body.print-plan .tp-wrap { border: 0; }
  body.print-plan .tp-scroll { height: auto; overflow: visible; }
  body.print-plan .tp-canvas, body.print-plan .tp-card, body.print-plan .tp-bubble { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .reveal { transition: opacity .3s ease; }
  .reveal-ready .reveal:not(.is-visible) { transform: none; }
  .marquee-track, .skeleton, .pulse-dot::after, .venue-pin { animation: none; }
  .sponsor-tile:hover, .sponsor-tile:focus-visible { transform: none; }
}
