/* ==========================================================================
   Gratis Boekhoudprogramma ZZP - stylesheet
   Handgeschreven CSS, geen frameworks.
   ========================================================================== */

:root {
  --navy: #0b3558;
  --white: #ffffff;
  --gray: #eef1f4;
  --teal: #2f6f6f;
  --teal-dark: #234f4f;
  --radius: 10px;
  --max-width: 1120px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: #1c2b36;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--teal-dark);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  font-weight: 800;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 2.75rem);
}

h2 {
  font-size: clamp(1.4rem, 2vw + 1rem, 1.9rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 1rem;
}

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

/* ------------------------- Skip link (a11y) ------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* ------------------------------- Header ------------------------------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
}

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

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.7rem;
  color: #c9d7e2;
  font-weight: 500;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle svg {
  stroke: var(--white);
}

.main-nav {
  display: none;
  width: 100%;
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    width: auto;
  }

  .main-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 0.25rem;
  }
}

/* -------------------------------- Hero -------------------------------- */
.hero {
  background: var(--gray);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero .container {
  max-width: 760px;
}

.hero p.lead {
  font-size: 1.1rem;
  color: #33495a;
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--teal);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* -------------------------------- Sections ----------------------------- */
section {
  padding: 3rem 0;
}

.section-gray {
  background: var(--gray);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* --------------------------------- Cards -------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid #e1e7eb;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-gray .card {
  background: var(--white);
}

.card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--teal);
}

.card p {
  flex-grow: 1;
  color: #3c5164;
  font-size: 0.96rem;
}

.card .read-more {
  font-weight: 700;
  font-size: 0.9rem;
}

/* ------------------------------ Icon lists ------------------------------ */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.icon-list svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  stroke: var(--teal);
}

.icon-cross svg {
  stroke: #8a5b3c;
}

/* -------------------------------- Article -------------------------------- */
.article-header {
  background: var(--gray);
  padding: 2.75rem 0 2.25rem;
}

.article-header .container {
  max-width: 760px;
}

.meta {
  color: #5a6f7f;
  font-size: 0.88rem;
  font-weight: 600;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.article-body h2 {
  margin-top: 2.25rem;
}

.article-body h3 {
  margin-top: 1.5rem;
}

.article-body ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.article-body ul li {
  margin-bottom: 0.4rem;
}

.article-nav {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* -------------------------------- Explainer ------------------------------ */
.explainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .explainer {
    grid-template-columns: 1fr 1fr;
  }
}

.explainer .card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* -------------------------------- Footer -------------------------------- */
.site-footer {
  background: var(--navy);
  color: #cfdbe4;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: #cfdbe4;
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: #9fb3c2;
}

/* -------------------------------- Utilities -------------------------------- */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 2rem;
}

.disclaimer {
  font-size: 0.85rem;
  color: #5a6f7f;
  background: var(--gray);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.contact-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
