/* ===== Ralph Studiecoaching — shared styles =====
   Design tokens (the soft-green palette, --radius, --shadow, and the full
   --rds-* scale) now live in css/tokens.css, linked before this file on every
   page. That file is the single source of truth, mirrored by the React design
   system. The legacy variable names used throughout this stylesheet (--green,
   --sand, --radius, …) are defined there as aliases, so rendering is unchanged. */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  font-size: 17px;
}

/* ===== Language toggle: show .nl by default, .en hidden ===== */
.en { display: none; }
html.lang-en .en { display: revert; }
html.lang-en .nl { display: none; }

h1, h2, h3 { font-family: 'Quicksand', 'Nunito', sans-serif; line-height: 1.3; }
h1 { font-size: 2.4rem; margin-bottom: 0.6em; }
h2 { font-size: 1.7rem; margin-bottom: 0.6em; color: var(--green-dark); }
h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
p { margin-bottom: 1em; color: var(--muted); }
a { color: var(--green-dark); }

.container { max-width: 1050px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header {
  background: var(--cream);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1050px; margin: 0 auto; flex-wrap: wrap; gap: 10px;
}
.logo {
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.25rem;
  color: var(--dark); text-decoration: none;
}
.logo span { color: var(--green-dark); }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); }
.nav-links a.active { text-decoration: underline; text-underline-offset: 4px; }
.lang-btn {
  border: 1.5px solid var(--line); background: var(--white); color: var(--muted);
  border-radius: 999px; padding: 5px 14px; cursor: pointer; font-weight: 700; font-size: 0.85rem;
  font-family: inherit; transition: all .2s;
}
.lang-btn:hover { border-color: var(--green); color: var(--green-dark); }
.nav-cta {
  display: inline-block; text-decoration: none;
  border: 1.5px solid var(--green); border-radius: 999px;
  padding: 7px 18px; color: var(--green-dark); font-weight: 700; font-size: 0.9rem;
  transition: all .2s;
}
.nav-cta:hover { background: var(--green-dark); color: var(--white); }

/* ===== Mobile nav (hamburger + slide-in drawer) ===== */
/* Hidden on wide screens; the drawer pieces only appear below the breakpoint. */
.nav-toggle { display: none; }
.nav-backdrop { display: none; }

