/* =========================================================
   BALLPINNETJE — basisstijl 2027 | Home v25
   Licht, snel, responsive, zonder frameworks.

   ARCHITECTUUR:
   1. Centrale variabelen
   2. Basis
   3. Header
   4. Hero
   5. Actueel / weblog
   6. Vier werelden
   7. Gedachte
   8. Footer
   9. Responsive
   ========================================================= */


/* CENTRALE VARIABELEN ======================================= */
/* De kleurstructuur van header, pagina en footer is gedeeld met de werelden. */

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

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

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

  /* Tekst en lijnen */
  --ink: #171717;
  --muted: #626262;
  --line: #cfd5dd;

  /* Grote vlakken — hier kun je later makkelijk mee spelen */
  --paper: #ffffff;
  --surface: #f4f5f7;
  --header: rgba(203, 210, 220, 0.96);
  --footer: #cbd2dc;

  /* Maten en effecten */
  --max-width: 1180px;
  --radius: 24px;
  --shadow: 0 12px 38px rgba(0, 0, 0, 0.08);

  /* Diepte — één visuele familie, met verschillende nadruk */
  --depth-accent: 8px 16px 34px rgba(24, 35, 55, 0.17);
  --depth-card: 0 12px 28px rgba(24, 35, 55, 0.11);
  --depth-soft: 0 10px 24px rgba(24, 35, 55, 0.09);

  --transition: 180ms ease;
}


/* 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;
}

.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;
}


/* HEADER ===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(6, 43, 116, 0.16);
  background: var(--header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 76px;
  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 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--yellow-dark);
  text-shadow: none;
}

.brand-name strong {
  color: var(--blue);
  text-shadow: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  padding: 0.7rem 0.9rem;
  font-size: 1.05rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-dark);
  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);
}


/* HERO ======================================================= */

.hero {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(0.75rem, 1.55vw, 1.35rem) 0 clamp(1.25rem, 2.5vw, 2.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(3.4rem, 10vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero-line {
  max-width: 760px;
  margin: 1.5rem 0 0;
  color: var(--yellow-dark);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  font-weight: 700;
}

.hero-line .hero-separator {
  color: var(--blue);
  font-weight: 850;
}

.hero-text {
  max-width: 680px;
  margin: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
}

.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.primary-button {
  padding: 0.85rem 1.3rem;
  color: white;
  background: var(--blue);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(10, 63, 168, 0.18);
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.hero-mark {
  width: clamp(230px, 24vw, 300px);
  aspect-ratio: 1 / 1;
  min-height: 0;

  display: grid;
  place-items: center;

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

  overflow: hidden;

  border: 2px solid rgba(10, 63, 168, 0.53);
  border-radius: var(--radius);

  background:
    radial-gradient(
      circle at 82% 22%,
      rgba(255, 255, 255, 0.73),
      transparent 68%
    ),
    linear-gradient(
  145deg,
  #d4dce7 0%,
  #dfe5ed 52%,
  #c8d2de 100%
);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.70),
    inset 0 -12px 28px rgba(54, 65, 82, 0.15),
    var(--depth-soft);
}

.hero-logo {
  width: 65%;
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;

  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));
}


/* ACTUEEL / WEBLOG ========================================== */

.home-bridge {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 0 0 clamp(0.6rem, 1.5vw, 1.2rem);
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}


.latest-card {
  width: min(100%, 600px);
  justify-self: center;
  transform: translateX(-38px);
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(10, 63, 168, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      #cbd3dd,
      #c3ccd7,
      #d7d2c3
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -10px 24px rgba(10, 63, 168, 0.05),
    0 0 28px rgba(255, 255, 255, 0.30),
    0 16px 34px rgba(24, 35, 55, 0.14);
}

.latest-card .eyebrow {
  margin-bottom: 0.25rem;
}

.latest-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.2;
}

.latest-list {
  margin: 1rem 0 1.25rem;
  display: grid;
  gap: 0;
  color: var(--muted);
}

.latest-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(6, 43, 116, 0.10);
}

