/*
Theme Name: radarx
Theme URI: https://radarxense.com
Author: BlueCT Site Factory
Description: Klassiek PHP-thema voor Radarxense (XenseFlow). Lay-out in PHP-templates, inhoud in SCF-velden.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: radarx
*/

/* Concept: Signaalrood, zwart en wit, met lichtgrijs als enige neutrale vlak: de bestaande huisstijl van Radarxense, één op één overgenomen. Een nuchtere technische B2B-site op wit met harde rechte hoeken, massieve rode en zwarte vierkanten als handtekening en pilvormige knoppen met een rode omlijning. De boodschap is eenvoud: een kastje dat zonder graafwerk aan een bestaande mast hangt, geen hightech-laboratorium. */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  /* Four colours, no more (design_direction.palette_note). */
  --c-red: #E52837;
  --c-black: #000000;
  --c-white: #FFFFFF;
  --c-grey: #F2F2F2;
  --color-dominant: var(--c-red);
  --surface: var(--c-grey);
  --ink: var(--c-black);
  --accent: var(--c-black);
  --accent-text: var(--c-black); /* small accent text is black, never a darkened red */

  /* Type: Google fallback pair here; functions.php prepends the self-hosted
     Raleway only when its files are present. */
  --font-display: "Saira", sans-serif;
  --font-body: "Exo 2", sans-serif;

  --step--1: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  --step-0: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);      /* body 18 > 21 */
  --step-1: clamp(1.1875rem, 1.1rem + 0.3vw, 1.3125rem);
  --step-2: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);     /* H3 20 > 26 */
  --step-sub: clamp(1.5rem, 1.45rem + 0.2vw, 1.625rem);    /* red subtitle 24 > 26, never below 24 (contrast) */

  /* DISPLAY TIER: editorial scale. 40px at 320, 96px at 1440. */
  --step-d1: clamp(2.5rem, 1.5rem + 5vw, 6rem);          /* hero h1        */
  --step-d2: clamp(2rem, 1.3571rem + 3.214vw, 4.25rem);  /* page h1 / band */
  --step-d3: clamp(1.6875rem, 1.3125rem + 1.875vw, 3rem);/* section h2     */

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 7rem;

  --container: 1160px;
  --container-max: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --measure: 760px;
  --section-pad: clamp(4.5rem, 3.4rem + 5.4vw, 7.8rem); /* ~72px mobile, ~125px desktop */

  --radius: 0;
  --pill: 100px;
  --square: 75px;
  --square-panel: 80px;
  --card-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
  --mat-shadow: 3px 3px 12px 0 rgba(0, 0, 0, 0.25);

  --header-h: 96px;
  --header-h-scrolled: 78px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; max-width: 100%; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--c-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums; /* Raleway defaults to old-style figures */
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a > svg, button > svg, p svg, li > a svg { display: inline-block; vertical-align: middle; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
h1, h2, h3, .display {
  overflow-wrap: anywhere;
  hyphens: auto;
  min-width: 0;
}
h4 { font-size: var(--step-1); }

p, ul, ol, dl, figure, blockquote, address { margin: 0 0 var(--space-3); }
address { font-style: normal; }
strong, b { font-weight: 700; }
sub { font-size: 0.7em; line-height: 0; vertical-align: -0.25em; }

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 0.18em; text-decoration-color: var(--c-red); }
a:hover { color: var(--c-black); text-decoration-color: var(--c-red); } /* no red text at body size */
p a, li a, address a { overflow-wrap: anywhere; }

a, button, input, select, textarea, summary, label { touch-action: manipulation; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--c-black); outline-offset: 3px; }
::selection { background: var(--c-black); color: var(--c-white); }

[id] { scroll-margin-top: calc(var(--header-h-scrolled) + 1rem); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--c-black);
  color: var(--c-white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--c-white); }
main:focus { outline: none; box-shadow: none; }

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

/* ==========================================================================
   3. Buttons and links
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 11px 32px;
  border: 2px solid var(--c-red);
  border-radius: var(--pill);
  background-color: transparent;
  color: var(--c-red);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1875rem; /* 19px bold: red label clears the large-text contrast bar */
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease-out, color 0.3s ease-out, border-color 0.3s ease-out;
}
.btn .icon { flex: 0 0 auto; }
.btn:hover,
.btn:focus-visible {
  background-color: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}
.btn:focus-visible { outline: 3px solid var(--c-black); outline-offset: 3px; }

.link-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-black);
  font-weight: 700;
  text-decoration: none;
}
.link-secondary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}
.link-secondary:hover,
.link-secondary:focus-visible { color: var(--c-black); }
.link-secondary:hover::after,
.link-secondary:focus-visible::after { transform: scaleX(1); }

/* ==========================================================================
   4. Header and navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--c-white);
  transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out;
}
.site-header.is-scrolled {
  background-color: var(--c-white); /* solid: no see-through header (owner: no opacity in the palette) */
  box-shadow: 0 1px 0 var(--c-grey);
}
.admin-bar .site-header { top: 32px; }

.site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding-inline: clamp(20px, 2vw, 40px);
}
.site-header.is-scrolled .site-header__inner { min-height: var(--header-h-scrolled); }

.brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
  color: var(--c-black);
}
.brand__logo {
  flex: 0 0 auto;
  height: 43px; /* current site: 235x43 */
  width: auto;
  max-width: none;
  object-fit: contain;
}
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  color: var(--c-black);
}
.brand__wordmark--light { color: var(--c-white); }
.brand__slogan {
  max-width: 220px;
  font-size: var(--step--1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.primary-nav {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
}
.primary-nav__head,
.drawer-cta,
.nav-close { display: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-black);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.3s ease-out;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background: var(--c-red);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.nav-link:hover { color: var(--c-black); } /* 16px red text fails contrast: hover = red square + 5px shift */
.nav-link:hover::before,
.nav-link:focus-visible::before,
.nav-item.is-current > .nav-link::before { opacity: 1; transform: scale(1); }

.sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-height: 44px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-black);
  cursor: pointer;
}
.sub-toggle .icon { transition: transform 0.3s ease-out; }
.nav-item.is-open > .sub-toggle .icon { transform: rotate(180deg); }

.sub-wrap { display: none; }
.sub-menu { margin: 0; padding: 0; list-style: none; }
.sub-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  color: var(--c-black);
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.sub-link:hover,
.sub-link:focus-visible { background-color: var(--c-grey); color: var(--c-black); }
.sub-item.is-current > .sub-link { font-weight: 700; box-shadow: inset 4px 0 0 var(--c-red); }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-black);
  cursor: pointer;
}
.nav-overlay { display: none; }

.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 9px 24px;
  min-height: 46px;
}
.cta-label-short { display: none; }

/* Desktop dropdown: hover and focus only above the drawer breakpoint. */
@media (min-width: 1280px) {
  .has-sub > .sub-wrap {
    position: absolute;
    top: 100%;
    left: -1.25rem;
    z-index: 20;
    padding-top: 14px;
    min-width: 260px;
  }
  .has-sub:hover > .sub-wrap,
  .has-sub:has(.sub-wrap :focus) > .sub-wrap,
  .has-sub.is-open > .sub-wrap { display: block; }
  .sub-menu {
    padding: 0.5rem 0;
    background: var(--c-white);
    box-shadow: var(--card-shadow);
    border-top: 3px solid var(--c-red);
  }
}
@media (min-width: 1280px) and (max-width: 1365px) {
  .header-cta .icon { display: none; }
  .header-cta { padding-inline: 22px; }
}

