/* Visboeren.nl: Noordzee-blauw, schuimwit, een vleugje haringvlag-oranje.
   Layout: één kolom tot 700px, daarna kaartgrids; profiel in twee kolommen. */
:root {
  --zee: #0f3d5c;
  --zee-donker: #0a2b42;
  --zee-licht: #dcecf3;
  --schuim: #f4f8fa;
  --wit: #ffffff;
  --koraal: #e2552f;
  --koraal-donker: #b8411f;
  --tekst: #16242e;
  --grijs: #56697a;
  --rand: #c9dbe4;
  --groen: #1f7a4d;
  --kop: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--schuim); color: var(--tekst);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  max-width: 100%; overflow-x: hidden;
}
img, svg { max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

h1, h2, h3 { font-family: var(--kop); color: var(--zee); line-height: 1.15; font-weight: 800; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: 1.9rem; margin: 1rem 0 0.75rem; }
h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.25rem 0 0.5rem; }
p, ul, ol { margin: 0 0 1rem; }
a { color: var(--zee); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--koraal-donker); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--koraal); outline-offset: 2px; }
main h1, main h2, main h3, main p, main li, main address, .kaart, .citaat, .kruimels li { overflow-wrap: anywhere; }

.sla-over { position: absolute; left: -999px; top: 0; background: var(--wit); padding: 0.5rem 1rem; z-index: 10; }
.sla-over:focus { left: 0; }

/* Kop */
.kop { background: var(--zee); color: var(--wit); }
.kopbalk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.merk { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--kop); font-size: 1.45rem; font-weight: 800; color: var(--wit); text-decoration: none; letter-spacing: -0.02em; min-width: 0; }
.merk span { color: var(--koraal); font-weight: 500; }
.merkvis { color: var(--koraal); flex: none; }
.merk:hover { color: var(--wit); }
.menu { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.menu a { color: var(--wit); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; opacity: 0.92; }
.menu a:hover { color: var(--wit); text-decoration: underline; opacity: 1; }
.menuknop { display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 0.9rem; background: transparent; color: var(--wit); border: 2px solid rgba(255,255,255,0.6); border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }
.menuknop:hover { background: rgba(255,255,255,0.12); }
.kop a:focus-visible, .kop button:focus-visible, .voet a:focus-visible { outline-color: var(--wit); }

main.wrap { padding-bottom: 3rem; min-height: 60vh; }

.kruimels { font-size: 0.9rem; margin-top: 0.75rem; }
.kruimels ol { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; }
.kruimels li + li::before { content: "\203A"; margin: 0 0.5rem; color: var(--grijs); }
.kruimels a { display: inline-block; padding: 0.4rem 0; }

.eyebrow { font-family: var(--kop); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--koraal-donker); margin: 0 0 0.25rem; }
.intro { font-size: 1.15rem; max-width: 62ch; }
.onderkop { color: var(--grijs); margin-top: -0.25rem; }
.klein { font-size: 0.9rem; color: var(--grijs); }
.aantal { color: var(--grijs); font-size: 0.9em; font-weight: 400; font-family: var(--body); }

