/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   JASPER SCHOLTEN — GEDEELDE STIJLEN
   jasper-scholten.nl
   Fonts: Bricolage Grotesque + Lora
━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,700;12..96,800&family=Lora:ital,wght@1,400;1,500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }

:root {
  --groen: #2C7A4B;
  --groen-licht: #E8F5EE;
  --groen-zacht: #C5E5D0;
  --zwart: #111111;
  --grijs: #555550;
  --lichtgrijs: #F4F4F2;
  --wit: #FFFFFF;
  --highlight: #B8E8C8;

  /* Legacy aliases voor subpagina's */
  --creme: #FFFFFF;
  --creme-dark: #F4F4F2;
  --diepgroen: #111111;
  --goud: #C5E5D0;
  --steen: #555550;
  --zand: #F4F4F2;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --serif-italic: 'Lora', Georgia, serif;
  --body: 'Bricolage Grotesque', system-ui, sans-serif;
}

body {
  background: var(--wit);
  color: var(--zwart);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ━━ TYPOGRAFIE ━━ */
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--zwart);
}

.display-xl { font-size: clamp(3rem,7vw,7.5rem); font-weight: 800; line-height: 1.0; }
.display-l  { font-size: clamp(2.4rem,5vw,5rem);  font-weight: 700; }
.display-m  { font-size: clamp(1.8rem,3.5vw,3.2rem); font-weight: 700; }
.display-s  { font-size: clamp(1.3rem,2.5vw,2rem); font-weight: 600; }

.serif-zin {
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: clamp(1.4rem,2.8vw,2.4rem);
  line-height: 1.5;
  color: var(--grijs);
}

.hl { color: var(--groen); }
.hl-groen { color: var(--groen); }

.sectie-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--groen);
  margin-bottom: 12px;
  display: block;
}

/* Legacy alias */
.eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--groen);
  margin-bottom: 12px;
  display: block;
}

.tekst {
  font-size: 1.05rem;
  color: var(--grijs);
  line-height: 1.85;
  max-width: 600px;
}

/* Legacy */
.body-txt { font-size: 1.05rem; color: var(--grijs); line-height: 1.85; font-weight: 400; margin-bottom: 16px; }
.body-txt strong { font-weight: 700; color: var(--zwart); }
.s-h2 { font-family: var(--display); font-size: clamp(1.8rem,3.5vw,3.2rem); font-weight: 700; line-height: 1.1; color: var(--zwart); }
.s-h2 em { font-style: normal; color: var(--groen); font-family: var(--display); font-weight: 700; }
.rule { width: 32px; height: 3px; background: var(--groen); margin: 28px 0; }

