/* geheugen.css — what the homepage (index.html, the former variant B) and the
   agents page add to site.css, wpagina.css and home.css: tighter spacing, the solution
   as a centred two-by-two, screenshots on the page's own ground, the route
   example under "Hoe het werkt", the agents page's lists, and the FAQ. */

/* ---- spacing: the sections sit closer together (Joost, 2026-10-06) ------- */
.w-sectie { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.h-hero { padding-bottom: clamp(1rem, 3vw, 2.5rem); }
.h-hero::after { height: 5rem; }
.h-pijn { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.h-werkwijze { padding-bottom: clamp(2rem, 4vw, 3rem); }
.h-widget { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.h-intake { padding-top: clamp(2.5rem, 5vw, 4rem); }
.h-faq { padding-top: clamp(2rem, 4vw, 3.5rem); }

.h-hero::after { z-index: 0; }

/* Screenshots on the page's own ground ("-los" images): no box, no frame of their own. */
.h-shot--los img { border-radius: 0; box-shadow: none; }

/* ---- "Hoe het werkt": the "Wijziging vastleggen" dialog of the prototype ---- */
/* Measures and colours taken from the prototype's own markup (dc.commitOpen), set on the
   same wash as the screenshots so it reads as part of the product. */
.h-vastleg {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 20px;
  background: #fff; box-shadow: 0 24px 60px rgba(30, 30, 40, 0.16), 0 0 0 1px rgba(17, 17, 17, 0.04);
  font-size: 14px; color: #111;
}
.h-vastleg__kop h3 { margin: 0; font-size: var(--kop-kaart); letter-spacing: var(--kop-kaart-ls); font-weight: 500; }
.h-vastleg__kop p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #4a4a4a; }
.h-vastleg__bestand { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(17, 17, 17, 0.04); font-size: 13px; }
.h-vastleg__soort { font-size: 9px; font-weight: 600; width: 28px; text-align: center; padding: 1px 0; border-radius: 4px; background: #dce6f7; color: #1e3a6e; }
.h-vastleg__naam { flex-grow: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-vastleg__plus { color: #14532d; font-weight: 600; }
.h-vastleg__min { color: #9a3412; font-weight: 600; }
.h-vastleg__veld { display: flex; flex-direction: column; gap: 6px; }
.h-vastleg__veld label { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 13px; font-weight: 500; }
.h-vastleg__ai { font-size: 11px; font-weight: 500; padding: 1px 8px; border-radius: 999px; border: 1px dashed rgba(17, 17, 17, 0.3); color: #4a4a4a; }
.h-vastleg__invoer { position: relative; }
.h-vastleg__invoer textarea, .h-vastleg__spook {
  box-sizing: border-box; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(17, 17, 17, 0.14);
  font: inherit; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: break-word; letter-spacing: normal;
}
.h-vastleg__invoer textarea { position: relative; z-index: 1; display: block; min-height: 5.6rem; resize: none; background: transparent; color: #111; }
.h-vastleg__invoer textarea:focus { outline: 0; border-color: #111; box-shadow: 0 0 0 3px rgba(138, 63, 102, 0.14); }
.h-vastleg__spook { position: absolute; inset: 0; border-color: transparent; background: #fff; color: transparent; pointer-events: none; overflow: hidden; }
.h-vastleg__spook [data-vastleg-rest] { color: #a3a1a8; }
.h-vastleg__hint { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; border: 0; background: none; font: inherit; font-size: 12px; color: #6b6b6b; cursor: pointer; }
.h-vastleg__hint kbd { font: 500 11px/1 var(--mono); padding: 3px 6px; border-radius: 6px; border: 1px solid rgba(17, 17, 17, 0.18); border-bottom-width: 2px; background: #fafafa; color: #111; }
.h-vastleg__hint:hover { color: #111; }
.h-vastleg__keuzes { display: flex; flex-direction: column; gap: 8px; }
.h-vastleg__keuze { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid rgba(17, 17, 17, 0.1); cursor: pointer; }
.h-vastleg__keuze:has(input:checked) { border-color: #111; }
.h-vastleg__keuze input { margin: 2px 0 0; accent-color: #111; }
.h-vastleg__keuze > span { display: flex; flex-direction: column; gap: 2px; }
.h-vastleg__keuze strong { font-size: 14px; font-weight: 500; }
.h-vastleg__keuze strong + span { font-size: 12px; line-height: 1.5; color: #6b6b6b; }
.h-vastleg__knoppen { display: flex; justify-content: flex-end; gap: 8px; }
.h-vastleg__knop { height: 40px; padding: 0 16px; border-radius: 12px; border: 0; background: rgba(17, 17, 17, 0.06); font: inherit; font-size: 14px; font-weight: 500; color: #111; cursor: pointer; }
.h-vastleg__knop--zwart { background: #111; color: #fff; }
.h-vastleg__knop--zwart:hover { background: #26272c; }
.h-vastleg__klaar { margin: 0; font-size: 13px; color: #14532d; }
@media (max-width: 40rem) { .h-vastleg__invoer textarea { min-height: 8rem; } }
/* A phone has no Tab key: there the hint says to tap it. */
.h-tik { display: none; }
@media (hover: none) and (pointer: coarse) { .h-toets { display: none; } .h-tik { display: inline; } }

/* ---- agents page: a centred statement, and four benefits with a symbol ---- */
.h-stelling .w-kop.h-midden { max-width: 22ch; }
.h-voordelen4 { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.h-voordeel {
  display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem 1.3rem 1.5rem; border-radius: 1.25rem;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(70, 60, 120, 0.3);
}
.h-voordeel__icoon { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; margin-bottom: 0.3rem; border-radius: 0.9rem; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.h-voordeel__icoon svg { width: 1.3rem; height: 1.3rem; }
.h-voordeel__titel { font-size: var(--kop-kaart); letter-spacing: var(--kop-kaart-ls); font-weight: 500; line-height: 1.25; }
.h-voordeel__tekst { color: #46464b; font-size: 0.95rem; line-height: 1.55; }
@media (max-width: 64rem) { .h-voordelen4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 44rem) { .h-voordelen4 { grid-template-columns: 1fr; } }

/* ---- context and agents: four examples, large -------------------------- */
.h-agentlijst { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h-agentlijst li { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1.25rem; background: var(--paper); }
.h-agentlijst h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.h-agentlijst p { margin-top: 0.7rem; color: #46464b; max-width: 44ch; }
@media (max-width: 44rem) { .h-agentlijst { grid-template-columns: 1fr; } }

/* ---- frequently asked questions ----------------------------------------- */
.h-faq__lijst { border-top: 1px solid var(--ink); }
.h-faq__vraag { border-bottom: 1px solid var(--line); }
.h-faq__vraag summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.15rem 0; font-size: 1.1rem; font-weight: 500; letter-spacing: -0.015em;
}
.h-faq__vraag summary::-webkit-details-marker { display: none; }
.h-faq__vraag summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.h-faq__vraag[open] summary::after { content: "−"; }
.h-faq__vraag summary:hover { color: #46464b; }
.h-faq__vraag p { padding: 0 0 1.2rem; color: #46464b; max-width: 60ch; }
