/* =========================================================================
   Tapmender — huisstijl
   Kleuren, typografie en componenten. Pas de variabelen hieronder aan om
   de hele website in één keer te wijzigen.
   ========================================================================= */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #081D49;
  --navy-2: #0F2A63;
  --orange: #FF5A28;
  --orange-dark: #E04516;
  --white: #FFFFFF;
  --gray: #F4F6F9;
  --line: #E2E7EF;
  --slate: #34435D;
  --text: #222A36;
  --muted: #5B6880;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 18px 40px -22px rgba(8, 29, 73, .35);
  --shadow-sm: 0 6px 18px -10px rgba(8, 29, 73, .25);
  --container: 1220px;
  --gutter: clamp(18px, 4vw, 40px);
  --font-head: "Manrope", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .4em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: var(--section) 0; }
.section--gray { background: var(--gray); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--slate); }
.muted { color: var(--muted); }

/* Eyebrow: oranje label met waterlijn */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow--plain::before { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 26px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 800; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn svg { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: .92rem; color: var(--navy); text-decoration: none; }
.link-arrow::after { content: "→"; color: var(--orange); transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- Topbar */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .86); font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 20px; }
.topbar__left { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; }
.topbar__lang { font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; font-size: .74rem; border: 1px solid rgba(255, 255, 255, .3); padding: 2px 8px; border-radius: 3px; }

/* ---------------------------------------------------------------- Header */
.header { background: #fff; position: sticky; top: 0; z-index: 90; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(8, 29, 73, .45); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; margin: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--navy); text-decoration: none; position: relative; background: none; border: 0; cursor: pointer; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__chev { width: 10px; height: 10px; transition: transform .2s; }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 290px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); list-style: none; margin: 0; padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) { .nav__item--has-dd:hover .dropdown { opacity: 1; visibility: visible; transform: none; } }
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 4px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .94rem; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--gray); color: var(--orange-dark); }
.dropdown__all { border-top: 1px solid var(--line); margin-top: 6px !important; padding-top: 6px; }
.nav__cta { white-space: nowrap; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; top: var(--header-offset, 88px); width: min(420px, 100%); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 18px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; box-shadow: -20px 0 40px -30px rgba(8, 29, 73, .5); }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .nav__link::after { left: 4px; right: auto; width: 34px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 12px 8px; display: none; }
  .nav__item.is-open .dropdown { display: block; }
  .nav__cta { margin-top: 24px; width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1240px) and (min-width: 1101px) { .nav__link { padding: 10px 8px; font-size: .9rem; } .nav { gap: 16px; } }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 29, 73, .94) 0%, rgba(8, 29, 73, .86) 45%, rgba(8, 29, 73, .62) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.hero .container { display: flex; flex-direction: column; justify-content: center; }
.hero--home .container { min-height: clamp(520px, 72vh, 620px); padding-top: 70px; padding-bottom: 90px; }
.hero--page .container { min-height: clamp(280px, 34vw, 400px); padding-top: 60px; padding-bottom: 60px; }
.hero h1 { color: #fff; max-width: 820px; margin-bottom: .4em; }
.hero--page h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
.hero p { color: rgba(255, 255, 255, .86); max-width: 620px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.hero__accent { position: absolute; right: var(--gutter); bottom: 0; width: 6px; height: 120px; background: var(--orange); }
.hero__drop { position: absolute; right: clamp(24px, 8vw, 140px); bottom: 48px; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero__drop i { width: 12px; height: 12px; background: var(--orange); border-radius: 50% 0 50% 50%; transform: rotate(-45deg); }

/* Breadcrumb */
.breadcrumb { background: var(--gray); border-bottom: 1px solid var(--line); }
.breadcrumb ol { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .92rem; color: var(--slate); }
.breadcrumb li { margin: 0; display: inline-flex; gap: 10px; align-items: center; }
.breadcrumb li + li::before { content: "»"; color: var(--muted); }
.breadcrumb a { color: var(--orange-dark); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------------------------------------------------------------- Layout helpers */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--top { align-items: start; }
.figure { position: relative; margin: 0; }
.figure img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 11; object-fit: cover; box-shadow: var(--shadow); }
.figure--frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--orange); border-radius: var(--radius-lg); z-index: -1; }
.figure--tall img { aspect-ratio: 4 / 5; }
.figure figcaption { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 700px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: .8em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 90, 40, .14); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: calc(.45em + 5px); width: 6px; height: 4px; border-left: 2px solid var(--orange-dark); border-bottom: 2px solid var(--orange-dark); transform: rotate(-45deg); }

