/* Schapcheck: meerstaps formulier */

.sc-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.sc-logo img { height: 36px; width: auto; }
.sc-teller { font-size: 13px; }
.sc-main { padding-bottom: 56px; }

.sc-kaart {
  position: relative; width: 100%; max-width: 640px; margin: 0 auto;
  background: var(--wit); border: var(--lijn); border-radius: 28px; box-shadow: var(--schaduw-groot);
  padding: clamp(22px, 4vw, 40px);
}
.sc-voortgang { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 26px; }
.sc-voortgang span { height: 10px; border-radius: 999px; border: 2px solid var(--inkt); background: var(--wit); transition: background .2s ease; }
.sc-voortgang span.aan { background: var(--inkt); }
html:not(.js) .sc-voortgang { display: none; }

.sc-stap { border: 0; margin: 0; padding: 0; min-width: 0; }
html:not(.js) .sc-stap + .sc-stap { margin-top: 40px; padding-top: 32px; border-top: 2px dashed var(--inkt); }
.js .sc-stap { display: none; }
.js .sc-stap.actief { display: block; animation: binnen .25s ease; }
@keyframes binnen { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sc-stap legend { display: flex; flex-direction: column; gap: 10px; padding: 0; max-width: calc(100% - 120px); }
.sc-stap legend .label { font-size: 13px; }
.sc-vraag { font-weight: 800; font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.04em; line-height: 1; outline: none; }
.sc-uitleg { margin: 14px 0 20px; max-width: 440px; font-size: 16px; }

.sc-opties { display: flex; flex-direction: column; gap: 10px; }
.sc-optie { position: relative; display: block; cursor: pointer; }
.sc-optie input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sc-optie span {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 14px 18px;
  background: var(--wit); border: var(--lijn); border-radius: 16px;
  font-weight: 600; font-size: 17px; line-height: 1.25;
  transition: transform .1s ease, box-shadow .1s ease, background .1s ease;
}
.sc-optie span::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; border: var(--lijn); border-radius: 50%; background: var(--wit);
}
.sc-optie input[type="checkbox"] + span::before { border-radius: 6px; }
.sc-optie:hover span { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--inkt); }
.sc-optie input:checked + span { box-shadow: 4px 4px 0 var(--inkt); background: var(--boter); }
.sc-optie input:checked + span::before { background: var(--inkt); box-shadow: inset 0 0 0 3px var(--wit); }
.sc-optie input:focus-visible + span { outline: 3px solid var(--inkt); outline-offset: 3px; }
.sc-kaart[data-kleur="lucht"] .sc-optie input:checked + span { background: var(--lucht); }
.sc-kaart[data-kleur="zalm"] .sc-optie input:checked + span { background: var(--zalm); }

