/* ==========================================================================
   PAS Foundation — style.css
   Design tokens uit "PAS Foundation Website Copy Definitief":
   - Donkerblauw  #12293F  (hero- en contrastvlakken)
   - Goud         #C9A24A  (accent: cijfers, quotes, CTA's)
   - Lichtgrijs   #F3F4F6  (afwisselende secties)
   - Wit          #FFFFFF
   Typografie: serif voor koppen (Playfair Display), sans-serif voor
   lopende tekst (Lato), kickers in kapitalen met brede letterspatiëring.
   ========================================================================== */

:root {
  --navy: #12293F;
  --navy-soft: #1B3A57;      /* kaarten op donkerblauwe achtergrond */
  --gold: #C9A24A;
  --gold-dark: #B08D3C;
  --grey: #F3F4F6;
  --white: #FFFFFF;
  --ink: #1E2A36;            /* bodytekst op lichte achtergrond */
  --ink-muted: #55636F;
  --on-navy-muted: #B9C6D2;  /* gedempte tekst op donkerblauw */

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Lato", "Open Sans", Calibri, Arial, sans-serif;

  --max-width: 1140px;
  /* Iets compacter dan voorheen — minder witruimte (feedback Layout #3) */
  --section-pad: clamp(3.25rem, 7vw, 5.5rem);
}

/* ---------- Reset / basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
/* Titels op de menu-pagina's iets kleiner dan de home-hero (feedback Layout #6).
   De home-hero gebruikt .hero__grid; de binnenpagina's niet. */
.hero .container:not(.hero__grid) h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1.2em; }

a { color: var(--navy); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Kicker / label: sans-serif, kapitalen, brede letterspatiëring */
.kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.75rem;           /* iets groter (feedback Layout #2) */
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
/* Kicker op de binnenpagina's: iets kleiner dan op de home (feedback) */
.page-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Signatuur: dunne gradiëntlijn uit het logo (rood → wit → blauw) */
.brand-rule {
  width: 96px;
  height: 3px;
  border: 0;
  margin: 0 0 1.75rem;
  background: linear-gradient(90deg, #B3402C 0%, #E5C87E 35%, #F6F2E9 50%, #7FA3C9 70%, #2B5E9C 100%);
}
.brand-rule--center { margin-left: auto; margin-right: auto; }

.lead {
  font-size: 1.2rem;
  color: var(--ink-muted);
  max-width: 46em;
}

/* ---------- Secties ---------- */

.section { padding: var(--section-pad) 0; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: var(--on-navy-muted); }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy .lead { color: var(--on-navy-muted); }
.section--navy a { color: var(--white); }

.section-intro { max-width: 46em; }
.section-intro--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro--center .brand-rule { margin-left: auto; margin-right: auto; }

/* ---------- Knoppen ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

/* Primair — "Word partner": goud */
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--gold-dark); border-color: var(--gold-dark); }

/* Secundair — "Doneer nu": donkerblauw met witte rand (op donker) */
.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--secondary:hover,
.btn--secondary:focus-visible { background: var(--white); color: var(--navy); }

