/* =========================================================================
   Home 3 — "Bouwplan": blauwdruk, fijne lijnen, technische tekenbladen
   ========================================================================= */
.home-3 {
  --bp: #0b1f3a;
  --bp-2: #0e2848;
  --bp-deep: #081830;
  --ln: rgba(206, 226, 250, .86);
  --ln-2: rgba(206, 226, 250, .5);
  --ln-3: rgba(206, 226, 250, .16);
  --acc: #86c5ff;
  --hl: rgba(134, 197, 255, .17);
  --h3-txt: rgba(214, 228, 246, .74);
  --h3-white: #f2f7fd;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --grid-minor: rgba(150, 192, 242, .05);
  --grid-major: rgba(150, 192, 242, .1);

  font-family: var(--sans);
  color: var(--h3-txt);
  background-color: var(--bp);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 16px 16px, 16px 16px;
  background-position: -1px -1px;
}
.home-3 h1, .home-3 h2, .home-3 h3 { color: var(--h3-white); font-family: var(--sans); }
.home-3 ::selection { background: var(--acc); color: var(--bp); }
.home-3 :focus-visible { outline-color: var(--acc); }

/* ---------- Header ---------- */
.home-3 .site-header { background: rgba(9, 26, 50, .84); color: #fff; }
.home-3 .site-header.is-scrolled { border-bottom-color: var(--ln-3); }
.home-3 .site-header .nav-link { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; }
.home-3 .site-header .logo-text small { color: var(--acc); }
.home-3 .site-header .logo-mark .logo-line { stroke: var(--acc); }
.home-3 .site-header .nav-cta { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.home-3 .site-header .lang { border-color: var(--ln-3); }
.home-3 .site-header .lang button { font-family: var(--mono); font-weight: 500; color: rgba(255,255,255,.7); }
.home-3 .site-header .lang button.active { background: #fff; color: var(--bp); }
body.home-3[data-header="overlay"] .site-header:not(.is-scrolled) .nav-cta { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
html.menu-open .home-3 .site-header .nav-cta { color: var(--ink); }

/* ---------- Gemeenschappelijk ---------- */
.h3-label, .h3-code, .h3-link, .h3-note, .h3-coords, .h3-cartouche, .h3-legend { font-family: var(--mono); }
.h3-tag {
  display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; margin-right: 12px;
  border: 1px solid var(--ln-2); color: var(--acc); font-size: .7rem;
}
.h3-label { display: flex; align-items: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ln); margin: 0 0 28px; }
.h3-link {
  display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--acc); padding: 6px 0; border-bottom: 1px solid currentColor;
  transition: color .35s var(--ease), gap .45s var(--ease-out);
}
.h3-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .45s var(--ease-out); }
.h3-link:hover { color: #fff; }
.h3-link:hover svg { transform: translateX(5px); }
.home-3 .h3-btn { --bg: #eaf3ff; --fg: var(--bp); font-family: var(--mono); font-weight: 500; letter-spacing: .12em; }
.home-3 .h3-btn::after { background: var(--acc); }
.home-3 .h3-btn:hover { color: var(--bp); border-color: var(--acc); }

/* ======================= HERO ======================= */
.h3-hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--hh) + 36px) 0 64px; display: flex; align-items: center; isolation: isolate; }
/* raster komt op: een vlak in de grondkleur vervaagt */
.h3-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bp); opacity: 0; pointer-events: none; }
html.js:not(.no-anim) .h3-hero::before { opacity: 1; animation: h3fadeout 1.8s var(--ease) .1s forwards; }
@keyframes h3fadeout { to { opacity: 0; } }

.h3-frame { position: absolute; inset: calc(var(--hh) + 6px) 18px 18px; border: 1px solid var(--ln-3); pointer-events: none; z-index: -1; }
.h3-frame ol { list-style: none; position: absolute; display: flex; font-family: var(--mono); font-size: .62rem; color: var(--ln-2); letter-spacing: .1em; }
.h3-frame-x { left: 0; right: 0; top: -1px; height: 18px; border-bottom: 1px solid var(--ln-3); }
.h3-frame-y { top: 0; bottom: 0; left: -1px; width: 18px; flex-direction: column; border-right: 1px solid var(--ln-3); }
.h3-frame li { flex: 1; display: grid; place-items: center; }
.h3-frame-x li + li { border-left: 1px solid var(--ln-3); }
.h3-frame-y li + li { border-top: 1px solid var(--ln-3); }

