/* Maintaq, landingspagina in de referentiestijl (Refero: Grain), in Maintaq-kleuren:
   wit met gele accenten zoals het logo. Inter voor alles, Poppins 600 alleen voor sectietitels.
   De productschermen zijn in HTML nagebouwd (.scene) en spelen stap voor stap af (app.js). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/website/v2/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/website/v2/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/website/v2/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/website/v2/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/website/v2/fonts/caveat-500.woff2") format("woff2"); }
:root {
  --accent: #ffd23c;          /* Maintaq-geel: knoppen, accenten */
  --accent-ink: #141414;      /* tekst op geel */
  --accent-deep: #8a6400;     /* geel-bruin voor kleine iconen op wit (contrast) */
  --y-soft: #fff4cc;          /* zachte gele vlakken */
  --wash: linear-gradient(114deg, rgba(255, 210, 60, .22), rgba(255, 210, 60, .04) 60%, rgba(255, 255, 255, 0));
  --wash-soft: linear-gradient(180deg, rgba(255, 210, 60, .045), rgba(255, 210, 60, .01));
  --graphite: #141414;
  --carbon: #313232;
  --slate: #545454;
  --fog: #6b6b6b;
  --ash: #8c8c8c;
  --mist: #d6d6d6;
  --cloud: #e6e6e6;
  --veil: #f0f0f0;
  --paper: #fafafa;
  --white: #ffffff;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Poppins", var(--font);
  --radius: 10px;
  --radius-img: 14px;
  --shadow-sm: 0 4px 8px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-inset: inset 0 0 12px rgba(0, 0, 0, .05);
  --max: 1200px;
  --section-gap: 96px;
  --card-pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  margin: 0; background: var(--white); color: var(--graphite);
  font: 400 16px/1.5 var(--font); letter-spacing: -0.02em; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--graphite); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--max) + 48px); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 848px; }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wash { background: var(--wash), var(--white); }
.wash-soft { background: var(--wash-soft), var(--paper); }

/* ---------- navigatie ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--cloud); backdrop-filter: saturate(1.4) blur(8px); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { font: 600 22px/1 var(--font); letter-spacing: -0.04em; color: var(--graphite); }
.logo-dot { color: var(--accent); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--graphite); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* mobiel menu (zonder script) */
.mnav { display: none; position: relative; order: 3; }
.mnav summary { list-style: none; cursor: pointer; padding: 9px 14px; border: 1px solid var(--mist); border-radius: var(--radius); font-size: 14px; font-weight: 500; background: var(--white); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: var(--veil); }
.mnav nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(260px, calc(100vw - 32px)); display: grid; padding: 8px; border-radius: var(--radius-img); background: var(--white); border: 1px solid var(--cloud); box-shadow: var(--shadow-md); z-index: 40; }
.mnav nav a { padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.mnav nav a:hover { background: var(--y-soft); }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius); font: 500 14px/1.3 var(--font); letter-spacing: -0.02em;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: #ffc800; box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--graphite); border-color: var(--mist); }
.btn-secondary:hover { background: var(--veil); }
.btn-lg { padding: 12px 20px; font-size: 15px; }
.text-link { font-size: 14px; font-weight: 500; color: var(--graphite); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--graphite); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 46% 1fr; gap: 56px; align-items: center; }
.hero-visual { max-width: 580px; justify-self: end; width: 100%; }
h1 { font: 600 48px/1.1 var(--font); letter-spacing: -0.035em; color: var(--graphite); }
.accent { background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 92%, transparent 92%); padding: 0 2px; }
.hero-sub { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--slate); max-width: 48ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-btns.center { justify-content: center; }
.checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; }
.checks li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--carbon); }
.checks .ic { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--graphite); stroke-width: 3; }

.hero-visual { position: relative; padding: 8px 0 56px; }
.frame { background: var(--white); border: 1px solid var(--cloud); border-radius: var(--radius-img); box-shadow: var(--shadow-md); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--veil); background: var(--white); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--cloud); }
.frame-bar span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-left: 10px; font-size: 12px; color: var(--fog); font-weight: 500; }
.float-card {
  position: absolute; left: -36px; bottom: 0; width: 250px; padding: 16px; border-radius: var(--radius-img);
  background: var(--white); border: 1px solid var(--cloud); box-shadow: var(--shadow-md);
}
.float-title { font-size: 14px; font-weight: 600; color: var(--graphite); }
.float-text { font-size: 13px; line-height: 1.43; color: var(--slate); margin-top: 4px; }
.float-row { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 500; color: var(--carbon); }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--y-soft); }

/* sectoren */
.logos { padding: 64px 24px 56px; text-align: center; }
.logos-title { font: 600 22px/1.3 var(--font); letter-spacing: -0.03em; color: var(--graphite); }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; margin-top: 22px; }
.logo-strip span { font: 600 22px/1 var(--font); letter-spacing: -0.03em; color: var(--ash); }

/* ---------- secties ---------- */
.section { padding: var(--section-gap) 0; }
.section-title { font: 600 38px/1.25 var(--font-display); letter-spacing: normal; color: var(--graphite); text-align: center; }
.section-sub { margin: 14px auto 0; max-width: 60ch; text-align: center; color: var(--slate); font-size: 16px; line-height: 1.6; }

/* diensten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { text-align: center; padding: 32px var(--card-pad); background: var(--white); border: 1px solid var(--veil); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--y-soft); display: grid; place-items: center; color: var(--graphite); margin: 0 auto 18px; box-shadow: var(--shadow-inset); }
.card-icon .ic { width: 22px; height: 22px; }
.card h3 { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.card p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--slate); }
/* Gebouwde modules: vier per rij, links uitgelijnd, compacter */
.mods { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card.mod { text-align: left; padding: 24px; }
.card.mod .card-icon { margin: 0 0 14px; width: 40px; height: 40px; }
.mods-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 24px 28px; border-radius: var(--radius); background: var(--y-soft); }
.mods-cta p { max-width: 62ch; color: var(--graphite); }

