/* ==========================================================================
   JubileumStichting — stylesheet
   Design system afgeleid van "Typografie en kleurgebruik JS" + website-briefing.
   Vlakke kleuren, geen verlopen, geen schaduwen, veel witruimte.
   ========================================================================== */

:root {
  /* Basiskleuren */
  --green:      #2E7D32; /* primaire CTA, sport/groei */
  --green-dark: #256528; /* alleen voor tekstcontrast op zand */
  --terracotta: #A23E2C; /* accent, hover, muziek */
  --turquoise:  #009f8c; /* merkdragend, headings */
  --turquoise-dark: #00806f;
  --yellow:     #F2C94C; /* subtiele highlights, nooit tekst */
  --sand:       #F4EDE2; /* rust, achtergrond, iconen */
  --sand-line:  #E7DCC9; /* subtiele randen op zand */
  --ink:        #333333; /* bodytekst */
  --ink-soft:   #5b5b5b;
  --white:      #ffffff;

  /* Radius (Mondéall-regels) */
  --r-img: 8px;
  --r-card: 8px;
  --r-btn: 6px;
  --r-field: 4px;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(56px, 8vw, 104px);

  font-synthesis: none;
}

/* ----- Reset / basis ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 600px){ body { font-size: 17px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquoise-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); color: var(--turquoise); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); color: var(--turquoise); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--ink); font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--green); color: #fff; padding: 10px 16px;
  border-radius: var(--r-btn); z-index: 200; transition: top .15s;
}
.skip-link:focus { top: 12px; color:#fff; text-decoration: none; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--green { background: var(--green); color: #fff; }
.section--green h2, .section--green h3 { color: #fff; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.center { text-align: center; }
.measure { max-width: 720px; margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: .6rem;
}
.section--green .eyebrow { color: var(--yellow); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 26px; border-radius: var(--r-btn);
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: background-color .18s, border-color .18s, color .18s;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--terracotta); color: #fff; }
.btn--outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn--outline:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.btn--ondark { background: var(--yellow); color: #3a2c00; }
.btn--ondark:hover { background: #fff; color: var(--terracotta); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--green-dark); border-color:#fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* ----- Header / navigatie ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--sand-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { color: inherit; }
.brand img { height: 46px; width: auto; }
.brand__word { display: block; }
.brand__word svg { display: block; height: 44px; width: auto; }
.brand__word-line { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 600; font-size: 19px; fill: var(--turquoise); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem;
  padding: 10px 12px; border-radius: 4px; border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.nav a[aria-current="page"] { color: var(--turquoise-dark); border-bottom-color: var(--turquoise); }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.nav .btn:hover { border-bottom-color: transparent; }
.nav .btn--primary, .nav .btn--primary:hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  color: var(--turquoise); border-radius: 4px;
}
.nav-toggle svg { display:block; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--sand); border-bottom: 1px solid var(--sand-line);
    padding: 8px var(--gutter) 20px; transform: translateY(-120%);
    transition: transform .22s ease; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--sand-line); border-radius: 0; }
  .nav a:hover { border-bottom-color: var(--sand-line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--sand-line); }
  .nav .btn { margin: 14px 0 0; }
}

/* ----- Hero ----- */
.hero { background: var(--sand); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px);
  align-items: center; padding-block: clamp(40px, 6vw, 80px);
}
.hero__title { margin-bottom: .4em; }
.hero__img img { border-radius: var(--r-img); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__img { order: -1; }
}

/* Twee doelgroep-ingangen */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.audience__card {
  background: #fff; border: 1px solid var(--sand-line); border-radius: var(--r-card);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.audience__card h3 { color: var(--turquoise); font-size: 1.1rem; margin: 0; }
.audience__card p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.audience__card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 520px){ .audience { grid-template-columns: 1fr; } }

/* ----- Statement / one-liner ----- */
.statement { text-align: center; }
.statement p {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 500; color: var(--ink);
  max-width: 30ch; margin-inline: auto; line-height: 1.4;
}
.statement .brandword { color: var(--turquoise); }