/* Drawer: closed = display:none (no scroll-width contribution). */
@media (max-width: 1279px) {
  .site-header__inner { gap: 12px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-cta { order: 2; margin-left: auto; }
  .primary-nav {
    display: none;
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1001;
    width: min(420px, 88vw);
    height: 100dvh;
    margin: 0;
    padding: 0 0 calc(var(--space-5) + env(safe-area-inset-bottom));
    flex-direction: column;
    background: var(--c-white);
    box-shadow: var(--card-shadow);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .primary-nav.is-open {
    display: flex;
    animation: rx-drawer-in 0.28s ease-out;
  }
  .primary-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 12px 0 24px;
    border-bottom: 1px solid var(--c-grey);
  }
  .primary-nav__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--c-black);
    cursor: pointer;
  }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--c-grey); }
  .nav-link {
    flex: 1 1 0;
    min-height: 56px;
    padding: 0.5rem 0 0.5rem 24px;
    font-size: 1.125rem;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .nav-link::before { left: 6px; }
  .sub-toggle { width: 56px; min-height: 56px; }
  .nav-item.is-open > .sub-wrap { display: block; flex: 0 0 100%; }
  .sub-menu { padding: 0 0 0.5rem; }
  .sub-link { padding-left: 40px; white-space: normal; font-size: 1.0625rem; }
  .drawer-cta { display: block; padding: var(--space-4) 24px 0; }
  .drawer-cta .btn { width: 100%; white-space: normal; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { z-index: 1000; }
  .nav-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 990;
    background: transparent; /* closes the menu on click; no tinted overlay */
  }
}
@keyframes rx-drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 599px) {
  :root { --header-h: 64px; --header-h-scrolled: 64px; }
  .brand__logo { height: 43px; } /* same size as desktop, as on the current site */
  .brand__slogan { display: none; }
  .header-cta { padding: 8px 16px; min-height: 44px; font-size: 1.1875rem; }
  .header-cta .icon { display: none; }
  .cta-label-full { display: none; }
  .cta-label-short { display: inline; }
}
@media (max-width: 559px) {
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
}
@media (max-width: 1199px) {
  .brand__slogan { display: none; }
}

/* ==========================================================================
   5. Sections, headings, signature squares
   ========================================================================== */
.section { padding-block: var(--section-pad); }
.section--tight { padding-block: var(--space-6); }
.section--grey { background: var(--c-grey); }
.section--white { background: var(--c-white); }
.section--flush { padding-top: 0; }

.section-title {
  position: relative;
  min-height: var(--square);
  padding-left: calc(var(--square) + 20px);
  margin-bottom: var(--space-5);
  color: var(--c-black);
  font-size: calc(var(--step-d3) * 1.125); /* 30 > 54px, the client's measured H2 */
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--square);
  height: var(--square);
  background: var(--c-red);
}
.section-title--black::before { background: var(--c-black); }
.section-title--small {
  --square: 45px;
  min-height: 45px;
  font-size: var(--step-2);
  padding-left: 62px;
  padding-top: 6px;
}
.section-title--on-dark { color: var(--c-white); margin-bottom: 0; }

.section-head { max-width: 900px; margin-bottom: var(--space-6); }
.lead { font-size: var(--step-0); max-width: 70ch; }
.lead--wide { max-width: 900px; margin-bottom: var(--space-5); }
.lead--strong { font-weight: 400; }
.text-block { max-width: 900px; }
.text-block p { max-width: 75ch; }

/* square-bullet list */
.sq-list { list-style: none; margin: var(--space-4) 0; padding: 0; }
.sq-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.6rem;
}
.sq-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--c-red);
}

/* split text / media */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
}
.split > * { min-width: 0; max-width: 100%; }
.split--single { grid-template-columns: minmax(0, 1fr); }
.split--reverse .split__media { order: -1; }
.split__media { justify-self: center; margin: 0; }
.photo { margin: 0; }
.photo__img { width: auto; max-width: min(100%, var(--nat-w, 100%)); height: auto; } /* --nat-w: never above the file's own width (rx_image) */

/* product/logo mat */
.mat {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: inline-block;
  max-width: 100%;
  padding: 24px;
  background: var(--c-grey);
  box-shadow: var(--mat-shadow);
}
.mat::before {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -22px;
  z-index: -1;
  width: var(--square);
  height: var(--square);
  background: var(--c-red);
}
.mat__img { width: auto; max-width: min(100%, var(--nat-w, 100%)); height: auto; margin-inline: auto; }
.mat--badge { padding: 28px 32px; }

/* ==========================================================================
   6. Hero (Home) and openers
   ========================================================================== */
.hero {
  position: relative;
  padding-bottom: var(--space-7);
}
.hero__sq {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: var(--square-panel);
  height: var(--square-panel);
  color: var(--c-red);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}
.hero__grid > * { min-width: 0; }
.hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 64px) clamp(24px, 3.5vw, 56px) 45px 0;
  background: var(--c-grey);
  /* bleeds to the left screen edge without adding scroll width */
  box-shadow: 0 0 0 100vmax var(--c-grey);
  clip-path: inset(0 0 0 -100vmax);
}
.hero__label {
  margin-bottom: var(--space-3);
  color: var(--c-black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1875rem;
}
.hero__title {
  color: var(--c-red);
  font-size: min(var(--step-d1), 4rem); /* tier minimum at 320, capped at the brand's 64px */
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.hero__lead { max-width: 60ch; margin-bottom: var(--space-5); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.hero__visual { display: flex; align-items: center; justify-content: center; padding-top: var(--space-5); }
.crossing { width: 100%; height: auto; max-height: 520px; }

.opener { position: relative; }
.opener__media {
  height: min(clamp(200px, 36vw, 520px), calc(100vw * var(--ratio, 1)), var(--nat-h, 100000px));
  max-width: var(--nat-w, none); /* a photo narrower than the screen is centred at its real size, never stretched */
  margin-inline: auto;
  overflow: hidden;
  background: var(--c-grey);
}
.opener__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.opener__body { position: relative; z-index: 1; margin-top: -90px; }
.opener--plain .opener__body { margin-top: calc(var(--square-panel) + var(--space-4)); }
.opener__sq {
  position: absolute;
  left: 0;
  top: calc(-1 * var(--square-panel));
  width: var(--square-panel);
  height: var(--square-panel);
  color: var(--c-red);
}
.title-panel {
  position: relative;
  width: 75%;
  padding: 30px 40px 45px 0;
  background: var(--c-grey);
  box-shadow: 0 0 0 100vmax var(--c-grey);
  clip-path: inset(0 0 0 -100vmax);
}
.opener--mirror .opener__sq { left: auto; right: 0; }
.opener--mirror .title-panel {
  margin-left: auto;
  padding: 30px 0 45px 40px;
  clip-path: inset(0 -100vmax 0 0);
}
.page-title {
  margin-bottom: var(--space-2);
  color: var(--c-red);
  font-size: min(var(--step-d2), 4rem); /* 32 > 64px */
  line-height: 1;
  letter-spacing: -0.03em;
}
.page-subtitle {
  margin: 0;
  color: var(--c-red);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-sub);
  line-height: 1.25;
}

/* ==========================================================================
   7. Home blocks
   ========================================================================== */
.recognition {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0 0 var(--space-7);
  padding: 0;
  list-style: none;
}
.recognition > * { min-width: 0; }
.recognition__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--c-white);
  box-shadow: var(--card-shadow);
  overflow-wrap: anywhere;
}
.recognition__card p { margin: 0; }
.recognition__logo { display: flex; align-items: center; height: 56px; }
.recognition__img { width: auto; height: auto; max-height: 56px; max-width: 220px; object-fit: contain; }

