/* ============================================
   4R CONSULTANCY V4 — ART DIRECTION LAAG
   Laadt ná site.css en studio.css.
   - Gelaagd palet: diep navy-grafiet i.p.v. vlak zwart
   - Lichte secties voor visueel ritme
   - Sectie-identiteiten: foto, blueprint, mesh, navy
   - Grotere, doelgerichte media
   - Showpiece-simulatoren, TCO-chart, CTA-treatment
   ============================================ */

/* ---------- V4 PALET (overschrijft :root) ---------- */
:root {
  --void: #070a12;          /* diep navy-zwart */
  --void-soft: #0b1120;     /* navy */
  --void-raised: #121a2c;   /* grafiet-navy */
  --ink: #1b2740;           /* hoger grafiet */
  --line: rgba(160,180,220,0.09);
  --line-bright: rgba(160,180,220,0.18);
  --text: #e9edf4;
  --text-dim: #9aa6bb;
  --text-faint: #7d8aa3;
  --accent: #3b82f6;        /* enterprise-blauw */
  --accent-2: #22d3ee;      /* cyan, spaarzaam */
  --warm: #f0a54a;          /* amber accent */
  --accent-glow: rgba(59,130,246,0.18);
  --accent-soft: rgba(59,130,246,0.10);

  /* lichte secties */
  --paper: #f4f6f9;
  --paper-raised: #ffffff;
  --paper-text: #131a28;
  --paper-dim: #48536a;
  --paper-faint: #5f6b82;
  --paper-line: rgba(19,26,40,0.10);
}

body { background: var(--void); }

/* ============================================
   SECTIE-IDENTITEITEN — nooit twee keer dezelfde
   zwarte vlakken achter elkaar
   ============================================ */

/* Donkere sectie met diepte: subtiele radiale gloed */
.bg-navy {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(59,130,246,0.07), transparent 60%),
    linear-gradient(180deg, var(--void) 0%, var(--void-soft) 100%);
}

/* Blueprint-raster (technische tekening) */
.bg-blueprint { position: relative; }
.bg-blueprint::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,150,200,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,200,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

/* Mesh-gradiënt (zachte kleurvelden) */
.bg-mesh {
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(34,211,238,0.06), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(59,130,246,0.09), transparent 60%),
    var(--void);
}

/* Foto-achtergrond met lees-overlay */
.bg-photo { position: relative; isolation: isolate; overflow: hidden; }
.bg-photo > .bg-photo-img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5;
}
.bg-photo > .bg-photo-img::after { content: none; }
.bg-photo::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,10,18,0.82) 0%, rgba(7,10,18,0.55) 45%, rgba(7,10,18,0.92) 100%);
}

/* LICHTE SECTIE — het ritme-breker */
.section-light {
  background: var(--paper);
  color: var(--paper-text);
}
.section-light h2, .section-light h3 { color: var(--paper-text); }
.section-light h2 span { color: var(--paper-faint); }
.section-light p { color: var(--paper-dim); }
.section-light .section-index { color: var(--paper-faint); }
.section-light .section-index::after { background: var(--paper-line); }
.section-light .challenge-item { border-top-color: var(--paper-line); }
.section-light .challenge-item:hover { background: rgba(59,130,246,0.05); }
.section-light .challenge-item h3 { color: var(--paper-text); }
.section-light .challenge-item p { color: var(--paper-dim); }
.section-light .challenge-num { color: var(--paper-faint); }
.section-light .why-cred { border-bottom-color: var(--paper-line); }
.section-light .why-cred p { color: var(--paper-text); }
.section-light .why-cred-num { color: var(--paper-faint); }
.section-light .service-stack-item { border-top-color: var(--paper-line); }
.section-light .service-stack-item h3 { color: var(--paper-text); }
.section-light .service-stack-item p { color: var(--paper-dim); }
.section-light .service-stack-item ul li {
  color: var(--paper-dim); border-color: var(--paper-line);
}
.section-light .service-num { -webkit-text-stroke: 1px var(--paper-faint); }
.section-light .service-img-wrap { border-color: var(--paper-line); box-shadow: 0 30px 80px rgba(19,26,40,0.18); }
.section-light .service-img-wrap img { opacity: 1; }
.section-light .section-rule { background: var(--paper-line); }
.section-light .concept-row { border-bottom-color: var(--paper-line); }
.section-light .concept-row:first-child { border-top-color: var(--paper-line); }
.section-light .concept-row h3 { color: var(--paper-text); }
.section-light .concept-row p { color: var(--paper-dim); }
.section-light .value-card {
  background: var(--paper-raised); border-color: var(--paper-line);
  box-shadow: 0 12px 32px rgba(19,26,40,0.07);
}
.section-light .value-card h3 { color: var(--paper-text); }
.section-light .value-card p { color: var(--paper-dim); }
.section-light .lead-left ul li { border-bottom-color: var(--paper-line); color: var(--paper-dim); }
.section-light .lead-form input {
  background: #fff; border-color: var(--paper-line); color: var(--paper-text);
}
.section-light .lead-form input::placeholder { color: var(--paper-faint); }
.section-light .stat-strip { background: var(--paper-line); border-color: var(--paper-line); }
.section-light .stat-cell { background: var(--paper); }
.section-light .stat-cell .s-num { color: var(--paper-text); }
.section-light .stat-cell .s-txt { color: var(--paper-dim); }

/* ============================================
   MEDIA — groter, doelgericht, consistent
   ============================================ */

/* Standaard redactioneel beeld: 3:2, mag groot zijn */
.visual-frame { max-width: 640px; }
.visual-frame.wide { max-width: 100%; }

/* Cinematische band (21:9 op desktop) */
.cine-frame {
  margin: 0; position: relative; overflow: hidden; border-radius: 6px;
  border: 1px solid var(--line-bright);
}
.cine-frame img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block;
}
@media (max-width: 900px) { .cine-frame img { aspect-ratio: 16 / 9; } }
.cine-frame figcaption {
  position: absolute; left: 24px; bottom: 20px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(7,10,18,0.55);
  backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 2px;
}

/* Split-sectie: beeld + tekst naast elkaar, wisselend */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > .split-media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip > .split-media { order: 0; }
}
.split-media { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--line-bright); }
.split-media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  transition: transform 0.9s var(--ease-out);
}
.split:hover .split-media img { transform: scale(1.04); }
.section-light .split-media { border-color: var(--paper-line); box-shadow: 0 24px 64px rgba(19,26,40,0.15); }

