/* Shared sizing for the standalone pages, without altering desktop layout. */
html { scroll-padding-top: 100px; }
header .logo > div { display: flex; flex-direction: column; gap: 2px; }
header .logo span { display: block; line-height: 1.1; }
.info.care-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.care-overview > div { background: var(--brand-soft); border-radius: 8px; border-top: 3px solid var(--c); padding: 1.5rem; }
.care-overview h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.care-overview p { color: var(--brand-muted); font-size: .95rem; }
.split > *, .cards > *, .feat > *, .steps > *, .info > *, .fgrid > * { min-width: 0; }
form.f label, form.f .full { min-width: 0; }
form.f input, form.f select, form.f textarea { min-width: 0; max-width: 100%; }
form.f input:not([type="checkbox"]), form.f select, form.f textarea { width: 100%; }
.prose, .info p, .card h3, .q h3 { overflow-wrap: anywhere; }
.info.contact-details { gap: .75rem; }
.info.contact-details > div { padding: .9rem 1.1rem; border-radius: 12px; border-top-width: 3px; }
.info.contact-details h3 { margin: 0 0 .25rem; }
.info.contact-details p { margin: 0; }
.contact-details + .note { margin: .75rem 0 0; padding: .85rem 1.1rem; }
@media (max-width: 980px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .info { grid-template-columns: minmax(0, 1fr); }
  form.f { grid-template-columns: minmax(0, 1fr); }
  .cards, .feat, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Detail pages carry an inline desktop column count; mobile sizing takes precedence. */
  .cards[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .split .imgs { margin-bottom: 2.5rem; }
  .cta .box { grid-template-columns: minmax(0, 1fr); }
  .cta img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .phero h1 { font-size: 2.25rem; overflow-wrap: anywhere; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 84px; }
  .wrap { width: calc(100% - 32px); }
  .topbar .wrap { justify-content: center; padding: .5rem 0; font-size: .75rem; }
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap > span:last-child { min-width: 0; }
  .topbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; }
  header .wrap { height: 76px; gap: 1rem; }
  header .logo { gap: .55rem; min-width: 0; }
  header .logo svg { width: 38px; height: 46px; flex: none; }
  header .logo b { font-size: .9rem; letter-spacing: 0; }
  header .logo span { font-size: .82rem; }
  .burger { flex: none; }
  section { padding: 3.5rem 0; }
  h2 { font-size: 1.85rem; line-height: 1.2; }
  .center { margin-bottom: 2rem; }
  .hero { min-height: 0; }
  .hero .wrap { padding: 11rem 0 2.5rem; }
  .hero h1 { font-size: 1.5rem; line-height: 1.25; }
  .hero p { font-size: .95rem; margin-bottom: 1.5rem; }
  .hero .eyebrow { font-size: .7rem; letter-spacing: 0; }
  .hero .btns, .cta .btns { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .btn { justify-content: center; min-height: 48px; max-width: 100%; text-align: center; padding: .8rem 1.2rem; }
  .hero .trust { gap: .5rem 1rem; font-size: .8rem; margin-top: 1.5rem; }
  .cards, .feat, .steps { grid-template-columns: minmax(0, 1fr); }
  .cards[style] { grid-template-columns: minmax(0, 1fr) !important; }
  .card div, .feat div, .q { padding: 1.5rem; }
  .card:hover { transform: none; }
  .split { gap: 2rem; }
  .split .imgs img { width: 90%; aspect-ratio: 4 / 4.5; }
  .split .imgs img + img { width: 45%; aspect-ratio: 1; bottom: -24px; border-width: 5px; }
  .phero { padding: 2.5rem 0; }
  .phero h1 { font-size: 2rem; line-height: 1.2; }
  .phero p { font-size: 1rem; }
  .crumbs { margin-bottom: 1rem; }
  .cta .txt { padding: 2rem 1.5rem; }
  .cta .box { border-radius: 22px; }
  .cta .txt p { margin-bottom: 1.5rem; }
  .info div { padding: 1.5rem; }
  .info.care-overview { grid-template-columns: minmax(0, 1fr); }
  form.f { padding: 1.5rem; gap: 1rem; }
  form.f input, form.f select, form.f textarea { font-size: 1rem; }
  form.f label:has(input[type="checkbox"]) { flex-wrap: wrap; }
  form.f input[type="checkbox"] { width: 20px; height: 20px; flex: none; }
  form.f .btn { width: 100%; }
  .cookie { position: static; width: auto; max-width: none; margin: 1rem 16px; padding: 1rem; border: 1px solid var(--brand-border); font-size: .82rem; }
  .cookie div { flex-wrap: wrap; }
  .totop { width: 42px; height: 42px; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); }
  body:has(form.f :focus) .totop { visibility: hidden; }
  .site-footer .fgrid { gap: 2rem; }
  .site-footer .footer-brand .logo { gap: .7rem; }
  .site-footer .footer-brand span { font-size: 1.4rem; }
  .site-footer .fbot { padding: 1.5rem 24px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 1.2rem; }
  .site-footer .footer-brand svg { width: 48px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* Formulieren aanmelden/contact */
.f fieldset{grid-column:1/-1;border:0;padding:0;margin:0 0 .5rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.f legend{font-weight:700;font-size:1.1rem;margin-bottom:.6rem;padding-top:.8rem;border-top:2px solid var(--turq,#0abab5)}
.f fieldset .full,.f .checks{grid-column:1/-1}
.f .checks{display:grid;grid-template-columns:1fr 1fr;gap:.4rem .8rem}
.f .checks label,.f label.chk{flex-direction:row;align-items:flex-start;gap:.6rem;font-weight:400}
.f-msg{grid-column:1/-1;margin:0;font-weight:600}.f-msg.ok{color:#137a52}.f-msg.err{color:#b3261e}
@media (max-width:640px){.f fieldset,.f .checks{grid-template-columns:1fr}}
.f .step{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.f .step[hidden]{display:none}
.f .steps{grid-column:1/-1;display:flex;gap:.4rem}.f .steps span{flex:1;text-align:center;font-size:.8rem;font-weight:600;padding:.5rem .3rem;border-radius:99px;background:#eee;color:#555}.f .steps span.on{background:var(--paars,#4b1d6b);color:#fff}
.f .nav{display:flex;gap:.6rem;justify-content:space-between;flex-wrap:wrap}.f .nav button{border:0;cursor:pointer;font:inherit;font-weight:600}.f .nav [data-next]{margin-left:auto}
.f .btn-w2{background:transparent;border:2px solid var(--paars,#4b1d6b)!important;color:var(--paars,#4b1d6b)}
@media (max-width:640px){.f .step{grid-template-columns:1fr}}
.f,.f label{text-align:left}.f label.chk{display:flex}.f label.chk input{flex:none;margin-top:.2rem}
/* Form controls must not inherit the homepage's workflow/reveal styling. */
form.f.reveal { opacity: 1; transform: none; }
form.f .step { text-align: left; }
form.f .steps::before { content: none; }
form.f label.chk { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .7rem; align-items: start; }
form.f label.chk input { width: 20px; height: 20px; padding: 0; accent-color: var(--brand-purple); }
form.f label.chk a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  body:has(form.f) .phero { padding: 1.75rem 0; }
  body:has(form.f) .phero .eyebrow { display: none; }
  body:has(form.f) .phero h1 { font-size: 2rem; margin-bottom: .5rem; }
  body:has(form.f) .phero p { font-size: .95rem; line-height: 1.6; }
  body:has(form.f) main > section + section { padding: 2rem 0 3rem; }
  body:has(form.f) .split { gap: 1.5rem; }
  body:has(form.f) .prose h2 { font-size: 1.4rem; }
  body:has(form.f) .prose p { font-size: .9rem; }
  body:has(form.f) .prose .note { margin: .75rem 0 0; padding: .7rem 1rem; font-size: .85rem; }
  form.f { padding: 0; border-radius: 0; box-shadow: none; gap: 1.25rem; }
  form.f .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-bottom: .25rem; }
  form.f .steps span { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: .5rem .2rem; border-radius: 0; border-bottom: 3px solid var(--brand-border); background: transparent; color: var(--brand-muted); font-size: .75rem; line-height: 1.4; }
  form.f .steps span.on { background: transparent; border-color: var(--brand-tiffany); color: var(--brand-purple); }
  form.f .step { gap: 1.25rem; }
  form.f fieldset { gap: 1rem; margin: 0; }
  form.f legend { width: 100%; padding: 1rem 0 0; margin-bottom: 1rem; border-top: 1px solid var(--brand-border); font-size: 1.1rem; line-height: 1.4; }
  form.f .step fieldset:first-child legend { border: 0; padding-top: 0; }
  form.f label { gap: .4rem; font-size: .875rem; line-height: 1.5; }
  form.f input:not([type="checkbox"]), form.f select, form.f textarea { display: block; width: 100%; min-height: 50px; padding: .75rem .85rem; border: 1px solid var(--brand-border); border-radius: 8px; background: var(--brand-soft); color: var(--brand-purple); font-size: 1rem; line-height: 1.5; }
  form.f input:focus-visible, form.f select:focus-visible, form.f textarea:focus-visible { border-color: var(--brand-tiffany); outline: 2px solid var(--brand-tiffany); outline-offset: 2px; }
  form.f textarea { resize: vertical; }
  form.f .checks { gap: .5rem; }
  form.f .checks label { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; min-height: 48px; gap: .75rem; padding: .7rem .8rem; border: 1px solid var(--brand-border); border-radius: 8px; }
  form.f .checks label:has(:checked) { border-color: var(--brand-tiffany); background: var(--brand-soft); }
  form.f .checks input { width: 20px; height: 20px; margin: 0; padding: 0; accent-color: var(--brand-purple); }
  form.f label.chk { font-size: .85rem; line-height: 1.6; }
  form.f .nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; margin-top: .5rem; }
  form.f .nav .btn { width: 100%; margin: 0; min-height: 50px; border-radius: 8px; font-size: .95rem; transform: none; }
  form.f .nav:has([data-prev]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  form.f .nav:has([type="submit"]) { grid-template-columns: minmax(0, 1fr); }
  form.f .nav:has([type="submit"]) [data-prev] { grid-row: 2; }
  form.f .btn-w2 { border: 1px solid var(--brand-border) !important; color: var(--brand-purple); }
  form.f .btn-w2:hover { background: var(--brand-purple); color: var(--brand-white); }
}
