/* =====================================================================
   BeauMedic — ESHA Methode
   Design system: rust, ruimte, zekerheid. "Beleving zonder drukte."
   ===================================================================== */

:root {
  /* Basis / achtergronden */
  --creme:       #F7F2EC;
  --zand:        #E8DDD3;

  /* Tekst & autoriteit */
  --espresso:    #3C2415;
  --espresso-80: #5A4232;

  /* Accenten */
  --terracotta:  #B8755D;
  --goud:        #A0885B;

  /* Tweede accent (Sharon's interieur) */
  --groen:       #3E5349;

  /* Functioneel */
  --wit:         #FFFFFF;
  --schaduw:     rgba(60, 36, 21, 0.08);
  --schaduw-diep: rgba(60, 36, 21, 0.14);

  /* Maatvoering */
  --max:         1200px;
  --radius:      22px;
  --radius-s:    16px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  /* Fonts */
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--espresso);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1.1em; max-width: 62ch; }
p.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--espresso-80); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--goud);
  margin: 0 0 1.1rem;
  display: inline-block;
}
.eyebrow.terra { color: var(--terracotta); }

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.4;
  color: var(--espresso);
  max-width: 30ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 5vw, 3rem);
}

section { position: relative; }

.section-pad { padding: clamp(4rem, 9vw, 9rem) 0; }
.section-pad-s { padding: clamp(3rem, 6vw, 6rem) 0; }

.bg-creme  { background: var(--creme); }
.bg-zand   { background: var(--zand); }
.bg-groen  { background: var(--groen); color: var(--creme); }
.bg-terra  { background: var(--terracotta); color: var(--creme); }
.bg-espresso { background: var(--espresso); color: var(--creme); }

.bg-groen h1, .bg-groen h2, .bg-groen h3,
.bg-terra h1, .bg-terra h2, .bg-terra h3,
.bg-espresso h1, .bg-espresso h2, .bg-espresso h3 { color: var(--creme); }
.bg-groen .eyebrow, .bg-terra .eyebrow, .bg-espresso .eyebrow { color: var(--zand); }
.bg-groen p, .bg-terra p, .bg-espresso p { color: rgba(247, 242, 236, 0.85); }

.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.measure { max-width: 640px; }
.measure.center { margin: 0 auto; }

/* Grids */
.grid { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--goud);
  color: var(--creme);
  box-shadow: 0 12px 30px rgba(160, 136, 91, 0.28);
}
.btn-primary:hover {
  background: var(--terracotta);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(184, 117, 93, 0.32);
}
.btn-outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--espresso);
}
.btn-outline:hover {
  background: var(--espresso);
  color: var(--creme);
  transform: translateY(-3px);
}
.btn-light {
  background: var(--creme);
  color: var(--espresso);
}
.btn-light:hover { background: var(--goud); color: var(--creme); transform: translateY(-3px); }

.btn-lg { padding: 1.15em 2.4em; font-size: 1.05rem; }

/* ---------- Header / navigatie ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.4rem, 5vw, 3rem);
  max-width: 1440px;
  margin: 0 auto;
}
.site-header.scrolled {
  background: var(--creme);
  box-shadow: 0 6px 30px var(--schaduw);
}
.brand img { height: 42px; width: auto; }
.brand .logo-light { display: block; }
.brand .logo-dark  { display: none; }
.site-header.scrolled .brand .logo-light { display: none; }
.site-header.scrolled .brand .logo-dark  { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 400;
  color: var(--creme);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.2em 0;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--goud);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.site-header.scrolled .nav-links a { color: var(--espresso); }

.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-tel {
  display: inline-flex;
  color: var(--creme);
  transition: color 0.3s var(--ease);
}
.site-header.scrolled .nav-tel { color: var(--espresso); }
.nav-tel svg { width: 22px; height: 22px; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  position: relative;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--creme);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.3s;
}
.site-header.scrolled .nav-toggle span,
.nav-open .nav-toggle span { background: var(--espresso); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--creme);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  animation: kenburns 18s ease-out forwards;
}
@keyframes kenburns { to { transform: scale(1.1); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(60,36,21,0.50) 0%,
    rgba(60,36,21,0.42) 42%,
    rgba(60,36,21,0.78) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 4rem; }
.hero h1 { color: var(--creme); max-width: 16ch; }
.hero p { color: rgba(247,242,236,0.92); max-width: 46ch; }
.hero .btn-row { margin-top: 2rem; }

.hero-small {
  min-height: 62vh;
  /* ruime marge onder de vaste menubalk, op elke binnenpagina */
  padding-top: clamp(9rem, 15vh, 13rem);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Kaarten ---------- */
