/* Syntec-IT — design "G · De Syntec ring" */

@font-face { font-family: 'uni_neue'; src: url('../fonts/unineueregular.woff2') format('woff2'), url('../fonts/unineueregular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'uni_neue'; src: url('../fonts/unineuebold.woff2') format('woff2'), url('../fonts/unineuebold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'uni_neue'; src: url('../fonts/unineueblack.woff2') format('woff2'), url('../fonts/unineueblack.woff') format('woff'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --blue: #0098da;
  --blue-text: #0077ad;
  --deep: #00487c;
  --deeper: #00273f;
  --orange: #ee9f3f;
  --orange-hover: #f6b45a;
  --orange-soft: #ffd9a6;
  --ink: #1a2733;
  --grey-900: #333333;
  --grey-700: #4d4d4d;
  --grey-500: #a8a8a8;
  --grey-100: #f2f2f2;
  --mist: #d7e6f1;
  --gutter: clamp(20px, 4.5vw, 64px);
  --wrap: 1320px;
  --font: 'uni_neue', 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--grey-900); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { line-height: 1.1; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.amp { color: var(--orange); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font); font-weight: 700; font-size: 17px; line-height: 1; padding: 18px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; text-decoration: none; }
.btn .icon { transition: transform .25s ease; }
.btn:hover .icon { transform: translateX(4px); }
.btn-sm { padding: 12px 20px; font-size: 15px; }
.btn-orange { background: var(--orange); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(238, 159, 63, .8); }
.btn-orange:hover { background: var(--orange-hover); color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(238, 159, 63, .9); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn-blue { background: var(--deep); color: #fff; }
.btn-blue:hover { background: var(--blue-text); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn-outline:hover { background: var(--deep); color: #fff; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }

/* ---------- kickers & headings ---------- */
.kicker { margin: 0 0 18px; font-family: var(--mono); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-text); display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; display: inline-block; width: 38px; height: 2px; background: var(--orange); flex: 0 0 auto; }
.kicker-light { color: var(--orange); }
.h-display { margin: 0; font-size: clamp(36px, 4.2vw, 60px); font-weight: 900; line-height: 1; letter-spacing: -.02em; color: var(--deep); }
.h-display-light { color: #fff; }
.lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--grey-700); max-width: 560px; }
.section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 64px; align-items: end; margin-bottom: 64px; }

/* ---------- header / nav ---------- */
.site-header { position: relative; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 26px var(--gutter); }
.site-header .logo { display: inline-flex; flex: 0 0 auto; }
.site-header .logo img { display: block; width: 218px; max-width: 56vw; height: auto; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255, 255, 255, .55); color: #fff; border-radius: 10px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; margin-left: auto; margin-right: auto; }
.nav a { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .01em; padding: 8px 2px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--orange); transition: right .25s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; white-space: nowrap; color: var(--mist); }
.header-phone:hover { color: #fff; }

@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav, .js .header-actions { display: none; width: 100%; }
  .js .site-header.is-open .nav, .js .site-header.is-open .header-actions { display: flex; }
  .js .site-header.is-open { background: rgba(0, 39, 63, .97); }
  .js .site-header.is-open .nav-toggle .icon-menu { display: none; }
  .js .site-header.is-open .nav-toggle .icon-close { display: block; }
  .nav { flex-direction: column; align-items: flex-start; margin: 8px 0 0; gap: 4px; }
  .nav a { font-size: 22px; padding: 10px 0; }
  .header-actions { padding: 8px 0 12px; }
}

/* ---------- the Syntec ring (brand gesture) ---------- */
.ring { position: absolute; border-radius: 50%; border-style: solid; border-color: var(--orange) transparent transparent var(--blue); pointer-events: none; }
.ring-thin { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-right-color: transparent; border-bottom-color: transparent; pointer-events: none; }
.spin { animation: spin 54s linear infinite; }
.spin-back { animation: spinback 80s linear infinite; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 860px; display: flex; flex-direction: column; overflow: hidden; background: var(--deeper) url('../img/hero-home.jpg') center 30% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(98deg, rgba(0, 34, 60, .96) 0%, rgba(0, 52, 92, .86) 38%, rgba(0, 72, 124, .42) 68%, rgba(0, 39, 66, .25) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: linear-gradient(180deg, rgba(0, 39, 66, 0) 0%, rgba(0, 32, 56, .75) 100%); }
.hero .ring { right: -180px; top: 110px; width: 720px; height: 720px; border-width: 30px; opacity: .92; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); z-index: 1; }
.hero .ring-thin { right: -100px; top: 190px; width: 560px; height: 560px; z-index: 1; }
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 60px var(--gutter) 150px; }
.hero-body > div { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { margin: 0 0 30px; font-size: clamp(46px, 7.6vw, 112px); font-weight: 900; line-height: .92; letter-spacing: -.025em; color: #fff; max-width: 980px; }
.hero-intro { margin: 0 0 42px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; color: var(--mist); max-width: 560px; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 120px; z-index: 2; display: flex; align-items: center; gap: 14px; color: #9fc4de; }
.scroll-cue .line { display: block; width: 2px; height: 64px; background: rgba(255, 255, 255, .18); overflow: hidden; position: relative; }
.scroll-cue .line span { position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: var(--orange); display: block; animation: drip 2.4s ease-in-out infinite; }
.scroll-cue .label { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }

/* ---------- subpage hero ---------- */
.page-hero { position: relative; min-height: 560px; display: flex; flex-direction: column; overflow: hidden; background-color: var(--deeper); }
.page-hero > img.bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(98deg, rgba(0, 34, 60, .96) 0%, rgba(0, 52, 92, .88) 45%, rgba(0, 72, 124, .5) 75%, rgba(0, 39, 66, .35) 100%); }
.page-hero.no-photo::before { background: linear-gradient(160deg, #00487c 0%, #003560 55%, #00273f 100%); }
.page-hero .dots { position: absolute; inset: 0; z-index: 1; opacity: .45; background: url('../img/dots-white.png') center / cover no-repeat; }
.page-hero .ring { right: -220px; top: 60px; width: 600px; height: 600px; border-width: 26px; opacity: .9; z-index: 2; }
.page-hero .site-header, .page-hero .page-hero-body { position: relative; z-index: 3; }
.page-hero-body { flex: 1; display: flex; align-items: center; padding: 40px var(--gutter) 130px; }
.page-hero-body > div { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.page-hero h1 { margin: 0 0 24px; font-size: clamp(40px, 6vw, 88px); font-weight: 900; line-height: .95; letter-spacing: -.025em; color: #fff; max-width: 980px; }
.page-hero .hero-intro { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 36px; }
.page-hero-compact { min-height: 420px; }

/* ---------- contact bar (overlaps hero) ---------- */
.contact-bar { position: relative; z-index: 4; max-width: var(--wrap); margin: -88px auto 0; background: #fff; border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(0, 39, 66, .45), 0 2px 0 rgba(0, 72, 124, .06); display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); overflow: hidden; }
.contact-bar .lead-cell { background: var(--deep); color: #fff; padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.contact-bar .lead-cell .mono { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.contact-bar .lead-cell strong { font-size: 24px; font-weight: 900; line-height: 1.1; }
.contact-bar .cell { padding: 30px 32px; display: flex; gap: 16px; align-items: center; border-left: 1px solid #eef3f7; min-width: 0; }
.contact-bar .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--grey-100); display: flex; align-items: center; justify-content: center; color: var(--deep); }
.contact-bar .cell small { display: block; font-size: 13px; color: var(--grey-700); }
.contact-bar .cell a, .contact-bar .cell .val { font-size: 19px; font-weight: 700; color: var(--grey-900); overflow-wrap: anywhere; }
.contact-bar .cell a:hover { color: var(--blue-text); }

/* ---------- sections ---------- */
.section { padding: 120px var(--gutter); position: relative; }
.section-white { background: #fff; }
.section-grey { background: var(--grey-100); overflow: hidden; }
.section-deep { position: relative; overflow: hidden; background: linear-gradient(160deg, #00487c 0%, #003560 55%, #00273f 100%); color: #fff; }
.section-deep .dots { position: absolute; inset: 0; opacity: .45; background: url('../img/dots-white.png') center / cover no-repeat; }
.section-deep .topline { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--blue) 70%, transparent); }
.section-grey .deco-circle { position: absolute; right: -240px; bottom: -320px; width: 640px; height: 640px; border-radius: 50%; border: 60px solid #e6ecf1; opacity: .9; }
.solutions-section { padding-top: 0; }
.solutions-section .section-head { margin-top: 120px; }

/* ---------- solution tiles ---------- */
.tiles-field { position: relative; max-width: var(--wrap); margin: 0 auto; }
.tiles-field::before { content: ""; position: absolute; left: -40px; right: -40px; top: 90px; bottom: -60px; border-radius: 24px; opacity: .55; background: #f6f9fb url('../img/dots-blue.png') center / cover no-repeat; }
.tiles { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; padding: 0 8px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 8px; min-height: 420px; color: #fff; box-shadow: 0 30px 60px -30px rgba(0, 39, 66, .7); transition: transform .35s ease, box-shadow .35s ease; }
.tiles .tile:nth-child(even) { margin-top: 64px; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tile .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 39, 66, .05) 0%, rgba(0, 39, 66, .25) 45%, rgba(0, 39, 66, .92) 100%); }
.tile .bar { position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: var(--orange); transition: width .45s ease; }
.tile .inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; padding: 26px 26px 30px; }
.tile .num { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: #fff; background: rgba(0, 39, 66, .55); align-self: flex-start; padding: 6px 10px; border-radius: 4px; backdrop-filter: blur(6px); }
.tile .txt { display: flex; flex-direction: column; gap: 14px; }
.tile .ttl { font-size: 24px; font-weight: 700; line-height: 1.15; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.tile .ttl small { display: block; font-size: 16px; font-weight: 400; opacity: .9; margin-bottom: 4px; }
.tile .go { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--orange-soft); }
.tile .go .icon { transition: transform .3s ease; }
.tile:hover { transform: translateY(-8px); color: #fff; box-shadow: 0 44px 70px -30px rgba(0, 39, 66, .8); }
.tile:hover > img { transform: scale(1.07); }
.tile:hover .bar { width: 100%; }
.tile:hover .go .icon { transform: translateX(6px); }

/* ---------- framework ---------- */
.framework-grid { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px 56px; align-items: center; }
.framework-copy { max-width: 560px; }
.framework-copy .h-display { margin-bottom: 26px; }
.framework-copy .rich p { margin: 0 0 20px; font-size: 19px; line-height: 1.55; color: var(--mist); }
.framework-copy .rich strong { color: #fff; }
.features { display: flex; flex-direction: column; margin: 14px 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.feat { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.feat .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; color: var(--orange); transition: background-color .25s ease, transform .25s ease, color .25s ease; }
.feat:hover .ic { background: var(--orange); color: var(--ink); transform: rotate(-6deg); }
.feat strong { display: block; font-size: 19px; color: #fff; }
.feat span.d { display: block; font-size: 16px; color: #b9d2e4; }
.product { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; }
.product .ring { width: min(620px, 92%); aspect-ratio: 1 / 1; border-width: 26px; opacity: .95; }
.product .ring-dash { position: absolute; width: min(480px, 72%); aspect-ratio: 1 / 1; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); }
.product .glow { position: absolute; width: min(340px, 52%); aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 152, 218, .35) 0%, rgba(0, 152, 218, 0) 70%); }
.product img { position: relative; z-index: 1; width: 100%; max-width: 640px; display: block; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .45)); }
.chip { position: absolute; z-index: 2; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; padding: 10px 14px; border-radius: 6px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); display: inline-flex; align-items: center; gap: 10px; }
.chip-white { background: #fff; color: var(--deep); }
.chip-white::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; }
.chip-orange { background: var(--orange); color: var(--ink); }
.chip-deep { background: var(--deep); color: #fff; }
.product .chip-white { left: 4%; bottom: 6%; }
.product .chip-orange { right: 2%; top: 8%; }

/* ---------- werkwijze timeline ---------- */
.timeline { position: relative; padding-top: 10px; max-width: var(--wrap); margin: 0 auto; }
.timeline .track { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #dfe6ec; border-radius: 2px; overflow: hidden; }
.timeline .track span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 100%); transform-origin: left center; animation: draw 1.6s cubic-bezier(.2, .7, .2, 1) .4s both; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.step { background: #fff; border-radius: 8px; padding: 34px 30px 30px; position: relative; transition: transform .3s ease, box-shadow .3s ease; box-shadow: 0 1px 0 rgba(0, 72, 124, .08); }
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0, 72, 124, .45); }
.step .dot { position: absolute; top: -9px; left: 30px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 4px solid var(--grey-100); }
.step .lbl { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 18px; }
.step .n { display: block; font-size: 84px; font-weight: 900; line-height: .8; color: var(--deep); letter-spacing: -.04em; margin-bottom: 22px; }
.step h3 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--deep); }
.step p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--grey-700); }
.step:last-child { background: var(--deep); }
.step:last-child .lbl, .step:last-child .n { color: var(--orange); }
.step:last-child h3 { color: #fff; }
.step:last-child p { color: var(--mist); }

/* werkwijze page: detailed vertical steps */
.steps-detail { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: flex; flex-direction: column; gap: 28px; }
.steps-detail li { display: grid; grid-template-columns: 140px 1fr; gap: 12px 40px; background: #fff; border-radius: 10px; padding: 44px 48px; box-shadow: 0 30px 60px -40px rgba(0, 72, 124, .45); position: relative; overflow: hidden; }
.steps-detail li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--orange), var(--blue)); }
.steps-detail .n { font-size: 110px; font-weight: 900; line-height: .8; letter-spacing: -.05em; color: var(--deep); }
.steps-detail .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-text); display: block; margin-bottom: 10px; }
.steps-detail h2 { margin: 0 0 16px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; color: var(--deep); letter-spacing: -.01em; }
.steps-detail p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--grey-700); }
.steps-detail li:last-child { background: var(--deep); }
.steps-detail li:last-child .n, .steps-detail li:last-child .lbl { color: var(--orange); }
.steps-detail li:last-child h2 { color: #fff; }
.steps-detail li:last-child p { color: var(--mist); }
@media (max-width: 700px) { .steps-detail li { grid-template-columns: 1fr; padding: 32px 26px; } .steps-detail .n { font-size: 72px; } }

/* ---------- about / team composition ---------- */
.about-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 72px 64px; align-items: center; }
.photo-comp { position: relative; padding: 48px 48px 48px 0; max-width: 620px; justify-self: center; width: 100%; }
.photo-comp .frame { position: absolute; right: 0; top: 0; width: 78%; height: 78%; background: var(--orange); border-radius: 10px; transform: rotate(-3deg); }
.photo-comp .ring { left: -60px; bottom: -30px; width: 220px; height: 220px; border-width: 18px; border-color: var(--blue) transparent transparent var(--deep); }
.photo-comp img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 40px 70px -30px rgba(0, 39, 66, .55); }
.photo-comp .chip { left: 24px; bottom: 16px; }
.about-copy { max-width: 560px; }
.about-copy .h-display { margin-bottom: 26px; }
.rich-dark p { margin: 0 0 20px; font-size: 19px; line-height: 1.55; color: var(--grey-700); }
.rich-dark strong { color: var(--grey-900); }
.about-copy .btn { margin-top: 16px; }

