/* HSE Kompas — tokens and patterns from the Industry design system (see design handoff). */
/* Lettertypes: zelf gehost (Barlow, SIL Open Font License), geen verbinding met Google. */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
}

:root {
  --color-bg: #f2f2f3;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-100: #eef6ff;
  --color-accent-200: #d6ebff;
  --color-accent-300: #b5d9fd;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-900: #1d2d3d;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);
  --color-hairline-dark: color-mix(in srgb, var(--color-bg) 30%, transparent);
  --logo-turquoise: #6fc8d3;
  --logo-teal: #0e3f4b;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --gutter: 64px;
  --section-y: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}
p { margin: 0; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.hero :focus-visible, .footer :focus-visible { outline-color: var(--color-accent-300); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 600; font-size: 14px; line-height: 1.2;
  padding: 7px 12px;
  color: var(--color-text); background: transparent;
  border: 1px solid var(--color-divider); border-radius: 0;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-inverse { background: var(--color-bg); border-color: var(--color-bg); color: var(--color-accent-900); }
.btn-inverse:hover { background: var(--color-accent-200); border-color: var(--color-accent-200); }
.btn-inverse:active { background: var(--color-accent-300); border-color: var(--color-accent-300); }
.btn-icon { width: 44px; height: 44px; padding: 0; }
.btn-block { display: flex; width: 100%; }

/* — logo (PNG has padding around the wordmark; crop to it) — */
.logo { display: block; flex: none; overflow: hidden; width: 262px; height: 40px; }
.logo img { width: 401px; height: 107px; max-width: none; margin: -33px 0 0 -30px; }
.logo-sm { width: 196px; height: 30px; }
.logo-sm img { width: 300px; height: 80px; margin: -25px 0 0 -23px; }

/* — hero — */
.hero { background: var(--color-accent-900); color: var(--color-bg); }

.nav {
  display: flex; align-items: center; gap: 32px;
  padding: 20px var(--gutter);
  font-size: 14px;
}
.nav .logo { margin-right: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a:not(.btn) { text-decoration: none; }
.nav-links > a:not(.btn):hover { color: var(--color-accent-300); }
.lang { display: flex; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.lang a { text-decoration: none; opacity: .6; }
.lang a[aria-current] { opacity: 1; }
.lang a:hover { opacity: 1; }
.lang-sep { opacity: .4; }
.menu-toggle {
  display: none;
  color: var(--color-bg);
  border-color: var(--color-hairline-dark);
}

.headline {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: end;
  padding: 56px var(--gutter) 0;
}
.headline h1 {
  font-size: clamp(64px, 7.8vw, 100px);
  line-height: .98;
  text-transform: uppercase;
}
.lead { font-size: 18px; line-height: 1.55; max-width: 46ch; opacity: .88; margin-bottom: 10px; }

/* — compass — */
.compass-wrap { padding: 64px var(--gutter) var(--section-y); }
.compass {
  --inner: clamp(56px, 9.4vw, 120px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 260px;
  border: 1px solid var(--color-hairline-dark);
}
.compass-line { position: absolute; background: var(--color-hairline-dark); pointer-events: none; }
.compass-line-v { left: 50%; top: 0; bottom: 0; width: 1px; }
.compass-line-h { top: 50%; left: 0; right: 0; height: 1px; }
.compass-diamond {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 120px; height: 120px; margin: -60px 0 0 -60px;
  transform: rotate(45deg);
  border: 34px solid var(--logo-turquoise);
  border-top-color: var(--logo-teal);
  background: var(--color-accent-900);
  pointer-events: none;
}
.compass-letter {
  position: absolute; z-index: 1;
  background: var(--color-accent-900);
  font-family: var(--font-heading); font-weight: 600; font-size: 18px; line-height: 1.2;
  color: var(--color-accent-300);
}
.compass-letter.n { left: 50%; top: -10px; transform: translateX(-50%); padding: 0 10px; }
.compass-letter.z { left: 50%; bottom: -12px; transform: translateX(-50%); padding: 0 10px; }
.compass-letter.w { top: 50%; left: -7px; transform: translateY(-50%); padding: 6px 0; }
.compass-letter.o { top: 50%; right: -6px; transform: translateY(-50%); padding: 6px 0; }

.quadrant {
  display: flex; flex-direction: column; gap: 12px;
  padding: 40px;
  text-decoration: none;
  color: inherit;
}
.quadrant:hover { background: color-mix(in srgb, var(--color-bg) 6%, transparent); }
.quadrant:focus-visible { outline-offset: -4px; }
.quadrant.nw, .quadrant.sw { padding-right: var(--inner); }
.quadrant.ne, .quadrant.se { padding-left: var(--inner); align-items: flex-end; text-align: right; }
.quadrant.sw, .quadrant.se { justify-content: flex-end; }
.q-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--color-accent-300); }
.q-title {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1;
  text-transform: uppercase;
}
.q-text { font-size: 15px; line-height: 1.5; opacity: .85; max-width: 40ch; }
.mobile-cta { display: none; }

/* — kicker with rule — */
.kicker {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-divider);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-700);
}

/* — about — */
.about {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px; align-items: center;
  padding: var(--section-y) var(--gutter);
}
.photo { grid-column: 1 / 6; height: 440px; }
.about-body { grid-column: 7 / 13; }
.about-body .kicker { margin-bottom: 24px; }
.quote {
  margin: 0;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 40px; line-height: 1.12;
}
.byline { margin-top: 24px; font-size: 16px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions .btn { padding: 12px 20px; font-size: 15px; }

/* blueprint frame + duotone photo */
.blueprint { position: relative; border: 1px solid var(--color-divider); border-radius: 0; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px; z-index: 2;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }
.duotone { isolation: isolate; }
.duotone > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.duotone::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--color-accent); mix-blend-mode: color;
}
.photo-placeholder {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--color-accent-200);
  color: var(--color-accent-700);
  font-size: 13px;
}

