/* ==========================================================================
   Koffiefiets — V3 minimalistisch (agent B)
   /koffiefiets (.bk-*) en de homepage-regel (_bike-next.twig, .bike-next*).
   Tokens komen uit brand.css (--k-*); de fallbacks hieronder zijn de V3-waarden uit KOFFIETS.md.
   Alle selectors zijn geprefixt: dit bestand wordt ook op de homepage geladen.
   ========================================================================== */

.bk, .bike-next {
    --bk-bg: var(--k-bg, #FFFFFF);
    --bk-surface: var(--k-surface, #FAF7F5);
    --bk-pink: var(--k-pink, #F6D3D5);
    --bk-accent: var(--k-accent, #B83265);
    --bk-ink: var(--k-ink, #171213);
    --bk-muted: var(--k-muted, #6F6667);
    --bk-line: var(--k-line, #ECE6E4);
    --bk-live: var(--k-success, #2F9E5B);
    --bk-past: #B4ABAC;
    --bk-ease: var(--k-ease, cubic-bezier(.2, .8, .2, 1));
    color: var(--bk-ink);
}
.bk [hidden], .bike-next [hidden] { display: none !important; }

.bk-num { font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- live-bolletje */
.bk-dot {
    position: relative;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bk-muted);
}
.is-live > .bk-dot,
.bk-stop__live .bk-dot,
.bike-next.is-live .bk-dot { background: var(--bk-live); }
.is-live > .bk-dot::after,
.bike-next.is-live .bk-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--bk-live);
    opacity: 0;
    animation: bk-pulse 2.4s var(--bk-ease) infinite;
}
.is-off > .bk-dot,
.bike-next.is-off .bk-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--bk-muted); }
@keyframes bk-pulse {
    0% { transform: scale(.6); opacity: .35; }
    70%, 100% { transform: scale(1.6); opacity: 0; }
}

/* -------------------------------------------------------------- tekstlinks */
.bk-link {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 500;
    color: var(--bk-ink);
    text-decoration: underline;
    text-decoration-color: var(--bk-line);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    cursor: pointer;
    transition: color .2s var(--bk-ease), text-decoration-color .2s var(--bk-ease);
}
.bk-link:hover { color: var(--bk-accent); text-decoration-color: currentColor; }
.bk-link:focus-visible { outline: 2px solid var(--bk-accent); outline-offset: 3px; border-radius: 2px; box-shadow: none; }

/* ==========================================================================
   /koffiefiets
   ========================================================================== */
.bk-main { display: block; padding: 0; max-width: none; }

.bk-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: calc(1200px + 48px);
    margin-inline: auto;
    padding-inline: 24px;
}

/* -------------------------------------------------------------- kop */
.bk-head { padding-top: 96px; padding-bottom: 56px; }
.bk-title {
    margin: 0;
    font-size: clamp(40px, 5.2vw, 64px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.03em;
    text-wrap: balance;
    color: var(--bk-ink);
}
.bk-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 28px;
    color: var(--bk-ink);
}
.bk-status strong { font-weight: 600; }
.bk-sep { color: var(--bk-muted); margin-inline: 2px; }
.bk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 12px 0 0 20px;
    font-size: 15px;
    line-height: 24px;
}

/* -------------------------------------------------------------- balk: week + navigatie */
.bk-plan { padding-bottom: 80px; }
.bk-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--bk-line);
    margin-bottom: 8px;
}
.bk-week {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--bk-muted);
}
.bk-week .bk-num { color: var(--bk-ink); white-space: nowrap; }
.bk-nav { display: flex; align-items: center; gap: 4px; }
.bk-round, .bk-today {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 40px;
    border: 1px solid var(--bk-line);
    border-radius: 999px;
    background: var(--bk-bg);
    color: var(--bk-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s var(--bk-ease), background-color .2s var(--bk-ease);
}
.bk-round { width: 40px; padding: 0; }
.bk-round svg { width: 18px; height: 18px; }
.bk-today { padding: 0 16px; }
.bk-round:hover, .bk-today:hover { border-color: var(--bk-ink); }
.bk-round:focus-visible, .bk-today:focus-visible { outline: 2px solid var(--bk-accent); outline-offset: 2px; box-shadow: none; }

/* -------------------------------------------------------------- dagkiezer */
.bk-days { margin: 0 0 32px; }
.bk-days__list {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bk-dayb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-sizing: border-box;
    min-height: 80px;
    padding: 12px 4px 10px;
    border: 1px solid var(--bk-line);
    border-radius: 999px;
    background: var(--bk-bg);
    color: var(--bk-ink);
    text-decoration: none;
    transition: border-color .2s var(--bk-ease), background-color .2s var(--bk-ease), color .2s var(--bk-ease);
}
.bk-dayb__short { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--bk-muted); }
.bk-dayb__num { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }
.bk-dayb__dots { display: flex; gap: 3px; height: 6px; margin-top: 4px; }
.bk-dayb__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--bk-ink); opacity: .35; }
.bk-dayb.is-today .bk-dayb__short { color: var(--bk-accent); font-weight: 600; }
.bk-dayb.is-empty .bk-dayb__num, .bk-dayb.is-past .bk-dayb__num { color: var(--bk-muted); }
/* Dag zonder stops: wel zichtbaar en klikbaar, maar gedimd (muted kleur, gestippelde rand; contrast blijft AA). */
.bk-dayb.is-empty { background: transparent; border-style: dashed; }
.bk-dayb.is-empty:not([aria-current="true"]) .bk-dayb__short { color: var(--bk-muted); }
.bk-dayb:hover { border-color: var(--bk-ink); }
.bk-dayb:focus-visible { outline: 2px solid var(--bk-accent); outline-offset: 2px; box-shadow: none; }
.bk-dayb[aria-current="true"] { background: var(--bk-ink); border-color: var(--bk-ink); color: var(--bk-bg); }
.bk-dayb[aria-current="true"] .bk-dayb__short,
.bk-dayb[aria-current="true"] .bk-dayb__num { color: var(--bk-bg); }
.bk-dayb[aria-current="true"] .bk-dayb__dots i { background: var(--bk-pink); opacity: 1; }

