/* ==========================================================================
   Wia Dakbeheer: global styles for the home-* and wia-* blocks
   Everything is scoped to .wia-nh, the wrapper every one of these blocks
   renders (the homepage sections and the reusable page sections).
   theme.css only styles :where(.wia-block, .wia-chrome), so the two never
   overlap: the older pages, the header, the footer and plugins are not
   touched by this file. Section-specific rules live in each block's own CSS.
   Volgorde: tokens, basis, layout, secties, kop, knoppen, gedeelde
   componenten, formulieren, hulpklassen, responsief.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   The four colours that Theme Options can change (ink, brand, accent, sky)
   and the body font follow those settings through the theme's own tokens.
   -------------------------------------------------------------------------- */
.wia-nh {
  /* Kleuren. Marineblauw draagt, amber onderbreekt, lichtblauw vult de vlakken. */
  --nh-brand: var(--brand, #00296b);
  --nh-brand-700: #0a3166;   /* de aanvraagbalk onder de hero */
  --nh-brand-600: #0d68cc;   /* het enige linkblauw, ook de kleur van het schrift */
  --nh-brand-400: #338df1;   /* schrift op een donkere achtergrond */
  --nh-accent: var(--accent, #fca311);
  --nh-accent-600: #d98800;
  --nh-accent-50: #fff4de;
  --nh-sky: var(--sky, #abd0f4);
  --nh-sky-50: #eef4fb;
  --nh-sky-100: #dce9f5;
  --nh-ink: var(--ink, #001d3d);
  --nh-body: var(--ink, #001d3d);
  --nh-muted: #4a6489;
  --nh-line: #dce9f5;
  --nh-line-strong: #abd0f4;
  --nh-on-brand: #c6dcf5;      /* lopende tekst op marineblauw */
  --nh-on-brand-soft: #a9c4e3; /* notities op marineblauw */
  --nh-on-photo: #d7e6f7;      /* lopende tekst op een foto */
  --nh-todo-ink: #8a5800;

  /* Typografie: Roboto Slab voor koppen, Poppins voor al het andere,
     Pacifico uitsluitend voor de eyebrow boven een sectiekop. */
  --nh-font-display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --nh-font-head: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --nh-font-body: var(--font-body, "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif);
  --nh-font-script: "Pacifico", "Segoe Script", cursive;

  /* Ruimte. De site loopt over de volle breedte van het venster: --nh-wrap is
     geen bovengrens, alleen --nh-gutter houdt links en rechts ruimte vrij.
     Lopende tekst stopt bij --nh-measure. */
  --nh-wrap: 100%;
  --nh-gutter: clamp(20px, 4vw, 80px);
  --nh-measure: 920px;
  --nh-section-y: 96px;

  /* Vorm en diepte: klein, strak en plat */
  --nh-r-sm: 6px;
  --nh-r: 8px;
  --nh-r-lg: 10px;
  --nh-r-pill: 999px;
  --nh-sh-lg: 0 20px 50px rgba(0, 29, 61, .18);
  --nh-ease: cubic-bezier(.4, 0, .2, 1);

  font-family: var(--nh-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--nh-body);
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   2. Basis
   -------------------------------------------------------------------------- */
.wia-nh *, .wia-nh *::before, .wia-nh *::after { box-sizing: border-box; }
.wia-nh img, .wia-nh svg, .wia-nh video { max-width: 100%; height: auto; display: block; }
.wia-nh ul, .wia-nh ol { margin: 0; padding: 0; }
.wia-nh li { list-style: none; }
.wia-nh button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.wia-nh a { color: var(--nh-brand-600); text-decoration: none; transition: color .18s var(--nh-ease); }
.wia-nh a:hover { color: var(--nh-accent-600); }
.wia-nh figure { margin: 0; }

/* Koppen in Roboto Slab, letterafstand overal normaal. */
.wia-nh h1, .wia-nh h2, .wia-nh h3, .wia-nh h4 {
  font-family: var(--nh-font-display);
  color: var(--nh-brand);
  line-height: 1.25;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}
.wia-nh h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.18; }
.wia-nh h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; }
.wia-nh h3 { font-size: clamp(1.2rem, 1.8vw, 1.42rem); font-weight: 700; }
.wia-nh h4 { font-size: 1.08rem; font-weight: 700; }
/* Eén accentwoord per kop, amber en zwaarder. Niet cursief. */
.wia-nh h1 em, .wia-nh h2 em, .wia-nh h3 em { font-style: normal; font-weight: 700; color: var(--nh-accent); }

.wia-nh p { margin: 0 0 1.1em; }
.wia-nh p:last-child { margin-bottom: 0; }
.wia-nh strong { color: var(--nh-ink); font-weight: 600; }
.wia-nh :focus-visible { outline: 3px solid var(--nh-accent); outline-offset: 3px; border-radius: 4px; }
.wia-nh ::selection { background: var(--nh-brand); color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   De enige container. Alles met inhoud zit in een .wrap, zodat elke sectie op
   dezelfde linker- en rechterlijn begint en eindigt. Zet nooit een eigen
   max-width of padding-inline op een sectie.
   -------------------------------------------------------------------------- */
.wia-nh .wrap { width: 100%; max-width: var(--nh-wrap); margin-inline: auto; padding-inline: var(--nh-gutter); }

.wia-nh .section { padding-block: var(--nh-section-y); }
.wia-nh .section--tight { padding-block: 64px; }
.wia-nh .section--soft { background: var(--nh-sky-50); }
/* Het volle lichtblauwe vlak. Eén of twee keer per pagina, niet vaker. */
.wia-nh .section--sky { background: var(--nh-sky); }
.wia-nh .section--brand { background: var(--nh-brand); color: var(--nh-on-brand); }
.wia-nh .section--brand h2, .wia-nh .section--brand h3, .wia-nh .section--brand h4 { color: #fff; }

/* Beeld en tekst naast elkaar */
.wia-nh .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 4.5vw, 80px); align-items: center; }
.wia-nh .split--reverse .split__media { order: 2; }
.wia-nh .split__media { position: relative; }
.wia-nh .split__media img { border-radius: var(--nh-r); width: 100%; object-fit: cover; }
.wia-nh .split__media--tall img { aspect-ratio: 4 / 5; }
.wia-nh .split__media--wide img { aspect-ratio: 5 / 4; }

/* --------------------------------------------------------------------------
   4. Sectiekop en eyebrow
   -------------------------------------------------------------------------- */
.wia-nh .sec-head { max-width: 920px; margin-bottom: 52px; }
.wia-nh .sec-head--center { margin-inline: auto; text-align: center; }
/* :not(.eyebrow), anders wint deze regel van de grootte van de eyebrow */
.wia-nh .sec-head p:not(.eyebrow) { font-size: 1.04rem; }
.wia-nh .sec-head h2 { margin-bottom: .45em; }

/* Handtekeningelement: een grote schrijfletter met een dunne lijn ernaast.
   Links uitgelijnd loopt de lijn naar rechts, gecentreerd aan beide kanten. */
.wia-nh .eyebrow {
  display: flex; align-items: center; gap: 22px;
  font-family: var(--nh-font-script); font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.1;
  letter-spacing: normal; text-transform: none;
  color: var(--nh-brand-600);
  margin: 0 0 6px;
}
.wia-nh .eyebrow::after {
  content: ""; flex: 1 1 auto; max-width: 210px;
  border-top: 2px solid var(--nh-brand); align-self: center;
}
.wia-nh .sec-head--center .eyebrow { justify-content: center; }
.wia-nh .sec-head--center .eyebrow::before {
  content: ""; flex: 1 1 auto; max-width: 210px;
  border-top: 2px solid var(--nh-brand); align-self: center;
}
.wia-nh .section--brand .eyebrow { color: var(--nh-brand-400); }
.wia-nh .section--brand .eyebrow::before,
.wia-nh .section--brand .eyebrow::after { border-color: rgba(255, 255, 255, .34); }
.wia-nh .section--sky .eyebrow::before,
.wia-nh .section--sky .eyebrow::after { border-color: var(--nh-brand); }
.wia-nh .sec-head > .eyebrow { margin-bottom: 6px; }

.wia-nh .lead { font-size: 1.12rem; line-height: 1.7; color: var(--nh-body); }
.wia-nh .sub-head { margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   5. Knoppen
   Pillen met een rand van 2.5px, Poppins 700 in kapitalen. Plat: bij hover
   verandert de kleur, niet de positie.
   -------------------------------------------------------------------------- */
.wia-nh .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--nh-font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; text-transform: uppercase;
  padding: 13px 28px; border-radius: var(--nh-r-pill);
  border: 2.5px solid transparent;
  transition: background .18s var(--nh-ease), color .18s var(--nh-ease), border-color .18s var(--nh-ease);
  white-space: nowrap; text-align: center; line-height: 1.2;
}
.wia-nh .btn svg { width: 18px; height: 18px; flex: none; }
.wia-nh .btn--primary { background: var(--nh-accent); color: var(--nh-brand); border-color: var(--nh-brand); }
.wia-nh .btn--primary:hover { background: #fff; color: var(--nh-brand); border-color: var(--nh-brand); }
.wia-nh .btn--brand { background: var(--nh-brand); color: #fff; border-color: var(--nh-brand); }
.wia-nh .btn--brand:hover { background: var(--nh-accent); color: var(--nh-brand); }
.wia-nh .btn--ghost { background: transparent; color: var(--nh-brand-600); border-color: var(--nh-brand); }
.wia-nh .btn--ghost:hover { background: var(--nh-brand); color: #fff; }
.wia-nh .btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.wia-nh .btn--outline-light:hover { background: #fff; color: var(--nh-brand); border-color: #fff; }
.wia-nh .btn--block { width: 100%; }
.wia-nh .btn--lg { padding: 16px 34px; font-size: 1rem; }
.wia-nh .btn[disabled] { cursor: default; opacity: .8; }

.wia-nh .btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wia-nh .btn-row--center { justify-content: center; }

.wia-nh .link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--nh-font-head); font-weight: 700; font-size: .86rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--nh-brand-600);
}
.wia-nh .link-arrow::after { content: "\203A"; font-size: 1.3em; line-height: 1; transition: transform .18s var(--nh-ease); }
.wia-nh .link-arrow:hover { color: var(--nh-brand); }
.wia-nh .link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Gedeelde componenten
   -------------------------------------------------------------------------- */
/* Callout met een amber rand, voor één hard feit */
.wia-nh .callout {
  background: var(--nh-sky-50); border-left: 5px solid var(--nh-accent);
  border-radius: 0 var(--nh-r) var(--nh-r) 0; padding: 22px 26px; margin: 30px 0;
}
.wia-nh .callout b { display: block; font-family: var(--nh-font-head); font-weight: 700; color: var(--nh-brand); margin-bottom: 5px; }
.wia-nh .callout p { font-size: .96rem; }

/* Genummerde stappen met een stippellijn achter de bollen */
.wia-nh .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.wia-nh .step { position: relative; padding-top: 12px; }
.wia-nh .step__num {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--nh-accent); border: 2.5px solid var(--nh-brand); color: var(--nh-brand);
  font-family: var(--nh-font-display); font-size: 1.24rem; font-weight: 700;
  position: relative; z-index: 2;
}
.wia-nh .steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 40px;
  border-top: 2px dashed var(--nh-line-strong); z-index: 1;
}
.wia-nh .step h3 { margin-bottom: 9px; font-size: 1.1rem; }
.wia-nh .step p { font-size: .94rem; }

/* Twee of drie keuzes naast elkaar */
.wia-nh .duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: stretch; }
.wia-nh .duo--3 { grid-template-columns: repeat(3, 1fr); }
.wia-nh .duo__item {
  background: #fff; border: 1.5px solid var(--nh-line); border-radius: var(--nh-r);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: border-color .22s var(--nh-ease);
}
.wia-nh .duo__item:hover { border-color: var(--nh-brand); }
.wia-nh .duo__label {
  font-family: var(--nh-font-head); font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--nh-brand-600);
  margin-bottom: 9px;
}
.wia-nh .duo__item h3 { font-size: 1.14rem; margin-bottom: 10px; }
.wia-nh .duo__item p { font-size: .95rem; }
.wia-nh .duo__item .link-arrow { margin-top: auto; padding-top: 18px; }
/* Kaarten op marineblauw: een witte kaart kreeg hier witte koppen van
   .section--brand. Daarom doorschijnend, net als de cijfertegels op navy. */
.wia-nh .section--brand .duo__item { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.wia-nh .section--brand .duo__item:hover { border-color: var(--nh-accent); }
.wia-nh .section--brand .duo__label { color: var(--nh-brand-400); }

/* Aandachtspunten: amber stip en een dunne scheidingslijn. Twee kolommen,
   of één kolom (--one) binnen een halve kolom of een kaart. */
.wia-nh .checkpoints { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 3vw, 54px); }
.wia-nh .checkpoints--one { grid-template-columns: 1fr; }
.wia-nh .checkpoints li {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--nh-line); font-size: .95rem;
}
.wia-nh .checkpoints li::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  background: var(--nh-accent); flex: none; margin-top: 8px;
}
.wia-nh .checkpoints b { display: block; font-family: var(--nh-font-head); font-weight: 700; color: var(--nh-brand); }
.wia-nh .checkpoints p { font-size: .91rem; margin: 2px 0 0; }
.wia-nh .section--brand .checkpoints li { border-color: rgba(255, 255, 255, .18); }
.wia-nh .section--brand .checkpoints b { color: #fff; }
.wia-nh .section--sky .checkpoints li { border-color: rgba(0, 41, 107, .18); }

/* Bekijk ook: pillen naar verwante pagina's met een vet label ervoor */
.wia-nh .rel-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wia-nh .rel-links__label { font-family: var(--nh-font-head); font-weight: 700; color: var(--nh-brand); font-size: .95rem; }
.wia-nh .rel-links a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--nh-line-strong); border-radius: var(--nh-r-pill);
  padding: 10px 20px; font-size: .9rem; font-weight: 600; color: var(--nh-ink);
  transition: background .18s var(--nh-ease), border-color .18s var(--nh-ease), color .18s var(--nh-ease);
}
.wia-nh .rel-links a:hover { background: var(--nh-brand); border-color: var(--nh-brand); color: #fff; }

/* Tekst met een plakkende zijbalk (FAQ, voorwaarden) */
.wia-nh .layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 4vw, 64px); align-items: start; }
.wia-nh .sticky-aside { position: sticky; top: 118px; display: grid; gap: 20px; }
.wia-nh .aside-card { background: #fff; border: 1.5px solid var(--nh-line); border-radius: var(--nh-r); padding: 26px; }
.wia-nh .aside-card--brand { background: var(--nh-brand); border-color: var(--nh-brand); color: var(--nh-on-brand); }
.wia-nh .aside-card--brand h3 { color: #fff; }
.wia-nh .aside-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.wia-nh .aside-card p { font-size: .94rem; margin-bottom: 18px; }
/* De grijze notitie haalt op marineblauw geen leesbaar contrast, dus lichter */
.wia-nh .aside-card--brand .note-line { color: var(--nh-on-brand-soft); }
.wia-nh .aside-links { display: grid; gap: 2px; }
.wia-nh .aside-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0; font-size: .94rem; font-weight: 600; color: var(--nh-body);
  border-bottom: 1px solid var(--nh-line);
}
.wia-nh .aside-links li:last-child a { border-bottom: 0; }
.wia-nh .aside-links a:hover { color: var(--nh-accent-600); }
.wia-nh .aside-links a::after { content: "\203A"; font-size: 1.2em; color: var(--nh-line-strong); }
.wia-nh .aside-links a:hover::after { color: var(--nh-accent); }

/* Google-reviews (inc/reviews.php): de score in de Google-kaart en daaronder
   een rooster van echte reviews. Sterren zijn één SVG, amber gevuld tot de
   score, de rest lichtblauw. */
.wia-nh .stars { display: block; width: 104px; height: auto; }
.wia-nh .stars__on { fill: var(--nh-accent); }
.wia-nh .stars__off { fill: var(--nh-line-strong); }
.wia-nh .reviews-score {
  display: grid; justify-items: center; gap: 6px; margin: 0;
  min-width: 150px; padding: 18px 22px; border-radius: var(--nh-r);
  background: var(--nh-sky-50); text-align: center;
}
.wia-nh .reviews-score__num {
  font-family: var(--nh-font-display); font-size: 2.6rem; font-weight: 700;
  line-height: 1; color: var(--nh-brand);
}
.wia-nh .reviews-score__stars { width: 120px; }
.wia-nh .reviews-score__count { font-family: var(--nh-font-head); font-size: .84rem; font-weight: 600; color: var(--nh-ink); }
/* Carrousel: een rij met scroll-snap, --per kaarten in beeld. Zonder JS scrollt
   en veegt de rij gewoon, met een dunne scrollbalk. Met JS (.is-ready) komen er
   knoppen en een voortgangsbalk onder en verdwijnt de scrollbalk. */
.wia-nh .reviews-carousel { --per: 3; --gap: clamp(18px, 2vw, 28px); margin-top: clamp(24px, 2.4vw, 36px); }
.wia-nh .reviews-track {
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  /* Alle kaarten even hoog, zodat sterren, tekst en naam op één lijn staan.
     Lange reviews worden met JS na 6 regels afgekapt (zie hieronder), anders
     wordt elke kaart zo hoog als de langste van alle twaalf. */
  align-items: stretch;
  /* relative: de .sr-only teksten in de kaarten staan absoluut. Zonder eigen
     positioneringscontext ontsnappen ze aan de scrollrij en wordt de hele
     pagina zo breed als alle twaalf kaarten samen. */
  position: relative;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--nh-line-strong) transparent;
  padding-bottom: 6px; border-radius: var(--nh-r);
}
.wia-nh .reviews-track:focus-visible { outline: 3px solid var(--nh-brand-600); outline-offset: 4px; }
.wia-nh .reviews-track > li { display: flex; scroll-snap-align: start; }
.wia-nh .reviews-carousel.is-ready .reviews-track { scrollbar-width: none; }
/* Afkappen alleen met JS, want alleen dan is er een knop om de rest te lezen.
   Opengeklapt groeit de hele rij mee, dus de kaarten blijven gelijk. */
