/* berkers.nu
   Design brief: the page itself has to look like the pitch. No hype, no gradients,
   no animation, nothing that moves. Generous whitespace, one warm accent.
   The accent is deliberately NOT corporate blue: every IT-beheer competitor in NL
   uses blue, and looking unlike them does work before a word is read. */

:root {
  --bg: #fbfaf8;
  --surface: #f3f0ea;
  --ink: #1c1a17;
  --muted: #5c574f;
  --rule: #e2ddd3;
  --accent: #a8432a;
  --accent-ink: #ffffff;
  --measure: 34rem;
  --wrap: 62rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14130f;
    --surface: #1d1b16;
    --ink: #eae6df;
    --muted: #a49d92;
    --rule: #322e26;
    --accent: #e0805a;
    --accent-ink: #14130f;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; z-index: 10;
}
.skip:focus { left: 0; }

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- header ---------- */

.site-header { border-bottom: 1px solid var(--rule); }

.header-inner {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: baseline; justify-content: space-between;
  padding-top: 1.4rem; padding-bottom: 1.4rem;
}

.brand { text-decoration: none; display: block; }
.brand-name {
  display: block; font-weight: 650; font-size: 1.1rem; letter-spacing: -0.01em;
}
.brand-what { display: block; font-size: 0.85rem; color: var(--muted); }

.nav {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: 0.25rem 1.35rem; margin: 0; padding: 0;
  font-size: 0.94rem;
}
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- type ---------- */

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.7rem; }
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); font-weight: 680; }
h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); font-weight: 650; margin-top: 0; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }

p { margin: 0 0 1.25rem; max-width: var(--measure); }
.lead { font-size: 1.25rem; color: var(--muted); font-weight: 500; }

section { padding: 4rem 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: 0; }
.section-title { margin-bottom: 2.5rem; margin-top: 0; }

/* ---------- hero ---------- */

.hero { padding: 5.5rem 0 4.5rem; border-bottom: 1px solid var(--rule); }
.hero h1 { max-width: 20ch; margin-bottom: 1rem; }
.hero .lead { max-width: 48ch; margin-bottom: 2.25rem; }

/* ---------- promises ---------- */

.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.75rem; }
@media (min-width: 52rem) {
  .promises { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}
.promises h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.promises p { margin-bottom: 0; max-width: none; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.promise-num {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: var(--accent); margin-bottom: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- callout ---------- */

.callout {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 2rem 1.75rem 1.25rem;
  margin: 0 0 1.75rem;
}
.callout > :last-child { margin-bottom: 0.5rem; }
.callout p { max-width: 48ch; margin-bottom: 1rem; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- offer / cases ---------- */

.stack { display: grid; gap: 3rem; }
@media (min-width: 52rem) { .stack.two { grid-template-columns: repeat(2, 1fr); } }

.card { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.card .meta {
  font-size: 0.95rem; color: var(--accent); font-weight: 600;
  margin-bottom: 1rem; display: block; letter-spacing: 0.01em;
}
.card p { max-width: none; margin-bottom: 1rem; }
.card p:last-child { margin-bottom: 0; }

/* ---------- cta ---------- */

.btn {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.8rem 1.5rem; font-weight: 600;
  border: 2px solid var(--accent);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--ink);
  margin-left: 0.5rem;
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.actions { margin-top: 1.75rem; }
@media (max-width: 32rem) {
  .btn { display: block; text-align: center; }
  .btn-ghost { margin-left: 0; margin-top: 0.75rem; }
}

/* ---------- lists ---------- */

.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; max-width: var(--measure); }
.checks li { padding-left: 1.75rem; position: relative; margin-bottom: 0.8rem; line-height: 1.7; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 0.55rem; height: 0.55rem; background: var(--accent); border-radius: 50%;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 2rem; padding: 3rem 0;
  font-size: 0.92rem; color: var(--muted);
}
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 46rem) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-name { font-weight: 650; color: var(--ink); margin-bottom: 0.3rem; }
.footer-block p { margin-bottom: 0.4rem; max-width: none; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }

/* ---------- prose pages ---------- */

/* Prose pages use a narrower wrap than the site chrome, so the text column fills
   its container instead of stranding half the viewport.
   Do NOT "fix" this with a two-column grid: auto-placement scatters consecutive
   paragraphs left/right, strands single-paragraph sections beside an empty column,
   and ragged row heights tear holes in the page. Tried 2026-07-17, reverted. */
.prose { padding: 4rem 0; }
.prose .wrap { max-width: 46rem; }
.prose h2 { margin-top: 3rem; margin-bottom: 1.75rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { max-width: var(--measure); }
.prose li { margin-bottom: 0.7rem; }