/* ----- Grids & cards ----- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--sand-line); border-radius: var(--r-card);
  padding: 28px;
}
.section--sand .card { background: #fff; }
.card h3 { color: var(--turquoise); }
.card p:last-child { margin-bottom: 0; }
.card--green, .section--sand .card--green { background: var(--green); color: #fff; border-color: transparent; }
.card--green h3 { color: #fff; }
.card--green .checklist li::before { background-color: var(--yellow); }
.card--flat { background: transparent; border: 0; padding: 0; }

/* Icoon in zandkleur op gekleurd vlak */
.icon-badge {
  width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); margin-bottom: 16px; flex: none;
}
.icon-badge svg { width: 30px; height: 30px; stroke: var(--sand); fill: none; stroke-width: 1.7; }
.icon-badge--terracotta { background: var(--terracotta); }
.icon-badge--turquoise { background: var(--turquoise); }
.card--green .icon-badge { background: rgba(255,255,255,.16); }
.card--green .icon-badge svg { stroke: var(--sand); }

/* ----- Genummerde stappen ----- */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(3,1fr); }
@media (max-width: 900px){ .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--green); color: #fff; border-radius: var(--r-card); padding: 28px;
  position: relative; display: flex; flex-direction: column;
}
.step h3 { color: #fff; }
.step p { color: rgba(255,255,255,.92); }
.step__num {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 10px;
}
.step .icon-badge { background: rgba(255,255,255,.16); }
.step__link { margin-top: auto; padding-top: 14px; }
.step__link a { color: #fff; font-weight: 600; }
.step__link a:hover { color: var(--yellow); }

/* Uitgebreide fase-blokken (Hoe het werkt) */
.phase {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start;
  padding: 32px; background: #fff; border: 1px solid var(--sand-line);
  border-radius: var(--r-card);
}
.phase + .phase { margin-top: 24px; }
.phase__tag {
  background: var(--green); color: #fff; border-radius: var(--r-card);
  padding: 16px 10px; text-align: center;
}
.phase__tag .t { font-size: 1.6rem; font-weight: 700; display:block; }
.phase__tag .l { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.phase h3 { color: var(--turquoise); margin-top: 0; }
.phase ul { margin: 0; padding-left: 1.15em; }
.phase li { margin-bottom: .35em; }
.phase__goal { margin-top: 14px; font-weight: 500; color: var(--green-dark); }
@media (max-width: 640px){ .phase { grid-template-columns: 1fr; gap: 16px; } .phase__tag { padding: 12px; } }

/* ----- Lijstjes met vinkjes ----- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  background: var(--sand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 10 18 20 6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 10 18 20 6'/%3E%3C/svg%3E") no-repeat center / contain;
  background-color: var(--green);
}
.section--green .checklist li::before { background-color: var(--yellow); }

/* Definitielijst */
.deflist { display: grid; gap: 18px; }
.deflist .term { font-weight: 600; color: var(--turquoise-dark); }

/* Chips (koepels) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.chips li {
  background: var(--sand); border: 1px solid var(--sand-line); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500;
}

/* ----- Tabel (pakketten) ----- */
.table-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--sand-line); }
table.price { width: 100%; border-collapse: collapse; background: #fff; font-size: 1rem; min-width: 560px; }
table.price th, table.price td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--sand-line); }
table.price thead th { background: var(--turquoise); color: #fff; font-weight: 600; }
table.price tbody tr:last-child td { border-bottom: 0; }
table.price td.amount { font-weight: 600; color: var(--green-dark); white-space: nowrap; }
table.price tr.bundle td { background: var(--sand); font-weight: 600; }

/* Pakket-kaarten */
.pack { display: flex; flex-direction: column; height: 100%; }
.pack__phase { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); }
.pack h3 { margin: 6px 0 4px; }
.pack__price { font-size: 1.25rem; font-weight: 700; color: var(--green-dark); margin: 6px 0 14px; }
.pack ul { margin: 0 0 8px; padding-left: 1.1em; color: var(--ink-soft); font-size: .96rem; }
.badge {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--yellow); color: #3a2c00; margin-bottom: 12px;
}

