/* LS Logistics website. Colours from the LSL branding (dark night, amber sun). */
:root {
  --bg: #0b0e14; --bg2: #121722; --card: #171d2a; --card2: #1d2433; --line: #2a3243;
  --text: #e7e9ee; --muted: #9aa3b5; --amber: #f5a524; --gold: #ffd166; --orange: #e8590c;
  --blue: #3b82f6; --green: #22c55e; --red: #ef4444; --grey: #6b7280;
  --radius: 14px; --maxw: 1180px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; margin-top: 2.2rem; scroll-margin-top: 90px; }
h3 { font-size: 1.35rem; font-weight: 700; margin-top: 1.6rem; scroll-margin-top: 90px; }
p { margin: 0 0 1em; }
code, kbd { font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
kbd { display: inline-block; min-width: 1.7em; padding: .05em .45em; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; background: var(--card2); color: var(--gold); text-align: center; }
code { background: var(--card2); padding: .1em .35em; border-radius: 5px; color: var(--gold); }
.muted { color: var(--muted); }
mark { background: rgba(245, 165, 36, .18); color: var(--gold); padding: 0 4px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header and navigation */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 14, 20, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand span b { color: var(--amber); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 11px; border-radius: 9px; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--card2); color: var(--gold); }
.menu-btn { display: none; margin-left: auto; background: var(--card2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }
@media (max-width: 1320px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 8px 12px 14px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 70% at 70% 110%, rgba(245, 165, 36, .35), transparent 60%), linear-gradient(180deg, #1b2130, var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 span { background: linear-gradient(180deg, var(--gold), var(--amber) 55%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: #cfd4de; max-width: 38em; }
.hero img.logo { width: 100%; max-width: 380px; justify-self: center; border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.page-head { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #161c28, var(--bg)); }
.page-head .wrap { padding-top: 40px; padding-bottom: 28px; }
.page-head p { color: #cfd4de; font-size: 1.1rem; max-width: 46em; margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; gap: 24px; }
  .hero img.logo { max-width: 200px; order: -1; }
}

/* Buttons and chips (blue = action, green = yes, red = no, grey = inactive) */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 11px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; border: 0; }
.btn:hover { color: #fff; filter: brightness(1.1); }
.btn.alt { background: var(--card2); border: 1px solid var(--line); color: var(--text); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font-size: .85rem; cursor: pointer; }
.chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.chip:not(.on) { opacity: .45; }
.tag { display: inline-block; padding: 1px 9px; border-radius: 99px; font-size: .78rem; font-weight: 600; background: color-mix(in srgb, var(--c, var(--amber)) 18%, transparent); color: var(--c, var(--amber)); border: 1px solid color-mix(in srgb, var(--c, var(--amber)) 40%, transparent); white-space: nowrap; vertical-align: middle; }
.tag.ok { --c: var(--green); } .tag.no { --c: var(--grey); } .tag.warn { --c: var(--amber); } .tag.info { --c: var(--blue); }

/* Layout blocks */
main { padding-bottom: 60px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 16px 0; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin-top: 0; }
a.card { display: block; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--amber); transform: translateY(-2px); }
.card .icon { font-size: 1.8rem; line-height: 1; margin-bottom: 8px; display: block; }
.card .meta { color: var(--muted); font-size: .9rem; }
.job-card { display: flex; gap: 14px; align-items: flex-start; }
.job-card img { width: 56px; height: 56px; border-radius: 12px; flex: none; }
.job-card .emoji { width: 56px; height: 56px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 1.8rem; background: var(--card2); }
.callout { border-left: 4px solid var(--amber); background: var(--bg2); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 16px 0; }
.callout.info { border-color: var(--blue); } .callout.ok { border-color: var(--green); } .callout.no { border-color: var(--red); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.side { position: sticky; top: 84px; }
@media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); } .side { position: static; } }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 12px 0; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 14px 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #111; font-weight: 800; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.toc a { font-size: .9rem; padding: 5px 12px; border-radius: 99px; background: var(--card2); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.toc a:hover { border-color: var(--amber); }

/* Tables: scroll sideways on small screens instead of breaking the page */
.table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--card2); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Maps */
.map { margin: 14px 0; }
.map-canvas { position: relative; height: clamp(320px, 62vh, 640px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0e2236; touch-action: none; user-select: none; }
.map-canvas svg { width: 100%; height: 100%; display: block; cursor: grab; }
.map-canvas svg:active { cursor: grabbing; }
.m-tiles image { image-rendering: auto; }
.m-districts text { fill: #fff; stroke: rgba(11, 14, 20, .75); stroke-width: calc(var(--k, 8) * 3); paint-order: stroke; stroke-linejoin: round; text-anchor: middle; font-family: var(--font); font-weight: 700; letter-spacing: .04em; pointer-events: none; text-transform: uppercase; }
.map-style { position: absolute; left: 10px; bottom: 10px; display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: rgba(23, 29, 42, .92); }
.map-style button { border: 0; background: none; color: var(--text); padding: 8px 12px; font: inherit; font-size: .85rem; cursor: pointer; }
.map-style button + button { border-left: 1px solid var(--line); }
.map-style button.on { background: var(--amber); color: #0b0e14; font-weight: 700; }
.m-route { fill: none; stroke-linejoin: round; opacity: .9; }
.m-dot { stroke: #0b0e14; cursor: pointer; }
.m-dot:hover, .m-dot:focus { stroke: #fff; outline: none; }
.map-ctl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.map-ctl button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: rgba(23, 29, 42, .92); color: var(--text); font-size: 1.2rem; cursor: pointer; }
.map-ctl button:hover { border-color: var(--amber); }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.map-tip { position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 14px)); width: max-content; max-width: min(300px, 80%); background: var(--card); border: 1px solid var(--amber); border-radius: 12px; padding: 10px 13px; font-size: .9rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); pointer-events: auto; }
.map-tip.below { transform: translate(-50%, 14px); }
.map-tip b { display: block; }
.map-tip p { margin: 6px 0; color: #cfd4de; }
.map-tip small { color: var(--muted); display: block; }
.map-tip .tag { margin-top: 4px; }
.map-tip a { display: inline-block; margin-top: 6px; }
.map-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.finder { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.finder .list { max-height: clamp(320px, 62vh, 640px); overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 4px; }
.finder input { width: 100%; padding: 11px 14px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 1rem; margin-bottom: 10px; }
.place { display: flex; gap: 10px; align-items: center; text-align: left; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; font: inherit; }
.place:hover { border-color: var(--amber); }
.place i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.place small { display: block; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) { .finder { grid-template-columns: minmax(0, 1fr); } .finder .list { max-height: 300px; order: 2; } }

/* Planner */
.planner { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.planner label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.planner input[type=number] { width: 80px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font-size: 1rem; }
.planner input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--amber); }
.result { display: flex; flex-direction: column; gap: 8px; }
.result .row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; flex-wrap: wrap; }
.result .row small { color: var(--muted); }
@media (max-width: 860px) { .planner { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 8px 0; }
details summary { cursor: pointer; padding: 13px 18px; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: '+'; color: var(--amber); font-weight: 800; display: inline-block; width: 1.2em; }
details[open] summary::before { content: '−'; }
details > div { padding: 0 18px 14px 40px; color: #d5d9e2; }

/* Footer */
footer { border-top: 1px solid var(--line); background: var(--bg2); color: var(--muted); font-size: .9rem; }
footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .card { padding: 15px 16px; }
  th, td { padding: 8px 10px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 8px; }
  .map-canvas { height: 62vh; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card { transition: none; } }
@media print { .top, .map-ctl, .menu-btn, footer { display: none; } body { background: #fff; color: #000; } mark { background: #ffe8b0; color: #000; } tr { break-inside: avoid; } h2, h3 { break-after: avoid; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--amber); color: #111; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
main, .wrap { min-width: 0; }
html, body { overflow-x: hidden; }
.brand { flex-shrink: 0; white-space: nowrap; }

/* "New"-sticker (I261048): een week lang op elke nieuwe baan, rijbewijs, voertuig of pagina */
.new-badge { display: inline-block; margin-left: .45em; padding: .2em .6em .14em; font: 800 .8rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #1a1205; background: linear-gradient(135deg, var(--gold), var(--amber) 55%, var(--orange)); border-radius: 7px; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold), 0 0 22px rgba(245, 165, 36, .7); vertical-align: middle; white-space: nowrap; transform: rotate(-7deg); animation: new-pop 1.8s ease-in-out infinite; }
.new-badge::before { content: "★ "; }
.new-badge.small { font-size: .62rem; padding: .18em .45em .12em; margin-left: .35em; box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 2.5px var(--gold), 0 0 12px rgba(245, 165, 36, .6); }
.new-badge.small::before { content: ""; }
h1 .new-badge { font-size: .32em; }
h2 .new-badge { font-size: .45em; }
.job-card { position: relative; }
.new-badge.corner { position: absolute; top: -12px; right: -10px; z-index: 2; font-size: .95rem; margin: 0; }
@keyframes new-pop { 0%, 100% { transform: rotate(-7deg) scale(1); } 50% { transform: rotate(-3deg) scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .new-badge { animation: none; } }
.new-week { margin: 2rem 0 0; padding: 4px 22px 14px; border: 2px solid var(--amber); border-radius: var(--radius); background: linear-gradient(135deg, rgba(245, 165, 36, .14), rgba(232, 89, 12, .08)); box-shadow: 0 0 30px rgba(245, 165, 36, .18); }
.new-week h2 { margin-top: .8em; }
.new-week p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.new-item { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--card2); border: 1px solid var(--amber); color: var(--gold); text-decoration: none; font-weight: 600; }
.new-item:hover { background: var(--amber); color: #1a1205; }
