:root {
  /* Ruimte tussen de schermrand en titels/afbeeldingen */
  --page-gutter: clamp(32px, 8vw, 128px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #000000;
}

/* ECO Game: foto als achtergrond met donkere laag voor leesbaarheid.
   De achtergronden van deze drie pagina's staan vast aan het scherm (fixed), zodat de
   footer onder de hero de uitsnede van de foto niet verandert. */
.eco-page {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) fixed,
    url("eco.jpg") fixed center / cover no-repeat #000000;
}

/* BoekAI: zelfde opzet als ECO Game, met de boekenkast-foto */
.boek-page {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) fixed,
    url("boek.jpg") fixed center / cover no-repeat #000000;
}

/* Ovalo Advies: nog geen eigen foto, dus een effen marineblauwe achtergrond */
.advies-page {
  background:
    radial-gradient(ellipse at 50% 35%, #16305C 0%, #0C1D38 60%, #060F1F 100%) fixed #0C1D38;
}

/* Klein "OVALO"-merk linksboven in de hero */
.hero-brand {
  position: absolute;
  top: clamp(16px, 3vh, 28px);
  left: clamp(16px, 3vw, 32px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
}

/* "In ontwikkeling"-label boven de titel */
.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 28px;
  border: 2px solid rgba(102, 153, 234, 0.6);
  border-radius: 999px;
  background: rgba(16, 28, 56, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #C9DBF7;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: default;
  user-select: none;
}

.dev-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E8706F;
  animation: dev-blink 1.8s ease-in-out infinite;
}

/* Zacht knipperen: dooft niet helemaal uit */
@keyframes dev-blink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(232, 112, 111, 0.55);
  }
  50% {
    opacity: 0.3;
    box-shadow: 0 0 0 rgba(232, 112, 111, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dev-dot {
    animation: none;
  }
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
  pointer-events: none;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo {
  display: block;
  width: min(220px, 55vw);
  height: auto;
  /* ovalo.png heeft ~19% lege ruimte onder de driehoeken; die trekken we weg zodat het logo tegen het woord aan staat */
  margin-bottom: calc(min(220px, 55vw) * -0.2);
}

/* Geen extra regelruimte boven de letters als het woord direct onder het logo staat */
.logo + .wordmark {
  line-height: 1;
  margin-bottom: 0.3em; /* ruimte onder het woord blijft gelijk aan voorheen */
}

.wordmark {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.35em;
  color: #C9DBF7;
  text-transform: uppercase;
  padding-left: 0.35em; /* compensate for trailing letter-spacing so text stays centered */
}

.options-question {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: #C9DBF7;
  text-align: center;
  max-width: 40ch;
}

.options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px; /* knoppen iets verder van de vraag af */
}

.option-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #6699EA;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.option-btn:hover,
.option-btn:focus-visible {
  background: #6699EA;
  color: #ffffff;
  transform: translateY(-2px);
}

.why-leo {
  position: relative;
  z-index: 1;
  background: #F3F5FA;
  border-top: 3px solid #10233F;
  padding: clamp(64px, 12vh, 120px) var(--page-gutter);
  display: flex;
  justify-content: center;
}

.why-leo-inner {
  max-width: 1040px;
  width: 100%;
}

.why-leo-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #3E7BE0;
  margin-bottom: 16px;
}

.why-leo-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  color: #10233F;
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: clamp(32px, 6vh, 56px);
}

.why-leo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-leo-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(16, 35, 63, 0.06);
}

.why-leo-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8793A3;
  margin-bottom: 8px;
}

.why-leo-label-accent {
  color: #3E7BE0;
  border-top: 1px solid #E3E7EE;
  padding-top: 20px;
}

.why-leo-now {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5B6B7D;
  margin-bottom: 20px;
}

.why-leo-with {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #10233F;
}

@media (max-width: 860px) {
  .why-leo-grid {
    grid-template-columns: 1fr;
  }
}

.manifesto {
  position: relative;
  z-index: 1;
  background: #ffffff;
  padding: clamp(64px, 12vh, 140px) var(--page-gutter) clamp(24px, 4vh, 48px);
  display: flex;
  justify-content: center;
}

.manifesto-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(32px, 6vw, 96px);
  max-width: 1200px; /* gelijk aan .products-inner en .news-inner */
  width: 100%;
}

.manifesto-content {
  max-width: 560px;
  width: 100%;
  flex: 1 1 480px;
}

.manifesto-photo {
  flex: 1 1 320px;
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

@media (max-width: 860px) {
  .manifesto-inner {
    flex-direction: column-reverse;
  }

  .manifesto-photo {
    max-width: 100%;
  }
}

.manifesto-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  color: #10233F;
  line-height: 1.15;
  margin-bottom: clamp(32px, 6vh, 64px);
}

