/* ==========================================================================
   Klusbedrijf KMC, Hapert
   Kleuren, typografie en maten staan hieronder als variabelen. Pas ze daar
   aan en de hele site verandert mee.
   ========================================================================== */

/* --- lettertype, zelf gehost zodat er niets van buiten geladen wordt ------ */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* kleuren */
  --ink: #181310;
  --ink-soft: #52453B;
  --paper: #FCFAF7;
  --sand: #F2EAE0;
  --sand-2: #E7DACA;
  --oak: #B0793F;
  --oak-dark: #6B4522;
  --kmc: #A3037B;          /* huisstijlkleur uit het KMC-logo */
  --kmc-dark: #7C025D;
  --line: #E1D6C7;
  --line-dark: #33291F;

  /* typografie */
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.19vw, 1.12rem);
  --step-1: clamp(1.19rem, 1.12rem + 0.34vw, 1.4rem);
  --step-2: clamp(1.42rem, 1.29rem + 0.62vw, 1.8rem);
  --step-3: clamp(1.69rem, 1.47rem + 1.05vw, 2.35rem);
  --step-4: clamp(2.01rem, 1.65rem + 1.7vw, 3.05rem);
  --step-5: clamp(2.4rem, 1.8rem + 2.8vw, 4rem);

  /* maten */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gap: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem);
  --section-y: clamp(3.25rem, 2.2rem + 4.4vw, 6rem);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(24, 19, 16, .05), 0 12px 28px -14px rgba(24, 19, 16, .28);
}

/* --- basis ---------------------------------------------------------------- */
*, *::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(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.1;
  letter-spacing: -.021em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p, ul, ol { margin: 0 0 1.1em; }
p { max-width: 68ch; text-wrap: pretty; }

a { color: var(--kmc-dark); text-underline-offset: .18em; }
a:hover { color: var(--kmc); }

img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }

strong { font-weight: 700; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--kmc); color: #fff; padding: .75rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 0; }

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

/* --- layout --------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

section { padding-block: var(--section-y); }
section.tight { padding-block: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }

.sand { background: var(--sand); }
.dark { background: var(--ink); color: var(--sand); }
.dark h2, .dark h3, .dark h1 { color: #fff; }
.dark p { color: #DDD2C6; }
.dark a { color: #fff; }

/* --- het handelsmerk: de duimstokstreep ----------------------------------- */
/* Een maatverdeling zoals op een vouwmeter. Komt terug als scheiding tussen
   secties en onder de kopregels. */
.tickrule {
  height: 15px;
  background-image:
    repeating-linear-gradient(to right, var(--oak) 0 1.5px, transparent 1.5px 60px),
    repeating-linear-gradient(to right, var(--sand-2) 0 1px, transparent 1px 12px);
  background-size: 100% 15px, 100% 8px;
  background-position: 0 0, 0 0;
  background-repeat: repeat-x;
  border-bottom: 1px solid var(--line);
}
.dark .tickrule, .tickrule.on-dark {
  background-image:
    repeating-linear-gradient(to right, var(--oak) 0 1.5px, transparent 1.5px 60px),
    repeating-linear-gradient(to right, #3A2E24 0 1px, transparent 1px 12px);
  border-bottom-color: var(--line-dark);
}

.eyebrow {
  display: flex; align-items: center; gap: .7rem; overflow: hidden;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kmc);
  margin: 0 0 1rem;
  font-weight: 500;
}
.eyebrow::after {
  content: ""; flex: 1 1 auto; height: 9px; max-width: 190px;
  background-image: repeating-linear-gradient(to right, var(--sand-2) 0 1px, transparent 1px 9px);
}
.dark .eyebrow { color: var(--oak); }
.dark .eyebrow::after { background-image: repeating-linear-gradient(to right, #43362A 0 1px, transparent 1px 9px); }

.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 60ch; }
.dark .lead { color: #D6CABE; }

/* --- knoppen -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--kmc); color: #fff; border-color: var(--kmc); }
.btn-primary:hover { background: var(--kmc-dark); border-color: var(--kmc-dark); color: #fff; }

.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; color: #fff; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Op donkere vlakken (hero, offerteblok, donkere secties) moet de lijnknop wit
   zijn, anders valt hij volledig weg tegen de achtergrond. */
.dark .btn-outline, .hero .btn-outline, .cta-panel .btn-outline {
  color: #fff; border-color: rgba(255, 255, 255, .55);
}
.dark .btn-outline:hover, .hero .btn-outline:hover, .cta-panel .btn-outline:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}

.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--sand); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.4rem; }

