/* ==========================================================================
   Domaine CoCo du Vernazobre — stijl: Hérault wijngaardstreek (Saint-Chinian)
   Geen Provence/lavendel-toon: warme steen, terracotta, wijnrood, olijfgroen
   ========================================================================== */

:root {
  --color-cream: #faf8f3;
  --color-stone: #f1ede2;
  --color-stone-dark: #ded6c3;
  --color-terracotta: #bc6a3f;
  --color-terracotta-dark: #a2532e;
  --color-sage: #536547;
  --color-sage-dark: #435238;
  --color-wine: #536547;
  --color-wine-dark: #435238;
  --color-olive: #6b7a4f;
  --color-olive-dark: #55613f;
  --color-red: #a23c3c;
  --color-red-dark: #7c2c2c;
  --color-gold: #c9a24b;
  --color-charcoal: #2f2e2b;
  --color-charcoal-soft: #6b6a64;
  --color-white: #ffffff;

  --font-display: "EB Garamond", "Georgia", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --radius: 6px;
  --shadow-soft: 0 10px 30px rgba(44, 38, 32, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

/* scroll-padding-top houdt rekening met de vastgeplakte menubalk: zonder dit
   verdwijnt de bovenkant van een aangeklikt onderdeel achter die balk. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-wine);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.4rem; color: var(--color-charcoal); }

p { margin: 0 0 1em; }

a { color: var(--color-sage-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg.placeholder-img { display: block; max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--tight { padding: 40px 0; }

.section--alt {
  background: var(--color-stone);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--color-olive-dark);
  font-weight: 500;
  margin-bottom: 0.9em;
  padding-bottom: 10px;
  display: inline-block;
  position: relative;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--color-charcoal);
}

/* ---------- Placeholder "foto" blokken (geen echte afbeeldingen nodig) ---------- */

.photo-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-stone-dark), var(--color-olive) 55%, var(--color-terracotta));
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0.06) 0px,
    rgba(255,255,255,0.06) 2px,
    transparent 2px,
    transparent 14px
  );
}

.photo-placeholder span {
  position: relative;
  z-index: 1;
  padding: 14px 18px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  background: rgba(44, 38, 32, 0.45);
  width: 100%;
}

.photo-placeholder--tall { min-height: 340px; }
.photo-placeholder--hero { min-height: 480px; }
.photo-placeholder--wine { background: linear-gradient(135deg, var(--color-wine-dark), var(--color-terracotta) 60%, var(--color-gold)); }
.photo-placeholder--pool { background: linear-gradient(135deg, #2f5f66, #6b7a4f 60%, #d9c9a8); }

/* ---------- Echte foto's (uit images/buiten) ---------- */

.photo-real {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 38, 32, 0.08);
}

.photo-real--tall { height: 420px; }
.photo-real--hero { height: 560px; }

.photo-figure { margin: 0; }
.photo-figure figcaption {
  font-size: 0.78rem;
  color: var(--color-charcoal-soft);
  margin-top: 8px;
  font-style: italic;
}

/* Klikbare foto's die openen in een lightbox (zie .photo-lightbox__panel hieronder).
   De trigger is een <button> om de afbeelding, zodat hij met toetsenbord bedienbaar
   blijft en er geen los tabindex/role op een <img> nodig is. */
.photo-figure__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.photo-figure__trigger img { transition: opacity 0.15s ease; }
.photo-figure__trigger:hover img,
.photo-figure__trigger:focus-visible img { opacity: 0.88; }
.photo-figure__trigger:focus-visible { outline: 2px solid var(--color-wine); outline-offset: 2px; border-radius: 10px; }

.preview-modal.photo-lightbox__panel { max-width: 1100px; width: 94vw; position: relative; padding: 40px 18px 18px; }
.preview-modal.photo-lightbox__panel img { width: 100%; max-height: 82vh; object-fit: contain; }
.photo-lightbox__nav { display: flex; justify-content: space-between; margin-top: 14px; gap: 12px; }
.photo-lightbox__nav .btn { flex: 0 0 auto; }

.photo-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.gold-rule {
  width: 56px;
  height: 2px;
  border: none;
  background: var(--color-stone-dark);
  margin: 4px 0 22px;
}

/* ---------- Header / navigatie ---------- */

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-stone-dark);
}