/* -------------------------------------------------------------- raster: kaart + traject */
.bk-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
}
.bk-mapbox { position: sticky; top: 104px; }
.bk-map {
    position: relative;
    height: clamp(480px, calc(100vh - 200px), 640px);
    height: clamp(480px, calc(100dvh - 200px), 640px);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bk-surface);
    isolation: isolate;
}
.bk-map.is-off { display: grid; place-items: center; padding: 32px; text-align: center; }
.bk-map__off { margin: 0; max-width: 32ch; font-size: 15px; line-height: 24px; color: var(--bk-muted); }
.bk-map > noscript { display: grid; place-items: center; height: 100%; padding: 32px; text-align: center; box-sizing: border-box; }

/* Leaflet: rustige grijze tegels, ingetogen bediening */
.bk-map .leaflet-container, .bk-map.leaflet-container { background: var(--bk-surface); font: inherit; }
.bk-map .leaflet-tile-pane { filter: grayscale(1) contrast(.86) brightness(1.08); }
.bk-map .leaflet-control-zoom { border: 0; margin: 16px 16px 0 0; box-shadow: none; }
.bk-map .leaflet-control-zoom a {
    width: 36px; height: 36px; line-height: 34px;
    border: 1px solid var(--bk-line);
    background: var(--bk-bg);
    color: var(--bk-ink);
    font-size: 18px;
    font-weight: 400;
}
.bk-map .leaflet-control-zoom a:first-child { border-radius: 10px 10px 0 0; border-bottom: 0; }
.bk-map .leaflet-control-zoom a:last-child { border-radius: 0 0 10px 10px; }
.bk-map .leaflet-control-zoom a:hover { background: var(--bk-surface); }
.bk-map .leaflet-control-attribution {
    background: rgba(255, 255, 255, .8);
    color: var(--bk-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-top-left-radius: 8px;
}
.bk-map .leaflet-control-attribution a { color: inherit; }

/* traject-lijn (Leaflet-SVG; CSS gaat voor op de attributen) */
.bk-line { stroke: var(--bk-ink); stroke-opacity: .72; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.bk-line.is-done { stroke: var(--bk-past); stroke-opacity: 1; }

/* genummerde pins */
.bk-pin { background: none; border: 0; }
.bk-pin span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--bk-ink);
    border: 2px solid var(--bk-bg);
    color: var(--bk-bg);
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    transition: background-color .2s var(--bk-ease);
}
.bk-pin.is-past span { background: var(--bk-past); }
.bk-pin.is-live span { background: var(--bk-live); }
.bk-pin.is-cancelled span { background: var(--bk-bg); border: 2px solid var(--bk-past); }
.bk-pin.is-selected span { background: var(--bk-accent); border-width: 3px; font-size: 14px; }
.bk-pin:focus-visible { outline: none; }
.bk-pin:focus-visible span { box-shadow: 0 0 0 2px var(--bk-bg), 0 0 0 4px var(--bk-accent); }
.bk-pin::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }

/* de fiets (afgeleid uit de agenda) */
.bk-bike { background: none; border: 0; }
.bk-bike span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--bk-pink);
    border: 2px solid var(--bk-ink);
    color: var(--bk-ink);
}
.bk-bike svg { width: 20px; height: 20px; }

.leaflet-tooltip.bk-tip {
    padding: 4px 10px;
    border: 1px solid var(--k-line, #ECE6E4);
    border-radius: 8px;
    background: var(--k-bg, #FFFFFF);
    box-shadow: none;
    color: var(--k-ink, #171213);
    font: inherit;
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
}
.leaflet-tooltip.bk-tip::before { display: none; }

/* live tracking-label op de kaart */
.bk-track {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    max-width: calc(100% - 32px - 52px);
    margin: 0;
    padding: 6px 16px 6px 6px;
    border: 1px solid var(--bk-line);
    border-radius: 999px;
    background: var(--bk-bg);
    font-size: 14px;
    line-height: 20px;
    color: var(--bk-ink);
}
.bk-track__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bk-surface);
    color: var(--bk-muted);
}
.bk-track__icon svg { width: 18px; height: 18px; }
.bk-track.is-live .bk-track__icon,
.bk-track.is-onderweg .bk-track__icon { background: var(--bk-pink); color: var(--bk-ink); }
.bk-track__text { min-width: 0; }
.bk-track__text strong { font-weight: 600; }
.bk-track__lbl { margin-right: 4px; font-weight: 600; color: var(--bk-live); }
.bk-track:not(.is-live):not(.is-onderweg) .bk-track__lbl { display: none; }
.bk-track [data-bike-track-detail] { color: var(--bk-muted); }

/* -------------------------------------------------------------- traject van de dag (lijst) */
.bk-route { min-height: 320px; }
.bk-dayp__head { margin-bottom: 8px; }
.bk-dayp__title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--bk-ink);
}
.bk-day__today { font-size: 14px; font-weight: 500; color: var(--bk-accent); letter-spacing: 0; }
.bk-dayp__meta { margin: 4px 0 0; font-size: 14px; line-height: 22px; color: var(--bk-muted); }

.bk-stops { position: relative; list-style: none; margin: 8px 0 0; padding: 0; }
/* de route als lijn langs de nummers */
.bk-stops > li { position: relative; }
.bk-stops > li::before {
    content: "";
    position: absolute;
    left: 13.5px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--bk-line);
}
.bk-stops > li:first-child::before { top: 28px; }
.bk-stops > li:last-child::before { bottom: auto; height: 28px; }
.bk-stops > li:only-child::before { display: none; }

.bk-stop__main {
    position: relative;
    display: grid;
    grid-template-columns: 28px 96px minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 14px 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.bk-stop__main:focus-visible { outline: 2px solid var(--bk-accent); outline-offset: 2px; border-radius: 8px; box-shadow: none; }
.bk-stop__no {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    border: 1.5px solid var(--bk-ink);
    border-radius: 50%;
    background: var(--bk-bg);
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    transition: background-color .2s var(--bk-ease), border-color .2s var(--bk-ease), color .2s var(--bk-ease);
}
.bk-stop__time {
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
    font-size: 15px;
    line-height: 24px;
    color: var(--bk-ink);
}
.bk-stop__end { color: var(--bk-muted); }
.bk-stop__text { display: flex; flex-direction: column; min-width: 0; padding-top: 2px; }
.bk-stop__title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    transition: color .2s var(--bk-ease);
}
.bk-stop__place { font-size: 14px; line-height: 22px; color: var(--bk-muted); }
.bk-stop__flag { margin-top: 2px; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--bk-accent); }
.bk-stop__live { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--bk-live); }

