/* SATEL-hoofdstuk Beveiligingsman. Bouwt voort op de tokens in /styles.css. */
.st {
  --st-ink: #0f172a;
  --st-muted: #4b5a70;
  --st-line: #dbe3ec;
  --st-soft: #f3f6f9;
  --st-red: #c8102e;
  --st-dark: #07152a;
  color: var(--st-ink);
  font-size: 17px;
  overflow-x: clip;
}
.st h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.st h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
.st p { color: var(--st-muted); }
.st img { height: auto; }
.st a { text-underline-offset: 4px; }
.st :focus-visible { outline: 3px solid #0b86cf; outline-offset: 4px; }
.st [hidden] { display: none !important; }

/* Subnavigatie */
.st-subnav { position: sticky; top: 100px; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--st-line); backdrop-filter: blur(6px); }
.st-subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.st-wordmark { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; text-decoration: none; color: var(--st-red); white-space: nowrap; }
.st-wordmark span { color: var(--st-muted); font-family: var(--font-body); font-weight: 400; font-size: .82rem; letter-spacing: 0; margin-left: 6px; }
.st-subnav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.st-subnav nav::-webkit-scrollbar { display: none; }
.st-subnav nav a { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; font-size: .92rem; text-decoration: none; color: var(--st-ink); transition: background .2s, color .2s; }
.st-subnav nav a:hover, .st-subnav nav a.is-active { background: var(--st-ink); color: #fff; }

/* Algemeen */
.st-section { padding-block: clamp(56px, 8vw, 104px); }
.st-soft { background: var(--st-soft); }
.st-dark { background: var(--st-dark); color: #fff; }
.st-dark p { color: #c4cfdd; }
.st-eyebrow { margin-bottom: 14px !important; color: var(--st-red) !important; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.st-eyebrow--light { color: #ff8a9b !important; }
.st-lead { font-size: 1.14rem; line-height: 1.65; margin-top: 18px !important; }
.st-heading { max-width: 780px; margin-bottom: 40px; }
.st-heading h2 + p { margin-top: 16px; }
.st-subtitle { margin: 64px 0 24px; }
.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.st-link { font-weight: 650; color: var(--st-ink); }
.st-link--light { color: #fff; }
.st-tag { display: inline-block; margin-bottom: 8px !important; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--st-red) !important; }
.st-note { margin-top: 32px; padding: 16px 20px; border-left: 3px solid var(--st-red); background: #fff; border-radius: 0 8px 8px 0; font-size: .98rem; }
.st-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.st-checks li { position: relative; padding-left: 30px; }
.st-checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--st-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.st-checks--light li { color: #e6ecf4; }

/* Hero */
.st-hero { padding-block: clamp(40px, 6vw, 80px) 40px; background: linear-gradient(180deg, #fff 0%, var(--st-soft) 100%); }
.st-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.st-hero h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.st-hero__visual { position: relative; }
.st-fader { position: relative; aspect-ratio: 800 / 597; border-radius: 18px; overflow: hidden; background: var(--st-dark); box-shadow: 0 30px 60px -30px rgba(7,21,42,.55); }
.st-fader img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-fader .is-2, .st-fader .is-3 { opacity: 0; }
.st-pulse { position: absolute; right: -14px; top: -14px; width: 84px; height: 84px; }
.st-pulse span { position: absolute; inset: 0; border: 2px solid var(--st-red); border-radius: 50%; opacity: 0; }
.st-pulse::after { content: ""; position: absolute; inset: 32px; border-radius: 50%; background: var(--st-red); }
.st-stats { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.st-stats li { background: #fff; border: 1px solid var(--st-line); border-radius: 12px; padding: 20px; }
.st-stats strong { display: block; font-family: var(--font-heading); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--st-ink); }
.st-stats li > span { display: block; margin-top: 6px; color: var(--st-muted); font-size: .95rem; line-height: 1.4; }

/* Tabs (keuzehulp en detectoren) */
.st-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.st-tabs__list button { min-height: 46px; padding: 0 18px; border: 1px solid var(--st-line); border-radius: 999px; background: #fff; color: var(--st-ink); font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.st-tabs__list button:hover { border-color: var(--st-ink); }
.st-tabs__list button[aria-selected="true"] { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.st-tabs__panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--st-line); border-radius: 18px; background: #fff; animation: st-panel-in .45s ease both; }
.st-tabs__panel img { width: 100%; border-radius: 12px; object-fit: contain; max-height: 340px; }
.st-tabs__panel h3 { margin-bottom: 12px; }
.st-tabs__panel .st-link { display: inline-block; margin-top: 18px; }
@keyframes st-panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Kaarten */
.st-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.st-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--st-line); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s ease, box-shadow .3s ease; }
.st-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; padding: 18px; transition: transform .5s ease; }
.st-card > div { padding: 4px 22px 24px; }
.st-card h3 { margin-bottom: 6px; }
.st-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(15,23,42,.35); }
.st-card:hover img { transform: scale(1.05); }

/* Splits */
.st-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.st-split--reverse > :first-child { order: 2; }
.st-figure { margin: 0; }
.st-figure img { width: 100%; border-radius: 14px; }
.st-figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--st-muted); }
.st-float img { animation: st-float 7s ease-in-out infinite; }
@keyframes st-float { 50% { transform: translateY(-10px); } }

/* INTEGRA ronde beelden */
.st-rounds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.st-round { margin: 0; text-align: center; }
.st-round img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transition: transform .4s ease, box-shadow .4s ease; }
.st-round:hover img { transform: scale(1.05) rotate(-2deg); box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--st-red); }
.st-round figcaption { margin-top: 14px; font-size: .92rem; color: var(--st-muted); line-height: 1.45; }
.st-round strong { display: block; color: var(--st-ink); font-size: 1rem; margin-bottom: 4px; }

/* BE WAVE */
.st-variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.st-variants div { padding: 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.04); }
.st-variants strong { display: block; color: #fff; }
.st-variants span { display: block; font-size: .9rem; color: #c4cfdd; line-height: 1.4; margin-top: 4px; }
.st-phones { position: relative; height: clamp(420px, 46vw, 580px); }
.st-phone { position: absolute; width: 44%; max-width: 250px; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.st-phone--a { left: 4%; top: 10%; transform: rotate(-7deg); }
.st-phone--b { left: 30%; top: 0; z-index: 2; }
.st-phone--c { right: 2%; top: 14%; transform: rotate(7deg); }
.st-phones.is-visible .st-phone--a { animation: st-phone-a 8s ease-in-out infinite; }
.st-phones.is-visible .st-phone--b { animation: st-float 6s ease-in-out infinite; }
.st-phones.is-visible .st-phone--c { animation: st-phone-c 9s ease-in-out infinite; }
@keyframes st-phone-a { 50% { transform: rotate(-4deg) translateY(-12px); } }
@keyframes st-phone-c { 50% { transform: rotate(4deg) translateY(-14px); } }

/* VERSA galerij */
.st-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.st-gallery img { width: 100%; aspect-ratio: 389 / 360; object-fit: cover; border-radius: 12px; transition: transform .4s ease, filter .4s ease; filter: saturate(.9); }
.st-gallery img:hover { transform: translateY(-6px); filter: saturate(1.1); }

/* PERFECTA */
.st-usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.st-usecases figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.st-usecases img { width: 100%; aspect-ratio: 500 / 361; object-fit: cover; transition: transform .6s ease; }
.st-usecases figure:hover img { transform: scale(1.07); }
.st-usecases figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(7,21,42,.85)); color: #fff; font-weight: 650; }

/* ABAX 2 radio-animatie */
.st-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.st-facts li { padding: 12px 16px; border: 1px solid var(--st-line); border-radius: 10px; }
.st-facts strong { color: var(--st-red); }
.st-radio { position: relative; padding: 28px; border-radius: 18px; background: var(--st-dark); color: #fff; overflow: hidden; }
.st-radio__waves { position: relative; height: 220px; display: grid; place-items: center; }
.st-radio__waves b { width: 26px; height: 26px; border-radius: 50%; background: var(--st-red); box-shadow: 0 0 0 6px rgba(200,16,46,.25); z-index: 1; }
.st-radio__waves i { position: absolute; width: 60px; height: 60px; border: 2px solid rgba(255,138,155,.8); border-radius: 50%; opacity: 0; }
.st-radio__channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.st-radio__channels div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.st-radio__channels span { font-size: .85rem; color: #c4cfdd; font-weight: 650; }
.st-radio__channels em { position: relative; display: block; width: 100%; height: 90px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.st-radio__channels em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--lvl) * 100%); background: linear-gradient(#f59e0b, #ea580c); border-radius: 8px; transition: height .8s ease; }
.st-radio__channels div.is-best em { outline: 2px solid #34d399; outline-offset: 2px; }
.st-radio__channels div.is-best em::after { background: linear-gradient(#6ee7b7, #10b981); }
.st-radio__caption { margin-top: 18px !important; text-align: center; color: #e6ecf4 !important; }
.st-plan { margin: 56px 0 0; }
.st-plan img { width: 100%; max-width: 980px; margin-inline: auto; border-radius: 16px; border: 1px solid var(--st-line); }
.st-plan figcaption { text-align: center; margin-top: 10px; color: var(--st-muted); font-size: .92rem; }

/* Carrousel */
.st-carousel { position: relative; }
.st-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; cursor: grab; scrollbar-width: thin; }
.st-carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.st-carousel__track > * { scroll-snap-align: start; }
.st-carousel__track--apps { grid-auto-columns: minmax(210px, 240px); }
.st-carousel__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.st-carousel__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--st-line); background: #fff; color: var(--st-ink); font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s; }
.st-carousel__nav button:hover { background: var(--st-ink); color: #fff; }
.st-product { background: #fff; border: 1px solid var(--st-line); border-radius: 14px; padding: 18px; }
.st-product img { width: 70%; margin: 0 auto 10px; aspect-ratio: 1; object-fit: contain; transition: transform .4s ease; pointer-events: none; }
.st-product:hover img { transform: scale(1.08) rotate(3deg); }
.st-product h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 6px; }
.st-product p { font-size: .95rem; line-height: 1.5; }
.st-app { margin: 0; }
.st-app img { width: 100%; border-radius: 18px; aspect-ratio: 420 / 907; object-fit: cover; pointer-events: none; box-shadow: 0 18px 32px -20px rgba(15,23,42,.5); }
.st-app figcaption { margin-top: 12px; font-size: .9rem; color: var(--st-muted); }
.st-app strong { display: block; color: var(--st-ink); }

/* MICRA en panelen */
.st-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-duo img { width: 100%; background: #fff; border-radius: 14px; }
.st-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.st-panels figure { margin: 0; background: #fff; border-radius: 14px; padding: 16px; border: 1px solid var(--st-line); }
.st-panels img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.st-panels figcaption { margin-top: 10px; color: var(--st-muted); font-size: .94rem; }
.st-panels strong { display: block; color: var(--st-ink); }

/* Trio en stappen */
.st-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.st-trio article { border: 1px solid var(--st-line); border-radius: 16px; padding: 20px; }
.st-trio img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.st-trio h3 { margin-bottom: 8px; }
.st-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.st-steps li { padding: 22px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.st-steps span { display: block; font-family: var(--font-heading); font-size: 2rem; color: #ff8a9b; margin-bottom: 10px; }
.st-steps h3 { color: #fff; margin-bottom: 8px; }

/* FAQ en CTA */
.st-faq__list { display: grid; gap: 10px; max-width: 900px; }
.st-faq details { border: 1px solid var(--st-line); border-radius: 12px; padding: 0 20px; background: #fff; }
.st-faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 650; list-style: none; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: "+"; font-size: 1.5rem; color: var(--st-red); transition: transform .3s ease; }
.st-faq details[open] summary::after { transform: rotate(45deg); }
.st-faq details p { padding-bottom: 18px; }
.st-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-block: 24px 40px; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: linear-gradient(120deg, var(--st-dark), #1e293b 60%, #3b0d17); }
.st-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.st-cta p { color: #c4cfdd; margin-top: 10px; }
.st-cta .st-actions { margin-top: 0; }
.st-footnote { font-size: .85rem; color: var(--st-muted); padding-bottom: 40px; }

/* Verschijnen bij scrollen: alleen actief als JavaScript draait */
.st-js .st-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.st-js .st-reveal.is-visible { opacity: 1; transform: none; }
.st-js .st-cards .st-reveal:nth-child(3n+2), .st-js .st-rounds .st-reveal:nth-child(2), .st-js .st-usecases .st-reveal:nth-child(2), .st-js .st-steps .st-reveal:nth-child(2) { transition-delay: .1s; }
.st-js .st-cards .st-reveal:nth-child(3n), .st-js .st-rounds .st-reveal:nth-child(3), .st-js .st-usecases .st-reveal:nth-child(3), .st-js .st-steps .st-reveal:nth-child(3) { transition-delay: .2s; }
.st-js .st-rounds .st-reveal:nth-child(4), .st-js .st-usecases .st-reveal:nth-child(4), .st-js .st-steps .st-reveal:nth-child(4) { transition-delay: .3s; }
.st-js .st-rounds .st-reveal:nth-child(5) { transition-delay: .4s; }

/* Animaties alleen zonder voorkeur voor minder beweging */
@media (prefers-reduced-motion: no-preference) {
  .st-fader .is-1 { animation: st-fade1 15s infinite; }
  .st-fader .is-2 { animation: st-fade2 15s infinite; }
  .st-fader .is-3 { animation: st-fade3 15s infinite; }
  .st-fader img { transform-origin: center; }
  .st-pulse span { animation: st-ring 3s ease-out infinite; }
  .st-pulse span:nth-child(2) { animation-delay: 1s; }
  .st-pulse span:nth-child(3) { animation-delay: 2s; }
  .st-radio.is-visible .st-radio__waves i { animation: st-wave 3s ease-out infinite; }
  .st-radio.is-visible .st-radio__waves i:nth-child(2) { animation-delay: 1s; }
  .st-radio.is-visible .st-radio__waves i:nth-child(3) { animation-delay: 2s; }
}
@keyframes st-fade1 { 0%, 28% { opacity: 1; transform: scale(1); } 33%, 95% { opacity: 0; transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes st-fade2 { 0%, 28% { opacity: 0; } 33%, 61% { opacity: 1; transform: scale(1.04); } 66%, 100% { opacity: 0; transform: scale(1); } }
@keyframes st-fade3 { 0%, 61% { opacity: 0; } 66%, 95% { opacity: 1; transform: scale(1.04); } 100% { opacity: 0; } }
@keyframes st-ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes st-wave { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .st *, .st *::before, .st *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .st-js .st-reveal { opacity: 1; transform: none; }
}

/* Responsief */
@media (max-width: 1100px) {
  .st-cards { grid-template-columns: repeat(2, 1fr); }
  .st-rounds { grid-template-columns: repeat(3, 1fr); }
  .st-steps { grid-template-columns: repeat(2, 1fr); }
  .st-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .st-subnav { top: 82px; }
  .st-wordmark span { display: none; }
  .st-hero__grid, .st-split, .st-tabs__panel { grid-template-columns: 1fr; }
  .st-split--reverse > :first-child { order: 0; }
  .st-usecases, .st-gallery { grid-template-columns: repeat(2, 1fr); }
  .st-trio, .st-panels { grid-template-columns: 1fr; }
  .st-variants { grid-template-columns: 1fr; }
  .st-pulse { right: 6px; top: 6px; width: 60px; height: 60px; }
  .st-pulse::after { inset: 22px; }
}
@media (max-width: 600px) {
  .container.st-cta, .st .container { width: calc(100% - 32px); }
  .st-cards, .st-stats { grid-template-columns: 1fr; }
  .st-rounds { grid-template-columns: repeat(2, 1fr); }
  .st-steps { grid-template-columns: 1fr; }
  .st-tabs__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .st-tabs__list button { flex: none; }
  .st-subnav__inner { gap: 10px; }
  .st-phones { height: 400px; }
  .st-carousel__track { grid-auto-columns: 78%; }
  .st-carousel__track--apps { grid-auto-columns: 62%; }
}
