/* ==========================================================================
   Laserarena Weiden – globales Stylesheet
   Grundfarbe: #00FF00 auf Schwarz, Grundschrift: DejaVu Sans normal
   ========================================================================== */

/* --- Schriften ---------------------------------------------------------- */
@font-face {
  font-family: 'DejaVu Sans Web';
  src: url('../fonts/DejaVuSans.woff2') format('woff2'),
       url('../fonts/DejaVuSans.ttf')   format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DejaVu Sans Web';
  src: url('../fonts/DejaVuSans-Bold.woff2') format('woff2'),
       url('../fonts/DejaVuSans-Bold.ttf')   format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Themenschriften – Dateien optional, Fallback greift automatisch */
@font-face {
  font-family: 'Theme Display';
  src: url('../fonts/theme-halloween.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Theme Display Ostern';
  src: url('../fonts/theme-ostern.woff2') format('woff2');
  font-display: swap;
}

/* --- Farb- und Maßvariablen --------------------------------------------- */
:root {
  --green:        #00FF00;
  --green-dim:    #00c800;
  --green-deep:   #007a00;
  --ink:          #000000;
  --panel:        rgba(0, 0, 0, .72);
  --panel-solid:  #0a0f0a;
  --line:         rgba(0, 255, 0, .35);
  --white:        #ffffff;
  --warn:         #ff3b30;

  --font-body:    'DejaVu Sans Web', 'DejaVu Sans', Verdana, Geneva, sans-serif;
  --font-display: var(--font-body);

  --wrap:         1180px;
  --gap:          clamp(1rem, 2.5vw, 2rem);
  --radius:       6px;
}

/* Themenumschaltung über das Attribut data-theme am <html>-Element */
html[data-theme='halloween'] {
  --font-display: 'Theme Display', 'Creepster', 'Chiller', Impact, fantasy;
  --green: #39ff14;
  --green-dim: #ff7518;
}
html[data-theme='ostern'] {
  --font-display: 'Theme Display Ostern', 'Comic Sans MS', 'Segoe Print', cursive;
  --green: #4dff88;
  --green-dim: #ffd6f0;
}

/* --- Grundgerüst -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--font-body);
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--green);
  font-family: var(--font-body);
  font-size: clamp(1rem, .55rem + .55vw, 1.125rem);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green);
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.8rem, 1rem + 3vw, 3rem); }
h2 { font-size: clamp(1.5rem, .9rem + 2.2vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, .9rem + 1.2vw, 1.5rem); }

p { margin: 0 0 1rem; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.skiplink {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: var(--ink); padding: .6rem 1rem; font-weight: 700;
}
.skiplink:focus { left: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ==========================================================================
   KOPFBEREICH
   ========================================================================== */
.site-header {
  background: var(--ink);
  border-bottom: 2px solid var(--line);
  position: relative;
  z-index: 40;
}

/* Obere Leiste: links Telefon, rechts Sprachschalter */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
}
.header-phone {
  font-weight: 700;
  font-size: clamp(.9rem, .7rem + .6vw, 1.15rem);
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.header-phone svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* Sprachschalter als kleiner Slider mit den beiden Flaggen */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.lang-slider {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 78px;
  height: 30px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #060a06;
  cursor: pointer;
}
.lang-slider input { position: absolute; opacity: 0; width: 0; height: 0; }
.lang-slider .knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 36px; height: 22px;
  border-radius: 999px;
  background: rgba(0, 255, 0, .18);
  border: 1px solid var(--green);
  transition: transform .22s ease;
  pointer-events: none;
}
.lang-slider[data-lang='en'] .knob { transform: translateX(36px); }
.lang-slider .flag {
  position: relative;
  z-index: 1;
  width: 36px;
  display: grid;
  place-items: center;
}
.lang-slider .flag img {
  width: 26px; height: auto; border-radius: 2px;
  opacity: .45; transition: opacity .2s ease;
}
.lang-slider[data-lang='de'] .flag--de img,
.lang-slider[data-lang='en'] .flag--en img { opacity: 1; }
.lang-slider:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }

/* Logo */
.header-logo { text-align: center; padding: .25rem 0 .75rem; }
.header-logo img {
  margin-inline: auto;
  max-height: clamp(90px, 16vw, 190px);
  width: auto;
}

/* Laufschrift */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0,255,0,.06), transparent 40%, rgba(0,255,0,.06));
  padding: .4rem 0;
}
.ticker__track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: ticker-run var(--ticker-speed, 22s) linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; padding-left: 0; text-align: center; display: block; }
}