.latest-item:last-child {
  border-bottom: 0;
}

.latest-item time {
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.latest-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.latest-link {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.latest-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* VIER WERELDEN ============================================= */

.worlds {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(0.7rem, 1.6vw, 1.4rem) 0 clamp(0.9rem, 2vw, 1.8rem);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-heading p:last-child {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.world-card {
  position: relative;
  min-height: 300px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  padding-right: clamp(9.5rem, 18vw, 12rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  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),
    var(--depth-soft);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.world-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);
}

/* Pictogram rechts in elk wereldblok. Het bronbestand mag 300x300 zijn;
   de browser schaalt het responsief mee en vergroot het nooit boven 300px. */
.world-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);
}

.world-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));
}

.world-icon {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

.world-card h3 {
  margin: 0 0 0.4rem;
  color: var(--blue);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.world-card p {
  max-width: 520px;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.world-card a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}


/* BALLPINNETJE-GEDACHTE ===================================== */

.thought {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: clamp(2rem, 3vw, 2rem) auto clamp(1rem, 1.8vw, 1.6rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--blue);
  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(242, 196, 0, 0.10),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      #cfd8e6 0%,
      #d9dee6 48%,
      #e2e1d8 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    var(--depth-card);
}

.thought blockquote {
  max-width: 900px;
  margin: 0.8rem auto 1.5rem;
  color: var(--blue-dark);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.secondary-button {
  padding: 0.78rem 1.16rem;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(10, 63, 168, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 16px rgba(24, 35, 55, 0.09);
}

.secondary-button:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 9px 20px rgba(24, 35, 55, 0.12);
}


/* FOOTER ===================================================== */

.site-footer {
  margin-top: 1.6rem;
  padding: 3rem 0 1.5rem;
  color: var(--ink);
  background: var(--footer);
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.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-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;
}


/* RESPONSIVE ================================================ */

/* Desktop/laptop: header circa 25% hoger; mobiel blijft ongewijzigd. */
@media (min-width: 821px) {
  .header-inner {
    min-height: 95px;
  }

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

  .hero-mark {
    width: clamp(230px, 25vw, 330px);
  }

  .hero-logo {
    width: 84%;
    max-width: 265px;
  }

  .home-bridge {
    padding-bottom: clamp(0.4rem, 1vw, 0.8rem);
  }

  .latest-card {
    width: min(100%, 680px);
    transform: none;
    padding: 1.35rem 1.7rem;
  }

  .latest-list {
    margin: 0.75rem 0 0.9rem;
  }

  .latest-item {
    padding: 0.4rem 0;
  }
}


@media (max-width: 820px) {
  .header-inner {
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .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;
  }

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

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

  .home-bridge {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .latest-card {
    width: min(100%, 600px);
    max-width: 600px;
    justify-self: center;
    transform: none;
  }

  .latest-item {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .latest-item time {
    font-size: 0.8rem;
  }

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

  .world-card {
    min-height: 250px;
    padding-right: clamp(8.5rem, 24vw, 11rem);
  }

  .world-icon-link {
    right: clamp(1.25rem, 4vw, 2rem);
    width: clamp(96px, 20vw, 140px);
  }

  /* Footer: op mobiel compacter, desktop blijft onaangeroerd */
  .site-footer {
    margin-top: 1.4rem;
    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-inner p {
    margin-top: 0.2rem;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 0.35rem 1rem;
  }

  .copyright {
    margin-top: 1.25rem;
    padding-top: 1rem;
    align-items: center;
    gap: 0.9rem;
  }
}

@media (max-width: 560px) {
  .world-card {
    min-height: 0;
    padding-right: clamp(7.6rem, 31vw, 9.4rem);
  }

  .world-card p {
    max-width: 100%;
  }

  .world-icon-link {
    right: 1.25rem;
    width: clamp(88px, 25vw, 118px);
  }

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

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

  .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%;
  }
}

@media (max-width: 480px) {
  .header-inner {
    min-height: 68px;
  }

  .hero {
    padding-top: 0.85rem;
  }

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

  .hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

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

  .thought {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