.manifesto-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3E7BE0;
  margin-bottom: 12px;
}

.manifesto-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.6;
  color: #33475B;
  margin-bottom: clamp(28px, 5vh, 48px);
}

.manifesto-text:last-child {
  margin-bottom: 0;
}

.products {
  position: relative;
  z-index: 1;
  background: #ffffff;
  padding: clamp(24px, 4vh, 48px) var(--page-gutter) clamp(64px, 12vh, 140px);
  display: flex;
  justify-content: center;
}

.products-inner {
  max-width: 1200px; /* gelijk aan .manifesto-inner en .news-inner */
  width: 100%;
}

.products-eyebrow {
  display: block;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #3E7BE0;
  margin-bottom: clamp(12px, 2vh, 20px);
}

.products-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  color: #10233F;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: clamp(32px, 6vh, 64px);
  text-align: left;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Afbeelding links, tekst rechts */
.product-item {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(48px, 7vw, 112px);
}

.product-card {
  display: block;
  padding: 0 16px 16px 14px; /* ruimte voor het label en het blauwe vlak */
}

.product-visual {
  position: relative;
  isolation: isolate;
}

/* Lichtblauw vlak dat schuin achter de afbeelding uitsteekt */
.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  background: #DCE6F7;
  border-radius: 22px;
  z-index: -1;
}

/* Beeldverhouding 13:10: de hele afbeelding (LEO + ondertitel + laptop) past, zonder menu en voettekst uit de screenshot */
.product-frame {
  aspect-ratio: 13 / 10;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(16, 35, 63, 0.28);
}

.product-image {
  display: block;
  width: 164.84%;
  max-width: none;
  height: auto;
  margin-top: -6.18%;
}

.product-badge {
  position: absolute;
  left: -14px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #10233F;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(16, 35, 63, 0.35);
}

.product-copy {
  max-width: 600px;
}

.product-eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #3E7BE0;
  margin-bottom: 8px;
}

.product-text {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: #33475B;
  margin-top: 20px;
}

.product-text-strong {
  font-weight: 700;
  color: #10233F;
}

.product-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 20px 40px;
  border-radius: 999px;
  background: #4A8BE8;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 8px 12px 28px rgba(74, 139, 232, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-cta:hover,
.product-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 8px 16px 32px rgba(74, 139, 232, 0.45);
}

@media (max-width: 900px) {
  .product-item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .product-card {
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .product-cta {
    display: block;
    text-align: center;
    padding: 18px 24px;
  }
}

/* Laatste nieuws (homepage) */
.news {
  position: relative;
  z-index: 1;
  background: #ffffff;
  padding: clamp(16px, 4vh, 48px) var(--page-gutter) clamp(64px, 12vh, 140px);
}

.news-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(32px, 6vh, 64px);
}

.news-eyebrow {
  display: block;
  margin-bottom: clamp(12px, 2vh, 20px);
  color: #3E7BE0;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.22em;
}

