/* ============================================================
   FABER PROCES TECHNIEK - SHARED DESIGN SYSTEM
   Design principles: /ui-ux-pro-max + /impeccable
   - Contrast >= 4.5:1 (incl. small labels via --orange-ink)
   - Touch targets >= 44px
   - Body >= 16px, line-height 1.5-1.65
   - Mobile-first with 375/768/1024 breakpoints
   - Reduced-motion honored
   - Type: self-hosted Saira (industrial grotesk); Archivo is een bewuste reject
   ============================================================ */

/* Self-hosted Saira variable font (wght 400-800, wdth 62-125%).
   A squarish, engineered grotesk — reads like process-instrumentation /
   industrial signage. Deliberately NOT Archivo (avoiding cross-project
   font monoculture). One file carries body + widened display headings. */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/saira-latin.woff2') format('woff2');
  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: 'Saira';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/saira-latin-ext.woff2') format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Semantic color tokens */
  --navy: #0B2A4A;
  --navy-800: #143A61;
  --navy-100: #E7ECF3;
  --orange: #E85E1C;
  --orange-ink: #B8430F; /* darkened orange for small text/labels: >=4.5:1 on white */
  --orange-soft: #FDECE2;
  --ink: #14171C;
  --muted: #5A6270;
  --bg: #FFFFFF;
  --surface: #F1F3F6;   /* neutrals tinted toward brand navy/steel, not warm cream */
  --surface-2: #E9EDF2;
  --hairline: #DEE3EA;
  --focus: #1C6BF0;
  --success: #157347;
  --danger: #B4321C;

  /* Type stack: self-hosted Saira, system fallback */
  --font-sans: "Saira", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Type scale (fluid) */
  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.28rem);
  --step-2:  clamp(1.4rem, 1.28rem + 0.6vw, 1.7rem);
  --step-3:  clamp(1.85rem, 1.55rem + 1.5vw, 2.6rem);
  --step-4:  clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
  --step-5:  clamp(2.6rem, 2rem + 3vw, 4.2rem);

  /* Spacing scale (8pt rhythm) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(11,42,74,.06), 0 2px 8px rgba(11,42,74,.04);
  --shadow-md: 0 8px 30px rgba(11,42,74,.12);

  --header-h: 88px;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.55;
  font-stretch: 100%;
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus states (a11y) */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
@media (max-width: 500px) {
  .container { width: min(1180px, 100% - 32px); }
  .mobile-menu > ul { width: min(1180px, 100% - 32px); }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
  font-weight: 700;
}
/* Widened width on display headings = industrial nameplate voice (Saira) */
h1 { font-size: var(--step-5); font-weight: 800; font-stretch: 110%; letter-spacing: -0.015em; }
h2 { font-size: var(--step-4); font-weight: 700; font-stretch: 107%; letter-spacing: -0.012em; }
h3 { font-size: var(--step-2); font-weight: 700; font-stretch: 104%; letter-spacing: -0.005em; }
h4, h3.h4 { font-size: var(--step-1); font-weight: 600; font-stretch: 100%; }

p {
  margin: 0;
  max-width: 65ch;
  color: var(--muted);
  line-height: 1.6;
}
p.lead {
  font-size: var(--step-1);
  color: var(--ink);
  max-width: 62ch;
  line-height: 1.5;
}
p strong { color: var(--ink); font-weight: 600; }

.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

/* ---------- HEADER ---------- */
header.nav {
  position: sticky;
  /* containing block voor het absolute mobiele menu */
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}
.brand-icon {
  height: 56px;
  width: auto;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 0.85;
  gap: 2px;
}
.brand-text strong {
  color: var(--ink);
  font-weight: 900;
  font-size: 2.6rem;
  letter-spacing: -0.01em;
  line-height: 0.85;
}
.brand-text small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  opacity: 0.85;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--navy); opacity: 1; }
nav a[aria-current="page"] { color: var(--navy); opacity: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: white;
  padding: 12px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 44px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-800); }
.nav-cta-short { display: none; }
.nav-cta-full { display: inline; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  color: var(--ink);
}
.bars { display: block; width: 20px; height: 14px; position: relative; }
.bars i {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: currentColor; border-radius: 1px;
  transition: transform .34s cubic-bezier(.16,1,.3,1), opacity .18s ease;
}
.bars i:nth-child(1) { top: 0; }
.bars i:nth-child(2) { top: 6px; }
.bars i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle { transition: border-color .2s ease, background .2s ease; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: var(--navy); }