/* ━━ KNOPPEN ━━ */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  background: var(--zwart);
  color: var(--wit);
  border-radius: 0;
}
.btn:active { transform: scale(0.98); }
.btn:hover { background: #333; }
.btn.groen, .btn-groen { background: var(--groen); color: #fff; }
.btn.groen:hover, .btn-groen:hover { background: #1f5e38; }
.btn-zwart { background: var(--zwart); color: #fff; }
.btn-zwart:hover { background: #333; }
.btn-outline { background: transparent; color: var(--zwart); border: 2px solid var(--zwart); }
.btn-outline:hover { background: var(--zwart); color: #fff; }

.ghost {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--groen);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid var(--groen-zacht);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.ghost:hover { border-color: var(--groen); }

/* ━━ NAVIGATIE ━━ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid #EBEBEB;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: #D8D8D8; }

.nav-logo {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--zwart);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { width: 28px; height: 28px; border-radius: 50%; }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grijs);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.actief { color: var(--zwart); }
.nav-links .nav-cta {
  color: var(--wit) !important;
  background: var(--groen);
  padding: 8px 20px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: #1f5e38; }

.hb { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; z-index: 600; }
.hb span { display: block; width: 24px; height: 2px; background: var(--zwart); transition: 0.3s; }
.hb.open span:first-child { transform: translateY(7px) rotate(45deg); }
.hb.open span:last-child  { transform: translateY(-7px) rotate(-45deg); }

/* ━━ AUTORITEIT ━━ */
#autoriteit {
  border-top: 1.5px solid #EBEBEB;
  border-bottom: 1.5px solid #EBEBEB;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.aut-label { font-size: 0.8rem; font-weight: 500; color: #AAAAAA; white-space: nowrap; }
/* legacy */
.aut-inner { max-width: 1300px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.aut-items { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
.aut-item { font-size: 0.9rem; font-weight: 600; color: #BBBBBB; transition: color 0.2s; }
.aut-item:hover { color: var(--grijs); }
.aut-b2b { margin-left: auto; font-size: 0.85rem; font-weight: 600; color: var(--groen); text-decoration: none; white-space: nowrap; }
.aut-b2b:hover { text-decoration: underline; }

/* ━━ WACHTLIJST FORMULIER ━━ */
#wachtlijst { padding: 100px 48px; }
.wl-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.wl-l h2 { font-family: var(--display); font-size: clamp(2.9rem,4.6vw,4.6rem); font-weight: 800; color: var(--zwart); line-height: 1.08; margin: 18px 0 24px; letter-spacing: -0.03em; }
.wl-l h2 em { font-style: normal; color: var(--groen); font-family: var(--display); }
.wl-intro { font-size: 1.05rem; color: var(--grijs); line-height: 1.85; max-width: 380px; margin-bottom: 36px; }
.wl-social { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.wl-social-label { font-size: 0.8rem; font-weight: 500; color: #AAAAAA; }
.wl-social a { font-size: 0.88rem; font-weight: 600; color: var(--grijs); text-decoration: none; border-bottom: 2px solid #DCDCDC; padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.wl-social a:hover { color: var(--groen); border-color: var(--groen); }
.wl-form { display: flex; flex-direction: column; gap: 0; }
.wl-form label { font-size: 0.82rem; font-weight: 600; color: var(--grijs); margin-bottom: 8px; display: block; margin-top: 20px; }
.wl-form label:first-of-type { margin-top: 0; }
.wl-form input { display: block; width: 100%; padding: 14px 16px; font-family: var(--display); font-size: 1rem; color: var(--zwart); background: var(--lichtgrijs); border: 2px solid transparent; outline: none; transition: border-color 0.2s, background 0.2s; }
.wl-form input:focus { border-color: var(--groen); background: var(--wit); }
.wl-form input::placeholder { color: #AAAAAA; }
.wl-form .btn { margin-top: 20px; width: 100%; text-align: center; padding: 16px; font-size: 0.95rem; }
.wl-ok { display: none; padding-top: 20px; }
.wl-ok p:first-child { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--zwart); line-height: 1.2; margin-bottom: 10px; }
.wl-ok p:last-child { font-size: 0.95rem; color: var(--grijs); }

/* ━━ FOOTER ━━ */
footer {
  background: var(--zwart);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo { font-family: var(--display); font-size: 1.1rem; font-weight: 700; color: var(--wit); text-decoration: none; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; font-weight: 500; color: #888; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--wit); }
.footer-copy { font-size: 0.78rem; color: #555; }

/* ━━ HERKENNING COMPONENTS ━━ */
.herk-kader {
  padding: 28px 28px 28px 32px;
  background: var(--lichtgrijs);
  margin-bottom: 20px;
  border-left: 4px solid var(--groen);
}
.herk-kader p {
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--zwart);
  line-height: 1.6;
}
.herk-vraag {
  padding: 24px 28px;
  background: var(--groen-licht);
  border: 1.5px solid var(--groen-zacht);
}
.herk-vraag .vl { font-size: 0.82rem; font-weight: 600; color: var(--groen); margin-bottom: 8px; display: block; }
.herk-vraag p { font-family: var(--serif-italic); font-style: italic; font-size: 1.15rem; color: var(--zwart); font-weight: 400; line-height: 1.55; }

/* ━━ SPECS ━━ */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid #EBEBEB; margin-bottom: 40px; }
.spec { padding: 20px 22px; border-right: 1.5px solid #EBEBEB; border-bottom: 1.5px solid #EBEBEB; }
.spec:nth-child(2n) { border-right: none; }
.spec:nth-child(3), .spec:nth-child(4) { border-bottom: none; }
.spec-l { font-size: 0.75rem; font-weight: 600; color: #AAAAAA; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.08em; }
.spec-v { font-size: 0.95rem; color: var(--zwart); font-weight: 600; }

/* ━━ ANIMATIES ━━ */
.rv  { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rvl { opacity: 0; transform: translateX(-28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.rvr { opacity: 0; transform: translateX(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.rv.on, .rvl.on, .rvr.on { opacity: 1; transform: none; }

@keyframes fu {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ━━ RESPONSIVE ━━ */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  #autoriteit { padding: 24px 28px; gap: 16px; }
  .aut-label { width: 100%; }
  #wachtlijst { padding: 80px 28px; }
  .wl-inner { grid-template-columns: 1fr; gap: 56px; }
  footer { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 64px;
    background: #fff; padding: 40px 28px;
    gap: 24px; z-index: 800;
    border-top: 1.5px solid #EBEBEB;
  }
  .nav-links.open a { font-size: 1.2rem; color: var(--zwart); }
  nav.menu-open {
    background: #fff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hb.open span { background: var(--zwart); }
  .hb { display: flex; }
  #wachtlijst { padding: 64px 24px; }
  footer { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
}
