/* ICT Trend – tijdelijke pagina */

/* Instrument Serif (SIL Open Font License, zie fonts/OFL.txt) */
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Systeemletter met dezelfde maten, zodat er niets verspringt bij het laden */
@font-face {
  font-family: "Instrument Fallback";
  src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("Tinos");
  size-adjust: 83%;
  ascent-override: 119.3%;
  descent-override: 37.4%;
  line-gap-override: 0%;
}

:root {
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --surface: #fff;
  --ink: #181b20;
  --muted: #555a61;
  --line: #d3cfc4;
  --field: #767a80;
  --navy: #12263d;
  --navy-2: #0b1828;
  --on-navy: #fff;
  --on-navy-muted: #b4c2d2;
  --on-navy-line: rgba(255, 255, 255, 0.16);
  --accent: #1d3d5c;
  --accent-dark: #102a43;
  --signal: #e2b350;
  --error: #a3211d;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Instrument Fallback", Georgia, serif;

  --fs-small: 0.8125rem;
  --fs-base: 1.0625rem;
  --fs-h2: clamp(2.5rem, 1.8rem + 2.8vw, 4.25rem);
  --fs-display: clamp(3rem, 1.5rem + 6vw, 6.5rem);

  --gutter: 1.25rem;
  --space: 5rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  max-width: 10.5em;
  margin-bottom: 1.75rem;
  font-size: var(--fs-display);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: var(--fs-h2);
  line-height: 1;
}

h3 {
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
  color: var(--accent-dark);
  text-decoration-thickness: 2px;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 2;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
}

.skip:focus {
  top: 0.75rem;
}

/* Kleine labels */

.label,
.eyebrow,
.facts dt,
.direct dt,
.titleblock dt,
.form-head {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.label span {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.label span::after {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  margin-left: 0.75rem;
  vertical-align: middle;
  background: currentColor;
}

/* ===== Kop: blauwdruk ===== */

.hero {
  position: relative;
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M24 0V120M48 0V120M72 0V120M96 0V120M0 24H120M0 48H120M0 72H120M0 96H120' stroke='%23fff' stroke-opacity='.035'/%3E%3Cpath d='M0 .5H120M.5 0V120' stroke='%23fff' stroke-opacity='.08'/%3E%3C/svg%3E");
  background-position: center top;
  color: var(--on-navy);
}

.hero a {
  color: var(--on-navy);
}

.hero :focus-visible,
.ai :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--on-navy);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--on-navy-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  margin-right: auto;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  flex: none;
}

.header-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.header-link:hover {
  text-decoration: underline;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  padding: 3.5rem 0 3rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--on-navy-muted);
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--signal);
}

.lead {
  max-width: 34rem;
  margin-bottom: 2.25rem;
  color: var(--on-navy-muted);
  font-size: 1.125rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin: 0;
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration-color: var(--on-navy-line);
}

.hero .quiet-link:hover {
  text-decoration-color: var(--on-navy);
}

/* Schema */

.schema-wrap {
  display: none;
  margin: 0;
}

.schema {
  display: block;
  width: 100%;
  height: auto;
  color: var(--on-navy);
  font-family: var(--sans);
}

.schema .node rect {
  fill: var(--navy-2);
  stroke: var(--on-navy-muted);
}

.schema .hub {
  fill: var(--on-navy);
  stroke: var(--on-navy);
}

.schema .on-hub {
  fill: var(--navy);
}

.schema .dim-hub {
  fill: var(--muted);
}

.schema .dim {
  fill: var(--on-navy-muted);
}

.schema .dim-line {
  stroke: var(--on-navy-line);
}

.schema .flow path {
  stroke: var(--on-navy-muted);
  stroke-dasharray: 6 6;
}

.schema .flow-in {
  animation: stroom 1.6s linear infinite;
}

.schema .flow-out {
  animation: stroom 1.6s linear infinite reverse;
}

.schema .pulse {
  fill: var(--signal);
  animation: knipper 2.4s ease-in-out infinite;
}

@keyframes stroom {
  to {
    stroke-dashoffset: -24;
  }
}

@keyframes knipper {
  50% {
    opacity: 0.35;
  }
}

/* Kerngegevens */

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--on-navy-line);
}

.facts > div {
  padding: 1.25rem 1rem 1.5rem 0;
}

.facts > div + div {
  padding-left: 1rem;
  border-left: 1px solid var(--on-navy-line);
}