/* --- kop ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 250, 247, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 74px;
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 116px; height: 58px; object-fit: contain; }
.brand-txt { display: none; }

.nav { display: none; }
.nav ul { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .55rem .7rem;
  color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: .96rem;
  border-radius: var(--radius);
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--kmc-dark);
  box-shadow: inset 0 -2px 0 var(--kmc);
  border-radius: 0;
}

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--ink); color: #fff; border: 0;
  font: inherit; font-weight: 600; font-size: .92rem;
  padding: .65rem .9rem; border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.mobile-nav li + li { border-top: 1px solid var(--line); }
.mobile-nav a {
  display: block; padding: .95rem .25rem; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 1.05rem;
}
.mobile-nav a[aria-current="page"] { color: var(--kmc-dark); }
.mobile-nav .btn { width: 100%; margin-top: 1rem; }

@media (min-width: 940px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .header-cta { display: inline-flex; }
  .brand img { width: 130px; height: 65px; }
}

/* --- hero ----------------------------------------------------------------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding-block: 0; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(24, 19, 16, .93) 0%, rgba(24, 19, 16, .78) 45%, rgba(24, 19, 16, .5) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding-block: clamp(3.5rem, 2.4rem + 5vw, 7rem);
}
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: .45em; }
.hero h1 .accent { color: var(--oak); }
.hero-sub { font-size: var(--step-1); color: #E4DACD; max-width: 46ch; margin-bottom: 1.8rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.hero-badges li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .95rem; color: #E4DACD; font-weight: 500;
}
.hero-badges svg { width: 1.05em; height: 1.05em; color: var(--oak); flex: none; }

/* --- directe contactkaarten ----------------------------------------------- */
.contact-cards { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.05rem 1.15rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.contact-card:hover { border-color: var(--kmc); transform: translateY(-2px); color: var(--ink); }
.contact-card .ico {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--sand); color: var(--kmc); border-radius: var(--radius);
}
.contact-card .ico svg { width: 21px; height: 21px; }
.contact-card b { display: block; font-size: 1.05rem; line-height: 1.25; }
.contact-card small { color: var(--ink-soft); font-size: .86rem; }

/* --- voordelen ------------------------------------------------------------ */
.usp-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; counter-reset: usp; }
@media (min-width: 640px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .usp-grid { grid-template-columns: repeat(4, 1fr); } }

.usp { border-top: 2px solid var(--ink); padding-top: 1rem; counter-increment: usp; }
.usp::before {
  content: "0" counter(usp);
  display: block; font-family: var(--mono); font-size: .8rem;
  letter-spacing: .1em; color: var(--kmc); margin-bottom: .6rem;
}
.usp h3 { font-size: var(--step-1); margin-bottom: .35em; }
.usp p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.dark .usp { border-top-color: var(--oak); }
.dark .usp p { color: #C9BCAF; }

/* --- diensten ------------------------------------------------------------- */
.card-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--oak); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4 / 3; background: var(--sand-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: var(--step-1); margin-bottom: .4em; }
.card-body p { font-size: .96rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.card-link {
  margin-top: auto; align-self: flex-start;
  font-weight: 600; text-decoration: none; color: var(--kmc-dark);
  display: inline-flex; align-items: center; gap: .4rem;
}
.card-link::after { content: "\2192"; transition: transform .15s ease; }
.card:hover .card-link::after { transform: translateX(3px); }

/* --- foto plus tekst ------------------------------------------------------ */
.split { display: grid; gap: var(--gap); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); }
  .split.reverse .split-media { order: 2; }
}
.split-media img { width: 100%; border-radius: var(--radius); }
.split-media { position: relative; }
.split-media::after {
  content: ""; position: absolute; left: -10px; bottom: -10px; width: 96px; height: 96px;
  border-left: 3px solid var(--kmc); border-bottom: 3px solid var(--kmc);
  border-radius: 0 0 0 4px;
  pointer-events: none;
}

/* --- lijst met vinkjes ---------------------------------------------------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks svg { width: 1.15em; height: 1.15em; color: var(--kmc); flex: none; margin-top: .3em; }
.dark .checks svg { color: var(--oak); }

/* --- houtsoortenband ------------------------------------------------------ */
.material-band { position: relative; }
.material-band img { width: 100%; height: clamp(110px, 16vw, 180px); object-fit: cover; }

/* --- projecten ------------------------------------------------------------ */
.project-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--sand-2);
}
.project img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.project:hover img { transform: scale(1.04); }
.project figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem .9rem .8rem;
  background: linear-gradient(to top, rgba(24, 19, 16, .88), transparent);
  color: #fff; font-weight: 600; font-size: .95rem;
}