/* ============================================
   CTA — cinematische behandeling
   ============================================ */
.cta-cine {
  position: relative; isolation: isolate; overflow: hidden;
  text-align: center; padding: 180px 40px;
}
.cta-cine > .cta-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.cta-cine::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(7,10,18,0.25), rgba(7,10,18,0.88) 90%),
    linear-gradient(180deg, var(--void) 0%, transparent 22%, transparent 78%, var(--void) 100%);
}
.cta-cine h2 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: #fff;
  max-width: 900px; margin: 0 auto 24px;
}
.cta-cine > p {
  font-size: 1.05rem; color: rgba(233,237,244,0.82); max-width: 520px;
  margin: 0 auto 40px; line-height: 1.65;
}
.cta-cine .cta-benefits span { color: rgba(233,237,244,0.65); }
@media (max-width: 768px) { .cta-cine { padding: 110px 20px; } }

/* ============================================
   PROFIEL (Mark) — persoonlijke geloofwaardigheid
   ============================================ */
.profile-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  align-items: center; padding: 32px;
  border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(135deg, var(--void-raised), var(--void-soft));
}
.profile-card img {
  width: 220px; height: 220px; object-fit: cover; border-radius: 6px;
  filter: saturate(0.92);
}
.profile-card h3 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: #fff;
}
.profile-card .role {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent); margin: 6px 0 14px;
}
.profile-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.65; }
@media (max-width: 640px) {
  .profile-card { grid-template-columns: 1fr; text-align: left; }
  .profile-card img { width: 100%; height: auto; aspect-ratio: 1; }
}

/* Auteurs-byline onder artikelen */
.byline {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 0; margin-top: 48px;
  border-top: 1px solid var(--line);
}
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline .b-name { font-size: 0.9rem; color: #fff; font-weight: 600; }
.byline .b-role { font-size: 0.75rem; color: var(--text-faint); }

/* ============================================
   ARTIKEL-KAARTEN MET BEELD (inzichten)
   ============================================ */
.article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 1000px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }
.article-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--void-soft);
}
.article-card .ac-img { aspect-ratio: 3 / 2; overflow: hidden; }
.article-card .ac-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out), opacity 0.4s;
  opacity: 0.88;
}
.article-card:hover .ac-img img { transform: scale(1.05); opacity: 1; }
.article-card .ac-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card .cat {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent);
}
.article-card h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: #fff; line-height: 1.25;
}
.article-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; flex: 1; }
.article-card .meta {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Artikel-hero: breed cinematisch beeld */
.article-hero-cine {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
}
.article-hero-cine img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line-bright);
}
@media (max-width: 768px) {
  .article-hero-cine { padding: 0 20px; }
  .article-hero-cine img { aspect-ratio: 16 / 10; }
}

/* ============================================
   TOKEN-SIMULATOR — SHOWPIECE
   ============================================ */
.sim2-stage {
  border: 1px solid var(--line-bright); border-radius: 12px;
  background: linear-gradient(180deg, var(--void-raised), var(--void-soft));
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
}
.sim2-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  background: rgba(7,10,18,0.4);
}
.sim2-tab {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-dim);
  padding: 9px 16px; border-radius: 6px; border: 1px solid transparent;
  transition: all 0.25s var(--ease-out);
}
.sim2-tab:hover { color: #fff; border-color: var(--line-bright); }
.sim2-tab.active {
  color: #fff; background: var(--accent-soft); border-color: var(--accent-glow);
}
.sim2-setup {
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.sim2-setup .fld { display: flex; flex-direction: column; gap: 6px; }
.sim2-setup .fld > span {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-faint);
}
.sim2-setup select, .sim2-setup input[type="range"] {
  background: var(--void); border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-body); font-size: 0.85rem; padding: 9px 12px;
  border-radius: 6px; min-width: 210px;
}
.sim2-setup input[type="range"] { min-width: 160px; accent-color: var(--accent); padding: 0; }
.sim2-setup select:focus { outline: none; border-color: var(--accent); }
.sim2-run {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 11px 26px; border-radius: 6px;
  background: var(--accent); color: #fff; font-weight: 600;
  transition: all 0.25s var(--ease-out);
}
.sim2-run:hover:not(:disabled) { background: #2f6fe0; transform: translateY(-1px); }
.sim2-run:disabled { opacity: 0.45; cursor: default; }

/* Terminal-venster */
.sim2-term {
  margin: 20px; border: 1px solid var(--line); border-radius: 10px;
  background: #05080f; overflow: hidden;
}
.sim2-term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.sim2-term-bar .td { width: 10px; height: 10px; border-radius: 50%; }
.sim2-term-bar .td:nth-child(1) { background: #ef4444; }
.sim2-term-bar .td:nth-child(2) { background: #f59e0b; }
.sim2-term-bar .td:nth-child(3) { background: #22c55e; }
.sim2-term-bar .tt {
  margin-left: 10px; font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-faint); letter-spacing: 0.06em;
}
.sim2-term-bar .tt b { color: var(--text-dim); font-weight: 500; }

/* Live metrics */
.sim2-metrics {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .sim2-metrics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sim2-metrics { grid-template-columns: repeat(2, 1fr); } }
.sim2-metrics > div { background: #05080f; padding: 14px 16px; }
.sim2-metrics span {
  display: block; font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-faint);
}
.sim2-metrics b {
  display: block; margin-top: 4px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: #fff;
  font-variant-numeric: tabular-nums;
}
.sim2-metrics b.live { color: var(--accent-2); }

/* Output — flink groot */
.sim2-out {
  min-height: 460px; max-height: 460px; overflow-y: auto;
  padding: 24px 28px;
  font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.75;
  color: #c6d0e0; white-space: pre-wrap; word-break: break-word;
}
@media (max-width: 768px) { .sim2-out { min-height: 320px; max-height: 320px; padding: 18px; font-size: 0.78rem; } }
.sim2-out .cursor {
  display: inline-block; width: 9px; height: 1.1em;
  background: var(--accent-2); vertical-align: text-bottom;
  animation: sim-blink 0.85s steps(1) infinite;
  box-shadow: 0 0 10px rgba(34,211,238,0.6);
}
.sim2-out .tk-sys { color: var(--warm); }
.sim2-out .tk-stage { color: var(--accent-2); }
.sim2-out .tk-code { color: #a5d6a7; }
.sim2-out .tk-dim { color: var(--text-faint); }
.sim2-out .tk-json-k { color: #7dd3fc; }
.sim2-out .tk-json-v { color: #fbbf24; }
.sim2-out .stage-line {
  display: block; padding: 6px 0; border-bottom: 1px dashed rgba(160,180,220,0.12);
}
.sim2-out .idle {
  color: var(--text-faint); font-style: italic;
}

/* ============================================
   LATENTIE — log-schaal met magnitude-stappen
   ============================================ */
.lat2-lane {
  display: grid; grid-template-columns: 200px 90px 1fr; gap: 8px 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.lat2-lane:first-of-type { border-top: 1px solid var(--line); }
.lat2-info strong { display: block; font-size: 0.95rem; color: #fff; }
.lat2-info span { display: block; font-size: 0.7rem; color: var(--text-faint); margin-top: 2px; }
.lat2-val {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-2);
  text-align: right;
}
.lat2-val small { display: block; color: var(--text-faint); font-size: 0.7rem; }
.lat2-track {
  position: relative; height: 34px; background: rgba(7,10,18,0.6);
  border: 1px solid var(--line); border-radius: 17px; overflow: hidden;
}
.lat2-ball {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow), 0 0 5px #60a5fa;
}
.lat2-ball.hot {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
.lat2-step {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0 6px 220px;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--warm);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.lat2-step::before { content: '▼'; font-size: 0.7rem; }
@media (max-width: 700px) {
  .lat2-lane { grid-template-columns: 1fr; gap: 6px; }
  .lat2-val { text-align: left; }
  .lat2-step { padding-left: 0; }
}

/* ============================================
   TCO-CHART (calculator)
   ============================================ */
.tco-chart-wrap {
  border: 1px solid var(--line-bright); border-radius: 10px;
  background: linear-gradient(180deg, var(--void-raised), var(--void-soft));
  padding: 24px; margin-top: 8px;
}
.tco-chart-wrap h4 {
  font-family: var(--font-display); font-size: 1rem; color: #fff; margin-bottom: 4px;
}
.tco-chart-wrap .sub { font-size: 0.72rem; color: var(--text-faint); margin-bottom: 16px; }
.tco-chart { width: 100%; height: auto; display: block; }
.tco-legend { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 14px; }
.tco-legend span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-dim);
}
.tco-legend i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }

/* Scenario-kaarten cloud vs on-prem */
.vs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
@media (max-width: 700px) { .vs-cards { grid-template-columns: 1fr; } }
.vs-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 22px;
  background: var(--void-soft);
}
.vs-card.win { border-color: rgba(34,197,94,0.35); }
.vs-card .vc-tag {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-faint);
}
.vs-card .vc-num {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: #fff;
  margin: 8px 0 2px; font-variant-numeric: tabular-nums;
}
.vs-card .vc-sub { font-size: 0.74rem; color: var(--text-dim); }

/* ============================================
   DIVERSE V4-VERFIJNINGEN
   ============================================ */

/* Koppen in donker mogen zachtere wit-tint hebben */
.page-hero { position: relative; }

/* Object-storage band */
.obj-band {
  position: relative; isolation: isolate; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.obj-band .ob-bg {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.4;
}
.obj-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,10,18,0.94) 25%, rgba(7,10,18,0.55) 70%, rgba(7,10,18,0.35));
}
.obj-band .ob-inner { padding: 110px 0; }
@media (max-width: 768px) { .obj-band .ob-inner { padding: 70px 0; } }