.wia-nh .reviews-carousel.is-ready .review-card__text p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
}
.wia-nh .reviews-carousel.is-ready .review-card.is-open .review-card__text p { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.wia-nh .review-card__more {
  align-self: flex-start; margin-top: -6px; padding: 0; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--nh-font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--nh-brand-600);
}
.wia-nh .review-card__more::after { content: "\203A"; font-size: 1.3em; line-height: 1; transform: rotate(90deg); transition: transform .18s var(--nh-ease); }
.wia-nh .review-card.is-open .review-card__more::after { transform: rotate(-90deg); }
.wia-nh .review-card__more:hover { color: var(--nh-brand); }
.wia-nh .review-card__more:focus-visible { outline: 3px solid var(--nh-brand-600); outline-offset: 3px; }
.wia-nh .reviews-carousel.is-ready .reviews-track::-webkit-scrollbar { display: none; }
.wia-nh .reviews-carousel__nav { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.wia-nh .reviews-carousel__nav[hidden] { display: none; }
.wia-nh .reviews-carousel__progress {
  --size: 1; --start: 0;
  position: relative; flex: 1; height: 3px; margin-right: 12px;
  border-radius: var(--nh-r-pill); background: var(--nh-line); overflow: hidden;
}
.wia-nh .reviews-carousel__progress span {
  position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--nh-brand);
  left: calc(var(--start) * 100%); width: calc(var(--size) * 100%);
  transition: left .2s var(--nh-ease);
}
.wia-nh .reviews-carousel__btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--nh-brand); color: var(--nh-brand);
  transition: background .18s var(--nh-ease), color .18s var(--nh-ease), opacity .18s var(--nh-ease);
}
.wia-nh .reviews-carousel__btn:hover:not(:disabled) { background: var(--nh-brand); color: #fff; }
.wia-nh .reviews-carousel__btn:focus-visible { outline: 3px solid var(--nh-brand-600); outline-offset: 3px; }
.wia-nh .reviews-carousel__btn:disabled { opacity: .35; cursor: default; }
.wia-nh .review-card {
  display: flex; flex-direction: column; gap: 16px; width: 100%; margin: 0;
  background: #fff; border: 1.5px solid var(--nh-line); border-radius: var(--nh-r);
  padding: 26px 26px 22px;
}
.wia-nh .review-card__text { margin: 0; font-size: .95rem; }
.wia-nh .review-card__text p + p { margin-top: 10px; }
.wia-nh .review-card__by {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--nh-line);
}
.wia-nh .review-card__avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--nh-brand); color: #fff;
  font-family: var(--nh-font-head); font-weight: 700; font-size: .95rem;
}
.wia-nh .review-card__who { display: grid; line-height: 1.3; }
.wia-nh .review-card__who strong { font-family: var(--nh-font-head); font-size: .94rem; color: var(--nh-brand); }
.wia-nh .review-card__who span { font-size: .82rem; color: var(--nh-muted); }