/* ---------------------------------------------------------------- Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card__num { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .14em; color: var(--orange); margin-bottom: 8px; }
.card__body p { color: var(--slate); font-size: .97rem; flex: 1; }
.card__link::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Problem blocks */
.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.problem { padding: 34px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: relative; }
.problem__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.problem__icon svg { width: 26px; height: 26px; }
.problem p { color: var(--slate); font-size: .96rem; margin: 0; }
.problem:hover .problem__icon { background: var(--orange); }

/* Editorial (maintenance) block */
.editorial { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.editorial__media { position: relative; min-height: 320px; }
.editorial__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial__body { background: var(--navy); color: rgba(255, 255, 255, .86); padding: clamp(40px, 6vw, 90px); }
.editorial__body h2, .editorial__body h3 { color: #fff; }
.editorial__points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; margin-top: 30px; }
.editorial__points h3 { font-size: 1.02rem; margin-bottom: .35em; display: flex; gap: 10px; align-items: baseline; }
.editorial__points h3 span { color: var(--orange); font-size: .8rem; letter-spacing: .1em; }
.editorial__points p { font-size: .94rem; margin: 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; top: 33px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); }
.timeline li { position: relative; margin: 0; }
.timeline__num { width: 66px; height: 66px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); margin-bottom: 22px; position: relative; }
.section--gray .timeline__num { background: var(--gray); }
.timeline li:first-child .timeline__num { background: var(--orange); color: #fff; }
.timeline p { color: var(--slate); font-size: .96rem; }
.timeline--vertical { grid-template-columns: 1fr; gap: 0; }
.timeline--vertical::before { top: 0; bottom: 0; left: 32px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 10px, transparent 10px 18px); }
.timeline--vertical li { display: grid; grid-template-columns: 66px 1fr; gap: 28px; padding-bottom: 44px; }
.timeline--vertical li:last-child { padding-bottom: 0; }
.timeline--vertical .timeline__num { margin: 0; }

/* Article cards */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.article-card { position: relative; display: flex; flex-direction: column; }
.article-card__img { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover img { transform: scale(1.04); }
.article-card__meta { font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 8px; }
.article-card h3 a { color: var(--navy); text-decoration: none; }
.article-card h3 a::before { content: ""; position: absolute; inset: 0; }
.article-card:hover h3 a { color: var(--orange-dark); }
.article-card p { color: var(--slate); font-size: .95rem; }
/* Magazine (kennisbank) */
.magazine-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.magazine-feature img { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.magazine-feature h2 a { color: var(--navy); text-decoration: none; }
.magazine-feature h2 a::before { content: ""; position: absolute; inset: 0; }
.magazine-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.magazine-item { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; align-items: center; }
.magazine-item img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.magazine-item h3 { margin-bottom: .3em; }
.magazine-item h3 a { color: var(--navy); text-decoration: none; }
.magazine-item h3 a::before { content: ""; position: absolute; inset: 0; }
.magazine-item:hover h3 a { color: var(--orange-dark); }
.magazine-item p { font-size: .93rem; color: var(--slate); margin: 0; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font-size: inherit; }
.faq__btn { width: 100%; text-align: left; background: none; border: 0; padding: 24px 54px 24px 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--navy); cursor: pointer; position: relative; line-height: 1.4; }
.faq__btn::after, .faq__btn::before { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; background: var(--orange); transition: transform .25s; }
.faq__btn::before { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"]::before { transform: rotate(0); }
.faq__btn:hover { color: var(--orange-dark); }
.faq__a { overflow: hidden; }
.faq__a[hidden] { display: none; }
.faq__a div { padding: 0 54px 26px 0; color: var(--slate); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); }

/* CTA band */
.cta { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy); }
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(8, 29, 73, .96) 40%, rgba(8, 29, 73, .7)); }
.cta .container { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { color: rgba(255, 255, 255, .84); margin: 0; max-width: 640px; font-size: 1.08rem; }
.cta--inline { border-radius: var(--radius-lg); }
.cta--inline .container { padding: clamp(36px, 5vw, 56px); }

/* Prose (service details, articles, legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--text); }
.prose ul li::marker { color: var(--orange); }
.prose .note { background: var(--gray); border-left: 4px solid var(--orange); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6em 0; }
.prose .note p:last-child { margin: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: #fff; }
.aside-box--navy { background: var(--navy); color: rgba(255, 255, 255, .85); border: 0; }
.aside-box--navy h3 { color: #fff; }
.aside-box h3 { font-size: 1.1rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { margin: 0; border-bottom: 1px solid var(--line); }
.aside-box li:last-child { border: 0; }
.aside-box li a { display: block; padding: 11px 0; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.aside-box li a:hover, .aside-box li a[aria-current="page"] { color: var(--orange-dark); }
.aside-box .btn { width: 100%; margin-top: 8px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.info-tile { background: var(--gray); border-radius: var(--radius-lg); padding: 28px; border-top: 3px solid var(--navy); }
.info-tile h3 { font-size: 1.06rem; }
.info-tile p { font-size: .95rem; color: var(--slate); margin: 0; }
.info-grid--2 { grid-template-columns: repeat(2, 1fr); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 36px; }
.stat-row > div { padding: 26px; border-right: 1px solid var(--line); }
.stat-row > div:last-child { border-right: 0; }
.stat-row strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.stat-row span { color: var(--slate); font-size: .93rem; }

/* Services overview (diensten) */
.service-index { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 90px 1fr 1.2fr 260px; gap: 32px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; }
.service-row__num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1.5px var(--navy); line-height: 1; }
.service-row:hover .service-row__num { -webkit-text-stroke-color: var(--orange); }
.service-row h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.service-row h3 a { color: var(--navy); text-decoration: none; }
.service-row h3 a::before { content: ""; position: absolute; inset: 0; }
.service-row:hover h3 a { color: var(--orange-dark); }
.service-row p { margin: 0; color: var(--slate); font-size: .97rem; }
.service-row img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* Kraanreparatie landing: symptom grid */
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.symptom { background: #fff; padding: 32px 30px; }
.symptom__tag { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); background: rgba(255, 90, 40, .1); padding: 4px 10px; border-radius: 30px; margin-bottom: 14px; }
.symptom p { font-size: .95rem; color: var(--slate); margin: 0; }
.big-quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--navy); letter-spacing: -0.015em; border-left: 6px solid var(--orange); padding-left: clamp(20px, 3vw, 36px); margin: 0; }

