
/* Compactere homepage: kortere secties en minder scrollen */
.homepage-compact .hero { padding-bottom: clamp(1.5rem, 3vw, 2.75rem); }
.homepage-compact .trust-strip { padding-block: 1rem; }
.homepage-compact #diensten.section { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.homepage-compact #diensten .section-head { margin-bottom: 1.25rem; }
.homepage-compact #diensten .gallery-intro { max-width: 42rem; }
.homepage-compact #diensten .cards { gap: 1rem; }
.homepage-compact #diensten .card { padding: 1.25rem; }
.homepage-compact #diensten .card p { margin-block: .5rem .75rem; }
.homepage-compact .about.section { padding-block: 2rem; }
.homepage-compact .reviews-section.section { padding-block: 2.5rem; }
.homepage-compact .section.soft { padding-block: 2.5rem; }
.homepage-compact .contact { padding-block: clamp(2.5rem, 5vw, 4rem); }
.homepage-compact .bvcb-support { padding-block: 2rem; }
@media (max-width: 700px) {
 .homepage-compact .hero-modern { padding-top: 1.5rem; }
 .homepage-compact .hero-points { gap: .5rem .8rem; }
 .homepage-compact #diensten .cards { gap: .75rem; }
 .homepage-compact #diensten .card { padding: 1rem; }
 .homepage-compact .reviews-section.section, .homepage-compact .section.soft { padding-block: 2rem; }
}


/* CTA-knoppen homepage: altijd duidelijke tussenruimte, desktop en mobiel */
html body .homepage-compact .home-contact-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 16px !important;
}
html body .homepage-compact .home-contact-actions > a + a {
  margin-left: 0 !important;
}
@media (max-width: 700px) {
  html body .homepage-compact .home-contact-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }
  html body .homepage-compact .home-contact-actions > a {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}


/* Definitieve CTA-scheiding: fallback met marges naast flex-gap */
html body main.homepage-compact .home-contact-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}
html body main.homepage-compact .home-contact-actions > a {
  margin: 0 !important;
}
html body main.homepage-compact .home-contact-actions > a + a {
  margin-left: 16px !important;
}
@media (max-width: 700px) {
  html body main.homepage-compact .home-contact-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  html body main.homepage-compact .home-contact-actions > a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}


/* Homepage CTA's: normale knophoogte en duidelijke tussenruimte */
html body main.homepage-compact .home-contact-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 16px !important;
}
html body main.homepage-compact .home-contact-actions > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 16px 24px !important;
  box-sizing: border-box !important;
}
html body main.homepage-compact .home-contact-actions > a + a {
  margin-left: 0 !important;
}
@media (max-width: 700px) {
  html body main.homepage-compact .home-contact-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }
  html body main.homepage-compact .home-contact-actions > a {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
  }
}


/* Extra robuuste afstand tussen de twee CTA-knoppen */
html body main.homepage-compact div.home-contact-actions > a.button + a.button {
  margin-left: 18px !important;
}
@media (max-width: 700px) {
  html body main.homepage-compact div.home-contact-actions > a.button + a.button {
    margin-left: 0 !important;
    margin-top: 14px !important;
  }
}


/* BVCB sponsor photo: show the real KT Service en Techniek board below the link. */
.bvcb-support-inner{grid-template-columns:minmax(0,1fr) auto;align-items:start}
.bvcb-support-photo{grid-column:1/-1;margin:8px 0 0;width:100%;max-width:100%;}
.bvcb-support-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;object-position:center;border-radius:14px;}
@media(max-width:850px){.bvcb-support-photo{margin-top:4px}.bvcb-support-photo img{max-height:360px;object-fit:cover}}


/* BVCB sponsor image: compact, centered sizing on mobile and desktop. */
html body .bvcb-support .bvcb-support-inner .bvcb-support-photo {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 12px auto 0 !important;
  justify-self: stretch !important;
  overflow: hidden;
}
html body .bvcb-support .bvcb-support-inner .bvcb-support-photo img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 420px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
}
@media (max-width: 700px) {
  html body .bvcb-support .bvcb-support-inner .bvcb-support-photo {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 0 !important;
  }
  html body .bvcb-support .bvcb-support-inner .bvcb-support-photo img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 220px !important;
    object-fit: contain !important;
  }
}

