/*
 * Thema Beringerzand: de huisstijl van beringerzand.nl.
 * Kleuren gemeten op de website (18 oktober 2026). Koppen schuin vet: Amaranth als benadering van
 * het lettertype van de site; tekst: Inter. Lettertypes staan in fonts/ (SIL Open Font License).
 */
@font-face { font-family: "Amaranth"; font-style: italic; font-weight: 700; font-display: swap; src: url("fonts/amaranth-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Amaranth"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/amaranth-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --rood: #E1251B;
  --rood-donker: #B81C14;
  --navy: #000F9F;
  --lime: #C9D400;
  --lime-zacht: #F3F5D6;
  --blauw: #0194D2;
  --grond: #FAF9F6;
  --wit: #FFFFFF;
  --inkt: #1D1D2B;
  --zacht: #5C5C6B;
  --lijn: #E6E4DE;
  --invoerrand: #A9A6A0;
  --kop: "Amaranth", "Trebuchet MS", sans-serif;
  --tekst: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grond); color: var(--inkt); font-family: var(--tekst); font-size: 16px; line-height: 1.5; }
a { color: var(--navy); }
a:hover { color: var(--rood); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2 { font-family: var(--kop); font-style: italic; font-weight: 700; }

/* ---------- kop ---------- */
.kop { background: var(--grond); }
.kop-binnen { max-width: 1320px; margin: 0 auto; padding: 8px 24px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.logo img { display: block; width: 232px; height: auto; }
.kop-rechts { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.dienst { display: flex; flex-wrap: wrap; justify-content: flex-end; font-size: 15px; }
.dienst a { color: var(--inkt); text-decoration: none; padding: 0 14px; border-right: 1px solid var(--inkt); }
.dienst a:last-child { border-right: 0; padding-right: 0; }
.dienst a:hover { color: var(--rood); }
.kop-onder { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.hoofdmenu { display: flex; flex-wrap: wrap; gap: 4px 28px; font-family: var(--kop); font-style: italic; font-weight: 700; font-size: 20px; }
.hoofdmenu a { color: var(--blauw); text-decoration: none; }
.hoofdmenu a.actief { color: var(--rood); }
.hoofdmenu a:hover { color: var(--rood); }
.merk { font-family: var(--kop); font-style: italic; font-weight: 700; font-size: 20px; color: var(--rood); }
.knop-rond { min-height: 44px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--navy); color: var(--wit); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; margin-left: auto; }
.knop-rond:hover { background: #000B78; }

/* ---------- foto met golf ---------- */
.held { position: relative; height: 420px; overflow: hidden; background: #2F5A2A; }
.held-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.held-waas { position: absolute; inset: 0; background: rgba(0, 10, 60, 0.24); }
.held-tekst { position: absolute; left: 0; right: 0; top: 130px; text-align: center; padding: 0 24px; color: var(--wit); }
.held-tekst h1 { margin: 0; font-size: 58px; line-height: 1.05; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45); }
.held-tekst p { margin: 8px 0 0; font-family: var(--kop); font-style: italic; font-size: 23px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.golf { position: absolute; left: 0; bottom: 0; width: 100%; height: 180px; display: block; }
.golf-lime { fill: var(--lime); }
.golf-grond { fill: var(--grond); }

.onder-held { position: relative; max-width: 1180px; margin: -110px auto 0; padding: 0 24px 72px; }
.mascotte { position: absolute; left: 8px; top: -190px; width: 150px; height: auto; z-index: 2; pointer-events: none; }
main { position: relative; z-index: 1; outline: none; }
.laden { text-align: center; color: var(--zacht); padding-top: 140px; }

/* ---------- kaart met tabbladen ---------- */
.tabkaart { max-width: 100%; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tab { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border: 0; border-radius: 8px 8px 0 0; background: var(--lime); color: var(--inkt); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.tab.actief { background: var(--wit); color: var(--rood); cursor: default; }
a.tab:hover, button.tab:not(.actief):hover { color: var(--rood); }
.tabkaart-vlak { background: var(--wit); border-radius: 0 8px 8px 8px; box-shadow: 0 8px 24px rgba(0, 15, 159, 0.10); padding: 28px 30px; }
.tabkaart-vlak h2 { margin: 0 0 6px; font-size: 30px; color: var(--navy); }
.zacht { color: var(--zacht); }
.klein { font-size: 14px; }
.hulp { margin: 18px 0 0; font-size: 14px; color: var(--zacht); }
.fout { margin: 12px 0 0; padding: 12px 14px; border-radius: 6px; background: #FDECEA; color: #8A1610; }
.melding { padding: 12px 14px; border-radius: 6px; background: #FFF6D6; color: #5A4300; }

.inlogform label { display: block; font-weight: 600; margin: 18px 0 6px; }
.rij { display: flex; flex-wrap: wrap; gap: 10px; }
.rij input { flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid var(--invoerrand); border-radius: 4px; font: inherit; font-size: 17px; background: var(--wit); color: var(--inkt); }
.knop-rood { min-height: 52px; padding: 0 26px; border: 0; border-radius: 4px; background: var(--rood); color: var(--wit); font-family: var(--kop); font-style: italic; font-weight: 700; font-size: 19px; cursor: pointer; }
.knop-rood:hover { background: var(--rood-donker); }
.knop-rood:disabled { opacity: .6; cursor: wait; }
.knop-rand { margin-top: 16px; min-height: 44px; padding: 0 22px; border: 2px solid var(--navy); border-radius: 999px; background: var(--wit); color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- de balk van het verblijf, zoals de zoekbalk op de site ---------- */
.tabkaart-vlak:has(.balk) { padding: 10px; }
.balk { display: flex; flex-wrap: wrap; }
.balk-vak { flex: 1 1 170px; padding: 10px 18px; border-right: 1px solid var(--lijn); min-width: 0; }
.balk-vak:last-child { border-right: 0; }
.label { font-size: 13px; color: var(--zacht); }
.waarde { font-weight: 700; overflow-wrap: anywhere; }

/* ---------- kaarten ---------- */
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; margin-top: 32px; align-items: start; }
.kaart { background: var(--wit); border-radius: 8px; padding: 26px 28px; box-shadow: 0 4px 16px rgba(0, 15, 159, 0.06); scroll-margin-top: 16px; }
.kaart h2 { margin: 0 0 8px; font-size: 30px; color: var(--navy); }
.kaart > .label { display: inline-block; }
.label-lime, .label-blauw, .label-grijs { font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.label-lime { background: var(--lime); color: var(--inkt); }
.label-blauw { background: #DCEFF8; color: #05506F; }
.label-grijs { background: var(--lijn); color: var(--inkt); }
.gegevens { margin: 14px 0 0; display: grid; grid-template-columns: max-content 1fr; row-gap: 8px; column-gap: 16px; }
.gegevens dt { color: var(--zacht); }
.gegevens dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.bron { margin: 16px 0 0; font-size: 12px; color: var(--zacht); }
.lijst { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lijst li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 8px; background: var(--grond); }
.groei { flex: 1; min-width: 0; }
.naam { display: block; font-weight: 600; }
.sub { display: block; font-size: 14px; color: var(--zacht); }
.bol { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--kop); font-style: italic; font-weight: 700; font-size: 17px; }
.bol-0 { background: var(--lime); color: var(--inkt); }
.bol-1 { background: var(--navy); color: var(--wit); }
.bol-2 { background: var(--rood); color: var(--wit); }
.bol-3 { background: #0A6E99; color: var(--wit); }
.plaat { display: inline-flex; align-items: stretch; border: 2px solid var(--inkt); border-radius: 6px; overflow: hidden; font-weight: 800; font-size: 18px; letter-spacing: 1.5px; }
.plaat-nl { background: #003399; color: #FFFFFF; font-size: 11px; padding: 0 6px 4px; display: flex; align-items: flex-end; }
.plaat-nr { background: #F7C928; color: #1D1D2B; padding: 4px 12px; }
.stand { margin: 14px 0 0; padding: 12px 14px; border-radius: 6px; }
.stand-binnen { background: #E6F3D4; color: #24572A; }
.stand-buiten { background: #EEF0FB; color: var(--navy); }
.tegels { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.tegel { flex: 1 1 160px; background: var(--grond); border-radius: 8px; padding: 12px 16px; }
.cijfer { font-family: var(--kop); font-weight: 700; font-size: 28px; color: var(--navy); line-height: 1.2; }

/* ---------- voet ---------- */
.voet { background: var(--navy); color: var(--wit); }
.voet-binnen { max-width: 1180px; margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; }
.voet-naam { font-family: var(--kop); font-style: italic; font-weight: 700; font-size: 22px; color: var(--lime); }
.voet-klein { font-size: 13px; opacity: .85; align-self: flex-end; }

/* ---------- telefoon ---------- */
@media (max-width: 720px) {
  .kop-binnen { padding: 8px 16px; }
  .logo img { width: 170px; }
  .dienst { justify-content: flex-start; font-size: 14px; }
  .dienst a:first-child { padding-left: 0; }
  .hoofdmenu { font-size: 17px; gap: 4px 18px; }
  .held { height: 330px; }
  .held-tekst { top: 70px; }
  .held-tekst h1 { font-size: 38px; }
  .held-tekst p { font-size: 19px; }
  .golf { height: 120px; }
  .onder-held { margin-top: -70px; padding: 0 16px 56px; }
  .mascotte { width: 96px; top: -112px; left: 0; }
  .tabkaart-vlak { padding: 22px 18px; }
  .tab { padding: 0 16px; }
  .balk-vak { flex: 1 1 45%; border-right: 0; border-bottom: 1px solid var(--lijn); }
  .kaart { padding: 22px 18px; }
  .kaart h2, .tabkaart-vlak h2 { font-size: 26px; }
}
