/*
Theme Name: H2O Zero
Theme URI: https://www.h2ozero.nl/
Author: H2O Zero (Hellinga | Otten)
Author URI: https://www.h2ozero.nl/
Description: Maatwerkthema voor H2O Zero, de duurzame samenwerking van Hellinga en Otten Groep. Gebouwd volgens het eigen brandboard en de website design brief: strak, technisch en premium, met navy, groen en turquoise.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: h2ozero
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
  --c-navy: #0d2b45;
  --c-navy-soft: #14395c;
  --c-navy-deep: #0a2238;
  --c-green: #2fab4f;
  --c-green-dark: #23913f;
  --c-green-tint: #e6f5ea;
  --c-teal: #00a99d;
  --c-gray: #84909a;
  --c-ink: #22374b;
  --c-body: #33475c;
  --c-bg: #f6f7f4;
  --c-white: #ffffff;
  --c-line: #e4e8e4;

  --ff: "Montserrat", "Segoe UI", -apple-system, sans-serif;
  --ff-body: "Inter", "Segoe UI", -apple-system, sans-serif;

  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 26px;
  --shadow-s: 0 4px 14px rgba(13, 43, 69, 0.07);
  --shadow: 0 12px 34px rgba(13, 43, 69, 0.10);
  --shadow-l: 0 24px 60px rgba(13, 43, 69, 0.16);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 36px);
  --section-pad: clamp(56px, 8vw, 104px);
  --header-h: 84px;
}

/* =========================================================
   2. Base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff);
  color: var(--c-navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

a { color: var(--c-green-dark); text-decoration: none; transition: color 0.18s ease; }
a:hover, a:focus { color: var(--c-navy); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }

.eyebrow {
  display: block;
  color: var(--c-green);
  font-family: var(--ff);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; word-wrap: normal !important;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* =========================================================
   3. Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: 12px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn .btn__arrow {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  flex: none;
  transition: transform 0.18s ease;
}
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn svg { width: 15px; height: 15px; }

.btn--primary {
  background: var(--c-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 171, 79, 0.35);
}
.btn--primary:hover { background: var(--c-green-dark); color: #fff; transform: translateY(-2px); }
.btn--primary .btn__arrow { background: rgba(255, 255, 255, 0.22); color: #fff; }

.btn--ghost {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-line);
  box-shadow: var(--shadow-s);
}
.btn--ghost:hover { border-color: var(--c-green); color: var(--c-navy); transform: translateY(-2px); }
.btn--ghost .btn__arrow { background: var(--c-green-tint); color: var(--c-green-dark); }

.btn--light {
  background: var(--c-white);
  color: var(--c-navy);
}
.btn--light:hover { transform: translateY(-2px); color: var(--c-green-dark); }
.btn--light .btn__arrow { background: var(--c-green-tint); color: var(--c-green-dark); }

/* =========================================================
   4. Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding-top: 18px;
  transition: padding 0.25s ease;
}

.header-card {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  padding: 12px clamp(16px, 2vw, 24px);
  transition: box-shadow 0.25s ease;
}
.is-scrolled .header-card { box-shadow: var(--shadow); }

.site-branding { margin-right: auto; flex: none; }
.site-branding a { display: flex; align-items: center; }
.site-branding img,
.custom-logo { width: auto; height: 50px; max-width: none; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: var(--c-navy);
  font-family: var(--ff);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--c-green);
  transition: right 0.2s ease;
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after { right: 0; }
.primary-nav a:hover { color: var(--c-green-dark); }

.header-cta { white-space: nowrap; padding: 11px 20px; flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--c-navy);
  padding: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    left: var(--gutter); right: var(--gutter);
    top: calc(100% + 8px);
  }
  .nav-open .primary-nav { display: block; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-l);
    padding: 12px;
  }
  .primary-nav a { display: block; padding: 12px 16px; border-radius: 10px; }
  .primary-nav a:hover { background: var(--c-green-tint); }
  .primary-nav a::after { display: none; }
  .header-cta { display: none; }
}

/* =========================================================
   5. Hero
   ========================================================= */
