/* Einwilligungs-Banner und Karten-Platzhalter. Farben und Buttons aus dem Webflow-Stylesheet. */

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: var(--color-scheme-1--background);
  color: var(--color-scheme-1--text);
  border-top: 1px solid var(--color-scheme-1--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

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

.consent-banner_inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 5%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.consent-banner_text {
  flex: 1;
  font-size: 0.875rem;
}

.consent-banner_text p {
  margin: 0;
}

.consent-banner_title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem !important;
}

.consent-banner_text a {
  color: inherit;
  text-decoration: underline;
}

.consent-banner_buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.consent-banner_buttons .button {
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
}

@media screen and (max-width: 767px) {
  .consent-banner_inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .consent-banner_buttons .button {
    flex: 1;
  }
}

/* Platzhalter, solange die Karte nicht geladen ist */
.consent-map {
  position: relative;
  width: 100%;
  height: 100%;
}

.consent-map_placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  background-color: var(--color-scheme-1--foreground);
  color: var(--color-scheme-1--text);
  border: 1px solid var(--color-scheme-1--border);
}

.consent-map_placeholder p {
  margin: 0;
  max-width: 28rem;
}

.consent-map_placeholder a {
  color: inherit;
  text-decoration: underline;
}

.consent-map_placeholder .button {
  cursor: pointer;
  font: inherit;
}

.consent-map.is-loaded .consent-map_placeholder {
  display: none;
}