/* ==========================================================================
   MENÜLEISTE
   ========================================================================== */
.nav {
  background: linear-gradient(180deg, #060a06, #030503);
  border-top: 1px solid var(--line);
  border-bottom: 2px solid var(--green-deep);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(0, 255, 0, .08);
}
.nav__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .35rem;
  min-height: 54px;
  padding: .3rem 0;
}
.nav__toggle { display: none; }

.nav__item { position: relative; display: flex; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(.9rem, .7rem + .45vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--green);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  isolation: isolate;
  transition: color .18s ease;
}
/* Schräge grüne Fläche – dasselbe Motiv wie die Flyer-Kästen der Hauptseite.
   Liegt als Pseudo-Element hinter dem Text und wird bei Bedarf eingeblendet. */
.nav__link::before {
  content: '';
  position: absolute;
  inset: .35rem .35rem;
  z-index: -1;
  background: var(--green);
  transform: skewX(-8deg) scaleX(.85);
  opacity: 0;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 255, 0, .3);
  transition: opacity .18s ease, transform .18s ease;
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__item.is-open > .nav__link {
  color: var(--ink);
  text-decoration: none;
}
.nav__link:hover::before,
.nav__link:focus-visible::before,
.nav__item.is-open > .nav__link::before {
  opacity: 1;
  transform: skewX(-8deg) scaleX(1);
}
/* Aktive Seite: dezente Grundfarbe plus grüner Balken darunter */
.nav__link.is-active {
  color: var(--green);
}
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 1.1rem; right: 1.1rem; bottom: .28rem;
  height: 3px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 255, 0, .7);
}
.nav__link.is-active:hover,
.nav__link.is-active:focus-visible,
.nav__item.is-open > .nav__link.is-active { color: var(--ink); }
.nav__link.is-active:hover::after,
.nav__item.is-open > .nav__link.is-active::after { opacity: 0; }

.nav__caret { font-size: .7em; transition: transform .2s ease; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  margin: .3rem 0 0; padding: .35rem;
  list-style: none;
  background: #050805;
  border: 1px solid var(--green-deep);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 255, 0, .12);
  display: none;
  z-index: 50;
}
.nav__item.is-open .nav__sub { display: block; }
.nav__sub a {
  display: block;
  padding: .6rem .85rem;
  border-radius: 4px;
  font-size: .95rem;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.nav__sub a:hover, .nav__sub a:focus-visible {
  background: rgba(0, 255, 0, .16);
  padding-left: 1.1rem;
  text-decoration: none;
}
.nav__sub a[aria-current='page'] {
  background: rgba(0, 255, 0, .1);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--green);
}

/* Hamburger für Mobilgeräte */
.burger {
  display: none;
  align-items: center;
  gap: .6rem;
  width: 100%;
  padding: .8rem 1rem;
  background: transparent;
  border: 0;
  color: var(--green);
  font: 700 1rem/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}
.burger__bars { display: inline-grid; gap: 5px; }
.burger__bars span {
  display: block; width: 26px; height: 3px;
  background: var(--green); border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.burger[aria-expanded='true'] .burger__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bars span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav__inner {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding-bottom: .5rem;
  }
  .nav__inner.is-open { display: flex; }
  .nav__item { flex-direction: column; }
  .nav__link { width: 100%; justify-content: space-between; }
  /* Auf dem Handy keine schräge Fläche – sie wirkt in der vollen Breite unruhig.
     Stattdessen ein flaches Hervorheben. */
  .nav__link::before { transform: none; border-radius: 4px; inset: .2rem .5rem; }
  .nav__link:hover::before,
  .nav__link:focus-visible::before,
  .nav__item.is-open > .nav__link::before { transform: none; }
  .nav__link.is-active::after { left: .5rem; right: auto; width: 3px; top: .4rem; bottom: .4rem; height: auto; }
  .nav__sub {
    position: static;
    transform: none;
    display: none;
    width: 100%;
    margin: 0;
    border: 0;
    border-left: 3px solid var(--green-deep);
    border-radius: 0;
    box-shadow: none;
    background: rgba(0, 255, 0, .05);
  }
  .nav__item.is-open .nav__sub { display: block; }
}

/* ==========================================================================
   ARTIKELBEREICH
   ========================================================================== */
.article {
  position: relative;
  background: var(--ink) url('../img/space.png') repeat center top / cover fixed;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  min-height: 55vh;
}
.article::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(0,0,0,.25), rgba(0,0,0,.82));
  pointer-events: none;
}
.article > * { position: relative; z-index: 1; }

