/* ============================================================
   BIM X — Consent-Banner (consent.css)
   Schlanker, fixer Banner unten im Seitenstil.
   Dunkel (#0f1822), weiße Schrift, Akzent var(--bx-blue).
   ============================================================ */

.bx-consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  background: #0f1822;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  font-family: "Satoshi", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bx-consent-banner__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.bx-consent-banner__copy {
  flex: 1 1 26rem;
  min-width: 16rem;
}

.bx-consent-banner__title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bx-consent-banner__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.bx-consent-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bx-consent-banner__text a:hover,
.bx-consent-banner__text a:focus-visible {
  color: var(--bx-blue, #4da3e0);
}

.bx-consent-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.bx-consent-banner__btn {
  min-height: 44px;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bx-consent-banner__btn--primary {
  background: var(--bx-blue, #1e5c8c);
  color: #fff;
}

.bx-consent-banner__btn--primary:hover,
.bx-consent-banner__btn--primary:focus-visible {
  filter: brightness(1.15);
}

.bx-consent-banner__btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.bx-consent-banner__btn--secondary:hover,
.bx-consent-banner__btn--secondary:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.bx-consent-banner__btn:focus-visible {
  outline: 2px solid var(--bx-blue, #4da3e0);
  outline-offset: 2px;
}

@media (max-width: 40rem) {
  .bx-consent-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .bx-consent-banner__actions {
    flex-direction: column;
  }

  .bx-consent-banner__btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bx-consent-banner__btn {
    transition: none;
  }
}
