/* =========================================================
   Cosy Tuinen — huisstijl
   geel (logo) · beige · licht groen · donker olijf als anker
   ========================================================= */

:root {
  /* kleuren */
  --ink: #1d2018;          /* donker olijf-zwart: tekst & donkere secties */
  --ink-soft: #4b5042;     /* secundaire tekst (AA op beige) */
  --beige: #efe8da;        /* hoofdachtergrond */
  --beige-deep: #e3d8c3;   /* lijnen, kaarten */
  --cream: #f8f4ec;        /* lichte vlakken */
  --green-light: #cdd8ad;  /* licht groen */
  --green: #6f8048;        /* groen accent (iconen, details) */
  --green-deep: #2c3524;   /* donkergroene secties */
  --yellow: #dcc53e;       /* geel met een groene toets: knoppen & accenten */
  --yellow-deep: #b8a020;
  --line: rgba(29, 32, 24, 0.14);
  --line-light: rgba(248, 244, 236, 0.18);
  --error: #a3261b;

  /* typografie */
  --font-sans: "Epilogue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --fs-display: clamp(3.4rem, 11.5vw, 11rem);
  --fs-h1: clamp(2.8rem, 7vw, 6.5rem);
  --fs-h2: clamp(2.2rem, 5vw, 4.6rem);
  --fs-h3: clamp(1.4rem, 2.2vw, 1.9rem);
  --fs-lead: clamp(1.15rem, 1.6vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* ruimte */
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(88px, 13vw, 180px);
  --maxw: 1440px;

  /* beweging */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 200ms;
  --t-med: 450ms;

  /* lagen */
  --z-header: 50;
  --z-menu: 60;
  --z-dialog: 80;
  --z-transition: 100;
}

/* ---------- reset ---------- */
*, *::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; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 0.95; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.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;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--green { background: var(--green-deep); color: var(--cream); }
.section--light-green { background: var(--green-light); }

/* ---------- labels / kleine tekst ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--yellow); }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 34ch; }
.muted { color: var(--ink-soft); }
.section--dark .muted, .section--green .muted { color: rgba(248, 244, 236, 0.74); }

/* ---------- knoppen ---------- */
.btn {
  --btn-bg: var(--yellow); --btn-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 14px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: -0.005em;
  overflow: hidden; isolation: isolate;
  transition: color var(--t-med) var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform var(--t-med) var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--cream); }
.btn .arrow { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }

.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.section--dark .btn--ghost::before, .hero .btn--ghost::before { background: var(--cream); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { color: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--cream); }
.btn--dark::before { background: var(--yellow); }
.btn--dark:hover { color: var(--ink); }
.btn[disabled] { opacity: 0.5; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none; padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size var(--t-med) var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  color: var(--cream);
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter);
}
.site-header.is-solid { background: rgba(239, 232, 218, 0.94); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header--light { color: var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand__mark { width: 46px; height: 46px; position: relative; flex: none; }
.brand__mark img { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.98rem; }
.brand__tag { font-size: 0.72rem; letter-spacing: 0.06em; opacity: 0.8; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-block; padding: 10px 0; text-decoration: none; font-weight: 500;
  font-size: 0.98rem; text-transform: lowercase;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: right; transition: transform var(--t-med) var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 46px; padding: 10px 22px; font-size: 0.95rem; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 50%;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 28px; right: 20px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); right: 12px; }

/* mobiel menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 700ms var(--ease-in-out), visibility 0s 700ms;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 700ms var(--ease-in-out), visibility 0s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a.big {
  display: block; font-size: clamp(2.6rem, 12vw, 4.5rem); font-weight: 600; letter-spacing: -0.04em;
  text-decoration: none; text-transform: lowercase; line-height: 1.12;
  transform: translateY(105%); transition: transform 700ms var(--ease-out);
}
.mobile-menu.is-open a.big { transform: none; }
.mobile-menu li:nth-child(2) a.big { transition-delay: 60ms; }
.mobile-menu li:nth-child(3) a.big { transition-delay: 120ms; }
.mobile-menu li:nth-child(4) a.big { transition-delay: 180ms; }
.mobile-menu li:nth-child(5) a.big { transition-delay: 240ms; }
.mobile-menu a.big[aria-current="page"] { color: var(--yellow); }
.mobile-menu__foot { display: grid; gap: 6px; font-size: 0.95rem; color: rgba(248, 244, 236, 0.75); }
.mobile-menu__foot a { text-decoration: none; }
body.menu-open .site-header { color: var(--cream); background: transparent; box-shadow: none; z-index: calc(var(--z-menu) + 1); }

@media (max-width: 960px) {
  .nav__list, .nav .btn { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- pagina-overgang ---------- */
.page-transition {
  position: fixed; inset: 0; z-index: var(--z-transition);
  background: var(--ink); display: grid; place-items: center;
  pointer-events: none; transform: translateY(-100%);
}
.page-transition img { width: 88px; height: 88px; }
html.is-loading .page-transition { transform: none; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; color: var(--cream);
  display: flex; align-items: flex-end; overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 108%; object-fit: cover; object-position: center 45%;
  will-change: transform;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 22, 16, 0.55) 0%, rgba(20, 22, 16, 0) 28%),
    linear-gradient(0deg, rgba(20, 22, 16, 0.78) 0%, rgba(20, 22, 16, 0.15) 55%);
}
.hero__content {
  position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 140px var(--gutter) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
}
.hero__title { font-size: var(--fs-display); text-transform: lowercase; letter-spacing: -0.055em; line-height: 0.86; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title .serif { color: var(--yellow); font-size: 1.04em; letter-spacing: -0.03em; }
.hero__aside { max-width: 330px; display: grid; gap: 26px; padding-bottom: 12px; }
.hero__aside p { font-size: 1.05rem; line-height: 1.6; color: rgba(248, 244, 236, 0.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; writing-mode: vertical-rl;
}
.scroll-cue__line { width: 1px; height: 72px; background: var(--line-light); position: relative; overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; inset: 0; background: var(--yellow);
  animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 860px) {
  .hero__content { grid-template-columns: 1fr; gap: 28px; }
  .scroll-cue { display: none; }
}

/* ---------- page hero (subpagina's) ---------- */
.page-hero { padding: clamp(150px, 20vw, 230px) 0 clamp(56px, 8vw, 100px); }
.page-hero__title { font-size: var(--fs-h1); text-transform: lowercase; letter-spacing: -0.05em; }
.page-hero__title .serif { color: var(--green); }
.page-hero__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.page-hero__row .lead { justify-self: end; }
.page-hero__media { margin-top: clamp(48px, 7vw, 88px); height: clamp(320px, 62vh, 720px); overflow: hidden; border-radius: 4px; }
.page-hero__media img { width: 100%; height: 125%; object-fit: cover; }
.page-hero__duo { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.page-hero__duo img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; }
@media (max-width: 860px) {
  .page-hero__row { grid-template-columns: 1fr; gap: 24px; }
  .page-hero__row .lead { justify-self: start; }
}

/* ---------- reveal helpers ---------- */
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-line > span { display: inline-block; }
.reveal-img { overflow: hidden; position: relative; }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- intro (home) ---------- */
.intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.intro__statement { grid-column: 1 / span 8; font-size: var(--fs-h2); text-transform: lowercase; letter-spacing: -0.045em; line-height: 1; }
.intro__statement .serif { color: var(--green); }
.intro__media { grid-column: 1 / span 5; margin-top: clamp(40px, 6vw, 96px); aspect-ratio: 546 / 800; border-radius: 4px; }
.intro__text { grid-column: 7 / span 5; margin-top: clamp(40px, 10vw, 220px); display: grid; gap: 28px; }
.intro__media-2 { grid-column: 9 / span 4; aspect-ratio: 531 / 800; border-radius: 4px; margin-top: -10vw; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.stats div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.stats div:nth-child(odd) { padding-right: 16px; }
.stats dt { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.stats dd { margin: 4px 0 0; font-weight: 600; font-size: 1.15rem; }
@media (max-width: 860px) {
  .intro__statement, .intro__media, .intro__text, .intro__media-2 { grid-column: 1 / -1; }
  .intro__media { margin-top: 32px; }
  .intro__text { margin-top: 8px; }
  .intro__media-2 { display: none; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: clamp(28px, 4vw, 44px) 0; border-block: 1px solid var(--line); background: var(--beige); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  font-size: clamp(2.6rem, 7vw, 6.5rem); font-weight: 600; letter-spacing: -0.045em; text-transform: lowercase;
  padding: 0 0.35em; white-space: nowrap; line-height: 1;
}
.marquee__item.outline { color: var(--green); }
.marquee__dot { width: clamp(28px, 4vw, 52px); height: clamp(28px, 4vw, 52px); flex: none; }
.marquee__dot img { width: 100%; height: 100%; }

/* ---------- diensten lijst (hover preview) ---------- */
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head h2 { font-size: var(--fs-h2); text-transform: lowercase; letter-spacing: -0.045em; }
.section-head h2 .serif { color: var(--yellow); }
.section--cream .section-head h2 .serif, .section-head--green h2 .serif { color: var(--green); }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.section--cream .service-list, .section:not(.section--dark):not(.section--green) .service-list { border-top-color: var(--line); }
.service-row { border-bottom: 1px solid var(--line-light); }
.section--cream .service-row { border-bottom-color: var(--line); }
.service-row a {
  display: grid; grid-template-columns: 80px 1fr 1fr 56px; gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 40px) 0; text-decoration: none; position: relative;
}
.service-row__num { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; opacity: 0.6; }
.service-row__title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.03em; text-transform: lowercase; transition: transform var(--t-med) var(--ease-out); }
.service-row__desc { font-size: 0.98rem; opacity: 0.78; max-width: 40ch; }
.service-row__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px currentColor; transition: background var(--t-med), color var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
.service-row__icon svg { width: 20px; height: 20px; }
.service-row a:hover .service-row__title { transform: translateX(10px); }
.service-row a:hover .service-row__icon { background: var(--yellow); color: var(--ink); box-shadow: none; transform: rotate(-45deg); }
.service-row__thumb { display: none; }
@media (max-width: 860px) {
  .service-row a { grid-template-columns: 1fr 52px; gap: 12px 16px; }
  .service-row__num { grid-column: 1 / -1; }
  .service-row__desc { grid-column: 1 / 2; }
  .service-row__icon { grid-row: 2; grid-column: 2; }
}

.hover-preview {
  position: fixed; left: 0; top: 0; width: 320px; aspect-ratio: 4 / 3; z-index: 40;
  pointer-events: none; overflow: hidden; border-radius: 4px;
  opacity: 0; transform: translate(-50%, -50%) scale(0.85);
}
.hover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 300ms; }
.hover-preview img.is-active { opacity: 1; }
@media (hover: none), (pointer: coarse) { .hover-preview { display: none; } }

/* ---------- uitgelicht project (fullscreen) ---------- */
.feature { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--cream); background: var(--ink); }
.feature__media { position: absolute; inset: 0; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 22, 16, 0.82) 0%, rgba(20, 22, 16, 0.1) 60%); }
.feature__inner {
  position: relative; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end;
}
.feature__title { font-size: var(--fs-h1); text-transform: lowercase; letter-spacing: -0.05em; }
.feature__title .serif { color: var(--yellow); }
.feature__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.feature__meta div { padding: 16px 0; border-top: 1px solid var(--line-light); }
.feature__meta dt { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.72; }
.feature__meta dd { margin: 4px 0 0; font-weight: 500; }
@media (max-width: 860px) { .feature__inner { grid-template-columns: 1fr; } }

