/* Wesdesign – placeholder-site. Geen build-stap: dit bestand wordt direct geladen. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 80% 100%;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
  /* Huisstijl uit het beeldmerk: navy + geel. */
  --navy: #0d1f4d;
  --navy-deep: #081538;
  --navy-soft: #16306f;
  --yellow: #e5d04e;
  --yellow-soft: #f8f1c4;
  --paper: #ffffff;
  --paper-warm: #f7f6f1;
  --ink: #0d1f4d;
  --muted: #4b5578;
  --line: rgba(13, 31, 77, 0.12);

  --font-display: "Bricolage Grotesque", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--yellow);
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--paper);
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.nowrap {
  white-space: nowrap;
}

/* Koppen */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.25rem);
  font-stretch: 90%;
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  font-weight: 700;
  font-stretch: 95%;
  letter-spacing: -0.015em;
}

.display {
  font-size: clamp(2.5rem, 0.9rem + 3.9vw, 4.15rem);
  font-stretch: 82%;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.display em {
  font-style: normal;
}

/* Gele markeerstreep achter tekst. Gebruik: <em class="highlight">…</em> of <span class="highlight">…</span>.
   De streep tekent zich eenmalig van links naar rechts: in de hero na het inladen, in een sectie zodra het
   blok met .reveal in beeld komt. Zonder JavaScript of met "minder beweging" staat de streep er meteen. */
.highlight {
  background-image: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: 0.06em;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes highlight-in {
    from { background-size: 0% 100%; }
    to { background-size: 100% 100%; }
  }

  /* In de hero: na de verschijnanimatie van de tekst. */
  .enter .highlight {
    animation: highlight-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both;
  }

  /* In secties: wacht tot het blok zichtbaar is (klasse is-visible uit site.js). */
  html.js .reveal .highlight {
    background-size: 0% 100%;
  }

  html.js .reveal.is-visible .highlight {
    animation: highlight-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
  }
}

.kicker {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header: zwevende glas-pil (vast bovenaan, met ruimte eromheen). */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 1rem;
  pointer-events: none;
}

.glass-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(13, 31, 77, 0.07),
    0 4px 16px -4px rgba(13, 31, 77, 0.1),
    0 2px 4px -2px rgba(13, 31, 77, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.25rem 0;
}

.brand__mark {
  height: 2.4rem;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-weight: 600;
}

.site-nav a:not(.button) {
  padding: 0.5rem 0.25rem;
  text-decoration: none;
}

.site-nav a:not(.button):hover {
  text-decoration: underline;
}

.site-nav .button {
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--yellow);
}

.menu-toggle__close,
.menu-toggle.is-open .menu-toggle__open {
  display: none;
}

.menu-toggle.is-open .menu-toggle__close {
  display: block;
}

