/* Wij gaan op reis en nemen mee: basissite. Zelfde kleuren als Woordkoffer. */
:root {
  --bg: #f6f1e8;
  --surface: #fffdf9;
  --surface-2: #ece4d6;
  --text: #1e1a16;
  --muted: #6e6458;
  --border: #e0d6c6;
  --accent: #0047ab;
  --accent-soft: #d6dff0;
  --accent-text: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(40, 28, 16, .07), 0 4px 16px rgba(40, 28, 16, .07);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171412; --surface: #221d19; --surface-2: #2d2621; --text: #f1e9de;
    --muted: #b3a796; --border: #3a322b; --accent: #2f6fe0; --accent-soft: #1f2d4d;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* kop met hamburgermenu */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 17px; line-height: 1.2; flex: 1; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.menu-btn {
  display: none; /* alleen op telefoon */
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; stroke: currentColor; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }

.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 500; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.nav a.cta { background: var(--accent); color: var(--accent-text); }
.nav a.cta:hover { filter: brightness(1.08); }

@media (max-width: 640px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; flex-direction: column; gap: 2px; padding: 0 0 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .bar { flex-wrap: wrap; }
  .nav { flex-basis: 100%; order: 3; }
}

/* inhoud */
main.wrap { padding-top: 28px; padding-bottom: 48px; flex: 1; width: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
h2 { font-size: 20px; margin: 28px 0 8px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.card {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; margin: 0 0 16px; text-decoration: none; color: var(--text);
}
a.card:hover { border-color: var(--accent); }
.card h2 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0; }
.card .tag { display: inline-block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 10px; border-radius: 99px; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-text); text-decoration: none;
  font-weight: 600; padding: 12px 20px; border-radius: 12px; margin-top: 14px;
}
.btn:hover { filter: brightness(1.08); }

/* laptop en groter: ruimer, kaarten naast elkaar, leesbare tekstkolom */
.cards { display: block; }
@media (min-width: 860px) {
  body { font-size: 18px; }
  .wrap { max-width: 1040px; padding: 0 32px; }
  .bar { min-height: 72px; }
  .brand { font-size: 19px; }
  .brand img { width: 40px; height: 40px; }
  .nav a { padding: 10px 18px; }
  main.wrap { padding-top: 64px; padding-bottom: 88px; }
  h1 { font-size: 46px; }
  .lead { font-size: 22px; max-width: 640px; margin-bottom: 40px; }
  .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .cards .card { margin: 0; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
  .card h2 { font-size: 24px; }
  main.article { max-width: 760px; }
  .article h1 { font-size: 40px; }
  footer { padding: 28px 0 40px; }
}

.article p { margin: 0 0 16px; }
.article ul { margin: 0 0 16px; padding-left: 22px; }
.article li { margin: 0 0 8px; }
.article .meta { color: var(--muted); font-size: 14px; margin: 0 0 20px; }

footer { border-top: 1px solid var(--border); padding: 20px 0 32px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