.site-header__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* ---------- Taalkeuze in de header ----------
   Uitklapmenu met <details>/<summary>: dat kent de browser zelf, dus het werkt
   ook als de scripts niet laden. Blijft even breed bij 2 of 5 talen.
   Bewust géén vlaggen: vlaggen staan voor landen, niet voor talen — een Belg
   die Nederlands leest of een Amerikaan die Engels leest zou zich buitengesloten
   voelen. De talen staan daarom in hun eigen taal genoteerd.
   ------------------------------------------------------------------------- */
.lang-switch {
  position: relative;
  flex: none;
}

.lang-switch > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-charcoal-soft);
  padding: 6px 9px;
  border: 1px solid var(--color-stone-dark);
  border-radius: 4px;
  background: var(--color-white);
  white-space: nowrap;
}

.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary::after {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--color-charcoal-soft);
}
.lang-switch > summary:hover { color: var(--color-wine); border-color: var(--color-sage); }
.lang-switch[open] > summary::after { transform: rotate(180deg); }

.lang-switch__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: var(--color-white);
  border: 1px solid var(--color-stone-dark);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  padding: 6px;
  z-index: 200;
}

.lang-switch__list a {
  display: block;
  padding: 8px 10px;
  font-size: 0.88rem;
  color: var(--color-charcoal);
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.lang-switch__list a:hover { background: var(--color-stone); text-decoration: none; }
.lang-switch__list a[aria-current="true"] { color: var(--color-wine); font-weight: 600; background: var(--color-stone); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  flex: none;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--color-wine);
  line-height: 1.05;
  white-space: nowrap;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-olive-dark);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--color-charcoal-soft);
  font-size: 0.87rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover, .nav a.is-active { color: var(--color-wine); text-decoration: none; }

.nav-toggle {
  display: none;
  background: var(--color-white);
  border: 1px solid var(--color-stone-dark);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--color-wine);
  line-height: 1;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-cta {
  white-space: nowrap;
  background: var(--color-sage);
  color: var(--color-white) !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(83, 101, 71, 0.3);
}

.btn-cta:hover { background: var(--color-sage-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--color-charcoal) !important;
  border-color: var(--color-charcoal);
  text-decoration: none !important;
}

.btn-outline:hover { background: var(--color-charcoal); color: var(--color-white) !important; }

.btn-secondary {
  background: var(--color-sage-dark);
  color: var(--color-white) !important;
  text-decoration: none !important;
}
.btn-secondary:hover { background: var(--color-charcoal); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68vh;
  padding: 60px 0;
  color: var(--color-charcoal);
  background: linear-gradient(160deg, var(--color-stone) 0%, var(--color-cream) 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    rgba(44,38,32,0.03) 0px,
    rgba(44,38,32,0.03) 2px,
    transparent 2px,
    transparent 22px
  );
}

/* Fotoband bovenaan de homepage: de foto krijgt het hele beeld, er staat geen
   tekst over. De titel en tekst volgen eronder (feedback Sven én Corine:
   een tekstvlak over de foto dekt altijd iets af, en de tekst was slecht
   leesbaar op de lichte en grijze delen van het beeld). */
.hero-band {
  height: 62vh;
  min-height: 320px;
  max-height: 620px;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

.hero-intro {
  padding: 34px 0 6px;
  background: linear-gradient(180deg, var(--color-stone) 0%, var(--color-cream) 100%);
}

.hero-intro h1 { margin-top: 0; }

.hero-intro p.lead {
  font-size: 1.15rem;
  color: var(--color-charcoal);
  max-width: 620px;
}

.hero-intro__grid { display: flex; gap: 28px; align-items: flex-start; justify-content: space-between; }
.hero-intro__grid > .hero-intro__text { flex: 1 1 auto; min-width: 0; }

/* Klein, klikbaar kaartje op de homepage. De iframe zelf krijgt pointer-events:none
   zodat de klik altijd naar de omliggende (toetsenbord-bedienbare) div gaat, die de
   lightbox opent — anders zou je per ongeluk op de ingesloten Google-kaart gaan slepen/zoomen. */
.map-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 160px;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-stone-dark);
  box-shadow: 0 4px 14px rgba(47,46,43,0.18);
  cursor: pointer;
}
.map-thumb iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.map-thumb__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(47,46,43,0.78);
  color: var(--color-white);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 5px 6px;
}
.map-thumb:hover .map-thumb__label,
.map-thumb:focus-visible .map-thumb__label { background: var(--color-wine); }
.map-thumb:focus-visible { outline: 2px solid var(--color-wine); outline-offset: 2px; }

