/* HB _ConsentWork_01: Technische Arbeitsbasis fuer Consent-Banner. */

.hb-consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(180px, env(safe-area-inset-bottom));
  z-index: 2000;
  width: auto;
  max-width: 820px;
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(248, 251, 255, 0.34);
  box-shadow:
    0 12px 34px rgba(20, 34, 52, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.32),
    inset 0 0 0 0 rgba(255, 255, 255, 0);
  backdrop-filter: blur(28px) saturate(138%);
  -webkit-backdrop-filter: blur(28px) saturate(138%);
  color: var(--hb-copy);
  font-family: "Hanken Grotesk", sans-serif;
  isolation: isolate;
  overflow: hidden;
}

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

.hb-consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.85fr);
  gap: 0.9rem;
  padding: 1rem 1.1rem;
}

.hb-consent-copy strong {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--hb-ink);
}

.hb-consent-copy p {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--hb-copy);
}

.hb-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.hb-consent-links a {
  color: var(--hb-copy);
  font-weight: 800;
  text-decoration: none;
}

.hb-consent-actions {
  display: grid;
  gap: 0.6rem;
  align-content: center;
}

.hb-consent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hb-button-height-consent);
  padding: 0.78rem 1.12rem;
  border-radius: var(--hb-radius-button);
  border: 1px solid rgba(219, 228, 240, 0.96);
  background: rgb(255, 255, 255);
  color: var(--hb-copy);
  font-weight: 800;
  cursor: pointer;
  line-height: 1.2;
}

.hb-consent-button:hover,
.hb-consent-button:focus-visible {
  transform: translateY(-1px);
}

.hb-consent-button.is-primary {
  color: #f8fbff;
  border-color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(135deg, rgb(32, 124, 250), rgb(255, 60, 208)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hb-consent-button.is-secondary {
  background: rgb(255, 255, 255);
}

@media (max-width: 760px) {
  .hb-consent-banner {
    left: 10px;
    right: 10px;
    bottom: max(28px, env(safe-area-inset-bottom));
  }

  .hb-consent-inner {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
  }
}
