/* ==========================================================================
   DC Company — stylesheet
   Palet: warm papier, diep inkt, één accentkleur (dennengroen).
   Geen frameworks, geen externe fonts, geen gradients.
   ========================================================================== */

:root {
  --paper: #f6f5f1;
  --paper-raised: #fffefb;
  --ink: #15181c;
  --ink-soft: #3b4149;
  --muted: #6b7279;
  --line: #e0ddd5;
  --line-strong: #cec9be;
  --accent: #1d5c4a;
  --accent-hover: #164537;
  --accent-wash: #eaf1ee;
  --signal: #2e9e6b;
  --warn-wash: #fbf4e6;

  --maxw: 1140px;
  --gutter: 24px;
  --radius: 4px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-family: var(--serif); font-weight: 400; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }
section { padding: 72px 0; }
.section-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 30px; height: 30px; flex: none; display: block; border-radius: 7px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-size: .93rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 600; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 7px 12px; color: var(--ink); cursor: pointer;
}

.cart-link { display: inline-flex; align-items: center; gap: 7px; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 600; display: inline-grid; place-items: center;
}
.cart-count[hidden] { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 84px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.hero--single .wrap { max-width: 880px; }
.hero--single h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
.hero--single .hero__lead { font-size: 1.16rem; max-width: 58ch; }
.hero h1 { margin-bottom: .35em; }
.hero__lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__note { margin-top: 18px; font-size: .88rem; color: var(--muted); }

.status {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-strong); background: var(--paper-raised);
  border-radius: 100px; padding: 6px 14px 6px 11px;
  font-size: .8rem; color: var(--ink-soft); margin-bottom: 26px;
  font-family: var(--mono); letter-spacing: .01em;
}
.status__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(46, 158, 107, .5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 158, 107, .45); }
  70%  { box-shadow: 0 0 0 7px rgba(46, 158, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 158, 107, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .status__dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* systeempaneel naast de hero */
.panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: .76rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
}
.panel__body { padding: 6px 0; }
.panel-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; font-size: .88rem;
  border-bottom: 1px solid var(--line);
}
.panel-row:last-child { border-bottom: 0; }
.panel-row__name { color: var(--ink-soft); }
.panel-row__val { margin-left: auto; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper-raised); padding: 22px 20px; }
.stat__num { font-family: var(--serif); font-size: 1.9rem; line-height: 1; margin-bottom: 8px; }
.stat__label { font-size: .84rem; color: var(--muted); }

/* ---------- kaarten / diensten ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex; flex-direction: column;
}
.card__num { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.card h3 { margin-bottom: 10px; }
.card__desc { color: var(--ink-soft); font-size: .93rem; margin-bottom: 16px; }
.card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.card ul li {
  font-size: .9rem; color: var(--ink-soft);
  padding-left: 18px; position: relative; margin-bottom: .5em;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 1px; background: var(--line-strong);
}
.card__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center;
}
.price-tag { font-family: var(--mono); color: var(--ink-soft); }

/* ---------- portfolio ---------- */
.case {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.case__body { padding: 34px 32px; }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
  font-size: .74rem; font-family: var(--mono); color: var(--ink-soft);
  border: 1px solid var(--line-strong); border-radius: 100px; padding: 3px 10px;
  background: var(--paper);
}
.case__visual { background: var(--paper); border-left: 1px solid var(--line); padding: 24px; display: flex; align-items: center; }
.case__visual svg { width: 100%; height: auto; }

/* Lijst met cases onder elkaar. */
.cases { display: grid; gap: 20px; }
.case__kort { font-size: 1.02rem; color: var(--ink); margin-bottom: 16px; }
.case__visual img { width: 100%; height: auto; display: block; border-radius: 3px; }

.case--placeholder {
  border-style: dashed; border-color: var(--line-strong); background: transparent;
  display: block; padding: 34px 32px; color: var(--muted);
}
.case--placeholder h3 { color: var(--ink-soft); }