/* — werkwijze — */
.steps-section { padding: 0 var(--gutter) var(--section-y); }
.steps-section .kicker { margin-bottom: 40px; }
.steps {
  list-style: none; margin: 0; padding: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px;
  background: var(--color-accent);
}
.step { position: relative; padding-right: 40px; }
.step-marker {
  display: block; width: 22px; height: 22px;
  border: 1px solid var(--color-accent);
  background: var(--color-bg);
  transform: rotate(45deg);
}
.step-marker-filled { border: 6px solid var(--logo-turquoise); border-top-color: var(--logo-teal); }
.step h3 { margin: 24px 0 8px; font-size: 28px; line-height: 1.12; text-transform: uppercase; }
.step p { font-size: 15px; line-height: 1.5; color: color-mix(in srgb, var(--color-text) 78%, transparent); }

/* — footer — */
.footer {
  display: flex; align-items: center; gap: 32px;
  padding: 28px var(--gutter);
  background: var(--color-accent-900); color: var(--color-bg);
  font-size: 13px;
}
.footer-contact { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-left: auto; }
.footer-contact > * { opacity: .85; text-decoration: none; }
.footer-contact a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ———————————————— mobile ———————————————— */
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 40px; }

  .nav { position: relative; flex-wrap: wrap; gap: 0; padding: 12px 16px 12px 8px; }
  .nav .logo { width: 196px; height: 30px; }
  .nav .logo img { width: 300px; height: 80px; margin: -25px 0 0 -23px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    order: 1;
    flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 12px 8px 12px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links > a:not(.btn) {
    padding: 12px 0; font-size: 16px;
    border-bottom: 1px solid var(--color-hairline-dark);
  }
  .lang { padding: 16px 0; font-size: 14px; }
  .nav-links .btn { min-height: 48px; font-size: 15px; }

  .headline { display: block; padding: 32px var(--gutter) 28px; }
  .headline h1 { font-size: 52px; }
  .headline h1 br { display: none; }
  .lead { margin: 16px 0 0; font-size: 16px; }
  .lead-intro { display: none; }

  .compass-wrap { padding: 0 var(--gutter) 40px; }
  .compass { grid-template-rows: 170px 170px; }
  .compass-diamond { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-width: 13px; }
  .compass-letter, .q-text, .q-dir, .q-full { display: none; }
  .quadrant, .quadrant.nw, .quadrant.ne, .quadrant.sw, .quadrant.se { padding: 16px; gap: 6px; }
  .q-label { font-size: 11px; }
  .q-title { font-size: 21px; line-height: 1.05; hyphens: manual; }
  .mobile-cta { display: flex; min-height: 48px; margin-top: 28px; font-size: 15px; }

  .about { display: block; padding: 36px var(--gutter) 40px; }
  .photo { height: 240px; }
  .about-body .kicker { display: none; }
  .quote { margin-top: 24px; font-size: 28px; }
  .byline { margin-top: 12px; font-size: 14px; }
  .actions { margin-top: 24px; }

  .steps-section .kicker { margin-bottom: 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 0; bottom: 0; left: 10.5px; right: auto; width: 1px; height: auto; }
  .step { padding: 0 0 0 44px; }
  .step-marker { position: absolute; left: 0; top: 4px; }
  .step h3 { margin: 0 0 6px; font-size: 24px; }

  .footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-contact { margin-left: 0; flex-direction: column; gap: 8px; }
  .footer-contact a { padding: 4px 0; }
}

