/* ------------------------------------------------------------------ *
 * Homepage en hulpbalk
 *
 * Een klein, vast systeem, zoals bij ANBO-PCOB, KBO en Omroep MAX:
 * - Kleur: wit als basis, een lichte blauwe tint voor elke tweede baan,
 *   donkerblauw voor tekst en de voet, oranje alleen voor de hoofdknop.
 * - Vorm: foto's en kaarten hebben ronde hoeken, met linksonder een
 *   kleinere hoek. Knoppen zijn helemaal rond.
 * - Ritme: banen over de volle breedte, elk met dezelfde ruimte erboven
 *   en eronder. De inhoud staat in een kolom van 1200px.
 * ------------------------------------------------------------------ */

:root {
  --h-tint: #eef3f9;
  --h-lijn: #d9e3ef;
  --h-zacht: #4a5b70;
  --h-vorm-groot: 40px 40px 40px 10px;
  --h-vorm-kaart: 24px 24px 24px 6px;
  --h-baan-ruimte: 96px;
  --h-kolom: 1200px;
  --schaal: 1;
}

body {
  overflow-x: clip;
  zoom: var(--schaal);
}

body:has(.scherm-home.is-actief) {
  background: var(--wit);
}

/* Hulpbalk: tekstgrootte en voorlezen ------------------------------ */

.hulpbalk {
  background: var(--blauw);
  color: var(--wit);
  font-size: 17px;
}

/* Hulpbalk en kopbalk lijnen uit met de kolom van de inhoud. */
.hulpbalk-binnen,
.balk {
  padding-inline: max(24px, calc((100% - var(--h-kolom)) / 2));
}

.balk {
  border-bottom-color: var(--h-lijn);
}

.hulpbalk-binnen {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 4px;
  padding-top: calc(4px + env(safe-area-inset-top, 0px));
}

/* Bij grote tekst wordt de welkomstzin ingekort, zodat de knoppen altijd
   op een regel blijven. */