/* ---------- werkwijze ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.step { padding: 26px 24px 26px 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step__n { font-family: var(--mono); font-size: .78rem; color: var(--accent); margin-bottom: 10px; }
.step h3 { font-size: 1rem; }
.step p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- profilering ---------- */
.pitch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pitch__col h3 { font-size: 1.02rem; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); }
.pitch__col p, .pitch__col li { font-size: .93rem; color: var(--ink-soft); }

/* ---------- split cta ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.split__half { background: var(--paper-raised); padding: 32px 30px; }
.split__half h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.split__half p { color: var(--ink-soft); font-size: .95rem; }

.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9bec4; max-width: 56ch; }
.cta-band .btn--primary { background: #fff; color: var(--ink); }
.cta-band .btn--primary:hover { background: #e7e6e1; color: var(--ink); }
.cta-band .btn--ghost { color: #fff; border-color: #4a5058; }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- shop ---------- */
.page-head { padding: 60px 0 40px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--ink-soft); max-width: 62ch; margin-bottom: 0; }

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
}
.product-card__thumb { background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px; }
.product-card__thumb svg,
.product-card__thumb img { width: 100%; height: auto; display: block; border-radius: 2px; }
.shot img, .shot svg { width: 100%; height: auto; display: block; }
.product-card__body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { margin-bottom: 8px; }
.product-card__body p { font-size: .9rem; color: var(--ink-soft); }
.product-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 12px; }
.price { font-family: var(--mono); font-weight: 600; font-size: 1.05rem; }
.price small { font-weight: 400; color: var(--muted); font-size: .74rem; display: block; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  border: 1px solid var(--line-strong); background: var(--paper-raised);
  border-radius: 100px; padding: 7px 15px; font-size: .87rem; color: var(--ink-soft); cursor: pointer;
}
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.product__gallery { position: sticky; top: 96px; }
.shot { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.shot figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.buybox { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper-raised); padding: 24px; margin: 24px 0; }
.buybox .price { font-size: 1.6rem; }
.spec { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec th, .spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 40%; font-weight: 500; color: var(--muted); }

/* Brede variant: drie kolommen met randen, voor taakoverzichten. */
.spec--breed { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); }
.spec--breed th, .spec--breed td { padding: 14px 18px; width: auto; }
.spec--breed thead th {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  font-weight: 600; border-bottom: 1px solid var(--ink); background: var(--paper);
}
.spec--breed tbody th { width: 22%; color: var(--ink); font-weight: 600; }
.spec--breed td { color: var(--ink-soft); }
.spec--breed tbody tr:last-child th, .spec--breed tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 760px) {
  .spec--breed, .spec--breed thead, .spec--breed tbody, .spec--breed tr, .spec--breed th, .spec--breed td { display: block; width: auto; }
  .spec--breed thead { display: none; }
  .spec--breed tbody tr { border-bottom: 1px solid var(--line-strong); padding: 6px 0 10px; }
  .spec--breed tbody tr:last-child { border-bottom: 0; }
  .spec--breed tbody th { padding-bottom: 4px; }
  .spec--breed td { padding-top: 0; border-bottom: 0; }
  .spec--breed td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}
.deliver { list-style: none; padding: 0; }
.deliver li { padding-left: 22px; position: relative; font-size: .93rem; color: var(--ink-soft); }
.deliver li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* ---------- winkelwagen ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); font-weight: 600; }
.cart-table td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-table td:last-child, .cart-table th:last-child { text-align: right; }
.qty { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 30px; height: 32px; border: 0; background: var(--paper-raised); cursor: pointer; color: var(--ink-soft); }
.qty button:hover { background: var(--paper); color: var(--ink); }
.qty span { width: 36px; display: grid; place-items: center; font-size: .9rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: .84rem; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--ink); }

.summary { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper-raised); padding: 24px; }
.summary__row { display: flex; justify-content: space-between; font-size: .93rem; margin-bottom: 10px; color: var(--ink-soft); }
.summary__row--total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

