/* ==========================================================================
   ACTIVELIFE VZW — Huisstijl
   Richting: warme zomerkamp-affiche. Crème papier, dennengroen, terracotta.
   Fraunces (display, wonky serif) + Outfit (body). Geen stockfoto's nodig:
   typografie, kleurvlakken en organische SVG-vormen dragen de pagina.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Kleuren */
  --cream:      #FBF6EC;
  --cream-deep: #F3EADA;
  --pine:       #14342A;
  --pine-soft:  #1F4A3B;
  --terra:      #D9542B;
  --terra-deep: #B23E1B;
  --amber:      #F0A830;
  --aqua:       #2E8FB5;   /* Swimlife-erfenis: de zwemwerking houdt blauw */
  --aqua-tint:  #E3F1F7;
  --ink:        #16211C;
  --body:       #3D4A43;
  --muted:      #6B7A72;
  --line:       #E0D6C4;

  /* Typografie */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:    'Outfit', -apple-system, 'Segoe UI', sans-serif;

  /* Ritme */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1180px;
  --radius: 14px;
}

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

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

body {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.09rem);
  line-height: 1.68;
  color: var(--body);
  background: var(--cream);
  /* Fijne papierkorrel — geeft het crème diepte zonder afbeelding */
  background-image:
    radial-gradient(circle at 15% 12%, rgba(240,168,48,.07), transparent 42%),
    radial-gradient(circle at 88% 70%, rgba(46,143,181,.06), transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--pine);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-variation-settings: 'SOFT' 20, 'WONK' 1;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; font-family: var(--sans); letter-spacing: 0; }

p { text-wrap: pretty; }
p + p { margin-top: 0.9em; }

a { color: var(--terra-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--terra); }

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

/* Kleine bovenkop — terugkerend motief door de hele site */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--terra);
  flex: none;
}
.eyebrow--light { color: var(--amber); }
.eyebrow--light::before { background: var(--amber); }

.lead {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--pine-soft);
  font-weight: 400;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

section { padding-block: clamp(3.5rem, 8vw, 7rem); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ---------- Navigatie ---------- */
.topbar {
  background: var(--pine);
  color: #E9DFCD;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem;
  align-items: center; justify-content: center;
  padding-block: 0.6rem;
}
.topbar a { color: var(--amber); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,246,236,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.85rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--pine);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 1.15rem;
  color: var(--amber);
  box-shadow: 3px 3px 0 var(--terra);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--display); font-weight: 900;
  font-size: 1.2rem; color: var(--pine); letter-spacing: -0.02em;
}
.brand-sub { font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; flex-wrap: wrap; }
.nav-links a {
  display: block; padding: 0.45rem 0.75rem; border-radius: 8px;
  font-size: 0.93rem; font-weight: 500;
  color: var(--pine-soft); text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: var(--cream-deep); color: var(--pine); }