.facts > div:nth-child(3) {
  padding-left: 0;
  border-left: 0;
}

.facts > div:nth-child(n + 3) {
  border-top: 1px solid var(--on-navy-line);
}

.facts dt {
  margin-bottom: 0.25rem;
  color: var(--on-navy-muted);
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.2;
}

/* Knoppen */

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.button:hover,
button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.button:hover .arrow,
button:hover .arrow {
  transform: translateX(4px);
}

.hero .button-light {
  background: var(--on-navy);
  border-color: var(--on-navy);
  color: var(--navy);
}

.hero .button-light:hover {
  background: #dfe6ee;
  border-color: #dfe6ee;
  color: var(--navy);
}

button[disabled] {
  cursor: progress;
  opacity: 0.75;
}

/* ===== Secties ===== */

.section {
  padding: var(--space) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

/* Bovenbalk: blijft op mobiel staan tijdens het scrollen */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M24 0V120M48 0V120M72 0V120M96 0V120M0 24H120M0 48H120M0 72H120M0 96H120' stroke='%23fff' stroke-opacity='.035'/%3E%3Cpath d='M0 .5H120M.5 0V120' stroke='%23fff' stroke-opacity='.08'/%3E%3C/svg%3E");
  background-position: center top;
  color: var(--on-navy);
}

.topbar a {
  color: var(--on-navy);
}

.topbar :focus-visible {
  outline-color: var(--on-navy);
}

.topbar .site-header {
  position: relative;
  flex-wrap: nowrap;
  padding: 0.625rem var(--gutter);
  border-bottom: 0;
}

.topbar::after {
  content: "";
  display: block;
  max-width: calc(78rem - 2 * var(--gutter));
  margin: 0 auto;
  border-bottom: 1px solid var(--on-navy-line);
}

section[id],
#verzonden {
  scroll-margin-top: 5.5rem;
}

/* Mobiel menu */

.menu {
  margin-left: auto;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0 0.25rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu-icon {
  position: relative;
  width: 20px;
  height: 14px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.menu-icon::before {
  top: 2px;
}

.menu-icon::after {
  top: 10px;
}

.menu[open] .menu-icon::before {
  top: 6px;
  transform: rotate(45deg);
}

.menu[open] .menu-icon::after {
  top: 6px;
  transform: rotate(-45deg);
}

.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.5rem var(--gutter) 1.5rem;
  background: var(--navy-2);
  border-bottom: 1px solid var(--on-navy-line);
  box-shadow: 0 1.5rem 2rem rgba(11, 24, 40, 0.35);
}

.menu-panel ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.menu-panel li a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--on-navy-line);
  font-family: var(--serif);
  font-size: 1.625rem;
  text-decoration: none;
}

.menu-panel p {
  margin: 0;
}

.menu-panel .button {
  width: 100%;
}

.header-link {
  display: none !important;
}

/* Menu */

.nav {
  display: none;
}

.nav ul {
  display: flex;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--on-navy-muted);
  text-decoration: none;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 3rem;
}

/* Zwaartepunt */

.prose {
  max-width: 40rem;
}

.intro-para {
  font-size: 1.25rem;
  line-height: 1.5;
}

.ruled {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.ruled li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.75rem;
  border-bottom: 1px solid var(--line);
}

.ruled li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.875rem;
  height: 1px;
  background: var(--accent);
}

.label-light {
  color: var(--on-navy-muted);
}

.label-light span {
  color: var(--signal);
}

/* AI */

.ai {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M24 0V120M48 0V120M72 0V120M96 0V120M0 24H120M0 48H120M0 72H120M0 96H120' stroke='%23fff' stroke-opacity='.035'/%3E%3Cpath d='M0 .5H120M.5 0V120' stroke='%23fff' stroke-opacity='.08'/%3E%3C/svg%3E");
  color: var(--on-navy);
  padding: var(--space) 0;
}

.ai :focus-visible {
  outline-color: var(--on-navy);
}

.ai-head {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.ai h2 {
  max-width: 15em;
}

.ai-lead {
  max-width: 40rem;
  margin: 0;
  font-size: 1.125rem;
  color: var(--on-navy-muted);
}

.ai-quote {
  max-width: 22em;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--signal);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  line-height: 1.12;
}

/* Werkwijze */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stap;
}

.steps li {
  position: relative;
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid var(--ink);
  counter-increment: stap;
}