/* ———————————————— over mij: bio + feitenkaart ———————————————— */
.bio-section {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px; align-items: start;
  padding: 0 var(--gutter) var(--section-y);
}
.bio { grid-column: 1 / 8; }
.bio .kicker { margin-bottom: 24px; }
.bio p { font-size: 17px; line-height: 1.65; max-width: 62ch; }
.bio p + p { margin-top: 16px; }
.fact-card {
  grid-column: 8 / 13;
  padding: 32px;
  border-top: 4px solid var(--logo-teal);
}
.fact-card > .corner.tl, .fact-card > .corner.tr { top: -8px; }
.fact-number {
  display: flex; flex-direction: column;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 88px; line-height: .9; color: var(--logo-teal);
}
.fact-unit {
  margin-top: 8px;
  font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.4;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.fact-heading {
  margin: 28px 0 4px;
  font-size: 13px; font-family: var(--font-body); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-700);
}
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { padding: 10px 0; font-size: 15px; line-height: 1.45; }
.fact-list li + li { border-top: 1px solid var(--color-divider); }

/* ———————————————— dienstenpagina ———————————————— */
.nav-links > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.breadcrumb {
  padding: 40px var(--gutter) 0;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-300);
}
.breadcrumb a { text-decoration: none; opacity: .8; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-hidden] { opacity: .5; margin: 0 8px; }
.page-hero .headline { padding-top: 24px; }

.service-index {
  list-style: none; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--color-hairline-dark);
}
.service-index li + li { border-left: 1px solid var(--color-hairline-dark); }
.service-index a {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 24px; text-decoration: none;
}
.service-index a:hover { background: color-mix(in srgb, var(--color-bg) 6%, transparent); }
.service-index a:focus-visible { outline-offset: -4px; }
.service-index .idx-title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 24px; line-height: 1.05; text-transform: uppercase;
  hyphens: none;
}
.service-index svg { margin-top: auto; color: var(--color-accent-300); }