/* ---------- voor / na slider ---------- */
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px;
  user-select: none; touch-action: pan-y; background: var(--ink);
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--cream);
  transform: translateX(-1px); pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); display: grid; place-items: center;
  transform: translate(-50%, -50%); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform var(--t-fast) var(--ease-out);
}
.compare__knob svg { width: 28px; height: 28px; }
.compare:hover .compare__knob { transform: translate(-50%, -50%) scale(1.08); }
.compare__label {
  position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px;
  background: rgba(20, 22, 16, 0.65); color: var(--cream); backdrop-filter: blur(6px);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; pointer-events: none;
}
.compare__label--before { left: 18px; }
.compare__label--after { right: 18px; background: var(--yellow); color: var(--ink); }
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 64px; height: 100vh; }
.compare:has(.compare__range:focus-visible) .compare__knob { outline: 3px solid var(--cream); outline-offset: 4px; }

.ba { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ba h2 { font-size: var(--fs-h2); text-transform: lowercase; letter-spacing: -0.045em; margin-bottom: 28px; }
.ba h2 .serif { color: var(--green); }
.section--dark .ba h2 .serif { color: var(--yellow); }
@media (max-width: 960px) { .ba { grid-template-columns: 1fr; } }

/* ---------- werkwijze ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { border-top: 1px solid var(--line); padding-top: 28px; }
.section--dark .step, .section--green .step { border-top-color: var(--line-light); }
.step__num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-weight: 700; margin-bottom: 28px;
}
.step h3 { font-size: var(--fs-h3); text-transform: lowercase; margin-bottom: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- split sectie (sfeer) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.split__media { aspect-ratio: 4 / 5; border-radius: 4px; }
.brand-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 36px); padding: clamp(32px, 6vw, 72px); background: var(--green-deep); color: var(--cream); text-align: center; }
.brand-panel .brand-panel__mark { width: min(62%, 340px); height: auto; object-fit: contain; }
.brand-panel__quote { margin: 0; font-size: var(--fs-h3); line-height: 1.2; max-width: 14ch; }
.brand-panel__quote .serif { color: var(--yellow); }
.brand-panel__meta { margin: 0; font-size: var(--fs-small); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-light); }
.split h2 { font-size: var(--fs-h2); text-transform: lowercase; letter-spacing: -0.045em; margin-bottom: 32px; }
.split h2 .serif { color: var(--green); }
.section--green .split h2 .serif, .section--dark .split h2 .serif { color: var(--yellow); }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- werkgebied ---------- */
.area { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.area h2 { font-size: var(--fs-h2); text-transform: lowercase; letter-spacing: -0.045em; }
.area h2 .serif { color: var(--green); }
.towns { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 32px 0 0; padding: 0; }
.towns li {
  padding: 10px 18px; border-radius: 999px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500; font-size: 0.95rem;
}
.towns li.more { background: var(--green-light); box-shadow: none; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta__title { font-size: var(--fs-display); text-transform: lowercase; letter-spacing: -0.055em; line-height: 0.88; margin-bottom: 44px; }
.cta__title .serif { color: var(--yellow); }
.section--light-green .cta__title .serif { color: var(--green-deep); }
.cta__emblem { width: 92px; margin: 0 auto 36px; }
.cta__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(72px, 9vw, 120px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 200px; }
.site-footer h3 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; color: var(--yellow); line-height: 1.4; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 4px 0; color: rgba(248, 244, 236, 0.82); transition: color var(--t-fast); }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line-light);
  font-size: var(--fs-small); color: rgba(248, 244, 236, 0.66);
}
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.social a:hover { background: var(--yellow); color: var(--ink); box-shadow: none; }
.social svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- diensten pagina ---------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; padding: clamp(56px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block__media { aspect-ratio: 4 / 3; border-radius: 4px; }
.service-block:nth-child(even) .service-block__media { order: 2; }
.service-block__num { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; color: var(--green); margin-bottom: 18px; display: block; }
.service-block h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); text-transform: lowercase; letter-spacing: -0.045em; margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 2px; }
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block__media { order: 0; }
  .checklist { grid-template-columns: 1fr; }
}