@media (max-width: 900px) {
  nav ul { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; }
  .nav-cta { order: 2; }
  .nav-inner { gap: 12px; }
  .brand-icon { height: 44px; }
  .brand-text strong { font-size: 2rem; }
  .brand-text small { font-size: 0.72rem; }
  .nav-cta-full { display: inline; }
  .nav-cta-short { display: none; }
}
@media (max-width: 500px) {
  .brand-icon { height: 38px; }
  .brand-text strong { font-size: 1.65rem; }
  .brand-text small { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 0.85rem; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  padding: 0 0 20px;
  border-top: 1px solid var(--hairline);
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  min-height: 48px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-radius: var(--radius);
}
.mobile-menu a:hover { background: var(--surface); }
.mobile-menu a[aria-current="page"] {
  background: var(--navy-100);
  color: var(--navy);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 48px;
  font-family: inherit;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-800); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn svg { width: 16px; height: 16px; }

/* ---------- SECTIONS ---------- */
section { padding: clamp(60px, 8vw, 100px) 0; }
section.alt { background: var(--surface); }
section.tight { padding: clamp(20px, 3vw, 40px) 0 clamp(60px, 6vw, 90px); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
/* Kop zonder ondertitel: één kolom, geen lege rechterhelft */
.section-head:not(:has(> p.lead)) { grid-template-columns: 1fr; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 0;
  overflow: hidden;
  min-height: min(86dvh, 820px);
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%; /* leidingbogen rechts van het midden, actuatoren onder de scrim */
  display: block;
}
/* De scrim is functioneel: navy draagt de tekst links, de foto blijft rechts vrij. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,42,74,.38) 0%, rgba(11,42,74,0) 26%),
    linear-gradient(90deg,
      rgba(11,42,74,.96) 0%, rgba(11,42,74,.92) 36%,
      rgba(11,42,74,.58) 60%, rgba(11,42,74,.14) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "copy" "creds";
  padding: clamp(72px, 9vw, 120px) 0;
}
.hero-copy { grid-area: copy; display: flex; flex-direction: column; max-width: 600px; }
/* Normalize wrap-div baseline op de subpagina-hero's */
.page-hero-grid > div { display: flex; flex-direction: column; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 1.95rem + 3.3vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: wrap; /* handmatige <br> bepaalt de breuk, niet balance */
}
.hero-lead {
  margin-top: var(--space-5);
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.6;
  color: #A9BCD4; /* 7.5:1 op navy, getint uit de navy-hue i.p.v. grijs */
}
.hero-actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.btn-hero { background: var(--orange); color: var(--ink); } /* 5.17:1 */
.btn-hero:hover { background: #FF7434; }
.btn-hero-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn-hero-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.hero-creds {
  grid-area: creds;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: var(--space-5) 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  font-size: var(--step--1);
  font-weight: 500;
  color: #A9BCD4;
}
.hero-creds li { display: flex; align-items: center; gap: 10px; }
.hero-creds li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

@media (max-width: 900px) {
  .hero { min-height: 0; align-items: start; }
  .hero-bg img { object-position: 50% 45%; }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(11,42,74,.10) 0%, rgba(11,42,74,.62) 19%,
      rgba(11,42,74,.92) 34%, rgba(11,42,74,.98) 100%);
  }
  /* bovenin blijft de foto vrij, de tekst zit in het navy onderaan */
  .hero-grid { padding: clamp(136px, 34vw, 190px) 0 clamp(28px, 6vw, 44px); }
  .hero-lead { margin-top: 20px; font-size: 1.02rem; line-height: 1.55; }
  .hero-actions { margin-top: 26px; }
  .hero-creds { margin: 26px 0 0; padding-top: 18px; gap: 6px var(--space-5); }
}

/* ---------- PHOTO ---------- */
.photo {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-hero {
  aspect-ratio: 5 / 6;
  box-shadow: var(--shadow-md);
}
@media (max-width: 700px) {
  .photo-hero { aspect-ratio: 4 / 3; }
}

/* ---------- TRUST BAR ---------- */
.trust {
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.trust-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.trust-item svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }
@media (max-width: 900px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .trust-row { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- CARDS: SERVICES ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.service:hover { background: var(--surface); }
.service h3 { color: var(--ink); }
.service p { color: var(--muted); }
.service-more {
  margin-top: auto;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-more::after { content: "\2192"; }
.service:hover .service-more::after { transform: translateX(2px); transition: transform 200ms; }
.service ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service ul li {
  font-size: 0.92rem;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.service ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--orange);
}
@media (max-width: 700px) {
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px 24px; min-height: 0; }
}

/* ---------- SECTOR CARDS ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sector {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.sector .photo {
  border: none;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--hairline);
}
.sector-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.sector h3, .sector h4 { font-size: var(--step-1); color: var(--ink); }
.sector p { font-size: 0.95rem; }
@media (max-width: 800px) {
  .sectors { grid-template-columns: 1fr; }
}

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-ink);
  margin-bottom: 12px;
  display: block;
}
.step h3, .step h4 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- FACTS TABLE ---------- */
.facts {
  border-top: 1px solid var(--hairline);
}
.fact {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.fact dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.fact dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 500px) {
  .fact { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
}

/* ---------- SPEC TABLE ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}
.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.spec-table {
  display: table;
  min-width: 100%;
}
.spec-table caption {
  text-align: left;
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  font-weight: 600;
  color: var(--ink);
}
.spec-table th, .spec-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
  vertical-align: top;
}
.spec-table th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover { background: var(--surface); }

/* ---------- QUALITY LIST ---------- */
.quality-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quality-list li {
  position: relative;
  padding: 18px 22px 18px 52px; /* room for leading check-glyph, no side-stripe */
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  font-weight: 500;
}
.quality-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 18px;
  height: 18px;
  background-color: var(--orange);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.quality-list li small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.92rem;
}

/* ---------- CALLOUT BLOCK (definitie/answer block, AI-SEO) ---------- */
.callout {
  background: var(--navy-100);
  border: 1px solid #C7D4E4; /* full hairline in navy tint — no side-stripe */
  padding: 24px 28px;
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 68ch;
}
.callout strong { color: var(--navy); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
  margin-top: 20px;
}
details {
  border-bottom: 1px solid var(--hairline);
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
  min-height: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}
details[open] summary::after { content: "\2013"; }
details > *:not(summary) {
  padding: 0 0 24px;
  color: var(--muted);
  max-width: 72ch;
}
details p { color: var(--muted); }
details p + p { margin-top: 8px; }

/* ---------- BREADCRUMBS ---------- */
/* Vaste hoogte zodat de kop na de breadcrumb op elke subpagina op dezelfde
   y-positie begint. */
.breadcrumb {
  padding: 0;
  font-size: 0.9rem;
  height: 68px;
  display: flex;
  align-items: center;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.breadcrumb li + li::before {
  content: "\203A";
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- CTA BLOCK ---------- */
.cta-block {
  padding: clamp(40px, 6vw, 72px);
  background: var(--navy);
  color: white;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-block h2, .cta-block p { color: white; }
.cta-block p { opacity: 0.9; max-width: 46ch; }
.cta-block .btn-primary { background: var(--orange); color: white; }
.cta-block .btn-primary:hover { background: #FF7434; }
.cta-block .btn-ghost { color: white; border-color: rgba(255,255,255,0.3); }
.cta-block .btn-ghost:hover { border-color: white; color: white; background: rgba(255,255,255,0.05); }
.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.cta-contact a { color: white; text-decoration: none; font-weight: 500; }
.cta-contact a:hover { color: #F0965F; } /* lightened orange for AA on navy */
.cta-contact-row { display: flex; gap: 14px; align-items: center; }
.cta-contact svg { width: 18px; height: 18px; opacity: 0.7; flex-shrink: 0; }
@media (max-width: 800px) {
  .cta-block { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- SPLIT SECTION (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.15fr 1fr; }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
}
.split-media img {
  width: 100%;
  height: auto;             /* het height-attribuut (CLS) mag de aspect-ratio niet overrulen */
  aspect-ratio: 3 / 2;      /* reserve space (no CLS) + consistent framed crop */
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
/* Een tekening is geen foto: heel tonen op een rustig vlak i.p.v. bijsnijden */
.split-media img.contain {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 20px;
  box-shadow: none;
}

/* ---------- FEATURE LIST ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 4px 0;
}
.feature-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 3px;
  background-color: var(--orange);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.feature-list li strong { display: block; color: var(--ink); font-weight: 600; }
.feature-list li span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

/* ---------- PAGE HERO (subpage top) ---------- */
/* padding-top calibrated so breadcrumb-height + this padding = .hero padding-top.
   Desktop: 68 + 20 = 88px. Mobile: 44 + 12 = 56px. */
.page-hero {
  padding: 20px 0 clamp(48px, 6vw, 80px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 700px) {
  .breadcrumb { height: 44px; padding: 0; }
  .page-hero { padding-top: 12px; }
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.page-hero h1 { font-size: var(--step-4); }

/* ---------- FOOTER ---------- */
footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.92rem;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-col h4, .footer-col h3.h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.footer-col a:hover { color: var(--ink); }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
  color: var(--ink);
}
.footer-brand img { height: 56px; width: auto; display: block; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 0.85; gap: 2px; }
.footer-brand-text strong { color: var(--ink); font-weight: 900; font-size: 2.6rem; letter-spacing: -0.01em; line-height: 0.85; }
.footer-brand-text small { color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  color: var(--muted);
}
.footer-social a:hover { color: var(--navy); border-color: var(--navy); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.signature { color: var(--muted); }
.signature .sjems-mark {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 42, 74, 0.35);
  padding-bottom: 1px;
}
.signature .sjems-mark:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 500px) {
  .footer-brand img { height: 44px; }
  .footer-brand-text strong { font-size: 1.9rem; }
}

/* ---------- INTRA-PAGE ANCHORS: TABLE OF CONTENTS ---------- */
.toc {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}
.toc strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}
.toc ol {
  margin: 0;
  padding-left: 24px;
  columns: 2;
  gap: 20px;
}
.toc li {
  padding: 4px 0;
  break-inside: avoid;
}
.toc a { color: var(--navy); text-decoration: none; font-weight: 500; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- LAST UPDATED (AI-SEO freshness) ---------- */
.updated {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 24px;
  font-style: italic;
}

/* ---------- UTILITIES (extracted from inline styles) ---------- */
/* Spacing utilities — the number is the pixel value, not the 8pt token index. */
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-auto { margin-top: auto; }
.mw-20 { max-width: 20ch; }
.mw-38 { max-width: 38ch; }
.mw-62 { max-width: 62ch; }
.mw-65 { max-width: 65ch; }
.m-0 { margin: 0; }
.op-90 { opacity: 0.9; }
.text-white { color: #fff; }
.ar-4-5 { aspect-ratio: 4 / 5; }

/* 4-column steps variant (replaces an inline <style> block on apparatenbouw) */
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .steps.cols-4 { grid-template-columns: 1fr; } }

/* CTA block forced to a single column (over.html contact) */
.cta-block.one-col { grid-template-columns: 1fr; }

/* ---------- CERTIFICATIONS (proof block) ----------
   Reuses the .services divider pattern (one bordered container,
   hairline-split cells) so it stays consistent — no floating cards. */
.certs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
}
.cert {
  background: var(--bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Pull quote — size + weight carry it, no side-stripe ornament */
.pullquote { margin: 0; }
.pullquote p {
  margin: 0;
  max-width: 34ch;
  font-size: var(--step-2);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--ink);
}
.pullquote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.cert svg { width: 26px; height: 26px; color: var(--orange); }
.cert strong { font-size: 1.02rem; color: var(--ink); font-weight: 700; letter-spacing: -0.005em; }
.cert span { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 700px) { .certs { grid-template-columns: 1fr; } }

/* ---------- CONTACTBLOK (over.html) ---------- */
.contact-link {
  color: var(--navy);
  font-weight: 600;
  font-size: var(--step-1);
  text-decoration: none;
  overflow-wrap: anywhere; /* lang mailadres mag breken i.p.v. overlopen */
}
.contact-link:hover { text-decoration: underline; }
.contact-note {
  margin-top: var(--space-1);
  font-size: var(--step--1);
}
.contact-address {
  margin-top: var(--space-2);
  font-style: normal;
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- NAV: DE LASRUPS ----------
   Eén oranje segment dat naar het item loopt waar je bent. Het motief komt uit
   het product zelf: een las die je legt, niet een streepje dat aanspringt.
   Bij prefers-reduced-motion vervalt de beweging, niet de aanduiding. */
.mainnav { position: relative; }
.nav-seam {
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 3px;
  width: var(--seam-w, 0px);
  border-radius: 2px;
  background: linear-gradient(90deg, #C94A12, var(--orange) 45%, #F2894B);
  transform: translateX(var(--seam-x, 0px));
  opacity: 0;
  pointer-events: none;
  transition:
    transform .42s cubic-bezier(.16,1,.3,1),
    width .42s cubic-bezier(.16,1,.3,1),
    opacity .2s ease;
}
.nav-seam.on { opacity: 1; }

/* ---------- MOBIEL MENU ---------- */
.mobile-menu {
  /* Overlay: hangt onder de sticky balk en valt óver de pagina heen,
     in plaats van de inhoud omlaag te duwen. */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  overflow: hidden;
  padding: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  box-shadow: 0 12px 32px rgba(11,42,74,0);
  transition:
    grid-template-rows .42s cubic-bezier(.16,1,.3,1),
    border-color .3s ease,
    box-shadow .3s ease,
    visibility 0s linear .42s;
}
/* De ul is de grid-rij die naar 0fr gaat. Eigen margin of padding daarop blijft
   staan als de rij inklapt; alleen ruimte binnen de items wordt weggeknipt. */
.mobile-menu > ul { min-height: 0; overflow: hidden; margin: 0 auto; padding: 0; width: min(1180px, 100% - 40px); }
.mobile-menu li:first-child { margin-top: 12px; }
.mobile-menu li:last-child { margin-bottom: 20px; }
.mobile-menu.open {
  visibility: visible;
  grid-template-rows: 1fr;
  border-top-color: var(--hairline);
  border-bottom-color: var(--hairline);
  box-shadow: 0 12px 32px rgba(11,42,74,.14);
  transition:
    grid-template-rows .42s cubic-bezier(.16,1,.3,1),
    border-top-color .3s ease,
    visibility 0s;
}
.mobile-menu li { opacity: 0; transform: translateY(-6px); }
.mobile-menu.open li {
  animation: seat .38s cubic-bezier(.16,1,.3,1) forwards;
}
.mobile-menu.open li:nth-child(1) { animation-delay: .05s; }
.mobile-menu.open li:nth-child(2) { animation-delay: .09s; }
.mobile-menu.open li:nth-child(3) { animation-delay: .13s; }
.mobile-menu.open li:nth-child(4) { animation-delay: .17s; }
.mobile-menu.open li:nth-child(5) { animation-delay: .21s; }
@keyframes seat { to { opacity: 1; transform: translateY(0); } }

/* Elk item krijgt dezelfde lasrups als aanduiding, verticaal */
.mobile-menu a { position: relative; }
.mobile-menu a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 22px;
  border-radius: 2px;
  background: var(--orange);
  transform: translateY(-50%) scaleY(0);
  transition: transform .28s cubic-bezier(.16,1,.3,1);
}
.mobile-menu a[aria-current="page"]::before,
.mobile-menu a:hover::before,
.mobile-menu a:focus-visible::before { transform: translateY(-50%) scaleY(1); }
.mobile-menu a[aria-current="page"] { color: var(--navy); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .mobile-menu li { opacity: 1; transform: none; }
  .nav-seam { transition: opacity .01ms; }
}

/* ---------- Mobiele audit 2026-09-02 ----------
   Tikdoelen naar >= 44px (Apple HIG / MD); de 404-credential-links zaten op 21px,
   onder de 24px-ondergrens van WCAG 2.5.8. */
a, button { touch-action: manipulation; }
.toc a, .footer-col a, footer a, .hero-creds a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* tel:/mailto: in lopende tekst en contactblokken: 44px tikhoogte, ook buiten de footer */
a[href^="tel:"], a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
/* footer: de 44px-rijen scheiden de items al; geen extra lijstafstand */
.footer-col ul { gap: 0; }
.footer-col li + li { margin-top: 0; }

/* ---------- PROJECTEN (galerij) ----------
   Experience-modus: de foto's leiden, de interface wijkt. Geen kaders, geen
   bijschriften. Staande tegels 4:5, liggende dubbel breed. */
.gallery-head { padding: clamp(28px, 4vw, 48px) 0 0; }
.gallery-section { padding-top: clamp(24px, 3vw, 40px); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 12px; }
.tile { display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.tile-l { grid-column: span 2; aspect-ratio: 16 / 10; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.03); }
.tile:focus-visible { outline-offset: 2px; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tile-l { aspect-ratio: 3 / 2; }
}

/* Lightbox: native <dialog>; de ene geauthoreerde beweging op deze pagina */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94dvh; width: auto; }
.lightbox::backdrop { background: rgba(11,42,74,.92); }
.lightbox img { display: block; max-width: min(96vw, 1400px); max-height: 94dvh; width: auto; height: auto; border-radius: var(--radius-md); }
.lightbox[open] { animation: lb-in .32s cubic-bezier(.16,1,.3,1); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); background: rgba(11,42,74,.7); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 2; }
.lightbox-close:hover { border-color: #fff; background: rgba(11,42,74,.9); }
.lightbox-close svg { width: 22px; height: 22px; }
body:has(.lightbox[open]) { overflow: hidden; }
