/* Template hub-normen: inline <style> uit normen.html (1-op-1), assetpaden relatief aan assets/css/templates/. */
/* ============================================================
   Verzamelpagina Oplossingen (structuur naar Optro /platform,
   volledig in IRM360-stijl). Illustraties in dashboardtaal.
   ============================================================ */
:root {
  --brand-primary: #1E4A2B; --brand-accent: #3F9D57; --brand-tile: #CDE9C2;
  --st-green: #43B05E; --st-yellow: #F2CE3E; --st-orange: #E8943A; --st-red: #E0584E; --st-grey: #9AA39C;
  --card-border: #E6EBE3; --mock-bg: #dbe9e0; --mock-border: #EAEFE7;
}
.c-red { background: var(--st-red); }
.c-green { background: var(--st-green); }
.c-yellow { background: var(--st-yellow); }
.c-orange { background: var(--st-orange); }
.c-grey { background: #DCE4DA; }

/* ---------- Hero: kop links, lead + knoppen rechts, video full-width eronder ---------- */
.pagehero__head {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 72px);
}
.pagehero--video h1 { max-width: 15ch; margin: 0; }
.pagehero--video .pagehero__lead { margin: 0 0 var(--space-4); max-width: 48ch; }
.pagehero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
@media (max-width: 940px) {
  .pagehero__head { grid-template-columns: 1fr; gap: 24px; }
  .pagehero--video h1 { max-width: 20ch; }
}
/* hero-maatvoering gelijk aan de vacaturepagina */
.pagehero--video .container { padding-top: var(--space-8); padding-bottom: var(--space-9); }
.herovideo { margin-top: var(--space-6) !important; }
.herovideo {
  position: relative; width: 100%; aspect-ratio: 96 / 37;   /* 50px korter dan 21:9 */
  margin-top: clamp(36px, 5vw, 56px);
  border-radius: 16px; overflow: hidden; cursor: pointer;
  box-shadow: 0 24px 60px rgba(20, 50, 30, .16);
}
.herovideo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.herovideo::after { content: ""; position: absolute; inset: 0; background: rgba(13, 31, 10, .08); transition: background var(--dur-base) var(--ease-standard); }
.herovideo:hover::after { background: rgba(13, 31, 10, .2); }
.herovideo__play {
  position: absolute; inset: 0; margin: auto; z-index: 2; width: 78px; height: 78px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard);
}
.herovideo:hover .herovideo__play { transform: scale(1.06); background: #fff; }
.herovideo__play svg { width: 26px; height: 26px; fill: var(--brand); margin-left: 3px; }

/* video-popup */
.vmodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.vmodal[hidden] { display: none; }
.vmodal__backdrop { position: absolute; inset: 0; background: rgba(10, 20, 8, .74); }
.vmodal__stage { position: relative; width: min(1080px, 100%); }
.vmodal__close { position: absolute; top: -44px; right: 0; width: 32px; height: 32px; background: none; border: 0; color: #fff; cursor: pointer; }
.vmodal__close svg { width: 100%; height: 100%; }
.vmodal__dialog { border-radius: 12px; overflow: hidden; background: #000; }
.vmodal__frame { aspect-ratio: 16 / 9; }
.vmodal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Platform-sectie: tekst + diagram (voorheen de hero) ---------- */
.platformintro .sector__media { align-items: center; }
.platformintro img { display: block; width: 100%; height: auto; max-width: 600px; margin-left: auto; }
@media (max-width: 940px) { .platformintro img { margin: 0 auto; max-width: 520px; } }

/* ---------- Oplossingen-grid ---------- */
.solutions { background: #fff; padding: var(--space-9) 0; }
.solutions h2 { font-family: var(--font-heading); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: var(--fw-extrabold); color: var(--brand-primary); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); margin: 0 0 var(--space-2); }
.solutions__intro { font-size: 1rem; color: rgba(22, 51, 0, .78); line-height: 1.65; margin: 0 0 var(--space-6); max-width: 58ch; }
/* filter-tabs boven de kaarten */
.stabs { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid #E9EEE5; width: fit-content; max-width: 100%; margin-bottom: var(--space-6); }
.stab {
  position: relative; background: none; border: 0; padding: 0 0 13px; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: var(--fw-semibold); color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-standard);
}
.stab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 1px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-standard);
}
.stab:hover { color: var(--ink-dark); }
.stab.is-active { color: var(--ink-dark); }
.stab.is-active::after { transform: scaleX(1); }
.solutions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.scard.is-hidden { display: none; }
/* kaarten komen na een filterwissel één voor één in beeld */
@keyframes kaartIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.scard.is-in { animation: kaartIn .85s var(--ease-standard) both; }
@media (prefers-reduced-motion: reduce) { .scard.is-in { animation: none; } }

/* kaartstijl gelijk aan de framework-kaarten: lichte vulling, geen rand */
.scard {
  display: flex; flex-direction: column;
  background: #F4F7F2; border: 1px solid #dbe9e0; border-radius: 24px;
  padding: 28px 24px; text-decoration: none;
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
@media (hover: hover) { .scard:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, .10); } }
.scard__name { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 20px; color: var(--ink-dark); line-height: 1.25; }
.scard__tag { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--text-muted); margin: 10px 0 var(--space-5); line-height: 1.65; flex: 1; }
.scard .tlink { align-self: flex-start; }
@media (max-width: 940px) { .solutions__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .solutions__grid { grid-template-columns: 1fr; } }

