/* ═══════════════════════════════════════════════════════════════
   STIJL 25 — Technisch
   Zelfde klassieke concept, elektrisch blauw + mono-accenten,
   subtiel technisch raster in de header
   ═══════════════════════════════════════════════════════════════ */

:root {
  --accent: #2563eb;          /* elektrisch blauw */
  --accent-dark: #1d4ed8;
  --accent-soft: #eaf0fe;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --line: #dfe7f2;
  --radius: 4px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / hero: subtiel technisch raster ── */
.hero {
  background:
    repeating-linear-gradient(0deg, rgba(37, 99, 235, 0.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.04) 0 1px, transparent 1px 28px),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 56px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
}

.tagline {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--mono);
}

.tagline::before { content: "> "; color: var(--accent); }

.location {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.92rem;
}

.location::before { content: "$ "; color: var(--accent); }

.cta-row {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }

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

/* ── Sections ── */
.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  font-family: var(--mono);
  text-transform: uppercase;
}

.section h2::before { content: "// "; color: var(--muted); }

.section p + p { margin-top: 12px; }
.section p a { color: var(--accent); }

.muted { color: var(--muted); }
.lead { font-size: 1.05rem; }

/* ── Werkervaring ── */
.job { margin-bottom: 32px; }
.job:last-child { margin-bottom: 0; }

.job-head { margin-bottom: 10px; }

.job h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.job-meta {
  color: var(--accent);
  font-size: 0.88rem;
  font-family: var(--mono);
  margin-top: 3px;
}

.job-meta::before { content: "## "; color: var(--muted); }

.job ul {
  padding-left: 20px;
  list-style: none;
  color: var(--text);
}

.job li {
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}

.job li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.job-todo {
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}

/* ── Vaardigheden ── */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.skills-grid h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.skills-grid h3.sub { margin-top: 24px; }

.skills-list {
  list-style: none;
}

.skills-list li {
  padding: 6px 0 6px 22px;
  position: relative;
}

.skills-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  opacity: 0.6;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ── Contact ── */
.contact-list {
  list-style: none;
  margin: 20px 0;
}

.contact-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.contact-list a:hover { border-bottom-color: var(--accent); }

/* ── Footer + stijl-schakelaar ── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 28px 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.style-switcher {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.switcher-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--mono);
  margin-right: 4px;
}

.switcher-link {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.switcher-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.switcher-link.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-note { font-size: 0.85rem; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 36px 0; }
  .skills-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   Print / "Download CV" — clean A4 CV
   ═══════════════════════════════════════════════════════════════ */
@media print {
  body { font-size: 11pt; color: #000; background: #fff; }

  .hero {
    background: none;
    border-bottom: 2px solid #000;
    padding: 0 0 12px;
    text-align: left;
  }
  .hero h1 { font-size: 20pt; color: #000; }
  .tagline { font-size: 12pt; color: #000; font-family: inherit; }
  .tagline::before, .location::before { content: none; }
  .location { color: #333; font-family: inherit; }

  .btn, .style-switcher { display: none !important; }

  .container { max-width: 100%; padding: 0; }

  .section {
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
    break-inside: avoid;
  }
  .section h2 { font-size: 12pt; color: #000; font-family: inherit; text-transform: none; letter-spacing: 0; }
  .section h2::before { content: none; }

  .job-meta { color: #333; font-family: inherit; }
  .job-meta::before { content: none; }
  .job li::before { content: "•"; color: #000; }

  .skills-grid { display: block; }
  .skills-grid > div { margin-bottom: 8px; }
  .skills-grid h3 { color: #000; font-family: inherit; text-transform: none; letter-spacing: 0; }
  .skills-list li { padding: 1px 0 1px 14px; }
  .skills-list li::before { background: #000; clip-path: none; border-radius: 0; }

  .job-todo { background: none; border: 1px solid #ccc; }
  .contact-list li { margin-bottom: 2px; }
  .contact-list a { color: #000; text-decoration: none; }

  footer { display: none; }

  a { color: #000; text-decoration: none; }
}
