/* Van der Kolk — "graphite blueprint on warm vellum" */
:root {
  --canvas: #fafafa;
  --hairline: #e5e7eb;
  --card: #ededed;
  --divider: #dadada;
  --graphite: #242424;
  --ink: #171717;
  --pencil: #5c5c5c;
  --faint: #a3a3a3;

  /* Logokleuren */
  --navy: #002d5f;
  --navy-2: #0a3c78;
  --navy-ink: #0b2546;
  --orange: #d98933;
  --orange-light: #e8a24a;
  --orange-deep: #b8621a;
  --brand-gradient: linear-gradient(135deg, #f0a64a 0%, #d98933 45%, #b8621a 100%);

  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, "Times New Roman", serif;
  --mono: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-btn: 16px;
  --r-card: 24px;
  --r-pill: 9999px;
  --bevel: inset 0 4px 4px -2px rgba(255,255,255,.25), inset 0 -4px 4px -2px rgba(0,0,0,.25), inset -2px 0 2px -2px rgba(255,255,255,.1);

  --max: 1200px;
  --gutter: 24px;
  --section: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Pagina mag nooit opzij schuiven (iPhone): afknippen + alleen verticaal vegen + inzoomen toestaan */
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; overflow-x: clip; overscroll-behavior-x: none; touch-action: pan-y pinch-zoom; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 500 18px/1.33 var(--sans);
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: -0.01em; color: var(--pencil); }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.025em; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px;
  border-radius: var(--r-btn);
  font: 500 14px/1 var(--sans); letter-spacing: -0.005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--navy); color: var(--canvas); box-shadow: var(--bevel); }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { border-color: var(--hairline); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-deep); }
.btn--light { background: var(--canvas); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.3); color: var(--canvas); background: rgba(0,45,95,.4); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: var(--orange-light); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,250,.82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav__logo img { height: 54px; width: auto; }
.nav__links { display: flex; gap: 32px; font-size: 14px; }
.nav__links a { color: var(--faint); transition: color .15s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--navy); }
.nav__links a.is-active { box-shadow: 0 2px 0 var(--orange); }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__tel { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hairline); color: var(--navy); transition: border-color .2s, color .2s, background .2s; }
.nav__tel:hover { border-color: var(--orange); color: var(--orange-deep); }
.nav__tel .phone-ico { width: 18px; height: 18px; }
.nav__toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--hairline); border-radius: var(--r-btn); background: transparent; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.nav__toggle span:first-child { top: 16px; } .nav__toggle span:last-child { top: 22px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--hairline); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 0; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; border-bottom: 1px solid var(--hairline); }