.hero {
  position: relative;
  margin-top: calc(-1 * (var(--header-h) + 18px));
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media,
.hero__media img,
.hero__scrim {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.hero__scrim {
  background:
    linear-gradient(90deg, var(--c-bg) 0%, rgba(246, 247, 244, 0.94) 30%, rgba(246, 247, 244, 0.55) 48%, rgba(246, 247, 244, 0) 66%);
}
@media (max-width: 760px) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(246, 247, 244, 0.96) 0%, rgba(246, 247, 244, 0.82) 55%, rgba(246, 247, 244, 0.35) 100%);
  }
}

.hero .container { position: relative; z-index: 2; width: 100%; }

.hero__content {
  max-width: 560px;
  padding-block: calc(var(--header-h) + 48px) 110px;
}
.hero__content h1 { margin-bottom: 20px; }
.hero__content h1 .accent { color: var(--c-green); }
.hero__lead {
  font-size: 1.02rem;
  max-width: 470px;
  color: var(--c-ink);
  margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(50px, 8vw, 110px);
  z-index: 1;
  display: block;
}
.hero__wave path { fill: var(--c-bg); }

/* =========================================================
   6. USP row
   ========================================================= */
.usps { padding-block: clamp(30px, 4.5vw, 58px) clamp(40px, 5vw, 70px); }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 40px);
}
.usp { display: flex; gap: 16px; align-items: flex-start; }
.usp__icon {
  flex: none;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  color: var(--c-green);
  background: var(--c-green-tint);
  border-radius: 16px;
}
.usp__icon svg { width: 28px; height: 28px; }
.usp h3 { font-size: 1.02rem; margin-bottom: 6px; }
.usp p { font-size: 0.9rem; margin: 0; }

@media (max-width: 980px) { .usp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .usp-grid { grid-template-columns: 1fr; } }

/* =========================================================
   7. Projects section
   ========================================================= */
.projects {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%230d2b45' stroke-opacity='0.045' stroke-width='1.6'%3E%3Cpath d='M60 480c-60-90 10-190 90-200s150-90 130-160S420 20 500 60'/%3E%3Cpath d='M40 500c-70-110 20-220 110-232s160-100 138-178S430 0 520 44'/%3E%3Cpath d='M84 458c-48-74 4-160 74-170s138-80 120-142S412 44 480 78'/%3E%3Cpath d='M110 436c-38-58 0-132 62-142s124-72 108-126S404 66 460 94'/%3E%3C/g%3E%3C/svg%3E")
    left -60px top -40px no-repeat,
    var(--c-white);
}

.projects__layout {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}
.projects__intro .btn { margin-top: 10px; }

.projects__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}