.services { padding: var(--section-y) var(--gutter); }
.service {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--color-divider);
  scroll-margin-top: 24px;
}
.service:first-child { padding-top: 0; border-top: 0; }
.service-head { grid-column: 1 / 6; align-self: start; position: sticky; top: 32px; }
.service-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  color: var(--color-accent-700);
}
.service-label::before {
  content: ""; width: 10px; height: 10px; flex: none;
  border: 1px solid var(--color-accent); transform: rotate(45deg);
}
.service-head h2 { margin-top: 16px; font-size: 40px; line-height: 1; text-transform: uppercase; }
.service-body { grid-column: 7 / 13; }
.service-intro { font-size: 18px; line-height: 1.55; }
.list-kicker {
  margin: 32px 0 4px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-700);
}
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 12px 0 12px 24px;
  font-size: 15px; line-height: 1.5;
  border-bottom: 1px solid var(--color-divider);
}
.checklist li::before {
  content: ""; position: absolute; left: 1px; top: 19px;
  width: 7px; height: 7px;
  background: var(--color-accent); transform: rotate(45deg);
}
.service-meta { margin-top: 20px; font-size: 15px; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.service-meta strong { font-weight: 600; color: var(--color-text); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  font-family: var(--font-heading); font-weight: 600; font-size: 17px;
  text-transform: uppercase; text-decoration: none;
  color: var(--color-accent-700);
}
.text-link:hover { color: var(--color-accent-900); text-decoration: underline; text-underline-offset: 4px; }

.sectors-section { padding: 0 var(--gutter) var(--section-y); }
.sectors-section .kicker { margin-bottom: 40px; }
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.sector { padding: 28px; }
.sector h3 { font-size: 28px; line-height: 1.12; text-transform: uppercase; margin-bottom: 8px; }
.sector p { font-size: 15px; line-height: 1.5; color: color-mix(in srgb, var(--color-text) 78%, transparent); }

.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px; align-items: end;
  padding: var(--section-y) var(--gutter);
  background: var(--color-accent-900); color: var(--color-bg);
  border-bottom: 1px solid var(--color-hairline-dark);
}
.cta-band h2 {
  display: flex; align-items: center; gap: 24px;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; text-transform: uppercase;
}
.cta-band h2::before {
  content: ""; flex: none; width: 40px; height: 40px;
  border: 11px solid var(--logo-turquoise); border-top-color: var(--logo-teal);
  transform: rotate(45deg);
}
.cta-band p { margin-top: 16px; font-size: 18px; line-height: 1.55; max-width: 52ch; opacity: .88; }
.cta-band .btn { padding: 12px 20px; font-size: 15px; }

@media (max-width: 767px) {
  .bio-section { display: block; padding-bottom: 40px; }
  .bio p { font-size: 16px; }
  .fact-card { margin-top: 32px; padding: 24px; }
  .fact-number { font-size: 64px; }

  .breadcrumb { padding-top: 24px; }
  .page-hero .headline { padding-top: 16px; }
  .service-index { grid-template-columns: 1fr 1fr; }
  .service-index li + li { border-left: 0; }
  .service-index li:nth-child(even) { border-left: 1px solid var(--color-hairline-dark); }
  .service-index li:nth-child(n+3) { border-top: 1px solid var(--color-hairline-dark); }
  .service-index a { padding: 16px; }
  .service-index .idx-title { font-size: 20px; hyphens: manual; }

  .services { padding: 40px var(--gutter); }
  .service { display: block; padding: 40px 0; }
  .service-head { position: static; }
  .service-head h2 { font-size: 32px; margin-bottom: 16px; }
  .service-intro { font-size: 16px; }

  .sectors { grid-template-columns: 1fr; gap: 20px; }
  .sector { padding: 20px; }
  .sector h3 { font-size: 24px; }

  .cta-band { display: block; }
  .cta-band h2 { font-size: 36px; gap: 18px; }
  .cta-band h2::before { width: 26px; height: 26px; border-width: 7px; }
  .cta-band p { font-size: 16px; }
  .cta-band .btn { display: flex; width: 100%; min-height: 48px; margin-top: 24px; }
}

/* ———————————————— juridische pagina (algemene voorwaarden) ———————————————— */
.page-hero-compact { padding-bottom: 64px; }
.page-hero-compact .headline h1 { font-size: clamp(56px, 6.2vw, 80px); }
.footer-contact a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.legal {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px; align-items: start;
  padding: var(--section-y) var(--gutter);
}
.legal-toc { grid-column: 1 / 4; position: sticky; top: 32px; }
.legal-toc .kicker { margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding: 0 0 0 24px; font-size: 14px; line-height: 1.4; }
.legal-toc li { padding: 5px 0; }
.legal-toc li::marker { color: var(--color-accent-700); font-weight: 600; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { color: var(--color-accent-700); text-decoration: underline; text-underline-offset: 3px; }

.legal-body { grid-column: 5 / 12; max-width: 70ch; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0 0 32px; font-size: 14px; }
.legal-meta dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-700); }
.legal-meta dd { margin: 2px 0 0; }
.legal-notice {
  margin-bottom: 40px; padding: 14px 16px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-accent-100);
  font-size: 14px;
}
.legal article { padding: 28px 0; border-top: 1px solid var(--color-divider); scroll-margin-top: 24px; }
.legal article h2 {
  display: flex; gap: 16px; align-items: baseline;
  margin-bottom: 12px;
  font-size: 26px; line-height: 1.12; text-transform: uppercase;
}
.legal article h2 span { flex: none; min-width: 28px; color: var(--color-accent-700); }
.legal article p, .legal article li { font-size: 16px; line-height: 1.65; }
.legal article p + p { margin-top: 12px; }
.legal article .placeholder { color: color-mix(in srgb, var(--color-text) 50%, transparent); font-style: italic; }
.legal-contact { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--color-divider); font-size: 15px; }
.legal-contact a { color: var(--color-accent-700); }

