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

.hb-consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 18px;
  z-index: 2000;
  width: auto;
  max-width: 960px;
  margin-inline: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.23);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 0 rgba(255, 255, 255, 0);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--hb-copy);
  font-family: "Hanken Grotesk", sans-serif;
}

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

.hb-consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr);
  gap: 1rem;
  padding: 1.2rem 1.25rem;
}

.hb-consent-copy strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hb-ink);
}

.hb-consent-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hb-copy);
}

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

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

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

.hb-consent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hb-button-height-consent);
  padding: var(--hb-button-padding-consent);
  border-radius: var(--hb-radius-button);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  color: var(--hb-copy);
  font-weight: 700;
  cursor: pointer;
}

.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.22);
  background:
    linear-gradient(135deg, rgba(32, 124, 250, 0.78), rgba(255, 60, 208, 0.72)),
    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: rgba(255, 255, 255, 0.14);
}

@media (max-width: 760px) {
  .hb-consent-inner {
    grid-template-columns: 1fr;
  }
}