.hulpbalk-welkom {
  opacity: 0.9;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hulpbalk-knoppen,
.voorlees-knop,
.tekstgrootte-label {
  white-space: nowrap;
  flex-shrink: 0;
}

.hulpbalk-knoppen {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.tekstgrootte {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tekstgrootte-label {
  margin-right: 4px;
}

.tekstgrootte button,
.voorlees-knop {
  font: inherit;
  color: var(--wit);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  cursor: pointer;
  line-height: 1;
}

.tekstgrootte button {
  width: 34px;
  height: 32px;
  font-weight: 700;
}

.tekstgrootte button:nth-of-type(1) { font-size: 14px; }
.tekstgrootte button:nth-of-type(2) { font-size: 17px; }
.tekstgrootte button:nth-of-type(3) { font-size: 21px; }

.tekstgrootte button[aria-pressed="true"] {
  background: var(--wit);
  color: var(--blauw);
  border-color: var(--wit);
}

.voorlees-knop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  font-weight: 700;
}

.voorlees-knop svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.voorlees-knop[aria-pressed="true"] {
  background: var(--oranje);
  border-color: var(--oranje);
}

.tekstgrootte button:hover,
.voorlees-knop:hover {
  border-color: var(--wit);
}

.tekstgrootte button:focus-visible,
.voorlees-knop:focus-visible {
  outline: 3px solid #ffb27d;
  outline-offset: 2px;
}

/* Homepage: opbouw ------------------------------------------------- */

/* De homepage vult het scherm, zodat de voet ook op een groot scherm
   onderaan staat. #app heeft boven en onder ruimte, die heffen wij hier op
   zodat de banen tegen de kopbalk en de onderkant aan lopen. */
.scherm-home {
  max-width: none;
}

.scherm-home.is-actief {
  margin-block: -32px calc(-48px - env(safe-area-inset-bottom, 0px));
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.h-baan {
  margin-inline: calc(50% - 50vw);
  padding-block: var(--h-baan-ruimte);
}

.h-baan-wit {
  background: var(--wit);
}

.h-baan-tint {
  background: var(--h-tint);
}

.h-binnen {
  max-width: calc(var(--h-kolom) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Tekst ------------------------------------------------------------ */

.scherm-home h1 {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--blauw);
  margin: 0 0 24px;
}

.scherm-home h2 {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--blauw);
  margin: 0 0 12px;
}

.scherm-home h3 {
  font-size: 24px;
  line-height: 1.3;
  color: var(--blauw);
  margin: 0 0 8px;
}

.scherm-home p {
  margin: 0;
}

.scherm-home .h-bovenkop {
  font-size: 18px;
  font-weight: 700;
  color: var(--oranje-donker);
  margin-bottom: 14px;
}

.scherm-home .h-inleiding {
  font-size: 24px;
  line-height: 1.5;
  color: var(--h-zacht);
  margin-bottom: 36px;
}

.h-klein {
  font-size: 18px;
  color: var(--h-zacht);
}

.h-kop {
  max-width: 720px;
  margin-bottom: 48px;
}

.h-kop p {
  font-size: 21px;
  color: var(--h-zacht);
}

/* Een vorm voor alle grote foto's. */
.h-vorm {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--h-vorm-groot);
  background: var(--h-tint);
}

.scherm-home svg:not(.logo-svg),
.pagina svg:not(.logo-svg) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.h-knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.h-knop-oranje {
  background: var(--oranje);
  color: var(--wit);
}

.h-knop-oranje:hover {
  background: var(--oranje-donker);
}

.h-knop-blauw {
  background: var(--blauw);
  color: var(--wit);
}

.h-knop-blauw:hover {
  background: #16304f;
}

.h-knop:focus-visible,
.h-kaart:focus-visible,
.h-link-bel:focus-visible {
  outline: 4px solid #ffb27d;
  outline-offset: 3px;
}

/* Welkom ----------------------------------------------------------- */

.scherm-home .h-welkom {
  padding-block: 64px 0;
}

.h-welkom-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}

.h-acties {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-bottom: 20px;
}

.h-link-bel {
  display: flex;
  flex-direction: column;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blauw);
  text-decoration: none;
}

.h-link-bel-klein {
  font-size: 17px;
  font-weight: 400;
  color: var(--h-zacht);
}

.h-link-bel:hover {
  text-decoration: underline;
}

.h-welkom-beeld {
  position: relative;
}

.h-welkom-beeld .h-vorm {
  height: 540px;
  object-position: 60% 30%;
}

.h-waardering {
  position: absolute;
  left: -32px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--wit);
  border-radius: var(--h-vorm-kaart);
  padding: 18px 24px;
  box-shadow: 0 12px 32px rgba(31, 58, 95, 0.16);
}

.h-waardering-cijfer {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--blauw);
}

.h-waardering-tekst {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.35;
  color: var(--h-zacht);
  max-width: 170px;
}

.h-sterren {
  color: var(--oranje);
  font-size: 18px;
  letter-spacing: 2px;
}

.scherm-home .h-beloftes {
  max-width: var(--h-kolom);
  padding-inline: 0;
}

.h-beloftes {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  margin-bottom: 0;
  padding-block: 28px;
  border-top: 1px solid var(--h-lijn);
  font-size: 19px;
  font-weight: 700;
  color: var(--blauw);
}

.h-beloftes li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.h-vink {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--h-tint);
}

.h-vink::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 12px;
  height: 6px;
  border-left: 3px solid var(--blauw);
  border-bottom: 3px solid var(--blauw);
  transform: rotate(-45deg);
}

/* Onderwerpen ------------------------------------------------------ */