/* Sponsor tiers */
.tier { display:flex; flex-direction: column; gap: 6px; }
.tier__name { display:flex; align-items:center; gap:10px; font-weight:700; color: var(--turquoise-dark); }
.tier__dot { width:14px; height:14px; border-radius: 50%; flex:none; }
.dot-brons { background:#b08d57; } .dot-zilver { background:#9aa3a8; }
.dot-goud { background: var(--yellow); } .dot-hoofd { background: var(--terracotta); }

/* Split media blok */
.media {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,48px); align-items: center;
}
.media--flip .media__img { order: 2; }
.media__img img { border-radius: var(--r-img); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
@media (max-width: 760px){ .media { grid-template-columns: 1fr; } .media--flip .media__img { order: -1; } }

/* ----- Formulieren ----- */
.form { max-width: 640px; }
.form.wide { max-width: 780px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .98rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; background: #fff; border: 1px solid var(--turquoise);
  border-radius: var(--r-field);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(0,159,140,.22);
}
.field textarea { min-height: 120px; resize: vertical; }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px){ .field--2 { grid-template-columns: 1fr; } }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--terracotta); }
.error-msg { color: var(--terracotta); font-size: .9rem; margin-top: 6px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-card { border: 1px solid var(--sand-line); border-radius: var(--r-field); padding: 12px 16px; cursor: pointer; background:#fff; }
.radio-card input { width: auto; margin-right: 8px; }
.form-note { font-size: .9rem; color: var(--ink-soft); }
.form-status { padding: 16px 18px; border-radius: var(--r-card); background: var(--sand); border: 1px solid var(--sand-line); margin-top: 16px; }
.form-status[data-state="ok"] { border-color: var(--green); }

/* ----- Quick scan ----- */
.qs { max-width: 760px; margin-inline: auto; }
.qs__step { display: none; }
.qs__step.is-active { display: block; animation: fade .3s ease; }
.qs__progress { display: flex; gap: 8px; margin-bottom: 24px; justify-content: center; }
.qs__progress span { width: 42px; height: 6px; border-radius: 3px; background: var(--sand-line); }
.qs__progress span.on { background: var(--turquoise); }
.qs__options { display: grid; gap: 14px; margin-top: 20px; }
.qs__option {
  display: block; width: 100%; text-align: left; background: #fff; cursor: pointer;
  border: 1px solid var(--sand-line); border-radius: var(--r-card); padding: 18px 20px;
  font: inherit; font-weight: 500; transition: border-color .15s, background .15s;
}
.qs__option:hover { border-color: var(--turquoise); background: var(--sand); }
.qs__result { text-align: center; }
.qs__result .icon-badge { margin-inline: auto; width: 72px; height: 72px; }
.qs__result .icon-badge svg { width: 40px; height: 40px; }
.qs__back { background: none; border: 0; color: var(--turquoise-dark); font: inherit; cursor: pointer; padding: 6px 0; text-decoration: underline; }
.note-box {
  background: var(--sand); border-left: 4px solid var(--yellow); border-radius: var(--r-field);
  padding: 16px 20px; margin: 18px 0;
}
.note-box.spoed { border-left-color: var(--terracotta); }

/* ----- Downloads ----- */
.downloads { display: grid; gap: 14px; grid-template-columns: repeat(3,1fr); }
@media (max-width: 760px){ .downloads { grid-template-columns: 1fr; } }
.download {
  display: flex; align-items: center; gap: 14px; background:#fff; text-decoration: none;
  border: 1px solid var(--sand-line); border-radius: var(--r-card); padding: 18px 20px; color: var(--ink);
}
.download:hover { border-color: var(--turquoise); color: var(--ink); }
.download .icon-badge { margin: 0; width: 44px; height: 44px; }
.download .icon-badge svg { width: 22px; height: 22px; }
.download small { display: block; color: var(--ink-soft); font-weight: 400; }
.download strong { font-weight: 600; }

/* ----- CTA-band ----- */
.cta-band { background: var(--green); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-inline: auto; color: rgba(255,255,255,.92); }

/* ----- Footer ----- */
.site-footer { background: #23312a; color: #d6ddd7; font-size: .95rem; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: var(--yellow); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 56px; }
@media (max-width: 760px){ .footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.footer__grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__brand { display:flex; align-items:center; gap: 10px; margin-bottom: 14px; }
.footer__brand img { height: 40px; }
.footer__brand span { font-weight: 600; color: #fff; }
.footer nav ul, .footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; text-decoration: none; color: #fff; font-weight: 500; }
.footer-social:hover { color: var(--yellow); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 20px; display:flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color:#aab4ad; font-size: .86rem; }

/* ----- Fade-in on scroll ----- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .qs__step.is-active { animation: none; }
}

/* ----- Kleine utilities ----- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.pill-note { display:inline-block; background: var(--sand); border:1px solid var(--sand-line); border-radius: 999px; padding: 6px 14px; font-size:.9rem; color: var(--ink-soft); }
hr.rule { border: 0; border-top: 1px solid var(--sand-line); margin: 40px 0; }
