/* Testritplanner — gezamenlijke opmaak. Antraciet en oranje, rustig en duidelijk; eerst voor de telefoon. */
@font-face { font-family: 'Righteous'; src: url('/fonts/righteous.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'Libre Franklin'; src: url('/fonts/librefranklin.woff') format('woff'); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #2A2D31; --ink2: #4A4F56; --grijs: #6B717A; --lijn: #E3E5E8; --vlak: #F5F6F7; --wit: #fff;
  --oranje: #F26B1D; --oranje-d: #C4520C; --oranje-l: #FFF1E8;
  --groen: #1E8E5A; --groen-l: #E7F5EE; --rood: #C9372C; --rood-l: #FDECEA; --blauw: #2563A8; --blauw-l: #E8F0FA; --geel-l: #FFF7DB;
  --r: 12px; --schaduw: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--vlak); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
.titel { font-family: 'Righteous', 'Libre Franklin', sans-serif; font-weight: 400; letter-spacing: .01em; }
a { color: var(--oranje-d); }
img { max-width: 100%; }
p { margin: 0 0 .8em; }
.klein { font-size: .875rem; } .grijs { color: var(--grijs); } .vet { font-weight: 700; }
.verborgen { display: none !important; }
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* knoppen en velden */
button, .knop { font: inherit; font-weight: 600; border: 0; border-radius: 10px; padding: .7em 1.1em; cursor: pointer; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; text-decoration: none; min-height: 44px; line-height: 1.2; }
button:hover, .knop:hover { filter: brightness(1.12); }
button:disabled { opacity: .5; cursor: default; filter: none; }
.knop.oranje, button.oranje { background: var(--oranje); color: #fff; }
.knop.licht, button.licht { background: var(--wit); color: var(--ink); border: 1px solid var(--lijn); }
.knop.groen, button.groen { background: var(--groen); }
.knop.rood, button.rood { background: var(--rood); }
.knop.link, button.link { background: none; color: var(--oranje-d); padding: .3em .2em; min-height: 0; text-decoration: underline; font-weight: 500; }
.knop.vol, button.vol { width: 100%; }
.knop.klein, button.klein { padding: .4em .75em; min-height: 36px; font-size: .9rem; }
label { display: block; font-weight: 600; font-size: .92rem; margin: .8em 0 .3em; }
label .grijs { font-weight: 400; }
input, select, textarea { font: inherit; width: 100%; padding: .65em .75em; border: 1px solid #CDD1D6; border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; }
input:focus, select:focus, textarea:focus, button:focus-visible, .knop:focus-visible { outline: 3px solid rgba(242,107,29,.35); outline-offset: 1px; border-color: var(--oranje); }
input[type=checkbox], input[type=radio] { width: 1.2em; height: 1.2em; min-height: 0; accent-color: var(--oranje); vertical-align: -.2em; margin: 0 .4em 0 0; }
label.vink { font-weight: 400; display: flex; align-items: flex-start; gap: .2em; }
textarea { min-height: 90px; resize: vertical; }
.rij { display: flex; gap: .75em; flex-wrap: wrap; align-items: flex-end; }
.rij > * { flex: 1 1 160px; }
.rij > .vast { flex: 0 0 auto; }

/* kaarten en blokken */
.kaart { background: var(--wit); border-radius: var(--r); box-shadow: var(--schaduw); padding: 1.1em 1.2em; margin-bottom: 1em; }
.kaart > h2:first-child, .kaart > h3:first-child { margin-top: 0; }
.melding { padding: .8em 1em; border-radius: 10px; margin: .8em 0; background: var(--blauw-l); }
.melding.fout { background: var(--rood-l); color: #8A2018; }
.melding.goed { background: var(--groen-l); color: #12603C; }
.melding.let { background: var(--geel-l); }
.badge { display: inline-block; padding: .15em .6em; border-radius: 99px; font-size: .78rem; font-weight: 700; background: var(--vlak); color: var(--ink2); white-space: nowrap; }
.badge.gepland { background: var(--blauw-l); color: var(--blauw); }
.badge.onderweg { background: var(--oranje-l); color: var(--oranje-d); }
.badge.terug { background: var(--groen-l); color: var(--groen); }
.badge.niet_gekomen, .badge.geannuleerd, .badge.verkocht { background: var(--rood-l); color: var(--rood); }
.badge.beschikbaar { background: var(--groen-l); color: var(--groen); }
.badge.gereserveerd { background: var(--geel-l); color: #8A6A00; }
.badge.concept { background: var(--vlak); color: var(--grijs); }
.leeg .melding { max-width: 520px; margin: 10vh auto; background: #fff; padding: 2em; box-shadow: var(--schaduw); }
.leeg .logo { height: 40px; margin-bottom: 1em; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .7em 1.2em; border-radius: 10px; z-index: 99; box-shadow: var(--schaduw); max-width: 90vw; }
.toast.fout { background: var(--rood); }
.code { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 8px; padding: .6em .8em; word-break: break-all; white-space: pre-wrap; }
.geheim { background: var(--geel-l); border: 1px dashed #D9B400; }
table.lijst { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.lijst th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--grijs); font-weight: 600; padding: .5em; border-bottom: 1px solid var(--lijn); }
table.lijst td { padding: .6em .5em; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.tabel-scroll { overflow-x: auto; }
