/* Jacxsens Ventilatie, stylesheet
   Alles wat u waarschijnlijk wilt aanpassen staat bovenaan in :root (kleuren, breedtes).
   --brand is het marineblauw van uw logo. De hele site gebruikt dit ene blauw. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1B4279;
  --bg: #F3F6FA;
  --surface: #FFFFFF;
  --ink: #0F1E33;
  --ink-2: #4B5C72;
  --line: #D6DEE8;
  --focus: #1565C0;
  --accent: var(--brand);

  --btn-bg: var(--brand);
  --btn-fg: #FFFFFF;
  --btn-hover: #12305A;
  --band-bg: var(--brand);
  --band-ov: rgba(27, 66, 121, 0);
  --band-fg: #FFFFFF;
  --band-2: #C7D5EA;
  --band-btn-hover: #DCE6F5;
  --band-line: #3A5F93;
  --foot-bg: #0F2748;
  --ph-bg: #E5ECF4;
  --ph-grid: #CBD7E5;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2rem);
  --max: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1320;
    --surface: #111F33;
    --ink: #E6EDF7;
    --ink-2: #9FB0C7;
    --line: #243750;
    --focus: #8CC8FF;
    --accent: #8FB0E0;
    --btn-bg: #E6EDF7;
    --btn-fg: #12305A;
    --btn-hover: #FFFFFF;
    --band-bg: #14305A;
    --band-ov: rgba(10, 19, 32, 0.45);
    --band-2: #B7C8E3;
    --band-btn-hover: #FFFFFF;
    --band-line: #2A4A78;
    --foot-bg: #070E1A;
    --ph-bg: #0E1A2C;
    --ph-grid: #1B2D47;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1320;
  --surface: #111F33;
  --ink: #E6EDF7;
  --ink-2: #9FB0C7;
  --line: #243750;
  --focus: #8CC8FF;
  --accent: #8FB0E0;
  --btn-bg: #E6EDF7;
  --btn-fg: #12305A;
  --btn-hover: #FFFFFF;
  --band-bg: #14305A;
  --band-ov: rgba(10, 19, 32, 0.45);
  --band-2: #B7C8E3;
  --band-btn-hover: #FFFFFF;
  --band-line: #2A4A78;
  --foot-bg: #070E1A;
  --ph-bg: #0E1A2C;
  --ph-grid: #1B2D47;
  color-scheme: dark;
}

/* Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 0.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
p { margin: 0; }
ul, ol { margin: 0; }

h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 1rem + 4.1vw, 3.7rem); font-weight: 800; font-stretch: 120%; letter-spacing: -0.015em; }
h1.long { font-size: clamp(1.6rem, 0.7rem + 4.4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 1.05rem + 2.3vw, 2.6rem); font-weight: 750; font-stretch: 115%; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 105%; line-height: 1.2; }
@media (max-width: 40rem) {
  h1, h2 { font-stretch: 100%; }
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 0.75rem 1rem; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.3rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  font: inherit; font-weight: 700; font-stretch: 108%; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-fg); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Koptekst en navigatie */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 0.8rem; }
.brand { display: block; line-height: 0; }
.brand:hover { text-decoration: none; }
.brand img { height: 2.5rem; width: auto; }

.menu-btn {
  font: inherit; font-weight: 700; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--ink-2); border-radius: 0.3rem; padding: 0.5rem 0.95rem; cursor: pointer;
}
.nav { display: none; flex-basis: 100%; padding-bottom: 0.75rem; }
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav a { display: block; padding: 0.8rem 0; font-weight: 600; text-decoration: none; border-top: 1px solid var(--line); }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.2em; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.28em; text-underline-offset: 0.45em; }
.nav a.btn { display: inline-flex; margin-top: 0.75rem; padding: 0.7rem 1.1rem; border: 2px solid var(--btn-bg); }
.nav a.btn:hover { border-color: var(--btn-hover); text-decoration: none; }

@media (min-width: 74rem) {
  .menu-btn { display: none; }
  .nav, .nav.is-open { display: block; flex-basis: auto; padding-bottom: 0; }
  .nav ul { flex-direction: row; align-items: center; gap: 1.4rem; }
  .nav a { border-top: 0; padding: 0.5rem 0; font-size: 0.97rem; }
  .nav a.btn { margin-top: 0; }
}

/* Secties */
.sec { padding-block: clamp(3rem, 6vw, 4.75rem); }
.sec--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.sec--alt { background: var(--surface); }
.sec-head { max-width: 42rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sec-head p { margin-top: 0.9rem; color: var(--ink-2); }

.rule { width: 4.5rem; height: 0.4rem; background: var(--accent); margin-bottom: 1.25rem; }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); max-width: 38rem; color: var(--ink-2); margin-top: 1.25rem; }