.h3-hero-grid {
  width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 clamp(36px, 4.2vw, 72px);
  display: grid; grid-template-columns: minmax(330px, 4fr) 8.4fr; gap: clamp(24px, 3vw, 56px); align-items: center;
}
.h3-h1 { font-size: clamp(2.4rem, 3.9vw, 4.2rem); font-weight: 300; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.02; margin: 0 0 28px; }
.h3-lead { font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.7; max-width: 470px; margin-bottom: 36px; }
.h3-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.h3-coords { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--ln-3); font-size: .7rem; letter-spacing: .06em; }
.h3-coords dt { color: var(--ln-2); text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; margin-bottom: 4px; }
.h3-coords dd { margin: 0; color: var(--ln); }

.h3-hero-fig { margin: 0; min-width: 0; }
.h3-drawing { position: relative; }
.h3-house { width: 100%; height: auto; max-height: calc(100svh - var(--hh) - 150px); min-height: 280px; overflow: visible; }

/* ---------- De tekening ---------- */
.h3-house .ln, .h3-house .axis, .h3-house .pipe { fill: none; stroke: var(--ln); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: square; }
.h3-house .cut { stroke: #f4f9ff; stroke-width: 1.35; }
.h3-house .thin { stroke: var(--ln); stroke-width: .8; opacity: .8; }
.h3-house .faint { stroke-width: .7; opacity: .42; }
.h3-house .g1 { stroke: #f4f9ff; stroke-width: 1.4; }
.h3-house .win { stroke: var(--acc); stroke-width: .9; }
.h3-house .steel { stroke: var(--acc); stroke-width: 2; }
.h3-house .axis { stroke: var(--ln-2); stroke-width: .7; }
.h3-house .pipe { stroke: var(--acc); stroke-width: .9; }
.h3-house .dim, .h3-house .ext { stroke-width: .7; opacity: .75; }
.h3-house .tick { stroke-width: 1.2; }
.h3-house .lead { stroke-width: .75; opacity: .85; }
.h3-house .mark { fill: var(--ln); stroke-width: .8; }
.h3-house .dot { fill: var(--ln); }
.h3-house .bub { fill: var(--bp); stroke-width: .9; }
.h3-house .sb { fill: none; }
.h3-house .sb.on { fill: var(--ln-2); }
.h3-house pattern line, .h3-house pattern path { fill: none; stroke: var(--ln); stroke-width: 1; }
.h3-house .hatch { fill: url(#h3-hatch); }
.h3-house .fillin { opacity: .5; }
.h3-house .t { fill: var(--ln); font-family: var(--mono); font-size: 17px; letter-spacing: .04em; }
.h3-house .lab { font-size: 19px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; fill: #eaf3ff; transition: fill .3s var(--ease); }
.h3-house .num, .h3-house .bubt { font-size: 15px; text-anchor: middle; dominant-baseline: central; }
.h3-house .lvl { font-size: 17px; }
.h3-house .dimt, .h3-house .sbt { font-size: 15px; text-anchor: middle; fill: var(--ln-2); }
.h3-house .place { font-size: 14px; letter-spacing: .24em; text-transform: uppercase; fill: var(--ln-2); }
.h3-house .zone { fill: var(--hl); stroke: none; opacity: 0; transition: opacity .45s var(--ease); }
.h3-house .zone.on { opacity: 1; }
.h3-house .anno { transition: opacity .35s var(--ease); cursor: default; }
.h3-house.has-zone .anno:not(.on) { opacity: .3; }
.h3-house .anno.on .lab { fill: var(--acc); }
.h3-house .anno.on .bub { fill: var(--acc); }
.h3-house .anno.on .num { fill: var(--bp); }

/* Lijnen die zich tekenen (pathLength=1) */
html.js:not(.no-anim) .h3-drawing .ln { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
html.js:not(.no-anim) .h3-drawing .t,
html.js:not(.no-anim) .h3-drawing .fillin,
html.js:not(.no-anim) .h3-drawing .sb { opacity: 0; }
html.js:not(.no-anim) .h3-drawing .axis,
html.js:not(.no-anim) .h3-drawing .pipe { opacity: 0; }
html.js:not(.no-anim) .h3-drawing.is-drawn .ln { animation: h3draw 1.5s var(--ease-io) var(--d, 0ms) forwards; }
html.js:not(.no-anim) .h3-drawing.is-drawn .t,
html.js:not(.no-anim) .h3-drawing.is-drawn .sb { animation: h3in .7s var(--ease) calc(var(--d, 0ms) + 350ms) forwards; }
html.js:not(.no-anim) .h3-drawing.is-drawn .fillin { animation: h3fill .9s var(--ease) calc(var(--d, 0ms) + 900ms) forwards; }
html.js:not(.no-anim) .h3-drawing.is-drawn .axis { animation: h3axis 1.2s var(--ease) var(--d, 0ms) forwards; }
html.js:not(.no-anim) .h3-drawing.is-drawn .pipe { animation: h3pipe 1s var(--ease) calc(var(--d, 0ms) + 400ms) forwards; }
@keyframes h3draw { to { stroke-dashoffset: 0; } }
@keyframes h3in { to { opacity: 1; } }
@keyframes h3fill { to { opacity: .5; } }
@keyframes h3axis { to { opacity: .55; } }
@keyframes h3pipe { to { opacity: 1; } }
.h3-house .axis { stroke-dasharray: 22 5 3 5; }
.h3-house .pipe { stroke-dasharray: 6 5; }
.h3-house .axis { opacity: .55; }

/* Dradenkruis */
.h3-cross { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); overflow: hidden; }
.h3-cross.on { opacity: 1; }
.h3-cross-x, .h3-cross-y { position: absolute; left: 0; top: 0; background: rgba(134, 197, 255, .35); will-change: transform; }
.h3-cross-x { width: 100%; height: 1px; }
.h3-cross-y { height: 100%; width: 1px; }
.h3-cross-r {
  position: absolute; left: 0; top: 0; white-space: pre; padding: 3px 7px; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .06em; color: var(--bp); background: var(--acc); will-change: transform;
}

/* Legenda (enkel mobiel) */
.h3-legend { display: none; list-style: none; }

/* Cartouche */
.h3-cartouche {
  display: grid; grid-template-columns: 1.6fr 1.5fr .5fr .55fr 1fr .75fr; margin-top: 14px;
  border: 1px solid var(--ln-2); font-size: .74rem; color: #eaf3ff; letter-spacing: .04em;
}
.h3-cartouche > div { padding: 9px 12px 10px; border-left: 1px solid var(--ln-3); min-width: 0; line-height: 1.35; }
.h3-cartouche > div:first-child { border-left: 0; }
.h3-cartouche small { display: block; font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ln-2); margin-bottom: 3px; }
.h3-cartouche .c-brand { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.h3-cartouche .c-brand svg { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.h3-cartouche .c-brand svg path:last-child { stroke: var(--acc); }

/* ======================= BLADEN ======================= */
.h3-sheet { position: relative; padding: clamp(84px, 10vw, 150px) 0; }
.h3-wrap { position: relative; max-width: 1340px; margin: 0 auto; padding: 0 clamp(20px, 5.5vw, 84px); }
.h3-wrap::before, .h3-wrap::after {
  content: ''; position: absolute; top: calc(-1 * clamp(44px, 5vw, 76px)); width: 26px; height: 26px; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23cfe3fb' stroke-width='1'%3E%3Cpath d='M13 0v26M0 13h26'/%3E%3Ccircle cx='13' cy='13' r='6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.h3-wrap::before { left: clamp(7px, 5.5vw - 13px, 71px); }
.h3-wrap::after { right: clamp(7px, 5.5vw - 13px, 71px); }

.h3-rail {
  position: absolute; left: 18px; top: 0; bottom: 0; width: 18px; border-right: 1px solid var(--ln-3);
  display: flex; flex-direction: column; justify-content: space-between; padding: 40px 0;
  font-family: var(--mono); font-size: .6rem; color: var(--ln-2); letter-spacing: .12em;
  background: repeating-linear-gradient(to bottom, var(--ln-3) 0 1px, transparent 1px 48px) right top / 6px 100% no-repeat;
}
.h3-rail span { writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; }
.h3-rail span:first-child { color: var(--acc); font-size: .7rem; }

.h3-head { margin-bottom: clamp(44px, 6vw, 80px); }
.h3-head .h3-h2 { max-width: 920px; }
.h3-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.h3-code { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ln); }
.h3-code b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ln); border-radius: 50%; font-weight: 500; font-size: .85rem; letter-spacing: 0; color: var(--acc); }
.h3-code span::before { content: '— '; color: var(--ln-2); }
.h3-code em { font-style: normal; color: var(--ln-2); margin-left: auto; padding-left: 16px; }
.h3-code em::before { content: '['; } .h3-code em::after { content: ' / 05]'; }
.h3-head-row .h3-code em, .h3-code-sm em { display: none; }
.h3-code-sm { font-size: .66rem; }
.h3-code-sm b { width: auto; height: 26px; padding: 0 9px; border-radius: 0; font-size: .7rem; }
.h3-h2 { font-size: clamp(2.1rem, 4.2vw, 3.9rem); font-weight: 300; font-stretch: 106%; letter-spacing: -.025em; line-height: 1.05; margin: 0; }
.h3-intro { font-size: clamp(1.02rem, 1.25vw, 1.14rem); line-height: 1.7; max-width: 620px; margin: 26px 0 0; color: var(--h3-txt); }
.h3-h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 300; letter-spacing: -.015em; line-height: 1.15; }
.h3-note { font-size: .7rem; letter-spacing: .06em; color: var(--ln-2); margin: 40px 0 0; }
.h3-note::before { content: '* '; color: var(--acc); }

/* Maatlijn als scheiding */
.h3-dimsep {
  display: flex; align-items: center; gap: 16px; max-width: 1340px; margin: 0 auto;
  padding: 0 clamp(20px, 5.5vw, 84px); font-family: var(--mono); font-size: .66rem; color: var(--ln-2);
}
.h3-dimsep span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--ln-3); border-radius: 50%; }
.h3-dimsep i { flex: 1; height: 1px; background: var(--ln-2); position: relative; }
.h3-dimsep i::before, .h3-dimsep i::after { content: ''; position: absolute; top: -6px; width: 1px; height: 13px; background: var(--ln); transform: rotate(45deg); }
.h3-dimsep i::before { left: 0; } .h3-dimsep i::after { right: 0; }

/* ======================= A — DIENSTEN ======================= */
.h3-svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.h3-keyplan { position: sticky; top: calc(var(--hh) + 32px); border: 1px solid var(--ln-3); padding: 18px 18px 0; background: rgba(8, 24, 48, .45); }
.h3-keyplan .h3-house { max-height: none; min-height: 0; }
.h3-keyplan .lab, .h3-keyplan .place, .h3-keyplan .dimt, .h3-keyplan .sbt, .h3-keyplan .lvl { display: none; }
.h3-keyplan .anno .bub { r: 24px; }
.h3-keyplan .anno .num { font-size: 24px; }
.h3-keyplan-cap { margin: 0; padding: 10px 0 12px; border-top: 1px solid var(--ln-3); font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ln-2); }