/* Gegevens die de klant nog moet aanleveren, bewust zichtbaar */
.wia-nh .todo-chip {
  display: inline-block; background: var(--nh-accent-50); border: 1.5px dashed var(--nh-accent);
  color: var(--nh-todo-ink); padding: 1px 9px; border-radius: var(--nh-r-sm);
  font-size: .84rem; font-weight: 600; font-family: var(--nh-font-head);
}
.wia-nh .note-line { font-size: .94rem; color: var(--nh-muted); }
.wia-nh .section--brand .note-line { color: var(--nh-on-brand-soft); }

/* Melding in de editor als een herhaalveld nog leeg is */
.wia-nh .wia-nh-empty { padding: 24px; border: 1.5px dashed var(--nh-brand); border-radius: var(--nh-r); text-align: center; font-size: .94rem; }

/* --------------------------------------------------------------------------
   7. Formulieren (offerteformulier in de hero en het contactformulier)
   -------------------------------------------------------------------------- */
.wia-nh .field { margin-bottom: 14px; }
.wia-nh .field label {
  display: block; font-family: var(--nh-font-head); font-size: .85rem;
  font-weight: 600; color: var(--nh-ink); margin-bottom: 6px;
}
/* Velden hebben in rust geen zichtbare rand, alleen een lichtblauwe vulling.
   De rand verschijnt pas bij focus. */