/* Held */
.held { position: relative; background: var(--zee); color: var(--wit); border-radius: 16px; padding: 1.5rem 1.25rem 2.5rem; margin-top: 1rem; overflow: hidden; }
.held h1 { color: var(--wit); margin-top: 0; font-size: 2rem; max-width: 18ch; }
.held .eyebrow { color: #ffb59e; }
.held .intro { color: #e6f0f5; }
.held-tekst { position: relative; z-index: 1; }
.held-golf { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 48px; color: var(--schuim); }
.held .zoek label { color: var(--wit); }
.held .zoek input[type="text"] { border-color: var(--wit); }
.held .knoprij a:not(.knop) { color: var(--wit); }

.knop, button.knop { display: inline-flex; align-items: center; justify-content: center; background: var(--koraal); color: var(--wit); border: 0; border-radius: 10px; padding: 0.7rem 1.25rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; min-height: 44px; }
.knop:hover, button.knop:hover { background: var(--koraal-donker); color: var(--wit); }
.knop-licht { background: var(--zee-licht); color: var(--zee); }
.knop-licht:hover { background: var(--rand); color: var(--zee-donker); }
.knoprij { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; }

/* Tegels en lijsten */
.tegels { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.tegels a { display: block; background: var(--wit); border: 1px solid var(--rand); border-radius: 12px; padding: 0.9rem 1rem; text-decoration: none; height: 100%; }
.tegels a:hover { border-color: var(--zee); box-shadow: 0 2px 0 var(--zee); }
.tegel-naam { display: block; font-family: var(--kop); font-weight: 700; font-size: 1.1rem; color: var(--zee); }
.tegel-aantal { display: block; color: var(--grijs); font-size: 0.9rem; }
.tegels > li, .kaarten > *, .lijst-kolommen > li { min-width: 0; }
.lijst-kolommen { list-style: none; padding: 0; columns: 2; column-gap: 1.5rem; }
.lijst-kolommen li { break-inside: avoid; padding: 0.1rem 0; }
.lijst-kolommen a, .buren a, .buurtlijst a, .voetmenu a, .contact a { display: inline-block; padding: 0.45rem 0; }
.facetlijst { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.facetlijst a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--wit); border: 1px solid var(--rand); border-left: 5px solid var(--koraal); border-radius: 10px; padding: 0.8rem 1rem; text-decoration: none; }
.facetlijst a:hover { border-color: var(--zee); border-left-color: var(--koraal-donker); }
.facetlijst strong { font-family: var(--kop); color: var(--zee); font-size: 1.05rem; }
.facetlijst span { color: var(--grijs); font-size: 0.9rem; white-space: nowrap; }
.springlijst ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.springlijst a { display: inline-block; background: var(--wit); border: 1px solid var(--rand); border-radius: 999px; padding: 0.35rem 0.8rem; text-decoration: none; font-size: 0.95rem; }
.springlijst a:hover { border-color: var(--zee); }
.blok { margin-top: 1.5rem; }
.groepkop { border-bottom: 2px solid var(--zee-licht); padding-bottom: 0.25rem; margin-top: 1.75rem; }

/* Zoekveld */
.zoek { position: relative; margin: 1rem 0; max-width: 520px; }
.zoek label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.zoek input[type="text"] { width: 100%; padding: 0.8rem 1rem; font: inherit; font-size: max(16px, 1rem); border: 2px solid var(--zee); border-radius: 10px; background: var(--wit); color: var(--tekst); min-height: 48px; }
.suggesties { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin: 2px 0 0; padding: 0; list-style: none; background: var(--wit); border: 1px solid var(--zee); border-radius: 10px; max-height: min(320px, 50vh); overflow: auto; box-shadow: 0 8px 24px rgba(10,43,66,0.18); }
.suggesties li { margin: 0; }
.suggesties a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.9rem; text-decoration: none; color: var(--tekst); min-height: 44px; align-items: center; flex-wrap: wrap; }
.suggesties a:hover, .suggesties a.actief { background: var(--zee-licht); }
.suggesties .soort { color: var(--grijs); font-size: 0.85rem; }

/* Kaartjes */
.kaarten { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-bottom: 1.5rem; }
.kaart { background: var(--wit); border: 1px solid var(--rand); border-radius: 12px; padding: 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.kaart.twijfel { border-style: dashed; }
.kaart h3 { margin: 0; font-size: 1.1rem; }
.kaart h3 a { text-decoration: none; }
.kaart h3 a:hover { text-decoration: underline; }
.kaart p { margin: 0; }
.kaart .plek { color: var(--grijs); font-size: 0.95rem; }
.kaart .adres { color: var(--grijs); }
.open { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--groen); font-size: 0.95rem; }
.open.dicht { color: var(--grijs); font-weight: 500; }
.open.groot { font-size: 1.05rem; }
.stip { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: currentColor; flex: none; }
.score { color: var(--koraal-donker); font-weight: 600; font-size: 0.95rem; }
.chips { list-style: none; padding: 0; margin: 0.2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.chips li { background: var(--zee-licht); color: var(--zee-donker); border-radius: 999px; padding: 0.1rem 0.65rem; font-size: 0.82rem; }
.chips.groot li { font-size: 0.95rem; padding: 0.25rem 0.8rem; }

/* Profiel */
.profielkop { background: var(--wit); border: 1px solid var(--rand); border-radius: 16px; padding: 1.25rem 1.25rem 1rem; margin-top: 1rem; }
.profielkop h1 { margin: 0 0 0.25rem; }
.profielkop .knoprij { margin: 0.75rem 0 0; }
.profiel { display: grid; grid-template-columns: 1fr; gap: 0 2rem; }
.profiel .blok { margin-top: 1.5rem; }
.tijden { border-collapse: collapse; width: 100%; max-width: 420px; background: var(--wit); border: 1px solid var(--rand); border-radius: 10px; overflow: hidden; }
.tijden th, .tijden td { text-align: left; padding: 0.45rem 0.75rem; border-bottom: 1px solid var(--rand); vertical-align: top; }
.tijden tr:last-child th, .tijden tr:last-child td { border-bottom: 0; }
.tijden th { font-weight: 600; width: 40%; }
.tijden td { font-variant-numeric: tabular-nums; }
.tijden tr.vandaag th, .tijden tr.vandaag td { background: #e8f5ee; font-weight: 700; }
.buren, .contact { padding-left: 1.2rem; }
.contact { list-style: none; padding-left: 0; }
.contact li { margin: 0; }
address { font-style: normal; margin-bottom: 0.5rem; font-size: 1.05rem; }
.citaat { display: block; color: var(--grijs); font-style: italic; }
.melden-blok { margin-top: 2rem; padding: 1rem 1.25rem; background: var(--wit); border: 2px solid var(--koraal); border-radius: 12px; }
.melden-blok p { margin: 0; }
.tekstpagina { max-width: 72ch; }

/* Formulier */
.meldform { max-width: 640px; }
.meldform label { font-weight: 600; display: block; margin-bottom: 0.25rem; }
.meldform .radio label { font-weight: 400; display: inline-block; padding: 0.4rem 0; }
.meldform input[type="text"], .meldform input[type="email"], .meldform textarea { width: 100%; padding: 0.65rem 0.8rem; font: inherit; font-size: max(16px, 1rem); border: 1px solid var(--zee); border-radius: 8px; background: var(--wit); color: var(--tekst); min-height: 44px; }
.meldform input[type="radio"], .meldform input[type="checkbox"] { width: 1.15rem; height: 1.15rem; }
fieldset { border: 1px solid var(--rand); border-radius: 10px; margin: 0 0 1rem; padding: 0.5rem 1rem; background: var(--wit); }
legend { font-weight: 600; padding: 0 0.4rem; }
.fout { background: #fbe6e0; border: 1px solid var(--koraal); border-radius: 8px; padding: 0.75rem 1rem; margin-bottom: 1rem; }
.fout ul { margin: 0; padding-left: 1.2rem; }
.valstrik { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buurt */
.buurtlijst { padding-left: 1.4rem; }
.buurtlijst li { margin-bottom: 0.4rem; }

/* Voet */
.voet { background: var(--zee-donker); color: #d6e4ec; padding: 1.5rem 0 2rem; font-size: 0.95rem; }
.voet p { margin: 0 0 0.35rem; }
.voet a { color: var(--wit); }
.voetmenu { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; }

@media (max-width: 759px) {
  html.js .menuknop { display: inline-flex; }
  html.js .menu { display: none; flex: 1 0 100%; flex-direction: column; flex-wrap: nowrap; gap: 0; border-top: 1px solid rgba(255,255,255,0.3); margin-top: 0.25rem; }
  html.js .menu.open { display: flex; }
  html.js .menu a { padding: 0.5rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .held h1 { font-size: 1.75rem; }
  .knoprij > a:not(.knop) { flex-basis: 100%; }
}
@media (max-width: 420px) { .lijst-kolommen { columns: 1; } }
@media (min-width: 700px) {
  h1 { font-size: 2.3rem; }
  .held { padding: 2.25rem 2rem 3rem; }
  .held h1 { font-size: 2.6rem; }
  .tegels { grid-template-columns: repeat(3, 1fr); }
  .kaarten { grid-template-columns: repeat(2, 1fr); }
  .lijst-kolommen { columns: 3; }
  .facetlijst { grid-template-columns: repeat(2, 1fr); }
  .profiel { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) { .menuknop { display: none !important; } .menu { display: flex !important; } }
@media (min-width: 1050px) {
  .tegels { grid-template-columns: repeat(4, 1fr); }
  .kaarten { grid-template-columns: repeat(3, 1fr); }
  .lijst-kolommen { columns: 4; }
  .facetlijst { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