.h3-schedule { border-top: 1px solid var(--ln); }
.h3-row {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1.45fr) 118px 20px; gap: 18px;
  align-items: baseline; padding: 24px 6px; border-bottom: 1px solid var(--ln-3); color: var(--h3-txt);
  transition: background-color .4s var(--ease);
}
.h3-row-head { padding: 12px 6px; font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ln-2); border-bottom-color: var(--ln-2); }
.h3-row-head span:last-child { grid-column: 4 / 6; }
a.h3-row::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
a.h3-row:hover, a.h3-row:focus-visible { background-color: rgba(134, 197, 255, .06); }
a.h3-row:hover::before, a.h3-row:focus-visible::before { transform: scaleX(1); }
.r-nr { font-family: var(--mono); font-size: .72rem; color: var(--acc); letter-spacing: .06em; }
.r-t { font-size: clamp(1.12rem, 1.5vw, 1.36rem); color: var(--h3-white); font-stretch: 104%; letter-spacing: -.01em; line-height: 1.25; transition: transform .5s var(--ease-out); }
.r-d { font-size: .93rem; line-height: 1.55; }
.r-l { font-family: var(--mono); font-size: .7rem; color: var(--ln-2); letter-spacing: .04em; white-space: nowrap; }
.r-a { width: 18px; height: 18px; fill: none; stroke: var(--acc); stroke-width: 1.5; align-self: center; opacity: .35; transition: transform .45s var(--ease-out), opacity .3s; }
a.h3-row:hover .r-t { transform: translateX(6px); }
a.h3-row:hover .r-a { opacity: 1; transform: translateX(4px); }
.h3-svc-more { margin: 32px 0 0; }