/* Grotere tool-thumbs */
.tool-card .tool-thumb { height: 200px; }
.tool-card .tool-thumb img { opacity: 0.9; }

/* Focus states overal zichtbaar */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 2px;
}

/* Reduced motion: v4-onderdelen statisch */
@media (prefers-reduced-motion: reduce) {
  .sim2-out .cursor { animation: none; }
  .split-media img, .article-card .ac-img img { transition: none; }
}

/* ============================================
   LICHTE SECTIE — extra component-overrides
   ============================================ */
.section-light .gap-visual { background: var(--paper-raised); border-color: var(--paper-line); }
.section-light .gap-visual::before, .section-light .gap-visual::after { background: var(--paper-line); }
.section-light .gap-visual .corner { color: var(--paper-faint); }
.section-light .gap-visual .bridge-label {
  background: var(--paper-raised); color: var(--paper-text);
  border-color: rgba(59,130,246,0.35);
}
.section-light .profile-card {
  background: var(--paper-raised); border-color: var(--paper-line);
  box-shadow: 0 24px 64px rgba(19,26,40,0.10);
}
.section-light .profile-card h3 { color: var(--paper-text); }
.section-light .profile-card p { color: var(--paper-dim); }
.section-light .tool-card {
  background: var(--paper-raised); border-color: var(--paper-line);
  box-shadow: 0 12px 36px rgba(19,26,40,0.08);
}
.section-light .tool-card h3 { color: var(--paper-text); }
.section-light .tool-card p { color: var(--paper-dim); }
.section-light .tool-card .tool-thumb { border-bottom-color: var(--paper-line); }
.section-light .tool-card .tool-link { color: var(--paper-text); }
.section-light .btn-secondary { border-color: var(--paper-line); color: var(--paper-text); }
.section-light .btn-secondary:hover { border-color: var(--accent); background: rgba(59,130,246,0.06); }
.section-light .btn-primary { background: var(--paper-text); color: #fff; }
.section-light .insight-item { border-top-color: var(--paper-line); }
.section-light .insight-item h3 { color: var(--paper-text); }
.section-light .insight-item p { color: var(--paper-dim); }
.section-light .insight-item:hover { background: rgba(59,130,246,0.05); }
.section-light .article-card { background: var(--paper-raised); border-color: var(--paper-line); box-shadow: 0 14px 40px rgba(19,26,40,0.08); }
.section-light .article-card h3 { color: var(--paper-text); }
.section-light .article-card p { color: var(--paper-dim); }
.section-light .article-card .ac-img img { opacity: 1; }
.section-light .news-item { border-bottom-color: var(--paper-line); }
.section-light .news-item .n-title { color: var(--paper-text); }
.section-light .news-item:hover { background: rgba(59,130,246,0.05); }

/* Object-storage band: tekstkleuren blijven donker-thema */
.obj-band .tag { background: rgba(7,10,18,0.5); backdrop-filter: blur(6px); }

/* Homepage visuals: geef de praktijksectie een sterk beeldanker. */
.section-light .gap-visual {
  background: #07111f;
  border-color: rgba(59,130,246,0.28);
  box-shadow: 0 24px 70px rgba(7,10,18,0.16);
}
.gap-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.92) contrast(1.04);
}
.gap-visual::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(7,10,18,0.12), rgba(59,130,246,0.22), rgba(7,10,18,0.12));
}
.gap-visual::after { z-index: 1; background: rgba(160,180,220,0.18); }
.gap-visual .bridge { z-index: 2; background: var(--accent-2); box-shadow: 0 0 24px rgba(34,211,238,0.6), 0 0 80px rgba(59,130,246,0.32); }
.gap-visual .bridge-label {
  z-index: 3;
  background: rgba(7,10,18,0.78);
  border-color: rgba(34,211,238,0.5);
  backdrop-filter: blur(8px);
}
.gap-visual .corner { z-index: 3; color: rgba(233,237,244,0.78); text-shadow: 0 1px 12px rgba(0,0,0,0.7); }

