/* ==========================================================================
   House Service — gedeelde stylesheet
   Designtokens en componenten volgens de handoff (high fidelity).
   ========================================================================== */

/* Lokaal gehoste lettertypes (SIL Open Font License, zie fonts/OFL.txt).
   Variabele latin-subset, gewicht 400-700. Geen externe verzoeken. */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/source-serif-4-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/source-sans-3-latin.woff2') format('woff2');
}

:root {
  /* Kleuren */
  --frisgroen: #6aa84f;
  --frisgroen-hover: #5c9744;
  --donkergroen: #4e7d38;
  --donkergroen-hover: #3f6a2d;
  --groen-op-donker: #7dbb61;
  --tekst-donker: #22271f;
  --tekst-body: #4a4f45;
  --warm-grijs: #6d6e71;
  --zacht-groen: #f7faf4;
  --groen-vlak: #eaf3e4;
  --rand-licht: #e4ebdd;
  --rand-2: #e9f0e2;
  --rand-3: #eef3e8;
  --rand-4: #d7e7cc;
  --rand-5: #cfe0c3;
  --footer-bg: #22271f;
  --footer-tekst: #dfe4d9;
  --footer-tekst-zwak: #93a389;
  --footer-rand: #343c30;
  --wit: #ffffff;
  --groen-op-groen: #e6f1de;

  /* Schaduwen */
  --sh-kaart: 0 8px 22px rgba(34, 39, 31, 0.05);
  --sh-kaart-hover: 0 14px 30px rgba(34, 39, 31, 0.1);
  --sh-header: 0 2px 14px rgba(34, 39, 31, 0.04);
  --sh-hero: 0 18px 40px rgba(34, 39, 31, 0.14);
  --sh-beeldband: 0 12px 30px rgba(34, 39, 31, 0.12);
  --sh-contactkaart: 0 10px 26px rgba(34, 39, 31, 0.07);
  --sh-knop-donker: 0 8px 20px rgba(78, 125, 56, 0.26);
  --sh-knop-fris: 0 8px 20px rgba(106, 168, 79, 0.26);
  --sh-cta: 0 16px 34px rgba(78, 125, 56, 0.24);
  --sh-belbalk: 0 -4px 18px rgba(34, 39, 31, 0.12);

  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* <picture> mag de layout niet beinvloeden; de <img> erft alle bestaande
   regels (.hero-img img, .dienst-kaart img, .beeldband img). */
picture { display: contents; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wit);
  color: var(--tekst-donker);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p { text-wrap: pretty; }

a { color: var(--donkergroen); text-decoration: none; }
a:hover { color: var(--frisgroen); text-decoration: underline; }

img { max-width: 100%; }

/* Zichtbare focusstijl (toegankelijkheid) */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--frisgroen);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Skip-link: springt met toetsenbord direct naar de inhoud */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--donkergroen);
  color: var(--wit);
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  color: var(--wit);
  text-decoration: none;
}

/* Anker-doel niet onder de sticky header laten vallen */
:target { scroll-margin-top: 160px; }

/* Respecteer de voorkeur voor minder beweging */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================================
   Knoppen
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  min-height: 44px;
}
.btn:hover { text-decoration: none; }

.btn-groot { padding: 16px 26px; font-size: 17.5px; }

.btn-bel {
  background: var(--donkergroen);
  color: var(--wit);
  box-shadow: var(--sh-knop-donker);
}
.btn-bel:hover { background: var(--donkergroen-hover); color: var(--wit); }

.btn-wa {
  background: var(--frisgroen);
  color: var(--wit);
  box-shadow: var(--sh-knop-fris);
}
.btn-wa:hover { background: var(--frisgroen-hover); color: var(--wit); }

.btn-mail {
  background: var(--wit);
  color: var(--tekst-donker);
  border: 1px solid var(--rand-5);
}
.btn-mail:hover { background: #f2f8ec; color: var(--tekst-donker); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--wit);
  border-bottom: 1px solid var(--rand-licht);
  box-shadow: var(--sh-header);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.header-logo { display: flex; align-items: center; text-decoration: none; }
.header-logo img { height: 56px; width: auto; display: block; }
.header-logo:hover { text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.header-tel {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--tekst-donker);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
}
.header-tel:hover { color: var(--tekst-donker); text-decoration: none; }

.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--frisgroen);
  color: var(--wit);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(106, 168, 79, 0.28);
  min-height: 44px;
}
.header-wa:hover { background: var(--donkergroen); color: var(--wit); text-decoration: none; }

