/* ==========================================================================
   Anka Metaal — design system
   Zie docs/DESIGN-SYSTEM.md voor de uitleg achter elke keuze.
   Volgorde: 1 fonts · 2 tokens · 3 basis · 4 layout · 5 componenten · 6 pagina's · 7 utilities
   ========================================================================== */

/* 1. Fonts — zelf gehost, met latin-ext voor Pools en Turks ------------------ */
@font-face {
  font-family: "Big Shoulders Display"; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url(../fonts/bigshoulders-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: "Big Shoulders Display"; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url(../fonts/bigshoulders-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/plexsans-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: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/plexsans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Tokens ------------------------------------------------------------------ */
:root {
  /* Kleur — afgeleid van het logo (groen + antraciet) en van wat in het atelier staat */
  --ink: #1E1C1A;          /* wapeningsstaal: hoofdtekst */
  --anthracite: #2A2725;   /* header, footer, donkere secties */
  --anthracite-2: #3A3634; /* oppervlak op donker; nabij logo-antraciet #423E3D */
  --concrete: #E6E3DB;     /* betonvloer: secundaire achtergrond */
  --paper: #F4F2EC;        /* hoofdachtergrond */
  --tag: #FBFAF6;          /* labels, formulieren */
  --rule: #CFCAC0;         /* lijnen */
  --muted: #5E5A55;        /* secundaire tekst (6.1:1 op paper) */
  --steel: #A9A49C;        /* secundaire tekst op donker (6.0:1) */
  --green: #8BC53E;        /* Anka-groen uit het logo: vlakken en accenten, nooit tekst op licht */
  --green-hover: #9DD152;
  --green-ink: #3D6A12;    /* groen als tekst op licht (5.7:1) */
  --signal: #F2B400;       /* kraangeel: focus en markeringen, enkel op donker of als rand */
  --error: #B3261E;

  /* Typografie */
  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-text: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  --t-h4: clamp(1.375rem, 1.25rem + 0.5vw, 1.75rem);
  --t-h3: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  --t-h2: clamp(2.25rem, 1.6rem + 2.6vw, 4rem);
  --t-h1: clamp(2.75rem, 1.7rem + 4.6vw, 6rem);
  --t-hero: clamp(3.25rem, 1.4rem + 8vw, 9.5rem);

  /* Ruimte: 4px-basis */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);

  /* Layout */
  --wrap: 86rem;
  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
  --radius: 2px;          /* staalplaat: strakke hoeken. Geen afgeronde kaarten. */
  --bar: 4px;             /* dikte van "platstaal"-lijnen */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3. Basis ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-m)/1.6 var(--f-text);
  font-feature-settings: "tnum" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 var(--s-4); max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
table { border-collapse: collapse; }
:lang(tr) { text-transform: none; } /* Turkse İ/ı: hoofdletters via CSS volgen de lang-attribuut-regels */

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--signal); }
.on-dark :focus-visible, .masthead :focus-visible, .footer :focus-visible, .jobs-teaser :focus-visible,
.split--dark :focus-visible, .hero :focus-visible { outline-color: var(--signal); box-shadow: none; }

.skip { position: absolute; left: var(--s-4); top: -10rem; z-index: 100; background: var(--signal); color: var(--ink); padding: var(--s-3) var(--s-4); font-weight: 600; }
.skip:focus { top: var(--s-4); }

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Titels — condensed display, de lijn van het vroegere Oswald */
.h1, .h2, .h3, .h4, .hero__title, .facts dt, .index__name, .producthead__no {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0 0 var(--s-4);
}
.h1 { font-size: var(--t-h1); text-transform: uppercase; }
.h2 { font-size: var(--t-h2); text-transform: uppercase; }
.h3 { font-size: var(--t-h3); font-weight: 700; }
.h4 { font-family: var(--f-text); font-size: var(--t-l); font-weight: 600; line-height: 1.25; letter-spacing: 0; }
.lead { font-size: var(--t-l); line-height: 1.5; max-width: 52ch; text-wrap: pretty; }
.muted { color: var(--muted); }

