/* =========================================================
   Actief65+ clone - base.css
   Reset, design tokens, typography
   Alle waarden gemeten via getComputedStyle() op actief65plus.nl
   ========================================================= */

:root {
  --color-blue: #006485;
  --color-sky: #0099cc;
  --color-mist: #e5f4f9;
  --color-green: #99cc33;
  --color-orange: #f38b08;
  --color-text: #333333;
  --color-white: #ffffff;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;

  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h4: 1.25rem;
  --fs-h3: 1.5rem;
  --fs-h2: 2.1875rem;
  --fs-h1: 3.375rem;

  --radius-sm: 5px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 25px;
  --shadow-card: 0 10px 20px rgba(0, 0, 0, 0.12);

  --container-max: 1440px;
  --container-pad: 80px;
  --container-pad-wide: 70px;
  --header-main-height: 97px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Onest", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-white);
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--color-blue);
  font-weight: 500;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.2;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.4;
}

h4 {
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.4;
  color: var(--color-blue);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container--wide {
  padding: 0 var(--container-pad-wide);
}

.section {
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  :root {
    --container-pad: 40px;
    --container-pad-wide: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --container-pad: 20px;
    --container-pad-wide: 20px;
    --fs-h1: 2.25rem;
    --fs-h2: 1.75rem;
    --fs-h3: 1.25rem;
  }

  .section {
    padding-top: var(--sp-12);
    padding-bottom: var(--sp-12);
  }
}
