/* SnackdoM Fritzlar · Demo · Dark/LED-Look */
:root {
  --grund: #07070b;
  --grund-2: #0d0c16;
  --flaeche: #13111f;
  --violett: #8b3dff;
  --eis: #2ec8ff;
  --text: #ffffff;
  --text-2: #e4e1f5;
  --rand: rgba(139, 61, 255, 0.35);
  --radius: 4px;
  --kopf-h: 68px;
  --led-glanz: 0 0 2px #fff, 0 0 6px var(--eis), 0 0 14px var(--violett), 0 0 40px rgba(139, 61, 255, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: "Unbounded", system-ui, sans-serif; font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }

/* ---------- Kopfleiste ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--kopf-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(7, 7, 11, 0.82);
  border-bottom: 1px solid rgba(139, 61, 255, 0.25);
}
.logo {
  font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 22px;
  text-decoration: none; letter-spacing: -0.02em;
}
.logo span { color: var(--eis); text-shadow: 0 0 10px rgba(46, 200, 255, 0.7); }
.kopf-nav { display: flex; gap: 28px; margin-left: auto; }
.kopf-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text-2); }
.kopf-nav a:hover { color: var(--text); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  font: 600 16px/1 "Inter", sans-serif; color: #fff; text-decoration: none;
  background: linear-gradient(100deg, var(--violett), #5f4dff 60%, #3a8bff);
  border: 0; border-radius: var(--radius); cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 0 22px rgba(139, 61, 255, 0.55);
  transition: box-shadow 0.2s, transform 0.2s;
}
.knopf:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 0 34px rgba(46, 200, 255, 0.6); }
.knopf-klein { min-height: 40px; padding: 0 16px; font-size: 14px; }
.knopf-rand { background: transparent; box-shadow: 0 0 0 1px var(--eis) inset, 0 0 14px rgba(46, 200, 255, 0.3); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Scroll-Szene ---------- */
.szene { position: relative; height: 420vh; }
.buehne { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--grund); }
.bild-box {
  position: absolute; top: 0; left: 0;
  width: var(--box-w, 177.78vh); height: var(--box-h, 100vh);
  transform: translate3d(var(--box-x, 0px), var(--box-y, 0px), 0);
}
.ebene { position: absolute; inset: 0; width: 100%; height: 100%; }
.ebene-an { opacity: 0; }
.reihe { position: absolute; height: auto; opacity: 0; transform: translateY(-18%); will-change: transform, opacity; }
.blitz { position: absolute; left: 66%; top: 18%; width: 18%; height: 52%; background: radial-gradient(closest-side, rgba(46, 200, 255, 0.35), transparent); opacity: 0; pointer-events: none; mix-blend-mode: screen; }

/* Einschalten: Flackern wie eine Leuchtstoffröhre, dann an */
.ist-an .ebene-an { animation: anschalten 1.5s steps(1, end) forwards; }
@keyframes anschalten {
  0% { opacity: 0; } 8% { opacity: 1; } 12% { opacity: 0; } 22% { opacity: 0.9; } 25% { opacity: 0.1; }
  38% { opacity: 1; } 41% { opacity: 0.3; } 46% { opacity: 1; } 100% { opacity: 1; }
}
.ist-an .blitz { animation: blitz 1.5s ease-out forwards; }
@keyframes blitz { 0%, 30% { opacity: 0; } 46% { opacity: 1; } 100% { opacity: 0; } }

.schleier {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 7, 11, 0.92) 0%, rgba(7, 7, 11, 0.6) 34%, rgba(7, 7, 11, 0) 58%);
}

.texte { position: absolute; inset: 0; pointer-events: none; }
.schritt {
  position: absolute; left: clamp(20px, 6vw, 96px); top: 50%;
  width: min(720px, 50vw);
  opacity: 0; transform: translateY(calc(-50% + 24px));
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.schritt.ist-aktiv { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.schritt[data-schritt="0"] { opacity: 0; }
.ist-an .schritt[data-schritt="0"].ist-aktiv { opacity: 1; transition-delay: 0.9s; }
.schritt h1 { font-size: clamp(34px, 3.6vw, 56px); }
.schritt h2 { font-size: clamp(30px, 3.3vw, 50px); }
.einleitung { font-size: clamp(17px, 1.3vw, 20px); color: var(--text-2); margin: 20px 0 0; max-width: 34em; }
.kicker { font: 700 14px/1.2 "Unbounded", sans-serif; color: var(--eis); margin: 0 0 16px; }
.scroll-hinweis { margin: 40px 0 0; font-size: 14px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 10px; }
.scroll-hinweis::before { content: ""; width: 2px; height: 28px; background: var(--eis); box-shadow: var(--led-glanz); animation: hinweis 1.6s ease-in-out infinite; }
@keyframes hinweis { 0%, 100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); } }

/* Neon-Schriftzug 24/7 */
.rund-um { margin: 0 0 18px; }
.neon {
  display: inline-block;
  font: 800 clamp(64px, 8vw, 132px)/0.9 "Unbounded", sans-serif;
  color: #f4f0ff;
  text-shadow: 0 0 2px #fff, 0 0 8px var(--violett), 0 0 22px var(--violett), 0 0 48px rgba(139, 61, 255, 0.8), 0 0 90px rgba(46, 200, 255, 0.45);
}
.ist-an .neon { animation: neon-an 1.4s steps(1, end) 0.7s both; }
.neon.zuckt { animation: zucken 0.45s steps(1, end); }
@keyframes neon-an { 0% { opacity: 0.08; } 15% { opacity: 1; } 22% { opacity: 0.2; } 40% { opacity: 1; } 46% { opacity: 0.4; } 55%, 100% { opacity: 1; } }
@keyframes zucken { 0% { opacity: 1; } 20% { opacity: 0.25; } 35% { opacity: 1; } 55% { opacity: 0.5; } 70%, 100% { opacity: 1; } }