.steps li::before {
  content: "Stap " counter(stap);
  display: block;
  margin-bottom: 0.75rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.steps h3 {
  margin-bottom: 0.375rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Ervaring */

.section-intro {
  max-width: 40rem;
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 3.5rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  padding: 1.5rem 1rem 1.5rem 0;
}

.stats > div:nth-child(even) {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.stats > div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.stats dt {
  margin-top: 0.5rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

.stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  line-height: 1;
  color: var(--accent);
}

.domains {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 3rem;
}

.domain {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--ink);
}

.domain h3 {
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem);
  font-weight: 400;
  line-height: 1.1;
}

.domain p {
  color: var(--muted);
}

.domain > p:last-child {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

/* Nieuwe onderdelen */

.list-head {
  margin: 2rem 0 0.75rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.list-head + .ruled {
  margin-top: 0;
}

.ruled strong {
  color: var(--ink);
}

.small-note {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.intro-para strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
}

#aanpak .split {
  margin-bottom: 3.5rem;
}

.section-cta {
  margin: 2.5rem 0 0;
}

.ai-after {
  max-width: 40rem;
  margin: 2rem 0 0;
  color: var(--on-navy-muted);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 3rem;
  margin-top: 3.5rem;
  padding: 2rem var(--gutter);
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  background: var(--navy-2);
  color: var(--on-navy);
}

.product .label {
  margin-bottom: 0.75rem;
}

.product .label span::after {
  display: none;
}

.product h3 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.8rem + 2.8vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.product p:not(.label) {
  max-width: 36rem;
  color: var(--on-navy-muted);
}

.product .product-link {
  margin: 0;
}

.product a {
  color: var(--on-navy);
}

.product :focus-visible {
  outline-color: var(--on-navy);
}

::placeholder {
  color: #6b6f75;
  opacity: 1;
}

/* Vragen */

.faq {
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: block;
  padding: 1.125rem 2.5rem 1.125rem 0;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--accent);
  transition: transform 0.25s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq summary:hover h3 {
  color: var(--accent);
}

.faq h3 {
  font-size: 1.125rem;
  transition: color 0.2s;
}

.faq details p {
  max-width: 40rem;
  margin: 0 0 1.375rem;
  color: var(--muted);
}

/* Contact */

.contact {
  background: var(--paper-2);
}

.contact-text > p {
  max-width: 28rem;
  margin-bottom: 2rem;
}

.direct {
  max-width: 28rem;
  margin: 0;
  border-top: 1px solid var(--line);
}

.direct > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.direct dt {
  width: 9rem;
  color: var(--muted);
}

.direct dd {
  margin: 0;
}

.contact-form {
  position: relative;
  margin: 0 calc(-1 * var(--gutter));
  background: var(--surface);
}

/* Hoekmarkeringen zoals op een tekening */
.contact-form::before,
.contact-form::after {
  content: none;
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--ink);
  border-style: solid;
  pointer-events: none;
}

.contact-form::before {
  top: -7px;
  left: -7px;
  border-width: 1px 0 0 1px;
}

.contact-form::after {
  right: -7px;
  bottom: -7px;
  border-width: 0 1px 1px 0;
}

.form-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.875rem var(--gutter);
  background: var(--navy);
  color: var(--on-navy);
}

.form-head span + span {
  color: var(--on-navy-muted);
}

.contact-form > .notice,
.form {
  margin: 1.5rem var(--gutter) 0;
}

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  padding-bottom: 1.75rem;
}

.form > * {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.optional {
  white-space: nowrap;
}

.optional,
.note {
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--muted);
}

input,
textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--field);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-base);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:hover,
textarea:hover {
  border-color: var(--ink);
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  margin: 0.375rem 0 0;
  font-size: var(--fs-small);
  color: var(--error);
}

/* Cloudflare Turnstile: onzichtbaar, tenzij er een controle nodig is */
.turnstile {
  height: 0;
  margin-bottom: -1.25rem;
  overflow: hidden;
}

.turnstile.is-visible {
  height: auto;
  margin-bottom: 0;
  overflow: visible;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-top: 0.25rem;
}

.note {
  margin: 0;
}

