:root {
  --bg: #1d462f63; /* diep groen/zwart */
  --card: #0f2a1b; /* donkergroen */
  --text: #eafff3;
  --muted: #b7e2c9;
  --line: rgba(234, 255, 243, 0.12);

  --accent: #2fa866; /* IPMS groen */
  --accent2: #ffe600; /* DENDERLAND geel */
  --danger: #d62828; /* Belgisch rood */

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1080px;
  --header-h: 76px; /* used for body offset + anchor scroll */
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;

  /* because header is fixed */
  padding-top: var(--header-h);
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Anchor offsets so sections don't hide behind fixed header */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

/* Header / menu */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7, 21, 13, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.logo-mark {
  width: 96px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 168, 102, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.logo-img {
  width: 86px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pill:hover {
  border-color: rgba(255, 230, 0, 0.55);
  color: var(--text);
  text-decoration: none;
}

/* Mobile menu button (hamburger) */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  flex-direction: column;
  margin-left: auto;
}

.menu-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--accent2);
  display: block;
  border-radius: 999px;
}

/* Desktop nav layout */
.nav-menu .nav-links {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Mobile dropdown */
@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: relative;
  }

  .nav-menu .nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    background: rgba(7, 21, 13, 0.92);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
  }

  .nav-menu.is-open .nav-links {
    display: flex;
  }

  .nav-menu .pill {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Sections */
section {
  padding: 22px 0;
}

/* Hero */
.hero {
  padding: 18px 0 22px;
}

/* Carousel full-bleed (all screens) */
.hero-carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-bottom: 16px;
}

.hero-carousel__inner {
  padding-top: 10px;
}

.panel {
  background: rgba(15, 42, 27, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  aspect-ratio: 16 / 9;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .carousel {
    aspect-ratio: 16 / 9;
  }
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* <-- belangrijkste wijziging */
  display: block;
  background: rgba(0, 0, 0, 0.35); /* vult de “lege” randen netjes op */
  filter: saturate(1.05) contrast(1.05);
}

.slide .caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  font-size: 0.92rem;
  backdrop-filter: blur(8px);
}

.car-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.iconbtn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.iconbtn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 230, 0, 0.55);
  background: rgba(255, 230, 0, 0.08);
}

.dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.dotbtn {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.dotbtn[aria-current="true"] {
  background: var(--accent2);
  border-color: rgba(255, 230, 0, 0.8);
}

/* Hero card */
.hero-content {
  margin-top: 6px;
}

.hero-card {
  background: linear-gradient(
    180deg,
    rgba(15, 42, 27, 0.92),
    rgba(15, 42, 27, 0.65)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card:before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    800px 220px at 15% 0%,
    rgba(47, 168, 102, 0.28),
    transparent 60%
  );
  pointer-events: none;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.kicker {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

h1 .hl {
  color: var(--accent2);
}

.lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 230, 0, 0.55);
  background: rgba(255, 230, 0, 0.08);
  text-decoration: none;
}

.btn.primary {
  border-color: var(--accent2);
  background: linear-gradient(
    135deg,
    rgba(47, 168, 102, 0.45),
    rgba(0, 0, 0, 0.25)
  );
  color: var(--accent2);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.btn.primary:hover {
  background: linear-gradient(
    135deg,
    rgba(47, 168, 102, 0.65),
    rgba(0, 0, 0, 0.35)
  );
  border-color: var(--accent2);
  color: #fff;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 14px 26px;
}

.external-link::after {
  content: "↗";
  margin-left: 8px;
  font-size: 0.85em;
  opacity: 0.8;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge__links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.25rem;
}

.badge__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.badge__icon {
  display: inline-block;
}

.badge__sep {
  opacity: 0.7;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.2);
}

/* Content grid + cards */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: rgba(15, 42, 27, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--accent2);
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(47, 168, 102, 0.1);
  border: 1px solid rgba(47, 168, 102, 0.25);
  flex: 0 0 auto;
}

.contact-item small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

/* CTA card */
.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.card-cta__text {
  max-width: 70%;
}

.cta-note {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .card-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-cta__text {
    max-width: 100%;
  }
  .card-cta .btn {
    align-self: stretch;
    text-align: center;
  }
}

/* Privacy */
.privacy-meta {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.privacy-title::before {
  content: "🔒";
  margin-right: 8px;
}

/* Footer logo image (big) */
.footer-logo-large {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Footer */
.footer-copy {
  padding: 30px 0 40px;
  /* NOTE: you currently set footer text to black in HTML version;
     I removed that because your background is dark. If you *want* black,
     set it explicitly here, but it will be hard to read. */
}

.calendar-links {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.calendar-helper {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.75;
}
