/* ==========================================================================
   Babette Ernest Coaching — restyled site
   Palette matches the existing brand: warm rose accent on a soft ivory
   ground. Type: Poppins throughout, for a calm, unified feel.
   ========================================================================== */

:root {
  --ink: #2c2420;
  --ink-soft: #6b5f58;
  --linen: #f7f2ee;
  --linen-raised: #ffffff;
  --line: rgba(44, 36, 32, 0.12);

  --rose: #c08e82;
  --rose-deep: #9c6a5e;
  --rose-tint: #f1e0da;

  --plum: #2e1712;
  --plum-soft: #4a2b24;

  --gold: #b6873f;

  --shadow: 0 26px 50px -26px rgba(44, 36, 32, 0.28);
  --shadow-sm: 0 12px 26px -16px rgba(44, 36, 32, 0.22);
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3ece6;
    --ink-soft: #cbb9b0;
    --linen: #1d1613;
    --linen-raised: #271e1a;
    --line: rgba(243, 236, 230, 0.14);
    --rose: #dba296;
    --rose-deep: #e7b6ab;
    --rose-tint: #3a2620;
    --plum: #140b09;
    --plum-soft: #2a1a15;
    --gold: #d3ab63;
    --shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.6);
    --shadow-sm: 0 12px 26px -16px rgba(0, 0, 0, 0.55);
  }
}
:root[data-theme="dark"] {
  --ink: #f3ece6; --ink-soft: #cbb9b0; --linen: #1d1613; --linen-raised: #271e1a;
  --line: rgba(243, 236, 230, 0.14); --rose: #dba296; --rose-deep: #e7b6ab;
  --rose-tint: #3a2620; --plum: #140b09; --plum-soft: #2a1a15; --gold: #d3ab63;
  --shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.6); --shadow-sm: 0 12px 26px -16px rgba(0, 0, 0, 0.55);
}
:root[data-theme="light"] {
  --ink: #2c2420; --ink-soft: #6b5f58; --linen: #f7f2ee; --linen-raised: #ffffff;
  --line: rgba(44, 36, 32, 0.12); --rose: #c08e82; --rose-deep: #9c6a5e;
  --rose-tint: #f1e0da; --plum: #2e1712; --plum-soft: #4a2b24; --gold: #b6873f;
  --shadow: 0 26px 50px -26px rgba(44, 36, 32, 0.28); --shadow-sm: 0 12px 26px -16px rgba(44, 36, 32, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--linen);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
em { font-style: normal; color: var(--rose-deep); font-weight: 600; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--rose); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem;
  font-weight: 500; color: var(--ink-soft); margin-bottom: 16px;
}
.section-head .eyebrow { justify-content: center; }

.section { padding: 44px 0; }
.section-alt { background: var(--linen-raised); }
.section-head { max-width: 620px; margin: 0 auto 28px; text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0 auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.btn-primary { background: var(--rose); color: #fff8f5; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--rose-deep); }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--linen); }
.btn-light { background: var(--linen-raised); color: var(--rose-deep); }
.btn-light:hover { background: var(--rose-tint); }
.btn-block { width: 100%; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--linen) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; max-width: var(--maxw); margin: 0 auto; }
.logo { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.2rem; white-space: nowrap; }
.logo em { font-style: normal; color: var(--rose-deep); }
.nav-links { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); padding: 4px; }
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 0.82rem; }
  .logo { font-size: 1rem; }
  .nav { padding: 16px 20px; gap: 10px; }
}
@media (max-width: 480px) {
  .nav { padding: 14px 12px; }
  .nav-cta { gap: 4px; }
  .logo { font-size: 0.82rem; }
  .whatsapp-link { padding: 6px; }
  .nav-cta .btn-primary { padding: 8px 12px; font-size: 0.72rem; white-space: nowrap; }
  .nav-toggle { padding: 2px; font-size: 1.3rem; }
}
.mobile-menu { display: none; flex-direction: column; padding: 6px 28px 22px; background: var(--linen); border-top: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-weight: 500; }