/* 4. Layout ------------------------------------------------------------------ */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--s-8); }
.section--concrete { background: var(--concrete); }
.section__head { display: grid; gap: var(--s-4) var(--s-8); margin-bottom: var(--s-7); }
@media (min-width: 60rem) { .section__head { grid-template-columns: 1.1fr 1fr; align-items: end; } .section__head .lead { margin-bottom: 0.3em; } }
.pagehead { padding-block: var(--s-9) var(--s-7); }
.pagehead--center { text-align: center; display: grid; justify-items: center; padding-block: var(--s-10); }
.columns { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.columns__item { border-top: var(--bar) solid var(--ink); padding-top: var(--s-4); }
.columns__item p { color: var(--muted); }
.prose-grid { display: grid; gap: var(--s-7); padding-block: var(--s-8); }
@media (min-width: 60rem) { .prose-grid { grid-template-columns: 1.6fr 1fr; } }
.prose p { font-size: var(--t-l); line-height: 1.6; }
/* Juridische pagina's: leesbare breedte, lijsten en de cookietabel */
.prose { max-width: 48rem; }
.prose h2 { margin-top: var(--s-6); }
.prose ul { padding-left: 1.2em; display: grid; gap: var(--s-2); font-size: var(--t-l); line-height: 1.6; }
.prose .scroll { overflow-x: auto; margin-block: var(--s-5); }
.legal-table { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.legal-table caption { text-align: left; font-weight: 600; padding-bottom: var(--s-2); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: var(--s-2) var(--s-3) var(--s-2) 0; border-bottom: 1px solid var(--rule); }
.legal-table thead th { border-bottom: 2px solid var(--ink); }
.legal-table tbody th { font-family: ui-monospace, monospace; font-weight: 500; overflow-wrap: anywhere; }
.legal-table td:nth-child(3) { min-width: 14rem; width: 40%; }
.legal-links { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-7); }
.wide { margin: 0; }
.wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 40rem) { .wide img { aspect-ratio: 4 / 3; } }

/* 5. Componenten ------------------------------------------------------------- */

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 2.75rem; padding: var(--s-2) var(--s-5);
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: var(--t-s); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 3.5rem; padding-inline: var(--s-6); font-size: var(--t-m); }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: var(--ink); }
.btn--primary:hover { background: var(--green-hover); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: var(--s-2); align-items: center; }
.link-arrow::after { content: ""; width: 1.25em; height: 2px; background: currentColor; transition: width .2s var(--ease); }
.link-arrow:hover::after { width: 2em; }

/* Header */
.masthead { background: var(--anthracite); color: var(--paper); position: sticky; top: 0; z-index: 50; }
.masthead__bar { display: flex; align-items: center; gap: var(--s-5); min-height: 4.5rem; }
.masthead__logo img { width: 132px; height: auto; }
.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-4); }
.masthead__phone { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; line-height: 1.2; }
.masthead__phone > span:last-child { display: grid; }
.masthead__number { font-weight: 600; }
.masthead__status { font-size: var(--t-xs); color: var(--steel); }
.status-dot { width: .625rem; height: .625rem; border-radius: 50%; background: var(--steel); flex: none; }
.status-dot.is-open { background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 25%, transparent); }
.masthead__menu { display: none; background: none; border: 0; padding: var(--s-3); cursor: pointer; }
.masthead__menu span { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px 0; }

.nav { display: flex; align-items: center; gap: var(--s-6); margin-left: var(--s-6);
       position: static; inset: auto; border: 0; padding: 0; background: transparent; color: inherit; overflow: visible; width: auto; height: auto; }
.nav__list, .nav__langs { list-style: none; display: flex; gap: var(--s-5); }
.nav__list a { text-decoration: none; font-weight: 500; padding-block: var(--s-2); border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current] { border-color: var(--green); }
.nav__langs { gap: var(--s-1); font-size: var(--t-xs); font-weight: 600; }
.nav__langs a { text-decoration: none; padding: var(--s-1) var(--s-2); color: var(--steel); border-radius: var(--radius); }
.nav__langs a[aria-current] { color: var(--ink); background: var(--paper); }
.nav__langs a:hover { color: var(--paper); }
.nav__close { display: none; }