@media (max-width: 48rem) {
  .glass-nav {
    min-height: 4rem;
    padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  }

  .brand__mark {
    height: 2.1rem;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

/* Mobiel menu als popover (geen JavaScript nodig om te openen/sluiten). */

.mobile-menu {
  position: fixed;
  inset: 5.75rem var(--gutter) auto var(--gutter);
  width: auto;
  margin: 0;
  padding: 0.75rem;
  border: 0;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(13, 31, 77, 0.07),
    0 16px 40px -12px rgba(13, 31, 77, 0.25);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-0.5rem);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    display 0.25s allow-discrete,
    overlay 0.25s allow-discrete;
}

.mobile-menu:popover-open {
  opacity: 1;
  transform: none;
}

@starting-style {
  .mobile-menu:popover-open {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
}

.mobile-menu::backdrop {
  background: rgba(13, 31, 77, 0.2);
}

.mobile-menu nav {
  display: grid;
  gap: 0.25rem;
}

.mobile-menu a:not(.button) {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mobile-menu a:not(.button):hover {
  background: var(--yellow-soft);
}

.mobile-menu .button {
  margin-top: 0.5rem;
  justify-content: center;
}

@media (min-width: 48.01rem) {
  .mobile-menu:popover-open {
    display: none;
  }
}

/* Knoppen */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid var(--navy);
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
  color: var(--paper);
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.button--ghost:hover {
  background: var(--yellow-soft);
  border-color: var(--navy);
  color: var(--navy);
}

.button--small {
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --hero-pb: clamp(3rem, 8vh, 6rem);
  padding-block: calc(5.5rem + clamp(2.5rem, 7vh, 5.5rem)) var(--hero-pb);
  background: var(--paper);
}

.hero--short {
  padding-block: calc(5.5rem + clamp(3rem, 10vh, 6rem)) clamp(4rem, 12vh, 8rem);
}

/* Heel lichte foto van Delft (Oostpoort) over de hele hero, met een witte waas voor leesbaarheid. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/img/delft-1600.webp") center / cover no-repeat;
  opacity: 0.16;
}

@media (max-width: 60rem) {
  .hero::before {
    background-image: url("/assets/img/delft-960.webp");
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.25) 55%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, var(--paper) 100%);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: end;
}

.hero__text {
  align-self: center;
}

@media (min-width: 60rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 1fr);
  }
}

/* Vrijstaande foto, tegen de onderkant van de hero (de negatieve marge overbrugt de padding). */
.hero__photo {
  align-self: end;
  justify-self: center;
  width: min(100%, 26rem);
  margin-bottom: calc(-1 * var(--hero-pb));
  line-height: 0;
}

.hero__photo {
  position: relative;
}

.hero__photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 66%;
  margin-inline: auto;
  height: auto;
  max-height: 42rem;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 1.5rem 2rem rgba(13, 31, 77, 0.18));
}

/* Effecten rond de foto: drie lagen (achter, bolletjes, badges) die elk op eigen ritme zweven. */

.fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fx--back { z-index: 0; }
.fx--dots { z-index: 0; }
.fx--front { z-index: 2; }

.fx__circle {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3e47c 0%, var(--yellow) 60%, #d9c23a 100%);
  transform: translateX(-50%);
  animation: fx-breathe 7s ease-in-out infinite;
}

.fx__ring {
  position: absolute;
  left: 50%;
  bottom: -14%;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(13, 31, 77, 0.28);
  transform: translateX(-50%);
  animation: fx-spin 70s linear infinite;
  transform-origin: center;
}

.fx__dot {
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
  animation: fx-float 6s ease-in-out infinite;
}

.fx__dot--1 { width: 1.4rem; height: 1.4rem; left: 6%; top: 46%; background: var(--navy); animation-duration: 7s; }
.fx__dot--2 { width: 0.9rem; height: 0.9rem; left: 22%; top: 14%; animation-delay: -2s; }
.fx__dot--3 { width: 1.1rem; height: 1.1rem; right: 10%; top: 42%; animation-duration: 8s; animation-delay: -1s; }
.fx__dot--4 { width: 0.7rem; height: 0.7rem; right: 24%; top: 12%; background: var(--navy); animation-delay: -3.5s; }
.fx__dot--5 { width: 1.8rem; height: 1.8rem; right: 2%; top: 58%; animation-duration: 9s; animation-delay: -5s; }

.fx__badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px) saturate(1.6);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(13, 31, 77, 0.08),
    0 10px 24px -10px rgba(13, 31, 77, 0.35);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  white-space: nowrap;
  animation: fx-float 6s ease-in-out infinite;
}

.fx__badge svg {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0.25rem;
  border-radius: 50%;
  background: var(--yellow);
}