.nav-links a[aria-current="page"] { background: var(--pine); color: var(--cream); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.5rem; border-radius: 100px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--terra); color: #fff; box-shadow: 0 4px 0 var(--terra-deep); }
.btn--primary:hover { background: var(--terra-deep); color: #fff; box-shadow: 0 6px 0 #8f3114; }

.btn--ghost { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn--ghost:hover { background: var(--pine); color: var(--cream); }

.btn--light { background: var(--amber); color: var(--pine); box-shadow: 0 4px 0 #c9862058; }
.btn--light:hover { background: #f7bb52; color: var(--pine); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 7vw, 5.5rem); }

.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }

.hero h1 { margin-bottom: 1.3rem; }
.hero h1 em {
  font-style: normal; color: var(--terra);
  position: relative; white-space: nowrap;
}
/* Handgetekende onderstreping onder het accentwoord */
.hero h1 em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -0.06em; height: 0.13em;
  background: var(--amber); border-radius: 100px; opacity: .85;
}

.hero-art { position: relative; aspect-ratio: 1 / 1; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }

/* Decoratieve achtergrondcirkel achter de hero */
.hero::before {
  content: "";
  position: absolute; right: -14vw; top: -18vw;
  width: 46vw; height: 46vw; min-width: 340px; min-height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(240,168,48,.20), rgba(240,168,48,0) 68%);
  pointer-events: none;
}

/* ---------- Statistiekenbalk ---------- */
.stats { background: var(--pine); color: var(--cream); }
.stats .wrap { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.stat-grid { display: grid; gap: 2rem clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat-num {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem);
  color: var(--amber); line-height: 1; letter-spacing: -0.03em;
}
.stat-label { margin-top: 0.5rem; color: #D6CBB6; font-size: 0.95rem; line-height: 1.45; }

/* ---------- Kaarten ---------- */
.card-grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px -18px rgba(20,52,42,.4);
  border-color: var(--pine-soft);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.97rem; }

.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--cream-deep);
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--pine); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-icon--terra { background: #FBE4DA; }
.card-icon--terra svg { stroke: var(--terra-deep); }
.card-icon--aqua { background: var(--aqua-tint); }
.card-icon--aqua svg { stroke: var(--aqua); }
.card-icon--amber { background: #FCEFD5; }
.card-icon--amber svg { stroke: #A9701A; }

/* Genummerde waarde-kaart */
.value { border-left: 3px solid var(--terra); padding-left: 1.4rem; }
.value + .value { margin-top: 2rem; }
.value h3 { display: flex; align-items: baseline; gap: 0.7rem; }
.value h3 span {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  color: var(--terra); letter-spacing: 0.08em;
}

/* ---------- Kampblokken ---------- */
.camp {
  display: grid; gap: clamp(1.2rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 760px) { .camp { grid-template-columns: 200px 1fr; } }
.camp + .camp { margin-top: 1.5rem; }

.camp-when {
  background: var(--pine); color: var(--cream);
  padding: clamp(1.3rem, 3vw, 1.9rem);
  display: flex; flex-direction: column; justify-content: center;
}
.camp-when .season {
  font-family: var(--display); font-weight: 900; font-size: 1.5rem;
  color: var(--amber); line-height: 1.1; margin-bottom: 0.3rem;
}
.camp-when .dates { font-size: 0.9rem; color: #D6CBB6; }
.camp-body { padding: clamp(1.3rem, 3vw, 1.9rem); padding-left: 0; }
@media (max-width: 759px) { .camp-body { padding-left: clamp(1.3rem, 3vw, 1.9rem); padding-top: 0; } }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.tag {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.3rem 0.7rem; border-radius: 100px;
  background: var(--cream-deep); color: var(--pine-soft);
}
.tag--terra { background: #FBE4DA; color: var(--terra-deep); }
.tag--aqua { background: var(--aqua-tint); color: #1E6987; }

/* ---------- Accentblok ---------- */
.panel {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1.5px solid var(--line);
}
.panel--aqua { background: var(--aqua-tint); border-color: #C4E0EC; }
.panel--pine { background: var(--pine); border-color: var(--pine); color: #D6CBB6; }
.panel--pine h2, .panel--pine h3 { color: var(--cream); }
.panel--pine strong { color: var(--amber); }
.panel--pine a { color: var(--amber); }

/* ---------- Bestuurstabel ---------- */
.people { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.person {
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.person-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--pine); color: var(--amber);
  display: grid; place-items: center; margin-bottom: 1rem;
  font-family: var(--display); font-weight: 900; font-size: 1.2rem;
}
.person-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--pine); }
.person-role { font-size: 0.85rem; font-weight: 600; color: var(--terra); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 0.15rem; }
.person p { font-size: 0.93rem; margin-top: 0.7rem; }

/* ---------- Definitielijst (contact / gegevens) ---------- */
.dl { display: grid; gap: 0; }
.dl > div {
  display: grid; grid-template-columns: 1fr; gap: 0.15rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 620px) { .dl > div { grid-template-columns: 200px 1fr; gap: 1.5rem; } }
.dl dt { font-weight: 600; color: var(--pine); font-size: 0.93rem; }
.dl dd { color: var(--body); }

/* ---------- Prose (privacy, statuten) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.8rem; margin-bottom: 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.5rem; }
.prose ul, .prose ol { margin: 0.9rem 0 0.9rem 1.3rem; }
.prose li { margin-bottom: 0.45rem; }

/* ---------- FAQ ---------- */
details.faq {
  border-bottom: 1px solid var(--line);
  padding-block: 1.1rem;
}
details.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--pine);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-family: var(--sans); font-weight: 400;
  font-size: 1.6rem; color: var(--terra); line-height: 1; flex: none;
  transition: transform .2s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin-top: 0.8rem; }

/* ---------- Golfscheiding (knipoog naar de zwemwerking) ---------- */
.wave { display: block; width: 100%; height: 48px; }
.wave path { fill: var(--pine); }
.wave--up path { fill: var(--cream); }

/* ---------- Footer ---------- */
.footer { background: var(--pine); color: #BDB19C; padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: 0.93rem; }
.footer h4 { color: var(--cream); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: #D6CBB6; text-decoration: none; }
.footer a:hover { color: var(--amber); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }

/* Wettelijke voetnoot — verplicht voor een Belgische VZW */
.legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(255,255,255,.13);
  padding-block: 1.6rem 2.2rem;
  font-size: 0.82rem; line-height: 1.7; color: #9A907E;
}
.legal strong { color: #D6CBB6; font-weight: 600; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px;
  background: var(--pine); color: var(--cream);
  padding: 0.8rem 1.2rem; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; top: 0; }

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

/* ---------- Binnenkomst-animatie ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.rise { animation: rise .7s cubic-bezier(.22,.68,.28,1) backwards; }
.rise:nth-child(1) { animation-delay: .05s; }
.rise:nth-child(2) { animation-delay: .14s; }
.rise:nth-child(3) { animation-delay: .23s; }
.rise:nth-child(4) { animation-delay: .32s; }
.rise:nth-child(5) { animation-delay: .41s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .topbar, .btn-row, .hero-art { display: none; }
  body { background: #fff; }
  .footer { background: #fff; color: #000; }
}
