/* BMJ Schilderwerken, eigen thema (HTML/CSS-versie).
   Eén systeem, zie analyse/UX-ANALYSE.md: drie achtergronden (wit, lichtblauw, blauw) die afwisselen,
   vaste ruimtematen, duidelijke koppenschaal, één kaartstijl en één knoppenstructuur. */

:root {
  --blue: #0054a6;
  --blue-tint: #f1f7ff;
  --ink: #111111;
  --muted: #5f6472;
  --line: #e3e9ef;
  --white: #ffffff;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 87px;

  --space-section: 96px;  /* boven en onder elke sectie */
  --space-head: 40px;     /* sectiekop naar inhoud */
  --space-btn: 32px;      /* inhoud naar knop */

  --radius: 12px;         /* kaarten en foto's */
  --radius-hero: 120px;   /* hoek rechtsonder van de kop, zoals live */
  --shadow-hover: 0 14px 34px -14px rgba(0, 40, 90, .22);

  --fs-h1: 52px;
  --fs-h2: 36px;
  --fs-band: 32px;
  --fs-card: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Live staat Inter ingesteld maar wordt het lettertype nergens geladen; dit gedraagt zich hetzelfde */
body { margin: 0; font-family: Inter, sans-serif; font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.25; color: var(--ink); }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; }
.icon.chevron { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }

/* ---------- Knoppen ----------
   .btn        primair: blauw, hover wit met blauwe rand. Eén knop is altijd primair.
   .btn-ghost  tweede knop op een foto: doorzichtig met witte rand, hover wit.
   .btn-light  op blauw: wit, hover doorzichtig met witte rand.
   Knoppen onder een sectie staan rechts (.btn-row.end). */