/* ---------- Pill group ---------- */
.pill-group {
  display: inline-flex; gap: 2px; padding: 4px;
  background: var(--navy); border-radius: var(--r-pill); box-shadow: var(--bevel);
}
.pill-group__item {
  padding: 8px 16px; border-radius: var(--r-pill); border: 0; background: transparent;
  color: #9fb0c6; font: 500 14px/1 var(--sans); letter-spacing: -0.005em; transition: color .15s, background .15s;
}
.pill-group__item:hover { color: var(--canvas); }
.pill-group__item.is-active { background: var(--brand-gradient); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.pill-group--sm .pill-group__item { padding: 7px 14px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero { padding-top: 40px; padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; }
.hero .viewer-frame { margin-top: 32px; width: 100%; }
.hero .hint { width: 100%; }
.hero__row { width: 100%; display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px 56px; align-items: end; }
.hero__left { display: flex; flex-direction: column; gap: 20px; }
.hero__title { font-weight: 700; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.05em; color: var(--navy-ink); }
.hero__title .serif { font-size: 1.2em; letter-spacing: -0.03em; line-height: .8; }
.hero__sub { max-width: 480px; color: var(--pencil); font-size: 17px; }
.hero__cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__cta--left { justify-content: flex-start; }

.strip { margin-top: 96px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.strip__label { font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 64px; }
.strip__list li { font-weight: 700; font-size: 22px; letter-spacing: -0.04em; color: var(--faint); }

/* ---------- Sections ---------- */
.section { padding-top: var(--section); }
.section__head { max-width: 720px; display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.section__head h2 { color: var(--navy-ink); }
.section__head h2, .contact h2 { font-weight: 700; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.045em; }
.section__head h2 .serif, .contact h2 .serif { font-size: 1.3em; line-height: .8; }
.section__head p { color: var(--pencil); max-width: 600px; }
.eyebrow { font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-deep); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand-gradient); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.card {
  background: var(--card); border-radius: var(--r-card); padding: 28px;
  min-height: 260px; display: flex; flex-direction: column;
  transition: background-color .2s ease;
}
.card { position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { background: #e9e7e4; }
.card:hover::after { transform: scaleX(1); }
.card h3 { color: var(--navy-ink); margin-top: auto; padding-top: 48px; font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.card p { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--pencil); letter-spacing: -0.005em; }
.icon { width: 26px; height: 26px; fill: none; stroke: var(--orange-deep); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- Viewer ---------- */
.viewer-frame {
  position: relative; border: 1px solid var(--hairline); border-radius: var(--r-card);
  overflow: hidden; background: var(--card);
}
.viewer {
  position: relative; height: clamp(340px, calc(100svh - 430px), 520px);
  background: var(--card);
  cursor: grab; touch-action: none;
}
.viewer::before { /* blueprint dot grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(23,23,23,.12) 1px, transparent 1.3px);
  background-size: 24px 24px;
}
.viewer:active { cursor: grabbing; }
.viewer canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.viewer__overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(237,237,237,.55);
  transition: opacity .4s ease;
}
.viewer__overlay.is-hidden { opacity: 0; pointer-events: none; }
.progress { width: 200px; height: 2px; background: var(--divider); border-radius: 2px; overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; background: var(--brand-gradient); transition: width .2s; }

.viewer__toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 14px 16px; background: var(--canvas); border-top: 1px solid var(--hairline);
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
  border: 1px solid var(--hairline); border-radius: var(--r-pill); background: transparent;
  font-size: 13px; color: var(--faint); transition: all .15s;
}
.chip .mono { font-size: 11px; color: inherit; }
.chip.is-on { color: var(--navy-ink); border-color: var(--navy); background: #fff; }
.slider { display: inline-flex; align-items: center; gap: 10px; }
.slider input { width: 140px; accent-color: var(--orange); }
.viewer__btns { display: flex; gap: 6px; margin-left: auto; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--hairline); border-radius: var(--r-btn); background: transparent; transition: all .15s;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: var(--orange); }
.icon-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); box-shadow: var(--bevel); }
.icon-btn[aria-pressed="true"] svg { stroke: var(--canvas); }

.info {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 280px; max-height: calc(100% - 100px); overflow: auto;
  background: rgba(250,250,250,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline); border-radius: var(--r-btn); padding: 16px 18px;
}
.info[hidden] { display: none; }
.info { border-left: 3px solid var(--orange); }
.info__head .mono { color: var(--orange-deep); }
.info__head { display: flex; justify-content: space-between; align-items: center; }
.info__close { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--pencil); padding: 0 2px; }
.info h4 { margin-top: 6px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; word-break: break-word; }
.info dl { margin: 12px 0 0; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 7px 12px; font-size: 13px; }
.info dt { color: var(--faint); font-family: var(--mono); font-size: 11px; padding-top: 2px; }
.info dd { margin: 0; overflow-wrap: anywhere; text-align: right; letter-spacing: -0.005em; }
.hint { margin-top: 16px; text-align: center; color: var(--faint); font-size: 12px; }

.viewer-frame:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.viewer-frame:fullscreen .viewer { flex: 1; height: auto; }

.viewer__top { padding: 10px; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.model-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.model-tabs::-webkit-scrollbar { display: none; }
.model-tab {
  flex: 1 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 10px 16px; border-radius: var(--r-btn); border: 1px solid var(--hairline); background: transparent; text-align: left;
  transition: border-color .15s, background-color .15s;
}
.model-tab strong { font-weight: 600; font-size: 15px; color: var(--navy-ink); letter-spacing: -0.02em; }
.model-tab .mono { font-size: 11px; color: var(--faint); }
.model-tab:hover { border-color: var(--orange); }
.model-tab.is-active { background: var(--navy); border-color: var(--navy); box-shadow: var(--bevel); position: relative; }
.model-tab.is-active strong { color: #fff; }
.model-tab.is-active .mono { color: var(--orange-light); }
.viewer__badge { position: absolute; left: 16px; top: 14px; z-index: 1; font-size: 11px; color: var(--pencil); background: rgba(250,250,250,.8); padding: 6px 10px; border-radius: var(--r-pill); border: 1px solid var(--hairline); }
.viewer__badge:empty { display: none; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); }
.steps li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--hairline); }
.steps h3 { font-weight: 600; font-size: 20px; letter-spacing: -0.03em; margin-top: 24px; }
.steps p { font-size: 14px; line-height: 1.5; color: var(--pencil); letter-spacing: -0.005em; }

/* ---------- Projects ---------- */
.projects { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.projects li {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: baseline; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--hairline);
  transition: padding .2s ease;
}
.projects li:hover { padding-left: 12px; }
.projects li:hover .mono { color: var(--orange-deep); }
.projects strong { color: var(--navy-ink); font-weight: 600; font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -0.035em; }
.projects em { font-style: normal; color: var(--pencil); font-size: 15px; text-align: right; }
.projects em a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.projects .mono { font-size: 14px; color: var(--faint); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about .section__head { margin-bottom: 0; }
.about__body { display: flex; flex-direction: column; gap: 20px; color: var(--pencil); padding-top: 36px; }
.about__body p:first-child { color: var(--navy-ink); font-size: 22px; line-height: 1.3; letter-spacing: -0.03em; }
.facts { margin: 16px 0 0; border-top: 1px solid var(--hairline); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.facts dd { margin: 0; color: var(--ink); font-size: 15px; text-align: right; }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--canvas); border-radius: var(--r-card);
  padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px;
  box-shadow: var(--bevel);
}
.contact::before { /* oranje schijf uit het logo */
  content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -310px; top: 50%; margin-top: -310px; border-radius: 50%; opacity: .42; filter: blur(5px) saturate(1.3);
  background: url("../assets/img/contact-schijf.png") center / contain no-repeat;
}
.contact h2 { margin-top: 20px; }
.contact h2 .serif { background: none; color: var(--orange-light); }
.btn--light:hover { color: var(--navy); }
.contact p { margin-top: 20px; color: #b7c3d4; max-width: 440px; }
.eyebrow--light { color: var(--orange-light); }
.contact__list { margin: 0; display: flex; flex-direction: column; align-self: end; }
.contact__list div { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 16px; }
.contact__list div:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.contact__list dt { color: #9fb0c6; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.contact__list dd { margin: 0; text-align: right; font-size: 16px; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 80px; padding-bottom: 48px; flex-wrap: wrap; }
.footer > img { height: 34px; width: auto; }
.footer a.mono:hover { color: var(--ink); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --section: 96px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--hairline); margin-top: 28px; }
  .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero__row { grid-template-columns: 1fr; }
  .about__body { padding-top: 0; }
  .viewer__btns { margin-left: 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --section: 80px; }
  .nav__actions .btn { display: none; }
  .nav__logo img { height: 40px; }
  .hero { padding-top: 24px; }
  .viewer { height: 42svh; min-height: 300px; }
  .model-tab { flex: 0 0 auto; padding: 8px 12px; }
  .pill-group__item { padding: 8px 11px; font-size: 13px; }
  .strip { margin-top: 72px; }
  .strip__list { gap: 12px 28px; }
  .strip__list li { font-size: 17px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { padding-top: 32px; }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--hairline); margin-top: 28px; }
  .projects li { grid-template-columns: 44px 1fr; }
  .projects em { grid-column: 2; text-align: left; margin-top: -10px; }
  .slider { width: 100%; } .slider input { flex: 1; }
  .info { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-height: 45%; }
  .contact__list div { flex-direction: column; gap: 4px; }
  .contact__list dd { text-align: left; }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* ---------- Logo-watermerk op de achtergrond ---------- */
.section { position: relative; isolation: isolate; overflow-x: clip; }
.section::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(900px, 90vw); aspect-ratio: 798 / 213; top: 40px; right: -12%;
  background: url("../assets/logo.png") no-repeat center / contain;
  opacity: 0.05;
}
.section:nth-of-type(odd)::before { right: auto; left: -14%; top: auto; bottom: 0; }
#contact::before { display: none; }

/* ---------- Dienstkaarten met beeld ---------- */
.card { padding: 10px 10px 26px; min-height: 0; }
.card__img {
  aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #EDEDED;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__title { display: flex; align-items: center; gap: 12px; padding: 20px 16px 0; }
.card__title .icon { width: 24px; height: 24px; flex: none; }
.card .card__title h3 { margin: 0; padding: 0; }
.card p { padding: 0 16px; }

/* ---------- Software-logo's ---------- */
.software { margin-top: 48px; padding: 28px 32px; border: 1px solid var(--hairline); border-radius: var(--r-card);
  display: flex; align-items: center; gap: 24px 48px; flex-wrap: wrap; background: rgba(255,255,255,.6); }
.software__label { font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-deep); }
.software__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 20px 56px; flex: 1; }
.software__list li { display: flex; align-items: center; height: 44px; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.software__list li:hover { filter: none; opacity: 1; }
.software__list img { height: 100%; width: auto; mix-blend-mode: multiply; }
.software__tekla { font-size: 26px; letter-spacing: -0.02em; color: #1f2a44; font-weight: 500; gap: 6px; }
.software__tekla strong { font-weight: 800; color: #b3263a; }
.software__ifc { font-size: 22px; font-weight: 600; color: #1f2a44; gap: 8px; }
.software__ifc span { font: 400 14px/1 var(--mono); padding: 6px 8px; border: 1.5px solid currentColor; border-radius: 6px; }
@media (max-width: 600px) {
  .software { padding: 22px; }
  .software__list { gap: 18px 32px; }
  .software__list li { height: 34px; }
  .software__tekla { font-size: 21px; }
  .software__ifc { font-size: 19px; }
}

/* ---------- Dienstkaarten: specifieke beelden ---------- */
.card__img { position: relative; }
.card__img--dark { background: #1F2329; }
.card__img--dark img { object-position: 50% 50%; }
.card__tool {
  position: absolute; left: 12px; top: 12px; z-index: 2; height: 30px; padding: 0 12px; border-radius: 100px;
  display: inline-flex; align-items: center; font: 400 12px/1 var(--mono); letter-spacing: .02em;
  background: rgba(250,250,250,.92); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(0,45,95,.15);
}
.card__data {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 10px 14px; border-radius: 12px;
  background: rgba(250,250,250,.95); border-left: 3px solid var(--orange); box-shadow: 0 10px 24px -14px rgba(0,29,64,.5);
  display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--pencil); letter-spacing: -0.005em;
}
.card__data .mono { font-size: 10px; color: var(--orange-deep); }
.card__data strong { font-size: 15px; color: var(--navy-ink); }

.card__img--list { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--hairline); display: flex; align-items: center; }
.cutlist { width: 100%; padding: 14px 16px; font-size: 12.5px; color: var(--navy-ink); letter-spacing: -0.005em; }
.cutlist__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); margin-bottom: 2px; }
.cutlist__head strong { font-size: 14px; }
.cutlist__head .mono { font-size: 10.5px; color: var(--orange-deep); }
.cutlist__row { display: grid; grid-template-columns: 1fr 1.3fr 0.9fr 1.1fr 0.4fr; gap: 6px; padding: 5px 0; border-bottom: 1px solid var(--hairline);
  font-variant-numeric: tabular-nums; }
.cutlist__row span:nth-child(3), .cutlist__row span:nth-child(5) { text-align: right; }
.cutlist__row span:first-child { font-family: var(--mono); font-size: 11px; color: var(--pencil); }
.cutlist__row--th { font: 400 10px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
.cutlist__row--th span:first-child { font-size: 10px; color: var(--faint); }
.cutlist__more { padding-top: 7px; font-size: 10.5px; color: var(--faint); }

.checks { list-style: none; margin: 0; padding: 16px 18px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-gradient); position: relative; margin-top: 1px; }
.checks__mark::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks div { display: flex; flex-direction: column; gap: 1px; }
.checks strong { font-size: 14.5px; color: var(--navy-ink); letter-spacing: -0.01em; }
.checks span { font-size: 12.5px; color: var(--pencil); letter-spacing: -0.005em; }

.card__img--3d { background: #EDEDED; }
.mini { position: absolute; inset: 0; cursor: grab; }
.mini:active { cursor: grabbing; }
.mini canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.mini__load, .mini__hint { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--pencil); white-space: nowrap; pointer-events: none; }
.mini__load { top: 50%; }
.mini__hint { bottom: 12px; background: rgba(250,250,250,.9); padding: 6px 12px; border-radius: 100px; opacity: 0; transition: opacity .3s; }
.mini[data-state="ready"] .mini__load { display: none; }
.mini[data-state="ready"] .mini__hint { opacity: 1; }
.mini.is-touched .mini__hint { opacity: 0; }
.mini[data-state="error"] .mini__load::after { content: " (niet gelukt)"; }

/* ---------- Google Maps-adres in de footer ---------- */
.maps { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 12px; border: 1px solid var(--hairline); border-radius: var(--r-btn);
  background: #fff; transition: border-color .2s, transform .2s; }
.maps:hover { border-color: var(--orange); transform: translateY(-1px); }
.maps img { width: 36px; height: 36px; flex: none; }
.maps span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; color: var(--pencil); }
.maps strong { color: var(--navy-ink); font-weight: 600; }
.maps em { font-style: normal; font-size: 12px; color: var(--orange-deep); padding-left: 6px; border-left: 1px solid var(--hairline); margin-left: 4px; }
@media (max-width: 600px) { .maps em { display: none; } }

/* ---------- Projecten: compacter + uitklapknop ---------- */
.projects li { padding: 15px 0; }
.projects strong { font-size: clamp(17px, 1.8vw, 21px); }
.projects--rest { border-top: 0; }
.projects-more { margin-top: 20px; }
.projects-more > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 18px; padding: 14px 16px 14px 20px;
  border: 1px solid var(--hairline); border-radius: var(--r-card); background: #fff;
  font-weight: 600; font-size: 17px; color: var(--navy-ink); letter-spacing: -0.015em;
  transition: border-color .2s, box-shadow .2s;
}
.projects-more > summary::-webkit-details-marker { display: none; }
.projects-more > summary:hover { border-color: var(--orange); box-shadow: 0 10px 30px -18px rgba(0,29,64,.35); }
.projects-more > summary img { height: 38px; width: auto; flex: none; }
.projects-more__icon {
  margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); position: relative;
  transition: transform .3s ease;
}
.projects-more__icon::before, .projects-more__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #fff;
}
.projects-more__icon::after { transform: rotate(90deg); transition: transform .3s ease; }
.projects-more[open] .projects-more__icon { background: var(--brand-gradient); }
.projects-more[open] .projects-more__icon::after { transform: rotate(0deg); }
.projects-more__close { display: none; }
.projects-more[open] .projects-more__open { display: none; }
.projects-more[open] .projects-more__close { display: inline; }
.projects-more[open] > summary { margin-bottom: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .projects-more[open] .projects--rest { animation: projects-in .35s ease; }
  @keyframes projects-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 600px) {
  .projects-more > summary { gap: 12px; font-size: 15px; padding: 12px 12px 12px 14px; }
  .projects-more > summary img { height: 28px; }
}

/* ---------- Telefoon-icoon (nummer niet zichtbaar, wel bellen) ---------- */
.phone-ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.tel-link { display: inline-flex; align-items: center; gap: 8px; }
.tel-link .phone-ico { color: currentColor; }

/* ---------- Naar boven: ronde logo-schijf ---------- */
.to-top {
  position: fixed; z-index: 60; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 66px; height: 66px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: url("../assets/img/to-top.png") center / cover no-repeat;
  box-shadow: 0 14px 30px -12px rgba(184, 98, 26, .65);
  opacity: 0; transform: translateY(46px) scale(.55); pointer-events: none;
  transition: opacity .3s ease, transform .5s cubic-bezier(.2, .9, .25, 1.25), box-shadow .25s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top.is-visible:hover { box-shadow: 0 18px 34px -12px rgba(184, 98, 26, .8); }
.to-top.is-visible.is-pressed { transform: scale(.86); transition-duration: .15s; }
.to-top:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.to-top__pijl {
  position: absolute; right: -4px; top: -4px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); box-shadow: 0 0 0 2px #fff; transition: transform .25s ease;
}
.to-top__pijl::before {
  content: ""; position: absolute; left: 50%; top: 55%; width: 8px; height: 8px;
  border-left: 2.5px solid #fff; border-top: 2.5px solid #fff; transform: translate(-50%, -50%) rotate(45deg);
}
.to-top:hover .to-top__pijl { transform: translateY(-4px); }
@media (max-width: 600px) {
  .to-top { width: 56px; height: 56px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .to-top__pijl { width: 22px; height: 22px; }
  .to-top__pijl::before { width: 6px; height: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity .2s ease; transform: none; }
}

/* ---------- Social-knoppen (Facebook, LinkedIn) ---------- */
.contact__list .social { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.social__btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 100px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 15px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.social__btn img { width: 30px; height: 30px; border-radius: 24%; display: block; }
.contact__list .social__btn:hover { background: rgba(255,255,255,.16); border-color: var(--orange-light); text-decoration: none; transform: translateY(-2px); }
@media (max-width: 600px) { .contact__list .social { justify-content: flex-start; } }
/* Contactblok: echte logo-schijf (met VA) kleiner op de telefoon */
@media (max-width: 960px) {
  .contact::before { width: 380px; height: 380px; right: -190px; top: 50%; margin-top: -190px; opacity: .35; filter: blur(4px) saturate(1.3); }
}

/* ---------- Keuzemenu projecten boven de 3D-viewer ---------- */
.viewer__top--menu { position: relative; }
.viewer__top--menu .model-tabs { display: none; }
.pk { display: flex; align-items: center; gap: 14px; padding: 2px 4px; }
.pk__label { font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-deep); }
.pk__knop {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-width: 0;
  padding: 9px 12px 9px 18px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--navy); color: #fff; box-shadow: var(--bevel); text-align: left;
  transition: background .2s ease;
}
.pk__knop:hover { background: var(--navy-2); }
.pk__knop:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.pk__naam { font-weight: 600; font-size: 15px; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk__plaats { font: 400 11px var(--mono); color: var(--orange-light); white-space: nowrap; }
.pk__plaats:empty { display: none; }
.pk__pijl { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.14); position: relative; transition: transform .25s ease; }
.pk__pijl::before { content: ""; position: absolute; left: 50%; top: 45%; width: 6px; height: 6px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.pk.is-open .pk__pijl { transform: rotate(180deg); }
.pk__teller { margin-left: auto; font: 400 12px var(--mono); color: var(--faint); white-space: nowrap; }
.pk__lijst {
  position: absolute; z-index: 30; left: 10px; top: calc(100% + 6px); width: min(380px, calc(100% - 20px));
  max-height: min(420px, 60vh); overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--hairline); border-radius: 16px;
  box-shadow: 0 24px 50px -20px rgba(0, 29, 64, .35);
}
.pk__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer; outline: none; }
.pk__item-naam { font-weight: 600; font-size: 14px; color: var(--navy-ink); letter-spacing: -0.01em; }
.pk__item-plaats { font: 400 11px var(--mono); color: var(--faint); white-space: nowrap; }
.pk__item:hover, .pk__item:focus { background: #f3f4f6; }
.pk__item.is-on { background: #fbf3ea; box-shadow: inset 3px 0 0 var(--orange); }
.pk__item.is-on .pk__item-plaats { color: var(--orange-deep); }
@media (max-width: 600px) {
  .pk { gap: 10px; }
  .pk__label, .pk__teller { display: none; }
  .pk__knop { width: 100%; }
  .pk__naam { flex: 1; }
}

/* ---------- Voorpagina: tekst links, 3D-viewer rechts (alles op het eerste scherm) ---------- */
@media (min-width: 1024px) {
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 40px; align-items: center; }
  .hero__row { display: block; grid-column: 1; grid-row: 1 / 3; }
  .hero__title { font-size: clamp(40px, 4vw, 58px); }
  .hero__sub { margin-top: 24px; }
  .hero .viewer-frame { margin-top: 0; grid-column: 2; grid-row: 1; }
  .hero .hint { grid-column: 2; grid-row: 2; }
  .viewer { height: clamp(300px, calc(100svh - 500px), 460px); }
  .viewer__toolbar { row-gap: 10px; flex-wrap: wrap; }
}

/* Watermerk op smalle schermen binnen het beeld houden (oudere iPhones kennen overflow: clip niet) */
@media (max-width: 960px) {
  .section::before { right: 0; }
  .section:nth-of-type(odd)::before { right: auto; left: 0; }
}