/* ======================= B — REALISATIES ======================= */
.h3-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.h3-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--ln-3); padding: 10px; background: rgba(8, 24, 48, .35); transition: border-color .4s var(--ease), transform .6s var(--ease-out); }
.h3-card::before, .h3-card::after { content: ''; position: absolute; width: 12px; height: 12px; border: 0 solid var(--ln); transition: transform .5s var(--ease-out); }
.h3-card::before { top: -6px; left: -6px; border-top-width: 1px; border-left-width: 1px; }
.h3-card::after { bottom: -6px; right: -6px; border-bottom-width: 1px; border-right-width: 1px; }
.h3-card:hover { border-color: var(--ln-2); }
.h3-card:hover::before { transform: translate(-4px, -4px); }
.h3-card:hover::after { transform: translate(4px, 4px); }
.k-top, .k-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.k-top { padding: 2px 4px 10px; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ln-2); }
.k-top span:first-child { color: var(--acc); }
.k-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #2d6fb4; }
.k-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .7s var(--ease); }
.k-img img:first-child { filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: multiply; }
.k-img::after { content: ''; position: absolute; inset: 0; background: var(--bp); mix-blend-mode: lighten; opacity: .9; pointer-events: none; transition: opacity .7s var(--ease); }
.k-img .k-col { opacity: 0; z-index: 1; }
.h3-card:hover .k-img img, .h3-card:focus-visible .k-img img { transform: scale(1.04); }
.h3-card:hover .k-col, .h3-card:focus-visible .k-col { opacity: 1; }
.k-foot { padding: 16px 4px 6px; align-items: flex-end; }
.k-t { color: var(--h3-white); font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.3; letter-spacing: -.005em; }
.k-go { flex: none; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.h3-card:hover .k-go { border-bottom-color: currentColor; }

.h3-compare { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(80px, 10vw, 140px); }
.h3-compare-text p { margin-top: 0; }
.h3-key { list-style: none; display: grid; gap: 10px; margin-top: 28px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ln); }
.h3-key li { display: flex; align-items: center; gap: 14px; }
.h3-key i { width: 44px; height: 0; border-top: 1px dashed var(--ln); }
.h3-key i.k-new { border-top: 3px solid var(--acc); }
.h3-ba-frame { position: relative; padding-top: 34px; min-width: 0; }
.h3-ba-dim { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .64rem; color: var(--ln-2); }
.h3-ba-dim i { flex: 1; height: 1px; background: var(--ln-2); position: relative; }
.h3-ba-dim i:first-child::before, .h3-ba-dim i:last-child::after { content: ''; position: absolute; top: -6px; width: 1px; height: 13px; background: var(--ln); transform: rotate(45deg); }
.h3-ba-dim i:first-child::before { left: 0; } .h3-ba-dim i:last-child::after { right: 0; }
.home-3 .ba { outline: 1px solid var(--ln-2); outline-offset: 8px; }
.home-3 .ba .ba-before { filter: grayscale(.55) contrast(1.05); }
.home-3 .ba-label { font-family: var(--mono); font-weight: 500; font-size: .62rem; letter-spacing: .16em; border: 1px solid rgba(255,255,255,.5); }
.home-3 .ba-label-before { background: rgba(8, 24, 48, .78); }
.home-3 .ba-label-after { background: rgba(234, 243, 255, .92); color: var(--bp); }
.home-3 .ba-line { background: var(--acc); }
.home-3 .ba-knob { background: var(--bp); border: 1px solid var(--acc); box-shadow: 0 0 0 6px rgba(11, 31, 58, .35); }
.home-3 .ba-knob svg { stroke: var(--acc); }
.home-3 .ba-hint { font-family: var(--mono); font-size: .66rem; }