.hero { padding-block: clamp(2rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
.hero-grid > * { min-width: 0; }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
}

/* Foto's en plaatshouders. Zodra img/foto-XX.jpg bestaat, verdwijnt de plaatshouder vanzelf. */
.foto { margin: 0; }
.foto-box { position: relative; aspect-ratio: var(--r, 4/3); background: var(--ph-bg); overflow: hidden; border-radius: 0.15rem; }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.15rem;
  padding: 1.1rem 1.25rem; color: var(--ink-2);
  background-image: linear-gradient(var(--ph-grid) 1px, transparent 1px), linear-gradient(90deg, var(--ph-grid) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
  outline: 2px dashed var(--ph-grid); outline-offset: -0.6rem;
}
.ph-nr { font-weight: 800; font-stretch: 120%; color: var(--ink); }
.ph-txt { font-size: 0.9rem; max-width: 24ch; line-height: 1.35; }
.foto figcaption { font-size: 0.9rem; color: var(--ink-2); margin-top: 0.5rem; }

/* Vertrouwensrij */
.trust { display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 0; padding-block: 1.75rem; border-block: 1px solid var(--line); }
.trust dt { font-weight: 700; font-stretch: 110%; }
.trust dd { margin: 0.15rem 0 0; color: var(--ink-2); font-size: 0.95rem; }

/* Kaarten */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.card { display: flex; flex-direction: column; gap: 1rem; background: var(--surface); border-top: 0.4rem solid var(--accent); padding-bottom: 1.5rem; min-width: 0; }
.card-body { padding-inline: 1.25rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.card-body p { color: var(--ink-2); }
.linklist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-top: auto; padding-top: 0.5rem; }
.linklist a { font-weight: 700; }

.banner { display: grid; gap: 1rem; align-items: center; margin-top: 1.5rem; padding: 1.5rem; background: var(--surface); border-left: 0.4rem solid var(--accent); }
.banner p { color: var(--ink-2); margin-top: 0.4rem; }
@media (min-width: 48rem) { .banner { grid-template-columns: 1fr auto; } }

/* Tweekolommen */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 52rem) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--rev .split-media { order: -1; }
}
.prose p { margin-top: 1rem; max-width: 40rem; }
.prose h2 + p { margin-top: 1.1rem; }
.prose h3 { margin-top: 1.75rem; }
.prose h3 + p { margin-top: 0.5rem; }
.prose .btn { margin-top: 1.5rem; }
.muted { color: var(--ink-2); }

.cols { display: grid; gap: 1.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.cols > * { min-width: 0; }
.cols h3 { margin-bottom: 0.5rem; }

/* Lijsten */
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.55rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.65rem; height: 0.65rem; background: var(--accent); }
.ticks--con li::before { height: 0.16rem; top: 0.75em; background: var(--ink-2); }