@media (max-width: 68rem) {
  .masthead__status { display: none; }
  .masthead__menu { display: block; }
  .nav { margin: 0; }
  .nav:not(:popover-open) { display: none; }
  .nav:popover-open {
    position: fixed; inset: 0; width: 100%; height: 100dvh; margin: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: var(--s-7);
    padding: var(--s-7) var(--gutter); background: var(--anthracite); color: var(--paper); overflow: auto;
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; font-family: var(--f-display); font-size: var(--t-h2); font-weight: 800; text-transform: uppercase; line-height: 1.1; border: 0; }
  .nav__langs { gap: var(--s-2); font-size: var(--t-m); }
  .nav__close { display: block; margin-top: auto; background: none; border: 2px solid var(--paper); color: var(--paper); padding: var(--s-3); border-radius: var(--radius); font-weight: 600; }
}
@media (max-width: 48rem) { .masthead__phone { display: none; } }
@media (max-width: 30rem) { .masthead__cta { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(86svh, 54rem); display: grid; align-items: end; color: var(--paper); background: var(--anthracite); overflow: clip; }
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(30 28 26 / .92) 0%, rgb(30 28 26 / .55) 45%, rgb(30 28 26 / .1) 75%); }
/* Achtergrondvideo: start onzichtbaar en vloeit in zodra hij speelt; de schaduw houdt de tekst leesbaar */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__shade { display: none; }
.hero__video.is-playing + .hero__shade { display: block; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(30 28 26 / .92) 0%, rgb(30 28 26 / .55) 45%, rgb(30 28 26 / .15) 75%); }
.hero__body { position: relative; padding-block: var(--s-9) var(--s-8); }
.hero__title { font-size: var(--t-hero); font-weight: 900; text-transform: uppercase; line-height: .86; margin-bottom: var(--s-5); max-width: 12ch; }
.hero__lead { font-size: var(--t-l); max-width: 46ch; color: color-mix(in srgb, var(--paper) 88%, transparent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
/* Eén georkestreerd moment bij het laden, verder geen scroll-animaties */
@media (prefers-reduced-motion: no-preference) {
  .hero__title { animation: rise .9s var(--ease) both; }
  .hero__lead { animation: rise .9s .12s var(--ease) both; }
  .hero__cta { animation: rise .9s .22s var(--ease) both; }
  .hero__photo img { animation: settle 1.6s var(--ease) both; }
}
/* Enkel verschuiven, nooit vanuit onzichtbaar: als de animatie niet afspeelt, blijft de tekst leesbaar */
@keyframes rise { from { transform: translateY(1.25rem); } }
@keyframes settle { from { transform: scale(1.06); } }

/* Kerncijfers: als een specblad, niet als "grote getallen met verloop" */
.facts { background: var(--paper); border-bottom: 1px solid var(--rule); }
.facts__list { display: grid; grid-template-columns: repeat(2, 1fr); margin-block: 0; }
@media (min-width: 60rem) { .facts__list { grid-template-columns: repeat(4, 1fr); } }
.facts__item { padding: var(--s-6) var(--s-4) var(--s-5) 0; border-top: 1px solid var(--rule); }
@media (min-width: 60rem) { .facts__item { border-top: 0; border-left: 1px solid var(--rule); padding-left: var(--s-5); } .facts__item:first-child { border-left: 0; padding-left: 0; } }
.facts dt { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); margin: 0; }
.facts dd { margin: var(--s-1) 0 0; color: var(--muted); font-size: var(--t-s); max-width: 22ch; }

/* Productindex: catalogusregels */
.index { list-style: none; border-bottom: 1px solid var(--ink); }
.index__row { position: relative; border-top: 1px solid var(--ink); }
.index__link { display: grid; grid-template-columns: 3rem 1fr auto; gap: var(--s-1) var(--s-4); align-items: baseline; padding: var(--s-5) 0; text-decoration: none; }
.index__no { font-weight: 600; font-size: var(--t-s); color: var(--muted); font-variant-numeric: tabular-nums; }
.index__name { font-size: var(--t-h3); text-transform: uppercase; margin: 0; transition: transform .25s var(--ease), color .2s; }
.index__short { grid-column: 2; color: var(--muted); font-size: var(--t-s); }
.index__arrow { grid-row: 1; grid-column: 3; width: 2.25rem; height: 2px; background: var(--ink); position: relative; align-self: center; transition: width .25s var(--ease); }
.index__arrow::after { content: ""; position: absolute; right: 0; top: -5px; width: 12px; height: 12px; border: solid var(--ink); border-width: 2px 2px 0 0; transform: rotate(45deg); }
/* Vaste kleine foto per regel: altijd zichtbaar en gedempt, op volle kleur bij hover */
.index__thumb { display: none; }
@media (min-width: 60rem) {
  .index__link { grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1fr) 9rem 4rem; align-items: center; padding: var(--s-4) 0; }
  .index__no, .index__name, .index__short { align-self: center; }
  .index__short { grid-column: 3; grid-row: 1; }
  .index__thumb { display: block; grid-column: 4; grid-row: 1; width: 9rem; aspect-ratio: 3 / 2; overflow: hidden; background: var(--concrete); }
  .index__thumb picture { height: 100%; }
  .index__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .75; transition: filter .3s var(--ease), opacity .3s var(--ease); }
  .index__thumb--ral { display: grid; grid-template-columns: repeat(4, 1fr); }
  .index__thumb--ral i { background: var(--c); filter: grayscale(1); opacity: .75; transition: filter .3s var(--ease), opacity .3s var(--ease); }
  .index__arrow { grid-column: 5; justify-self: end; }
}
@media (hover: hover) and (min-width: 60rem) {
  .index__link:hover .index__name { color: var(--green-ink); }
  .index__link:hover .index__arrow { width: 3.5rem; }
  .index__link:hover .index__thumb img, .index__link:hover .index__thumb--ral i { filter: none; opacity: 1; }
}


