/* ==================================================================
   SOAMEN DEUR — style.css
   ------------------------------------------------------------------
   Opbouw:
   1. Lettertypes
   2. Kleuren & maten (CSS custom properties): hier pas je het thema aan
   3. Basis
   4. Herbruikbare onderdelen (knoppen, secties, labels)
   5. Header & navigatie
   6. Hero
   7. Agenda / lezingkaarten
   8. Sprekers
   9. Over ons, locatie, contact
   10. Footer
   11. Grotere schermen (media queries)
   12. Voorkeuren (minder beweging, print)
   ================================================================== */


/* 1. LETTERTYPES ---------------------------------------------------
   Zelf gehost (map /fonts): sneller, en geen gegevens naar Google.
   Fraunces (koppen) en Atkinson Hyperlegible (tekst) vallen onder de
   SIL Open Font License en mogen vrij gebruikt worden. */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* 2. KLEUREN & MATEN ----------------------------------------------
   Alle kleuren staan hier. De rode en blauwe tinten komen van de flyer.
   Het felle flyer-rood (#D9535F) heeft te weinig contrast voor tekst,
   daarom gebruiken we voor tekst en knoppen een donkerder rood.
   Contrast van alle tekstkleuren op de achtergrond is minimaal 5,6:1 (WCAG AA). */
:root {
  --kleur-achtergrond: #FBF8F4;   /* gebroken wit */
  --kleur-zand:        #F4ECE2;   /* zachte zandkleur voor afwisselende secties */
  --kleur-wit:         #FFFFFF;
  --kleur-tekst:       #1E2A36;   /* antraciet */
  --kleur-tekst-zacht: #4A5563;
  --kleur-rood:        #A8323F;   /* hoofdkleur: knoppen, accenten */
  --kleur-rood-donker: #8A2632;   /* hover */
  --kleur-rood-flyer:  #D9535F;   /* alleen decoratief */
  --kleur-blauw:       #7EAEDB;   /* flyerblauw, decoratief */
  --kleur-blauw-licht: #E6F0F9;
  --kleur-blauw-donker:#1F4E79;   /* links & focusrand */
  --kleur-rand:        #DDD3C6;

  --font-kop:   "Fraunces", Georgia, "Times New Roman", serif;
  --font-tekst: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius:     14px;
  --radius-klein: 8px;
  --schaduw:    0 1px 2px rgb(30 42 54 / .06), 0 6px 20px rgb(30 42 54 / .07);
  --max-breedte: 72rem;
  --ruimte-sectie: clamp(3.5rem, 8vw, 6.5rem);
}


/* 3. BASIS -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* Basis 112,5% = 18px: prettig leesbaar voor een oudere doelgroep */
  font-size: 112.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem; /* zodat koppen niet onder de vaste header vallen */
  -webkit-text-size-adjust: 100%;
}
/* Knop "Grotere tekst" zet deze class op <html> */
html.tekst-groot { font-size: 131.25%; } /* = 21px */

body {
  margin: 0;
  background: var(--kleur-achtergrond);
  color: var(--kleur-tekst);
  font-family: var(--font-tekst);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-kop);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); color: var(--kleur-rood); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 65ch; }
img, svg { max-width: 100%; display: block; }

a { color: var(--kleur-blauw-donker); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { color: var(--kleur-rood); text-decoration-thickness: .14em; }

/* Duidelijke focusrand voor toetsenbordgebruikers */
:focus-visible {
  outline: 3px solid var(--kleur-blauw-donker);
  outline-offset: 3px;
  border-radius: 4px;
}

address { font-style: normal; }

.container {
  width: min(100% - 2rem, var(--max-breedte));
  margin-inline: auto;
}
@media (min-width: 60em) {
  .container { width: min(100% - 5rem, var(--max-breedte)); }
}

/* Alleen zichtbaar voor schermlezers */
.visueel-verborgen {
  position: absolute !important;
  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;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--kleur-tekst);
  color: var(--kleur-wit);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-klein);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--kleur-wit); }


/* 4. HERBRUIKBARE ONDERDELEN -------------------------------------- */
.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;            /* grote, makkelijk aan te tikken knoppen */
  padding: .7rem 1.4rem;
  border: 2px solid var(--kleur-rood);
  border-radius: 999px;
  background: var(--kleur-rood);
  color: var(--kleur-wit);
  font: 700 1rem/1.2 var(--font-tekst);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.knop:hover { background: var(--kleur-rood-donker); border-color: var(--kleur-rood-donker); color: var(--kleur-wit); }
