/* BTB Karte – statische Karte, bei Einwilligung Google Maps */
.btbk {
  position: relative;
  width: 100%;
  height: var(--btbk-h, 400px);
  overflow: hidden;
  background: #B3BAA3;
  isolation: isolate;
}

.btbk .btbk-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  display: block;
  object-position: 50% 50%;
}

/* eigene Karte: Originalmassstab, Mitte = Büro */
.btbk .btbk-img--none { object-fit: none; }
/* eigenes Bild aus der Medienverwaltung */
.btbk .btbk-img--cover { object-fit: cover; }

.btbk-live {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.btbk-live iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.btbk.is-live .btbk-live { opacity: 1; pointer-events: auto; }
.btbk.is-live .btbk-route,
.btbk.is-live .btbk-attr { display: none; }

/* Knopf im Stil der Website: Pink mit schwarzem Versatzschatten */
.btbk .btbk-route {
  position: absolute;
  left: 16px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 8px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
  background: #E01650;
  border: 2px solid #1D1D1B;
  box-shadow: 3px 3px 0 #1D1D1B;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}

.btbk .btbk-route:hover,
.btbk .btbk-route:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #1D1D1B;
}

.btbk .btbk-route:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.btbk .btbk-attr {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2px 6px;
  font: 11px/1.4 system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #3B4033;
  background: rgba(255, 255, 255, .72);
  text-decoration: none;
}

.btbk .btbk-attr:hover { color: #1D1D1B; text-decoration: underline; }

.btbk-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .btbk-live, .btbk .btbk-route { transition: none; }
}
