/* =====================================================================
   SoloTech Configurators: afwerking in de huisstijl van solotech.nl
   Komt na cctv.css / eas.css. Zelfde letter (Roboto), zelfde kleuren,
   meer ruimte, rustige beweging. Alles blijft binnen .stc.
   ===================================================================== */
body .stc {
  --stc-blauw: #007aa8;
  --stc-blauw-d: #006d96;
  --stc-blauw-l: #eaf6fb;
  --stc-donker: #0e1b24;
  --stc-tekst: #1d2b36;
  --stc-grijs: #5b6770;
  --stc-lijn: #e1e7ec;
  --stc-r: 20px;
  --stc-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --stc-schaduw: 0 1px 2px rgba(14, 27, 36, .04), 0 18px 40px -28px rgba(14, 39, 56, .35);

  max-width: 1080px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--stc-tekst);
}
body .stc :is(h1, h2, h3) { font-weight: 700; letter-spacing: -.01em; color: var(--stc-donker); }
body .stc :is(b, strong) { font-weight: 700; }
body .stc .stc-mono,
body .stc :is(.stc-prijs, .stc-tot-groot b, .stc-bar b, .stc-vanaf-groot b) { font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; font-weight: 700; }

/* sectie om de configurator heen: zacht grijs, zodat de witte kaarten loskomen */
body.st-chrome main .st-config { padding: 80px 0 88px; background: #f4f7f9; }
body.st-chrome main .st-config .stc { border: 0; }

/* ---------- kop ---------- */
body .stc .stc-hero {
  margin: 0 auto 40px;
  padding: 0;
  border: 0;
  background: none !important;
  text-align: center;
}
body .stc .stc-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--stc-blauw-l);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--stc-blauw-d);
}
body .stc .stc-h1 { margin: 0 0 14px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; text-wrap: balance; }
body .stc .stc-lead { max-width: 60ch; margin: 0 auto; font-size: 18px; line-height: 1.7; color: #3a4650; text-wrap: pretty; }
body .stc .stc-vanaf-groot {
  gap: 10px;
  margin-top: 24px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--stc-schaduw);
}
body .stc .stc-vanaf-groot span { font-size: 15px; color: var(--stc-grijs); }
body .stc .stc-vanaf-groot b { font-size: 26px; color: var(--stc-donker); }
/* vertrouwenspunten: gewone tekst met een vinkje, geen losse labels */
body .stc .stc-trust { gap: 10px 26px; margin-top: 24px; }
body .stc .stc-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none !important;
  font-size: 15px;
  color: #3a4650;
}
body .stc .stc-trust span::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dff2ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.9' fill='none' stroke='%2312704c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- "Elk pakket bevat" ---------- */
body .stc .stc-bevat { margin-bottom: 24px; padding: 32px !important; border: 0; border-radius: var(--stc-r); background: #fff !important; box-shadow: var(--stc-schaduw); }
body .stc .stc-bevat-kop { margin: 0 0 22px; font-size: 20px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--stc-donker); }
body .stc .stc-bevat-rij { gap: 28px 20px; }
body .stc .stc-bevat-item img { margin-bottom: 14px; border-radius: 14px; background: #f7fafc; }
body .stc .stc-bevat-item b { font-size: 16px; }
body .stc .stc-bevat-item em { margin-top: 4px; font-size: 14px; line-height: 1.45; }
body .stc .stc-bevat-voet { margin-top: 28px; padding-top: 20px; font-size: 15px; line-height: 1.6; }

/* ---------- stappen ---------- */
body .stc .stc-steps { display: grid; gap: 24px; }
body .stc .stc-step {
  margin: 0;
  padding: 40px 40px 36px;
  border: 0;
  border-radius: var(--stc-r);
  background: #fff !important;
  box-shadow: var(--stc-schaduw);
}
body .stc .stc-step-head { gap: 14px; margin-bottom: 28px; }
body .stc .stc-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--stc-blauw-l);
  font-size: 16px;
  font-weight: 700;
  color: var(--stc-blauw-d);
}
body .stc .stc-step h2 { margin: 0 0 6px; font-size: clamp(22px, 2vw, 26px); line-height: 1.25; }
body .stc .stc-sub { max-width: 58ch; font-size: 16px; line-height: 1.6; color: var(--stc-grijs); }

