:root{
  --green-dark:#1f3d2b;
  --green:#2f6b4f;
  --green-light:#e6f2ec;
  --white:#ffffff;
  --text:#183224;
  --shadow: 0 14px 40px rgba(0,0,0,.12);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
.container{ width:min(1100px, 92vw); margin:0 auto; }

/* TOPBAR */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.brand-mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: var(--green-light);
}
.brand-text strong{ display:block; font-weight: 800; color: var(--green-dark); }
.brand-text span{ display:block; font-size: 12px; opacity:.8; }

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  font-size: 14px;
}
.nav a{ opacity:.9; }
.nav a:hover{ opacity:1; color: var(--green); }

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(47,107,79,.25);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }
.btn-small{ padding: 9px 14px; font-size: 13px; }
.btn-ghost{
  background: transparent;
  color: var(--green-dark);
  border-color: rgba(31,61,43,.25);
  box-shadow: none;
}
.btn-ghost:hover{ border-color: rgba(31,61,43,.5); }

/* HERO */
.hero{
  position: relative;
  min-height: 74vh;
  display:flex;
  align-items: stretch;
  padding: 34px 0 18px;
  overflow:hidden;
}

/* Hero intro */
.hero-intro {
  font-size: 16px;
  margin-bottom: 18px;
}

/* Wie / Wat / Hoe in hero */
.hero-wwh {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.wwh-block h4 {
  margin: 0 0 4px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-dark);
}


.wwh-block p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.wwh-block ul {
  margin: 6px 0 0;
  padding-left: 16px;
}

.wwh-block li {
  font-size: 13px;
  margin: 4px 0;
  opacity: 0.85;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-image:
    url("./images/background.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.92),
    rgba(255,255,255,.75),
    rgba(230,242,236,.55)
  );
}

.hero-inner{
  position:relative;
  z-index: 1;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
}

.hero-card{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  z-index: 2;
}
.logo{
  width: min(600px, 100%);
  height: auto;
  max-height: 140px;
  object-fit: contain;
  display:block;
  margin-bottom: 14px;

  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  background: transparent;
  border: none;
  border-radius: 0;
}
.hero-card h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  color: var(--green-dark);
}
.hero-card p{
  margin: 0 0 16px;
  font-size: 16px;
  opacity: .9;
}
.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 14px;
}

.pill-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-light);
  border: 1px solid rgba(47,107,79,.25);
  color: var(--green-dark);
  font-size: 13px;
}

/* Right side portraits (vertical images) */
.hero-side{
  display:grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.portrait{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);

  height: clamp(220px, 32vw, 360px);
}

.portrait img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
}

@media (max-width: 980px){
  .hero-side{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}


/* STATS */
.stats{
  padding: 18px 0 8px;
  background: var(--white);
}
.stats-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-card{
  border-radius: var(--radius);
  background: var(--green-light);
  border: 1px solid rgba(47,107,79,.18);
  padding: 16px;
}
.stat-number{
  font-weight: 900;
  font-size: 28px;
  color: var(--green-dark);
}
.stat-label{ font-weight: 800; margin-top: 2px; }
.stat-sub{ font-size: 13px; opacity: .85; margin-top: 4px; }

/* SECTIONS */
.section{ padding: 56px 0; }
.section-alt{ background: #f6fbf8; border-top: 1px solid rgba(0,0,0,.05); border-bottom: 1px solid rgba(0,0,0,.05); }
.section-head{ max-width: 720px; }
.section-head h2{ margin: 0 0 8px; font-size: 28px; color: var(--green-dark); }
.section-head p{ margin: 0; opacity: .85; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items:center;
}
.split h2{ margin: 0 0 10px; color: var(--green-dark); font-size: 28px; }
.split p{ margin: 0 0 14px; opacity: .9; }

.checklist{
  margin: 0 0 18px;
  padding-left: 18px;
}
.checklist li{ margin: 7px 0; }

.cta-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* IMAGE CARD */
.card-image{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
  min-height: 320px;
}
.card-image img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* CARDS */
.cards{
  margin-top: 18px;
  display: grid;
  gap: 14px;

  /* default: 3 kolommen op desktop */
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Variant voor 4 blokken (Activiteiten) */
.cards.cards-4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Responsive: tablet */
@media (max-width: 1100px){
  .cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards.cards-4{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Responsive: telefoon */
@media (max-width: 600px){
  .cards{
    grid-template-columns: 1fr;
  }
  .cards.cards-4{
    grid-template-columns: 1fr;
  }
}

.card{
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  padding: 16px;

  /* super belangrijk tegen overflow in grids */
  min-width: 0;
}

.card h3{ margin: 0 0 8px; color: var(--green-dark); }
.card p{ margin: 0 0 14px; opacity: .88; }

/* Tags */
.tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  /* voorkomt rare overflow in flex children */
  min-width: 0;
}

.tags span{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-light);
  border: 1px solid rgba(47,107,79,.18);

  /* overflow-safe voor lange woorden/labels */
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}


/* GALLERY */
.gallery{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item{
  margin:0;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  height: 220px;
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
}

/* CONTACT */
.contact{
  display:flex;
  justify-content:center;
}
.contact-box{
  width: min(920px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
  padding: 20px;
}
.contact-box h2{ margin: 0 0 10px; color: var(--green-dark); }
.contact-box p{ margin: 0 0 16px; opacity: .88; }

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-item{
  padding: 12px;
  border-radius: 14px;
  background: var(--green-light);
  border: 1px solid rgba(47,107,79,.16);
}
.contact-label{
  font-size: 12px;
  opacity: .8;
  margin-bottom: 4px;
}

/* FOOTER */
.footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-block h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--white);
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block li {
  margin: 8px 0;
  font-size: 14px;
}

.footer a {
  color: #cfe6da;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}

/* RESPONSIVE FOOTER */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px){
  .hero{
    padding: 18px 0 10px;
    min-height: auto;
  }

  .hero-card{
    padding: 18px;
  }

  .hero-card h1{
    font-size: 28px;
    line-height: 1.15;
  }

  .hero-card p{
    font-size: 15px;
  }

  .hero-wwh{
    gap: 12px;
  }

  .wwh-block p{
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions .btn{
    width: 100%;          
}
}
/* PARTNERS / LOGO SECTION */
.partners{
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.partner-item img{
  max-width: 180px;
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;

  /* altijd originele kleuren */
  filter: none;
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px){
  .partners{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px){
  .partners{
    grid-template-columns: 1fr;
  }
  .partner-item{
    height: 110px;
  }
}