/* Proces */
.process__steps { list-style: none; display: grid; gap: var(--s-6); counter-reset: s; }
@media (min-width: 60rem) { .process__steps { grid-template-columns: repeat(5, 1fr); gap: var(--s-5); } }
.process__step { border-top: var(--bar) solid var(--ink); padding-top: var(--s-4); }
.process__no { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--green); font-weight: 700; margin-bottom: var(--s-4); }
.process__step p { color: var(--muted); font-size: var(--t-s); }

/* Foto + tekst */
.split { display: grid; }
.split--dark { background: var(--anthracite); color: var(--paper); }
.split__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.split__body { padding: var(--s-8) var(--gutter); align-self: center; }
.split__body p { color: var(--steel); font-size: var(--t-l); }
@media (min-width: 60rem) {
  .split { grid-template-columns: 3fr 2fr; min-height: 36rem; }
  .split__photo img { aspect-ratio: auto; }
  .split__body { padding: var(--s-8); }
}

/* Vacatures */
.joblist { list-style: none; border-bottom: 1px solid var(--ink); }
.joblist li { border-top: 1px solid var(--ink); }
.joblist a { display: grid; gap: var(--s-2) var(--s-6); padding: var(--s-5) 0; text-decoration: none; align-items: baseline; }
@media (min-width: 48rem) { .joblist a { grid-template-columns: 1fr auto; } }
.joblist strong { font-size: var(--t-l); display: block; }
.joblist a:hover strong { color: var(--green-ink); }
.joblist__summary { display: block; color: var(--muted); margin-top: var(--s-1); max-width: 60ch; }
.joblist__meta { font-size: var(--t-s); color: var(--muted); white-space: nowrap; }
.joblist--dark { border-color: var(--anthracite-2); }
.joblist--dark li { border-color: var(--anthracite-2); }
.joblist--dark a { grid-template-columns: 1fr auto; font-size: var(--t-l); font-weight: 600; }
.joblist--dark a:hover { color: var(--green); }
.joblist--dark .joblist__meta { color: var(--steel); font-weight: 400; }
.jobs-teaser { background: var(--anthracite); color: var(--paper); padding-block: var(--section); }
.jobs-teaser p { color: var(--steel); font-size: var(--t-l); }
.jobs-teaser__inner { display: grid; gap: var(--s-7); }
@media (min-width: 60rem) { .jobs-teaser__inner { grid-template-columns: 1fr 1fr; align-items: start; } }
.count { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; padding: 0 .2em; background: var(--green); font-size: .5em; vertical-align: .55em; }
.badge { display: inline-block; font-style: normal; font-size: var(--t-xs); font-weight: 600; background: var(--signal); color: var(--ink); padding: 0 var(--s-2); margin-left: var(--s-2); vertical-align: middle; }