/* keuzetegels */
body .stc .stc-opts { gap: 16px; }
body .stc .stc-opt-in {
  padding: 18px;
  border: 1.5px solid var(--stc-lijn);
  border-radius: 16px;
  background: #fff !important;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 220ms ease, transform 220ms var(--stc-ease);
}
body .stc .stc-opt-in b { margin-bottom: 4px; font-size: 17px; line-height: 1.35; }
body .stc .stc-opt-sub { margin-bottom: 12px; font-size: 15px; line-height: 1.55; }
body .stc .stc-prijs { font-size: 16px; color: var(--stc-blauw-d); }
body .stc .stc-opt input:checked + .stc-opt-in {
  border-color: var(--stc-blauw);
  background: #f3fafd !important;
  box-shadow: 0 0 0 3px rgba(0, 122, 168, .12);
}
body .stc .stc-opt input:focus-visible + .stc-opt-in { outline: 3px solid #5fd0f5; outline-offset: 3px; }
body .stc .stc-tegel-foto { margin-bottom: 14px; border-radius: 12px; }
body .stc .stc-opt input:checked + .stc-opt-in .stc-tegel-foto { box-shadow: none; }
body .stc .stc-vink { top: 12px; right: 12px; width: 26px; height: 26px; background: var(--stc-blauw); box-shadow: 0 4px 10px -2px rgba(0, 122, 168, .5); }
body .stc .stc-badge { padding: 4px 10px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* aantal kiezen */
body .stc .stc-stepper { border: 1.5px solid var(--stc-lijn); border-radius: 14px; }
body .stc .stc-stepper button { width: 56px; background: #f4f7f9; font-size: 22px; transition: background-color 150ms ease; }
body .stc .stc-stepper button:hover { background: var(--stc-blauw-l); }
body .stc .stc-stepper input { font-size: 22px; font-weight: 700; }
body .stc .stc-teller label { margin-bottom: 8px; font-size: 16px; font-weight: 500; }
body .stc .stc-teller select { min-height: 50px; border-radius: 12px; }

/* extra's */
body .stc .stc-extras { gap: 12px; }
body .stc .stc-extra {
  gap: 14px;
  padding: 18px 20px;
  border: 1.5px solid var(--stc-lijn);
  border-radius: 16px;
  transition: border-color 180ms ease, background-color 180ms ease;
}
body .stc .stc-extra:has(input:checked) { border-color: var(--stc-blauw); background: #f3fafd; }
body .stc .stc-extra b { font-size: 16px; }
body .stc .stc-extra em { font-size: 15px; line-height: 1.5; }
body .stc :is(.stc-extra input, .stc-check input) { width: 20px; height: 20px; accent-color: var(--stc-blauw); }

/* tips en meldingen */
body .stc .stc-tip { margin-top: 18px; padding: 14px 18px; border: 0; border-radius: 12px; background: var(--stc-blauw-l) !important; font-size: 15px; line-height: 1.6; }
body .stc .stc-melding { padding: 12px 16px; border-radius: 12px; font-size: 15px; }

/* vergelijkingstabel */
body .stc .stc-vgl { border: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--stc-lijn); font-size: 15px; }
body .stc .stc-vgl th { padding: 14px 16px; background: var(--stc-donker) !important; font-size: 14px; font-weight: 500; }
body .stc .stc-vgl td { padding: 13px 16px; }

/* veelgestelde vragen: zelfde stijl als op de rest van de site */
body .stc .stc-blok-kop { margin: 56px 0 18px; }
body .stc .stc-blok-kop h2 { font-size: clamp(24px, 2.2vw, 30px); }
body .stc .stc-faq { padding: 4px 32px; border: 0; border-radius: var(--stc-r); box-shadow: var(--stc-schaduw); }
body .stc .stc-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; }
body .stc .stc-faq summary::after {
  content: "";
  float: none;
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--stc-blauw-d);
  border-bottom: 2px solid var(--stc-blauw-d);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 220ms var(--stc-ease);
}
body .stc .stc-faq details[open] summary::after { content: ""; transform: translateY(2px) rotate(225deg); }
body .stc .stc-faq p { padding-bottom: 20px; font-size: 16px; line-height: 1.65; }

/* ---------- samenvatting ---------- */
body .stc .stc-sum {
  padding: 40px;
  border-radius: 24px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(0, 122, 168, .45) 0%, rgba(0, 122, 168, 0) 55%),
    linear-gradient(135deg, #0b2a3d 0%, #0e1b24 100%) !important;
}
body .stc :is(.stc-sum-h, .stc-sum-kop) { font-size: clamp(22px, 2vw, 26px); }
body .stc .stc-lijst li { padding: 11px 0; font-size: 15px; line-height: 1.5; }
body .stc .stc-tot-r { padding: 8px 0; font-size: 15px; }
body .stc .stc-tot-groot b { font-size: 34px; }
body .stc .stc-krijgt li { font-size: 15px; line-height: 1.55; }
body .stc .stc-klein { font-size: 14px; line-height: 1.6; }

/* knoppen: pilvorm zoals op de site */
body .stc :is(.stc-btn, .stc-knop) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 150ms ease, transform 160ms var(--stc-ease);
}
body .stc :is(.stc-btn, .stc-knop):not(.stc-btn-2):not(.stc-knop-2):not(.stc-sluit-knop) { background: var(--stc-blauw); color: #fff; }
body .stc :is(.stc-btn, .stc-knop):not(.stc-btn-2):not(.stc-knop-2):not(.stc-sluit-knop):hover { background: #00668e; }
body .stc .stc-sum :is(.stc-btn, .stc-knop):not(.stc-btn-2):not(.stc-knop-2) { background: #fff; color: var(--stc-donker); }
body .stc .stc-sum :is(.stc-btn, .stc-knop):not(.stc-btn-2):not(.stc-knop-2):hover { background: #eaf7fd; }
body .stc :is(.stc-btn-2, .stc-knop-2) { border: 1.5px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; }
body .stc :is(.stc-btn, .stc-knop):active { transform: scale(.97); }
body .stc :is(.stc-btn, .stc-knop):focus-visible { outline: 3px solid #5fd0f5; outline-offset: 2px; }

/* balk onderaan op telefoons */
body .stc .stc-bar { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #0e1b24; box-shadow: 0 -10px 30px -12px rgba(14, 27, 36, .45); }
body .stc .stc-bar .stc-btn { min-height: 46px; padding: 10px 20px; }

/* formulier in het venster */
body .stc :is(.stc-modal-box, .stc-modal-in) { padding: 36px; border-radius: 24px; }
body .stc .stc-veld label { font-size: 15px; font-weight: 500; }
body .stc :is(.stc-veld input, .stc-veld textarea, .stc-modal-box textarea) { min-height: 48px; padding: 12px 14px; border: 1px solid #cfd8de; border-radius: 12px; font-size: 16px; }
body .stc :is(.stc-veld input, .stc-veld textarea):focus { border-color: var(--stc-blauw); box-shadow: 0 0 0 3px rgba(0, 122, 168, .16); }

/* artikelbeveiliging: eigen onderdelen */
body .stc .eas-vraag { margin: 28px 0 12px; font-size: 17px; }
body .stc .eas-duo { gap: 20px; }
body .stc .eas-duo-blok { padding: 20px; border-radius: 16px; background: #f7fafc; }
body .stc .eas-uitleg { font-size: 15px; line-height: 1.55; }
body .stc .eas-signaal { padding: 12px 16px; border-radius: 12px; font-size: 15px; }

/* ---------- telefoon ---------- */
@media (max-width: 767.98px) {
  body.st-chrome main .st-config { padding: 48px 0 56px; }
  body .stc .stc-step { padding: 28px 20px 24px; }
  body .stc .stc-bevat { padding: 24px 18px !important; }
  body .stc .stc-sum { padding: 28px 20px; }
  body .stc .stc-faq { padding: 4px 20px; }
  body .stc .stc-lead { font-size: 17px; }
  body .stc .stc-trust { justify-content: flex-start; text-align: left; }
}

/* ---------- beweging ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* stappen schuiven rustig in beeld (script zet .stc-in) */
  body .stc .stc-wacht { opacity: 0; transform: translateY(20px); }
  body .stc .stc-wacht.stc-in { opacity: 1; transform: none; transition: opacity 600ms var(--stc-ease), transform 700ms var(--stc-ease); }

  /* tegel komt iets omhoog bij aanwijzen */
  @media (hover: hover) and (pointer: fine) {
    body .stc .stc-opt:hover .stc-opt-in { transform: translateY(-2px); border-color: #a9cfe2; box-shadow: 0 14px 28px -20px rgba(14, 39, 56, .4); }
    body .stc .stc-opt:hover .stc-tegel-foto img { transform: scale(1.04); }
    body .stc .stc-tegel-foto img { transition: transform 600ms var(--stc-ease); }
  }
  body .stc .stc-opt:active .stc-opt-in { transform: scale(.985); }

  /* vinkje springt zacht in beeld */
  body .stc .stc-opt input:checked + .stc-opt-in .stc-vink { animation: stc-pop 320ms var(--stc-ease); }

  /* bedrag licht kort op als het verandert */
  body .stc .stc-flits { animation: stc-flits 700ms var(--stc-ease); }

  /* antwoord van een vraag schuift open */
  body .stc .stc-faq details::details-content { height: 0; overflow: clip; opacity: 0; transition: height 280ms var(--stc-ease), opacity 200ms ease, content-visibility 280ms allow-discrete; }
  body .stc .stc-faq details[open]::details-content { height: auto; opacity: 1; }
}
@keyframes stc-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes stc-flits { 0% { color: #7fd6a6; transform: translateY(-3px); } 100% { transform: none; } }

/* koppen in de donkere samenvatting blijven wit */
body .stc .stc-sum :is(h2, h3, .stc-sum-h, .stc-sum-kop) { color: #fff; }

/* ---------- donkere modus van het apparaat ----------
   cctv.css/eas.css zetten in donkere modus kleuren met !important (koppen donker, knoppen fel blauw).
   Daardoor werd de kop in de samenvatting onzichtbaar. Hier dezelfde kleuren als in lichte modus. */
body .stc .stc-sum :is(h2, h3, .stc-sum-h, .stc-sum-kop) { color: #fff !important; }
body .stc :is(.stc-btn, .stc-knop):not(.stc-btn-2):not(.stc-knop-2):not(.stc-sluit-knop) { background: #007aa8 !important; color: #fff !important; }
body .stc .stc-sum :is(.stc-btn, .stc-knop):not(.stc-btn-2):not(.stc-knop-2) { background: #fff !important; color: #0e1b24 !important; }
body .stc .stc-sum :is(.stc-btn, .stc-knop):not(.stc-btn-2):not(.stc-knop-2):hover { background: #eaf7fd !important; }
body .stc :is(.stc-btn-2, .stc-knop-2) { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .45) !important; }
body .stc :is(.stc-btn-2, .stc-knop-2):hover { background: rgba(255, 255, 255, .1) !important; }
body .stc .stc-bar .stc-btn { background: #fff !important; color: #0e1b24 !important; }

/* ---------- keuzetegels: aantal kolommen past zich aan de ruimte aan ---------- */
body .stc .stc-opts-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
body .stc .stc-opts-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 420px) {
  body .stc :is(.stc-opts-4, .stc-opts-3) { grid-template-columns: 1fr 1fr; gap: 12px; }
  body .stc .stc-opt-in { padding: 14px; }
}

/* bedragen nooit afbreken, label en bedrag niet tegen elkaar */
body .stc .stc-lijst li { gap: 16px; }
body .stc .stc-lijst li > :last-child,
body .stc .stc-lijst li b { flex: none; white-space: nowrap; }
body .stc .stc-tot-groot { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body .stc .stc-tot-groot span { font-size: 15px; color: #c7dce8; }

/* artikelbeveiliging: samenvatting staat naast de stappen en schuift mee, onder de kopbalk */
body #stc-eas .stc-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
body #stc-eas .stc-sum { top: 124px; padding: 28px 26px; }
body #stc-eas .stc-step { padding: 36px 32px 32px; }
@media (max-width: 960px) {
  body #stc-eas .stc-grid { grid-template-columns: minmax(0, 1fr); }
  body #stc-eas .stc-sum { position: static; }
}

/* knoppen in de samenvatting over de volle breedte */
body .stc .stc-sum :is(.stc-btn, .stc-knop) { display: flex; width: 100%; }
/* vier keuzes: liever twee rijen van twee dan drie plus één */
body .stc .stc-opts-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