@media (max-width: 767px) {
  .page-hero-compact { padding-bottom: 40px; }
  .page-hero-compact .headline h1 { font-size: 44px; }
  .legal { display: block; padding: 40px var(--gutter); }
  .legal-toc { position: static; margin-bottom: 40px; }
  .legal-toc li { padding: 7px 0; }
  .legal article h2 { font-size: 22px; }
}

/* ———————————————— over mij-pagina ———————————————— */
.about-page { align-items: start; }
.about-text .kicker { margin-bottom: 24px; }
.about-text p { font-size: 17px; line-height: 1.65; max-width: 62ch; }
.about-text p + p { margin-top: 16px; }
.values { list-style: none; margin: 32px 0 0; padding: 0; }
.values li {
  position: relative;
  padding: 20px 0 20px 40px;
  border-top: 1px solid var(--color-divider);
}
.values li::before {
  content: ""; position: absolute; left: 4px; top: 27px;
  width: 12px; height: 12px;
  border: 1px solid var(--color-accent); transform: rotate(45deg);
}
.values h3 { margin-bottom: 4px; font-size: 24px; line-height: 1.12; text-transform: uppercase; }
.values p { font-size: 15px; line-height: 1.5; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.values p + p, .bio .values p { margin-top: 0; }

@media (max-width: 767px) {
  .about-page .about-text { margin-top: 32px; }
  .about-text p { font-size: 16px; }
  .about-page .about-text .kicker { display: block; }
  .values li { padding-left: 32px; }
  .values h3 { font-size: 22px; }
}

/* ———————————————— contactpagina ———————————————— */
.contact {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px; align-items: start;
  padding: var(--section-y) var(--gutter);
}
.contact-details { grid-column: 1 / 5; }
.contact-form-wrap { grid-column: 6 / 13; }
.contact .kicker { margin-bottom: 24px; }

.contact-list { margin: 0; }
.contact-list div { padding: 14px 0; border-bottom: 1px solid var(--color-divider); }
.contact-list div:first-child { padding-top: 0; }
.contact-list dt {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-700);
}
.contact-list dd {
  margin: 4px 0 0;
  font-family: var(--font-heading); font-weight: 600; font-size: 26px; line-height: 1.15;
  overflow-wrap: anywhere;
}
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--color-accent-700); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.contact-person { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.contact-photo { flex: none; width: 88px; height: 88px; }
.contact-person p { font-size: 15px; line-height: 1.45; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.contact-person strong { font-weight: 600; color: var(--color-text); }

.contact-form { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.field label span { color: var(--color-accent-700); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 12px;
  font: inherit; font-size: 16px; line-height: 1.4;
  color: var(--color-text);
  background: color-mix(in srgb, #fff 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-text) 28%, transparent);
  border-radius: 0;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--color-accent); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 2px solid var(--color-accent); outline-offset: -1px; border-color: var(--color-accent);
}
.select { position: relative; }
.select select { padding-right: 40px; cursor: pointer; }
.select svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--color-accent-700); }
.field-error { display: none; font-size: 13px; color: #a3302a; }
.field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #a3302a; }
.form-note { font-size: 13px; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.form-submit { align-self: flex-start; padding: 12px 20px; font-size: 15px; }
.form-submit:disabled { opacity: .5; cursor: wait; }
.form-status:empty { display: none; }
.form-status { font-size: 15px; padding: 12px 14px; border-left: 3px solid var(--color-accent); background: var(--color-accent-100); }

@media (max-width: 767px) {
  .contact { display: block; padding: 40px var(--gutter); }
  .contact-form-wrap { margin-top: 48px; }
  .contact-list dd { font-size: 22px; }
  .contact-person { margin-top: 28px; }
  .contact-form { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .form-submit { align-self: stretch; min-height: 48px; }
}

/* ———————————————— dienst-detailpagina ———————————————— */
.detail-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  color: var(--color-accent-300);
}
.compass-mini {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  width: 20px; height: 20px;
}
.compass-mini i { border: 1px solid var(--color-hairline-dark); }
.compass-mini[data-pos="nw"] i:nth-child(1),
.compass-mini[data-pos="ne"] i:nth-child(2),
.compass-mini[data-pos="sw"] i:nth-child(3),
.compass-mini[data-pos="se"] i:nth-child(4) { background: var(--logo-turquoise); border-color: var(--logo-turquoise); }

.other-section { padding: 0 var(--gutter) var(--section-y); }
.other-section .kicker { margin-bottom: 32px; }
.other-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.other-card {
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  padding: 24px; text-decoration: none;
}
.other-card:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }
.other-card:hover .other-title { color: var(--color-accent-700); }
.other-title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 26px; line-height: 1.05; text-transform: uppercase;
}
.other-card svg { margin-top: auto; color: var(--color-accent-700); }

@media (max-width: 767px) {
  .detail-label { margin-bottom: 12px; }
  .page-hero .headline h1 { hyphens: manual; }
  .other-services { grid-template-columns: 1fr; gap: 20px; }
  .other-card { padding: 20px; }
  .other-title { font-size: 22px; }
}

/* ———————————————— portretfoto ———————————————— */
.photo > img { object-position: 50% 22%; }

/* ———————————————— artikelen algemene voorwaarden ———————————————— */
.clauses { list-style: none; margin: 0; padding: 0; }
.clauses > li { display: flex; gap: 16px; font-size: 16px; line-height: 1.65; }
.clauses > li + li { margin-top: 12px; }
.clause-num {
  flex: none; min-width: 32px;
  font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--color-accent-700);
}
.clauses strong { font-weight: 600; }
.clauses ul { margin: 8px 0 0; padding: 0; list-style: none; }
.clauses ul li { position: relative; padding: 4px 0 4px 20px; }
.clauses ul li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 6px; height: 6px; background: var(--color-accent); transform: rotate(45deg);
}
@media (max-width: 767px) {
  .clauses > li { gap: 10px; font-size: 15px; }
  .clause-num { min-width: 28px; }
}