/* ======================= C — WERKWIJZE ======================= */
.h3-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 52px; }
.h3-steps::before { content: ''; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: var(--ln); transform-origin: left; }
html.js:not(.no-anim) .h3-steps::before { transform: scaleX(0); transition: transform 1.8s var(--ease-io) .2s; }
html.js:not(.no-anim) .h3-steps.is-in::before { transform: none; }
.h3-steps::after { content: ''; position: absolute; right: 0; top: 11px; width: 1px; height: 15px; background: var(--ln); transform: rotate(45deg); }
.h3-steps li { position: relative; padding: 0 clamp(16px, 2.4vw, 40px) 0 0; }
.h3-steps li::before { content: ''; position: absolute; left: 0; top: -41px; width: 1px; height: 15px; background: var(--ln); transform: rotate(45deg); }
.h3-steps li::after { content: ''; position: absolute; left: 0; top: -52px; bottom: 0; width: 1px; background: linear-gradient(var(--ln-2), transparent 80%); }
.h3-steps li > * { padding-left: 22px; }
html.js:not(.no-anim) .h3-steps li > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .8s var(--ease), transform 1s var(--ease-out); }
html.js:not(.no-anim) .h3-steps.is-in li > * { opacity: 1; transform: none; }
html.js:not(.no-anim) .h3-steps.is-in li:nth-child(2) > * { transition-delay: .35s; }
html.js:not(.no-anim) .h3-steps.is-in li:nth-child(3) > * { transition-delay: .7s; }
html.js:not(.no-anim) .h3-steps.is-in li:nth-child(4) > * { transition-delay: 1.05s; }
.s-n { display: block; font-family: var(--mono); font-size: .72rem; color: var(--acc); letter-spacing: .08em; margin-bottom: 16px; }
.h3-steps h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 300; letter-spacing: -.01em; margin-bottom: 14px; }
.h3-steps p { font-size: .95rem; line-height: 1.65; margin: 0; }