/* ---------- projecten pagina ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter button {
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
.filter button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.gallery__item { grid-column: span 6; }
.gallery__item--wide { grid-column: span 7; }
.gallery__item--narrow { grid-column: span 5; }
.gallery__item--tall { grid-column: span 4; }
.gallery__item--fill { grid-column: span 8; }
.gallery__item[hidden] { display: none; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.gallery__frame { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; position: relative; }
.gallery__item--tall .gallery__frame { aspect-ratio: 3 / 4; }
.gallery__item--fill .gallery__frame { aspect-ratio: auto; height: 100%; }
.gallery__item--fill .gallery__btn, .gallery__item--fill { display: flex; flex-direction: column; }
.gallery__item--fill .gallery__frame { flex: 1; min-height: 300px; }
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.gallery__btn:hover .gallery__frame img { transform: scale(1.04); }
.gallery__caption { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 6px; }
.gallery__caption strong { font-weight: 600; font-size: 1.1rem; text-transform: lowercase; letter-spacing: -0.02em; }
.gallery__caption span { color: var(--ink-soft); font-size: 0.92rem; }
.tag {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: var(--cream); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.tag--yellow { background: var(--yellow); }
@media (max-width: 760px) {
  .gallery__item, .gallery__item--wide, .gallery__item--narrow, .gallery__item--tall, .gallery__item--fill { grid-column: 1 / -1; }
  .gallery__item--tall .gallery__frame { aspect-ratio: 4 / 5; }
}

.lightbox {
  border: 0; padding: 0; max-width: min(1200px, 94vw); width: 100%; background: transparent; color: var(--cream);
}
.lightbox::backdrop { background: rgba(20, 22, 16, 0.92); }
.lightbox[open] { animation: lb-in 400ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; }
.lightbox__close {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--yellow); color: var(--ink); display: grid; place-items: center;
}
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------- over ons ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.value { background: var(--beige); padding: clamp(28px, 3vw, 44px); border-radius: 4px; }
.value svg { width: 36px; height: 36px; color: var(--green); margin-bottom: 40px; }
.value h3 { font-size: var(--fs-h3); text-transform: lowercase; margin-bottom: 14px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.quote { font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; max-width: 22ch; margin: 0; }
.quote .serif { color: var(--yellow); }
.quote-by { margin-top: 32px; display: flex; align-items: center; gap: 14px; font-weight: 600; }
.quote-by img { width: 48px; height: 48px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact-info { display: grid; gap: 36px; position: sticky; top: 120px; }
.contact-info dl { margin: 0; display: grid; gap: 0; }
.contact-info dl div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.contact-info dt { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.contact-info dd { margin: 0; font-weight: 600; font-size: 1.1rem; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact-info { position: static; } }

.form { background: var(--cream); border-radius: 4px; padding: clamp(24px, 4vw, 56px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: #fff; border: 1.5px solid var(--beige-deep); border-radius: 4px;
  font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(220, 197, 62, 0.55); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: 0.85rem; color: var(--ink-soft); }
.field__error { font-size: 0.88rem; color: var(--error); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.field__error:empty { display: none; }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #fff; font-size: 0.72rem; font-weight: 700; flex: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; min-height: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--beige-deep); font-weight: 500; font-size: 0.95rem;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
.chip input:hover + span { box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.chip input:checked + span { background: var(--green-light); box-shadow: inset 0 0 0 1.5px var(--green); }
.chip input:checked + span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-deep); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow-deep); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--green-deep); flex: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.form-status { padding: 16px 20px; border-radius: 4px; font-weight: 500; margin-bottom: 24px; display: flex; gap: 12px; align-items: flex-start; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--green-light); color: var(--green-deep); }
.form-status--error { background: #f6dcd6; color: var(--error); }
.form-status svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; display: none; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero__media img, .page-hero__media img { height: 100%; }
}

/* werkwijze naast een beeld */
.steps--stack { grid-template-columns: 1fr; gap: 0; }
.steps--stack .step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; }
.steps--stack .step__num { margin-bottom: 0; }
.steps--stack h3 { margin-bottom: 8px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.section-head > .btn { justify-self: start; }
/* hero: wat extra contrast op smalle schermen, waar de tekst over de lichte muur valt */
@media (max-width: 860px) {
  .hero__media::after { background: linear-gradient(0deg, rgba(20, 22, 16, 0.85) 0%, rgba(20, 22, 16, 0.45) 60%, rgba(20, 22, 16, 0.4) 100%); }
}

/* hero: warme, goudgele gloed zodat de foto aansluit bij het geel */
.hero__media img { filter: sepia(0.18) saturate(1.08) brightness(1.02); }
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, var(--yellow) 0%, rgba(220, 197, 62, 0.4) 55%, rgba(111, 128, 72, 0.5) 100%);
  mix-blend-mode: soft-light; opacity: 0.55;
}
.hero__media { z-index: 0; }
.hero__media::after { z-index: 2; }

