/* =========================================================
   BALLPINNETJE — ONDERZOEKEN
   Versie 10

   Uitgangspunten:
   - Zelfde familie als Home en Schrijven.
   - Hero speelt met: ZOEKEN / ONDER.
   - Hoofdpictogram: onderzoek.webp.
   - Blokpictogrammen: esoterie.webp en lab.webp.
   - CSS bewust ruim en leesbaar gehouden.
   ========================================================= */


/* =========================================================
   1. BASISVARIABELEN
   ========================================================= */

:root {
  --blue: #0a3fa8;
  --blue-dark: #062b74;
  --blue-soft: #eaf1ff;

  --yellow: #f2c400;
  --yellow-dark: #c89f00;
  --yellow-soft: #fff8cf;

  --silver: #c3cad4;
  --silver-soft: #dfe3e8;
  --silver-deep: #9fa9b7;

  --ink: #171717;
  --muted: #626262;
  --line: #cfd5dd;

  --paper: #ffffff;
  --surface: #f4f5f7;

  --header: rgba(203, 210, 220, 0.96);
  --footer: #cbd2dc;

  --max-width: 1180px;

  --header-height: 95px;
  --breadcrumb-height: 42px;

  --radius: 24px;

  --shadow:
    0 12px 38px rgba(0, 0, 0, 0.07);

  --transition:
    180ms ease;
}


/* =========================================================
   2. RESET / BASIS
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  color: var(--ink);
  background: var(--silver-soft);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;
  text-rendering: optimizeLegibility;
}


img,
svg {
  max-width: 100%;
  height: auto;
}


a {
  color: inherit;
}


button,
a {
  -webkit-tap-highlight-color: transparent;
}


button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}


/* =========================================================
   3. SKIPLINK
   ========================================================= */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;

  padding: 0.8rem 1rem;

  color: white;
  background: var(--blue-dark);

  border-radius: 10px;
}


.skip-link:focus {
  top: 1rem;
}


/* =========================================================
   4. HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: var(--header);

  border-bottom:
    1px solid rgba(6, 43, 116, 0.16);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


.header-inner {
  width:
    min(
      calc(100% - 2rem),
      var(--max-width)
    );

  min-height: var(--header-height);

  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 2rem;
}


.brand {
  display: inline-flex;
  align-items: center;

  text-decoration: none;
}


.brand-name {
  color: var(--blue);

  font-size:
    clamp(
      1.55rem,
      2.4vw,
      2rem
    );

  font-weight: 850;

  letter-spacing: -0.035em;
}


.main-nav {
  display: flex;
  align-items: center;

  gap: 0.25rem;
}


.main-nav a {
  padding:
    0.7rem
    0.9rem;

  color: #20364e;

  font-size: 1.05rem;

  text-decoration: none;

  border-radius: 999px;

  transition:
    background var(--transition),
    color var(--transition);
}


.main-nav a:hover,
.main-nav a.active {
  color: #102c50;
  background: var(--blue-soft);
}


.menu-toggle {
  display: none;

  width: 46px;
  height: 46px;

  border:
    1px solid var(--line);

  border-radius: 14px;

  background: var(--paper);

  cursor: pointer;
}


.menu-toggle span {
  display: block;

  width: 22px;
  height: 2px;

  margin: 5px auto;

  background: var(--ink);
}


/* =========================================================
   5. HERO
   ========================================================= */

.hero {
  width:
    min(
      calc(100% - 2rem),
      var(--max-width)
    );

  margin-inline: auto;

  padding:
    clamp(0.5rem, 0.9vw, 0.8rem)
    0
    clamp(1.2rem, 2.3vw, 2.1rem);

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(280px, 0.85fr);

  align-items: center;

  gap:
    clamp(
      2rem,
      6vw,
      6rem
    );
}


.hero-copy {
  position: relative;
  z-index: 2;
}