@media (max-width: 29.99rem) {
  .form-foot button {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 25rem) {
  .facts > div {
    padding-right: 0.5rem;
  }

  .facts > div + div {
    padding-left: 0.75rem;
  }

  .facts dt {
    letter-spacing: 0.06em;
  }

  .facts dd {
    font-size: 1.3125rem;
  }
}

/* Cookiemelding: klein, onderin, niet over de hele breedte */

.consent {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
  max-width: 26rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--on-navy-line);
  border-top: 2px solid var(--signal);
  border-radius: 2px;
  background: var(--navy-2);
  color: var(--on-navy-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  animation: consent-in 0.35s var(--ease) both;
}

.consent[hidden] {
  display: none !important;
}

.consent p {
  margin: 0 0 0.75rem;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.consent button {
  min-height: 44px;
  font-size: var(--fs-small);
}

.consent .consent-accept {
  padding: 0.5rem 1.25rem;
  background: var(--on-navy);
  border-color: var(--on-navy);
  color: var(--navy);
}

.consent .consent-accept:hover {
  background: #dfe6ee;
  border-color: #dfe6ee;
  color: var(--navy);
}

.consent .consent-deny {
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--on-navy);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--on-navy-line);
  text-underline-offset: 0.22em;
}

.consent .consent-deny:hover {
  background: none;
  text-decoration-color: var(--on-navy);
}

.consent :focus-visible {
  outline-color: var(--on-navy);
}

@keyframes consent-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
}

.footer-meta {
  margin: 1rem 0 0;
}

.link-button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-navy-muted);
  font-size: var(--fs-small);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--on-navy-line);
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.link-button:hover {
  background: none;
  color: var(--on-navy);
}

.link-button[hidden] {
  display: none;
}

/* Privacyverklaring */

.intro-compact {
  min-height: 0 !important;
  padding-top: 3rem !important;
  padding-bottom: 3.5rem !important;
}

.intro-compact h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  margin: 3.5rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem);
  line-height: 1.1;
}

.legal > h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.125rem;
}

.legal p,
.legal li {
  color: var(--ink);
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.25rem;
}

.legal code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.table-wrap {
  margin: 1rem 0 1.5rem;
  overflow-x: auto;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.legal th,
.legal td {
  padding: 0.625rem 0.75rem 0.625rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  border-bottom-color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-back {
  margin-top: 3rem;
}

.form-privacy {
  margin: -0.75rem var(--gutter) 0;
  padding-bottom: 1.5rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
  font-size: var(--fs-small);
}

.footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-navy-muted);
  text-decoration-color: var(--on-navy-line);
}

.footer-meta a:hover {
  color: var(--on-navy);
}

.consent a {
  color: var(--on-navy);
  text-decoration-color: var(--on-navy-line);
}

/* Honeypot: buiten beeld, niet voor bezoekers */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Meldingen */

.notice {
  padding: 0.875rem 1rem;
  border: 1px solid var(--line);
  border-left-width: 3px;
  background: var(--surface);
}

.notice p,
.notice ul {
  margin: 0;
}

.notice ul {
  padding-left: 1.25rem;
}

.notice-error {
  border-left-color: var(--error);
}

.notice-ok {
  display: none;
  border-left-color: var(--accent);
}

/* Bevestiging in het formulierpaneel */
.contact-form > .notice.notice-ok {
  position: relative;
  margin: 1.75rem var(--gutter) 1.75rem;
  padding: 1.5rem 1.25rem 1.5rem 4rem;
  border: 0;
  background: var(--paper);
}

.contact-form > .notice.notice-ok::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.125rem no-repeat;
}

.contact-form > .notice.notice-ok:focus {
  outline: none;
}

.notice-ok a[href^="tel:"] {
  white-space: nowrap;
}

.contact-form {
  align-self: start;
}

.notice-ok .ok-title {
  margin-bottom: 0.375rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--ink);
}

.notice-ok p + p {
  color: var(--muted);
}

/* Bevestiging zonder JavaScript: contact.php stuurt door naar #verzonden */
.notice-ok:target,
.notice-ok.is-visible {
  display: block;
}

.notice-ok:target + .form,
.notice-ok.is-visible + .form,
.notice-ok:target ~ .form-privacy,
.notice-ok.is-visible ~ .form-privacy {
  display: none;
}

[hidden] {
  display: none !important;
}

/* ===== Voet: titelhoek ===== */

.site-footer {
  padding: 3rem 0;
  background: var(--navy-2);
  color: var(--on-navy);
}

.titleblock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--on-navy-line);
  background: var(--on-navy-line);
}

.titleblock > div {
  min-width: 0;
  padding: 0.75rem 1rem 0.875rem;
  background: var(--navy-2);
}