.jobhero { position: relative; color: var(--paper); background: var(--anthracite); min-height: 30rem; display: grid; align-items: end; overflow: clip; }
.jobhero__photo, .jobhero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jobhero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(30 28 26 / .94), rgb(30 28 26 / .35)); }
.jobhero__body { position: relative; padding-block: var(--s-9) var(--s-7); }
.jobhero .lead { color: color-mix(in srgb, var(--paper) 88%, transparent); }

.job { display: grid; gap: var(--s-7); padding-block: var(--s-6) var(--section); }
@media (min-width: 60rem) { .job { grid-template-columns: 1fr 1.2fr; } .job__head { position: sticky; top: 7rem; align-self: start; } }
.job__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-2) var(--s-6); margin: var(--s-6) 0; padding-block: var(--s-4); border-block: 1px solid var(--rule); }
@media (max-width: 30rem) { .job__facts { grid-template-columns: 1fr; } }
.job__facts dt { font-size: var(--t-xs); color: var(--muted); }
.job__facts dd { margin: 0; font-weight: 600; }
.job__body section { margin-bottom: var(--s-7); }

.apply { display: grid; gap: var(--s-7); }
@media (min-width: 60rem) { .apply { grid-template-columns: 1fr 1.2fr; } }

/* Lijsten */
.checklist { list-style: none; display: grid; gap: var(--s-3); }
.checklist li { position: relative; padding-left: var(--s-6); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; border: solid var(--green-ink); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.numbered { padding-left: var(--s-5); margin-bottom: var(--s-6); }
.numbered li { margin-bottom: var(--s-2); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pills a { display: block; padding: var(--s-2) var(--s-4); border: 1px solid var(--ink); border-radius: var(--radius); text-decoration: none; font-weight: 500; }
.pills a:hover { background: var(--ink); color: var(--paper); }

/* Productkop + bundellabel */
.crumbs { padding-top: var(--s-6); font-size: var(--t-s); color: var(--muted); }
.crumbs a { color: var(--muted); }
.producthead { display: grid; gap: var(--s-7); padding-block: var(--s-6) var(--s-8); align-items: end; }
@media (min-width: 60rem) { .producthead { grid-template-columns: 1.5fr 1fr; } }
.producthead__no { font-size: var(--t-h3); color: var(--green-ink); margin-bottom: var(--s-2); }

.tag {
  position: relative; background: var(--tag); color: var(--ink);
  border: 1px solid var(--rule); border-top: 14px solid var(--signal);
  padding: var(--s-6) var(--s-5) var(--s-5); max-width: 26rem; justify-self: end; width: 100%;
  box-shadow: 0 1px 0 var(--rule), 0 18px 30px -18px rgb(30 28 26 / .35);
  rotate: -1.2deg;
}
.tag__hole { position: absolute; top: -9px; right: var(--s-5); width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--rule); }
.tag__brand { font-family: var(--f-display); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; margin-bottom: var(--s-3); }
.tag__specs { margin: 0; display: grid; }
.tag__specs div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-3); padding-block: var(--s-2); border-top: 1px dashed var(--rule); font-size: var(--t-s); }
.tag__specs dt { color: var(--muted); }
.tag__specs dd { margin: 0; font-weight: 600; }
.tag__pos { margin: var(--s-3) 0 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; font-size: var(--t-xs); }
@media (max-width: 60rem) { .tag { justify-self: start; rotate: 0deg; } }

.ral { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; padding-block: var(--s-4); }
.ral span { background: var(--c); aspect-ratio: 3 / 4; display: flex; align-items: flex-end; padding: var(--s-2); }
.ral em { font-style: normal; font-size: var(--t-xs); font-weight: 600; background: var(--tag); padding: 0 var(--s-1); }

.factsheet { margin: 0; align-self: start; border-top: var(--bar) solid var(--ink); }
.factsheet div { padding-block: var(--s-3); border-bottom: 1px solid var(--rule); }
.factsheet dt { font-size: var(--t-xs); color: var(--muted); }
.factsheet dd { margin: 0; font-weight: 600; }

.cert { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 48rem) { .cert { grid-template-columns: 12rem 1fr; } }
.cert img { width: 11rem; }