/* Extra beeld in de tools-teaser, zonder de tekstuele route te verdringen. */
.tools-feature-media {
  position: relative;
  max-width: 540px;
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background: var(--void-raised);
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
}
.tools-feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 0.8s var(--ease-out), opacity 0.4s ease;
}
.tools-feature-media:hover img { transform: scale(1.04); opacity: 1; }
.tools-feature-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(7,10,18,0.78) 100%);
  pointer-events: none;
}
.tools-feature-media figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  color: rgba(233,237,244,0.84);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Compact, functioneel beeldanker in de toolssectie. */
.tool-quicklink {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 540px;
  margin-top: 28px;
  padding: 12px;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: rgba(13, 25, 43, 0.66);
  transition: border-color .25s ease, background .25s ease;
}
.tool-quicklink:hover { border-color: rgba(59,130,246,.64); background: rgba(20,38,65,.82); }
.tool-quicklink img { width: 132px; height: 86px; object-fit: cover; border-radius: 4px; opacity:.86; }
.tool-quicklink small, .tool-quicklink strong, .tool-quicklink em { display:block; }
.tool-quicklink small { color:var(--accent-2); font-family:var(--font-mono); font-size:0.7rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:5px; }
.tool-quicklink strong { color:var(--text); font-family:var(--font-display); font-size:.96rem; line-height:1.22; font-weight:500; }
.tool-quicklink em { color:var(--text-dim); font-family:var(--font-mono); font-size:0.7rem; font-style:normal; letter-spacing:.03em; margin-top:8px; }
@media (max-width: 640px) { .tool-quicklink { grid-template-columns: 96px minmax(0,1fr); gap:12px; } .tool-quicklink img { width:96px; height:76px; } }

/* ============================================
   V4.2 — MEER MATERIAAL, MINDER WIT VLAK
   ============================================ */

/* De voormalige lichte secties krijgen een rustige, gelaagde inktkleur.
   De lokale variabelen houden bestaande kaarten en tekst automatisch in balans. */
.section-light {
  --paper: #0b1322;
  --paper-raised: #111d31;
  --paper-text: #f1f5fb;
  --paper-dim: #acb9cd;
  --paper-faint: #71809a;
  --paper-line: rgba(170, 193, 226, 0.15);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 0% 8%, rgba(59,130,246,0.14), transparent 64%),
    radial-gradient(ellipse 50% 80% at 100% 92%, rgba(34,211,238,0.08), transparent 66%),
    linear-gradient(135deg, #09111f 0%, #0d1728 55%, #09111a 100%);
}
.section-light .btn-primary { background: var(--accent); color: #fff; }
.section-light .btn-primary:hover { background: #5a96f7; }
.section-light .btn-secondary:hover,
.section-light .challenge-item:hover,
.section-light .insight-item:hover,
.section-light .news-item:hover { background: rgba(59,130,246,0.12); }

/* De vier obstakels zijn op groot scherm scanbare inhoudskaarten in plaats van
   een lange, lege lijst. Dit haalt de visuele nadruk terug naar de inhoud. */
.gap-section { padding-bottom: 104px; }
.gap-section .challenge-grid {
  margin-top: 68px;
  align-items: stretch;
  row-gap: 18px;
}
.gap-section .challenge-item {
  position: relative;
  grid-column: span 6;
  min-height: 206px;
  padding: 30px 30px 28px;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(19,33,54,0.92), rgba(10,18,31,0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025), 0 18px 45px rgba(0,0,0,0.16);
}
.gap-section .challenge-item::before {
  content: '';
  position: absolute;
  width: 34px;
  height: 2px;
  margin-top: -31px;
  background: linear-gradient(90deg, var(--accent-2), transparent);
}
.gap-section .challenge-item:hover {
  transform: translateY(-3px);
  border-color: rgba(59,130,246,0.55);
  background: linear-gradient(145deg, rgba(23,42,69,0.96), rgba(11,22,38,0.96));
}
.gap-section .challenge-num { color: var(--accent-2); font-size: 0.74rem; padding-top: 3px; }
.gap-section .challenge-item h3 { font-size: clamp(1.15rem, 1.5vw, 1.38rem); margin-bottom: 12px; }
.gap-section .challenge-item p { max-width: 46ch; }

/* Lange dienstenpagina's krijgen duidelijke rustpunten zonder extra decoratie. */
@media (min-width: 901px) {
  .service-stack-item {
    padding: 56px 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(18,28,47,0.52), rgba(7,10,18,0.24));
  }
  .service-stack-item + .service-stack-item { margin-top: 18px; }
  .service-stack-item:nth-child(even) { background: linear-gradient(225deg, rgba(20,35,58,0.58), rgba(7,10,18,0.26)); }
  .service-img-wrap { box-shadow: 0 18px 52px rgba(0,0,0,0.24); }
}

@media (max-width: 900px) {
  /* Inline desktop-gridposities komen op mobiel altijd onder elkaar. */
  .grid > [style*="grid-column"] { grid-column: 1 / -1 !important; }
  .gap-section { padding-bottom: 72px; }
  .gap-section .challenge-grid { margin-top: 42px; row-gap: 12px; }
  .gap-section .challenge-item {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 24px 20px;
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }
  .gap-section .challenge-item::before { margin-top: -25px; }
  .gap-section .challenge-item p { max-width: none; }
}

@media (max-width: 900px) {
  .gap-left, .gap-right { grid-column: 1 / -1; }
  .gap-right { padding-bottom: 0; }
  .gap-visual { height: min(360px, 82vw); min-height: 250px; }
}

/* ============================================
   RESPONSIVE VERFIJNINGEN — V4.1
   ============================================ */

/* Skip-link blijft onzichtbaar tot toetsenbordgebruik. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10002;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* Zorgt dat brede componenten op kleine schermen nooit de pagina uitduwen. */
main, section, article, .grid, .hero-inner, .article-content,
.calc-wrap, .sim2-stage, .table-wrap { min-width: 0; }
.grid > *, .hero-inner > *, .article-content > * { min-width: 0; }
h1, h2, h3, h4, td, th { overflow-wrap: anywhere; }

.mobile-toggle {
  position: relative;
  z-index: 1001;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-bright);
  border-radius: 4px;
  font-size: 1.35rem;
  line-height: 1;
}
.mobile-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }

.mobile-nav {
  display: none;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(96px, calc(env(safe-area-inset-top) + 80px)) 24px 40px;
  visibility: hidden;
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.25s ease, visibility 0.4s;
}
.mobile-nav.open { display: flex; visibility: visible; opacity: 1; }
body.nav-open { overflow: hidden; }

/* Bronnen blijven leesbaar wanneer een bronnaam of URL lang is. */
.source-list li {
  display: block;
  position: relative;
  padding-left: 26px;
  overflow-wrap: anywhere;
}
.source-list li::before { position: absolute; left: 0; top: 14px; }
.source-list a { overflow-wrap: anywhere; }

/* Rustig alternatief voor de oude, productgerichte ticker op de homepage. */
.focus-strip { background: #080d16; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.focus-strip .grid { padding-block: 24px; }
.focus-strip .grid > div { grid-column: span 4; padding-right: 28px; border-right: 1px solid var(--line); }
.focus-strip .grid > div:last-child { border-right: 0; }
.focus-strip span { display:block; color: var(--accent-2); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; }
.focus-strip strong { color: var(--text); font-family: var(--font-display); font-size: .94rem; font-weight: 500; }
@media (max-width: 900px) { .focus-strip .grid > div { grid-column: 1 / -1; border-right:0; border-bottom:1px solid var(--line); padding: 14px 0; } .focus-strip .grid > div:last-child { border-bottom:0; } }

/* Het woordmerk staat leesbaar naast het beeldmerk; de kleine onderregel in
   het bronbestand is op headerformaat niet leesbaar en blijft daarom weg. */
.header-logo img { clip-path: none; object-fit: contain; }

/* V4.3 — Compactere desktopcompositie, zonder inhoud weg te laten. */
@media (min-width: 901px) {
  .section { padding-block: 88px; }
  .page-hero { padding: 118px 40px 58px; }
  .page-hero h1 { max-width: 18ch; font-size:clamp(2.8rem, 5.6vw, 6rem); }
  .page-hero-tools h1 { max-width: 22ch; }
  .bleed.parallax-frame { height: min(34vh, 340px) !important; }

  .service-stack-item {
    grid-template-columns: 64px minmax(0, 1.12fr) minmax(280px, .88fr);
    gap: 32px;
    padding: 40px 34px;
  }
  .service-stack-item h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); margin-bottom: 12px; }
  .service-stack-item p { margin-bottom: 18px; }
  .service-stack-item .service-img-wrap img { height: 244px; }
}

/* De dienstpagina gebruikt de tweede kolom voor inhoudelijke duiding. */
.service-hero-panel {
  align-self: center;
  padding: 26px 24px;
  border: 1px solid rgba(108,147,208,.25);
  border-left: 2px solid var(--accent);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(16,31,53,.78), rgba(8,14,25,.6));
}
.service-hero-panel .label { display:block; margin-bottom: 12px; }
.service-hero-panel strong { display:block; color:var(--text); font-family:var(--font-display); font-size:1.16rem; line-height:1.28; font-weight:500; }
.service-hero-panel ul { display:grid; gap:10px; margin-top:18px; }
.service-hero-panel li { position:relative; padding-left:16px; color:var(--text-dim); font-size:.81rem; line-height:1.45; }
.service-hero-panel li::before { content:'›'; position:absolute; left:0; color:var(--accent-2); }

/* De toolsindex toont geen decoratief beeld: de ruimte geeft in één oogopslag
   aan wat bezoekers aan de tools hebben. */
.tools-hero-facts {
  align-self:center;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--line);
}
.tools-hero-facts > div { min-height:132px; display:flex; flex-direction:column; justify-content:center; padding:18px 16px; background:linear-gradient(145deg, rgba(17,31,54,.9), rgba(9,16,29,.94)); }
.tools-hero-facts strong { color:var(--text); font-family:var(--font-display); font-size:1.55rem; font-weight:500; line-height:1; }
.tools-hero-facts span { margin-top:9px; color:var(--text-dim); font-family:var(--font-mono); font-size:0.7rem; letter-spacing:.08em; line-height:1.4; text-transform:uppercase; }

/* Homepage-tools: een kop met ondersteunend beeld, gevolgd door vier
   gelijke routes. Geen decoratieve leegte en elke kaart heeft hetzelfde gewicht. */
.home-tools-section { padding-block:56px; }
.home-tools-intro { grid-column:1 / 6; align-self:center; }
.home-tools-visual { grid-column:7 / 13; height:160px; position:relative; overflow:hidden; border:1px solid var(--line); border-radius:7px; background:var(--void-raised); }
.home-tools-visual img { width:100%; height:100%; object-fit:cover; opacity:.78; transition:transform .7s var(--ease-out), opacity .3s ease; }
.home-tools-visual:hover img { transform:scale(1.04); opacity:.94; }
.home-tools-visual::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(7,10,18,.22), transparent 68%); pointer-events:none; }
.home-tools-visual figcaption { position:absolute; z-index:1; left:16px; bottom:13px; color:var(--text); font-family:var(--font-mono); font-size:0.7rem; letter-spacing:.1em; text-transform:uppercase; }
.home-tools-grid { grid-column:1 / -1; display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px; margin-top:22px; }
.home-tool-card { min-height:156px; display:flex; flex-direction:column; padding:18px; border:1px solid var(--line); border-radius:6px; background:linear-gradient(145deg, rgba(17,31,54,.87), rgba(9,16,29,.9)); transition:transform .25s var(--ease-out), border-color .25s ease, background .25s ease; }
.home-tool-card:hover { transform:translateY(-3px); border-color:rgba(59,130,246,.65); background:linear-gradient(145deg, rgba(23,43,73,.94), rgba(10,21,38,.94)); }
.home-tool-card .tool-tag { font-family:var(--font-mono); font-size:0.7rem; letter-spacing:.11em; text-transform:uppercase; color:var(--accent-2); }
.home-tool-card h3 { margin-top:9px; color:var(--text); font-family:var(--font-display); font-size:1.04rem; font-weight:500; line-height:1.16; }
.home-tool-card p { margin-top:8px; color:var(--text-dim); font-size:.78rem; line-height:1.45; }
.home-tool-card .tool-link { margin-top:auto; padding-top:11px; color:var(--text); font-family:var(--font-mono); font-size:0.7rem; letter-spacing:.07em; text-transform:uppercase; }
.home-tool-card .tool-link::after { content:' →'; color:var(--accent-2); }