@media (max-width: 860px) {
  .article { background-attachment: scroll; }
}

/* Roter Kreis oben rechts */
.area-badge {
  position: absolute;
  top: clamp(.75rem, 2vw, 1.5rem);
  right: clamp(.75rem, 2vw, 2rem);
  z-index: 5;
  width: clamp(96px, 13vw, 158px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: .5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff5a4d, #b3140b);
  border: 3px solid rgba(255, 255, 255, .8);
  box-shadow: 0 0 22px rgba(255, 40, 30, .55);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(.62rem, .35rem + .55vw, .95rem);
  line-height: 1.15;
  text-transform: uppercase;
  transform: rotate(-11deg);
}

/* Auf schmalen Schirmen läuft der Kreis im Textfluss mit, statt den Artikel
   zu überdecken. Er sitzt zentriert über dem Inhalt. */
@media (max-width: 700px) {
  .area-badge {
    position: static;
    margin: 0 auto clamp(1rem, 4vw, 1.75rem);
    width: clamp(108px, 34vw, 150px);
    font-size: clamp(.72rem, 3.4vw, .92rem);
    transform: rotate(-6deg);
  }
}

/* Inhaltsblöcke */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: var(--gap);
  backdrop-filter: blur(2px);
}
.panel--plain { background: transparent; border: 0; padding-inline: 0; }

.section-space { height: clamp(1.5rem, 4vw, 3rem); }

/* ==========================================================================
   FLYER-BAUSTEINE (Hauptseite)
   ========================================================================== */
.flyer { max-width: 62ch; }
.flyer--center { margin-inline: auto; text-align: center; }

/* Grüner, leicht schräger Kasten */
.slab {
  display: inline-block;
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, .9rem + 3.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  padding: .18em .55em .22em;
  transform: skewX(-8deg);
  box-shadow: 0 6px 26px rgba(0, 255, 0, .28);
}
.slab > span { display: inline-block; transform: skewX(8deg); }

/* Versetzte weiße Zeile ohne Kasten */
.slab-off {
  display: block;
  margin: .3em 0 .3em clamp(1rem, 6vw, 5rem);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, .8rem + 2.4vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
}

.flyer-stack { display: grid; justify-items: start; gap: 0; }

/* Gutschein-Zeile */
.voucher-line { margin: clamp(1.5rem, 4vw, 2.75rem) 0; }
.voucher-line strong {
  display: block;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2.6vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.voucher-line span {
  display: block;
  color: var(--white);
  font-size: clamp(1.05rem, .8rem + .9vw, 1.5rem);
}

.lead { color: var(--white); font-size: clamp(1rem, .8rem + .5vw, 1.2rem); max-width: 68ch; }
.lead a { color: var(--green); text-decoration: underline; }

.callout {
  color: var(--green);
  font-weight: 700;
  font-size: clamp(1.1rem, .85rem + 1vw, 1.55rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

/* Aufzählung mit Laserpistolen-Symbol */
.laser-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.laser-list li {
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: .7rem;
  color: var(--white);
  font-size: clamp(1rem, .85rem + .4vw, 1.15rem);
}
.laser-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .05em;
  width: 2rem; height: 1.35em;
  background: url('../img/laser-bullet.svg') no-repeat left center / contain;
  filter: drop-shadow(0 0 5px rgba(0, 255, 0, .8));
}

.info-line { color: var(--white); }
.info-line strong { color: var(--green); }

/* Karteneinbettung */
.map-embed {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.map-embed iframe { display: block; width: 100%; height: clamp(280px, 45vw, 460px); border: 0; }

/* ==========================================================================
   PREISE
   ========================================================================== */
.price-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.price-card {
  border: 2px solid var(--green-deep);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: transform .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--green); }
.price-card h3 { margin-bottom: .2rem; }
.price-card .duration { color: var(--white); font-size: .95rem; margin: 0; }
.price-card .amount {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
}
.price-card .amount small { font-size: .38em; display: block; color: var(--white); font-weight: 400; }
.price-card .hint { color: var(--white); font-size: .9rem; margin: 0; }

.notice {
  border: 2px solid var(--warn);
  color: #ffd7d4;
  background: rgba(255, 59, 48, .1);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   ÖFFNUNGSZEITEN / ÜBER UNS / LASERTAG
   ========================================================================== */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  text-align: left; padding: .65rem .8rem;
  border-bottom: 1px solid var(--line);
}
.hours-table th { font-weight: 700; width: 45%; }
.hours-table td { color: var(--white); }
.hours-table tr.is-today { background: rgba(0, 255, 0, .1); }
.hours-table tr.is-today th::after { content: ' ●'; color: var(--green); }
.hours-table td.closed { color: #9aa39a; }

.status-pill {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  border: 2px solid currentColor;
}
.status-pill.open   { color: var(--green); }
.status-pill.closed { color: #ff8f8a; }

.fact-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.fact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.4rem;
  display: grid;
  gap: .6rem;
  justify-items: start;
}
.fact svg { width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--green); stroke-width: 1.6; }
.fact strong { color: var(--white); font-size: 1.05rem; line-height: 1.3; }

/* Anlass-Kacheln „Hier können Geburtstage … gefeiert werden" */
.occasion-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.occasion {
  display: grid;
  gap: .7rem;
  justify-items: center;
  text-align: center;
  padding: 1.4rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 255, 0, .04);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.occasion:hover {
  transform: translateY(-5px);
  background: rgba(0, 255, 0, .1);
  box-shadow: 0 0 26px rgba(0, 255, 0, .25);
}
.occasion svg {
  width: clamp(46px, 7vw, 64px); height: auto;
  fill: none; stroke: var(--green); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(0, 255, 0, .75));
}
.occasion span { font-weight: 700; font-size: .95rem; line-height: 1.25; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   GALERIE / RUNDGANG
   ========================================================================== */
.album-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--gap); }
.chip {
  padding: .45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font: 700 .9rem/1.2 var(--font-body);
  cursor: pointer;
}
.chip.is-active, .chip:hover { background: rgba(0, 255, 0, .18); }

