/*
Theme Name: Remaak Installatietechniek
Theme URI: https://remaak.nl/
Description: WordPress-thema gebaseerd op de bestaande Remaak Installatietechniek website.
Version: 1.0.0
Author: Remaak Installatietechniek
Text Domain: remaak
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"DM Sans",Arial,sans-serif;color:#15334d;background:#fff;line-height:1.65}a{color:inherit;text-decoration:none}.container{width:min(1160px,calc(100% - 48px));margin:auto}.site-header{height:82px;background:#fff;position:sticky;top:0;z-index:10;box-shadow:0 3px 18px #0d2e4510}.nav-wrap{height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:8px;color:#12334f}.brand-mark{font-size:48px;line-height:1;color:#e4b744;font-weight:800;transform:skew(-10deg)}.brand-name{font-size:24px;font-weight:800;letter-spacing:2px;line-height:1.05}.brand-name small{display:block;font-size:9px;letter-spacing:2.4px;font-weight:600;margin-top:5px}.main-nav{display:flex;gap:34px;font-size:13px;font-weight:600}.main-nav a:hover,.text-link:hover,.service-card a:hover{color:#c58e1d}.button{display:inline-flex;align-items:center;gap:26px;background:#e5b849;color:#102f49;border:0;border-radius:5px;padding:13px 20px;font:700 13px "DM Sans",sans-serif;cursor:pointer;transition:.2s}.button:hover{background:#f0ca69;transform:translateY(-2px)}.button-small{padding:10px 18px;gap:8px}.menu-toggle{display:none;border:0;background:none;font-size:26px;color:#12334f}.hero{min-height:530px;position:relative;background:#102f49 url("https://images.unsplash.com/photo-1621905251918-48416bd8575a?auto=format&fit=crop&w=2000&q=85") center/cover no-repeat;display:flex;align-items:center;color:white}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#092b47 0%,#0c304feF 37%,#0c304f88 66%,#0c304f10 100%)}.hero-content{position:relative;padding:76px 0;max-width:1160px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#e5b849;margin:0 0 14px}.eyebrow span{padding:0 8px;color:#fff8}.hero h1{font-size:clamp(38px,5vw,64px);line-height:1.08;letter-spacing:-2px;margin:0 0 20px;max-width:700px}.hero h1 em{font-style:normal;color:#e5b849}.hero-copy{max-width:470px;color:#e3edf4;font-size:15px;margin:0 0 28px}.hero-note{position:absolute;right:4%;bottom:24px;font-size:10px;letter-spacing:2px;color:#ffffffaa;display:flex;align-items:center;gap:10px}.note-line{width:32px;height:1px;background:#e5b849}.section{padding:88px 0}.section-heading{text-align:center;max-width:650px;margin:0 auto 42px}.section-heading h2,.about h2,.projects h2{font-size:36px;letter-spacing:-1.2px;line-height:1.2;margin:0 0 12px}.section-heading>p:last-child,.projects-head>p{color:#63788a;font-size:14px}.gold{color:#c28a19}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.service-card{padding:30px 28px;border:1px solid #e5ebef;border-radius:7px;box-shadow:0 10px 30px #12334f08;transition:.2s}.service-card:hover{transform:translateY(-5px);box-shadow:0 15px 35px #12334f12}.service-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#123752;color:#fff;font-size:29px;margin-bottom:18px}.service-card h3{font-size:20px;margin:0 0 10px}.service-card p{font-size:13px;color:#64798b;min-height:66px;margin:0 0 18px}.service-card a,.text-link{font-size:13px;font-weight:700;color:#bf8615}.service-card a span,.text-link span{font-size:18px;padding-left:8px}.about{background:#f4f7f9}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.about-photo{min-height:390px;border-radius:7px;background:url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1100&q=85") center/cover;box-shadow:16px 16px 0 #e5b849}.about-copy p:not(.eyebrow){font-size:14px;color:#5d7284}.about-copy h2{margin-bottom:20px}.text-link{display:inline-block;margin-top:12px}.values{background:#eaf0f4;padding:34px 0}.value-grid{display:grid;grid-template-columns:repeat(4,1fr)}.value-grid>div{display:flex;flex-direction:column;align-items:center;text-align:center;border-right:1px solid #d1dce4}.value-grid>div:last-child{border:0}.value-icon{font-size:30px;color:#123752;margin-bottom:5px}.value-grid strong{font-size:14px}.value-grid small{font-size:12px;color:#6d8090}.projects-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.projects-head h2{margin:0}.projects-head>p{max-width:340px;margin:0 0 5px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.project-card{height:250px;border-radius:6px;overflow:hidden;background-position:center;background-size:cover;position:relative}.project-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#092a45e8,transparent 70%)}.project-one{background-image:url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=900&q=80")}.project-two{background-image:url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80")}.project-three{background-image:url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=900&q=80")}.project-card>div{position:absolute;bottom:20px;left:20px;color:white}.project-card span{font-size:9px;letter-spacing:1.5px;color:#f0c45c}.project-card h3{font-size:18px;margin:4px 0}.image-disclaimer{font-size:11px;color:#8493a0;margin-top:14px}.contact{background:#102f49;color:#fff;padding:76px 0}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px}.contact-info h2{font-size:38px;line-height:1.15;margin:0 0 16px;letter-spacing:-1px}.contact-info>p:not(.eyebrow){color:#d1dce5;font-size:14px;margin-bottom:26px}.contact-info>a,.address{display:flex;align-items:center;gap:13px;font-size:13px;margin:14px 0;color:#f3f6f8}.contact-info>a span,.address span{color:#e5b849;font-size:20px;width:25px}.address{align-items:flex-start;line-height:1.6}.contact-form{background:#fff;color:#15334d;padding:30px;border-radius:7px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-form label{display:block;font-size:11px;font-weight:700;color:#536a7c;margin-bottom:14px}.contact-form input,.contact-form textarea{width:100%;display:block;border:1px solid #dce4ea;border-radius:4px;padding:12px;margin-top:6px;font:13px "DM Sans",sans-serif;color:#15334d;background:#fbfcfd}.contact-form input:focus,.contact-form textarea:focus{outline:2px solid #e5b849;border-color:transparent}.contact-form textarea{resize:vertical}.form-note{font-size:10px;color:#83919c;margin:10px 0 0}.footer{background:#092840;color:#fff;padding:28px 0 16px}.footer-inner{display:flex;align-items:center;justify-content:space-between;padding-bottom:22px}.brand-light{color:#fff}.brand-light .brand-mark{font-size:38px}.brand-light .brand-name{font-size:19px}.footer-inner>p,.back-top{font-size:12px;color:#d0dce5}.back-top:hover{color:#e5b849}.copyright{border-top:1px solid #ffffff20;padding-top:14px;color:#a9bbc8;font-size:10px}
@media(max-width:850px){.main-nav{gap:16px}.nav-cta{display:none}.hero{min-height:490px}.about-grid{gap:35px}.contact-grid{gap:35px}}
@media(max-width:680px){.container{width:min(100% - 36px,560px)}.site-header{height:72px}.brand-mark{font-size:40px}.brand-name{font-size:20px}.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;padding:18px 24px 24px;box-shadow:0 12px 18px #0d2e4515;flex-direction:column;gap:15px}.main-nav.open{display:flex}.hero{min-height:560px;background-position:58% center}.hero-shade{background:linear-gradient(90deg,#092b47ed,#0c304fba 70%,#0c304f70)}.hero-content{padding:70px 0}.hero h1{font-size:43px;letter-spacing:-1.5px}.hero-copy{font-size:14px}.hero-note{display:none}.section{padding:64px 0}.section-heading h2,.about h2,.projects h2{font-size:30px}.service-grid,.about-grid,.project-grid,.contact-grid{grid-template-columns:1fr}.service-card p{min-height:0}.about-photo{min-height:260px;order:0}.about-copy{order:1}.value-grid{grid-template-columns:1fr 1fr;row-gap:24px}.value-grid>div:nth-child(2){border-right:0}.value-grid>div:nth-child(3),.value-grid>div:nth-child(4){padding-top:18px;border-top:1px solid #d1dce4}.projects-head{display:block}.projects-head>p{margin-top:10px}.project-card{height:230px}.contact{padding:60px 0}.contact-info h2{font-size:34px}.contact-form{padding:22px}.form-row{grid-template-columns:1fr;gap:0}.footer-inner{align-items:flex-start;flex-direction:column;gap:12px}.footer-inner>p{margin:0}.copyright{line-height:1.5}}

/* Nieuwe Remaak-huisstijl: zwart, wit en groen uit het originele logo */
.site-header{background:#080b09}
.brand img{display:block;width:220px;height:76px;object-fit:contain}
.main-nav{color:#f5f7f5}
.main-nav a:hover,.text-link:hover,.service-card a:hover{color:#39b85e}
.button{background:#16843b;color:#fff;border:1px solid #16843b}
.button:hover{background:#0f6e30}
.eyebrow,.gold{color:#16843b}
.hero{background-image:url("hero-kabels.jpg");background-position:center 48%}
.hero-shade{background:linear-gradient(90deg,#080d0bf2 0%,#0b1411df 40%,#0b14118a 72%,#0b141130 100%)}
.hero h1 em{color:#49c16d}
.service-icon{background:#102019;color:#fff}
.service-card a,.text-link{color:#16843b}
.about{background:#f3f6f3}
.about-photo{box-shadow:16px 16px 0 #16843b}
.value-icon{color:#16843b}
.project-card:before{background:linear-gradient(0deg,#07120be8,transparent 70%)}
.project-card span{color:#65d487}
.contact{background:#0a110d}
.contact-info>a span,.address span{color:#49c16d}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid #16843b}
.footer{background:#050907}
.footer-logo img{display:block;width:190px;height:72px;object-fit:contain}
.back-top:hover{color:#49c16d}
.certification-strip{background:#f1f5f2;border-bottom:1px solid #e2e9e3}
.certification-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 0}
.certification-tagline{font-size:18px;color:#17251c;letter-spacing:.1px}
.certification-badges{display:flex;align-items:center;gap:14px}
.certification-item{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dce7de;border-radius:5px;padding:9px 18px;min-width:150px}
.certification-check{width:25px;height:25px;border:2px solid #16843b;border-radius:50%;color:#16843b;text-align:center;line-height:21px;font-weight:800}
.certification-item strong,.certification-item small{display:block;line-height:1.2}
.certification-item strong{font-size:14px;color:#15221a}
.certification-item small{font-size:8px;letter-spacing:1px;font-weight:800;color:#16843b}
.about-tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 10px}
.about-tags span{border:1px solid #cbd8ce;border-radius:3px;padding:6px 9px;color:#28623b;font-size:10px;font-weight:700}
@media(max-width:680px){
 .brand img{width:174px;height:66px}
 .main-nav{background:#080b09;color:#fff}
 .certification-inner{gap:8px}
 .certification-item{min-width:0;padding:8px 10px}
 .hero{background-position:55% center}
}

/* Uitbreidingen voor Elektrotechniek en Brandveiligheid */
.service-more{display:inline-flex;align-items:center;gap:8px;padding:0;margin:0 0 12px;border:0;background:transparent;color:#16843b;font:700 13px "DM Sans",sans-serif;cursor:pointer}
.service-more span{font-size:18px;transition:transform .2s}
.service-more[aria-expanded="true"] span{transform:rotate(90deg)}
.service-details{margin:4px 0 0;padding:0 0 0 18px;color:#526b5a;font-size:12px;line-height:1.85}
.service-details li{padding-left:3px}
.service-details[hidden]{display:none}
.service-details-static{margin:0 0 16px}
@media(max-width:680px){
 .certification-inner{align-items:flex-start;flex-direction:column;gap:10px}
 .certification-tagline{font-size:16px}
 .certification-badges{width:100%;gap:8px}
 .certification-item{flex:1}
}


/* Certificeringen zichtbaar op de hero-afbeelding */
.hero-certifications{position:absolute;right:max(24px,calc((100% - 1160px)/2));bottom:30px;z-index:2;display:flex;gap:12px}
.hero-certifications .certification-item{min-width:154px;padding:12px 16px;background:rgba(255,255,255,.96);box-shadow:0 8px 28px #0005;border:1px solid #dce7de;border-radius:6px}
.hero-certifications .certification-item strong{font-size:16px}
.hero-certifications .certification-item small{font-size:9px;letter-spacing:1.2px}
.project-album{background:#101a15}
.album-images{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;gap:3px}
.album-images img{width:100%;height:100%;min-width:0;object-fit:cover}
.project-caption{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:48px 20px 18px;color:#fff;background:linear-gradient(0deg,#07120bf2,transparent)}
.project-fire{background:radial-gradient(circle at 70% 28%,#345344 0,#172c22 35%,#0a130e 78%)}
.project-fire:after{content:'♨';position:absolute;right:26px;top:28px;color:#6bd58a;font-size:82px;opacity:.72}
.project-fire>div{z-index:1}
@media(max-width:680px){
 .hero-certifications{left:18px;right:18px;bottom:20px;gap:8px}
 .hero-certifications .certification-item{min-width:0;flex:1;padding:9px 10px}
 .hero-certifications .certification-item strong{font-size:14px}
 .hero-content{padding-bottom:110px}
 .project-album{height:230px}
}


/* Klikbare projectalbums en schermvullende fotogalerij */
.project-album-grid .project-album-card{padding:0;border:0;background:#101a15;box-shadow:0 10px 30px #07120b18}
.album-open{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#101a15;color:#fff;text-align:left;cursor:pointer;overflow:hidden}
.album-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.album-open:hover .album-cover{transform:scale(1.055)}
.album-overlay{position:absolute;inset:0;background:linear-gradient(0deg,#06110bf2 0%,#06110b20 76%)}
.album-caption{position:absolute;left:20px;right:18px;bottom:18px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.album-caption>span{font-size:9px;letter-spacing:1.5px;color:#65d487}
.album-caption strong{font-size:18px;line-height:1.25;color:#fff}
.album-caption em{font-size:12px;font-style:normal;font-weight:700;color:#fff;margin-top:7px}
.album-caption em b{color:#65d487;font-size:18px;margin-left:5px}
.project-fire-card .album-empty{background:radial-gradient(circle at 65% 28%,#345344 0,#172c22 38%,#0a130e 82%)}
.fire-symbol{position:absolute;right:28px;top:25px;color:#6bd58a;font-size:92px;opacity:.78}
.album-open:focus-visible,.gallery-modal button:focus-visible{outline:3px solid #65d487;outline-offset:-4px}
.gallery-modal[hidden]{display:none!important}
.gallery-modal{position:fixed;inset:0;z-index:1000;background:rgba(3,8,5,.97);display:flex;align-items:center;justify-content:center;padding:36px 76px;color:#fff}
body.gallery-open{overflow:hidden}
.gallery-content{width:min(1100px,100%);height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.gallery-title{font-size:17px;font-weight:700;letter-spacing:.3px;margin:0 0 18px;text-align:center}
.gallery-stage{width:100%;height:min(72vh,760px);display:flex;align-items:center;justify-content:center;overflow:auto;touch-action:pan-y}
.gallery-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;cursor:zoom-in;transition:transform .2s ease}
.gallery-stage img.is-zoomed{max-width:none;max-height:none;width:auto;height:auto;transform:scale(1.8);transform-origin:center;cursor:zoom-out}
.gallery-empty{font-size:15px;color:#d5e0d8;text-align:center;padding:30px}
.gallery-counter{font-size:12px;color:#c8d4cc;margin-top:15px;font-variant-numeric:tabular-nums}
.gallery-hint{font-size:11px;color:#8fa398;margin:5px 0 0}
.gallery-close,.gallery-arrow{position:absolute;border:1px solid #ffffff55;background:#ffffff12;color:#fff;cursor:pointer;display:grid;place-items:center;transition:background .2s}
.gallery-close:hover,.gallery-arrow:hover{background:#16843b}
.gallery-close{top:18px;right:22px;width:46px;height:46px;border-radius:50%;font-size:34px;line-height:1}
.gallery-arrow{top:50%;transform:translateY(-50%);width:48px;height:58px;border-radius:5px;font-size:42px;line-height:1}
.gallery-prev{left:18px}
.gallery-next{right:18px}
@media(max-width:680px){
 .gallery-modal{padding:66px 12px 28px}
 .gallery-title{font-size:15px;margin-bottom:12px}
 .gallery-stage{height:65vh;max-height:65vh}
 .gallery-arrow{top:auto;bottom:14px;transform:none;width:48px;height:44px;font-size:34px}
 .gallery-prev{left:calc(50% - 58px)}
 .gallery-next{right:calc(50% - 58px)}
 .gallery-close{top:12px;right:14px;width:40px;height:40px;font-size:29px}
 .gallery-counter{margin-top:9px}
 .gallery-hint{font-size:10px}
}

.project-album-card:before{display:none}

/* Projectalbums: albumoverzicht in een fotogrid en een aparte schermvullende viewer */
.project-album-card{height:270px}
.album-browser{width:min(1180px,100%);max-height:100%;overflow:auto;padding:12px 8px 24px}
.album-browser-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:26px}
.album-browser-head .eyebrow{color:#65d487;margin-bottom:7px}
.album-browser-head .gallery-title{font-size:clamp(23px,3vw,34px);margin:0;text-align:left}
.album-browser-subtitle{color:#b9c9c0;font-size:13px;margin:7px 0 0}
.album-browser .gallery-close{position:static;flex:0 0 46px}
.album-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.album-photo-tile{position:relative;display:block;aspect-ratio:4/3;padding:0;border:1px solid #ffffff18;border-radius:5px;overflow:hidden;background:#15251c;cursor:pointer}
.album-photo-tile img,.album-photo-tile video{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s ease}
.album-photo-tile:hover img,.album-photo-tile:hover video{transform:scale(1.045)}
.video-tile-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;display:grid;place-items:center;padding-left:4px;background:#07120bd9;border:1px solid #ffffffaa;color:white;font-size:19px}
.video-tile-label{position:absolute;left:10px;bottom:10px;background:#07120bd9;color:white;border-radius:3px;padding:4px 8px;font-size:9px;font-weight:800;letter-spacing:1.3px}
.album-photo-tile:focus-visible,.lightbox-modal button:focus-visible{outline:3px solid #65d487;outline-offset:2px}
.gallery-empty{color:#d5e0d8;text-align:center;padding:45px 15px}
.lightbox-modal[hidden]{display:none!important}
.lightbox-modal{position:fixed;inset:0;z-index:1100;background:rgba(0,0,0,.97);display:flex;align-items:center;justify-content:center;padding:48px 82px;color:#fff}
.lightbox-content{width:min(1200px,100%);height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:12px}
.lightbox-media{width:100%;height:min(76vh,820px);display:flex;align-items:center;justify-content:center;overflow:auto;overscroll-behavior:contain}
.lightbox-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;cursor:zoom-in;transition:transform .2s ease}
.lightbox-image.is-zoomed{max-width:none;max-height:none;transform:scale(1.8);cursor:zoom-out}
.lightbox-video{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;background:#000}
.lightbox-counter{font-size:12px;color:#d0d8d2;font-variant-numeric:tabular-nums}
.lightbox-hint{font-size:11px;color:#8fa398;margin:0}
.lightbox-close,.lightbox-arrow{position:absolute;border:1px solid #ffffff55;background:#ffffff12;color:#fff;cursor:pointer;display:grid;place-items:center;transition:background .2s}
.lightbox-close:hover,.lightbox-arrow:hover{background:#16843b}
.lightbox-close{top:18px;right:22px;width:46px;height:46px;border-radius:50%;font-size:34px;line-height:1}
.lightbox-arrow{top:50%;transform:translateY(-50%);width:48px;height:58px;border-radius:5px;font-size:42px;line-height:1}
.lightbox-prev{left:18px}.lightbox-next{right:18px}
@media(max-width:900px){.album-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){
 .project-album-card{height:230px}
 .gallery-modal{padding:64px 14px 22px}
 .album-browser{padding:0 0 16px}
 .album-browser-head{margin-bottom:18px;gap:12px}
 .album-browser-head .gallery-close{width:40px;height:40px;flex-basis:40px;font-size:29px}
 .album-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .album-photo-tile{border-radius:4px}
 .lightbox-modal{padding:62px 10px 84px}
 .lightbox-media{height:65vh;max-height:65vh}
 .lightbox-arrow{top:auto;bottom:14px;transform:none;width:48px;height:44px;font-size:34px}
 .lightbox-prev{left:calc(50% - 58px)}.lightbox-next{right:calc(50% - 58px)}
 .lightbox-close{top:12px;right:14px;width:40px;height:40px;font-size:29px}
 .lightbox-hint{font-size:10px}
}

/* View365 , mobiele verfijning */
@media(max-width:680px){.hero h1{font-size:clamp(30px,8.8vw,42px);letter-spacing:-1px;overflow-wrap:break-word}}

/* contactformulier vervangen door een kaart + route-knop */
.contact-map{display:flex;flex-direction:column;gap:14px}
.map-frame{border-radius:7px;overflow:hidden;min-height:340px;box-shadow:0 10px 30px #00000026}
.map-frame iframe{width:100%;height:100%;min-height:340px;border:0;display:block}
.map-route{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;background:#16843b;color:#fff;border-radius:5px;padding:12px 20px;font:700 13px "DM Sans",sans-serif;transition:.2s}
.map-route:hover{background:#0f6e30;transform:translateY(-2px)}
.map-route span,.map-route b{color:#fff}
@media(max-width:680px){.map-frame{min-height:280px}.map-frame iframe{min-height:280px}.map-route{align-self:stretch;justify-content:center}}

/* logo links uitlijnen i.p.v. gecentreerd in een te breed vak */
.brand img{width:auto;max-width:220px;object-position:left center}
