/* ==========================================================================
   Van Hoffe BTC — stylesheet
   Zwart/wit met één accentkleur (petrol). Fonts worden lokaal gehost.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0b0b0c;
  --ink: #141414;
  --text: #1c1c1c;
  --muted: #5e5e5e;
  --line: #e2e2df;
  --bg: #ffffff;
  --bg-alt: #f4f4f2;

  /* Accent: één kleur, in een donkere tint (op wit) en een lichte tint (op zwart) */
  --accent: #0f766e;
  --accent-light: #2dd4bf;

  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.68);
  --line-dark: rgba(255, 255, 255, 0.16);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(72px, 10vw, 128px);
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.dark :focus-visible {
  outline-color: var(--accent-light);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--black);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid var(--black);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--black);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: #fff;
}

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--black);
}

.btn-light:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--black);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Header & navigatie
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-name strong {
  font-weight: 800;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #3a3a3a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 12px;
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 22px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.nav-toggle-bars span:nth-child(1) {
  top: 0;
}

.nav-toggle-bars span:nth-child(2) {
  top: 6px;
}

.nav-toggle-bars span:nth-child(3) {
  top: 12px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* absolute i.p.v. fixed: de backdrop-filter van de header maakt die header het containing block */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 16px var(--gutter) 32px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    display: block;
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    color: var(--accent);
  }

  .nav-list li.nav-cta-item {
    border-bottom: 0;
    padding-top: 24px;
  }

  .nav-cta {
    width: 100%;
    margin-left: 0;
    min-height: 54px;
    font-size: 1rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* --------------------------------------------------------------------------
   Gedeelde sectie-elementen
   -------------------------------------------------------------------------- */

.section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.dark {
  background: var(--black);
  color: var(--on-dark);
}

.dark h1,
.dark h2,
.dark h3 {
  color: var(--on-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.dark .eyebrow {
  color: var(--accent-light);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-intro {
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
}

.dark .section-intro {
  color: var(--on-dark-muted);
}

@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: clamp(40px, 7vw, 96px) 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px 64px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.625rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 750;
}

.hero-title .accent {
  display: block;
  color: var(--accent);
}

.hero-lead {
  max-width: 34em;
  margin: 28px 0 36px;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: #3d3d3d;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-figure {
  position: relative;
  margin: 0;
  max-width: 480px;
  justify-self: end;
}

.hero-figure img {
  width: 100%;
}

.hero-badge {
  position: absolute;
  left: 0;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--black);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.35;
}

.hero-badge svg {
  width: 22px;
  height: 22px;
  color: var(--accent-light);
  flex-shrink: 0;
}

.hero-badge strong {
  display: block;
  font-weight: 650;
}

.hero-badge span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--ink);
  list-style: none;
}

.fact {
  padding: 24px 24px 28px 0;
}

.fact + .fact {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.fact-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.fact-link .fact-value {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.fact-link:hover .fact-value {
  color: var(--accent);
}

.fact-label {
  display: block;
  margin-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    justify-self: start;
    max-width: 420px;
    order: -1;
    width: 72%;
  }

  .hero-badge {
    left: auto;
    right: -12%;
  }
}

@media (max-width: 720px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .hero-figure {
    width: 70%;
  }

  .hero .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .fact,
  .fact + .fact {
    padding-right: 12px;
  }

  .fact + .fact {
    padding-left: 16px;
  }

  .fact:nth-child(3) {
    padding-left: 0;
  }

  .hero-badge {
    right: -18%;
    padding: 10px 14px;
  }

  .btn-group .btn {
    flex: 1 1 100%;
  }
}

/* --------------------------------------------------------------------------
   Diensten
   -------------------------------------------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.service {
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.service-number {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.service-title {
  margin: 14px 0 14px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.service p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin-top: 20px;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--line);
  font-size: 0.96875rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.service-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 14px 16px;
  background: var(--bg-alt);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.service .check-list {
  margin-bottom: 24px;
}

.service-note svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .services {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* --------------------------------------------------------------------------
   Over mij
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 80px;
}

.about-aside {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.motto {
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.motto blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.motto figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}

.about-body > p {
  font-size: 1.125rem;
  color: #333;
}

.about-body > p:first-child::first-line {
  font-weight: 600;
  color: var(--ink);
}

.timeline-title {
  margin: 56px 0 8px;
  font-size: 0.8125rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 4px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.timeline-period {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.timeline-role {
  display: block;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.timeline-org {
  display: block;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-aside {
    position: static;
  }
}

@media (max-width: 520px) {
  .timeline li {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Expertise (donkere sectie)
   -------------------------------------------------------------------------- */

.expertise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.expertise-item {
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.expertise-item h3 {
  font-size: 1.375rem;
  line-height: 1.25;
}

.expertise-quote {
  margin: 16px 0 18px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--accent-light);
}

.expertise-item p {
  color: var(--on-dark-muted);
}

@media (max-width: 960px) {
  .expertise {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Je Dag in Beeld (app)
   -------------------------------------------------------------------------- */

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px 80px;
  align-items: center;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.app-icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 22%;
}

.app-tagline {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--accent);
}

.app-intro {
  max-width: 36em;
  margin: 28px 0 0;
  font-size: 1.125rem;
  color: #333;
}

.app-features {
  max-width: 36em;
  margin: 24px 0 32px;
}

.app-more {
  margin-top: 20px;
  font-size: 0.96875rem;
}

.app-more a {
  font-weight: 600;
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.app-more a:hover {
  color: var(--accent);
}

.app-figure {
  justify-self: center;
  width: min(300px, 100%);
  margin: 0;
}

.phone {
  padding: 10px;
  background: var(--black);
  border-radius: 46px;
  box-shadow: 0 40px 60px -40px rgba(0, 0, 0, 0.45);
}

.phone img {
  width: 100%;
  border-radius: 36px;
}

.app-figure figcaption {
  margin-top: 16px;
  font-size: 0.875rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-figure {
    width: min(260px, 100%);
  }
}

@media (max-width: 480px) {
  .app-icon {
    width: 64px;
    height: 64px;
  }
}

/* --------------------------------------------------------------------------
   Kwaliteit & registraties
   -------------------------------------------------------------------------- */

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 80px;
}

.quality-aside {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.quality-aside .section-intro {
  margin-top: 24px;
}

.crkbo-card {
  margin-top: 36px;
  padding: 28px;
  background: var(--black);
  color: #fff;
}

.crkbo-card-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.crkbo-card-label svg {
  width: 20px;
  height: 20px;
}

.crkbo-card h3 {
  margin: 12px 0 10px;
  font-size: 1.5rem;
  color: #fff;
}

.crkbo-card p {
  font-size: 0.96875rem;
  color: var(--on-dark-muted);
}

.requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  list-style: none;
}

.requirement {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.requirement svg {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: var(--accent);
}

.requirement h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.requirement p {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.requirement a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.quality-footnote {
  margin-top: 28px;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .quality-aside {
    position: static;
  }
}

@media (max-width: 600px) {
  .requirements {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Opdrachtgevers
   -------------------------------------------------------------------------- */

.clients {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clients-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 24px 64px;
  align-items: center;
}

.clients-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

/* Logo's in een raster met haarlijnen; --w per logo houdt ze optisch even groot */
.clients-list {
  --logo-scale: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.clients-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 20px;
  background: #fff;
}

.client-logo {
  width: calc(var(--w) * var(--logo-scale));
  max-width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .clients-inner {
    grid-template-columns: 1fr;
  }

  .clients-list li {
    min-height: 104px;
  }
}

@media (max-width: 560px) {
  .clients-list {
    --logo-scale: 0.52;
  }

  .clients-list li {
    min-height: 76px;
    padding: 12px 8px;
  }
}

/* --------------------------------------------------------------------------
   Referenties
   -------------------------------------------------------------------------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: #fff;
}

.testimonial-mark {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.testimonial blockquote {
  margin: 24px 0 32px;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.8vw, 1.375rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.testimonial figcaption {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}

.testimonial figcaption strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

@media (max-width: 860px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px 80px;
  align-items: start;
}

.contact-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.contact-lead {
  margin: 24px 0 36px;
  max-width: 30em;
  font-size: 1.125rem;
  color: var(--on-dark-muted);
}

.contact-details {
  margin: 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 4px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}

.contact-row dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 4px;
}

.contact-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  overflow-wrap: anywhere;
}

.contact-row a {
  text-decoration: none;
  background-image: linear-gradient(var(--accent-light), var(--accent-light));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease, color 0.2s ease;
}

.contact-row a:hover {
  background-size: 100% 2px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.85);
  text-underline-offset: 3px;
}

.footer-meta a:hover {
  color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   Juridische pagina's (privacy / klachten)
   -------------------------------------------------------------------------- */

.legal {
  padding: clamp(48px, 7vw, 96px) 0 var(--section-y);
}

.legal-inner {
  max-width: 760px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.legal-back:hover {
  color: var(--accent);
}

.legal-back svg {
  width: 18px;
  height: 18px;
}

.legal h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.legal-updated {
  margin: 16px 0 40px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal h2 {
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.375rem;
  line-height: 1.3;
}

.legal p:not(.eyebrow),
.legal li {
  color: #333;
}

.legal ul,
.legal ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.legal li {
  margin-bottom: 6px;
}

.legal li::marker {
  color: var(--accent);
}

.legal a:not(.btn) {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

/* 404: vul het scherm, zodat de footer onderaan staat (header 72px + footer ca. 96px) */
.legal-404 {
  min-height: calc(100vh - var(--header-h) - 96px);
}

.legal-box {
  margin: 24px 0;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
}

.legal-box p {
  margin-bottom: 0.4em;
}