.gallery {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.gallery button {
  padding: 0; border: 1px solid var(--line); border-radius: 4px;
  background: #000; cursor: pointer; overflow: hidden; aspect-ratio: 4 / 3;
}
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, opacity .3s ease; }
.gallery button:hover img, .gallery button:hover video { transform: scale(1.07); opacity: .85; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(0, 0, 0, .94);
  padding: 1rem;
}
.lightbox.is-open { display: grid; }
.lightbox img, .lightbox video { max-width: 92vw; max-height: 82vh; object-fit: contain; }
.lightbox video { width: min(92vw, 1100px); }
.lightbox__btn {
  position: absolute;
  background: rgba(0, 0, 0, .6);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 1.8rem; line-height: 1;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
}
.lightbox__prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 1rem; top: 1rem; }
.lightbox__count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); }

/* Rundgang als Slideshow */
.tour { position: relative; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.tour__stage { position: relative; aspect-ratio: 16 / 10; }
.tour__stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .5s ease;
}
.tour__stage img.is-current { opacity: 1; }
.tour__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(0, 0, 0, .65); border: 1px solid var(--green);
  color: var(--green); font-size: 1.7rem; cursor: pointer;
  display: grid; place-items: center;
}
.tour__nav--prev { left: .75rem; }
.tour__nav--next { right: .75rem; }
.tour__dots { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; padding: .75rem; }
.tour__dots button {
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--green); background: transparent; cursor: pointer; padding: 0;
}
.tour__dots button.is-current { background: var(--green); }

/* Phantoms-Kopfbereich: Wappen neben den Flyer-Kästen */
.phantoms-hero {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: var(--gap);
}
.phantoms-crest {
  width: 100%;
  border-radius: var(--radius);
  filter: drop-shadow(0 0 26px rgba(0, 255, 0, .3));
}

.gutschein {
  width: 40%;
  border-radius: var(--radius);
  filter: drop-shadow(0 0 26px rgba(0, 255, 0, .3));
}

@media (max-width: 860px) {
  .phantoms-hero { grid-template-columns: 1fr; justify-items: center; }
  .phantoms-crest { max-width: 260px; }
}

/* ==========================================================================
   SCORECARDS
   ========================================================================== */
.filter-bar {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: end;
  margin-bottom: var(--gap);
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .6rem .75rem;
  background: #050805;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--green);
  font: 400 1rem/1.3 var(--font-body);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green); border-color: var(--green);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.3rem;
  border: 2px solid var(--green);
  border-radius: 4px;
  background: transparent;
  color: var(--green);
  font: 700 1rem/1.2 var(--font-body);
  text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn:hover, .btn:focus-visible { background: var(--green); color: var(--ink); text-decoration: none; }
