/* E.N.S, Lier. Statische voorstelsite.
   Kleuren en letters komen van het visitekaartje: mat zwart, goudfolie, pleisterwit.
   Mobiel eerst: de basisregels zijn voor de gsm, de media queries bouwen op naar tablet en desktop. */

/* ── Lettertypes (zelf gehost, OFL) ─────────────────────────────────── */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  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;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Alleen voor het woordmerk E.N.S, zoals op het kaartje. */
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
/* Terugvallers met dezelfde maten, zodat de tekst niet verspringt als het lettertype binnenkomt. */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial");
  ascent-override: 85.79%;
  descent-override: 22.25%;
  line-gap-override: 0%;
  size-adjust: 112.83%;
}
@font-face {
  font-family: "Cinzel Fallback";
  src: local("Times New Roman");
  ascent-override: 71.31%;
  descent-override: 27.18%;
  line-gap-override: 0%;
  size-adjust: 136.86%;
}

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --paper: #f3f2ef;
  --plaster: #e6e4df;
  --ink: #161616;
  --muted: #55524d;
  --night: #141414;
  --coal: #262624;
  --coal-up: #33332f;
  --on-night: #f3f2ef;
  --on-night-muted: #b7b2a9;
  --gold: #c39a5a;
  --gold-strong: #d4b073;
  --danger: #a3261d;
  --focus: var(--ink);

  --font-sans: "Montserrat", "Montserrat Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-mark: "Cinzel", "Cinzel Fallback", Georgia, serif;

  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1.02rem + 0.15vw, 1.125rem);
  --step-lead: clamp(1.1875rem, 1.1rem + 0.55vw, 1.625rem);
  --step-head: clamp(1.875rem, 1.15rem + 2.7vw, 3.5rem);
  --step-display: clamp(2.125rem, 1rem + 4.2vw, 4.75rem);

  --margin: clamp(20px, 2.2vw, 32px);
  --gutter: clamp(16px, 1.7vw, 24px);
  --section: clamp(88px, 11vw, 192px);
  --header-h: 60px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
  --t-ui: 240ms;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 72px;
  }
}

/* ── Basis ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
main {
  flex: 1;
  display: block;
}
h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  font-weight: 500;
  text-wrap: balance;
  hyphens: none;
}
p,
li,
dd {
  text-wrap: pretty;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
address {
  font-style: normal;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.on-night {
  --focus: var(--gold);
  background: var(--night);
  color: var(--on-night);
}
.tabular {
  font-variant-numeric: tabular-nums;
}
[hidden] {
  display: none !important;
}
.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;
}

/* Skip-link: zichtbaar zodra hij focus krijgt. */
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 80;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}