/* Offerteband */
.quoteband { background: var(--concrete); color: var(--ink); padding-block: var(--s-8); border-top: 1px solid var(--rule); }
.quoteband__inner { display: grid; gap: var(--s-5); align-items: end; }
@media (min-width: 60rem) { .quoteband__inner { grid-template-columns: 1fr auto; } }
.quoteband .h2 { margin-bottom: var(--s-2); }
.quoteband p { margin: 0; font-size: var(--t-l); }
.quoteband__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.nowrap { white-space: nowrap; }

/* Formulieren */
.form { display: grid; gap: var(--s-5); }
.form__alert { background: var(--tag); border-left: var(--bar) solid var(--error); padding: var(--s-3) var(--s-4); font-weight: 600; }
.form__alert[hidden] { display: none; }
.field { display: grid; gap: var(--s-2); border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: var(--t-s); padding: 0; }
.field input:not([type="checkbox"], [type="radio"], [type="file"]), .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: var(--s-3) var(--s-4);
  background: var(--tag); border: 1.5px solid #8A857D; border-radius: var(--radius);
}
.field textarea { min-height: 7rem; resize: vertical; field-sizing: content; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error) !important; border-width: 2px; }
.field__hint { font-size: var(--t-xs); color: var(--muted); margin: 0; }
.field__error { color: var(--error); font-size: var(--t-s); font-weight: 600; margin: 0; }
.field--check label { display: flex; gap: var(--s-3); align-items: flex-start; font-weight: 400; }
.field--check input, .radio input { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); flex: none; margin-top: .15em; }
.field--check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.field--check label:has([aria-invalid="true"]) { color: var(--error); font-weight: 600; }
.radio { display: flex; gap: var(--s-2); align-items: center; font-weight: 400 !important; min-height: 2.5rem; }
.field-row { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.mt { margin-top: var(--s-3); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__more { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: var(--s-3); }
.form__more summary { cursor: pointer; font-weight: 600; font-size: var(--t-s); padding-block: var(--s-2); }
.form__more[open] { display: grid; gap: var(--s-5); padding-bottom: var(--s-5); }
.form__alt { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--t-s); }
.form__alt a { font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: var(--s-2) var(--s-4); border: 1.5px solid #8A857D; border-radius: var(--radius); background: var(--tag); font-weight: 500; font-size: var(--t-s); }
.chips--large .chip span { padding: var(--s-3) var(--s-5); font-size: var(--t-m); }
.chip:has(input:checked) span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip:has(input:checked) span::before { content: "✓ "; color: var(--green); }
.chip:has(input:focus-visible) span { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--signal); }
.chips[aria-invalid="true"] .chip span { border-color: var(--error); }

.step { border: 0; padding: 0 0 var(--s-6); margin: 0; border-bottom: 1px solid var(--rule); display: grid; gap: var(--s-5); }
.step__title { display: flex; align-items: center; gap: var(--s-3); font-family: var(--f-display); font-weight: 800; font-size: var(--t-h3); text-transform: uppercase; padding: 0; margin-bottom: var(--s-4); }
.step__title span { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; background: var(--green); font-family: var(--f-text); font-size: var(--t-m); font-weight: 700; }

.drop { position: relative; border: 2px dashed #8A857D; border-radius: var(--radius); background: var(--tag); padding: var(--s-6) var(--s-4); text-align: center; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__text { font-weight: 600; }
.drop__list { display: block; font-size: var(--t-s); color: var(--green-ink); margin-top: var(--s-2); }
.drop.is-over, .drop:has(input:focus-visible) { border-color: var(--ink); background: var(--concrete); }

.quote { display: grid; gap: var(--s-8); padding-bottom: var(--section); }
@media (min-width: 64rem) { .quote { grid-template-columns: 1fr 22rem; } .quote__aside { position: sticky; top: 7rem; align-self: start; } }
.quote__aside { border-top: var(--bar) solid var(--ink); padding-top: var(--s-5); }

/* Openingsuren */
.hours { width: 100%; max-width: 20rem; font-size: var(--t-s); }
.hours th { position: relative; text-align: left; font-weight: 400; padding: var(--s-1) var(--s-4) var(--s-1) 0; width: 3rem; white-space: nowrap; }
.hours td { padding: var(--s-1) 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours .is-today { font-weight: 700; }
.hours .is-today th::before { content: ""; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--green); }
.hours__exceptions { margin-top: var(--s-4); font-size: var(--t-s); max-width: 24rem; }
.hours__exceptions-title { font-weight: 700; margin-bottom: var(--s-1); }
.hours__exceptions ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-1); }
.hours__exceptions b { font-variant-numeric: tabular-nums; }

