/* =====================================================================
   Neon-Schild im Kopf der Startseite (Testfassung, 22.11.2026)
   Diner-Leuchtschrift „Der Bildgestalter“, die sich beim Besuch einschaltet.
   Ersetzt die wechselnden Titelbilder. Gehört zu neon.js.

   Zustände:
   - ohne JavaScript oder bei „Bewegung reduzieren“: alles leuchtet sofort
   - html.neon-js: Röhren sind aus, bis neon.js sie mit .an einschaltet
   Farben: --n1 Hauptröhre, --n2 „DER“, --n3 Unterstreichung/Lichterkette.
   Jahreszeiten setzt neon.js über data-look am Hero.

   Schriften: Yellowtail und Righteous, lokal (Google Fonts, SIL Open Font
   License 1.1) – wie Inter/Space Grotesk ohne Nachladen von Google.
   ===================================================================== */

@font-face {
  font-family: 'Yellowtail';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/yellowtail-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Righteous';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/righteous-400-latin.woff2') format('woff2');
}

.neon-hero {
  --n1: var(--cyan); --n2: var(--coral); --n3: var(--gold); --n-rot: #ff3b3b;
  --n-glas: #2b3036;
  --n-script: 'Yellowtail', 'Brush Script MT', cursive;
  --n-roehre: 'Righteous', 'Arial Rounded MT Bold', var(--display);
}
.neon-hero[data-look="advent"]    { --n1: #ff4b4b; --n2: #4dff8a; --n3: #ffe08a; }
.neon-hero[data-look="halloween"] { --n1: #ff8a1f; --n2: #b36bff; --n3: #ffd24d; }

/* ---------- Bühne ---------- */
body .hero.neon-hero {
  min-height: 0;
  align-content: start;
  grid-template-columns: minmax(0, 1fr); /* sonst macht der lange Schriftzug die Spalte breiter als den Bildschirm */
  padding: clamp(6.2rem, 11vw, 8rem) 0 0;
  background: #0c0a0b;
}
.neon-wand {
  position: absolute; inset: 0; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='68'%3E%3Crect width='192' height='68' fill='%230b0909'/%3E%3Crect x='1' y='1' width='94' height='32' rx='2' fill='%231e1517'/%3E%3Crect x='97' y='1' width='94' height='32' rx='2' fill='%23191314'/%3E%3Crect x='-47' y='35' width='94' height='32' rx='2' fill='%231a1415'/%3E%3Crect x='49' y='35' width='94' height='32' rx='2' fill='%23211719'/%3E%3Crect x='145' y='35' width='94' height='32' rx='2' fill='%231a1415'/%3E%3C/svg%3E") 0 0 / 192px 68px;
}
.neon-wand::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 85% at 50% 30%, transparent 35%, rgba(0,0,0,.78) 100%),
    linear-gradient(180deg, rgba(11,12,15,.55), transparent 18%, transparent 70%, var(--bg));
}
/* Lichtschein der Röhren auf der Wand */
.neon-schein {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(46% 34% at 50% 30%, color-mix(in srgb, var(--n1) 28%, transparent), transparent 70%),
    radial-gradient(18% 14% at 50% 12%, color-mix(in srgb, var(--n2) 22%, transparent), transparent 70%);
  opacity: 1; transition: opacity .25s;
}
.neon-js .neon-hero:not(.ist-an) .neon-schein { opacity: 0; }
.neon-hero .neon-schein.dip { opacity: .55; }

body .neon-hero .hero-inner {
  z-index: 3;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center; text-align: center;
  padding-inline: clamp(1.2rem, 5vw, 3rem);
}