/* ======================= D — OVER ======================= */
.h3-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.h3-about-text .h3-intro { margin: 0 0 1.1em; color: var(--h3-white); }
.h3-about-text > p { max-width: 620px; }
.h3-facts { display: grid; gap: 34px; margin: 52px 0 48px; max-width: 620px; }
.h3-fact { display: grid; grid-template-columns: minmax(130px, auto) 1fr; align-items: baseline; gap: 6px 24px; }
.h3-fact strong { font-weight: 300; font-stretch: 110%; font-size: clamp(2.2rem, 3.6vw, 3.1rem); color: var(--h3-white); letter-spacing: -.02em; line-height: 1; }
.h3-fact > span:not(.f-dim) { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ln); }
.f-dim { grid-column: 1 / -1; position: relative; display: flex; height: 18px; align-items: center; margin-bottom: 8px; }
.f-dim i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ln-2); transform-origin: left; }
.f-dim::before, .f-dim::after { content: ''; position: absolute; top: 2px; width: 1px; height: 14px; background: var(--ln); transform: rotate(45deg); }
.f-dim::before { left: 0; } .f-dim::after { right: 0; }
.f-years .f-dim i { right: 0; }
.f-ticks i { background: repeating-linear-gradient(90deg, var(--ln) 0 1px, transparent 1px calc(100% - 1px)) /* 2 streepjes = 2 teams */; height: 9px; margin-top: -4px; }
.f-ticks i::after { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--ln-2); }
.f-chain i { background: linear-gradient(90deg, var(--ln-2), var(--ln-2)) 0 50% / 100% 1px no-repeat, linear-gradient(var(--ln), var(--ln)) 33.33% 50% / 1px 9px no-repeat, linear-gradient(var(--ln), var(--ln)) 66.66% 50% / 1px 9px no-repeat; height: 9px; margin-top: -4px; }
.f-chain b { position: relative; flex: 1; text-align: center; font-family: var(--mono); font-weight: 400; font-size: .58rem; color: var(--ln-2); letter-spacing: .14em; transform: translateY(-11px); }
html.js:not(.no-anim) .h3-fact .f-dim i { transform: scaleX(0); transition: transform 1.4s var(--ease-io) .2s; }
html.js:not(.no-anim) .h3-fact.is-in .f-dim i { transform: none; }
.h3-about-fig { margin: 0; position: relative; }
.h3-about-fig .k-img { aspect-ratio: 4 / 5; }
.h3-about-fig:hover .k-col { opacity: 1; }
.h3-about-fig figcaption { display: flex; gap: 14px; padding: 12px 0 0; margin-top: 10px; border-top: 1px solid var(--ln-3); font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ln-2); }
.h3-about-fig figcaption span:first-child { color: var(--acc); }

/* ======================= Footer ======================= */
.home-3 .site-footer {
  background-color: var(--bp-deep); border-top: 1px solid var(--ln-3);
  background-image: linear-gradient(var(--grid-minor) 1px, transparent 1px), linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 16px 16px;
}
.home-3 .site-footer .eyebrow, .home-3 .footer-grid h3, .home-3 .footer-bottom { font-family: var(--mono); font-weight: 500; }
.home-3 .footer-cta-title { font-family: var(--sans); font-stretch: 106%; letter-spacing: -.025em; }
.home-3 .site-footer .btn-light { font-family: var(--mono); font-weight: 500; letter-spacing: .12em; }
.home-3 .site-footer .btn-light::after { background: var(--acc); }
.home-3 .site-footer .btn-light:hover { color: var(--bp); border-color: var(--acc); }

