/* ==========================================================================
   RALFI huisstijl — gedeeld door ralfilezen.nl en ralfiteksten.nl
   Kleuren en lettertypes hier aanpassen = beide sites mee.
   ========================================================================== */

@font-face {
  font-family: "OpenDyslexic";
  src: url("fonts/opendyslexic-bold.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --lime: #a5fa02;
  --lime-dim: #8fd800;
  --teal-950: #18333a;
  --teal-900: #1f3d41;
  --teal-800: #2f5a60;
  --teal-700: #37656b;
  --teal-600: #3d6e76;
  --teal-500: #457c81;
  --mist: #d9e8e6;
  --paper: #fbf8ef;
  --paper-line: #e9e2cf;
  --ink: #22302f;
  --white: #fff;

  --font-brand: "OpenDyslexic", "Comic Sans MS", system-ui, sans-serif;
  --font-body: "Lexend", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1000px;
  --radius: 14px;
  --radius-pill: 999px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--teal-800);
  background-image: linear-gradient(180deg, var(--teal-600) 0, var(--teal-800) 900px, var(--teal-800) 100%);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-brand); font-weight: 700; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); color: var(--white); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.9rem); color: var(--lime); }
h3 { font-size: 1.12rem; color: var(--white); }

p { margin: 0 0 1em; }

a { color: var(--white); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lime); }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--lime); color: var(--teal-900); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  padding: .9rem 1.5rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lime { background: var(--lime); color: var(--teal-900); }
.btn--lime:hover { background: var(--white); color: var(--teal-900); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--dark { background: var(--teal-900); color: var(--white); }
.btn--dark:hover { background: var(--teal-950); color: var(--lime); }
.btn .arrow { font-family: var(--font-brand); transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Kop / navigatie ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: 1.25rem; }
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -1.25rem; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(47,90,96,.95) 55%, rgba(47,90,96,0));
  opacity: 0; transition: opacity .2s ease;
}
.site-header.is-stuck::before { opacity: 1; }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--lime); color: var(--teal-900);
  border-radius: var(--radius-pill); padding: .5rem .5rem .5rem 1.6rem; min-height: 62px;
}
.nav__brand { display: block; flex-shrink: 0; }
.nav__brand img { height: 26px; width: auto; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; color: var(--teal-900); text-decoration: none; font-family: var(--font-brand);
  font-size: .82rem; letter-spacing: .02em; padding: .55rem .8rem; border-radius: var(--radius-pill);
}
.nav__list a:hover, .nav__list a[aria-current="page"] { background: rgba(31,61,65,.1); color: var(--teal-900); }
.nav__list .nav__cta {
  background: var(--teal-900); color: var(--white); font-family: var(--font-body); font-weight: 700;
  font-size: .95rem; letter-spacing: 0; padding: .7rem 1.15rem; margin-left: .35rem;
}
.nav__list .nav__cta:hover { background: var(--teal-950); color: var(--lime); }
.nav__toggle {
  display: none; background: var(--teal-900); color: var(--white); border: 0; border-radius: var(--radius-pill);
  font: 700 .95rem var(--font-body); padding: .7rem 1.1rem; cursor: pointer;
}

@media (max-width: 920px) {
  .nav { flex-wrap: wrap; border-radius: 28px; padding: .5rem .5rem .5rem 1.2rem; }
  .nav__toggle { display: inline-block; }
  .js .nav__list { display: none; }
  .nav__list { flex-basis: 100%; flex-direction: column; align-items: stretch; padding: .25rem 0 .5rem; }
  .nav.is-open .nav__list { display: flex; }
  .nav__list a { font-size: .95rem; padding: .75rem .8rem; }
  .nav__list .nav__cta { margin: .4rem 0 0; text-align: center; }
}

/* ---------- Secties ---------- */
.section { padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0; }
.section--tight { padding-top: 1rem; }
.section__intro { margin-bottom: 2rem; }
.section__intro p:last-child { margin-bottom: 0; }
.kicker {
  display: inline-block; font-family: var(--font-brand); font-size: .8rem; letter-spacing: .04em;
  color: var(--lime); margin-bottom: .7rem;
}

/* ---------- Binnenkort-label ---------- */
.soon {
  display: flex; gap: .9rem; align-items: flex-start;
  border: 1.5px dashed rgba(165,250,2,.65); border-radius: var(--radius);
  padding: 1rem 1.2rem; font-size: 1rem; line-height: 1.5;
}
.soon__label {
  flex-shrink: 0; background: var(--lime); color: var(--teal-900); font-family: var(--font-brand);
  font-size: .72rem; padding: .25rem .6rem; border-radius: 6px; margin-top: .15rem;
}
.soon p { margin: 0; }

/* ---------- Voet ---------- */
.site-footer { background: var(--teal-950); padding: 3rem 0 2.5rem; font-size: .98rem; color: var(--mist); }
.site-footer a { color: var(--mist); }
.site-footer a:hover { color: var(--lime); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__grid h2 { font-size: 1rem; margin-bottom: .8rem; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: .35rem; }
.footer__logo { height: 24px; width: auto; margin-bottom: 1rem; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(217,232,230,.18); font-size: .88rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