.eyebrow {
  margin:
    0
    0
    0.5rem;

  color: var(--blue);

  font-size: 0.86rem;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.hero-title {
  width: fit-content;

  margin: 0;

  line-height: 0.88;

  letter-spacing: -0.07em;
}


.hero-word {
  display: block;
}


.hero-word-search {
  position: relative;

  color: var(--blue);

  font-size:
    clamp(
      3.9rem,
      9.6vw,
      8rem
    );

  font-weight: 850;
}



.hero-word-under {
  margin-top: 0.20em;

  padding-left: 0.78em;

  color: var(--ink);

  font-size:
    clamp(
      3rem,
      7vw,
      5.8rem
    );

  font-weight: 650;

  letter-spacing: -0.05em;

  text-shadow:
    0 3px 12px rgba(10, 63, 168, 0.14);
}


.hero-text {
  max-width: 620px;

  margin:
    1.7rem
    0
    1.5rem;

  color: var(--muted);

  font-size:
    clamp(
      1.05rem,
      1.8vw,
      1.22rem
    );
}


.primary-button {
  min-height: 48px;

  padding:
    0.82rem
    1.35rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: white;
  background: var(--blue);

  border-radius: 999px;

  text-decoration: none;
  font-weight: 750;

  box-shadow:
    0 8px 22px
    rgba(10, 63, 168, 0.18);

  transition:
    transform var(--transition),
    background var(--transition);
}


.primary-button:hover {
  transform: translateY(-2px);

  background: var(--blue-dark);
}


/* =========================================================
   6. HERO — HOOFDPICTOGRAM
   ========================================================= */

.hero-mark {
  width:
    clamp(
      230px,
      24vw,
      300px
    );

  aspect-ratio: 1 / 1;

  min-height: 0;

  margin-top: 0;

  display: grid;
  place-items: center;

  justify-self: center;
  align-self: center;

  padding:
    clamp(
      1.35rem,
      2.4vw,
      1.9rem
    );

  overflow: hidden;

  border:
    1px solid
    rgba(10, 63, 168, 0.78);

  border-radius: 34px;

  background:
    radial-gradient(
      circle at 28% 20%,
      rgba(255, 255, 255, 0.34),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(6, 43, 116, 0.055)
    );

  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.62),
    inset 0 -14px 28px rgba(6, 43, 116, 0.055),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.42),
    10px 18px 34px rgba(24, 35, 55, 0.18),
    0 0 24px rgba(10, 63, 168, 0.08);
}


.hero-mark img {
  width:
    clamp(
      150px,
      15.5vw,
      190px
    );

  max-width: 74%;
  max-height: 74%;

  object-fit: contain;

  transform:
    translateY(-2px)
    scale(1.015);

  filter:
    drop-shadow(
      0 3px 2px
      rgba(255, 255, 255, 0.12)
    )
    drop-shadow(
      0 7px 7px
      rgba(6, 43, 116, 0.14)
    )
    drop-shadow(
      0 14px 18px
      rgba(24, 35, 55, 0.20)
    );
}


/* =========================================================
   7. VAST ONDERZOEKSPAD
   ========================================================= */

.site-breadcrumb {
  position: sticky;
  top: var(--header-height);
  z-index: 990;

  min-height: var(--breadcrumb-height);

  display: flex;
  align-items: center;

  border-bottom:
    1px solid
    rgba(6, 43, 116, 0.12);

  background:
    rgba(223, 227, 232, 0.96);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.site-breadcrumb ol {
  width:
    min(
      calc(100% - 2rem),
      var(--max-width)
    );

  margin: 0 auto;
  padding: 0;

  display: flex;
  align-items: center;
  flex-wrap: nowrap;

  gap: 0.45rem;

  overflow-x: auto;
  overflow-y: hidden;

  color: var(--muted);

  font-size: 0.9rem;

  list-style: none;
  white-space: nowrap;

  scrollbar-width: none;
}


.site-breadcrumb ol::-webkit-scrollbar {
  display: none;
}


.site-breadcrumb a {
  color: var(--blue);

  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}


.site-breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}


/* =========================================================
   8. UITGELICHT ONDERZOEK
   ========================================================= */

.research-bridge {
  width:
    min(
      calc(100% - 2rem),
      var(--max-width)
    );

  margin-inline: auto;

  padding:
    0
    0
    clamp(0.8rem, 1.6vw, 1.4rem);

  display: grid;

  grid-template-columns:
    1fr
    minmax(320px, 520px)
    1fr;

  gap: 2rem;

  align-items: start;
}




.featured-card {
  grid-column: 2;

  width: 100%;

  padding: 1.8rem;

  border:
    1px solid
    rgba(6, 43, 116, 0.44);

  border-radius: 28px;

  background:
    radial-gradient(
      circle at 78% 16%,
      rgba(255, 255, 255, 0.26),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      #91a4ba 0%,
      #a7b8c9 52%,
      #becbd8 100%
    );

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.50),
    inset 0 -12px 28px
    rgba(6, 43, 116, 0.12),
    10px 20px 38px
    rgba(24, 35, 55, 0.16);
}


.featured-card .eyebrow {
  color: #062b74;
}


.featured-card h2 {
  margin: 0;

  color: var(--blue-dark);

  font-size:
    clamp(
      1.35rem,
      2.2vw,
      1.75rem
    );
}


.featured-card p:not(.eyebrow) {
  margin-bottom: 0;

  color: var(--muted);
}


/* =========================================================
   8. ONDERZOEK — SECTIE
   ========================================================= */

