.cw-gallery{padding:35px 0 90px}.cw-gallery-header{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:25px}.cw-gallery h2{font-size:clamp(32px,4.8vw,58px);line-height:1.05;letter-spacing:-.045em;margin:12px 0 0}.cw-gallery-controls{display:flex;gap:8px}.cw-gallery-controls button,.cw-lightbox-prev,.cw-lightbox-next{width:44px;height:44px;border:1px solid #bbb;background:transparent;color:inherit;font-size:28px;cursor:pointer}.cw-gallery-controls button:disabled{opacity:.25;cursor:default}.cw-gallery-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:16px}.cw-gallery-card{flex:0 0 calc((100% - 36px)/3);min-width:0;margin:0;scroll-snap-align:start}.cw-image{display:block;width:100%;padding:0;border:0;background:#e7e6e2;cursor:zoom-in;aspect-ratio:1950/1350}.cw-image img{width:100%;height:100%;object-fit:contain;display:block}.cw-gallery-card figcaption{font-size:14px;line-height:1.5;color:#555;margin-top:12px}.cw-gallery-hint{font-size:14px;color:#666;margin:10px 0 0}.cw-lightbox{background:#111;color:#fff;border:0;max-width:96vw;width:1200px;max-height:96vh;padding:62px 20px 20px;overflow:auto}.cw-lightbox::backdrop{background:#000d}.cw-close{position:absolute;top:12px;right:16px;background:transparent;border:1px solid #888;color:white;padding:8px 14px;font:inherit;cursor:pointer}.cw-lightbox-view{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px}.cw-lightbox-view img{display:block;width:100%;max-height:72vh;height:auto;object-fit:contain;touch-action:pan-y}.cw-lightbox-caption{text-align:center;font-size:14px;line-height:1.5;margin:14px 0 0}.cw-lightbox button:focus-visible,.cw-gallery button:focus-visible,.cw-gallery-track:focus-visible{outline:3px solid #b88e42;outline-offset:4px}body:has(.cw-lightbox[open]){overflow:hidden}@media(max-width:900px){.cw-gallery-card{flex-basis:calc((100% - 18px)/2)}}@media(max-width:560px){.cw-gallery{padding-bottom:50px}.cw-gallery-card{flex-basis:100%}.cw-gallery-header{align-items:center}.cw-gallery-controls button{width:36px;height:40px}.cw-lightbox{padding:58px 8px 15px;width:96vw}.cw-lightbox-view{grid-template-columns:30px minmax(0,1fr) 30px;gap:4px}.cw-lightbox-prev,.cw-lightbox-next{width:30px;height:42px;font-size:24px}.cw-lightbox-view img{max-height:70vh}}@media(prefers-reduced-motion:reduce){.cw-gallery-track{scroll-behavior:auto}}

/* Sichtbare Scrollleiste ausblenden; horizontales Wischen bleibt aktiv. */
.cw-gallery-track{scrollbar-width:none;-ms-overflow-style:none;padding-bottom:0}
.cw-gallery-track::-webkit-scrollbar{display:none;width:0;height:0}

/* Unterschiedliche Originalformate vollständig in der Galerie zeigen. */
.cw-image img{object-fit:contain}