/* ---------- LED-Streifen zwischen Sektionen ---------- */
.led { position: relative; height: 2px; margin: 0 auto; width: 100%; overflow: visible; }
.led::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--violett) 12%, #fff 50%, var(--eis) 88%, transparent);
  box-shadow: var(--led-glanz);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.led-rechts::before { transform-origin: right center; }
.led.ist-sichtbar::before { transform: scaleX(1); animation: led-flackern 6s steps(1, end) 1.3s infinite; }
@keyframes led-flackern { 0%, 91%, 100% { opacity: 1; } 92% { opacity: 0.35; } 93% { opacity: 1; } 95% { opacity: 0.6; } 96% { opacity: 1; } }

/* ---------- Sektionen ---------- */
.block { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.innen { width: min(1200px, 100% - 32px); margin: 0 auto; }
.innen.schmal { width: min(820px, 100% - 32px); }
.titel { font-size: clamp(30px, 4vw, 56px); max-width: 16em; }
.text { font-size: 18px; color: var(--text-2); max-width: 34em; margin: 24px 0 0; }
.fussnote { font-size: 14px; color: var(--text-2); margin: 16px 0 0; }

/* Standort-Karten mit LED-Kante */
.standorte { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.karte {
  position: relative; padding: 36px 32px 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--flaeche), var(--grund-2));
  border: 1px solid var(--rand);
  overflow: hidden;
}
.karte-led { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--eis), var(--violett)); box-shadow: var(--led-glanz); }
.karte h3 { font-size: clamp(28px, 3vw, 40px); }
.adresse { font-size: 18px; color: var(--text-2); margin: 14px 0 0; }
.status { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-weight: 600; font-size: 15px; }
.punkt { width: 10px; height: 10px; border-radius: 50%; background: #3dff9a; box-shadow: 0 0 10px #3dff9a; animation: puls 1.8s ease-in-out infinite; }
@keyframes puls { 50% { opacity: 0.35; } }

/* Mystery */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.mystery-bild img { width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; }
.mystery-bild { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rand); box-shadow: 0 0 60px rgba(139, 61, 255, 0.25); }
.groessen { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.groessen li {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--flaeche); border: 1px solid var(--rand);
}
.groessen li.breit { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; }
.groesse { font: 800 22px/1.1 "Unbounded", sans-serif; }
.preis { font-weight: 600; color: var(--eis); }

/* Mieten */
.block-mieten { padding-top: 0; }
.mieten-bild { position: relative; height: clamp(320px, 52vw, 680px); overflow: hidden; }
.mieten-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.mieten-bild::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, var(--grund)); }
.mieten-inhalt { margin-top: -60px; position: relative; align-items: start; }

.formular { display: grid; gap: 16px; padding: 32px; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); }
.formular label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.formular input, .formular select {
  width: 100%; min-height: 48px; padding: 0 14px;
  font: 400 16px "Inter", sans-serif; color: #fff;
  background: var(--grund); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius);
}
.formular input:focus, .formular select:focus { outline: none; border-color: var(--eis); box-shadow: 0 0 0 3px rgba(46, 200, 255, 0.25); }
.formular input::-webkit-calendar-picker-indicator { filter: invert(1); }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formular .knopf { margin-top: 6px; }
.formular-danke { margin: 0; font-weight: 600; color: #3dff9a; }

/* Fragen */
details { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
details:first-of-type { margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-weight: 600; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 600 26px "Unbounded", sans-serif; color: var(--eis); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 24px; color: var(--text-2); }

/* Fußzeile */
.fuss-innen { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding: 48px 0 56px; }
.fuss-innen p { margin: 0; font-size: 15px; color: var(--text-2); }
.fuss-nav { display: flex; gap: 24px; margin-left: auto; }
.fuss-nav a { font-size: 15px; color: var(--text-2); }

/* ---------- Handy ---------- */
@media (max-width: 860px) {
  .kopf-nav { display: none; }
  .kopf .knopf-klein { margin-left: auto; }
  .schleier { background: linear-gradient(180deg, rgba(7, 7, 11, 0) 50%, rgba(7, 7, 11, 0.85) 64%, var(--grund) 74%); }
  .schritt { left: 16px; right: 16px; width: auto; top: auto; bottom: max(28px, env(safe-area-inset-bottom)); transform: translateY(24px); }
  .schritt.ist-aktiv { transform: none; }
  .rund-um { margin: 0 0 8px; }
  .neon { font-size: 46px; }
  .schritt[data-schritt="0"] .einleitung, .schritt[data-schritt="0"] .scroll-hinweis { display: none; }
  .schritt h1 { font-size: 28px; }
  .schritt h2 { font-size: 25px; }
  .einleitung { font-size: 16px; margin-top: 12px; }
  .knopf-reihe { margin-top: 18px; }
  .scroll-hinweis { margin-top: 18px; }
  .standorte, .zweispaltig { grid-template-columns: 1fr; }
  .karte { padding: 28px 22px 24px; }
  .mystery-bild img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .mieten-inhalt { margin-top: -30px; }
  .formular { padding: 22px; }
  .fuss-nav { margin-left: 0; }
}
@media (max-width: 400px) { .feld-reihe { grid-template-columns: 1fr; } }

/* Weniger Bewegung: alles sofort an und voll */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .szene { height: auto; }
  .buehne { position: relative; }
  .ebene-an, .reihe { opacity: 1 !important; transform: none !important; animation: none !important; }
  .schritt { display: none; }
  .schritt[data-schritt="0"] { display: block; opacity: 1 !important; }
  .neon, .led::before { animation: none !important; transform: scaleX(1); }
}