.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-wall > * { min-width: 0; max-width: 100%; }
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}
.logo-tile__img {
  width: 100%;
  height: 70px;
  max-width: 180px;
  object-fit: scale-down; /* like contain, but never larger than the logo file itself */
  filter: grayscale(1);
}
.logo-tile__name { font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.logo-wall--archive { margin-top: var(--space-5); }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.solution-grid > * { min-width: 0; }
.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: var(--c-white);
  box-shadow: var(--card-shadow);
  overflow-wrap: anywhere;
}
.solution-card--featured::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 55px;
  height: 55px;
  background: var(--c-red);
}
.solution-card--featured { padding-top: calc(55px + var(--space-4)); }
.solution-card__name { font-size: var(--step-2); letter-spacing: -0.02em; margin-bottom: var(--space-1); }
.solution-card__sub { font-weight: 700; margin-bottom: var(--space-3); }
.solution-card__more { margin: auto 0 0; padding-top: var(--space-3); }
.sq-list--compact li { margin-bottom: 0.45rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-6);
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}
.pillars > * { min-width: 0; }
.pillar { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.pillar p { margin: 0; overflow-wrap: anywhere; }

.framed-icon {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 9px 0 0 9px;
  border: 3px solid var(--c-red);
  background: var(--c-white);
  color: var(--c-black);
}
.framed-icon::before {
  content: "";
  position: absolute;
  left: -12px;
  top: -12px;
  z-index: -1;
  width: 22px;
  height: 22px;
  background: var(--c-black);
}
.pillar .framed-icon { margin: 9px 0 0 9px; width: 55px; height: 55px; }

.arch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--space-6);
  align-items: center;
}
.arch > * { min-width: 0; }
.option-list { list-style: none; margin: 0; padding: 0; }
.option-list li { padding: var(--space-3) 0; border-bottom: 1px solid var(--c-grey); }
.option-list li:first-child { border-top: 1px solid var(--c-grey); }
.arch__schema {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
}
.arch__schema > * { min-width: 0; }
.arch__sensor { position: relative; z-index: 1; }
.arch__sensor .mat { padding: 18px; }
.arch__lines { width: 100%; height: auto; margin-left: -2px; }
.mat__drawn { display: block; width: 100%; height: auto; }

/* comparison and data tables */
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: var(--step--1);
  line-height: 1.4;
}
.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word; /* breaks a word only if it cannot fit at all */
  word-break: normal;
  hyphens: manual;
}
.data-table thead th {
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--font-body);
  font-weight: 700;
}
.data-table thead th.is-brand { background: var(--c-red); color: var(--c-white); font-size: 1.1875rem; } /* white on red only bold and >= 19px */
.data-table tbody tr:nth-child(odd) { background: var(--c-white); }
.data-table tbody tr:nth-child(even) { background: var(--c-grey); }
.section--grey .data-table tbody tr:nth-child(odd) { background: var(--c-white); }
.section--grey .data-table tbody tr:nth-child(even) { background: var(--c-grey); }
.data-table tbody th { font-weight: 700; }
.data-table td.is-brand { font-weight: 700; }
.data-table--keyvalue { font-size: var(--step-0); }
.data-table--keyvalue th { width: 30%; }
.data-table--spec { min-width: 720px; }
.data-table--spec th:first-child { width: 24%; }
.data-table__section th {
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem; /* white on red only at 24px+ (large text) */
}
.data-table--overview { min-width: 860px; }
.data-table--compare { min-width: 640px; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}
.case-grid > * { min-width: 0; }
.case-card {
  padding: var(--space-5);
  background: var(--c-white);
  box-shadow: var(--card-shadow);
  overflow-wrap: anywhere;
}
.case-card__title { font-size: var(--step-2); letter-spacing: -0.02em; }
.case-card p { margin: 0; }

.quote {
  position: relative;
  margin: var(--space-6) 0 var(--space-5) 37px;
  padding: 30px 80px;
  background: var(--c-black);
  color: var(--c-white);
}
.quote__sq {
  position: absolute;
  left: -37px;
  top: -37px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--square);
  height: var(--square);
  background: var(--c-red);
  color: var(--c-white); /* quote mark white on red: never dark on red */
}
.quote__text { margin: 0 0 var(--space-4); }
.quote__text p { margin: 0; font-weight: 300; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); }
.quote__by { line-height: 1.3; }
.quote__name { color: var(--c-red); font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); }
.quote__role { color: var(--c-white); font-size: 1.125rem; }

.practice { max-width: 900px; }
.practice p { margin-bottom: var(--space-2); }

/* closing band: right aligned, as on the current site */
.closing__inner { max-width: 760px; margin-left: auto; }
.closing__lead { margin-bottom: var(--space-5); }
.closing__action { margin-bottom: var(--space-5); }
.closing__label { margin-bottom: var(--space-1); }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: flex; flex-wrap: wrap; align-items: center; min-height: 44px; gap: 0 0.3em; }
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 400; }

/* ==========================================================================
   8. Technology and about blocks
   ========================================================================== */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefits > * { min-width: 0; }
.benefit { overflow-wrap: anywhere; }
.benefit .framed-icon { margin-bottom: var(--space-4); }
.benefit__title { font-size: var(--step-2); letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.benefit p { margin: 0; }

.components {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-6);
  margin: 0;
}
.components > * { min-width: 0; }
.component { padding: var(--space-4) 0; border-top: 1px solid var(--c-black); overflow-wrap: anywhere; }
.component dt { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); letter-spacing: -0.02em; margin-bottom: var(--space-1); }
.component dd { margin: 0; }

.tech-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.tech-compare > * { min-width: 0; }
.tech-compare__item { padding: var(--space-5); background: var(--c-white); box-shadow: var(--card-shadow); overflow-wrap: anywhere; }
.tech-compare__item h3 { font-size: var(--step-2); letter-spacing: -0.02em; }
.tech-compare__item p { margin: 0; }

.band--red { background: var(--c-red); color: var(--c-black); }
.band--red .section-title { color: var(--c-black); }
.band--red :focus-visible { outline-color: var(--c-black); }
.link-secondary--on-red { color: var(--c-black); text-decoration: underline; text-decoration-color: var(--c-black); }
.link-secondary--on-red::after { background: var(--c-black); }
.link-secondary--on-red:hover,
.link-secondary--on-red:focus-visible { color: var(--c-black); }

.band--black { background: var(--c-black); color: var(--c-white); padding-block: var(--space-6); margin-bottom: var(--space-6); }
.band--black :focus-visible { outline-color: var(--c-white); }
.culture__title { font-size: var(--step-2); }

