/* timpeter.nl: richting "Koers". Nachtblauw, signaaloranje en een vluchtlijn als merkteken. */
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --nacht: #0f1c2e;
  --diep: #0a1422;
  --oranje: #ff6a3d;
  --oranje-diep: #e8552a;
  --wolk: #e9eef5;
  --grijs: #7f8fa6;
  --licht: #f4f6f9;
  --inkt: #0f1c2e;
  --zacht: #4d5b70;
  --lijn: #dde3eb;
  --lijn-nacht: #23344d;
  --font-kop: "Space Grotesk", system-ui, sans-serif;
  --font-tekst: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--font-tekst); color: var(--inkt); background: var(--licht); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-kop); letter-spacing: -.025em; margin: 0; line-height: 1.05; font-weight: 500; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--oranje); outline-offset: 3px; }
.mono { font: 500 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--oranje); color: var(--nacht); padding: 14px 20px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 0; font-size: 16px; cursor: pointer; font-family: inherit; }
.btn:hover { background: #ff7e56; }
.btn--rand { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn--rand:hover { background: rgba(255, 255, 255, .06); }
.link { text-decoration-color: var(--oranje); text-underline-offset: 4px; }

/* Merk: lenticularis (drie lenswolken) en de naam */
.merk { font: 700 22px var(--font-kop); letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; white-space: nowrap; }
.merk__lens { height: 30px; width: auto; display: block; flex: none; }
.merk__l1, .merk__l2, .merk__l3 { fill: var(--oranje); }
.merk__l2 { opacity: .75; }
.merk__l3 { opacity: .5; }
.merk--licht .merk__l1 { fill: var(--nacht); }
.merk--licht .merk__l2 { opacity: 1; }
.merk--licht .merk__l3 { fill: var(--nacht); opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .top .merk__lens path { animation: lens-in .7s cubic-bezier(.25, .7, .3, 1) both; transform-box: fill-box; transform-origin: center; }
  .top .merk__l1 { animation-delay: .1s; }
  .top .merk__l2 { animation-delay: .25s; }
  .top .merk__l3 { animation-delay: .4s; }
  @keyframes lens-in { from { opacity: 0; transform: translateY(-3px) scaleX(.6); } }
}

/* Kop */
.top { position: sticky; top: 0; z-index: 10; background: var(--nacht); color: var(--wolk); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; }
.top__nav { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.top__nav a:not(.btn) { text-decoration: none; opacity: .85; }
.top__nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--oranje); text-underline-offset: 5px; }
.top__nav .btn { padding: 10px 16px; font-size: 15px; }
.menu { display: none; }
.top--terug .top__in { justify-content: flex-start; }

/* Secties */
.sectie { padding: 96px 0; scroll-margin-top: 80px; }
.sectie--wit { background: #fff; }
.sectie--nacht { background: var(--nacht); color: var(--wolk); }
.sectie__kop { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.sectie__kop p { color: var(--zacht); }
.sectie--nacht .sectie__kop p { color: #b4c0d0; }
.label { color: var(--oranje); display: block; margin-bottom: 12px; }

/* Hero met vliegplan */
.hero { background: var(--nacht); color: var(--wolk); padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 85% 30%, rgba(255, 106, 61, .12), transparent 70%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .label { margin-bottom: 0; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); margin: 18px 0 24px; }
.hero h1 span { color: var(--oranje); display: block; }
.hero__intro { color: #b4c0d0; font-size: 19px; max-width: 34em; margin-bottom: 32px; }
.acties { display: flex; gap: 14px; flex-wrap: wrap; }
.plan ol { list-style: none; margin: 0; padding: 0; }
.plan { background: var(--diep); border: 1px solid var(--lijn-nacht); border-radius: var(--radius); padding: 24px 26px; font-family: var(--font-mono); list-style: none; margin: 0; }
.plan__kop { display: flex; justify-content: space-between; gap: 12px; color: var(--grijs); font-size: 12px; letter-spacing: .08em; border-bottom: 1px dashed #2b3d57; padding-bottom: 14px; margin-bottom: 18px; text-transform: uppercase; }
.plan__kop b { color: var(--wolk); font-weight: 500; }
.wp { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; position: relative; padding-bottom: 22px; }
.wp:last-child { padding-bottom: 0; }
.wp::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: -2px; border-left: 2px dashed var(--oranje); opacity: .55; }
.wp:last-child::before { display: none; }
.wp__punt { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--oranje); background: var(--diep); margin-top: 1px; }
.wp:last-child .wp__punt { background: var(--oranje); }
.wp__titel { display: block; color: var(--wolk); font: 600 15px var(--font-kop); }
.wp__tekst { color: var(--grijs); font-size: 12.5px; line-height: 1.55; }
.wp__label { color: var(--oranje); font-size: 12px; text-transform: uppercase; }

/* Pijlers */
.pijlers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.pijler { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); padding: 28px; }
.sectie--wit .pijler { background: var(--licht); }
.pijler h3 { margin-top: 18px; }
.pijler p { color: var(--zacht); margin: 12px 0 18px; }
.pijler ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.pijler li { padding: 8px 0; border-top: 1px solid var(--lijn); display: flex; gap: 10px; }
.pijler li::before { content: "→"; color: var(--oranje); }

/* Rollen */
.rollen { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--lijn-nacht); border-radius: var(--radius); overflow: hidden; list-style: none; margin: 0; padding: 0; }
.rol { padding: 30px; border-right: 1px solid var(--lijn-nacht); }
.rol:last-child { border-right: 0; }
.rol .mono { color: var(--grijs); }
.rol h3 { margin: 14px 0 10px; font-size: 26px; }
.rol p { color: #b4c0d0; font-size: 16px; }
.rol--uitgelicht h3 { color: var(--oranje); }
.sectie:not(.sectie--nacht) .rollen { border-color: var(--lijn); }
.sectie:not(.sectie--nacht) .rol { border-color: var(--lijn); }
.sectie:not(.sectie--nacht) .rol p { color: var(--zacht); }

/* Route */
.route { display: grid; grid-template-columns: repeat(var(--stappen, 4), 1fr); position: relative; list-style: none; margin: 0; padding: 0; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; border-top: 2px dashed var(--oranje); opacity: .5; }
.stap { position: relative; padding-right: 26px; }
.stap__punt { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--licht); border: 2px solid var(--oranje); margin-bottom: 22px; }
.sectie--wit .stap__punt { background: #fff; }
.sectie--nacht .stap__punt { background: var(--nacht); }
.stap:nth-last-child(2) .stap__punt { background: var(--oranje); }
.stap:last-child .stap__punt { border-style: dashed; }
.stap .mono { color: var(--oranje); }
.stap h3 { margin: 6px 0 10px; }
.stap p { color: var(--zacht); font-size: 16px; }
.sectie--nacht .stap p { color: #b4c0d0; }

/* Werk */
.werk { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; list-style: none; margin: 0; padding: 0; }
.case { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; height: 100%; transition: transform .2s, box-shadow .2s; }
.case:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(15, 28, 46, .45); }
.case img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; border-bottom: 1px solid var(--lijn); }
.case__tekst { padding: 20px 22px 24px; }
.case .mono { color: var(--grijs); }
.case--uitgelicht .mono { color: var(--oranje); }
.case h3 { margin: 8px 0; }
.case p { color: var(--zacht); font-size: 15.5px; }

/* Over */
.over { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.over__foto { width: 100%; aspect-ratio: 1; border-radius: var(--radius); object-fit: cover; }
.over__initialen { aspect-ratio: 1; border-radius: var(--radius); background: var(--nacht); display: grid; place-items: center; color: var(--oranje); font: 600 64px var(--font-kop); }
.over h2 { margin-bottom: 20px; }
.over p { color: var(--zacht); max-width: 40em; }
.over p + p { margin-top: 14px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact h2 { margin-bottom: 18px; }
.contact p { color: #b4c0d0; }
.contact p + p { margin-top: 12px; }
form { background: #fff; color: var(--inkt); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.veld { display: grid; gap: 6px; }
label { font-size: 14px; font-weight: 500; }
.opt { color: var(--grijs); font-weight: 400; }
input, textarea, select { font: inherit; font-size: 16px; border: 1px solid var(--lijn); border-radius: 6px; padding: 11px 12px; background: #fff; color: var(--inkt); width: 100%; }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.melding { padding: 10px 12px; border-radius: 6px; font-size: 15px; }
.melding--ok { background: #e6f6ec; color: #1d6b3a; }
.melding--fout { background: #fdeceb; color: #a32a1d; }
.privacy-noot { font-size: 13px; color: var(--zacht) !important; }
form .btn { justify-self: start; }

/* Voet */
.voet { background: var(--diep); color: var(--grijs); padding: 28px 0; font-size: 14px; }
.voet__in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.voet a { color: var(--wolk); text-decoration-color: var(--oranje); text-underline-offset: 4px; }

/* Losse pagina's (privacy, bedankt, 404) */
.tekstpagina { padding: 72px 0 96px; }
.tekstpagina .wrap { max-width: 760px; }
.tekstpagina h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 24px; }
.tekstpagina h2 { font-size: 26px; margin: 32px 0 10px; }
.tekstpagina p { color: var(--zacht); }
.tekstpagina p + p { margin-top: 12px; }

/* Coming soon */
.binnenkort { min-height: calc(100vh - 140px); display: grid; align-items: center; }
.binnenkort__in { max-width: 820px; }

/* Bewerkmodus van EmDash: een laag over elk blok; een klik opent de pagina in het beheer. */
main :is(section, div):has(> .bewerk-laag) { position: relative; }
.bewerk-laag { position: absolute; inset: 0; z-index: 5; display: block; }

@media (max-width: 900px) {
  .hero__in, .sectie__kop, .contact, .over { grid-template-columns: 1fr; }
  .pijlers, .rollen, .werk { grid-template-columns: 1fr; }
  .rol { border-right: 0; border-bottom: 1px solid var(--lijn-nacht); }
  .rol:last-child { border-bottom: 0; }
  .route { grid-template-columns: 1fr 1fr; gap: 30px; }
  .route::before { display: none; }
  .top__nav a:not(.btn) { display: none; }
  .hero { padding: 44px 0 64px; }
  .sectie { padding: 64px 0; }
  .sectie__kop { gap: 16px; margin-bottom: 32px; }
  .over { gap: 28px; }
  .over__initialen, .over__foto { max-width: 220px; }
}
@media (max-width: 480px) {
  .top__nav .btn span { display: none; }
  .route { grid-template-columns: 1fr; }
}
.merk-link { text-decoration: none; color: inherit; }
