/* MoselFinder – Bilddarstellung und Großansicht. © 2026 linstec – Mike Linsenbold */
.mf-lb-ziel img[data-mf-gross] { cursor: zoom-in; }
.mf-karte__bild img, .mf-galerie__bild img, .mf-titelbild img { background-color: var(--mf-flaeche-2, #EEEAE0); }
.mf-bild-platzhalter { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

html.mf-lb-offen { overflow: hidden; }
.mf-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(3, 20, 30, .96); color: #fff; }
.mf-lb[hidden] { display: none; }
.mf-lb__spur { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.mf-lb__spur::-webkit-scrollbar { display: none; }
.mf-lb__bild { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 40px; box-sizing: border-box; }
.mf-lb__bild img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; min-height: 0; }
.mf-lb__bild figcaption { flex: none; margin-top: 10px; font: 15px/1.4 var(--mf-text, system-ui, sans-serif); color: #D5E2EA; text-align: center; max-width: 60ch; }
.mf-lb__zahl { position: absolute; left: 16px; top: 16px; font: 600 15px/40px var(--mf-text, system-ui, sans-serif); color: #D5E2EA; }
.mf-lb__knopf { position: absolute; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mf-lb__knopf:hover { background: rgba(255, 255, 255, .26); }
.mf-lb__knopf:focus-visible { outline: 3px solid var(--mf-oliv, #6E831E); outline-offset: 2px; }
.mf-lb__zu { right: 12px; top: 12px; }
.mf-lb__vor, .mf-lb__nach { top: 50%; transform: translateY(-50%); display: none; }
.mf-lb__vor { left: 12px; }
.mf-lb__nach { right: 12px; }
@media (hover: hover) and (pointer: fine) { .mf-lb__vor, .mf-lb__nach { display: inline-flex; } }
.mf-lb--einzeln .mf-lb__vor, .mf-lb--einzeln .mf-lb__nach { display: none; }
@media (prefers-reduced-motion: reduce) { .mf-lb__spur { scroll-behavior: auto; } }
