/* =========================================================
   Herbruikbare basis voor kleine bedrijfswebsites
   Geen framework nodig. Pas de variabelen in :root aan.
   ========================================================= */

:root {
  color-scheme: light;
  --color-brand: #2457a7;
  --color-brand-hover: #1b4382;
  --color-text: #1c2430;
  --color-muted: #5b6573;
  --color-background: #ffffff;
  --color-surface: #f5f7fa;
  --color-border: #dce2ea;
  --color-focus: #f0a202;
  --color-footer: #152238;

  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-heading: var(--font-body);

  --content-width: 1120px;
  --header-height: 4.5rem;
  --radius-sm: 0.35rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --shadow-card: 0 0.5rem 1.5rem rgb(20 35 55 / 7%);

  --space-1: 0.35rem;
  --space-2: 0.65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
}




/* Lokale TTF-lettertypen. Bestanden horen in de map /fonts. */
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* Basis en toegankelijkheid */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-text);
  background: var(--color-background);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

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

img {
  height: auto;
}

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

a {
  color: var(--color-brand);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-brand-hover);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--color-brand);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 var(--space-3);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.4rem;
}

[hidden] {
  display: none !important;
}

/* Layout */
.container {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-6);
}

.section--muted {
  background: var(--color-surface);
}

.stack > * + * {
  margin-top: var(--space-3);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.reading-width {
  max-width: 70ch;
}

.muted {
  color: var(--color-muted);
}

/* Header en navigatie */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 750;
  text-decoration: none;
}

.site-logo:hover {
  color: var(--color-brand);
}

.site-logo img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.menu-toggle {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-background);
  color: var(--color-text);
  cursor: pointer;
  font-weight: 700;
}

.menu-toggle:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.menu-toggle-icon {
  display: grid;
  gap: 4px;
}

.menu-toggle-icon span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.site-nav {
  position: relative;
}

.site-nav ul {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 20;
  min-width: min(17rem, calc(100vw - 2rem));
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  margin: 0;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background);
  box-shadow: var(--shadow-card);
  list-style: none;
}

.site-nav ul.is-open {
  display: flex;
}

.site-nav a {
  display: inline-flex;
  width: 100%;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-brand);
  background: var(--color-surface);
}

/* Intro / hero */
.hero {
  padding-block: clamp(3rem, 10vw, 6.5rem);
  background-color: #0f1b2d;
  background-image:
    linear-gradient(
      rgba(15, 27, 45, 0.75),
      rgba(15, 27, 45, 0.75)
    ),
    url("../images/hero.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--space-5);
}

.hero-copy {
  max-width: 62ch;
}

.hero-lead {
  color: var(--color-muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* Knoppen */
.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--color-brand);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  background: var(--color-brand-hover);
  color: #fff;
}

.button--secondary {
  border-color: var(--color-border);
  background: transparent;
  color: var(--color-text);
}

.button--secondary:hover {
  border-color: var(--color-brand);
  background: var(--color-surface);
  color: var(--color-brand);
}

.button--small {
  min-height: 2.35rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

/* Kaarten */
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background);
}

.card--raised {
  border-color: transparent;
  box-shadow: var(--shadow-card);
}

.card > :last-child {
  margin-bottom: 0;
}

.card .card-link {
  margin-top: auto;
  padding-top: var(--space-3);
  font-weight: 700;
}