.preview-modal.map-lightbox__panel { max-width: 640px; width: 100%; position: relative; padding: 34px 30px 30px; }
.map-lightbox__close {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-charcoal-soft);
  cursor: pointer;
  padding: 6px;
}
.map-lightbox__close:hover { color: var(--color-wine); }

.hero--photo {
  background-size: cover;
  background-position: center 38%;
}

.hero--photo::after {
  content: none;
}

.hero__content { position: relative; z-index: 1; max-width: 720px; }


.hero h1 { color: var(--color-charcoal); }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-charcoal);
  max-width: 560px;
}

.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero__badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--color-white);
  color: var(--color-sage-dark);
  border: none;
  box-shadow: 0 2px 10px rgba(44, 38, 32, 0.12);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 18px;
}

/* ---------- Grid helpers ---------- */

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--color-white);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(44, 38, 32, 0.06);
  border-bottom: 2px solid var(--color-charcoal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(44, 38, 32, 0.1);
}

.card h3 { margin-top: 0.4em; }

.icon-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-stone);
  color: var(--color-charcoal-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin: 4px 6px 4px 0;
}

/* rustig stipje in plaats van gekleurde emoji */
.icon-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-sage);
  flex: none;
}

.cat-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.cost-list {
  margin: 12px 0 0;
  padding-left: 20px;
  max-width: 680px;
}

.cost-list li {
  margin-bottom: 8px;
  color: var(--color-charcoal-soft);
}

/* ---------- Facts strip ---------- */

.facts-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  background: var(--color-white);
  border: 1px solid var(--color-stone-dark);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-soft);
}

.facts-strip .fact { flex: 1; min-width: 140px; }
.facts-strip .fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-wine);
}
.facts-strip .fact span { font-size: 0.85rem; color: var(--color-charcoal-soft); }

/* ---------- Tables (prijzen) ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

table.price-table th, table.price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-stone);
}

table.price-table thead th {
  background: var(--color-wine);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
}

table.price-table tbody tr:last-child td { border-bottom: none; }
table.price-table tbody tr:hover { background: var(--color-cream); }

.placeholder-note {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--color-olive-dark);
  background: var(--color-stone);
  padding: 6px 12px;
  border-radius: var(--radius);
}

/* ---------- Forms ---------- */

form.stacked-form {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--color-charcoal-soft);
}

input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-stone-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--color-white);
  color: var(--color-charcoal);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(83, 101, 71, 0.18);
}

.form-msg {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-top: 6px;
}
.form-msg--ok { background: #e5efe0; color: var(--color-olive-dark); border: 1px solid var(--color-olive); }
.form-msg--err { background: #f6e3e0; color: var(--color-red-dark); border: 1px solid var(--color-red); }

/* ---------- Kalender ---------- */

.calendar-tabs { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }

.calendar-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-stone-dark);
  background: var(--color-white);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-charcoal-soft);
}

.calendar-tab.is-active {
  background: var(--color-wine);
  border-color: var(--color-wine);
  color: var(--color-white);
}

/* Tweede regel in de keuzeknop (bijv. "max. 8 personen") */
.calendar-tab small {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  opacity: 0.75;
  margin-top: 2px;
}

.calendar-tab:hover { border-color: var(--color-sage); }
.calendar-tab.is-active:hover { border-color: var(--color-wine-dark); }

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.calendar-nav button {
  background: var(--color-stone);
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-wine);
}

.calendar-nav h3 { margin: 0; text-transform: capitalize; }

.calendar-months {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.calendar-month {
  flex: 1 1 300px;
  min-width: 260px;
}

.calendar-month-label {
  margin: 0 0 10px;
  text-transform: capitalize;
  font-size: 1rem;
  color: var(--color-wine);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-grid .dow {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-charcoal-soft);
  font-weight: 600;
  padding-bottom: 4px;
}

.day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.85rem;
  background: var(--color-white);
  border: 1px solid var(--color-stone-dark);
  color: var(--color-charcoal-soft);
}

