:root {
  --red: #dd3333;
  --red-dark: #b52a2a;
  --ink: #2b2b2b;
  --ink-soft: #555;
  --paper: #ffffff;
  --sand: #f6f4f0;
  --line: #e6e2db;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 4px solid var(--red);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
}
.site-nav a:hover { background: var(--sand); text-decoration: none; }
.site-nav a.active { color: var(--red); }
.site-nav a.cta {
  background: var(--red);
  color: #fff;
}
.site-nav a.cta:hover { background: var(--red-dark); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.hero .inner {
  position: relative;
  padding: 110px 20px 90px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  max-width: 640px;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero p {
  margin-top: 14px;
  font-size: 1.15rem;
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.hero .buttons { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  background: var(--red);
  color: #fff;
}
.btn:hover { background: var(--red-dark); text-decoration: none; }
.btn.ghost {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
}
.btn.ghost:hover { background: rgba(255,255,255,.28); }

/* page hero (subpages) */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.page-hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.page-hero .inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 20px 55px;
}
.page-hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.page-hero p.sub { margin-top: 6px; font-size: 1.1rem; text-shadow: 0 1px 10px rgba(0,0,0,.6); }

/* ---------- sections ---------- */
section { padding: 56px 0; }
section.alt { background: var(--sand); }
h2.section-title {
  font-size: 1.7rem;
  margin-bottom: 8px;
}
h2.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 10px;
}
.section-lead { color: var(--ink-soft); max-width: 700px; margin-bottom: 30px; }

/* ---------- tent cards ---------- */
.tent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.tent-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  text-decoration: none;
}
.tent-card img { height: 210px; width: 100%; object-fit: cover; }
.tent-card .body { padding: 18px 20px 20px; color: var(--ink); }
.tent-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tent-card p { color: var(--ink-soft); font-size: .95rem; }
.tent-card .meta {
  margin-top: 12px;
  font-weight: 700;
  color: var(--red);
  font-size: .95rem;
}

/* ---------- specs ---------- */
.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.spec-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-box h3 {
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  font-size: 1.05rem;
}
.spec-box table { width: 100%; border-collapse: collapse; }
.spec-box td {
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-size: .96rem;
}
.spec-box tr:first-child td { border-top: 0; }
.spec-box td:first-child { color: var(--ink-soft); width: 46%; }
.spec-box td:last-child { font-weight: 600; }

.doc-list { list-style: none; margin-top: 14px; }
.doc-list li { margin-bottom: 8px; }
.doc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink);
}
.doc-list a:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.doc-list a::before { content: "\1F4C4"; }

/* checklist (usp) */
.usp-list { list-style: none; display: grid; gap: 10px; }
.usp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
}
.usp-list li::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .85rem;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.gallery a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
.gallery a:hover img { transform: scale(1.04); }

/* lightbox */
dialog.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  overflow: hidden;
  color: #fff;
}
dialog.lightbox::backdrop { background: rgba(0,0,0,.9); }
dialog.lightbox .stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 16px 56px;
}
dialog.lightbox img {
  max-width: min(94vw, 1400px);
  max-height: calc(100dvh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity .18s ease;
}
dialog.lightbox img.ready { opacity: 1; }
dialog.lightbox .lb-btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: background .15s ease, transform .15s ease;
}
dialog.lightbox .lb-btn:hover { background: rgba(0,0,0,.75); }
dialog.lightbox .lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
dialog.lightbox .close {
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  font-size: 1.8rem;
}
dialog.lightbox .prev,
dialog.lightbox .next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 1.6rem;
}
dialog.lightbox .prev { left: 14px; }
dialog.lightbox .next { right: 14px; }
dialog.lightbox .prev:hover,
dialog.lightbox .next:hover { transform: translateY(-50%) scale(1.06); }
dialog.lightbox .counter {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  font-size: .85rem;
  letter-spacing: .04em;
}
@media (max-width: 640px) {
  dialog.lightbox .stage { padding: 56px 8px 52px; }
  dialog.lightbox .prev, dialog.lightbox .next { width: 42px; height: 42px; font-size: 1.3rem; }
  dialog.lightbox .prev { left: 6px; }
  dialog.lightbox .next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.lightbox img { transition: none; }
  dialog.lightbox .lb-btn:hover { transform: none; }
  dialog.lightbox .prev:hover, dialog.lightbox .next:hover { transform: translateY(-50%); }
}