.btn--ghost { border-color: var(--line); }
.btn--sm { padding: .4rem .8rem; font-size: .85rem; }

.game-list { display: grid; gap: .6rem; }
.game-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  width: 100%;
}
.game-row:hover, .game-row:focus-visible { background: rgba(0, 255, 0, .1); text-decoration: none; }
.game-row .no {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; min-width: 3.5ch;
}
.game-row .meta { color: var(--white); font-size: .9rem; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.data-table caption {
  caption-side: top; text-align: left;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; padding-bottom: .6rem;
}
.data-table th, .data-table td {
  padding: .5rem .6rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.data-table th:first-child, .data-table td:first-child,
.data-table th.text, .data-table td.text { text-align: left; }
.data-table thead th {
  position: sticky; top: 0;
  background: #050805;
  border-bottom: 2px solid var(--green);
  font-size: .82rem; text-transform: uppercase; letter-spacing: .04em;
}
.data-table tbody tr:hover { background: rgba(0, 255, 0, .07); }
.data-table .num { font-variant-numeric: tabular-nums; }
.data-table .neg { color: #ff8f8a; }

.team-dot {
  display: inline-block; width: .7em; height: .7em;
  border-radius: 50%; margin-right: .45em;
  background: currentColor; vertical-align: baseline;
}

.team-score-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: var(--gap);
}
.team-score {
  border: 2px solid currentColor;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  background: rgba(0, 0, 0, .55);
}
.team-score .name { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.team-score .pts { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--white); }
.team-score .rank { font-size: .85rem; color: var(--white); opacity: .8; }

/* Trefferkreuztabelle */
.matrix-table { min-width: 640px; }
.matrix-table td.self { background: rgba(255, 255, 255, .06); color: #6b756b; }
.matrix-table td.ff   { background: rgba(234, 179, 8, .22); color: #ffe680; font-weight: 700; }
.matrix-table td.zero { color: #3d4a3d; }
.matrix-table th.row-head { text-align: left; position: sticky; left: 0; background: #050805; z-index: 1; }

.scoring-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: var(--white); }
.scoring-legend b { color: var(--green); }

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--white);
}

/* ==========================================================================
   FUSSBEREICH
   ========================================================================== */
.site-footer {
  background: var(--ink);
  border-top: 2px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 1rem;
}
.footer-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}
.footer-left  { text-align: left; }
.footer-mid   { text-align: center; }
.footer-right { text-align: right; display: grid; gap: .6rem; justify-items: end; }

.footer-left .questions { font-weight: 700; font-size: 1.15rem; margin-bottom: .2rem; }
.footer-left p { margin: 0 0 .3rem; }
.footer-left .phone { font-weight: 700; font-size: 1.1rem; }
.footer-left .copy { color: #9aa39a; font-size: .9rem; }

.lasermaxx { margin-top: 1rem; display: grid; gap: .4rem; justify-items: start; }
.lasermaxx span { font-size: .88rem; color: var(--white); }
.lasermaxx img { max-width: 190px; }

.social { display: inline-flex; gap: .75rem; }
.social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 8px;
  transition: background .18s ease, border-color .18s ease;
}
.social a:hover { background: rgba(0, 255, 0, .14); border-color: var(--green); }
.social img { width: 26px; height: 26px; object-fit: contain; }

.usk img { margin-inline: auto; max-width: 92px; }

/* Besucherzähler */
.counter {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.counter h2 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .12em;
  text-align: center; margin-bottom: .75rem; color: #9aa39a;
}
.counter dl {
  display: grid; gap: .5rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 0; text-align: center;
}
.counter div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .6rem .4rem;
}
.counter dt { font-size: .78rem; color: var(--white); }
.counter dd {
  margin: .2rem 0 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; font-variant-numeric: tabular-nums;
}

.footer-legal { text-align: center; color: #6b756b; font-size: .82rem; margin-top: 1rem; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-left, .footer-right { text-align: center; justify-items: center; }
  .lasermaxx { justify-items: center; }
  .social { justify-content: center; }
}

/* ==========================================================================
   COOKIE-HINWEIS – dezent als schmale Leiste unten
   ========================================================================== */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .6rem 1rem;
  background: rgba(0, 0, 0, .93);
  border-top: 1px solid var(--line);
  font-size: .85rem;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.cookie-bar.is-visible { display: flex; transform: translateY(0); }
.cookie-bar p { margin: 0; color: var(--white); }
@media (max-width: 620px) {
  .cookie-bar { padding-bottom: .8rem; font-size: .8rem; }
}

/* ==========================================================================
   CHATBOT
   ========================================================================== */
.chatbot { position: fixed; right: 1rem; bottom: 1rem; z-index: 150; }
@media (max-width: 620px) { .chatbot { right: .75rem; bottom: .75rem; } }

.chatbot__fab {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: #050805;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(0, 255, 0, .35);
  overflow: hidden;
  transition: transform .2s ease;
  margin-left: auto;
}
.chatbot__fab:hover { transform: scale(1.06); }
.chatbot__fab img { width: 100%; height: 100%; object-fit: cover; }

.chatbot__panel {
  display: none;
  flex-direction: column;
  width: min(350px, calc(100vw - 2rem));
  height: min(520px, 76vh);
  margin-bottom: .6rem;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: #030603;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.chatbot.is-open .chatbot__panel { display: flex; }

.chatbot__head {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .8rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 255, 0, .07);
}
.chatbot__head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid var(--green); }
.chatbot__head strong { font-size: 1rem; }
.chatbot__head .status { display: block; font-size: .72rem; color: #9aa39a; }
.chatbot__close {
  margin-left: auto; background: transparent; border: 0;
  color: var(--green); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: .2rem .4rem;
}

.chatbot__log { flex: 1; overflow-y: auto; padding: .8rem; display: grid; gap: .6rem; align-content: start; }
.msg { max-width: 85%; padding: .55rem .75rem; border-radius: 12px; font-size: .9rem; line-height: 1.45; }
.msg--bot  { background: rgba(0, 255, 0, .1); border: 1px solid var(--line); border-bottom-left-radius: 3px; justify-self: start; }
.msg--user { background: var(--green); color: var(--ink); border-bottom-right-radius: 3px; justify-self: end; font-weight: 700; }
.msg a { text-decoration: underline; }

/* Vorschläge als Wischkarussell – nur eine Karte hoch, spart Platz für die Antwort */
.chatbot__carousel {
  display: flex;
  align-items: stretch;
  gap: .3rem;
  padding: .4rem .5rem 0;
}
.chatbot__viewport { flex: 1; overflow: hidden; }
.chatbot__track {
  display: flex;
  transition: transform .25s ease;
  touch-action: pan-y;
}
.chatbot__card {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 255, 0, .06);
  color: var(--green);
  font: 400 .82rem/1.3 var(--font-body);
  text-align: center;
  cursor: pointer;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot__card:hover { background: rgba(0, 255, 0, .15); }
.chatbot__arrow {
  flex: 0 0 auto;
  width: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--green);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.chatbot__arrow:hover { background: rgba(0, 255, 0, .15); }
.chatbot__arrow:disabled { opacity: .3; cursor: default; }

.chatbot__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .28rem;
  padding: .4rem .5rem .1rem;
}
.chatbot__dots button {
  width: 7px; height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 255, 0, .25);
  cursor: pointer;
}
.chatbot__dots button.is-current { background: var(--green); }

