/* e-encodage – TRIXXO Jobs. Huisstijl: TRIXXO-groen #76b82a met zwart en wit, Titillium Web, ronde hoeken.
   Groen enkel voor accenten (iconen, randen, balk): als tekstkleur op wit is het contrast te laag. */

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/titillium-web-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/titillium-web-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/titillium-web-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --green: #76b82a;
  --green-tint: #f1f8e8;
  --green-soft: #e3f1d1;
  --ink: #111111;
  --muted: #5a5f57;
  --line: #e2e6dd;
  --bg: #f5f7f2;
  --white: #ffffff;
  --radius: 16px;
  --font: "Titillium Web", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

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

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: 12px; }

/* ── kop ──────────────────────────────────────────────────────────────────── */
.top {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.logo { width: 141px; height: 48px; }

.lang { display: flex; gap: 6px; }
.lang a {
  display: inline-block;
  min-width: 44px;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  text-decoration: none;
}
.lang a:hover { border-color: var(--green); background: var(--green-tint); }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: 40px 0 8px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}
h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 6px;
  margin-top: 18px;
  border-radius: 3px;
  background: var(--green);
}
.lead {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}
.lead--fr {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 400;
}
.hero__art { max-width: 300px; }
.hero__art img {
  width: 100%;
  border-radius: 24px;
}

/* ── handleidingen ────────────────────────────────────────────────────────── */
.guides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 48px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  scroll-margin-top: 16px;
}
.card h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.docs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.doc {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.doc:hover { border-color: var(--green); background: var(--green-tint); }
.doc:focus-visible,
.lang a:focus-visible,
.foot a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
.doc__icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.doc__text { display: flex; flex-direction: column; min-width: 0; }
.doc__label { font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.doc__sub { color: var(--muted); font-size: 0.9375rem; line-height: 1.3; }
.doc__tag {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--green-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ── voet ─────────────────────────────────────────────────────────────────── */
.foot {
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}
.foot__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}
.foot a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; }

/* ── 404 ──────────────────────────────────────────────────────────────────── */
.notfound { padding: 56px 0 72px; }
.notfound p { margin: 0 0 6px; font-size: 1.125rem; }
.notfound .back {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.notfound .back:hover { background: #2a2a2a; }

/* ── breder scherm ────────────────────────────────────────────────────────── */
@media (min-width: 860px) {
  .hero { padding-top: 56px; }
  .hero__inner { grid-template-columns: 1fr 440px; gap: 40px; }
  .hero__art { max-width: none; }
  .guides { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 32px; }
  .card { padding: 28px 26px 24px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .top__inner { min-height: 64px; }
  .logo { width: 118px; height: 40px; }
  .hero { padding-top: 28px; }
  .lead { font-size: 1.125rem; }
  .doc { grid-template-columns: 24px 1fr auto; gap: 10px; padding: 11px 12px; }
  .doc__icon { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .doc { transition: none; }
}
