:root {
  --zwart: #0F0F33;
  --wit: #EFEFEF;
  --oranje: #F55F13;
  --rood: #750035;
  --blauw: #4731D4;
  --roze: #FFAAE7;
  --groen: #CEEB1F;
  --geel: #F6C238;
  --beige: #FBFEC7;

  --font: 'Jost', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  font-weight: 400;
  color: var(--zwart);
  background: var(--wit);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 999;
  background: var(--geel);
  color: var(--zwart);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--geel);
  outline-offset: 2px;
}

/* Custom cursor (alleen op devices met een muis) */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, input, textarea { cursor: none; }

  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
  .cursor-dot {
    width: 8px; height: 8px;
    background: var(--oranje);
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 2px solid var(--oranje);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  }
  .cursor-ring.is-active {
    width: 54px; height: 54px;
    border-color: var(--roze);
  }
}

/* Scroll reveal (progressive enhancement: alleen actief als JS + .js class laadt) */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.section {
  position: relative;
  padding: 6rem 1.5rem 8rem;
  overflow: hidden;
}

.section__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section--wit   { background: var(--wit); }
.section--geel  { background: var(--geel); }
.section--zwart { background: var(--zwart); color: var(--beige); }
.section--roze  { background: var(--roze); }
.section--groen { background: var(--groen); }
.section--rood  { background: var(--rood); color: var(--beige); }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--rood);
  margin-bottom: 0.75rem;
}

.eyebrow--licht { color: var(--geel); }

.lead {
  font-size: 1.15rem;
  max-width: 640px;
}

.lead--licht { color: var(--beige); }

/* Wave dividers */
.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}
.wave svg { width: 100%; height: 90px; display: block; }
.wave--wit   { fill: var(--wit); }
.wave--geel  { fill: var(--geel); }
.wave--zwart { fill: var(--zwart); }
.wave--roze  { fill: var(--roze); }
.wave--groen { fill: var(--groen); }
.wave--rood  { fill: var(--rood); }

/* Hero */

.hero {
  position: relative;
  background: var(--blauw);
  color: var(--wit);
  overflow: hidden;
}

.squiggle {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
}
.squiggle--hero {
  width: min(480px, 60vw);
  right: -60px;
  top: 90px;
  animation: bob 7s ease-in-out infinite;
}

.squiggle--programma {
  width: min(320px, 45vw);
  left: -50px;
  bottom: 40px;
  opacity: 0.35;
  animation: bob-flip 8s ease-in-out infinite;
}

.squiggle--partners {
  width: min(280px, 40vw);
  right: -40px;
  top: 40px;
  opacity: 0.4;
  animation: bob-rotated 9s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes bob-flip {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(0deg); }
  50% { transform: scaleX(-1) translateY(-14px) rotate(-2deg); }
}
@keyframes bob-rotated {
  0%, 100% { transform: rotate(25deg) translateY(0); }
  50% { transform: rotate(25deg) translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .squiggle--hero, .squiggle--programma, .squiggle--partners { animation: none; }
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.is-scrolled {
  background: var(--zwart);
  padding: 0.85rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav__brand { line-height: 0; }
.nav__logo { height: 28px; }

.nav__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin: 0;
  padding: 0;
}

.nav__links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--wit);
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--geel);
  transition: width 0.25s ease;
}
.nav__links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--wit);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav.is-scrolled .hamburger span { background: var(--beige); }

.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 9rem 1.5rem 8rem;
  max-width: 700px;
  margin: 0 auto;
}

.hero__logo { max-width: 420px; margin: 0 auto 1.5rem; width: 90%; }

.hero__tagline {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }

.btn--primary {
  background: var(--geel);
  color: var(--zwart);
}

.btn--secondary {
  background: var(--oranje);
  color: var(--zwart);
}

.btn--outline {
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
}

/* Programma cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.card {
  background: rgba(251, 254, 199, 0.05);
  border: 2px solid var(--beige);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  background: rgba(251, 254, 199, 0.1);
}

.card h3 { color: var(--geel); }

.card ul {
  padding-left: 1.2rem;
  margin: 0;
}

.card li { margin-bottom: 0.4rem; }

/* Historie */

.foto-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.foto-strip img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(15, 15, 51, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.foto-strip img:nth-child(1) { transform: rotate(-3deg); }
.foto-strip img:nth-child(2) { transform: rotate(2deg); }
.foto-strip img:nth-child(3) { transform: rotate(-1deg); }
.foto-strip img:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 16px 30px rgba(15, 15, 51, 0.22);
}

.historie-nieuw {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--zwart);
  color: var(--beige);
  border-radius: 24px;
  padding: 2rem;
  margin-top: 2.5rem;
}
.historie-nieuw__foto {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.historie-nieuw .lead { color: var(--beige); }

/* Partners / sponsoren */

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

.logo-card {
  background: var(--wit);
  border-radius: 20px;
  padding: 1.5rem;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.logo-card:hover { transform: translateY(-6px); }
.logo-card img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; margin: 0 auto; }

.logo-card--ghost {
  border: 2px dashed var(--zwart);
  background: transparent;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--zwart);
  font-weight: 600;
  text-align: center;
}
.logo-card__sub {
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.7;
}

.logo-card--text {
  background: var(--zwart);
  color: var(--beige);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

/* Team (bestuur + projectleiding) */

.team-groep__titel {
  color: var(--rood);
  margin-top: 2.5rem;
}
.team-groep__titel--tweede { margin-top: 3.5rem; }

.bestuur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.bestuur-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.bestuur-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 22px rgba(15, 15, 51, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bestuur-card:hover .bestuur-avatar {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 14px 28px rgba(15, 15, 51, 0.32);
}

.bestuur-card h4 { margin-bottom: 0.15em; }
.bestuur-card p { color: var(--rood); font-weight: 600; margin: 0; }

.linkedin-tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--zwart);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.bestuur-card:hover .linkedin-tag { opacity: 1; }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.link-licht {
  color: var(--geel);
  text-decoration: none;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(251, 254, 199, 0.08);
  border: 2px solid var(--beige);
  border-radius: 20px;
  padding: 1.75rem;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--beige);
  margin-top: 0.5rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: none;
  background: var(--wit);
  color: var(--zwart);
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--geel);
}
.contact-form button { margin-top: 0.75rem; align-self: flex-start; }
.form-status {
  font-size: 0.9rem;
  color: var(--geel);
  min-height: 1.2em;
  margin: 0.5rem 0 0;
}

/* Footer */

.footer {
  background: var(--zwart);
  color: var(--beige);
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer__logo {
  height: 24px;
  margin: 0 auto 1rem;
}

.footer p {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
}

.footer__link {
  color: var(--beige);
  text-decoration: underline;
}
.footer__link:hover { opacity: 1; }

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

@media (max-width: 640px) {
  .section { padding: 4rem 1.25rem 6rem; }
  .foto-strip { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }

  .hamburger { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background: var(--zwart);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
  }
  .nav__links.is-open { display: flex; }
}
