/* Siepel3D service pages and navigation */
.site-header .main-nav{align-items:center;overflow:visible;gap:clamp(12px,1.4vw,24px)}
.site-header .services-menu{position:relative;flex:none;align-self:center}
.site-header .services-menu summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-size:13px;font-weight:700;text-transform:uppercase;color:#d9dee6;white-space:nowrap;padding:12px 0}
.services-menu summary::-webkit-details-marker{display:none}.services-menu summary:after{content:'';width:7px;height:7px;border-right:2px solid #168dff;border-bottom:2px solid #168dff;transform:rotate(45deg);margin-top:-4px}.services-menu[open] summary:after{transform:rotate(225deg);margin-top:4px}
.site-header .services-menu:not([open])>div{display:none}.site-header .services-menu[open]>div{display:grid;position:absolute;top:100%;left:-16px;min-width:245px;padding:8px;background:#101720;border:1px solid #344353;border-radius:10px;box-shadow:0 18px 42px #0008;z-index:1000;gap:2px}.site-header .services-menu>div a{display:block;padding:13px 15px;border-radius:5px;white-space:nowrap;text-transform:none;font-size:14px}.site-header .services-menu>div a:hover,.site-header .services-menu>div a:focus-visible{background:#192d43;color:#62b6ff}
.detail-hero{padding:clamp(50px,6vw,100px) 0;background:radial-gradient(ellipse at 80% 40%,#10253b 0,transparent 55%),#090d12;border-bottom:1px solid #252c35}.detail-hero .detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,5vw,90px);align-items:center}.detail-hero h1{font-size:clamp(30px,2.65vw,48px);line-height:1.15;letter-spacing:-.025em;margin:14px 0 20px;font-weight:750}.detail-hero h1 span{display:block;color:#168dff}.detail-hero .lead{font-size:clamp(17px,1.2vw,21px);line-height:1.75;color:#c0cad6;max-width:650px}.detail-hero .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.breadcrumb{font-size:13px;color:#aeb7c2;margin:0 0 28px}.detail-image{border:1px solid #344353;border-radius:16px;overflow:hidden;background:#101820;box-shadow:0 20px 65px #0005}.detail-image img{width:100%;height:clamp(280px,32vw,510px);object-fit:contain;display:block}.detail-content .section-head{margin-bottom:35px}.detail-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.detail-cards article{padding:clamp(24px,3vw,42px);border:1px solid #2a3644;border-radius:12px;background:linear-gradient(145deg,#121a23,#0c1117)}.detail-number{color:#168dff;font-size:14px;font-weight:800;letter-spacing:.12em}.detail-cards h3{font-size:clamp(20px,1.6vw,27px);line-height:1.25;margin:14px 0}.detail-cards p{color:#b9c5d2;font-size:16px;line-height:1.8;margin:0}.extra-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:28px}.portfolio-link{text-align:center;padding:24px}
@media(max-width:1050px){.site-header .main-nav{align-items:stretch;gap:0;max-height:80vh;overflow:auto}.site-header .services-menu{align-self:stretch}.site-header .services-menu summary{padding:12px 6px;border-bottom:1px solid #252c35}.site-header .services-menu[open]>div{position:static;min-width:0;box-shadow:none;margin:8px 0}.detail-hero .detail-grid{grid-template-columns:1fr}.detail-image img{height:auto;max-height:440px}.detail-hero h1{font-size:clamp(30px,4.5vw,42px)}}
@media(max-width:760px){.detail-cards{grid-template-columns:1fr}.detail-hero{padding:36px 0 48px}.detail-hero .hero-actions .btn{width:100%}.detail-image img{max-height:340px}}

/* Compacte paginatitels, ook op grote schermen */
.hero h1{font-size:clamp(34px,3.2vw,62px);line-height:1.1;letter-spacing:-.025em}.legal-hero h1{font-size:clamp(30px,2.65vw,48px);line-height:1.15}.detail-hero h1 span{overflow-wrap:break-word}
@media(max-width:760px){.hero h1{font-size:clamp(30px,7vw,42px)}.detail-hero h1,.legal-hero h1{font-size:clamp(28px,6vw,36px)}}

.work-gallery{background:#0c1117;border-top:1px solid #25313e}.work-gallery h2{font-size:clamp(25px,2vw,36px);margin:10px 0}.work-intro{color:#b9c5d2;max-width:760px;line-height:1.7;margin-bottom:28px}.work-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}.work-photo{overflow:hidden;border:1px solid #2a3644;border-radius:12px;background:#121a23;max-width:760px}.work-photo>a{display:block;background:#090d12}.work-photo img{display:block;width:100%;height:280px;object-fit:contain}.work-photo>div{padding:24px}.work-photo h3{font-size:21px;margin:0 0 12px}.work-photo p{color:#b9c5d2;line-height:1.7;margin:0}.work-photo a:hover img{opacity:.9}@media(max-width:760px){.work-photo img{height:240px}}

/* V6: foto's volgen hun eigen verhouding, zonder lege afbeeldingskaders */
.detail-image{width:fit-content;max-width:100%;justify-self:center;background:none;line-height:0}
.detail-image img{width:auto;height:auto;max-width:100%;max-height:510px;object-fit:contain;margin:auto}
.inline-example{margin-top:24px;padding:0!important;border:0!important;background:none!important;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.inline-example>a,.integrated-projects .work-photo>a{display:block;width:fit-content;max-width:100%;margin:0 auto;border-radius:9px;overflow:hidden;background:none}
.inline-example img,.integrated-projects .work-photo img{display:block;width:auto;height:auto;max-width:100%;max-height:330px;object-fit:contain;margin:auto}
.inline-example>div{padding:0}.inline-example h3{font-size:17px;margin:0 0 6px}.inline-example p{font-size:14px}
.integrated-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px;align-items:start}
.integrated-projects .work-photo{padding:20px;max-width:none}.integrated-projects .work-photo>div{padding:18px 0 0}

@media(max-width:760px){.integrated-projects{grid-template-columns:1fr}.detail-image img{max-height:340px}.inline-example img{max-height:280px}}

/* V10: rustig portfolio met kaders op natuurlijke fotoverhouding */
.simple-portfolio{padding:clamp(36px,5vw,80px) 0 80px}.simple-portfolio .container{margin-inline:auto}.simple-portfolio-head{margin:0 0 40px}.simple-portfolio-head h1{font-size:clamp(30px,3vw,48px);line-height:1.15;letter-spacing:-.025em;margin:12px 0 16px}.simple-portfolio-head h1 span{color:#168dff}.simple-portfolio-head p,.simple-project p{color:#b9c5d2;line-height:1.65}.simple-project-grid{columns:3;column-gap:24px}.simple-project{display:inline-block;width:100%;margin:0 0 32px;break-inside:avoid}.simple-project a{display:block;border-radius:12px;overflow:hidden;border:1px solid #344353}.simple-project img{display:block;width:100%;height:auto}.simple-project h2{font-size:20px;line-height:1.3;margin:15px 0 6px}.simple-project p{font-size:15px;margin:0}.simple-project a:hover{border-color:#168dff}@media(max-width:900px){.simple-project-grid{columns:2}}@media(max-width:560px){.simple-project-grid{columns:1}}
/* V11 portfolio and contact */
.simple-project-grid{columns:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}.simple-project{display:flex;flex-direction:column;margin:0;border:1px solid #2b3948;border-radius:14px;background:#111922;overflow:hidden;padding:0 0 20px}.simple-project a.project-preview{position:relative;border:0;border-radius:0;aspect-ratio:4/3;overflow:hidden;background:#17212b;cursor:zoom-in}.simple-project img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.simple-project a:hover img{transform:scale(1.035)}.simple-project h2,.simple-project p{margin-inline:20px}.simple-project h2{margin-top:20px}.zoom-mark{position:absolute;bottom:12px;right:12px;background:#101820df;color:white;border:1px solid #ffffff55;border-radius:8px;padding:5px 11px;font-size:22px}.project-preview:hover .zoom-mark{background:#168dff}.simple-portfolio-head{max-width:800px}.simple-portfolio-head h1{font-weight:750}#project-lightbox{position:fixed;inset:0;margin:auto;width:min(1100px,94vw);max-width:94vw;max-height:94dvh;padding:12px 18px;background:#101820;color:#fff;border:1px solid #344353;border-radius:14px;overflow:auto;z-index:10000}#project-lightbox::backdrop{background:#000d}#project-lightbox .lightbox-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px}#project-lightbox button{background:#202e3c;color:white;border:1px solid #415365;border-radius:8px;cursor:pointer;font-size:28px;width:42px;height:42px;flex:none;line-height:1}#project-lightbox button:hover{background:#168dff}.lightbox-stage{display:flex;align-items:center;justify-content:center;gap:10px}.lightbox-stage img{display:block;min-width:0;max-width:calc(100% - 104px);max-height:72dvh;object-fit:contain}#photo-title{text-align:center;margin:12px 0 4px}.contact-page{padding:clamp(36px,5vw,80px) 0 80px}.contact-page .container{margin-inline:auto}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.contact-panel{background:#111922;border:1px solid #2b3948;border-radius:14px;padding:clamp(24px,3vw,42px)}.contact-panel h2{font-size:25px;margin:12px 0}.contact-panel p,.contact-panel address{color:#c0cad6;line-height:1.7;font-style:normal}.contact-method{padding:16px 0;border-bottom:1px solid #2b3948;display:grid;gap:5px}.contact-method small{color:#aeb7c2}.contact-method a{font-size:20px;color:#fff;overflow-wrap:anywhere}.contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.contact-panel .appointment{color:#62b6ff;font-weight:700;margin:16px 0 24px}.company-details{display:grid;gap:6px;border-top:1px solid #2b3948;margin-top:24px;padding-top:20px;color:#aeb7c2}@media(max-width:900px){.simple-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.simple-project-grid,.contact-layout{grid-template-columns:1fr}.lightbox-stage{gap:4px}#project-lightbox{padding:8px}#project-lightbox button{width:32px;height:38px}.lightbox-stage img{max-width:calc(100% - 72px)}}

.map-panel{margin-top:24px}.map-frame{width:100%;height:clamp(300px,35vw,480px);border:1px solid #344353;border-radius:12px;overflow:hidden;background:#0c1117;display:grid;place-items:center}.map-frame iframe{width:100%;height:100%;border:0;display:block}.map-placeholder{text-align:center;padding:24px;max-width:600px}.map-placeholder p{margin:0 0 18px}.map-panel h2{margin-top:0}.map-note{font-size:14px}.contact-layout>*{min-width:0}

/* Portfolio V14 */
.simple-project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.simple-project{min-width:0;padding-bottom:18px}.simple-project .project-discipline{margin:16px 16px 0;color:#62b6ff;font-size:12px;font-weight:650;line-height:1.5}.simple-project h2{margin:8px 16px 8px;font-size:19px}.simple-project p{margin:0 16px 16px;font-size:14px;line-height:1.65}.simple-project a.project-service-link{margin:auto 16px 0;border:0;border-radius:0;color:#62b6ff;font-size:13px;font-weight:650;overflow:visible}.simple-project a.project-service-link:hover{text-decoration:underline}.simple-project a.project-service-link:focus-visible{outline:2px solid #168dff;outline-offset:4px}@media(max-width:1200px){.simple-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.simple-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.simple-project-grid{grid-template-columns:1fr}}

.zoom-mark{display:grid;place-items:center;width:40px;height:40px;box-sizing:border-box;padding:0;line-height:0}.zoom-mark svg{display:block;width:22px;height:22px}

/* V16: related services heading and buttons share one centered axis */
.related-services > .container { margin-inline: auto; text-align: center; }
.related-services h2 { text-align: center; margin-inline: auto; }
.related-services .extra-links { justify-content: center; }

/* V17: edge-to-edge mobile navigation */
@media (max-width:1050px){
 .site-header .main-nav{left:0;right:0;width:100%;max-width:none;margin:0;padding:0;border-inline:0;border-radius:0;max-height:calc(100dvh - 84px);overflow-y:auto;overflow-x:hidden;}
 .site-header .main-nav>a,.site-header .services-menu summary{padding:14px 20px;width:100%;}
 .site-header .services-menu{width:100%;}
 .site-header .services-menu summary{justify-content:space-between;}
 .site-header .services-menu[open]>div{width:100%;margin:0;padding:0;border:0;border-radius:0;gap:0;}
 .site-header .services-menu>div a{padding:13px 32px;border-radius:0;white-space:normal;}
}

.simple-project .project-preview[hidden]{display:none!important}

/* V32: project description inside the photo dialog */
#project-lightbox #photo-title{font-size:clamp(18px,2vw,23px);font-weight:700;line-height:1.3;text-align:left;margin:16px 0 8px;padding-inline:clamp(4px,3vw,52px)}
#project-lightbox #photo-description{font-size:15px;line-height:1.7;color:#c0cad6;white-space:pre-line;overflow-wrap:anywhere;text-align:left;margin:0 0 16px;padding-inline:clamp(4px,3vw,52px)}
#project-lightbox .lightbox-stage img{max-height:56dvh}
#project-lightbox{overscroll-behavior:contain;max-height:92dvh}
@media(max-width:600px){#project-lightbox .lightbox-stage img{max-height:48dvh}#project-lightbox #photo-description{font-size:14px}}

/* V33: geometrically centered gallery controls */
#project-lightbox button:is(#photo-close,#photo-prev,#photo-next){display:grid;place-items:center;padding:0;line-height:0;font-size:0;box-sizing:border-box}
#project-lightbox button:is(#photo-close,#photo-prev,#photo-next)::before{content:"";display:block;width:20px;height:20px;background-position:center;background-repeat:no-repeat;background-size:contain}
#project-lightbox #photo-close::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}
#project-lightbox #photo-prev::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E")}
#project-lightbox #photo-next::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E")}
.zoom-mark{display:grid;place-items:center;padding:0;line-height:0}.zoom-mark svg{display:block;margin:0}

/* V34: absolute centering independent of anonymous text grid items */
#project-lightbox button:is(#photo-close,#photo-prev,#photo-next){position:relative;display:block;padding:0;font-size:0;line-height:0}
#project-lightbox button:is(#photo-close,#photo-prev,#photo-next)::before{position:absolute;inset:0;margin:auto;width:20px;height:20px;pointer-events:none}