/* ---------- Das Schild ---------- */
.neon-schild {
  margin: 0; line-height: 1; cursor: pointer;
  display: grid; justify-items: center; gap: .2em;
  font-size: clamp(6.5px, 2vw, 21px);
  -webkit-tap-highlight-color: transparent;
}
.neon-roehre {
  color: color-mix(in srgb, var(--rc) 30%, #fff);
  text-shadow:
    0 0 .04em #fff,
    0 0 .12em var(--rc),
    0 0 .3em var(--rc),
    0 0 .7em var(--rc),
    0 0 1.4em color-mix(in srgb, var(--rc) 60%, transparent);
}
.neon-js .neon-roehre:not(.an) {
  color: var(--n-glas); text-shadow: 0 1px 0 rgba(255,255,255,.05);
}

.neon-der {
  --rc: var(--n2);
  font: 400 3.1em/1 var(--n-roehre); letter-spacing: .32em;
  padding: .22em .5em .22em .82em; border-radius: .5em;
  border: .09em solid color-mix(in srgb, var(--n2) 40%, #fff);
  box-shadow: 0 0 .25em var(--n2), 0 0 .8em var(--n2), inset 0 0 .35em var(--n2);
}
.neon-js .neon-der:not(.an) { border-color: var(--n-glas); box-shadow: none; }

.neon-name {
  font: 400 11.5em/0.95 var(--n-script);
  font-size: min(11.5em, 19vw);
  white-space: nowrap; letter-spacing: .005em;
}
.neon-name > span { --rc: var(--n1); display: inline-block; }

.neon-strich { width: 34em; max-width: 88vw; height: auto; margin-top: -.6em; overflow: visible; }
.neon-strich path {
  fill: none; stroke-width: 7; stroke-linecap: round;
  stroke: color-mix(in srgb, var(--n3) 35%, #fff);
  filter: drop-shadow(0 0 3px var(--n3)) drop-shadow(0 0 10px var(--n3)) drop-shadow(0 0 22px var(--n3));
}
.neon-js .neon-strich:not(.an) path { stroke: var(--n-glas); filter: none; }
.neon-strich.zieht path { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: neon-zieht .7s ease-out forwards; }
@keyframes neon-zieht { to { stroke-dashoffset: 0; } }

.neon-zeile { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1em 1.6em; margin-top: .6em; }
.neon-motto { --rc: var(--n3); font: 400 1.9em/1 var(--n-roehre); letter-spacing: .28em; }
.neon-offen {
  --rc: var(--n-rot);
  font: 400 2.2em/1 var(--n-roehre); letter-spacing: .18em;
  padding: .35em .55em .3em .73em; border-radius: .3em;
  border: .09em solid #ffb3b3; box-shadow: 0 0 .25em var(--n-rot), 0 0 .9em var(--n-rot);
}
.neon-js .neon-offen:not(.an) { border-color: var(--n-glas); box-shadow: none; }

/* ---------- Pfeil und Aufkleber „Hier anfangen“ ---------- */
.neon-weg {
  display: flex; align-items: center; justify-content: center; gap: clamp(.2rem, 1.2vw, .8rem);
  margin-top: clamp(1.2rem, 2.4vw, 1.8rem);
}
.neon-pfeil { width: clamp(140px, 16vw, 210px); height: auto; overflow: visible; flex: 0 0 auto; }
.neon-pfeil .birne { fill: #3a3326; transition: fill .08s; }
.neon-pfeil .birne.hell { fill: #fff3c4; filter: drop-shadow(0 0 3px var(--n3)) drop-shadow(0 0 8px var(--n3)); }

/* Runder Aufkleber, schräg an die Wand geklebt */
.neon-aufkleber {
  --dreh: -9deg;
  position: relative; flex: 0 0 auto;
  width: clamp(7.4rem, 9vw, 8rem); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: .15rem;
  text-align: center; text-decoration: none; color: #1b1310;
  background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--n3) 55%, #fff), var(--n3) 62%, color-mix(in srgb, var(--n3) 75%, #7a4a00));
  box-shadow: 0 .5rem 1.2rem rgba(0,0,0,.55), 0 0 1.6rem color-mix(in srgb, var(--n3) 35%, transparent);
  transform: rotate(var(--dreh));
  transition: transform .35s var(--ease), box-shadow .35s;
}
.neon-aufkleber::before { /* gestrichelter Innenrand wie bei einem Etikett */
  content: ""; position: absolute; inset: .32rem; border-radius: 50%;
  border: 1.5px dashed rgba(27,19,16,.45); pointer-events: none;
}
.neon-aufkleber::after { /* Glanzlicht */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.35), transparent 38%);
}
/* design.css färbt Links türkis – hier bewusst dunkle Schrift auf dem Aufkleber
   und gedämpfte Beschriftung im Bildstreifen */
/* (die Regel in design.css ist sehr spezifisch, daher hier !important) */
body .neon-hero a.neon-aufkleber { color: #1b1310 !important; -webkit-text-fill-color: #1b1310; }
body .neon-hero .neon-streifen a { color: var(--muted) !important; }
body .neon-hero .neon-streifen a:hover, body .neon-hero .neon-streifen a:focus-visible { color: var(--ink) !important; }
.neon-aufkleber__klein { font: 700 .62rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #8a2a12 !important; -webkit-text-fill-color: #8a2a12; }
.neon-aufkleber__gross { font: 400 1.16rem/.95 var(--n-roehre); text-transform: uppercase; letter-spacing: 0; }
.neon-aufkleber__pfeil { font: 700 1.05rem/1 var(--display); }
.neon-aufkleber:hover, .neon-aufkleber:focus-visible {
  transform: rotate(0deg) scale(1.08); outline: none;
  box-shadow: 0 .7rem 1.6rem rgba(0,0,0,.6), 0 0 2.4rem color-mix(in srgb, var(--n3) 60%, transparent);
}
.neon-aufkleber:focus-visible { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--n3); }
/* sanftes Nachwippen, wenn die Lichterkette angeht */
.ist-an .neon-aufkleber { animation: neon-wippen 5s ease-in-out 3s infinite; }
@keyframes neon-wippen {
  0%, 88%, 100% { transform: rotate(var(--dreh)); }
  92% { transform: rotate(calc(var(--dreh) + 6deg)) scale(1.04); }
  96% { transform: rotate(calc(var(--dreh) - 3deg)); }
}
.neon-aufkleber:hover { animation: none; }

@media (max-width: 699px) {
  .neon-pfeil { width: 110px; }
}

/* Kurzer Satz unter dem Bildstreifen */
.neon-lead {
  margin: clamp(1rem, 2vw, 1.4rem) auto 0; max-width: 52ch; text-align: center;
  font-size: clamp(.9rem, 1.2vw, 1rem); line-height: 1.6; color: var(--muted);
}

/* Ton-Knopf */
.neon-ton {
  position: absolute; z-index: 4;
  right: max(1rem, env(safe-area-inset-right, 0px)); top: clamp(5.4rem, 9vw, 6.4rem);
  display: inline-flex; align-items: center; gap: .45rem;
  font: 500 .8rem/1 var(--display); color: var(--muted); cursor: pointer;
  background: rgba(16,18,24,.75); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .8rem;
}
.neon-ton[aria-pressed="true"] { color: var(--n1); border-color: color-mix(in srgb, var(--n1) 60%, transparent); }
.neon-ton:focus-visible { outline: 2px solid var(--n1); outline-offset: 2px; }

/* ---------- Bildstreifen: zeigt gleich, was es hier zu sehen gibt ---------- */
.neon-streifen {
  position: relative; z-index: 3;
  margin-top: clamp(2.2rem, 4.5vw, 3.4rem);
  padding: 0 clamp(1.2rem, 5vw, 3rem) clamp(1.6rem, 3vw, 2.4rem);
}
.neon-streifen ul {
  list-style: none; margin: 0 auto; padding: .4rem 0 .6rem; max-width: var(--max);
  display: flex; gap: clamp(.6rem, 1.2vw, .9rem); justify-content: safe center;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.neon-streifen ul::-webkit-scrollbar { display: none; }
.neon-streifen li { flex: 0 0 auto; scroll-snap-align: start; }
.neon-streifen a {
  display: grid; gap: .45rem; width: clamp(88px, 8.2vw, 108px);
  color: var(--muted); text-decoration: none;
  font: 500 .72rem/1.2 var(--text); letter-spacing: .04em;
}
.neon-streifen img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border-radius: 10px; border: 1px solid var(--line);
  filter: saturate(.85) brightness(.82);
  transition: filter .3s, box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.neon-streifen a:hover img, .neon-streifen a:focus-visible img {
  filter: none; transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--n1) 70%, #fff);
  box-shadow: 0 0 .5rem var(--n1), 0 0 1.4rem color-mix(in srgb, var(--n1) 55%, transparent);
}
.neon-streifen a:hover, .neon-streifen a:focus-visible { color: var(--ink); outline: none; }

@media (prefers-reduced-motion: reduce) {
  .neon-strich.zieht path { animation: none; stroke-dashoffset: 0; }
  .ist-an .neon-aufkleber { animation: none; }
  .neon-streifen img { transition: none; }
}

/* ---------- Lichtschalter am Eingang (nur mit data-schalter am Hero) ----------
   Browser spielen Ton erst nach einem Tippen ab. Darum: Wand dunkel, ein alter
   Kippschalter „Licht an“. Antippen = Klacken, Schild springt mit Brummen an.
   Ohne Tippen geht das Licht nach gut 2 Sekunden trotzdem an, nur ohne Ton. */
.neon-weg { position: relative; }
.neon-weg > * { transition: opacity .5s; }
.neon-schalter { display: none; }
.schalter-bereit .neon-weg > :not(.neon-schalter) { opacity: 0; pointer-events: none; }
.schalter-bereit .neon-schalter {
  display: grid; justify-items: center; gap: .7rem;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  background: none; border: 0; padding: .4rem; margin: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.neon-schalter.weg { opacity: 0; pointer-events: none; transition: opacity .45s .3s; }
.neon-schalter:focus-visible { outline: 2px solid var(--n3); outline-offset: 6px; border-radius: 12px; }

.neon-schalter__platte {
  position: relative; display: block; width: 60px; height: 96px; border-radius: 10px;
  background: linear-gradient(160deg, #efe3c6, #c7b285 55%, #a8925f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 4px rgba(0,0,0,.25), 0 8px 18px rgba(0,0,0,.65);
}
/* Schrauben oben und unten */
.neon-schalter__platte > i {
  position: absolute; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d8c7a0, #7d6a45);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.neon-schalter__platte > i::after { content: ""; position: absolute; left: 1px; right: 1px; top: 3.5px; height: 1px; background: rgba(40,30,15,.7); transform: rotate(35deg); }
.neon-schalter__platte > i:first-child { top: 8px; }
.neon-schalter__platte > i:nth-child(2) { bottom: 8px; }
/* Schlitz */
.neon-schalter__platte::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 36px;
  transform: translate(-50%, -50%); border-radius: 5px;
  background: #2a2117; box-shadow: inset 0 2px 4px rgba(0,0,0,.8);
}
/* Kippschalter: unten = aus, oben = an */
.neon-schalter__hebel {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 13px; height: 30px; border-radius: 7px;
  background: linear-gradient(90deg, #1a1513, #3d342e 45%, #15110f);
  box-shadow: 0 3px 4px rgba(0,0,0,.6);
  transform: translate(-50%, -10%);
  transition: transform .12s cubic-bezier(.3, 1.6, .5, 1);
}
.neon-schalter.an .neon-schalter__hebel { transform: translate(-50%, -90%); }
/* sanfter Lichtring, der zum Antippen einlädt */
.neon-schalter__platte::before {
  content: ""; position: absolute; inset: -8px; border-radius: 16px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--n3) 60%, transparent), 0 0 22px color-mix(in srgb, var(--n3) 45%, transparent);
  animation: neon-ring 1.6s ease-in-out infinite;
}
.neon-schalter.an .neon-schalter__platte::before { animation: none; opacity: 0; }
@keyframes neon-ring { 0%, 100% { opacity: .15; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.04); } }
.neon-schalter__text {
  font: 400 .8rem/1 var(--n-roehre); letter-spacing: .24em; padding-left: .24em; text-transform: uppercase;
  color: color-mix(in srgb, var(--n3) 45%, #fff);
  text-shadow: 0 0 .3em var(--n3), 0 0 .8em color-mix(in srgb, var(--n3) 60%, transparent);
}
.neon-schalter:hover .neon-schalter__hebel { transform: translate(-50%, -18%); }
.neon-schalter.an:hover .neon-schalter__hebel { transform: translate(-50%, -90%); }
@media (prefers-reduced-motion: reduce) {
  .neon-schalter__platte::before { animation: none; opacity: .8; }
}