/* ======================= Responsief ======================= */
@media (max-width: 1180px) {
  .h3-hero { min-height: 0; }
  .h3-hero-grid { grid-template-columns: 1fr; gap: 48px; max-width: 900px; }
  .h3-lead { max-width: 600px; }
  .h3-house { max-height: none; }
  .h3-coords { margin-top: 36px; }
  .h3-cartouche { grid-template-columns: 1.4fr 1.4fr .6fr .6fr; }
  .h3-cartouche > div:nth-child(5) { border-left: 0; }
  .h3-cartouche > div:nth-child(n+5) { border-top: 1px solid var(--ln-3); }
  .h3-cartouche .c-place { grid-column: span 3; }
}
@media (max-width: 1000px) {
  .h3-svc { grid-template-columns: 1fr; }
  .h3-keyplan { display: none; }
  .h3-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h3-compare, .h3-about { grid-template-columns: 1fr; }
  .h3-about-fig { max-width: 520px; }
  .h3-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .h3-steps li:nth-child(3)::before { display: none; }
}
@media (max-width: 760px) {
  .h3-rail, .h3-frame .h3-frame-y { display: none; }
  .h3-frame { left: 10px; right: 10px; bottom: 10px; }
  .h3-hero-grid { padding: 0 20px; }
  .h3-wrap::before, .h3-wrap::after { display: none; }
  .h3-row { grid-template-columns: 50px minmax(0, 1fr) 18px; gap: 6px 14px; padding: 20px 2px; }
  .h3-row-head { display: none; }
  .r-d { grid-column: 2; grid-row: 2; }
  .r-l { grid-column: 2; grid-row: 3; }
  .r-a { grid-column: 3; grid-row: 1; }
  .h3-steps { grid-template-columns: 1fr; padding: 0 0 0 0; row-gap: 40px; }
  .h3-steps::before { left: 0; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  html.js:not(.no-anim) .h3-steps::before { transform: scaleY(0); }
  .h3-steps::after { right: auto; left: 0; top: auto; bottom: -7px; }
  .h3-steps li { padding: 0 0 0 10px; }
  .h3-steps li::before { display: block !important; left: -7px; top: -6px; width: 15px; height: 1px; transform: rotate(-45deg); }
  .h3-steps li::after { display: none; }
  .h3-fact { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  /* Tekening vereenvoudigen: nummers groter, labels naar de legenda */
  .h3-hero .lab, .h3-hero .dimt, .h3-hero .place, .h3-hero .dims, .h3-hero .levels line.ext,
  .h3-hero .axes, .h3-hero .levels .dim, .h3-hero .levels .tick, .h3-hero .levels .dimt { display: none; }
  .h3-hero .anno .bub { r: 30px; }
  .h3-hero .anno .num { font-size: 30px; }
  .h3-hero .lvl { font-size: 30px; }
  .h3-hero .h3-house { overflow: hidden; }
  .h3-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 18px 0 0; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ln); }
  .h3-legend li { display: flex; align-items: center; gap: 10px; transition: color .3s; }
  .h3-legend li.on { color: var(--acc); }
  .h3-legend b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--ln-2); border-radius: 50%; font-weight: 500; font-size: .68rem; color: var(--acc); }
  .h3-cartouche { grid-template-columns: 1fr 1fr 1fr; font-size: .68rem; }
  .h3-cartouche .c-brand, .h3-cartouche .c-subj { grid-column: 1 / -1; border-left: 0; }
  .h3-cartouche > div:nth-child(n+2) { border-top: 1px solid var(--ln-3); }
  .h3-cartouche > div:nth-child(3) { border-left: 0; }
  .h3-cartouche > div:nth-child(5) { border-left: 1px solid var(--ln-3); }
  .h3-cartouche .c-place { grid-column: auto; }
  .h3-cartouche > div:nth-child(6) { grid-column: 1 / -1; border-left: 0; }
  .h3-cards { grid-template-columns: 1fr; }
  .h3-coords { gap: 14px 28px; }
}

/* Header uitlijnen met het tekenblad */
.home-3 .site-header .wrap { max-width: none; }