.project-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 6.4;
  box-shadow: var(--shadow-s);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  isolation: isolate;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.4s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 43, 69, 0) 30%, rgba(10, 34, 56, 0.88) 100%);
  z-index: -1;
}
.project-card__icon {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 34, 56, 0.35);
}
.project-card__icon svg { width: 27px; height: 27px; }
.project-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 18px 20px;
}
.project-card__body h3 { color: #fff; font-size: 1.12rem; margin-bottom: 4px; }
.project-card__body p { color: rgba(255, 255, 255, 0.82); font-size: 0.86rem; margin: 0; }

@media (max-width: 1100px) {
  .project-card__icon { top: 38%; }
}
@media (max-width: 980px) {
  .projects__layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .projects__cards { grid-template-columns: 1fr; }
  .project-card { aspect-ratio: 16 / 10; }
  .project-card__icon { top: 40%; }
}

/* =========================================================
   8. Partners section
   ========================================================= */
.partners__layout {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}

.partner-panel {
  background: var(--c-navy);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-l);
  display: grid;
  gap: clamp(22px, 2.6vw, 34px);
}
.partner-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(18px, 2.4vw, 30px);
  align-items: center;
}
.partner-row + .partner-row {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: clamp(22px, 2.6vw, 34px);
}
.partner-logo {
  background: var(--c-white);
  border-radius: var(--radius-s);
  display: grid;
  place-items: center;
  padding: 12px;
  min-height: 96px;
}
.partner-logo img { max-height: 76px; width: auto; }
.partner-row h3 { color: #fff; margin-bottom: 4px; font-size: 1.05rem; }
.partner-row p { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; margin: 0; }

@media (max-width: 980px) {
  .partners__layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .partner-row { grid-template-columns: 1fr; }
  .partner-logo { min-height: 84px; }
}

/* =========================================================
   9. CTA band
   ========================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  margin-inline: auto;
  max-width: min(var(--container), calc(100% - 2 * var(--gutter)));
  color: #fff;
}
.cta-band__media, .cta-band__media img, .cta-band__scrim { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__scrim {
  background: linear-gradient(90deg, rgba(10, 34, 56, 0.94) 10%, rgba(10, 34, 56, 0.72) 55%, rgba(10, 34, 56, 0.45) 100%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  max-width: 640px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; }
.cta-wrap { padding-block: 0 var(--section-pad); }

/* =========================================================
   10. News section + post cards
   ========================================================= */
.news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.news__head h2 { margin: 0; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-navy); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__date {
  color: var(--c-gray);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.post-card__body h3 { margin: 0; font-size: 1.08rem; }
.post-card__body h3 a { color: var(--c-navy); }
.post-card__body h3 a:hover { color: var(--c-green-dark); }
.post-card__body p { font-size: 0.9rem; margin: 0; }
.post-card__more {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.post-card__more svg { width: 14px; height: 14px; }

/* =========================================================
   11. Page hero (subpages) + content
   ========================================================= */
.page-hero {
  position: relative;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1.6'%3E%3Cpath d='M60 480c-60-90 10-190 90-200s150-90 130-160S420 20 500 60'/%3E%3Cpath d='M40 500c-70-110 20-220 110-232s160-100 138-178S430 0 520 44'/%3E%3Cpath d='M84 458c-48-74 4-160 74-170s138-80 120-142S412 44 480 78'/%3E%3C/g%3E%3C/svg%3E")
    right -80px top -80px no-repeat,
    linear-gradient(115deg, var(--c-navy-deep), var(--c-navy) 55%, var(--c-navy-soft));
  color: #fff;
  margin-top: calc(-1 * (var(--header-h) + 18px));
  padding-top: calc(var(--header-h) + 18px);
}
.page-hero__inner { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 104px); max-width: 720px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero__lead { color: rgba(255, 255, 255, 0.82); margin: 16px 0 0; font-size: 1.02rem; }
.page-hero__wave { display: block; width: 100%; height: clamp(36px, 6vw, 80px); }
.page-hero__wave path { fill: var(--c-bg); }

/* Paginakop met foto + gradientverloop (naar het donkere ontwerp) */
.page-hero { overflow: hidden; }
.page-hero .container,
.page-hero__wave { position: relative; z-index: 2; }
.page-hero__media,
.page-hero__media img,
.page-hero__scrim { position: absolute; inset: 0; }
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.page-hero__scrim {
  /* Van links donkergrijs naar rechts volledig doorzichtig, zoals in het donkere ontwerp */
  background: linear-gradient(90deg, rgba(22, 26, 30, 0.92) 0%, rgba(22, 26, 30, 0.78) 32%, rgba(22, 26, 30, 0.38) 60%, rgba(22, 26, 30, 0) 84%);
}
@media (max-width: 760px) {
  .page-hero__scrim {
    background: linear-gradient(90deg, rgba(22, 26, 30, 0.92) 0%, rgba(22, 26, 30, 0.75) 48%, rgba(22, 26, 30, 0.35) 80%, rgba(22, 26, 30, 0.15) 100%);
  }
}
.page-hero--photo { background: var(--c-navy-deep); }
.page-hero--photo .page-hero__inner {
  padding-block: clamp(64px, 9vw, 124px) clamp(70px, 10vw, 132px);
}
.page-hero--photo .crumbs { color: rgba(255, 255, 255, 0.75); }
.page-hero--photo h1 { text-shadow: 0 2px 18px rgba(8, 27, 45, 0.45); }

.content-area { padding-block: clamp(36px, 5vw, 64px) var(--section-pad); }
.prose { max-width: 760px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--c-green);
  color: var(--c-navy);
  font-weight: 600;
}
.prose .wp-block-image figcaption { color: var(--c-gray); font-size: 0.85rem; }

.entry-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--c-gray);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 26px;
}
.entry-thumb { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 36px; }
.entry-thumb img { width: 100%; }