/* Secundair op lichte achtergrond: donkerblauw met blauwe rand */
.btn--secondary-light {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary-light:hover,
.btn--secondary-light:focus-visible { background: var(--navy); color: var(--white); }

.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header / navigatie ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

/* Logo volgt het echte beeldmerk: bovenaan "PAS" met rechts ervan de
   gradiëntlijn (op de basislijn), daaronder "FOUNDATION" over de volle breedte.
   clamp() schaalt vloeiend mee: bescheiden op mobiel, groter op breed scherm. */
.logo {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  font-family: var(--font-serif);
  color: var(--white);
  text-decoration: none;
  line-height: 1.05;
  flex-shrink: 0;
}
.logo__top {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}
.logo__pas {
  font-size: clamp(2.3rem, 1.95rem + 1vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}
.logo__rule {
  flex: 1;
  min-width: 2.5rem;
  height: 3px;
  margin-bottom: 0.22em;
  background: linear-gradient(90deg, #B3402C 0%, #E5C87E 35%, #F6F2E9 50%, #7FA3C9 70%, #2B5E9C 100%);
}
.logo__foundation {
  display: block;
  margin-top: 3px;
  /* Groter gezet zodat de PAS/FOUNDATION-verhouding het echte beeldmerk volgt
     (~2:1 kaphoogte). Krappere letter-spacing zoals in het origineel. */
  font-size: clamp(1rem, 0.86rem + 0.42vw, 1.2rem);
  letter-spacing: 0.3em;
  font-family: var(--font-serif);
}
/* NOTE: vervang het tekstlogo door het SVG/PNG-logo zodra dat op de CDN staat:
   <img src="assets/img/logo-pasfoundation.svg" alt="PAS Foundation"> */

.site-nav { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }

.site-nav__links {
  display: flex;
  list-style: none;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}

.site-nav__links a {
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav__links a:hover,
.site-nav__links a:focus-visible { color: var(--white); }
.site-nav__links a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.site-nav__cta { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.site-nav .btn { padding: 0.5rem 1rem; font-size: 0.76rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--on-navy-muted);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

@media (max-width: 1240px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__links { flex-direction: column; gap: 0; }
  .site-nav__links a { display: block; padding: 0.75rem 0; }
  .site-nav__cta { display: flex; gap: 0.75rem; margin-top: 1rem; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--on-navy-muted);
  padding: var(--section-pad) 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.75rem;           /* iets groter (feedback Layout #1) */
  line-height: 1.4;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero__quote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  margin-top: 0.5rem;
}

.hero h1 { color: var(--white); }
.hero__tagline {
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.4rem;
}

/* ---------- Beelden (src verwijst naar CDN-pad; grijze achtergrond blijft
   zichtbaar zolang het beeld ontbreekt) ---------- */

.img-frame {
  background: var(--navy-soft);
  min-height: 320px;
  overflow: hidden;
  display: flex;
  margin: 0;
}
.img-frame--light { background: var(--grey); }
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* alt-tekst netjes gecentreerd zolang het beeld nog niet bestaat */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--on-navy-muted);
  padding: 1rem;
}
.img-frame--light img { color: var(--ink-muted); }

/* ---------- Sfeerbeeld binnen een sectie (feedback Layout #7: extra foto's) ---------- */

.section-media { margin-top: 2.75rem; }
.section-media .img-frame { min-height: clamp(220px, 40vw, 420px); }
.section-media figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.section--navy .section-media figcaption { color: var(--on-navy-muted); }

/* ---------- Collectie-raster (Home, onder de cijfers) ----------
   Strak, gelijkmatig raster van vierkante tegels — zelfde opzet als het
   partnerlogo-raster (feedback: "tighter, zoals de logo's"). */

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.mosaic img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }

/* Tussentitel binnen een sectie: extra witruimte t.o.v. het blok erboven */
.section-subhead { margin-top: 3.25rem; }

/* ---------- Beeldgalerij met bijschrift (ateliers, werk bij partners, event) ---------- */

.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}
.media-gallery figure { margin: 0; }
.media-gallery .img-frame { aspect-ratio: 1 / 1; min-height: 0; }
/* Beeld vult het kader volledig, zodat het bijschrift eronder mooi links uitlijnt met de foto */
.media-gallery .img-frame img { padding: 0; }
.media-gallery figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--ink-muted);
}
.media-gallery figcaption strong { color: var(--navy); font-weight: 700; }
.media-gallery figcaption em { font-style: italic; }
.section--navy .media-gallery figcaption { color: var(--on-navy-muted); }
.section--navy .media-gallery figcaption strong { color: var(--white); }

/* Uitgelicht (breed) beeld, bv. event-hero */
.media-feature {
  margin: 0 0 2.5rem;
}
.media-feature .img-frame { aspect-ratio: 16 / 9; min-height: 0; }
.media-feature figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ---------- Contactfoto (coördinator) ---------- */

