/* Lightbox: Inhaltsbilder vergrößern (ohne Bibliothek) */
img.lb-zoom{cursor:zoom-in}
img.lb-zoom:focus-visible{outline:2px solid var(--ink,#111);outline-offset:4px}
.lb{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(8,8,8,.97);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s linear .25s;-webkit-tap-highlight-color:transparent}
.lb.offen{opacity:1;visibility:visible;transition:opacity .25s ease}
.lb-buehne{position:relative;margin:0;display:flex;flex-direction:column;align-items:center;max-width:calc(100vw - 2*clamp(12px,6vw,96px));max-height:calc(100vh - 2*clamp(56px,8vh,90px));max-height:calc(100dvh - 2*clamp(56px,8vh,90px))}
.lb-buehne picture{display:block;min-height:0}
.lb-bild{display:block;max-width:100%;max-height:calc(100vh - 2*clamp(56px,8vh,90px) - 3em);max-height:calc(100dvh - 2*clamp(56px,8vh,90px) - 3em);width:auto;height:auto;object-fit:contain;cursor:default;user-select:none;-webkit-user-drag:none;background:#1a1a1a;transition:opacity .2s ease}
.lb-bild.laedt{opacity:.35}
.lb-text{margin-top:12px;max-width:70ch;color:#bdbdbd;font-size:13px;line-height:1.6;text-align:center}
.lb-zahl{position:fixed;top:22px;left:24px;color:#9a9a9a;font-size:12px;letter-spacing:.2em}
.lb-knopf{position:fixed;display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:28px;line-height:1;cursor:pointer;transition:background .2s ease}
.lb-knopf:hover{background:rgba(255,255,255,.2)}
.lb-knopf:focus-visible{outline:2px solid #fff;outline-offset:3px}
.lb-zu{top:12px;right:12px}
.lb-zurueck{left:12px;top:50%;transform:translateY(-50%)}
.lb-weiter{right:12px;top:50%;transform:translateY(-50%)}
.lb-einzeln .lb-zurueck,.lb-einzeln .lb-weiter,.lb-einzeln .lb-zahl{display:none}
@media (max-width:700px){.lb-zurueck,.lb-weiter{top:auto;bottom:12px;transform:none}.lb-buehne{max-width:100vw}.lb-bild{max-height:calc(100dvh - 150px)}.lb-text{padding:0 16px}}
html.lb-gesperrt,html.lb-gesperrt body{overflow:hidden}
@media (prefers-reduced-motion:reduce){.lb,.lb.offen,.lb-bild,.lb-knopf{transition:none}}