.h-kaarten {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.h-kaart {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font: inherit;
  color: var(--tekst);
  background: var(--wit);
  border: 0;
  border-radius: var(--h-vorm-kaart);
  padding: 32px 28px 28px;
  text-decoration: none;
}

.h-kaart.is-klikbaar {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.h-kaart.is-klikbaar:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(31, 58, 95, 0.14);
}

.h-icoon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--h-tint);
  color: var(--blauw);
  margin-bottom: 24px;
}

.h-icoon svg {
  width: 32px;
  height: 32px;
}

.h-kaart-titel {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--blauw);
  margin-bottom: 8px;
}

.h-kaart-tekst {
  font-size: 18px;
  line-height: 1.5;
  color: var(--h-zacht);
  margin-bottom: 28px;
}

.h-kaart-voet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--h-lijn);
  font-size: 18px;
  font-weight: 700;
  color: var(--blauw);
}

.h-kaart-voet.is-binnenkort {
  font-weight: 400;
  color: var(--h-zacht);
}

.h-pijl {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--oranje);
  color: var(--wit);
  font-size: 20px;
}

/* Zo werkt het ----------------------------------------------------- */

.h-stappen {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  position: relative;
}

/* Een lijn die de drie nummers verbindt. */
.h-stappen::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc(33.33% - 28px);
  border-top: 2px dashed var(--h-lijn);
}

.h-stappen li {
  position: relative;
}

.h-stap-nummer {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blauw);
  color: var(--wit);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 0 0 8px var(--wit);
}

.h-stappen p {
  font-size: 19px;
  color: var(--h-zacht);
}

/* Een mens aan de lijn --------------------------------------------- */

.h-mens {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}

.h-mens-foto {
  height: 520px;
  object-position: 50% 20%;
}

.scherm-home .h-mens-quote {
  font-size: 22px;
  line-height: 1.6;
  margin: 12px 0 24px;
}

.h-mens-naam {
  font-weight: 700;
  color: var(--blauw);
}

.scherm-home .h-mens-rol {
  font-size: 18px;
  color: var(--h-zacht);
  margin-bottom: 32px;
}

.h-mens .h-knop {
  margin-bottom: 14px;
}

/* Ervaring --------------------------------------------------------- */

.h-ervaring {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.h-ervaring blockquote {
  margin: 0 0 32px;
}

.h-ervaring blockquote::before {
  content: "\201C";
  display: block;
  font-size: 110px;
  line-height: 0.8;
  color: var(--oranje);
  margin-bottom: 8px;
}

.h-ervaring blockquote p {
  font-size: 32px;
  line-height: 1.45;
  color: var(--blauw);
}

.h-ervaring figcaption {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 19px;
  color: var(--h-zacht);
}

.h-ervaring figcaption img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.h-ervaring figcaption strong {
  color: var(--blauw);
}

/* Bekend van ------------------------------------------------------- */

.scherm-home .h-bekend {
  padding-block: 0 var(--h-baan-ruimte);
}

.h-bekend .h-binnen {
  max-width: var(--h-kolom);
  padding-inline: 0;
  padding-top: 48px;
  border-top: 1px solid var(--h-lijn);
  text-align: center;
}

.scherm-home .h-bekend-kop {
  font-size: 18px;
  color: var(--h-zacht);
  margin-bottom: 28px;
}

.h-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 56px;
}

.h-logos img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Voet ------------------------------------------------------------- */

.h-voet {
  margin-inline: calc(50% - 50vw);
  margin-top: auto;
  background: var(--blauw);
  color: var(--wit);
  padding-block: 64px calc(64px + env(safe-area-inset-bottom, 0px));
}

.h-voet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.h-voet p {
  font-size: 18px;
  margin: 0 0 12px;
}

.h-voet-kop {
  font-weight: 700;
}

.h-voet-nummer a {
  color: var(--wit);
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
}

/* Kleinere schermen ------------------------------------------------ */