.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: .5px; padding: 13px 22px; border-radius: 30px; border: 1px solid var(--blue); background: var(--blue); color: var(--white); transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-light { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.end { justify-content: flex-end; margin-top: var(--space-btn); }

/* ---------- Kop ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--white); padding: 16px 0; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.site-header .bar { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 55px; display: flex; align-items: center; justify-content: space-between; }
.site-header .logo img { width: 330px; height: auto; }
.nav { display: flex; align-items: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.nav li a { display: block; font-size: 17.6px; color: var(--ink); padding: 0 17.6px; line-height: 55px; }
.nav li a:hover, .nav li a[aria-current] { color: var(--blue); }
.nav .btn { margin-left: 17.6px; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 12px; border: 0; border-radius: 2px; background: var(--blue); color: var(--white); cursor: pointer; }
.nav-toggle .icon { width: 18px; height: 18px; }
/* De kop begint onder de navigatie, zodat de tekst echt in het midden van het zichtbare deel staat */
.site-main { padding-top: var(--header-h); }

/* ---------- Paginakop ----------
   Alle koppen 420px, tekst verticaal in het midden; home hoger maar altijd boven de vouw. */
.hero { position: relative; display: flex; align-items: center; height: 420px; background-color: var(--blue); border-radius: 0 0 var(--radius-hero) 0; overflow: hidden; }
/* De foto is een echte afbeelding (sneller zichtbaar dan een CSS-achtergrond); --pos is de uitsnede */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center 50%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17, 17, 17, .72) 0%, rgba(17, 17, 17, .5) 40%, rgba(17, 17, 17, .18) 75%); }
.hero .container { position: relative; z-index: 2; }
.hero-text { max-width: 600px; color: var(--white); }
.hero h1 { font-size: var(--fs-h1); line-height: 1.2; color: var(--white); margin-bottom: 14px; }
.hero p { color: var(--white); }
.hero .btn-row { margin-top: 24px; }
.hero-home { height: clamp(560px, calc(100vh - 210px), 680px); --pos: center 80%; }
.hero-home .hero-text { max-width: 520px; }
.hero-home h1 { font-size: 46px; }
.hero-projecten { --pos: center 78%; }
.hero-projecten .hero-text { max-width: 470px; }
.hero-plain::before { display: none; }
.hero-plain { height: auto; }
.hero-plain .container { padding: 110px 0 70px; }
.hero-plain .hero-text { max-width: 760px; }
.breadcrumb { font-size: 14px; margin-bottom: 10px; opacity: .9; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { text-decoration: underline; }
@media (min-width: 1241px) { .hero[style*="--bg-y"] { --pos: center var(--bg-y); } }

/* ---------- Secties ---------- */
.section { padding: var(--space-section) 0; }
.section-tint { background: var(--blue-tint); }
/* De blauwe band staat altijd tussen wit */
.section-tint + .band, .band + .section-tint { margin-top: var(--space-section); }
/* Kop: titel links; korte toelichting rechts naast de titel */
.section-head { margin-bottom: var(--space-head); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head h2 br { display: none; }
.section-head.split { display: grid; grid-template-columns: 7fr 5fr; align-items: end; gap: 16px 64px; }
.section-head.split p { margin: 0; justify-self: end; max-width: 460px; }

/* ---------- Kaarten: één stijl ----------
   Wit, dunne rand, radius 12, schaduw pas bij hover. Klikbare kaart: hele kaart is de link,
   pijltje rechtsboven in lijn met het icoon. */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-2 { grid-template-columns: 1fr 1fr; }
.card, .project-card, .member, .contact-card, .faq-item, .project-aside { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.card { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.card-icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; flex: none; }
.card-icon .icon, .card-icon img { width: 24px; height: 24px; }
.card h5 { font-size: var(--fs-card); line-height: 1.3; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); }
.card-link, .project-card { position: relative; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-link h5 a, .project-card h3 a { color: inherit; }
.card-link h5 a::after, .project-card h3 a::after { content: ""; position: absolute; inset: 0; }
.card-link:hover, .project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #cfdcec; }
.card-link:hover h5 a, .project-card:hover h3 a { color: var(--blue); }
.card-link:hover .chevron, .project-card:hover .chevron { transform: translateX(4px); }

/* ---------- Blauwe band "Drie broers, één bedrijf" ---------- */
/* --band-x: rand tot de inhoud; groeit op brede schermen mee zodat de band gelijk staat met de container (1200px) */
.band { --band-x: max(120px, calc((100% - var(--container)) / 2)); background: linear-gradient(90deg, rgba(255, 255, 255, 0) calc(var(--band-x) + 341px), var(--blue) 0); min-height: 372px; display: flex; }
.band-photo { flex: 0 0 426px; margin-left: var(--band-x); min-height: 387px; border-radius: var(--radius); background-size: cover; background-position: 0 0; }
.band-text { flex: 1; align-self: center; margin-right: var(--band-x); padding-left: 80px; color: var(--white); display: flex; flex-direction: column; gap: 24px; }
.band-text h3 { font-size: var(--fs-band); color: var(--white); margin-bottom: 12px; }
.band-text p { color: var(--white); margin: 0; }
.band-text .btn { align-self: flex-end; }

/* ---------- Tekst + foto ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 20px; }
.split-text h2 { font-size: var(--fs-h2); }
.split-media img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); }
.split-media.wide img { height: auto; aspect-ratio: 3 / 2; } /* brede groepsfoto (Over ons): helemaal tonen, ook op de telefoon */

/* ---------- Projecten ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-head); }
.filters button, .tag span { font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .3px; line-height: 1.4; padding: 8px 18px; border: 1px solid var(--blue); border-radius: 30px; background: var(--white); color: var(--blue); cursor: pointer; transition: background .2s, color .2s; }
.filters button:hover, .tag:hover span { background: var(--blue-tint); }
.filters button.selected, .tag input:checked + span { background: var(--blue); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-item[hidden] { display: none; }
.project-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.project-thumb { display: block; height: 260px; overflow: hidden; background: #ccc; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-thumb img { transform: scale(1.03); }
.project-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: var(--fs-card); line-height: 1.3; }
.projects-empty { color: var(--muted); }

/* ---------- Over ons: team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { overflow: hidden; display: flex; flex-direction: column; }
.member-photo { position: relative; }
.member-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 20%; }
.member-letter { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; padding: 9px; border-radius: 8px; background: var(--white); color: var(--blue); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.member-letter .icon { width: 24px; height: 24px; }
.member-body { padding: 28px 32px 32px; }
.member h3 { font-size: 26px; }
.member .role { color: var(--blue); margin: 2px 0 12px; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: var(--space-section); }
.contact-card { display: flex; align-items: center; gap: 20px; padding: 24px 28px; color: var(--ink); }
.contact-card .card-icon { width: 56px; height: 56px; padding: 16px; }
.contact-text { flex: 1; }
.contact-card strong { display: block; font-size: var(--fs-card); font-weight: 600; line-height: 1.3; }
.contact-card strong + span { color: var(--blue); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #cfdcec; }
.contact-card:hover .chevron { transform: translateX(4px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-map iframe { width: 100%; height: 560px; border: 0; display: block; border-radius: var(--radius); }

/* Formulier (in WordPress de WPForms-shortcode met dezelfde opmaak) */
.wpforms-form .wpforms-field { padding: 10px 0; }
.wpforms-form label { display: block; font-weight: 700; }
.wpforms-form .sublabel { font-weight: 400; font-size: 13.6px; }
.wpforms-form .field-label { display: block; font-weight: 700; }
.wpforms-form fieldset { border: 0; margin: 0; padding: 10px 0; }
.wpforms-form legend { font-weight: 700; padding: 0; }
.tags { display: flex; gap: 10px; margin-top: 6px; }
.tag { position: relative; cursor: pointer; }
.tag input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tag span { display: inline-block; }
.tag input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.wpforms-form .row { display: flex; gap: 20px; }
.wpforms-form .row > div { flex: 1; }
.wpforms-form input:not([type="radio"]):not([type="checkbox"]), .wpforms-form textarea { width: 100%; font: inherit; font-size: 16px; line-height: 1; color: #444; background: #fafafa; border: 1px solid #ddd; border-radius: 6px; padding: 12px; }
.wpforms-form input:focus, .wpforms-form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.wpforms-form textarea { height: 130px; line-height: 1.5; }
.wpforms-form .required { color: #d0021b; }
.wpforms-form .form-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.wpforms-form button { font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .5px; padding: 13px 26px; border-radius: 30px; border: 1px solid var(--blue); background: var(--blue); color: var(--white); cursor: pointer; transition: background .25s, color .25s; }
.wpforms-form button:hover { background: var(--white); color: var(--blue); }

/* ---------- Tekstpagina's ---------- */
.prose { max-width: 820px; }
/* Plaatspagina's: zelfde eenvoudige opbouw als live */
.section-prose { padding: 40px 0 80px; }
.section-prose .prose { max-width: none; }
.prose h1 { font-size: var(--fs-h1); line-height: 1.2; margin-bottom: 20px; }
.prose h2 { font-size: 28px; margin: 0 0 20px; }
.prose > * + h2 { margin-top: 32px; }
.prose ul, .prose ol { margin: 0 0 16px; }
.text-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; margin-top: var(--space-section); }
.text-block h2 { font-size: 24px; margin-bottom: 14px; }
.text-block:last-child { grid-column: 1 / -1; max-width: 900px; }

/* ---------- Projectpagina ---------- */
.project-intro { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.project-text { font-size: 17px; }
.project-aside { padding: 28px; }
.project-aside p { margin-bottom: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.icon.chevron.back { width: 18px; height: 18px; transform: rotate(180deg); }
.back-link:hover .chevron.back { transform: rotate(180deg) translateX(4px); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.gallery img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Veelgestelde vragen ---------- */
.faq-item { margin-bottom: 12px; transition: border-color .25s; }
.faq-item:hover, .faq-item[open] { border-color: var(--blue); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 14px; height: 14px; color: var(--blue); transition: transform .25s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 24px 22px; }
.faq-more { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin-top: var(--space-btn); }
.faq-more p { margin: 0; color: var(--muted); }

/* ---------- Reviews (Trustindex) ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: var(--space-head); }
.reviews-head h2 { font-size: var(--fs-h2); }
.reviews-score { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin: 0; }
.reviews-score .score { display: inline-flex; align-items: center; gap: 6px; }
.reviews-score .score .icon { width: 17px; height: 17px; color: #f6bb06; }
.reviews-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.reviews-link .icon { width: 13px; height: 13px; transition: transform .2s; }
.reviews-link:hover .icon { transform: translateX(3px); }
.reviews pre.ti-widget { margin: 0; font: inherit; white-space: normal; }

/* ---------- Contactblok (eind van een pagina) ---------- */
.section:not(.section-tint) + .contact-blok-wrap { padding-top: 0; }
.contact-blok { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px 56px; border-radius: var(--radius); background: var(--blue); color: var(--white); }
.contact-blok h2 { font-size: var(--fs-band); color: var(--white); margin-bottom: 8px; }
.contact-blok p { margin: 0; color: rgba(255, 255, 255, .88); }
.contact-blok .btn { flex: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--blue); color: var(--white); }
/* Het logo als watermerk: één keer, groot en licht, rechtsonder */
.site-footer::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 420px; height: 420px; background: var(--watermark) no-repeat center / contain; filter: brightness(0) invert(1); opacity: .06; pointer-events: none; }
.footer-top { position: relative; z-index: 1; padding: 80px 0; }
.footer-top .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-top h2 { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--white); margin-bottom: 18px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { line-height: 1.9; }
.footer-top li a { color: var(--white); }
.footer-top li a:hover { text-decoration: underline; }
.footer-logo img { width: 212px; height: auto; }
.social { display: flex; gap: 7px; margin-top: 20px; }
.social a { width: 34px; height: 34px; padding: 8px; display: grid; place-items: center; color: var(--white); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { position: relative; z-index: 1; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; line-height: 26px; color: rgba(255, 255, 255, .85); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--white); }

/* ---------- WhatsApp-knop (op de live site de plugin Click to Chat) ---------- */
.whatsapp { position: fixed; right: 15px; bottom: 15px; z-index: 60; display: flex; align-items: center; gap: 8px; }
.whatsapp .wa-cta { background: #25d366; color: var(--white); font-size: 13px; line-height: 1.4; padding: 5px 12px; border-radius: 10px; opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.whatsapp:hover .wa-cta { opacity: 1; transform: none; }
.whatsapp .wa-icon { width: 50px; height: 50px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.whatsapp .wa-icon .icon { width: 28px; height: 28px; }

/* ---------- Inschuiven bij scrollen (klassen komen uit main.js, alleen onder de vouw) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1240px) {
  .container { padding: 0 var(--gutter); }
  .band { background: linear-gradient(90deg, rgba(255, 255, 255, 0) 32%, var(--blue) 32%); }
  .band-photo { margin-left: var(--gutter); flex-basis: 36%; }
  .band-text { margin-right: var(--gutter); padding-left: 48px; }
}
@media (max-width: 1024px) {
  :root { --fs-h1: 44px; --fs-h2: 32px; }
  .site-header .logo img { width: 240px; }
  .cards, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { gap: 48px; }
  .project-intro { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Telefoonmenu ---------- */
@media (max-width: 921px) {
  :root { --header-h: 74px; }
  .site-header .bar { height: 42px; }
  .site-header .logo img { width: 193px; }
  .nav-toggle { display: grid; place-items: center; position: relative; z-index: 80; }
  .nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: 80%; max-width: 420px; background: var(--white); flex-direction: column; align-items: stretch; padding: 96px 0 32px; box-shadow: -8px 0 30px rgba(0, 0, 0, .18); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; overflow-y: auto; }
  .nav.open { transform: none; visibility: visible; }
  .nav ul { display: block; }
  .nav li a { line-height: 56px; padding: 0 28px; border-bottom: 1px solid #eaeaea; font-size: 18px; }
  .nav .btn { margin: 24px 28px 0; align-self: flex-start; font-size: 16px; padding: 14px 24px; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(17, 17, 17, .45); }
  .nav-backdrop[hidden] { display: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Telefoon ---------- */
@media (max-width: 767px) {
  :root { --space-section: 64px; --space-head: 28px; --space-btn: 24px; --radius-hero: 40px; --fs-h1: 32px; --fs-h2: 28px; --fs-band: 26px; }
  /* Kop: foto bovenaan (overal even hoog), daaronder de tekst op BMJ-blauw */
  .hero { --photo-h: 58vw; height: auto; display: block; }
  .hero-home { --photo-h: 72vw; --pos-m: center 80%; }
  .hero-projecten { --pos-m: center 40%; }
  .hero-media { inset: 0 0 auto; height: var(--photo-h); }
  .hero-media img { object-position: var(--pos-m, center); }
  /* Vloeiende overgang: lichte blauwe waas over de hele foto, vanaf de helft geleidelijk naar vol blauw onder de tekst */
  .hero::before { z-index: 1; background: linear-gradient(180deg, rgba(0, 84, 166, .08) 0, rgba(0, 84, 166, .12) calc(var(--photo-h) * .45), rgba(0, 84, 166, .45) calc(var(--photo-h) * .75), rgba(0, 84, 166, .85) calc(var(--photo-h) * .93), var(--blue) var(--photo-h)); }
  .hero .container { padding: calc(var(--photo-h) + 8px) var(--gutter) 48px; }
  .hero-plain .container { padding: 56px var(--gutter) 48px; }
  .section-prose { padding: 32px 0 56px; }
  .hero-home h1 { font-size: 30px; }
  .hero .btn-row { flex-direction: column; align-items: flex-start; }
  .hero .btn { font-size: 16px; padding: 14px 20px; }
  /* Op telefoon staat de tekst op blauw: de hoofdknop wordt wit, zodat hij zichtbaar blijft */
  .hero .btn:not(.btn-ghost) { background: var(--white); color: var(--blue); border-color: var(--white); }
  .hero .btn:not(.btn-ghost):hover { background: transparent; color: var(--white); }
  .section-head.split { grid-template-columns: 1fr; gap: 10px; }
  .section-head.split p { justify-self: start; }
  .cards, .cards-2, .project-grid, .team, .contact-cards, .split, .contact-grid, .text-columns { grid-template-columns: 1fr; }
  .cards, .project-grid { gap: 16px; }
  .card { padding: 24px; }
  .band { flex-direction: column; background: none; }
  .band-photo { margin: 0; flex-basis: auto; border-radius: 0; background-position: 100% 50%; }
  .band-text { margin: 0; padding: 56px var(--gutter); background: var(--blue); }
  .split { gap: 32px; }
  .split-media img { height: auto; aspect-ratio: 5 / 4; }
  .project-thumb { height: 220px; }
  .contact-cards { gap: 16px; }
  .contact-card { padding: 18px 20px; gap: 16px; }
  .contact-card strong { font-size: 18px; }
  .contact-grid { gap: 40px; }
  .contact-map iframe { height: 320px; }
  .wpforms-form .row { flex-direction: column; gap: 0; }
  .text-columns { gap: 32px; }
  .gallery { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .gallery img { height: auto; aspect-ratio: 3 / 4; }
  .faq-item summary { font-size: 16px; padding: 18px 20px; }
  .faq-answer { padding: 0 20px 20px; }
  .faq-more { flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
  .reviews-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .reviews-score { align-items: flex-start; }
  .contact-blok { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .contact-blok .btn { align-self: flex-end; }
  .footer-top { padding: 56px 0; }
  .footer-top .container { grid-template-columns: 1fr; gap: 32px; }
  .footer-top h2 { margin-bottom: 10px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}

/* ---------- WordPress ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
/* WPForms: zelfde uitstraling als het nagebouwde formulier */
.contact-form .wpforms-container { margin: 0; }
.contact-form .wpforms-field { padding: 10px 0 !important; }
.contact-form .wpforms-field-label { font-weight: 700 !important; font-size: 16px !important; }
.contact-form .wpforms-field-sublabel { font-weight: 400 !important; font-size: 13.6px !important; }
.contact-form .wpforms-field input[type="text"], .contact-form .wpforms-field input[type="email"], .contact-form .wpforms-field textarea { width: 100% !important; max-width: none !important; font: inherit; font-size: 16px; color: #444; background: #fafafa; border: 1px solid #ddd !important; border-radius: 6px !important; padding: 12px !important; }
/* Keuzes (Meerkeuze of Selectievakjes) als tags: verborgen vakje, label als knop */
.contact-form :is(.wpforms-field-radio, .wpforms-field-checkbox) ul { display: flex !important; flex-wrap: wrap; gap: 10px; padding: 0 !important; margin: 6px 0 0 !important; list-style: none; }
.contact-form :is(.wpforms-field-radio, .wpforms-field-checkbox) li { position: relative; display: block !important; margin: 0 !important; padding: 0 !important; }
.contact-form :is(.wpforms-field-radio, .wpforms-field-checkbox) input:is([type="radio"], [type="checkbox"]) { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; }
.contact-form :is(.wpforms-field-radio, .wpforms-field-checkbox) label::before, .contact-form :is(.wpforms-field-radio, .wpforms-field-checkbox) label::after { display: none !important; }
.contact-form :is(.wpforms-field-radio, .wpforms-field-checkbox) li label { display: inline-block !important; margin: 0 !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.4 !important; padding: 8px 18px !important; border: 1px solid var(--blue); border-radius: 30px; background: var(--white); color: var(--blue); cursor: pointer; }
.contact-form :is(.wpforms-field-radio, .wpforms-field-checkbox) input:checked + label { background: var(--blue); color: var(--white); }
.contact-form .wpforms-submit-container { display: flex; justify-content: flex-end; }
.contact-form button.wpforms-submit { font: inherit; font-size: 14px !important; font-weight: 600 !important; padding: 13px 26px !important; border-radius: 30px !important; border: 1px solid var(--blue) !important; background: var(--blue) !important; color: var(--white) !important; }
.contact-form button.wpforms-submit:hover { background: var(--white) !important; color: var(--blue) !important; }