/* Contact */
.contact { display: grid; gap: var(--s-7); padding-bottom: var(--section); }
@media (min-width: 60rem) { .contact { grid-template-columns: 1fr 1fr; } }
.contact__list { margin: 0; border-top: var(--bar) solid var(--ink); }
.contact__list > div { display: grid; gap: var(--s-1); padding-block: var(--s-4); border-bottom: 1px solid var(--rule); }
@media (min-width: 40rem) { .contact__list > div { grid-template-columns: 9rem 1fr; } }
.contact__list dt { color: var(--muted); font-size: var(--t-s); }
.contact__list dd { margin: 0; }
.contact__big { font-family: var(--f-display); font-weight: 800; font-size: var(--t-h3); line-height: 1; overflow-wrap: anywhere; }
.contact__big a { text-decoration: none; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.tick { width: 4rem; height: 4rem; background: var(--green); display: grid; place-items: center; margin-bottom: var(--s-5); }
.tick::after { content: ""; width: 1.6rem; height: .85rem; border: solid var(--ink); border-width: 0 0 4px 4px; transform: translateY(-3px) rotate(-45deg); }

/* Footer */
.footer { background: var(--anthracite); color: var(--paper); padding-top: var(--s-9); }
.footer__grid { display: grid; gap: var(--s-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); padding-bottom: var(--s-8); }
.footer p, .footer address, .footer td, .footer th { color: var(--steel); font-size: var(--t-s); }
.footer address a { color: var(--paper); }
.footer__h { font-size: var(--t-xs); font-weight: 600; color: var(--paper); margin: 0 0 var(--s-3); }
.footer__links { list-style: none; display: grid; gap: var(--s-2); font-size: var(--t-s); }
.footer__links a { text-decoration: none; color: var(--steel); }
.footer__links a:hover { color: var(--paper); }
.footer__brand img:first-child { width: 132px; margin-bottom: var(--s-4); }
.footer__cert { width: 6.5rem; margin-top: var(--s-4); background: var(--paper); padding: var(--s-2); }
.footer .hours .is-today { color: var(--paper); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); border-top: 1px solid var(--anthracite-2); padding-block: var(--s-5); font-size: var(--t-xs); color: var(--steel); }
.footer__legal a { color: var(--steel); }

/* Actiebalk onderaan op gsm */
.actionbar { display: none; }
@media (max-width: 48rem) {
  body { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); }
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
    position: fixed; inset: auto 0 0 0; z-index: 40; padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
    background: var(--anthracite); border-top: 1px solid var(--anthracite-2);
  }
  .actionbar a { display: grid; place-items: center; min-height: 2.75rem; font-weight: 600; font-size: var(--t-s); text-decoration: none; border-radius: var(--radius); color: var(--paper); border: 1px solid var(--steel); }
}

/* Toestemmingsbalk (enkel als externe analytics aan staat) */
/* Toestemmingsbanner (enkel als GTM of Matomo ingesteld is). Weigeren en toestaan even prominent. */
.consent {
  position: fixed; z-index: 60; inset: auto var(--s-4) var(--s-4) auto; width: min(30rem, calc(100% - 2 * var(--s-4)));
  max-height: calc(100dvh - 2 * var(--s-4)); overflow: auto;
  background: var(--anthracite); color: var(--paper); padding: var(--s-5); display: grid; gap: var(--s-3);
  border-top: var(--bar) solid var(--green); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .5);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: var(--t-s); color: var(--steel); }
