/* ==========================================================================
   Aanspeelpunt: modulepagina's (modules.html, module-speler-klapt-dicht.html)
   Alleen tokens uit tokens.css.
   ========================================================================== */

/* hidden wint van display op kaarten en knoppen */
[hidden] { display: none !important; }

/* ---------- Zo werkt een module ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 1.5rem; list-style: none; }
@media (min-width: 40em) { .anatomy { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .anatomy { grid-template-columns: repeat(4, 1fr); } }
.anatomy li { position: relative; display: grid; gap: .45rem; align-content: start; }
.anatomy li p { color: var(--muted); max-width: 22rem; }
.anatomy__icon {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; margin-bottom: .35rem;
  border: var(--btn-border) solid var(--border-strong); border-radius: var(--radius-tag);
  background: var(--bg); color: var(--heading);
}
.anatomy__icon svg { width: 1.45rem; height: 1.45rem; }
.anatomy__title { font-size: 1.3rem; }
@media (max-width: 39.99em) {
  .anatomy li { grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; row-gap: .25rem; }
  .anatomy__icon { grid-row: span 2; margin-bottom: 0; }
}
/* Een lijn door de vier onderdelen: één module, één week */
@media (min-width: 64em) {
  .anatomy li:not(:last-child)::before {
    content: ""; position: absolute; top: 1.625rem; left: 3.25rem; right: -1.5rem;
    border-top: var(--btn-border) dashed var(--border-strong);
  }
}

/* ---------- Modulekaart (aanvulling op base.css) ---------- */
.module-card { height: 100%; }
.module-card__head { justify-content: space-between; }
.module-card__path { text-align: right; }
.module-card__title { font-size: 1.25rem; overflow-wrap: break-word; }
.thema__title, .part-title, .anatomy__title { overflow-wrap: break-word; }
.module-card .parts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(8.75rem, max-content)); gap: .35rem 1.25rem;
  margin-top: auto; padding-top: .85rem; font-size: .875rem; color: var(--muted);
}
.module-card .parts li { padding-left: 1.4rem; }
.module-card .parts svg { top: .15rem; width: 1rem; height: 1rem; }
.module-card .status { margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--border); }
/* Hoofdstukken per module, uitklapbaar. Boven de klikbare kaartlink, zodat ze te openen blijven. */
.module-card__chapters { position: relative; z-index: 2; border-top: 1px solid var(--border); padding-top: .6rem; }
.module-card__chapters > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: var(--target, 44px); font-weight: 700; font-size: .92rem; cursor: pointer; list-style: none; }
.module-card__chapters > summary::-webkit-details-marker { display: none; }
.module-card__chapters > summary::after { content: "+"; flex: none; width: 1.25rem; font-size: 1.25rem; font-weight: 400; line-height: 1; text-align: center; }
.module-card__chapters[open] > summary::after { content: "\2212"; }
.module-card__chapters ol { display: grid; gap: .55rem; margin: .25rem 0 .4rem; padding: 0; list-style: none; font-size: .9rem; }
.module-card__chapters li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .5rem; color: var(--muted); }
.module-card__chapters strong { color: var(--text); }
.module-card__time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }
.module-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-top: .35rem; }
.module-card__open { font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.module-card--open:hover .module-card__open { text-decoration-thickness: 2px; }
.module-card--soon { border-style: dashed; background: transparent; }
.module-card--soon .module-card__num { color: var(--muted); }
.module-card--open { box-shadow: 0 0 0 1px var(--border-strong); }
:root .module-card--open { box-shadow: none; }
:root .anatomy__icon { width: auto; height: auto; margin-bottom: .2rem; border: 0; background: none; color: var(--heading); place-items: start; }
:root .anatomy__icon svg { width: 1.5rem; height: 1.5rem; }
:root .anatomy li::before { display: none; }
:root .part__icon { display: none; }
:root .module-card__num { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; padding: .22rem .6rem; border-radius: 999px; background: var(--aud-tint); color: var(--aud-ink); font-family: var(--font-body); font-size: .875rem; font-weight: 700; line-height: 1.3; letter-spacing: .02em; }
:root .module-card--soon .module-card__num { background: transparent; box-shadow: inset 0 0 0 1px var(--aud-ink); }
:root .starter-card { border: 1px solid var(--border); }
:root .starter-card li { border-top-style: solid; border-top-color: var(--border); }
:root .starter-card li:last-child { border-bottom-style: solid; border-bottom-color: var(--border); }
:root .escalate { border-width: 2px; }
:root .catalog__empty { border-width: 1px; border-color: var(--border-hover); }

/* ---------- Voor wie: de vier doelgroepen ---------- */
/* De catalogus is per doelgroep ingedeeld. Bovenaan vier tegels; zonder JavaScript zijn het ankers naar de groepen, met
   JavaScript tabs (aria-selected). Een tegel is Paper met een stip in de inkt van de doelgroep; gekozen krijgt hij de tint
   als veld en een rand van 2px in de inkt, zoals een ingedrukt doelgroepfilter laat zien wie gekozen is. */
.catalog { padding-top: 0; }
.catalog__title { margin-bottom: 1rem; font-size: calc(clamp(1.5rem, 1.2rem + 1.2vw, 2rem) * var(--display-scale)); }
.doelgroepen__lijst { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 46rem; list-style: none; }
.doelgroep-keuze {
  --aud-tint: var(--aud-basis); --aud-ink: var(--aud-basis-ink);
  position: relative; display: grid; gap: .2rem; align-content: start; height: 100%;
  padding: 1rem 1.1rem 1rem 2.6rem; border-radius: var(--radius-card);
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--border-hover);
  color: var(--text); text-decoration: none;
  transition: box-shadow .2s ease, background-color .2s ease;
}
.doelgroep-keuze::before { content: ""; position: absolute; left: 1.1rem; top: 1.45rem; width: .75rem; height: .75rem; border-radius: 50%; background: var(--aud-ink); }
.doelgroep-keuze__naam { font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.doelgroep-keuze__telling { color: var(--muted); font-size: .92rem; }
.doelgroep-keuze:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--aud-ink) 55%, var(--border)); }
.doelgroep-keuze:hover .doelgroep-keuze__naam { text-decoration: underline; text-underline-offset: .2em; }
.doelgroep-keuze[aria-selected="true"] { background: var(--aud-tint); box-shadow: inset 0 0 0 2px var(--aud-ink); }
.doelgroep-keuze[aria-selected="true"] .doelgroep-keuze__naam { text-decoration: none; }
.doelgroep-keuze[aria-selected="true"] .doelgroep-keuze__telling { color: var(--on-aud); }
.doelgroep-keuze:focus-visible { outline-offset: 3px; }