.compare { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.compare > section { background: var(--surface); padding: 1.5rem; border-top: 0.4rem solid var(--accent); min-width: 0; }
.compare h3 { font-size: 1.5rem; font-stretch: 120%; }
.compare h4 { margin: 1.25rem 0 0; font-size: 1rem; font-weight: 700; font-stretch: 105%; }
.compare .ticks { margin-top: 0.6rem; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 0.9rem; }
.steps li::before { content: counter(s); display: block; font-size: 2rem; line-height: 1; font-weight: 800; font-stretch: 125%; margin-bottom: 0.6rem; }
.steps h3 { font-size: 1.05rem; }
.steps p { margin-top: 0.35rem; color: var(--ink-2); font-size: 0.95rem; }

.gallery { display: grid; gap: 1.25rem 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.gallery > li { min-width: 0; }

.brands { display: flex; flex-wrap: wrap; gap: 0.4rem 2.25rem; margin: 1rem 0 0; padding: 0; list-style: none; font-weight: 800; font-stretch: 125%; font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); }

.towns { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.towns li { border: 1.5px solid var(--ink-2); padding: 0.35rem 0.9rem; font-weight: 600; }

.packs { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.pack { background: var(--surface); padding: 1.5rem; border-top: 0.4rem solid var(--accent); min-width: 0; }
.pack h3 { font-size: 1.2rem; }
.pack p { color: var(--ink-2); margin-top: 0.5rem; font-size: 0.95rem; }
.pack .ticks { margin-top: 0.9rem; }

.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-stretch: 108%; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin-top: 0.7rem; max-width: 42rem; color: var(--ink-2); }

/* Formulier */
.form { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--ink-2); border-radius: 0.3rem; padding: 0.7rem 0.8rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 0.9rem 1rem; background: var(--surface); border-left: 0.4rem solid var(--accent); }
.small { font-size: 0.9rem; color: var(--ink-2); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-list strong { display: block; font-stretch: 110%; }
.contact-list a { font-weight: 700; font-size: 1.15rem; }

/* Donkere band en voettekst */
.band { background: linear-gradient(var(--band-ov), var(--band-ov)), url("../img/merk/patroon.jpg") center / cover, var(--band-bg); color: var(--band-fg); }
.band .lead { color: var(--band-2); }
.band .btn { background: var(--band-fg); color: var(--band-bg); border-color: var(--band-fg); }
.band .btn--ghost { background: transparent; color: var(--band-fg); border-color: var(--band-fg); }
.band .btn:hover { background: var(--band-btn-hover); border-color: var(--band-btn-hover); color: var(--band-bg); }
.bigtel { display: inline-block; margin-top: 1.25rem; font-size: clamp(1.8rem, 1rem + 3.4vw, 3.2rem); font-weight: 800; font-stretch: 120%; text-decoration: none; letter-spacing: -0.01em; }
.bigtel:hover { text-decoration: underline; text-decoration-color: var(--accent); }

.site-footer { background: var(--foot-bg); color: var(--band-fg); padding-block: 3rem 2rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.foot-logo { height: 2.4rem; width: auto; margin-bottom: 1rem; }
.foot-h { font-size: 1rem; font-weight: 700; font-stretch: 110%; margin: 0 0 0.75rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.site-footer p { color: var(--band-2); }
.site-footer a { text-decoration-color: var(--band-2); }
.site-footer a:hover { text-decoration-color: var(--accent); }
.legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--band-line); font-size: 0.9rem; color: var(--band-2); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* Vaste balk op telefoon */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg); border-top: 1px solid var(--line);
}
.dock .btn { padding: 0.7rem 0.5rem; font-size: 0.95rem; }
.page { padding-bottom: 4.5rem; }
@media (min-width: 48rem) { .dock { display: none; } .page { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Filterformulier */
.choices { border: 0; padding: 0; margin: 0; display: grid; gap: 0.8rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .choices { grid-template-columns: 1fr 1fr; } .choices legend { grid-column: 1 / -1; } }
.choices legend { font-weight: 600; margin-bottom: 0.3rem; padding: 0; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; background: var(--surface); border: 1.5px solid var(--ink-2); border-radius: 0.3rem; }
.choice em { font-style: normal; color: var(--accent); font-weight: 700; }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field input[type="file"] { padding: 0.55rem 0.7rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-2); }
.check input { margin-top: 0.25rem; width: 1.1rem; height: 1.1rem; flex: none; }
.form-status.is-error { border-left-color: #B3261E; }
.form .full > .small { margin-left: 0.8rem; }

/* Merklogo's in de eigen merkkleuren op een lichte tegel, ook in donker thema */
.brandlogos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); gap: 0.75rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.brandlogos li { display: flex; align-items: center; justify-content: center; height: 5rem; padding: 0 1.25rem; background: #fff; border: 1px solid rgba(27, 66, 121, 0.18); }
.brandlogos img { display: block; width: 100%; height: 2.25rem; object-fit: contain; }
.brandlogos li:first-child img { height: 3.4rem; }

/* Merkenstrook op de startpagina: lichte band over de volle breedte, logo's los naast elkaar */
.brandstrip { background: #fff; border-bottom: 1px solid var(--line); }
.brandstrip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 3rem; padding-block: 1.5rem; }
.brandstrip p { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1B4279; flex: 0 0 auto; }
.brandstrip ul { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; margin: 0; padding: 0; list-style: none; flex: 1 1 24rem; }
.brandstrip li { display: flex; align-items: center; }
.brandstrip img { display: block; height: 1.9rem; width: auto; max-width: 8rem; object-fit: contain; }
.brandstrip li:first-child img { height: 3rem; }
@media (max-width: 40rem) { .brandstrip ul { gap: 1.25rem 1.75rem; } }

.trust-skh { display: flex; align-items: center; gap: 1rem; }
.trust-skh img { display: block; height: 2.75rem; width: auto; flex: 0 0 auto; }
.brandstrip .wrap { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.brandstrip ul { width: 100%; justify-content: space-between; flex: none; }
@media (max-width: 40rem) { .brandstrip ul { justify-content: flex-start; } }

.logotile { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); padding: 12%; }
.logotile img { display: block; max-width: 70%; max-height: 100%; width: auto; height: auto; }
.brandlogos--plain li:first-child img { height: 2.25rem; }
.brandlogos--plain img { height: 2.5rem; }
.brandlogos--plain { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 16rem)); }
.brandlogos--plain img, .brandlogos--plain li:first-child img { height: 3rem; }
.logotile--wide { aspect-ratio: 3 / 2; padding: 8%; }
.logotile--wide img { max-width: 100%; }
.trust-skh .pin { flex: 0 0 auto; width: 2.75rem; height: 2.75rem; color: var(--accent); }
.trust-skh img[src*="zegel"] { height: 3.25rem; background: #fff; padding: 0.3rem 0.4rem; border-radius: 0.2rem; }
.brandstrip ul { gap: 1.25rem 1.5rem; }
.brandstrip li { flex: 0 0 auto; }
.brandstrip img { max-width: 7.5rem; }
.brandstrip li:last-child img { height: 2.4rem; }
.trust { border-bottom: 0; padding-bottom: 1.5rem; }

/* Panoramabanner */
.pano { padding-block: 0 clamp(2rem, 4vw, 3rem); }
.pano .foto-box { aspect-ratio: 3 / 1; }
@media (max-width: 40rem) { .pano .foto-box { aspect-ratio: 16 / 10; } }

.mapbox{aspect-ratio:4/3;border-radius:6px;overflow:hidden;border:1px solid var(--line,#d6dde8);background:#eef2f7}
.mapbox iframe{width:100%;height:100%;border:0;display:block}
address{font-style:normal;line-height:1.6;margin:0 0 1.25rem}