.knop:active { transform: translateY(1px); }

.knop--licht { background: transparent; color: var(--kleur-rood); }
.knop--licht:hover { background: var(--kleur-rood); color: var(--kleur-wit); }
.knop--breed { width: 100%; }
.knop[disabled] { opacity: .6; cursor: progress; }

.knoppen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.bovenkop {
  margin: 0 0 .5rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--kleur-rood);
}

.sectie { padding-block: var(--ruimte-sectie); }
.sectie--zand  { background: var(--kleur-zand); }
.sectie--blauw { background: var(--kleur-blauw-licht); }
.sectie-kop { margin-bottom: 2rem; }
.sectie-intro { font-size: 1.1rem; color: var(--kleur-tekst-zacht); }

.label {
  display: inline-block;
  padding: .15rem .7rem;
  border-radius: 999px;
  background: var(--kleur-blauw-licht);
  color: var(--kleur-blauw-donker);
  font-size: .85rem;
  font-weight: 700;
}
.label--archief { background: var(--kleur-zand); color: var(--kleur-tekst-zacht); }

.leeg-melding {
  padding: 1.5rem;
  border: 2px dashed var(--kleur-rand);
  border-radius: var(--radius);
  background: var(--kleur-achtergrond);
}
.leeg-melding p:last-child { margin-bottom: 0; }


/* 5. HEADER & NAVIGATIE ------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251 248 244 / .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--kleur-rand);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-block: .7rem;
}

.merk {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--kleur-rood);
  text-decoration: none;
}
.merk:hover { color: var(--kleur-rood); }
.merk__logo { width: 2.6rem; height: 2.6rem; flex-shrink: 0; }
.merk__tekst { display: flex; flex-direction: column; line-height: 1.15; }
.merk__naam { font-family: var(--font-kop); font-weight: 700; font-size: 1.35rem; }
.merk__sub { font-size: .8rem; color: var(--kleur-tekst-zacht); }

.header-acties { display: flex; align-items: center; gap: .4rem; margin-left: auto; }

/* Kleine telefoons: header compacter zodat alles op één regel past */
@media (max-width: 29.99em) {
  .merk__sub { display: none; }
  .merk__naam { font-size: 1.1rem; }
  .header-inner { column-gap: .5rem; }
  .header-acties { gap: .3rem; }
  .tekstgrootte, .menu-knop { padding: .4rem .6rem; }
}
@media (max-width: 24.99em) {
  .merk__logo { display: none; }
}

.tekstgrootte,
.menu-knop {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .4rem .8rem;
  border: 2px solid var(--kleur-rand);
  border-radius: 999px;
  background: var(--kleur-wit);
  color: var(--kleur-tekst);
  font: 700 .85rem/1 var(--font-tekst);
  cursor: pointer;
}
.tekstgrootte:hover, .menu-knop:hover { border-color: var(--kleur-tekst); }
.tekstgrootte .groot { font-size: 1.3em; }
.tekstgrootte[aria-pressed="true"] { background: var(--kleur-tekst); border-color: var(--kleur-tekst); color: var(--kleur-wit); }
.tekstgrootte__label { display: none; }

.menu-knop__streepjes,
.menu-knop__streepjes::before,
.menu-knop__streepjes::after {
  display: block;
  width: 1.1rem; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s;
}
.menu-knop__streepjes { position: relative; }
.menu-knop__streepjes::before,
.menu-knop__streepjes::after { content: ""; position: absolute; left: 0; }
.menu-knop__streepjes::before { top: -6px; }
.menu-knop__streepjes::after  { top: 6px; }
.menu-knop[aria-expanded="true"] .menu-knop__streepjes { background: transparent; }
.menu-knop[aria-expanded="true"] .menu-knop__streepjes::before { transform: translateY(6px) rotate(45deg); }
.menu-knop[aria-expanded="true"] .menu-knop__streepjes::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobiel: menu klapt uit onder de header */
.hoofdmenu { flex-basis: 100%; display: none; }
.hoofdmenu.is-open { display: block; }
.hoofdmenu ul {
  list-style: none;
  margin: 0;
  padding: .5rem 0 .75rem;
  display: grid;
  gap: .25rem;
}
.hoofdmenu a {
  display: block;
  padding: .75rem .5rem;
  border-radius: var(--radius-klein);
  color: var(--kleur-tekst);
  font-weight: 700;
  text-decoration: none;
}
.hoofdmenu a:hover { background: var(--kleur-zand); color: var(--kleur-rood); }

