   Both Psychotherapiepraktijk – stylesheet
 /* ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #1e4d8c;
  --blue-mid:    #3a6ea8;
  --blue-light:  #7aadd4;
  --blue-pale:   #e4eef7;
  --blue-ultra:  #f0f5fb;
  --gold:        #c4a96b;
  --gold-light:  #dfc99a;
  --gold-pale:   #f5eed9;
  --white:       #ffffff;
  --cloud:       #f4f7fb;
  --text:        #1a2a3a;
  --muted:       #5a6e82;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--cloud);
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(240,245,251,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,77,140,.1);
  animation: fadeDown .8s ease both;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600; letter-spacing: .04em;
  color: var(--blue); text-decoration: none;
}
.nav-links {
  display: flex; gap: 2.2rem; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--text);
  font-size: .73rem; letter-spacing: .07em; text-transform: uppercase;
  position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-active { color: var(--blue); }
.nav-links a.nav-active::after { width: 100%; background: var(--gold); }

/* Hamburger button – hidden on desktop */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: .4rem; color: var(--blue);
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
/* Animated X when open */
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero-image.jpg');
  background-size: cover; background-position: center 30%;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,25,50,.15) 0%,
    rgba(10,25,50,.1) 40%,
    rgba(10,25,50,.72) 85%,
    rgba(10,25,50,.88) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 4rem 5vw 5rem;
  max-width: 700px;
  animation: fadeUp .9s .3s ease both;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .73rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.2rem;
  padding: .35rem .95rem; border: 1px solid rgba(196,169,107,.5);
  border-radius: 2rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 1.4rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,.8);
  max-width: 46ch; margin-bottom: 2.4rem;
}
/* ── WACHTTIJD BADGE ─────────────────────────────────────── */
.wachttijd-badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  border-radius: 3rem;
  padding: .6rem 1.2rem .6rem .9rem;
  margin-bottom: 2.4rem;
}
.wachttijd-dot {
  width: 8px; height: 8px;
  background: #5dd67a;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(93,214,122,.25);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(93,214,122,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(93,214,122,.1); }
}
.wachttijd-label {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.wachttijd-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: .02em;
}

.btn {
  display: inline-block; padding: .85rem 2rem;
  background: var(--gold); color: var(--white);
  border-radius: 3rem; text-decoration: none;
  font-size: .88rem; letter-spacing: .05em;
  transition: background .25s, transform .2s;
}
.btn:hover { background: #a8894d; transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5); margin-left: 1rem;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ── SECTION BASE ────────────────────────────────────────── */
section { padding: 6rem 5vw; }
section[id] { /* scroll-margin-top set dynamically via JS */ }

/* Tekst-secties die direct op elkaar volgen krijgen minder ruimte */
#werkwijze { padding: 0; }  /* handled by .steps-timeline section rule */
.section-label {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.2;
  margin-bottom: 1.4rem; color: var(--blue);
}
.section-body {
  font-size: .97rem; line-height: 1.85; color: var(--muted); max-width: 60ch;
}
.section-body + .section-body { margin-top: 1rem; }
ul.section-body { padding-left: 1.5rem; }
.scroll-anchor { margin-top: 2rem; }

/* ── OVER MIJ ────────────────────────────────────────────── */
#over {
  background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.over-img-wrap { position: relative; }
.over-img-wrap > img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: center top;
  border-radius: 1.5rem; display: block;
}
.over-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--blue); color: var(--white);
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; font-size: .73rem; line-height: 1.45;
  font-weight: 500; letter-spacing: .03em;
}

/* ── WERKWIJZE & SUBSECTIES ──────────────────────────────── */
#diensten { background: var(--blue-ultra); }

/* ── DIENSTEN BOX ────────────────────────────────────────── */
.diensten-box {
  margin-top: 3rem;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 3rem;
  max-width: 860px;
  box-shadow: 0 8px 40px rgba(30,77,140,.08);
}
.diensten-box-header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem;
}
.dienst-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--blue-pale); border-radius: .8rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.diensten-box-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 600; color: var(--blue); margin: 0;
}
.diensten-body {
  font-size: .97rem; line-height: 1.85; color: var(--muted); margin-bottom: 1.2rem;
}
.diensten-body:last-of-type { margin-bottom: 2rem; }
.diensten-stats {
  border-top: 1px solid var(--blue-pale);
  padding-top: 1.8rem;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem;
}
.diensten-stat { text-align: center; }
.diensten-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--blue); font-weight: 600;
}
.diensten-stat-label {
  font-size: .8rem; color: var(--muted); letter-spacing: .05em; margin-top: .2rem;
}

/* ── CONTACT ─────────────────────────────────────────────── */
#contact {
  background: var(--white);
  padding-top: 2rem;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-left {}
.contact-map {
  height: 380px;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30,77,140,.1);
  border: 1px solid var(--blue-pale);
  margin-top: 2.6rem; /* align with info below label */
}
.contact-info { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 2.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--blue-pale); border-radius: .7rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-item-text strong {
  display: block; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .2rem;
}
.contact-item-text span { font-size: .93rem; color: var(--muted); line-height: 1.6; }
.contact-item-text a { color: inherit; text-decoration: none; }

