/*! sd-ui3.css — preview only: load blur, glass menu, frosted home CTA bar
 * Does not change production. Linked after sd-colors-only.css.
 */
/* ---------- 1. Homepage first-paint blur → sharp (once) ---------- */
@keyframes sd-ui3-unblur {
  from { opacity: 1; }
  to { opacity: 0; }
}
body.sd-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90; /* under .sd-kop (100) so the fixed header stays sharp and clickable */
  pointer-events: none;
  background: rgba(12, 13, 10, 0.14);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: sd-ui3-unblur 1.6s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  body.sd-home::before {
    display: none !important;
    animation: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* ---------- 2. Hamburger = floating dark glass panel (sitewide) ---------- */
.sd-kop .sd-paneel,
.sd-paneel.sd-paneel--compact {
  border-radius: 32px !important;
  background: rgba(18, 16, 14, 0.58) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 28px 60px -24px rgba(0, 0, 0, 0.65) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  backdrop-filter: blur(22px) saturate(1.45);
  color: #fff !important;
  left: clamp(16px, 4vw, 40px) !important;
  right: clamp(16px, 4vw, 40px) !important;
  max-width: min(720px, calc(100vw - 32px)) !important;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .sd-kop .sd-paneel,
  .sd-paneel.sd-paneel--compact {
    background: rgba(18, 16, 14, 0.46) !important;
  }
}
@media (max-width: 620px) {
  .sd-kop .sd-paneel,
  .sd-paneel.sd-paneel--compact {
    border-radius: 28px !important;
    left: 14px !important;
    right: 14px !important;
    max-width: none !important;
    padding: 14px 14px 12px !important;
  }
}

.sd-paneel,
.sd-paneel a,
.sd-paneel strong,
.sd-paneel h2,
.sd-paneel .sd-paneel-groep-titel,
.sd-paneel .sd-paneel-voet,
.sd-paneel .sd-paneel-account,
.sd-paneel .sd-paneel-account-tekst,
.sd-paneel .sd-paneel-account-tekst strong,
.sd-paneel .sd-paneel-account-tekst span,
.sd-paneel .sd-paneel-account-pijl,
body.sd-home .sd-paneel li a,
body.sd-home .sd-paneel a {
  color: #fff !important;
  text-shadow: none !important;
}
.sd-paneel .sd-paneel-groep-titel {
  color: rgba(255, 255, 255, 0.72) !important;
}
.sd-paneel--compact .sd-paneel-groep,
.sd-paneel .sd-paneel-groep {
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
  border-left-color: transparent !important;
}
.sd-paneel .sd-paneel-voet {
  border-top-color: rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.82) !important;
}
.sd-paneel--compact .sd-paneel-lijst a:hover,
.sd-paneel--compact .sd-paneel-lijst a:focus-visible,
.sd-paneel .sd-paneel-lijst a:hover,
.sd-paneel .sd-paneel-voet a:hover,
body.sd-home .sd-paneel li a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.10) !important;
}
.sd-paneel .sd-paneel-taal {
  border-bottom-color: rgba(255, 255, 255, 0.16) !important;
}
.sd-paneel .sd-paneel-taal a {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}
.sd-paneel .sd-paneel-taal a:hover,
.sd-paneel .sd-paneel-taal a:focus-visible {
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
}
.sd-paneel .sd-paneel-taal a[aria-current="true"] {
  background: #0C0D0A !important;
  border-color: #0C0D0A !important;
  color: #F5F0EA !important;
}
.sd-paneel .sd-paneel-account {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}
.sd-paneel .sd-paneel-account:hover,
.sd-paneel .sd-paneel-account:focus-visible,
body.sd-home .sd-paneel-account:hover,
body.sd-home .sd-paneel-account:focus-visible {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
}
.sd-paneel .sd-paneel-account-icoon {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
/* Boek / primary CTA — solid ink, light text */
.sd-kop .sd-cta,
a.sd-cta {
  background: #0C0D0A !important;
  background-color: #0C0D0A !important;
  border-color: #0C0D0A !important;
  color: #F5F0EA !important;
}
.sd-kop .sd-cta:hover,
a.sd-cta:hover {
  background: #0C0D0A !important;
  background-color: #0C0D0A !important;
  border-color: #0C0D0A !important;
  color: #F5F0EA !important;
}

/* ---------- 3. Homepage bottom CTA strip: frost the bar, not the type ---------- */
body.sd-home .sd-ui3-bottom {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: min(100%, 440px);
  margin-top: 4px;
  padding: 14px 16px 12px;
  border-radius: 28px;
  background: rgba(18, 16, 14, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 40px -22px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  filter: none;
}
body.sd-home .sd-ui3-bottom,
body.sd-home .sd-ui3-bottom * {
  filter: none;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  body.sd-home .sd-ui3-bottom {
    background: rgba(18, 16, 14, 0.34);
  }
}
body.sd-home .sd-ui3-bottom .hero-book,
body.sd-home .sd-ui3-bottom .hero-book-secondary,
body.sd-home .hero-actions.sd-ui3-bottom .pill,
body.sd-home .hero-actions.sd-ui3-bottom .textlink {
  filter: none;
}
@media (max-width: 599px) {
  body.sd-home .sd-ui3-bottom {
    width: 100%;
    border-radius: 24px;
  }
}

/* EN/FR pages still ship the legacy .nav-overlay. The shared hamburger is .sd-paneel. */
body .nav-overlay {
  display: none !important;
}