/* ── Raster en type ─────────────────────────────────────────────────── */
.frame {
  padding-inline: var(--margin);
}
.t-small {
  font-size: var(--step-small);
  line-height: 1.45;
}
.t-lead {
  font-size: var(--step-lead);
  line-height: 1.35;
}
.t-head {
  font-size: var(--step-head);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.t-display {
  font-size: var(--step-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.muted {
  color: var(--muted);
}
.on-night .muted {
  color: var(--on-night-muted);
}
.measure {
  max-width: 36ch;
}
.section {
  padding-block: var(--section);
}
.bg-plaster {
  background: var(--plaster);
}

/* ── Knoppen en links ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--step-body);
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--t-press) var(--ease-out),
    background-color var(--t-hover) ease,
    color var(--t-hover) ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  flex: none;
}
.btn-sm {
  min-height: 44px;
  padding-inline: 1.25rem;
}
.btn-quiet {
  background: var(--coal);
  color: var(--on-night);
}
.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
.btn-wide {
  width: 100%;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--gold-strong);
  }
  .btn-quiet:hover {
    background: var(--coal-up);
  }
  .btn-ink:hover {
    background: var(--coal);
  }
}

.link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
  transition:
    text-decoration-color var(--t-hover) ease,
    color var(--t-hover) ease;
}
.link-shown {
  text-decoration-color: currentColor;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover {
    text-decoration-color: currentColor;
  }
  .link-shown:hover {
    text-decoration-color: transparent;
  }
}
/* Losse tekstlinks krijgen een aanraakhoogte van minstens 44 px. */
.tap {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.gold {
  color: var(--gold);
}
.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
@media (min-width: 640px) {
  .actions {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
  .actions .btn-wide {
    width: auto;
  }
}

/* ── Header ─────────────────────────────────────────────────────────────
   Plakt bovenaan op elke breedte. Op gsm en tablet: woordmerk, Bel, Offerte en het menu,
   allemaal binnen één tik. Op desktop: woordmerk, drie links, het nummer en Offerte vragen. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  flex: none;
  color: var(--gold);
}
.brand svg {
  width: auto;
  height: 22px;
}
.brand__name {
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1;
  letter-spacing: 0.06em;
}
.nav-desktop {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone,
.header-quote,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--t-press) var(--ease-out),
    background-color var(--t-hover) ease,
    color var(--t-hover) ease;
}
.header-phone:active,
.header-quote:active,
.menu-toggle:active {
  transform: scale(0.96);
}
.header-phone {
  background: var(--gold);
  color: var(--ink);
}
.header-quote {
  gap: 0;
  background: var(--coal);
  color: var(--on-night);
}
.menu-toggle {
  margin-right: -10px;
  padding: 0 10px;
  background: none;
  color: var(--on-night);
}
.menu-toggle svg {
  width: 26px;
  height: 26px;
}
.hp-long,
.hp-short {
  display: none;
}
@media (min-width: 420px) {
  .hp-short {
    display: inline;
  }
  .brand__name {
    font-size: 1.3125rem;
  }
  .brand svg {
    height: 24px;
  }
}
@media (min-width: 640px) {
  .site-header__row {
    gap: 16px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-phone,
  .header-quote {
    padding-inline: 16px;
  }
  .header-phone .hp-short {
    display: none;
  }
  .header-phone .hp-long,
  .header-quote .hp-long {
    display: inline;
  }
}
@media (hover: hover) and (pointer: fine) {
  .header-phone:hover {
    background: var(--gold-strong);
  }
  .header-quote:hover {
    background: var(--coal-up);
  }
}
@media (min-width: 1024px) {
  .brand {
    gap: 12px;
  }
  .brand svg {
    height: 30px;
  }
  .brand__name {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
  }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-desktop a {
    padding-block: 10px;
    font-weight: 500;
  }
  .nav-desktop a[aria-current="page"] {
    color: var(--gold);
    text-decoration-color: currentColor;
  }
  .header-actions {
    gap: 24px;
  }
  /* Op desktop is het nummer een gewone link en is Offerte vragen de knop. */
  .header-phone {
    min-height: 44px;
    padding: 0;
    gap: 8px;
    background: none;
    color: var(--on-night);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.22em;
  }
  .header-quote {
    padding-inline: 20px;
    background: var(--gold);
    color: var(--ink);
  }
  .menu-toggle {
    display: none;
  }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .header-phone:hover {
    background: none;
    text-decoration-color: currentColor;
  }
  .header-quote:hover {
    background: var(--gold-strong);
  }
}

/* ── Menu op gsm en tablet ──────────────────────────────────────────────
   Zonder JavaScript opent het via :target; met JavaScript via .is-open.
   De links staan onderaan, binnen bereik van de duim. */
.menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu:target,
.menu.is-open {
  display: flex;
}
.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  flex: none;
}
.menu-close {
  display: inline-flex;
}
.menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 36px;
  padding-top: 32px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.menu__list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.menu__list a[aria-current="page"] {
  color: var(--gold);
}
.menu__cta {
  display: grid;
  gap: 10px;
}
.menu__mail {
  color: var(--on-night-muted);
  overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
  .menu,
  .menu:target {
    display: none;
  }
}
html.menu-open {
  overflow: hidden;
}

/* ── Hero van de startpagina: het raam uit het logo dat openschuift ───
   Standaard (oudere browsers, beperkte beweging): de foto vult het scherm,
   met de kop linksonder op een neutrale waas. */
.hero {
  position: relative;
  --stage-h: max(480px, calc(100svh - var(--header-h)));
}
@media (min-width: 1024px) {
  .hero {
    --stage-h: max(560px, calc(100svh - var(--header-h)));
  }
}
.hero__stage {
  position: relative;
  height: var(--stage-h);
  overflow: clip;
}
.hero__picture {
  position: absolute;
  inset: 0;
  margin: 0;
  background: #d9d5cc;
}
.hero__photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  /* Neutrale waas onder de tekst op de foto: de enige toegestane overloop. */
  background: linear-gradient(to top, rgb(0 0 0 / 0.7) 0%, rgb(0 0 0 / 0.4) 40%, rgb(0 0 0 / 0) 66%); /* taste-skill-ignore */
}
.hero__mullions {
  display: none;
}
.hero__copy {
  position: absolute;
  left: var(--margin);
  right: var(--margin);
  bottom: clamp(24px, 5svh, 64px);
  display: grid;
  gap: 18px;
  max-width: 34rem;
}
.hero__title {
  font-size: clamp(2.375rem, 1rem + 4vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.hero__aside {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.hero__lead {
  max-width: 40ch;
  font-size: 1.125rem;
  line-height: 1.45;
}
/* Op gsm en tablet één grote belknop in het eerste scherm; op desktop Offerte vragen met het nummer ernaast. */
.hero__callwrap {
  width: 100%;
}
.hero__call {
  width: 100%;
}
.hero__cta {
  display: none;
}
@media (min-width: 640px) {
  .hero__call {
    width: auto;
  }
}
@media (min-width: 1024px) {
  .hero__lead {
    max-width: 26ch;
    font-size: var(--step-body);
  }
  .hero__callwrap {
    display: none;
  }
  .hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
  }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero {
      height: calc(var(--stage-h) * 1.8);
      --hl: clamp(2.375rem, 10.4vw, 4rem);
      --title-top: 20px;
      --win-top: calc(var(--title-top) + var(--hl) * 1.96 + 24px);
      --aside-space: 216px;
      --win-h: calc(var(--stage-h) - var(--win-top) - var(--aside-space));
      --win-w: min(calc(100vw - 2 * var(--margin)), calc(var(--win-h) * 1.3));
      --win-bottom: var(--aside-space);
    }
    .hero__stage {
      position: sticky;
      top: var(--header-h);
    }
    .hero__picture {
      clip-path: inset(var(--win-top) calc(50% - var(--win-w) / 2) var(--win-bottom));
      animation: hero-open linear both;
      animation-timeline: scroll(root);
      animation-range: 0px calc(var(--stage-h) * 0.7);
    }
    /* De foto zet zich alleen op desktop: op gsm en tablet blijft alles binnen de schermbreedte. */
    @media (min-width: 1024px) {
      .hero__picture img {
        animation: hero-settle linear both;
        animation-timeline: scroll(root);
        animation-range: 0px calc(var(--stage-h) * 0.7);
      }
    }
    .hero__scrim {
      display: none;
    }
    .hero__mullions {
      display: block;
      position: absolute;
      inset: 0;
      animation: hero-fade linear both;
      animation-timeline: scroll(root);
      animation-range: 0px calc(var(--stage-h) * 0.26);
    }
    .hero__mullions::before,
    .hero__mullions::after {
      content: "";
      position: absolute;
      background: var(--night);
    }
    .hero__mullions::before {
      left: calc(50% - 5px);
      top: 0;
      bottom: 0;
      width: 10px;
    }
    .hero__mullions::after {
      left: 0;
      right: 0;
      top: calc(var(--win-top) + var(--win-h) / 2 - 5px);
      height: 10px;
    }
    .hero__copy {
      inset: 0;
      max-width: none;
      display: block;
      animation: hero-text-out linear both;
      animation-timeline: scroll(root);
      animation-range: 0px 120px;
    }
    .hero__title {
      position: absolute;
      left: var(--margin);
      right: var(--margin);
      top: var(--title-top);
      font-size: var(--hl);
    }
    .hero__aside {
      position: absolute;
      left: var(--margin);
      right: var(--margin);
      bottom: 20px;
      gap: 14px;
    }

    @media (min-width: 420px) {
      .hero {
        --aside-space: 190px;
      }
    }
    @media (min-width: 640px) and (max-width: 1023px) {
      .hero {
        --title-top: 32px;
        --aside-space: 196px;
      }
      .hero__aside {
        bottom: 32px;
      }
    }

    @media (min-width: 1024px) {
      .hero {
        height: calc(var(--stage-h) * 2);
        --win-w: min(36vw, calc((var(--stage-h) - 150px) / 1.25));
        --win-h: calc(var(--win-w) * 1.25);
        --win-top: calc((var(--stage-h) - var(--win-h)) / 2);
        --win-bottom: calc(var(--stage-h) - var(--win-top) - var(--win-h));
        --side: calc(50% - var(--win-w) / 2 - var(--margin) * 2);
      }
      .hero__title {
        top: auto;
        bottom: var(--win-bottom);
        right: auto;
        width: var(--side);
        font-size: clamp(2.5rem, 0.4rem + 3.4vw, 3.75rem);
        margin-bottom: -0.12em;
      }
      .hero__aside {
        left: auto;
        right: var(--margin);
        bottom: var(--win-bottom);
        width: min(var(--side), 26rem);
      }
    }
  }
}

@keyframes hero-open {
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes hero-settle {
  from {
    transform: scale(1.14);
  }
  to {
    transform: none;
  }
}
@keyframes hero-fade {
  to {
    opacity: 0;
  }
}
@keyframes hero-text-out {
  to {
    opacity: 0;
    transform: translateY(-28px);
    visibility: hidden;
  }
}

/* ── Vier vakken (startpagina) ──────────────────────────────────────── */
.trades__grid {
  display: grid;
  gap: 0;
}
.trades__mark {
  display: none;
}
.trades__title {
  padding-bottom: 48px;
}
.trades__list {
  display: grid;
  gap: 64px;
}
.trade {
  display: grid;
  gap: 24px;
}
.trade__title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trade__title svg {
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--gold);
}
.trade__text p {
  margin-top: 12px;
  max-width: 36ch;
}
.trade__text p.trade__more {
  margin-top: 8px;
}
.trade__more a {
  font-weight: 600;
}
.trade__photo {
  overflow: hidden;
}
.trade__photo img {
  width: 100%;
  object-fit: cover;
}
.trade:nth-child(1) .trade__photo img {
  aspect-ratio: 4 / 3;
}
.trade:nth-child(2) .trade__photo {
  width: 78%;
  margin-left: auto;
}
.trade:nth-child(2) .trade__photo img {
  aspect-ratio: 4 / 5;
}
.trade:nth-child(3) .trade__photo {
  width: 64%;
}
.trade:nth-child(3) .trade__photo img {
  aspect-ratio: 4 / 5;
}
.trade:nth-child(4) .trade__photo img {
  aspect-ratio: 4 / 3;
}
@media (min-width: 640px) {
  .trades__list {
    gap: 112px;
  }
  .trade {
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
    gap: var(--gutter);
    align-items: start;
  }
  .trade .trade__photo {
    width: 100%;
    margin-left: 0;
  }
  .trade:nth-child(1) .trade__photo img {
    aspect-ratio: 4 / 5;
  }
  .trade:nth-child(2) .trade__photo img {
    aspect-ratio: 3 / 2;
  }
  .trade:nth-child(3) .trade__photo {
    width: 72%;
    margin-left: auto;
  }
  .trade:nth-child(3) .trade__photo img {
    aspect-ratio: 1;
  }
}
@media (min-width: 1024px) {
  .trades__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .trades__mark {
    display: block;
    grid-column: span 4;
  }
  .trades__mark-sticky {
    position: sticky;
    top: calc(var(--header-h) + 24vh);
    padding-right: 3vw;
    color: var(--ink);
  }
  .trades__mark svg {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  .trades__body {
    grid-column: span 8;
  }
  .trades__title {
    display: flex;
    align-items: center;
    min-height: 32svh;
    padding-bottom: 96px;
  }
  .trades__list {
    gap: 112px;
  }
  .trade__title svg {
    display: none;
  }
  .trade {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .trade__text {
    grid-column: span 5;
  }
  .trade .trade__photo,
  .trade:nth-child(3) .trade__photo {
    grid-column: 6 / span 3;
    margin-left: auto;
  }
  .trade:nth-child(1) .trade__photo {
    width: 17vw;
  }
  .trade:nth-child(2) .trade__photo {
    width: 22vw;
  }
  .trade:nth-child(3) .trade__photo {
    width: 13vw;
  }
  .trade:nth-child(4) .trade__photo {
    width: 20vw;
  }
}
/* Het huisje uit het logo: elk deel licht op bij zijn vak. */
.house-part {
  transition: opacity 320ms var(--ease-out);
}
[data-active] .house-part {
  opacity: 0.22;
}
[data-active="wall"] .house-part--wall,
[data-active="window"] .house-part--window,
[data-active="door"] .house-part--door,
[data-active="roof"] .house-part--roof {
  opacity: 1;
}

/* ── Rekenhulp ──────────────────────────────────────────────────────── */
.calc__grid {
  display: grid;
  gap: 32px;
}
.calc__intro p {
  margin-top: 16px;
  max-width: 40ch;
  color: var(--on-night-muted);
}
.calc__drawing {
  background: var(--coal);
  aspect-ratio: 4 / 3;
  padding: 4px;
}
.calc__drawing svg {
  width: 100%;
  height: 100%;
}
.calc__form {
  display: grid;
  gap: 28px;
}
.calc__modes {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  height: 100%;
  padding: 6px 8px;
  background: var(--coal);
  color: var(--on-night);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  transition:
    background-color var(--t-hover) ease,
    color var(--t-hover) ease;
}
.choice input:checked + span {
  background: var(--gold);
  color: var(--ink);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.calc__dims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.calc label,
.calc .label {
  display: block;
  font-size: var(--step-small);
  color: var(--on-night-muted);
}
.calc__input {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid var(--on-night-muted);
  border-radius: 0;
  background: var(--coal);
  color: var(--on-night);
  font-size: var(--step-lead);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
  transition: border-color var(--t-hover) ease;
}
.calc__input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-bottom-color: var(--gold);
}
.calc__input[aria-invalid="true"] {
  border-bottom-color: var(--gold);
}
.calc__input::-webkit-inner-spin-button,
.calc__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc__error {
  margin-top: 6px;
  font-size: var(--step-small);
  color: var(--gold);
}
.calc__steppers {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.stepper__row {
  display: flex;
  align-items: center;
  margin-top: 6px;
}
.stepper__btn {
  width: 52px;
  min-height: 52px;
  padding: 0;
  font-size: var(--step-lead);
}
.stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.stepper__value {
  width: 52px;
  min-height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-night);
  text-align: center;
  font-size: var(--step-lead);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper__value::-webkit-inner-spin-button,
.stepper__value::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc__total {
  display: block;
  color: var(--gold);
  font-size: var(--step-head);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.calc__detail {
  display: block;
  margin-top: 8px;
  color: var(--on-night-muted);
}
.calc__note {
  margin-top: 8px;
  max-width: 52ch;
  color: var(--on-night-muted);
}
.calc__actions {
  display: grid;
  gap: 10px;
}
.calc__actions .btn {
  min-height: 60px;
}
@media (min-width: 640px) {
  .calc__actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .calc__dims {
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .calc__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 88svh;
    align-items: center;
  }
  .calc__drawing {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-right: 40px;
    aspect-ratio: 1;
    padding: 16px;
  }
  .calc__intro,
  .calc__form {
    grid-column: 2;
    padding-left: 40px;
  }
  .calc__intro {
    align-self: end;
    padding-bottom: 36px;
  }
  .calc__form {
    align-self: start;
  }
  .calc__actions .btn {
    min-height: 72px;
  }
}

/* ── Zo gaat het ────────────────────────────────────────────────────── */
.process__grid {
  display: grid;
  gap: 56px;
}
.stage {
  display: grid;
  gap: 20px;
}
.stage figure {
  overflow: hidden;
}
.stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage p {
  max-width: 36ch;
}
.stage p strong {
  font-weight: 600;
}
.stage--1 figure {
  aspect-ratio: 4 / 5;
}
.stage--2 {
  width: 66%;
  margin-left: auto;
}
.stage--2 figure {
  aspect-ratio: 1;
}
.stage--3 {
  width: 82%;
}
.stage--3 figure {
  aspect-ratio: 16 / 10;
}
@media (min-width: 640px) {
  .stage--1 {
    width: 72%;
  }
  .stage--2 {
    width: 56%;
  }
  .stage--3 {
    width: 72%;
  }
}
@media (min-width: 1024px) {
  .process__grid {
    --col: calc((100vw - 2 * var(--margin) - 11 * var(--gutter)) / 12);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 0;
    align-items: start;
  }
  .process__grid > * {
    grid-row: 1;
  }
  .stage {
    display: contents;
  }
  .process__title {
    grid-column: 9 / span 4;
  }
  .stage--1 figure {
    grid-column: 1 / span 4;
    grid-row: 1;
    aspect-ratio: 3 / 4;
  }
  .stage--1 p {
    grid-column: 5 / span 3;
    grid-row: 1;
  }
  .stage--2 figure {
    grid-column: 6 / span 3;
    grid-row: 1;
    margin-top: 260px;
  }
  .stage--2 p {
    grid-column: 9 / span 3;
    grid-row: 1;
    margin-top: 260px;
  }
  .stage--3 figure,
  .stage--3 p {
    grid-row: 1;
    margin-top: calc(260px + 3 * var(--col) + 2 * var(--gutter) + 180px);
  }
  .stage--3 figure {
    grid-column: 8 / span 5;
  }
  .stage--3 p {
    grid-column: 4 / span 4;
    padding-right: 24px;
  }
}

/* ── Een zaak uit Lier ──────────────────────────────────────────────── */
.about__lead {
  margin-top: 20px;
  max-width: 44ch;
}
.about__grid {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}
.about__photo {
  overflow: hidden;
}
.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about__note {
  margin-top: 20px;
  max-width: 40ch;
}
.about__map {
  aspect-ratio: 13 / 10;
  padding: 8px;
  background: var(--night);
}
.about__map svg {
  width: 100%;
  height: 100%;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px var(--gutter);
  margin-top: 24px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin-top: 2px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .about__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gutter);
    align-items: start;
  }
  .about__side .facts {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
    margin-top: 72px;
  }
  .about__main {
    grid-column: span 8;
    position: relative;
  }
  .about__photo img {
    aspect-ratio: 16 / 10;
  }
  .about__note {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
    width: 340px;
    padding: 0 0 24px 24px;
    background: var(--plaster);
  }
  .about__side {
    grid-column: span 4;
  }
  .about__map {
    aspect-ratio: 4 / 3;
    padding: 12px;
  }
}

/* ── Vragen naast de film ───────────────────────────────────────────── */
.faq__grid {
  display: grid;
  gap: 56px;
}
.faq__contact {
  display: grid;
  gap: 2px;
  margin-top: 24px;
}
.faq__list {
  margin-top: 40px;
}
.faq__cta {
  margin-top: 48px;
}
.faq__media {
  position: relative;
  margin-bottom: 40px;
}
.faq__video {
  overflow: hidden;
  width: 78%;
}
.faq__video video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.faq__inset {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 42%;
  border: 6px solid var(--night);
  overflow: hidden;
}
.faq__inset img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .faq__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .faq__text {
    grid-column: span 5;
  }
  .faq__media {
    grid-column: 8 / span 5;
    align-self: start;
    margin-top: calc(-1 * var(--section) - 0px);
    margin-bottom: 80px;
  }
  .faq__video {
    width: 100%;
  }
  .faq__inset {
    right: auto;
    left: calc(40px - 33%);
    width: 33%;
  }
}

/* Vragen als <details>: geen lijnen ertussen, alleen ruimte. */
.qa-list {
  display: grid;
  gap: 16px;
}
.qa summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  padding-block: 6px;
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.4em;
  transition: transform var(--t-ui) var(--ease-out);
}
.qa[open] summary svg {
  transform: rotate(180deg);
}
.qa p {
  margin-top: 8px;
  max-width: 52ch;
}
.on-night .qa p {
  color: var(--on-night);
}
@media (min-width: 1024px) {
  .qa-list {
    gap: 24px;
  }
}

/* ── Afsluiter met foto ─────────────────────────────────────────────── */
.closing__photo {
  height: 62svh;
  min-height: 340px;
  overflow: hidden;
}
.closing__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}
.closing__text {
  padding-top: 40px;
  padding-bottom: var(--section);
}
.closing__text p {
  margin-top: 16px;
  max-width: 34ch;
}
.closing__text .actions {
  margin-top: 28px;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .closing__text > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--gutter);
  }
  .closing__text h2 {
    grid-row: 1 / span 2;
  }
  .closing__text p {
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .closing {
    position: relative;
  }
  .closing__photo {
    height: 90svh;
  }
  .closing__text {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding-top: 0;
    padding-bottom: 0;
  }
  .closing__text > div {
    grid-column: 9 / span 4;
    align-self: end;
    padding-bottom: 12svh;
  }
}

/* ── Dienstpagina's ─────────────────────────────────────────────────── */
.page-hero__grid {
  display: grid;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.page-hero__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
}
.page-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.125rem, 0.6rem + 6.4vw, 4.75rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.page-hero__aside {
  display: grid;
  align-content: end;
  gap: 24px;
}
.page-hero__aside p {
  max-width: 34ch;
}
.page-hero__call {
  width: 100%;
}
.page-hero__cta {
  display: none;
}
@media (min-width: 640px) {
  .page-hero__call {
    width: auto;
    justify-self: start;
  }
}
.page-hero__photo {
  height: 46svh;
  min-height: 280px;
  overflow: hidden;
}
.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .page-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding-top: 96px;
    padding-bottom: 80px;
  }
  .page-hero__head {
    grid-column: span 7;
  }
  .page-hero__aside {
    grid-column: 9 / span 4;
  }
  .page-hero__aside p {
    font-size: var(--step-body);
  }
  .page-hero__call {
    display: none;
  }
  .page-hero__cta {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .page-hero__photo {
    height: 64svh;
  }
}

