/* ==========================================================================
   Oculy - ontwerpsysteem
   Eén set tokens voor zowel de publieke website als het partnerportaal.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Merk */
  --navy: #0b2e4f;
  --navy-deep: #08243e;
  --navy-ink: #05192c;
  --teal: #12b5b0;
  --teal-bright: #5ee0db;
  --teal-dark: #0a7a76;
  --teal-mist: #d9f3f2;
  --teal-ink: #04201f;
  --slate: #4a6178;
  --slate-soft: #6b8299;
  --mist: #f4f7fa;
  --line: #dce6ed;
  --wit: #ffffff;
  --oppervlak: var(--wit);
  --oppervlak-zacht: #f8fafc;
  --oppervlak-hover: #f2f7fa;
  --oppervlak-stil: #fbfdfe;
  --lijn-mid: #b7c5d3;
  --track: #e4ebf1;

  /* Klinische statuskleuren — gekozen voor leesbaar contrast op wit */
  --st-laag: #0f8a5c;
  --st-licht: #8a6a08;
  --st-verhoogd: #c45f14;
  --st-hoog: #c23434;
  --st-spoed: #9b1528;
  --st-info: #1d6fa5;
  --st-laag-bg: #e3f5ec;
  --st-licht-bg: #fff3dc;
  --st-verhoogd-bg: #fff0e0;
  --st-hoog-bg: #fdecee;
  --st-spoed-bg: #fdecee;
  --st-info-bg: #e4f1fb;

  /* Typografie */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  /* Ritme */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r: var(--r-md);
  --schaduw: 0 1px 2px rgba(11, 46, 79, 0.05), 0 10px 30px rgba(11, 46, 79, 0.07);
  --schaduw-diep: 0 24px 60px rgba(5, 25, 44, 0.28);
  --breedte: 1180px;

  /* Tekst op donkere vlakken */
  --op-donker: rgba(255, 255, 255, 0.92);
  --op-donker-steun: rgba(255, 255, 255, 0.78);
  --op-donker-zacht: rgba(255, 255, 255, 0.62);
  --op-donker-stil: rgba(255, 255, 255, 0.45);
  --lijn-donker: rgba(255, 255, 255, 0.16);
  --lijn-donker-zacht: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
}