.news-title {
  color: #10233F;
  font-size: clamp(2.3rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-align: left;
}

.news-all {
  margin-bottom: clamp(4px, 1vw, 12px);
  color: #2563EB;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.news-all:hover,
.news-all:focus-visible {
  text-decoration: underline;
}

.news-empty {
  padding: 26px 0;
  border-top: 1px solid #E8EDF5;
  border-bottom: 1px solid #E8EDF5;
  color: #4B5563;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.news-list {
  list-style: none;
  border-top: 1px solid #E8EDF5;
}

.news-list li {
  border-bottom: 1px solid #E8EDF5;
}

.news-item {
  display: grid;
  grid-template-columns: clamp(100px, 14vw, 160px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 26px 0;
  color: inherit;
  text-decoration: none;
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.news-cat {
  color: #2563EB;
  font-size: 0.75rem;
  font-weight: 700;
}

.news-date {
  color: #5B6B8A;
  font-size: 0.72rem;
}

.news-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-item-title {
  color: #10233F;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.news-item-text {
  color: #4B5563;
  font-size: 0.85rem;
  line-height: 1.5;
}

.news-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E8F0FE;
  color: #2563EB;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Het nieuwste bericht staat standaard uitgelicht; de rest vult bij hover */
.news-list li:first-child .news-arrow,
.news-item:hover .news-arrow,
.news-item:focus-visible .news-arrow {
  background: #2563EB;
  color: #ffffff;
}

.news-item:focus-visible,
.news-all:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .news-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "meta meta"
      "body arrow";
    gap: 10px 16px;
  }

  .news-meta {
    grid-area: meta;
    flex-direction: row;
    gap: 10px;
  }

  .news-body {
    grid-area: body;
  }

  .news-arrow {
    grid-area: arrow;
  }
}

.site-footer {
  position: relative;
  z-index: 1;
  background: #0C1D38;
  color: #C9D6E8;
  padding: clamp(48px, 8vh, 88px) var(--page-gutter) clamp(24px, 4vh, 40px);
  display: flex;
  justify-content: center;
}

.footer-inner {
  width: 100%;
  max-width: 1160px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 320px;
}

.footer-logo {
  width: 132px;
  height: auto;
}

.footer-tagline {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: #8FA4C4;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5B7CA8;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-col span {
  color: #C9D6E8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(40px, 7vh, 72px);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #5B7CA8;
}

.footer-slogan {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Site header (subpages) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: #0D1220;
  border-bottom: 1px solid rgba(201, 219, 247, 0.08);
}

.hero-with-header {
  height: calc(100vh - 81px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  text-decoration: none;
}

.site-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: #C9DBF7;
}

.site-nav {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.site-nav-link {
  position: relative;
  padding: 6px 0;
  color: #C9DBF7;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible,
.site-nav-link.is-active {
  opacity: 1;
  color: #ffffff;
}

.site-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #6699EA;
  border-radius: 2px;
}

.site-cta {
  justify-self: end;
  padding: 10px 26px;
  border: 2px solid #6699EA;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-cta:hover,
.site-cta:focus-visible {
  background: #6699EA;
  border-color: #6699EA;
}

/* Met zes menu-items past de nav pas naast logo en knop vanaf ~1180px; daaronder eronder */
@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .hero-with-header {
    height: auto;
    min-height: calc(100vh - 120px);
  }
}

/* Docs page (light header) */
.docs-page {
  background: #ffffff;
  color: #0D1220;
}

.docs-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--page-gutter);
  background: #ffffff;
  border-bottom: 1px solid #E3E8F0;
}

.docs-brand {
  color: #0D1220;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.docs-nav {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
}

.docs-nav-link {
  color: #1F2937;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.docs-nav-link:hover,
.docs-nav-link:focus-visible,
.docs-nav-link.is-active {
  color: #2563EB;
}

/* Homepage: dezelfde header, verborgen boven de hero en ingeschoven zodra je erlangs scrolt */
.docs-header-reveal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

.docs-header-reveal.is-visible {
  transform: translateY(0);
  visibility: visible;
  box-shadow: 0 1px 12px rgba(13, 18, 32, 0.06);
  transition: transform 0.3s ease;
}

/* Sprongen naar #producten mogen niet onder de vaste header verdwijnen */
.products {
  scroll-margin-top: 72px;
}

@media (prefers-reduced-motion: reduce) {
  .docs-header-reveal,
  .docs-header-reveal.is-visible {
    transition: none;
  }
}

.docs-hero {
  padding: clamp(48px, 10vh, 112px) var(--page-gutter) clamp(32px, 6vh, 64px);
}

.docs-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #2563EB;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.docs-hero-title {
  margin-bottom: 16px;
  color: #0D1220;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.docs-hero-lead {
  margin-bottom: 36px;
  color: #1F2937;
  font-size: 0.95rem;
  line-height: 1.6;
}

.docs-search {
  max-width: 520px;
}

.docs-search-input {
  width: 100%;
  padding: 16px 22px;
  border: 1px solid #DCE5F7;
  border-radius: 999px;
  background: #F3F6FD;
  color: #0D1220;
  font-family: inherit;
  font-size: 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.docs-search-input::placeholder {
  color: #6B7A99;
}

.docs-search-input:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Docs: filters + resultatenlijst */
.docs-browse {
  display: grid;
  grid-template-columns: 200px minmax(0, 880px);
  justify-content: start;
  gap: clamp(32px, 5vw, 64px);
  padding: 0 var(--page-gutter) clamp(56px, 10vh, 112px);
}

.docs-filters {
  position: sticky;
  top: 100px;
  align-self: start;
}

.docs-filter-label {
  margin: 0 14px 10px;
  color: #5B6B8A;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-filter-label-product {
  margin-top: 28px;
}

.docs-filter-list {
  display: grid;
  gap: 4px;
}

.docs-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #0D1220;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.docs-filter:hover {
  background: #F3F6FD;
}

.docs-filter.is-active {
  background: #0D1220;
  color: #ffffff;
}

.docs-filter-count {
  color: #5B6B8A;
  font-size: 0.7rem;
  font-weight: 600;
}

.docs-filter.is-active .docs-filter-count {
  color: #C9DBF7;
}

.docs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px;
}

