.lb-locations {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 900px) {
  .lb-locations {
    grid-template-columns: 1fr;
  }
}

/* Liste links */
.lb-locations-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lb-location-item {
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lb-location-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.lb-location-item p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

.lb-location-item.is-active,
.lb-location-item:hover {
  background: #111;
  color: #f7f5f2;
  border-color: #c9a24b;
}

/* Karte rechts */
.lb-locations-map {
  position: relative;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f7f7f2;
  aspect-ratio: 4 / 3;   /* Verhältnis der Karte – bei Bedarf anpassen */
}

/* Berlin-Silhouette */
.lb-map-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;   /* oder 'cover', falls du wirklich randlos willst */
}


/* ===================== Pins ===================== */
/* Äußerer Ring */
.lb-map-pin {
  position: absolute;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #111;
  border: 2px solid #c9a24b;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Innerer Kreis */
.lb-map-pin-inner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Kopf-SVG passend einfügen */
.lb-map-pin-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* oder 'contain', wenn nichts abgeschnitten werden soll */
  border-radius: 50%;
}

/* Aktiver Pin */
.lb-map-pin.is-active {
  background-color: #c9a24b;
  border-color: #111;
}


/* Info-Card */
.lb-location-card {
  position: absolute;
  width: 280px;
  max-width: 80%;
  transform: translate(-50%, -110%);
  z-index: 5;
}

.lb-location-card-inner {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.lb-location-card-image img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.lb-location-card-body {
  padding: 0.9rem 1rem 1rem;
}

.lb-location-card-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.lb-location-card-body p {
  margin: 0;
  font-size: 0.85rem;
}

#lbCardContact {
  margin-top: 0.25rem;
}

/* Transport-Icons */
.lb-card-transport {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
}

.lb-transport-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lb-transport-icon,
.lb-transport-item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Flags (barrierefrei / Parkplatz) */
.lb-card-flags {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

.lb-card-flag {
  display: inline-block;
  margin-right: 0.5rem;
}

/* Button */
.lb-card-button {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid #c9a24b;
  text-decoration: none;
}