/* Typeschaal */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy);
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
}
h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  letter-spacing: -0.015em;
}
h4 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1rem;
}
a {
  color: var(--navy);
  text-decoration-color: rgba(18, 181, 176, 0.55);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: var(--teal);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap {
  max-width: var(--breedte);
  margin: 0 auto;
  padding: 0 28px;
}
.smal {
  max-width: 760px;
}
.tekst-steun {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.6;
}
.tekst-klein {
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.55;
}
.mt-lg {
  margin-top: 48px;
}
.mt-md {
  margin-top: 28px;
}

.oogmerk {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------- Knoppen ------------------------------- */

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  min-height: 46px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.knop:active {
  transform: translateY(1px);
}
.knop--primair {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--teal-ink);
}
.knop--primair:hover {
  background: var(--teal-bright);
  border-color: var(--teal-bright);
  color: var(--teal-ink);
  box-shadow: 0 4px 14px rgba(18, 181, 176, 0.3);
}
.knop--donker {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--wit);
}
.knop--donker:hover {
  background: var(--navy-deep);
  color: var(--wit);
}
.knop--rand {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--wit);
}
.knop--rand:hover {
  border-color: var(--wit);
  background: rgba(255, 255, 255, 0.1);
  color: var(--wit);
}
.knop--stil {
  background: var(--wit);
  border-color: var(--line);
  color: var(--navy);
}
.knop--stil:hover {
  border-color: var(--slate);
}
.knop--klein {
  padding: 8px 14px;
  min-height: 36px;
  font-size: 13.5px;
}
.knop[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ----------------------------- Navigatie ------------------------------ */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  max-width: var(--breedte);
  margin: 0 auto;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    padding 0.25s ease;
}
.nav__balk {
  position: fixed;
  inset: 0 0 auto;
  z-index: 49;
  height: 76px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
body.gescrold .nav__balk {
  opacity: 1;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.nav__links a:hover {
  color: var(--wit);
}
.nav__links a.knop {
  color: var(--teal-ink);
}
.nav__links a.knop:hover {
  color: var(--teal-ink);
}
body.gescrold .nav__links a {
  color: var(--slate);
}
body.gescrold .nav__links a:hover {
  color: var(--navy);
}
body.gescrold .nav__links a.knop,
body.gescrold .nav__links a.knop:hover {
  color: var(--teal-ink);
}
body.gescrold .nav__logo .logo-licht {
  display: none;
}
.nav__logo .logo-donker {
  display: none;
}
body.gescrold .nav__logo .logo-donker {
  display: block;
}
@media (max-width: 980px) {
  .nav__links a:not(.knop) {
    display: none;
  }
}

/* Nav op lichte pagina's (demo e.d.) */
.nav--licht .nav__links a {
  color: var(--slate);
}
.nav--licht .nav__links a:hover {
  color: var(--navy);
}
.nav--licht .nav__links a.knop,
.nav--licht .nav__links a.knop:hover {
  color: var(--teal-ink);
}
.nav--licht .logo-donker {
  display: block !important;
}
.nav--licht .logo-licht {
  display: none !important;
}

/* -------------------------------- Hero -------------------------------- */

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  background: var(--navy-ink);
  overflow: hidden;
}
.hero__beeld {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  animation: heroIn 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes heroIn {
  from {
    transform: scale(1.06);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.hero__laag {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      100deg,
      rgba(5, 25, 44, 0.96) 0%,
      rgba(5, 25, 44, 0.88) 34%,
      rgba(5, 25, 44, 0.35) 62%,
      rgba(5, 25, 44, 0.12) 100%
    ),
    radial-gradient(120% 90% at 8% 40%, rgba(18, 181, 176, 0.16), transparent 55%);
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero__inhoud {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 120px 0 88px;
  animation: opIn 0.9s 0.25s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes opIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero h1 {
  color: var(--wit);
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-bright);
}
.hero__lead {
  color: var(--op-donker-steun);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 34rem;
  margin: 22px 0 32px;
}
.hero__acties {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------- Secties ------------------------------- */

.sectie {
  padding: 88px 0;
}
.sectie--mist {
  background:
    radial-gradient(90% 60% at 85% 0%, rgba(18, 181, 176, 0.07), transparent 60%),
    linear-gradient(180deg, var(--mist), var(--track));
  border-block: 1px solid var(--line);
}
.sectie--donker {
  background:
    radial-gradient(70% 90% at 12% 10%, rgba(18, 181, 176, 0.18), transparent 58%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-ink) 100%);
  color: var(--op-donker-steun);
}
.sectie--donker h1,
.sectie--donker h2,
.sectie--donker h3,
.sectie--donker h4 {
  color: var(--wit);
}
.sectie--donker a:not(.knop) {
  color: var(--teal-bright);
}
.sectie--cta {
  padding: 96px 0;
  text-align: center;
}
.sectie--cta .inleiding {
  margin-left: auto;
  margin-right: auto;
}

.opschrift {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 12px;
}
.sectie--donker .opschrift {
  color: var(--teal-bright);
}
.inleiding {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate);
  max-width: 58ch;
  margin-top: 14px;
}
.sectie--donker .inleiding {
  color: var(--op-donker-steun);
}
.sectie > .wrap > h2 + .inleiding,
.sectie > .wrap > .opschrift + h2 + .inleiding {
  margin-top: 14px;
}

/* --------------------------- Eenvoudige rijen -------------------------- */

.rij {
  display: grid;
  gap: 34px;
}
.rij--2 {
  grid-template-columns: repeat(2, 1fr);
}
.rij--3 {
  grid-template-columns: repeat(3, 1fr);
}
.rij--4 {
  grid-template-columns: repeat(4, 1fr);
}
.rij--top {
  align-items: start;
}
@media (max-width: 900px) {
  .rij--3,
  .rij--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .rij--2,
  .rij--3,
  .rij--4 {
    grid-template-columns: 1fr;
  }
}

.stap {
  border-top: 2px solid var(--teal);
  padding-top: 18px;
}
.stap__nr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal-dark);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.sectie--donker .stap__nr {
  color: var(--teal-bright);
}
.stap h3 {
  margin: 10px 0 10px;
}
.stap p {
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}
.sectie--donker .stap p {
  color: var(--op-donker-steun);
}
.sectie--donker .stap {
  border-top-color: rgba(94, 224, 219, 0.45);
}

.feit {
  border-left: 2px solid var(--line);
  padding: 4px 0 4px 20px;
}
.feit strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}
.feit span {
  display: block;
  margin-top: 12px;
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.feit small {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--slate-soft);
  line-height: 1.45;
}

.verhaal {
  max-width: 68ch;
  margin-top: 0;
}
.verhaal p {
  color: var(--slate);
  font-size: 1.0625rem;
  line-height: 1.72;
  margin: 0 0 1.15em;
}
.verhaal p:last-child {
  margin-bottom: 0;
}

.over-ons__rij {
  margin-top: 36px;
  gap: 48px;
  align-items: start;
}
.over-ons__beeld {
  margin: 0;
}
.over-ons__beeld img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--schaduw);
}
.over-ons__personen {
  margin-top: 56px;
  gap: 40px;
}
@media (max-width: 800px) {
  .over-ons__rij {
    grid-template-columns: 1fr;
  }
  .over-ons__beeld {
    order: -1;
    max-width: 420px;
  }
}

