/* Afdaling website. Kleuren en maten volgen het Afdaling-designsysteem (Light). */
:root {
  --bg: #E8EBF0;
  --surface: #FFFFFF;
  --text: #0B0F14;
  --text-2: rgba(60, 60, 67, 0.75);
  --sep: rgba(0, 0, 0, 0.14);
  --accent: #1A5FCB;
  --accent-fill: #2F7BF0;
  --lift-fill: #D97000;
  --wrap: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }
a:hover { color: var(--text); }
a:focus-visible { outline: 3px solid var(--accent-fill); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, p, dl, dd, ul { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }

.muted { color: var(--text-2); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--surface); color: var(--text); padding: 8px 12px; z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

/* Header: sticky. Op de homepage eerst transparant over de foto, na scrollen donker zoals op de privacypagina. */
.site-top {
  position: sticky; top: 0; z-index: 20;
  height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.site-top[data-overlay] { margin-bottom: -72px; }
.site-top.is-solid { background: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .logo img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a { color: #FFFFFF; text-decoration: none; white-space: nowrap; }
.site-nav > a:hover, .site-nav > a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.site-top:not(.is-solid) .site-nav > a,
.site-top:not(.is-solid) .lang summary {
  text-shadow: 0 1px 2px rgba(11, 15, 20, 0.6), 0 0 12px rgba(11, 15, 20, 0.55);
}
.site-top:not(.is-solid) .logo img { filter: drop-shadow(0 1px 6px rgba(11, 15, 20, 0.5)); }

/* Taalkeuze */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
  color: #FFFFFF; font-size: 14px; font-weight: 600;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { transition: transform 0.2s; }
.lang[open] summary { background: rgba(255, 255, 255, 0.15); }
.lang[open] summary svg { transform: rotate(180deg); }
.lang summary:focus-visible { outline: 3px solid var(--accent-fill); outline-offset: 3px; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border-radius: 12px; box-shadow: 0 8px 24px rgba(11, 15, 20, 0.18);
}
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 16px; }
.lang li a:hover { background: var(--bg); }
.lang li a[aria-current] { font-weight: 700; }
.lang li a span { color: var(--text-2); font-size: 14px; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #FFFFFF; padding: 72px var(--gutter) 72px; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 15, 20, 0.62) 0%, rgba(11, 15, 20, 0.35) 45%, rgba(11, 15, 20, 0) 75%);
}
.hero-copy { padding-top: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 800; max-width: 11ch; }
.hero .lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.cta p { font-size: 16px; line-height: 1.4; }
.badge { display: inline-block; line-height: 0; }
.badge img { height: 54px; width: auto; }

/* Dag-tijdlijn */
.day { padding: 112px var(--gutter) 0; }
.day-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 72px; }
h2 { font-size: clamp(35px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; }
.day-head h2 { max-width: 14ch; }
.legend { display: flex; gap: 24px; font-size: 14px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 24px; height: 4px; background: var(--c); }

.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); }
.step time { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-2); padding-top: 2px; }
.seg { position: relative; border-left: 4px solid var(--c); padding: 0 0 88px 40px; }
.step:last-child .seg { padding-bottom: 0; }
.seg::before {
  content: ""; position: absolute; left: -10px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--surface); border: 4px solid var(--c);
}
.seg-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 64px; }
.seg-text { flex: 1 1 320px; min-width: 0; max-width: 34em; }
h3 { font-size: clamp(24px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 12px; }
.shot { flex: 0 0 auto; width: 300px; max-width: 70%; }

.lift { --c: var(--lift-fill); }
.run { --c: var(--accent-fill); }

/* Pro */
.pro { background: var(--surface); padding: 112px var(--gutter); margin-top: 112px; }
.pro-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 96px; }
.pro-text { flex: 1 1 460px; min-width: 0; max-width: 620px; }
.price { margin-top: 28px; font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.price + p { margin-top: 6px; }
.features { margin-top: 40px; border-top: 1px solid var(--sep); }
.features div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--sep); }
.features dt { flex: 0 0 200px; font-weight: 600; }
.features dd { flex: 1 1 240px; line-height: 1.5; color: var(--text-2); }
.note { margin-top: 32px; padding-left: 20px; border-left: 4px solid var(--lift-fill); }
.pro .shot { width: 320px; max-width: 80%; flex: 0 1 320px; }

/* Vergelijking */
.compare { padding: 112px var(--gutter) 96px; }
.compare h2 { font-size: clamp(28px, 2.8vw, 35px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 32px; }
.compare table { width: 100%; max-width: 820px; border-collapse: collapse; }
.compare th { font-size: 14px; font-weight: 600; color: var(--text-2); text-align: left; padding: 0 0 12px; }
.compare th + th, .compare td + td { text-align: center; width: 96px; }
.compare td { padding: 14px 0; border-top: 1px solid var(--sep); }
.compare tr:last-child td { border-bottom: 1px solid var(--sep); }
.compare .no { color: var(--text-2); }

/* Download */
.download { padding: 0 var(--gutter) 128px; }
.download .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; border-top: 4px solid var(--accent-fill); padding-top: 48px; }
.download h2 { font-size: clamp(28px, 2.8vw, 35px); line-height: 1.15; letter-spacing: -0.02em; }
.download p { margin-top: 8px; }

/* Footer */
.site-footer { padding: 24px var(--gutter) 40px; font-size: 14px; color: var(--text-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer nav { display: flex; gap: 24px; }

/* Privacy */
.policy { padding: 72px var(--gutter) 112px; }
.policy article { max-width: 38em; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; color: rgba(60, 60, 67, 0.9); line-height: 1.65; }
.policy h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: var(--text); }
.policy .updated { font-size: 15px; color: var(--text-2); margin-top: 12px; }
.policy section { display: flex; flex-direction: column; gap: 12px; }
.policy h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; color: var(--text); }
.policy ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.policy + .site-footer { border-top: 1px solid var(--sep); padding-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  .site-top, .lang summary svg { transition: none; }
}

@media (max-width: 520px) {
  .site-nav { gap: 16px; font-size: 16px; }
  .site-nav .nav-how { display: none; }
  .site-header .logo img { height: 28px; }
}

@media (max-width: 640px) {
  :root { --gutter: 24px; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 15, 20, 0.55) 0%, rgba(11, 15, 20, 0.55) 70%, rgba(11, 15, 20, 0.2) 100%); }
  .hero-copy { padding-top: 32px; }
  .day, .compare { padding-top: 72px; }
  .day-head { margin-bottom: 48px; }
  .step { grid-template-columns: 52px minmax(0, 1fr); }
  .seg { padding: 0 0 64px 24px; }
  .shot { width: 260px; }
  .pro { padding: 72px var(--gutter); margin-top: 72px; }
  .compare th + th, .compare td + td { width: 64px; }
  .download { padding-bottom: 96px; }
  .policy { padding-top: 48px; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