.bk-stop__main:hover .bk-stop__title { color: var(--bk-accent); }
.bk-stop.is-live .bk-stop__no { border-color: var(--bk-live); box-shadow: 0 0 0 3px var(--bk-bg), 0 0 0 4.5px var(--bk-live); }
.bk-stop.is-past .bk-stop__no { border-color: var(--bk-past); color: var(--bk-muted); }
.bk-stop.is-past .bk-stop__time,
.bk-stop.is-past .bk-stop__title { color: var(--bk-muted); }
.bk-stop.is-cancelled .bk-stop__no { border-color: var(--bk-past); color: var(--bk-muted); }
.bk-stop.is-cancelled .bk-stop__title,
.bk-stop.is-cancelled .bk-stop__time { color: var(--bk-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.bk-stop.is-cancelled .bk-stop__end { text-decoration: line-through; }
.bk-stop.is-selected .bk-stop__no { background: var(--bk-accent); border-color: var(--bk-accent); color: var(--bk-bg); }
.bk-stop.is-selected .bk-stop__title { color: var(--bk-accent); }

.bk-stop__acts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 0 0 14px calc(28px + 16px + 96px + 16px);
    font-size: 14px;
    line-height: 22px;
}

/* onderweg tussen twee stops */
.bk-leg {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 6px 0;
}
.bk-leg__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bk-pink);
    color: var(--bk-ink);
}
.bk-leg__icon svg { width: 16px; height: 16px; }
.bk-leg__text { font-size: 14px; line-height: 22px; font-weight: 500; color: var(--bk-ink); }

/* -------------------------------------------------------------- states */
.bk-state { padding: 24px 0; border-top: 1px solid var(--bk-line); margin-top: 16px; }
.bk-state p { margin: 0; max-width: 40ch; font-size: 15px; line-height: 24px; color: var(--bk-muted); }
.bk-state .bk-state__title { margin-bottom: 4px; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--bk-ink); }
.bk-btn,
.bk .bk-btn {
    display: inline-flex;
    align-items: center;
    height: 48px;
    margin-top: 24px;
    padding: 0 24px;
    border: 1px solid var(--bk-line);
    border-radius: 999px;
    background: var(--bk-bg);
    color: var(--bk-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transform: none;
}
.bk-btn:hover { border-color: var(--bk-ink); }
.bk-btn:focus-visible { outline: 2px solid var(--bk-accent); outline-offset: 2px; box-shadow: none; }

/* stille skeleton (geen glans) — gebruikt door de homepage-regel */
.bk-sk { display: block; height: 14px; border-radius: 999px; background: var(--bk-surface); }

/* -------------------------------------------------------------- alle stops van de week */
.bk-wl { padding-bottom: 80px; }
.bk-wl__title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--bk-ink);
}
.bk-wl__days { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--bk-line); }
.bk-wl__day {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 8px 24px;
    align-items: baseline;
    padding: 14px 0;
    border-top: 1px solid var(--bk-line);
}
.bk-wl__date {
    font-size: 15px;
    line-height: 24px;
    font-weight: 600;
    color: var(--bk-ink);
    text-decoration: none;
}
.bk-wl__short { display: inline-block; min-width: 2.2em; }
.bk-wl__date:hover { color: var(--bk-accent); }
.bk-wl__date:focus-visible, .bk-wl__stop:focus-visible { outline: 2px solid var(--bk-accent); outline-offset: 2px; border-radius: 4px; box-shadow: none; }
.bk-wl__day.is-selected .bk-wl__date { color: var(--bk-accent); }
.bk-wl__day.is-past .bk-wl__date { color: var(--bk-muted); }
.bk-wl__stops { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.bk-wl__stop {
    font-size: 15px;
    line-height: 24px;
    color: var(--bk-ink);
    text-decoration: none;
    transition: color .2s var(--bk-ease);
}
.bk-wl__stop .bk-num { margin-right: 6px; color: var(--bk-muted); }
.bk-wl__stop:hover { color: var(--bk-accent); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.bk-wl__stop.is-cancelled { color: var(--bk-muted); text-decoration: line-through; }
.bk-wl__none { margin: 0; font-size: 15px; line-height: 24px; color: var(--bk-muted); }

/* -------------------------------------------------------------- voetnoot */
.bk-more {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 48px;
    padding-top: 32px;
    padding-bottom: 96px;
    position: relative;
}
.bk-more::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--bk-line); }
.bk-more p { margin: 0; font-size: 15px; line-height: 24px; color: var(--bk-muted); }
.bk-more .bk-link { margin-left: 4px; }

/* -------------------------------------------------------------- aanraakscherm: kaart + tapdoelen */
/* Eén vinger scrolt de pagina (touch-action: pan-y op de kaart), twee vingers verplaatsen/zoomen de kaart (bike.js).
   Een korte hint verschijnt als iemand met één vinger over de kaart veegt. */