.day-cell.empty { background: transparent; border: none; }
.day-cell.beschikbaar { background: #cfe6b8; border-color: var(--color-olive-dark); color: var(--color-olive-dark); font-weight: 600; }
.day-cell.optie { background: #f3e2b3; border-color: var(--color-gold); color: #8a6a1e; }
.day-cell.bezet { background: #eab8b8; border-color: var(--color-red-dark); color: var(--color-red-dark); text-decoration: line-through; }
.day-cell.geblokkeerd, .day-cell.aangevraagd { background: var(--color-stone-dark); border-color: var(--color-stone-dark); color: var(--color-charcoal); }
.day-cell.in-verleden { opacity: 0.35; }
/* Hoogseizoen: zaterdag = wisseldag (nadruk), overige vrije dagen gedempt. */
.day-cell.wisseldag { background: #bcd9a0; border: 2px solid var(--color-olive-dark); color: var(--color-olive-dark); font-weight: 700; }
.day-cell.geen-wisseldag { background: var(--color-stone); border-color: var(--color-stone-dark); color: var(--color-charcoal-soft); font-weight: 400; cursor: default; }
.day-cell.selectable { cursor: pointer; }
.day-cell.selectable:hover { box-shadow: inset 0 0 0 2px var(--color-olive-dark); }
.day-cell.pick-end-point { box-shadow: inset 0 0 0 2px var(--color-charcoal); font-weight: 700; }
.day-cell.pick-between { background: #bcd9a0; }

.picker-card { max-width: 560px; margin-top: 8px; padding: 16px 18px; }
.picker-card .calendar-nav { margin-bottom: 8px; }
.picker-card .legend { margin-top: 10px; }
.picker-card .calendar-months { gap: 16px; }
.picker-card .calendar-month { flex: 1 1 200px; min-width: 190px; }
.picker-card .calendar-grid { gap: 4px; }
.picker-card .day-cell { font-size: 0.82rem; }
.picker-card .calendar-month-label { font-size: 0.9rem; margin-bottom: 8px; }
.date-summary { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.link-btn { background: none; border: none; color: var(--color-sage-dark); cursor: pointer; text-decoration: underline; padding: 0; font: inherit; }

/* Opvallende variant van de kalender-hint bij een ongeldige keuze
   (te kort verblijf, verkeerde wisseldag of een bezette dag ertussen). */
#pick-hint.pick-hint--error {
  color: var(--color-red-dark) !important;
  background: #f7e4e4;
  border: 1px solid var(--color-red-dark);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
}

.preview-overlay { position: fixed; inset: 0; background: rgba(47,46,43,0.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.preview-modal { background: var(--color-white); max-width: 460px; border-radius: 14px; padding: 28px 30px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.preview-modal h3 { margin: 0 0 12px; color: var(--color-wine); }
.preview-modal p { margin: 0 0 12px; color: var(--color-charcoal-soft); }
.preview-modal .btn { margin-top: 8px; }

.req { color: var(--color-wine); font-weight: 600; }
.form-legend { font-size: 0.85rem; color: var(--color-charcoal-soft); margin: 0 0 4px; }

.form-check { margin: 4px 0; }
.form-check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.form-check input { margin-top: 3px; }

.phone-row { display: flex; gap: 10px; }
.phone-row select { flex: 0 0 auto; max-width: 190px; }
.phone-row input { flex: 1; }

.price-summary { margin-top: 6px; padding: 16px 18px; background: var(--color-stone); border-radius: 12px; max-width: 440px; }
.price-line { display: flex; justify-content: space-between; gap: 20px; padding: 4px 0; }
.price-line.price-total { border-top: 1px solid var(--color-stone-dark); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 1.05rem; }
.price-line em { font-style: italic; color: var(--color-charcoal-soft); font-size: 0.85em; }
.price-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--color-stone-dark); color: var(--color-charcoal-soft); }

.legend { display: flex; gap: 18px; margin-top: 14px; flex-wrap: wrap; font-size: 0.85rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.legend i.beschikbaar { background: #cfe6b8; border: 1px solid var(--color-olive-dark); }
.legend i.optie { background: #f3e2b3; border: 1px solid var(--color-gold); }
.legend i.bezet { background: #eab8b8; border: 1px solid var(--color-red-dark); }
.legend i.geblokkeerd { background: var(--color-stone-dark); }

/* ---------- Admin ---------- */

.admin-banner {
  background: var(--color-charcoal);
  color: var(--color-stone);
  padding: 12px 0;
  font-size: 0.85rem;
  text-align: center;
}

table.admin-table { width: 100%; border-collapse: collapse; background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 32px;}
table.admin-table th, table.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--color-stone); font-size: 0.9rem; text-align: left; }
table.admin-table thead th { background: var(--color-stone); }

.status-pill { padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.status-pill.pending { background: #f5e6c8; color: #8a6a1e; }
.status-pill.confirmed { background: #e0ecd6; color: var(--color-olive-dark); }
.status-pill.optie { background: #e6ecf3; color: #3a5a7a; }
.status-pill.declined { background: #f0dcdc; color: var(--color-red-dark); }

.btn-mini {
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 6px;
}
.btn-mini.approve { background: var(--color-olive); color: white; }
.btn-mini.decline { background: var(--color-red); color: white; }
.btn-mini.remove { background: var(--color-stone-dark); color: var(--color-charcoal); }

/* ---------- Footer ---------- */

#site-footer {
  background: var(--color-stone-dark);
  color: var(--color-charcoal);
  padding: 48px 0 24px;
  margin-top: 40px;
  border-top: 1px solid #cfc5ae;
}

#site-footer a { color: var(--color-sage-dark); }
#site-footer a:hover { color: var(--color-wine); }
#site-footer h4 { color: var(--color-wine-dark); font-size: 1.1rem; }
#site-footer .small { color: var(--color-charcoal-soft); }

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 24px; }

/* Social-icoontjes onderaan (verplaatst vanuit de oude balk bovenaan) */
.footer-social { display: flex; gap: 12px; align-items: center; margin-top: 14px; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(47, 46, 43, 0.2);
  color: var(--color-sage-dark);
}

.footer-social a:hover {
  background: rgba(47, 46, 43, 0.06);
  border-color: var(--color-sage);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(47, 46, 43, 0.18);
  padding-top: 18px;
  font-size: 0.8rem;
  color: var(--color-charcoal-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Uitgelichte belofte-regel (bijv. "altijd privé") ---------- */

.usp-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 680px;
  margin: 18px 0 0;
  padding: 14px 18px;
  background: var(--color-stone);
  border: 1px solid var(--color-stone-dark);
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.usp-line::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-sage);
}

.usp-line strong { color: var(--color-wine); }

/* ---------- Labeltje op een kaart (bijv. aantal personen) ---------- */

.card-badge {
  display: inline-block;
  margin: 2px 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-stone);
  border: 1px solid var(--color-stone-dark);
  color: var(--color-sage-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- Kaart-infokaartje (onder de ingesloten kaart) ---------- */

.map-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-stone-dark);
  border-radius: 12px;
}

.map-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-wine);
  display: block;
}

.map-card .small { display: block; color: var(--color-charcoal-soft); }

.map-card__actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }

.map-card__actions a {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 12px;
  border: 1px solid var(--color-stone-dark);
  border-radius: 999px;
  color: var(--color-sage-dark);
  white-space: nowrap;
}

.map-card__actions a:hover {
  background: var(--color-stone);
  border-color: var(--color-sage);
  text-decoration: none;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.85rem; color: var(--color-charcoal-soft); }

.demo-banner {
  background: var(--color-gold);
  color: var(--color-charcoal);
  text-align: center;
  font-size: 0.82rem;
  padding: 8px 16px;
  font-weight: 500;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--color-stone-dark);
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open { display: flex; }

  .nav a { padding: 10px 0; width: 100%; }

  .site-header__inner { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  table.price-table th, table.price-table td { padding: 9px 10px; font-size: 0.88rem; }
  .price-summary { padding: 14px; }
  .container { padding: 0 16px; }
  .hero-band { height: 44vh; background-position: center 40%; }
  /* Kalendermaanden onder elkaar op mobiel (voorkomt horizontaal uitzoomen op Reserveren) */
  .calendar-month,
  .picker-card .calendar-month { min-width: 0; flex-basis: 100%; }
  .calendar-months { gap: 20px; }

  /* Header niet breder maken dan het scherm.
     De oude ondertitel ("Maison de CoCo · Prades-sur-Vernazobre") was in hoofdletters
     met ruime letterafstand ~300px breed en mocht door .brand-text niet afbreken
     (white-space: nowrap). Daardoor liep de header buiten het scherm en kon je op een
     telefoon uitzoomen. De ondertitel is nu "Maison & Gîte" — kort genoeg om te blijven
     staan. De naam is wel langer geworden, dus die zetten we op mobiel iets kleiner. */
  .brand-text { font-size: 1rem; min-width: 0; white-space: normal; }
  .brand small { letter-spacing: 0.12em; }
  .brand-emblem { width: 34px; height: 34px; }

  .hero-intro__grid { flex-wrap: wrap; }
  .map-thumb { width: 100px; height: 76px; }
}