.persoon {
  border-top: 2px solid var(--teal);
  padding-top: 18px;
}
.persoon h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}
.persoon__rollen {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--teal-dark);
  margin: 0 0 14px;
  line-height: 1.5;
  font-weight: 500;
}
.persoon p {
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.lijst-stil {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--slate);
  font-size: 0.975rem;
  line-height: 1.55;
}
.lijst-stil strong {
  color: var(--navy);
}

/* Offerteformulier */
.offerte-form .raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
@media (max-width: 620px) {
  .offerte-form .raster {
    grid-template-columns: 1fr;
  }
}
.offerte-form .veld--breed {
  grid-column: 1 / -1;
}
.offerte-bevestiging {
  border: 1px solid rgba(10, 122, 118, 0.35);
  background: var(--teal-mist);
  border-radius: var(--r-md);
  padding: 22px 24px;
  color: var(--navy);
}
.offerte-bevestiging strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.offerte-bevestiging p {
  color: var(--slate);
}

/* ------------------------------ Tabellen ------------------------------- */

.tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.tabel th,
.tabel td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.tabel th {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.tabel td {
  color: var(--navy);
}
.tabel td.getal,
.tabel th.getal {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.tabel tr:last-child td {
  border-bottom: none;
}

.sectie--donker .tabel th {
  color: var(--op-donker-zacht);
  border-color: var(--lijn-donker);
}
.sectie--donker .tabel td {
  color: var(--op-donker);
  border-color: var(--lijn-donker);
}
.sectie--donker .tabel td.getal {
  color: var(--wit);
}
.sectie--donker .tabel .getal--goed {
  color: var(--teal-bright) !important;
}
.sectie--donker .tabel .getal--waarschuwing {
  color: #f0b27a !important;
}
.sectie--donker .tabel .getal--fout {
  color: #f5a3a3 !important;
}

/* ---------------------- Interactieve blokken (kaart) ------------------- */

.paneel {
  background: var(--wit);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--schaduw);
}
.paneel h3 {
  margin: 0 0 8px;
}
.paneel__intro {
  font-size: 0.875rem;
  color: var(--slate);
  margin: 0 0 20px;
  line-height: 1.55;
}
.paneel--donker {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--lijn-donker);
  box-shadow: none;
  backdrop-filter: blur(6px);
  color: var(--op-donker-steun);
}
.paneel--donker h3 {
  color: var(--wit);
  margin-bottom: 20px;
}

label.veld {
  display: block;
  margin-bottom: 16px;
}
label.veld > span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}
.sectie--donker label.veld > span,
.paneel--donker label.veld > span {
  color: var(--op-donker);
}

input[type='number'],
input[type='text'],
input[type='date'],
input[type='email'],
input[type='password'],
input[type='tel'],
select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--wit);
  color: var(--navy);
}
input[type='range'] {
  width: 100%;
  accent-color: var(--teal);
}
.sectie--donker input,
.sectie--donker select,
.paneel--donker input,
.paneel--donker select {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--wit);
}
.sectie--donker select option,
.paneel--donker select option {
  color: var(--navy);
  background: var(--wit);
}

/* ------------------------------- Badges -------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.badge--laag {
  color: var(--st-laag);
  background: var(--st-laag-bg);
}
.badge--licht {
  color: var(--st-licht);
  background: var(--st-licht-bg);
}
.badge--verhoogd {
  color: var(--st-verhoogd);
  background: var(--st-verhoogd-bg);
}
.badge--hoog {
  color: var(--st-hoog);
  background: var(--st-hoog-bg);
}
.badge--spoed {
  color: var(--st-spoed);
  background: var(--st-spoed-bg);
}
.badge--nvt {
  color: var(--slate);
  background: var(--oppervlak-zacht);
}

/* ------------------------------- Footer -------------------------------- */

