/* BNO — 01-base.css: Design tokens, reset, typografie, knoppen */
/* Huisstijl: --bno-blue = #236784, --bno-green = #4f9166. Oude namen blijven aliassen. */
/* --bno-lime is gereserveerd en geen merkkleur. Hovertokens alleen voor interactie. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: 400 700;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4/source-serif-4-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4/source-serif-4-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Huisstijl — één blauw, één groen */
  --bno-blue: #236784;
  --bno-blue-rgb: 35, 103, 132;
  --bno-blue-hover: #1c566c;
  --bno-green: #4f9166;
  --bno-green-hover: #3e7552;
  --bno-lime: #8ed630;
  --bno-warm: #f5f3ee;
  --bno-white: #ffffff;
  --bno-light-grey: #f2f2f2;
  --bno-dark-grey: #677a89;

  /* Bestaande namen blijven aliassen van de centrale merkkleuren */
  --bno-navy: var(--bno-blue);
  --bno-navy-bright: var(--bno-blue);
  --bno-primary: var(--bno-blue);
  --bno-secondary: var(--bno-blue);
  --bno-cta: var(--bno-green);
  --bno-cta-hover: var(--bno-green-hover);
  --bno-bg: var(--bno-white);
  --bno-paper: var(--bno-warm);
  --bno-paper-strong: #f2f1ed;
  --bno-light: #f7f9fb;
  --bno-text: #1c2430;
  --bno-muted: #5b6573;
  --bno-line: rgba(var(--bno-blue-rgb), 0.12);
  --bno-overlay: rgba(var(--bno-blue-rgb), 0.18);
  --bno-cta-forest: var(--bno-green-hover);
  --bno-cta-forest-hover: var(--bno-green-hover);

  --bno-text-primary: var(--bno-text);
  --bno-text-secondary: var(--bno-muted);
  --bno-border: var(--bno-line);
  --bno-shadow: 0 8px 24px rgba(var(--bno-blue-rgb), 0.08);
  --bno-shadow-soft: 0 1px 0 var(--bno-line);
  --bno-focus: var(--bno-green);
  --bno-hover: var(--bno-green-hover);
  --bno-footer-text: #d7e2ec;
  --bno-footer-muted: rgba(255, 255, 255, 0.58);

  --bno-radius-shell: 14px;
  --bno-radius-card: 12px;
  --bno-radius-btn: 10px;
  --bno-radius-hover: 8px;
  --radius-nav: var(--bno-radius-shell);
  --radius-card: var(--bno-radius-card);
  --radius-button: var(--bno-radius-btn);
  --radius-small: var(--bno-radius-hover);
  --bno-radius: var(--bno-radius-card);
  --bno-btn-radius: var(--bno-radius-btn);
  --bno-hero-fade-light: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 20%,
    rgba(255, 255, 255, 0.55) 35%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0) 55%
  );

  --bno-container: 1240px;
  --bno-narrow: 1100px;
  --bno-gutter: 24px;
  --bno-section-mobile: 40px;
  --bno-section-tablet: 52px;
  --bno-section-desktop: 64px;
  --bno-section: var(--bno-section-mobile);
  --bno-gap-card: 16px;
  --bno-gap-content: 24px;

  --bno-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-inset-x: 12px;
  --header-inset-y: 10px;
  --header-bar-h: 56px;
  --header-h: 66px;
  --header-radius: var(--radius-nav);
  --header-shell: rgba(var(--bno-blue-rgb), 0.92);
  --header-shell-strong: rgba(var(--bno-blue-rgb), 0.97);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

@media (min-width: 768px) {
  :root {
    --bno-gutter: 32px;
    --bno-section: var(--bno-section-tablet);
    --header-inset-x: 16px;
    --header-inset-y: 12px;
    --header-bar-h: 62px;
    --header-h: 74px;
  }
}