.research {
  width:
    min(
      calc(100% - 2rem),
      var(--max-width)
    );

  margin-inline: auto;

  padding:
    clamp(0.9rem, 1.8vw, 1.5rem)
    0
    clamp(0.9rem, 1.5vw, 1.4rem);

  border-top:
    1px solid
    rgba(10, 63, 168, 0.09);
}


.section-heading {
  margin-bottom: 1rem;
}


.research-label {
  margin: 0;
}


/* =========================================================
   9. ONDERZOEK — BLOKKEN
   ========================================================= */

.research-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 1.25rem;
}


.research-card {
  position: relative;

  min-height: 300px;

  padding:
    clamp(
      1.5rem,
      3vw,
      2.4rem
    );

  padding-right:
    clamp(
      9rem,
      16vw,
      11.5rem
    );

  display: flex;

  overflow: hidden;

  border:
    2px solid
    rgba(200, 159, 0, 0.72);

  border-radius: var(--radius);

  background:
    radial-gradient(
      circle at 82% 22%,
      rgba(255, 255, 255, 0.72),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      #d7dbe0 0%,
      #e2e5e9 52%,
      #cdd2d8 100%
    );

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.70),
    inset 0 -12px 28px
    rgba(54, 65, 82, 0.05),
    0 10px 24px
    rgba(24, 35, 55, 0.09);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}


.research-card:hover {
  transform: translateY(-4px);

  border-color: var(--yellow-dark);

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.78),
    inset 0 -12px 28px
    rgba(54, 65, 82, 0.06),
    0 16px 34px
    rgba(24, 35, 55, 0.14);
}


.research-card-copy {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  width: 100%;
}


.research-card h3 {
  margin:
    0
    0
    0.65rem;

  color: var(--blue);

  font-size:
    clamp(
      1.75rem,
      3.6vw,
      2.8rem
    );

  line-height: 1.02;
}


.research-card p {
  max-width: 315px;

  margin:
    0
    0
    1.4rem;

  color: var(--muted);

  font-size: 1.05rem;
}

.research-intro span,
.lab-intro span {
  display: block;
}


.research-card a {
  margin-top: auto;

  color: var(--blue-dark);

  font-weight: 800;

  text-decoration: none;
}


.research-icon-link {
  position: absolute;

  top: 50%;
  right:
    clamp(
      1.35rem,
      3vw,
      2.4rem
    );

  width:
    clamp(
      105px,
      13vw,
      155px
    );

  max-width: 300px;

  display: block;

  line-height: 0;

  border:
    1px solid transparent;

  border-radius: 12px;

  background: transparent;

  text-decoration: none;

  transform:
    translateY(-50%);

  transition:
    transform var(--transition),
    filter var(--transition),
    border-color var(--transition),
    background var(--transition);
}


.research-icon-link:hover {
  border-color:
    rgba(10, 63, 168, 0.35);

  background:
    rgba(10, 63, 168, 0.04);

  transform:
    translateY(-50%)
    scale(1.035);

  filter:
    drop-shadow(
      0 9px 16px
      rgba(24, 35, 55, 0.16)
    );
}


.research-icon {
  width: 100%;
  height: auto;

  display: block;

  border-radius: 22px;
}



/* =========================================================
   10. FOOTER
   ========================================================= */

.site-footer {
  margin-top: 0.75rem;

  padding:
    3rem
    0
    1.5rem;

  color: var(--ink);
  background: var(--footer);
}


.footer-inner {
  width:
    min(
      calc(100% - 2rem),
      var(--max-width)
    );

  margin-inline: auto;

  display: grid;

  grid-template-columns:
    1.2fr
    auto;

  gap: 2rem;

  align-items: start;
}


.footer-brand-name {
  display: inline-block;

  font-size: 1.2rem;

  line-height: 1.2;
}


.brand-blue {
  color: var(--blue);
}


.brand-yellow {
  color: var(--yellow-dark);
}


.footer-inner p {
  margin:
    0.3rem
    0
    0;

  color: #4f5966;
}


.footer-world-active {
  color: var(--blue-dark);

  font-weight: 850;
}


.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;

  gap:
    0.55rem
    1.5rem;
}


.footer-nav a {
  color: var(--blue);

  text-underline-offset: 4px;
}


.copyright {
  width:
    min(
      calc(100% - 2rem),
      var(--max-width)
    );

  margin:
    2rem
    auto
    0;

  padding-top: 1.2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1.5rem;

  color: #4f5966;

  border-top:
    1px solid
    rgba(6, 43, 116, 0.14);

  font-size: 0.9rem;
}


.footer-signatuur {
  width: 150px;
  max-width: 70%;
  height: auto;

  display: block;
  flex: 0 0 auto;
}