@media (max-width: 1100px) {
  .h-kaarten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --h-baan-ruimte: 64px;
  }

  .h-welkom-grid,
  .h-mens {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .h-welkom-beeld .h-vorm,
  .h-mens-foto {
    height: 380px;
  }

  .h-waardering {
    left: 16px;
    bottom: -28px;
  }

  .h-beloftes {
    flex-direction: column;
    gap: 14px;
    margin-top: 72px;
  }

  .h-stappen {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .h-stappen::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed var(--h-lijn);
  }

  .h-stappen li {
    padding-left: 88px;
  }

  .h-stap-nummer {
    position: absolute;
    left: 0;
    top: 0;
  }

  .h-voet-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hulpbalk-welkom,
  .tekstgrootte-label {
    display: none;
  }

  .hulpbalk-binnen {
    padding-inline: 16px;
  }

  .hulpbalk-knoppen {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .h-binnen {
    padding-inline: 16px;
  }

  .scherm-home .h-beloftes,
  .h-bekend .h-binnen {
    margin-inline: 16px;
  }

  .hulpbalk-binnen,
  .balk {
    padding-inline: 16px;
  }

  .scherm-home .h-welkom {
    padding-top: 40px;
  }

  .scherm-home h1 {
    font-size: 38px;
  }

  .scherm-home h2 {
    font-size: 31px;
  }

  .scherm-home .h-inleiding {
    font-size: 21px;
  }

  .h-knop {
    width: 100%;
  }

  .h-welkom-beeld .h-vorm,
  .h-mens-foto {
    height: 280px;
    border-radius: 28px 28px 28px 8px;
  }

  .h-kaarten {
    grid-template-columns: minmax(0, 1fr);
  }

  .h-ervaring blockquote p {
    font-size: 24px;
  }

  .h-logos {
    gap: 20px 32px;
  }

  .h-logos img {
    height: 32px;
  }
}

/* ------------------------------------------------------------------ *
 * Inhoudspagina, zoals Hoe wij kiezen
 * Zelfde kleuren, vormen en tussenruimte als de homepage. De tekst staat
 * in een smalle kolom, dat leest rustiger.
 * ------------------------------------------------------------------ */

body:has(.pagina) {
  background: var(--wit);
}

.pagina {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.pagina h1 {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--blauw);
  margin: 0 0 20px;
}

.pagina h2 {
  font-size: 32px;
  line-height: 1.25;
  color: var(--blauw);
  margin: 0 0 12px;
}

.pagina-kolom {
  max-width: calc(760px + 48px);
}

.pagina .h-baan {
  margin-inline: 0;
}

.pagina-kop {
  padding-block: 56px 64px;
}

.pagina-kop .h-inleiding {
  margin: 0;
}

.kruimel {
  font-size: 17px;
  color: var(--h-zacht);
  margin-bottom: 24px;
}

.kruimel a {
  color: var(--blauw);
  font-weight: 700;
}

/* Alinea's dicht bij elkaar, ruimte boven elke nieuwe kop. */
.pagina-tekst > p {
  font-size: 20px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.pagina-tekst > h2:not(:first-child) {
  margin-top: 64px;
}

/* Grijs-blauw kader met de drie stappen van het vergelijken. */
.pagina-kader {
  background: var(--h-tint);
  border-radius: var(--h-vorm-kaart);
  padding: 32px 36px;
  margin: 8px 0 24px;
}

.pagina-kader-kop {
  font-size: 21px;
  font-weight: 700;
  color: var(--blauw);
  margin: 0 0 18px;
}

.pagina-stappen {
  list-style: none;
  counter-reset: stap;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.pagina-stappen li {
  counter-increment: stap;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 19px;
}

.pagina-stappen li::before {
  content: counter(stap);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blauw);
  color: var(--wit);
  font-weight: 700;
}

/* Uitklapbare uitleg bij het label Redactionele keuze. */
.pagina-uitleg {
  margin: -8px 0 24px;
}

.pagina-uitleg summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 19px;
  font-weight: 700;
  color: var(--blauw);
  cursor: pointer;
}

.pagina-uitleg summary svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.pagina-uitleg summary:focus-visible {
  outline: 4px solid #ffb27d;
  outline-offset: 3px;
  border-radius: 8px;
}

.pagina-uitleg p {
  margin: 12px 0 0;
  padding: 24px 28px;
  border: 2px solid var(--h-lijn);
  border-radius: var(--h-vorm-kaart);
  font-size: 19px;
  line-height: 1.6;
}

.pagina .pagina-ondertekening {
  margin-top: 56px;
  font-size: 17px;
  color: var(--h-zacht);
  padding-top: 32px;
  border-top: 1px solid var(--h-lijn);
}

.pagina-oproep .h-inleiding {
  margin: 0 0 32px;
}

/* Vaste links in de voet, op elke pagina. */
.h-voet-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.h-voet-links a {
  color: var(--wit);
  font-size: 20px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.h-voet-links a:hover {
  color: #ffb27d;
}

/* Kaarten in drie kolommen. Op een witte baan krijgen ze een rand. */
.h-kaarten.pagina-drie {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.h-baan-wit .h-kaart {
  border: 2px solid var(--h-lijn);
}

.h-baan-wit .h-kaart .h-icoon {
  background: var(--h-tint);
}

/* Over ons: het team. */
.team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.team img,
.team-leeg {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--h-vorm-groot);
  background: var(--h-tint);
  color: var(--blauw);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 18px;
}

.pagina .team-naam {
  font-size: 21px;
  font-weight: 700;
  color: var(--blauw);
  margin: 0;
}

.pagina .team-rol {
  font-size: 18px;
  color: var(--h-zacht);
  margin: 0;
}

/* Contact. */
.contact-groot {
  font-size: 26px;
  font-weight: 700;
  color: var(--blauw);
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.contact-bel {
  border-color: var(--oranje) !important;
}

.formulier {
  display: grid;
  gap: 8px;
}

.formulier label {
  font-size: 19px;
  font-weight: 700;
  color: var(--blauw);
  margin-top: 12px;
}

.formulier input,
.formulier textarea {
  font: inherit;
  font-size: 20px;
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #b8c7d9;
  border-radius: 14px;
  background: var(--wit);
  color: var(--tekst);
}

.formulier input:focus,
.formulier textarea:focus {
  outline: none;
  border-color: var(--blauw);
  box-shadow: 0 0 0 4px #ffd3b5;
}

.formulier .h-knop {
  justify-self: start;
  margin-top: 24px;
}

.pagina .formulier-klaar {
  margin: 16px 0 0;
  padding: 20px 24px;
  border-radius: var(--h-vorm-kaart);
  background: var(--wit);
  border: 2px solid var(--blauw);
  font-size: 19px;
  font-weight: 700;
  color: var(--blauw);
}

/* Veelgestelde vragen: uitklappen. */
.vraag {
  border-bottom: 1px solid var(--h-lijn);
}

.vraag:first-of-type {
  border-top: 1px solid var(--h-lijn);
  margin-top: 24px;
}

.vraag summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding-block: 16px;
  font-size: 21px;
  font-weight: 700;
  color: var(--blauw);
  cursor: pointer;
  list-style: none;
}

.vraag summary::-webkit-details-marker {
  display: none;
}

.vraag summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--h-tint);
  font-size: 26px;
  font-weight: 400;
}