.voet {
  background: var(--navy-ink);
  color: var(--op-donker-steun);
  padding: 56px 0 28px;
  font-size: 0.9rem;
  border-top: 3px solid var(--teal);
}
.voet a {
  color: var(--op-donker);
  text-decoration: none;
}
.voet a:hover {
  color: var(--teal-bright);
}
.voet h4 {
  color: var(--wit);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-weight: 600;
}
.voet ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.voet__boven {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(0, 2fr);
  gap: 48px 56px;
  align-items: start;
}
.voet__merkblok {
  max-width: 28rem;
}
.voet__logo {
  display: block;
  height: 36px;
  width: auto;
}
.voet__merk {
  margin: 18px 0 0;
  color: var(--op-donker-steun);
  line-height: 1.55;
  font-size: 0.95rem;
}
.voet__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}
.voet__mail {
  display: inline-block;
  margin-top: 18px;
  color: var(--wit);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.voet__mail:hover {
  color: var(--teal-bright);
}
.voet__plaats {
  margin: 10px 0 0;
  color: var(--op-donker-zacht);
  font-size: 0.875rem;
}
.voet__muted {
  color: var(--op-donker-zacht);
  font-size: 0.8125rem;
}
.voet__onder {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--lijn-donker);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--op-donker-zacht);
  line-height: 1.45;
}
@media (max-width: 900px) {
  .voet__boven {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .voet__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .voet {
    padding: 44px 0 24px;
  }
  .voet__nav {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .voet__contact {
    grid-column: 1 / -1;
  }
}

/* ------------------------------ Notitie -------------------------------- */

.notitie {
  border-left: 3px solid var(--teal-dark);
  background: var(--teal-mist);
  padding: 16px 20px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.55;
}
.notitie strong {
  color: var(--navy);
}
.sectie--donker .notitie {
  background: rgba(18, 181, 176, 0.14);
  color: var(--op-donker);
  border-left-color: var(--teal-bright);
}
.sectie--donker .notitie strong {
  color: var(--wit);
}
.waarschuwing {
  border-left-color: var(--st-verhoogd);
  background: var(--st-verhoogd-bg);
  color: var(--navy);
}
.waarschuwing strong {
  color: var(--navy);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* -------------------- Risico-/ROI-uitkomsten (site.js) ----------------- */

.risico-kop {
  border-left: 4px solid var(--slate);
  padding: 2px 0 2px 16px;
  margin-bottom: 18px;
}
.risico-kop__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.risico-kop__waarde {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-top: 4px;
}
.risico-kop__termijn {
  font-size: 0.9rem;
  color: var(--slate);
  margin-top: 4px;
  line-height: 1.45;
}
.risico-domein {
  margin-bottom: 16px;
}
.risico-domein__rij {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.risico-domein__naam {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.risico-domein__score {
  font-size: 0.85rem;
}
.risico-domein__balk {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  margin: 7px 0 6px;
}
.risico-domein__balk > i {
  display: block;
  height: 100%;
  transition: width 0.35s ease;
}
.risico-domein__tekst {
  font-size: 0.8125rem;
  color: var(--slate);
  line-height: 1.5;
}
.risico-voet {
  font-size: 0.75rem;
  color: var(--slate-soft);
  margin: 10px 0 0;
  line-height: 1.55;
}

.roi-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
}
.roi-titel {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--wit);
  margin: 6px 0 20px;
}
.roi-toelichting {
  font-size: 0.875rem;
  margin-top: 20px;
  color: var(--op-donker-steun);
  line-height: 1.55;
}
.roi-disclaimer {
  font-size: 0.75rem;
  color: var(--op-donker-zacht);
  margin: 0;
  line-height: 1.5;
}
.roi-hint {
  font-size: 0.8125rem;
  color: var(--op-donker-zacht);
  margin: 14px 0 0;
  line-height: 1.55;
}

.beeld-praktijk {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  display: block;
}
.acties-rij {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------- Omgeving: demo vs productie --------------------- */

:root {
  --omgeving-lint-h: 0px;
}

html.omgeving--demo,
html.omgeving--live {
  --omgeving-lint-h: 34px;
}

.omgeving-lint {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: var(--omgeving-lint-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 12.5px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  box-sizing: border-box;
  pointer-events: none;
}
.omgeving-lint strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.omgeving-lint span {
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  .omgeving-lint span {
    display: none;
  }
}

.omgeving-lint--demo {
  background: var(--st-verhoogd);
  color: var(--wit);
  box-shadow: 0 1px 0 rgba(5, 25, 44, 0.12);
}
.omgeving-lint--live {
  background: var(--st-laag);
  color: var(--wit);
  box-shadow: 0 1px 0 rgba(5, 25, 44, 0.1);
}

body.omgeving--demo,
body.omgeving--live {
  padding-top: var(--omgeving-lint-h);
}

/* Diagonaal DEMO-watermerk — alleen in demomodus */
body.omgeving--demo::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.11;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='220' viewBox='0 0 320 220'><text x='160' y='120' fill='%23C45F14' font-family='Segoe UI,Arial,sans-serif' font-size='42' font-weight='700' text-anchor='middle' transform='rotate(-28 160 120)' letter-spacing='8'>DEMO</text></svg>");
  background-repeat: repeat;
  background-size: 320px 220px;
}

/* Vaste nav/portaal-elementen onder de lint */
html.omgeving--demo .nav,
html.omgeving--live .nav,
html.omgeving--demo .nav__balk,
html.omgeving--live .nav__balk {
  top: var(--omgeving-lint-h);
}