/* Formulieren */
.form {
  display: grid;
  gap: var(--space-4);
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-label {
  font-weight: 700;
}

.form-help {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #aeb8c6;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
}

textarea.form-control {
  min-height: 9rem;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--color-brand);
  outline: 3px solid rgb(36 87 167 / 18%);
  outline-offset: 1px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-check input {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin-top: 0.25rem;
  accent-color: var(--color-brand);
}

.form-error {
  color: #a32121;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  padding-block: var(--space-5);
  background: var(--color-footer);
  color: #f4f6fa;
}

.site-footer a {
  color: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Kleine hulpelementen */
.divider {
  height: 1px;
  margin-block: var(--space-4);
  border: 0;
  background: var(--color-border);
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Tablet en desktop */
@media (min-width: 700px) {
  .menu-toggle {
    display: none;
  }

  .site-nav ul,
  .site-nav ul.is-open {
    position: static;
    display: flex;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    width: auto;
  }

  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Golden Progress: merkspecifieke uitbreiding op de herbruikbare basis */
:root {
  color-scheme: dark;
  --color-brand: #d4a437;
  --color-brand-hover: #e8c867;
  --color-text: #ffffff;
  --color-muted: #b9c2d0;
  --color-background: #0f1b2d;
  --color-surface: #14233c;
  --color-border: #26385a;
  --color-focus: #f2d98a;
  --color-footer: #0b1422;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --content-width: 1100px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 10px 30px rgb(0 0 0 / 18%);
}
body { background: var(--color-background); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-brand-hover); }
h1 { max-width: 15ch; font-weight: 600; }
h2 { color: var(--color-brand-hover); font-weight: 600; }
h3 { font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--color-background); border-bottom-color: var(--color-border); }
.header-inner { min-height: 5rem; }
.site-logo { color: var(--color-brand); font-family: var(--font-heading); font-size: clamp(1.2rem, 3vw, 1.55rem); font-weight: 600; letter-spacing: .12em; }
.site-logo-mark { width: 2.75rem; height: 2.75rem; flex: 0 0 auto; }
.site-nav a { color: #fff; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--color-brand-hover); background: transparent; }
.site-nav .nav-cta { padding-inline: 1.25rem; background: var(--color-brand); color: var(--color-background); border-radius: var(--radius-sm); }
.site-nav .nav-cta:hover { background: var(--color-brand-hover); color: var(--color-background); }
.menu-toggle { color: #fff; border-color: var(--color-border); background: var(--color-surface); }
.hero-inner { grid-template-columns: minmax(0, 1fr); }
.hero-copy { max-width: 65rem; }
.eyebrow { margin-bottom: 1rem; color: var(--color-brand); font-size: .875rem; font-weight: 600; letter-spacing: .14em; }
.hero h1 { margin-bottom: 1.5rem; font-size: clamp(2.7rem, 8vw, 5rem); line-height: 1.04; }
.hero-lead { max-width: 39rem; color: var(--color-muted); font-size: clamp(1.05rem, 2.4vw, 1.25rem); }
.hero-actions { margin-top: 2.5rem; }
.button { border-radius: var(--radius-sm); font-weight: 500; padding: 1rem 1.75rem; }
.button--secondary { border-color: var(--color-brand); color: var(--color-brand-hover); }
.button--secondary:hover { background: var(--color-surface); color: var(--color-brand-hover); }
.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--muted { background: var(--color-surface); }
.section-intro { margin-bottom: 2.5rem; }
.section-intro p { max-width: 35rem; color: var(--color-muted); }
.service-grid { grid-template-columns: minmax(0, 1fr); }
.service-card { height: 100%; padding: 1.75rem; background: #1b2e4b; border-color: var(--color-border); }
.service-card h3 { color: #fff; font-size: 1.625rem; }
.service-card p, .benefit p { color: var(--color-muted); }
.benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
.benefit-rule { width: 3rem; height: 4px; margin-bottom: 1.25rem; background: var(--color-brand); }
.contact-cta { background: var(--color-brand); color: var(--color-background); text-align: center; }
.contact-cta h2 { color: var(--color-background); font-size: clamp(2.1rem, 6vw, 3rem); }
.contact-cta p { max-width: 35rem; margin-inline: auto; font-size: clamp(1.05rem, 2.4vw, 1.25rem); }
.contact-cta .button { margin-top: 1rem; background: var(--color-background); color: #fff; }
.contact-cta .button:hover { background: #1b2e4b; }
.contact-details { margin-top: 1.5rem; font-weight: 500; }
.site-footer { padding-block: 1.5rem; color: var(--color-muted); background: var(--color-footer); font-size: .9375rem; }
.footer-inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.site-footer p { margin: 0; }
@media (min-width: 700px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* Mobiel menu: schermvullende overlay */
@media (max-width: 699px) {
  .site-nav ul,
  .site-nav ul.is-open {
    position: fixed;
    inset: 0;
    z-index: 90;

    width: 100%;
    min-width: 0;
    height: 100vh;
    height: 100dvh;

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;

    margin: 0;
    padding: 5rem 2rem 2rem;
    border: 0;
    border-radius: 0;
    background: var(--color-background);
    box-shadow: none;
    list-style: none;
  }

  .site-nav ul.is-open {
    display: flex;
  }
  .menu-toggle {
    position: relative;
    z-index: 300;
  }
  .site-nav li {
    width: 100%;
    max-width: 22rem;
    text-align: center;
  }

  .site-nav a {
    display: flex;
    width: 100%;
    min-height: auto;
    justify-content: center;
    padding: 0.8rem 1rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    text-align: center;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: var(--color-brand);
    background: transparent;
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--color-brand);
    color: var(--color-background);
    font-family: var(--font-body);
    font-size: 1.1rem;
  }

  /* Menuknop boven de overlay houden, zodat je kunt sluiten */
  .menu-toggle {
    position: relative;
    z-index: 300;
    color: #fff;
    background: var(--color-surface);
  }

  .menu-toggle-icon {
    position: relative;
    width: 1.15rem;
    height: 1.15rem;
    display: block;
  }

  .menu-toggle-icon span {
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.15rem;
    height: 2px;
    background: currentColor;
    transform-origin: center;
  }

  .menu-toggle-icon span:nth-child(1) {
    transform: translateY(-5px);
  }

  .menu-toggle-icon span:nth-child(2) {
    transform: none;
  }

  .menu-toggle-icon span:nth-child(3) {
    transform: translateY(5px);
  }

  /* Achtergrondpagina niet laten scrollen wanneer menu open is */
  body:has(.site-nav ul.is-open) {
    overflow: hidden;
  }
}

/* Mobiel menu: toon een duidelijk kruisje wanneer het menu open is. */
@media (max-width: 699px) {
  .menu-toggle-icon span {
    transition: transform 150ms ease, opacity 150ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg);
  }
}


/* Golden Progress footer: drie duidelijke kolommen, afgestemd op de huisstijl */
.site-footer {
  padding-block: 3.25rem 1.25rem;
  border-top: 1px solid rgb(212 164 55 / 35%);
  background: linear-gradient(135deg, #0b1422 0%, #12233b 100%);
  color: #d5deea;
  font-size: 1rem;
}

.site-footer a {
  color: #d5deea;
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: #e8c867;
}

.site-footer a:focus-visible {
  outline: 2px solid #f2d98a;
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(8rem, 0.65fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 2.75rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-logo-mark {
  display: block;
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
}

.footer-logo-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-logo-copy strong {
  color: #e8c867;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.085em;
  line-height: 1;
}

.footer-logo-copy small {
  color: #a9b6ca;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.footer-brand p {
  max-width: 24rem;
  margin: 0;
  color: #aebbd0;
  line-height: 1.7;
}

.footer-column h2 {
  margin: 0.15rem 0 1.1rem;
  color: #e8c867;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: grid;
  gap: 0.15rem;
  overflow-wrap: anywhere;
}

.footer-contact-label {
  color: #8fa0b9;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: #91a0b5;
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #e8c867;
  font-weight: 600;
}

@media (max-width: 699px) {
  .site-footer {
    padding-top: 2.5rem;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-column h2 {
    margin-bottom: 0.8rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}