.consent a { color: var(--paper); }
.consent__title { font-family: var(--f-text); font-size: var(--t-m); font-weight: 600; margin: 0; }
.consent__choices { display: grid; gap: var(--s-2); border-block: 1px solid var(--anthracite-2); padding-block: var(--s-3); }
.consent__choices[hidden] { display: none; }
.consent__choice { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); font-size: var(--t-s); color: var(--steel); align-items: start; }
.consent__choice b { display: block; color: var(--paper); font-weight: 600; }
.consent__choice input { width: 1.25rem; height: 1.25rem; margin-top: .15em; accent-color: var(--green); }
.consent__buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: var(--s-2); }
.consent__buttons [hidden] { display: none; }
.consent .btn { color: var(--paper); min-height: 2.75rem; }
.consent :focus-visible { outline-color: var(--signal); box-shadow: none; }
@media (max-width: 48rem) { .consent { inset: auto var(--s-2) calc(4rem + env(safe-area-inset-bottom)) var(--s-2); width: auto; } }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.footer__social { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); font-size: var(--t-s); }
.footer__social a { color: var(--paper); }

@media print {
  .masthead, .actionbar, .footer, .quoteband, .consent { display: none; }
  body { background: #fff; }
}
.dia { font-family: var(--f-text); font-weight: 600; font-size: .78em; margin-right: .04em; }

/* Galerij "In beeld": kolommen, zodat staande en liggende foto's hun verhouding houden */
.gallery__jump { margin-top: var(--s-5); }
.gallery { padding-bottom: var(--s-8); scroll-margin-top: 6rem; }
.gallery .h3 { border-top: var(--bar) solid var(--ink); padding-top: var(--s-4); }
.gallery__grid { columns: 1; column-gap: var(--s-4); }
@media (min-width: 40rem) { .gallery__grid { columns: 2; } }
@media (min-width: 64rem) { .gallery__grid { columns: 3; } }
.gallery__item { break-inside: avoid; margin: 0 0 var(--s-5); }
.gallery__item a, .related__item a { display: block; overflow: hidden; background: var(--concrete); }
.gallery__item img, .related__item img { width: 100%; height: auto; transition: transform .4s var(--ease); }
.gallery__item a:hover img, .related__item a:hover img { transform: scale(1.03); }
.gallery__item figcaption, .related__item figcaption { font-size: var(--t-s); color: var(--muted); margin-top: var(--s-2); }

/* Foto's bij een product */
.related { padding-block: var(--s-6) var(--s-8); border-top: 1px solid var(--rule); }
.related__grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); margin-bottom: var(--s-4); }
@media (min-width: 60rem) { .related__grid { grid-template-columns: repeat(4, 1fr); } }
.related__item { margin: 0; }
.related__item img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(20 19 17 / .96); color: var(--paper); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(20 19 17 / .9); }
.lightbox figure { margin: 0; display: grid; gap: var(--s-3); justify-items: center; padding: var(--s-7) var(--s-8); }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font-size: var(--t-s); color: var(--steel); text-align: center; }
.lightbox__btn { position: absolute; top: 50%; translate: 0 -50%; width: 3.5rem; height: 3.5rem; border: 1px solid var(--steel); background: rgb(42 39 37 / .7); cursor: pointer; }
.lightbox__btn::before { content: ""; display: block; width: 14px; height: 14px; margin: auto; border: solid var(--paper); border-width: 2px 2px 0 0; }
.lightbox__prev { left: var(--s-4); } .lightbox__prev::before { transform: translateX(3px) rotate(-135deg); }
.lightbox__next { right: var(--s-4); } .lightbox__next::before { transform: translateX(-3px) rotate(45deg); }
.lightbox__close { position: absolute; top: var(--s-4); right: var(--s-4); background: none; border: 1px solid var(--steel); color: var(--paper); padding: var(--s-2) var(--s-4); font-weight: 600; cursor: pointer; }
.lightbox :focus-visible { outline-color: var(--signal); box-shadow: none; }
@media (max-width: 40rem) { .lightbox figure { padding: var(--s-8) var(--s-3); } .lightbox__btn { top: auto; bottom: var(--s-4); translate: none; } }

/* reCAPTCHA: badge verborgen (overlapt de actiebalk), verplichte vermelding staat onder de knop */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { font-size: var(--t-xs); color: var(--muted); margin: var(--s-2) 0 0; }
.recaptcha-note a { color: inherit; }

/* Melding op FR/DE/EN: vacatures staan in het Nederlands */
.note-lang { display: inline-block; margin: 0 0 var(--s-4); padding: var(--s-2) var(--s-3); border-left: var(--bar) solid var(--signal); background: var(--tag); color: var(--ink); font-size: var(--t-s); }