.svc-list__grid {
  display: grid;
  gap: 48px;
}
.svc-list__intro p {
  margin-top: 16px;
  max-width: 36ch;
}
.svc-list__media {
  margin-top: 32px;
  overflow: hidden;
}
.svc-list__media img,
.svc-list__media video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.svc-list__media video {
  aspect-ratio: 4 / 5;
}
.svc-items {
  display: grid;
  gap: 40px;
}
.svc-items h3 {
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1.3;
}
.svc-items p {
  margin-top: 8px;
  max-width: 48ch;
}
/* Op gsm en tablet eerst wat wij doen, daarna het beeld. */
@media (max-width: 1023px) {
  .svc-list__grid {
    gap: 0;
  }
  .svc-list__intro,
  .svc-list__sticky {
    display: contents;
  }
  .svc-items {
    order: 2;
    margin-top: 40px;
  }
  .svc-list__media {
    order: 3;
    margin-top: 48px;
  }
}
@media (min-width: 640px) {
  .svc-list__media video {
    aspect-ratio: 4 / 3;
  }
}
@media (min-width: 1024px) {
  .svc-list__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .svc-list__intro {
    grid-column: span 4;
  }
  .svc-list__sticky {
    position: sticky;
    top: calc(var(--header-h) + 10vh);
  }
  .svc-list__media {
    margin-top: 40px;
  }
  .svc-list__media video {
    aspect-ratio: 4 / 5;
  }
  .svc-items {
    grid-column: 6 / span 7;
    gap: 64px;
  }
}