.contact-portrait { margin: 0 0 2rem; max-width: 340px; }
.contact-portrait .img-frame { aspect-ratio: 4 / 3; min-height: 0; }
.contact-portrait figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.contact-portrait figcaption strong { display: block; color: var(--navy); }
.contact-portrait .credit {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

/* ---------- Impact / cijfers ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3rem;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}

/* ---------- Kaarten / grids ---------- */

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

.card {
  background: var(--white);
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(18, 41, 63, 0.07);
}
.card h3 { margin-bottom: 0.5rem; }
.card .kicker { margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }

.section--navy .card {
  background: var(--navy-soft);
  box-shadow: none;
}
.section--navy .card h3 { color: var(--white); }
.section--navy .card p { color: var(--on-navy-muted); }

/* ---------- Impact / "Hoe wij het verschil maken" ---------- */

.impact-grid {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.impact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem 1.9rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 162, 74, 0.28);
  border-radius: 18px;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.impact-card:hover {
  border-color: rgba(201, 162, 74, 0.65);
  background: rgba(201, 162, 74, 0.06);
  transform: translateY(-2px);
}

.impact-card__icon {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--gold);
}
.impact-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.impact-card__body { min-width: 0; }

.impact-card__body h3 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}
.impact-card__body p {
  margin: 0;
  color: var(--on-navy-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-card { padding: 1.4rem 1.5rem; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .impact-card { transition: none; }
  .impact-card:hover { transform: none; }
}

/* ---------- Trefwoorden / "In de praktijk" ---------- */

.keyword-row {
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.keyword-row li {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  /* text-transform: uppercase; */
  line-height: 1.2;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(201, 162, 74, 0.45);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
}

@media (max-width: 520px) {
  .keyword-row { gap: 0.6rem; }
  .keyword-row li { padding: 0.6rem 1.15rem; letter-spacing: 0.12em; }
}

/* ---------- Kunstenaars ---------- */

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.artist { text-align: left; }
.artist .img-frame { min-height: 200px; aspect-ratio: 4 / 5; }

/* Portretten in zwart-wit (feedback Layout #4); kleuren subtiel in bij hover */
.artist img {
  filter: grayscale(100%);
  transition: filter 0.35s ease, transform 0.35s ease;
}

/* Portret + naam zijn klikbaar en linken naar de bio + werken van de kunstenaar */
.artist__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.artist__link:hover img,
.artist__link:focus-visible img {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.artist__link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.artist__name {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.artist__link:hover .artist__name,
.artist__link:focus-visible .artist__name { color: var(--gold-dark); }
.section--navy .artist__name { color: var(--white); }

/* Portret op de detailpagina in zwart-wit (feedback Layout #4) */
.portrait-bw img { filter: grayscale(100%); }

/* Werken-galerij op de kunstenaarsdetailpagina */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.works-grid .img-frame { aspect-ratio: 4 / 5; min-height: 0; }

/* Elk werk is een knop die de lightbox opent */
.artwork {
  font: inherit;
  color: inherit;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 100%;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.artwork:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18, 41, 63, 0.18); }
.artwork:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.works-empty {
  color: var(--ink-muted);
  font-style: italic;
  margin: 0;
}

/* ---------- Lightbox (werk vergroot) ---------- */
.lightbox {
  border: 0;
  padding: 0;
  margin: auto;
  width: auto;
  max-width: min(1100px, 94vw);
  max-height: 92vh;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.lightbox::backdrop { background: rgba(18, 41, 63, 0.88); }

.lightbox__inner {
  display: flex;
  max-height: 92vh;
}
.lightbox__figure {
  position: relative;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__info {
  flex: 0 0 clamp(240px, 28vw, 340px);
  padding: 2.25rem 1.75rem;
  overflow-y: auto;
}
.lightbox__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 1.4rem;
}
.lightbox__meta { margin: 0; }
.lightbox__row { margin-bottom: 1.05rem; }
.lightbox__row[hidden] { display: none; }
.lightbox__row dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}
.lightbox__row dd { margin: 0; font-size: 0.95rem; line-height: 1.45; }

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  color: var(--white);
  background: rgba(18, 41, 63, 0.55);
  border-radius: 50%;
  line-height: 1;
  transition: background 0.15s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(18, 41, 63, 0.9); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.lightbox__close {
  top: 0.6rem;
  right: 0.6rem;
  width: 2.3rem;
  height: 2.3rem;
  font-size: 1.6rem;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
}
.lightbox__nav svg { width: 1.4rem; height: 1.4rem; display: block; }
.lightbox__nav--prev { left: 0.75rem; }
.lightbox__nav--next { right: 0.75rem; }

@media (max-width: 720px) {
  .lightbox { max-width: 96vw; }
  .lightbox__inner { flex-direction: column; }
  .lightbox__figure { max-height: 60vh; }
  .lightbox__img { max-height: 60vh; }
  .lightbox__info { flex: 1 1 auto; padding: 1.5rem 1.4rem; }
}

/* ---------- Quote-blok ---------- */

.pullquote {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  margin: 3rem 0 0;
}
.pullquote--gold { color: var(--gold); }

/* ---------- Partnerpakket ---------- */

.package {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 2px 12px rgba(18, 41, 63, 0.08);
  max-width: 480px;
  /* De kaart staat op een .section--navy; zonder eigen kleur erven de items de
     lichte on-navy tekstkleur op een witte achtergrond (slecht leesbaar). */
  color: var(--ink);
}
.package li { color: var(--ink); }
/* Prijs iets kleiner (feedback Layout #5) */
.package__price {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.75vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
/* Tekst eronder iets donkerder (feedback Layout #5) */
.package__terms { color: var(--ink); margin: 0.4rem 0 1.5rem; }
.package ul { list-style: none; margin: 0; padding: 0; }
.package li {
  padding: 0.65rem 0 0.65rem 1.6rem;
  border-top: 1px solid var(--grey);
  position: relative;
}
.package li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Blauw kader (partnerschap op donkere sectie) */
.section--navy .package { background: var(--white); }

/* ---------- Partnernamen ---------- */

.partner-list {
  margin-top: 2.5rem;
  columns: 3;
  column-gap: 3rem;
  list-style: none;
  padding: 0;
}
.partner-list li {
  break-inside: avoid;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(18, 41, 63, 0.1);
  font-size: 0.95rem;
}
.section--navy .partner-list li { border-bottom-color: rgba(255, 255, 255, 0.12); }
@media (max-width: 860px) { .partner-list { columns: 2; } }
@media (max-width: 560px) { .partner-list { columns: 1; } }

/* ---------- Partnerlogo's (witte kaarten, zoals partnerbalk_voorbeeld) ---------- */

.partner-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}
.partner-logos li {
  background: var(--white);
  border-radius: 4px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
}
.partner-logos img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
/* Partner zonder beschikbaar logo: nette tekst-tegel in plaats van een lege kaart */
.partner-logos .partner-logos__text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 960px) { .partner-logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .partner-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px)  { .partner-logos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Subtiele partner-logobalk in de footer (op elke pagina) ---------- */

.footer-partners {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 2rem;
}
.footer-partners__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  margin-bottom: 1.25rem;
}
.footer-partners__names {
  margin: 0;
  color: var(--on-navy-muted);
  font-size: 0.8rem;
  line-height: 1.9;
}

/* ---------- Bestuur ---------- */

.board-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.board-list li { padding: 0.55rem 0; border-bottom: 1px solid rgba(18, 41, 63, 0.1); }
.board-list strong { color: var(--navy); }
.board-list span { color: var(--ink-muted); }

/* ---------- Event ---------- */

.event-card {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 2px 12px rgba(18, 41, 63, 0.08);
  margin-top: 2.5rem;
}
.event-card--muted {
  background: var(--grey);
  box-shadow: none;
  font-size: 0.95rem;
}

/* ---------- Nieuws ---------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.news-card { background: var(--white); box-shadow: 0 2px 10px rgba(18, 41, 63, 0.07); }
/* Vaste beeldverhouding: alle kaarten in het raster krijgen even hoge beelden */
.news-card .img-frame { min-height: 0; aspect-ratio: 4 / 3; }
.news-card__body { padding: 1.5rem; }
.news-card__body h3 { font-size: 1.15rem; }

/* ---------- Nieuwskaart: volledige kaart klikbaar + metaregel ---------- */

.news-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.news-card__link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.news-card__meta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.5rem;
}
.news-card__type { color: var(--gold-dark); }
.news-card__type::after { content: "\00b7"; color: var(--ink-muted); margin: 0 0.45em; }

.news-card__more { text-decoration: underline; }
.news-card__link:hover .news-card__more,
.news-card__link:focus-visible .news-card__more { color: var(--gold-dark); }

/* ---------- Nieuwsartikel (detailpagina) ---------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 860px) { .article-layout { grid-template-columns: 1fr; } }

.article-figure { margin: 0; }
.article-figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
/* Een persknipsel is een document, geen sfeerbeeld: volledig tonen op wit,
   als een scan die op de pagina ligt. */
.article-figure--clipping .img-frame {
  background: var(--white);
  border: 1px solid rgba(18, 41, 63, 0.12);
  padding: clamp(0.75rem, 2vw, 1.5rem);
}
.article-figure--clipping .img-frame img { object-fit: contain; }

/* Museumbordje: dezelfde registratie als een werkbeschrijving in de collectie.
   De veldenset verschilt per type item (tentoonstelling vs. persartikel). */
.article-facts {
  margin: 0;
  border-top: 2px solid var(--navy);
  padding-top: 1.1rem;
}
.article-facts dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}
.article-facts dd {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(18, 41, 63, 0.14);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--navy);
}
.article-facts dd:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.article-body { max-width: 46em; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.article-body .btn-row { margin-top: 2rem; }
/* .pullquote heeft zelf geen ondermarge (het staat elders als laatste element
   in een blok); in lopende tekst plakt de volgende alinea er anders tegenaan. */
.article-body .pullquote { margin-bottom: 2.5rem; }

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.5rem;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-details p { margin-bottom: 0.4em; }

.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(18, 41, 63, 0.3);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}