/* =========================================================
   11. DESKTOP
   ========================================================= */

@media (min-width: 821px) {

  .header-inner {
    min-height: var(--header-height);
  }


  .brand-name {
    font-size:
      clamp(
        1.4rem,
        1.8vw,
        1.7rem
      );
  }

}


/* =========================================================
   12. TABLET
   ========================================================= */

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
  }


  .hero-mark {
    width:
      clamp(
        220px,
        62vw,
        270px
      );
  }


  .hero-mark img {
    width:
      clamp(
        125px,
        32vw,
        160px
      );
  }


  .research-bridge {
    grid-template-columns: 1fr;
  }


  .featured-card {
    grid-column: 1;
  }

}


/* =========================================================
   13. MOBIELE NAVIGATIE
   ========================================================= */

@media (max-width: 820px) {

  :root {
    --header-height: 62px;
    --breadcrumb-height: 34px;
  }


  .menu-toggle {
    display: block;
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    border-radius: 12px;
  }


  .menu-toggle span {
    width: 20px;
    margin: 4px auto;
  }


  .header-inner {
    min-height: var(--header-height);

    gap: 0.75rem;
  }


  .brand-name {
    font-size: 1.12rem;
  }


  .site-breadcrumb ol {
    width:
      min(
        calc(100% - 1.4rem),
        var(--max-width)
      );

    gap: 0.35rem;

    font-size: 0.82rem;
  }


  .main-nav {
    position: absolute;

    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);

    padding: 0.7rem;

    display: none;
    flex-direction: column;
    align-items: stretch;

    border:
      1px solid
      var(--line);

    border-radius: 18px;

    background: var(--paper);

    box-shadow: var(--shadow);
  }


  .main-nav.is-open {
    display: flex;
  }


  .main-nav a {
    padding:
      0.9rem
      1rem;
  }


  .site-footer {
    margin-top: 1rem;

    padding:
      2rem
      0
      1rem;
  }


  .footer-inner {
    grid-template-columns: 1fr;

    gap: 1rem;
  }


  .footer-brand-name {
    font-style: italic;
  }


  .footer-brand-name .brand-blue,
  .footer-brand-name .brand-yellow {
    color: var(--ink);
  }


  .footer-nav {
    justify-content: flex-start;

    gap:
      0.35rem
      1rem;
  }


  .copyright {
    margin-top: 1.25rem;

    padding-top: 1rem;

    gap: 0.9rem;
  }

}


/* =========================================================
   14. MOBIEL
   ========================================================= */

@media (max-width: 620px) {

  .hero {
    padding-top: 0.7rem;
  }


  .hero-word-search {
    font-size:
      clamp(
        3.1rem,
        17vw,
        5.4rem
      );
  }


  .hero-word-under {
    padding-left: 0.7em;

    font-size:
      clamp(
        2.55rem,
        13vw,
        4.1rem
      );
  }


  .hero-mark {
    width:
      min(
        76vw,
        248px
      );

    padding: 1.25rem;

    border-radius: 28px;
  }


  .hero-mark img {
    width:
      min(
        44vw,
        145px
      );
  }


  .research-grid {
    grid-template-columns: 1fr;
  }


  .research-card {
    min-height: 255px;

    padding-right:
      clamp(
        7.5rem,
        34vw,
        9rem
      );
  }


  .research-icon-link {
    right: 1rem;

    width:
      clamp(
        88px,
        28vw,
        125px
      );
  }

}


/* =========================================================
   15. KLEIN MOBIEL
   ========================================================= */

@media (max-width: 480px) {

  .brand-name {
    font-size: 1.08rem;
  }


  .site-breadcrumb ol {
    width:
      min(
        calc(100% - 1rem),
        var(--max-width)
      );

    font-size: 0.8rem;
  }


  .hero {
    padding-top: 0.55rem;
  }


  .hero-text {
    margin-top: 1.4rem;
  }


  .research-card {
    min-height: 230px;

    padding-right: 7rem;
  }


  .research-card p {
    max-width: 250px;
    font-size: 0.98rem;
  }


  .research-icon-link {
    width: 92px;
  }


  .footer-brand-name {
    font-size: 1.05rem;
  }


  .footer-inner p,
  .footer-nav {
    font-size: 0.95rem;
  }


  .copyright {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 0.75rem;

    font-size: 0.82rem;
  }


  .copyright span {
    max-width: 215px;
  }


  .footer-signatuur {
    width: 110px;
    max-width: 34%;
  }

}


/* =========================================================
   16. GEREDUCEERDE BEWEGING
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    transition-duration:
      0.01ms !important;

    animation-duration:
      0.01ms !important;
  }

}