/* Ramen en deuren: raam en dagkant in één afspraak, met het huisje uit het logo. */
.oneshot__grid {
  display: grid;
  gap: 48px;
}
.oneshot__text p {
  margin-top: 24px;
  max-width: 40ch;
  color: var(--on-night-muted);
}
.oneshot__mark {
  color: var(--gold);
}
.oneshot__mark svg {
  width: 100%;
  height: auto;
}
@media (min-width: 1024px) {
  .oneshot__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: center;
  }
  .oneshot__text {
    grid-column: span 6;
  }
  .oneshot__mark {
    grid-column: 8 / span 5;
  }
}

.svc-qa__grid {
  display: grid;
  gap: 40px;
}
.svc-qa__photo {
  width: 70%;
  margin-top: 32px;
  overflow: hidden;
}
.svc-qa__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .svc-qa__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .svc-qa__head {
    grid-column: span 4;
  }
  .svc-qa__photo {
    width: 100%;
    margin-top: 40px;
  }
  .svc-qa__list {
    grid-column: 6 / span 7;
    padding-top: 12px;
  }
}
/* Op de gsm komen de vragen vóór de foto. */
@media (max-width: 1023px) {
  .svc-qa__head {
    display: contents;
  }
  .svc-qa__photo {
    order: 3;
    margin-top: 0;
  }
}

