/* Boekhouders ZZP — handgeschreven stylesheet, geen frameworks */

:root {
  --navy: #0e2a44;
  --cream: #f7f7f4;
  --white: #ffffff;
  --terracotta: #a85c32;
  --text: #1c2b36;
  --text-muted: #4d5c66;
  --border: #e3e0d8;
  --maxw: 1120px;
  --radius: 6px;
  --font-head: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ---------- Header ---------- */

.site-header {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 3px solid var(--terracotta);
}

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

.brand {
  display: flex;
  flex-direction: column;
  color: var(--cream);
  text-decoration: none;
}

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

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-size: 0.72rem;
  color: #c9d2da;
  font-weight: 400;
  margin-top: 0.15rem;
}

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

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--cream);
}

.main-nav {
  display: flex;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: var(--terracotta);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(247, 247, 244, 0.15);
  }

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

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(247, 247, 244, 0.1);
  }

  .main-nav a {
    display: block;
    padding: 0.75rem 0;
  }
}

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

/* ---------- Hero / intro ---------- */

.hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  max-width: 46rem;
}

.hero .lead {
  max-width: 42rem;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 0.2rem;
  margin-bottom: 0.9rem;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.28;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 2.2rem 0 0.9rem;
}

h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.6rem;
}

p {
  margin: 0 0 1.1rem;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-title h2 {
  margin: 0;
}

/* ---------- Card grid (magazine) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card .tag {
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

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

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

.card p {
  color: var(--text-muted);
  flex-grow: 1;
  font-size: 0.96rem;
}

.card .read-more {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 0.4rem;
}

/* ---------- Article ---------- */

.article-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
}

.article-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 0 1rem;
}

.article-body p, .article-body li {
  font-size: 1.03rem;
  color: var(--text);
}

.article-body ul, .article-body ol {
  padding-left: 1.3rem;
}

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

.callout {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.related {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
}

/* ---------- Generic content sections ---------- */

.section {
  padding: 2.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.prose {
  max-width: 42rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #c9d2da;
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

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

.footer-col li {
  margin-bottom: 0.5rem;
}

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

.footer-col a:hover {
  color: #ffffff;
}

.footer-col p {
  font-size: 0.9rem;
  margin: 0 0 0.8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(247, 247, 244, 0.15);
  text-align: center;
  padding: 1.1rem 1.25rem;
  font-size: 0.82rem;
  color: #96a3ad;
}

/* ---------- Buttons / links ---------- */

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--navy);
}

.btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-outline:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* ---------- Utility ---------- */

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

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

.list-plain {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}

.list-plain li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border);
}
