/* Vencer — eigen stylesheet. Geen framework, geen JavaScript. */

:root {
  --rood: #b81f2d;
  --rood-donker: #8f1822;
  --inkt: #1a1a1a;
  --grijs: #5d6470;
  --lijn: #e4e6ea;
  --navy: #13233f;
  --max: 1180px;
}

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

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

body {
  margin: 0;
  color: var(--inkt);
  background: #fff;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: var(--rood); }
a:hover { color: var(--rood-donker); }

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

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--rood); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--lijn);
  position: sticky; top: 0; background: rgba(255,255,255,.97); z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.logo img { width: 72px; height: 72px; }

.site-header nav ul {
  list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; flex-wrap: wrap;
}
.site-header nav a {
  color: var(--inkt); text-decoration: none; font-weight: 600; font-size: 17px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--rood); border-bottom-color: var(--rood); }

/* mobiel menu zonder JavaScript */
.nav-toggle { display: none; }
.nav-button { display: none; margin-left: auto; cursor: pointer; padding: 12px; }
.nav-button span,
.nav-button span::before,
.nav-button span::after {
  display: block; width: 26px; height: 2px; background: var(--inkt); content: ""; position: relative;
}
.nav-button span::before { position: absolute; top: -8px; }
.nav-button span::after { position: absolute; top: 8px; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; background: #000; }
.hero img { width: 100%; max-height: 62vh; object-fit: cover; opacity: .92; }
.hero-text {
  position: absolute; inset: auto 0 12% 0; text-align: center; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.65); padding: 0 24px;
}
.hero-text h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 .3em; letter-spacing: .02em; }
.hero-text p { margin: 0; font-size: clamp(1rem, 2vw, 1.25rem); }

/* ── Tekstpagina's ──────────────────────────────────────── */
.page { padding: 56px 24px 72px; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 .6em; }
.page h2 { font-size: 1.45rem; margin: 1.8em 0 .5em; }
.page h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.page p, .page li { color: #2c3138; }
.page img { margin: 1.6em 0; border-radius: 3px; }

.article { max-width: 780px; }
.article .back { margin-bottom: 1.4em; }
.article .back a { text-decoration: none; font-weight: 600; }

/* ── Home-teasers ───────────────────────────────────────── */
.teasers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px; padding-top: 64px; padding-bottom: 72px; text-align: center;
}
.teasers h2 { font-size: 1.5rem; margin: 0 0 .5em; }
.teasers h2::after {
  content: ""; display: block; width: 54px; height: 2px; background: var(--rood);
  margin: .55em auto 0;
}

.btn {
  display: inline-block; background: var(--rood); color: #fff; text-decoration: none;
  font-weight: 600; padding: 12px 26px; border-radius: 2px;
}
.btn:hover { background: var(--rood-donker); color: #fff; }

/* ── Galerij ────────────────────────────────────────────── */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px; margin-top: 2em;
}
.grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ── Nieuwsoverzicht ────────────────────────────────────── */
.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 34px; margin-top: 2em;
}
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: .9em; }
.card h2 { font-size: 1.15rem; margin: 0 0 .4em; }
.card h2 a { color: var(--inkt); text-decoration: none; }
.card h2 a:hover { color: var(--rood); }
.card p { color: var(--grijs); font-size: .95rem; margin: 0; }

/* ── Contact ────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px; margin-top: 2em;
}

/* ── Tabellen (specificaties) ───────────────────────────── */
.page table { border-collapse: collapse; width: 100%; margin: 1.6em 0; font-size: .95rem; }
.page th, .page td { border-bottom: 1px solid var(--lijn); padding: 10px 12px; text-align: left; }
.page th { background: #f6f7f9; font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #c9d2e1; margin-top: 64px; }
.site-footer .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; padding-top: 48px; padding-bottom: 48px;
}
.site-footer p { margin: 0 0 .5em; font-size: .95rem; }
.site-footer a { color: #fff; }
.foot-name { font-weight: 700; color: #fff; letter-spacing: .04em; }
.copy { color: #8492aa; }

/* ── Klein scherm ───────────────────────────────────────── */
@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; min-height: 72px; gap: 12px; }
  .logo img { width: 56px; height: 56px; }
  .nav-button { display: block; }
  .site-header nav { flex-basis: 100%; display: none; }
  .nav-toggle:checked ~ nav { display: block; }
  .site-header nav ul { flex-direction: column; gap: 0; padding-bottom: 12px; }
  .site-header nav li { border-top: 1px solid var(--lijn); }
  .site-header nav a { display: block; padding: 12px 0; border-bottom: 0; }
  .hero img { max-height: 44vh; }
}
