/* ============================================
   Stichting Mensch — Gedeelde huisstijl v2
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --bosgroen:        #1A2E1F;
  --vitaliteitgroen: #2D5A3D;
  --saliegroen:      #5C8A6A;
  --mintgroen:       #A8C5B0;
  --lentegroen:      #E8F5E9;
  --terracotta:      #B05C15;
  --terracotta-l:    #C97025;
  --gebroken-wit:    #F5F0E8;
  --wit:             #FFFFFF;
  --tekst-donker:    #1A2E1F;
  --tekst-middel:    #3D5C48;
  --tekst-licht:     #6B8F77;
  --houtskool:       #3D3B36;
  --border:          rgba(26,46,31,0.12);
  --border-licht:    rgba(26,46,31,0.07);
  --schaduw-klein:   0 2px 8px rgba(26,46,31,0.08);
  --schaduw-medium:  0 6px 24px rgba(26,46,31,0.12);
  --schaduw-groot:   0 16px 48px rgba(26,46,31,0.16);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.75;
  color: var(--houtskool);
  background: var(--gebroken-wit);
  -webkit-font-smoothing: antialiased;
}

/* ── Grain overlay ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Typografie ── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--bosgroen);
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }

p { margin-bottom: 1rem; color: var(--tekst-middel); line-height: 1.8; }
p:last-child { margin-bottom: 0; }

a { color: var(--terracotta); text-decoration: none; transition: color 0.2s; }
a:hover { text-decoration: underline; color: var(--terracotta-l); }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; color: var(--tekst-middel); }

strong { color: var(--bosgroen); font-weight: 600; }

img { max-width: 100%; height: auto; display: block; }

/* ── Navigatie ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--bosgroen);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-cirkel {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--mintgroen);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s;
}
.nav-logo:hover .nav-logo-cirkel { background: #bdd4c5; }
.nav-logo-cirkel span {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700;
  color: var(--bosgroen); letter-spacing: -0.5px;
}
.nav-logo-tekst {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--wit); letter-spacing: 0.01em;
  line-height: 1;
}
.nav-logo-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.65rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em; text-transform: uppercase;
  display: block; margin-top: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem; font-weight: 500;
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.actief { color: var(--mintgroen); text-decoration: none; }
.nav-cta {
  background: var(--terracotta) !important;
  color: var(--wit) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--terracotta-l) !important; }

.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--bosgroen);
    flex-direction: column; gap: 0;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--schaduw-medium);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  .nav-cta { margin: 0.5rem 2rem 0 !important; }
}

/* ── Hero ── */
.hero {
  background: var(--bosgroen);
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(45,90,61,0.4) 0%, transparent 65%),
              url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.022'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  max-width: 820px; margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(168,197,176,0.15);
  color: var(--mintgroen);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.38rem 0.9rem;
  border-radius: 20px; border: 1px solid rgba(168,197,176,0.25);
  margin-bottom: 1.75rem;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--mintgroen); opacity: 0.8;
}
.hero h1 { color: var(--wit); margin-bottom: 1.25rem; }
.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 640px; margin-bottom: 2.25rem;
  font-weight: 300; line-height: 1.85;
}
.hero-knoppen {
  display: flex; flex-wrap: wrap; gap: 0.875rem; align-items: center;
}

/* ── Knoppen ── */
.knop-primair, .knop-secundair, .knop-wit, .knop-groen, .knop-terracotta {
  touch-action: manipulation;
  display: inline-block;
  padding: 0.8rem 1.875rem;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; border: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.knop-primair { background: var(--terracotta); color: var(--wit); }
.knop-primair:hover { background: var(--terracotta-l); text-decoration: none; color: var(--wit); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(176,92,21,0.35); }

.knop-secundair { background: transparent; color: var(--wit); border: 1.5px solid rgba(255,255,255,0.35); }
.knop-secundair:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.07); text-decoration: none; color: var(--wit); }