@media (min-width: 1024px) {
  :root {
    --bno-gutter: 40px;
    --bno-section: var(--bno-section-desktop);
    --header-inset-x: 20px;
    --header-inset-y: 12px;
    --header-bar-h: 64px;
    --header-h: 76px;
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--bno-text);
  background: var(--bno-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

main {
  overflow-x: clip;
  max-width: 100%;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
.h1 {
  font-family: var(--font);
  font-size: 36px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h2,
.h2 {
  font-family: var(--font);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3,
.h3 {
  font-family: var(--font);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.heading-display {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--bno-navy);
}

.body-large,
.lead {
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.55;
  color: var(--bno-text-secondary);
  max-width: 40rem;
}

.text-meta,
.meta,
.small {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.45;
  color: var(--bno-text-secondary);
}

@media (min-width: 768px) {
  h1,
  .h1 {
    font-size: 48px;
  }

  h2,
  .h2 {
    font-size: 36px;
  }

  h3,
  .h3 {
    font-size: 26px;
  }
}

@media (min-width: 1024px) {
  h1,
  .h1 {
    font-size: 56px;
  }

  h2,
  .h2 {
    font-size: 40px;
  }

  h3,
  .h3 {
    font-size: 28px;
  }
}

.kicker,
.eyebrow {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bno-navy-bright);
  margin-bottom: 16px;
}

.container {
  width: min(100% - (var(--bno-gutter) * 2), var(--bno-container));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - (var(--bno-gutter) * 2), var(--bno-narrow));
  max-width: 100%;
  min-width: 0;
}

.section {
  padding-block: var(--bno-section);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

.section--light,
.section--white {
  background: var(--bno-white);
}

.section--light {
  box-shadow: 0 1px 0 var(--bno-line), 0 -1px 0 var(--bno-line);
}

.section--warm {
  background: var(--bno-warm);
}

.section--light-grey {
  background: var(--bno-light-grey);
}

.section--navy {
  background: var(--bno-navy);
  color: var(--bno-white);
}

.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-small);
  background: var(--bno-white);
  color: var(--bno-secondary);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(var(--bno-blue-rgb), 0.24);
  transform: translateY(calc(-100% - 24px));
}

.skip-link:focus {
  transform: none;
  outline: 3px solid var(--bno-focus);
  outline-offset: 2px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-button);
  background: var(--bno-green);
  color: var(--bno-white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s var(--bno-ease), color 0.2s var(--bno-ease), border-color 0.2s var(--bno-ease), transform 0.2s var(--bno-ease);
}

.btn:hover {
  background: var(--bno-green-hover);
  color: var(--bno-white);
}

.btn:focus-visible {
  background: var(--bno-green);
  color: var(--bno-white);
  outline: 2px solid var(--bno-navy);
  outline-offset: 3px;
}

.btn--secondary,
.btn--light {
  background: var(--bno-white);
  color: var(--bno-navy);
  border: 1px solid var(--bno-border);
}

.btn--secondary:hover,
.btn--light:hover {
  background: var(--bno-light-grey);
  color: var(--bno-navy);
  border-color: var(--bno-navy-bright);
}

.btn--secondary:focus-visible,
.btn--light:focus-visible {
  background: var(--bno-white);
  color: var(--bno-navy);
  outline: 2px solid var(--bno-green);
  outline-offset: 3px;
}

.btn--ghost {
  background: transparent;
  color: inherit;
  padding-inline: 0;
  min-height: auto;
  border: 0;
}

.btn--ghost:hover {
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn--ghost:focus-visible {
  background: transparent;
  outline: 2px solid var(--bno-green);
  outline-offset: 3px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--bno-navy-bright);
  letter-spacing: -0.01em;
}

.text-link:hover {
  color: var(--bno-blue-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:focus-visible {
  color: var(--bno-navy);
  outline: 2px solid var(--bno-green);
  outline-offset: 3px;
}

/* Generieke visuele basis — nog niet per template toepassen */

.bno-card,
.bno-card--image,
.bno-card--knowledge,
.bno-card--service,
.bno-card--project,
.info-block {
  border-radius: var(--radius-card);
  border: 1px solid var(--bno-border);
  background: var(--bno-white);
  box-shadow: var(--bno-shadow);
}

.cta-block {
  width: 100%;
  max-width: 100%;
  background: var(--bno-warm);
}

.bno-card:hover,
.bno-card--image:hover,
.bno-card--knowledge:hover,
.bno-card--service:hover,
.bno-card--project:hover {
  border-color: rgba(var(--bno-blue-rgb), 0.22);
}

.field,
.form input,
.form select,
.form textarea {
  border-radius: var(--radius-small);
}