.chatbot__form { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--line); }
.chatbot__form input {
  flex: 1; padding: .5rem .7rem;
  background: #050805; border: 1px solid var(--line); border-radius: 6px;
  color: var(--green); font: 400 .9rem/1.3 var(--font-body);
}
.chatbot__form button {
  padding: .5rem .9rem; border: 1px solid var(--green); border-radius: 6px;
  background: transparent; color: var(--green); cursor: pointer; font-weight: 700;
}
.chatbot__form button:hover { background: var(--green); color: var(--ink); }

/* ==========================================================================
   BETREIBER-BEREICH
   ========================================================================== */
.admin-shell { max-width: 760px; margin: 4vh auto; padding: 0 1rem; }
.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050805;
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: var(--gap);
}
.admin-card h2 { font-size: 1.25rem; }
.theme-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.theme-buttons button.is-active { background: var(--green); color: var(--ink); }
.flash {
  border: 1px solid var(--green); border-radius: 4px;
  padding: .7rem 1rem; margin-bottom: 1rem;
  background: rgba(0, 255, 0, .1);
}
.flash--error { border-color: var(--warn); background: rgba(255, 59, 48, .12); color: #ffd7d4; }
.char-count { font-size: .8rem; color: #9aa39a; }

@media print {
  .site-header, .site-footer, .chatbot, .cookie-bar, .filter-bar, .area-badge { display: none !important; }
  body { background: #fff; color: #000; }
  .article { background: none; }
  .data-table th, .data-table td { border-color: #999; }
}