.knop-wit { background: var(--wit); color: var(--bosgroen); border: 1.5px solid transparent; }
.knop-wit:hover { background: var(--gebroken-wit); text-decoration: none; color: var(--bosgroen); transform: translateY(-1px); }

.knop-groen { background: var(--vitaliteitgroen); color: var(--wit); }
.knop-groen:hover { background: var(--saliegroen); text-decoration: none; color: var(--wit); transform: translateY(-1px); }

.knop-terracotta { background: var(--terracotta); color: var(--wit); }
.knop-terracotta:hover { background: var(--terracotta-l); text-decoration: none; color: var(--wit); transform: translateY(-1px); }

.knop-klein { padding: 0.55rem 1.25rem; font-size: 0.82rem; }

/* ── Stats bar ── */
.stats-bar {
  background: var(--vitaliteitgroen);
  padding: 1.75rem clamp(1.5rem, 5vw, 4rem);
  display: flex; flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.5rem 3rem;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stat-item:last-child { border-right: none; }
.stat-getal {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--wit);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.72rem; color: rgba(255,255,255,0.68);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 3px; text-align: center;
}
@media (max-width: 600px) {
  .stat-item { border-right: none; padding: 0.75rem 1.5rem; }
}

/* ── Secties ── */
.sectie {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}
.sectie-wit { background: var(--wit); }
.sectie-gebroken { background: var(--gebroken-wit); }
.sectie-groen-licht { background: #EBF2ED; }
.sectie-groen-donker {
  background: var(--bosgroen);
  position: relative;
  overflow: hidden;
}
.sectie-groen-donker::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(45,90,61,0.5) 0%, transparent 60%);
  pointer-events: none;
}
.sectie-groen-donker > .container { position: relative; z-index: 1; }
.sectie-groen-donker h2,
.sectie-groen-donker h3,
.sectie-groen-donker h4 { color: var(--wit); }
.sectie-groen-donker p { color: rgba(255,255,255,0.75); }
.sectie-groen-donker .sectie-label { color: var(--mintgroen); }

.container { max-width: 1120px; margin: 0 auto; }
.container-smal { max-width: 780px; margin: 0 auto; }
.container-breed { max-width: 1280px; margin: 0 auto; }

.sectie-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--saliegroen);
  margin-bottom: 0.75rem; display: block;
}
.sectie-intro { max-width: 640px; margin-top: 0.5rem; margin-bottom: 2.5rem; }