/* ---------- Nieuwsbriefinschrijving (hero "Nieuws", op donkerblauw) ---------- */

.newsletter {
  margin-top: 2rem;
  max-width: 34rem;
}

.newsletter__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* Veld en knop op één rij; de knop zakt eronder als de ruimte te krap wordt */
.newsletter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.newsletter__input {
  flex: 1 1 15rem;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.newsletter__input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter__input:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter .btn { flex: none; }

@media (max-width: 480px) {
  .newsletter__input { flex-basis: 100%; }
  .newsletter .btn { width: 100%; }
}

/* ---------- Logorij (partners bij een event) ---------- */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: 2rem;
}
/* Logo's komen in wisselende formaten en verhoudingen binnen; begrenzen op
   hoogte houdt ze optisch even groot. */
.logo-row img {
  height: 2.25rem;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
}

/* ---------- Lopende tekst (privacyverklaring e.d.) ---------- */

.prose { max-width: 46em; }
.prose h2 {
  /* Kleiner dan een sectiekop: dit zijn tussentitels in lopende tekst, geen
     paginakoppen. */
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
}
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin: 0 0 1rem; }
.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}
.prose li { margin-bottom: 0.5rem; }

/* ---------- Formulierstatus, toestemming en spamval ---------- */

/* Honeypot: bewust GEEN display:none — een deel van de bots slaat verborgen
   velden over, maar vult wel alles in wat in de DOM staat. */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Kleine tekst onder een formulier: wat er met de gegevens gebeurt. */