/* Hoofdmenu */
.main-nav {
  border-top: 1px solid var(--rand-3);
  background: var(--zacht-groen);
}
.nav-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.nav-inner a {
  position: relative;
  padding: 14px 14px 12px;
  color: var(--tekst-donker);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav-inner a:hover { color: var(--donkergroen); text-decoration: none; }
.nav-inner a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--frisgroen);
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, #f7faf4 0%, #ffffff 100%);
  border-bottom: 1px solid var(--rand-3);
}
.hero-inner {
  padding-top: 72px;
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.hero-lead {
  font-size: 19.5px;
  line-height: 1.65;
  color: var(--tekst-body);
  margin: 0 0 16px;
  max-width: 33em;
}
.hero-lead:last-of-type { margin-bottom: 32px; }
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-note {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--warm-grijs);
  margin: 18px 0 0;
  max-width: 30em;
}
.hero-media { position: relative; min-width: 0; }
.hero-img {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--sh-hero);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-float {
  position: absolute;
  left: -18px;
  bottom: -22px;
  background: var(--wit);
  border: 1px solid var(--rand-licht);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 12px 26px rgba(34, 39, 31, 0.1);
  max-width: 260px;
}
.hero-float p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--tekst-donker); }

/* ==========================================================================
   Secties (home)
   ========================================================================== */
.section { padding-top: 76px; }
.section-last { padding-bottom: 90px; }

.section h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  margin: 0 0 12px;
}
.section-lead {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--tekst-body);
  margin: 0 0 40px;
  max-width: 44em;
}

/* Icoonvlak */
.icoon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--groen-vlak);
  display: grid;
  place-items: center;
  flex: none;
}

/* Dienstkaarten */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.dienst-kaart {
  background: var(--wit);
  border: 1px solid var(--rand-licht);
  border-radius: 20px;
  padding: 30px 28px 26px;
  box-shadow: var(--sh-kaart);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.dienst-kaart:hover { box-shadow: var(--sh-kaart-hover); border-color: var(--rand-5); }
.dienst-kaart img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.dienst-kaart h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  margin: 0;
}
.dienst-kaart p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--tekst-body);
  margin: 0;
}
.lees-meer {
  margin-top: auto;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--donkergroen);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Situatiekaarten */
.situatie-kaart {
  display: flex;
  gap: 18px;
  background: var(--wit);
  border: 1px solid var(--rand-licht);
  border-radius: 20px;
  padding: 26px;
}
.situatie-kaart h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.situatie-kaart p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--tekst-body);
  margin: 0;
}

/* Waarom-vlak */
.waarom-vlak {
  background: var(--zacht-groen);
  border: 1px solid var(--rand-2);
  border-radius: 26px;
  padding: 48px 44px;
}
.waarom-vlak > h2 { margin: 0 0 34px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.waarom-item { display: flex; flex-direction: column; gap: 10px; }
.waarom-item h3 { font-size: 19.5px; font-weight: 700; margin: 0; }
.waarom-item p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--tekst-body);
  margin: 0;
}
.vinkje-rond {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--frisgroen);
  display: grid;
  place-items: center;
}

/* Stappen */
.stap-kaart {
  border: 1px solid var(--rand-licht);
  border-radius: 20px;
  padding: 30px 28px;
  background: var(--wit);
}
.stap-cijfer {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--groen-vlak);
  color: var(--donkergroen);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.stap-kaart h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}
.stap-kaart p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--tekst-body);
  margin: 0;
}

/* Groene CTA-balk */
.cta-balk {
  background: var(--donkergroen);
  border-radius: 26px;
  padding: 46px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--sh-cta);
}
.cta-balk-tekst { max-width: 34em; }
.cta-balk h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--wit);
  margin: 0 0 10px;
}
.cta-balk-tekst p {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--groen-op-groen);
  margin: 0;
}
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-cta-bel {
  background: var(--wit);
  color: var(--donkergroen-hover);
  font-weight: 700;
  box-shadow: none;
}
.btn-cta-bel:hover { background: #f2f8ec; color: var(--donkergroen-hover); }
.btn-cta-wa {
  background: var(--frisgroen);
  color: var(--wit);
  font-weight: 700;
  border: 1px solid var(--groen-op-donker);
  box-shadow: none;
}
.btn-cta-wa:hover { background: var(--groen-op-donker); color: var(--wit); }

/* Actief in uw buurt */
.grid-buurt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.buurt-kaart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--zacht-groen);
  border: 1px solid var(--rand-licht);
  border-radius: 18px;
  padding: 24px 26px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.buurt-kaart:hover { background: #eef5e8; border-color: var(--rand-5); text-decoration: none; }
.buurt-naam {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.buurt-naam strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--tekst-donker);
}
.buurt-naam span { font-size: 16px; color: var(--warm-grijs); }

