.services-text-head{padding-top:0}.services-text-head .heading-sm{margin-top:0}

/* Continuous scrolling: keep the menu available and align every section start beneath it. */
.nav-wrap{position:sticky;top:0;z-index:30}
.site-page,.site-page.active{display:block;animation:none;scroll-margin-top:72px}
#contact-methods,.contact-grid#quote-form-area{scroll-margin-top:72px}
@media(max-width:800px){
  .site-page,.site-page.active,#contact-methods,.contact-grid#quote-form-area{scroll-margin-top:64px}
}

/* Four contact methods */
.contact-method-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.contact-method-card{padding:26px 20px 23px}
@media(max-width:1000px){.contact-method-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.contact-method-cards{grid-template-columns:1fr}}
/* Confirmation replaces the sent form, only when Netlify reports success. */
.contact-form[hidden],.contact-success[hidden]{display:none!important}
.contact-success{background:#f5faf7;border:1px solid #c6dfcf;min-height:390px;padding:50px 38px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#177245}
.contact-success-check{width:88px;height:88px;border:2px solid #228453;border-radius:50%;display:grid;place-items:center;margin-bottom:25px}
.contact-success h2{color:#177245;font:500 clamp(31px,3.5vw,47px)/1.16 var(--serif);max-width:520px;margin:0 0 15px}
.contact-success p{color:#315f49;font-size:15px;line-height:1.8;max-width:480px;margin:0}
.contact-success:focus{outline:none}
@media(max-width:640px){.contact-success{min-height:310px;padding:40px 22px}.contact-success-check{width:72px;height:72px}}

/* Interior and wood-repair photo details, November 2026. */

/* Visually separate the end of services from the Projects introduction. */
#projecten{padding-top:58px;background:#fff}
#projecten .page-hero{border-top:1px solid var(--line)}
@media(max-width:800px){#projecten{padding-top:34px}}

/* Dedicated, indexable service pages — consistent with existing house style. */
.seo-service-section{padding:54px 0 95px;background:var(--white)}
.seo-breadcrumb{display:flex;flex-wrap:wrap;gap:12px;color:var(--body);font-size:12px;margin-bottom:48px}
.seo-breadcrumb a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.seo-breadcrumb [aria-current="page"]{font-weight:600}
.seo-service-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:7%;align-items:start}
.seo-service-copy{max-width:790px}
.seo-service-copy .heading-sm{margin-bottom:24px}
.seo-service-copy p{font-size:15px;line-height:1.9;max-width:760px;margin-bottom:23px}
.seo-service-copy h2:not(.heading-sm){font:500 31px/1.2 var(--serif);margin:37px 0 18px;color:var(--navy)}
.seo-steps{padding-left:24px;margin:0 0 32px}
.seo-steps li{padding:5px 0 5px 8px;line-height:1.8}
.seo-service-copy>.button{display:inline-flex;margin-top:10px}
.seo-service-aside{background:var(--light);border:1px solid var(--line);padding:28px;display:flex;flex-direction:column;gap:15px}
.seo-service-aside h2{font:500 29px/1.12 var(--serif);margin:0 0 8px}
.seo-service-aside a{color:var(--navy);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.seo-service-aside p{font-size:13px;line-height:1.8;margin:0}
.seo-aside-divider{height:1px;background:var(--line);margin:10px 0}
@media(max-width:800px){.seo-service-section{padding:30px 0 70px}.seo-breadcrumb{margin-bottom:30px}.seo-service-grid{grid-template-columns:1fr;gap:45px}}

/* Hero: constrain copy to its grid track; prevent long Dutch words from overlapping the photo. */
.page-hero:not(.over){
  grid-template-columns:minmax(0,44%) minmax(0,56%);
}
.page-hero:not(.over) .copy{
  min-width:0;
  padding:54px clamp(28px,5vw,88px);
}
.page-hero:not(.over) .copy .heading{
  max-width:100%;
  font-size:clamp(32px,3.05vw,51px);
  line-height:1.03;
  overflow-wrap:break-word;
}
.page-hero:not(.over) .photo{min-width:0}
@media(max-width:800px){
  .page-hero:not(.over){grid-template-columns:minmax(0,1fr)}
  .page-hero:not(.over) .copy{padding:50px 6% 40px}
  .page-hero:not(.over) .copy .heading{font-size:clamp(34px,7vw,50px)}
}
@media(max-width:520px){
  .page-hero:not(.over) .copy{padding:45px 24px 33px}
  .page-hero:not(.over) .copy .heading{font-size:clamp(32px,8vw,42px)}
}

/* Do not break long service names into orphan letters. */
.page-hero:not(.over) .copy .heading{
 font-size:clamp(31px,2.45vw,42px);
 line-height:1.08;
 letter-spacing:0;
 word-break:normal;
 overflow-wrap:normal;
 hyphens:manual;
}
@media (min-width:801px) and (max-width:1150px){
 .page-hero:not(.over){grid-template-columns:minmax(0,49%) minmax(0,51%)}
 .page-hero:not(.over) .copy{padding:40px 28px}
 .page-hero:not(.over) .copy .heading{font-size:clamp(30px,3.2vw,37px)}
}
@media (max-width:800px){
 .page-hero:not(.over) .copy .heading{font-size:clamp(31px,6.6vw,42px)}
}
@media(max-width:520px){
 .page-hero:not(.over) .copy .heading{font-size:clamp(30px,7.4vw,38px)}
}
/* Photos are directly linked to the corresponding service. */
#diensten .diensten-feature .newbuild-photo > a{
 display:block;width:100%;height:100%;overflow:hidden;
}
#diensten .diensten-feature .newbuild-photo > a:focus-visible{
 outline:3px solid var(--gold);outline-offset:-3px;
}
#diensten .diensten-feature .newbuild-photo > a img{
 display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease;
}
@media(hover:hover){
 #diensten .diensten-feature .newbuild-photo > a:hover img{transform:scale(1.025)}
}

/* Contact page: let customers arrive directly at quotation choices. */
#contact .contact-methods{padding-top:clamp(35px,5vw,72px);scroll-margin-top:74px}
#contact .contact-methods-heading h1{font:500 clamp(29px,3.2vw,44px)/1.12 var(--serif);color:var(--navy);text-transform:uppercase;letter-spacing:.018em;margin:12px 0 16px}
@media(max-width:800px){#contact .contact-methods{scroll-margin-top:64px}}

/* Seven homepage service links: four columns, with a balanced final row. */
#home .services-grid.services-grid-text{grid-template-columns:repeat(4,minmax(0,1fr))}
#home .services-grid.services-grid-text .service-teaser:nth-child(5){grid-column:1 / span 1}
@media (min-width:981px){
 #home .services-grid.services-grid-text .service-teaser:nth-child(5){grid-column:1 / span 1}
}
@media (max-width:980px){
 #home .services-grid.services-grid-text{grid-template-columns:repeat(2,minmax(0,1fr))}
 #home .services-grid.services-grid-text .service-teaser:nth-child(5){grid-column:auto}
}
@media (max-width:640px){
 #home .services-grid.services-grid-text{grid-template-columns:1fr}
}

/* Over ons: align the opening photo exactly with its adjacent text panel. */
#over-ons .page-hero.over{align-items:stretch}
#over-ons .page-hero.over .copy{min-height:470px}
#over-ons .page-hero.over .photo{height:auto;min-height:470px;align-self:stretch}
#over-ons .page-hero.over .photo img{display:block;width:100%;height:100%;object-fit:cover}
#over-ons .about-gallery>img:first-child{object-position:center 35%}
@media(max-width:800px){
 #over-ons .page-hero.over .copy{min-height:0}
 #over-ons .page-hero.over .photo{height:320px;min-height:0}
}
@media(max-width:520px){
 #over-ons .page-hero.over .photo{height:240px}
}


/* Over ons: one large portrait image alongside the heading and the complete text. */
#over-ons .about-full-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:6%;align-items:stretch}
#over-ons .about-full-layout .about-gallery{display:block;position:relative;min-width:0;min-height:100%;overflow:hidden}
#over-ons .about-full-layout .about-gallery>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}
#over-ons .about-full-content{min-width:0}
#over-ons .about-full-content>.heading-sm{margin:15px 0 28px}
@media(max-width:800px){
 #over-ons .about-full-layout{grid-template-columns:1fr;gap:28px}
 #over-ons .about-full-layout .about-gallery{height:460px;min-height:0}
 #over-ons .about-full-layout .about-gallery>img{object-position:center 42%}
}
@media(max-width:520px){
 #over-ons .about-full-layout .about-gallery{height:360px}
}


/* Over ons: restore original full-width section title and text proportions. */
#over-ons .about-tower-layout{align-items:stretch}
#over-ons .about-tower-layout .about-gallery{display:block;position:relative;min-width:0;min-height:100%;overflow:hidden}
#over-ons .about-tower-layout .about-gallery>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}
#over-ons .about-tower-layout .about-text{min-width:0}
#over-ons .about-tower-layout .about-text p{font-size:14px;line-height:1.98;letter-spacing:normal}
/* Restore consistent hero heading scale and avoid splitting 'Met karakter'. */
#over-ons .page-hero.over{grid-template-columns:52% 48%}
#over-ons .page-hero.over .copy{padding-right:38px}
#over-ons .page-hero.over .copy .heading{max-width:none;font-size:clamp(42px,3.35vw,62px);line-height:1.03;letter-spacing:.025em;word-break:normal;overflow-wrap:normal}
#over-ons .page-hero.over .copy p{font-size:14px;line-height:1.95;max-width:460px}
@media(max-width:800px){
 #over-ons .page-hero.over{grid-template-columns:1fr}
 #over-ons .page-hero.over .copy .heading{font-size:clamp(39px,7.2vw,54px);letter-spacing:.023em}
 #over-ons .about-tower-layout{grid-template-columns:1fr;gap:28px}
 #over-ons .about-tower-layout .about-gallery{height:460px;min-height:0}
}
@media(max-width:520px){
 #over-ons .about-tower-layout .about-gallery{height:370px}
 #over-ons .page-hero.over .copy .heading{font-size:clamp(36px,9vw,46px)}
}