.sc-velden { display: grid; gap: 14px; }
.sc-veld { display: flex; flex-direction: column; gap: 6px; }
.sc-veld .label { font-size: 12px; letter-spacing: 0.08em; }
.sc-veld input {
  min-height: 52px; padding: 12px 16px; border: var(--lijn); border-radius: 14px;
  font: 400 17px var(--font); color: var(--inkt); background: var(--wit); width: 100%;
}
.sc-veld input::placeholder { color: #8A8577; }
.sc-veld input:focus { outline: none; box-shadow: 4px 4px 0 var(--inkt); }
.sc-veld input[aria-invalid="true"] { border-color: var(--sticker); }
.sc-honing { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sc-klein { margin-top: 16px; font-size: 13px; line-height: 1.5; color: #4A473F; }

.sc-fout { margin-top: 18px; background: var(--sticker); color: var(--wit); border: var(--lijn); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 15px; }
.sc-acties { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sc-verder, .sc-verstuur { margin-left: auto; }
.js .sc-verstuur[hidden], .sc-verder[hidden], .sc-terug[hidden] { display: none; }
html:not(.js) .sc-verstuur { display: inline-flex; margin-left: 0; }
.sc-verstuur[disabled] { opacity: 0.6; cursor: wait; }

.sc-mascotte { position: absolute; right: clamp(14px, 3vw, 30px); top: clamp(56px, 7vw, 72px); width: 104px; pointer-events: none; }
.sc-mascotte img { width: 100%; height: auto; }
.sc-mascotte img[data-m="duo"] { width: 150px; max-width: none; margin-left: -46px; }
html:not(.js) .sc-mascotte { display: none; }

.sc-eind { display: flex; flex-direction: column; gap: 18px; outline: none; }
.sc-eind > .sticker { align-self: flex-start; }
.sc-eind h1 { font-size: clamp(34px, 6vw, 52px); letter-spacing: -0.045em; }
.sc-eind > p { font-size: 18px; max-width: 480px; }
.sc-cal { width: 100%; min-height: 560px; border: var(--lijn); border-radius: 18px; overflow: auto; background: var(--wit); }
.sc-eind[data-eind="boek"] { max-width: 900px; }
.sc-vroeg { position: relative; }
.sc-vroeg .check { box-shadow: none; font-size: 17px; }
.sc-vroeg .vink { font-size: 14px; }
.sc-vroeg-bol { position: absolute; right: 22px; top: 26px; width: 90px; height: auto; }
.sc-vroeg h1 { max-width: calc(100% - 100px); }
.sc-klaar { text-align: center; align-items: center; }
.sc-klaar > .sticker { align-self: center; }
.sc-klaar img { width: min(320px, 80%); height: auto; }
.sc-klaar h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.045em; }
.sc-klaar p { max-width: 380px; font-size: 18px; }

@media (max-width: 560px) {
  .sc-kaart { border-radius: 22px; box-shadow: var(--schaduw); }
  .sc-stap legend { max-width: calc(100% - 84px); }
  .sc-mascotte { width: 72px; top: 54px; }
  .sc-mascotte img[data-m="duo"] { width: 84px; margin-left: -10px; }
  .sc-lang { display: none; }
  .sc-acties { flex-wrap: nowrap; gap: 10px; }
  .sc-acties .knop { min-height: 54px; }
  .sc-terug { flex: 0 0 54px; width: 54px; padding: 0; justify-content: center; font-size: 20px; }
  .sc-terug-tekst { display: none; }
  .sc-verder, .sc-verstuur { flex: 1 1 auto; justify-content: center; padding-inline: 16px; }
  .sc-optie span { font-size: 16px; }
}

/* privacyverklaring als popup over het formulier */
.sc-privacy {
  padding: 0; border: 0; background: transparent; color: var(--inkt); overflow: visible;
  width: min(640px, calc(100% - 40px)); max-width: none; max-height: none; margin: auto;
}
.sc-privacy::backdrop { background: rgba(17, 17, 17, 0.55); }
html:has(.sc-privacy[open]) { overflow: hidden; }
.sc-privacy-kaart {
  display: flex; flex-direction: column; overflow: hidden;
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  background: var(--wit); border: var(--lijn); border-radius: 28px; box-shadow: var(--schaduw-groot);
}
.sc-privacy-kop {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 14px 12px clamp(22px, 4vw, 40px); border-bottom: 2px solid var(--inkt); background: var(--boter);
}
.sc-privacy-sluit {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: var(--lijn); background: var(--wit); color: var(--inkt);
  font: 700 18px/1 var(--font); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.sc-privacy-sluit:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--inkt); }
.sc-privacy-tekst {
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 18px clamp(22px, 4vw, 40px) clamp(24px, 4vw, 40px);
}
.sc-privacy-tekst h2 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.04em; line-height: 1; margin: 6px 0 18px; }
.sc-privacy-tekst h3 { font-size: 20px; letter-spacing: -0.02em; margin: 22px 0 6px; }
.sc-privacy-tekst p, .sc-privacy-tekst li { font-size: 16px; line-height: 1.55; }
.sc-privacy-tekst ul { padding-left: 20px; margin: 0; }
.sc-privacy-tekst .let-op { background: var(--boter); border: var(--lijn); border-radius: 14px; padding: 12px 16px; }
@media (max-width: 560px) {
  .sc-privacy { width: calc(100% - 28px); }
  .sc-privacy-kaart { border-radius: 22px; box-shadow: var(--schaduw); max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); }
}
