/* =========================================================
   KLEUREN & BASIS — pas hier makkelijk de kleuren aan
   ========================================================= */
:root {
  --bg: #e8573a;          /* oranje achtergrond */
  --card: #fbf5f0;        /* crèmekleurige kaart */
  --ink: #1a1210;         /* bijna zwart */
  --muted: #6f6660;       /* grijze tekst */
  --line: #eadfd6;        /* dunne lijnen */
  --tag: #efe7e0;         /* achtergrond van labels */
  --accent: #e8573a;      /* accentkleur (illustratie, logo) */
  --pill: #ffe1d6;        /* lichte kleur van de taalknop */

  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* =========================================================
   FRAME & KAART
   ========================================================= */
.frame {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 32px 0;
  height: 100vh;
}

/* Taalknop in het oranje vlak, helemaal rechtsboven */
.lang-pill {
  position: fixed;
  z-index: 20;
  top: 24px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px 0 8px;
  border: 1.5px solid var(--pill);
  border-radius: 3px;
  color: var(--pill);
  font-size: 13px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.lang-pill svg { width: 20px; height: 20px; stroke-width: 1.5; }
.lang-pill .chevron { width: 14px; height: 14px; stroke-width: 2; transition: transform .2s; }
.lang-pill:hover { background: var(--pill); color: var(--bg); }
.lang-pill:hover .chevron { transform: translateX(2px); }

.frame-tab {
  position: absolute;
  top: 88px;
  left: 90px;
  right: 90px;
  height: 60px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px 12px 0 0;
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  height: 100%;
  background: var(--card);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(80, 20, 5, 0.25);
  animation: rise 0.8s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   ZIJBALK
   ========================================================= */
.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 24px 24px;
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

.photo {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  background: #d9c9b8;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.photo-initials {
  font-family: var(--serif);
  font-size: 28px;
  color: #fff;
}

.name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.role {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.tagline {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 18px;
  max-width: 220px;
  line-height: 1.55;
}

.signature {
  display: block;
  width: 98px;
  height: auto;
  margin: 26px 0 20px;
  opacity: 0.7;
  mix-blend-mode: multiply; /* laat een witte achtergrond wegvallen */
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 0 18px;
}

.meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  margin-bottom: 8px;
}
.meta svg { width: 13px; height: 13px; }

.socials {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--muted);
}
.socials a { transition: color .2s; }
.socials a:hover { color: var(--ink); }

.actions {
  display: flex;
  gap: 8px;
}

/* =========================================================
   KNOPPEN
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  white-space: nowrap;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3a2a24; }

.btn-wide { flex: 1; }

.btn-square {
  width: 40px;
  padding: 0;
  background: var(--tag);
}
.btn-square:hover { background: var(--line); }

.btn-small { height: 32px; padding: 0 14px; font-size: 12.5px; }
.btn-small svg { width: 14px; height: 14px; }

/* =========================================================
   HOOFDGEDEELTE
   ========================================================= */
.main {
  position: relative;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 640px;
  margin: 0 auto;
  padding: 14px 24px;
  background: var(--card);
}
.logo { color: var(--accent); display: flex; }
.logo svg { width: 22px; height: 22px; }

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
  margin-right: auto;
}
.nav-links a { transition: color .2s; }
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.content {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-art {
  width: 223px;
  height: 135px;
  color: var(--accent);
  stroke: none;
  margin-bottom: 10px;
}
.hero-art .orbit {
  transform-box: view-box;
  transform-origin: 100px 80px;
  animation: sway 6s ease-in-out infinite;
}
.hero-art .orbit-2 { animation-delay: -3s; }
.hero-art .sparkles { animation: twinkle 3s ease-in-out infinite; }

@keyframes sway    { 50% { transform: rotate(10deg); } }
@keyframes twinkle { 50% { opacity: .35; } }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.hero-sub {
  color: var(--muted);
  max-width: 420px;
  margin: 14px auto 28px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  padding: 10px 14px;
  background: var(--tag);
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  transition: background .2s;
}
.pill-btn:hover { background: var(--line); }
.pill-btn svg { margin-left: auto; transition: transform .2s; }
.pill-btn:hover svg { transform: translateX(3px); }

.dots { display: flex; }
.dots span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid var(--tag);
  margin-left: -6px;
}
.dots span:first-child { margin-left: 0; }

/* ---------- Secties ---------- */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.lead {
  color: var(--muted);
  max-width: 480px;
}
.label {
  font-size: 13px;
  font-weight: 500;
  margin: 24px 0 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags li {
  background: var(--tag);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 2px;
}

/* ---------- Ervaring (tijdlijn) ---------- */
.timeline { margin-top: 28px; }

.job {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding-bottom: 28px;
}
/* verticale lijn tussen de icoontjes */
.job::before {
  content: "";
  position: absolute;
  left: 11.5px;
  top: 30px;
  bottom: 4px;
  border-left: 1px solid var(--line);
}
.job:last-child::before { display: none; }

.job-icon {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: var(--c);
  color: #fff;
  display: grid;
  place-items: center;
}
.job-icon svg { width: 14px; height: 14px; }
.job-icon-empty { background: none; }

.job-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.job h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
}
.job-meta {
  font-size: 12.5px;
  color: var(--muted);
}
.job-meta span { margin: 0 4px; }
.job-date {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.job-body > p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 440px;
}
.job-body ul {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.job-body ul li { padding-left: 14px; position: relative; }
.job-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}

.job-body strong { color: var(--ink); font-weight: 500; }
.job-body em { font-style: italic; color: var(--ink); }

/* ---------- Vaardigheden ---------- */
.skill-groups .label:first-child { margin-top: 10px; }

/* ---------- Contact & footer ---------- */
.contact { text-align: center; border-bottom: none; }
.contact .lead { margin: 0 auto 24px; }

.inline-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.inline-link:hover { text-decoration-color: var(--accent); }

.footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 24px 0 40px;
}
.lang-switch {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}
.lang-switch a { transition: color .2s; }
.lang-switch a:hover,
.lang-switch a.active { color: var(--ink); font-weight: 500; }

/* ---------- Animatie bij scrollen ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   TABLET & MOBIEL
   ========================================================= */
@media (max-width: 860px) {
  .frame { height: auto; padding: 76px 12px 0; }
  .lang-pill { position: absolute; top: 20px; right: 12px; }
  .frame-tab { display: none; }

  .card {
    display: block;
    height: auto;
    border-radius: 12px 12px 0 0;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--line);
    overflow: visible;
    gap: 24px;
  }
  .tagline { max-width: none; }

  .main { overflow: visible; }

  .topnav { gap: 16px; }
  .nav-links { display: none; }
  .topnav .btn-small { margin-left: auto; }

  .hero-title { font-size: 34px; }
  .section h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .content, .topnav { padding-left: 16px; padding-right: 16px; }
  .sidebar { padding: 24px 16px; }
  .job-head { flex-direction: column; gap: 2px; }
  .pill-btn { min-width: 0; width: 100%; }
}
