/* Platzhalter für externe Inhalte (Zwei-Klick-Lösung) */
.consent-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7ecf0;
}

/* Kartenfeld im Footer: Hintergrund ist die Offline-Karte (offline-map.css).
   Der Hinweis liegt als Karte oben, damit die Kanzlei-Markierung unten frei bleibt. */
.footer-map.consent-placeholder {
  align-items: flex-start;
  /* oben Platz für den 50px hohen Reiter „Infos“ des Themes */
  padding: 74px 24px 24px;
}

.footer-map .consent-placeholder__box {
  max-width: 26em;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: opacity 250ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 0s;
}

/* Solange die blaue Adressfläche über der Karte liegt, Hinweis ausblenden –
   sonst scheint sein Text durch die Adresse hindurch */
.contact-info:has(.contact-info-wrapper:not(.map-open)) .footer-map .consent-placeholder__box {
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, visibility 0s linear 150ms;
}

/* Nach dem Laden von Google Maps kein Offline-Bild mehr */
.footer-contact .contact-info .footer-map.consent-placeholder.consent-placeholder--loaded {
  background-image: none;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  .footer-map .consent-placeholder__box {
    transition: none;
  }
}

.consent-placeholder__box {
  max-width: 30em;
  padding: 1.5em;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.consent-placeholder__box p {
  margin-bottom: 1em;
}

.consent-placeholder__box a {
  text-decoration: underline;
}

.consent-placeholder__button {
  display: inline-block;
  padding: 0.7em 1.6em;
  border: 2px solid #8ba6c8;
  background: #fff;
  color: #333;
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.consent-placeholder__button:hover,
.consent-placeholder__button:focus-visible {
  background: #8ba6c8;
  color: #fff;
}

.consent-placeholder__alt {
  display: block;
  margin-top: 1em;
  font-size: 13px;
}

/* Screenreader-Klasse (Bootstrap 3 kennt .sr-only bereits, hier zur Sicherheit) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Logo: Höhe kommt aus main.css, Breite proportional (width/height-Attribute nur gegen Layout-Sprünge) */
.navbar-logo {
  width: auto;
}