.notice {
  background: var(--warn-wash); border: 1px solid #e8dcc0; border-radius: var(--radius);
  padding: 14px 16px; font-size: .88rem; color: #6b5a33;
}
.notice code { font-family: var(--mono); font-size: .85em; }

/* Uitgelicht blok: één module die extra aandacht verdient. */
.spotlight {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px;
  margin-top: 28px; padding: 28px;
  background: var(--accent-wash);
  border: 1px solid #cfe0d9; border-radius: var(--radius);
}
.spotlight__main h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: .4em; }
.spotlight__main p { font-size: .95rem; color: var(--ink-soft); }
.spotlight__main .eyebrow { color: var(--accent); }
.spotlight__list { list-style: none; margin: 0; padding: 0; align-self: center; }
.spotlight__list li {
  position: relative; padding-left: 20px; margin-bottom: 10px;
  font-size: .9rem; color: var(--ink-soft);
}
.spotlight__list li:last-child { margin-bottom: 0; }
.spotlight__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 2px; background: var(--accent);
}

/* ---------- formulier ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  font: inherit; font-size: .95rem;
  padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper-raised); color: var(--ink); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-wash); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 13px; background: var(--paper-raised); cursor: pointer; }
.check input { width: auto; margin: 3px 0 0; accent-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a9aeb5; padding: 56px 0 28px; font-size: .9rem; }
.site-footer a { color: #d7dade; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.footer__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid #2a2e34;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .84rem;
}

/* ---------- reviews ---------- */
.review {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; margin: 0; display: flex; flex-direction: column;
}
.review blockquote {
  margin: 0 0 14px; font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; color: var(--ink);
}
.review blockquote::before { content: "\201C"; color: var(--line-strong); margin-right: 2px; }
.review blockquote::after { content: "\201D"; color: var(--line-strong); }
.review__result {
  font-size: .88rem; color: var(--accent); background: var(--accent-wash);
  border-radius: var(--radius); padding: 8px 12px; margin: 0 0 14px;
}
.review figcaption {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .86rem; display: flex; flex-direction: column; gap: 2px;
}
.review figcaption span { color: var(--muted); }
.review__module, .review__date { font-family: var(--mono); font-size: .74rem; }