/* ---------- Filters ---------- */
.filters {
  display: grid; gap: 1rem; margin: 1rem 0;
  padding: clamp(1rem, 3vw, 1.5rem); border-radius: var(--radius-block); background: var(--surface);
}
.filters__group { display: grid; gap: .5rem; }
@media (min-width: 48em) { .filters__group { grid-template-columns: 6.5rem 1fr; align-items: center; } }
.filters__label { font-weight: 700; }
.filters__options { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: var(--target); padding: .45rem 1rem;
  border: var(--btn-border) solid var(--border-strong); border-radius: var(--radius-btn);
  background: var(--bg); color: var(--text); font-weight: 700; font-size: .95rem; line-height: 1.2;
}
.filter:hover { background: var(--surface-2); }
.filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.filter[aria-pressed="true"]::before { content: ""; width: .7em; height: .38em; margin-top: -.2em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.filter__bij { font-weight: 500; }
.filters__count { font-weight: 700; }
@media (min-width: 48em) and (max-width: 63.99em) { .filters__count { padding-left: 7rem; } }
/* Breed: de drie groepen naast elkaar, het label erboven, de telling eronder */
@media (min-width: 64em) {
  .filters { grid-template-columns: repeat(3, max-content); justify-content: start; gap: 1rem 2.5rem; }
  .filters__group { grid-template-columns: none; align-content: start; }
  .filters__count { grid-column: 1 / -1; }
}

.catalog__empty { display: grid; gap: .8rem; justify-items: start; padding: clamp(1.5rem, 4vw, 2.5rem); border: var(--btn-border) dashed var(--border-strong); border-radius: var(--radius-block); }
.catalog__empty h2 { font-size: calc(clamp(1.5rem, 1.2rem + 1.2vw, 2rem) * var(--display-scale)); }
.catalog__empty p { max-width: var(--measure); color: var(--muted); }

/* ---------- Een groep per doelgroep ---------- */
.doelgroep { padding-top: clamp(1.75rem, 4vw, 2.5rem); }
.doelgroep + .doelgroep { margin-top: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--border); }
.doelgroep__head { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.doelgroep__title { font-size: calc(clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem) * var(--display-scale)); }
.doelgroep__uitleg { max-width: var(--measure); color: var(--muted); }
.doelgroep__uitleg a { font-weight: 700; }
/* Met JavaScript staat er één groep tegelijk, dus geen lijn tussen groepen */
.catalog[data-tabs] .doelgroep { margin-top: 0; border-top: 0; }

