/* ============================================================
   Algemene typografie en kleurenpalet
   ============================================================ */
:root {
  --primary: #2c3e6b;        /* diep indigo */
  --primary-soft: #eef1f9;
  --accent: #b85c38;         /* terracotta */
  --accent-soft: #fdf0ea;
  --gold: #c99a2e;
  --muted: #6b7280;
  --border: #d6dee6;
  --bg: #fbfcfd;
  --text: #1f2933;
}

body {
  font-family: "Georgia", "Cambria", serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Helvetica Neue", "Arial", sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
}

h1.title {
  font-size: 2.4rem;
  margin-bottom: 0.2em;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.3em;
}

.subtitle {
  color: var(--muted);
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 1.5em;
}

h2 {
  margin-top: 2.4em;
  padding-left: 0.6em;
  border-left: 5px solid var(--accent);
}

h3 {
  color: var(--accent);
  margin-top: 1.6em;
}

a {
  color: var(--primary);
  text-decoration: underline dotted;
}

/* ============================================================
   Lead-paragraaf
   ============================================================ */
.lead {
  font-size: 1.15rem;
  background: var(--primary-soft);
  border-left: 6px solid var(--primary);
  padding: 1em 1.3em;
  border-radius: 4px;
  margin: 1.2em 0 2em 0;
}

/* ============================================================
   Callouts — gekleurde kaders
   ============================================================ */
.callout {
  border-radius: 6px;
  margin: 1.3em 0;
  padding: 0.9em 1.2em;
  border-left: 6px solid var(--primary);
  background: var(--primary-soft);
}

.callout-note {
  background: #eef4fb;
  border-left-color: #2c3e6b;
}

.callout-important {
  background: var(--accent-soft);
  border-left-color: var(--accent);
}

.callout-warning {
  background: #fff6e6;
  border-left-color: var(--gold);
}

.callout-tip {
  background: #ecf7ef;
  border-left-color: #2e7d4f;
}

.callout-title {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.4em;
}

.callout-important .callout-title { color: var(--accent); }
.callout-warning .callout-title   { color: #a87400; }
.callout-tip .callout-title       { color: #2e7d4f; }

/* ============================================================
   Quote-box — citaten
   ============================================================ */
.quote-box {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 8px solid var(--accent);
  border-radius: 6px;
  padding: 1.2em 1.5em 1em 2.6em;
  margin: 1.5em 0;
  font-style: italic;
  color: #2b3440;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.quote-box::before {
  content: "\201C";
  position: absolute;
  left: 0.35em;
  top: 0.05em;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  font-family: Georgia, serif;
}

.quote-box em,
.quote-box strong {
  font-style: normal;
  color: var(--primary);
}

/* ============================================================
   Compare-blok (links/rechts)
   ============================================================ */
.compare {
  display: flex;
  gap: 1em;
  margin: 1.4em 0;
}

.compare-left,
.compare-right {
  flex: 1;
  padding: 1em 1.2em;
  border-radius: 6px;
}

.compare-left {
  background: #f4f6f9;
  border-top: 4px solid #7a8ca0;
}

.compare-right {
  background: var(--primary-soft);
  border-top: 4px solid var(--primary);
}

.compare-left strong:first-child,
.compare-right strong:first-child {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4em;
}

.compare-left strong:first-child { color: #5a6a7c; }
.compare-right strong:first-child { color: var(--primary); }

/* ============================================================
   Summary-box — besluit
   ============================================================ */
.summary-box {
  background: var(--primary-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2em 1.5em;
  margin: 1.3em 0;
}

.summary-box ul {
  margin: 0;
}

/* ============================================================
   Final-quote — slotzin
   ============================================================ */
.final-quote {
  text-align: center;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--primary);
  margin: 2em auto 1em auto;
  padding: 1em 2em;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  max-width: 80%;
}

/* ============================================================
   Inhoudstafel
   ============================================================ */
#TOC {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1em 1.4em;
  margin-bottom: 2em;
}

#TOC a {
  text-decoration: none;
  color: var(--primary);
}

#TOC a:hover {
  color: var(--accent);
}

/* ============================================================
   Responsief
   ============================================================ */
@media (max-width: 700px) {
  .compare {
    flex-direction: column;
  }
  .final-quote {
    font-size: 1.15rem;
    max-width: 100%;
  }
}