@media (max-width: 900px) {
  .header { gap: 12px; }
  .header-logo { min-width: 0; }
  .header-logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-cta { display: none; }
  .mobile-toggle { display: inline-flex; flex: 0 0 44px; }
  .service-hero-panel, .tools-hero-facts { grid-column:1 / -1 !important; margin-top:8px; }
  .home-tools-intro, .home-tools-visual, .home-tools-grid { grid-column:1 / -1; }
  .home-tools-visual { margin-top:28px; }
  .home-tools-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero-stage { padding-top: 92px; padding-bottom: 48px; }
  .page-hero { padding: 132px 20px 56px; }
  .page-hero h1 { max-width: none; font-size: clamp(2.65rem, 13vw, 4.25rem); }
  .article-content { padding: 40px 20px 80px; }
  .article-content h2 { font-size: 1.35rem; margin-top: 40px; }
  .cta-cine { padding: 96px 20px; }
  .profile-card { padding: 20px; }
  .sim2-tabs { padding: 12px; }
  .sim2-tab { flex: 1 1 calc(50% - 4px); text-align: center; padding-inline: 8px; }
  .sim2-setup { padding: 16px; gap: 14px; }
  .sim2-setup .fld, .sim2-setup select, .sim2-setup input[type="range"] { width: 100%; min-width: 0; }
  .sim2-run { width: 100%; }
  .tco-chart-wrap { padding: 16px; }
  .lead-form { align-items: stretch; }
  .lead-form input, .lead-form button { width: 100%; min-width: 0; }
}

