/* Promedia Galerie V3.45.68 – scoped, dependency-free frontend. */
.pm-gallery{--pm-gallery-gap:14px;--pm-gallery-radius:10px;--pm-gallery-cols:3;--pm-gallery-cols-tablet:2;--pm-gallery-cols-mobile:1;position:relative;display:grid;grid-template-columns:repeat(var(--pm-gallery-cols),minmax(0,1fr));gap:var(--pm-gallery-gap);margin:clamp(26px,4vw,48px) 0}.pm-gallery__item{position:relative;margin:0!important;min-width:0}.pm-gallery__open{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:#111;overflow:hidden;border-radius:var(--pm-gallery-radius);cursor:default;appearance:none}.pm-gallery__open img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .32s ease,filter .32s ease}.pm-gallery[data-lightbox="1"] .pm-gallery__open{cursor:zoom-in}.pm-gallery[data-lightbox="1"] .pm-gallery__open:hover img:not(.pm-gallery__watermark):not(.pm-gallery__stage-blur),.pm-gallery[data-lightbox="1"] .pm-gallery__open:focus-visible img:not(.pm-gallery__watermark):not(.pm-gallery__stage-blur){transform:scale(1.025);filter:brightness(.84)}.pm-gallery__open:focus-visible{outline:3px solid var(--pm-gold,#d4af37);outline-offset:3px}.pm-gallery__zoom{position:absolute;right:14px;bottom:14px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(10,10,10,.76);color:var(--pm-gold,#d4af37);font-size:24px;font-weight:300;opacity:0;transform:translateY(5px);transition:.22s ease}.pm-gallery[data-lightbox="1"] .pm-gallery__open:hover .pm-gallery__zoom,.pm-gallery[data-lightbox="1"] .pm-gallery__open:focus-visible .pm-gallery__zoom{opacity:1;transform:none}.pm-gallery[data-lightbox="0"] .pm-gallery__zoom{display:none}.pm-gallery figcaption{display:block!important;margin:9px 2px 0!important;padding:0!important;color:#6b625a!important;background:transparent!important;font-size:13.5px!important;line-height:1.45!important;text-align:left!important}.pm-gallery--aspect-1-1 .pm-gallery__open{aspect-ratio:1}.pm-gallery--aspect-4-3 .pm-gallery__open{aspect-ratio:4/3}.pm-gallery--aspect-3-2 .pm-gallery__open{aspect-ratio:3/2}.pm-gallery--aspect-16-9 .pm-gallery__open{aspect-ratio:16/9}.pm-gallery--aspect-portrait .pm-gallery__open{aspect-ratio:4/5}.pm-gallery--aspect-original .pm-gallery__open{height:auto}.pm-gallery--aspect-original .pm-gallery__open img{height:auto;aspect-ratio:auto;object-fit:contain;background:#111}
.pm-gallery--masonry{display:block;columns:var(--pm-gallery-cols);column-gap:var(--pm-gallery-gap)}.pm-gallery--masonry .pm-gallery__item{break-inside:avoid;margin:0 0 var(--pm-gallery-gap)!important}.pm-gallery--masonry .pm-gallery__open{height:auto}.pm-gallery--masonry .pm-gallery__open img{height:auto}
.pm-gallery--justified{grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:dense}.pm-gallery--justified .pm-gallery__item{grid-column:span 4}.pm-gallery--justified .pm-gallery__item:nth-child(5n+1){grid-column:span 7}.pm-gallery--justified .pm-gallery__item:nth-child(5n+2){grid-column:span 5}.pm-gallery--justified .pm-gallery__open{aspect-ratio:4/3}.pm-gallery--justified .pm-gallery__item:nth-child(5n+1) .pm-gallery__open{aspect-ratio:16/10}.pm-gallery--editorial{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-gallery--editorial .pm-gallery__item:first-child{grid-column:1/-1}.pm-gallery--editorial .pm-gallery__item:first-child .pm-gallery__open{aspect-ratio:16/9}.pm-gallery--editorial .pm-gallery__item:not(:first-child) .pm-gallery__open{aspect-ratio:4/3}
.pm-gallery--carousel,.pm-gallery--filmstrip{display:flex;position:relative;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;gap:var(--pm-gallery-gap);padding-bottom:12px;scrollbar-width:thin;scrollbar-color:var(--pm-gold,#d4af37) #e9e5df}.pm-gallery--carousel{gap:0;overflow-x:hidden;padding-bottom:68px}.pm-gallery--carousel .pm-gallery__item{flex:0 0 100%;width:100%;scroll-snap-align:start;scroll-snap-stop:always}.pm-gallery--filmstrip .pm-gallery__item{flex:0 0 min(38vw,360px);scroll-snap-align:start}.pm-gallery--carousel .pm-gallery__open{aspect-ratio:16/9;isolation:isolate}.pm-gallery--carousel .pm-gallery__open img:not(.pm-gallery__watermark):not(.pm-gallery__stage-blur){position:relative;z-index:1;object-fit:contain;background:transparent}.pm-gallery--filmstrip .pm-gallery__open{aspect-ratio:4/3}.pm-gallery__scroll-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:max-content}.pm-gallery--carousel .pm-gallery__scroll-controls{position:absolute;left:50%;right:auto;bottom:8px;transform:translateX(-50%);z-index:5;padding:6px 8px;border-radius:999px;background:rgba(10,10,10,.92);backdrop-filter:blur(6px)}.pm-gallery--filmstrip .pm-gallery__scroll-controls{position:sticky;right:0;align-self:flex-end}.pm-gallery__scroll-controls button{width:42px;height:42px;border:1px solid var(--pm-gold,#d4af37);border-radius:50%;background:#111;color:var(--pm-gold,#d4af37);font-size:26px;line-height:1}.pm-gallery__scroll-counter{min-width:58px;text-align:center;color:#fff;font-size:13px;font-weight:700}
.pm-gallery--slideshow{display:block}.pm-gallery--slideshow .pm-gallery__item{display:none}.pm-gallery--slideshow .pm-gallery__item:first-child{display:block}.pm-gallery--slideshow .pm-gallery__open{aspect-ratio:16/9;isolation:isolate}.pm-gallery--slideshow .pm-gallery__open img:not(.pm-gallery__watermark):not(.pm-gallery__stage-blur){position:relative;z-index:1;object-fit:contain;background:transparent}.pm-gallery__error{grid-column:1/-1;padding:18px;border:1px solid #c9a229;border-radius:10px;background:#fff8df;color:#5d4700}
@media(max-width:900px){.pm-gallery{grid-template-columns:repeat(var(--pm-gallery-cols-tablet),minmax(0,1fr))}.pm-gallery--masonry{columns:var(--pm-gallery-cols-tablet)}.pm-gallery--justified{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-gallery--justified .pm-gallery__item,.pm-gallery--justified .pm-gallery__item:nth-child(5n+1),.pm-gallery--justified .pm-gallery__item:nth-child(5n+2){grid-column:auto}.pm-gallery--justified .pm-gallery__open,.pm-gallery--justified .pm-gallery__item:nth-child(5n+1) .pm-gallery__open{aspect-ratio:4/3}}
@media(max-width:600px){.pm-gallery{grid-template-columns:repeat(var(--pm-gallery-cols-mobile),minmax(0,1fr));gap:10px}.pm-gallery--masonry{columns:var(--pm-gallery-cols-mobile)}.pm-gallery--justified{grid-template-columns:1fr}.pm-gallery--carousel .pm-gallery__item{flex-basis:88vw}.pm-gallery--filmstrip .pm-gallery__item{flex-basis:70vw}.pm-gallery__zoom{opacity:1;transform:none;width:30px;height:30px;font-size:20px}}
html.pm-gallery-open{overflow:hidden}.pm-gallery-lightbox{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}.pm-gallery-lightbox[aria-hidden="true"]{display:none}.pm-gallery-lightbox__backdrop{position:absolute;inset:0;background:rgba(4,4,4,.96);backdrop-filter:blur(8px)}.pm-gallery-lightbox__dialog{position:relative;z-index:1;width:min(96vw,1500px);height:min(94vh,1000px);display:grid;grid-template-columns:60px minmax(0,1fr) 60px;grid-template-rows:54px minmax(0,1fr) 100px;color:#fff}.pm-gallery-lightbox__top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:0 4px}.pm-gallery-lightbox__counter{color:var(--pm-gold,#d4af37);font-weight:700}.pm-gallery-lightbox__actions{display:flex;gap:8px}.pm-gallery-lightbox button{border:0;background:rgba(255,255,255,.08);color:#fff;border-radius:50%;cursor:pointer}.pm-gallery-lightbox button:hover,.pm-gallery-lightbox button:focus-visible{background:var(--pm-gold,#d4af37);color:#111;outline:none}.pm-gallery-lightbox__actions button{width:40px;height:40px;font-size:20px}.pm-gallery-lightbox__prev,.pm-gallery-lightbox__next{align-self:center;width:48px;height:48px;font-size:40px;line-height:1}.pm-gallery-lightbox__stage{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}.pm-gallery-lightbox__stage img{display:block;max-width:100%;max-height:calc(100% - 42px);object-fit:contain;transform:scale(1);transition:transform .2s ease;cursor:zoom-in;user-select:none;-webkit-user-drag:none}.pm-gallery-lightbox__stage img.is-zoomed{transform:scale(1.75);cursor:zoom-out}.pm-gallery-lightbox__caption{min-height:34px;padding-top:10px;color:rgba(255,255,255,.74);font-size:14px;text-align:center}.pm-gallery-lightbox__thumbs{grid-column:1/-1;display:flex;gap:8px;align-items:center;overflow-x:auto;padding:10px 4px}.pm-gallery-lightbox__thumbs button{flex:0 0 72px;width:72px;height:72px;padding:0;border-radius:7px;overflow:hidden;border:2px solid transparent;background:#222}.pm-gallery-lightbox__thumbs button.is-active{border-color:var(--pm-gold,#d4af37)}.pm-gallery-lightbox__thumbs img{width:100%;height:100%;object-fit:cover}.pm-gallery-lightbox__dialog:fullscreen{width:100vw;height:100vh;padding:18px;background:#050505}
@media(max-width:700px){.pm-gallery-lightbox{padding:8px}.pm-gallery-lightbox__dialog{width:100%;height:96vh;grid-template-columns:42px minmax(0,1fr) 42px;grid-template-rows:48px minmax(0,1fr) 82px}.pm-gallery-lightbox__prev,.pm-gallery-lightbox__next{width:38px;height:38px;font-size:30px}.pm-gallery-lightbox__thumbs button{flex-basis:58px;width:58px;height:58px}.pm-gallery-lightbox__stage img.is-zoomed{transform:scale(1.35)}}

.pm-gallery__inline-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px}.pm-gallery__inline-controls button{width:42px;height:42px;border:1px solid var(--pm-gold,#d4af37);border-radius:50%;background:#111;color:var(--pm-gold,#d4af37);font-size:26px;line-height:1}.pm-gallery__inline-controls span{min-width:70px;text-align:center;color:#6b625a;font-size:13px;font-weight:700}

/* V3.45.75: reliable visible watermark overlay plus derivative fallback. */
.pm-gallery__open img.pm-gallery__watermark{position:absolute;z-index:2;display:block!important;height:auto!important;max-width:50%!important;object-fit:contain!important;pointer-events:none;user-select:none;-webkit-user-drag:none;transition:none!important;transform:none!important;filter:none!important}
.pm-gallery__open:hover img.pm-gallery__watermark,.pm-gallery__open:focus-visible img.pm-gallery__watermark{transform:none!important;filter:none!important}
.pm-gallery__watermark--top-left{top:3%;left:3%;right:auto;bottom:auto}.pm-gallery__watermark--top-right{top:3%;right:3%;left:auto;bottom:auto}.pm-gallery__watermark--bottom-left{bottom:3%;left:3%;right:auto;top:auto}.pm-gallery__watermark--bottom-right{bottom:3%;right:3%;left:auto;top:auto}.pm-gallery__watermark--center{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%)!important}.pm-gallery__open:hover img.pm-gallery__watermark--center,.pm-gallery__open:focus-visible img.pm-gallery__watermark--center{transform:translate(-50%,-50%)!important}


/* V3.45.80: Großbild mit Vorschaustreifen – stabile WIEGEL-orientierte Ansicht. */
.pm-gallery--showcase{display:block;position:relative}
.pm-gallery--showcase>.pm-gallery__item{display:none}
.pm-gallery--showcase>.pm-gallery__item.is-active{display:block}
.pm-gallery--showcase>.pm-gallery__item .pm-gallery__open{aspect-ratio:16/9;background:#111;isolation:isolate}
.pm-gallery--showcase>.pm-gallery__item .pm-gallery__open img:not(.pm-gallery__watermark){position:relative;z-index:1;object-fit:contain;background:transparent}.pm-gallery__stage-blur{position:absolute!important;z-index:0!important;inset:-7%!important;width:114%!important;height:114%!important;max-width:none!important;object-fit:cover!important;filter:blur(24px) brightness(.58)!important;transform:scale(1.06)!important;opacity:.72;pointer-events:none;transition:none!important}.pm-gallery__open:hover .pm-gallery__stage-blur,.pm-gallery__open:focus-visible .pm-gallery__stage-blur{filter:blur(24px) brightness(.58)!important;transform:scale(1.06)!important}
.pm-gallery__showcase-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin:12px 0 0}
.pm-gallery__showcase-nav button{width:42px;height:42px;border:1px solid var(--pm-gold,#d4af37);border-radius:50%;background:#111;color:var(--pm-gold,#d4af37);font-size:26px;line-height:1;cursor:pointer}
.pm-gallery__showcase-nav button:hover,.pm-gallery__showcase-nav button:focus-visible{background:var(--pm-gold,#d4af37);color:#111;outline:none}
.pm-gallery__showcase-counter{min-width:70px;text-align:center;color:#6b625a;font-size:13px;font-weight:700}
.pm-gallery__showcase-thumbs{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding:12px 0 4px;scrollbar-width:thin;scrollbar-color:var(--pm-gold,#d4af37) #eee}
.pm-gallery__showcase-thumb{flex:0 0 clamp(110px,15%,190px);aspect-ratio:16/9;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:#111;opacity:.58;cursor:pointer;scroll-snap-align:center;transition:opacity .2s ease,border-color .2s ease,transform .2s ease}
.pm-gallery__showcase-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.pm-gallery__showcase-thumb.is-active{opacity:1;border-color:var(--pm-gold,#d4af37);transform:translateY(-1px)}
@media(max-width:600px){.pm-gallery--showcase>.pm-gallery__item .pm-gallery__open{aspect-ratio:16/9}.pm-gallery__showcase-thumb{flex-basis:92px}.pm-gallery--carousel{padding-bottom:64px}.pm-gallery--carousel .pm-gallery__item{flex-basis:100%}}


/* V3.45.84: Nicht-interaktive Hauptbilder dürfen keinen Hand-/Zoom-Cursor erben. */
.pm-gallery[data-lightbox="0"] .pm-gallery__open,
.pm-gallery[data-lightbox="0"] .pm-gallery__open:hover,
.pm-gallery[data-lightbox="0"] .pm-gallery__open:focus {cursor:default!important;}
.pm-gallery[data-lightbox="0"] .pm-gallery__open * {cursor:default!important;}
