.erfahrung-section .experience-collage{width:100%;align-self:center}
.home-preview{display:block;padding:0;background:none;border:0;border-radius:4px;overflow:hidden;cursor:zoom-in}
.erfahrung-section .experience-collage .home-preview img{width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
.experience-collage .home-exterior{width:88%;aspect-ratio:4/3}
.experience-collage .home-exterior img{object-position:49% center}
.experience-collage .home-interior{width:44%;aspect-ratio:3/4;margin:-30% 0 0 auto;position:relative;border:6px solid var(--background)}
.experience-collage figcaption{margin-top:4px}
.home-gallery-launch{display:flex;justify-content:space-between;width:100%;margin-top:16px;text-align:left}
.home-gallery-launch span{white-space:nowrap}
.home-gallery-open{overflow:hidden}
.home-gallery-dialog{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:16px 32px;background:#0b140ff7;color:#fff;overflow:hidden;gap:10px;grid-template-rows:44px minmax(0,1fr) auto 88px}
.home-gallery-dialog[open]{display:grid}
.home-gallery-dialog::backdrop{background:#0b140f}
.home-gallery-heading{display:flex;align-items:center;gap:12px;min-width:0}
.home-gallery-heading h2{margin:0 auto 0 0;color:white;font-size:var(--type-body);letter-spacing:0}
.home-gallery-dialog button{background:var(--primary);color:white;border:1px solid #ffffff60;border-radius:2px;cursor:pointer;flex-shrink:0}
.home-gallery-dialog button:hover{background:var(--secondary)}
.home-gallery-dialog button:focus-visible{outline:3px solid white;outline-offset:2px}
.home-gallery-zoom,.home-gallery-close,.home-gallery-prev,.home-gallery-next{width:44px;height:44px;font:400 28px/1 Arial,sans-serif}
.home-gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:auto}
.home-gallery-stage .home-gallery-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.home-gallery-dialog.is-zoomed .home-gallery-stage{display:block}
.home-gallery-dialog.is-zoomed .home-gallery-image{max-width:none;max-height:none;margin:0 auto}
.home-gallery-stage .home-gallery-error{position:absolute;inset:auto 16px 16px;background:var(--primary);padding:16px;text-align:center;color:white}
.home-gallery-error[hidden]{display:none}
.home-gallery-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:16px;align-items:center;width:100%;max-width:1100px;margin-inline:auto}
.home-gallery-controls p{color:#fff;text-align:center;margin:0;font-size:var(--type-meta);line-height:1.4}
.home-gallery-counter{font-variant-numeric:tabular-nums;padding-top:4px;opacity:.75}
.home-gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;min-width:0;padding:4px;scroll-snap-type:x proximity;max-width:1100px;width:100%;margin-inline:auto;scrollbar-width:thin;scrollbar-color:#5e8a6b #172d20}
.home-gallery-thumbnail{position:relative;width:60px;height:76px;padding:0;overflow:hidden;scroll-snap-align:center;opacity:.65}
.home-gallery-thumbnail[aria-current=true]{outline:2px solid #80d49a;outline-offset:1px;opacity:1}
.home-gallery-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}
.home-gallery-thumbnail span{position:absolute;bottom:0;right:0;min-width:20px;background:#102a1dd9;color:white;font-size:11px;line-height:18px}
@media(max-width:767px){.home-gallery-dialog{padding:12px;gap:8px;grid-template-rows:44px minmax(0,1fr) auto 78px}.home-gallery-heading h2{font-size:14px}.home-gallery-controls{gap:8px}.home-gallery-caption{font-size:12px}.home-gallery-thumbnail{height:66px;width:52px}.home-gallery-launch{padding:12px}.experience-collage .home-interior{border-width:4px}}