/* ---------- Thema's: klappen open en dicht ---------- */
/* Een thema is een onderwerp over doelgroepen heen; de kop heeft dus geen tint van een doelgroep maar Basis Stone. De kop is de
   <summary>: titel en korte uitleg links, de telling en een ronde pijl rechts. Open zakt het raster met kaarten eronder uit.
   Telling werkt js/modules.js bij als je filtert; een thema zonder zichtbare kaart verdwijnt. */
.themas { display: grid; gap: .75rem; }
.thema { border-radius: var(--radius-block); }
.thema__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tekst pijl" "telling pijl";
  gap: .5rem 1.25rem; align-items: center;
  padding: 1.1rem clamp(1.15rem, 3vw, 1.6rem);
  border-radius: var(--radius-block); background: var(--aud-basis); color: var(--text);
  cursor: pointer; list-style: none; transition: background-color .2s ease;
}
@media (min-width: 48em) { .thema__head { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "tekst telling pijl"; gap: .5rem 1.75rem; } }
.thema__head::-webkit-details-marker { display: none; }
.thema__head:hover { background: color-mix(in srgb, var(--aud-basis-ink) 9%, var(--aud-basis)); }
.thema__head:focus-visible { outline-offset: 3px; }
.thema__tekst { grid-area: tekst; display: grid; gap: .3rem; }
.thema__kop { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.thema__title { font-size: calc(clamp(1.25rem, 1.1rem + .6vw, 1.55rem) * var(--display-scale)); }
.thema__kort { max-width: var(--measure); color: var(--muted); }
.thema__telling { grid-area: telling; font-weight: 700; font-size: .95rem; }
@media (min-width: 48em) { .thema__telling { text-align: right; max-width: 14rem; } }
.thema__pijl {
  grid-area: pijl; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--bg); color: var(--heading);
}
.thema__pijl svg { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.thema[open] > .thema__head .thema__pijl svg { transform: rotate(180deg); }
.thema__kop .tag--gratis { padding: .15rem .65rem; font-size: .85rem; }
.thema__grid { display: grid; gap: 1.25rem; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.thema > .thema__grid { padding: 1.25rem 0 1.75rem; }
/* Openklappen glijdt, waar de browser hoogte naar auto kan animeren. Zonder blijft het gewoon open en dicht. */
@supports (interpolate-size: allow-keywords) {
  .thema { interpolate-size: allow-keywords; }
  .thema::details-content {
    height: 0; overflow: clip; overflow-clip-margin: 8px;
    transition: height .35s cubic-bezier(.2, .8, .2, 1), content-visibility .35s allow-discrete;
  }
  .thema[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .thema::details-content, .thema__pijl svg { transition: none; }
}
/* Via ?thema= in de link gekozen: een lijn in Basis Moss om de kop, zodat je ziet waar je bent */
.thema--gekozen > .thema__head { box-shadow: 0 0 0 3px var(--aud-basis-ink); }
:is(.thema, .catalog, .doelgroep)[tabindex="-1"]:focus { outline: none; }

/* Gratis (basispakket): de rustige omlijnde tag, met dezelfde dunne lijn als .page-hero .tag en het nummer van een module die
   binnenkort komt. Bewust geen groen: Pitch Green is alleen voor acties, en een groene pil zou op een knop lijken. */
.tag--gratis { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }

/* ---------- Afsluiting ---------- */
.closing { display: grid; gap: 1.5rem; }
@media (min-width: 60em) { .closing { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; } }
.closing__text { display: grid; gap: .9rem; }
.closing__text p { max-width: var(--measure); color: var(--muted); font-size: 1.1rem; }

/* ==========================================================================
   Detailpagina
   ========================================================================== */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .7; }
.crumbs a { display: inline-block; padding-block: .75rem; }
.module-facts { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: .4rem; }
.module-facts div { display: grid; gap: .15rem; }
.module-facts dt { font-size: .9rem; color: var(--muted); }
.module-facts dd { font-weight: 700; }
.page-hero .tag { box-shadow: inset 0 0 0 1px var(--line-strong); }

.module-jump { margin-top: .6rem; }
.module-jump ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.module-jump a {
  display: inline-flex; align-items: center; gap: .45rem; min-height: var(--target); padding: .45rem .95rem;
  border: 1px solid var(--line-strong, var(--border-strong)); border-radius: var(--radius-btn);
  color: var(--text); font-weight: 700; font-size: .95rem; text-decoration: none;
}
.module-jump a:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.module-jump svg { width: 1.05rem; height: 1.05rem; flex: none; }

/* Videospeler en hoofdstukken */
.player { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 64em) { .player { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; } }
.player .media-placeholder { overflow: hidden; }
.player__title { position: absolute; left: 1.1rem; top: .9rem; right: 1.1rem; font-weight: 700; font-size: .95rem; }
.player__bar { position: absolute; left: 1.1rem; right: 1.1rem; bottom: .9rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.player__track { height: 4px; border-radius: 2px; background: currentColor; opacity: .35; }
.player__frame { overflow: hidden; border-radius: var(--radius-card); background: var(--accent); aspect-ratio: 16 / 9; position: relative; }
/* de speelknop op de poster: de rode punt van de speelknoppen op de site, met een wit pictogram */
.player__start { position: absolute; left: 50%; top: 50%; width: 5.5rem; height: 5.5rem; translate: -50% -50%; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--dot); color: #FFFFFF; cursor: pointer; transition: transform .2s ease; }
.player__start svg { width: 2.2rem; height: 2.2rem; margin-left: .25rem; }
.player__start:hover { transform: scale(1.05); }
.player__start:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.player__start[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .player__start { transition: none; } .player__start:hover { transform: none; } }
.player__video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--accent); }
.player__video:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.chapters__seek { padding: 0; border: 0; background: none; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; cursor: pointer; }
.chapters__seek:hover { color: var(--brand-hover); }
.chapters__seek:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.transcript { margin-top: 1.25rem; }
.transcript summary { cursor: pointer; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.transcript h3 { margin-top: 1.1rem; font-size: 1rem; }
.transcript p { margin-top: .3rem; color: var(--text); font-size: .95rem; }
.checklist--one { max-width: var(--measure); }
@media (min-width: 64em) { .checklist--one { grid-template-columns: 1fr; } }
.chapters h2 { font-size: calc(clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem) * var(--display-scale)); }
.chapters ol { display: grid; margin-top: 1rem; list-style: none; border-top: 1px solid var(--border); }
.chapters li { display: grid; grid-template-columns: 3.25rem 1fr; gap: .8rem; padding-block: .9rem; border-bottom: 1px solid var(--border); }
.chapters time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--heading); }
.chapters strong { display: block; }
.chapters p { color: var(--muted); font-size: .95rem; }