.stat-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stat-tiles > * { min-width: 0; }
.stat-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  background: var(--c-grey);
  overflow-wrap: anywhere;
}
.stat-tile__num {
  color: var(--c-red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); /* red only at 32px+ */
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-tile__cap { color: var(--c-black); }

/* ==========================================================================
   9. Contact, forms
   ========================================================================== */
.form-card { max-width: 760px; }
.form-placeholder { padding: var(--space-5); background: var(--c-grey); }
.office__address { display: flex; flex-direction: column; margin-bottom: var(--space-5); }

.forminator-custom-form { font-family: var(--font-body); color: var(--ink); }
.forminator-custom-form .forminator-label,
.forminator-custom-form label { display: block; margin-bottom: 0.35rem; font-weight: 700; color: var(--ink); font-size: 1.0625rem; }
.forminator-custom-form input[type="text"],
.forminator-custom-form input[type="email"],
.forminator-custom-form input[type="tel"],
.forminator-custom-form input[type="url"],
.forminator-custom-form input[type="number"],
.forminator-custom-form textarea,
.forminator-custom-form select {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--c-black);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
}
.forminator-custom-form textarea { min-height: 160px; }
.forminator-custom-form input:focus,
.forminator-custom-form textarea:focus,
.forminator-custom-form select:focus {
  outline: none;
  border-color: var(--c-black);
  box-shadow: none;
  outline: 2px solid var(--c-red); /* solid brand red, no transparency */
  outline-offset: 2px;
}
.forminator-custom-form .forminator-row { margin-bottom: var(--space-4); }
.forminator-custom-form .forminator-button,
.forminator-custom-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 32px;
  border: 2px solid var(--c-red);
  border-radius: var(--pill);
  background-color: transparent;
  color: var(--c-red);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1875rem;
  cursor: pointer;
  transition: background-color 0.3s ease-out, color 0.3s ease-out, border-color 0.3s ease-out;
}
.forminator-custom-form .forminator-button:hover,
.forminator-custom-form .forminator-button:focus-visible,
.forminator-custom-form button[type="submit"]:hover,
.forminator-custom-form button[type="submit"]:focus-visible {
  background-color: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}
.forminator-custom-form .forminator-error-message,
.forminator-custom-form .forminator-response-message { color: var(--c-black); font-weight: 700; }
.forminator-custom-form .forminator-error-message::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--c-red); }

/* ==========================================================================
   10. Long-form prose (legal pages, editor content)
   ========================================================================== */
.prose--longform,
.prose-narrow {
  max-width: var(--measure);
  margin-inline: auto;
  text-align: left;
}
.prose h2 {
  margin-top: var(--space-6);
  font-size: var(--step-2);
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-5); font-size: var(--step-1); }
.prose h4, .prose h5, .prose h6 { margin-top: var(--space-4); font-family: var(--font-display); font-size: var(--step-0); }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 0.55rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; background: var(--c-red); }
.prose ul ul { margin-top: 0.5rem; }
.prose ul ul li::before { background: transparent; box-shadow: inset 0 0 0 2px var(--c-red); }
.prose ol { padding-left: 1.5em; }
.prose ol li::marker { font-family: var(--font-display); font-weight: 700; color: var(--c-black); }
.prose ol ol { list-style: lower-alpha; }
.prose ol ol ol { list-style: lower-roman; }
.prose blockquote { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5); background: var(--c-black); color: var(--c-white); }
.prose a { color: var(--c-black); text-decoration: underline; text-decoration-color: var(--c-red); }
.prose img { height: auto; }
.prose figure { margin: var(--space-5) 0; }
.prose figcaption { font-size: var(--step--1); margin-top: var(--space-1); }
.prose hr { border: 0; border-top: 1px solid var(--c-black); margin: var(--space-6) 0; }
.prose code { font-size: 0.9em; background: var(--c-grey); padding: 0.1em 0.3em; }
.prose table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--step--1); }
.prose th, .prose td { padding: 0.6rem 0.8rem; border-bottom: 1px solid #D0D0D0; text-align: left; overflow-wrap: anywhere; }
.prose thead th { font-family: var(--font-display); border-bottom: 2px solid var(--c-black); }
.post-meta { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.post-meta__cat { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* post cards (fallback templates) */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.post-grid > * { min-width: 0; }
.post-card { position: relative; background: var(--c-white); box-shadow: var(--card-shadow); overflow-wrap: anywhere; }
.post-card__body { padding: var(--space-5); }
.post-card__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__title { font-size: var(--step-2); }
.post-card__title a { text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.75rem; border: 2px solid var(--c-black); text-decoration: none; }
.pagination .page-numbers.current { background: var(--c-black); color: var(--c-white); }

/* framework hooks (cpt-*) styled to the palette */
.cpt-empty { padding: var(--space-5); background: var(--c-grey); }
.cpt-card__meta { list-style: none; margin: var(--space-2) 0 0; padding: 0; font-size: var(--step--1); }
.cpt-filters { margin-bottom: var(--space-5); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
  margin-top: 30px;
  background: var(--c-black); /* owner ruling 2026-11-02: black footer, white text, red only as square motif and link underline */
  color: var(--c-white);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}
.site-footer__grid > * { min-width: 0; }
.footer-black {
  position: relative;
  margin-top: -30px;
  padding: var(--space-6) var(--space-5) var(--space-6) 0;
  background: var(--c-black);
  color: var(--c-white);
  box-shadow: 0 0 0 100vmax var(--c-black);
  clip-path: inset(0 0 0 -100vmax);
}
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: var(--space-5); }
.footer-brand__logo { width: 345px; height: auto; max-width: 100%; } /* current site: 345x65 */
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.footer-cols > * { min-width: 0; }
.footer-title {
  margin-bottom: var(--space-2);
  color: var(--c-white);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.footer-title--dark { color: var(--c-white); }
.footer-address { display: flex; flex-direction: column; }
.footer-address span { display: flex; align-items: center; min-height: 44px; }
.footer-links,
.footer-plain { list-style: none; margin: 0; padding: 0; }
.footer-plain li { display: flex; align-items: center; min-height: 44px; }
.footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-white);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--c-red); color: var(--c-white); }
.footer-black :focus-visible { outline-color: var(--c-white); }
.footer-red {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6) 0 var(--space-6) var(--space-6);
}
.footer-links--dark a { color: var(--c-white); font-weight: 400; }
.footer-links--dark a:hover { color: var(--c-white); text-decoration-color: var(--c-red); }
.footer-copy { margin: 0; font-size: var(--step--1); }

/* ==========================================================================
   12. Entrance animations (ENGINE_C pattern, verbatim)
   ========================================================================== */