.titleblock dt {
  margin-bottom: 0.125rem;
  font-size: 0.6875rem;
  color: var(--on-navy-muted);
}

.titleblock dd {
  margin: 0;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.titleblock a {
  color: var(--on-navy);
  text-decoration-color: var(--on-navy-line);
}

.titleblock a:hover {
  color: var(--on-navy);
  text-decoration-color: var(--on-navy);
}

.tb-wide dd {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
}

/* ===== Bredere schermen ===== */

@media (min-width: 30rem) {
  .schema-wrap {
    display: block;
    max-width: 30rem;
  }
}

@media (min-width: 36rem) {
  .form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form > .field-half {
    grid-column: auto;
  }
}

@media (min-width: 48rem) {
  .consent {
    left: 1.5rem;
    bottom: 1.5rem;
  }

  :root {
    --gutter: 2rem;
    --space: 7rem;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stats > div + div {
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
  }

  .stats > div:nth-child(n + 3) {
    border-top: 0;
  }

  .domains {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product {
    margin-left: 0;
    margin-right: 0;
    padding: 2.5rem;
  }


  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facts > div:nth-child(3) {
    padding-left: 1rem;
    border-left: 1px solid var(--on-navy-line);
  }

  .facts > div:nth-child(n + 3) {
    border-top: 0;
  }


  .contact-form {
    margin: 0;
  }

  .contact-form::before,
  .contact-form::after {
    content: "";
  }

  .titleblock {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tb-wide {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media (min-width: 40rem) {
  .header-link {
    display: inline-flex !important;
  }

  .menu {
    margin-left: auto;
  }
}

@media (min-width: 64rem) {
  .menu {
    display: none;
  }

  .topbar .site-header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .topbar {
    position: static;
  }

  :root {
    --gutter: 3rem;
    --space: 8.5rem;
  }

  .intro {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
    min-height: min(42rem, calc(100svh - 12rem));
    padding: 4rem 0 5rem;
  }

  .schema-wrap {
    max-width: none;
  }

  .nav {
    display: block;
    margin-right: auto;
  }

  .brand {
    margin-right: 1.5rem;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }




  .product {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    padding: 3rem;
  }

  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 5rem;
  }

  .split-head {
    align-self: start;
    position: sticky;
    top: 2.5rem;
  }

  .form-head,
  .contact-form > .notice,
  .form {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }

  .contact-form > .notice,
  .form {
    margin-left: 0;
    margin-right: 0;
  }

  .form-privacy {
    margin: -1rem 2.25rem 0;
    padding-bottom: 2rem;
  }

  .contact-form > .notice.notice-ok {
    margin: 2.25rem 2.25rem;
  }

  .contact-form > .notice {
    margin: 2rem 2.25rem 0;
    padding: 0.875rem 1rem;
  }

  .form {
    margin-top: 2rem;
    padding-bottom: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .hero,
  .ai,
  .site-footer {
    background: none;
    color: var(--ink);
  }

  .contact-form,
  .schema-wrap,
  .skip {
    display: none;
  }
}

/* Subpagina's: koppelingen en boekhouders */

.topbar .nav a:hover,
.topbar .nav a[aria-current="page"] {
  color: var(--on-navy);
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
}

.crumb {
  margin: 0 0 1rem;
  font-size: var(--fs-small);
}

.crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-navy-muted);
  text-decoration-color: var(--on-navy-line);
}

.crumb a::before {
  content: "←";
  margin-right: 0.5rem;
}

.crumb a:hover {
  color: var(--on-navy);
}

.blocks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 2.5rem;
  margin-top: 1.5rem;
}

.block {
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--ink);
}

.block h3,
.block h4 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
}

.block h3 a,
.block h4 a {
  color: inherit;
  text-decoration: none;
}

.block h3 a:hover,
.block h4 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.block h3 .arrow,
.block h4 .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.block h3 a:hover .arrow,
.block h4 a:hover .arrow {
  transform: translateX(4px);
}

.block p {
  margin: 0;
}

.cta-band .actions {
  margin-top: 1.5rem;
}

.cta-band .quiet-link {
  text-decoration-color: var(--line);
}

.related {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--line);
}

.related + .cta-band {
  border-top: 0;
}

.related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.praktijk {
  margin-top: 3rem;
}

.prose .ruled + p {
  margin-top: 1.5rem;
}

.steps-after {
  max-width: 40rem;
  margin: 2.5rem 0 0;
}

@media (min-width: 48rem) {
  .blocks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
