/* Havenlicht klantenportaal */
@font-face { font-family: "Bricolage Grotesque"; src: url("bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
:root { --navy: #0E2A47; --navy-2: #163A60; --geel: #FFD45C; --blauw: #2E7DB8; --rood: #C8402E; --groen: #1F7A44; --tekst: #1D2733; --zacht: #5A6878; --rand: #DCE3EC; --vlak: #F3F6FA; --wit: #fff; --r: 14px; color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--vlak); color: var(--tekst); font: 400 1rem/1.6 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blauw); }
:focus-visible { outline: 3px solid var(--geel); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: "Bricolage Grotesque", "DM Sans", sans-serif; color: var(--navy); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); } h2 { font-size: 1.3rem; } h3 { font-size: 1.05rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 32px); margin: 28px auto 60px; }
.smal { width: min(520px, 100% - 32px); margin: 48px auto 60px; }
.lead { font-size: 1.08rem; color: var(--zacht); }
.klein { font-size: .86rem; color: var(--zacht); }
.leeg { color: var(--zacht); font-style: italic; }
code, pre { font-family: ui-monospace, Consolas, monospace; font-size: .88rem; background: var(--vlak); border-radius: 6px; padding: 1px 5px; }
pre.code { padding: 12px 14px; white-space: pre-wrap; border: 1px solid var(--rand); }

/* kop */
.kop { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 12px clamp(16px, 4vw, 40px); background: var(--navy); color: #fff; }
.merk { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.merk__icoon { width: 40px; height: 32px; }
.merk__licht { animation: fl 10s linear infinite; }
@keyframes fl { 0%, 3%, 9%, 18%, 24%, 33%, 39%, 100% { opacity: .15; } 6%, 21%, 36% { opacity: 1; } }
.merk span { font: 700 1.35rem/1 "Bricolage Grotesque", sans-serif; }
.merk b { color: var(--geel); font-weight: 700; }
.merk small { display: block; font: 600 .62rem/1 "DM Sans", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #BFD3E8; margin-top: 3px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; }
.nav a:hover { background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { background: var(--geel); color: var(--navy); }
.uit .knop--lijn { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }

/* knoppen en formulieren */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: .4em; border: 0; cursor: pointer; font: 700 1rem/1 "DM Sans", sans-serif; padding: .85em 1.3em; border-radius: 12px; background: var(--navy); color: #fff; text-decoration: none; }
.knop:hover { background: var(--navy-2); color: #fff; }
.knop--lijn { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.knop--lijn:hover { background: var(--vlak); color: var(--navy); }
.knop--klein { font-size: .88rem; padding: .6em .95em; border-radius: 10px; }
.link-knop { background: none; border: 0; color: var(--rood); cursor: pointer; font: inherit; font-size: .85rem; text-decoration: underline; padding: 0 4px; }
form.inline { display: inline; }
.formulier { display: grid; gap: 14px; }
.formulier label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.formulier input:not([type=checkbox]), .formulier select, .formulier textarea, .filters select, .dagnav input { font: inherit; padding: 10px 12px; border: 1.5px solid var(--rand); border-radius: 10px; background: #fff; color: var(--tekst); width: 100%; }
.formulier textarea { resize: vertical; }
.formulier .vinkje, label.vinkje { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.vinkje input { width: 18px; height: 18px; accent-color: var(--navy); }
.raster { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; }
.raster .breed, .raster .vinkje { grid-column: 1 / -1; }
.rij { grid-template-columns: 1fr 1fr auto auto; align-items: end; margin-top: 12px; }
.code { font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; }

/* blokken */
.kaart { background: #fff; border: 1px solid var(--rand); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); margin-bottom: 18px; }
.kaart--let { border-color: var(--geel); box-shadow: 0 0 0 3px rgba(255, 212, 92, .35); }
.login h1 { margin-bottom: .3em; }
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.drie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.titelrij { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.titelrij h1 { margin: 0; }
.melding { background: #E8F3FC; border: 1px solid #B9D8F2; color: var(--navy); padding: 12px 16px; border-radius: 12px; }
.melding--fout { background: #FDECEA; border-color: #F3C2BB; color: #8A2A1D; }
.alsbalk { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--geel); color: var(--navy); padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }
.tegels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.tegel { display: grid; gap: 4px; background: #fff; border: 1px solid var(--rand); border-radius: var(--r); padding: 20px; color: var(--tekst); text-decoration: none; }
a.tegel:hover { border-color: var(--blauw); }
.tegel strong { font: 700 1.45rem/1.2 "Bricolage Grotesque", sans-serif; color: var(--navy); }
.tegel span { color: var(--zacht); font-size: .9rem; }
.tegel__label { font-size: .75rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tegel--let { border-color: var(--geel); box-shadow: 0 0 0 3px rgba(255, 212, 92, .4); }
.tegels--cijfers .tegel strong { font-size: 2rem; }
.gegevens { display: grid; gap: 10px; margin: 0; }
.gegevens div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.gegevens dt { color: var(--zacht); font-size: .9rem; }
.gegevens dd { margin: 0; font-weight: 600; }
.lijst { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--vlak); color: var(--zacht); border: 1px solid var(--rand); white-space: nowrap; }
.badge--ok, .badge--bevestigd { background: #E5F4EA; color: var(--groen); border-color: #BFE3CB; }
.badge--open, .badge--aangevraagd { background: #FFF5D6; color: #7A5A00; border-color: #F5DE96; }
.badge--fout, .badge--geweigerd, .badge--geannuleerd { background: #FDECEA; color: #8A2A1D; border-color: #F3C2BB; }
.tabelvak { overflow-x: auto; background: #fff; border: 1px solid var(--rand); border-radius: var(--r); margin-bottom: 18px; }
.tabel { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabel th, .tabel td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rand); vertical-align: middle; }
.tabel th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--zacht); background: var(--vlak); }
.tabel .r { text-align: right; white-space: nowrap; }
.tabel tr:last-child td { border-bottom: 0; }
.tabel input[type=date] { padding: 6px 8px; border: 1.5px solid var(--rand); border-radius: 8px; font: inherit; font-size: .85rem; }

/* statistieken */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 8px; }
.filters label { display: grid; gap: 4px; font-weight: 600; font-size: .85rem; }
.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram .staaf rect { fill: var(--blauw); }
.diagram .staaf:hover rect { fill: var(--navy); }
.diagram .as { stroke: var(--rand); }
.diagram figcaption { font-size: .85rem; color: var(--zacht); margin-top: 6px; }
.tabel-alt summary { cursor: pointer; font-size: .85rem; color: var(--blauw); margin-top: 6px; }
.tabel-alt table { font-size: .85rem; margin-top: 8px; border-collapse: collapse; }
.tabel-alt td, .tabel-alt th { padding: 3px 12px 3px 0; text-align: left; }
.top { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.top li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--vlak); font-size: .93rem; }
.top li span { overflow-wrap: anywhere; }

/* reservaties */
.dagnav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.dagnav form { margin: 0; }
.dagnav input { width: auto; padding: 7px 10px; }
.dagnav__titel { font: 700 1.15rem/1.2 "Bricolage Grotesque", sans-serif; color: var(--navy); margin-left: 6px; }
.reslijst { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.res { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--rand); border-radius: 12px; background: #fff; }
.res--aangevraagd { border-left: 5px solid var(--geel); }
.res--bevestigd { border-left: 5px solid var(--groen); }
.res--geweigerd, .res--geannuleerd { opacity: .65; }
.res__tijd { font: 700 1.25rem/1.1 "Bricolage Grotesque", sans-serif; color: var(--navy); }
.res__tijd small { display: block; font: 600 .72rem/1.3 "DM Sans", sans-serif; color: var(--zacht); }
.res__acties { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.res__acties form { display: flex; gap: 6px; flex-wrap: wrap; }
.opm { font-size: .88rem; color: #7A5A00; }
.instellingen .kaart h2 { margin-bottom: .4em; }
fieldset.dienst { border: 1px solid var(--rand); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; display: grid; grid-template-columns: 1.2fr 2fr 1fr 1fr .8fr; gap: 12px; align-items: end; }
fieldset.dienst legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.dagen { display: flex; flex-wrap: wrap; gap: 8px; }
.dagen .vinkje { font-size: .85rem; gap: 4px; }
.mailvoorbeeld { width: 100%; height: 640px; border: 1px solid var(--rand); border-radius: 12px; background: #fff; }

.voet { text-align: center; font-size: .8rem; color: var(--zacht); padding: 24px 16px 40px; }
.voet a { color: var(--zacht); }

@media (max-width: 860px) {
  .twee, .drie { grid-template-columns: 1fr; }
  fieldset.dienst { grid-template-columns: 1fr 1fr; }
  fieldset.dienst .dagen { grid-column: 1 / -1; }
  .rij { grid-template-columns: 1fr; }
  .res { grid-template-columns: 60px 1fr; }
  .res__acties { grid-column: 1 / -1; justify-content: flex-start; }
  .gegevens div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .merk__licht { animation: none; opacity: .8; } }
