/* =========================================================
   GeSonder – basisstijl
   Kleuren afgeleid van het logo: appelgroen + leigrijs,
   aangevuld met het zachte roze uit de trajectbeelden.
   ========================================================= */
:root {
  --green: #95c11f;          /* appel uit logo */
  --green-strong: #7aa30f;
  --green-ink: #4b6b06;      /* groen voor tekst (AA op licht) */
  --green-wash: #eef4dc;
  --green-mist: #f6f9ee;
  --slate: #85888f;          /* letters uit logo */
  --ink: #262b22;
  --ink-soft: #545a50;
  --muted: #7c8278;
  --line: #e3e6dc;
  --bg: #fbfbf7;
  --surface: #ffffff;
  --rose: #e48fa2;
  --rose-wash: #fbeef1;
  --rose-ink: #a83c5a;

  --font-display: 'Gambetta', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.625rem);
  --text-hero: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(38,43,34,.04), 0 12px 32px -12px rgba(38,43,34,.12);
  --section: clamp(4rem, 9vw, 7.5rem);
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input { font: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 500; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.005em; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--green-strong); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Eyebrow / links / buttons ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 1rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-wash); }
.eyebrow--rose { color: var(--rose-ink); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--green-ink); font-size: var(--text-sm); }
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px; font-size: var(--text-sm); font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .6rem 1.1rem; }
.btn--primary { background: var(--green); color: #1f2a0a; }
.btn--primary:hover { background: var(--green-strong); color: #fff; }
.btn--ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--green-strong); color: var(--green-ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--ink); color: #c9cdc3; font-size: var(--text-xs); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar a:hover { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(251,251,247,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.header.is-scrolled { border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 2rem; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.75rem; }
.nav ul a { font-size: var(--text-sm); font-weight: 500; color: var(--ink-soft); position: relative; padding-block: .25rem; }
.nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav ul a:hover { color: var(--ink); }
.nav ul a:hover::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero__text { padding-bottom: clamp(2.5rem, 6vw, 5.5rem); }
.hero h1 { font-size: var(--text-hero); line-height: 1.02; margin-bottom: 1.5rem; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--green-ink); }
.lede { font-size: var(--text-lg); line-height: 1.55; max-width: 34em; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 3rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; flex-direction: column; font-size: var(--text-xs); color: var(--muted); }
.hero__facts strong { font-size: var(--text-sm); color: var(--ink); font-weight: 600; }
.hero__blcn { flex-direction: row !important; align-items: center; gap: .75rem; }
.hero__blcn img { height: 34px; width: auto; }