@media (max-width: 420px) {
  .header { padding-inline: 14px; }
  .header-logo { gap: 8px; }
  .header-logo span { font-size: 0.94rem; }
  .grid { padding-inline: 16px; }
  .hero-inner { padding-inline: 16px; }
  .hero-title { font-size: clamp(2.7rem, 13.5vw, 4rem); }
  .hero-foot { margin-top: 32px; }
  .hero-actions { width: 100%; }
  .hero-actions a { width: 100%; text-align: center; }
  .hero-stats { gap: 20px 28px; margin-top: 36px; }
  .hero-scrollhint { display: none; }
  .section { padding-block: 64px; }
  .home-tools-section { padding-block:64px; }
  .home-tools-visual { height:180px; }
  .home-tools-grid { grid-template-columns:1fr; gap:12px; margin-top:16px; }
  .home-tool-card { min-height:0; padding:19px; }
  .service-hero-panel { padding:22px 20px; }
  .tools-hero-facts > div { min-height:106px; padding:16px 12px; }
  .mobile-nav a { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link, .mobile-nav { transition: none; }
  .tools-feature-media img { transition: none; }
}

/* ============================================
   V4.4 — REDACTIONELE EN PERFORMANCE-PASS
   ============================================ */

/* De actuele artikelmarkup gebruikt figure/article-card-body. Deze selectors
   houden kaartbeeld, tekst en metadata overal gelijk uitgelijnd. */
.article-card figure { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.article-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .88; transition: transform .8s var(--ease-out), opacity .35s ease; }
.article-card:hover figure img { transform: scale(1.045); opacity: 1; }
.article-card-body { padding: 22px 24px 25px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card-body .meta { margin-top: auto; padding-top: 8px; }

/* Artikelen openen compact: één onderwerpbeeld, daarna direct de inhoud. */
.article-back-link { display: flex; width: max-content; align-items: center; gap: 7px; margin-bottom: 16px; color: var(--accent-2); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase; }
.article-back-link:hover { color: #fff; }
.article-content { max-width: 720px; padding: 16px 0 52px; }
.article-content > p:first-child { color: #c2cada; font-size: 1.06rem; line-height: 1.72; }
.article-content h2 { margin-top: 40px; }
.article-content a { color: #78aaf9; text-decoration: underline; text-decoration-color: rgba(120,170,249,.35); text-underline-offset: 3px; }
.article-content a:hover { color: #a9c8fb; text-decoration-color: currentColor; }
.source-list { margin-top: 24px; padding: 18px 20px 8px 22px !important; border: 1px solid var(--line); border-radius: 6px; background: rgba(15,25,43,.52); }

/* Grote afsluiters en footer blijven visueel, maar kosten minder scrollruimte. */
.cta-cine { padding: 112px 40px; }
.cta-cine h2 { font-size: clamp(2.1rem, 4.5vw, 4.25rem); }
.footer { padding: 56px 0 30px; }
.footer-grid { margin-bottom: 48px; }

/* Vijf hoofdtools staan als drie plus twee gecentreerde, even brede kaarten. */
@media (min-width: 901px) {
  .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .tools-grid .tool-card:last-child:nth-child(odd) { grid-column: 2; }
  .article-page-hero { padding-top: 104px; padding-bottom: 40px; }
  .article-page-hero .grid > div { grid-column: 2 / 12 !important; }
  .article-page-hero h1 { max-width: 19ch; font-size: clamp(2.8rem, 4.7vw, 4.7rem); }
}

@media (max-width: 900px) {
  .page-hero-services h1 { font-size: clamp(2.4rem, 10.8vw, 3.1rem); }
  .article-page-hero { padding-bottom: 42px; }
  .article-content { padding: 0 0 44px; }
  .tools-grid .tool-card:last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-width: 640px) {
  .article-page-hero { padding-top: 108px; padding-bottom: 34px; }
  .article-page-hero h1 { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .article-content { padding: 0 0 30px; }
  .article-content > p:first-child { font-size: 1rem; }
  .cta-cine { padding: 76px 20px; }
  .footer { padding-top: 44px; }
  .footer-grid { margin-bottom: 36px; }
  .article-card-body { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .article-card figure img { transition: none; }
}

/* V4.5 — voorkom horizontale overloop door 100vw naast de scrollbar. */
html { overflow-x: clip; }
.bleed { width: 100%; margin-left: 0; }

/* Compacter paginaritme: voldoende rust, zonder onnodige schermen witruimte. */
.section { padding-block: 104px; }
@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .service-stack-item { padding-block: 44px; }
}

/* ============ 28-11-2026: leesbaarheid ============
   Kleinste tekst is 0,7rem (was tot 0,5rem) en --text-faint / --paper-faint halen nu WCAG AA (4,5:1). */

/* ============ Rekenhulpen op de gedeelde rekenkern (model-fit, kennisbank, stroom & rack) ============ */
.calc-kpi .k-value.k-value-text { font-size: 1.15rem; line-height: 1.3; }
.accent-text { color: var(--accent); }
.cell-sub { font-size: 0.74rem; color: var(--text-dim); }
.tag-fit { background: rgba(52,211,153,0.12); color: #34d399; }
.mem-bar { position: relative; display: flex; height: 18px; background: var(--void-raised); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin: 6px 0 14px; }
.mem-seg { display: block; height: 100%; }
.mem-w, .mem-dot.mem-w { background: var(--accent); }
.mem-k, .mem-dot.mem-k { background: var(--accent-2); }
.mem-r, .mem-dot.mem-r { background: var(--warm); }
.mem-s, .mem-dot.mem-s { background: #64748b; }
.mem-cap { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #f87171; }
.mem-legend { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px 18px; font-size: 0.8rem; color: var(--text-dim); }
.mem-legend strong { color: var(--text); font-weight: 500; margin-left: 4px; }
.mem-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }
.gpu-need { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.gpu-need li { border: 1px solid var(--line); background: var(--void-raised); padding: 10px 12px; border-radius: 4px; font-size: 0.85rem; }
.gpu-need li strong { display: block; color: #fff; font-weight: 500; }
.gpu-need li span { font-size: 0.74rem; color: var(--text-dim); }
.pw-row { display: grid; grid-template-columns: 96px 44px 1fr; gap: 8px; margin-bottom: 14px; }
.pw-row select { grid-column: 1 / -1; }
.pw-row select, .pw-row input { width: 100%; min-width: 0; background: var(--void-raised); border: 1px solid var(--line-bright); color: var(--text); padding: 10px; font: inherit; font-size: 0.85rem; border-radius: 2px; }
.pw-row select:focus-visible, .pw-row input:focus-visible, .pw-del:focus-visible, .share-bar :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pw-del { background: none; border: 1px solid var(--line-bright); color: var(--text-dim); font-size: 1.1rem; cursor: pointer; border-radius: 2px; }
.pw-del:hover { color: #fff; border-color: var(--text-dim); }
.pw-add { width: 100%; justify-content: center; }
.share-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.share-bar .btn-secondary { font-size: 0.72rem; padding: 12px 16px; cursor: pointer; }
.share-bar .calc-note { flex-basis: 100%; margin: 0; }
.calc-panel h3 + .calc-field, .calc-panel .calc-field + h3 { margin-top: 0; }
.calc-panel .calc-field + h3 { margin-top: 26px; }

/* ============ Afdrukken: alleen inhoud, licht ============ */
@media print {
  .header, .mobile-nav, .footer, .cta-cine, .related-links, .whatsapp-btn, .share-bar, .skip-link, .cursor, .cursor-dot, .pw-add, .pw-del { display: none !important; }
  html, body, main, section, .calc-panel, .calc-kpi, .table-wrap table, .gpu-need li, .mem-bar { background: #fff !important; color: #111 !important; box-shadow: none !important; }
  * { color: #111 !important; opacity: 1 !important; transform: none !important; animation: none !important; }
  .calc-panel, .calc-kpi, .gpu-need li, .table-wrap td, .table-wrap th { border-color: #bbb !important; }
  .mem-seg, .mem-dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .section { padding: 16px 0 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.7em; }
}

/* ============ 3D-hardwaregidsen (producten.html) ============ */
.g3d-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.g3d-card { border: 1px solid var(--line-bright); background: var(--void-soft); padding: 28px; border-radius: 4px; display: flex; flex-direction: column; gap: 12px; }
.g3d-card h3 { font-family: var(--font-display); font-size: 1.25rem; color: #fff; font-weight: 600; }
.g3d-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.65; flex: 1; }
.g3d-card button, .g3d-inline { cursor: pointer; align-self: flex-start; }
.g3d-inline { background: none; border: 1px solid var(--line-bright); color: var(--accent); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; margin-left: 8px; }
.g3d-inline:hover { border-color: var(--accent); }
.g3d-dialog { margin: auto; inset: 0; width: min(1280px, 96vw); height: min(860px, 92dvh); padding: 0; border: 1px solid var(--line-bright); border-radius: 6px; background: #05070d; color: var(--text); overflow: hidden; }
.g3d-dialog[open] { display: grid; grid-template-rows: auto 1fr; }
.g3d-dialog::backdrop { background: rgba(3,5,10,0.78); }
.g3d-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px 10px 18px; border-bottom: 1px solid var(--line); }
.g3d-head h2 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; }
.g3d-close { background: none; border: 1px solid var(--line-bright); color: var(--text); width: 36px; height: 36px; font-size: 1.3rem; line-height: 1; cursor: pointer; border-radius: 4px; }
.g3d-close:hover, .g3d-close:focus-visible { border-color: var(--accent); outline: none; }
.g3d-body { min-height: 0; }
.g3d-body iframe { width: 100%; height: 100%; border: 0; display: block; background: #05070d; }
html.g3d-open { overflow: hidden; }

/* ============ 28-11-2026: minder lege ruimte ============
   Secties stonden 120px uit elkaar (boven én onder = 240px leeg tussen twee blokken) en de
   objectstorage-band toonde rechts een bijna zwart vlak. Compacter ritme; beeld rechts zichtbaar. */
.section { padding: clamp(48px, 4.6vw, 72px) 0; }
.page-hero + .section-rule + .section, .section[style*="padding-top"] { padding-top: clamp(40px, 4vw, 60px) !important; }
.obj-band .ob-inner { padding: clamp(60px, 6vw, 84px) 0; }
.obj-band .ob-bg { opacity: 0.85; }
.obj-band::after { background: linear-gradient(90deg, rgba(7,10,18,0.95) 22%, rgba(7,10,18,0.6) 48%, rgba(7,10,18,0.12) 78%, rgba(7,10,18,0.3)); }
@media (max-width: 768px) { .section { padding: 44px 0; } }

/* rekenhulpen: tabellen leesbaar houden (geen afgebroken labels; smal scherm scrolt de tabel zijwaarts) */
.tag { white-space: nowrap; }
#fit-form .table-wrap th, #fit-form .table-wrap td, #power-form .table-wrap th, #power-form .table-wrap td { padding: 12px 12px; }
#fit-form .table-wrap td:last-child, #power-form .table-wrap td:last-child { white-space: nowrap; }
@media (max-width: 640px) { #fit-form .table-wrap table, #power-form .table-wrap table { min-width: 520px; } }
#fit-form .table-wrap, #power-form .table-wrap, #rag-form .table-wrap { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 0; }
#fit-form.calc-wrap, #power-form.calc-wrap, #rag-form.calc-wrap { grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.6fr); }
@media (max-width: 980px) { #fit-form.calc-wrap, #power-form.calc-wrap, #rag-form.calc-wrap { grid-template-columns: 1fr; } }
.calc-panel > h3 { font-size: 1.02rem; }
.calc-wrap > * { min-width: 0; }
.calc-field select, .pw-row select { max-width: 100%; text-overflow: ellipsis; }

/* reviewronde 28-11: afdrukblok, knopcontrast */
.print-only { display: none; }
.btn-primary { background-color: #2563eb; }           /* wit op #3b82f6 was 3,7:1; nu 5,2:1 */
.btn-primary:hover { background-color: #1d4ed8; }
@media print {
  .print-only { display: block !important; font-size: 9pt; margin-top: 12pt; border-top: 1px solid #bbb; padding-top: 6pt; }
  .page-hero { padding: 0 0 8pt !important; }
  .page-hero p { display: none !important; }
  .source-list, .section-rule { display: none !important; }
  h1 { font-size: 18pt !important; }
}

/* ============ Productpagina met film (producten/dell-pro-max-met-gb10.html) ============ */
.film-frame { margin: 0; }
.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-bright); border-radius: 4px; }
.film-frame figcaption { font-size: 0.78rem; color: var(--text-dim); margin-top: 10px; }
.film-chapters { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 2px; }
.film-chapters button { width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 10px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text-dim); font: inherit; font-size: 0.84rem; line-height: 1.4; padding: 9px 4px; cursor: pointer; }
.film-chapters button span { font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent); padding-top: 1px; }
.film-chapters button:hover, .film-chapters button:focus-visible { color: #fff; background: var(--accent-soft); outline: none; }
@media (max-width: 1100px) { .film-main, .film-side { grid-column: 1 / -1 !important; } .film-side { margin-top: 8px; } .film-chapters { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 18px; } }

/* ============ 28-11-2026 (2): het eerste scherm ============
   De hero vulde altijd het hele scherm en zette de tekst onderaan: op een hoog scherm bleef de bovenste helft leeg,
   op een laag scherm schoof de eerste regel onder de navigatie en vielen kop, intro en knop onder de vouw.
   Nu: tekst begint direct onder de navigatie, de hero is nooit hoger dan nodig, en de kop schaalt ook met de schermhoogte,
   zodat kop, intro en knop op gangbare laptops en telefoons in het eerste scherm staan. */
.hero-stage { min-height: 0; align-items: flex-start; padding: clamp(112px, 15vh, 150px) 0 clamp(36px, 6vh, 64px); }
.hero-title { font-size: clamp(2.6rem, min(8.2vw, 13.2vh), 8.5rem); }
.hero-eyebrow { margin-bottom: clamp(14px, 2.4vh, 28px); }
.hero-foot { margin-top: clamp(20px, 3.6vh, 40px); }
.hero-stats { margin-top: clamp(22px, 4vh, 44px); padding-top: clamp(16px, 2.6vh, 28px); }
.hero-scrollhint { display: none; }
@media (max-width: 640px) {
  .hero-stage { padding-top: 96px; padding-bottom: 40px; }
  .hero-title { font-size: clamp(2.5rem, min(13vw, 8.4vh), 4rem); }
  .hero-foot { margin-top: 22px; gap: 18px; }
  .hero-stats { margin-top: 26px; }
}
/* Vervolgpagina's: minder lucht boven de kop, zodat de inhoud (rekenhulp, film, formulier) eerder in beeld komt */
.page-hero { padding-top: clamp(108px, 14vh, 136px); padding-bottom: clamp(28px, 4vh, 48px); }
.page-hero h1 { font-size: clamp(2.2rem, min(4.6vw, 8vh), 4.2rem); }
.page-hero p { margin-top: 14px; }
@media (max-width: 640px) { .page-hero { padding: 100px 20px 32px; } .page-hero h1 { font-size: clamp(2rem, 9vw, 2.9rem); } }
.page-hero + .section-rule + .section, .section[style*="padding-top"] { padding-top: clamp(24px, 3vw, 44px) !important; }

/* telefoon: "AI-infrastructuur," op één regel */
@media (max-width: 640px) { .hero-title { font-size: clamp(2.1rem, min(9.6vw, 8.4vh), 3.6rem); } }
/* de gewone muisaanwijzer blijft zichtbaar (was verborgen achter een eigen stip); de ring volgt als accent */
body.has-cursor { cursor: auto; }
body.has-cursor a, body.has-cursor button, body.has-cursor select, body.has-cursor label, body.has-cursor summary { cursor: pointer; }
body.has-cursor input, body.has-cursor textarea { cursor: auto; }
.cursor-dot { display: none !important; }

/* knoppen in de kop van vervolgpagina's; de sprongknop naar de rekenhulp alleen op smalle schermen */
.hero-actions-sub { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-jump { display: none; }
@media (max-width: 640px) { .hero-jump { display: flex; } .hero-actions-sub a { flex: 1 1 100%; text-align: center; } }
html { scroll-padding-top: 88px; }

/* GPU-vergelijker: 30 rijen; op smalle schermen zijwaarts scrollen in plaats van kolommen van één woord breed */
.gpu-table { min-width: 860px; }
.gpu-table td:first-child { min-width: 230px; }