/* --- rubrieken portfolio -------------------------------------------------- */
.rubrieken { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 700px) { .rubrieken { grid-template-columns: repeat(2, 1fr); } }
.rubriek {
  border: 1px solid var(--line); border-left: 3px solid var(--oak);
  background: #fff; padding: 1.3rem 1.4rem; border-radius: var(--radius);
}
.rubriek h3 { font-size: var(--step-1); margin-bottom: .35em; }
.rubriek p { margin: 0; font-size: .96rem; color: var(--ink-soft); }

/* --- werkwijze ------------------------------------------------------------ */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--gap); } }
.steps li { counter-increment: step; position: relative; padding-top: 3.1rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.3rem; height: 2.3rem; display: grid; place-items: center;
  background: var(--kmc); color: #fff; border-radius: 50%;
  font-family: var(--mono); font-size: 1rem; font-weight: 600;
}
.steps li::after {
  content: ""; position: absolute; top: 1.15rem; left: 2.9rem; right: 0; height: 9px;
  background-image: repeating-linear-gradient(to right, var(--sand-2) 0 1px, transparent 1px 9px);
}
@media (max-width: 779px) { .steps li::after { display: none; } }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--step-1); margin-bottom: .3em; }
.steps p { font-size: .96rem; color: var(--ink-soft); margin: 0; }

/* --- veelgestelde vragen -------------------------------------------------- */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: .2rem 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-weight: 600; font-size: var(--step-1); line-height: 1.35;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 1.5rem;
  width: 14px; height: 14px;
  border-right: 2px solid var(--kmc); border-bottom: 2px solid var(--kmc);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq .faq-answer { padding: 0 0 1.2rem; }
.faq .faq-answer p:last-child { margin-bottom: 0; }

/* --- offerteblok ---------------------------------------------------------- */
.cta-panel {
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem);
  display: grid; gap: var(--gap);
}
@media (min-width: 880px) { .cta-panel { grid-template-columns: 1.15fr 1fr; align-items: center; } }
.cta-panel h2 { color: #fff; margin-bottom: .5em; }
.cta-panel p { color: #D8CCC0; }
.cta-panel .btn-row { margin-bottom: 0; }

.nap {
  font-style: normal; line-height: 1.8;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
}
.nap a { color: #fff; }
.nap .label {
  display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--oak); margin-bottom: .3rem;
}

/* --- kaart ---------------------------------------------------------------- */
.map-link {
  display: block; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff;
}
.map-link img { width: 100%; height: auto; }
.map-link span {
  display: flex; align-items: center; gap: .5rem;
  padding: .85rem 1.1rem; font-weight: 600;
  border-top: 1px solid var(--line);
}
.map-link:hover span { color: var(--kmc-dark); }
.map-link span::after { content: "\2197"; }

/* --- kruimelpad ----------------------------------------------------------- */
.breadcrumb { padding: .9rem 0 0; font-size: .87rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--oak); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--kmc-dark); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* --- paginakop ------------------------------------------------------------ */
.page-head { background: var(--sand); padding-block: clamp(2rem, 1.4rem + 3vw, 3.75rem) clamp(2rem, 1.4rem + 3vw, 3.5rem); }
.page-head h1 { max-width: 20ch; margin-bottom: .35em; }

/* --- prose ---------------------------------------------------------------- */
.prose h2 { font-size: var(--step-3); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8em; }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--oak); }

/* --- tabel ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; background: var(--sand); }

/* --- voet ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #C6B9AC; padding-block: clamp(2.5rem, 2rem + 2.4vw, 4rem) 2rem; }
.footer-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.site-footer a { color: #E4DACD; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer .brand img { width: 118px; height: 59px; margin-bottom: 1rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  font-size: .85rem; color: #9A8B7D;
}
.footer-bottom p { margin: 0; }

/* --- vaste actiebalk op mobiel -------------------------------------------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  padding: .6rem .4rem .65rem;
  color: #fff; text-decoration: none;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
}
.action-bar a + a { border-left: 1px solid var(--line-dark); }
.action-bar svg { width: 20px; height: 20px; }
.action-bar a:first-child { background: var(--kmc); }
body { padding-bottom: 64px; }

@media (min-width: 940px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* --- 404 ------------------------------------------------------------------ */
.notfound { text-align: center; padding-block: clamp(3rem, 2rem + 5vw, 7rem); }
.notfound .btn-row { justify-content: center; }
.notfound p { margin-inline: auto; }

/* --- beweging beperken ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- afdrukken ------------------------------------------------------------ */
@media print {
  .site-header, .action-bar, .site-footer, .hero-media { display: none; }
  body { padding-bottom: 0; color: #000; background: #fff; }
}
