/* davidvanhoven.nl - static rebuild, no CMS */
:root {
  --ink: #0f172a;
  --ink-soft: #46536b;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --line: #e6eaf2;
  --navy: #0b1226;
  --navy-2: #101a38;
  --accent: #ff5a3c;
  --accent-2: #4f7cff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.4rem; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
section { padding: 84px 0; scroll-margin-top: 70px; }
.section-soft { background: var(--bg-soft); }
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.section-intro { max-width: 640px; color: var(--ink-soft); margin-bottom: 2.4rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 38, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
}
.main-nav a:hover { color: #fff; text-decoration: none; }
.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.lang-switch a.active { background: var(--accent); color: #fff; }
.lang-switch a:hover { text-decoration: none; color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(79, 124, 255, 0.25), transparent 60%),
    radial-gradient(600px 420px at 5% 90%, rgba(255, 90, 60, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 40px 0 0;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
}
.hero-text {
  padding: 50px 0 80px;
  align-self: center;
}
.hero-hello {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 30ch;
  margin-bottom: 1.6rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.6rem;
}
.hero-meta a, .hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.88rem;
}
.hero-meta a:hover { background: rgba(255, 255, 255, 0.16); text-decoration: none; }
.hero-meta svg { width: 15px; height: 15px; flex: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.8rem; }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.socials a:hover { background: var(--accent); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.hero-photo {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  justify-self: center;
  margin-top: 56px;
  background: linear-gradient(160deg, rgba(255, 90, 60, 0.9), rgba(79, 124, 255, 0.9));
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}
.hero-photo img {
  width: 86%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

/* ---------- services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12); }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, rgba(255, 90, 60, 0.12), rgba(79, 124, 255, 0.12));
  color: var(--accent);
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.94rem; color: var(--ink-soft); }

.card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(140deg, rgba(255, 90, 60, 0.07), rgba(79, 124, 255, 0.07));
}
.card-featured h3 { font-size: 1.25rem; }
.card-featured p { max-width: 760px; }

/* ---------- resultaten ---------- */
.results {
  background:
    radial-gradient(700px 380px at 10% 0%, rgba(255, 90, 60, 0.16), transparent 60%),
    radial-gradient(600px 300px at 95% 100%, rgba(79, 124, 255, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.result-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 2.4rem;
}
.result {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
}
.result-logo { height: 22px; display: flex; align-items: center; margin-bottom: 20px; }
.result-logo img {
  max-height: 22px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.result-logo img.no-invert { filter: none; opacity: 1; }
.result-stat {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  color: #fff;
}
.result-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  margin: 4px 0 12px;
}
.result p { font-size: 0.93rem; color: rgba(255, 255, 255, 0.72); max-width: 46ch; }
.results .section-intro { color: rgba(255, 255, 255, 0.65); }
.platforms-title {
  margin-top: 3rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 1rem;
}
.platform {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.platform:hover {
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}
.platform img { height: 34px; width: auto; max-width: 100px; object-fit: contain; flex: none; }
.platform strong { display: block; font-family: var(--font-head); font-size: 0.96rem; }
.platform span { display: block; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- marketplaces strip ---------- */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 2rem;
}
.logo-strip .logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
}
.logo-strip img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.2s, opacity 0.2s;
}
.logo-strip .logo:hover img { filter: none; opacity: 1; }

/* ---------- cv timeline ---------- */
.timeline { position: relative; margin-top: 2.2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 34px 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
}
.tl-period {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.tl-item h3 { font-size: 1.15rem; }
.tl-org { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 0.5rem; }
.tl-logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 10px 0 12px; }
.tl-logos img {
  height: 22px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}
.tl-item:hover .tl-logos img { filter: none; opacity: 1; }
.tl-item p, .tl-item ul { font-size: 0.95rem; color: var(--ink-soft); max-width: 700px; }
.tl-item ul { margin: 0.5rem 0 0 1.2rem; }
.tl-item li { margin-bottom: 0.15rem; }
.tl-cta { margin-top: 2rem; }

/* ---------- funfacts ---------- */
.funfacts {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(79, 124, 255, 0.25), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.funfacts .kicker { color: var(--accent); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 2.4rem;
  text-align: center;
}
.fact-number {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
}
.fact-number .suffix, .fact-number .prefix { color: var(--accent); }
.fact-label { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; margin-top: 4px; }

/* ---------- hobbies ---------- */
.hobby-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 2.2rem;
}
.hobby {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hobby img { width: 100%; height: 230px; object-fit: cover; }
.hobby-body { padding: 22px 24px 26px; }
.hobby-body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.hobby-body p { font-size: 0.94rem; color: var(--ink-soft); }
.hobby-body .more {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact .section-intro { margin: 0 auto 2rem; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(255, 90, 60, 0.35); }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }
.contact .socials { justify-content: center; }
.contact .socials a {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--ink);
}
.contact .socials a:hover { background: var(--accent); color: #fff; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  padding: 26px 0;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }

/* ---------- reveal animation (alleen met JS actief) ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .result-cards, .platforms { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: repeat(4, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-text { padding: 10px 0 50px; }
  .hero-photo {
    order: -1;
    margin-top: 24px;
    max-width: 300px;
    max-height: 320px;
    align-self: center;
  }
  .hero-photo img { width: 82%; }
}
@media (max-width: 680px) {
  section { padding: 64px 0; }
  .cards, .hobby-grid { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    padding: 10px 22px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; width: 100%; }
  .lang-switch { margin: 12px 0 0; }
  .nav-toggle { display: block; }
}
