/* ============================================================
   Rooted — gedeeld stylesheet
   Lettertypen worden geladen via <link> in elk HTML-bestand.
   Body-klassen scheiden pagina-specifieke stijlen:
     .page-index   → placeholder (index.html)
     .page-website → volledige website (rooted-website.html)
   ============================================================ */


/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


/* ── Design tokens ── */
:root {
  --sand:        #F3F1EC;
  --sand-dark:   #e4e0d6;
  --green:       #2F5B52;
  --green-mid:   #5a8a82;
  --green-light: #8FAEA6;
  --accent:      #D6A84F;
  --text:        #2a2a24;
  --muted:       #6B6E6D;
  --white:       #fdfcf9;
}


/* ── Gedeelde basis ── */
html { scroll-behavior: smooth; }
a    { color: inherit; text-decoration: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   INDEX — placeholder pagina
   ============================================================ */

html.page-index,
html.page-index body { height: 100%; }

body.page-index {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--sand);
  color: var(--text);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

body.page-index::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(47, 91, 82, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(143, 174, 166, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body.page-index > * { position: relative; z-index: 1; }

.logo {
  width: clamp(80px, 14vw, 140px);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.9s ease forwards 0.2s;
}

body.page-index h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--green);
  line-height: 1.05;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s ease forwards 0.45s;
}

.tagline {
  margin-top: 1.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  color: var(--green-light);
  max-width: 42ch;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s ease forwards 0.7s;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--green-light);
  margin: 2.4rem auto;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.9s;
}

.sub {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: var(--muted);
  max-width: 38ch;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1.1s;
}

.notify-form {
  margin-top: 2.4rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1.3s;
}

.notify-form input[type="email"] {
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--green-light);
  border-radius: 4px;
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  width: 240px;
  outline: none;
  transition: border-color 0.2s;
}

.notify-form input[type="email"]:focus { border-color: var(--green); }

.notify-form input[type="email"]::placeholder { color: var(--muted); }

.notify-form button {
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.notify-form button:hover { background: #c09040; }

.confirm-msg {
  display: none;
  margin-top: 2.4rem;
  font-size: 0.95rem;
  color: var(--green);
  font-style: normal;
  animation: fadeUp 0.5s ease forwards;
}

body.page-index footer {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1.5s;
}


/* ============================================================
   WEBSITE — volledige website
   ============================================================ */

body.page-website {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--sand);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;

  --fs-hero:  clamp(3.2rem, 8vw, 7rem);
  --fs-h2:    clamp(2rem, 4vw, 3rem);
  --fs-h3:    clamp(1.4rem, 2.5vw, 1.9rem);
  --fs-body:  clamp(1rem, 1.2vw, 1.1rem);
  --fs-small: 0.875rem;

  --section-pad: clamp(5rem, 10vw, 9rem);
  --gutter:      clamp(1.5rem, 5vw, 4rem);
}

body.page-website h1,
body.page-website h2,
body.page-website h3,
body.page-website h4,
body.page-website blockquote {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  font-weight: 400;
}

body.page-website h2 { font-size: var(--fs-h2); color: var(--green); }
body.page-website h3 { font-size: var(--fs-h3); font-weight: 500; }

body.page-website p { font-size: var(--fs-body); max-width: 68ch; }

/* ── Layout helpers ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-pad) 0; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s;
}

nav.scrolled {
  background: rgba(243, 241, 236, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-logo img { height: 36px; width: auto; }

.nav-logo span {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.3em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  color: var(--text);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(47,91,82,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(143,174,166,0.1) 0%, transparent 60%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--gutter) 4rem;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: var(--fs-small);
  letter-spacing: 0.18em;
  color: var(--green-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: var(--fs-hero);
  color: var(--green);
  line-height: 1.0;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.hero-title em { font-style: italic; color: var(--green-light); }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 3rem;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: #c09040; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  margin-left: 1rem;
}

.btn-outline:hover { background: var(--green); color: var(--white); }

.hero-scroll {
  padding: 2rem var(--gutter);
  text-align: right;
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

/* ── Pull-quote / intro ── */
.intro-strip {
  background: var(--green);
  padding: 4rem var(--gutter);
  color: var(--white);
}

.intro-strip blockquote {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.intro-strip cite {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  opacity: 0.65;
  margin-top: 1.5rem;
  font-style: normal;
}

/* ── Waarom ── */
#waarom { background: var(--sand); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-text h2 { margin-bottom: 1.8rem; }
.why-text p  { margin-bottom: 1.2rem; color: var(--muted); }
.why-text p strong { color: var(--text); }

.why-stat { display: grid; gap: 2rem; }

.stat-card {
  background: var(--white);
  padding: 2rem 2.2rem;
  border-left: 3px solid var(--green-light);
}

.stat-card p { font-size: var(--fs-small); color: var(--muted); max-width: none; }

.stat-card strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 0.5rem;
}

/* ── Methode ── */
#methode { background: var(--white); }

.method-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.method-intro h2 { margin-bottom: 1rem; }
.method-intro p  { color: var(--muted); margin: 0 auto; }

.infographic-wrap {
  max-width: 820px;
  margin: 0 auto 5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.infographic-wrap img { width: 100%; display: block; }

/* ── Vier fasen ── */
.phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--sand-dark);
}