/* ---------- tabbladen en modules ---------- */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.tab {
  background: var(--paper-raised); border: 0; cursor: pointer; text-align: left;
  padding: 18px 20px; display: block; color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.tab:hover { background: var(--paper); }
.tab[aria-selected="true"] { background: var(--paper); border-bottom-color: var(--accent); color: var(--ink); }
.tab__layer { display: block; font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.tab__name { display: block; font-weight: 600; font-size: 1.02rem; }
.tab__count { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }

.tabpanel:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.tabpanel__intro { max-width: 640px; margin-bottom: 28px; }
.tabpanel__intro h2 { margin-bottom: .4em; }
.tabpanel__intro p { color: var(--ink-soft); }
.price-line { font-size: .9rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; }
.price-line strong { font-weight: 600; }

.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module { background: var(--paper-raised); padding: 22px 22px 24px; }
.module h3 { font-size: 1rem; margin-bottom: 8px; }
.module p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

.card--package .stack { list-style: none; padding: 0; margin: 0 0 18px; }
.card--package .stack li {
  position: relative; padding: 9px 0 9px 26px; font-size: .92rem;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px;
}
.card--package .stack li:last-child { border-bottom: 0; }
.card--package .stack li::before {
  content: ""; position: absolute; left: 8px; top: 16px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.card--package .stack li::after {
  content: ""; position: absolute; left: 11px; top: 23px; bottom: -2px; width: 1px; background: var(--line-strong);
}
.card--package .stack li:last-child::after { display: none; }
.card--package .stack span { font-family: var(--mono); font-size: .72rem; color: var(--muted); }

.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; background: var(--paper-raised); }
.fieldset legend { font-size: .88rem; font-weight: 600; padding: 0 8px; }
.fieldset__group { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin: 18px 0 8px; }
.fieldset__group:first-of-type { margin-top: 4px; }

/* ---------- beheeromgeving ---------- */
.admin-body { background: var(--paper); }
.admin-top { background: var(--ink); color: #fff; padding: 14px 0; }
.admin-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-top .logo { color: #fff; }
.admin-top .btn--ghost { color: #fff; border-color: #4a5058; }
.admin-top .btn--ghost:hover { border-color: #fff; }
.admin-top__right { display: flex; gap: 10px; }
.admin-badge {
  font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em;
  background: var(--accent); padding: 3px 7px; border-radius: 3px; margin-left: 8px; vertical-align: 2px;
}
.admin-main { padding: 36px 24px 72px; }

.login { display: grid; place-items: center; padding: 60px 0; }
.login__box { width: 100%; max-width: 400px; background: var(--paper-raised); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 32px; }
.login__box h1 { font-size: 1.6rem; }
.login__box p { color: var(--ink-soft); font-size: .92rem; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.admin-stat { background: var(--paper-raised); padding: 20px; }
.admin-stat__num { font-family: var(--serif); font-size: 1.8rem; line-height: 1; }
.admin-stat__label { font-size: .88rem; margin-top: 6px; }
.admin-stat__sub { font-size: .78rem; color: var(--muted); margin-top: 2px; }

.tabs--admin { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.tabs--admin .tab { padding: 14px 16px; }

.record { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.record__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.record__meta { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-top: 4px; }
.record__status { font: inherit; font-size: .85rem; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.record__text { font-size: .93rem; color: var(--ink-soft); white-space: pre-line; }
.record__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; padding-top: 12px; border-top: 1px solid var(--line); }
.record__note { width: 100%; margin-top: 12px; font: inherit; font-size: .88rem; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper); min-height: 60px; resize: vertical; }

.admin-split { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.conv-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.conv-list li { border-bottom: 1px solid var(--line); }
.conv-list li:last-child { border-bottom: 0; }
.conv-list button { display: block; width: 100%; text-align: left; background: var(--paper-raised); border: 0; padding: 14px 16px; cursor: pointer; font: inherit; }
.conv-list button:hover { background: var(--paper); }
.conv-list strong { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 4px; }
.conv-meta { font-family: var(--mono); font-size: .74rem; color: var(--muted); }

.transcript { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); padding: 18px; min-height: 300px; display: flex; flex-direction: column; gap: 10px; }
.transcript__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: .76rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 6px; }
.transcript .chat-bubble { max-width: 78%; }
.chat-time { display: block; font-family: var(--mono); font-size: .68rem; opacity: .65; margin-top: 6px; }

.invoice-form { max-width: 780px; }
.lines { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.lines th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 8px; font-weight: 600; }
.lines td { padding: 4px 6px 4px 0; vertical-align: middle; }
.lines input { font: inherit; font-size: .9rem; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper-raised); width: 100%; }
.invoice-total { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper-raised); padding: 18px 20px; max-width: 340px; margin-left: auto; }

@media (max-width: 940px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .tabs--admin { grid-template-columns: repeat(2, 1fr); }
  .admin-split { grid-template-columns: 1fr; }
  .modules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .tabs, .tabs--admin, .modules, .admin-stats { grid-template-columns: 1fr; }
  .invoice-total { max-width: none; }
}

/* ---------- chatassistent ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; }

.chat-launcher {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: #fff; border: 0;
  border-radius: 100px; padding: 12px 20px;
  font-size: .92rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 24px rgba(21, 24, 28, .18);
}
.chat-launcher:hover { background: #23272d; }
.chat-launcher__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  animation: pulse 2.4s infinite;
}
.chat.is-open .chat-launcher { display: none; }

.chat-panel {
  width: 380px; max-width: calc(100vw - 40px);
  height: 540px; max-height: calc(100vh - 40px);
  background: var(--paper-raised);
  border: 1px solid var(--line-strong); border-radius: 6px;
  box-shadow: 0 18px 48px rgba(21, 24, 28, .22);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-panel[hidden] { display: none; }

.chat-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.chat-panel__head strong { display: block; font-size: .95rem; }
.chat-status {
  display: block; font-size: .74rem; color: var(--muted);
  font-family: var(--mono); letter-spacing: .02em; margin-top: 2px;
}
.chat-close {
  background: none; border: 0; font-size: 1.5rem; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 0 4px;
}
.chat-close:hover { color: var(--ink); }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }

.chat-msg { display: flex; }
.chat-msg--user { justify-content: flex-end; }
.chat-bubble {
  max-width: 86%; padding: 11px 14px; border-radius: 10px;
  font-size: .9rem; line-height: 1.55;
}
.chat-msg--bot .chat-bubble { background: var(--paper); border: 1px solid var(--line); border-top-left-radius: 3px; }
.chat-msg--user .chat-bubble { background: var(--accent); color: #fff; border-top-right-radius: 3px; }
.chat-msg--user .chat-bubble a { color: #fff; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chip {
  border: 1px solid var(--line-strong); background: var(--paper);
  border-radius: 100px; padding: 6px 12px;
  font-size: .8rem; color: var(--ink-soft); cursor: pointer; text-align: left;
}
.chat-chip:hover { border-color: var(--accent); color: var(--accent); }

.chat-typing .chat-bubble { display: flex; gap: 4px; padding: 14px; }
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong);
  animation: blink 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .chat-typing span, .chat-launcher__dot { animation: none; }
}

.chat-form { display: flex; gap: 8px; padding: 12px 16px 0; }
.chat-form__label { position: absolute; left: -9999px; }
.chat-form input {
  flex: 1; font: inherit; font-size: .9rem;
  padding: 10px 12px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: var(--paper-raised); color: var(--ink);
  min-width: 0;
}
.chat-form input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-wash); }

.chat-foot { margin: 10px 16px 14px; font-size: .74rem; color: var(--muted); }

@media (max-width: 480px) {
  .chat { right: 12px; bottom: 12px; left: 12px; }
  .chat-panel { width: 100%; height: min(72vh, 520px); }
  .chat-launcher { width: 100%; justify-content: center; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav { gap: 18px; }
  .nav a { font-size: .89rem; }
}

@media (max-width: 940px) {
  .hero__grid, .case, .product, .split { grid-template-columns: 1fr; }
  .case__visual { border-left: 0; border-top: 1px solid var(--line); }
  .grid--3, .shop-grid, .pitch { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--line); padding-right: 24px; }
  .step:nth-child(2n) { border-right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .product__gallery { position: static; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .hero { padding: 60px 0 48px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper-raised); border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px var(--gutter); font-size: 1rem; }
  .nav .btn { margin: 8px var(--gutter); }
  .nav-toggle { display: block; }
  .site-header__inner { position: relative; }
  .grid--2, .grid--3, .shop-grid, .pitch, .checks, .form-row { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-right: 0; }
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .case__body, .split__half { padding: 24px 20px; }
}

@media print {
  .site-header, .site-footer, .btn { display: none; }
}

/* ---------- rekenblok op de aanvraagpagina ---------- */
.calc {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 22px 22px 18px;
  margin: 0 0 26px;
}
.calc__kop { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 0 0 6px; }
.calc__uitleg { margin: 0 0 18px; font-size: .92rem; color: var(--ink-soft); max-width: 56ch; }
.calc__velden { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.calc__uit {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.calc__bedrag {
  font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.calc__regel { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.calc__voet { margin: 14px 0 0; font-size: .8rem; color: var(--muted); max-width: 60ch; }
@media (max-width: 700px) {
  .calc__velden { grid-template-columns: 1fr; }
}
