/* Ontwerp 6 · Nachtblauw — donker in het navy van het logo, met lichtsporen in
   de hero, de prijs als zoekbalk en een blok overdag/'s nachts. Bouwt voort op
   stijl.css en zwart.css (html class="thema-zwart thema-nacht"). */

.thema-nacht body { background: var(--z-bg); }
.thema-nacht .kop { background: rgba(5, 15, 31, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* Hero met lichtsporen */
.e-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(20, 83, 219, .28) 0%, rgba(20, 83, 219, 0) 70%),
    linear-gradient(180deg, #030A16 0%, #07284E 62%, #050F1F 100%);
  padding: 72px 0 64px;
}
.e-sporen { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; }
.e-spoor { fill: none; stroke-linecap: round; stroke-dasharray: 90 34; animation: e-rijden 3.2s linear infinite; }
.e-spoor--2 { animation-duration: 4.4s; }
.e-spoor--3 { animation-duration: 3.6s; animation-direction: reverse; }
.e-spoor--4 { animation-duration: 2.8s; animation-direction: reverse; stroke-dasharray: 40 120; }
.e-spoor--5 { animation-duration: 5.2s; }
.e-spoor--6 { animation-duration: 4.8s; animation-direction: reverse; }
@keyframes e-rijden { to { stroke-dashoffset: -248; } }

.e-hero__binnen { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.e-hero h1 { color: #FFFFFF; font-weight: 800; font-size: clamp(34px, 6vw, 76px); line-height: 1.02; letter-spacing: -.01em; }
.e-licht { background: linear-gradient(90deg, #7FA4FF 0%, #2A66F0 55%, #7FA4FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.e-hero__intro { color: var(--z-zacht); font-size: 19px; max-width: 620px; }

/* De prijs als zoekbalk */
.e-zoek {
  width: 100%;
  max-width: 1040px;
  margin-top: 18px;
  text-align: left;
  background: rgba(8, 22, 44, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(127, 164, 255, .22);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(20, 83, 219, .08), 0 0 60px rgba(20, 83, 219, .18);
}
.e-zoek__rij { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.e-zoek__rij .calc__pijl { margin-top: 32px; }
.e-zoek__rij .calc__knop { margin-top: 27px; min-height: 52px; }
.e-zoek__keuzes { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 6px; }
.segment--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.e-zoek .calc__uitkomst { margin-top: 18px; border: 1px solid var(--z-rand); }
.e-zoek .klein { margin-top: 14px; }

/* Strook onder de hero */
.e-strook {
  list-style: none;
  margin: 0;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  background: var(--z-diep);
  border-top: 1px solid var(--z-rand);
  border-bottom: 1px solid var(--z-rand);
}
.e-strook li { display: flex; align-items: center; gap: 10px; color: #E2E8F0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.e-strook li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--z-blauw-licht); box-shadow: 0 0 10px var(--z-blauw-licht); }

/* Secties */
.e-sectie { padding: 96px 0; }
.e-sectie--vlak { background: linear-gradient(180deg, var(--z-diep) 0%, #071a36 100%); }

.e-diensten { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.e-diensten__kop { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; position: sticky; top: 110px; }
.e-diensten__kop h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; }
.e-diensten__kop p { color: var(--z-zacht); font-size: 18px; }
.e-lijst { list-style: none; margin: 0; padding: 0; }
.e-lijst li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--z-rand); }
.e-lijst li:first-child { border-top: 1px solid var(--z-rand); }
.e-lijst__nr { font-family: var(--kop); font-weight: 800; font-size: 34px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--z-blauw-licht); }
.e-lijst h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.e-lijst p { color: var(--z-zacht); }

/* Overdag of 's nachts */
.e-tarief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.e-periode { position: relative; border-radius: 20px; padding: 32px; background: var(--z-vlak); border: 1px solid var(--z-rand); display: flex; flex-direction: column; gap: 6px; }
.e-periode--nacht { background: radial-gradient(90% 120% at 100% 0%, rgba(20, 83, 219, .35) 0%, rgba(20, 83, 219, 0) 60%), #06132A; border-color: var(--z-rand-sterk); }
.e-periode.is-nu { border-color: var(--z-blauw-licht); box-shadow: 0 0 0 1px var(--z-blauw-licht), 0 0 40px rgba(42, 102, 240, .25); }
.e-periode__kop { display: flex; align-items: center; gap: 12px; }
.e-periode__kop svg { width: 26px; height: 26px; color: var(--z-blauw-tekst); }
.e-periode__kop h3 { font-size: 20px; }
.e-periode__nu { margin-left: auto; background: var(--z-blauw); color: #FFFFFF; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.e-periode__tijd { color: var(--z-zacht); font-weight: 700; letter-spacing: .04em; }
.e-periode__prijs { font-family: var(--kop); font-weight: 800; font-size: clamp(30px, 4vw, 44px); color: #FFFFFF; margin-top: 10px; }
.e-periode__uitleg { color: var(--z-zacht); font-size: 14px; }

/* Bussen */
.e-bussen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.e-bus { background: var(--z-vlak); border: 1px solid var(--z-rand); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .2s; }
.e-bus:hover { border-color: var(--z-blauw-licht); transform: translateY(-3px); }
.e-bus__beeld { position: relative; height: 130px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.e-bus__beeld::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: -6px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 102, 240, .55), rgba(42, 102, 240, 0)); }
.e-bus__beeld svg { position: relative; z-index: 1; width: 100%; max-height: 120px; }
.e-bus h3 { font-size: 17px; font-weight: 600; }
.e-bus p { color: var(--z-zacht); font-size: 15px; }
.thema-nacht .e-bus__prijs { margin-top: auto; padding-top: 10px; color: var(--z-blauw-tekst); font-weight: 700; font-size: 14px; }

/* Zakelijk, buitenland, werken bij */
.e-tegels { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.e-tegel { border-radius: 20px; padding: 32px; background: var(--z-vlak); border: 1px solid var(--z-rand); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.e-tegel h2 { font-size: 22px; font-weight: 700; }
.e-tegel p { color: var(--z-zacht); }
.e-tegel .knop, .e-tegel__link { margin-top: auto; }
.e-tegel__link { font-weight: 700; text-decoration: none; }
.e-tegel--blauw { background: linear-gradient(135deg, #1453DB 0%, #0C4090 70%, #07284E 100%); border: 0; }
.e-tegel--blauw p { color: #DCE6FF; }

@media (max-width: 1024px) {
  .e-zoek__rij { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .e-zoek__rij .calc__knop { grid-column: 1 / -1; margin-top: 0; }
  .e-zoek__keuzes { grid-template-columns: minmax(0, 1fr); }
  .e-bussen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-tegel--blauw { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .e-sectie { padding: 64px 0; }
  .e-diensten { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .e-diensten__kop { position: static; }
  .e-tarief { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .e-hero { padding: 44px 0 40px; }
  .e-hero__intro { font-size: 17px; }
  .e-zoek { padding: 16px; border-radius: 18px; }
  .e-zoek .calc__prijs { font-size: 24px; }
  .e-zoek__rij { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .e-zoek__rij .calc__pijl { margin: -6px auto 2px; }
  .e-zoek__rij .calc__knop { margin-top: 8px; }
  .segment--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-strook { justify-content: flex-start; flex-direction: column; padding: 18px 16px; }
  .e-lijst li { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .e-lijst__nr { font-size: 26px; }
  .e-periode, .e-tegel { padding: 24px; }
  .e-bussen, .e-tegels { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .e-spoor { animation: none; }
  .e-bus { transition: none; }
  .e-bus:hover { transform: none; }
}