/* ———————————————— download algemene voorwaarden ———————————————— */
.legal-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; margin-bottom: 32px;
}
.legal-head .legal-meta { margin: 0; }
.legal-download { padding: 10px 16px; font-size: 15px; }
.legal-size { font-family: var(--font-body); font-weight: 400; font-size: 13px; opacity: .7; }
@media (max-width: 767px) {
  .legal-download { width: 100%; min-height: 48px; }
}

/* English titles run slightly longer ("advice"); keep all four on one line. */
@media (min-width: 768px) {
  html[lang="en"] .q-title { font-size: clamp(28px, 2.95vw, 38px); }
}

/* ———————————————— LinkedIn ———————————————— */
.footer-linkedin { display: inline-flex; align-items: center; gap: 6px; }
.about-linkedin { margin-top: 28px; }

/* ———————————————— privacyverklaring ———————————————— */
.privacy article p { max-width: 68ch; }
.privacy article p + p { margin-top: 12px; }
.privacy article a { color: var(--color-accent-700); }
.privacy-list { margin: 10px 0 0; padding: 0; list-style: none; }
.privacy-list li { position: relative; padding: 4px 0 4px 20px; font-size: 16px; line-height: 1.6; }
.privacy-list li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 6px; height: 6px; background: var(--color-accent); transform: rotate(45deg);
}
.form-note a { color: var(--color-accent-700); }

