/* ═══════════════════════════════════════════════════════════════
   STIJL 15 — Matrix
   Digital rain: zwart, fosforgroen, vallende karakters, glow
   ═══════════════════════════════════════════════════════════════ */

:root {
  --green: #00ff41;
  --green-dim: #00a52b;
  --text: #d3ffd9;
  --muted: #4d8f5c;
  --bg: #000000;
  --line: rgba(0, 255, 65, 0.3);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* vallende digitale regen */
body::before {
  content: "010010111010011101010101001011010010100111010110101001010101101001011010010101001011010101001010101001101001010010101101001010010101001011010101001011010010101001011010101001010101";
  position: fixed;
  top: -100%;
  left: 8%;
  right: 8%;
  font-size: 15px;
  line-height: 1.6;
  color: var(--green);
  opacity: 0.08;
  letter-spacing: 6px;
  word-break: break-all;
  pointer-events: none;
  animation: rain 22s linear infinite;
  z-index: 0;
}

@keyframes rain {
  from { transform: translateY(0); }
  to { transform: translateY(220%); }
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

::selection { background: var(--green); color: #000; }

/* ── Header / hero ── */
.hero {
  padding: 76px 0 52px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero-kicker::before { content: "> "; color: var(--green-dim); }

.hero-kicker {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 18px rgba(0, 255, 65, 0.55);
}

.hero h1::after {
  content: "█";
  animation: blink 1s steps(1) infinite;
  margin-left: 4px;
}

@keyframes blink { 50% { opacity: 0; } }

.tagline {
  margin-top: 10px;
  font-size: 1.05rem;
  color: var(--text);
}

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

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

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

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--green);
  cursor: pointer;
  font-family: var(--mono);
  background: transparent;
  color: var(--green);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.4);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn::before { content: "> "; }

.btn:hover { background: var(--green); color: #000; text-shadow: none; }

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

.section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.45);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.sec-num {
  color: var(--muted);
  margin-right: 8px;
}

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

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

/* ── Werkervaring ── */
.job {
  margin-bottom: 26px;
  border: 1px solid var(--green);
  box-shadow: 0 0 18px rgba(0, 255, 65, 0.12), inset 0 0 18px rgba(0, 255, 65, 0.04);
  background: rgba(0, 255, 65, 0.02);
  padding: 20px 24px;
}

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

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

.job h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.job h3::before { content: "● "; color: var(--green); }

.job-meta {
  color: var(--green-dim);
  font-size: 0.84rem;
  margin-top: 4px;
}

.job-meta::before { content: "[ "; }
.job-meta::after { content: " ]"; }

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

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

.job li::before {
  content: "01";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.8em;
  top: 3px;
}

.job-todo {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}

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

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

.skills-grid h3::before { content: "## "; color: var(--muted); }

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

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

.skills-list li {
  padding: 4px 0 4px 16px;
  position: relative;
}

.skills-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--green);
}

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

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

.contact-list a {
  color: var(--green);
  text-decoration: none;
}
.contact-list a:hover { text-decoration: underline; text-shadow: 0 0 8px rgba(0, 255, 65, 0.4); }

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

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

.switcher-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-right: 6px;
}

.switcher-label::before { content: "$ stijl: "; }

.switcher-link {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.84rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.switcher-link:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.25);
}

.switcher-link.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  box-shadow: 0 0 14px rgba(0, 255, 65, 0.5);
}

.footer-note { font-size: 0.82rem; }
.footer-note::before { content: "# "; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 52px 0 36px; }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 34px 0; }
  .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; }
  body::before { display: none; }

  .hero { padding: 0 0 12px; border-bottom: 2px solid #000; }
  .hero-kicker::before { content: none; }
  .hero h1 { font-size: 19pt; color: #000; text-shadow: none; }
  .hero h1::after { content: none; }
  .tagline::before { content: none; }
  .tagline { color: #000; }
  .location { color: #333; }

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

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

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

  .job { border: 1px solid #ccc; background: none; box-shadow: none; }
  .job h3::before { content: none; }
  .job h3 { color: #000; }
  .job-meta { color: #333; }
  .job-meta::before, .job-meta::after { content: none; }
  .job li::before { content: "•"; color: #000; }

  .skills-grid { display: block; }
  .skills-grid > div { margin-bottom: 8px; }
  .skills-grid h3::before { content: none; }
  .skills-grid h3 { color: #000; text-transform: none; letter-spacing: 0; }
  .skills-list li { padding: 1px 0 1px 14px; }
  .skills-list li::before { content: ">"; color: #000; }

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

  footer { display: none; }

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