.docs-chip {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: #E8F0FE;
  color: #1D4ED8;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.docs-chip:hover {
  background: #DBE7FD;
}

.docs-chip.is-active {
  background: #2563EB;
  color: #ffffff;
}

.docs-filter:focus-visible,
.docs-chip:focus-visible,
.docs-item-action:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

.docs-count {
  margin-bottom: 14px;
  color: #5B6B8A;
  font-size: 0.75rem;
}

.docs-list {
  list-style: none;
  border-top: 1px solid #E8EDF5;
}

.docs-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #E8EDF5;
}

.docs-item[hidden],
.docs-empty[hidden] {
  display: none;
}

.docs-badge {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.docs-badge-nieuws {
  background: #E8F0FE;
  color: #1D4ED8;
}

.docs-badge-verhaal {
  background: #0D1220;
  color: #ffffff;
}

.docs-badge-document {
  background: #2563EB;
  color: #ffffff;
}

.docs-item-title {
  margin-bottom: 4px;
  color: #0D1220;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.docs-item-text {
  margin-bottom: 6px;
  color: #374151;
  font-size: 0.85rem;
  line-height: 1.5;
}

.docs-item-meta {
  color: #5B6B8A;
  font-size: 0.7rem;
}

.docs-item-action {
  justify-self: end;
  padding: 9px 18px;
  border-radius: 999px;
  background: #E8F0FE;
  color: #1D4ED8;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.docs-item-action:hover {
  background: #2563EB;
  color: #ffffff;
}

.docs-empty {
  padding: 32px 0;
  color: #4B5563;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .docs-browse {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-filters {
    position: static;
  }

  .docs-filter-label,
  .docs-chips {
    margin-left: 0;
    padding-left: 0;
  }

  .docs-filter-list {
    display: flex;
    flex-wrap: wrap;
  }

  .docs-filter {
    width: auto;
    gap: 10px;
    border: 1px solid #DCE5F7;
  }

  .docs-filter.is-active {
    border-color: #0D1220;
  }
}