.vraag[open] summary::after {
  content: "\2212";
}

.vraag summary:focus-visible {
  outline: 4px solid #ffb27d;
  outline-offset: 2px;
}

.pagina .vraag p {
  font-size: 19px;
  line-height: 1.7;
  margin: 0 0 24px;
}

@media (max-width: 900px) {
  .h-kaarten.pagina-drie {
    grid-template-columns: minmax(0, 1fr);
  }

  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .pagina h1 {
    font-size: 38px;
  }

  .pagina h2 {
    font-size: 27px;
  }

  .pagina-kop {
    padding-block: 32px 40px;
  }

  .pagina-tekst > p {
    font-size: 19px;
  }

  .pagina-tekst > h2:not(:first-child) {
    margin-top: 48px;
  }

  .pagina-kader {
    padding: 24px 20px;
  }
}

/* ------------------------------------------------------------------ *
 * Keuzehulp: de schermen na de homepage
 * Zelfde systeem als de homepage: witte basis, lichtblauwe tint, ronde
 * knoppen, dezelfde kaartvorm. Overschrijft de oudere stijlen in
 * styles.css, daarom staat dit bestand na styles.css.
 * ------------------------------------------------------------------ */

body {
  background: var(--wit);
}

/* Een kop krijgt na het wisselen van scherm de focus, voor schermlezers.
   Met de muis hoort daar geen kader omheen. */