/* split: lijst + product */
.split-title { font: 600 32px/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--graphite); }
.split { display: grid; grid-template-columns: 320px minmax(0, 720px); justify-content: space-between; gap: 56px; align-items: center; margin-top: 44px; }
.split-rev { grid-template-columns: minmax(0, 720px) 320px; }
.split-list { display: grid; gap: 10px; }
.feat {
  position: relative; display: grid; gap: 6px; text-align: left; padding: 16px 18px; border-radius: var(--radius); border: 1px solid transparent;
  background: transparent; font: inherit; color: inherit; cursor: pointer; overflow: hidden; transition: background-color .15s, box-shadow .2s, border-color .15s;
}
.feat:hover { background: rgba(255, 255, 255, .7); }
.feat.is-active { background: var(--white); border-color: var(--cloud); box-shadow: var(--shadow-md); }
.feat-title { font-size: 15px; font-weight: 600; color: var(--graphite); }
.feat-text { font-size: 13.5px; line-height: 1.5; color: var(--fog); }
.feat.is-active .feat-text { color: var(--slate); }
/* voortgang van de animatie onder de actieve stap */
.feat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.feat.is-active.loopt::after { transform: scaleX(1); transition: transform var(--duur, 8s) linear; }
.split-visual { position: relative; min-width: 0; }
.tabpane { display: none; }
.tabpane.is-active { display: block; animation: verschijn .35s ease; }
@keyframes verschijn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sec-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 48px; padding: 18px 24px; border-radius: var(--radius-img); background: var(--white); border: 1px solid var(--cloud); box-shadow: var(--shadow-sm); }
.sec-cta p { font-size: 16px; font-weight: 500; }

/* op maat */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 36px; counter-reset: stap; }
.steps li { padding: 24px; border-radius: var(--radius-img); background: var(--white); border: 1px solid var(--cloud); box-shadow: var(--shadow-sm); }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--slate); }

/* cijfers */
.cases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.cases .stat { padding: 22px 20px; }
.cases .stat .stat-num { font-size: 40px; margin-bottom: 6px; flex-wrap: wrap; row-gap: 2px; }
.cases .stat .stat-num span { font-size: 14px; }
.cases .stat p { font-size: 13.5px; }
.cases .case-hl { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.case-note { font-size: 12px !important; color: var(--fog) !important; margin-top: auto; }
.case-note + .text-link { margin-top: 0; }
.cases .case-cta { background: var(--y-soft); border-color: transparent; }
.case-cta .btn { margin-top: auto; align-self: stretch; }
.cases.klanten { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cases .klant h3 { margin-bottom: 6px; }
.cases .klant .case-ai { margin-top: 10px; }
.cases .klant .text-link { margin-top: auto; padding-top: 14px; }
.stat { background: var(--white); border: 1px solid var(--veil); border-radius: var(--radius-img); box-shadow: var(--shadow-sm); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.stat .stat-num { font: 600 48px/1 var(--font); letter-spacing: -0.04em; color: var(--graphite); display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.stat .stat-num span { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.stat h3 { font-size: 15px; font-weight: 600; }
.stat p { font-size: 14px; line-height: 1.5; color: var(--slate); }
.stat .text-link { margin-top: auto; padding-top: 6px; align-self: flex-start; }

/* koppelingen: alles komt samen */
.hub { position: relative; margin: 56px auto 0; max-width: 1000px; height: 500px; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines path { fill: none; stroke: var(--mist); stroke-width: 1.5; stroke-dasharray: 5 6; }
.hub-lines circle { fill: var(--accent); stroke: var(--graphite); stroke-width: 1; }
.hub-group {
  position: absolute; width: 270px; padding: 14px; border-radius: var(--radius-img); background: var(--white);
  border: 1px solid var(--cloud); box-shadow: var(--shadow-md); text-align: center; z-index: 1;
}
.hub-group p { font-size: 12px; font-weight: 600; color: var(--slate); margin-bottom: 10px; }
.lgs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lg { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--white); border: 1px solid var(--cloud); box-shadow: var(--shadow-sm); transition: transform .2s; }
.lg:hover { transform: translateY(-2px); }
.lg img { width: 26px; height: 26px; object-fit: contain; }
.lg.wide { width: 104px; }
.lg.wide img { width: 76px; height: 18px; }
.lg.txt { width: auto; padding: 0 12px; font-size: 12px; font-weight: 500; color: var(--carbon); background: var(--paper); }
.g1 { left: 0; top: 40px; } .g2 { left: 0; top: 290px; } .g3 { right: 0; top: 40px; } .g4 { right: 0; top: 290px; }
.g5 { left: calc(50% - 115px); top: 380px; width: 230px; }
.hub-center {
  position: absolute; left: 50%; top: 230px; width: 140px; height: 140px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--white); border: 1px solid var(--cloud); box-shadow: 0 0 0 10px rgba(255, 210, 60, .18), var(--shadow-md); display: grid; place-items: center; z-index: 2;
}
.hub-center span { font: 600 24px/1 var(--font); letter-spacing: -0.04em; color: var(--graphite); }
.hub-center b { color: var(--accent); }
.hub-note { margin-top: 28px; text-align: center; font-size: 15px; color: var(--slate); }

/* vragen */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--cloud); border-radius: var(--radius); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-size: 16px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fog); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--slate); font-size: 15px; line-height: 1.6; }

/* afsluiting en voet */
.cta { padding: var(--section-gap) 0; border-top: 1px solid var(--cloud); }
.cta-in { text-align: center; }
.footer { background: var(--paper); border-top: 1px solid var(--cloud); padding: 56px 0 28px; }
.footer-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.footer-text { margin-top: 12px; font-size: 14px; color: var(--slate); max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols div { display: grid; gap: 8px; align-content: start; font-size: 14px; color: var(--slate); }
.footer-cols a:hover { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.footer-head { font-weight: 600; color: var(--graphite); margin-bottom: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--cloud); font-size: 12.5px; color: var(--fog); }
.footer-bottom a, .linkbtn { text-decoration: underline; text-underline-offset: 2px; }
.linkbtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
.cookie-panel { width: min(520px, calc(100vw - 32px)); border: 1px solid var(--cloud); border-radius: var(--radius-img); padding: 28px; box-shadow: var(--shadow-md); color: var(--graphite); }
.cookie-panel::backdrop { background: rgba(20, 20, 20, .45); }
.cookie-panel h2 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.cookie-panel p { font-size: 15px; color: var(--slate); margin-bottom: 12px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 12px; }
.cookie-close { font: inherit; font-size: 14px; background: none; border: 0; padding: 8px 0; text-decoration: underline; cursor: pointer; color: var(--slate); }

/* ---------- contactpagina ---------- */
.contact-hero { padding: 64px 0 var(--section-gap); }
.contact-in { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; margin-top: 40px; }
.contact-head { max-width: 640px; }
.contact-head h1 { font-size: 44px; }
.form-card { background: var(--white); border: 1px solid var(--cloud); border-radius: var(--radius-img); box-shadow: var(--shadow-md); padding: 28px; }
.form-card h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.form-card .hint { margin-top: 4px; font-size: 13px; color: var(--fog); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--carbon); }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  font: 400 15px/1.4 var(--font); letter-spacing: -0.01em; color: var(--graphite); padding: 11px 12px; border-radius: var(--radius);
  border: 1px solid var(--mist); background: var(--white); transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 4px rgba(255, 210, 60, .45); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 20px; }
.form-foot p { font-size: 12.5px; color: var(--fog); max-width: 44ch; }
.form-col { display: grid; gap: 16px; }
.form-card[hidden] { display: none; }
.form-card[hidden] + .form-alt { padding: 32px; }
.form-alt h2 { font-size: 18px; }
.challenge:not(:empty) { margin-top: 16px; }
.form-status { margin-top: 14px; font-size: 14px; }
.form-status:empty { display: none; }
.form-status[data-error] { padding: 10px 12px; border-radius: var(--radius); background: #fdecec; color: #8a1c1c; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; }
.btn:disabled { opacity: .6; cursor: progress; }
.side-card { background: var(--white); border: 1px solid var(--cloud); border-radius: var(--radius-img); box-shadow: var(--shadow-sm); padding: 24px; }
.side-card + .side-card { margin-top: 16px; }
.side-card h2 { font-size: 16px; font-weight: 600; }
.side-card .lines { display: grid; gap: 12px; margin-top: 14px; }
.side-card .lines a, .side-card .lines span { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.side-card .lines .ic { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--y-soft); }
.side-card ol { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 12px; }
.side-card li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 14px; color: var(--slate); line-height: 1.5; }
.side-card li .step-n { width: 26px; height: 26px; font-size: 12px; margin: 0; }

/* in beeld komen */
.js .reveal { opacity: 0; transform: translateY(44px) scale(.97); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
@media (min-width: 1081px) {
  .js .reveal.van-links { transform: translateX(-36px); }
  .js .reveal.van-rechts { transform: translateX(36px); }
}
.js .reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   Productschermen (scènes). Ontworpen op 640×440, geschaald naar het kader.
   app.js zet per stap de klasse s1, s2, … op .scene (oplopend, ze blijven staan).
   onN = verschijnt vanaf stap N, offN = verdwijnt vanaf stap N, growN = regel schuift erin,
   hlN = geel gemarkeerd vanaf stap N, pressN = knop ingedrukt op stap N.
   ===================================================================== */
.stage { position: relative; aspect-ratio: 640 / 440; overflow: hidden; background: #fbfbfa; }
.scene {
  position: absolute; left: 0; top: 0; width: 640px; height: 440px; transform-origin: 0 0; transform: scale(var(--s, 1)) translateX(var(--dx, 0px));
  font: 400 11px/1.35 var(--font); letter-spacing: -0.01em; color: var(--graphite); background: #fbfbfa;
}
.scene.rs, .scene.rs * { transition: none !important; }
.scene .ic { width: 13px; height: 13px; }
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.m-side { position: absolute; left: 0; top: 0; bottom: 0; width: 120px; border-right: 1px solid var(--cloud); background: #fff; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.m-logo { font: 600 15px/1 var(--font); letter-spacing: -0.04em; margin: 0 0 14px 6px; }
.m-logo i { color: var(--accent); font-style: normal; }
.m-side span { padding: 6px 8px; border-radius: 6px; color: var(--slate); font-size: 10.5px; }
.m-side span.on { background: var(--y-soft); color: var(--graphite); font-weight: 600; }
.m-main { position: absolute; left: 120px; top: 0; right: 0; bottom: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.m-head { display: flex; justify-content: space-between; align-items: center; }
.m-head b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.m-head small { color: var(--fog); font-size: 10px; }
.m-av { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: inline-grid; place-items: center; font-size: 9.5px; font-weight: 600; font-style: normal; color: var(--graphite); flex: none; }
.m-av.sm { width: 18px; height: 18px; font-size: 7.5px; margin-right: 6px; vertical-align: middle; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 7px; background: var(--accent); font-weight: 600; font-size: 10.5px; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.m-btn.wide { display: flex; width: 100%; margin-top: 10px; }
.m-btn.sm { padding: 4px 9px; font-size: 10px; }
.m-card { background: #fff; border: 1px solid var(--cloud); border-radius: 9px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.m-ct { font-size: 10px; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.h-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.m-sub { display: block; margin-top: 2px; font-style: normal; font-size: 9px; color: var(--fog); }
.p1-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; margin-top: 10px; }
.qbars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: 168px; align-items: end; padding: 0 4px; }
.qbars div { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 4px; height: 100%; text-align: center; }
.qbars b { font-size: 10px; font-weight: 600; }
.qbars i { height: calc(var(--h) * 1.15px); border-radius: 5px 5px 2px 2px; background: var(--veil); }
.qbars i.nu { background: var(--accent); }
.qbars span { font-size: 9px; color: var(--fog); }
.disc { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding: 6px 0; font-size: 10.5px; }
.disc b { font-weight: 600; }
.disc i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), var(--veil) var(--p)); }
.m-tile { background: #fff; border: 1px solid var(--cloud); border-radius: 9px; padding: 9px 10px; }
.m-tile small { display: block; color: var(--fog); font-size: 9.5px; }
.m-tile b { display: inline-grid; margin-top: 2px; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.b { display: inline-block; font-style: normal; font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--veil); color: var(--carbon); white-space: nowrap; }
.b-new { background: var(--y-soft); color: #6b4e00; }
.b-hot { background: var(--graphite); color: #fff; }
.b-ok { background: #fff; border: 1px solid var(--cloud); padding: 1px 7px; }
.m-table { background: #fff; border: 1px solid var(--cloud); border-radius: 9px; overflow: hidden; }
.m-tr { --py: 8px; display: grid; grid-template-columns: 52px 1fr 66px 92px; gap: 8px; align-items: center; padding: calc(var(--py) * var(--g, 1)) 12px; border-top: 1px solid var(--veil); font-size: 10.5px; transition: background-color .4s; }
.m-tr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-th { border-top: 0; color: var(--fog); font-size: 9.5px; font-weight: 500; background: #fcfcfb; }
.m-tr.c3 { grid-template-columns: 1fr 50px 96px; }
.m-tr.c4 { grid-template-columns: 1.7fr 1fr 34px 1.3fr; }
.m-tr.calc { grid-template-columns: 1.4fr .6fr .9fr .9fr; }
.m-tr.calc span:nth-child(n+3) { text-align: right; }
.m-item { --py: 7px; display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: calc(var(--py) * var(--g, 1)) 0; border-top: 1px solid var(--veil); }
.m-ic { width: 26px; height: 26px; border-radius: 8px; background: var(--y-soft); display: grid; place-items: center; }
.m-it b { display: block; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-it small { color: var(--fog); font-size: 9.5px; }
.m-it { min-width: 0; }
.m-toast { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 9px; background: var(--graphite); color: #fff; font-size: 10.5px; font-weight: 500; box-shadow: var(--shadow-md); z-index: 15; }
.m-toast .ic { color: var(--accent); }
.m-label { margin-top: 10px; font-size: 9.5px; font-weight: 600; color: var(--slate); }
.m-select { margin-top: 4px; display: flex; align-items: center; height: 30px; padding: 0 10px; border: 1px solid var(--mist); border-radius: 7px; background: #fff; font-size: 10.5px; }
.m-select .ph { color: var(--fog); }
.m-options { position: absolute; z-index: 5; display: grid; gap: 2px; padding: 5px; border-radius: 9px; background: #fff; border: 1px solid var(--cloud); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.m-options span { display: flex; align-items: center; padding: 6px 8px; border-radius: 6px; font-size: 10.5px; transition: background-color .3s; }
.m-options small { margin-left: auto; padding-left: 10px; color: var(--fog); font-size: 9px; }
.m-modal { position: absolute; left: 50%; top: 50%; width: 260px; margin: -80px 0 0 -130px; display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--cloud); box-shadow: 0 16px 40px rgba(0, 0, 0, .16); z-index: 6; }
.m-modal span { display: flex; padding: 8px 10px; border-radius: 7px; border: 1px solid var(--veil); font-size: 10.5px; font-weight: 500; transition: background-color .3s; }
.m-modal small { margin-left: auto; color: var(--fog); font-weight: 400; }
.d-nr { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 9.5px; font-weight: 600; color: var(--fog); }
.d-title { margin-top: 2px; font-size: 13px; font-weight: 600; letter-spacing: -0.02em; }
.d-meta { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin-top: 8px; font-size: 10px; }
.d-meta dt { color: var(--fog); }
.d-desc { margin-top: 8px; font-size: 10.5px; line-height: 1.45; color: var(--carbon); }
.cur { position: absolute; left: 0; top: 0; width: 22px; height: 22px; fill: var(--graphite); stroke: #fff; stroke-width: 1.6; z-index: 20; opacity: 0; transform: translate(var(--x, 560px), var(--y, 380px)); transition: transform .8s cubic-bezier(.45, 0, .2, 1), opacity .3s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); pointer-events: none; }
.scene.s1 .cur { opacity: 1; }
.scene.einde .cur { opacity: 0; }

/* telefoon */
.phone { position: absolute; right: 30px; top: 18px; width: 180px; height: 404px; border-radius: 28px; background: var(--graphite); padding: 7px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.phone.left { left: 30px; right: auto; }
.ph-notch { position: absolute; top: 13px; left: 50%; width: 54px; height: 13px; border-radius: 8px; background: var(--graphite); transform: translateX(-50%); z-index: 4; }
.ph-screen { position: relative; height: 100%; border-radius: 22px; background: #f6f5f2; overflow: hidden; padding: 30px 10px 10px; }
.ph-time { margin-top: 26px; text-align: center; font-size: 38px; font-weight: 500; letter-spacing: -0.03em; color: var(--carbon); }
.ph-note { position: absolute; left: 8px; right: 8px; top: 104px; display: flex; gap: 8px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-md); font-size: 9.5px; line-height: 1.35; z-index: 3; }
.ph-note .ic { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: var(--accent); flex: none; }
.ph-note b { display: block; font-size: 9px; color: var(--fog); font-weight: 600; }
.ph-app { position: absolute; inset: 0; padding: 32px 10px 10px; background: #fff; z-index: 2; display: flex; flex-direction: column; }
.ph-h { font-size: 12px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.ph-app img { width: 100%; height: 108px; object-fit: cover; border-radius: 9px; }
.ph-t { margin-top: 8px; font-size: 11.5px; font-weight: 600; }
.ph-s { margin-top: 2px; font-size: 9.5px; color: var(--fog); }
.ph-btns { margin-top: auto; }
.ph-btns > span { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6px; }
.ph-btns i { font-style: normal; display: grid; place-items: center; height: 34px; border-radius: 9px; font-size: 10.5px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.ph-no { background: var(--veil); }
.ph-yes { background: var(--accent); }
.ph-yes.block { display: grid; place-items: center; height: 34px; margin-top: 10px; border-radius: 9px; font-size: 10.5px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.ph-done { display: flex !important; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 9px; background: var(--graphite); color: #fff; font-size: 10.5px; font-weight: 600; }
.ph-done .ic { color: var(--accent); }
.ph-check { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--veil); font-size: 10.5px; }
.cb { position: relative; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--mist); background: #fff; flex: none; }
.cb::after { content: ""; position: absolute; inset: -1.5px; border-radius: 5px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.scene .cb::after { transform: scale(.4); opacity: 0; transition: transform .3s, opacity .3s; }
.scene.s1 .cb.k1::after, .scene.s2 .cb.k2::after { transform: none; opacity: 1; }
.ph-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--veil); font-size: 10px; }
.ph-row span { color: var(--fog); }
.ph-row b { text-align: right; font-weight: 600; }
.ph-sig-l { margin-top: 8px; font-size: 9.5px; color: var(--fog); }
.ph-sig { margin-top: 4px; height: 56px; border-radius: 9px; border: 1px dashed var(--mist); background: #fff; display: grid; place-items: center; }
.ph-sig svg { width: 140px; height: 40px; }
.sig { fill: none; stroke: var(--graphite); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.2s ease; }
.scene.s3 .sig { stroke-dashoffset: 0; }

/* hero */
.h-tiles .m-tile b span { display: block; }
.h-row { display: grid; grid-template-columns: 1.9fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.h-list { overflow: hidden; }
.h-chart { display: flex; flex-direction: column; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding: 8px 4px 0; min-height: 120px; }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: var(--veil); transition: height .8s ease; }
.bars i:last-child { background: var(--accent); }
.bars.wide { min-height: 150px; }
.sc-hero.s5 .grow-bar { height: var(--h2); }
.bars-x { display: flex; gap: 10px; padding: 4px 4px 0; }
.bars-x span { flex: 1; text-align: center; font-size: 9px; color: var(--fog); }

/* m1: meldingen */
.m-seg { display: flex; gap: 4px; padding: 3px; border-radius: 8px; background: var(--veil); align-self: flex-start; }
.m-seg span { padding: 5px 10px; border-radius: 6px; font-size: 10px; font-weight: 500; color: var(--slate); }
.m-seg span.on { background: #fff; color: var(--graphite); font-weight: 600; box-shadow: var(--shadow-sm); }
.m-seg em { font-style: normal; display: inline-grid; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--y-soft); }
.m-seg em i { font-style: normal; grid-area: 1 / 1; }
.sc-m1 .m-main { transition: opacity .4s, transform .5s; }
.sc-m1.s3 .m-main { opacity: 0; transform: translateX(-20px); }
.m-detail { position: absolute; left: 120px; right: 0; top: 0; bottom: 0; padding: 14px 16px; opacity: 0; transform: translateX(30px); transition: opacity .45s, transform .6s cubic-bezier(.2, .8, .2, 1); z-index: 8; }
.sc-m1.s3 .m-detail { opacity: 1; transform: none; }
.dt-back { font-size: 10px; font-weight: 500; color: var(--fog); margin-bottom: 8px; }
.dt-card { padding: 14px; }
.dt-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px solid var(--veil); }
.dt-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; margin-top: 12px; }
.dt-body .d-meta { margin-top: 0; }
.d-photo { width: 100%; height: 190px; object-fit: cover; border-radius: 9px; transition: transform .6s; }
.sc-m1.s4 .d-photo { transform: scale(1.03); }

/* m2: toewijzen */
.m2-card { position: absolute; left: 24px; top: 22px; width: 370px; padding: 14px; }
.m2-body { display: grid; grid-template-columns: 130px 1fr; gap: 12px; margin-top: 10px; }
.m2-body img { width: 130px; height: 90px; object-fit: cover; border-radius: 8px; }
.m2-body .d-meta { margin-top: 0; align-content: start; }
.m2-opts, .a1-opts { position: static; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; padding: 0 5px; border-width: 0; box-shadow: none; transition: max-height .5s ease, opacity .3s, margin .5s, padding .5s; }
.sc-m2.s1 .m2-opts, .sc-a1.s4 .a1-opts { max-height: 130px; opacity: 1; margin-top: 6px; padding: 5px; border-width: 1px; box-shadow: var(--shadow-sm); }
.sc-m2.s3 .m2-opts, .sc-a1.s6 .a1-opts { max-height: 0; opacity: 0; margin-top: 0; padding: 0 5px; border-width: 0; }

/* m3: afhandeling */
.m3-right { position: absolute; left: 244px; right: 22px; top: 22px; display: grid; gap: 10px; }
.prog { margin-top: 10px; height: 6px; border-radius: 4px; background: var(--veil); overflow: hidden; }
.prog i { display: block; height: 100%; width: 8%; background: var(--accent); transition: width .6s; }
.sc-m3.s1 .prog i { width: 36%; } .sc-m3.s2 .prog i { width: 70%; } .sc-m3.s4 .prog i { width: 100%; }
.inv-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.inv-h b { font-size: 12px; font-weight: 600; }
.inv-h small { color: var(--fog); }
.inv-l { --py: 6px; display: flex; justify-content: space-between; padding: calc(var(--py) * var(--g, 1)) 0; border-top: 1px solid var(--veil); font-size: 10.5px; }
.inv-l.tot { font-weight: 600; border-top: 1px solid var(--mist); }
.inv-att { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 10px; color: var(--slate); }

/* p1: jaarplanning */
.p1-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--cloud); }
.p1-tabs span { padding: 0 2px 7px; font-size: 10.5px; font-weight: 500; color: var(--fog); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .3s, border-color .3s; }
.sc-p1 .t1, .sc-p1.s2 .t2, .sc-p1.s4 .t3 { color: var(--graphite); border-color: var(--accent); font-weight: 600; }
.sc-p1.s2 .t1, .sc-p1.s4 .t2 { color: var(--fog); border-color: transparent; font-weight: 500; }
.p1-pages { position: relative; flex: 1; }
.p1-page { position: absolute; inset: 0; }
.gantt { background: #fff; border: 1px solid var(--cloud); border-radius: 9px; padding: 8px 10px; }
.g-head, .g-row { display: grid; grid-template-columns: 136px 320px; align-items: center; }
.g-row { height: 30px; border-top: 1px solid var(--veil); }
.g-row > span { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.g-weeks { display: grid; grid-template-columns: repeat(16, 20px); font-size: 8.5px; color: var(--fog); }
.g-weeks i { font-style: normal; text-align: center; }
.g-lane { position: relative; height: 100%; background: repeating-linear-gradient(90deg, transparent 0 19px, var(--veil) 19px 20px); }
.bar { position: absolute; top: 8px; height: 14px; left: calc(var(--a) * 20px + 1px); width: calc(var(--w) * 20px - 2px); border-radius: 5px; background: var(--accent); transition: transform .8s cubic-bezier(.45, 0, .2, 1), box-shadow .3s; }
.bar.alt { background: var(--graphite); }
.bar.drag { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--graphite); }
.sc-p1.s4 .bar.drag { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--graphite), 0 6px 14px rgba(0, 0, 0, .2); }
.sc-p1.s5 .bar.drag { transform: translateX(120px); }
.g-row.cap > span { font-weight: 600; }
.cells { display: grid; grid-template-columns: repeat(16, 20px); align-items: center; background: none; }
.cells i { height: 14px; margin: 0 1px; border-radius: 3px; background: var(--y-soft); transition: background-color .6s; }
.cells i.hot { background: #e0a800; }
.cells i.lo { background: var(--veil); }
.sc-p1.s5 .cells i.hot { background: var(--y-soft); }
.sc-p1.s5 .cells i:nth-child(9), .sc-p1.s5 .cells i:nth-child(14) { background: #ffe58a; }

/* p2: takenpakket */
.p2-head { position: absolute; left: 22px; right: 22px; top: 20px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.p2-head small { color: var(--fog); font-size: 10px; }
.p2-tasks { position: absolute; left: 22px; right: 22px; top: 104px; padding: 4px 0 0; overflow: hidden; }
.p2-tasks .m-tr { padding-left: 14px; padding-right: 14px; }
.p2-foot { display: flex; justify-content: flex-end; gap: 14px; padding: 9px 14px; border-top: 1px solid var(--mist); font-size: 11px; }
.p2-foot b { display: inline-grid; font-weight: 600; }
.p2-foot i { font-style: normal; }
.p2-order { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 500; }

/* p3: weekplanning */
.p3-list { position: absolute; left: 16px; top: 18px; width: 146px; bottom: 18px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--cloud); }
.p3-slot { height: 58px; margin-bottom: 8px; }
.p3-card, .p3-ghost { height: 56px; padding: 8px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--cloud); border-left: 3px solid var(--accent); }
.p3-card b, .p3-ghost b { display: block; font-size: 10px; font-weight: 600; line-height: 1.25; }
.p3-card small, .p3-ghost small { color: var(--fog); font-size: 9px; }
.p3-ghost { position: absolute; left: 0; top: 0; width: 124px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); z-index: 12; transition: transform .8s cubic-bezier(.45, 0, .2, 1), opacity .3s; transform: translate(var(--gx, 0), var(--gy, 0)) rotate(var(--rot, 0deg)); }
.p3-grid { position: absolute; left: 174px; right: 16px; top: 18px; border-radius: 10px; background: #fff; border: 1px solid var(--cloud); overflow: hidden; }
.p3-hd, .p3-row { display: grid; grid-template-columns: 70px repeat(5, minmax(0, 1fr)); }
.p3-hd span { padding: 7px 6px; font-size: 9.5px; color: var(--fog); font-weight: 500; border-left: 1px solid var(--veil); }
.p3-hd span:first-child { border-left: 0; }
.p3-hd b { color: var(--graphite); font-weight: 600; }
.p3-row { height: 92px; border-top: 1px solid var(--veil); }
.p3-row > span { position: relative; padding: 6px 5px; border-left: 1px solid var(--veil); }
.p3-row > span:first-child { border-left: 0; }
.p3-who b { display: block; font-size: 10.5px; font-weight: 600; }
.capb { display: block; margin-top: 6px; height: 5px; width: var(--c); max-width: 100%; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 1px var(--veil); transition: width .8s; }
.sc-p3.s3 .p3-row:nth-child(3) .capb, .sc-p3.s6 .p3-row:nth-child(2) .capb { width: var(--c2); }
.blk { display: block; overflow: hidden; padding: 5px 6px; border-radius: 6px; background: var(--veil); font-style: normal; font-size: 9px; font-weight: 500; line-height: 1.25; }
.blk.new { background: var(--y-soft); box-shadow: inset 3px 0 0 var(--accent); }

/* a1: mail naar portaal */
.a1-inbox { position: absolute; left: 0; top: 0; bottom: 0; width: 230px; padding: 14px 12px; background: #fff; border-right: 1px solid var(--cloud); }
.mail { --py: 8px; display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; padding: calc(var(--py) * var(--g, 1)) 8px; border-top: 1px solid var(--veil); border-radius: 6px; font-size: 10px; transition: background-color .4s; }
.mail b { font-size: 10.5px; font-weight: 600; }
.mail span { grid-column: 1 / -1; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail small { grid-row: 1; grid-column: 2; color: var(--fog); font-size: 9px; }
.mail.unread b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.a1-fly { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--graphite); color: #fff; font-size: 10px; font-weight: 500; z-index: 12; transform: translate(var(--gx, 40px), var(--gy, 60px)); transition: transform 1s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.a1-fly .ic { color: var(--accent); }
.a1-portal { position: absolute; left: 230px; right: 0; top: 0; bottom: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.a1-row { display: flex; justify-content: flex-end; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--veil); }
.a1-old .d-title { font-size: 12px; }

/* a2: werkbon scannen */
.paper { position: absolute; left: 28px; top: 26px; width: 262px; height: 384px; padding: 18px 18px; background: #fffef7; border: 1px solid #ece6cf; border-radius: 4px; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); transform: rotate(-2deg); overflow: hidden; }
.pp-h { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding-bottom: 8px; border-bottom: 2px solid var(--graphite); }
.pp-h span { font-weight: 500; letter-spacing: 0; }
.pp-l { display: grid; grid-template-columns: 62px 1fr; gap: 6px; padding: 9px 0; border-bottom: 1px solid #e8e1c6; font-size: 9.5px; color: var(--fog); }
.pp-l b { font: 500 16px/1.15 "Caveat", "Comic Sans MS", cursive; color: #1d3a8a; letter-spacing: 0; }
.pp-sig { font-size: 20px !important; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: linear-gradient(180deg, rgba(255, 210, 60, 0), rgba(255, 210, 60, .55)); border-bottom: 2px solid var(--accent); transform: translateY(-30px); opacity: 0; transition: transform 1.6s linear, opacity .3s; }
.sc-a2.s1 .scan { transform: translateY(370px); opacity: 1; }
.sc-a2.s2 .scan { opacity: 0; }
.a2-right { position: absolute; left: 318px; right: 22px; top: 26px; display: grid; gap: 10px; }
.kv { --py: 6px; display: grid; grid-template-columns: 62px 1fr 14px; align-items: center; gap: 6px; padding: calc(var(--py) * var(--g, 1)) 0; border-top: 1px solid var(--veil); font-size: 10.5px; }
.kv span { color: var(--fog); }
.kv .ic { color: var(--graphite); background: var(--accent); border-radius: 50%; padding: 2px; stroke-width: 3; }
.saved { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 8px; border-radius: 7px; background: var(--y-soft); font-size: 10px; font-weight: 500; }
.a2-act .d-title { font-size: 12px; }
.a2-who { margin-top: 8px; font-size: 10.5px; }
.a2-who .ph { color: var(--fog); }

/* hero: binnenkomend werk dat wordt uitgelezen en doorgezet */
.fl-top { position: absolute; left: 16px; right: 16px; top: 12px; display: flex; justify-content: space-between; align-items: center; }
.fl-top .m-logo { margin: 0; }
.fl-tiles { position: absolute; left: 16px; right: 16px; top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fl-col { position: absolute; top: 122px; overflow: hidden; }
.fl-in { left: 16px; width: 178px; }
.fl-mid { left: 220px; width: 176px; }
.fl-out { left: 422px; right: 16px; }
.fl-col .m-item { grid-template-columns: 26px minmax(0, 1fr) auto; }
.fl-in .m-item { padding-inline: 6px; margin-inline: -6px; border-radius: 6px; }
.fl-mid .d-title { font-size: 12px; margin: -2px 0 4px; }
.sc-flow .kv { grid-template-columns: 40px minmax(0, 1fr) 14px; }
.sc-flow .kv b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.m-ic.lg { background: #fff; border: 1px solid var(--veil); }
.m-ic.lg img { width: 14px; height: auto; }
.fl-arr { position: absolute; top: 210px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--y-soft); z-index: 2; }
.fl-arr.r1 { left: 196px; }
.fl-arr.r2 { left: 398px; }
.fl-arr .ic { width: 12px; height: 12px; stroke-width: 2.4; }

/* drie pijlers */
.card.pijler { display: flex; flex-direction: column; text-align: left; padding: 28px; }
.pijler .card-icon { margin: 0 0 16px; }
.pijler h3 { font-size: 19px; }
.pijler-vb { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; font-size: 14px; color: var(--carbon); }
.pijler-vb li { display: flex; align-items: center; gap: 10px; }
.pijler-vb li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--y-soft); flex: none; }
.pijler .text-link { margin-top: auto; align-self: flex-start; }

/* automatiseringen: als dit, dan dat */
.au-flow { position: absolute; left: 20px; top: 20px; width: 370px; padding: 14px; }
.au-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px solid var(--veil); }
.au-on { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; }
.au-on i { position: relative; width: 24px; height: 14px; border-radius: 7px; background: var(--accent); }
.au-on i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.au-k { margin: 10px 0 5px; font-size: 9.5px; font-weight: 600; color: var(--fog); }
.au-when { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--cloud); border-radius: 8px; transition: background-color .4s; }
.au-step { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--veil); }
.au-k + .au-step { border-top: 0; }
.au-n { width: 20px; height: 20px; border-radius: 50%; background: var(--veil); display: grid; place-items: center; font-size: 9.5px; font-weight: 600; }
.au-log { position: absolute; left: 406px; right: 20px; top: 20px; bottom: 72px; overflow: hidden; }
.au-row { --py: 7px; display: grid; gap: 1px; padding: calc(var(--py) * var(--g, 1)) 0; border-top: 1px solid var(--veil); font-size: 10.5px; }
.au-row small { color: var(--fog); font-size: 9px; }
.au-row span { font-weight: 500; }

/* a3: calculatie */
.a3-calc { position: absolute; left: 20px; top: 20px; width: 430px; padding: 12px 0 0; overflow: hidden; }
.a3-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 14px 10px; }
.a3-head small { color: var(--fog); font-size: 9.5px; }
.a3-calc .m-tr { padding-left: 14px; padding-right: 14px; }
.a3-tot { padding: 8px 14px 12px; border-top: 1px solid var(--mist); display: grid; gap: 3px; }
.a3-tot p { display: flex; justify-content: space-between; font-size: 10.5px; }
.a3-tot p span { color: var(--fog); }
.a3-tot .big { margin-top: 4px; font-size: 13px; font-weight: 600; }
.a3-tot .big span { color: var(--graphite); }
.pdf { position: absolute; right: 22px; top: 70px; width: 150px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--cloud); box-shadow: 0 12px 30px rgba(0, 0, 0, .14); }
.pdf-page { height: 150px; border-radius: 4px; border: 1px solid var(--veil); padding: 12px 10px; display: grid; gap: 7px; align-content: start; background: #fff; box-shadow: inset 0 3px 0 var(--accent); }
.pdf-page i { display: block; height: 5px; border-radius: 3px; background: var(--veil); }
.pdf-page i.s { width: 60%; }
.pdf p { margin-top: 8px; font-size: 10px; }
.pdf b { display: block; font-weight: 600; }
.pdf small { color: var(--fog); }
.scene .pdf.on5 { transform: translateX(40px); }
.scene.s5 .pdf.on5 { transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .mnav { display: block; }
  .nav-in { gap: 12px; }
  .nav-actions { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .cards, .mods { grid-template-columns: repeat(2, 1fr); }
  .cards.pijlers { grid-template-columns: 1fr; }
  .split, .split-rev { grid-template-columns: 1fr; gap: 28px; }
  .split-rev .split-visual { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .cases, .cases.klanten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-cta { grid-column: 1 / -1; }
  .case-cta .btn { align-self: flex-start; }
  .hero-visual { justify-self: stretch; max-width: none; }
  .hub { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hub-lines { display: none; }
  .hub-group { position: static; width: auto; transform: none; }
  .hub-center { position: static; transform: none; grid-column: 1 / -1; justify-self: center; order: -1; }
  .g5 { grid-column: 1 / -1; left: auto; }
  .footer-in, .contact-in { grid-template-columns: 1fr; }
}

/* ---------- telefoon ---------- */
@media (max-width: 640px) {
  :root { --section-gap: 72px; }
  .nav-actions .btn-secondary { display: none; }
  .hero { padding-top: 40px; }
  h1, .contact-head h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
  .section-title br, .split-title br { display: none; }
  .split-title { font-size: 25px; }
  .cards, .mods { grid-template-columns: 1fr; }
  .mods-cta { flex-direction: column; align-items: flex-start; padding: 22px; }
  .card.mod { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px; }
  .card.mod .card-icon { grid-row: span 2; margin: 0; }
  .card.mod p { margin-top: 4px; }
  .float-card { position: relative; right: auto; bottom: auto; width: auto; margin: -28px 12px 0; }
  .hero-btns .btn { flex: 1 1 100%; }
  .logos { padding: 48px 24px 40px; }
  .logo-strip { gap: 10px 22px; }
  .logo-strip span { font-size: 17px; }
  .split-list { gap: 6px; }
  .feat { padding: 12px 14px; }
  .feat:not(.is-active) .feat-text { display: none; }
  .split { gap: 18px; margin-top: 28px; }
  .split-visual .frame { margin: 0 -8px; }
  .hub { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .sec-cta { flex-direction: column; text-align: center; }
  .cases, .cases.klanten { grid-template-columns: 1fr; }
  .sc-auto .m-toast { right: 256px; }
}

@media (max-width: 400px) {
  .nav-actions .btn { padding: 9px 12px; }
  .nav-in { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tabpane.is-active { animation: none; }
  html { scroll-behavior: auto; }
  .hub-lines circle { display: none; }
  .feat::after { display: none; }
}

/* ---- stapklassen (gegenereerd: on/off/grow/hl/press voor stap 1 t/m 8) ---- */
.scene .on1 { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.scene.s1 .on1 { opacity: 1; transform: none; }
.scene .vis1 { opacity: 0; }
.scene.s1 .vis1 { opacity: 1; }
.scene .on2 { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.scene.s2 .on2 { opacity: 1; transform: none; }
.scene .vis2 { opacity: 0; }
.scene.s2 .vis2 { opacity: 1; }
.scene .on3 { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.scene.s3 .on3 { opacity: 1; transform: none; }
.scene .vis3 { opacity: 0; }
.scene.s3 .vis3 { opacity: 1; }
.scene .on4 { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.scene.s4 .on4 { opacity: 1; transform: none; }
.scene .vis4 { opacity: 0; }
.scene.s4 .vis4 { opacity: 1; }
.scene .on5 { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.scene.s5 .on5 { opacity: 1; transform: none; }
.scene .vis5 { opacity: 0; }
.scene.s5 .vis5 { opacity: 1; }
.scene .on6 { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.scene.s6 .on6 { opacity: 1; transform: none; }
.scene .vis6 { opacity: 0; }
.scene.s6 .vis6 { opacity: 1; }
.scene .on7 { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.scene.s7 .on7 { opacity: 1; transform: none; }
.scene .vis7 { opacity: 0; }
.scene.s7 .vis7 { opacity: 1; }
.scene .on8 { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.scene.s8 .on8 { opacity: 1; transform: none; }
.scene .vis8 { opacity: 0; }
.scene.s8 .vis8 { opacity: 1; }
.scene .off1 { transition: opacity .35s, transform .35s; }
.scene.s1 .off1 { opacity: 0; transform: translateY(-6px); }
.scene.s1 .hid1 { opacity: 0; }
.scene .off2 { transition: opacity .35s, transform .35s; }
.scene.s2 .off2 { opacity: 0; transform: translateY(-6px); }
.scene.s2 .hid2 { opacity: 0; }
.scene .off3 { transition: opacity .35s, transform .35s; }
.scene.s3 .off3 { opacity: 0; transform: translateY(-6px); }
.scene.s3 .hid3 { opacity: 0; }
.scene .off4 { transition: opacity .35s, transform .35s; }
.scene.s4 .off4 { opacity: 0; transform: translateY(-6px); }
.scene.s4 .hid4 { opacity: 0; }
.scene .off5 { transition: opacity .35s, transform .35s; }
.scene.s5 .off5 { opacity: 0; transform: translateY(-6px); }
.scene.s5 .hid5 { opacity: 0; }
.scene .off6 { transition: opacity .35s, transform .35s; }
.scene.s6 .off6 { opacity: 0; transform: translateY(-6px); }
.scene.s6 .hid6 { opacity: 0; }
.scene .off7 { transition: opacity .35s, transform .35s; }
.scene.s7 .off7 { opacity: 0; transform: translateY(-6px); }
.scene.s7 .hid7 { opacity: 0; }
.scene .off8 { transition: opacity .35s, transform .35s; }
.scene.s8 .off8 { opacity: 0; transform: translateY(-6px); }
.scene.s8 .hid8 { opacity: 0; }
.scene .grow1 { --g: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .45s, padding .55s ease, background-color .4s; }
.scene.s1 .grow1 { --g: 1; max-height: 70px; opacity: 1; }
.scene.s1 .hl1 { background-color: var(--y-soft); }
.scene.s1 .press1 { animation: druk .6s ease; }
.scene .grow2 { --g: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .45s, padding .55s ease, background-color .4s; }
.scene.s2 .grow2 { --g: 1; max-height: 70px; opacity: 1; }
.scene.s2 .hl2 { background-color: var(--y-soft); }
.scene.s2 .press2 { animation: druk .6s ease; }
.scene .grow3 { --g: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .45s, padding .55s ease, background-color .4s; }
.scene.s3 .grow3 { --g: 1; max-height: 70px; opacity: 1; }
.scene.s3 .hl3 { background-color: var(--y-soft); }
.scene.s3 .press3 { animation: druk .6s ease; }
.scene .grow4 { --g: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .45s, padding .55s ease, background-color .4s; }
.scene.s4 .grow4 { --g: 1; max-height: 70px; opacity: 1; }
.scene.s4 .hl4 { background-color: var(--y-soft); }
.scene.s4 .press4 { animation: druk .6s ease; }
.scene .grow5 { --g: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .45s, padding .55s ease, background-color .4s; }
.scene.s5 .grow5 { --g: 1; max-height: 70px; opacity: 1; }
.scene.s5 .hl5 { background-color: var(--y-soft); }
.scene.s5 .press5 { animation: druk .6s ease; }
.scene .grow6 { --g: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .45s, padding .55s ease, background-color .4s; }
.scene.s6 .grow6 { --g: 1; max-height: 70px; opacity: 1; }
.scene.s6 .hl6 { background-color: var(--y-soft); }
.scene.s6 .press6 { animation: druk .6s ease; }
.scene .grow7 { --g: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .45s, padding .55s ease, background-color .4s; }
.scene.s7 .grow7 { --g: 1; max-height: 70px; opacity: 1; }
.scene.s7 .hl7 { background-color: var(--y-soft); }
.scene.s7 .press7 { animation: druk .6s ease; }
.scene .grow8 { --g: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .45s, padding .55s ease, background-color .4s; }
.scene.s8 .grow8 { --g: 1; max-height: 70px; opacity: 1; }
.scene.s8 .hl8 { background-color: var(--y-soft); }
.scene.s8 .press8 { animation: druk .6s ease; }
@keyframes druk { 40% { transform: scale(.93); box-shadow: 0 0 0 5px rgba(255, 210, 60, .55); } }
/* na de stapklassen: uitzonderingen die daarboven moeten winnen */
.swap > * { justify-self: start; }
.d-nr .swap > *, .m-item .swap > * { justify-self: end; }
.sc-a1.s3 .a1-new { max-height: 320px; }
.ph-btns.swap > * { justify-self: stretch; }
