*{box-sizing:border-box} :root{--navy:#17365d;--green:#248b27;--lime:#a9e846;--ink:#172d45;--muted:#526579}
html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.6}a{color:inherit}.container{width:min(1140px,calc(100% - 48px));margin:auto}
.header{height:92px;background:#f4e4cf url('images/houtlook-waterpas.png') center center/cover no-repeat;position:sticky;top:0;z-index:10;box-shadow:0 2px 14px #10243b12}.navrow{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand .site-logo{display:block;width:280px;max-width:100%;height:auto}.brand .sbb-header-logo{display:block;width:52px;height:56px;object-fit:contain}.nav{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:bold}.nav a{text-decoration:none;white-space:nowrap}.nav a:hover,.nav .active{color:var(--green)}.nav .active{border-bottom:3px solid var(--green);padding-bottom:7px}.nav-cta{background:var(--green);color:white!important;padding:13px 17px;border-radius:6px}.menu-toggle{display:none;border:0;background:none;color:var(--navy);font-size:28px}
.hero{position:relative;isolation:isolate;min-height:475px;color:white;background:var(--hero-bg,linear-gradient(120deg,#17365d,#244b5e)) center 56%/cover no-repeat}.shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071721d9 0%,#071721a3 43%,#0717210a 82%),linear-gradient(0deg,#071721b8,transparent 45%)}.hero-inner{min-height:475px;padding-top:54px;padding-bottom:22px;display:flex;flex-direction:column;align-items:flex-start}.eyebrow,.label{font-size:13px;letter-spacing:1.3px;font-weight:800;margin:0 0 12px;color:var(--green)}.eyebrow{color:var(--lime)}h1{font-size:clamp(44px,5vw,68px);line-height:.99;letter-spacing:-1.8px;margin:0 0 16px}h1 span,h2 span{color:var(--lime)}.lead{max-width:550px;font-size:17px;line-height:1.5;margin:0 0 19px}.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:47px;padding:12px 19px;border-radius:5px;text-decoration:none;font-size:14px;font-weight:800}.btn b{font-size:20px}.lime{background:var(--lime);color:#10291a}.green{background:var(--green);color:white}.outline{border:1.5px solid white;color:white;background:#142b3a55}.dark-outline{border:1.5px solid var(--navy);color:var(--navy)}
.trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;width:100%;margin-top:auto;padding-top:30px}.trust>div{display:flex;align-items:center;gap:12px;font-size:13px;line-height:1.35}.trust i{font-style:normal;display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:#60b934;border:3px solid #a9e846;font-size:19px;font-weight:bold}.trust b{font-size:14px}
.section{padding:48px 0}.services-layout{display:grid;grid-template-columns:.85fr 1.65fr;gap:40px;align-items:center}.intro h2,.contact h2,.about h2{font-size:clamp(30px,3vw,40px);line-height:1.12;letter-spacing:-1px;margin:0 0 16px;color:var(--navy)}.intro h2 span{color:var(--green)}.intro p:not(.label),.contact-layout p:not(.label){color:var(--muted);font-size:14px;margin:0 0 20px}.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.tile{position:relative;isolation:isolate;overflow:hidden;min-height:145px;border-radius:7px;display:flex;align-items:flex-end;gap:10px;padding:13px;color:white;text-decoration:none;font-size:13px;line-height:1.3;box-shadow:0 2px 6px #102b3b18}.tile:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#06151be8,transparent 85%)}.tile:after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,#b0c4a2,#405c4e 55%,#172c3a)}.tile:hover{filter:brightness(1.08)}.symbol{font-size:25px;line-height:1}.tile em{margin-left:auto;font-size:20px;font-style:normal}.renovation:after{background:linear-gradient(135deg,#d0c5b4,#4d6660 55%,#1c3443)}.bathroom:after{background:linear-gradient(135deg,#e2e4e1,#98aaa8 55%,#3d5861)}.carpentry:after{background:linear-gradient(135deg,#d4b38d,#80674f 55%,#293f4b)}.outdoor:after{background:linear-gradient(135deg,#b2bd90,#537247 55%,#263b2c)}.maintenance:after{background:linear-gradient(135deg,#c28b61,#6d4a36 55%,#1e3542)}
.about{padding:42px 0;background:linear-gradient(110deg,#091b2b,#173d4a);color:white}.about-layout{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:28px;align-items:center}.light{color:var(--lime)}.about h2{color:white;margin-bottom:12px}.about h2 span{color:var(--lime)}.about-layout p:not(.label){font-size:14px;color:#edf2f5;margin:0}.values{display:grid;grid-template-columns:repeat(4,1fr)}.values div{text-align:center;padding:8px;border-left:1px solid #ffffff35;font-size:12px;line-height:1.4}.values b{display:block;color:var(--lime);font-size:30px;margin-bottom:6px}.contact-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center}.contact-box{display:flex;align-items:flex-start;flex-direction:column;gap:10px}.contact-box .btn{min-width:250px}.contact-box p{margin-top:6px!important}.contact-box p a{color:var(--green);font-weight:bold}footer{background:#f3f6f8;border-top:1px solid #dce3e8;padding:16px 0}.footerrow{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;color:#647386}.footerrow img{width:220px}
@media(max-width:1000px){.about-layout{grid-template-columns:1fr 1fr}.brand img{width:255px}.nav{gap:13px;font-size:13px}.nav-cta{padding:11px}.services-layout{grid-template-columns:1fr;gap:25px}.intro{max-width:680px}.about-layout{grid-template-columns:1fr;gap:25px}}
@media(max-width:760px){html{scroll-padding-top:70px}.container{width:calc(100% - 32px)}.header{height:70px}.brand img{width:230px}.menu-toggle{display:block;cursor:pointer}.nav{display:none;position:absolute;top:70px;left:0;right:0;background:white;padding:12px 20px 20px;box-shadow:0 10px 18px #142c421a;align-items:stretch;flex-direction:column;gap:0}.nav.open{display:flex}.nav a{padding:11px 4px}.nav .active{border:0;padding-bottom:11px}.nav .nav-cta{text-align:center;margin-top:8px;padding:13px}.hero,.hero-inner{min-height:0}.hero{background-position:60% center}.shade{background:linear-gradient(90deg,#071721df,#07172191),linear-gradient(0deg,#071721c7,transparent 60%)}.hero-inner{padding-top:38px;padding-bottom:20px}.eyebrow{font-size:11px}h1{font-size:clamp(42px,11vw,58px);letter-spacing:-1.3px}.lead{font-size:16px}.actions{display:grid;grid-template-columns:1fr;width:100%;gap:9px}.actions .btn{width:100%}.trust{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;padding-top:26px}.trust>div{font-size:12px;gap:8px}.trust b{font-size:12px}.trust i{flex-basis:32px;height:32px;font-size:16px}.section{padding:34px 0}.intro h2,.contact h2,.about h2{font-size:32px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tile{min-height:125px;padding:10px;font-size:12px;gap:7px}.symbol{font-size:21px}.about{padding:34px 0}.values{grid-template-columns:repeat(2,1fr);row-gap:12px}.values div:nth-child(odd){border-left:0}.contact-layout{grid-template-columns:1fr;gap:12px}.contact-box{width:100%}.contact-box .btn{width:100%}.footerrow{flex-direction:column;align-items:flex-start}.footerrow img{width:195px}}
@media(max-width:360px){.container{width:calc(100% - 26px)}.brand img{width:202px}h1{font-size:39px}.tile{min-height:116px;padding:8px;font-size:11px}}

/* Foto aangeleverd voor Timmerwerk en montage */
.tile.carpentry:after{
  background:var(--tile-photo,linear-gradient(135deg,#d4b38d,#80674f 55%,#293f4b));
  background-size:cover;
  background-position:center;
}

/* Aangeleverde projectfoto voor Aanbouw en uitbouw */
.tile.extension:after{
  background:var(--tile-photo,linear-gradient(135deg,#b0c4a2,#405c4e 55%,#172c3a));
  background-size:cover;
  background-position:center;
}

/* Instagram-link in dezelfde stijl als de contactknoppen */
.instagram-link{background:#fff;color:#17365d;border-color:#d6dee5}
.instagram-link:hover{background:#f2f8ed;border-color:#248b27}
.instagram-footer{font-weight:700;color:#248b27;text-decoration:none}
.instagram-footer:hover{text-decoration:underline}
@media(max-width:760px){.instagram-footer{align-self:flex-start}}

/* Instagram-knop in de stijl van het voorbeeld */
.instagram-link{display:inline-flex;align-items:center;gap:10px;background:#071c2b;color:#fff;border:1px solid #248b27;justify-content:flex-start}
.instagram-link:hover{background:#102d3c;border-color:#a9e846}
.instagram-icon{width:30px;height:30px;flex:0 0 30px;display:block}
.instagram-link span{flex:1}
.instagram-link b{font-size:20px;color:#a9e846}
.instagram-footer{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#248b27;text-decoration:none}
.instagram-footer .instagram-icon{width:25px;height:25px;flex-basis:25px}
.instagram-footer:hover{text-decoration:underline}
@media(max-width:760px){.instagram-footer{align-self:flex-start}}

/* SEO/werkgebied tekstsectie */
.seo-local{background:#f5f8fa}
.seo-local h2{font-size:clamp(28px,3vw,38px);line-height:1.15;color:#17365d;margin:0 0 14px}
.seo-local p:not(.label){max-width:900px;color:#526579;font-size:15px}
.seo-links a{color:#248b27;font-weight:700}

/* Bescheiden weergave van de SBB-erkenning als leerbedrijf */
.sbb-section{padding:30px 0;background:#f5f8fa;border-top:1px solid #e2e8ed;border-bottom:1px solid #e2e8ed}
.sbb-layout{display:flex;align-items:center;justify-content:space-between;gap:32px}
.sbb-copy{max-width:650px}
.sbb-copy h2{font-size:clamp(27px,3vw,35px);line-height:1.15;color:#17365d;margin:0 0 10px}
.sbb-copy p:not(.label){color:#526579;font-size:14px;margin:0}
.sbb-certificate{display:block;width:150px;max-height:220px;object-fit:contain;flex:0 0 auto;border:1px solid #e0e3e6;background:#fff;box-shadow:0 3px 12px #10243b12}
@media(max-width:760px){.sbb-layout{gap:18px;align-items:center}.sbb-certificate{width:105px;max-height:160px}.sbb-copy h2{font-size:26px}.sbb-copy p:not(.label){font-size:13px}}


/* Social links and floating WhatsApp chat */
.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: #1877F2;
  color: #fff !important;
  border: 1px solid #1877F2;
}
.facebook-link:hover { background: #0f65d4; }
.facebook-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #fff;
  color: #1877F2;
  font-weight: 800;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 28px rgba(0,0,0,.27);
}
.whatsapp-float svg { width: 27px; height: 27px; flex: 0 0 27px; }
@media (max-width: 520px) {
  .whatsapp-float { right: 14px; bottom: 14px; padding: 12px; gap: 0; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .whatsapp-float svg { width: 30px; height: 30px; flex-basis: 30px; }
}

/* Video bij de dienst Aanbouw en uitbouw */
.aanbouw-video-section { background: #f4f7f5; }
.aanbouw-video-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.aanbouw-video-copy h2 { margin-top: .25rem; }
.aanbouw-video {
  display: block;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,.14);
}
@media (max-width: 760px) {
  .aanbouw-video-layout { grid-template-columns: 1fr; }
}

/* Keep the aanbouw video hidden until the Aanbouw link is clicked */
#aanbouw-video-panel[hidden] { display: none !important; }

/* Accurate M.F. Kleijn Bouw logo based on the supplied reference */
.brand-logo-link { display: inline-block; max-width: min(100%, 620px); line-height: 0; }
.site-logo { display: block; width: 100%; max-width: 620px; height: auto; object-fit: contain; }

/* Consistent approved logo across the entire website */
.site-logo, img[alt*="M.F. Kleijn Bouw"], img[alt*="logo" i], .logo img, .brand img {
  max-width: min(100%, 620px);
  height: auto;
  object-fit: contain;
}

/* Offerte aanvragen call-to-action */
.offerte-aanvraag-section { background: #f0f6f2; }
.offerte-aanvraag-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.offerte-aanvraag-inner h2 { margin: .2rem 0 .65rem; }
.offerte-aanvraag-inner p { max-width: 700px; }
.offerte-aanvraag-button { flex-shrink: 0; }
.nav-offerte-link { font-weight: 700; }
@media (max-width: 680px) {
  .offerte-aanvraag-inner { flex-direction: column; align-items: flex-start; }
}

/* Visible SBB erkend leerbedrijf section */
.sbb-leerbedrijf-section { background: #fff; border-top: 1px solid #e6ece8; }
.sbb-leerbedrijf-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.sbb-leerbedrijf-copy { flex: 1 1 60%; }
.sbb-leerbedrijf-logo {
  display: block;
  width: min(260px, 36%);
  height: auto;
  object-fit: contain;
}
@media (max-width: 650px) {
  .sbb-leerbedrijf-inner { flex-direction: column; align-items: flex-start; }
  .sbb-leerbedrijf-logo { width: min(260px, 100%); }
}

/* Klein SBB-logo naast het bedrijfslogo in de bovenbalk */
.brand .site-logo { width: 280px; }
.brand .sbb-header-logo { width: 52px; height: 56px; flex: 0 0 52px; object-fit: contain; }
@media (max-width: 680px) {
  .brand { gap: 6px; }
  .brand .site-logo { width: min(230px, calc(100vw - 110px)); }
  .brand .sbb-header-logo { width: 38px; height: 42px; flex-basis: 38px; }
}


/* Foto's zichtbaar in alle zes dienstenvakken */
.tile:after {
  background: var(--tile-photo, linear-gradient(135deg,#b0c4a2,#405c4e 55%,#172c3a));
  background-size: cover;
  background-position: center;
}

/* Doorlopende lichte houtlook zonder witte of donkere planklijnen */
:root {
  --wood-light: #f3dfbd;
  --wood-mid: #dfb783;
  --wood-dark: #c38d54;
}
body {
  background-color: #edcf9e;
  background-image: linear-gradient(105deg, #f7e5c5 0%, #eac99a 28%, #f4dfbb 55%, #e5bd86 78%, #f1d7aa 100%);
  background-attachment: fixed;
}
.header,
.section,
.seo-local,
.sbb-section,
.sbb-leerbedrijf-section,
.aanbouw-video-section,
.offerte-aanvraag-section,
footer {
  background-color: #edcf9e;
  background-image: linear-gradient(105deg, #f7e5c5 0%, #eac99a 28%, #f4dfbb 55%, #e5bd86 78%, #f1d7aa 100%);
  border-color: rgba(126,78,39,.12);
}
.header, .nav, .brand {
  background-color: #edcf9e;
  background-image: linear-gradient(105deg, #f7e5c5 0%, #eac99a 28%, #f4dfbb 55%, #e5bd86 78%, #f1d7aa 100%);
}
.nav { background-color: transparent; }
.brand { background-color: transparent; }
.brand .site-logo { background: transparent; }
footer { background-color: #e7c394; }
.tile { box-shadow: 0 3px 10px rgba(74,43,20,.18); border: 1px solid rgba(255,241,216,.35); }
.intro h2, .contact h2, .about h2, .seo-local h2, .sbb-copy h2 { text-shadow: 0 1px 0 rgba(255,255,255,.18); }
@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .nav { background-color: #f0d5a8; }
}

/* Voorkom dat de punt van het daklogo wordt afgesneden in de vaste bovenbalk */
.header { min-height: 100px; height: auto; }
.navrow { min-height: 100px; }
.brand { min-width: 0; align-items: center; }
.brand .site-logo {
  width: auto;
  height: auto;
  max-width: min(280px, 100%);
  max-height: 84px;
  object-fit: contain;
  flex: 0 1 auto;
}
.brand .sbb-header-logo { max-height: 56px; flex: 0 0 52px; }
@media (max-width: 1000px) {
  .header { min-height: 92px; }
  .navrow { min-height: 92px; }
  .brand .site-logo { max-width: 240px; max-height: 78px; }
}
@media (max-width: 760px) {
  .header { height: 70px; min-height: 70px; }
  .navrow { height: 70px; min-height: 70px; }
  .brand { gap: 6px; }
  .brand .site-logo { max-width: min(190px, calc(100vw - 115px)); max-height: 60px; }
  .brand .sbb-header-logo { width: 34px; height: 40px; max-height: 40px; flex-basis: 34px; }
}

/* Vergroot het bedrijfslogo bovenin en behoud de volledige dakpunt. */
.brand .site-logo { width: 340px; max-width: 340px; max-height: 92px; height: auto; object-fit: contain; }
@media (max-width: 1000px) { .brand .site-logo { width: 300px; max-width: 300px; max-height: 82px; } }
@media (max-width: 760px) { .brand .site-logo { width: min(245px, calc(100vw - 105px)); max-width: min(245px, calc(100vw - 105px)); max-height: 62px; } }
@media (max-width: 360px) { .brand .site-logo { width: min(215px, calc(100vw - 100px)); max-width: min(215px, calc(100vw - 100px)); } }


/* Logo nog 25% groter; pas de bovenbalk mee aan zodat het dakpunt niet wordt afgesneden. */
.header { height: auto; min-height: 115px; }
.navrow { min-height: 115px; }
.brand .site-logo { width: 425px; max-width: 425px; max-height: 115px; height: auto; object-fit: contain; }
@media (max-width: 1000px) {
  .header { min-height: 102px; }
  .navrow { min-height: 102px; }
  .brand .site-logo { width: 375px; max-width: 375px; max-height: 102px; }
}
@media (max-width: 760px) {
  .header { height: 82px; min-height: 82px; }
  .navrow { height: 82px; min-height: 82px; }
  .brand .site-logo { width: min(306px, calc(100vw - 90px)); max-width: min(306px, calc(100vw - 90px)); max-height: 76px; }
}
@media (max-width: 360px) {
  .brand .site-logo { width: min(269px, calc(100vw - 90px)); max-width: min(269px, calc(100vw - 90px)); }
}


/* Verbeterde schermvulling in liggende stand (telefoon/tablet) */
@media (orientation: landscape) and (max-height: 600px) {
  .container { width: calc(100% - 32px); max-width: none; }
  .header { height: auto; min-height: 76px; }
  .navrow { min-height: 76px; height: auto; gap: 12px; }
  .brand { min-width: 0; flex: 0 1 auto; gap: 7px; }
  .brand .site-logo { width: clamp(190px, 27vw, 340px); max-width: 100%; max-height: 68px; }
  .brand .sbb-header-logo { width: 38px; height: 42px; flex-basis: 38px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: url('images/houtlook-waterpas.png') center top / 100% auto repeat-y; padding: 10px 16px 16px; box-shadow: 0 10px 18px #142c421a; align-items: stretch; flex-direction: column; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 4px; }
  .nav .nav-cta { text-align: center; margin-top: 6px; }
  .hero, .hero-inner { min-height: 0; }
  .hero-inner { padding-top: 28px; padding-bottom: 20px; }
}
@media (orientation: landscape) and (min-width: 761px) and (max-height: 600px) {
  .container { width: calc(100% - 40px); }
  .services-layout { grid-template-columns: minmax(260px, .85fr) minmax(0, 1.65fr); gap: 24px; }
}


/* Dakkapellen-tegel met eigen projectfoto */
.tile.dormer:after{background:var(--tile-photo,linear-gradient(135deg,#9bb7c8,#334d63));background-size:cover;background-position:center;}
/* Dakopbouw-tegel: duidelijke AI-foto en zichtbare dienst */
.tile.dakopbouw:after{background-image:var(--tile-photo);background-size:cover;background-position:center;background-repeat:no-repeat;}


/* Herstel badkamerfoto in het dienstenvak */
.tile.bathroom:after { background-image: var(--tile-photo, url('images/badkamer-project.jpg')); background-size: cover; background-position: center; background-repeat: no-repeat; }


/* Badkamerprojecten galerij */


/* Badkamerprojecten-galerij met door de klant aangeleverde foto's */
.bathroom-gallery{background:#fff}

.bathroom-gallery .gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.bathroom-gallery img{width:100%;height:240px;object-fit:cover;border-radius:12px;display:block}

/* Fotogalerij aanbouw */
.aanbouw-gallery[hidden] { display: none !important; }
.aanbouw-gallery .aanbouw-grid { margin-top: 1.5rem; }
.aanbouw-gallery .aanbouw-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* Galerijen: foto's zichtbaar zodra de tegel wordt geopend */
#aanbouwprojecten[hidden], #badkamerprojecten[hidden] { display: none !important; }
.aanbouw-gallery, .bathroom-gallery { background: #fff; padding: 48px 0; }
.aanbouw-grid, .bathroom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.aanbouw-grid a, .bathroom-grid a { display: block; overflow: hidden; border-radius: 10px; }
.aanbouw-grid img, .bathroom-grid img { width: 100%; height: 240px; object-fit: cover; display: block; }
.aanbouw-grid a:hover img, .bathroom-grid a:hover img { transform: scale(1.02); }
.aanbouw-grid img, .bathroom-grid img { transition: transform .2s ease; }

/* Projectgalerijen: zichtbaar na aanklikken van de bijbehorende dienst */
.aanbouw-gallery, .bathroom-gallery, .dakopbouw-gallery { background:#fff; padding:48px 0; }
.aanbouw-gallery[hidden], .bathroom-gallery[hidden], .dakopbouw-gallery[hidden] { display:none !important; }
.aanbouw-gallery .bathroom-grid, .bathroom-gallery .bathroom-grid, .dakopbouw-gallery .bathroom-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin-top:24px; }
.aanbouw-gallery .bathroom-grid a, .bathroom-gallery .bathroom-grid a, .dakopbouw-gallery .bathroom-grid a { display:block; overflow:hidden; border-radius:10px; }
.aanbouw-gallery .bathroom-grid img, .bathroom-gallery .bathroom-grid img, .dakopbouw-gallery .bathroom-grid img { width:100%; height:240px; object-fit:cover; display:block; }


/* Nieuwe houtlook: planken en naden lopen exact horizontaal */
body {
  background-color: #d9ad78 !important;
  background-image: url('images/houtlook-waterpas.png') !important;
  background-position: center top !important;
  background-size: 100% auto !important;
  background-repeat: repeat-y !important;
  background-attachment: scroll !important;
}
.header, .section, .seo-local, .sbb-section, .sbb-leerbedrijf-section,
.aanbouw-video-section, .offerte-aanvraag-section, footer {
  background-color: rgba(239, 211, 169, .82) !important;
  background-image: url('images/houtlook-waterpas.png') !important;
  background-position: center top !important;
  background-size: 100% auto !important;
  background-repeat: repeat-y !important;
}
@media (max-width: 760px) {
  body, .header, .section, .seo-local, .sbb-section, .sbb-leerbedrijf-section,
  .aanbouw-video-section, .offerte-aanvraag-section, footer {
    background-attachment: scroll !important;
    background-size: auto 900px !important;
  }
}


/* Lichtere houtlook en extra contrast voor goed leesbare teksten */
body { background-color:#f3dfc6 !important; background-image:url('images/houtlook-waterpas.png') !important; background-position:center top !important; background-size:100% auto !important; background-repeat:repeat-y !important; color:#172d45; }
/* De volledige bovenbalk gebruikt exact dezelfde lichte, horizontale houtlook als de rest van de pagina. */
.header, .header .navrow, .header .brand, .header .nav {
  background-color: #f3dfc6 !important;
  background-image: url('images/houtlook-waterpas.png') !important;
  background-position: center top !important;
  background-size: 100% auto !important;
  background-repeat: repeat-y !important;
  background-attachment: scroll !important;
}
.header .brand, .header .nav { background-color: transparent !important; }
.section, .services, .projects, .contact, .gallery-section { background-color:rgba(255,250,242,.88); }
.intro, .contact-layout, .bathroom-gallery .container, .aanbouw-gallery .container, .dakopbouw-gallery .container { background:rgba(255,250,242,.90); border-radius:12px; padding:24px; }
.intro p:not(.label), .contact-layout p:not(.label), .gallery-intro { color:#26384a !important; }
.aanbouw-gallery, .bathroom-gallery, .dakopbouw-gallery { background:rgba(255,250,242,.94) !important; }
footer { background:rgba(255,250,242,.96) !important; color:#172d45 !important; }


/* Verbeteringen: rustige houtlook, toegankelijkheid en mobiel gebruik */
body{background:#f7f4ee}
.header{background-color:#f5e8d6;background-image:url('images/houtlook-waterpas.png');background-repeat:repeat;background-size:auto 520px;background-position:center top}
.header:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,250,242,.14),rgba(255,250,242,.04));z-index:-1}
.brand .site-logo{width:280px;max-width:min(42vw,280px)}
.brand .sbb-header-logo{width:52px;height:56px;max-width:52px;object-fit:contain}
.seo-local{background:rgba(255,255,255,.78)}
.seo-local p{max-width:900px}
.seo-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:20px}
.seo-links a{color:var(--green);font-weight:700;text-underline-offset:4px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f0b429;outline-offset:3px}
.btn{transition:transform .18s ease,box-shadow .18s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 5px 14px #17365d1f}
img{max-width:100%}
@media(max-width:760px){
 .brand .site-logo{width:230px;max-width:calc(100vw - 116px)}
 .brand .sbb-header-logo{width:34px;height:38px;max-width:34px}
 .brand{gap:6px;min-width:0}
 .header{background-size:auto 420px;background-position:center top}
 .nav{background:#fffdf9}
 .seo-local{padding:30px 0}
 .footerrow{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}.btn:hover{transform:none}}

/* Extra gebruiksgemak: werkwijze, FAQ, fotovenster en animaties */
.process-section,.faq-section{background:rgba(255,255,255,.72)}.process-section h2 span,.faq-section h2 span{color:var(--green,#4d8b43)}.section-lead{max-width:650px;color:#56616d;margin:0 0 30px}.process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:30px}.process-card{position:relative;background:rgba(255,255,255,.92);border:1px solid rgba(23,54,93,.1);border-radius:16px;padding:25px 22px;box-shadow:0 10px 28px rgba(20,40,60,.06);opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease,box-shadow .25s ease}.process-card.in-view,.faq-list details.in-view{opacity:1;transform:translateY(0)}.process-card:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(20,40,60,.11)}.process-number{position:absolute;right:18px;top:15px;color:#a8b6c2;font-weight:800;font-size:13px;letter-spacing:.12em}.process-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#eaf2e7;color:#39783c;font-size:25px;margin-bottom:17px}.process-card h3{margin:0 0 9px;color:#17365d;font-size:20px}.process-card p{margin:0;color:#596575;line-height:1.65;font-size:15px}.faq-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:start}.faq-list{display:grid;gap:12px}.faq-list details{background:#fff;border:1px solid rgba(23,54,93,.12);border-radius:12px;padding:0 20px;opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}.faq-list summary{cursor:pointer;list-style:none;padding:19px 32px 19px 0;font-weight:700;color:#17365d;position:relative}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:"+";position:absolute;right:0;top:14px;font-size:25px;color:#4b8d45}.faq-list details[open] summary:after{content:"−"}.faq-list details p{margin:0;padding:0 0 19px;color:#596575;line-height:1.7}.photo-viewer{position:fixed;inset:0;z-index:9999;background:rgba(7,15,24,.94);display:none;align-items:center;justify-content:center;padding:60px 70px 75px}.photo-viewer.is-open{display:flex}.photo-viewer img{max-width:min(100%,1200px);max-height:78vh;object-fit:contain;border-radius:8px}.photo-viewer button{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:50%;width:48px;height:48px;font-size:32px;cursor:pointer}.photo-viewer-close{right:22px;top:20px}.photo-viewer-prev{left:20px;top:50%;transform:translateY(-50%)}.photo-viewer-next{right:20px;top:50%;transform:translateY(-50%)}.photo-viewer-caption{position:absolute;bottom:22px;color:#fff;text-align:center}.back-to-top{position:fixed;right:24px;bottom:100px;z-index:1000;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#17365d;color:#fff;text-decoration:none;font-size:25px;box-shadow:0 5px 18px #0003;opacity:0;pointer-events:none;transform:translateY(8px);transition:.25s}.back-to-top.visible{opacity:1;pointer-events:auto;transform:translateY(0)}@media(max-width:900px){.process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.faq-layout{grid-template-columns:1fr;gap:28px}}@media(max-width:560px){.process-grid{grid-template-columns:1fr}.photo-viewer{padding:60px 48px}.photo-viewer img{max-height:72vh}.photo-viewer button{width:40px;height:40px;font-size:27px}.photo-viewer-prev{left:5px}.photo-viewer-next{right:5px}.back-to-top{right:15px;bottom:90px}}@media(prefers-reduced-motion:reduce){.process-card,.faq-list details,.back-to-top{transition:none;transform:none}.process-card,.faq-list details{opacity:1}}

/* Badkamervideo */
.bathroom-video{margin:28px 0 34px}
.bathroom-video h3{margin:0 0 14px;color:inherit}
.bathroom-video video{display:block;width:100%;max-width:900px;max-height:78vh;aspect-ratio:16/9;object-fit:contain;background:#111;border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.16)}
@media(max-width:640px){.bathroom-video video{aspect-ratio:9/16;max-height:70vh}}

/* Subtiele verwijzing naar gereedschapsmerken */
.tool-brands{padding:18px 0 20px;background:rgba(255,250,242,.96);border-top:1px solid rgba(23,54,93,.08)}
.tool-brands-inner{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
.tool-brands-label{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:#7b8490;font-weight:700}
.tool-brand-marks{display:flex;align-items:center;gap:12px}
.tool-mark{display:inline-flex;align-items:center;justify-content:center;min-width:76px;height:27px;padding:0 9px;font-weight:900;letter-spacing:-.045em;font-size:15px;line-height:1;border-radius:3px;opacity:.82}
.tool-mark.makita{color:#fff;background:#0877b9;font-style:italic}
.tool-mark.dewalt{color:#171717;background:#f5d21b;font-style:italic;letter-spacing:-.06em}
.tool-mark.festool{color:#fff;background:#168b48;font-style:italic}
@media(max-width:560px){.tool-brands-inner{gap:10px}.tool-brands-label{width:100%;text-align:center}.tool-brand-marks{gap:8px}.tool-mark{min-width:69px;height:25px;font-size:13px}}