.svc-close__grid {
  display: grid;
  gap: 48px;
}
.svc-close__text p {
  margin-top: 20px;
  max-width: 36ch;
}
.svc-close__text .actions {
  margin-top: 32px;
}
.svc-close__photo {
  overflow: hidden;
}
.svc-close__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .svc-close__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: end;
  }
  .svc-close__text {
    grid-column: span 6;
  }
  .svc-close__photo {
    grid-column: 8 / span 5;
  }
}

/* ── Offertepagina ──────────────────────────────────────────────────── */
.quote-hero__grid {
  display: grid;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 48px;
}
.quote-hero h1 {
  font-size: var(--step-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.quote-hero p {
  max-width: 34ch;
}
.quote-hero__aside {
  display: grid;
  gap: 24px;
}
.quote-hero__call {
  width: 100%;
}
@media (min-width: 640px) {
  .quote-hero__call {
    width: auto;
    justify-self: start;
  }
}
@media (min-width: 1024px) {
  .quote-hero__call {
    display: none;
  }
}
@media (min-width: 1024px) {
  .quote-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding-top: 96px;
    padding-bottom: 80px;
  }
  .quote-hero h1 {
    grid-column: span 7;
  }
  .quote-hero__aside {
    grid-column: 9 / span 4;
    align-self: end;
  }
  .quote-hero p {
    font-size: var(--step-body);
  }
}

.quote__grid {
  display: grid;
  gap: 64px;
}
.quote__intro {
  margin-top: 16px;
  max-width: 52ch;
}
.quote__form {
  margin-top: 36px;
}
.direct {
  padding: 28px 24px;
}
.direct h2 {
  font-size: var(--step-lead);
  font-weight: 500;
}
.direct address {
  display: grid;
  gap: 2px;
  margin-top: 16px;
}
.direct__steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.direct h2 + .direct__steps {
  margin-top: 14px;
}
.direct__next {
  margin-top: 36px;
}
@media (min-width: 1024px) {
  .quote__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .quote__main {
    grid-column: span 7;
  }
  .quote__side {
    grid-column: 9 / span 4;
  }
  .direct {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    padding: 36px;
  }
}

/* Formulier: gevulde velden met een stevige onderrand, zoals een muur met een plint. */
.form {
  display: grid;
  gap: 26px;
}
.form__row {
  display: grid;
  gap: 26px;
}
@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
    gap: 26px var(--gutter);
  }
}
.field-label {
  display: block;
  font-weight: 500;
}
.field-label .opt {
  font-weight: 400;
  color: var(--muted);
}
.field-hint {
  margin-top: 4px;
  color: var(--ink);
}
.field {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: var(--plaster);
  color: var(--ink);
  font-size: var(--step-body);
  transition:
    background-color var(--t-hover) ease,
    border-color var(--t-hover) ease;
}
.field:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  background: #fff;
}
.field[aria-invalid="true"] {
  border-bottom-color: var(--danger);
}
textarea.field {
  min-height: 9rem;
  resize: vertical;
}
.field-error {
  margin-top: 8px;
  color: var(--danger);
  font-weight: 500;
}
.kinds {
  margin: 0;
  padding: 0;
  border: 0;
}
.kinds legend {
  padding: 0;
  font-weight: 500;
}
.kinds__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.kind {
  position: relative;
  cursor: pointer;
}
.kind input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.kind span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--plaster);
  font-weight: 500;
  transition:
    background-color var(--t-hover) ease,
    color var(--t-hover) ease;
}
.kind input:checked + span {
  background: var(--ink);
  color: var(--paper);
}
.kind input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.form__summary {
  padding: 18px 20px;
  background: var(--plaster);
}
.form__summary:focus-visible {
  outline: 2px solid var(--ink);
}
.form__summary h2 {
  font-size: var(--step-body);
  font-weight: 600;
}
.form__summary ul {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}
.form__summary a {
  color: var(--danger);
}
.form__hp {
  position: absolute;
  width: 1px;
  height: 1px; /* taste-skill-ignore: verborgen honeypotveld, geen lijn */
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.form__sent {
  padding: 32px 24px;
}
.form__sent:focus {
  outline: none;
}
.form__sent h2 {
  font-size: var(--step-head);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.form__sent p {
  margin-top: 16px;
  max-width: 42ch;
  color: var(--on-night-muted);
}
.form__sent .actions {
  margin-top: 28px;
}
@media (min-width: 1024px) {
  .form__sent {
    padding: 48px;
  }
}

/* Waarvoor u ons belt: vier vakken in ongelijke panelen. */
.band__title {
  margin-bottom: 40px;
}
.band__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.band__item:nth-child(2) {
  width: 76%;
  margin-left: auto;
}
.band__item:nth-child(3) {
  width: 84%;
}
.band__item:nth-child(4) {
  width: 68%;
  margin-left: auto;
}
.band__item a {
  display: block;
}
.band__item figure {
  overflow: hidden;
}
.band__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.band__label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 12px;
  font-size: var(--step-lead);
  font-weight: 500;
}
.band__label svg {
  width: 24px;
  height: 24px;
  flex: none;
}
@media (hover: hover) and (pointer: fine) {
  .band__item a:hover img {
    transform: scale(1.03);
  }
  .band__item a:hover .link {
    text-decoration-color: currentColor;
  }
}
@media (min-width: 1024px) {
  .band__title {
    padding-left: calc((100% - 11 * var(--gutter)) / 12 * 2 + 2 * var(--gutter));
    margin-bottom: 64px;
  }
  .band__list {
    flex-direction: row;
    gap: 8px;
  }
  .band__item,
  .band__item:nth-child(n) {
    width: auto;
    margin-left: 0;
  }
  .band__item:nth-child(1) {
    flex: 34;
  }
  .band__item:nth-child(2) {
    flex: 22;
  }
  .band__item:nth-child(3) {
    flex: 26;
  }
  .band__item:nth-child(4) {
    flex: 18;
  }
  .band__item img {
    aspect-ratio: auto;
    height: 44svh;
  }
}

/* ── Footer: de achterkant van het visitekaartje ─────────────────────── */
.site-footer {
  padding-top: 24px;
  padding-bottom: 40px;
  background: var(--paper);
}
.card {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
  padding: 32px 24px 40px;
}
.card__tower {
  position: absolute;
  right: 24px;
  top: 32px;
  width: 64px;
  padding: 5px;
  background: var(--paper);
}
.card__tower img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.card__mark {
  color: var(--gold);
}
.card__mark svg {
  width: auto;
  height: 34px;
}
.card__grid {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}
.card__name {
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.card__grid h2 {
  margin-top: 24px;
  font-size: var(--step-lead);
  font-weight: 500;
}
.card__grid p {
  margin-top: 12px;
  max-width: 36ch;
}
.card__owner {
  margin-top: 24px;
}
.card__contact {
  display: grid;
  align-content: start;
  gap: 4px;
  font-size: var(--step-lead);
}
.card__contact a {
  width: fit-content;
  overflow-wrap: anywhere;
}
.card__bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}
.card__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.card__nav a {
  color: var(--on-night-muted);
}
.legal {
  display: grid;
  gap: 12px;
  max-width: 1180px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: var(--step-small);
  line-height: 1.5;
  text-align: center;
}
.legal p {
  max-width: 60ch;
  margin-inline: auto;
}
.legal p:first-child {
  color: var(--ink);
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
@media (min-width: 640px) {
  .card {
    padding: 40px 40px 48px;
  }
  .card__tower {
    right: 40px;
    top: 40px;
  }
  .card__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .card__bottom .btn {
    width: auto;
    flex: none;
  }
}
@media (min-width: 1024px) {
  .site-footer {
    padding-bottom: 56px;
  }
  .card {
    padding: 48px 64px 56px;
  }
  .card__tower {
    right: 64px;
    top: 48px;
    width: 88px;
  }
  .card__mark svg {
    height: 44px;
  }
  .card__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 56px;
  }
  .card__name {
    font-size: 2.75rem;
  }
  .card__bottom {
    margin-top: 64px;
  }
}

/* ── 404 ────────────────────────────────────────────────────────────── */
.nf p {
  margin-top: 24px;
  max-width: 40ch;
  color: var(--on-night-muted);
}
.nf .actions {
  margin-top: 40px;
}

/* ── Beweging ───────────────────────────────────────────────────────────
   Zonder JavaScript of bij beperkte beweging staat alles meteen goed. */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.line > span {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 700ms var(--ease-out),
      transform 900ms var(--ease-expo);
    transition-delay: var(--d, 0ms);
  }
  /* Het masker zit op het beeld zelf, niet op het kader, zodat de waarnemer het kader blijft zien. */
  .js [data-reveal="mask"] {
    opacity: 1;
    transform: none;
  }
  .js [data-reveal="mask"] > * {
    clip-path: inset(0 0 100% 0);
    transform: scale(1.1);
    transition:
      clip-path 1100ms var(--ease-in-out),
      transform 1500ms var(--ease-soft);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
  .js [data-reveal="mask"].is-in > * {
    clip-path: inset(0 0 0 0);
    transform: none;
  }

  /* Laadreeks bovenaan elke pagina: koplijnen stijgen uit hun masker, zin en knop volgen. */
  .js [data-line] {
    transform: translateY(105%);
    animation: line-up 900ms var(--ease-expo) forwards;
    animation-delay: calc(120ms + var(--i, 0) * 100ms);
  }
  .js [data-load] {
    opacity: 0;
    transform: translateY(14px);
    animation: load-rise 600ms var(--ease-out) forwards;
    animation-delay: var(--d, 420ms);
  }
  .js [data-load-fade] {
    opacity: 0;
    animation: load-fade 1000ms var(--ease-out) 150ms forwards;
  }
}
@keyframes line-up {
  to {
    transform: none;
  }
}
@keyframes load-rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes load-fade {
  to {
    opacity: 1;
  }
}

/* Langzame drift op een grote foto, gekoppeld aan de scroll. De foto is iets hoger dan haar kader
   en schuift alleen verticaal, zodat ze nooit buiten de schermbreedte komt. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift,
    .page-hero__photo .drift,
    .closing__photo .drift {
      height: 110%;
      animation: drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}
@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-9%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
  .btn:active {
    transform: none;
  }
}