/* ---------- Statistieken ---------- */
.stats { background: #fff; padding: 0 0 var(--space-9); }
.stats__row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #EFF3EC; }
.stat { padding: var(--space-6) var(--space-5) 0; text-align: center; }
.stat + .stat { border-left: 1px solid #EFF3EC; }
.stat strong { display: block; font-family: var(--font-heading); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: var(--fw-extrabold); color: var(--brand-primary); letter-spacing: var(--ls-tight); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--text-muted); font-size: 15px; }
@media (max-width: 700px) {
  .stats__row { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid #EFF3EC; margin-top: var(--space-5); padding-top: var(--space-5); }
}


/* ---------- Editie-chips in de illustratie ---------- */

/* ---------- Sectieskelet ---------- */
.sector { background: #fff; padding: var(--space-9) 0; }
.sector--tint { background: #dbe9e0; }
/* media rekt mee tot de hoogte van de tekstkolom; tekst zelf blijft gecentreerd */
.sector__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: clamp(36px, 6vw, 80px); }
.sector__text { align-self: center; }
.sector__media { display: flex; }
.sector__grid--flip .sector__text { order: 2; }
.sector__grid--flip .sector__media { order: 1; }
.sector h2 { font-family: var(--font-heading); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: var(--fw-extrabold); color: var(--brand-primary); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); margin: 0 0 var(--space-4); }
.sector__text p { font-size: 1rem; color: rgba(22, 51, 0, .78); line-height: 1.65; margin: 0 0 14px; max-width: 56ch; }
.sector__text p:last-of-type { margin-bottom: 0; }
.ticks { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-dark); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E4A2B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Flat-UI vensters (zelfde stijl als het hero-dashboard) ---------- */
.uiwin {
  display: grid; grid-template-columns: 64px 1fr;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(20, 50, 30, .04), 0 18px 44px rgba(20, 50, 30, .09);
  flex: 1;   /* vult de hoogte van .sector__media */
}
.uiwin__side { background: #F4F7F2; border-right: 1px solid #ECF0E9; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 22px 0; }
.uiwin__logo img { width: 24px; height: auto; display: block; margin-bottom: 2px; }
.uiwin__side > span svg { width: 18px; height: 18px; color: var(--brand-primary); opacity: .38; stroke-width: 1.8; }
.uiwin__side > span.is-on svg { opacity: .9; }
.uiwin__main { padding: clamp(20px, 2vw, 30px) clamp(20px, 2.2vw, 32px); min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.uiwin__title {
  font-family: var(--font-heading); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight);
  font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-dark); margin: 0;
  padding-bottom: 16px; border-bottom: 1px solid #EDF1EA;
  margin-inline: calc(clamp(20px, 2.2vw, 32px) * -1); padding-inline: clamp(20px, 2.2vw, 32px);
}
.uiwin__panel { display: flex; flex-direction: column; min-width: 0; }
.uiwin__panel, .uiwin__cols { flex: 1; }
.uiwin__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.uiwin__cols .uiwin__panel + .uiwin__panel { border-left: 1px solid #EDF1EA; padding-left: 24px; }
.uiwin__paneltitle {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px;
  font-family: var(--font-heading); font-size: 15px; font-weight: var(--fw-bold); color: var(--ink-dark); margin-bottom: 12px;
}
.uilegend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; font-weight: var(--fw-semibold); color: #6A746C; }
.uilegend span { display: inline-flex; align-items: center; gap: 6px; }
.uilegend i { width: 8px; height: 8px; border-radius: 50%; }

/* checklist: rijen met hairline-dividers, zoals het hero-dashboard */
.uitasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.uiwin__panel .uitasks { flex: 1; justify-content: center; }
.uitasks li { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid #F0F4EE; }
.uitasks li:last-child { border-bottom: 0; }
.uitasks .nm { flex: 1; min-width: 0; font-size: 13px; color: var(--brand-primary); font-weight: var(--fw-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: var(--fw-bold); padding: 2px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.badge--green { background: color-mix(in srgb, var(--st-green) 20%, #fff); color: color-mix(in srgb, var(--st-green) 45%, #000); }
.badge--yellow { background: color-mix(in srgb, var(--st-yellow) 28%, #fff); color: color-mix(in srgb, var(--st-yellow) 42%, #000); }
.badge--grey { background: color-mix(in srgb, var(--st-grey) 24%, #fff); color: color-mix(in srgb, var(--st-grey) 60%, #000); }
.uiprogress { display: flex; align-items: center; gap: 10px; }
.uiwin__panel .uiprogress { margin-top: auto; padding-top: 16px; }
.uiwin__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid #F0F4EE; }
.uiprogress .pbar { flex: 1; height: 8px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--st-green) 16%, #fff); overflow: hidden; }
.uiprogress .pbar i { display: block; height: 100%; background: var(--brand-accent); border-radius: var(--radius-pill); }
.uiprogress span { font-size: 11.5px; font-weight: var(--fw-semibold); color: var(--brand-primary); white-space: nowrap; }

/* heatmap: vult de kolom, verticaal gecentreerd in de restruimte */
.uiheat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; flex: 1; align-content: center; }
.uiheat span { aspect-ratio: 1 / 1; border-radius: 6px; }
.c-red { background: var(--st-red); }
.c-green { background: var(--st-green); }
.c-yellow { background: var(--st-yellow); }
.c-orange { background: var(--st-orange); }
.c-grey { background: #DCE4DA; }

/* e-learning modules: rijen met dividers */
.uimods { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.uimod { display: flex; align-items: center; gap: 9px; padding: 11px 2px; border-bottom: 1px solid #F0F4EE; }
.uimod:nth-last-child(-n+2) { border-bottom: 0; }
.uimod svg { width: 15px; height: 15px; color: var(--brand-accent); flex: none; }
.uimod .nm { flex: 1; font-size: 12.5px; color: var(--brand-primary); font-weight: var(--fw-medium); }
.uimod .pct { font-size: 10.5px; font-weight: var(--fw-bold); color: var(--text-muted); }

/* ---------- CTA-blok (zelfde als homepage) ---------- */
.ctablock { background: transparent; padding: var(--space-8) 0 0; position: relative; z-index: 2; }
.ctablock__inner { max-width: var(--header-max); margin-inline: auto; padding-inline: var(--space-5); }
.ctablock__card {
  position: relative; overflow: hidden; background: #163300;
  border-radius: 28px; box-shadow: 0 6px 36px rgba(20, 50, 30, .13);
  padding: clamp(var(--space-7), 5vw, var(--space-9)) clamp(var(--space-6), 5vw, 72px);
}
.ctablock__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background-image: url("../../img/cta-team.jpg");
  background-size: cover; background-position: center 14%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 38%, #000 72%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 38%, #000 72%);
  pointer-events: none; }
.ctablock__left { position: relative; z-index: 1; max-width: 32rem; }
.ctablock__title { font-family: var(--font-heading); color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: var(--fw-extrabold); line-height: 1.12; letter-spacing: var(--ls-tight); margin: 0 0 var(--space-3); }
.ctablock__lead { color: rgba(255,255,255,.82); font-size: 1.0625rem; line-height: 1.55; margin: 0 0 var(--space-5); }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-4); }
.cta-link { display: inline-flex; align-items: center; gap: 8px; position: relative; color: #fff; font-family: var(--font-button, var(--font-body)); font-weight: var(--fw-semibold); font-size: 1rem; text-decoration: none; }
.cta-link svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-standard); }
.cta-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-standard); }
.cta-link:hover { color: var(--brand); }
.cta-link:hover svg { transform: translateX(3px); }
.cta-link:hover::after { transform: scaleX(1); }
/* footer schuift op deze pagina over het cta-blok, zoals op de homepage */
.footer { margin-top: -160px; }
.footer .footer__inner { padding-top: calc(160px + var(--space-10)); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .sector__grid, .sector__grid--flip { grid-template-columns: 1fr; }
  .sector__grid--flip .sector__text { order: 1; }
  .sector__grid--flip .sector__media { order: 2; }
}
@media (max-width: 760px) {
  .ctablock__photo { display: none; }
  .ctablock { padding-bottom: var(--space-8); }
  .footer { margin-top: 0; }
  .footer .footer__inner { padding-top: var(--space-8); }
}

/* WordPress-uitbreiding: embleem op de normkaart (norm_emblem / norm_emblem_svg) en normen zonder detailpagina. */
.scard__emblem { display: flex; justify-content: flex-start; margin-bottom: 12px; --emblem-line: #1E4A2B; --emblem-dots: #9AA39C; --emblem-text: #163300; }
.scard__emblem svg, .scard__emblem img { width: 64px; height: 64px; display: block; }
.scard--static { cursor: default; }
.scard--static:hover, .scard--static:focus-visible { transform: none; }

/* edchip: 1-op-1 uit de bronpagina */
.edchip { font-family: var(--font-body); font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0; text-transform: none; padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid var(--brand-accent); color: var(--brand-primary); }
.edchip.is-on { background: var(--brand-accent); color: #fff; }

/* ---------- Foto in plaats van een uiwin-venster (ACF-afbeeldingsveld, .uiwin--photo) ----------
   .uiwin blijft de wrapper (radius, schaduw, flex: 1 in .sector__media); de foto vult de hoogte van de tekstkolom. */
.uiwin--photo { display: block; min-height: 0; }
.uiwin--photo img { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
