/* Gegenereerd door scripts/build-theme.mjs – bewerk src/styles/global.css */
@font-face { font-family: 'Space Grotesk Variable'; src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2-variations'); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk Variable'; src: url('../fonts/space-grotesk-latin.woff2') format('woff2-variations'); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* ==========================================================================
   Faunadak – global styles
   Eén stylesheet, zodat dit 1-op-1 naar het WordPress-theme kan.
   ========================================================================== */

@font-face { font-family: 'Zain'; src: url('../fonts/Zain-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Zain'; src: url('../fonts/Zain-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Zain'; src: url('../fonts/Zain-Bold.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Zain'; src: url('../fonts/Zain-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --forest: #27443e;
  --forest-2: #34554e;
  --forest-3: #1d3530;
  --mint: #d5ffd1;
  --paper: #ffffff;
  --mist: #f2f4f3;

  --font-display: 'Zain', sans-serif;
  --font-body: 'Space Grotesk Variable', 'Space Grotesk', sans-serif;

  --container: 1152px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-lg: 30px;
  --radius: 20px;
  --radius-sm: 10px;
  --section: clamp(80px, 11vw, 150px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }

::selection { background: var(--mint); color: var(--forest); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--mint); border-radius: var(--radius-sm); }
.skip:focus { top: 16px; }

/* Typografie ------------------------------------------------------------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 1.4rem + 2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.h2 + p, .h2 + .project-grid, .h2 + .voordelen__grid { margin-top: 24px; }

/* Knoppen ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.btn--dark { background: var(--forest); color: var(--mint); }
.btn--dark:hover, .btn--dark:focus-visible { background: #496d65; color: #fff; }
.btn--outline { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1px rgba(39, 68, 62, .3); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--forest); color: var(--mint); box-shadow: none; }
.btn--mint { background: var(--mint); color: var(--forest); padding: 15px 30px 13px; }
.btn--mint:hover, .btn--mint:focus-visible { background: #4b6f67; color: #fff; }

.arrow { flex: none; transition: transform .5s var(--ease-out); }
.arrow--left { transform: scaleX(-1); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 18px;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}
.site-header__logo img { width: 150px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav ul a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color .3s;
}
.site-nav ul a:hover { color: var(--mint); }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 44px; height: 44px;
    place-content: center;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease-out), opacity .3s; }
  .menu-toggle span:nth-child(1) { width: 14px; }
  .menu-toggle span:nth-child(3) { width: 16px; justify-self: end; }
  .menu-open .menu-toggle span:nth-child(1) { width: 22px; transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { width: 22px; transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: flex-end;
    padding: 120px var(--gutter) 48px;
    background: var(--forest);
    clip-path: circle(0% at calc(100% - 42px) 52px);
    transition: clip-path .8s var(--ease-out);
  }
  .mobile-menu[hidden] { display: flex; visibility: hidden; }
  .menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 42px) 52px); visibility: visible; }
  .mobile-menu a { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.25; color: #fff; }
  .mobile-menu li:last-child a { color: var(--mint); }
  .mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease-out); }
  .menu-open .mobile-menu li { opacity: 1; transform: none; }
  .menu-open .mobile-menu li:nth-child(2) { transition-delay: .05s; }
  .menu-open .mobile-menu li:nth-child(3) { transition-delay: .1s; }
  .menu-open .mobile-menu li:nth-child(4) { transition-delay: .15s; }
  .menu-open .site-header { position: fixed; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--forest);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero--lg { min-height: clamp(520px, 80svh, 670px); }
.hero--md { min-height: clamp(460px, 62svh, 640px); }
.hero--sm { min-height: clamp(260px, 24vw, 340px); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--forest);
  opacity: .55;
}
.hero--pattern { background: linear-gradient(293deg, #41635c 0%, var(--forest) 100%); }
.hero--pattern .hero__media { background: url('../img/hero-pattern.jpg') center / cover; opacity: .06; }
.hero--pattern .hero__media::after { display: none; }
.hero--sm .hero__content { padding-bottom: clamp(32px, 4vw, 60px); }
.hero--sm .hero__title { font-size: clamp(2.4rem, 1.8rem + 1.6vw, 3rem); font-weight: 600; }
.hero__content {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(40px, 7vw, 72px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.5rem + 3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero__title strong { font-weight: 700; }
.hero--md .hero__title { font-weight: 700; }
.hero__kicker { display: block; margin-bottom: .2em; font-size: .4em; font-weight: 600; line-height: 1.1; opacity: .9; }
.hero__subtitle { margin-top: 10px; font-size: 1rem; opacity: .85; }
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  white-space: nowrap;
}
.hero__scroll:hover .arrow { transform: translateY(5px); }

/* Intro ------------------------------------------------------------------ */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.intro__text { max-width: 460px; }
.intro__text p { margin-bottom: 32px; }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mosaic__col { display: grid; gap: 20px; align-content: start; }
.mosaic__col--offset { margin-top: 80px; }
.tile { aspect-ratio: 248 / 260; border-radius: var(--radius-lg); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--tl { border-bottom-right-radius: 0; }
.tile--br { border-top-left-radius: 0; }
.tile--icon { display: grid; place-items: center; background: var(--forest); color: var(--mint); }
/* Desktop: vaste hoogtes en de 'scherpe punten' naar elkaar toe, zoals origineel */
@media (min-width: 641px) {
  .mosaic__col--offset { margin-top: 120px; }
  .tile--img { height: 260px; aspect-ratio: auto; }
  .tile--icon { height: 200px; aspect-ratio: auto; }
  .mosaic__col:not(.mosaic__col--offset) .tile--icon { border-top-right-radius: 0; }
  .mosaic__col--offset .tile--icon { border-bottom-left-radius: 0; }
  .tile--icon svg { width: auto; height: 50%; }
}
.tile--icon svg { width: 46%; height: auto; }

/* Projecten -------------------------------------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.intro { padding-block: clamp(48px, 5.5vw, 80px) clamp(24px, 2.8vw, 40px); }
.projecten { padding-block: clamp(32px, 2.8vw, 40px) clamp(48px, 4.6vw, 66px); }
.projecten .h2 { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.2rem); line-height: 1; }
.projecten .project-grid { margin-top: 24px; }
.project-card { position: relative; display: block; border-radius: 14px; overflow: hidden; isolation: isolate; }
.project-card__media { aspect-ratio: 372 / 400; overflow: hidden; }
.project-card__media img {
  width: 100%;
  height: 108%;
  object-fit: cover;
  transition: scale 1s var(--ease-out);
}
.project-card:hover .project-card__media img { scale: 1.03; }
.project-card__label {
  position: absolute;
  top: 50%;
  right: 0;
  min-width: 42%;
  padding: 12px 20px 8px;
  background: #fff;
  color: var(--forest);
  border-radius: 14px 0 0 14px;
  opacity: 0;
  transform: translate(60px, -50%);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.project-card:hover .project-card__label,
.project-card:focus-visible .project-card__label { opacity: 1; transform: translate(0, -50%); }
.project-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; }
.project-card time { display: block; font-size: .8rem; opacity: .7; }
@media (hover: none) {
  .project-card__label { opacity: 1; transform: none; top: auto; bottom: 16px; }
}

.more-link {
  display: flex;
  width: fit-content;
  margin: 34px 0 0 auto;
  align-items: center;
  gap: 14px;
  font-size: 1.2rem;
}
.more-link:hover .arrow { transform: translateX(6px); }

/* Projectenoverzicht ---------------------------------------------------- */
.projects-archive { padding-block: clamp(40px, 4.2vw, 60px); }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.archive-grid .project-card__media { aspect-ratio: 561 / 400; }
/* top i.p.v. transform, zodat de GSAP-fade er niet mee botst */
.archive-grid > :nth-child(even) { position: relative; top: 50%; }
.archive-grid:has(> :nth-child(even):last-child) {
  padding-bottom: calc((min(100vw - 2 * var(--gutter), var(--container)) - 30px) / 2 * 400 / 561 / 2);
}
@media (max-width: 640px) {
  .archive-grid { grid-template-columns: 1fr; }
  .archive-grid > :nth-child(even) { top: 0; }
  .archive-grid:has(> :nth-child(even):last-child) { padding-bottom: 0; }
}

/* Voordelen -------------------------------------------------------------- */
.voordelen {
  margin-top: 30px;
  padding-block: clamp(64px, 8.3vw, 120px);
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius-lg);
}
.voordelen .h2 { margin-bottom: clamp(32px, 3.5vw, 50px); }
.voordelen__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.benefit {
  padding: clamp(32px, 4vw, 50px);
  background: var(--forest-2);
  border-radius: var(--radius);
  text-align: center;
  transition: background-color .5s var(--ease-out), transform .6s var(--ease-out);
}
.benefit:hover { background: #3b5f57; transform: translateY(-4px); }
.benefit__icon { width: 96px; margin: 0 auto 12px; color: var(--mint); }
.benefit__icon svg { width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.benefit:hover .benefit__icon svg { transform: scale(1.08) rotate(-4deg); }
.benefit h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.3; margin-bottom: 10px; }
.benefit p { max-width: 380px; margin-inline: auto; font-size: .95rem; color: rgba(255, 255, 255, .85); }

/* Subsidie --------------------------------------------------------------- */
.subsidie__grid {
  display: grid;
  grid-template-columns: minmax(0, 518fr) minmax(0, 460fr);
  gap: clamp(40px, 9vw, 108px);
  align-items: center;
}
.subsidie__media { aspect-ratio: 518 / 422; border-radius: var(--radius-lg); overflow: hidden; }
.subsidie__media img { width: 100%; height: 125%; object-fit: cover; }
.subsidie__text p { margin-bottom: 32px; }

/* Offerte / contact ------------------------------------------------------ */
.subsidie { padding-block: clamp(64px, 9.7vw, 140px) clamp(32px, 3.8vw, 55px); }
.offerte { padding-block: clamp(64px, 9.7vw, 140px) clamp(64px, 11.8vw, 170px); }
.offerte__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 449px);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.offerte__text { padding-top: 0; }
.offerte__text > p { max-width: 520px; }
.contacts { display: grid; grid-template-columns: repeat(2, max-content); gap: 24px 64px; margin-top: 44px; }
.contact h3 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.contact p, .address { font-size: .95rem; line-height: 1.55; }
.contact a, .address a { transition: color .3s; }
.contact a:hover, .address a:hover { color: #4f8a7c; }
.address { margin-top: 32px; }

.form-card { padding: 40px; background: var(--forest); color: #fff; border-radius: var(--radius); }
.form-card h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; margin-bottom: 24px; }
.form { display: grid; gap: 14px; }
.form input:not(.hp) {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--forest-2);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color .3s, background-color .3s;
}
.form input::placeholder { color: rgba(255, 255, 255, .6); }
.form input:focus { border-color: var(--mint); background: #3b5f57; }
.form input[aria-invalid='true'] { border-color: #ffb4a8; }
.form .btn { justify-self: start; margin-top: 10px; }
.form__status { font-size: .9rem; color: var(--mint); min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--mist);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 56px;
}
.site-footer__logo img { width: 200px; height: auto; }
.site-footer__meta { text-align: right; font-size: .85rem; line-height: 1.8; }
.site-footer__meta p { margin-top: 6px; font-size: .78rem; opacity: .75; }
.site-footer__meta a:hover { text-decoration: underline; }
.ext-link { position: relative; display: inline-block; transition: padding-right .4s var(--ease-out); }
/* Icoon staat los van de tekst, zodat die in rust exact rechts uitlijnt; bij hover schuift de tekst een stukje op */
.ext-link svg { position: absolute; right: 0; top: 50%; margin-top: -5px; opacity: 0; transform: translate(-4px, 3px); transition: opacity .3s, transform .4s var(--ease-out); }
.ext-link:hover, .ext-link:focus-visible { padding-right: 15px; }
.ext-link:hover svg, .ext-link:focus-visible svg { opacity: 1; transform: none; }

/* Projectdetail ---------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.gallery__item { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery__item img { width: 100%; height: auto; transition: scale 1.2s var(--ease-out); }
.gallery__item:hover img { scale: 1.04; }

.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 32px;
  border-top: 1px solid rgba(39, 68, 62, .15);
}
.project-nav__link h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; }
.project-nav__link span { display: inline-flex; align-items: center; gap: 12px; font-size: .95rem; white-space: nowrap; }
.project-nav__link--next { text-align: right; margin-left: auto; }
.project-nav__link:hover .arrow { transform: translateX(6px); }
.project-nav__link:hover .arrow--left { transform: scaleX(-1) translateX(6px); }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(16, 30, 27, .94);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in .4s var(--ease-out); }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: var(--radius); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 16px; }
.lightbox__close { top: 12px; right: 16px; font-size: 2.4rem; line-height: 1; }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@keyframes lb-in { from { opacity: 0; } }

/* Custom cursor ---------------------------------------------------------- */
/* Buitenste laag volgt de muis (GSAP), de bol zelf schaalt via CSS */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  pointer-events: none;
}
.cursor span {
  display: grid;
  place-items: center;
  width: 100px; height: 100px;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 1rem;
  scale: 0;
  opacity: 0;
  transition: scale .4s var(--ease-out), opacity .3s;
}
.cursor.is-active span { scale: 1; opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* Animatie-startstaten (alleen met JS en zonder reduced motion) ---------- */
.js:not(.reduced) [data-reveal],
.js:not(.reduced) [data-reveal-img],
.js:not(.reduced) [data-hero-fade],
.js:not(.reduced) [data-stagger] > *,
.js:not(.reduced) [data-card] { opacity: 0; }
.js:not(.reduced) [data-split],
.js:not(.reduced) [data-hero-title] { visibility: hidden; }
.split-line { display: block; }

/* Paginaovergangen ------------------------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
  .intro__grid, .subsidie__grid, .offerte__grid { grid-template-columns: 1fr; }
  .intro__text { max-width: none; }
  .mosaic { max-width: 560px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offerte__text { padding-top: 0; }
  .subsidie__text { order: -1; }
}
/* Mobiel: maten 1-op-1 van faunadak.nl op 375px */
@media (max-width: 640px) {
  :root { --gutter: 10vw; --radius-lg: 30px; }
  body { font-size: 1rem; }
  p { line-height: 1.6; }
  .h2 { font-size: 2rem; line-height: 1.15; }

  .hero--lg { min-height: 530px; }
  .hero--md { min-height: 420px; }
  .hero__content { padding-bottom: 50px; }
  .hero--lg .hero__title { font-size: 2.5rem; }
  .hero--lg .hero__scroll { display: none; }
  .hero__content { flex-direction: column; align-items: flex-start; }

  /* Intro: tekst, dan foto's over de volle breedte met overlappend icoonblok */
  .intro { padding-block: 60px; }
  .intro__grid { gap: 80px; }
  .intro__text p { margin-bottom: 35px; }
  .mosaic { grid-template-columns: 1fr; gap: 20px; max-width: none; }
  .btn { font-size: 1rem; }
  .mosaic__col, .mosaic__col--offset { display: flex; flex-direction: column; gap: 0; margin-top: 0; transform: none !important; }
  .mosaic__col--offset .tile--icon { order: 2; align-self: flex-end; }
  .tile { border-radius: var(--radius-lg); }
  .tile--img { aspect-ratio: 300 / 260; }
  .tile--icon { width: 60%; aspect-ratio: 180 / 133; margin-top: -45px; position: relative; }
  .tile--icon svg { width: auto; height: 54%; }

  .projecten { padding-block: 40px 60px; }
  .projecten .h2 { font-size: 2rem; }
  .projecten .project-grid { margin-top: 30px; }
  .project-grid { grid-template-columns: 1fr; gap: 7px; }
  .project-card__media { aspect-ratio: 300 / 400; }
  .more-link { margin: 28px 0 0; font-size: 1rem; }

  .voordelen { margin-top: 0; padding-block: 60px; }
  .voordelen .h2 { font-size: 2.1rem; line-height: 1.1; margin-bottom: 50px; }
  .voordelen__grid { grid-template-columns: 1fr; }
  .benefit { padding: 20px 20px 32px; }
  .benefit__icon { width: 108px; }
  .benefit p { font-size: 1.1rem; line-height: 1.5; }

  .subsidie { padding-block: 60px; }
  .subsidie__text p { margin-bottom: 35px; }
  .subsidie__media { aspect-ratio: 300 / 318; }

  .offerte { padding-block: 0 60px; }
  .offerte__text > p { font-size: 1rem; }
  .contacts { grid-template-columns: 1fr; gap: 24px; margin-top: 35px; }
  .contact h3, .contact p, .address { font-size: 1rem; }
  .offerte__grid { gap: 60px; }
  .form-card { padding: 26px; }
  .form-card h2 { font-size: 2rem; line-height: 1.15; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 40px; padding-block: 60px; }
  .site-footer__logo img { width: 240px; }
  .site-footer__meta { text-align: left; font-size: 1rem; }
  .site-footer__meta p { font-size: .85rem; }

  /* Tikdoelen (WCAG 2.5.8): footerlinks ruimer, contactlinks 44 px hoog zonder de tekst te verschuiven */
  .site-footer__links { line-height: 1.4; }
  .site-footer__links a, .site-footer__links .link-button { display: inline-block; padding-block: 12px; }
  .contact a, .address a { display: inline-block; padding-block: 12px; margin-block: -12px; }

  .gallery { grid-template-columns: 1fr; }

  .hero--sm { min-height: 230px; }
  .hero--sm .hero__content { padding-bottom: 40px; }
  .hero--sm .hero__title { font-size: 2rem; }
  .hero--sm .hero__scroll { display: none; }
  .projects-archive { padding-block: 60px; }
  .archive-grid { gap: 30px; }
  .archive-grid .project-card__media { aspect-ratio: 300 / 400; }

  .project-nav__link h3 { font-size: 1.4rem; }
  .project-nav__link span { gap: 8px; font-size: .85rem; }
  .project-nav__link .arrow { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Losse pagina's (privacy e.d.) ----------------------------------------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin-top: 1.6em; }
.prose h2 { font-size: 1.9rem; }
.prose h3 { font-size: 1.4rem; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { text-decoration: underline; }

/* Social media ----------------------------------------------------------- */
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(39, 68, 62, .2);
  border-radius: 50%;
  color: var(--forest);
  transition: background-color .3s, color .3s, border-color .3s;
}
.socials a:hover, .socials a:focus-visible { background: var(--forest); border-color: var(--forest); color: var(--mint); }
.socials svg { width: 20px; height: 20px; }
.site-footer__brand { display: grid; gap: 20px; justify-items: start; }
.follow { margin-top: 32px; }
.follow p { margin-bottom: 10px; font-size: .95rem; font-weight: 600; }

/* 404 -------------------------------------------------------------------- */
.not-found .h2 { max-width: 640px; }
.not-found p { max-width: 560px; margin-top: 20px; }
.not-found__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Footerlinks (privacy, cookie-instellingen) ------------------------------ */
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.link-button:hover, .site-footer__links > a:not(.ext-link):hover { text-decoration: underline; }
