/* ─── COOKIE CONSENT ─── */
.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 1.1rem clamp(1rem, 3vw, 1.75rem) calc(1.1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(26,42,94,0.1);
  box-shadow: 0 -12px 40px rgba(15,23,42,0.12);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 320ms var(--ease-out, cubic-bezier(0.22,1,0.36,1)), opacity 320ms var(--ease-out, cubic-bezier(0.22,1,0.36,1));
}
.cc-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cc-banner__inner {
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cc-banner__text {
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted, #4b5a72);
  max-width: 62ch;
}
.cc-banner__text a {
  color: var(--navy, #1A2A5E);
  text-decoration: underline;
  text-decoration-color: rgba(26,42,94,0.3);
  text-underline-offset: 2px;
}
.cc-banner__text a:hover { text-decoration-color: var(--navy, #1A2A5E); }
.cc-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cc-banner__btn {
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0.7rem 1.3rem;
  white-space: nowrap;
  transition: transform 0.18s var(--ease-out, ease), background 0.18s var(--ease-out, ease), box-shadow 0.18s var(--ease-out, ease);
}
.cc-banner__btn--reject {
  background: transparent;
  color: var(--muted, #4b5a72);
}
.cc-banner__btn--reject:hover { color: var(--black, #1d1d1f); background: rgba(0,0,0,0.05); }
.cc-banner__btn--accept {
  background: var(--navy, #1A2A5E);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26,42,94,0.22);
}
.cc-banner__btn--accept:hover { background: #13214f; transform: translateY(-1px); }

/* Genåbn cookie-indstillinger - et almindeligt link i footeren (data-cc-open),
   ikke en fast knap på skærmen. Genbruges både inde i den rige .footer og
   alene på sider uden footer (se .cc-standalone-footer). */
.cc-open-btn {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 0.88rem;
  color: var(--muted, #6e6e73);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.cc-open-btn:hover { color: var(--blue, #2f6fe0); }

/* Minimal footer-linje til sider uden en rigtig <footer> (fx om-mig, 404) */
.cc-standalone-footer {
  padding: 1.75rem clamp(1rem, 4vw, 3rem) 2.25rem;
  text-align: center;
}

/* Placeholder vist over tredjeparts-videoer, indtil der er givet samtykke */
.cc-gate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(160deg, #14224d 0%, #1a2a5e 100%);
}
.cc-gate__text {
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  max-width: 32ch;
}
.cc-gate__btn {
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy, #1A2A5E);
  background: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out, ease), box-shadow 0.18s var(--ease-out, ease);
}
.cc-gate__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.22); }

@media (max-width: 640px) {
  .cc-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }
  .cc-banner__text { max-width: none; }
  .cc-banner__actions { justify-content: flex-end; }
  .cc-reopen { left: 0.75rem; bottom: 0.75rem; font-size: 0.68rem; padding: 0.5rem 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner { transition: none; }
}