.form-consent {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0 0 1.2rem;
}
.form-consent a { color: inherit; }

.form-consent--on-navy {
  color: var(--on-navy-muted);
  margin-top: 0.9rem;
}
.form-consent--on-navy a { color: var(--gold); }

/* Statusmelding na verzenden. Staat in een aria-live-regio, dus de tekst
   wordt ook voorgelezen. */
.form-status {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid currentColor;
  border-radius: 3px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status[hidden] { display: none; }

.form-status.is-busy {
  color: var(--ink-muted);
  background: var(--grey);
}
.form-status.is-success {
  color: #1F5C3D;
  background: #EAF5EF;
}
.form-status.is-error {
  color: #8C2F26;
  background: #FBECEA;
}

/* Variant voor het nieuwsbriefformulier in de donkerblauwe hero: daar zijn de
   lichte achtergronden hierboven onleesbaar. */
.form-status--on-navy.is-busy {
  color: var(--on-navy-muted);
  background: rgba(255, 255, 255, 0.08);
}
.form-status--on-navy.is-success {
  color: var(--white);
  background: rgba(201, 162, 74, 0.18);
  border-left-color: var(--gold);
}
.form-status--on-navy.is-error {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-left-color: #E8A79F;
}

/* Tijdens het versturen. */
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Na een geslaagde verzending blijft enkel de bedankboodschap staan. */
.is-sent .form-field,
.is-sent .form-consent,
.is-sent .newsletter__label,
.is-sent .newsletter__row,
.is-sent .btn {
  display: none;
}

/* ---------- Doneer-gegevens ---------- */

.donation-details {
  background: var(--navy);
  color: var(--on-navy-muted);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 2.5rem;
}
.donation-details h3 { color: var(--white); }
.donation-details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.5rem; }
.donation-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: baseline;
}
.donation-details dd { margin: 0; color: var(--white); }

