/* 7R Galerie 1.27.0 — ein Rahmen, vollständiges Bild, orientationssicher */
.gallery-shell{max-width:1420px;margin:0 auto;padding:18px 22px 42px;color:var(--text,#f4efe7)}
.gallery-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:14px 5px 16px;border-bottom:1px solid color-mix(in srgb,var(--accent,#c38d36) 34%,transparent)}
.gallery-intro .eyebrow{margin:0 0 4px;color:var(--accent,#d6a84f);font-size:10px;font-weight:800;letter-spacing:.16em}
.gallery-intro h1{margin:0;font:700 clamp(27px,3vw,40px)/1.03 Georgia,serif;letter-spacing:-.02em}
.gallery-subtitle{margin:6px 0 0;font-size:14px;line-height:1.4;color:#e5d6c0}.gallery-description{display:none}.gallery-count{flex:0 0 auto;padding:6px 10px;border:1px solid #6d5127;border-radius:999px;color:#e2bd70;background:#171109b8;font-size:11px}
.gallery-showcase,.gallery-filters,.gallery-masonry{display:none!important}

.gallery-carousel{position:relative;margin-top:18px;border:1px solid rgba(201,151,66,.58);border-radius:22px;overflow:hidden;background:#080a0c;box-shadow:0 24px 70px #0009;outline:none}
.gallery-carousel::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,220,145,.06);pointer-events:none}
.gallery-carousel-backdrop{display:none!important}
.gallery-carousel-frame{position:relative;height:clamp(360px,56vh,620px);display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;gap:8px;padding:14px 20px 6px}
.gallery-carousel-media{position:relative;width:100%;height:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0;background:transparent;touch-action:pan-y;cursor:grab;user-select:none}
.gallery-carousel.is-dragging .gallery-carousel-media{cursor:grabbing}
.gallery-carousel-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;transition:opacity .18s ease,filter .2s ease}
.gallery-carousel.is-prev .gallery-carousel-image,.gallery-carousel.is-next .gallery-carousel-image{opacity:.72;filter:brightness(.86)}
.gallery-carousel-enlarge{position:absolute;right:8px;top:8px;z-index:20;width:38px;height:38px;border:1px solid rgba(222,178,89,.72);border-radius:50%;background:rgba(7,8,10,.82);color:#f4d590;font-size:18px;cursor:pointer;box-shadow:0 6px 22px #0008}
.gallery-carousel-enlarge:hover{border-color:#f0c56c;background:#171109;color:#fff0c4}
.gallery-carousel-nav{position:relative;z-index:7;width:48px;height:72px;border:1px solid rgba(204,153,67,.58);border-radius:18px;background:linear-gradient(180deg,rgba(20,17,12,.82),rgba(8,9,11,.88));color:#e8c271;font:400 42px/1 Georgia,serif;cursor:pointer;box-shadow:0 12px 28px #0007;transition:.18s ease}.gallery-carousel-nav:hover{border-color:#efc469;color:#fff1c7;transform:scale(1.03)}.gallery-carousel-nav.prev{justify-self:start}.gallery-carousel-nav.next{justify-self:end}

.gallery-carousel-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:10px 28px 18px;background:linear-gradient(180deg,#080a0c,#070809)}
.gallery-carousel-copy-wrap{min-width:0;display:grid;gap:10px}.gallery-carousel-copy{min-width:0;display:grid;gap:3px}.gallery-carousel-kind{color:#d7aa55;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.gallery-carousel-title{font:700 20px/1.22 Georgia,serif;color:#fff4df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gallery-carousel-caption{max-width:850px;color:#bbb3a7;font-size:12px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gallery-carousel-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.gallery-carousel-actions button,.gallery-carousel-actions a{border:1px solid #514023;border-radius:999px;background:#0d0d0e;color:#d7c7aa;padding:6px 10px;font:inherit;font-size:11px;text-decoration:none;cursor:pointer}.gallery-carousel-actions button:hover,.gallery-carousel-actions a:hover{border-color:#c4923d;color:#ffe9b8}
.gallery-carousel-progress{flex:0 0 150px;display:grid;gap:7px;justify-items:end;color:#d8bd83;font-size:11px;font-variant-numeric:tabular-nums}.gallery-carousel-progress i{display:block;width:150px;height:2px;background:#3b3121;border-radius:999px;overflow:hidden}.gallery-carousel-progress b{display:block;height:100%;width:0;background:linear-gradient(90deg,#8c641f,#e0b357,#fff0b2);box-shadow:0 0 10px #dca94a;transition:width .24s ease}
.gallery-empty{margin:42px auto;padding:28px;max-width:720px;border:1px solid #49361d;border-radius:14px;background:#0d0c0a;display:grid;gap:6px;text-align:center}.gallery-empty span{color:#a9a49d}

.gallery-lightbox{width:min(96vw,1500px);height:min(94vh,980px);padding:0;border:1px solid #9c7435;border-radius:18px;background:#050607f5;color:#fff;overflow:hidden;box-shadow:0 30px 100px #000}
.gallery-lightbox::backdrop{background:#000e;backdrop-filter:blur(7px)}.gallery-lightbox figure{width:100%;height:100%;margin:0;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;justify-items:center}.gallery-lightbox figure img{display:block;width:100%;height:100%;max-width:100%;max-height:calc(94vh - 92px);object-fit:contain!important;object-position:center center!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.gallery-lightbox figcaption{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 64px 13px;background:#08090be8;border-top:1px solid #332715;box-sizing:border-box}.gallery-lightbox-caption-copy{min-width:0;display:grid;gap:3px}.gallery-lightbox figcaption strong{font:700 16px Georgia,serif}.gallery-lightbox figcaption span{font-size:12px;color:#bbb5ad}.gallery-lightbox-actions{display:flex;gap:7px;align-items:center}.gallery-lightbox-actions button,.gallery-lightbox-actions a{border:1px solid #514023;border-radius:999px;background:#0d0d0e;color:#d7c7aa;padding:6px 10px;font:inherit;font-size:11px;text-decoration:none;cursor:pointer}.gallery-lightbox-status{font-size:11px!important;color:#d8b465!important}.gallery-lightbox-close,.gallery-lightbox-nav{position:absolute;z-index:9;border:1px solid #725528;background:#090a0ce8;color:#f3d28c;cursor:pointer;box-shadow:0 5px 18px #0008}.gallery-lightbox-close{right:14px;top:12px;width:40px;height:40px;border-radius:50%;font-size:26px}.gallery-lightbox-nav{top:50%;translate:0 -50%;width:46px;height:58px;border-radius:12px;font-size:36px}.gallery-lightbox-nav.prev{left:12px}.gallery-lightbox-nav.next{right:12px}

@media(max-width:900px){.gallery-shell{padding:14px 12px 34px}.gallery-carousel{margin-top:12px;border-radius:17px}.gallery-carousel-frame{height:clamp(340px,58dvh,590px);grid-template-columns:48px minmax(0,1fr) 48px;padding:10px 7px 4px;gap:2px}.gallery-carousel-nav{width:40px;height:58px;border-radius:14px;font-size:34px}.gallery-carousel-footer{padding:8px 16px 15px}.gallery-carousel-progress{flex-basis:100px}.gallery-carousel-progress i{width:100px}.gallery-carousel-actions{display:none}.gallery-lightbox{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0;border:0}.gallery-lightbox figure img{max-height:calc(100dvh - 92px)}.gallery-lightbox figcaption{padding:10px 54px 12px}.gallery-lightbox-actions{display:none}}
@media(max-width:620px){.gallery-intro{align-items:flex-start}.gallery-intro h1{font-size:29px}.gallery-subtitle{font-size:13px}.gallery-carousel-frame{height:55dvh;min-height:320px;grid-template-columns:40px minmax(0,1fr) 40px;padding:7px 2px 2px}.gallery-carousel-nav{width:36px;height:52px;border-radius:13px;font-size:32px}.gallery-carousel-enlarge{right:5px;top:5px;width:34px;height:34px}.gallery-carousel-footer{align-items:flex-start;padding:7px 12px 13px}.gallery-carousel-title{font-size:17px}.gallery-carousel-caption{font-size:11px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.gallery-carousel-progress{flex-basis:70px}.gallery-carousel-progress i{width:70px}.gallery-lightbox figcaption{padding:9px 48px 11px}.gallery-lightbox-caption-copy span{display:none}}
@media(prefers-reduced-motion:reduce){.gallery-carousel-image,.gallery-carousel-nav,.gallery-carousel-progress b,.gallery-carousel-enlarge{transition:none}}