.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 40px; }
.back-link svg { width: 15px; height: 15px; transform: rotate(180deg); }

/* Pagination */
.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px; height: 42px;
  padding-inline: 10px;
  background: var(--c-white);
  border-radius: 12px;
  color: var(--c-navy);
  font-weight: 700;
  box-shadow: var(--shadow-s);
}
.pagination .page-numbers.current { background: var(--c-green); color: #fff; }
.pagination .page-numbers:hover { color: var(--c-green-dark); }
.pagination .page-numbers.current:hover { color: #fff; }

/* 404 */
.error-404 { text-align: center; padding-block: var(--section-pad); }
.error-404 .btn { margin-top: 10px; }

/* =========================================================
   12. Footer
   ========================================================= */
.site-footer {
  background: var(--c-navy-deep);
  color: rgba(255, 255, 255, 0.78);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px) clamp(30px, 4vw, 44px);
}
.footer-brand img { height: 84px; width: auto; border-radius: 10px; }
.footer-brand p { margin: 18px 0 0; font-size: 0.92rem; }

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.footer-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-menu a { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; }
.footer-menu a:hover { color: var(--c-green); }

.footer-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.92rem; }
.footer-contact li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--c-green); }
.footer-contact a { color: rgba(255, 255, 255, 0.78); }
.footer-contact a:hover { color: var(--c-green); }

.footer-partners { display: grid; gap: 12px; }
.footer-partners .tile {
  background: var(--c-white);
  border-radius: var(--radius-s);
  padding: 10px 16px;
  display: grid;
  place-items: center;
}
.footer-partners .tile img { max-height: 44px; width: auto; }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bar a { color: rgba(255, 255, 255, 0.65); }
.footer-bar a:hover { color: var(--c-green); }

@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   12b. Positioneringsblok (kernzin)
   ========================================================= */
.positioning { padding-block: clamp(44px, 6vw, 84px) clamp(10px, 2vw, 26px); }
.positioning__text {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(1.12rem, 2.1vw, 1.5rem);
  line-height: 1.55;
  color: var(--c-navy);
}
.positioning__text::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-green), var(--c-teal));
  margin: 0 auto 24px;
}

/* =========================================================
   12c. Vier pijlers
   ========================================================= */
.pillars { padding-block: clamp(34px, 5vw, 70px); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.pillar {
  background: var(--c-white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-s);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pillar__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  color: var(--c-green);
  background: var(--c-green-tint);
  border-radius: 14px;
  margin-bottom: 18px;
}
.pillar__icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.04rem; margin-bottom: 8px; }
.pillar p { font-size: 0.9rem; margin: 0; }
@media (max-width: 980px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }

/* =========================================================
   12d. Diensten
   ========================================================= */