.wia-nh .field input, .wia-nh .field select, .wia-nh .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: .95rem;
  color: var(--nh-ink); background: var(--nh-sky-50);
  border: 1.5px solid transparent; border-radius: var(--nh-r-sm);
  transition: border-color .18s var(--nh-ease), background .18s var(--nh-ease);
  box-shadow: none; margin: 0;
}
.wia-nh .field input::placeholder, .wia-nh .field textarea::placeholder { color: var(--nh-muted); }
.wia-nh .field input:focus, .wia-nh .field select:focus, .wia-nh .field textarea:focus {
  border-color: var(--nh-brand); background: #fff; outline: none;
}
/* Selects renderen standaard lager dan inputs, dat valt op naast elkaar. */
.wia-nh .field input, .wia-nh .field select { min-height: 54px; }
.wia-nh .field textarea { resize: vertical; }
.wia-nh .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wia-nh .consent { display: flex; gap: 11px; align-items: flex-start; font-size: .87rem; margin: 6px 0 18px; }
.wia-nh .consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--nh-accent); }
.wia-nh .form-note { font-size: .81rem; color: var(--nh-muted); text-align: center; margin-top: 12px; line-height: 1.5; }
/* Bevestiging na versturen. Draagt ook .wia-form-status, zodat theme.js geen
   tweede melding bovenaan de pagina zet; de vlakstijl daarvan valt hier weg. */