/* Onderdelen van de module */
.part__head { display: grid; gap: .8rem; max-width: 46rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.part-title { display: flex; align-items: center; gap: .9rem; font-size: calc(clamp(1.6rem, 1.1rem + 2.4vw, 3.1rem) * var(--display-scale)); }
.starter__intro .part-title { font-size: calc(clamp(1.6rem, 1.1rem + 2vw, 2.6rem) * var(--display-scale)); }
.part__icon { display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border: var(--btn-border) solid var(--border-strong); border-radius: var(--radius-tag); color: var(--heading); }
.part__icon svg { width: 1.35rem; height: 1.35rem; }
.part__head .lead { max-width: 40rem; }
.part-rule { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* Oefening */
.exercise-facts { display: flex; flex-wrap: wrap; gap: .75rem 2.25rem; margin-bottom: 2rem; }
.exercise-facts div { display: grid; gap: .1rem; }
.exercise-facts dt { font-size: .9rem; color: var(--muted); }
.exercise-facts dd { font-weight: 700; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); }
.exercise-tips { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
@media (min-width: 48em) { .exercise-tips { grid-template-columns: 1fr 1fr; } }
.tip { display: grid; gap: .45rem; align-content: start; padding: 1.25rem 1.3rem; border-radius: var(--radius-card); background: var(--surface); }
.tip h3 { font-size: 1.1rem; }

/* Gespreksstarter */
.starter { display: grid; gap: 1.75rem; }
@media (min-width: 60em) { .starter { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: start; gap: 3rem; } }
.starter__intro { display: grid; gap: 1rem; align-content: start; }
.starter__intro p { color: var(--muted); }
.starter-card {
  position: relative; display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  border: var(--btn-border) solid var(--border-strong); border-radius: var(--radius-block); background: var(--bg);
}
.starter-card__for { font-weight: 700; font-size: .95rem; color: var(--muted); }
.starter-card ul { display: grid; list-style: none; }
.starter-card li {
  padding-block: 1rem; border-top: 1px dashed var(--border-strong);
  font-family: var(--font-hand); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); line-height: 1.3; color: var(--heading);
}
.starter-card li:last-child { border-bottom: 1px dashed var(--border-strong); }
.starter-card__after { color: var(--muted); }
.print-only { display: none; }

/* Checklist */
.checklist { display: grid; gap: 1.25rem; }
@media (min-width: 64em) { .checklist { grid-template-columns: repeat(3, 1fr); } }
.check-col { display: grid; gap: .9rem; align-content: start; padding: 1.4rem 1.3rem 1.5rem; border: var(--card-border); border-radius: var(--radius-card); background: var(--bg); }
.check-col h3 { font-size: 1.25rem; }
.marks { display: grid; gap: .7rem; list-style: none; }
.marks li { position: relative; padding-left: 1.85rem; }
.marks svg { position: absolute; left: 0; top: .2rem; width: 1.2rem; height: 1.2rem; }
.marks--look svg { color: var(--heading); }
.marks--do svg { color: var(--link); }
.marks--dont svg { color: var(--muted); }

.escalate { margin-top: 1.25rem; padding: clamp(1.4rem, 4vw, 2.25rem); border: 3px solid var(--border-strong); border-radius: var(--radius-block); background: var(--bg); }
.escalate > h3 { font-size: calc(clamp(1.5rem, 1.2rem + 1.2vw, 2rem) * var(--display-scale)); font-family: var(--font-display); font-weight: var(--display-weight); font-variation-settings: var(--display-wdth); letter-spacing: var(--display-tracking); }
.escalate > p { margin-top: .6rem; max-width: var(--measure); color: var(--muted); }
.escalate dl { display: grid; margin-top: 1.25rem; border-top: 1px solid var(--border); }
.escalate dl > div { display: grid; gap: .3rem 2rem; padding-block: 1rem; border-bottom: 1px solid var(--border); }
@media (min-width: 48em) { .escalate dl > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.escalate dt { font-weight: 700; }
.escalate dd { color: var(--text); }
.escalate dd p + p { margin-top: .4rem; }
.escalate__urgent dt { color: var(--danger); }
.escalate__num { font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.credit { margin-top: 1.5rem; font-size: .95rem; color: var(--muted); max-width: 46rem; }

/* Voortgang */
.progress { display: grid; gap: 1.25rem; max-width: 52rem; padding: clamp(1.25rem, 4vw, 2rem); border: var(--card-border); border-radius: var(--radius-card); background: var(--bg); }
@media (min-width: 48em) { .progress { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; } }
.progress__text { display: grid; gap: .6rem; }
.progress__text h2 { font-size: calc(clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem) * var(--display-scale)); }
.progress .status { margin-top: 0; padding-top: 0; font-size: 1.05rem; }
.progress__note { font-size: .95rem; color: var(--muted); max-width: 34rem; }
.progress .btn svg { width: 1.2em; height: 1.2em; }

/* Vorige en volgende */
.neighbours { display: grid; gap: 1.25rem; list-style: none; }
@media (min-width: 48em) { .neighbours { grid-template-columns: 1fr 1fr; } }
.neighbours .module-card__path { font-weight: 700; }
.module-card__foot .status { margin-top: 0; padding-top: 0; border-top: 0; font-size: .88rem; }
.back { margin-top: 1.75rem; }

/* ---------- Print: alleen de gespreksstarter ---------- */
@media print {
  html[data-print="gespreksstarter"] body > :not(main),
  html[data-print="gespreksstarter"] main > :not(#gespreksstarter) { display: none !important; }
  html[data-print="gespreksstarter"] #gespreksstarter { padding: 0; }
  html[data-print="gespreksstarter"] .starter { display: block; }
  html[data-print="gespreksstarter"] .starter__intro > :not(h2) { display: none; }
  html[data-print="gespreksstarter"] .starter__intro h2 { margin-bottom: 1rem; font-size: 1.6rem; }
  html[data-print="gespreksstarter"] .part__icon { display: none; }
  .starter-card { border: 2px solid var(--text); background: var(--bg); break-inside: avoid; }
  .starter-card li, .starter-card__for, .starter-card__after { color: var(--text); }
  .starter-card li { border-color: var(--text); }
  .print-only { display: block; margin-top: .5rem; font-size: .85rem; color: var(--text); }
  .no-print { display: none !important; }
}

/* ---------- Kleur per doelgroep: dezelfde tinten als de modulebeelden op de voorpagina ---------- */
/* Elke kaart, filterknop en doelgroepstip krijgt de zachte tint (--aud-tint) en de donkere tint (--aud-ink) van zijn doelgroep. */
.module-card, .aud-card, .filter, .thema__aud { --aud-tint: var(--aud-basis); --aud-ink: var(--aud-basis-ink); }
:is(.module-card, .filter, .thema__aud, .doelgroep-keuze)[data-aud="trainer"], .filter[data-value="trainer"], .aud-card--trainer { --aud-tint: var(--aud-trainer); --aud-ink: var(--aud-trainer-ink); }
:is(.module-card, .filter, .thema__aud, .doelgroep-keuze)[data-aud="ouder"], .filter[data-value="ouder"], .aud-card--ouder { --aud-tint: var(--aud-ouder); --aud-ink: var(--aud-ouder-ink); }
:is(.module-card, .filter, .thema__aud, .doelgroep-keuze)[data-aud="club"], .filter[data-value="club"], .aud-card--club { --aud-tint: var(--aud-club); --aud-ink: var(--aud-club-ink); }
:is(.module-card, .filter, .thema__aud, .doelgroep-keuze)[data-aud="ambitie"], .filter[data-value="ambitie"], .aud-card--ambitie { --aud-tint: var(--aud-ambitie); --aud-ink: var(--aud-ambitie-ink); }


/* Kaarten: bij aanwijzen kleurt de rand naar de doelgroep */
.module-card { transition: border-color .2s ease; }
:root .module-card:hover { border-color: color-mix(in srgb, var(--aud-ink) 45%, var(--border)); }

/* Filters op doelgroep: een stip in de eigen kleur, en ingedrukt de donkere tint van die doelgroep */
.filter[data-filter="aud"]:not([data-value="alle"]):not([aria-pressed="true"])::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--aud-ink); }
.filter[data-filter="aud"]:not([data-value="alle"])[aria-pressed="true"] { background: var(--aud-ink); border-color: var(--aud-ink); color: #FFFFFF; }

/* Telefoon: de feiten van een module in twee gelijke kolommen, en de knoppen naar de onderdelen vullen elke rij, zodat ze links en rechts op één lijn staan */
@media (max-width: 35.99em) {
  .module-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
  .module-jump li { flex: 1 1 auto; }
  .module-jump a { width: 100%; justify-content: center; }
}