.card {
  background: var(--wit);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 0 20px 60px var(--schaduw);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px var(--schaduw-diep); }
.card .num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--goud);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--espresso-80); margin-bottom: 0; }

.pillar {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.pillar .num { display: inline-flex; }

/* Prijs-/traject-kaarten */
.traject-card {
  background: var(--wit);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 0 20px 60px var(--schaduw);
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.traject-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px var(--schaduw-diep); }
.traject-card.featured { border-color: var(--goud); }
.traject-card .badge {
  align-self: flex-start;
  background: var(--goud);
  color: var(--creme);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.traject-card .prijs {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--espresso);
  margin: 0.3rem 0 0.2rem;
}
.traject-card .duur { font-size: 0.9rem; color: var(--goud); letter-spacing: 0.06em; text-transform: uppercase; }
.traject-card p { color: var(--espresso-80); }

/* Groot contrast-cijfer */
.bignum {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 1;
  color: var(--terracotta);
  font-weight: 500;
}

/* Media-blok */
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 70px var(--schaduw-diep);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 70px var(--schaduw-diep);
  aspect-ratio: 16 / 9;
  background: var(--zand);
}
.video-frame video, .video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; color: var(--espresso-80);
  background: linear-gradient(135deg, var(--zand), var(--creme));
  text-align: center; padding: 2rem;
}
.play-btn {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--goud); color: var(--creme);
  display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(160,136,91,0.35);
}
.play-btn svg { width: 26px; height: 26px; margin-left: 4px; }

/* Placeholder-notitie */
.ph {
  border: 1.5px dashed var(--goud);
  border-radius: var(--radius-s);
  padding: 2.4rem;
  text-align: center;
  color: var(--espresso-80);
  background: rgba(160,136,91,0.05);
  font-size: 0.95rem;
}
.ph strong { color: var(--goud); }

/* Lijst met vinkjes */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  color: var(--espresso-80);
}
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--goud);
}

/* ---------- Wave dividers ---------- */
/* -1px marges: de wave overlapt de aangrenzende secties, zodat er nooit
   een haarlijn (body-achtergrond) door de naad schemert, ongeacht scherm/zoom. */
.wave { display: block; width: 100%; height: auto; line-height: 0; margin: -1px 0; position: relative; }
.wave svg { display: block; width: 100%; height: clamp(50px, 7vw, 110px); }

/* ---------- Reveal-animaties ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--groen);
  color: rgba(247,242,236,0.82);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem;
}
.site-footer h4 {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--zand);
  margin: 0 0 1.1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
}
.footer-grid a { color: rgba(247,242,236,0.82); transition: color 0.3s; }
.footer-grid a:hover { color: var(--creme); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.6rem; }
.footer-brand img { height: 48px; margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(247,242,236,0.72); font-size: 0.96rem; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(247,242,236,0.16);
  display: flex; flex-wrap: wrap; gap: 1rem 1.6rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(247,242,236,0.6);
}
.footer-bottom a { color: rgba(247,242,236,0.6); }

/* ---------- Sticky mobiele CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
}
.sticky-cta .btn { width: 100%; justify-content: center; }

/* ---------- Mobiel ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    background: var(--creme);
    padding: 5rem 2.2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    box-shadow: -20px 0 60px var(--schaduw-diep);
  }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-links a { color: var(--espresso); font-size: 1.15rem; }
  .nav-cta .btn { display: none; }
  .nav-open .nav-links .btn-mobile { display: inline-flex; margin-top: 0.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: block; }
  .hero { min-height: 92svh; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 1rem; }
}

/* ---------- Toegankelijkheid ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; transform: none; }
}

:focus-visible { outline: 2px solid var(--goud); outline-offset: 3px; border-radius: 4px; }