/* Zonder JavaScript is het menu altijd zichtbaar: zie <noscript> in index.html */


/* 6. HERO --------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}
.hero::before {
  /* Grote blauwe boog rechtsboven, geïnspireerd op de flyer */
  content: "";
  position: absolute;
  top: -12rem; right: -14rem;
  width: 34rem; height: 34rem;
  border: 3.5rem solid var(--kleur-blauw);
  border-radius: 50%;
  opacity: .35;
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero-lead { font-size: clamp(1.15rem, 2.6vw, 1.35rem); }
.hero-motto {
  font-family: var(--font-kop);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  color: var(--kleur-tekst);
  border-left: 4px solid var(--kleur-rood-flyer);
  padding-left: .9rem;
}

.hero-boog {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(3rem, 8vw, 6rem);
  fill: var(--kleur-achtergrond);
}
.hero { background: linear-gradient(180deg, var(--kleur-achtergrond) 0%, var(--kleur-blauw-licht) 100%); }

.volgende {
  position: relative;
  background: var(--kleur-wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  padding: 1.5rem 1.5rem 1.25rem;
  border-top: 6px solid var(--kleur-rood);
}
.volgende p { margin-bottom: .4rem; }
.volgende__kop { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kleur-rood); }
.volgende__datum { font-family: var(--font-kop); font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.volgende__titel { font-size: 1.15rem; font-weight: 700; }
.volgende__info { color: var(--kleur-tekst-zacht); }
.volgende__gratis { display: inline-block; margin-top: .4rem; }
.volgende__gratis::before { content: "✓ "; color: var(--kleur-rood); font-weight: 700; }
.volgende a { font-weight: 700; }


/* 7. AGENDA / LEZINGKAARTEN --------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.filter-status {
  display: inline-flex;
  padding: .25rem;
  border-radius: 999px;
  background: var(--kleur-zand);
}
.filter-knop {
  min-height: 2.75rem;
  padding: .5rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--kleur-tekst);
  font: 700 1rem/1 var(--font-tekst);
  cursor: pointer;
}
.filter-knop[aria-pressed="true"] { background: var(--kleur-tekst); color: var(--kleur-wit); }
.filter-onderwerp { display: grid; gap: .3rem; }
.filter-onderwerp label { font-weight: 700; font-size: .9rem; }

select, input, textarea {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .85rem;
  border: 2px solid var(--kleur-rand);
  border-radius: var(--radius-klein);
  background: var(--kleur-wit);
  color: var(--kleur-tekst);
  font: 400 1rem/1.4 var(--font-tekst);
}
select:hover, input:hover, textarea:hover { border-color: var(--kleur-tekst-zacht); }
select:focus-visible, input:focus-visible, textarea:focus-visible { border-color: var(--kleur-blauw-donker); outline-offset: 1px; }
.filter-onderwerp select { min-width: 15rem; }

.lezingen { display: grid; gap: 1.25rem; }

.lezing {
  display: grid;
  grid-template-columns: 1fr; /* mobiel: datum boven de tekst; vanaf tablet ernaast */
  gap: 1.1rem;
  padding: 1.4rem;
  background: var(--kleur-wit);
  border: 1px solid var(--kleur-rand);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}
.lezing--archief { background: var(--kleur-achtergrond); box-shadow: none; }
.lezing--archief .lezing__datum { background: var(--kleur-tekst-zacht); }