/* ———————————————— homepage: uitleg HSE boven de kop ———————————————— */
.hero-kicker {
  margin-bottom: 20px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-accent-300);
}
@media (max-width: 767px) {
  .hero-kicker { margin-bottom: 14px; font-size: 12px; letter-spacing: .1em; }
}

/* ———————————————— homepage: kleinere, rustigere portretfoto ———————————————— */
.about:not(.about-page) .photo { grid-column: 1 / 5; height: 360px; }
.about:not(.about-page) .about-body { grid-column: 6 / 13; }
@media (max-width: 767px) {
  .about:not(.about-page) .photo { height: 200px; }
}

/* Kompas op touchscreens: het vak waar de naald naar wijst licht zacht op */
.quadrant { transition: background-color .4s ease; }
.quadrant.is-pointed { background: color-mix(in srgb, var(--color-bg) 6%, transparent); }

/* ———————————————— 404: de naald is de weg kwijt ———————————————— */
.not-found { min-height: 100vh; display: flex; flex-direction: column; background: var(--color-accent-900); }
.not-found .hero { flex: 1; }
.lost-needle {
  display: block; width: 56px; height: 56px; margin: 8px 0 36px 8px;
  border: 16px solid var(--logo-turquoise); border-top-color: var(--logo-teal);
  transform: rotate(45deg);
  animation: needle-searching 7s ease-in-out infinite;
}
@keyframes needle-searching {
  0%   { transform: rotate(45deg); }
  14%  { transform: rotate(190deg); }
  24%  { transform: rotate(150deg); }
  42%  { transform: rotate(330deg); }
  52%  { transform: rotate(290deg); }
  70%  { transform: rotate(470deg); }
  80%  { transform: rotate(390deg); }
  100% { transform: rotate(405deg); }
}
@media (prefers-reduced-motion: reduce) { .lost-needle { animation: none; } }
.lost-ways .q-label { font-family: var(--font-heading); font-size: 18px; letter-spacing: 0; }
@media (max-width: 767px) {
  .lost-needle { width: 40px; height: 40px; border-width: 11px; margin: 4px 0 24px 6px; }
}
.not-found .footer { border-top: 1px solid var(--color-hairline-dark); }

/* ———————————————— portretfoto: vaste staande verhouding ————————————————
   Met een vaste hoogte werd het kader in brede vensters liggend en zoomde de foto
   in op het hoofd. Een vaste verhouding (3:4) toont altijd dezelfde uitsnede. */
.about .photo { height: auto; aspect-ratio: 3 / 4; width: 100%; }
.about:not(.about-page) .photo { max-width: 300px; height: auto; }
.about-page .photo { max-width: 400px; }
@media (max-width: 767px) {
  .about:not(.about-page) .photo { max-width: 240px; height: auto; }
  .about-page .photo { max-width: 280px; height: auto; }
}


/* ———————————————— algemene voorwaarden: "In het kort" en a/b/c-lijsten ———————————————— */
.legal-summary { margin: 0 0 40px; padding: 24px 28px; background: var(--color-accent-100); }
.legal-summary .kicker { margin-bottom: 16px; }
.legal-summary ul { list-style: none; margin: 0; padding: 0; }
.legal-summary li { position: relative; padding: 6px 0 6px 22px; font-size: 16px; line-height: 1.5; }
.legal-summary li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 7px; height: 7px; background: var(--color-accent); transform: rotate(45deg);
}
.legal-summary li a { white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--color-accent-700); text-decoration: none; }
.legal-summary li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-summary-note { margin-top: 14px; font-size: 14px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.clauses ol.letters { margin: 8px 0 0; padding: 0 0 0 22px; list-style: lower-alpha; }
.clauses ol.letters li { padding: 3px 0 3px 4px; }
.clauses ol.letters li::marker { color: var(--color-accent-700); }
.clauses .clause-after { margin-top: 8px; }
@media (max-width: 767px) {
  .legal-summary { padding: 20px; }
  .legal-summary li { font-size: 15px; }
}