/* Forms */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 8px; }
.field .opt { font-weight: 500; color: var(--muted); font-family: var(--font-body); font-size: .84rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--gray); border: 1.5px solid transparent; border-radius: var(--radius); padding: 13px 15px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C62828; background: #fff; }
.field__error { display: none; color: #B3261E; font-size: .86rem; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--slate); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex-shrink: 0; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: .95rem; }
.form-alert.is-visible { display: block; }
.form-alert--error { background: #FDECEA; color: #8C1D18; border-left: 4px solid #C62828; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.form-actions small { color: var(--muted); }
button[disabled] { opacity: .65; cursor: progress; }

.contact-card { background: var(--navy); color: rgba(255, 255, 255, .86); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-card a { color: #fff; }
.contact-card a:hover { color: var(--orange); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin-bottom: 22px; align-items: start; }
.contact-list svg { width: 20px; height: 20px; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--orange); }
.contact-list strong { display: block; color: #fff; font-family: var(--font-head); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-card__img { margin-top: 26px; border-radius: 10px; opacity: .9; }

/* Steps on quote page */
.mini-steps { list-style: none; padding: 0; margin: 0; counter-reset: ms; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 52px; margin-bottom: 22px; }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-head); font-weight: 800; color: var(--orange); font-size: .9rem; border: 1.5px solid var(--orange); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; }
.mini-steps strong { display: block; color: var(--navy); font-family: var(--font-head); }

/* Thank-you */
.thanks { text-align: center; max-width: 680px; margin: 0 auto; }
.thanks__icon { width: 92px; height: 92px; border-radius: 50%; background: rgba(255, 90, 40, .12); color: var(--orange); display: grid; place-items: center; margin: 0 auto 26px; }
.thanks__icon svg { width: 44px; height: 44px; }

/* Legal */
.legal-hero { background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 90px) 0 clamp(40px, 5vw, 64px); position: relative; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.legal-hero p { color: rgba(255, 255, 255, .75); margin: 0; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 110px; border-left: 2px solid var(--line); padding-left: 20px; font-size: .92rem; }
.toc strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 10px; }
.toc ol { padding-left: 1.1em; margin: 0; }
.toc a { color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--orange-dark); }
.legal table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 1em 0 1.6em; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 10px; vertical-align: top; }
.legal th { font-family: var(--font-head); color: var(--navy); background: var(--gray); }
.table-scroll { overflow-x: auto; }

