/* Publieke TenderTrust-onepager. Gedeelde identiteit: logo, Manrope en blauw.
   Alleen index.php gebruikt dit bestand; de besloten apps gebruiken platform.css. */
:root {
  color-scheme: light;
  --tt-blue: #001fd0;
  --tt-ink: #10233d;
  --tt-muted: #536176;
  --tt-paper: #ffffff;
  --tt-soft: #f3f5f8;
  --tt-line: #dce2ea;
  --tt-accent: #001fd0;
  --tt-focus: #00829e;
}
:root[data-modus="donker"] {
  color-scheme: dark;
  --tt-ink: #edf2fc;
  --tt-muted: #b4c0d2;
  --tt-paper: #111b2c;
  --tt-soft: #162237;
  --tt-line: #334259;
  --tt-accent: #8aa8ff;
  --tt-focus: #56d8eb;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; font-family: 'Manrope', sans-serif; font-size: 16px; line-height: 1.7; color: var(--tt-ink); background: var(--tt-paper); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button, input { border-radius: 3px; }
:focus-visible { outline: 3px solid var(--tt-focus); outline-offset: 5px; }
main:focus, section[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(40px, 4.25vw, 64px); letter-spacing: -.055em; }
h2 { font-size: clamp(30px, 3vw, 43px); letter-spacing: -.04em; }
h3 { font-size: 20px; letter-spacing: -.025em; }
p + p { margin-top: 18px; }
svg { stroke: currentColor; stroke-width: 1.7; fill: none; flex-shrink: 0; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 100px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--tt-accent); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.eyebrow-line { width: 30px; height: 2px; background: currentColor; }
.skip-link { position: fixed; top: -100px; left: 16px; background: var(--tt-paper); color: var(--tt-ink); padding: 12px 18px; z-index: 200; }
.skip-link:focus { top: 10px; }
/* Reserveer ruimte voor bediening terwijl het uitgestelde script laadt. */
.has-js .theme-toggle[hidden] { display: inline-flex !important; visibility: hidden; }
@media (max-width: 980px) {
  .has-js .menu-toggle[hidden] { display: inline-flex !important; visibility: hidden; }
}
.site-header { position: sticky; top: 0; z-index: 30; background: var(--tt-paper); border-bottom: 1px solid var(--tt-line); }
.header-inner { min-height: 98px; display: flex; align-items: center; gap: 30px; }
.brand { display: block; flex-shrink: 0; width: 253px; }
.logo-donker { display: none; }
[data-modus="donker"] .logo-licht { display: none; }
[data-modus="donker"] .logo-donker { display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: 12px; font-weight: 750; padding-block: 12px; white-space: nowrap; }
.main-nav a:hover { color: var(--tt-accent); }
.main-nav .nav-contact { border-bottom: 1px solid var(--tt-accent); color: var(--tt-accent); }
.nav-contact span { margin-left: 8px; }
.header-tools { display: flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid var(--tt-line); }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--tt-line); background: transparent; color: var(--tt-ink); display: inline-flex; align-items: center; justify-content: center; }
.icon-button:hover { background: var(--tt-soft); }
.portal-link { min-height: 44px; display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 750; text-decoration: none; }
.portal-link:hover { color: var(--tt-accent); }
.menu-toggle { min-height: 44px; padding: 8px 12px; border: 1px solid var(--tt-line); color: var(--tt-ink); background: transparent; align-items: center; gap: 9px; font-size: 13px; font-weight: 750; }
.menu-toggle[aria-expanded="true"] { background: var(--tt-soft); }
.hero { background: var(--tt-soft); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 75px; padding-block: 64px 68px; align-items: center; }
.hero-copy { padding-block: 20px; }
.hero h1 span { color: var(--tt-accent); }
.hero-lead { margin-top: 28px; max-width: 555px; font-size: 17px; line-height: 1.85; color: var(--tt-muted); }
.hero-detail { margin-top: 16px; font-size: 13px; font-weight: 750; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 25px; padding: 14px 23px; background: var(--tt-blue); color: #fff; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: 13px; font-weight: 750; transition: background .15s ease, transform .15s ease; }
.button:hover { background: #163bea; transform: translateY(-1px); }
.button span { font-size: 20px; font-weight: 500; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 13px; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { font-size: 20px; }
.hero-visual { position: relative; margin-right: 20px; margin-bottom: 30px; }
.hero-visual::before { content: ''; position: absolute; inset: 30px -20px -30px 30px; border: 1px solid var(--tt-line); }
.hero-visual picture { display: block; position: relative; }
.hero-visual img { width: 100%; height: 440px; object-fit: cover; }
.hero-note { position: absolute; left: -28px; bottom: -30px; right: 20px; padding: 23px 32px; color: #fff; background: var(--tt-blue); }
.note-label { font-size: 9px; letter-spacing: .14em; font-weight: 700; color: #c3d3ff; }
.hero-note p { margin-top: 8px; font-size: 19px; line-height: 1.45; font-weight: 650; letter-spacing: -.025em; }
.note-arrow { position: absolute; top: 28px; right: 22px; font-size: 26px; }
.expertise-strip { border-top: 1px solid var(--tt-line); display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 23px; font-size: 12px; font-weight: 750; letter-spacing: .015em; }
.expertise-strip span { text-align: center; padding-inline: 12px; }
.expertise-strip span + span { border-left: 1px solid var(--tt-line); }
.section-heading { margin-bottom: 48px; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.intro-copy { color: var(--tt-muted); font-size: 15px; }
.section-intro { color: var(--tt-muted); max-width: 460px; font-size: 15px; }
.split-heading > .section-intro { padding-top: 36px; }
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.situations article { border-top: 1px solid var(--tt-line); padding-top: 24px; }
.small-number { display: block; font-size: 11px; font-weight: 800; color: var(--tt-accent); margin-bottom: 20px; }
.situations h3 { font-size: 17px; margin-bottom: 14px; }
.situations p { font-size: 14px; color: var(--tt-muted); }
.services { background: #10233d; color: #fff; }
.services .eyebrow { color: #85c9ff; }
.services .section-intro { color: #c4cfe0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.service { border-top: 1px solid #506078; padding-top: 22px; }
.service-number { display: flex; align-items: center; justify-content: space-between; color: #92cfff; font-size: 12px; font-weight: 650; }
.service-number span { font-size: 25px; }
.service h3 { font-size: 29px; margin-block: 25px 22px; line-height: 1.25; min-height: 2.5em; overflow-wrap: anywhere; }
.service p { font-size: 14px; color: #c4cfe0; }
.service ul { list-style: none; padding: 0; margin: 25px 0 0; font-size: 12px; }
.service li { border-top: 1px solid #344860; padding: 10px 0; }
.service li::before { content: '→'; color: #92cfff; margin-right: 10px; }
.service-bottom { display: flex; gap: 20px; align-items: center; justify-content: space-between; border-top: 1px solid #506078; padding-top: 24px; margin-top: 40px; }
.service-bottom p { font-size: 14px; color: #c4cfe0; }
.approach-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.approach-heading > p:not(.eyebrow) { color: var(--tt-muted); margin-block: 26px 15px; font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 27px; padding-block: 25px; border-top: 1px solid var(--tt-line); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.step-number { color: var(--tt-accent); font-size: 24px; font-weight: 500; letter-spacing: -.04em; width: 32px; flex-shrink: 0; line-height: 1.3; }
.steps h3 { margin-bottom: 10px; font-size: 18px; }
.steps p { color: var(--tt-muted); font-size: 14px; }
.reasons { background: var(--tt-soft); }
.reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.reasons .section-intro { margin-top: 26px; }
.reason-list article { display: flex; gap: 20px; }
.reason-list article + article { margin-top: 30px; }
.check { color: var(--tt-accent); flex-shrink: 0; margin-top: 2px; font-size: 16px; font-weight: 700; }
.reason-list h3 { font-size: 18px; margin-bottom: 9px; }
.reason-list p { color: var(--tt-muted); font-size: 14px; }
/* Kennisbank: uitgelichte publicatie op de startpagina (verdere opmaak in kennisbank.css) */
.main-nav a[aria-current="page"] { color: var(--tt-accent); }
.kennisbank-home + .faq-section { padding-top: 0; }
.kb-uitgelicht { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; padding: 40px 44px; border: 1px solid var(--tt-line); border-top: 3px solid var(--tt-blue); }
[data-modus="donker"] .kb-uitgelicht { border-top-color: var(--tt-accent); }
.kb-uitgelicht-label { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tt-muted); }
.kb-uitgelicht-label span { background: var(--tt-blue); color: #fff; padding: 4px 9px; letter-spacing: .14em; }
.kb-uitgelicht h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.04em; margin-top: 20px; }
.kb-uitgelicht h3 a { text-decoration: none; }
.kb-uitgelicht h3 a:hover { color: var(--tt-accent); }
.kb-uitgelicht-tekst > p:last-child { margin-top: 16px; color: var(--tt-muted); font-size: 15px; max-width: 40em; }
.kb-uitgelicht-acties { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq-grid > div > p:not(.eyebrow) { margin-top: 26px; color: var(--tt-muted); font-size: 14px; }
.faq details { border-top: 1px solid var(--tt-line); }
.faq details:last-child { border-bottom: 1px solid var(--tt-line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 24px 36px 24px 0; font-size: 15px; font-weight: 750; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; top: 22px; right: 2px; font-size: 24px; line-height: 1; color: var(--tt-accent); font-weight: 500; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 32px 24px 0; font-size: 14px; color: var(--tt-muted); }
.contact { background: var(--tt-blue); color: #fff; padding-block: 78px; --tt-focus: #75e3ff; }
.contact .eyebrow { color: #c0d1ff; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 100px; }
.contact h2 { font-size: clamp(30px, 3.4vw, 48px); }
.contact-grid > div > p:not(.eyebrow) { margin-top: 24px; max-width: 570px; font-size: 15px; color: #dae3ff; }
.contact .button { margin-top: 28px; }
.button-white { color: #001fd0; background: #fff; }
.button-white:hover { color: #001fd0; background: #e8efff; }
.contact-email { display: block; width: fit-content; margin-top: 16px; font-size: 13px; color: #fff; }
.contact-aside { border-left: 1px solid #6076e2; padding-left: 50px; display: flex; flex-direction: column; justify-content: center; }
.contact-mark { font-size: 70px; line-height: 1; color: #8cddff; }
.contact-grid .contact-aside p { font-size: 23px; line-height: 1.45; color: #fff; font-weight: 650; letter-spacing: -.03em; }
.contact-aside > span:last-child { font-size: 10px; color: #c0d1ff; margin-top: 18px; }
.portal-fallback { padding-block: 32px; }
.portal-fallback h2 { font-size: 20px; }
.portal-fallback p { font-size: 14px; margin-block: 10px 20px; }
.has-js .portal-fallback { display: none; }
.has-js .portal-fallback:target { display: block; }
.site-footer { padding-block: 48px 20px; }
.footer-main { display: grid; grid-template-columns: 1.05fr 1fr 1fr; align-items: start; gap: 48px; padding-bottom: 42px; }
.footer-main .brand { width: 248px; }
.footer-main > p, .footer-main address { font-size: 12px; line-height: 1.9; color: var(--tt-muted); font-style: normal; }
.footer-bottom { border-top: 1px solid var(--tt-line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; font-size: 10px; color: var(--tt-muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.footer-bottom a { text-decoration: none; padding-block: 10px; }
.footer-bottom a:hover { text-decoration: underline; }
.login-dialog { color: var(--tt-ink); background: var(--tt-paper); border: 1px solid var(--tt-line); border-radius: 6px; padding: 32px; width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; box-shadow: 0 24px 100px #00102844; }
.login-dialog:not([open]) { display: none; }
.login-dialog::backdrop { background: #081526b3; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.dialog-heading .eyebrow { margin: 0; }
.dialog-heading .icon-button { font-size: 28px; }
.login-dialog h2 { font-size: 31px; }
.login-dialog > p { color: var(--tt-muted); font-size: 14px; margin-top: 12px; }
.field { margin-top: 22px; }
.field label { display: block; font-size: 13px; font-weight: 750; margin-bottom: 7px; }
.field input { display: block; width: 100%; min-height: 48px; border: 1px solid var(--tt-line); background: var(--tt-soft); padding: 10px 12px; color: var(--tt-ink); font-size: 16px; }
.login-error { color: #b3202d; font-size: 13px; margin-block: 18px; }
[data-modus="donker"] .login-error { color: #ff9ba4; }
.login-error:empty { display: none; }
.login-dialog form > .button { width: 100%; margin-top: 24px; }
.login-dialog .login-help { text-align: center; font-size: 12px; }
@media (max-width: 1180px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .brand { width: 215px; }
  .main-nav { gap: 18px; }
  .header-tools { padding-left: 12px; gap: 8px; }
  .hero-grid { gap: 48px; }
  .hero h1 { font-size: 51px; }
  .hero-visual img { height: 430px; }
  .split-heading, .approach-grid, .reasons-grid, .faq-grid, .contact-grid { gap: 60px; }
}
@media (min-width: 981px) { .menu-toggle { display: none !important; } }
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; min-height: 84px; padding-block: 17px; gap: 14px; }
  .header-tools { margin-left: auto; order: 2; border: 0; padding: 0; }
  .menu-toggle { display: inline-flex; order: 3; }
  .main-nav { order: 4; width: 100%; flex-wrap: wrap; margin: 0; justify-content: flex-start; padding-top: 10px; }
  .has-js .main-nav:not(.is-open) { display: none; }
  .hero-grid { gap: 40px; grid-template-columns: 1.15fr 1fr; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 15px; }
  .hero-visual img { height: 415px; }
  .hero-note { padding: 20px; left: -16px; right: 0; }
  .hero-note p { font-size: 16px; }
  .note-arrow { display: none; }
  .actions { gap: 10px 20px; }
  .section { padding-block: 76px; }
  .split-heading, .approach-grid, .reasons-grid, .faq-grid, .contact-grid { gap: 40px; }
  .service-grid, .situations { gap: 25px; }
  .service h3 { font-size: 24px; }
  .footer-main { gap: 25px; }
  .footer-main .brand { width: 200px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 135px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 62px; }
  .header-inner { column-gap: 10px; row-gap: 12px; }
  .brand { width: 200px; max-width: calc(100% - 90px); }
  .header-tools { order: 3; margin: 0; }
  .menu-toggle { order: 2; margin-left: auto; }
  .main-nav { gap: 5px; flex-direction: column; align-items: stretch; border-top: 1px solid var(--tt-line); }
  .main-nav a { font-size: 14px; padding: 10px; }
  .main-nav .nav-contact { border-bottom: 0; }
  .hero-grid { display: flex; flex-direction: column; gap: 34px; padding-block: 32px 55px; }
  .hero-copy { padding: 8px 0 0; }
  .hero h1 { font-size: clamp(35px, 8.6vw, 54px); }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .hero-lead { margin-top: 22px; font-size: 16px; }
  .hero-detail { font-size: 12px; }
  .actions { margin-top: 25px; gap: 14px 22px; }
  .hero-visual { width: calc(100% - 16px); margin: 0 16px 24px 0; }
  .hero-visual img { height: 275px; object-position: center 42%; }
  .hero-visual::before { inset: 20px -16px -24px 20px; }
  .hero-note { left: 20px; right: -16px; bottom: -24px; padding: 17px 22px; }
  .hero-note p { font-size: 17px; }
  .note-arrow { display: block; }
  .expertise-strip { grid-template-columns: 1fr; gap: 10px; padding-block: 20px; font-size: 12px; }
  .expertise-strip span { text-align: left; padding: 0; }
  .expertise-strip span::before { content: '—'; color: var(--tt-accent); margin-right: 12px; }
  .expertise-strip span + span { border: 0; }
  .split-heading, .approach-grid, .reasons-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-heading { margin-bottom: 34px; }
  .split-heading > .section-intro { padding: 0; }
  .situations, .service-grid { grid-template-columns: 1fr; gap: 30px; }
  .kb-uitgelicht { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; }
  .small-number { margin-bottom: 12px; }
  .service h3 { font-size: 27px; margin-block: 15px; min-height: 0; }
  .service-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
  .steps li { gap: 20px; }
  .steps h3 { font-size: 17px; }
  .faq summary { font-size: 14px; }
  .contact { padding-block: 56px; }
  .contact-aside { display: none; }
  .contact .button { gap: 16px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-bottom nav { gap: 4px 18px; }
  .footer-bottom > a { width: fit-content; }
  .site-footer { padding-top: 35px; }
  .login-dialog { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