/* ==========================================================================
   Onderpagina's
   ========================================================================== */
.paginakop {
  background: var(--zacht-groen);
  border-bottom: 1px solid var(--rand-3);
}
.paginakop-inner { padding: 46px 24px 44px; }
.breadcrumb {
  font-size: 15.5px;
  color: var(--warm-grijs);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--warm-grijs); }
.breadcrumb .sep { padding: 0 8px; }
.paginakop h1 {
  font-family: var(--serif);
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 16px;
  max-width: 24em;
}
.paginakop-intro {
  font-size: 19.5px;
  line-height: 1.65;
  color: var(--tekst-body);
  margin: 0;
  max-width: 34em;
}

.beeldband { padding-top: 30px; }
.beeldband img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  box-shadow: var(--sh-beeldband);
}

.onderpagina-cols {
  padding: 56px 24px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.tekstblok { margin-bottom: 40px; }
.tekstblok h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 14px;
}
.tekstblok p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--tekst-body);
  margin: 0 0 14px;
  max-width: 40em;
}
.tekstlijst {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.tekstlijst li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--tekst-donker);
}
.tekstlijst svg { flex: none; margin-top: 3px; }

/* Afsluitend blok */
.afsluitblok {
  background: var(--zacht-groen);
  border: 1px solid var(--rand-2);
  border-radius: 22px;
  padding: 32px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.afsluitblok p {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--tekst-donker);
  margin: 0;
  max-width: 26em;
}
.afsluitblok .btn { padding: 14px 24px; font-size: 17px; }

/* Contactkaart (aside) */
.contact-aside {
  position: sticky;
  top: 148px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contactkaart {
  background: var(--wit);
  border: 1px solid var(--rand-licht);
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: var(--sh-contactkaart);
  text-align: center;
}
.contactkaart-foto {
  width: 116px;
  height: 116px;
  margin: 0 auto 18px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.contactkaart h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 4px;
}
.contactkaart .rol {
  font-size: 16px;
  color: var(--warm-grijs);
  margin: 0 0 22px;
}
.contactkaart-btns { display: grid; gap: 10px; }
.contactkaart-btns .btn { width: 100%; padding: 14px 18px; font-size: 17px; }

.gratis-gesprek {
  background: var(--groen-vlak);
  border: 1px solid var(--rand-4);
  border-radius: 22px;
  padding: 24px;
}
.gratis-gesprek h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--donkergroen-hover);
}
.gratis-gesprek p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--tekst-body);
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-tekst);
  padding: 56px 24px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
}
.footer-grid img { height: 42px; width: auto; display: block; margin-bottom: 18px; }
.footer-over {
  font-size: 16.5px;
  line-height: 1.7;
  color: #b9c2b1;
  margin: 0;
  max-width: 26em;
}
.footer-grid h4 {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--footer-tekst-zwak);
  margin: 0 0 16px;
}
.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 16.5px;
  line-height: 1.55;
}
.footer-contact span { color: var(--footer-tekst); }
.footer-contact a { color: var(--wit); font-weight: 600; }
.footer-paginas { display: grid; gap: 9px; font-size: 16.5px; }
.footer-paginas a { color: var(--footer-tekst); }
.footer-onderbalk {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--footer-rand);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 15px;
  color: var(--footer-tekst-zwak);
}

/* ==========================================================================
   Vaste belbalk (mobiel)
   ========================================================================== */
.belbalk {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  background: var(--wit);
  border-top: 1px solid var(--rand-licht);
  box-shadow: var(--sh-belbalk);
  padding: 10px 12px;
  gap: 10px;
}
.belbalk a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 12px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: var(--wit);
}
.belbalk a:hover { text-decoration: none; color: var(--wit); }
.belbalk .bb-bel { background: var(--donkergroen); }
.belbalk .bb-wa { background: var(--frisgroen); }

/* ==========================================================================
   Responsive — breekpunt 900px
   ========================================================================== */
@media (max-width: 900px) {
  .wrap { padding-left: 18px; padding-right: 18px; }

  .header-wa { display: none; }
  .belbalk { display: flex; }
  .site-footer { padding-bottom: 110px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { height: 260px; }
  .hero-float {
    position: static;
    margin-top: 18px;
    max-width: none;
    left: auto;
    bottom: auto;
  }

  .grid-3,
  .grid-2,
  .grid-4,
  .grid-buurt { grid-template-columns: 1fr; }

  .waarom-vlak { padding: 34px 26px; }
  .cta-balk { padding: 36px 28px; }

  .onderpagina-cols {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }
  .contact-aside { position: static; top: auto; }

  .paginakop-inner { padding-left: 18px; padding-right: 18px; }
}