/* Posities: boven de armen alleen naast hoofd en schouders, onder de armen (vanaf ~64%) ook over het lichaam. */
.fx__badge--1 { left: 2%; top: 5%; animation-delay: -0.5s; }
.fx__badge--2 { right: 2%; top: 5%; animation-delay: -3s; animation-duration: 7s; }
.fx__badge--3 { left: -4%; top: 19%; animation-delay: -1.5s; animation-duration: 6.5s; }
.fx__badge--4 { right: -4%; top: 19%; animation-delay: -4.5s; }
.fx__badge--5 { left: -8%; top: 32%; animation-delay: -2.5s; animation-duration: 7.5s; }
.fx__badge--6 { right: -8%; top: 32%; animation-delay: -5.5s; animation-duration: 6.8s; }
.fx__badge--7 { left: 4%; top: 66%; animation-delay: -1s; animation-duration: 7.2s; }
.fx__badge--8 { right: 2%; top: 75%; animation-delay: -3.8s; }
.fx__badge--9 { left: 14%; top: 85%; animation-delay: -2.2s; animation-duration: 6.4s; }

@media (max-width: 60rem) {
  .hero__photo img { width: 58%; }
  .fx__circle { width: 60%; }
  .fx__ring { width: 78%; }
  .fx__badge { font-size: 0.8rem; padding: 0.45rem 0.75rem; gap: 0.4rem; }
  .fx__badge svg { width: 1.2rem; height: 1.2rem; }
  .fx__badge--3 { left: -2%; }
  .fx__badge--4 { right: -2%; }
  .fx__badge--5 { left: -4%; }
  .fx__badge--6 { right: -4%; }
}

@keyframes fx-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes fx-breathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.035; }
}