/* ---------- KBS-vermelding (kroon + naam) ----------
   De kroon (crown.svg van de Koning Boudewijnstichting) wordt als CSS-mask
   gebruikt en kleurt mee met de omringende tekst via currentColor:
   wit op donkerblauwe secties, donkerblauw op lichte. Plaats het bestand op
   assets/img/crown-kbs.svg (of pas de url() hieronder aan naar de CDN-URL). */

.kbs-mark {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  text-decoration: none;
  color: var(--white);
}
.section--grey .kbs-mark,
.section:not(.section--navy) .kbs-mark { color: var(--navy); }

.kbs-mark__crown {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: currentColor;
  -webkit-mask: url("../assets/img/crown-kbs.svg") no-repeat center / contain;
          mask: url("../assets/img/crown-kbs.svg") no-repeat center / contain;
}

.kbs-mark__text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}
.kbs-mark__tagline {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  opacity: 0.75;
  margin-top: 0.2rem;
}

.kbs-mark__crown--small {
  display: inline-block;
  width: 15px;
  height: 15px;
  vertical-align: -2px;
  margin-right: 0.45rem;
}

.kbs-mark:hover .kbs-mark__text,
.kbs-mark:focus-visible .kbs-mark__text { text-decoration: underline; }

/* ---------- Slot-CTA ---------- */

.closing {
  text-align: center;
}
.closing h2 { color: var(--white); }
.closing__question {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 1.5rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--on-navy-muted);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.25rem 0; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--white); }

.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--on-navy-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-links svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social-links a:hover, .social-links a:focus-visible { border-color: var(--gold); color: var(--gold); }

/* Variant op lichte achtergrond (contactpagina) */
.social-links--dark a { border-color: rgba(18, 41, 63, 0.35); color: var(--navy); }
.social-links--dark a:hover, .social-links--dark a:focus-visible { border-color: var(--gold); color: var(--gold-dark); }

/* ---------- Responsief ---------- */

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