@media (max-width: 640px) {
  .docs-item {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .docs-item-action {
    justify-self: start;
  }
}

/* Zes menu-items passen naast het logo tot ~600px; daaronder gaat de nav onder het logo en breekt zo nodig af */
@media (max-width: 600px) {
  .docs-header {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .docs-nav {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
}

/* LEO hero */
.leo-hero {
  position: relative;
  min-height: calc(100vh - 81px);
  display: flex;
  align-items: center;
  padding: clamp(40px, 8vh, 96px) var(--page-gutter);
  background:
    linear-gradient(90deg, rgba(10, 24, 60, 0.92) 0%, rgba(14, 38, 90, 0.82) 50%, rgba(18, 48, 110, 0.78) 100%),
    url("hero.png") center 30% / cover no-repeat;
  background-color: #0B1B3F;
  color: #ffffff;
}
.leo-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.leo-crumb { font-size: 0.75rem; color: #9FB3D6; margin-bottom: 22px; }
.leo-crumb span { margin: 0 6px; opacity: 0.6; }
.leo-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.leo-logo-mark {
  width: 44px; height: 44px; border-radius: 10px; background: #fff; color: #0D1220;
  display: grid; place-items: center; font-weight: 800; font-size: 1.4rem;
}
.leo-brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.leo-brand-text strong { letter-spacing: 0.25em; font-size: 0.9rem; }
.leo-brand-text small { font-size: 0.75rem; color: #9FB3D6; }
.leo-title {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  max-width: 12ch;
  margin-bottom: 22px;
}
.leo-lead { max-width: 46ch; color: #C9D6E8; font-size: 1rem; line-height: 1.7; margin-bottom: 30px; }
.leo-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.leo-btn {
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 2px solid #4A8BE8; color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}
.leo-btn-primary { background: #4A8BE8; }
.leo-btn-ghost { background: transparent; }
.leo-btn:hover, .leo-btn:focus-visible { transform: translateY(-2px); background: #6699EA; border-color: #6699EA; }
.leo-note { font-size: 0.8rem; color: #9FB3D6; display: flex; align-items: center; gap: 8px; }
.leo-dot { width: 6px; height: 6px; border-radius: 50%; background: #4A8BE8; }

/* Analyse-dashboard rechts in de hero (de PNG heeft zelf afgeronde hoeken) */
.leo-hero-shot {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}

@media (max-width: 900px) {
  .leo-hero-inner { grid-template-columns: 1fr; }
  .leo-title { max-width: none; }
  .leo-hero { background-position: center, 65% 30%; }
}

/* Hoe het werkt */
.how { position: relative; z-index: 1; overflow: hidden; color: #fff; padding: clamp(64px, 12vh, 120px) var(--page-gutter);
  background: linear-gradient(135deg, #0B2A6B 0%, #1646A8 45%, #3E7BE0 100%); }
.how::before, .how::after { content: ""; position: absolute; bottom: -10%; background: rgba(255,255,255,0.05); pointer-events: none;
  clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.how::before { right: 8%; width: 46%; height: 75%; }
.how::after { right: 26%; width: 34%; height: 55%; background: rgba(255,255,255,0.04); }
.how-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.how-eyebrow { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: #A9C4F5; margin-bottom: 16px; }
.how-title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 28px; max-width: 460px; }
.how-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(8, 24, 64, 0.55); margin-bottom: 28px; }
.how-toggle-btn { font: inherit; font-size: 0.85rem; font-weight: 600; color: #fff; background: transparent; border: 0; border-radius: 999px; padding: 10px 22px; cursor: pointer; transition: background .2s, color .2s; }
.how-toggle-btn.is-active { background: #fff; color: #10233F; }
.how-toggle-btn:focus-visible, .how-step-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.how-steps { list-style: none; margin: 0; padding: 0; max-width: 460px; }
.how-step { border-top: 1px solid rgba(255,255,255,0.2); }
.how-step-btn { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; font: inherit; color: #fff; background: none; border: 0; padding: 18px 0; cursor: pointer; }
.how-step-num { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); display: grid; place-items: center; font-size: 0.75rem; font-weight: 600; }
.how-step.is-active .how-step-num { background: #fff; color: #1646A8; border-color: #fff; }
.how-step-body strong { display: block; font-size: 1rem; font-weight: 600; opacity: .8; }
.how-step.is-active .how-step-body strong { opacity: 1; }
.how-step-body small { display: none; margin-top: 6px; font-size: 0.85rem; line-height: 1.5; color: #C9DAF8; }
.how-step.is-active .how-step-body small { display: block; }

.how-stage { display: flex; justify-content: center; }
.how-shot { display: block; width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 24px 40px rgba(4, 16, 48, 0.35)); }

@media (max-width: 860px) {
  .how-inner { grid-template-columns: 1fr; }
}

/* Voor wie */
.roles { position: relative; z-index: 1; color: #fff; padding: clamp(64px, 12vh, 120px) var(--page-gutter) clamp(120px, 24vh, 240px);
  background: linear-gradient(rgba(8, 20, 48, 0.86), rgba(8, 20, 48, 0.9)), url("herobuiten.jpg") center 56% / cover no-repeat; }
@media (min-width: 901px) {
  .roles { background-size: auto, 100% auto; background-position: 0 0, center calc(290px - 58.3vw); }
}
.roles-inner { max-width: 1100px; margin: 0 auto; }
.roles-eyebrow { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: #8FB2F0; margin-bottom: 16px; }
.roles-title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; max-width: 560px; margin-bottom: clamp(40px, 8vh, 72px); }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.roles-col { border-top: 2px solid #3E7BE0; padding-top: 20px; }
.roles-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.roles-name span { font-size: 0.65rem; font-weight: 600; color: #8FB2F0; margin-right: 10px; vertical-align: middle; }
.roles-col ul { list-style: none; margin: 0; padding: 0; }
.roles-col li { font-size: 0.9rem; line-height: 1.5; color: #D5DEEE; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.14); }
@media (max-width: 860px) { .roles-grid { grid-template-columns: 1fr; } }

/* Veelgestelde vragen */
.faq { position: relative; z-index: 1; background: #F3F5FA; padding: clamp(64px, 12vh, 120px) var(--page-gutter); border-top: 3px solid #10233F; }
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq-title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; color: #10233F; line-height: 1.15; margin-bottom: clamp(28px, 5vh, 48px); }
.faq-item { border-top: 1px solid #DDE3EE; }
.faq-item:last-child { border-bottom: 1px solid #DDE3EE; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 0.95rem; font-weight: 700; color: #10233F; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #C9D3E6; background: #fff; color: #3E7BE0; display: grid; place-items: center; font-size: 1rem; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid #3E7BE0; outline-offset: 2px; border-radius: 4px; }
.faq-item p { margin: 0; padding: 0 40px 22px 0; font-size: 0.9rem; line-height: 1.6; color: #5B6B7D; }

/* Demo aanvragen */
.demo { position: relative; z-index: 1; color: #fff; padding: clamp(64px, 12vh, 120px) var(--page-gutter);
  background: radial-gradient(ellipse 60% 70% at 15% 100%, rgba(62, 123, 224, 0.35), transparent 70%), #0A1A2F; }
.demo-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.demo-eyebrow { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: #8FB2F0; margin-bottom: 16px; }
.demo-title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; max-width: 380px; }
.demo-lead { font-size: 0.95rem; line-height: 1.6; color: #C9D5EA; max-width: 340px; }
.demo-card { background: #fff; color: #10233F; border-radius: 16px; padding: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.demo-field { display: block; margin-bottom: 14px; }
.demo-field span { display: block; font-size: 0.7rem; font-weight: 700; margin-bottom: 6px; }
.demo-field input, .demo-field select { width: 100%; font: inherit; font-size: 0.85rem; color: #10233F; background: #F3F5FA; border: 1px solid #DDE3EE; border-radius: 8px; padding: 11px 12px; }
.demo-field input::placeholder { color: #8793A3; }
.demo-field input:focus, .demo-field select:focus { outline: 2px solid #3E7BE0; outline-offset: 1px; background: #fff; }
.demo-field input:user-invalid { border-color: #D9534F; }
.demo-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.demo-submit { width: 100%; margin-top: 8px; font: inherit; font-size: 0.9rem; font-weight: 700; color: #fff; background: #4A8BE8; border: 0; border-radius: 999px; padding: 13px 20px; cursor: pointer; transition: background .2s; }
.demo-submit:hover { background: #3E7BE0; }
.demo-submit:disabled { opacity: .7; cursor: wait; }
.demo-status { margin: 12px 0 0; font-size: 0.8rem; line-height: 1.5; }
.demo-status.is-error { color: #B4322E; }
.demo-status a { color: inherit; text-decoration: underline; }
.demo-success { text-align: center; padding: 24px 8px; }
.demo-check { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: #D9F3E3; color: #22804A; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; }
.demo-success h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.demo-success p { font-size: 0.9rem; line-height: 1.6; color: #5B6B7D; }
@media (max-width: 860px) { .demo-inner { grid-template-columns: 1fr; } }

/* Contact page */
.contact-hero .docs-hero-lead {
  max-width: 560px;
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 560px);
  justify-content: start;
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
  padding: 0 var(--page-gutter) clamp(56px, 10vh, 112px);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid #E3E8F0;
}

.contact-block:last-child {
  border-bottom: 1px solid #E3E8F0;
}

.contact-label {
  color: #2563EB;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-value {
  color: #0D1220;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

a.contact-value:hover,
a.contact-value:focus-visible {
  color: #2563EB;
  text-decoration: underline;
}

.contact-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #DCE5F7;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(16, 35, 63, 0.08);
}

.demo-field textarea {
  display: block;
  width: 100%;
  min-height: 140px;
  padding: 11px 12px;
  border: 1px solid #DDE3EE;
  border-radius: 8px;
  background: #F3F5FA;
  color: #10233F;
  font: inherit;
  font-size: 0.85rem;
  resize: vertical;
}

.demo-field textarea::placeholder { color: #8793A3; }
.demo-field textarea:focus { outline: 2px solid #3E7BE0; outline-offset: 1px; background: #fff; }
.demo-field textarea:user-invalid { border-color: #D9534F; }

@media (max-width: 820px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Over ons + Voor wie */
.about-hero .docs-hero-lead {
  max-width: 620px;
  margin-bottom: 0;
}

.about-section {
  padding: clamp(24px, 5vh, 48px) var(--page-gutter) clamp(32px, 6vh, 64px);
}

.about-section-title {
  max-width: 720px;
  margin-bottom: 20px;
  color: #0D1220;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-text {
  max-width: 640px;
  margin-bottom: 16px;
  color: #33475B;
  font-size: 1rem;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  max-width: 1100px;
  margin-top: 28px;
}

.about-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  border: 1px solid #DCE5F7;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(16, 35, 63, 0.08);
}

.about-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card-link:hover,
.about-card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(16, 35, 63, 0.14);
}

.about-card-title {
  color: #10233F;
  font-size: 1.2rem;
  font-weight: 700;
}

.about-card-text {
  color: #33475B;
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-card-list {
  align-self: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-card-list li {
  padding: 10px 0;
  border-top: 1px solid #E3E8F0;
  color: #33475B;
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-card-more {
  margin-top: auto;
  color: #2563EB;
  font-size: 0.85rem;
  font-weight: 700;
}

.about-card-tag {
  margin-top: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: #EEF2FB;
  color: #3A4A6B;
  font-size: 0.7rem;
  font-weight: 700;
}

.about-cta {
  padding-bottom: clamp(56px, 10vh, 112px);
}

/* Voor wie: herkenningskaarten, 3 bovenaan en 2 onderaan op breed scherm */
.recognize-intro {
  max-width: 640px;
  margin-bottom: 32px;
  color: #33475B;
  font-size: 0.95rem;
  line-height: 1.6;
}

.recognize-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
}

.recognize-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(16, 35, 63, 0.08);
}

.recognize-grid > .recognize-card:nth-child(n + 4) {
  grid-column: span 3;
}

.recognize-num {
  color: #2563EB;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.recognize-title {
  color: #10233F;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.recognize-text {
  color: #33475B;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .recognize-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .recognize-card,
  .recognize-grid > .recognize-card:nth-child(n + 4) {
    grid-column: auto;
  }
}

/* Koppelingen: direct onder "Onze producten" op de homepage */
.koppel {
  padding: clamp(56px, 10vh, 112px) var(--page-gutter);
  background: #F4F7FD;
}

.koppel-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.koppel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(32px, 6vh, 56px);
}

.koppel-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #2563EB;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.koppel-title {
  color: #0D1220;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.koppel-lead {
  color: #33475B;
  font-size: 0.95rem;
  line-height: 1.6;
}

.koppel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 20px;
}

.koppel-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(16, 35, 63, 0.08);
}

.koppel-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #EEF2FB;
  color: #2563EB;
  font-size: 1rem;
}

.koppel-card-title {
  color: #10233F;
  font-size: 1.15rem;
  font-weight: 700;
}

.koppel-card-text {
  color: #33475B;
  font-size: 0.9rem;
  line-height: 1.6;
}

.koppel-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.koppel-list li {
  padding: 10px 0 10px 18px;
  border-top: 1px solid #E3E8F0;
  position: relative;
  color: #33475B;
  font-size: 0.85rem;
  line-height: 1.5;
}

.koppel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563EB;
}

/* Overzichtstabel onder de koppel-kaarten */
.koppel-table-wrap {
  margin-top: 20px;
  padding: 8px 28px;
  overflow-x: auto;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(16, 35, 63, 0.08);
}

.koppel-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  text-align: left;
}

.koppel-table thead th {
  padding: 18px 0 14px;
  color: #6B7A90;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.koppel-table tbody th,
.koppel-table tbody td {
  padding: 16px 0;
  border-top: 1px solid #E3E8F0;
  color: #10233F;
  font-size: 0.85rem;
}

.koppel-table tbody th {
  font-weight: 700;
}

.koppel-table tbody td {
  font-weight: 600;
}

.koppel-yes {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.koppel-yes span {
  color: #2563EB;
  font-weight: 700;
}

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

@media (max-width: 820px) {
  .koppel-head {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reviews: onder de koppelingen op de homepage */
.reviews {
  padding: clamp(56px, 10vh, 112px) var(--page-gutter);
  background: #F4F7FD; /* zelfde kleur als .koppel */
}

.reviews-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.reviews-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #2563EB;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(28px, 5vh, 48px);
}

.reviews-head .reviews-title {
  margin-bottom: 0;
}

.reviews-all {
  margin-bottom: clamp(4px, 1vw, 12px);
  color: #2563EB;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.reviews-all:hover,
.reviews-all:focus-visible {
  text-decoration: underline;
}

.reviews-all:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 4px;
}

.reviews-hero .docs-hero-lead {
  margin-bottom: 0;
}

.reviews-page {
  padding: 0 var(--page-gutter) clamp(56px, 10vh, 112px);
}

.reviews-title {
  margin-bottom: clamp(28px, 5vh, 48px);
  color: #0D1220;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  align-items: stretch;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  border: 1px solid #E3E8F0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(16, 35, 63, 0.06);
}

.review-stars {
  color: #F5B301;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
}

.review-quote {
  flex: 1;
  color: #33475B;
  font-size: 0.85rem;
  line-height: 1.65;
}

.review-author {
  color: #10233F;
  font-size: 0.85rem;
  font-weight: 700;
}

.review-role {
  color: #5B6B8A;
  font-weight: 400;
}

/* Offerte: pagina met formulier in een kaart, zoals in de artifact */
.offerte-page {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 110px) var(--page-gutter) clamp(56px, 10vh, 112px);
}

.offerte-title {
  margin: 14px 0 16px;
  color: #0D1220;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.offerte-lead {
  margin-bottom: 40px;
  color: #33475B;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 60ch;
}

.offerte-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #E3E8F0;
  border-radius: 24px;
  background: #ffffff;
}

.offerte-form {
  display: grid;
  gap: 20px;
}

.offerte-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.offerte-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.offerte-field > span {
  color: #10233F;
  font-size: 0.85rem;
  font-weight: 700;
}

.offerte-field input,
.offerte-field select,
.offerte-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #DCE5F7;
  border-radius: 12px;
  background: #ffffff;
  color: #0D1220;
  font: 400 0.95rem 'Poppins', sans-serif;
}

.offerte-field input:focus,
.offerte-field select:focus,
.offerte-field textarea:focus {
  outline: none;
  border-color: #2563EB;
}

.offerte-field textarea {
  resize: vertical;
}

.offerte-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.offerte-submit {
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: #2563EB;
  color: #ffffff;
  font: 700 0.95rem 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.offerte-submit:hover:not(:disabled) {
  background: #1D4ED8;
  transform: translateY(-2px);
}

.offerte-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.offerte-faq-title {
  margin-bottom: 20px;
}

.offerte-faq summary {
  list-style-position: outside;
}

/* Offerte: programmakeuze en veelgestelde vragen */
.offerte-programmas {
  border: 0;
  padding: 0;
  margin: 0;
}

.offerte-programmas legend {
  margin-bottom: 8px;
}

.offerte-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.offerte-opts label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid #DCE5F7;
  border-radius: 999px;
  color: #1F2937;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.offerte-opts input {
  accent-color: #2563EB;
}

.offerte-note {
  color: #5B6B8A;
  font-size: 0.82rem;
  line-height: 1.5;
}

.offerte-note a {
  color: #2563EB;
}

.offerte-faq {
  margin-top: 56px;
}

.offerte-faq-title {
  margin-bottom: 20px;
  color: #0D1220;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.offerte-faq details {
  margin-bottom: 12px;
  padding: 18px 22px;
  border: 1px solid #DCE5F7;
  border-radius: 16px;
  background: #ffffff;
}

.offerte-faq summary {
  color: #10233F;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.offerte-faq p {
  margin-top: 10px;
  color: #33475B;
  font-size: 0.92rem;
  line-height: 1.6;
}

.offerte-faq a {
  color: #2563EB;
}

/* Nieuwsartikel */
.article {
  padding: clamp(32px, 6vh, 64px) var(--page-gutter) clamp(56px, 10vh, 112px);
}

.article-back {
  display: inline-block;
  margin-bottom: clamp(24px, 4vh, 40px);
  color: #2563EB;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.article-back:hover,
.article-back:focus-visible {
  text-decoration: underline;
}

.article-title {
  max-width: 20ch;
  margin-bottom: 16px;
  color: #0D1220;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.article-meta {
  margin-bottom: clamp(32px, 6vh, 56px);
  color: #5B6B8A;
  font-size: 0.85rem;
}

.article-body {
  max-width: 680px;
}

.article-body p {
  margin-bottom: 1.2em;
  color: #1F2937;
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body .article-lead {
  color: #10233F;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
}

.article-body h2 {
  margin: 2em 0 0.6em;
  color: #10233F;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4em;
  padding-left: 1.4em;
}

.article-body li {
  margin-bottom: 0.7em;
  color: #1F2937;
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-body a {
  color: #2563EB;
  text-underline-offset: 2px;
}

.article-body a:hover,
.article-body a:focus-visible {
  color: #1D4ED8;
}

/* Afbeelding in een artikel: mag breder dan de tekstkolom, maar nooit buiten het scherm */
.article-figure {
  width: min(920px, calc(100vw - 2 * var(--page-gutter)));
  margin: 2em 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #E3E8F0;
  border-radius: 16px;
}

.article-body .article-figure figcaption {
  margin-top: 12px;
  color: #5B6B8A;
  font-size: 0.85rem;
  line-height: 1.5;
}

.article-sources h2 {
  font-size: 1.1rem;
}

.article-sources li {
  margin-bottom: 0.4em;
  color: #4B5563;
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-card-kicker {
  color: #5B6B8A;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Offerte-blok onder het nieuws (homepage) */
.quote-cta {
  position: relative;
  z-index: 1;
  background: #E8F0FE;
  padding: clamp(40px, 8vh, 72px) var(--page-gutter);
}

.quote-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.quote-cta-copy {
  max-width: 560px;
}

.quote-cta-title {
  margin-bottom: 14px;
  color: #10233F;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.quote-cta-text {
  color: #4B5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.quote-cta-btn {
  flex: none;
  padding: 16px 32px;
  border-radius: 999px;
  background: #2563EB;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.quote-cta-btn:hover,
.quote-cta-btn:focus-visible {
  background: #1D4FD0;
  transform: translateY(-2px);
}