.hero__visual { position: relative; align-self: end; justify-self: center; width: min(100%, 480px); }
.hero__visual > img { position: relative; z-index: 1; width: 100%; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 14%); mask-image: linear-gradient(to left, transparent 0, #000 14%); }
.hero__blob {
  position: absolute; z-index: 0; inset: 4% 0 0 -14%;
  background: radial-gradient(120% 90% at 30% 20%, #dfeeb2 0%, var(--green-wash) 45%, rgba(238,244,220,0) 75%);
  border-radius: 48% 52% 0 0 / 40% 40% 0 0;
}
.hero__blob::after { content: ''; position: absolute; width: 90px; height: 90px; right: 8%; top: 4%; border-radius: 50%; background: var(--green); opacity: .9; }
.hero__note {
  position: absolute; z-index: 2; left: -4%; bottom: 14%;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1rem 1.15rem; max-width: 230px; font-size: var(--text-xs); line-height: 1.45; color: var(--ink-soft);
  display: flex; flex-direction: column; gap: .2rem;
}
.hero__note-k { font-weight: 600; color: var(--green-ink); font-size: var(--text-sm); }

/* ---------- Herkenning ---------- */
.recognise { background: var(--surface); border-block: 1px solid var(--line); }
.recognise__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.recognise__intro h2 { margin-bottom: 1rem; }
.recognise__intro p { margin-bottom: 1.5rem; max-width: 30em; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.checklist li { position: relative; padding: 1.05rem 0 1.05rem 2.1rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: var(--text-sm); line-height: 1.45; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 1.05rem; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%234b6b06' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ---------- Sectiekoppen ---------- */
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); flex-wrap: wrap; }
.section__head h2 { max-width: 16ch; }
.section__sub { max-width: 28em; color: var(--muted); }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .eyebrow { margin-bottom: .75rem; }

/* ---------- Trajecten ---------- */
.programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.program { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--rose-wash); }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.program:hover .program__media img { transform: scale(1.04); }
.program__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.program__price { font-family: var(--font-display); font-size: 2.5rem; color: var(--ink); line-height: 1; margin: .5rem 0 1.25rem; }
.program__price span { font-size: 1.25rem; vertical-align: top; margin-right: .15rem; color: var(--muted); }
.program ul { display: grid; gap: .5rem; margin-bottom: 1.75rem; flex: 1; }
.program li { font-size: var(--text-sm); padding-left: 1.25rem; position: relative; }
.program li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.program .btn { align-self: flex-start; }
.program--featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.program__tag { position: absolute; z-index: 2; top: 1rem; left: 1rem; background: var(--surface); color: var(--green-ink); font-size: var(--text-xs); font-weight: 600; padding: .3rem .75rem; border-radius: 999px; }

/* ---------- Aanpak ---------- */
.approach { background: var(--green-mist); }
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.approach__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.approach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
.approach__text h2 { margin-bottom: 1.25rem; max-width: 14ch; }
.approach__text > p { margin-bottom: 2.25rem; max-width: 34em; }
.steps { display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 3.5rem 1fr; padding: 1.25rem 0; border-top: 1px solid #dbe3c6; }
.steps li:last-child { border-bottom: 1px solid #dbe3c6; }
.steps span { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-strong); line-height: 1.1; }
.steps h3 { font-size: var(--text-base); margin-bottom: .2rem; }
.steps p { font-size: var(--text-sm); color: var(--muted); }

/* ---------- Ervaringen ---------- */
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 520px); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem;
  scroll-padding-inline: 0;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.review p { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.45; color: var(--ink); }
.review cite { font-style: normal; font-size: var(--text-sm); font-weight: 600; color: var(--green-ink); display: flex; align-items: center; gap: .6rem; }
.review cite::before { content: ''; width: 24px; height: 1.5px; background: var(--green); }
.reviews__nav { display: flex; justify-content: center; gap: .75rem; margin-top: 2rem; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.1rem; color: var(--ink); transition: border-color .2s, background .2s; }
.round-btn:hover { border-color: var(--green-strong); background: var(--green-wash); }

/* ---------- Boek ---------- */
.book { background: var(--rose-wash); overflow: hidden; }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.book__text h2 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); margin-bottom: .75rem; }
.book__sub { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); color: var(--rose-ink); margin-bottom: 1.25rem; max-width: 26em; }
.book__text > p:not(.book__sub):not(.eyebrow) { max-width: 32em; margin-bottom: 2rem; }
.book__buy { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.book__price { font-family: var(--font-display); font-size: 1.75rem; color: var(--ink); display: flex; flex-direction: column; line-height: 1.1; }
.book__price small { font-family: var(--font-body); font-size: var(--text-xs); color: var(--muted); }
.book__visual img { width: min(100%, 520px); margin-inline: auto; mix-blend-mode: multiply; }

/* ---------- Blog ---------- */
.blog__grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 42% 1fr; }
.post--lead { grid-row: span 2; grid-template-columns: 1fr; }
.post__media { display: block; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post--lead .post__media { aspect-ratio: 16 / 10; }
.post:hover .post__media img { transform: scale(1.04); }
.post__body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.post--lead .post__body { padding: 2rem; }
.post__meta { display: flex; align-items: center; gap: .75rem; font-size: var(--text-xs); color: var(--muted); }
.chip { background: var(--green-wash); color: var(--green-ink); padding: .2rem .65rem; border-radius: 999px; font-weight: 600; }
.post h3 { font-size: var(--text-base); line-height: 1.35; }
.post--lead h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; }
.post h3 a:hover { color: var(--green-ink); }
.post--lead p:last-child { color: var(--muted); }

/* ---------- Duo ---------- */
.duo { padding-top: 0; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.panel { border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.panel h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); max-width: 16ch; }
.panel p:not(.eyebrow) { max-width: 32em; }
.panel .eyebrow { margin-bottom: 0; }
.panel--green { background: var(--green-wash); }
.panel--soft { background: var(--surface); border: 1px solid var(--line); }
.panel__links { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: #c9cdc3; }
.cta__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem 4rem; align-items: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta h2 { color: #fff; margin-bottom: .75rem; }
.cta p { max-width: 30em; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; }
.cta__form input { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; padding: .9rem 1.1rem; border-radius: 999px; min-width: 0; }
.cta__form input::placeholder { color: #9aa094; }
.cta__form input:focus { outline: none; border-color: var(--green); background: rgba(255,255,255,.1); }
.cta__msg { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--green); min-height: 1.4em; }
.cta__msg--err { color: #f4a3a3; }

/* ---------- Footer ---------- */
.footer { background: #1d211a; color: #a9afa2; font-size: var(--text-sm); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 1rem; filter: brightness(1.5) saturate(.9); }
.footer__brand p { max-width: 28em; }
.footer h4 { color: #fff; font-size: var(--text-sm); font-weight: 600; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .5rem; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.5rem; font-size: var(--text-xs); }
.footer__legal { display: flex; gap: 1.25rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav ul { gap: 1.1rem; }
  .nav { gap: 1.25rem; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 2rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: var(--text-base); }
  .nav ul a::after { display: none; }
  .nav__cta { margin-top: 1rem; }

  .hero__grid, .recognise__grid, .approach__grid, .book__grid, .cta__grid { grid-template-columns: 1fr; }
  .hero__text { padding-bottom: 0; }
  .hero__visual { width: min(86%, 380px); }
  .programs__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .blog__grid { grid-template-columns: 1fr; }
  .post--lead { grid-row: auto; }
  .duo__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .approach__photo { aspect-ratio: 4 / 3; }
  .book__visual { order: -1; }
}
@media (max-width: 600px) {
  .topbar__inner > span { display: none; }
  .topbar__inner { justify-content: center; }
  .brand img { height: 36px; }
  .header__inner { min-height: 68px; }
  .checklist { grid-template-columns: 1fr; }
  .hero__note { left: 0; bottom: 8%; max-width: 190px; }
  .post { grid-template-columns: 1fr; }
  .post .post__media { aspect-ratio: 16 / 9; }
  .cta__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