/* ---------- vacature band (overlaps footer) ---------- */
.band-section { padding: 0 var(--gutter); background: #fff; position: relative; z-index: 2; }
.section-grey + .band-section { background: var(--grey-100); }
.band { position: relative; max-width: var(--wrap); margin: 0 auto -110px; background: linear-gradient(120deg, #00487c 0%, #0077ad 100%); border-radius: 12px; padding: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 48px; align-items: center; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 39, 66, .7); }
.band .dots { position: absolute; inset: 0; opacity: .35; background: url('../img/dots-white.png') center / cover no-repeat; }
.band .ring { right: -120px; top: -160px; width: 380px; height: 380px; border-width: 26px; border-color: var(--orange) transparent transparent transparent; transform: rotate(30deg); }
.band > div { position: relative; }
.band .mono { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 14px; }
.band strong { display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; line-height: 1; letter-spacing: -.02em; color: #fff; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--grey-900); color: #d9d9d9; padding: 200px var(--gutter) 40px; }
.site-footer.no-band { padding-top: 80px; }
.footer-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px 40px; align-items: start; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col .mono { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.footer-col a { color: #d9d9d9; font-size: 16px; }
.footer-col a:hover { color: #fff; }
.footer-col .big { font-size: 22px; font-weight: 700; color: #fff; }
.footer-col address { font-style: normal; font-size: 16px; line-height: 1.6; }
.footer-col .muted { color: var(--grey-500); font-size: 16px; }
.footer-col .social { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom { max-width: var(--wrap); margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--grey-700); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--grey-500); }
.footer-bottom .mono { font-size: 12px; letter-spacing: .12em; }

/* ---------- team page ---------- */
.members { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 24px; }
.member { display: flex; flex-direction: column; gap: 16px; }
.member-photo { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--deep); box-shadow: 0 30px 50px -34px rgba(0, 39, 66, .7); }
.member-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s ease; }
.member-photo .ring { right: -38%; bottom: -38%; width: 76%; height: 76%; border-width: 10px; opacity: 0; transform: rotate(-40deg); transition: opacity .4s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.member:hover .member-photo img { transform: scale(1.05); filter: none; }
.member:hover .member-photo .ring { opacity: 1; transform: rotate(0deg); }
.member-photo.is-initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #00487c 0%, #003560 60%, #00273f 100%); }
.member:nth-child(3n+2) .member-photo.is-initials { background: linear-gradient(160deg, #0077ad 0%, #00487c 100%); }
.member-photo.is-initials > span:first-child { font-size: clamp(40px, 4vw, 56px); font-weight: 900; color: #fff; letter-spacing: -.02em; }
.member-photo.is-initials .ring { opacity: .85; transform: none; }
.member-text strong { display: block; font-size: 20px; font-weight: 900; color: var(--deep); line-height: 1.15; }
.member-text span { display: block; margin-top: 4px; font-size: 15px; color: var(--grey-700); line-height: 1.4; }

/* ---------- solutions overview ---------- */
.sol-list { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 96px; }
.sol-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px 72px; align-items: center; }
.sol-row:nth-child(even) .sol-media { order: 2; }
.sol-media { position: relative; display: block; border-radius: 10px; overflow: visible; }
.sol-media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: 10px; background: url('../img/dots-blue.png') center / cover no-repeat, #eef5fa; z-index: 0; }
.sol-row:nth-child(even) .sol-media::before { inset: 28px 28px -28px -28px; }
.sol-media img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; box-shadow: 0 40px 70px -30px rgba(0, 39, 66, .55); transition: transform .5s ease; }
.sol-media:hover img { transform: translateY(-6px); }
.sol-media .chip { top: 18px; left: 18px; }
.sol-copy .kicker { margin-bottom: 14px; }
.sol-copy h2 { margin: 0 0 18px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; color: var(--deep); }
.sol-copy h2 small { display: block; font-size: .55em; font-weight: 400; color: var(--blue-text); letter-spacing: 0; margin-bottom: 6px; }
.sol-copy p { margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: var(--grey-700); }

/* ---------- prose (rich content from admin) ---------- */
.article-wrap { position: relative; z-index: 3; padding: 0 var(--gutter) 120px; }
.article { max-width: 920px; margin: -110px auto 0; background: #fff; border-radius: 12px; padding: clamp(28px, 5vw, 72px); box-shadow: 0 50px 90px -50px rgba(0, 39, 66, .55); }
.prose { font-size: 18px; line-height: 1.7; color: var(--grey-700); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 48px 0 16px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; color: var(--deep); letter-spacing: -.01em; }
.prose h3 { margin: 32px 0 8px; font-size: 21px; font-weight: 700; color: var(--deep); }
.prose h4 { margin: 24px 0 6px; font-size: 18px; color: var(--deep); }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--grey-900); }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 0; list-style: none; }
.prose ol { counter-reset: li; }
.prose li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; border: 3px solid; border-color: var(--orange) transparent transparent var(--blue); transform: rotate(-45deg); }
.prose ol li::before { counter-increment: li; content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .2em; font-family: var(--mono); font-size: 13px; color: var(--blue-text); }
.prose img { display: block; margin: 32px auto; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(0, 39, 66, .45); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--orange); font-size: 21px; color: var(--deep); }
.prose hr { border: 0; height: 1px; background: #e3e9ef; margin: 40px 0; }

.contact-person { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 48px; padding: 32px; border-radius: 10px; background: var(--grey-100); }
.avatar { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 28px; color: #fff; background: var(--deep); position: relative; overflow: hidden; }
.avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 4px solid; border-color: var(--orange) transparent transparent var(--blue); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.contact-person h2 { margin: 0 0 6px; font-size: 24px; color: var(--deep); }
.contact-person p { margin: 0; color: var(--grey-700); }
.contact-person > div { flex: 1 1 260px; }
.apply { margin-top: 40px; text-align: center; }
.apply h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 900; color: var(--deep); }
.apply p { margin: 0 0 24px; color: var(--grey-700); }
.apply small { display: block; margin-top: 28px; color: #6b7480; font-size: 14px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 28px; }

.doc-card { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; padding: 24px 26px; margin-bottom: 40px; border-radius: 10px; background: var(--grey-100); border-left: 5px solid var(--orange); }
.doc-card .ic { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; background: var(--deep); color: #fff; display: flex; align-items: center; justify-content: center; }
.doc-card > div { flex: 1 1 240px; }
.doc-card strong { display: block; font-size: 19px; color: var(--deep); }
.doc-card .muted { font-size: 14px; color: #6b7480; }
.page-updated { margin: 40px 0 0; font-size: 14px; color: #6b7480; }

/* ---------- vacatures ---------- */
.vac-grid { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.vac { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 10px; overflow: hidden; color: var(--grey-900); box-shadow: 0 30px 60px -40px rgba(0, 39, 66, .6); transition: transform .3s ease, box-shadow .3s ease; }
.vac:hover { transform: translateY(-6px); color: var(--grey-900); box-shadow: 0 40px 70px -36px rgba(0, 39, 66, .7); }
.vac .media { position: relative; height: 180px; overflow: hidden; }
.vac .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.vac:hover .media img { transform: scale(1.06); }
.vac .media .chip { left: 16px; bottom: 16px; }
.vac .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vac h2 { margin: 0; font-size: 22px; font-weight: 900; color: var(--deep); line-height: 1.15; }
.vac .meta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--grey-700); }
.vac .go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--blue-text); }
.vac .bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--orange); transition: width .45s ease; }
.vac:hover .bar { width: 100%; }
.empty-note { max-width: 720px; margin: 0 auto; text-align: center; font-size: 19px; color: var(--grey-700); }

/* ---------- nieuws ---------- */
.news-section { padding-top: 64px; }
.news-tools { display: flex; flex-direction: column; gap: 22px; margin-bottom: 40px; }
.news-search { display: flex; gap: 10px; max-width: 560px; }
.news-search input { flex: 1; min-width: 0; font: 17px/1.4 var(--font); padding: 12px 18px; border: 1px solid #cfd8e1; border-radius: 999px; background: #fff; color: var(--grey-900); }
.news-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 152, 218, .2); }
.news-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.news-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--grey-900); font-size: 15px; font-weight: 700; box-shadow: 0 1px 0 rgba(0, 72, 124, .08); text-decoration: none; transition: background-color .2s, color .2s; }
.news-cats a small { font-weight: 400; color: #6b7480; }
.news-cats a .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cat, var(--blue)); }
.news-cats a:hover { color: var(--deep); background: #eaf4fb; }
.news-cats a[aria-current="page"] { background: var(--deep); color: #fff; }
.news-cats a[aria-current="page"] small { color: #c7dcec; }
.news-result { margin-bottom: 24px; color: var(--grey-700); }
.news-grid { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 10px; overflow: hidden; color: var(--grey-900); text-decoration: none; box-shadow: 0 30px 60px -40px rgba(0, 39, 66, .6); transition: transform .3s ease, box-shadow .3s ease; }
.news-card:hover { transform: translateY(-6px); color: var(--grey-900); box-shadow: 0 40px 70px -36px rgba(0, 39, 66, .7); }
.news-card .media { position: relative; height: 190px; overflow: hidden; background: var(--grey-100); }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.news-card:hover .media img { transform: scale(1.05); }
.cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 6px; background: #fff; color: var(--deep); text-decoration: none; }
.cat::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cat, var(--blue)); }
.news-card .cat { position: absolute; left: 14px; bottom: 14px; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6); }
.news-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card time { font-family: var(--mono); font-size: 13px; color: var(--blue-text); }
.news-card h2 { margin: 0; font-size: 21px; font-weight: 900; color: var(--deep); line-height: 1.2; }
.news-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--grey-700); }
.news-card .go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--blue-text); }
.news-card .bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--orange); transition: width .45s ease; }
.news-card:hover .bar { width: 100%; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 56px auto 0; }
.pager a { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; color: var(--deep); font-weight: 700; text-decoration: none; box-shadow: 0 1px 0 rgba(0, 72, 124, .08); }
.pager a:hover { background: #eaf4fb; }
.pager a[aria-current="page"] { background: var(--deep); color: #fff; }
.pager .gap { color: #6b7480; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.news-meta .back-link { margin-bottom: 0; }
.news-meta .cat { background: var(--grey-100); }
.news-hero-img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; margin: 0 0 36px; }
.prose img { max-width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid #e3e9ef; padding: 10px 12px; vertical-align: top; text-align: left; }
.prose th { background: var(--grey-100); color: var(--deep); }
.prose td p:last-child, .prose th p:last-child { margin-bottom: 0; }

/* ---------- contact page ---------- */
.loc-grid { max-width: var(--wrap); margin: -110px auto 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.loc { background: #fff; border-radius: 10px; padding: 36px 34px; box-shadow: 0 40px 80px -40px rgba(0, 39, 66, .55); display: flex; flex-direction: column; gap: 18px; }
.loc:first-child { background: var(--deep); color: #fff; }
.loc h2 { margin: 0; font-size: 28px; font-weight: 900; color: var(--deep); }
.loc:first-child h2 { color: #fff; }
.loc address { font-style: normal; font-size: 17px; line-height: 1.6; }
.loc dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.loc dt { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6b7480; padding-top: 2px; }
.loc:first-child dt { color: var(--orange-soft); }
.loc dd { margin: 0; overflow-wrap: anywhere; }
.loc a { font-weight: 700; }
.loc:first-child a { color: #fff; }
.loc:first-child a:hover { color: var(--orange-soft); }
.loc .btn { align-self: flex-start; margin-top: auto; }
.contact-cta { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cta-card { background: #fff; border-radius: 10px; padding: 32px; display: flex; gap: 18px; align-items: flex-start; box-shadow: 0 1px 0 rgba(0, 72, 124, .08); }
.cta-card .ic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: var(--grey-100); color: var(--deep); display: flex; align-items: center; justify-content: center; }
.cta-card small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6b7480; margin-bottom: 6px; }
.cta-card a, .cta-card .val { font-size: 21px; font-weight: 700; color: var(--grey-900); overflow-wrap: anywhere; }
.cta-card a:hover { color: var(--blue-text); }

/* ---------- link tiles (bottom of subpages) ---------- */
.link-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.link-tile { position: relative; overflow: hidden; padding: 64px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: var(--deep); }
.link-tile:nth-child(2) { background: var(--blue-text); }
.link-tile:hover { color: #fff; }
.link-tile .mono { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 8px; }
.link-tile strong { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; line-height: 1.1; }
.link-tile .arrow { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); display: flex; align-items: center; justify-content: center; transition: background-color .25s ease, transform .25s ease, border-color .25s ease; }
.link-tile:hover .arrow { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: translateX(6px); }
.link-tile .ring { right: -90px; bottom: -150px; width: 260px; height: 260px; border-width: 18px; opacity: .5; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinback { to { transform: rotate(-360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drip { 0% { transform: translateY(-100%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
.rise { opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .5s; } .d4 { animation-delay: .7s; } .d5 { animation-delay: .9s; }
.floaty { animation: floaty 7s ease-in-out infinite; }

/* Scroll-reveal: only hidden once JS has marked the page, so content never disappears without JS */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .spin, .spin-back, .floaty, .timeline .track span, .scroll-cue .line span { animation: none !important; opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile, .tile > img, .step, .feat .ic, .vac, .member-photo img, .member-photo .ring, .sol-media img, .link-tile .arrow { transition: none; }
}

@media (max-width: 700px) {
  .hero { min-height: 720px; }
  .hero .ring { width: 420px; height: 420px; right: -200px; top: 140px; border-width: 20px; opacity: .55; }
  .hero .ring-thin { display: none; }
  .scroll-cue { display: none; }
  .page-hero .ring { width: 360px; height: 360px; right: -200px; opacity: .5; }
  .tiles .tile:nth-child(even) { margin-top: 0; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .solutions-section .section-head { margin-top: 88px; }
  .section-head { margin-bottom: 40px; }
  .photo-comp { padding: 28px 28px 28px 0; }
  .product { min-height: 380px; }
  .contact-bar .cell { border-left: 0; border-top: 1px solid #eef3f7; }
  .sol-media::before { inset: 16px -12px -16px 12px; }
  .sol-row:nth-child(even) .sol-media { order: 0; }
}

/* ---------- forms from the admin (losse pagina's) ---------- */
.site-form { margin-top: 56px; padding-top: 48px; border-top: 1px solid #e3e9ef; scroll-margin-top: 24px; }
.site-form h2 { margin: 0 0 16px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; color: var(--deep); letter-spacing: -.01em; }
.form-intro { font-size: 18px; line-height: 1.6; color: var(--grey-700); margin-bottom: 28px; }
.form-intro p { margin: 0 0 12px; }
.site-form form { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.form-wide, .form-field:has(textarea), fieldset.form-field { grid-column: 1 / -1; }
.form-field > label, .form-field legend { font-weight: 700; color: var(--grey-900); font-size: 16px; padding: 0; }
.form-field abbr { color: var(--orange); text-decoration: none; }
fieldset.form-field { border: 0; padding: 0; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"], .form-field input[type="date"], .form-field select, .form-field textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 17px; color: var(--grey-900); padding: 14px 16px; border: 1px solid #c9d3dd; border-radius: 8px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 152, 218, .18); }
.form-check label, .form-radio { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--grey-700); cursor: pointer; }
.form-check input, .form-radio input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--deep); }
.form-check a { text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: #b42318; font-weight: 700; font-size: 14px; }
.has-error input, .has-error select, .has-error textarea { border-color: #b42318; }
.form-alert { margin-bottom: 24px; padding: 16px 20px; border-radius: 8px; background: #fdecea; color: #b42318; font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-actions .btn { border: 0; cursor: pointer; }
.form-success { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: 10px; background: #e8f6ee; color: #11643a; font-size: 18px; line-height: 1.6; border-left: 5px solid #1f9d5c; }
.form-success p { margin: 0 0 8px; }
.form-success p:last-child { margin: 0; }
.form-success .icon { flex: 0 0 auto; margin-top: 4px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions .muted { color: #6b7480; font-size: 14px; }

/* documentation.<domain>: searchable list of module documentation */
.article.docs { max-width: 1180px; }
.docs-search { display: flex; align-items: center; gap: 12px; padding: 0 20px; margin: 0 0 26px; border: 2px solid var(--mist); border-radius: 999px; color: var(--grey-500); transition: border-color .2s ease, color .2s ease; }
.docs-search[hidden] { display: none; }
.docs-search:focus-within { border-color: var(--blue); color: var(--blue); }
.docs-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; padding: 15px 0; color: var(--grey-900); }
.docs-count { font: 13px var(--mono); color: var(--grey-500); white-space: nowrap; }
.docs-list { border-top: 1px solid var(--mist); }
.docs-row { display: grid; grid-template-columns: 1fr auto 28px; gap: 24px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--mist); color: var(--grey-900); transition: background .2s ease; }
.docs-row[hidden] { display: none; }
.docs-row:hover, .docs-row:focus-visible { background: var(--grey-100); color: var(--grey-900); }
.docs-row-thumb { grid-template-columns: 96px 1fr auto 28px; padding: 12px 8px; }
.docs-thumb { width: 96px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--grey-100); border: 1px solid var(--mist); }
.docs-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.kb-columns { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.kb-columns .kb-chip { padding: 4px 12px; font-size: 14px; }
@media (max-width: 560px) { .docs-row-thumb { grid-template-columns: 64px 1fr 24px; gap: 14px; } .docs-row-thumb .docs-key { display: none; } .docs-thumb { width: 64px; } }
.docs-title { display: block; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--deep); }
.docs-desc { display: block; margin-top: 4px; font-size: 15px; color: var(--grey-700); }
.docs-key { font: 13px var(--mono); color: var(--blue-text); }
.docs-go { color: var(--blue); transition: transform .2s ease; }
.docs-row:hover .docs-go { transform: translateX(4px); }
.docs-missing { margin: 0 0 26px; padding: 16px 20px; border-radius: 10px; background: #fff4e5; border-left: 4px solid var(--orange); }
.docs-none { padding: 26px 8px; color: var(--grey-700); }
@media (max-width: 640px) {
  .docs-row { grid-template-columns: 1fr 24px; gap: 12px; }
  .docs-key { grid-row: 2; grid-column: 1; }
  .docs-go { grid-row: 1 / span 2; grid-column: 2; }
}

/* ---------- knowledgebase (knowledgebase.syntec-it.nl) ---------- */
.article.kb { max-width: 1080px; }
.kb-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin: 0 0 32px; }
.kb-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 15px; color: var(--grey-500); }
.kb-crumbs a { color: var(--blue-text); }
.kb-crumbs [aria-current] { color: var(--grey-700); }
.kb-user { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--grey-700); }
.kb-user form { margin: 0; }
.kb-user-name { display: inline-flex; align-items: center; gap: 6px; }
.kb-user-out { border: 0; background: none; padding: 0; font: inherit; color: var(--blue-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.kb-user-in { font-weight: 700; }
.kb-search { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 720px; padding: 6px 6px 6px 22px; border-radius: 999px; background: #fff; color: var(--grey-500); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); }
.kb-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; padding: 12px 0; color: var(--grey-900); }
.kb-search:focus-within { box-shadow: 0 0 0 3px var(--orange), 0 24px 50px -24px rgba(0, 0, 0, .55); }
.kb-search-lg input { font-size: 19px; padding: 15px 0; }
.kb .kb-search { box-shadow: none; border: 2px solid var(--mist); margin: 0 0 26px; }
.kb-lead { font-size: 19px; color: var(--grey-700); }
.kb-for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 28px; font-size: 14px; color: var(--grey-700); }
.kb-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.kb-badge-employee { background: #e3f2fb; color: var(--blue-text); }
.kb-badge-keyuser { background: #fff1de; color: #9a5a0e; }
.kb-code { font: 13px var(--mono); color: var(--grey-700); background: var(--grey-100); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.kb-section { margin-top: 48px; }
.kb-section h2 { margin: 0 0 18px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 900; color: var(--deep); }
.kb-section h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; color: var(--deep); }
.kb-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.kb-body th, .kb-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.kb-body th { color: var(--deep); background: var(--grey-100); }
.kb-steps, .kb-results, .kb-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.kb-step, .kb-results a { display: grid; grid-template-columns: 44px 1fr 28px; gap: 6px 16px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--mist); color: var(--grey-900); transition: background .2s ease; }
.kb-step:hover, .kb-results a:hover { background: var(--grey-100); color: var(--grey-900); }
.kb-step-n { font: 14px var(--mono); color: var(--orange); }
.kb-step-title, .kb-result-title { display: block; font-size: 18px; font-weight: 700; color: var(--deep); line-height: 1.3; }
.kb-step-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.kb-count { font: 12px var(--mono); color: var(--grey-500); padding: 3px 0; }
.kb-go { color: var(--blue); transition: transform .2s ease; }
.kb-step:hover .kb-go { transform: translateX(4px); }
.kb-results a { grid-template-columns: 1fr; }
.kb-result-path { font: 12px var(--mono); color: var(--grey-500); overflow-wrap: anywhere; }
.kb-result-text { color: var(--grey-700); font-size: 15px; }
.kb-count-line { color: var(--grey-700); }
.kb-links li a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--mist); }
.kb-hidden { margin-top: 20px; font-size: 15px; color: var(--grey-700); }
.kb-tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; padding: 28px; border-radius: 12px; background: var(--grey-100); }
.kb-tags ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kb-tags li { display: flex; flex-direction: column; gap: 4px; }
.kb-flow { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; counter-reset: none; }
.kb-flow a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 12px; border: 2px solid var(--mist); color: var(--grey-900); transition: border-color .2s ease, transform .2s ease; }
.kb-flow a:hover { border-color: var(--orange); transform: translateY(-2px); color: var(--grey-900); }
.kb-flow-n { font: 13px var(--mono); color: var(--orange); }
.kb-flow-label { font-weight: 900; font-size: 19px; color: var(--deep); }
.kb-flow-meta { font-size: 13px; color: var(--grey-500); }
.kb-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.kb-chip { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--mist); font-size: 15px; font-weight: 700; color: var(--deep); }
.kb-chip[aria-current], .kb-chip-on { background: var(--deep); border-color: var(--deep); color: #fff; }
.kb-chip[aria-current]:hover, .kb-chip-on:hover { color: #fff; }
.kb-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.kb-pager a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: 12px; background: var(--grey-100); font-weight: 700; color: var(--deep); }
.kb-pager small { font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); }
.kb-next { text-align: right; grid-column: 2; }
.kb-updated { margin-top: 40px; font-size: 14px; color: var(--grey-500); }
@media (max-width: 640px) {
  .kb-search { padding-left: 16px; }
  .kb-search .btn { padding: 12px 16px; }
  .kb-step { grid-template-columns: 34px 1fr 20px; }
  .kb-pager { grid-template-columns: 1fr; }
  .kb-next { grid-column: 1; }
}
.kb-figure { margin: 32px 0; }
.kb-figure a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--mist); box-shadow: 0 30px 60px -34px rgba(0, 39, 66, .45); }
.kb-figure img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; box-shadow: none; }
.kb-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--grey-700); }

/* ---------- knowledgebase start page (design by Fable: "A · Modules als etalage", rows from design B) ---------- */
:root {
  --card: #fff; --surface: #fff; --surface-alt: var(--grey-100); --text: var(--grey-900); --text-soft: var(--grey-700);
  --heading: var(--deep); --link: var(--blue-text); --muted: #6b7480; --line: var(--mist); --tint: #e3f2fb;
  --aud-key-bg: #fff1de; --aud-key-fg: #9a5a0e; --deco: var(--blue); --shadow-card: 0 30px 60px -36px rgba(0, 39, 66, .45);
}
.kbh-hero { background-image: url('../img/legacy/banner-solution-bandenwissel-app.jpg'); }
.kbh-rel { position: relative; }
.kbh-lead-light { color: var(--mist); }
.kbh-ref li span { display: block; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-weight: 700; font-size: 16px; color: #fff; }
.kbh-aud .tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* ============ NEW: start page components (prefix kbh-) ============ */
/* header: brand label next to the logo */
.kbh-logo { align-items: center; gap: 16px; }
.kbh-brand { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-soft); padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .35); line-height: 2.2; }
@media (max-width: 700px) { .site-header .logo svg { width: 150px; } .kbh-logo { gap: 12px; } .kbh-brand { font-size: 10px; padding-left: 12px; letter-spacing: .14em; } .site-header { padding-top: 18px; padding-bottom: 18px; } }

/* quick links under the search (real module / screen / setting names) */
.kbh-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.kbh-quick .mono { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-soft); margin-right: 4px; }
.kbh-quick a { display: inline-flex; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); transition: background-color .2s ease, border-color .2s ease; }
.kbh-quick a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* "binnenkort" marker + platform switch */
.kbh-soon { display: inline-block; font: 400 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1px dashed currentColor; color: var(--aud-key-fg); white-space: nowrap; }
.kbh-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; border-radius: 30px; background: rgba(0, 39, 63, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.kbh-switch > * { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--mist); white-space: nowrap; }
.kbh-switch [aria-current] { background: #fff; color: var(--deep); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.kbh-switch [aria-current]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 3px solid; border-color: var(--orange) transparent transparent var(--blue); transform: rotate(-45deg); }
.kbh-switch .is-soon { opacity: .85; cursor: default; }
.kbh-switch .kbh-soon { color: var(--orange-soft); }
.kbh-ringdot { width: 18px; height: 18px; border-radius: 50%; border: 4px solid; border-color: var(--orange) transparent transparent #fff; transform: rotate(-45deg); }
.kbh-platform-bar .cell { position: relative; }
.kbh-platform-bar .cell.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--blue)); }
.kbh-platform-bar .cell.is-active .ic { background: var(--deep); color: #fff; }
.kbh-platform-bar .cell.is-soon .val { color: var(--muted); }
.kbh-platform-bar .cell.is-soon .ic { background: transparent; border: 2px dashed var(--grey-500); color: var(--muted); }
.kbh-platform-bar .kbh-soon { margin-left: 6px; }

/* screenshot in a window frame, floating in the ring (home .product pattern) */
.kbh-stage { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.kbh-stage > .ring { width: min(560px, 92%); aspect-ratio: 1 / 1; border-width: 26px; opacity: .95; }
.kbh-stage .ring-dash { position: absolute; width: min(430px, 70%); aspect-ratio: 1 / 1; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); }
.kbh-stage .glow { position: absolute; width: min(420px, 70%); aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 152, 218, .4) 0%, rgba(0, 152, 218, 0) 70%); }
.kbh-shot { position: relative; z-index: 1; margin: 0; width: min(560px, 94%); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .2); transform: perspective(1400px) rotateY(-12deg) rotateX(4deg) rotate(1deg); }
.kbh-shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--deeper); }
.kbh-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.kbh-shot-bar i:first-child { background: var(--orange); }
.kbh-shot-bar b { margin-left: 10px; font: 400 11px var(--mono); letter-spacing: .08em; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kbh-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.kbh-stage .chip-white { left: 2%; bottom: 9%; }
.kbh-stage .chip-orange { right: 0; top: 3%; }

/* Option A hero */
.kbh-hero::before { background: linear-gradient(98deg, rgba(0, 34, 60, .96) 0%, rgba(0, 48, 86, .88) 42%, rgba(0, 62, 108, .6) 72%, rgba(0, 39, 66, .45) 100%); }
.kbh-hero { min-height: 800px; }
.kbh-hero h1 { font-size: clamp(48px, 7vw, 104px); }
.kbh-hero .ring-thin { right: -260px; top: 40px; width: 900px; height: 900px; z-index: 1; }
.kbh-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 56px; align-items: center; }
@media (max-width: 1140px) { .kbh-hero-grid { grid-template-columns: minmax(0, 1fr); } .kbh-hero .kbh-stage { display: none; } }
@media (max-width: 700px) {
  .kbh-hero { min-height: 0; }
  .kbh-hero .hero-body { padding-top: 36px; padding-bottom: 140px; }
  .kbh-hero::before { background: linear-gradient(98deg, rgba(0, 34, 60, .96) 0%, rgba(0, 48, 86, .88) 60%, rgba(0, 56, 98, .76) 100%); }
  .tiles-field::before { left: -8px; right: -8px; }
}

/* module cards (main navigation, rendered from kb_node kind 'proces') */
.kbh-mods { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 24px; }
.kbh-mod { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: var(--card); color: var(--text); box-shadow: 0 30px 60px -36px rgba(0, 39, 66, .65); transition: transform .3s ease, box-shadow .3s ease; }
a.kbh-mod:hover { transform: translateY(-6px); color: var(--text); box-shadow: 0 44px 70px -36px rgba(0, 39, 66, .75); }
.kbh-mod .bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--orange); transition: width .45s ease; }
a.kbh-mod:hover .bar { width: 100%; }
.kbh-mod-media { position: relative; display: block; height: 170px; overflow: hidden; background: var(--deep); }
.kbh-mod-media img, .kbh-mod-media .img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
a.kbh-mod:hover .kbh-mod-media img { transform: scale(1.05); }
.kbh-mod-media .veil { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0, 72, 124, .15) 0%, rgba(0, 60, 104, .55) 60%, rgba(0, 39, 66, .9) 100%); }
.kbh-mod-media .ring { right: -70px; top: -90px; width: 240px; height: 240px; border-width: 18px; }
.kbh-mod-media .chip { left: 18px; bottom: 16px; }
.kbh-media-deep { background: linear-gradient(160deg, #00487c 0%, #003560 55%, #00273f 100%); }
.kbh-media-deep .img { background: url('../img/dots-white.png') center / cover no-repeat; opacity: .5; }
.kbh-mod-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 28px; }
.kbh-mod-kicker { font: 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--link); }
.kbh-mod-title { font-size: 26px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; color: var(--heading); }
.kbh-mod-desc { font-size: 16px; line-height: 1.55; color: var(--text-soft); }
.kbh-mod-go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--link); }
.kbh-mini { display: flex; gap: 4px; margin-top: 8px; padding: 0; }
.kbh-mini i { flex: 1 1 0; max-width: 44px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--blue)); background-size: calc(100% * var(--n, 6)) 100%; }
.kbh-mini i:nth-child(1) { background: var(--orange); } .kbh-mini i:last-child { background: var(--blue); }
.kbh-mini i:not(:first-child):not(:last-child) { background: color-mix(in srgb, var(--orange) 50%, var(--blue)); }
.kbh-mod.is-featured .kbh-mod-title { font-size: clamp(30px, 3vw, 40px); }
@media (min-width: 760px) {
  .kbh-mod.is-featured { grid-column: span 2; flex-direction: row; min-height: 340px; }
  .kbh-mod.is-featured .kbh-mod-media { flex: 0 0 46%; height: auto; }
  .kbh-mod.is-featured .kbh-mod-body { padding: 34px 36px; justify-content: center; }
  .kbh-mod.is-featured .kbh-mod-go { margin-top: 8px; }
}
.kbh-mod.is-soon { background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: none; border: 2px dashed var(--grey-500); }
.kbh-mod.is-soon .kbh-mod-media { background: transparent; height: 110px; }
.kbh-mod.is-soon .kbh-mod-media .ring { border-color: var(--grey-500) transparent transparent var(--deco); opacity: .7; }
.kbh-mod.is-soon .kbh-soon { position: absolute; left: 24px; bottom: 6px; }
.kbh-mod.is-soon .kbh-mod-kicker { color: var(--muted); }
.kbh-mod.is-soon .kbh-mod-body { padding-top: 14px; }