/* ---------------------------------------------------------------- Footer */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .95rem; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; width: 120px; height: 4px; background: var(--orange); }
.footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: clamp(60px, 7vw, 90px) 0 50px; }
.footer img.footer__logo { height: 40px; width: auto; margin-bottom: 22px; }
.footer h2 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer address { font-style: normal; line-height: 1.7; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: .86rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal button { background: none; border: 0; padding: 0; font: inherit; color: rgba(255, 255, 255, .86); cursor: pointer; }
.footer__legal button:hover { color: var(--orange); }

/* ---------------------------------------------------------------- Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 24px 60px -20px rgba(8, 29, 73, .55); border-top: 4px solid var(--orange); padding: 24px; display: none; }
.cookie.is-visible { display: block; }
.cookie h2 { font-size: 1.1rem; margin-bottom: .4em; }
.cookie p { font-size: .9rem; color: var(--slate); margin-bottom: 16px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { min-height: 44px; padding: 10px 16px; font-size: .74rem; flex: 1 1 auto; }
.cookie__prefs { display: none; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; margin-bottom: 14px; }
.cookie.show-prefs .cookie__prefs { display: block; }
.cookie__opt { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cookie__opt:last-child { border: 0; }
.cookie__opt strong { color: var(--navy); font-family: var(--font-head); font-size: .94rem; }
.cookie__opt span { display: block; font-size: .84rem; color: var(--muted); }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; background: #C9D0DA; border-radius: 26px; transition: background .2s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + i { background: var(--orange); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:disabled + i { background: var(--navy); opacity: .5; }
.switch input:focus-visible + i { outline: 3px solid var(--orange); outline-offset: 2px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; color: transparent; -webkit-text-stroke: 2px var(--navy); line-height: 1; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .cards, .articles { grid-template-columns: repeat(2, 1fr); }
  .problems { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 70px 1fr 1fr; }
  .service-row img { display: none; }
  .symptoms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split, .faq-layout, .editorial, .magazine-feature, .legal-layout { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .timeline::before { display: none; }
  .timeline--vertical { grid-template-columns: 1fr; }
  .timeline--vertical::before { display: block; }
  .cta .container { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .magazine-list { grid-template-columns: 1fr; }
  .toc { position: static; border-left: 0; padding: 20px; background: var(--gray); border-radius: var(--radius-lg); }
  .editorial__media { min-height: 300px; }
  .figure--frame::before { inset: 14px -10px -14px 10px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar__loc { display: none; }
  .cards, .articles, .problems, .info-grid, .info-grid--2, .symptoms { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-row > div:last-child { border-bottom: 0; }
  .editorial__points { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .aside { grid-template-columns: 1fr; }
  .magazine-item { grid-template-columns: 110px 1fr; gap: 16px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline--vertical li { grid-template-columns: 52px 1fr; gap: 18px; }
  .timeline--vertical .timeline__num { width: 52px; height: 52px; font-size: 1rem; }
  .timeline--vertical::before { left: 25px; }
  .header .container { min-height: 74px; }
  .logo img { height: 36px; }
  .hero__drop, .hero__accent { display: none; }
  .hero__actions .btn { width: 100%; }
  .faq__btn { padding-right: 44px; }
  .faq__a div { padding-right: 0; }
}
@media (max-width: 400px) {
  .topbar .container { gap: 10px; }
  .topbar__left { gap: 14px; }
  .topbar { font-size: .8rem; }
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 20px; }
  .magazine-item { grid-template-columns: 1fr; }
}
@media print { .topbar, .header, .cookie, .cta, .footer { display: none; } .hero { color: #000; } }
.split .stat-row { grid-template-columns: 1fr; }
.split .stat-row > div { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 22px; }
.split .stat-row > div:last-child { border-bottom: 0; }
@media (max-width: 430px) { .split .stat-row > div { grid-template-columns: 1fr; gap: 4px; } }
.split > *, .content-grid > *, .legal-layout > *, .faq-layout > *, .magazine-feature > * { min-width: 0; }
.split--contact { grid-template-columns: .85fr 1.15fr; }
.split--quote { grid-template-columns: .7fr 1.3fr; }
@media (max-width: 900px) { .split--contact, .split--quote { grid-template-columns: 1fr; } }
.cookie { max-height: calc(100vh - 32px); overflow-y: auto; }
@media (max-width: 600px) {
  .cookie { padding: 18px; }
  .cookie h2 { font-size: 1rem; }
  .cookie p { font-size: .84rem; line-height: 1.55; margin-bottom: 12px; }
  .cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cookie__actions .btn { font-size: .68rem; letter-spacing: .06em; padding: 8px 10px; min-height: 42px; }
  .cookie__actions [data-ck="accept"], .cookie__actions [data-ck="save"] { grid-column: 1 / -1; }
}
.nav__item--has-dd .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
@media (max-width: 1100px) { .nav__item--has-dd .dropdown::before { display: none; } }
