/* wj-verhuur — neemt kleuren/lettertypes van de site over via variabelen. */
.wjv {
  --wjv-vrij: #8fcf86;
  --wjv-bezet: #e2706d;
  --wjv-accent: var(--donker, #336d74);
  --wjv-licht: var(--licht, #eef4f7);
  --wjv-rand: #d6dde0;
  --wjv-tekst: var(--petrol, #2b3b40);
  color: var(--wjv-tekst);
  text-align: left;
}
.wjv-pagina { padding: 140px 15px 60px; background: var(--licht, #f4f7f8); }
.wjv-pagina__binnen { max-width: var(--kopbreed, 1140px); margin: 0 auto; background: #fff; border-radius: 30px; padding: 40px clamp(15px, 4vw, 50px); }
.wjv-titel { font-family: var(--kop, inherit); color: var(--donker, inherit); font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 15px; }
.wjv-intro { margin-bottom: 25px; }

.wjv-kalender__balk { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.wjv-nav, .wjv-aantal { display: flex; gap: 6px; }
.wjv-nav__knop, .wjv-aantal button {
  font: inherit; font-size: 15px; border: 1px solid var(--wjv-rand); background: #fff; color: var(--wjv-tekst);
  border-radius: 8px; padding: 6px 14px; cursor: pointer; min-height: 38px;
}
.wjv-nav__knop:hover, .wjv-aantal button:hover { border-color: var(--wjv-accent); }
.wjv-aantal button[aria-pressed="true"] { background: var(--wjv-accent); border-color: var(--wjv-accent); color: #fff; }

/* Kolommen naar de breedte van de kalender zelf (ook in een smalle kaart op de homepage). */
.wjv-kalender { container-type: inline-size; }
.wjv-maanden { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wjv-maanden[data-aantal="12"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wjv-maand h3 { font-size: 17px; text-transform: capitalize; text-align: center; margin: 0 0 8px; color: var(--wjv-accent); }
.wjv-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.wjv-wd { font-size: 12px; text-align: center; opacity: .7; }
.wjv-raster--wk { grid-template-columns: 22px repeat(7, minmax(0, 1fr)); }
.wjv-wk { font-size: 11px; opacity: .55; display: flex; align-items: center; justify-content: center; }

.wjv-dag {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1; min-height: 32px;
  font: inherit; font-size: 14px; border: 0; border-radius: 6px; padding: 0; color: #1d2a2d; position: relative;
}
span.wjv-dag { cursor: default; }
button.wjv-dag { cursor: pointer; }
.wjv-vrij { background: var(--wjv-vrij); }
.wjv-bezet { background: var(--wjv-bezet); color: #fff; }
.wjv-wissel-a { background: linear-gradient(135deg, var(--wjv-vrij) 50%, var(--wjv-bezet) 50%); }
.wjv-wissel-v { background: linear-gradient(135deg, var(--wjv-bezet) 50%, var(--wjv-vrij) 50%); }
.wjv-verleden { background: #eef0f1; color: #a5adb0; }
.wjv-kies, .wjv-kies-v { box-shadow: inset 0 0 0 2px var(--wjv-accent); font-weight: 700; }
button.wjv-dag:hover, button.wjv-dag:focus-visible { outline: 3px solid var(--wjv-accent); outline-offset: 1px; z-index: 1; }
.wjv-tussen { background: color-mix(in srgb, var(--wjv-accent) 35%, var(--wjv-vrij)); }
.wjv-gekozen { background: var(--wjv-accent) !important; color: #fff !important; font-weight: 700; }

.wjv-legenda { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 15px 0 0; font-size: 14px; }
.wjv-legenda li { display: flex; align-items: center; gap: 8px; }
.wjv-legenda .wjv-dag { width: 20px; min-height: 20px; height: 20px; }

.wjv-form { margin-top: 35px; }
.wjv-blok { border: 0; padding: 0; margin: 0 0 30px; }
.wjv-blok legend { font-family: var(--kop, inherit); font-size: 24px; color: var(--wjv-accent); margin-bottom: 10px; padding: 0; }
.wjv-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
.wjv-breed { grid-column: 1 / -1; }
.wjv-form label { display: flex; flex-direction: column; gap: 5px; font-size: 15px; }
.wjv, .wjv *, .wjv *::before, .wjv *::after { box-sizing: border-box; }
.wjv-form input:not([type="checkbox"]), .wjv-form select, .wjv-form textarea {
  font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--wjv-rand); border-radius: 8px; background: #fff; color: #1d2a2d; width: 100%;
}
.wjv-form input:focus, .wjv-form select:focus, .wjv-form textarea:focus { outline: 2px solid var(--wjv-accent); border-color: transparent; }
.wjv-form .wjv-check { flex-direction: row; align-items: flex-start; gap: 10px; margin-top: 12px; }
.wjv-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--wjv-accent); }
.wjv-check[hidden] { display: none; }
.wjv-extras { margin-top: 10px; }
.wjv-hint { margin: 0 0 12px; }
.wjv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wjv-prijs { margin-top: 20px; padding: 18px 20px; background: var(--wjv-licht); border-radius: 12px; transition: opacity .2s; }
.wjv-prijs.wjv-laden { opacity: .5; }
.wjv-spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.wjv-spec td { padding: 5px 0; vertical-align: top; }
.wjv-spec td:last-child { text-align: right; white-space: nowrap; padding-left: 15px; }
.wjv-spec__totaal td { border-top: 1px solid var(--wjv-rand); font-weight: 700; padding-top: 8px; }
.wjv-klein { font-size: 14px; margin: 8px 0 0; }

.wjv-fout { color: #b3261e; font-size: 14px; margin: 4px 0 0; }
.wjv-melding { padding: 15px 18px; border-radius: 10px; background: var(--wjv-licht); margin-bottom: 20px; }
.wjv-melding--fout { background: #fdecea; color: #8a1c14; }
.wjv-uitleg { font-size: 15px; }
.wjv-knop {
  display: inline-block; font: inherit; font-size: 17px; background: var(--wjv-accent); color: #fff; border: 0;
  border-radius: 30px; padding: 12px 30px; cursor: pointer; text-decoration: none;
}
.wjv-knop:hover { filter: brightness(1.1); color: #fff; }

.wjv-status h2 { font-family: var(--kop, inherit); color: var(--wjv-accent); font-size: 28px; margin: 0 0 10px; }
.wjv-status--fout h2 { color: #b3261e; }
.wjv-overzicht { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 20px 0; }
.wjv-overzicht dt { font-weight: 700; }
.wjv-overzicht dd { margin: 0; }
.wjv-status .wjv-spec { max-width: 560px; margin-bottom: 20px; }

@media (max-width: 600px) {
  .wjv-aantal { display: none; }
  .wjv-pagina { padding: 110px 10px 30px; }
  .wjv-pagina__binnen { border-radius: 20px; padding: 25px 15px; }
}

/* 1.5: overzicht en accommodatiepagina */
.wjv-overzicht { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 20px; }
.wjv-kaart { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--wjv-rand); border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.wjv-kaart:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.wjv-kaart__foto { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; }
.wjv-kaart__tekst { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.wjv-kaart__titel { font-family: var(--kop, inherit); font-size: 20px; color: var(--wjv-accent); }
.wjv-kaart__plek, .wjv-kaart__meta { font-size: 14px; opacity: .8; }
.wjv-kaart__intro { font-size: 15px; }
.wjv-kaart__knop { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--wjv-accent); }
.wjv-terug { margin: 0 0 10px; font-size: 15px; }
.wjv-terug a { color: var(--wjv-accent); }
.wjv-sub { font-family: var(--kop, inherit); color: var(--wjv-accent); font-size: clamp(22px, 3vw, 28px); margin: 35px 0 12px; }
.wjv-galerij { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.wjv-galerij__item { display: block; border-radius: 10px; overflow: hidden; }
.wjv-galerij__item img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 3/2; }
.wjv-galerij__item--groot { grid-column: span 2; grid-row: span 2; }
.wjv-acc__plek { font-weight: 700; margin: 0 0 10px; }
.wjv-usps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.wjv-usps li { background: var(--wjv-licht); border-radius: 30px; padding: 6px 14px; font-size: 14px; }
.wjv-kenmerken { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 30px; }
.wjv-kenmerken h3 { font-size: 16px; margin: 0 0 6px; color: var(--wjv-accent); }
.wjv-kenmerken ul { margin: 0; padding-left: 18px; font-size: 15px; }
@media (max-width: 700px) { .wjv-galerij { grid-template-columns: repeat(2, 1fr); } .wjv-galerij__item--groot { grid-column: span 2; grid-row: auto; } }

/* Breedte-afhankelijk: staat bewust ACHTERAAN, anders winnen de basisregels hierboven (zelfde specificiteit). */
@container (max-width: 900px) { .wjv-maanden[data-aantal="12"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Middelbreed: drie maanden blijven naast elkaar, met compactere vakjes. */
@container (max-width: 780px) {
  .wjv-maanden { gap: 14px; }
  .wjv-raster { gap: 2px; }
  .wjv-dag { min-height: 0; min-width: 0; font-size: 13px; border-radius: 4px; }
  .wjv-raster--wk { grid-template-columns: 16px repeat(7, minmax(0, 1fr)); }
  .wjv-wk { font-size: 10px; }
  .wjv-wd { font-size: 11px; }
  .wjv-maand h3 { font-size: 15px; }
}
@container (max-width: 600px) { .wjv-maanden, .wjv-maanden[data-aantal="12"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Smal (telefoon): één maand, pijltjes over de volle breedte, geen 3/6/12-keuze. */
@container (max-width: 520px) {
  .wjv-maanden, .wjv-maanden[data-aantal="12"] { grid-template-columns: 1fr; }
  .wjv-aantal { display: none; }
  .wjv-nav { width: 100%; }
  .wjv-nav__knop { flex: 1; font-size: 17px; }
  .wjv-maand h3 { font-size: 19px; }
  .wjv-raster { gap: 4px; }
  .wjv-dag { font-size: 15px; min-height: 38px; }
}