.whatsapp-link {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink-soft); font-weight: 500; font-size: 0.9rem;
  padding: 8px 10px; border-radius: 999px; transition: color 0.15s ease, background 0.15s ease;
}
.whatsapp-link:hover { color: #2f9e5c; background: rgba(47, 158, 92, 0.1); }
.whatsapp-link svg { flex-shrink: 0; }
@media (max-width: 1060px) { .whatsapp-link span { display: none; } }

/* hero — text and photo side by side, never overlapping */
.hero { padding: 48px 0 56px; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-frame { order: -1; max-width: 340px; margin: 0 auto 24px; }
  .hero-content { text-align: center; }
  .hero-actions, .hero-stats { justify-content: center; }
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); max-width: 15ch; color: var(--ink); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.hero-stats { display: flex; gap: 40px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.3rem; color: var(--ink); }
.hero-stat span { font-size: 0.78rem; color: var(--ink-soft); }

.hero-photo-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

/* about */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.about-list li { display: flex; gap: 13px; align-items: flex-start; font-weight: 500; }
.about-list li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--rose-tint); color: var(--rose-deep); display: flex; align-items: center;
  justify-content: center; font-size: 0.75rem; font-weight: 700;
}
/* lifestyle strip */
.lifestyle-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 480px) {
  .lifestyle-strip { gap: 8px; }
}
.lifestyle-strip figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-sm); }
.lifestyle-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.lifestyle-strip figure:hover img { transform: scale(1.04); }

/* app showcase */
.app-showcase .container { position: relative; z-index: 1; }
.app-showcase-img { max-width: 340px; width: 100%; margin: 0 auto; display: block; }
.app-showcase { padding: 12px 0; }
.app-showcase .section-head { margin-bottom: 6px; }
.app-showcase .section-head .eyebrow { margin-bottom: 6px; }
.app-showcase .section-head h2 { margin-bottom: 0; }
.app-showcase-features {
  display: grid; gap: 8px; max-width: 280px; margin: 6px auto 0;
  list-style: none; padding: 0;
}
.app-showcase-features li {
  background: var(--linen-raised); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-size: 0.85rem; font-weight: 600; text-align: center;
  opacity: 1; transform: none;
}