/* cross-cutting entries */
.kbh-aud { position: relative; max-width: var(--wrap); margin: 0 auto 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.kbh-aud .tile, .kbh-aud .tile .inner { min-height: 320px; }
.kbh-tile-desc { font-size: 16px; line-height: 1.5; color: var(--mist); max-width: 460px; }
.kbh-refs { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.kbh-ref { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 30px 28px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); color: #fff; }
.kbh-ref .ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.kbh-ref-n { position: absolute; right: 26px; top: 20px; font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -.04em; color: rgba(255, 255, 255, .16); }
.kbh-ref h3 { margin: 6px 0 0; font-size: 26px; font-weight: 900; }
.kbh-ref h3 a, .kbh-ref ul a { color: #fff; }
.kbh-ref p { margin: 0; color: #b9d2e4; }
.kbh-ref ul { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.kbh-ref li a { display: block; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-weight: 700; font-size: 16px; }
.kbh-ref li a:hover, .kbh-ref h3 a:hover { color: var(--orange-soft); }
.kbh-ref-go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--orange-soft); }
.kbh-ref-go:hover { color: #fff; }

/* cards, stats, link list */
.kbh-two { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; position: relative; }
@media (max-width: 960px) { .kbh-two { grid-template-columns: minmax(0, 1fr); } }
.kbh-card { background: var(--card); border-radius: 12px; padding: clamp(20px, 3vw, 40px); box-shadow: var(--shadow-card); }
.kbh-card-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin: 0 0 26px; }
.kbh-card-head h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 900; letter-spacing: -.02em; color: var(--heading); }
.kbh-card-head .kicker { margin-bottom: 12px; }
.kbh-card-deep { position: relative; overflow: hidden; background: linear-gradient(160deg, #00487c 0%, #003560 55%, #00273f 100%); color: #fff; }
.kbh-card-deep > * { position: relative; }
.kbh-card-deep > .ring { position: absolute; right: -110px; top: -110px; width: 260px; height: 260px; border-width: 18px; opacity: .55; }
.kbh-card-deep h3 { margin: 8px 0 12px; font-size: 28px; font-weight: 900; }
.kbh-card-deep p { margin: 0 0 18px; color: var(--mist); }
.kbh-label { display: block; font: 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.kbh-card-deep .kbh-label { color: var(--orange-soft); }
.kbh-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.kbh-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 28px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; }
.kbh-stats li { display: flex; align-items: baseline; gap: 10px; }
.kbh-stats strong { font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -.03em; color: var(--heading); }
.kbh-stats span { font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kbh-stats-light { border-color: rgba(255, 255, 255, .14); }
.kbh-stats-light strong { color: #fff; } .kbh-stats-light span { color: #9fc4de; }
.kbh-linklist { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.kbh-linklist a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: 17px; }
.kbh-linklist a:hover { color: var(--orange-soft); }
.kbh-linklist a .icon { color: var(--orange); transition: transform .2s ease; }
.kbh-linklist a:hover .icon { transform: translateX(4px); }
.kbh-linklist small { display: block; font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9fc4de; margin-top: 3px; }

/* Option B: centred hero + library */
.kbh-hero-b { min-height: 600px; }
.kbh-hero-b .page-hero-body { padding-bottom: 170px; }
.kbh-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.kbh-center .kicker { justify-content: center; }
.kbh-center .kicker::after { content: ""; width: 38px; height: 2px; background: var(--orange); }
.kbh-center h1 { margin-left: auto; margin-right: auto; }
.kbh-center .hero-intro { margin: 0 auto 32px; }
.kbh-center > div { width: 100%; display: flex; justify-content: center; }
.kbh-center .kb-search { max-width: 820px; margin-bottom: 24px; }
.kbh-ring-left { left: -200px; right: auto !important; top: auto !important; bottom: -260px; width: 460px !important; height: 460px !important; border-width: 20px !important; opacity: .5 !important; border-color: var(--blue) transparent transparent #fff; }
.kbh-core { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 26px 30px; border-radius: 12px; border: 2px dashed var(--grey-500); color: var(--text-soft); }
.kbh-core strong { font-size: 24px; font-weight: 900; color: var(--heading); }
.kbh-core .ring { right: -60px; top: -80px; width: 200px; height: 200px; border-width: 16px; border-color: var(--grey-500) transparent transparent var(--deco); opacity: .6; }
.kbh-side { position: sticky; top: 76px; border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: 0 50px 90px -50px rgba(0, 39, 66, .6); }
.kbh-side-photo { position: relative; height: 190px; overflow: hidden; display: flex; align-items: flex-end; padding: 22px 26px; color: #fff; }
.kbh-side-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kbh-side-photo .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 39, 66, .1) 0%, rgba(0, 39, 66, .9) 100%); }
.kbh-side-photo .ring { right: -70px; top: -80px; width: 220px; height: 220px; border-width: 16px; opacity: .9; }
.kbh-side-photo strong { position: relative; font-size: 26px; font-weight: 900; line-height: 1.1; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.kbh-side-body { padding: 22px 18px 16px; }
.kbh-side-body .kbh-label { padding: 6px 10px 8px; }
.kbh-side-body .kbh-label:not(:first-child) { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.kbh-side-link { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 10px; border-radius: 10px; color: var(--heading); font-weight: 900; font-size: 18px; line-height: 1.2; transition: background-color .2s ease; }
.kbh-side-link:hover { background: var(--surface-alt); color: var(--heading); }
.kbh-side-link .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; color: var(--heading); transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.kbh-side-link:hover .ic { background: var(--orange); color: var(--ink); transform: rotate(-6deg); }
.kbh-side-link small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--text-soft); }
.kbh-side-link b { font: 13px var(--mono); padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--heading); }
@media (max-width: 1080px) { .kbh-side { position: static; } }
@media (max-width: 700px) { .kbh-hero-b .page-hero-body { padding-top: 24px; } .kbh-stage { min-height: 340px; } .kbh-stage .chip-orange { display: none; } }

@media (min-width: 760px) { .kbh-mod.is-solo { grid-column: 1 / -1; } .kbh-mod.is-solo .kbh-mod-body { padding: 40px 48px; } .kbh-mod.is-solo .kbh-mod-desc { font-size: 18px; max-width: 560px; } }
.kbh-mods-rest { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); margin-top: 24px; }

/* ---------- admin bar (logged-in admins on public pages) ---------- */
.admin-bar { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(0, 39, 63, .94); color: #fff; font-size: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); backdrop-filter: blur(8px); max-width: calc(100vw - 32px); }
.admin-bar a, .admin-bar-who { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; color: #fff; font-weight: 700; }
.admin-bar a:hover { background: var(--orange); color: var(--ink); }
.admin-bar-who { font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-soft); }
.admin-bar-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ccf7a; }
@media print { .admin-bar { display: none; } }
.kbh-login { margin-right: 18px; }
@media (max-width: 700px) { .kbh-login { margin-right: 10px; } }

/* ---------- knowledgebase field reference ---------- */
.kb-hint { font-size: 15px; color: var(--grey-700); background: var(--grey-100); border-radius: 10px; padding: 12px 16px; }
.kb-note { padding: 14px 18px; border-radius: 10px; background: #fff4e5; border-left: 4px solid var(--orange); }
.kb-fieldtable h2 { display: flex; align-items: baseline; gap: 12px; font-size: 22px; }
.kb-fieldmeta { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0 0 24px; }
.kb-fieldmeta dt { font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); }
.kb-fieldmeta dd { margin: 4px 0 0; font-weight: 700; color: var(--deep); }
.kb-origins { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.kb-origins > li { display: grid; grid-template-columns: 150px 1fr; gap: 6px 18px; padding: 16px 4px; border-bottom: 1px solid var(--mist); align-items: start; }
.kb-kind { justify-self: start; padding: 4px 10px; border-radius: 999px; font: 12px var(--mono); letter-spacing: .04em; background: #e3f2fb; color: var(--blue-text); white-space: nowrap; }
.kb-kind-formulier, .kb-kind-formulier_script, .kb-kind-veldexit { background: #e8f6ee; color: #11643a; }
.kb-kind-interface, .kb-kind-rest { background: #fff1de; color: #9a5a0e; }
.kb-kind-patch, .kb-kind-helper, .kb-kind-overig { background: var(--grey-100); color: var(--grey-700); }
.kb-origin-text { font-weight: 700; color: var(--grey-900); }
.kb-intern { grid-column: 2; margin: 4px 0 0; padding: 12px 14px; border-radius: 8px; background: #f4f7fa; border-left: 3px solid var(--blue); font-size: 14px; display: grid; gap: 4px; }
.kb-intern > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.kb-intern dt { color: var(--grey-700); }
.kb-intern dd { margin: 0; overflow-wrap: anywhere; }
.kb-intern code, .kb-intern-table code { font: 13px var(--mono); }
.kb-badge-intern { background: #e3f2fb; color: var(--blue-text); vertical-align: middle; }
.kb-internal { padding: 24px; border-radius: 12px; background: #f4f7fa; }
.kb-intern-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kb-intern-table th, .kb-intern-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--mist); vertical-align: top; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .kb-origins > li { grid-template-columns: 1fr; }
  .kb-intern { grid-column: 1; }
  .kb-intern > div { grid-template-columns: 1fr; gap: 0; }
}
.kb-fieldhits { margin-bottom: 32px; }
.kb-subhead { margin: 0 0 12px; font-size: 20px; color: var(--deep); }
.kb-fieldtable[hidden], .kb-fieldhits[hidden] { display: none; }
.kb-tableindex { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.kb-tableindex small { font: 12px var(--mono); color: var(--grey-500); margin-left: 4px; }
.kb-fieldtable { scroll-margin-top: 24px; }
.kb-fieldlinks p { margin: 0 0 10px; color: var(--grey-700); }
.kbh-refs { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.kb-tablecards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; margin: 8px 0 28px; }
.kb-tablecard { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border-radius: 12px; border: 2px solid var(--mist); color: var(--grey-900); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.kb-tablecard:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(0, 39, 66, .5); color: var(--grey-900); }
.kb-tablecard-module { font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); }
.kb-tablecard-name { font: 900 26px var(--font); color: var(--deep); }
.kb-tablecard-meta { font-size: 15px; color: var(--grey-700); }
.kb-tablecard-meta strong { color: var(--deep); }
.kb-tablecard-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-text); }
.kb-tablegroup h2 { margin-bottom: 14px; }
.kb-tablegroup-grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 16px; align-items: start; }
.kb-tablelist { border: 2px solid var(--mist); border-radius: 12px; padding: 14px 16px; }
.kb-tablelist-head { margin: 0 0 8px; font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); }
.kb-tablelist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 16px; max-height: 340px; overflow: auto; }
.kb-tablelist a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 6px; color: var(--deep); }
.kb-tablelist a:hover { background: var(--grey-100); color: var(--deep); }
.kb-tablelist code { font: 14px var(--mono); overflow-wrap: anywhere; }
.kb-tablelist span { font: 12px var(--mono); color: var(--grey-500); }
@media (max-width: 760px) { .kb-tablegroup-grid { grid-template-columns: 1fr; } }
.kb-tablelist-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 10px; }
.kb-tablelist-top .kb-tablelist-head { margin: 0; }
.kb-tablelist-filter { display: flex; align-items: center; gap: 8px; flex: 0 1 280px; min-width: 180px; padding: 0 12px; border: 2px solid var(--mist); border-radius: 999px; color: var(--grey-500); transition: border-color .2s ease; }
.kb-tablelist-filter[hidden] { display: none; }
.kb-tablelist-filter:focus-within { border-color: var(--blue); color: var(--blue); }
.kb-tablelist-filter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; padding: 8px 0; color: var(--grey-900); }
.kb-tablelist li[hidden] { display: none; }
.kb-tablelist-none { margin: 6px 8px 0; color: var(--grey-700); font-size: 15px; }
.kb-connected { margin-top: 12px; margin-bottom: 36px; }
.kb-connected h2 { margin-bottom: 12px; }
.kb-fields-head { margin-top: 8px; }
#gekoppeld { scroll-margin-top: 24px; }
.kb-places { margin-left: 8px; font: 12px var(--mono); color: var(--grey-500); white-space: nowrap; }
.kb-origins > li > .kb-intern + .kb-intern { margin-top: 0; }
.kb-grouplist ul { max-height: 560px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.kb-group-name { display: flex; flex-direction: column; min-width: 0; }
.kb-group-name small { font: 13px var(--font); color: var(--grey-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
