/* =====================================================
   COOKIE BANNER & PRIVACYPAGINA
   ===================================================== */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--dark2, #2a1e0a);
  color: var(--white, #fff);
  border-top: 2px solid var(--gold, #e8b84b);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  padding: 1.25rem 1.5rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  flex: 1 1 360px;
  min-width: 260px;
}

.cookie-banner__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold, #e8b84b);
  margin-bottom: 0.35rem;
}

.cookie-banner__desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner__desc a {
  color: var(--gold, #e8b84b);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.cookie-banner__btn--primary {
  background: var(--gold, #e8b84b);
  color: var(--dark, #1a1208);
  border-color: var(--gold, #e8b84b);
}

.cookie-banner__btn--primary:hover,
.cookie-banner__btn--primary:focus-visible {
  background: var(--gold-dk, #c99a2e);
  border-color: var(--gold-dk, #c99a2e);
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--white, #fff);
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-banner__btn--ghost:hover,
.cookie-banner__btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--gold, #e8b84b);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 1rem;
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-banner__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* ── Cookievoorkeuren-link in footer ───────────────── */
.consent-settings-link {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-left: 0.4rem;
}

.consent-settings-link:hover,
.consent-settings-link:focus-visible {
  color: var(--gold, #e8b84b);
}

/* ── Privacypagina ────────────────────────────────── */
.legal-page {
  padding: 8rem 1.5rem 5rem;
  background: var(--dark, #1a1208);
  min-height: 100vh;
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  background: var(--cream, #fdf6e3);
  color: var(--text, #3d2b00);
  padding: 3rem 2.5rem;
  border-radius: var(--radius, 14px);
  line-height: 1.65;
}

.legal-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--dark, #1a1208);
}

.legal-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--dark, #1a1208);
}

.legal-meta {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.legal-container p,
.legal-container ul {
  margin-bottom: 0.9rem;
}

.legal-container ul {
  padding-left: 1.4rem;
}

.legal-container li {
  margin-bottom: 0.4rem;
}

.legal-container a {
  color: var(--gold-dk, #c99a2e);
  text-decoration: underline;
}

.legal-container code {
  background: rgba(0, 0, 0, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.92em;
}

.legal-inline-btn {
  background: var(--gold, #e8b84b);
  color: var(--dark, #1a1208);
  border: none;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.legal-inline-btn:hover,
.legal-inline-btn:focus-visible {
  background: var(--gold-dk, #c99a2e);
}

@media (max-width: 600px) {
  .legal-container {
    padding: 2rem 1.25rem;
  }
  .legal-container h1 {
    font-size: 1.9rem;
  }
}