/* ---------- juridische pagina's ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 120px; display: grid; gap: 4px; font-size: 0.95rem; }
.legal__toc a { text-decoration: none; padding: 6px 0; color: var(--ink-soft); transition: color var(--t-fast); }
.legal__toc a:hover { color: var(--ink); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; margin: 56px 0 16px; line-height: 1.15; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 28px 0 8px; line-height: 1.3; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.prose .updated { color: var(--ink-soft); font-size: 0.92rem; }
.info-box { background: var(--cream); border-left: 3px solid var(--green); padding: 20px 24px; border-radius: 4px; margin: 0 0 28px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; } }

.business-card { display: grid; gap: 2px; font-size: 0.92rem; color: rgba(248, 244, 236, 0.74); margin-top: 20px; line-height: 1.6; }
.business-card strong { color: var(--cream); font-weight: 600; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { padding: 4px 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { font-size: var(--fs-h2); text-transform: lowercase; letter-spacing: -0.045em; }
.faq h2 .serif { color: var(--green); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2018' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast);
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq-item summary:hover::after { background-color: var(--green-light); }
.faq-item p { padding: 0 56px 24px 0; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-item p { padding-right: 0; } }

/* ---------- 404 ---------- */
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; }
.not-found__code { font-size: clamp(6rem, 22vw, 16rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.85; color: var(--green-light); }
.not-found h1 { font-size: var(--fs-h2); text-transform: lowercase; letter-spacing: -0.045em; margin: 16px 0 20px; }
.not-found h1 .serif { color: var(--green); }
.not-found p { max-width: 42ch; margin: 0 auto 36px; color: var(--ink-soft); }
.not-found .cta__actions { justify-content: center; }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.form-note { font-size: 0.92rem; color: var(--ink-soft); }
.form-note a { color: var(--ink); }

/* ---------- credit ---------- */
.made-by {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-light);
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248, 244, 236, 0.6);
}
.made-by a { display: inline-block; padding: 4px; border-radius: 4px; opacity: 0.85; transition: opacity var(--t-fast), transform var(--t-med) var(--ease-out); }
.made-by a:hover { opacity: 1; transform: translateY(-2px); }
.made-by img { width: auto; height: 72px; }