@keyframes fx-spin {
  to { rotate: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .fx__circle, .fx__ring, .fx__dot, .fx__badge { animation: none; }
}

@media (min-width: 60rem) {
  .hero__photo {
    justify-self: end;
    width: 100%;
    max-width: 36rem;
  }
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.eyebrow__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow__tag--soft {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.lead {
  max-width: 40rem;
  margin: 2.25rem 0 0;
  font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Secties */

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
}

.section > .wrap {
  position: relative;
  z-index: 1;
}

/* Achtergrond-decoratie per sectie: één grote stilstaande cirkel, afgesneden door de sectierand,
   plus drie kleine zwevende bolletjes. */

.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg__circle {
  position: absolute;
  width: clamp(22rem, 42vw, 44rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.22;
}

.bg__dot {
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
  animation: fx-float 7s ease-in-out infinite;
}

.bg__dot--1 { width: 1.2rem; height: 1.2rem; }
.bg__dot--2 { width: 0.75rem; height: 0.75rem; background: var(--navy); animation-delay: -2.5s; animation-duration: 8s; }
.bg__dot--3 { width: 2rem; height: 2rem; animation-delay: -4.5s; animation-duration: 9s; }

/* Diensten: cirkel rechts, afgesneden door de rechterrand */
.bg--a .bg__circle { right: -16%; top: 14%; }
.bg--a .bg__dot--1 { left: 6%; top: 18%; }
.bg--a .bg__dot--2 { left: 44%; top: 8%; }
.bg--a .bg__dot--3 { left: 10%; bottom: 10%; opacity: 0.6; }

/* Over (navy): cirkel linksonder, afgesneden door linker- en onderrand */
.bg--b .bg__circle { left: -12%; bottom: -30%; opacity: 0.14; }
.bg--b .bg__dot--1 { right: 10%; top: 12%; }
.bg--b .bg__dot--2 { left: 38%; top: 70%; background: rgba(255, 255, 255, 0.5); }
.bg--b .bg__dot--3 { right: 4%; bottom: 14%; opacity: 0.7; }

/* Contact: cirkel rechtsboven, afgesneden door de bovenrand */
.bg--c .bg__circle { right: 6%; top: -40%; }
.bg--c .bg__dot--1 { left: 50%; top: 16%; }
.bg--c .bg__dot--2 { left: 62%; bottom: 20%; }
.bg--c .bg__dot--3 { left: 4%; bottom: 8%; opacity: 0.6; }

@media (max-width: 60rem) {
  .bg__circle { opacity: 0.16; }
  .bg--a .bg__circle { right: -40%; }
  .bg--c .bg__circle { right: -20%; }
}

@media (prefers-reduced-motion: reduce) {
  .bg__dot { animation: none; }
}

.section--alt {
  background: var(--navy);
  color: var(--paper);
  border-top: 0;
}

.section--alt .kicker {
  color: var(--yellow);
}

.section--alt :focus-visible {
  outline-color: var(--yellow);
}

.section__head {
  max-width: 52rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

/* Diensten */

#diensten {
  background: var(--paper-warm);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 0.75rem;
  align-content: start;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    translate 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    scale 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

/* Hover alleen op apparaten met een muis; op touch zoomt niets (dat loopt uit beeld en ziet niemand). */
@media (hover: hover) and (pointer: fine) {
  .service:hover {
    z-index: 1;
    background: var(--navy);
    border-color: var(--navy);
    color: var(--paper);
    transform: scale(1.15);
    box-shadow: 0 2.5rem 3.5rem -1.25rem rgba(13, 31, 77, 0.6);
  }

  .service:hover p {
    color: rgba(255, 255, 255, 0.82);
  }
}


@media (prefers-reduced-motion: reduce) {
  .service,
  .service:hover {
    transition: none;
    transform: none;
  }
}

.service__top {
  display: flex;
  margin-bottom: 0.5rem;
}

.service__icon {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.75rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  transition: color 0.25s ease;
}

.service p {
  margin: 0;
  color: var(--muted);
  transition: color 0.25s ease;
}

/* Over */

.about {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 56rem) {
  .about {
    grid-template-columns: 1.2fr 1fr;
  }
}

.about__text h2 {
  margin-bottom: 1.75rem;
  font-size: clamp(1.9rem, 1rem + 2.8vw, 3.4rem);
}

.about__text p {
  margin: 0;
  max-width: 40rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  text-wrap: pretty;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  position: relative;
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.25rem 0.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--navy-deep);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    translate 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    scale 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

@media (hover: hover) and (pointer: fine) {
  .steps li:hover {
    z-index: 1;
    background: var(--paper);
    border-color: var(--paper);
    color: var(--navy);
    transform: scale(1.08);
    box-shadow: 0 2rem 3rem -1.25rem rgba(0, 0, 0, 0.5);
  }

  .steps li:hover span {
    color: var(--muted);
  }

  .steps li:hover::before {
    color: var(--navy);
  }
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  font-stretch: 80%;
  line-height: 1;
  color: var(--yellow);
  transition: color 0.3s ease;
}

.steps strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: inherit;
  transition: color 0.3s ease;
}

.steps span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s ease;
}

/* Contact */

.contact-title {
  max-width: 18ch;
}

.contact-mail {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 85%;
  font-size: clamp(1.75rem, 1rem + 4.5vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.15s ease;
}

.contact-mail:hover {
  color: var(--navy-soft);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 20rem));
  margin-top: 3rem;
}

.contact-grid p {
  margin: 0.25rem 0;
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

address {
  font-style: normal;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 2.5rem;
  font-size: 0.95rem;
}

.site-footer :focus-visible {
  outline-color: var(--yellow);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.company {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 0;
}

.company div {
  display: flex;
  gap: 0.4rem;
}

.company dt {
  font-weight: 600;
  color: var(--paper);
}

.company dt::after {
  content: ":";
}

.company dd {
  margin: 0;
}

.copyright {
  margin: 0;
}

/* Verschijn-animaties. Hero: bij het laden (puur CSS). Secties en kaarten: .reveal wordt door
   assets/js/reveal.js op .is-visible gezet zodra het element in beeld komt. Zonder JavaScript of met
   "minder beweging" blijft alles direct zichtbaar (de html.js-klasse ontbreekt dan). */

@media (prefers-reduced-motion: no-preference) {
  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(1.5rem);
    }
  }

  .enter {
    animation: enter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .enter--late {
    animation-delay: 0.25s;
  }

  /* :where() houdt de specificiteit op 0, zodat eigen transities/transforms van componenten
     (zoals de hover op .service) altijd winnen. */
  :where(html.js .reveal) {
    opacity: 0;
    translate: 0 2rem;
    scale: 0.985;
    transition:
      opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
      translate 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
      scale 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
  }

  :where(html.js .reveal.is-visible) {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