.lezing__datum {
  /* Mobiel: een liggend datumlabel ("27 NOV") */
  display: flex;
  align-items: baseline;
  gap: .45rem;
  justify-self: start;
  padding: .45rem 1rem;
  border-radius: var(--radius-klein);
  background: var(--kleur-rood);
  color: var(--kleur-wit);
  text-align: center;
  line-height: 1;
}
.lezing__dag { font-family: var(--font-kop); font-size: 1.9rem; font-weight: 700; }
.lezing__maand { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.lezing__body { min-width: 0; }
.lezing__labels { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.lezing__titel { margin-bottom: .5rem; font-size: 1.35rem; }
.lezing__meta {
  list-style: none;
  margin: 0 0 .9rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.1rem;
  color: var(--kleur-tekst-zacht);
  font-weight: 700;
  font-size: .95rem;
}
.lezing__meta li { display: inline-flex; align-items: center; gap: .35rem; }
.lezing__meta svg { width: 1.05em; height: 1.05em; fill: var(--kleur-rood); flex-shrink: 0; }
.lezing__spreker { font-weight: 700; }
.lezing__spreker span { font-weight: 400; color: var(--kleur-tekst-zacht); }

.lezing details {
  margin: 0 0 1rem;
  border-top: 1px solid var(--kleur-rand);
  padding-top: .75rem;
}
.lezing summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--kleur-blauw-donker);
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}
.programma { list-style: none; margin: .25rem 0 0; padding: 0; }
.programma li { display: grid; grid-template-columns: 4.5rem 1fr; gap: .5rem; padding: .35rem 0; border-bottom: 1px dotted var(--kleur-rand); }
.programma li:last-child { border-bottom: 0; }
.programma time { font-weight: 700; color: var(--kleur-rood); }

.lezing__acties { display: flex; flex-wrap: wrap; gap: .6rem; }

.agenda-noot { margin-top: 2rem; color: var(--kleur-tekst-zacht); }


/* 8. SPREKERS ----------------------------------------------------- */
.sprekers { display: grid; gap: 1.25rem; }
.sprekers:empty { display: none; }

.spreker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem;
  background: var(--kleur-wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}
.spreker__foto,
.spreker__initialen {
  width: 4.5rem; height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.spreker__initialen {
  display: grid;
  place-items: center;
  background: var(--kleur-blauw-licht);
  color: var(--kleur-blauw-donker);
  font-family: var(--font-kop);
  font-size: 1.5rem;
  font-weight: 700;
}
.spreker h3 { margin-bottom: .15rem; }
.spreker__rol { color: var(--kleur-rood); font-weight: 700; margin-bottom: .6rem; }
.spreker__bio { margin-bottom: .8rem; }
.spreker .contactlijst { margin: 0; font-size: .95rem; }


/* 9. OVER, LOCATIE, CONTACT --------------------------------------- */
.over-grid, .locatie-grid, .contact-grid { display: grid; gap: 2.5rem; }
.over-partner { padding-top: 1rem; border-top: 1px solid var(--kleur-rand); color: var(--kleur-tekst-zacht); }

.kenmerken { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; align-content: start; }
.kenmerken li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  padding: 1.25rem;
  background: var(--kleur-zand);
  border-radius: var(--radius);
}
.kenmerken h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.kenmerken p { margin: 0; grid-column: 2; }
.kenmerk__icoon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--kleur-wit);
}
.kenmerk__icoon svg { width: 1.5rem; height: 1.5rem; fill: var(--kleur-rood); }

.adreskaart {
  padding: 1.75rem;
  background: var(--kleur-wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  border-left: 6px solid var(--kleur-blauw);
  align-self: start;
}
.adreskaart__naam { font-family: var(--font-kop); font-size: 1.35rem; font-weight: 700; margin-bottom: .3rem; }

.contactlijst { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .4rem; }
.contactlijst li { display: flex; flex-wrap: wrap; gap: .1rem .6rem; }
.contactlijst a { font-weight: 700; overflow-wrap: anywhere; }
.contactlijst__label { min-width: 5.5rem; color: var(--kleur-tekst-zacht); }
.contactlijst--groot { font-size: 1.15rem; }

.formulier {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--kleur-wit);
  border: 1px solid var(--kleur-rand);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}
.veld { display: grid; gap: .35rem; }
.veld label, .keuze legend { font-weight: 700; }
.veld-rij { display: grid; gap: 1.1rem; }
.verplicht { color: var(--kleur-rood); }
.optioneel { font-weight: 400; color: var(--kleur-tekst-zacht); }
.veld__hint { margin: -.5rem 0 0; font-size: .9rem; color: var(--kleur-tekst-zacht); }
.veld__fout { margin: 0; color: var(--kleur-rood); font-weight: 700; font-size: .95rem; }
.veld__fout::before { content: "! "; }
[aria-invalid="true"] { border-color: var(--kleur-rood); }
textarea { resize: vertical; min-height: 7rem; }