/* packages — dark "meest gekozen" card + light outlined cards, no prices */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .packages { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.package-card {
  border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column;
  border: 1.5px solid var(--line); background: var(--linen-raised); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.package-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.package-card.featured {
  background: var(--plum); border-color: var(--plum);
  color: #f7ece6;
}
.package-card.featured .package-sub,
.package-card.featured .package-tag { color: rgba(247,236,230,0.72); }
.package-card.featured .package-features li { color: #f7ece6; }
.package-card.featured .package-features li.muted { color: rgba(247,236,230,0.5); }
.package-card.featured .package-features li::before { color: var(--rose); }

.package-tag {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700;
  color: var(--rose-deep); margin-bottom: 14px;
}
.package-badge {
  display: inline-block; background: var(--rose); color: #fff8f5; font-size: 0.68rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 18px; width: fit-content;
}
.package-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.package-sub { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 18px; }

.package-features { list-style: none; padding: 0; margin: 0 0 20px; display: grid; align-content: start; gap: 10px; flex-grow: 1; }
.package-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.package-features li::before { content: "✓"; flex-shrink: 0; color: var(--rose-deep); font-weight: 700; }
.package-features li.muted { color: var(--ink-soft); }
.package-features li.muted::before { content: "–"; color: var(--ink-soft); opacity: 0.5; }

/* werkwijze */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step-card { background: var(--linen); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step-number {
  width: 40px; height: 40px; border-radius: 50%; background: var(--rose-tint); color: var(--rose-deep);
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px;
}
.step-card h3 { font-size: 1.15rem; }
.step-card p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.95rem; }

/* testimonials */
.testimonials-carousel { position: relative; }
.testimonials-grid {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none; -ms-overflow-style: none;
}
.testimonials-grid::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start;
  background: var(--linen-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; display: flex; flex-direction: column;
}
@media (max-width: 780px) {
  .testimonial-card { flex: 0 0 85%; }
}
.testimonial-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; font-size: 0.9rem; }
.testimonial-card p { font-size: 0.96rem; color: var(--ink); flex-grow: 1; max-width: none; }
.testimonial-name { font-weight: 600; font-size: 0.85rem; margin-top: 14px; color: var(--ink-soft); }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--linen-raised); box-shadow: var(--shadow-sm); cursor: pointer;
  font-size: 1.4rem; line-height: 1; color: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.carousel-arrow:hover { background: var(--rose); color: #fff8f5; border-color: var(--rose); }
.carousel-arrow.prev { left: -18px; }
.carousel-arrow.next { right: -18px; }
@media (max-width: 700px) { .carousel-arrow { display: none; } }

/* faq */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--linen-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { font-size: 1.3rem; color: var(--rose); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.95rem; display: grid; gap: 10px; }
.faq-item .faq-answer p { margin: 0; }

/* cta */
.cta-section { background: var(--plum); color: #f7ece6; border-radius: 28px; margin: 0 24px; padding: 44px 36px; text-align: center; }
.cta-section h2 { color: #f7ece6; }
.cta-section p { color: rgba(247,236,230,0.78); max-width: 520px; margin: 0 auto 22px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* contact */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: flex-start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 16px; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--rose-tint); color: var(--rose-deep);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; font-weight: 700;
}
.contact-info-item strong { display: block; margin-bottom: 3px; font-weight: 600; }
.contact-info-item span, .contact-info-item a { color: var(--ink-soft); font-size: 0.94rem; }
.contact-info-item a:hover { color: var(--rose-deep); }

.contact-form {
  background: var(--linen-raised); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px;
}
.form-kicker {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 600; color: var(--rose-deep);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.form-row { display: grid; gap: 6px; }
.form-row label, .form-row-label { font-size: 0.85rem; font-weight: 600; }
.form-row input, .form-row textarea {
  -webkit-appearance: none; appearance: none; width: 100%; box-sizing: border-box;
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  font-family: "Poppins", sans-serif; font-size: 0.95rem; background: var(--linen); color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-tint);
}

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--linen); color: var(--ink-soft); font-family: "Poppins", sans-serif;
  font-size: 0.86rem; font-weight: 500; cursor: pointer;
  transition: all 0.15s ease;
}
.pill:hover { border-color: var(--rose); color: var(--ink); }
.pill.active { background: var(--rose); border-color: var(--rose); color: #fff8f5; }
.pill:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }

.form-note { font-size: 0.78rem; color: var(--ink-soft); text-align: center; }
.form-status { font-size: 0.88rem; text-align: center; font-weight: 500; margin: 0; }
.form-status.success { color: #2f7a4e; }
.form-status.error { color: #b3413a; }

.schedule-block {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line);
  text-align: center; display: grid; gap: 14px;
}
.schedule-block p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

/* legal pages */
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h2 { font-size: 1.25rem; margin-top: 2.2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--ink-soft); }
.legal-content ol, .legal-content ul { color: var(--ink-soft); padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 8px; }
.legal-content li { padding-left: 4px; }
.legal-content ul ul, .legal-content ol ul { margin: 8px 0 0; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--rose-deep); text-decoration: underline; }
.legal-updated { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 2.4em; }

/* footer */
.site-footer { padding: 44px 0 22px; color: var(--ink-soft); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-bottom: 30px; }
.footer-brand .logo { color: var(--ink); }
.footer-brand p { max-width: 320px; margin-top: 10px; font-size: 0.9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--rose-tint); color: var(--rose-deep);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { background: var(--rose); color: #fff8f5; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; color: var(--ink); }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { font-size: 0.9rem; }
.footer-links a:hover { color: var(--rose-deep); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; }


@media (max-width: 640px) {
  .section { padding: 36px 0; }
  .cta-section { margin: 0 16px; padding: 32px 22px; }
}

/* scroll reveal — subtle fade + slide as sections enter view.
   Elements are fully visible by default; the hidden/animated state
   only applies once JS confirms it's actually running and observing
   (html.reveal-ready), so content can never get stuck invisible if
   the animation script fails for any reason. */
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal {
  opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease;
}
html.reveal-ready .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}