/* V85.9 – VISUALS / CINEMATIC DEPTH – NONDESTRUCTIVE
   Hero/image assets and all audio/video untouched. CSS perspective is reserved for the three EXISTING static artworks.
   No fake video thumbnails; all previews are actual images. */
#visuals .project-grid figure{position:relative;overflow:hidden;isolation:isolate;--v859-pan-x:0px;--v859-pan-y:0px;--v859-light-x:50%;--v859-light-y:28%}
#visuals .project-grid figure img{transform:scale(1.012) translate3d(0,0,0);transform-origin:center;transition:transform .7s cubic-bezier(.2,.65,.26,1),filter .5s ease;will-change:auto}
@media(hover:hover) and (pointer:fine){
 #visuals .project-grid figure:hover img,#visuals .project-grid figure:focus-within img{transform:translate3d(var(--v859-pan-x),var(--v859-pan-y),0) scale(1.062);filter:saturate(1.02) contrast(1.03)}
}
#visuals .project-grid figure::before{content:"";position:absolute;z-index:2;inset:0 0 100px;pointer-events:none;background:radial-gradient(ellipse 30% 35% at var(--v859-light-x) var(--v859-light-y),rgba(170,221,242,.12),transparent 90%);opacity:0;transition:opacity .45s ease;mix-blend-mode:screen}
@media(hover:hover) and (pointer:fine){#visuals .project-grid figure:hover::before,#visuals .project-grid figure:focus-within::before{opacity:1}}
#visuals .project-grid .v859-project-trigger{display:none;position:absolute;z-index:3;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:zoom-in;color:#e6eff4;font:700 10px/1.3 Manrope,Arial,sans-serif;letter-spacing:.15em;text-align:right;padding:15px}
html.v859-gallery-ready #visuals .project-grid .v859-project-trigger{display:block}
#visuals .project-grid .v859-open-pill{position:absolute;top:13px;right:13px;padding:11px 13px;background:rgba(5,13,21,.8);backdrop-filter:blur(8px);border:1px solid rgba(177,216,234,.35);box-shadow:0 8px 25px rgba(0,0,0,.3);opacity:0;transform:translateY(-5px);transition:opacity .3s ease,transform .3s ease}
#visuals .project-grid .v859-open-symbol{font-size:16px;margin-left:6px;color:#e5ad72}
@media(hover:hover){#visuals .project-grid figure:hover .v859-open-pill{opacity:1;transform:translateY(0)}}
#visuals .project-grid .v859-project-trigger:focus-visible{outline:3px solid #a7e1f5;outline-offset:-5px}
#visuals .project-grid .v859-project-trigger:focus-visible .v859-open-pill{opacity:1;transform:none}
@media(hover:none){#visuals .project-grid .v859-open-pill{opacity:1;transform:none;font-size:9px;padding:8px 10px;top:10px;right:10px}}
/* Gentle editorial scene breaks. A trace is activated ONLY as the section reaches the viewport. */
#highlight,#musik,#stories,#mein-weg,#visuals{position:relative}
.v859-scene-seam{position:absolute;z-index:3;bottom:0;left:50%;width:min(950px,82vw);height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent 0%,rgba(111,186,218,.24) 18%,rgba(229,167,101,.45) 49%,rgba(111,186,218,.21) 82%,transparent 100%);pointer-events:none}
html.v859-motion-enabled .v859-scene-seam{opacity:.55;scale:0 1;transition:scale 1.1s cubic-bezier(.18,.72,.29,1),opacity 1.1s;transform-origin:50% 50%}
html.v859-motion-enabled .v859-scene-seam.v859-scene-in{scale:1 1;opacity:1}
/* A restrained sense of depth on the existing featured project image; no image-layer invention. */
#highlight .feature-art{--v859-feature-y:0px;--v859-feature-light:.0}
#highlight .feature-art::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 50% 58% at 34% 37%,rgba(250,176,106,.16),transparent 84%);opacity:var(--v859-feature-light,0);transition:opacity .8s ease}
#highlight .feature-art.v859-feature-active::before{opacity:.38}
@media(max-width:960px){
 .v859-gallery-panel{width:100%;max-height:100%;border-radius:0}
 #visuals .project-grid figure::before{display:none}
 .v859-scene-seam{width:74vw}
}
/* Real accessible fullscreen image viewer. CSS styles stay separate from the existing intro dialog. */
.v859-gallery-dialog[hidden]{display:none!important}
.v859-gallery-dialog{position:fixed;z-index:10020;inset:0;display:grid;place-items:center;padding:clamp(8px,2vw,24px);color:#e9eff4}
.v859-gallery-backdrop{position:absolute;inset:0;background:rgba(1,5,10,.91);backdrop-filter:blur(15px)}
.v859-gallery-panel{position:relative;z-index:1;width:min(1180px,100%);max-height:calc(100dvh - 18px);display:flex;flex-direction:column;min-width:0;overflow:auto;background:linear-gradient(150deg,#0b1420,#060c15);border:1px solid rgba(148,195,224,.28);box-shadow:0 24px 80px rgba(0,0,0,.68)}
.v859-gallery-top,.v859-gallery-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(13px,1.7vw,22px) clamp(15px,2vw,26px)}
.v859-gallery-eyebrow,.v859-gallery-bottom>span{margin:0;color:#a9c8d8;font:700 11px/1.5 Manrope,Arial,sans-serif;letter-spacing:.16em}
.v859-gallery-count{color:#f0bd81;margin-left:13px}
.v859-gallery-close,.v859-gallery-bottom button{appearance:none;border:1px solid rgba(163,203,220,.38);background:#0b1723;color:#e5ebef;min-height:42px;padding:9px 15px;cursor:pointer;font:600 12px/1.3 Manrope,Arial,sans-serif;letter-spacing:.05em}
.v859-gallery-close:hover,.v859-gallery-bottom button:hover{border-color:#ebb77d;background:#162538}
.v859-gallery-dialog button:focus-visible{outline:3px solid #90d6f3;outline-offset:3px}
.v859-gallery-stage{margin:0;min-height:0;display:flex;flex-direction:column;flex:1;overflow:auto}
.v859-gallery-stage>img{display:block;width:100%;height:auto;max-height:min(65dvh,680px);object-fit:contain;background:#050b14}
.v859-gallery-stage figcaption{padding:16px clamp(15px,2vw,26px);background:#08111b;border-top:1px solid rgba(173,195,214,.12)}
.v859-gallery-stage figcaption>span{color:#88b9d0;font:700 10px/1.4 Manrope,Arial,sans-serif;letter-spacing:.19em}
.v859-gallery-stage h2{color:#f2e6d8;font:600 clamp(22px,2.6vw,34px)/1.2 'Cormorant Garamond',Georgia,serif;margin:5px 0 4px}
.v859-gallery-stage p{color:#a7becf;margin:0;font:400 12px/1.5 Manrope,Arial,sans-serif}
.v859-gallery-bottom{border-top:1px solid rgba(170,201,217,.14)}
@media(max-width:600px){
 .v859-gallery-dialog{padding:0}
 .v859-gallery-panel{height:100dvh;max-height:100dvh}
 .v859-gallery-stage{justify-content:center}
 .v859-gallery-stage>img{max-height:58dvh}
 .v859-gallery-bottom{gap:8px}.v859-gallery-bottom>span{font-size:8px;text-align:center;letter-spacing:.07em}
 .v859-gallery-bottom button{padding:10px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 .v859-scene-seam{scale:1 1!important;opacity:1!important;transition:none!important}
 #visuals .project-grid figure img,#visuals .project-grid figure::before,#visuals .project-grid .v859-open-pill{transition:none!important;transform:none!important}
 #visuals .project-grid figure img{filter:none!important}
 #highlight .feature-art::before{display:none!important}
}