.services {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%230d2b45' stroke-opacity='0.045' stroke-width='1.6'%3E%3Cpath d='M60 480c-60-90 10-190 90-200s150-90 130-160S420 20 500 60'/%3E%3Cpath d='M40 500c-70-110 20-220 110-232s160-100 138-178S430 0 520 44'/%3E%3Cpath d='M84 458c-48-74 4-160 74-170s138-80 120-142S412 44 480 78'/%3E%3C/g%3E%3C/svg%3E")
    right -80px top -60px no-repeat,
    var(--c-white);
}
.services__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.services__head h2 { margin-bottom: 10px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
}
.service {
  display: block;
  background: var(--c-white);
  border: 1.5px solid var(--c-line);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service:hover { transform: translateY(-4px); border-color: var(--c-green); box-shadow: var(--shadow-s); }
.service__icon { width: 44px; height: 44px; color: var(--c-green); margin-bottom: 14px; }
.service__icon svg { width: 30px; height: 30px; }
.service h3 { font-size: 0.98rem; margin-bottom: 6px; }
.service p { font-size: 0.85rem; margin: 0; color: var(--c-body); }
.services__more { margin-top: clamp(24px, 3vw, 36px); }
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }

/* =========================================================
   12e. Uitgelicht project
   ========================================================= */
.featured { padding-block: clamp(40px, 6vw, 84px) 0; }
.featured__card {
  display: grid;
  grid-template-columns: 7fr 5fr;
  background: var(--c-navy);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  color: #fff;
}
.featured__media { position: relative; min-height: 320px; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__panel { padding: clamp(26px, 3.6vw, 52px); }
.featured__panel h2 { color: #fff; margin-bottom: 14px; }
.featured__meta {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}
.featured__meta strong {
  color: var(--c-green);
  font-family: var(--ff);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}
.featured__meta li { color: rgba(255, 255, 255, 0.85); margin-bottom: 8px; }
.featured__panel p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.featured__panel .btn { margin-top: 8px; }
@media (max-width: 900px) {
  .featured__card { grid-template-columns: 1fr; }
  .featured__media { aspect-ratio: 16 / 9; min-height: 0; }
}

/* =========================================================
   12f. Maatschappelijk betrokken
   ========================================================= */
.social-section { padding-block: clamp(48px, 7vw, 96px) 0; }
.social-section__layout {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.social-section__media img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  width: 100%;
}
@media (max-width: 900px) { .social-section__layout { grid-template-columns: 1fr; } }

/* =========================================================
   12g. CTA-band knoppen
   ========================================================= */
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   12h. Contactpagina
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}
.contact-info {
  background: var(--c-navy);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3.4vw, 42px);
}
.contact-info h2 { color: #fff; font-size: 1.3rem; }
.contact-info ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-info li { display: flex; gap: 12px; align-items: flex-start; }
.contact-info li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--c-green); }
.contact-info a { color: rgba(255, 255, 255, 0.9); }
.contact-info a:hover { color: var(--c-green); }
.contact-info .btn { margin-top: 26px; }
.contact-info a.btn--light { color: var(--c-navy); }
.contact-info a.btn--light:hover { color: var(--c-green-dark); }
.contact-form {
  background: var(--c-white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  padding: clamp(24px, 3.2vw, 40px);
}
.contact-form h2 { font-size: 1.3rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-field { display: grid; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--ff); font-weight: 600; font-size: 0.88rem; color: var(--c-navy); }
.form-field .req { color: var(--c-green-dark); }
.form-field input,
.form-field textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--c-ink);
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 10px;
  padding: 11px 14px;
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(47, 171, 79, 0.3);
  outline-offset: 0;
  border-color: var(--c-green);
}
.contact-form .btn { margin-top: 20px; }
.hp-field { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.form-notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-weight: 500; }
.form-notice--ok { background: var(--c-green-tint); color: #1d6b34; border: 1px solid #bfe5c9; }
.form-notice--err { background: #fdecea; color: #8a2620; border: 1px solid #f5c6c0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* =========================================================
   12i. Breadcrumbs
   ========================================================= */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--ff);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}
.crumbs a { color: rgba(255, 255, 255, 0.8); }
.crumbs a:hover { color: var(--c-green); }
.crumbs .sep { opacity: 0.45; }

/* =========================================================
   13. Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   14. WordPress helpers
   ========================================================= */
.alignwide { max-width: min(1080px, 100%); margin-inline: auto; }
.alignfull { width: 100%; }
.wp-block-button__link { border-radius: 999px; }
.sticky { display: block; }
body { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }
