/* ============================================
   SoftwareOpMaatAgent - gedeelde stylesheet
   Licht editorial design - cream / olijf
   ============================================ */

:root {
  --bg: #f0ede4;
  --bg-soft: #e9e5d8;
  --panel: #e7e2d3;
  --paper: #faf8f2;
  --ink: #181813;
  --ink-soft: #44443c;
  --ink-dim: #6d6d62;
  --olive: #ee4c1c;
  --olive-deep: #e04212;
  --sage: #ee4c1c;
  --line: #cfc9b8;
  --line-soft: #ddd8c9;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Inter", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --serif: "Playfair Display", "Georgia", "Times New Roman", serif;
}


* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: rgba(95, 112, 54, .25); }

/* ---------- layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

section { padding: 56px 0; }

/* ---------- navigatie ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 237, 228, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -.4px;
  display: flex;
  align-items: center;
  gap: 0;
}
.logo .mark {
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
  margin-right: 11px;
}
.logo .mark-img {
  height: 30px;
  width: auto;
  display: block;
  margin-right: 11px;
}
.logo em { font-style: italic; color: var(--olive); font-weight: 600; }

nav.menu { display: flex; gap: 30px; align-items: center; }
nav.menu a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
nav.menu a .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  opacity: .65;
}
nav.menu a:hover { color: var(--ink); }
nav.menu a.active { color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; }
nav.menu a.active .n { color: var(--olive); opacity: 1; }
nav.menu a.cta {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 24px;
  border-bottom: none;
  margin-left: 6px;
}
nav.menu a.cta:hover { background: var(--olive-deep); color: #fff; }
nav.menu a.cta .arr { font-size: 13px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); padding: 8px 13px; font-size: 17px; cursor: pointer; }


/* ---------- sectiekop (editorial) ---------- */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 11px;
  margin-bottom: 36px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.sec-head .no { color: var(--ink-dim); letter-spacing: 2px; }

/* ---------- typografie ---------- */
h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.8vw, 74px);
  line-height: 1.06;
  letter-spacing: -1px;
  font-weight: 500;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(27px, 3.5vw, 44px);
  letter-spacing: -.5px;
  font-weight: 500;
  line-height: 1.14;
}
h3 { font-size: 19px; font-weight: 650; letter-spacing: -.3px; }

h1 em, h2 em { font-style: italic; color: var(--olive); font-weight: 500; }

.lead { font-size: 17px; color: var(--ink-soft); max-width: 620px; line-height: 1.65; }

.fig {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .22s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--olive-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 9px 18px;
  background: var(--paper);
}
.chip .live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--olive);
  animation: blink 2.2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- kaarten ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  padding: 24px 22px;
  transition: background .25s, border-color .25s;
}
.card:hover { background: var(--bg-soft); border-color: var(--line); }
.card p { color: var(--ink-soft); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ---------- team / agents ---------- */
.member {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  padding: 28px 22px 26px;
  text-align: center;
  transition: background .25s;
}
.member:hover { background: var(--bg-soft); }
.avatar-c {
  position: relative;
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--olive) 55%, #fff) 0%, var(--olive) 48%, var(--olive-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--olive) 38%, transparent), inset 0 -3px 8px rgba(0, 0, 0, .18);
  transition: transform .3s;
}
.avatar-c::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1.5px dashed color-mix(in srgb, var(--olive) 55%, transparent);
  border-radius: 50%;
  animation: avatarSpin 16s linear infinite;
}
.avatar-c::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 8px color-mix(in srgb, var(--olive) 80%, transparent);
  animation: avatarOrbit 6s linear infinite;
}
@keyframes avatarSpin { to { transform: rotate(360deg); } }
@keyframes avatarOrbit {
  from { transform: rotate(0deg) translateY(-42px); }
  to { transform: rotate(360deg) translateY(-42px); }
}
.member:hover .avatar-c { transform: scale(1.08); }
.member.human .avatar-c { background: var(--ink); color: var(--bg); font-size: 24px; }
.member .name { font-size: 19px; font-weight: 650; letter-spacing: -.3px; }
.member .role {
  color: var(--olive);
  font-size: 14.5px;
  font-weight: 550;
  margin: 4px 0 12px;
}
.member .spec { font-size: 14.5px; color: var(--ink-dim); line-height: 1.55; }
.member .step-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ink-dim);
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}

/* ---------- chat ---------- */
.chat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.chat-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.chat-bar .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 650;
  flex-shrink: 0;
}
.chat-bar .who { font-size: 14.5px; font-weight: 650; }
.chat-bar .status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 7px;
}
.chat-bar .status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--olive);
  animation: blink 2.2s infinite;
}
.chat-bar .proj {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: right;
  max-width: 42%;
  line-height: 1.6;
  flex-shrink: 0;
}
.chat-bar .proj b { color: var(--olive); font-weight: 600; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }

.msg {
  position: relative;
  max-width: 84%;
  padding: 14px 19px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(24, 24, 19, .06);
  opacity: 0;
  transform: translateY(10px);
  animation: msgIn .5s forwards;
}
.msg.ai {
  align-self: flex-start;
  background: var(--bg-soft);
  border-bottom-left-radius: 5px;
}
.msg.ai::after {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 0;
  width: 14px;
  height: 14px;
  background: var(--bg-soft);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.msg.user {
  align-self: flex-end;
  background: #fff;
  border-bottom-right-radius: 5px;
}
.msg.user::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 0;
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.msg .tag {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 6px;
}
.msg.ai .tag { color: var(--olive); }
.msg.user .tag { color: var(--ink-dim); }

@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }

.chat-body .msg:nth-child(1) { animation-delay: .2s; }
.chat-body .msg:nth-child(2) { animation-delay: .9s; }
.chat-body .msg:nth-child(3) { animation-delay: 1.7s; }
.chat-body .msg:nth-child(4) { animation-delay: 2.5s; }
.chat-body .msg:nth-child(5) { animation-delay: 3.3s; }
.chat-body .msg:nth-child(6) { animation-delay: 4.1s; }

.typing {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  padding: 15px 19px;
  background: var(--bg-soft);
  border-radius: 20px;
  border-bottom-left-radius: 5px;
  box-shadow: 0 2px 6px rgba(24, 24, 19, .06);
  opacity: 0;
  animation: msgIn .4s forwards;
  animation-delay: 4.9s;
}
.typing::after {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 0;
  width: 14px;
  height: 14px;
  background: var(--bg-soft);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.typing.user {
  align-self: flex-end;
  background: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 5px;
}
.typing.user::after {
  left: auto;
  right: -7px;
  background: #fff;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.typing.user i { background: var(--ink-dim); }
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--olive);
  animation: bounce 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat.static .msg, .chat.static .typing { opacity: 1; transform: none; animation: none; }

/* ---------- spec sheet (vervangt terminal) ---------- */
.sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
}
.sheet-bar {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.sheet-body { padding: 24px 22px; line-height: 2.15; color: var(--ink-soft); }
.sheet-body .ok { color: var(--olive); font-weight: 600; }
.sheet-body .key { color: var(--ink); font-weight: 600; }
.sheet-body .cmt { color: var(--ink-dim); }
.sheet-body .row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line-soft); }
.sheet-body .row:last-child { border-bottom: none; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.stat {
  text-align: left;
  padding: 24px 22px;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: none; }
.stat b {
  display: block;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -2px;
  color: var(--olive);
  line-height: 1.1;
}
.stat span { font-size: 14px; color: var(--ink-dim); }

/* ---------- labels-strip ---------- */
.labels-strip { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); background: var(--paper); }
.label-pill {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .5px;
  padding: 15px 26px;
  border-right: 1px solid var(--line-soft);
  color: var(--ink-soft);
  flex: 1;
  text-align: center;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.label-pill:last-child { border-right: none; }
.label-pill:hover { color: var(--olive-deep); background: var(--bg-soft); }

/* ---------- meldingsbalk wachtlijst ---------- */
.notice {
  background: color-mix(in srgb, var(--olive) 82%, #fff);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.notice b { font-weight: 700; }
.notice .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: blink 2s infinite;
}
.notice a {
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 100px;
  padding: 6px 16px;
  text-decoration: none;
  white-space: nowrap;
}
.notice a:hover { background: #fff; color: var(--olive-deep); }

/* ---------- ribbon (no cure no pay) ---------- */
.ribbon { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.ribbon .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--olive) 12%, var(--paper));
  color: var(--olive-deep);
  border: 1px solid color-mix(in srgb, var(--olive) 35%, transparent);
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 9px 16px;
  border-radius: 100px;
}
.ribbon .badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--olive) 60%, transparent);
  animation: badgePulse 2.4s ease-out infinite;
}
@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--olive) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 7px transparent; }
}
@media (max-width: 900px) {
  .ribbon { font-size: 11px; padding: 10px 16px; }
}

/* ---------- klantcase modal ---------- */
.card.clickable { cursor: pointer; }
.card.clickable:hover { border-color: var(--olive); }
.case-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--olive-deep);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 19, .55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg);
  border: 1px solid var(--ink);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px 32px;
  position: relative;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal .close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  padding: 8px 11px;
  cursor: pointer;
}
.modal .close:hover { background: var(--ink); color: var(--bg); }
.modal h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 8px 0 12px; }
.modal h3 em { font-style: italic; color: var(--olive); }
.modal p.intro { color: var(--ink-soft); font-size: 15px; max-width: 640px; }
.modal .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  margin-top: 18px;
  font-size: 13px;
}
.modal .facts div { padding: 12px 18px; border-right: 1px solid var(--line-soft); flex: 1; min-width: 140px; }
.modal .facts div:last-child { border-right: none; }
.modal .facts b { display: block; font-size: 12.5px; color: var(--olive-deep); font-family: var(--mono); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; font-weight: 600; }

/* schermafdruk-mock */
.mock {
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 22px;
  box-shadow: 0 14px 40px rgba(24,24,19,.12);
  border-radius: 14px;
  overflow: hidden;
  border-top: 4px solid var(--mk, var(--line));
}

/* kleurthema's per oplossing */
.mock.t-teal   { --mk: #0e7569; --mk-soft: #d9efec; --mk-deep: #0a5950; }
.mock.t-blue   { --mk: #1e56c8; --mk-soft: #dde8fa; --mk-deep: #16409a; }
.mock.t-purple { --mk: #7437d8; --mk-soft: #eadffa; --mk-deep: #5a28ab; }
.mock.t-amber  { --mk: #b3700a; --mk-soft: #f8ecd2; --mk-deep: #8e5807; }
.mock.t-rose   { --mk: #b8336e; --mk-soft: #f8dfeb; --mk-deep: #922656; }
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.mock-bar span { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); margin-left: 10px; }
.mock-body { padding: 18px 20px; font-size: 13px; color: var(--ink-soft); }
.m-h { font-weight: 650; color: var(--ink); font-size: 14.5px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.m-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-bottom: none;
  background: var(--paper);
}
.m-row:last-child { border-bottom: 1px solid var(--line-soft); }
.m-row .grow { flex: 1; }
.m-chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .5px;
  padding: 3px 11px;
  border-radius: 100px;
  white-space: nowrap;
}
.m-chip.brand { background: var(--mk-soft, var(--bg-soft)); color: var(--mk-deep, var(--ink-soft)); }
.m-chip.ok { background: #e4ecd9; color: #4a5829; }
.m-chip.warn { background: #f7e8c8; color: #8a6410; }
.m-chip.err { background: #f7d4c8; color: #a33310; }
.m-chip.info { background: #dde7ee; color: #2f5a78; }
.m-btn {
  display: inline-block;
  background: var(--mk, var(--ink));
  color: #fff;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
}
.m-kpis { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.m-kpi { flex: 1; min-width: 110px; border: 1px solid var(--line-soft); background: var(--mk-soft, var(--paper)); border-radius: 10px; padding: 10px 12px; }
.m-kpi b { display: block; font-size: 20px; color: var(--mk-deep, var(--olive)); font-weight: 650; }
.m-kpi span { font-size: 11px; color: var(--ink-dim); }

/* mock: app-layout met zijbalk */
.m-layout { display: flex; min-height: 250px; }
.m-side { width: 150px; flex-shrink: 0; background: var(--bg-soft); border-right: 1px solid var(--line-soft); padding: 10px 0; font-size: 12.5px; }
.m-side .brand { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--mk-deep, var(--olive-deep)); padding: 6px 14px 12px; font-weight: 600; }
.m-side span { display: block; padding: 7px 14px; color: var(--ink-dim); border-radius: 0 100px 100px 0; margin-right: 8px; }
.m-side span.on { background: var(--mk-soft, #fff); color: var(--mk-deep, var(--ink)); border-left: 3px solid var(--mk, var(--olive)); padding-left: 11px; font-weight: 600; }
.m-main { flex: 1; padding: 14px 16px; min-width: 0; }

/* mock: tabel */
.m-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.m-table th { text-align: left; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--mk-deep, var(--ink-dim)); border-bottom: 2px solid var(--mk, var(--line)); padding: 5px 8px; font-weight: 600; white-space: nowrap; }
.m-table td { padding: 7px 8px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); white-space: nowrap; }
.m-table td.r, .m-table th.r { text-align: right; }
.m-table tr:nth-child(even) td { background: var(--paper); }

/* mock: tabs */
.m-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 12px; font-size: 12.5px; }
.m-tab { padding: 6px 14px; color: var(--ink-dim); border-radius: 100px 100px 0 0; }
.m-tab.on { border: 1px solid var(--line); border-bottom: 2px solid #fff; margin-bottom: -1px; color: var(--mk-deep, var(--ink)); font-weight: 600; background: var(--mk-soft, #fff); }
.m-tab .cnt { font-family: var(--mono); font-size: 10px; background: var(--mk, var(--bg-soft)); color: #fff; border-radius: 100px; padding: 1px 6px; margin-left: 5px; }
.m-tab:not(.on) .cnt { background: var(--bg-soft); color: var(--ink-dim); }

/* mock: formulier */
.m-field { margin-bottom: 9px; }
.m-field label { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 3px; }
.m-field .val { border: 1px solid var(--line); background: #fff; padding: 6px 9px; font-size: 12.5px; color: var(--ink); display: flex; justify-content: space-between; }
.m-field .val .uom { color: var(--ink-dim); font-size: 11px; }

/* mock: documentpreview */
.m-doc { background: #fff; border: 1px solid var(--line); box-shadow: 2px 3px 0 var(--line-soft); padding: 16px 16px 12px; font-size: 10.5px; color: var(--ink-soft); }
.m-doc .doc-head { display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 8px; }
.m-doc .doc-head b { font-family: var(--serif); font-size: 14px; color: var(--ink); }
.m-doc .doc-row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dotted var(--line-soft); }
.m-doc .doc-tot { display: flex; justify-content: space-between; padding-top: 6px; font-weight: 700; color: var(--ink); }

/* ---------- Technieklab hero (case OpenDag) ---------- */
.tl-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 150% at 80% -10%, #182a5e 0%, #0a0f22 55%, #06091a 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 10px;
  padding: 26px 24px 20px;
}
.tl-hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100px;
  background:
    repeating-linear-gradient(90deg, rgba(54, 224, 255, .14) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(54, 224, 255, .14) 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(180deg, transparent, black 75%);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 75%);
  pointer-events: none;
}
.tl-kick { font-family: var(--mono); font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase; color: #36e0ff; }
.tl-title { font-family: var(--serif); font-size: 27px; line-height: 1.15; margin: 8px 0; }
.tl-title em {
  font-style: italic;
  background: linear-gradient(90deg, #36e0ff, #8a5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tl-sub { font-size: 12px; color: #9fb0d8; max-width: 290px; line-height: 1.6; }
.tl-btn {
  display: inline-block;
  margin-top: 14px;
  background: linear-gradient(90deg, #36e0ff, #8a5cff);
  color: #06080f;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 100px;
  box-shadow: 0 0 24px rgba(96, 140, 255, .55);
}
.tl-chips { display: flex; gap: 7px; margin-top: 13px; flex-wrap: wrap; }
.tl-chip {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #bcd6ff;
  border: 1px solid rgba(112, 170, 255, .4);
  border-radius: 100px;
  padding: 4px 11px;
  background: rgba(20, 40, 80, .5);
}

/* robot-scène: portaalrobot pakt pakketje van de band en legt het in de doos */
.tl-scene { position: relative; height: 215px; }
.tl-beam { position: absolute; top: 16px; left: 4px; right: 4px; height: 10px; border-radius: 5px; background: linear-gradient(180deg, #3c4a7d, #1d2747); box-shadow: 0 3px 10px rgba(0, 0, 0, .5); }
.tl-pillar { position: absolute; top: 22px; bottom: 14px; left: 50%; width: 12px; margin-left: -6px; background: linear-gradient(90deg, #2c3a66, #151d38); }
.tl-floor { position: absolute; left: 0; right: 0; bottom: 13px; height: 2px; background: linear-gradient(90deg, transparent, #34487f, transparent); }
.tl-belt {
  position: absolute; right: 2px; bottom: 15px; width: 44%; height: 12px; border-radius: 6px;
  border: 1px solid #32406f;
  background: repeating-linear-gradient(90deg, #1b2547 0 14px, #27335f 14px 28px);
  animation: tlBelt 1.1s linear infinite;
}
@keyframes tlBelt { to { background-position: -28px 0; } }
.tl-crate {
  position: absolute; left: 9%; bottom: 15px; width: 56px; height: 34px;
  border: 2px solid #c79a52; border-top: none; border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, #3a2c14, #241a0a);
}
.tl-crate::before, .tl-crate::after {
  content: ""; position: absolute; top: -7px; width: 16px; height: 6px; background: #a37c3c; border-radius: 2px;
}
.tl-crate::before { left: -7px; transform: rotate(-24deg); }
.tl-crate::after { right: -7px; transform: rotate(24deg); }
.tl-trolley {
  position: absolute; top: 10px; left: 50%; width: 36px; height: 21px; margin-left: -18px;
  border-radius: 5px;
  background: linear-gradient(180deg, #5167a8, #27315a);
  box-shadow: 0 0 14px rgba(54, 224, 255, .25);
  animation: tlTrolley 7s ease-in-out infinite;
}
.tl-trolley i { position: absolute; top: 5px; left: 6px; width: 6px; height: 6px; border-radius: 50%; background: #36e0ff; box-shadow: 0 0 8px #36e0ff; animation: blink 1.4s infinite; }
.tl-rod {
  position: absolute; top: 100%; left: 50%; width: 5px; transform: translateX(-50%);
  height: 26px;
  background: linear-gradient(180deg, #91a5dc, #3a4775);
  animation: tlRod 7s ease-in-out infinite;
}
.tl-rod::before, .tl-rod::after {
  content: ""; position: absolute; bottom: -9px; width: 3.5px; height: 11px; border-radius: 2px; background: #9fb3e8;
}
.tl-rod::before { left: -6px; }
.tl-rod::after { right: -6px; }
@keyframes tlTrolley {
  0%, 32% { transform: translateX(84px); }
  50%, 70% { transform: translateX(-80px); }
  90%, 100% { transform: translateX(84px); }
}
@keyframes tlRod {
  0%, 14% { height: 26px; }
  22% { height: 66px; }
  30%, 52% { height: 26px; }
  60% { height: 60px; }
  68%, 100% { height: 26px; }
}
.tl-pack {
  position: absolute; bottom: 27px; left: 50%; width: 26px; height: 22px; margin-left: -13px;
  border: 1.5px solid #36e0ff; border-radius: 4px;
  background: linear-gradient(135deg, rgba(54, 224, 255, .25), rgba(138, 92, 255, .25)), #141d3d;
  box-shadow: 0 0 14px rgba(54, 224, 255, .45);
  animation: tlPack 7s ease-in-out infinite;
}
@keyframes tlPack {
  0% { transform: translate(170px, 0); opacity: 0; }
  8% { transform: translate(84px, 0); opacity: 1; }
  22% { transform: translate(84px, 0); }
  30% { transform: translate(84px, -88px); }
  50% { transform: translate(-80px, -88px); }
  60% { transform: translate(-80px, 6px); }
  64% { transform: translate(-80px, 6px); opacity: 1; }
  68% { transform: translate(-80px, 6px); opacity: 0; }
  100% { transform: translate(170px, 0); opacity: 0; }
}
.tl-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #0b1124;
  border-top: 1px solid #1d2950;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #9fb0d8;
}
.tl-strip b { color: #36e0ff; font-weight: 700; }
@media (max-width: 700px) {
  .tl-hero { grid-template-columns: 1fr; }
  .tl-scene { height: 190px; }
}

/* case-foto in modal */
.case-photo { width: 100%; border-radius: 14px; border: 1px solid var(--line); display: block; margin-top: 4px; }
.case-photo-wrap { position: relative; margin-top: 4px; }
.case-photo-fallback {
  display: none;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 40px 20px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.7;
}
.ref-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--mk-soft, var(--bg-soft));
  color: var(--mk-deep, var(--olive-deep));
  border-radius: 100px;
  padding: 4px 11px;
  margin-bottom: 10px;
}

/* mock: fraaie offerte (doc2) */
.doc2 {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(24, 24, 19, .14);
  padding: 18px 18px 14px;
  font-size: 10.5px;
  color: var(--ink-soft);
  overflow: hidden;
}
.doc2 .stamp {
  position: absolute;
  top: 54px; right: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mk);
  border: 2px solid var(--mk);
  border-radius: 4px;
  padding: 4px 10px;
  transform: rotate(7deg);
  opacity: .5;
}
.doc2-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.doc2-logo { display: flex; gap: 9px; align-items: center; }
.doc2-logo .lg {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--mk);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.doc2-logo b { display: block; font-size: 12px; color: var(--ink); line-height: 1.3; }
.doc2-logo span { font-size: 9px; color: var(--ink-dim); }
.doc2-title { text-align: right; }
.doc2-title .t { font-family: var(--serif); font-size: 21px; color: var(--ink); letter-spacing: 1.5px; }
.doc2-title span { display: block; font-size: 9px; color: var(--ink-dim); }
.doc2-meta {
  display: flex; flex-wrap: wrap; gap: 4px 22px;
  background: var(--mk-soft);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 12px 0 10px;
}
.doc2-meta b { display: block; font-family: var(--mono); font-size: 7.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--mk-deep); margin-bottom: 1px; }
.doc2-to { margin-bottom: 4px; }
.doc2-to b { font-family: var(--mono); font-size: 7.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-dim); display: block; }
.doc2 table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 10.5px; }
.doc2 th { font-family: var(--mono); font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: var(--mk-deep); border-bottom: 2px solid var(--mk); text-align: left; padding: 4px 6px; }
.doc2 td { padding: 6px; border-bottom: 1px solid var(--line-soft); }
.doc2 .r { text-align: right; white-space: nowrap; }
.doc2 tr:nth-child(even) td { background: var(--paper); }
.doc2-totals { margin-left: auto; width: 62%; margin-top: 8px; }
.doc2-totals .trow { display: flex; justify-content: space-between; padding: 3px 8px; }
.doc2-totals .trow.total {
  background: var(--mk);
  color: #fff;
  font-weight: 700;
  font-size: 11.5px;
  padding: 7px 10px;
  border-radius: 7px;
  margin-top: 5px;
}
.doc2-foot {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px dotted var(--line);
  font-size: 8.5px;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

/* mock: handscanner (donker) */
.mock.scanner { max-width: 320px; margin: 22px auto 0; background: #181c20; border-color: #181c20; border-top: 4px solid #7ee787; border-radius: 18px; overflow: hidden; }
.mock.scanner .mock-bar { background: #111417; border-color: #2a2f35; }
.mock.scanner .mock-bar span { color: #8b949e; }
.scan-status { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: #8b949e; padding: 8px 14px; border-bottom: 1px solid #2a2f35; }
.scan-body { padding: 14px; color: #cfd6dd; font-size: 12.5px; }
.scan-card { background: #21262c; border: 1px solid #2f353c; border-radius: 8px; padding: 11px 12px; margin-bottom: 9px; }
.scan-card .loc { font-family: var(--mono); font-size: 17px; font-weight: 700; color: #7ee787; letter-spacing: 1px; }
.scan-card .art { margin-top: 3px; }
.scan-card .qty { font-size: 15px; font-weight: 700; color: #fff; }
.scan-prog { height: 6px; background: #2a2f35; border-radius: 100px; margin: 10px 0; overflow: hidden; }
.scan-prog i { display: block; height: 100%; width: 38%; background: #7ee787; }
.scan-btn { display: block; text-align: center; background: #238636; color: #fff; font-weight: 700; padding: 12px; border-radius: 8px; margin-top: 12px; font-size: 14px; }
.scan-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.scan-keys span { background: #21262c; border: 1px solid #2f353c; border-radius: 6px; text-align: center; padding: 8px 0; font-size: 12px; color: #8b949e; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--ink);
  padding: 40px 0 28px;
  margin-top: 24px;
  background: var(--bg-soft);
}
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; }
footer h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--ink-dim);
  font-weight: 600;
}
footer a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; padding: 3px 0; }
footer a:hover { color: var(--olive-deep); }
.foot-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- formulier ---------- */
input, textarea, select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(95, 112, 54, .12);
}
label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: block;
  margin-bottom: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.split.rev { grid-template-columns: 1.1fr 1fr; }
.split.hero { grid-template-columns: 1.08fr 1fr; gap: 56px; }

/* ---------- responsief ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .label-pill { flex-basis: 50%; }
}
@media (max-width: 900px) {
  .grid-3, .split, .split.rev, .split.hero { grid-template-columns: 1fr; }
  .grid-2, .form-row, .grid-4 { grid-template-columns: 1fr; }
  .split, .split.hero { gap: 44px; }
  section { padding: 60px 0; }
  h1 { letter-spacing: -1.5px; }
  .labels-strip { flex-direction: column; }
  .label-pill { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .label-pill:last-child { border-bottom: none; }
  nav.menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 22px;
    gap: 12px;
  }
  nav.menu.open { display: flex; }
  nav.menu a.cta { margin-left: 0; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
}