/* ── Twee-kolom layout ── */
.twee-kolom {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.twee-kolom-start { align-items: start; }
@media (max-width: 860px) {
  .twee-kolom { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Kaarten ── */
.kaart {
  background: var(--wit);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.kaart:hover { transform: translateY(-4px); box-shadow: var(--schaduw-medium); }

.kaart-raster {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2.5rem;
}

/* ── Blockquote / citaat ── */
blockquote.citaat {
  border-left: 3px solid var(--terracotta);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: rgba(176,92,21,0.04);
  border-radius: 0 8px 8px 0;
}
blockquote.citaat p {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1.15rem;
  color: var(--bosgroen); margin-bottom: 0.4rem;
  line-height: 1.6;
}
blockquote.citaat cite {
  font-size: 0.8rem; color: var(--tekst-licht);
  font-style: normal; font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Info-blok ── */
.info-blok {
  background: #EBF2ED; border-radius: 8px;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--saliegroen);
  margin: 1.25rem 0;
}
.info-blok p { font-size: 0.9rem; margin: 0; color: var(--tekst-middel); }

.waarschuwing-blok {
  background: #FFF8E1; border-radius: 8px;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid #F9A825;
  margin: 1.25rem 0;
}
.waarschuwing-blok p { font-size: 0.875rem; margin: 0; color: #5D4037; }

/* ── Tabel ── */
.tabel-wrap { overflow-x: auto; }
.stijl-tabel {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.stijl-tabel th {
  background: var(--bosgroen); color: var(--wit);
  padding: 0.875rem 1.1rem; text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.stijl-tabel th:first-child { border-radius: 6px 0 0 0; }
.stijl-tabel th:last-child { border-radius: 0 6px 0 0; }
.stijl-tabel td {
  padding: 0.875rem 1.1rem;
  border-bottom: 1px solid var(--border-licht);
  color: var(--tekst-middel); vertical-align: top;
}
.stijl-tabel tr:last-child td { border-bottom: none; }
.stijl-tabel tr:nth-child(even) td { background: rgba(26,46,31,0.025); }
.stijl-tabel tr:hover td { background: rgba(45,90,61,0.04); }

/* ── Checklist ── */
.checklist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--tekst-middel);
  border-bottom: 1px solid var(--border-licht);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--saliegroen); font-weight: 700; font-size: 0.9rem;
}

/* ── Divider ── */
.divider {
  border: none; height: 1px;
  background: var(--border); margin: 2rem 0;
}

/* ── CTA banner ── */
.cta-banner {
  background: var(--terracotta);
  padding: 4.5rem clamp(1.5rem, 5vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--wit); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 2rem; }
.cta-knoppen { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Groene CTA ── */
.cta-groen {
  background: var(--vitaliteitgroen);
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
  text-align: center; position: relative;
}
.cta-groen h2 { color: var(--wit); margin-bottom: 0.75rem; }
.cta-groen p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 1.75rem; }

/* ── Footer ── */
footer {
  background: var(--bosgroen);
  padding: 4rem clamp(1.5rem, 5vw, 4rem) 0;
}
.footer-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  font-size: 0.875rem; line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-top: 0.875rem;
}
.footer-merk {
  display: flex; align-items: center; gap: 10px;
}
.footer-merk-naam {
  font-family: 'Playfair Display', serif;
  color: var(--wit); font-size: 1rem; font-weight: 600;
}
.footer-merk-sub {
  font-size: 0.62rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em; text-transform: uppercase;
  display: block; margin-top: 1px;
}
.footer-col h4 {
  color: var(--mintgroen);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem; text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--mintgroen); }

.footer-bottom {
  max-width: 1120px; margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 1rem;
}
.footer-bottom .copyright { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a {
  color: rgba(255,255,255,0.45); font-size: 0.8rem;
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--mintgroen); }

/* ── Animaties ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.zichtbaar { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ── Formulier ── */
.formulier-veld { margin-bottom: 1.25rem; }
.formulier-veld label {
  display: block; font-size: 0.84rem; font-weight: 600;
  color: var(--bosgroen); margin-bottom: 0.45rem;
}
.formulier-veld input,
.formulier-veld select,
.formulier-veld textarea {
  width: 100%; padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px; font-family: 'Open Sans', sans-serif;
  font-size: 1rem; color: var(--tekst-donker);
  background: var(--wit);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.formulier-veld input:focus,
.formulier-veld select:focus,
.formulier-veld textarea:focus {
  border-color: var(--vitaliteitgroen);
  box-shadow: 0 0 0 3px rgba(45,90,61,0.1);
}
.formulier-veld textarea { resize: vertical; min-height: 110px; }
.formulier-hint { font-size: 0.78rem; color: var(--tekst-licht); margin-top: 0.3rem; display: block; }
.formulier-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .formulier-rij { grid-template-columns: 1fr; } }

/* ── ANBI specifiek ── */
.anbi-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFF8E1; border: 1px solid #F9A825;
  padding: 0.6rem 1.1rem; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600; color: #7B5800;
  margin-bottom: 2rem;
}
.anbi-status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #F9A825;
  animation: knippert 2s ease-in-out infinite;
}
@keyframes knippert { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── Hulpklassen ── */
.tekst-midden { text-align: center; }
.tekst-klein { font-size: 0.875rem; }
.tekst-licht { color: var(--tekst-licht); }
.marge-boven { margin-top: 2rem; }
.marge-boven-groot { margin-top: 3rem; }