@media (max-width: 820px) {
  .nav { flex-wrap: nowrap; }

  /* Hamburger button, top-right. Kept above the drawer so it stays tappable. */
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0;
    background: var(--white); border: 1.5px solid var(--line); border-radius: 12px;
    cursor: pointer; position: relative; z-index: 210; transition: border-color .2s;
  }
  .nav-toggle:hover { border-color: var(--green); }
  .nav-toggle-bar {
    display: block; width: 22px; height: 2px; margin: 0 auto;
    background: var(--dark); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  /* Morph the three bars into an X while the drawer is open. */
  body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* The links become a panel that slides in from the right. */
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(80vw, 300px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 88px 26px 32px;
    background: var(--cream); border-left: 1px solid var(--line);
    box-shadow: -8px 0 28px rgba(47, 58, 52, 0.16);
    transform: translateX(100%); transition: transform .28s ease;
    z-index: 200; overflow-y: auto;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links a {
    width: 100%; padding: 14px 4px; font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-cta {
    align-self: flex-start; width: auto; border-bottom: none;
    padding: 9px 20px; margin-top: 22px;
  }
  .nav-links .lang-btn { align-self: flex-start; margin-top: 14px; }

  /* Dimmed backdrop behind the panel; click it to close. */
  .nav-backdrop {
    display: block; position: fixed; inset: 0;
    background: rgba(47, 58, 52, 0.42);
    opacity: 0; visibility: hidden; transition: opacity .28s ease;
    z-index: 150;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  /* Stop the page behind the drawer from scrolling while it's open. */
  body.nav-open { overflow: hidden; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 30px; border-radius: 999px; font-size: 1rem; transition: all .2s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--green-dark); color: var(--white); }
.btn-primary:hover { background: #3E574A; transform: translateY(-2px); }
.btn-secondary { background: var(--white); color: var(--green-dark); border: 1.5px solid var(--sage); }
.btn-secondary:hover { border-color: var(--green); transform: translateY(-2px); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Eyebrow: shared small-caps label above section headings =====
   One base rule reused by the hero, package headers, FAQ and homepage
   sections. Scoped variants only override what differs (e.g. .home-hero
   widens the tracking; the package pages nudge the bottom margin). */
.eyebrow {
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-dark);
  margin: 0 0 14px;
}

/* ===== Sections ===== */
section { padding: 60px 0; }
.section-alt { background: var(--sand); }
/* Text sitting directly on the sand background needs --dark, not --muted,
   to keep contrast comfortably above 4.5:1 (nested white .info-box content
   already gets enough contrast from --muted and is left alone). */
.section-alt .section-title p,
.section-alt .lead,
.section-alt .faq-sub {
  color: var(--dark);
}
/* Offset in-page anchor jumps (e.g. "Bekijk de pakketten") so the target
   section lands flush against the sticky header — no gap. The header is
   67px on wide screens and 79px once the mobile nav kicks in at 820px. */
#pakketten { scroll-margin-top: 67px; }
@media (max-width: 820px) { #pakketten { scroll-margin-top: 79px; } }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { color: var(--dark); }
.section-title p { max-width: 600px; margin: 0 auto; }

/* ===== Long-form intro (studiecoaching overview) ===== */
/* A narrower column keeps single-column prose comfortable to read. */
.prose { max-width: 780px; }
.prose h2 { margin-bottom: 0.5em; }
.prose h2:not(:first-child) { margin-top: 1.4em; }
.lead { font-size: 1.1rem; color: var(--dark); }

/* Skills as a wide, short panel: a two-column check-list fills the width
   instead of a tall single column that leaves empty space beside it. */
.skills-box { max-width: 900px; margin: 0 auto; }
.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 40px; margin: 0;
}
.skills-grid li { margin-bottom: 0; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-top: 4px solid var(--sage); transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card .emoji { font-size: 2rem; margin-bottom: 12px; }
.card h3 { color: var(--dark); }
.card p { flex-grow: 1; font-size: 0.97rem; }
.card .price { font-weight: 800; color: var(--green-dark); font-size: 1.15rem; margin-bottom: 14px; }
.card .price small { font-weight: 600; color: var(--muted); font-size: 0.8rem; }
/* "vanaf" / "from" prefix on the package price teasers (index + studiecoaching). */
.card .price .price-from,
.pkg-price .pkg-from {
  font-weight: 700;
  font-size: 0.62em;
  color: var(--muted);
}
.card a.btn { align-self: flex-start; padding: 10px 22px; font-size: 0.9rem; }

/* ===== Lists ===== */
.check-list { list-style: none; margin: 0 0 1.2em; }
.check-list li {
  padding-left: 32px; position: relative; margin-bottom: 10px; color: var(--muted);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green-dark); font-weight: 800;
}

/* ===== Package page layout ===== */
.package-hero { background: linear-gradient(160deg, var(--sand), var(--cream)); padding: 70px 0 50px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.hero-photo {
  border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1;
  box-shadow: 0 14px 34px rgba(47, 58, 52, 0.14);
  background: linear-gradient(160deg, var(--sand), var(--sage-soft));
  max-width: 340px; margin-left: auto;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { max-width: 240px; margin: 0 auto; }
}

.info-box {
  background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.info-box.accent { background: var(--sage-soft); }
.info-box.accent p, .info-box.accent li { color: var(--dark); }

/* Contact page: form is the anchor on the right; details + expectations
   stack on the left (desktop). On mobile the short details lead, the form
   follows as the primary action, then the expectations box. */
.contact-grid {
  grid-template-areas:
    "aside  form"
    "expect form"
    ".      form";
  grid-template-rows: auto auto 1fr;
}
.contact-aside { grid-area: aside; }
.contact-form-card { grid-area: form; }
.contact-expect { grid-area: expect; }
.contact-form-card h2 { font-size: 1.9rem; color: var(--dark); }
.contact-aside h2 { font-size: 1.3rem; color: var(--muted); }
@media (max-width: 760px) {
  .contact-grid {
    grid-template-areas: "aside" "form" "expect";
    grid-template-rows: none;
  }
}

/* ===== CTA band ===== */
.cta-band { background: var(--green-dark); text-align: center; padding: 55px 24px; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band .btn { background: var(--white); color: var(--green-dark); }
.cta-band .btn:hover { background: var(--cream); }

/* ===== Contact form ===== */
form { display: flex; flex-direction: column; gap: 16px; }
label { font-weight: 700; font-size: 0.92rem; }
input, select, textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 16px;
  border: 1.5px solid #6E8A7B; border-radius: 12px; background: var(--white);
  color: var(--dark); width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(97, 133, 116, .4);
}
/* Explicit, accessible placeholder colour (browser default grey is borderline).
   Placeholders stay non-essential — the <label> always carries the meaning. */
::placeholder { color: #5C6B62; opacity: 1; }
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--green-dark); outline-offset: 2px;
}
textarea { min-height: 120px; resize: vertical; }

/* Required-field indicators */
.req { color: var(--green-dark); font-weight: 800; }
.form-required-note { font-size: 0.85rem; color: var(--muted); margin: 0 0 4px; }
.form-privacy-note { font-size: 0.8rem; color: var(--muted); margin: 0; }
.form-note { font-size: 0.85rem; margin: 0; }

/* Success panel + error line start hidden; js/contact.js flips display to
   block on a successful submit / on failure (previously inline styles). */
#contactSuccess { display: none; }
#contactSuccessHeading { margin-top: 0; }
#contactError { display: none; color: #b3423e; font-size: 0.9rem; margin: 0; }

/* Honeypot wrapper: pushed off-screen so real visitors never see or fill it,
   but bots that fill every field still trip it. Not display:none on purpose. */
.visually-offscreen { position: absolute; left: -9999px; top: -9999px; }

/* Skip link: hidden until focused, then visible above the sticky header */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 1000;
  padding: 10px 18px; background: var(--green-dark); color: var(--white);
  border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }
#main:focus { outline: none; }

.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail .icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--sage-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.contact-detail a { font-weight: 700; text-decoration: none; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #cfd8d2; padding: 54px 0 26px; font-size: 0.95rem; }
.site-footer a { color: #cfd8d2; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; font-family: 'Quicksand', sans-serif; }
.site-footer .logo { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer-tagline { color: #b8c4bc; margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 20px;
  font-size: 0.82rem; color: #9fb0a6; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}

/* ===== FAQ ===== */
.faq-inner { max-width: 780px; }
.faq-head { text-align: center; margin-bottom: 38px; }
.faq-head h2 { color: var(--dark); }
.faq-sub { max-width: 520px; margin: 0 auto; }

.faq-item {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sand); color: var(--green-dark);
  font-weight: 800; font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px;
}
.faq-body { padding: 0 22px 22px; }
.faq-body p { margin: 0; }
.faq-foot {
  text-align: center; margin-top: 34px; padding-top: 32px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.8rem; }
  section { padding: 45px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Homepage redesign
   Scoped to .home (and its own class names) so the shared components used
   on the other pages — .cards/.card/.cta-band/.two-col — stay put.
   ===================================================================== */
.home { overflow-x: hidden; }

/* ----- Reveal-on-scroll (site.js adds .js-reveal on <html> when motion is
   allowed, and .in once an element scrolls into view). Without JS or with
   reduced motion the content simply shows. ----- */
html.js-reveal .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1);
}
html.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ----- Hero ----- */
.home-hero {
  position: relative; min-height: calc(100vh - 67px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 24px 48px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, var(--sand) 0%, var(--cream) 60%);
}
.home-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.home-hero .eyebrow { letter-spacing: 3px; margin-bottom: 26px; }
.home-hero h1 {
  font-size: clamp(40px, 7vw, 100px); font-weight: 700; color: #2F3A34;
  letter-spacing: -1px; margin: 0 0 30px;
}
.home-hero .accent { color: #4D6B5C; }
.home-hero-sub {
  font-size: clamp(17px, 1.6vw, 21px); color: #5C6B62; line-height: 1.6;
  max-width: 580px; margin: 0 auto 40px;
}
.home-hero .btn-row { margin: 0; }
.home-hero .btn-primary { box-shadow: 0 10px 26px rgba(97, 133, 116, 0.35); }
.home-hero .btn-primary:hover { transform: translateY(-3px); }
.home-hero .btn-secondary:hover { transform: translateY(-3px); }

/* Floating soft blobs behind the hero */
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob-1 {
  top: -200px; left: -180px; width: 560px; height: 560px; filter: blur(30px);
  background: radial-gradient(circle, rgba(127, 166, 149, 0.22) 0%, rgba(127, 166, 149, 0) 70%);
  animation: blobFloat 11s ease-in-out infinite;
}
.blob-2 {
  bottom: 40px; right: -260px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(97, 133, 116, 0.18) 0%, rgba(97, 133, 116, 0) 45%);
  animation: blobFloat 13s ease-in-out infinite reverse;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(0, -26px) scale(1.05); }
}

/* Scroll-down hint at the bottom of the hero */
.scroll-hint {
  position: relative; z-index: 1; flex-shrink: 0;
  margin-top: 44px; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}
.scroll-arrow { font-size: 22px; color: var(--green); animation: bobDown 1.8s ease-in-out infinite; }
@keyframes bobDown {
  0%, 100% { transform: translateY(0); opacity: .75; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* Hero intro fade-up (pure CSS, runs on load) */
@keyframes homeFadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.home-hero .fade-up { animation: homeFadeUp .8s ease both; }
.home-hero .fade-up-1 { animation-delay: .05s; }
.home-hero .fade-up-2 { animation-delay: .12s; }
.home-hero .fade-up-3 { animation-delay: .18s; }

/* ----- Shared section header ----- */
.home .section-head { text-align: center; margin-bottom: 52px; }
.home .section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px); color: var(--dark); max-width: 780px; margin: 0 auto;
}
.home .section-head p { font-size: 17px; color: var(--muted); margin: 12px 0 0; }

/* ----- Why section ----- */
.home-why { padding: 96px 0; }
#waarom { scroll-margin-top: 67px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.why-text { display: flex; flex-direction: column; gap: 20px; }
.why-text p { font-size: 16.5px; color: var(--muted); line-height: 1.8; margin: 0; }
.why-text strong { color: var(--dark); }

.benefits-box { background: var(--sand); border-radius: 22px; padding: 38px; }
.benefits-box h3 { font-size: 22px; color: var(--dark); margin-bottom: 22px; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.benefit-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; color: var(--dark); line-height: 1.5;
}
.benefit-list li::before {
  content: "✓"; flex-shrink: 0; width: 27px; height: 27px; border-radius: 50%;
  background: #4D6B5C; color: #fff; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* ----- Packages ----- */
.home-packages { background: var(--sand); padding: 96px 0; }
/* #pakketten scroll-margin already defined above with the old layout. */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pkg-card {
  background: var(--white); border-radius: 22px; padding: 36px 32px;
  box-shadow: 0 12px 34px rgba(47, 58, 52, 0.08);
  display: flex; flex-direction: column; border-top: 4px solid var(--sage);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(47, 58, 52, 0.14); }
/* Keep the quick hover transition even while the card carries .reveal. */
html.js-reveal .pkg-card.reveal {
  transition: transform .22s ease, box-shadow .22s ease, opacity .8s cubic-bezier(.2,.6,.2,1);
}
.pkg-icon {
  width: 56px; height: 56px; border-radius: 18px; background: var(--sand);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px;
}
.pkg-card h3 { font-size: 21px; color: var(--dark); margin-bottom: 14px; }
.pkg-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; flex-grow: 1; margin-bottom: 22px; }
.pkg-price { font-family: 'Quicksand', sans-serif; font-weight: 800; font-size: 26px; color: var(--green-dark); }
.pkg-note { font-weight: 600; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.pkg-card .btn { align-self: stretch; text-align: center; padding: 12px 22px; font-size: 14px; }
.pkg-foot { text-align: center; margin-top: 34px; font-size: 16px; color: var(--muted); }
.pkg-foot strong { color: var(--dark); }

/* ----- How it works ----- */
.home-steps { padding: 96px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-line {
  position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.step-num {
  /* White on --green is ~4.1:1 — OK only because the 22px bold digit is large
     text (3:1 bar). Switch the circle to --green-dark if the digit ever shrinks. */
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Quicksand', sans-serif; font-weight: 800; font-size: 22px;
  box-shadow: 0 6px 16px rgba(97, 133, 116, 0.35);
}
.step-item h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.step-item p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ----- Coach ----- */
.home-coach { padding: 0 0 96px; }
.coach-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 24px;
  padding: 48px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center;
}
.coach-photo {
  border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1;
  box-shadow: 0 14px 34px rgba(47, 58, 52, 0.14);
  background: linear-gradient(160deg, var(--sand), var(--sage-soft));
  display: flex; align-items: center; justify-content: center;
}
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.coach-content h2 {
  font-size: clamp(24px, 2.6vw, 30px); color: var(--dark); margin-bottom: 20px; line-height: 1.25;
}
.coach-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 0 0 26px; padding: 0; }
.coach-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.coach-list li::before { content: "✓"; color: var(--green-dark); font-weight: 800; flex-shrink: 0; }
.coach-list strong { color: var(--dark); }
.coach-link {
  display: inline-block; color: var(--green-dark); font-weight: 700; font-size: 15px;
  text-decoration: none; border-bottom: 2px solid var(--sage); padding-bottom: 2px;
}
.coach-link:hover { border-color: var(--green-dark); }

/* ----- CTA band ----- */
.home-cta-wrap { padding: 20px 0 80px; }
.home-cta {
  position: relative; overflow: hidden; text-align: center;
  /* Gradient darkened so even its lightest stop (--green-dark) clears 4.5:1
     against white text; the old light --green stop was only ~4.1:1. */
  background: linear-gradient(135deg, var(--green-dark), #3E574A);
  border-radius: 28px; padding: 72px 44px;
}
.cta-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-orb-1 { top: -70px; right: -50px; width: 240px; height: 240px; background: rgba(255, 255, 255, 0.08); }
.cta-orb-2 { bottom: -80px; left: -40px; width: 200px; height: 200px; background: rgba(255, 255, 255, 0.06); }
.home-cta h2 { position: relative; font-size: clamp(26px, 3.2vw, 36px); color: #fff; margin-bottom: 14px; }
.home-cta p { position: relative; font-size: 18px; color: #fff; margin-bottom: 32px; }
.home-cta .btn-row { position: relative; margin: 0; }
.home-cta .cta-btn { position: relative; background: #fff; color: var(--green-dark); }
.home-cta .cta-btn:hover { background: var(--cream); transform: translateY(-3px); }
.home-cta .cta-btn-outline { position: relative; background: transparent; color: #fff; border: 1.5px solid #fff; }
.home-cta .cta-btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-3px); }

/* ----- Homepage responsive ----- */
@media (max-width: 820px) {
  .home-hero { min-height: calc(100vh - 79px); }
  #waarom { scroll-margin-top: 79px; }
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .steps-line { display: none; }
  .coach-card { grid-template-columns: 1fr; gap: 32px; }
  .coach-photo { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .steps-grid { grid-template-columns: 1fr; }
  .home-why, .home-packages, .home-steps { padding: 64px 0; }
  .home-coach { padding: 0 0 64px; }
  .home-cta { padding: 56px 26px; }
  .benefits-box { padding: 30px 26px; }
  .coach-card { padding: 32px 26px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .home-hero .fade-up { animation: none; }
  .blob, .scroll-arrow { animation: none; }
  html.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .cookie-banner { transition: none; }
}

/* ===== Cookie consent banner ===== */
/* Injected by site.js. Hidden until .is-visible so it can slide up. */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  padding: 16px; pointer-events: none;
  transform: translateY(120%); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner-inner {
  max-width: 1050px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(47, 58, 52, 0.18);
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1 1 320px; min-width: 0; }
.cookie-banner-text h4 {
  font-family: 'Quicksand', 'Nunito', sans-serif; color: var(--dark);
  font-size: 1.1rem; margin-bottom: 6px;
}
.cookie-banner-text p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.cookie-banner-actions {
  display: flex; gap: 12px; flex: 0 0 auto; flex-wrap: wrap; align-items: center;
}
.cookie-banner-actions .cookie-btn { padding: 12px 26px; font-size: 0.95rem; }

.cookie-settings-link { text-decoration: underline; }

@media (max-width: 640px) {
  .cookie-banner { padding: 10px; }
  .cookie-banner-inner { padding: 18px 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .cookie-btn { flex: 1 1 auto; text-align: center; }
}

/* ===== Utilities =====
   Small single-purpose helpers that replace one-off inline style="" attributes.
   Kept last so they can override component defaults where intended. */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-6 { margin-top: 6px; }
.m-0 { margin: 0; }
.u-narrow { max-width: 680px; }