/* ---------- badge ---------- */

.cert-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 40px;
}
.cert-strip img { width: 64px; height: 64px; }
.cert-strip p { font-size: .95rem; color: var(--ink-soft); }
.cert-strip strong { color: var(--ink); }

/* prev/next tent nav */
.tent-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: 30px;
  background: var(--ink);
  color: #cfcfcf;
  padding: 36px 0;
  font-size: .95rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer a { color: #fff; }

/* ---------- tekening-download (klein knopje in de content) ---------- */
.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  margin-bottom: 26px;
}
.doc-download:hover {
  color: var(--red);
  border-color: var(--red);
  text-decoration: none;
}
.doc-download::before { content: "\2B07"; font-size: .85rem; }

/* ---------- kleurenchips bovenaan tentpagina ---------- */
.page-tools {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.page-tools .doc-download { margin-bottom: 0; }
.color-row {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
}
.color-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
a.color-chip:hover {
  border-color: var(--red);
  color: var(--red);
  text-decoration: none;
}
.color-chip .dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  flex: 0 0 auto;
}

/* ---------- footer altijd onderaan + linkkolommen ---------- */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-footer { margin-top: auto; padding: 44px 0 0; }
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  width: 100%;
  padding-bottom: 34px;
}
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}
.site-footer .col p { max-width: 320px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 18px;
  padding-bottom: 22px;
  font-size: .88rem;
  color: #a8a8a8;
}
.site-footer .cols { align-items: start; }


/* ---------- contact: mail-first ---------- */
.mail-hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
@media (max-width: 800px) { .mail-hero { grid-template-columns: 1fr; } }

.mail-main { padding: 38px 40px 34px; border-top: 5px solid var(--red); }
@media (max-width: 560px) { .mail-main { padding: 30px 24px; } }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.mail-main h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.2; }
.mail-main > p { color: var(--ink-soft); margin-top: 14px; max-width: 46ch; }

.mail-cta {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 26px;
  padding: 16px 30px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  transition: background .15s ease, transform .15s ease;
}
.mail-cta:hover { background: var(--red-dark); text-decoration: none; transform: translateY(-2px); }
.mail-cta .label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.mail-cta .addr { font-size: 1.35rem; font-weight: 800; line-height: 1.25; word-break: break-all; }

.mail-note { margin-top: 16px; font-size: .92rem; color: var(--ink-soft); }
.copy-mail {
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--red);
  background: none;
  border: 0;
  border-bottom: 1px dashed var(--red);
  padding: 0;
  cursor: pointer;
}
.copy-mail:hover { color: var(--red-dark); }
.copy-mail.done { color: #2f7d43; border-bottom-color: #2f7d43; }

.mail-side {
  background: var(--sand);
  border-left: 1px solid var(--line);
  padding: 34px 32px;
}
@media (max-width: 800px) { .mail-side { border-left: 0; border-top: 1px solid var(--line); } }
.mail-side h3 { font-size: 1.05rem; margin-bottom: 16px; }
.check-list { list-style: none; display: grid; gap: 11px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .38em;
  width: 15px; height: 8px;
  border-left: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg);
}
.check-list strong { color: var(--ink); }
.mail-side-note { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); font-style: italic; }

.mail-tents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.mail-tent {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.mail-tent:hover {
  border-color: var(--red);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.07);
}
.mail-tent img { width: 100%; height: 110px; object-fit: cover; }
.mail-tent .name { font-weight: 700; padding: 12px 14px 0; }
.mail-tent .go { font-size: .88rem; font-weight: 600; color: var(--red); padding: 2px 14px 14px; }

.btn-note { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); }

/* Referenties: logowand op de homepage */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.ref-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 18px 14px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ref-tile:hover {
  border-color: #cfc9bf;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.ref-tile .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
}
.ref-tile .logo img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
  transition: filter .15s, opacity .15s;
}
.ref-tile:hover .logo img { filter: none; opacity: 1; }
.ref-tile .logo.text {
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.2;
  color: var(--ink-soft);
}
.ref-tile:hover .logo.text { color: var(--red); }
.ref-tile .name {
  font-size: .8rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.3;
}
.ref-tile .name small { display: block; font-size: .7rem; opacity: .75; }
.ref-more {
  margin-top: 18px;
  font-size: .9rem;
  color: var(--ink-soft);
}