.scherm h1[tabindex="-1"]:focus {
  outline: none;
}

/* Het invulveld voor de situatie: wit, dezelfde rand als de antwoordknoppen. */
.scherm textarea {
  background: var(--wit);
  border: 2px solid #b8c7d9;
  border-radius: 20px;
  box-shadow: none;
}

.scherm textarea:focus {
  outline: none;
  border-color: var(--blauw);
  box-shadow: 0 0 0 4px #ffd3b5;
}

/* De kaart om een stap heen: lichte tint, dezelfde vorm als op de homepage. */
.scherm-papier {
  background: var(--h-tint);
  border: 0;
  border-radius: var(--h-vorm-groot);
  box-shadow: none;
  padding: 40px 44px 44px;
}

.scherm h1 {
  color: var(--blauw);
  letter-spacing: -0.3px;
}

/* Knoppen: geen indrukbare schaduw meer, wel ronde vormen. */
.knop {
  border-radius: 20px;
  box-shadow: none !important;
  transform: none !important;
}

.knop-primair,
.knop-bestel {
  border: 0;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  background: var(--oranje);
  color: var(--wit);
}

.knop-primair:hover:not(:disabled),
.knop-bestel:hover {
  background: var(--oranje-donker);
}

a.knop-bestel {
  display: block;
}