.wia-nh .form-note.wia-form-status { background: none; padding: 0; color: var(--nh-ink); font-weight: 600; }
/* Spamval van de formulieren (inc/cf7.php): voor bezoekers onzichtbaar */
.wia-nh .wia-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Contact Form 7 (inc/cf7.php). De formulieren gebruiken de opmaak hierboven;
   dit vangt de extra wrappers van de plugin op en zet zijn rode en groene
   meldingen om naar marineblauw en amber, want een derde kleur is er niet. */
.wia-nh .wpcf7-form-control-wrap { display: block; }
.wia-nh .consent .wpcf7-form-control-wrap { flex: 1; }
.wia-nh .consent .wpcf7-list-item { display: block; margin: 0; }
.wia-nh .consent .wpcf7-list-item label { display: flex; gap: 11px; align-items: flex-start; }
.wia-nh .field .wpcf7-not-valid { border-color: var(--nh-accent); }
.wia-nh .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--nh-accent-600); }
.wia-nh .wpcf7 form .wpcf7-response-output {
  margin: 14px 0 0; padding: 12px 16px; font-size: .87rem; line-height: 1.5; text-align: center;
  color: var(--nh-ink); border: 1.5px solid var(--nh-brand); border-radius: var(--nh-r-sm);
}
.wia-nh .wpcf7 form.sent .wpcf7-response-output { border-color: var(--nh-brand); font-weight: 600; }
.wia-nh .wpcf7 form.invalid .wpcf7-response-output,
.wia-nh .wpcf7 form.unaccepted .wpcf7-response-output,
.wia-nh .wpcf7 form.payment-required .wpcf7-response-output,
.wia-nh .wpcf7 form.failed .wpcf7-response-output,
.wia-nh .wpcf7 form.aborted .wpcf7-response-output,
.wia-nh .wpcf7 form.spam .wpcf7-response-output { border-color: var(--nh-accent); background: var(--nh-accent-50); }
.wia-nh .wpcf7 form.submitting button[type="submit"] { opacity: .7; cursor: progress; }

