/* ═══════════════════════════════════════════════════════════════
   STIJL 20 — Modern Pro
   Eigentijds & verzorgd: lichtgrijs canvas, witte kaarten,
   indigo accent, small-caps labels. De look die sollicitaties
   wint op scherm én papier.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --accent: #4f46e5;          /* indigo */
  --accent-soft: #eef0fd;
  --text: #1f2430;
  --muted: #6b7280;
  --bg: #f5f6f9;
  --card: #ffffff;
  --line: #e5e7eb;
  --radius: 12px;
}

* { 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.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header / hero ── */
.hero {
  padding: 56px 0 32px;
  text-align: left;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tagline {
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.location {
  margin-top: 4px;
  color: var(--muted);
}

.hero-facts {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-facts li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hero-facts li::before {
  content: "• ";
  color: var(--accent);
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}
.btn-primary:hover { background: #4338ca; }

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

/* ── Sections: witte kaarten op grijs canvas ── */
.section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section h2 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.sec-num { display: none; }

.section p + p { margin-top: 10px; }
.section p a { color: var(--accent); font-weight: 600; }

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

/* ── Werkervaring ── */
.job {
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--accent-soft);
}

.job:last-child { margin-bottom: 0; }

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

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

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

.job ul {
  padding-left: 20px;
  list-style: none;
}

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

.job li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  font-size: 0.85em;
  font-weight: 700;
}

.job-todo {
  border-left: 3px dashed var(--line);
}

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

.skills-grid h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

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

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

.skills-list li {
  padding: 5px 0 5px 20px;
  position: relative;
}

.skills-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

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

.contact-list li {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

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

/* ── Footer + stijl-schakelaar ── */
footer {
  padding: 26px 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: 12px;
}

.switcher-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  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.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, background 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: 40px 0 24px; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 22px 20px; }
  .skills-grid { grid-template-columns: 1fr; gap: 24px; }
  .btn { width: 100%; text-align: center; }
}

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

  .hero { padding: 0 0 10px; border-bottom: 2px solid #000; }
  .hero h1 { font-size: 20pt; color: #000; }
  .tagline { font-size: 11pt; color: #000; }
  .location { color: #333; }
  .hero-facts { margin-top: 8px; }
  .hero-facts li { background: none; border: none; border-radius: 0; box-shadow: none; padding: 0 0 0 12px; }
  .hero-facts li::before { content: "• "; color: #000; }

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

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

  .section {
    background: none;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 0;
    margin-bottom: 0;
    break-inside: avoid;
  }
  .section h2 { font-size: 11pt; color: #000; letter-spacing: 0.05em; margin-bottom: 8px; }
  .section h2::after { content: none; }

  .job { border-left: 2px solid #000; padding-left: 10px; margin-bottom: 14px; }
  .job-meta { color: #333; }
  .job li::before { content: "•"; color: #000; }
  .job-todo { border-left: 2px dashed #ccc; }

  .skills-grid { display: block; }
  .skills-grid > div { margin-bottom: 8px; }
  .skills-grid h3 { color: #000; }
  .skills-list li { padding: 1px 0 1px 14px; }
  .skills-list li::before { background: #000; }

  .contact-list li { margin-bottom: 2px; }
  .contact-list a { color: #000; text-decoration: none; }

  footer { display: none; }

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