/* Antwoordknoppen: wit, dunne rand, blauw bij aanwijzen. */
.knop-keuze {
  background: var(--wit);
  border: 2px solid var(--h-lijn);
  border-radius: 20px;
  color: var(--blauw);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.knop-keuze:hover,
.knop-keuze:focus-visible {
  border-color: var(--blauw);
  background: #f7faff;
}

/* Terug: rustig, als tekstknop. */
.knop-terug {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 999px;
  text-align: center;
  color: var(--blauw);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.knop-terug:hover {
  background: var(--wit);
  border-color: var(--h-lijn);
}

/* Productkaarten in het advies. */
.kaart {
  border: 2px solid var(--h-lijn);
  border-radius: var(--h-vorm-kaart);
  box-shadow: none;
}

.kaart-beste {
  border-color: var(--blauw);
}

.kaart-label {
  border-radius: 999px;
}

/* Losse vakjes in de flow (Deel 1 van 3, Vraag 1 van 7). */
.voortgang {
  border-radius: 999px;
}

/* ------------------------------------------------------------------ *
 * Situatievragen en uitkomst (behoeftebepaling)
 * ------------------------------------------------------------------ */

.situatievraag {
  border: 0;
  margin: 0 0 28px;
  padding: 0;
}

.situatievraag legend {
  font-size: 22px;
  font-weight: 700;
  color: var(--blauw);
  margin-bottom: 10px;
  padding: 0;
}

.situatievraag-bron {
  font-size: 17px;
  color: var(--h-zacht);
  margin: -4px 0 12px;
}

/* Antwoorden naast elkaar, als grote ronde knoppen. Gekozen = donkerblauw. */
.keuzerij {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keuzerij-knop {
  font: inherit;
  font-size: 19px;
  font-weight: 600;
  min-height: 56px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--h-lijn);
  background: var(--wit);
  color: var(--blauw);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.keuzerij-knop:hover {
  border-color: var(--blauw);
}

.keuzerij-knop[aria-checked="true"] {
  background: var(--blauw);
  border-color: var(--blauw);
  color: var(--wit);
}

.keuzerij-knop[aria-checked="true"]::before {
  content: "\2713  ";
}

.keuzerij-knop:focus-visible {
  outline: 4px solid #ffb27d;
  outline-offset: 2px;
}

.uitkomst-tekst {
  font-size: 21px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.uitkomst-meldingen {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.uitkomst-meldingen li {
  background: var(--wit);
  border-left: 4px solid var(--oranje);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 19px;
  line-height: 1.5;
}

.uitkomst-opties .knop-keuze {
  margin-bottom: 14px;
}

.uitkomst-knoppen .knop {
  display: block;
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------ *
 * Toegankelijkheid
 * ------------------------------------------------------------------ */

/* Direct naar de inhoud: onzichtbaar tot iemand met Tab begint. */
.naar-inhoud {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--oranje);
  color: var(--wit);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.naar-inhoud:focus {
  top: 12px;
  outline: 4px solid var(--blauw);
  outline-offset: 2px;
}

main[tabindex="-1"]:focus {
  outline: none;
}

/* Voorleesknop boven de kop van elk scherm en elke inhoudspagina. */
.voorlees-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 0 12px;
  padding: 6px 16px 6px 12px;
  border: 2px solid var(--h-lijn);
  border-radius: 999px;
  background: var(--wit);
  color: var(--blauw);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.voorlees-inline svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.voorlees-inline:hover {
  border-color: var(--blauw);
}

.voorlees-inline[aria-pressed="true"] {
  background: var(--oranje);
  border-color: var(--oranje);
  color: var(--wit);
}

.voorlees-inline:focus-visible {
  outline: 4px solid #ffb27d;
  outline-offset: 2px;
}

/* Wat nu wordt voorgelezen: een zachte gele markering met een rand. */
.wordt-voorgelezen {
  background-color: #fff4c2 !important;
  outline: 3px solid #e0b100;
  outline-offset: 4px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .wordt-voorgelezen {
    transition: none;
  }
}

/* Melding als het apparaat geen Nederlandse voorleesstem heeft. */
.geen-nl-stem {
  margin: 0;
  padding: 12px 24px;
  background: #fff4c2;
  border-bottom: 2px solid #e0b100;
  color: var(--tekst);
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

/* Een verborgen knop blijft verborgen, ook met de knopstijl. */
.knop[hidden] {
  display: none;
}

/* Een e-mailadres is langer dan een telefoonnummer: laat het netjes afbreken. */
.h-voet-nummer a,
.contact-groot,
.telefoon a {
  overflow-wrap: anywhere;
}
.telefoon {
  font-size: 26px;
}
@media (max-width: 600px) {
  .balk-bel-nummer {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 16px;
  }
  .h-voet-nummer a {
    font-size: 24px;
  }
}

/* Team: een illustratie in plaats van een foto, drie naast elkaar. */
.team {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
}
.team-figuur {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--h-vorm-groot);
  background: var(--h-tint);
  margin-bottom: 18px;
}
@media (max-width: 640px) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.team-figuur > path,
.team-figuur > circle {
  stroke: none;
}
.team-figuur .team-mond {
  fill: none;
  stroke: #7a4a32;
  stroke-width: 3;
  stroke-linecap: round;
}

/* Marijke: een bedacht personage, apart van het team en zo benoemd. */
.team-persona {
  display: flex;
  gap: 28px;
  align-items: center;
  max-width: 960px;
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--h-vorm-kaart);
  background: var(--h-tint);
}
.team-persona img {
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--h-vorm-groot);
}
.team-persona p:last-child {
  margin: 10px 0 0;
}
@media (max-width: 640px) {
  .team-persona {
    flex-direction: column;
    align-items: flex-start;
  }
}