/* BVCB-foto: iets groter, volledig zichtbaar en netjes binnen het mobiele scherm. */
html body .bvcb-support .bvcb-support-inner .bvcb-support-photo {
  box-sizing: border-box !important;
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 560px !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  justify-self: center !important;
  overflow: visible !important;
}
html body .bvcb-support .bvcb-support-inner .bvcb-support-photo img {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 320px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  border-radius: 14px !important;
}
@media (max-width: 700px) {
  html body .bvcb-support .bvcb-support-inner .bvcb-support-photo {
    width: 100% !important;
    max-width: 560px !important;
    margin: 16px auto 0 !important;
    padding-inline: 0 !important;
  }
  html body .bvcb-support .bvcb-support-inner .bvcb-support-photo img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 300px !important;
    object-fit: contain !important;
  }
}


/* Definitieve mobiele breedtecorrectie homepage + BVCB */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}
body {
  margin: 0 !important;
}
.site-header,
.site-header > *,
main,
main > *,
.bvcb-support,
footer {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.container,
.bvcb-support-inner {
  box-sizing: border-box !important;
  width: min(calc(100% - 28px), 1120px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.bvcb-support-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}
.bvcb-support-inner > *,
.bvcb-support-photo,
.bvcb-support-action {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.bvcb-support-action .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.bvcb-support-photo {
  display: block !important;
  width: 100% !important;
  max-width: 560px !important;
  margin: 10px auto 0 !important;
  overflow: hidden !important;
}
.bvcb-support-photo img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 340px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
}
@media (max-width: 700px) {
  .container,
  .bvcb-support-inner {
    width: calc(100% - 28px) !important;
  }
  .bvcb-support {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .bvcb-support-photo {
    width: 100% !important;
    max-width: 100% !important;
  }
  .bvcb-support-photo img {
    max-height: 340px !important;
  }
}

/* BVCB MOBIEL: vaste inhoudsbreedte, afbrekende tekst en begrensde foto/knop.
   Deze regels staan bewust als laatste zodat oudere correcties ze niet overschrijven. */
html body section.bvcb-support {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
  box-sizing: border-box !important;
}
html body section.bvcb-support .bvcb-support-inner {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  width: min(1120px, calc(100% - 40px)) !important;
  max-width: 1120px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  gap: 24px !important;
}
html body section.bvcb-support .bvcb-support-inner > *,
html body section.bvcb-support .bvcb-support-inner > div:first-child,
html body section.bvcb-support .bvcb-support-inner h2,
html body section.bvcb-support .bvcb-support-inner p {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}
html body section.bvcb-support .bvcb-support-inner h2 {
  width: 100% !important;
  font-size: clamp(1.7rem, 5.5vw, 2.8rem) !important;
  line-height: 1.12 !important;
}
html body section.bvcb-support .bvcb-support-action {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
html body section.bvcb-support .bvcb-support-action .button {
  display: inline-flex !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  white-space: normal !important;
  text-align: center !important;
}
html body section.bvcb-support .bvcb-support-photo {
  box-sizing: border-box !important;
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 720px !important;
  min-width: 0 !important;
  margin: 12px auto 0 !important;
  overflow: hidden !important;
}
html body section.bvcb-support .bvcb-support-photo img {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 420px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
}
@media (max-width: 850px) {
  html body section.bvcb-support .bvcb-support-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    width: calc(100% - 36px) !important;
    max-width: 680px !important;
    gap: 18px !important;
  }
  html body section.bvcb-support .bvcb-support-action .button {
    display: flex !important;
    width: 100% !important;
  }
  html body section.bvcb-support .bvcb-support-photo {
    width: 100% !important;
    max-width: 560px !important;
    margin: 10px auto 0 !important;
  }
  html body section.bvcb-support .bvcb-support-photo img {
    max-height: 340px !important;
  }
}
@media (max-width: 520px) {
  html body section.bvcb-support .bvcb-support-inner {
    width: calc(100% - 32px) !important;
  }
  html body section.bvcb-support .bvcb-support-inner h2 {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
  }
}
