/* "Offerte opvolgen" page (/offerte-opvolgen/, /en/quote-follow-up/). Builds on site.css tokens. */
.qf-page [hidden] { display: none !important; }
.qf-page .wrap { padding-inline: clamp(16px, 3vw, 48px); }

.qf-intro { padding-top: 40px; padding-bottom: 28px; }
.qf-intro h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 12px; overflow-wrap: anywhere; }
.qf-intro .lead { max-width: 40em; font-size: clamp(17px, 1.6vw, 20px); }

.qf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 28px; align-items: start; padding-bottom: 64px; }
.qf-form { display: grid; gap: 18px; min-width: 0; }
.qf-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px 24px; display: grid; gap: 20px; }
.qf-card-heading { font-size: 21px; color: var(--navy); }
.qf-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 20px; margin-top: 8px; }
.qf-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; min-width: 0; }
.qf-field label { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.qf-field input { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; background: var(--white); border: 1.5px solid var(--line-2); border-radius: 12px; color: var(--ink); font: 400 16px Inter, system-ui, sans-serif; transition: border-color .15s; }
.qf-field input:hover { border-color: #B3B8C3; }
.qf-field input:focus-visible { border-color: var(--navy); outline: 3px solid var(--ring); outline-offset: 1px; }
.qf-field input[aria-invalid="true"] { border-color: #b4441f; }
.qf-hint { font-size: 13px; line-height: 1.45; color: var(--muted); }
.qf-error { font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--error); }
.qf-error:empty { display: none; }

.qf-seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.qf-seg legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; font: 600 19px/1.2 Outfit, Inter, sans-serif; letter-spacing: -0.01em; color: var(--navy); }
.qf-seg legend + * { clear: both; }
.qf-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.qf-choice { position: relative; display: block; }
.qf-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.qf-choice > span { display: block; height: 100%; padding: 9px 10px; border-radius: 10px; font-size: 15px; line-height: 1.35; color: var(--muted); text-align: center; cursor: pointer; transition: background .15s, color .15s; }
.qf-choice > span:hover { color: var(--navy); }
.qf-choice input:checked + span { background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(20,33,61,.12), 0 0 0 1px var(--line); }
.qf-choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.qf-choice strong { display: block; font-weight: 600; }
.qf-choice small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }

.qf-result { position: sticky; top: 84px; min-width: 0; background: var(--brand-navy); color: #ECEEF4; border-radius: 22px; padding: 22px 26px 20px; box-shadow: var(--shadow); }
.qf-result-heading { font-size: 19px; color: #fff; }
.qf-problem { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 15px; }
.qf-label { margin-top: 14px; font-size: 13px; font-weight: 600; color: #C3CADA; }
.qf-subject { margin-top: 2px; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.qf-message { margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; font-size: 16px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.qf-message:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.qf-length { margin-top: 6px; font-size: 13px; color: #C3CADA; }
.qf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.qf-actions .btn { cursor: pointer; font-family: inherit; }
.qf-status { min-height: 1.4em; margin-top: 6px; font-size: 14px; color: #fff; }
.qf-small { margin-top: 6px; font-size: 13px; line-height: 1.45; color: #C3CADA; }
.qf-disclaimer { margin-top: 14px; font-size: 14px; font-weight: 600; color: #fff; }
.qf-checked { margin-top: 4px; font-weight: 400; }
.qf-privacy { margin-top: 4px; font-size: 13px; color: #C3CADA; }

.qf-more { max-width: 820px; display: grid; gap: 56px; padding-bottom: 88px; }
.qf-section h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 14px; }
.qf-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.qf-faq details:last-child { margin-bottom: 0; }
.qf-cta { padding-top: 28px; border-top: 1px solid var(--line); text-align: center; font-size: 17px; color: var(--muted); }
.qf-cta a { color: var(--navy); font-weight: 600; }

@media (max-width: 920px) {
  .qf { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 48px; }
  .qf-result { position: static; }
}
@media (max-width: 560px) {
  .qf-intro { padding-top: 28px; }
  .qf-card { padding: 18px 16px 20px; border-radius: 18px; }
  .qf-seg legend { font-size: 18px; }
  .qf-choices { grid-template-columns: minmax(0, 1fr); }
  .qf-choice > span { padding: 9px 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; text-align: left; }
  .qf-result { padding: 20px 18px 18px; border-radius: 18px; }
  .qf-more { gap: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .qf-field input, .qf-choice > span { transition: none; }
}
.qf-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.qf-actions .btn-ghost:hover { background: rgba(255,255,255,.12); }
.qf-actions .btn-primary, .aw-line .btn-primary { background: var(--orange); color: var(--brand-navy); }
