/* Bildergalerie „Lichtbühne“ (Simon 18.11.2026, ersetzt den 3D-Ring): flache Reihe auf einer Bodenlinie statt 3D-Ring, Raumlicht aus dem aktiven Bild,
   weiche Spiegelung am Boden, Ziehen mit Schwung, Vorschaubilder als Fortschritt. */
.lb { position: relative; overflow: hidden; isolation: isolate; background: #0B0C10; transition: background-color 1.2s ease; color: var(--weiss); padding: 92px 0 var(--leiste-platz); }
@media (max-width: 599px) { .lb { padding-top: 72px; } }
.lb__licht { position: absolute; inset: -12%; z-index: -1; pointer-events: none; }
.lb__licht canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.lb__licht canvas.ist-an { opacity: .62; }
.lb__licht::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 42%, rgba(7,8,11,0) 0%, rgba(7,8,11,.5) 72%, #07080B 100%), linear-gradient(to bottom, rgba(7,8,11,0) 70%, #07080B 100%); }
.lb__kopf { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 var(--rand); }
.lb .galerie__kicker { color: rgba(255,255,255,.72); }
.lb__zahl { display: flex; align-items: flex-end; gap: .5rem; font-weight: 300; line-height: 1; }
.lb__fenster { display: inline-block; overflow: hidden; height: 1em; font-size: clamp(2.4rem, 4vw, 3.6rem); }
.lb__fenster span { display: block; }
.lb__zahl small { font-size: .85rem; letter-spacing: .12em; color: rgba(255,255,255,.55); padding-bottom: .3em; }
.lb__buehne { --boden: 85%; position: relative; height: clamp(420px, calc(100vh - 250px), 860px); height: clamp(420px, calc(100svh - 250px), 860px); margin-top: clamp(8px, 2vh, 24px); outline: none; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lb__buehne.ist-gezogen { cursor: grabbing; }
.lb__buehne:focus-visible { outline: 1px solid rgba(255,255,255,.4); outline-offset: -1px; }
.lb__boden { position: absolute; left: 0; right: 0; top: var(--boden); height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18) 30%, rgba(255,255,255,.18) 70%, transparent); }
.lb__spur { position: absolute; inset: 0; }
.lb__bild { position: absolute; left: 50%; top: var(--boden); margin: 0; transform-origin: 50% 0; will-change: transform; }
.lb__rahmen { position: absolute; left: 0; right: 0; bottom: 0; height: var(--hh); overflow: hidden; background: #15171C; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.lb__rahmen img { position: absolute; top: 0; left: -6%; width: 112%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; will-change: transform, filter; }
.lb__bild.ist-plan .lb__rahmen { background: #F4F4F2; } .lb__bild.ist-plan .lb__rahmen img { object-fit: contain; padding: 3%; left: 0; width: 100%; }
/* Spiegelung: exakt gespiegelter Ausschnitt (gleiche Parallaxe wie oben), kurz und dunkel; clip-path schneidet den Unschärfe-Rand ab */
.lb__spiegel { position: absolute; left: 0; right: 0; top: 2px; height: calc(var(--hh) * .26); overflow: hidden; pointer-events: none; 
  -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.1) 45%, transparent 90%); mask: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.1) 45%, transparent 90%); }
.lb__spiegel img { position: absolute; top: 0; left: -6%; width: 112%; max-width: none; height: var(--hh); object-fit: cover; transform: scaleY(-1); transform-origin: 50% 50%; }
.lb__bild.ist-plan .lb__spiegel { display: none; }
.lb__leiste { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); padding: 0 var(--rand); margin-top: 4px; position: relative; }
.lb__pfeil { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--weiss); font-size: 1.1rem; cursor: pointer; transition: background .25s ease, opacity .25s ease; }
.lb__pfeil:hover { background: rgba(255,255,255,.18); } .lb__pfeil:disabled { opacity: .25; cursor: default; }
.lb__daumen { flex: 1; display: flex; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.lb__daumen::-webkit-scrollbar { display: none; }
.lb__daumen button { position: relative; display: block; width: 64px; height: 40px; padding: 0; border: 0; background: #15171C; cursor: pointer; opacity: .38; transition: opacity .35s ease, transform .5s var(--schnell); }
.lb__daumen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb__daumen button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--weiss); transform: scaleX(0); transition: transform .5s var(--schnell); }
.lb__daumen button:hover { opacity: .7; }
.lb__daumen button[aria-current="true"] { opacity: 1; transform: translateY(-3px); }
.lb__daumen button[aria-current="true"]::after { transform: scaleX(1); }
/* Seit dem Board (23.11.2026) eine Ebene über der Seite: öffnet beim Klick auf ein Bild, schließt mit ×, Esc oder „Zurück“ */
.lb-ebene { position: fixed; inset: 0; z-index: 300; }
.lb-ebene[hidden] { display: none; }
.lb-ebene .lb { height: 100%; padding: clamp(18px, 3vh, 32px) 0 clamp(16px, 3vh, 28px); display: flex; flex-direction: column; }
.lb-ebene .lb__buehne { flex: 1 1 auto; height: auto; min-height: 0; }
.lb__kopf { gap: 1rem; } .lb__zahl { margin-left: auto; }
.lb__zu { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--weiss); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .25s ease; align-self: center; }
.lb__zu:hover { background: rgba(255,255,255,.18); }
.lb__zu:focus-visible, .lb__pfeil:focus-visible { outline: 1px solid rgba(255,255,255,.6); outline-offset: 2px; }
@media (max-width: 599px) {
  .lb__buehne { height: clamp(320px, 112vw, 480px); --boden: 80%; }
  .lb__daumen { justify-content: flex-start; } .lb__daumen button { width: 48px; height: 32px; }
  .lb__pfeil { display: none; }
  .lb__leiste { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .lb__licht canvas { transition: none; } }
html.lb-offen { overflow: hidden; }
