:root {
  --green: #2f6b2f;
  --green-dark: #214d21;
  --gold: #e0b84f;
  --gold-soft: #f4e3a4;
  --white: #ffffff;
  --cream: #fbf8ef;
  --text: #243024;
  --muted: #5f6f5f;
  --shadow: 0 16px 40px rgba(33, 77, 33, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffef9 0%, #f6f2e3 100%);
  line-height: 1.6;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; border-radius: var(--radius-sm); }
.container { width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }
.page-content { min-height: 70vh; }
.section { padding: 4.5rem 0; }
.section-alt { background: rgba(255,255,255,0.75); }
.center-text { text-align: center; }
.hidden { display: none !important; }
.eyebrow {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(224, 184, 79, 0.18);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(47, 107, 47, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--green-dark);
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: var(--shadow);
  font-size: 1.4rem;
}
.brand strong { display: block; font-size: 1rem; }
.brand small { color: var(--muted); }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--green);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  cursor: pointer;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  color: var(--text);
  font-weight: 700;
  padding: 0.75rem 0.7rem;
  display: inline-block;
}
.main-nav a.active,
.main-nav a:hover { color: var(--green); }
.has-dropdown { position: relative; }
.has-dropdown {
  position: relative;
  padding-bottom: 10px; /* hover buffer tussen menu en submenu */
}

.dropdown {
  position: absolute;
  top: 100%; /* geen gap meer */
  left: 0;
  min-width: 180px;
  background: var(--white);
  padding: 0.7rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: none !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
  z-index: 999;
}

.has-dropdown:hover .dropdown {
  display: flex !important;
}

.dropdown a {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  white-space: nowrap;
}

.dropdown a:hover {
  background: rgba(47, 107, 47, 0.08);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(224,184,79,0.35), transparent 30%), linear-gradient(135deg, #295d29 0%, #3d7d3d 55%, #8dbd6b 100%);
  color: white;
}
.hero-home { min-height: 78vh; display: flex; align-items: center; }
.page-hero.compact { padding: 4rem 0 3rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 5rem 0;
}
.hero h1,
.page-hero h1 { font-size: clamp(2.3rem, 4vw, 4.3rem); line-height: 1.05; margin: 0 0 1rem; }
.hero p,
.page-hero p { font-size: 1.06rem; max-width: 60ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #f3d97c);
  color: #3f3411;
  box-shadow: 0 12px 28px rgba(224, 184, 79, 0.35);
}
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn:hover { transform: translateY(-2px); }
.glass-card,
.info-card,
.form-card,
.news-card,
.sponsor-logo,
.thank-you-box {
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.glass-card {
  padding: 1.8rem;
  color: var(--text);
  backdrop-filter: blur(8px);
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 1.5rem;
}
.countdown div {
  background: linear-gradient(180deg, #fffdf4, #fff5d1);
  border-radius: 18px;
  padding: 1rem 0.6rem;
  text-align: center;
}
.countdown strong { display: block; font-size: 1.75rem; color: var(--green-dark); }
.countdown span { color: var(--muted); font-size: 0.9rem; }
.section-heading { margin-bottom: 2rem; }
.section-heading h2 { margin: 0.2rem 0 0.4rem; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.card-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.info-card { padding: 1.6rem; }
.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(224,184,79,0.18);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-6px); }
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.image-stack img { box-shadow: var(--shadow); }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.feature-list li {
  padding: 0.75rem 0 0.75rem 1.9rem;
  position: relative;
  border-bottom: 1px solid rgba(47, 107, 47, 0.1);
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.cta-band {
  background: linear-gradient(135deg, rgba(47,107,47,0.95), rgba(38,85,38,0.95));
  color: white;
}
.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.day-tabs { display: grid; gap: 2rem; }
.program-day { background: rgba(255,255,255,0.85); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.program-day-head h2 { margin-top: 0; }
.timeline { display: grid; gap: 1rem; margin-top: 1.5rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: #fffef8;
  border-radius: 18px;
  border: 1px solid rgba(47,107,47,0.08);
}
.timeline-time {
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(224,184,79,0.22);
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  margin: 0;
  background: white;
  border-radius: 20px;
  padding: 0.85rem;
  box-shadow: var(--shadow);
}
.gallery-item figcaption { padding-top: 0.75rem; font-weight: 700; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: grid;
  place-items: center;
  padding: 2rem;
  z-index: 100;
}
.lightbox img { max-width: min(900px, 100%); max-height: 75vh; }
.lightbox p { color: white; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}
.news-card { overflow: hidden; }
.news-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 0; }
.news-card-body { padding: 1.2rem; }
.news-date { color: var(--green); font-weight: 700; font-size: 0.9rem; }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2rem; }
.form-wrapper { max-width: 900px; }
.form-card { padding: 1.8rem; }
.form-card.large { padding: 2rem; }
.styled-form { display: grid; gap: 1rem; }
.styled-form.two-columns { grid-template-columns: repeat(2, 1fr); }
.full-width { grid-column: 1 / -1; }
.styled-form label { display: grid; gap: 0.45rem; font-weight: 700; }
.styled-form input,
.styled-form select,
.styled-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(47,107,47,0.14);
  font: inherit;
}
.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
  outline: 2px solid rgba(224,184,79,0.5);
  border-color: var(--gold);
}
.alert {
  padding: 1rem 1.2rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}
.alert.success { background: #edf8ed; color: #215021; }
.alert.error { background: #fff0eb; color: #8a3c2c; }
.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 18px;
}
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.sponsor-logo {
  min-height: 120px;
  display: grid;
  place-items: center;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  border: 2px dashed rgba(47,107,47,0.18);
}
.thank-you-box { margin-top: 2rem; padding: 1.8rem; }
.prose { max-width: 780px; }
.site-footer {
  background: #163416;
  color: white;
  padding-top: 3rem;
}
.site-footer a { color: #e6f6e6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; }
.social-links a {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
}
.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 0 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-note { color: rgba(255,255,255,0.78); }
.scroll-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: #3b300f;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: #fffdf6;
  border: 1px solid rgba(47,107,47,0.12);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .footer-grid,
  .card-grid.three,
  .card-grid.two,
  .gallery-grid,
  .sponsor-grid,
  .styled-form.two-columns {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid,
  .split-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .cta-flex { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 82px;
    right: 1rem;
    left: 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul,
  .dropdown {
    display: grid !important;
    gap: 0.2rem;
  }
  .has-dropdown:hover .dropdown { display: grid !important; }
  .dropdown {
    position: static;
    box-shadow: none;
    padding-left: 0.8rem;
    background: transparent;
  }
  .hero-home { min-height: auto; }
  .hero-grid { padding: 4rem 0; }
  .timeline-item { grid-template-columns: 1fr; }
  .card-grid.three,
  .card-grid.two,
  .gallery-grid,
  .sponsor-grid,
  .styled-form.two-columns {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}