/* entrance-animations: .anim-in is visible by default; only JS may dim it */
.anim-in { opacity: 1; transform: none; }
.anim-pending {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease-out, transform .45s ease-out;
}
.anim-pending.anim-done { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim-pending { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1099px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .solution-grid,
  .tech-compare,
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .recognition { grid-template-columns: minmax(0, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .arch { grid-template-columns: minmax(0, 1fr); }
  .arch__schema { max-width: 560px; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .hero__visual { padding-top: 0; }
  .crossing { max-height: 260px; }
  .split,
  .split--reverse { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__media { justify-self: start; }
  .components { grid-template-columns: minmax(0, 1fr); }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer-black {
    margin-top: 0;
    padding: var(--space-6) 0;
    clip-path: inset(0 -100vmax);
  }
  .footer-red {
    padding: var(--space-6) 0;
    box-shadow: 0 0 0 100vmax var(--c-black);
    clip-path: inset(0 -100vmax);
  }
  .site-footer { margin-top: 0; }
  .title-panel { width: 100%; }
  .opener--mirror .title-panel { padding-right: 0; }
}
@media (max-width: 599px) {
  :root { --square: 45px; --square-panel: 48px; }
  .section-title { padding-left: 60px; min-height: 45px; }
  .section-title--small { padding-left: 58px; }
  .hero__panel { padding: 64px 0 30px; }
  .hero__sq { width: 48px; height: 48px; }
  .opener__body { margin-top: -40px; }
  .opener--plain .opener__body { margin-top: calc(var(--square-panel) + var(--space-3)); }
  .title-panel { padding: 24px 0 32px; }
  .opener--mirror .title-panel { padding: 24px 0 32px; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
  .logo-tile__img { max-width: 150px; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .stat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .btn { padding: 11px 20px; white-space: normal; }
  .quote { margin-left: 22px; padding: 44px 24px 24px; }
  .quote__sq { left: -22px; top: -22px; width: 56px; height: 56px; }
  .quote__sq .icon { width: 26px; height: 26px; }
  .mat { padding: 16px; }
  .mat::before { left: -14px; bottom: -14px; width: 45px; height: 45px; }
  .recognition__card,
  .solution-card,
  .case-card,
  .tech-compare__item { padding: var(--space-4); }
  .solution-card--featured { padding-top: calc(45px + var(--space-3)); }
  .solution-card--featured::before { width: 45px; height: 45px; }
  .arch__schema { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  h1, h2, h3 { hyphens: auto; }
  .data-table--keyvalue,
  .data-table--keyvalue tbody,
  .data-table--keyvalue tr,
  .data-table--keyvalue th,
  .data-table--keyvalue td { display: block; width: 100%; }
  .data-table--keyvalue th { padding-bottom: 0.2rem; }
  .data-table--keyvalue td { padding-top: 0; }
}
@media (max-width: 379px) {
  .stat-tiles { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   14. Post-build afwerking (2026-11-02)
   Vanaf 1280px geen automatische afbreking in koppen: elk woord past in zijn
   vak (gemeten met de huisletter). Daarvoor krijgt de hero-tekstkolom meer
   breedte en staan de vier voordelen in twee kolommen, zoals op de huidige site.
   Onder 1280px blijft afbreken aan, omdat lange Nederlandse woorden daar niet passen.
   ========================================================================== */
@media (min-width: 1280px) {
  h1, h2, h3, .display { hyphens: manual; }
  .hero__grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 3rem; }
  .hero__panel { padding-right: 32px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   15. Fix round 2 (2026-11-02): review P1/P2, mobile pass, contrast rules
   ========================================================================== */

/* Header: centred on the page grid instead of edge to edge. Logo + four menu
   items + the brief's CTA pill need about 1265px, more than the 1160px content
   column, so the header box is the 1280px grid (60px outside the column on
   each side) and the logo drops to 215px between 1280 and 1359px. */
@media (min-width: 1280px) {
  .site-header__inner { width: min(1280px, 100% - 40px); margin-inline: auto; padding-inline: 0; }
  .nav-link { transition: color 0.3s ease-out, transform 0.3s ease-out; }
  .nav-link:hover,
  .nav-link:focus-visible { transform: translateX(5px); } /* as on the current site */
}
@media (min-width: 1280px) and (max-width: 1359px) {
  .brand__logo { height: 40px; }
}

/* Phones: header at most 64px, full-width menu panel. */
@media (max-width: 767px) {
  :root { --header-h: 64px; --header-h-scrolled: 64px; }
  .site-header__inner { padding-inline: 20px; }
  .primary-nav { width: 100vw; box-shadow: none; }
  .primary-nav__head { min-height: 64px; padding: 0 8px 0 20px; }
  .nav-link { padding-left: 20px; }
  .sub-link { padding-left: 36px; }
  .drawer-cta { padding-inline: 20px; }
}

/* Red surfaces: only a short white bold heading on red (owner ruling). */
.section-title--on-red { color: var(--c-white); margin-bottom: 0; }
.section-title--on-red.section-title--red::before { background: var(--c-black); }
.redhead {
  position: relative;
  margin-bottom: var(--space-5);
  padding: var(--space-6) var(--space-5) var(--space-6) 0;
  background: var(--c-red);
  box-shadow: 0 0 0 100vmax var(--c-red);
  clip-path: inset(0 0 0 -100vmax); /* bleeds to the left screen edge, like the title panels */
}
.bandhead { background: var(--c-red); padding-block: var(--space-6); margin-bottom: var(--space-6); }
.section--bandhead { padding-top: 0; }
.redsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: var(--space-6); }
.redsplit > * { min-width: 0; }
.redsplit__red { display: flex; align-items: center; background: var(--c-red); }
.redsplit__inner {
  width: 100%;
  max-width: 620px;
  margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding: var(--space-7) var(--space-5) var(--space-7) 0;
}
.redsplit__media { min-height: 360px; }
.redsplit__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.link-inline { color: var(--c-black); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-red); }
.link-inline:hover { color: var(--c-black); text-decoration-color: var(--c-black); }
@media (max-width: 767px) {
  .redhead { padding: var(--space-5) 0; clip-path: inset(0 -100vmax); }
  .redsplit { grid-template-columns: minmax(0, 1fr); }
  .redsplit__inner { margin-left: 0; padding: var(--space-5) 20px; }
  .redsplit__media { min-height: 0; height: 240px; }
}

/* Tables: Radarxense column marked by a red left border, never a red fill behind body text. */
.data-table td.is-brand { box-shadow: inset 3px 0 0 var(--c-red); }
.data-table caption { caption-side: top; }

/* Stacked tables (CSS only, same <table> markup): comparison below 768px,
   overview and specification tables below 1024px. Every row becomes a card:
   the row header on top, each cell under its column label. */
@media (max-width: 767px) {
  .data-table--compare { min-width: 0; }
}
@media (max-width: 1023px) {
  .data-table--overview,
  .data-table--spec { min-width: 0; }
}
@media (max-width: 767px) {
  .table-scroll:has(.data-table--stack) { overflow: visible; }
  .data-table--stack,
  .data-table--stack tbody,
  .data-table--stack tr,
  .data-table--stack th,
  .data-table--stack td { display: block; width: 100%; }
}
@media (max-width: 1023px) {
  .table-scroll:has(.data-table--stack-lg) { overflow: visible; }
  .data-table--stack-lg,
  .data-table--stack-lg tbody,
  .data-table--stack-lg tr,
  .data-table--stack-lg th,
  .data-table--stack-lg td { display: block; width: 100%; }
}
@media (max-width: 1023px) {
  .data-table--stack-lg thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .data-table--stack-lg tbody tr { margin-bottom: var(--space-4); padding: var(--space-4) 20px; background: var(--c-white) !important; box-shadow: var(--card-shadow); }
  .data-table--stack-lg tbody th[scope="row"] { position: relative; padding: 0 0 var(--space-2) 22px; font-family: var(--font-display); font-size: 1.25rem; }
  .data-table--stack-lg tbody th[scope="row"]::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; background: var(--c-black); }
  .data-table--stack-lg td { padding: var(--space-2) 0; border-top: 1px solid var(--c-grey); }
  .data-table--stack-lg td:empty { display: none; }
  .data-table--stack-lg td::before { content: attr(data-label); display: block; font-weight: 700; font-size: 0.9375rem; }
  .data-table--stack-lg .data-table__section { margin-bottom: var(--space-4); padding: 0; box-shadow: none; background: transparent !important; }
  .data-table--stack-lg .data-table__section th { padding: var(--space-3) 20px; }
}
@media (max-width: 767px) {
  .data-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .data-table--stack tbody tr { margin-bottom: var(--space-4); padding: var(--space-4) 20px; background: var(--c-white) !important; box-shadow: var(--card-shadow); }
  .data-table--stack tbody th[scope="row"] { position: relative; padding: 0 0 var(--space-2) 22px; font-family: var(--font-display); font-size: 1.25rem; }
  .data-table--stack tbody th[scope="row"]::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; background: var(--c-black); }
  .data-table--stack td { padding: var(--space-2) 0; border-top: 1px solid var(--c-grey); }
  .data-table--stack td::before { content: attr(data-label); display: block; font-weight: 700; font-size: 0.9375rem; }
  .data-table--stack td.is-brand { position: relative; margin-top: var(--space-2); padding: var(--space-3) 36px var(--space-3) 14px; border-top: 0; background: var(--c-grey); box-shadow: inset 4px 0 0 var(--c-red); }
  .data-table--stack td.is-brand::after { content: ""; position: absolute; right: 12px; top: 12px; width: 14px; height: 14px; background: var(--c-red); }
}

/* Architecture: the product render at a readable size. */
@media (min-width: 960px) {
  .arch { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .arch__schema { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .arch__schema { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-4); }
  .arch__lines { max-width: 300px; margin-left: 0; }
}

/* Footer: black, white text, red square motif on the column headings. */
.footer-red { background: var(--c-black); }
.footer-title { position: relative; padding-left: 20px; }
.footer-title::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 10px; height: 10px; background: var(--c-red); }
.footer-copy { color: var(--c-white); }
.footer-plain li { color: var(--c-white); }

/* Form submit: the same pill with the arrow as every other pill. */
.forminator-custom-form .forminator-button-submit::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 0.6em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h12.2l-5.6-5.6L12 4l8 8-8 8-1.4-1.4 5.6-5.6H4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h12.2l-5.6-5.6L12 4l8 8-8 8-1.4-1.4 5.6-5.6H4z'/%3E%3C/svg%3E") center / contain no-repeat;
  vertical-align: -4px;
}
.forminator-custom-form input,
.forminator-custom-form textarea { font-size: 1.0625rem; } /* >= 16px: no iOS zoom */

/* Arrow stays with its last word; link to /referenties/ under the logo wall. */
.nowrap { white-space: nowrap; }
.logo-wall__more { margin: var(--space-4) 0 0; text-align: center; }

/* Rhythm: one section gap between two white sections, not two. */
.hero { padding-bottom: 0; }
.section:not(.section--grey):not(.band):not(.section--bandhead) + .section:not(.section--grey):not(.band):not(.section--bandhead) { padding-top: 0; }

/* Phones: type as on the current site, full-width closing button. */
@media (max-width: 599px) {
  .hero__title,
  .page-title { font-size: 2.5rem; } /* 40px */
  .closing__action .btn { width: 100%; }
}

/* Fix round 2b: table breakpoints measured at 360 to 1440px */
/* Tables, round 2b: the comparison table stacks below 900px (its four columns are
   too narrow for words like "weersomstandigheden" under that width). */
@media (min-width: 768px) and (max-width: 899px) {
  .table-scroll:has(.data-table--compare) { overflow: visible; }
  .data-table--compare { min-width: 0; }
  .data-table--compare, .data-table--compare tbody, .data-table--compare tr, .data-table--compare th, .data-table--compare td { display: block; width: 100%; }
  .data-table--compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .data-table--compare tbody tr { margin-bottom: var(--space-4); padding: var(--space-4) 20px; background: var(--c-white) !important; box-shadow: var(--card-shadow); }
  .data-table--compare tbody th[scope="row"] { position: relative; padding: 0 0 var(--space-2) 22px; font-family: var(--font-display); font-size: 1.25rem; }
  .data-table--compare tbody th[scope="row"]::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; background: var(--c-black); }
  .data-table--compare td { padding: var(--space-2) 0; border-top: 1px solid var(--c-grey); }
  .data-table--compare td::before { content: attr(data-label); display: block; font-weight: 700; font-size: 0.9375rem; }
  .data-table--compare td.is-brand { position: relative; margin-top: var(--space-2); padding: var(--space-3) 36px var(--space-3) 14px; border-top: 0; background: var(--c-grey); box-shadow: inset 4px 0 0 var(--c-red); }
  .data-table--compare td.is-brand::after { content: ""; position: absolute; right: 12px; top: 12px; width: 14px; height: 14px; background: var(--c-red); }
}
/* Stacked rows: the row header spans the card (the desktop 24% width must not apply). */
@media (max-width: 1023px) {
  .data-table--stack-lg tbody th,
  .data-table--stack-lg tbody th:first-child { width: 100%; }
}
@media (max-width: 899px) {
  .data-table--stack tbody th,
  .data-table--stack tbody th:first-child { width: 100%; }
}
/* Links inside table cells use the table size, so "datatoepassingen →" fits its column. */
.data-table .link-secondary { font-size: inherit; }
/* Specification tables: columns sized to their content. */
.data-table--spec th, .data-table--spec td { padding-inline: 0.625rem; }
.data-table--spec thead th:nth-child(1) { width: 26%; }
.data-table--spec thead th:nth-child(2) { width: 24%; }
.data-table--spec thead th:nth-child(3) { width: 10%; }
.data-table--spec thead th:nth-child(4),
.data-table--spec thead th:nth-child(5),
.data-table--spec thead th:nth-child(6) { width: 9%; }
.data-table--spec thead th:nth-child(7) { width: 13%; }
.data-table--spec tbody th:first-child { width: auto; }
/* Very narrow phones: page titles such as "Privacyverklaring" fit on one line. */
@media (max-width: 379px) {
  .hero__title,
  .page-title { font-size: 2.375rem; }
}
/* The five-column overview on Oplossingen stacks below 1280px (its link column needs ~205px). */
@media (min-width: 1024px) and (max-width: 1279px) {
  .table-scroll:has(.data-table--overview) { overflow: visible; }
  .data-table--overview { min-width: 0; }
  .data-table--overview, .data-table--overview tbody, .data-table--overview tr, .data-table--overview th, .data-table--overview td { display: block; width: 100%; }
  .data-table--overview thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .data-table--overview tbody tr { margin-bottom: var(--space-4); padding: var(--space-4) 20px; background: var(--c-white) !important; box-shadow: var(--card-shadow); }
  .data-table--overview tbody th[scope="row"] { position: relative; padding: 0 0 var(--space-2) 22px; font-family: var(--font-display); font-size: 1.25rem; }
  .data-table--overview tbody th[scope="row"]::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; background: var(--c-black); }
  .data-table--overview td { padding: var(--space-2) 0; border-top: 1px solid var(--c-grey); }
  .data-table--overview td::before { content: attr(data-label); display: block; font-weight: 700; font-size: 0.9375rem; }
}

/* ==========================================================================
   16. Fix round 3: specification comparison (ux-spec-tables/SPEC.md, component .spec)
   Adapted to the four-colour palette (the two extra greys of the old site are not used)
   and to the owner's red rule (group bars: white bold 24px only).
   ========================================================================== */
.spec-block { position: relative; }
.spec { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--font-body); font-size: 16px; line-height: 1.4; color: var(--c-black); }
.spec col.spec__col-param { width: 38%; }
.spec col.spec__col-prod { width: 31%; }
.spec th, .spec td { padding: 14px 16px; text-align: left; vertical-align: top; font-weight: 300; overflow-wrap: break-word; hyphens: manual; }
.spec thead th { position: sticky; top: var(--header-h-scrolled); z-index: 2; background: var(--c-black); color: var(--c-white); font-weight: 700; font-size: 18px; padding-block: 16px; }
.spec__prod-pre { display: block; font-weight: 400; font-size: 14px; line-height: 1.2; }
.spec__prod { display: inline-flex; align-items: center; gap: 10px; }
.spec__prod::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--c-red); }
.spec__group th { background: var(--c-red); color: var(--c-white); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; padding-block: 12px; }
.spec__sub th { background: var(--c-white); font-weight: 700; padding-top: 18px; padding-bottom: 6px; border-top: 2px solid var(--c-black); }
.spec__sub th span { display: inline-flex; align-items: center; gap: 10px; }
.spec__sub th span::before { content: ""; width: 10px; height: 10px; background: var(--c-red); }
.spec tbody tr:nth-child(odd):not(.spec__group):not(.spec__sub) { background: var(--c-grey); }
.spec tbody tr:nth-child(even) { background: var(--c-white); }
.spec__in-sub tr.spec__row { background: var(--c-white) !important; }
.spec__in-sub tr.spec__row th { padding-left: 36px; }
.spec tbody th[scope="row"] { font-weight: 700; }
.spec__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; font-weight: 300; font-size: 14px; }
.spec__in-sub .spec__param { font-weight: 400; }
.spec__v { display: inline-block; margin-right: 14px; white-space: nowrap; }
.spec__v:last-child { margin-right: 0; }
.spec__q { font-size: 14px; font-weight: 400; }
.spec__n { font-weight: 700; font-variant-numeric: tabular-nums; }
.spec__u { font-weight: 400; margin-left: 2px; }
.spec__na { font-size: 14px; }
.spec__kern .spec__n { font-size: 22px; line-height: 1.1; }
.spec__kern .spec__u { font-size: 16px; }
.spec__kern .spec__row td, .spec__kern .spec__row th { padding-block: 16px; vertical-align: middle; }
.spec__same { text-align: center !important; }
.spec__same > .spec__same-in { display: flex; align-items: center; gap: 14px; }
.spec__same > .spec__same-in::before,
.spec__same > .spec__same-in::after { content: ""; flex: 1 1 0; height: 1px; background: var(--c-black); } /* "both" bracket */
.spec__same-val { flex: none; }
.spec__toggle-slot { margin-top: var(--space-4); }
.spec__toggle { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 22px 12px 12px; background: var(--c-white); color: var(--c-black); border: 2px solid var(--c-black); border-radius: 0; font: 700 18px/1.2 var(--font-body); cursor: pointer; transition: background-color .3s ease-out, color .3s ease-out; }
.spec__toggle-icon { position: relative; flex: none; width: 26px; height: 26px; background: var(--c-red); }
.spec__toggle-icon::before, .spec__toggle-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--c-white); transform: translate(-50%, -50%); }
.spec__toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease-out; }
.spec__toggle[aria-expanded="true"] .spec__toggle-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.spec__toggle:hover { background: var(--c-black); color: var(--c-white); }
.spec__toggle:focus-visible { outline: 3px solid var(--c-red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .spec__toggle, .spec__toggle-icon::after { transition: none; } }
[data-spec-more][hidden] { display: none !important; }
@media (max-width: 767px) {
  .spec, .spec thead, .spec tbody { display: block; width: 100%; }
  .spec colgroup { display: none; }
  .spec thead { position: sticky; top: var(--header-h); z-index: 2; }
  .spec thead th { position: static; }
  .spec tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; padding: 0 12px; }
  .spec thead tr { background: var(--c-black); }
  .spec thead th { padding: 12px 0; font-size: 16px; }
  .spec thead th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; }
  .spec th, .spec td { display: block; padding: 0; }
  .spec tbody tr { padding-block: 12px; }
  .spec tbody th[scope="row"], .spec__group th, .spec__sub th { grid-column: 1 / -1; }
  .spec tbody th[scope="row"] { margin-bottom: 6px; }
  .spec__group { padding: 0 !important; }
  .spec__group th { padding: 12px; }
  .spec__sub { padding-bottom: 0 !important; }
  .spec__sub th { padding: 12px 0 0; border-top: 0; }
  .spec__in-sub tr.spec__row th { padding-left: 20px; }
  .spec__same { grid-column: 1 / -1; }
  .spec__kern .spec__row td, .spec__kern .spec__row th { padding-block: 0; }
  .spec__kern .spec__n { font-size: 20px; }
  .spec__v { margin-right: 10px; }
  .spec__toggle { width: 100%; }
}
@media (max-width: 379px) {
  .spec tr { padding-inline: 10px; column-gap: 10px; }
  .spec__kern .spec__n { font-size: 18px; }
}
@media print {
  .spec__toggle-slot { display: none !important; }
  [data-spec-more][hidden] { display: table-row-group !important; }
  .spec thead th { position: static; }
  .spec thead { display: table-header-group; }
  .spec tr { break-inside: avoid; }
  .spec__group th, .spec thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Opbouw: the closed-housing render beside the intro (SPEC section 11.3). */
.opbouw-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; margin-bottom: var(--space-6); }
.opbouw-head > * { min-width: 0; }
.opbouw-head .section-head { margin-bottom: 0; }
.opbouw-head--single { grid-template-columns: minmax(0, 1fr); }
.opbouw-head__render { margin: 0 0 22px 22px; max-width: 470px; justify-self: end; }
@media (max-width: 900px) {
  .opbouw-head { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .opbouw-head__render { justify-self: start; max-width: 100%; }
}

/* ==========================================================================
   17. Fix round 4 (2026-11-02)
   ========================================================================== */

/* Headings and buttons never hyphenate. Each heading's longest unbreakable word
   (--lw, in em, set in PHP from the font's glyph widths) caps its font size so the
   word fits its column; only the headings that need it get smaller. */
h1, h2, h3, h4, .display, .btn, button, .spec__toggle { hyphens: manual; -webkit-hyphens: manual; }
.section-title { font-size: min(calc(var(--step-d3) * 1.125), calc((min(100vw - 2 * var(--gutter), var(--container)) - var(--square) - 20px) / var(--lw, 0.1))); }
.section-title--small { font-size: min(var(--step-2), calc((min(100vw - 2 * var(--gutter), var(--container)) - 62px) / var(--lw, 0.1))); }
.prose h2 { font-size: min(var(--step-2), calc(min(100vw - 2 * var(--gutter), 760px) / var(--lw, 0.1))); }
@media (min-width: 901px) {
  .hero__title { font-size: min(var(--step-d1), 4rem, calc(((min(100vw - 2 * var(--gutter), var(--container)) - clamp(2rem, 4vw, 4rem)) * 1.15 / 2.15 - clamp(24px, 3.5vw, 56px)) / var(--lw, 0.1))); }
}
@media (min-width: 1280px) {
  .hero__title { font-size: min(4rem, calc(((var(--container) - 3rem) * 1.75 / 2.75 - 32px) / var(--lw, 0.1))); }
}

/* Opener title panel: inner padding on every side (owner, round 4). The grey still
   bleeds to the screen edge on the outer side; from 768px the panel moves out by its
   padding so the H1 stays on the content column. */
.title-panel { --pp: 56px; width: calc(75% + var(--pp)); margin-left: calc(-1 * var(--pp)); padding: var(--pp); }
.opener--mirror .title-panel { margin-left: auto; margin-right: calc(-1 * var(--pp)); padding: var(--pp); }
.page-title { font-size: min(var(--step-d2), 4rem, calc((min(100vw - 2 * var(--gutter), var(--container)) * 0.75 - var(--pp, 56px)) / var(--lw, 0.1))); }
@media (max-width: 1023px) {
  .title-panel { --pp: 40px; }
}
@media (max-width: 900px) {
  .title-panel, .opener--mirror .title-panel { width: calc(100% + var(--pp)); }
  .page-title { font-size: min(var(--step-d2), 4rem, calc((min(100vw - 2 * var(--gutter), var(--container)) - var(--pp)) / var(--lw, 0.1))); }
}
@media (max-width: 767px) {
  .title-panel, .opener--mirror .title-panel { --pp: 24px; width: 100%; margin-left: 0; margin-right: 0; padding: 24px 24px 32px; }
  .page-title { font-size: min(2.5rem, calc((100vw - 2 * var(--gutter) - 48px) / var(--lw, 0.1))); }
}

/* Home hero panel: inner padding on phones and small tablets (the text touched the panel's right edge). */
@media (max-width: 900px) {
  .hero__panel { padding: 64px 40px 40px 40px; clip-path: inset(0 -100vmax); }
  .hero__title { font-size: min(var(--step-d1), 4rem, calc((100vw - 2 * var(--gutter) - 80px) / var(--lw, 0.1))); }
}
@media (max-width: 767px) {
  .hero__panel { padding: 56px 24px 32px; }
  .hero__title { font-size: min(2.5rem, calc((100vw - 2 * var(--gutter) - 48px) / var(--lw, 0.1))); }
}
@media (max-width: 599px) {
  .section-title { font-size: min(calc(var(--step-d3) * 1.125), calc((100vw - 2 * var(--gutter) - 60px) / var(--lw, 0.1))); }
  .section-title--small { font-size: min(var(--step-2), calc((100vw - 2 * var(--gutter) - 58px) / var(--lw, 0.1))); }
}

/* Contact: reserve the space of the form Forminator loads by AJAX (CLS was 0.27 on phones). */
#formulier .form-card { min-height: 696px; }
@media (min-width: 1024px) { #formulier .form-card { min-height: 746px; } }

/* Table: the Radarxense column header on red carries white bold 24px (owner minimum on red). */
.data-table thead th.is-brand { font-size: 1.5rem; line-height: 1.15; }

/* Phones: text never closer than 16px to the edge of its coloured container. */
@media (max-width: 767px) {
  .spec tr { padding-inline: 16px; }
  .spec__group th { padding: 12px 16px; }
  .data-table--stack td.is-brand,
  .data-table--compare td.is-brand { padding: var(--space-3) 36px var(--space-3) 16px; }
  .redsplit__inner { padding-inline: 24px; }
}
@media (max-width: 379px) {
  .spec tr { padding-inline: 16px; }
}
@media (max-width: 899px) {
  .data-table--compare td.is-brand { padding: var(--space-3) 36px var(--space-3) 16px; }
}

/* Phones: primary actions full width (review N5). */
@media (max-width: 599px) {
  .hero__actions .btn--primary,
  #kantoor .btn { width: 100%; }
}

/* Round 4b: the red/photo split heading sits in a half-width column from 768px. */
@media (min-width: 768px) {
  .redsplit .section-title { font-size: min(calc(var(--step-d3) * 1.125), calc((min(50vw - max(var(--gutter), (100vw - var(--container)) / 2) - 32px, 620px) - var(--square) - 20px) / var(--lw, 0.1))); }
}
/* Phones: 16px vertical inset in the specification rows and group bars. */
@media (max-width: 767px) {
  .spec tbody tr { padding-block: 16px; }
  .spec__group, .spec__sub { padding-block: 0 !important; }
  .spec__group th { padding: 16px; }
}

/* Round 4c: the four Spider benefits as 2x2 from 600px (as on the current site), so
   "Softwaregedefinieerde" fits its column; spec group bars 17px vertical inset. */
@media (min-width: 600px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.spec__group th { padding-block: 17px; }
@media (max-width: 767px) {
  .spec__group th { padding: 17px 16px; }
}

/* ==========================================================================
   16. Language switcher NL / EN (language layer, inc/lang.php)
   Text only, house colours, square corners. The current language is bold and
   not a link; the other one is a link that underlines on hover and focus.
   Bar from 1280px: a small line in the top right corner of the header box,
   above the header button, outside the row (the row of logo, menu and button
   has about 20px to spare, measured with the 235px logo). Bar from 800 to
   1279px: before the header button, full 44px targets (below 800px logo,
   switcher, button and menu button do not fit one row). Drawer: under the menu.
   ========================================================================== */
.lang-switch__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lang-switch__list li { display: flex; align-items: center; }
.lang-switch__list li + li::before {
  content: "";
  width: 1px;
  height: 14px;
  background: var(--c-black);
}
.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--c-black);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch__item.is-current { font-weight: 700; }
a.lang-switch__item:hover,
a.lang-switch__item:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lang-switch--bar { flex: 0 0 auto; }
.lang-switch--drawer { display: none; }

/* Desktop: above the header button; the button stays centred in the row.
   Header 96px: button top at 25px; the switcher's targets are 24x24px (WCAG 2.2
   target size) from 1px to 25px, the text centred in them, so the letters sit
   about 7px below the top edge and 6px above the button. The scrolled header
   (78px, button top at 16px) has no room, so the switcher is hidden there until
   the page is back at the top (24px). */
@media (min-width: 1280px) {
  .site-header__inner { position: relative; }
  .lang-switch--bar { position: absolute; top: 1px; right: 0; }
  .lang-switch--bar .lang-switch__item { min-width: 24px; min-height: 24px; padding: 0 7px; font-size: 0.8125rem; }
  .lang-switch--bar li:last-child .lang-switch__item { padding-right: 0; }
  .site-header.is-scrolled .lang-switch--bar { visibility: hidden; }
}
/* Drawer mode with room in the bar: switcher before the header button. */
@media (min-width: 800px) and (max-width: 1279px) {
  .lang-switch--bar { order: 2; margin-left: auto; }
  .header-cta { margin-left: 0; }
}
@media (max-width: 1279px) {
  .lang-switch--drawer { display: block; padding: var(--space-3) 16px 0; }
  .lang-switch--drawer .lang-switch__item { min-height: 48px; padding: 0 8px; font-size: 1.0625rem; }
}
@media (max-width: 799px) {
  .lang-switch--bar { display: none; }
}
@media (max-width: 767px) {
  .lang-switch--drawer { padding-inline: 12px; }
}

/* ==========================================================================
   18. Comparison pages and the home video block (2026-11-26)
   Layout only: house colours, square corners, the existing components.
   ========================================================================== */
/* Comparison pages: visible table caption, text sections, questions, text links. */
.vgl-caption { padding-bottom: var(--space-3); font-size: var(--step-0); text-align: left; }
.vgl-blocks .text-block + .text-block { margin-top: var(--space-7); }
.vgl-qa h3 { margin-top: var(--space-5); font-size: var(--step-2); letter-spacing: -0.02em; }
.vgl-qa .section-title + h3 { margin-top: 0; }
.vgl-links { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.vgl-links li { margin: 0; }
.text-block .lead + .vgl-links { margin-top: 0; }

/* Home video block: full width up to the poster's 1920px, centred on wider screens.
   Placeholder: the poster with a drawn play mark, not clickable. Nothing moves. */
.video-block__media { position: relative; max-width: 1920px; margin: 0 auto; }
.video-block__still { position: relative; cursor: default; }
.video-block__img,
.video-block__video { display: block; width: 100%; height: auto; }
.video-block__video { background: var(--c-black); }
.video-block__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(56px, 7vw, 96px);
  height: auto;
  color: var(--c-red);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.video-block__caption { margin-top: var(--space-3); margin-bottom: 0; }
/* Stacked comparison table (below 900px): the visible caption spans the cards. */
@media (max-width: 899px) {
  .data-table--stack .vgl-caption { display: block; width: 100%; }
}