.bk-map.is-touch { touch-action: pan-y !important; }
.bk-map__hint {
    position: absolute;
    inset: 0;
    z-index: 800;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(23, 18, 19, .45);
    color: var(--bk-bg);
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--bk-ease);
}
.bk-map__hint.is-on { opacity: 1; }
@media (pointer: coarse), (max-width: 959px) {
    .bk-round, .bk-today { height: 44px; }
    .bk-round { width: 44px; }
    .bk-map .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 42px; }
    .bk-actions .bk-link, .bk-stop__acts .bk-link, .bike-next__link { display: inline-flex; align-items: center; min-height: 44px; }
    .bk-actions { margin-top: 4px; }
    .bk-stop__acts { gap: 0 24px; padding-bottom: 8px; }
    .bk-more .bk-link { padding-block: 13px; }
    .bk-wl__stop, .bk-wl__date { display: inline-flex; align-items: center; min-height: 44px; }
    .bk-wl__day { padding: 4px 0; }
    .bk-wl__stops { gap: 0 20px; }
    .bk-track { max-width: calc(100% - 32px - 60px); }
}

/* -------------------------------------------------------------- tablet / mobiel */
@media (max-width: 959px) {
    .bk-grid { grid-template-columns: 1fr; gap: 32px; }
    .bk-mapbox { position: relative; top: auto; }
    .bk-map { height: 400px; }
}
@media (max-width: 599px) {
    .bk-wrap { padding-inline: 16px; }
    .bk-more::before { left: 16px; right: 16px; }
    .bk-head { padding-top: 48px; padding-bottom: 40px; }
    .bk-status { font-size: 16px; line-height: 26px; align-items: baseline; }
    .bk-status > .bk-dot { transform: translateY(-1px); }
    .bk-plan { padding-bottom: 56px; }
    .bk-days { margin-bottom: 24px; }
    .bk-days__list { gap: 4px; }
    .bk-dayb { min-height: 72px; padding: 10px 0 8px; }
    .bk-dayb__num { font-size: 18px; line-height: 26px; }
    .bk-map { height: 320px; border-radius: 12px; }
    .bk-track { top: 12px; left: 12px; max-width: calc(100% - 24px - 56px); font-size: 13px; line-height: 18px; padding-right: 12px; }
    .bk-track__icon { width: 28px; height: 28px; }
    .bk-track__text { display: flex; flex-direction: column; }
    .bk-track__lbl { display: none; }
    .bk-grid { gap: 24px; }
    .bk-stop__main { grid-template-columns: 28px 52px minmax(0, 1fr); gap: 12px; }
    .bk-leg { gap: 12px; }
    .bk-stop__time { flex-direction: column; align-items: flex-start; justify-content: center; }
    .bk-stop__end { font-size: 13px; line-height: 18px; }
    .bk-stop__dash { display: none; }
    .bk-week__pre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .bk-stop__acts { padding-left: calc(28px + 12px + 52px + 12px); }
    .bk-wl { padding-bottom: 56px; }
    .bk-wl__day { grid-template-columns: 1fr; gap: 0; padding: 8px 0; }
    .bk-more { flex-direction: column; padding-bottom: 72px; }
}

/* ==========================================================================
   Homepage-regel: _bike-next.twig
   ========================================================================== */
.bike-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 32px;
    min-height: 72px;
    padding: 20px 0;
    border-top: 1px solid var(--bk-line);
    border-bottom: 1px solid var(--bk-line);
    font-size: 16px;
    line-height: 26px;
}
.bike-next__line { display: flex; align-items: flex-start; gap: 12px; margin: 0; min-width: 0; }
.bike-next__line .bk-dot { margin-top: 9px; }
.bike-next__line strong { font-weight: 600; }
.bike-next__lbl { color: var(--bk-muted); }
.bike-next__sub { color: var(--bk-muted); }
.bike-next__link { white-space: nowrap; font-size: 15px; }
.bike-next__link span { display: inline-block; transition: transform .2s var(--bk-ease); }
.bike-next__link:hover span { transform: translateX(3px); }
.bike-next__sk { display: flex; align-items: center; gap: 12px; flex: 1; }
.bike-next.is-onderweg .bk-dot { background: var(--bk-accent); }

@media (max-width: 599px) {
    .bike-next { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 0; }
    .bike-next__txt { display: flex; flex-direction: column; }
    .bike-next__lbl { font-size: 14px; line-height: 26px; }
    .bike-next__what { font-size: 17px; line-height: 26px; }
    .bike-next__link { align-self: flex-start; margin-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .is-live > .bk-dot::after, .bike-next.is-live .bk-dot::after { animation: none; }
    .bk-link, .bk-stop__title, .bike-next__link span, .bk-dayb, .bk-stop__no, .bk-wl__stop, .bk-pin span { transition: none; }
}
