/* Lekatonpessy B.V. — huisstijl website
   Kleuren afgeleid van het logo en het designsysteem van de monteurs-app. */
:root {
  --navy-900: #040b1a;
  --navy-800: #0b1528;
  --navy-700: #13203a;
  --green: #4db03b;
  --teal: #1ba7a5;
  --teal-dark: #16826e;
  --accent: #1f9f87;
  --accent-soft: #e4f5f0;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --line: #e4e8ee;
  --line-2: #cfd6df;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 60ch; }
.muted { color: var(--text-3); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: .75rem;
}
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s;
  text-decoration: none !important;
}
.btn-primary { background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff; box-shadow: 0 6px 18px rgba(27, 167, 165, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(27, 167, 165, .45); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-outline { color: var(--teal-dark); border-color: var(--teal-dark); background: #fff; }
.btn-outline:hover { background: var(--accent-soft); }

/* Koptekst */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 11, 26, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none !important; }
.brand small { display: block; font-size: .65rem; font-weight: 600; letter-spacing: .14em; color: var(--teal); text-transform: uppercase; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, .85); font-weight: 500; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links .btn { padding: .55rem 1.1rem; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: .5rem 1.25rem 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links li:last-child { margin-top: 1rem; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(27, 167, 165, .35), transparent 60%),
              radial-gradient(700px 420px at 0% calc(100% - 330px), rgba(77, 176, 59, .2), transparent 60%),
              linear-gradient(180deg, var(--navy-900), var(--navy-800));
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(4rem, 9vw, 6rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 90%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 3rem; grid-template-columns: 1.2fr .8fr; align-items: center; }
.hero h1 { color: #fff; }
.hero-title { font-size: clamp(1.5rem, 7.5vw, 3.2rem); }
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .g { background: linear-gradient(90deg, var(--green), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.hero .lead { color: rgba(255, 255, 255, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-facts div strong { display: block; font-size: 1.5rem; font-weight: 700; }
.hero-facts div span { color: rgba(255,255,255,.7); font-size: .95rem; }
.hero-art { justify-self: center; width: min(100%, 420px); }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { width: min(60%, 220px); order: -1; margin-bottom: -1rem; }
}

/* Secties */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card p { color: var(--text-2); margin: 0; }

/* Voet */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer .legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; color: rgba(255,255,255,.55); }

/* Inlogpagina */
.page-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 3.5rem 0 3rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,.78); }
.apps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.app-card { display: flex; flex-direction: column; gap: .75rem; }
.app-card .btn { align-self: flex-start; margin-top: auto; }
.badge { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--accent-soft); color: var(--teal-dark); }
.badge.grey { background: var(--surface-2); color: var(--text-3); }
.note { background: var(--surface-2); border-left: 4px solid var(--teal); border-radius: 8px; padding: 1rem 1.25rem; color: var(--text-2); margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Label onder de kop in plaats van erboven */
.eyebrow-below { display: block; margin: -1rem 0 1rem; }

/* Na een klik in het menu staat de kop altijd vrij onder de vaste menubalk:
   menubalk (69px) + 28px lucht, min de bovenruimte van de sectie. */
section[id] { scroll-margin-top: calc(97px - clamp(3.5rem, 8vw, 6rem)); }

/* ---------- Lichtpuls door het logo ---------- */
.logo-pulse { position: relative; display: inline-block; line-height: 0; flex: none; }
.logo-pulse .pulse { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pulse path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pulse-glow { stroke: #5fffd0; stroke-width: 30; stroke-dasharray: 150 1300; stroke-dashoffset: 150; opacity: 0; }
.pulse-core { stroke: #f4fffb; stroke-width: 9; stroke-dasharray: 70 1300; stroke-dashoffset: 70; opacity: 0; }
@keyframes pulse-glow { 0% { stroke-dashoffset: 150; opacity: 0; } 1% { opacity: .9; } 9% { opacity: .9; } 10% { stroke-dashoffset: -1000; opacity: 0; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
@keyframes pulse-core { 0% { stroke-dashoffset: 70; opacity: 0; } 1% { opacity: 1; } 9% { opacity: 1; } 10% { stroke-dashoffset: -1000; opacity: 0; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
.pulse-glow { animation: pulse-glow 18s cubic-bezier(.45, .05, .35, 1) 1s infinite; }
.pulse-core { animation: pulse-core 18s cubic-bezier(.45, .05, .35, 1) 1s infinite; }

/* ---------- Lichtglans over "Glasvezeltechniek," ---------- */
.hero-title .shine {
  width: fit-content;
  background: linear-gradient(105deg, #fff 0%, #fff 42%, #5fffd0 47%, #f4fffb 50%, #5fffd0 53%, #fff 58%, #fff 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: shine 18s ease-in-out 1s infinite;
}
@keyframes shine {
  0%, 8% { background-position: 100% 0; filter: drop-shadow(0 0 0 rgba(95, 255, 208, 0)); }
  11% { filter: drop-shadow(0 0 10px rgba(95, 255, 208, .45)); }
  15% { background-position: 0% 0; filter: drop-shadow(0 0 0 rgba(95, 255, 208, 0)); }
  100% { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-glow, .pulse-core, .hero-title .shine { animation: none; }
}
/* Foto in huisstijlkleuren (scripts/maak-patchkast.mjs), rechtsonder, schuin en zacht weglopend. */
.hero-photo {
  position: absolute; right: 0; bottom: 0; z-index: 0; pointer-events: none;
  width: min(100%, 560px); aspect-ratio: 900 / 1125;
  background: url("/assets/patchkast.webp") center / cover no-repeat;
  opacity: .5;
  --fade: linear-gradient(to bottom right, transparent 22%, #000 68%), linear-gradient(to top, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 40%),
          linear-gradient(to right, transparent 0%, #000 35%), linear-gradient(to bottom, transparent 0%, #000 18%);
  -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in, source-in, source-in;
          mask-image: var(--fade);         mask-composite: intersect;
}
/* Extra gloed over het laserlampje (62% / 55% van de foto), licht op na de logopuls */
.hero-photo .laser {
  position: absolute; left: 62%; top: 55%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; mix-blend-mode: screen; opacity: .35;
  background: radial-gradient(circle, rgba(255, 70, 140, .95) 0%, rgba(255, 45, 111, .45) 18%, rgba(255, 45, 111, 0) 60%);
  animation: laser 18s ease-in-out 1s infinite;
}
@keyframes laser { 0%, 29% { opacity: .35; } 34% { opacity: 1; } 42.5%, 100% { opacity: .35; } }
@media (min-width: 901px) {
  .hero-photo { width: min(48%, 640px); opacity: .4; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo .laser { animation: none; } }

/* ---------- Groot L-logo met lichtpuls in de hero ---------- */
.hero-logo svg { overflow: visible; }
.hero-logo .ring { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1.5; }
.hero-logo .pulse-glow, .hero-logo .pulse-core { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero-logo .pulse-core { stroke-width: 8; }
.hero-logo .pulse-glow { stroke-width: 34; }
.hero-art.hero-logo { width: min(100%, 520px); }
.hero-logo .ring { stroke: rgba(255, 255, 255, .07); }
.hero-logo .ring-buiten { stroke: rgba(255, 255, 255, .04); }
@media (max-width: 900px) { .hero-art.hero-logo { width: min(72%, 280px); margin-bottom: -1rem; } }

/* Meer lucht in de hoofdkop bovenaan */
.hero .eyebrow { margin-bottom: clamp(1.1rem, 2.6vh, 1.6rem); }
.hero-title .line.shine { margin-bottom: .22em; }

/* ---------- Eindstation "Plan een gesprek" (subtiel, aan zodra het blok in beeld komt) ---------- */
:is(.panel .btn, .brandknop) { position: relative; isolation: isolate; }
:is(.panel.eindstation .btn, .brandknop.brandt) { animation: eindgloed 4s ease-in-out infinite; }
@keyframes eindgloed {
  0%, 100% { box-shadow: 0 6px 18px rgba(27, 167, 165, .35), 0 0 14px 2px rgba(95, 255, 208, .25); }
  50% { box-shadow: 0 6px 18px rgba(27, 167, 165, .4), 0 0 26px 6px rgba(95, 255, 208, .4); }
}
/* één zachte lichtring als baken */
:is(.panel.eindstation .btn, .brandknop.brandt)::after {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; pointer-events: none;
  border: 1px solid rgba(160, 255, 225, .45); animation: baken 4s ease-out infinite;
}
@keyframes baken { 0% { transform: scale(1); opacity: .6; } 60%, 100% { transform: scale(1.18, 1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .brandknop.brandt, .brandknop.brandt::after { animation: none; } }

/* ---------- Contact donker ---------- */
#contact { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #fff; }
#contact h2 { color: #fff; }
#contact .lead { color: rgba(255, 255, 255, .78); }
#contact .eyebrow { color: var(--teal); }
#contact address { color: #b6c2d2; }
.site-footer { border-top: 1px solid rgba(255, 255, 255, .06); }
/*  0–20%  puls door het L-logo · 16–30% glans over "Glasvezeltechniek," · 30–57% licht door de keten
    57–80% kader om "Lekatonpessy, daar kunt u op bouwen." brandt op · daarna start het leeslicht (site.js) */
.titelblok { display: block; width: fit-content; margin-top: .3em; }
.keten { display: block; width: 100%; line-height: 0; margin-bottom: -1px; }
.keten svg { width: 100%; height: auto; overflow: visible; }
.keten .k-lijn { fill: none; stroke: rgba(95, 209, 181, .28); stroke-width: 2; stroke-linejoin: round; }
.keten .k-puls { fill: none; stroke: #f4fffb; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 70 1300; stroke-dashoffset: 70; opacity: 0; animation: ketenpuls 18s linear 1s infinite; }
.keten .k-puls-gloed { stroke: #5fffd0; stroke-width: 10; filter: blur(4px); }
@keyframes ketenpuls { 0%, 15% { stroke-dashoffset: 0; opacity: 0; } 15.25% { opacity: 1; } 27.75% { opacity: 1; } 28% { stroke-dashoffset: -1000; opacity: 0; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
.keten .k-node { color: rgba(95, 209, 181, .55); animation: ketenlicht 18s ease-out 1s infinite; }
/* het licht bereikt straatkast, DP en woning na 23%, 47% en 70% van de lijn (lijn loopt 30% → 56%) */
.keten .k2 { animation-delay: 1.51s; } .keten .k3 { animation-delay: 2.05s; } .keten .k4 { animation-delay: 2.59s; }
@keyframes ketenlicht {
  0%, 14.8% { color: rgba(95, 209, 181, .55); filter: none; }
  15.3% { color: #d6fff2; filter: drop-shadow(0 0 6px rgba(95, 255, 208, .9)); }
  24%, 100% { color: rgba(95, 209, 181, .55); filter: none; }
}
.keten .k-kader { fill: #071427; stroke: currentColor; stroke-width: 1.5; }
.keten .k-icoon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.keten .k-stip { stroke-width: 3; }
.keten text { fill: rgba(255, 255, 255, .6); font: 600 13px var(--font); letter-spacing: .04em; text-anchor: middle; }
@media (max-width: 600px) { .keten text { font-size: 19px; } }
.titelkader { position: relative; display: block; padding: .18em .5em .26em; margin-left: -.5em; border-radius: 16px; }
/* het kader zelf is onzichtbaar; de tekst "Lekatonpessy, daar kunt u op bouwen." licht op als het licht aankomt */
.titelkader { animation: titelbrand 18s ease-out 1s infinite; }
@keyframes titelbrand {
  0%, 28% { filter: brightness(1) drop-shadow(0 0 0 rgba(95, 255, 208, 0)); }
  29.5% { filter: brightness(1.55) drop-shadow(0 0 10px rgba(95, 255, 208, .75)) drop-shadow(0 0 24px rgba(95, 255, 208, .35)); }
  39%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(95, 255, 208, 0)); }
}
@media (prefers-reduced-motion: reduce) { .keten .k-puls, .keten .k-node, .titelkader { animation: none; } }
/*  tijdlijn (start na 1 s; cyclus nu 18 s, alle percentages gehalveerd, zelfde tijden in seconden): 56–59% titelkader brandt · 59–79% licht loopt via het kader om de inleiding
    naar de knop · 79% knop flitst op; vanaf de eerste aankomst blijft de knop zacht branden (.brandt, site.js) */
.hero-tekst { position: relative; --titel: clamp(1.5rem, 7.5vw, 3.2rem); }
.lead-kader {
  position: relative; border: 1.5px solid rgba(95, 209, 181, .28); border-radius: 6px;
  padding: 1rem calc(var(--titel) * .5); margin-left: calc(var(--titel) * -.5); margin-top: 1.6rem;
}
.hero-route { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; z-index: 1; }
.hero-route .r-lijn { fill: none; stroke: rgba(95, 209, 181, .28); stroke-width: 1.5; }
.hero-route .r-puls { fill: none; stroke: #f4fffb; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60 1300; stroke-dashoffset: 60; opacity: 0; animation: routepuls 18s linear 1s infinite; }
.hero-route .r-gloed { stroke: #5fffd0; stroke-width: 9; filter: blur(4px); }
@keyframes routepuls { 0%, 29.5% { stroke-dashoffset: 60; opacity: 0; } 29.75% { opacity: 1; } 39.25% { opacity: 1; } 39.5% { stroke-dashoffset: -1000; opacity: 0; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
.brandknop::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px rgba(214, 255, 242, .9), 0 0 26px 8px rgba(95, 255, 208, .7);
  animation: knopflits 18s ease-out 1s infinite;
}
@keyframes knopflits { 0%, 39.25% { opacity: 0; } 40% { opacity: 1; } 45%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-route .r-puls, .brandknop::before { animation: none; } }

/* ---------- Kop Diensten in dezelfde stijl als Over ons, op één regel ---------- */
.kleur-kop { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 1.1rem; }
.kleur-kop .b, .kleur-kop .g { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.kleur-kop .b { background-image: linear-gradient(90deg, #0b1f3f 0%, #0f3b50 55%, #2f8f45 100%); }
.kleur-kop .g { background-image: linear-gradient(90deg, #3a9e2c, #17958f); }
.kleur-kop::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 1.1rem; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--teal)); }

/* =====================================================================
   DIENSTEN ALS TRACÉ: stations langs één glasvezellijn (donker blok)
   ===================================================================== */
#diensten.donker { background: radial-gradient(700px 420px at 12% 430px, rgba(27, 167, 165, .12), transparent 60%), linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #fff; overflow: hidden; }
#diensten.donker .lead { color: rgba(255, 255, 255, .75); }
#diensten.donker .eyebrow { color: var(--teal); }
#diensten.donker .kleur-kop .b { background-image: linear-gradient(90deg, #fff, #fff); }
#diensten.donker .kleur-kop .g { background-image: linear-gradient(90deg, var(--green), var(--teal)); }

.trace { position: relative; margin-top: 2.5rem; --x: 14px; }
.spoor { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; transform: translateX(-1px); background: rgba(95, 209, 181, .16); }
.spoor-licht { position: absolute; top: 0; left: 0; width: 100%; height: var(--licht, 0px); background: linear-gradient(180deg, rgba(95, 255, 208, .15), #5fffd0); box-shadow: 0 0 10px rgba(95, 255, 208, .55); transition: height .25s linear; }
.spoor-licht::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; transform: translateX(-50%); border-radius: 50%; background: #eafff8; box-shadow: 0 0 10px #5fffd0, 0 0 26px rgba(95, 255, 208, .8); }

.station { position: relative; padding: 0 0 3rem calc(var(--x) + 1.6rem); }
.knoop { position: absolute; left: var(--x); top: .5rem; width: 16px; height: 16px; transform: translateX(-50%) rotate(45deg); background: var(--navy-900); border: 2px solid rgba(95, 209, 181, .45); transition: all .6s ease; z-index: 2; }
.station.aan .knoop { border-color: #c8fff0; background: var(--teal); box-shadow: 0 0 14px rgba(95, 255, 208, .8); }
.st-tekst { position: relative; z-index: 2; }
.station .nr { display: block; font-size: clamp(3rem, 9vw, 5.5rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(95, 209, 181, .45); transition: all .6s ease; }
.station.aan .nr { -webkit-text-stroke-color: transparent; background: linear-gradient(90deg, var(--green), var(--teal)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 12px rgba(95, 255, 208, .25)); }
.station .label { display: block; font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #5fd1b5; margin: .9rem 0 .45rem; }
.station h3 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: .5rem; }
.station p { color: #c3cfdd; max-width: 50ch; margin: 0; }

/* Foto: geen kader, een uitsnede die naar alle kanten geleidelijk wegvloeit in het donker */
.st-beeld {
  position: relative; z-index: 1; aspect-ratio: 4 / 3; margin: -1.5rem -1.25rem 0 -2.5rem;
  background: var(--foto) center / cover no-repeat;
  --fade: linear-gradient(to right, transparent 0%, #000 30%, #000 70%, transparent 100%),
          linear-gradient(to bottom, transparent 0%, #000 28%, #000 68%, transparent 100%);
  -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in;
          mask-image: var(--fade);         mask-composite: intersect;
  opacity: .85; filter: saturate(.85) brightness(.85);
}

@media (min-width: 900px) {
  .trace { --x: 50%; margin-top: 3.5rem; }
  .station { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0 4rem; padding: 0 0 2rem; min-height: 360px; }
  .station .knoop { top: 50%; margin-top: -8px; }
  .station.links .st-tekst { grid-column: 1; grid-row: 1; text-align: right; padding-right: 1.5rem; }
  .station.links .st-tekst p { margin-left: auto; }
  .station.rechts .st-tekst { grid-column: 2; grid-row: 1; padding-left: 1.5rem; }
  .st-beeld { grid-row: 1; margin: 0; width: 125%; }
  .station.links .st-beeld { grid-column: 2; margin-left: -6%; }
  .station.rechts .st-beeld { grid-column: 1; justify-self: end; margin-right: -6%; }
  .station.links .st-beeld { --fade: linear-gradient(to right, transparent 0%, #000 34%, #000 62%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 26%, #000 70%, transparent 100%); }
  .station.rechts .st-beeld { --fade: linear-gradient(to left, transparent 0%, #000 34%, #000 62%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 26%, #000 70%, transparent 100%); }
}
@media (prefers-reduced-motion: reduce) { .spoor-licht { transition: none; } }

/* =====================================================================
   DONKERE MODUS (telefoon/computer op donker): eigen donkere versie,
   zodat de browser niets zelf omkleurt en geen kop wegvalt.
   ===================================================================== */
:root { color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071224; --surface: #0b1830; --surface-2: #0f1f3a;
    --text: #eef3f8; --text-2: #b6c2d2; --text-3: #8796ab;
    --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
    --accent: #5fd1b5; --accent-soft: rgba(27, 167, 165, .16); --teal-dark: #5fd1b5;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
  .skip { background: var(--surface); color: var(--text); }
  .btn-outline { background: transparent; color: #5fd1b5; border-color: #5fd1b5; }
  .btn-outline:hover { background: rgba(95, 209, 181, .1); }
  .eyebrow { color: #5fd1b5; }
  /* gekleurde koppen: eerste deel wit → mint, tweede deel fel groen → groenblauw */
  .kleur-kop .b { background-image: linear-gradient(90deg, #ffffff 0%, #e6fff7 55%, #9ff0d2 100%); }
  .kleur-kop .g { background-image: linear-gradient(90deg, var(--green), var(--teal)); }
  .note { background: var(--surface-2); color: var(--text-2); }
  .badge.grey { background: var(--surface-2); color: var(--text-3); }
}

/* =====================================================================
   CAPACITEIT (C1, eindstation) en OVER ONS (O1, twee kolommen) — donker
   ===================================================================== */
  .cap .label { display: block; font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #5fd1b5; margin-bottom: .8rem; }
  .cap, .ov { color: #fff; position: relative; overflow: clip; }   /* clip i.p.v. hidden: anders werkt de meelopende linkerkolom niet goed */
  .cap p, .ov p { color: #c3cfdd; }
  .ov .w { color: #fff; }
  .ov .g { background: linear-gradient(90deg, var(--green), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .ov-kop { font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 1rem; }
  .ov-kop { font-size: clamp(1.9rem, 4.4vw, 3rem); }
  .ov-kop span { display: block; width: fit-content; }
  .vl-logo .ring { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1.5; }
  .vl-logo { width: 100%; height: auto; overflow: visible; }
  .vl-puls { fill: none; stroke: #f4fffb; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 70 1300; stroke-dashoffset: 70; filter: drop-shadow(0 0 6px #5fffd0) drop-shadow(0 0 14px #5fffd0); animation: vlpuls 12s cubic-bezier(.45,.05,.35,1) 1s infinite; }
  @keyframes vlpuls { 0% { stroke-dashoffset: 70; opacity: 0; } 2% { opacity: 1; } 17% { opacity: 1; } 19% { stroke-dashoffset: -1000; opacity: 0; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
  /* O1 */
  .o1 { background: linear-gradient(180deg, var(--navy-900) 0px, #081226 240px, var(--navy-800) 520px, #091427 60%, var(--navy-800) 100%); padding: clamp(4rem, 9vw, 7rem) 0; }
  .o1-grid { display: grid; gap: 2.5rem; }
  .o1-cijfer { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
  .o1-cijfer .nr { font-size: clamp(4rem, 10vw, 6.5rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px #5fd1b5; }
  .o1-cijfer span:last-child { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #8fb3c4; line-height: 1.5; }
  .o1-foto { aspect-ratio: 4/3; background: url(/assets/ov-monteur.webp) center / cover; opacity: .75;
    --f: linear-gradient(to right, transparent, #000 25%, #000 75%, transparent), linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
    -webkit-mask-image: var(--f); -webkit-mask-composite: source-in; mask-image: var(--f); mask-composite: intersect; margin: 0 -1.5rem; }
  .o1-verhaal { max-width: 62ch; }
  .ov-lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: #eef3f8 !important; line-height: 1.6; }
  .o1-verhaal p { margin-bottom: 1.1rem; }
  .ov-quote { margin: 2rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid #5fffd0; box-shadow: -8px 0 16px -10px rgba(95,255,208,.6); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 700; line-height: 1.35; color: #fff; }
  .ov-quote strong { font-weight: 700; }
  .o1-verhaal p strong { color: #fff; }
  @media (min-width: 900px) { .o1-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } .o1-links { position: sticky; top: 92px; align-self: start; } }
  @media (prefers-reduced-motion: reduce) { .vl-puls { animation: none; } }
/* gloed op "Plan een gesprek" zodra de knop in beeld is (site.js zet .eindstation) */
#capaciteit .btn { position: relative; isolation: isolate; }
#capaciteit.eindstation .btn { animation: eindgloed 4s ease-in-out infinite; }
#capaciteit.eindstation .btn::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; pointer-events: none; border: 1px solid rgba(160, 255, 225, .45); animation: baken 4s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { #capaciteit.eindstation .btn, #capaciteit.eindstation .btn::after { animation: none; } }
/* Menu "Over ons": label en kop direct onder de menubalk */
#over { scroll-margin-top: calc(85px - clamp(4rem, 9vw, 7rem)); }

/* ---------- Station 07: Capaciteit nodig? als laatste station van het tracé ---------- */
.station.eind { padding-bottom: 0; }
.station.eind .knoop { margin-top: -8px; }
.station.eind .btn { margin-top: 1.5rem; }                 /* top wordt in site.js op de knop gezet */
.st-logo { width: min(70%, 300px); margin: 2.5rem auto 0; }
.station.eind.aan .knoop { background: var(--teal); }
@media (min-width: 900px) {
  .station.eind { padding-top: 0; }
  .station.eind .st-logo { grid-column: 2; grid-row: 1; width: min(100%, 360px); margin: 0; justify-self: center; }
}

/* Overgangen zonder rand: bovenste blok → Diensten, en station 07 → Over ons */
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 21, 40, 0), rgba(11, 21, 40, .55) 55%, var(--navy-800)); }
.hero .wrap { z-index: 2; }
#diensten.donker { background-color: var(--navy-900); }
/* gloed van "Plan een gesprek" niet afknippen aan de onderkant van station 07 */
#capaciteit.station { overflow: visible; }
.station.eind { padding-bottom: 3rem; }

/* ---------- Uitgelichte zinnen in Over ons: helder wit vak, fel groene tekst die eruit springt ---------- */
.ov .ov-quote {
  position: relative; margin: 2.6rem 0; padding: 1.6rem 1.75rem 1.75rem; border: 0; border-radius: 0;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(77, 176, 59, .35), 0 0 34px rgba(77, 176, 59, .18);
  overflow: hidden;
}
.ov .ov-quote::after {           /* accentbalk onderaan in groen → groenblauw */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, #4db03b, #1ba7a5);
}
.ov .ov-quote strong {
  display: block; font-size: clamp(1.35rem, 2.5vw, 1.8rem); font-weight: 800; line-height: 1.25; letter-spacing: -.015em;
  color: transparent !important;
  background: linear-gradient(90deg, #2f9a2a 0%, #23a05a 55%, #138f88 100%);
  -webkit-background-clip: text; background-clip: text;
}
@media (max-width: 600px) { .ov .ov-quote { padding: 1.3rem 1.3rem 1.5rem; } }
.ov .ov-quote::before { content: none; }

/* =====================================================================
   KOPPEN ZONDER KLEURVERLOOP IN DE TEKST
   Tekst met een verloop (background-clip: text) wordt door de donkere modus van
   o.a. Samsung Internet donker gemaakt. Daarom effen kleuren in dezelfde groentinten.
   ===================================================================== */
.hero-title .g, .kleur-kop .b, .kleur-kop .g, .ov .g, .station.aan .nr, .ov .ov-quote strong {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
}
.hero-title .g:nth-child(2), .titelkader .line:first-child { color: #4db03b !important; -webkit-text-fill-color: #4db03b !important; }
.hero-title .titelkader .line:last-child { color: #23ad8c !important; -webkit-text-fill-color: #23ad8c !important; }
.kleur-kop .b, #diensten.donker .kleur-kop .b { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.kleur-kop .g, .ov .g { color: #3db36a !important; -webkit-text-fill-color: #3db36a !important; }
.station .nr { -webkit-text-fill-color: transparent; }
.station.aan .nr { color: #3db36a !important; -webkit-text-fill-color: #3db36a !important; -webkit-text-stroke-color: transparent; }
.ov .ov-quote strong { color: #22963f !important; -webkit-text-fill-color: #22963f !important; }

/* "Glasvezeltechniek,": effen wit; de lichtglans loopt als aparte laag eroverheen */
.hero-title .shine {
  position: relative; background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important; animation: none !important;
}
.hero-title .shine::after {
  content: attr(data-tekst); position: absolute; inset: 0; pointer-events: none; white-space: nowrap;
  background: linear-gradient(105deg, transparent 0%, transparent 42%, #5fffd0 47%, #f4fffb 50%, #5fffd0 53%, transparent 58%, transparent 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: shine 18s ease-in-out 1s infinite;
}
@media (prefers-reduced-motion: reduce) { .hero-title .shine::after { animation: none; } }


/* L-logo in effen kleurstappen (geen verloop/url-verwijzingen: blijft licht in elke donkere modus) */
.l-effen path { fill: none; stroke-width: 19; stroke-linecap: butt; stroke-linejoin: round; }
.l-gloed-g { opacity: .35; filter: blur(9px); }
.l-gloed-g path { stroke-width: 26; }
.brand .logo-pulse .mark-l { display: block; height: 36px; width: auto; overflow: visible; }

/* Uitgelichte zinnen Over ons: alle drie helder wit met fel groene tekst */
.ov .ov-quote {
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(77, 176, 59, .35), 0 0 34px rgba(77, 176, 59, .18);
}
.ov .ov-quote::after { background: linear-gradient(90deg, #4db03b, #1ba7a5); }
.ov .ov-quote strong { color: #22963f !important; -webkit-text-fill-color: #22963f !important; }

/* Telefoon: logo onder "Plan een gesprek" in het midden tussen knop en Over ons, en gecentreerd op het scherm */
@media (max-width: 899px) {
  #capaciteit .st-logo { position: relative; left: calc((var(--x) + 1.6rem) / -2); margin-top: calc(2.5rem + 68px); margin-bottom: -68px; }
}
/* Label "Over ons" onder de kop, zelfde opmaak als "Diensten" */
#over .over-label { display: block; margin: .2rem 0 1.25rem; color: var(--teal); }

/* ---------- Contact in de stijl van het tracé: geen kaders, lichtlijn + ruitje + label ---------- */
#contact .eyebrow-below { color: var(--teal); }
.contact-lijn { display: grid; gap: 2.75rem 4rem; margin-top: .5rem; }
@media (min-width: 760px) { .contact-lijn { grid-template-columns: 1.2fr 1fr; } }
.cl-item { position: relative; padding: 1.6rem 0 0 1.9rem; }
.cl-item::before {                      /* dunne lichtlijn erboven, wegvloeiend naar rechts */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, #5fffd0, rgba(27, 167, 165, .45) 40%, transparent);
  box-shadow: 0 0 10px rgba(95, 255, 208, .35);
}
.cl-knoop {                             /* brandend ruitje, zoals op de tracélijn */
  position: absolute; left: 2px; top: 1.95rem; width: 12px; height: 12px; transform: rotate(45deg);
  background: var(--teal); border: 2px solid #c8fff0; box-shadow: 0 0 12px rgba(95, 255, 208, .75);
}
.cl-label {
  display: block; font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #5fd1b5; margin-bottom: .75rem;
}
.cl-mail {
  display: inline-block; color: #fff !important; font-weight: 800; letter-spacing: -.01em; text-decoration: none !important;
  font-size: clamp(1.45rem, 3.4vw, 2.1rem); line-height: 1.2; word-break: break-word;
  background: linear-gradient(90deg, #4db03b, #1ba7a5) left bottom / 100% 2px no-repeat; padding-bottom: .25rem;
  transition: color .25s ease, background-size .3s ease;
}
.cl-mail:hover { color: #6de38b !important; background-size: 100% 3px; }
.cl-sub { color: #b6c2d2; margin: .8rem 0 0; }
.cl-adres { font-style: normal; color: #c3cfdd; font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.7; }
.cl-adres strong { color: #fff; font-weight: 700; }
/* Beginpagina is helemaal donker: ook de paginagrond (zichtbaar bij doortrekken/overscroll op de telefoon) */
html:has(#home), body:has(#home) { background: #040b1a; }