.phase {
  padding: 2.4rem 2rem;
  border-right: 1px solid var(--sand-dark);
  position: relative;
}

.phase:last-child { border-right: none; }

.phase-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--sand-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.phase h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.phase p { font-size: var(--fs-small); color: var(--muted); max-width: none; line-height: 1.6; }

/* ── Video ── */
#video-section { background: var(--sand); text-align: center; }

.video-intro { max-width: 580px; margin: 0 auto 3rem; }
.video-intro h2 { margin-bottom: 1rem; }
.video-intro p  { color: var(--muted); margin: 0 auto; }

.video-wrap {
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 12px 60px rgba(0,0,0,0.1);
}

.video-wrap video { width: 100%; display: block; }

/* ── Resultaten ── */
#resultaten { background: var(--white); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--sand-dark);
  border: 2px solid var(--sand-dark);
  margin-top: 3.5rem;
}

.result-card { background: var(--white); padding: 2.5rem 2.8rem; }

.result-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--green-light);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-icon svg { fill: none; stroke: var(--white); stroke-width: 2; }

.result-card h3 { font-size: 1.2rem; color: var(--green); margin-bottom: 0.6rem; font-weight: 500; }
.result-card p  { font-size: var(--fs-small); color: var(--muted); max-width: none; }

/* ── Fundament ── */
#fundament { background: var(--sand); }

.fundament-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.fundament-list { list-style: none; margin-top: 2rem; }

.fundament-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--sand-dark);
  font-size: var(--fs-small);
}

.fundament-list li strong {
  display: block;
  color: var(--green);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.fundament-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--green);
  padding-top: 0.5rem;
}

.fundament-quote em { font-style: italic; color: var(--accent); }

/* ── Team ── */
#team { background: var(--white); }

.team-intro { max-width: 700px; margin-bottom: 4rem; }
.team-intro h2 { margin-bottom: 1.5rem; }

.team-intro blockquote {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-style: italic;
  color: var(--muted);
  border-left: 3px solid var(--green-light);
  padding-left: 1.5rem;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.team-portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 1.5rem;
  filter: grayscale(20%);
}

.team-member h3 { font-size: 1.4rem; color: var(--green); margin-bottom: 0.3rem; }

.team-role {
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  color: var(--green-light);
  margin-bottom: 1rem;
}

.team-member p { font-size: 0.92rem; color: var(--muted); max-width: none; line-height: 1.7; }

/* ── Contact ── */
#contact { background: var(--green); color: var(--white); text-align: center; }

#contact h2 { color: var(--white); margin-bottom: 1rem; }

#contact p { color: rgba(255,255,255,0.7); margin: 0 auto 2.5rem; max-width: 48ch; }

.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-white { background: var(--accent); color: var(--text); }
.btn-white:hover { background: #c09040; }

.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ── Footer ── */
body.page-website footer {
  background: var(--green);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2rem var(--gutter);
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
}

body.page-website footer a { color: rgba(255,255,255,0.75); }

/* ── Divider ── */
.leaf-divider { text-align: center; padding: 2rem 0; color: var(--green-light); font-size: 1.2rem; }

/* ── Animaties ── */
.fade-up { transition: opacity 0.7s ease, transform 0.7s ease; }

.js-ready .fade-up { opacity: 0; transform: translateY(24px); }
.js-ready .fade-up.visible { opacity: 1; transform: translateY(0); }

.hero-inner > * { animation: fadeUp 0.9s ease both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.55s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .why-grid       { grid-template-columns: 1fr; gap: 3rem; }
  .phases         { grid-template-columns: 1fr 1fr; }
  .phase:nth-child(2) { border-right: none; }
  .phase:nth-child(3) { border-top: 1px solid var(--sand-dark); }
  .fundament-grid { grid-template-columns: 1fr; gap: 3rem; }
  .team-grid      { grid-template-columns: repeat(2, 1fr); max-width: none; }
}

@media (max-width: 680px) {
  .results-grid { grid-template-columns: 1fr; }
  .phases       { grid-template-columns: 1fr; }
  .phase        { border-right: none; border-bottom: 1px solid var(--sand-dark); }
  .nav-links    { display: none; }
  .team-grid    { grid-template-columns: 1fr; }
}