/* Werkwijze e-mail link in body tekst */
.werkwijze-email a { color: inherit; text-decoration: underline; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #0d1e33;
  color: rgba(255,255,255,.7);
  padding: 3.5rem 5vw 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--gold-light); margin-bottom: .6rem;
}
.footer-tagline { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.4); }
footer h4 {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1rem;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-list li { font-size: .85rem; line-height: 1.6; }
.footer-list strong {
  color: rgba(255,255,255,.5); font-weight: 500;
  display: block; font-size: .78rem; letter-spacing: .05em;
}
.footer-list span { color: rgba(255,255,255,.35); }
.footer-list a { color: inherit; text-decoration: none; }
footer a { color: inherit; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.8rem;
  font-size: .78rem; color: rgba(255,255,255,.25);
}

/* ── DIVIDER ─────────────────────────────────────────────── */
.wave-divider { width:100%; overflow:hidden; line-height:0; }
.wave-divider svg { display:block; width:100%; }

/* ── ANIMATIES ───────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity:0; transform:translateY(-16px); }
  to   { opacity:1; transform:none; }
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:none; }
}

/* ── RESPONSIVE: TABLET (max 900px) ─────────────────────── */
@media (max-width: 900px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(240,245,251,.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30,77,140,.1);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: .85rem 5vw;
    font-size: .8rem; border-bottom: 1px solid rgba(30,77,140,.06);
  }
  .nav-links a::after { display: none; }

  /* Grid → single column */
  #over { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Over afbeelding minder hoog op tablet */
  .over-img-wrap > img { aspect-ratio: 3/2; }
  .over-badge { right: 1rem; bottom: -1rem; }

  /* Sections minder padding */
  section { padding: 4rem 5vw; }


  /* Diensten stats 1 kolom */
  .diensten-stats { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

/* ── RESPONSIVE: MOBIEL (max 600px) ─────────────────────── */
@media (max-width: 600px) {
  /* Nav logo kleiner */
  .nav-logo { font-size: 1rem; }

  /* Hero */
  .hero-content { padding: 3rem 5vw 4rem; }
  .hero-eyebrow { font-size: .68rem; }
  .hero-sub { font-size: .93rem; margin-bottom: 1.8rem; }

  /* Knoppen stapelen op klein scherm */
  .hero-buttons { display: flex; flex-direction: column; gap: .8rem; }
  .btn-ghost { margin-left: 0; }
  .btn, .btn-ghost { text-align: center; }

  /* Sections */
  section { padding: 3rem 5vw; }

  /* Over afbeelding vierkant op telefoon */
  .over-img-wrap > img { aspect-ratio: 1/1; }
  .over-badge {
    width: 90px; height: 90px; font-size: .65rem;
    right: .5rem; bottom: -.8rem;
  }

  /* Section body volle breedte op telefoon */
  .section-body { max-width: 100%; }

  /* Diensten box minder padding */
  .diensten-box { padding: 1.6rem; }
  .diensten-box-title { font-size: 1.3rem; }
  .diensten-stats { grid-template-columns: 1fr 1fr; }

  /* Contact form */

  /* Footer */
  .footer-tagline { font-size: .8rem; }
  footer h4 { margin-top: 1.2rem; }
}

/* ── AANBOD SECTION ─────────────────────────────────────── */
#aanbod {
  background: var(--white);
  padding: 4rem 5vw;
}
.aanbod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 1.5rem;
}
.aanbod-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  border-left: 2px solid var(--blue-pale);
  padding-left: 2rem;
}
.aanbod-list li {
  font-size: .97rem;
  line-height: 1.7;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: .75rem;
}
.aanbod-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .35rem;
}

/* ── WERKWIJZE STEPS GRID ────────────────────────────────── */
#werkwijze { background: var(--blue-ultra); padding: 4rem 5vw; }
.steps-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2.5rem;
}
.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: var(--blue-ultra);
  border-radius: 1rem;
}
.step-num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600;
}
.step-body { flex: 1; }
.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--blue);
  margin-bottom: .3rem;
}

/* ── INFO CARDS (kwaliteit, kosten, praktijk, privacy) ─── */
.info-cards-section {
  background: var(--white);
  padding: 4rem 5vw 4rem;
}
.info-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.info-card {
  background: var(--blue-ultra);
  border-radius: 1.2rem;
  padding: 2.2rem;
  border: 1px solid var(--blue-pale);
  transition: box-shadow .25s;
  scroll-margin-top: 100px; /* wordt overschreven door JS updateScrollMargins */
}
.info-card:hover {
  box-shadow: 0 6px 28px rgba(30,77,140,.08);
}
.info-card-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}



/* ── RESPONSIVE: info cards + aanbod + contact ───────────── */
@media (max-width: 900px) {
  .aanbod-grid { grid-template-columns: 1fr; gap: 2rem; }
  .info-card-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-map { height: 280px; margin-top: 0; }
}
@media (max-width: 600px) {
  .step-item { gap: .8rem; padding: 1rem; }
  .step-num { width: 28px; height: 28px; font-size: .9rem; }
  .info-card { padding: 1.4rem; }
  .contact-card { padding: 1rem 1.2rem; }
}

/* ── KAART-ANKERS (onzichtbaar, voor correcte scroll-positie) */
.card-anchor {
  display: block;
  height: 0;
  overflow: hidden;
}
.maps-link {
  display: inline-block;
  margin-top: .4rem;
  font-size: .82rem;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: .02em;
}
.maps-link:hover { text-decoration: underline; }