.keuze { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.keuze legend { padding: 0; margin-bottom: .5rem; }
.keuze__optie {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 3rem;
  padding: .5rem .9rem;
  border: 2px solid var(--kleur-rand);
  border-radius: var(--radius-klein);
  cursor: pointer;
}
.keuze__optie:has(input:checked) { border-color: var(--kleur-rood); background: #FBF0F1; }
.keuze__optie input { width: 1.35rem; height: 1.35rem; min-height: 0; margin: 0; accent-color: var(--kleur-rood); }

.formulier__status { margin: 0; font-weight: 700; }
.formulier__status:empty { display: none; }
.formulier__status.is-gelukt { padding: .9rem 1rem; border-radius: var(--radius-klein); background: #E7F3EA; color: #1D5A2E; }
.formulier__status.is-fout   { padding: .9rem 1rem; border-radius: var(--radius-klein); background: #FBEDEE; color: var(--kleur-rood-donker); }
.formulier__privacy { margin: 0; font-size: .85rem; color: var(--kleur-tekst-zacht); }

[hidden] { display: none !important; }


/* 10. FOOTER ------------------------------------------------------ */
.site-footer {
  background: var(--kleur-tekst);
  color: #E9EDF1;
  padding-block: 3rem 1.5rem;
}
.site-footer a { color: var(--kleur-wit); }
.site-footer a:hover { color: var(--kleur-blauw); }
.site-footer :focus-visible { outline-color: var(--kleur-blauw); }
.footer-grid { display: grid; gap: 2rem; }
.footer-merk { font-family: var(--font-kop); font-size: 1.5rem; font-weight: 700; color: var(--kleur-wit); margin-bottom: .4rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-onder { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .15); font-size: .9rem; }
.footer-onder { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.footer-onder p { margin: 0; }
.footer-maker { color: #C5CDD6; } /* rustig, contrast 9,1:1 op de footer */


/* 11. GROTERE SCHERMEN -------------------------------------------- */
@media (min-width: 40em) {
  .tekstgrootte__label { display: inline; }
  .veld-rij { grid-template-columns: 1fr 1fr; }
  .keuze { grid-template-columns: 1fr 1fr; }
  .keuze legend { grid-column: 1 / -1; }
  .lezing { grid-template-columns: 5.5rem 1fr; padding: 1.75rem; gap: 1.5rem; }
  .lezing__datum { flex-direction: column; align-items: center; justify-content: center; gap: .25rem; width: 5.5rem; height: 5.75rem; padding: 0; justify-self: auto; }
  .lezing__dag { font-size: 2.3rem; }
  .sprekers { grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 60em) {
  /* Menu naast het logo in plaats van uitklapbaar */
  .menu-knop { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .hoofdmenu { display: block; flex-basis: auto; margin-left: auto; order: 2; }
  .header-acties { order: 3; }
  .hoofdmenu ul { display: flex; padding: 0; gap: .15rem; }
  .hoofdmenu a { padding: .55rem .8rem; }
  .hoofdmenu__cta { background: var(--kleur-rood); color: var(--kleur-wit) !important; border-radius: 999px !important; padding-inline: 1.1rem !important; margin-left: .3rem; }
  .hoofdmenu .hoofdmenu__cta:hover { background: var(--kleur-rood-donker); }

  .hero-inner { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
  .over-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
  .locatie-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
  /* Twee kaarten naast elkaar; staat er maar één lezing, dan vult die de hele breedte */
  .lezingen { grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); }
}


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

/* Netjes printen, bijvoorbeeld de agenda voor op de koelkast */
@media print {
  html { font-size: 100%; }
  .site-header, .hero::before, .hero-boog, .filters, .formulier, .knop, .tekstgrootte, .skip-link { display: none !important; }
  body, .sectie--zand, .sectie--blauw, .hero { background: #fff !important; }
  .lezing, .spreker, .adreskaart { box-shadow: none; break-inside: avoid; }
  .lezing details > *:not(summary) { display: block; }
  a[href^="mailto"]::after, a[href^="tel"]::after { content: ""; }
}