/* --------------------------------------------------------------------------
   8. Hulpklassen, zodat er nergens een style-attribuut nodig is
   -------------------------------------------------------------------------- */
.wia-nh .text-center { text-align: center; }
.wia-nh .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wia-nh .mt-16 { margin-top: 16px; }
.wia-nh .mt-24 { margin-top: 24px; }
.wia-nh .mt-32 { margin-top: 32px; }
.wia-nh .mt-48 { margin-top: 48px; }
.wia-nh .mb-20 { margin-bottom: 20px; }
.wia-nh .mb-28 { margin-bottom: 28px; }

/* Werkgebieden: align the city list and the interactive map as one section. */
.wia-nh .home-service-area__layout,
.wia-nh .wia-service-area__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.wia-nh.wia-service-area .wia-service-area__layout { align-items: stretch; }
.wia-nh.wia-service-area .wia-area-region { display: flex; flex-direction: column; }
.wia-nh.wia-service-area .wia-area-region__action { margin-top: auto; padding-top: 24px; }
.wia-nh .home-service-area__layout > *,
.wia-nh .wia-service-area__layout > * { min-width: 0; }
.wia-nh .wia-area-map {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--nh-line);
  border-radius: var(--nh-r);
}
.wia-nh .wia-area-map__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.wia-nh .wia-area-map__header > div { min-width: 0; }
.wia-nh .wia-area-map__header h3 { margin: 0; font-size: 1.12rem; }
.wia-nh .wia-area-map__header p { margin: 5px 0 0; font-size: .85rem; line-height: 1.5; color: var(--nh-muted); }
.wia-nh .wia-area-map__count {
  display: inline-flex; flex: none; align-items: center; min-height: 30px;
  padding: 4px 11px; border-radius: var(--nh-r-pill);
  background: var(--nh-sky-50); color: var(--nh-brand);
  font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.wia-nh .wia-area-map__frame {
  position: relative;
  min-height: 320px;
  height: clamp(320px, 31vw, 440px);
  overflow: hidden;
  border-radius: var(--nh-r-sm);
  background: var(--nh-sky-50);
}
.wia-nh .wia-area-map__canvas,
.wia-nh .wia-area-map__fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.wia-nh .wia-area-map__canvas[hidden],
.wia-nh .wia-area-map__fallback[hidden] { display: none; }
.wia-nh .wia-area-map__caption { margin-top: 14px; font-size: .88rem; color: var(--nh-muted); }
.wia-nh .wia-area-region {
  min-width: 0; padding: 18px 20px;
  background: #fff; border: 1px solid var(--nh-line); border-radius: var(--nh-r);
}
.wia-nh .wia-area-region > h3 {
  position: relative; margin: 0 0 14px; padding: 0 0 11px;
  border-bottom: 1px solid var(--nh-line);
  font-size: 1.02rem; line-height: 1.35;
}
.wia-nh .wia-area-region > h3::after {
  position: absolute; bottom: -1px; left: 0; width: 36px; height: 2px;
  background: var(--nh-accent); content: "";
}
.wia-nh .wia-area-region .cities,
.wia-nh .wia-area-region > ul {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 12px;
}
.wia-nh .wia-area-region .cities li,
.wia-nh .wia-area-region > ul > li { margin: 0; }
.wia-nh .wia-area-region .cities a,
.wia-nh .wia-area-region .cities span,
.wia-nh .wia-area-region > ul > li a,
.wia-nh .wia-area-region > ul > li .is-unlinked {
  display: inline-flex; align-items: center; min-height: 28px;
  padding: 2px 0; border: 0; border-radius: 0; background: transparent;
  color: var(--nh-brand-600); font-size: .84rem; font-weight: 500; line-height: 1.35;
  transition: color .16s var(--nh-ease);
}
.wia-nh .wia-area-region .cities a::before,
.wia-nh .wia-area-region .cities span::before,
.wia-nh .wia-area-region > ul > li a::before,
.wia-nh .wia-area-region > ul > li .is-unlinked::before {
  width: 6px; height: 6px; flex: none; margin-right: 8px;
  border-radius: 50%; background: var(--nh-accent); content: "";
}
.wia-nh .wia-area-region .cities a:hover,
.wia-nh .wia-area-region > ul > li a:hover {
  background: transparent; color: var(--nh-accent-600);
}
.wia-nh .wia-area-actions { justify-content: flex-start; gap: 12px; }

/* --------------------------------------------------------------------------
   9. Responsief
   -------------------------------------------------------------------------- */
@media (min-width: 1800px) {
  .wia-nh .reviews-carousel { --per: 4; }
}

@media (max-width: 1100px) {
  .wia-nh { --nh-section-y: 72px; }
  .wia-nh .split { gap: 44px; }
  .wia-nh .layout-aside { grid-template-columns: 1fr; }
  .wia-nh .sticky-aside { position: static; grid-template-columns: repeat(2, 1fr); }
  .wia-nh .reviews-carousel { --per: 2; }
}

@media (max-width: 1040px) {
  .wia-nh .split { grid-template-columns: 1fr; }
  .wia-nh .split--reverse .split__media { order: 0; }
  .wia-nh .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 26px; }
  .wia-nh .steps::before { display: none; }
  .wia-nh .duo, .wia-nh .duo--3 { grid-template-columns: 1fr; }
  .wia-nh .checkpoints { grid-template-columns: 1fr; }
  .wia-nh .home-service-area__layout,
  .wia-nh .wia-service-area__layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wia-nh { --nh-section-y: 58px; }
  .wia-nh .sec-head { margin-bottom: 36px; }
  /* De lijn naast de eyebrow wordt op smalle schermen een streepje van niets */
  /* Kleiner en op één regel: de langste eyebrow ("in en rond Eindhoven") blijft
     zo ook op een 320px scherm ruim binnen de kolom */
  .wia-nh .eyebrow { gap: 14px; font-size: clamp(1.25rem, 5.6vw, 1.6rem); white-space: nowrap; }
  .wia-nh .eyebrow::before, .wia-nh .eyebrow::after { display: none; }
  .wia-nh .steps { grid-template-columns: 1fr; }
  .wia-nh .field-row { grid-template-columns: 1fr; }
  .wia-nh .sticky-aside { grid-template-columns: 1fr; }
  .wia-nh .wia-area-map__frame { height: 300px; min-height: 0; }
  .wia-nh .wia-area-map { padding: 16px; }
  .wia-nh .wia-area-region { padding: 16px; }
  /* Eén kaart in beeld, met een stukje van de volgende als hint om te vegen */
  .wia-nh .reviews-track { grid-auto-columns: 86%; }
  .wia-nh .reviews-score { justify-self: start; }
}

@media (max-width: 420px) {
  .wia-nh .btn { width: 100%; }
  .wia-nh .btn-row { flex-direction: column; align-items: stretch; }
}

/* Voorkeur voor minder beweging */
@media (prefers-reduced-motion: reduce) {
  .wia-nh *, .wia-nh *::before, .wia-nh *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

@media print {
  .wia-nh form { display: none; }
}
