.fbm-wrap { display: grid; gap: 14px; }
.fbm-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fbm-controls input, .fbm-controls select { padding: 10px 12px; border: 1px solid #ddd; border-radius: 10px; min-width: 220px; }
.fbm-controls button { padding: 10px 14px; border: 1px solid #ddd; border-radius: 10px; background: #fff; cursor: pointer; }
.fbm-status { margin-left: 6px; opacity: .8; }
.fbm-map { height: 520px; border-radius: 16px; overflow: hidden; }

/* prevent Leaflet from overlaying sticky headers */
.fbm-map { position: relative; z-index: 0; }
.fbm-map .leaflet-pane { z-index: 1; }
.fbm-map .leaflet-control { z-index: 2; }

/* Map Popup Styling */
.leaflet-popup-content .fbm-popup {
  line-height: 1.4;
}

.leaflet-popup-content .fbm-popup-title {
  color: #08A7B5; /* <<< Wunschfarbe */
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px; /* Abstand nach unten */
}

.leaflet-popup-content .fbm-popup-address {
  margin-bottom: 8px; /* Abstand zum Link */
  opacity: 0.85;
}

.leaflet-popup-content .fbm-popup-link a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.fbm-card-title {
  color: #08A7B5;
}

/* Results below the map (max 3 columns) */
.fbm-results{margin-top:18px}
.fbm-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width: 960px){.fbm-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.fbm-results-grid{grid-template-columns:1fr}}

.fbm-card{border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:14px;background:#fff}
.fbm-card-title{font-weight:700;margin:0 0 6px}
.fbm-card-address{font-size:.95em;opacity:.85;margin:0 0 12px}
.fbm-card-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Buttons (inherit the look of your existing map UI buttons) */
.fbm-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #ddd;border-radius:10px;background:#fff;cursor:pointer;text-decoration:none;line-height:1}
.fbm-btn:hover{opacity:.92}
.fbm-btn-primary{background:#08A7B5;color:#fff;border-color:#08A7B5}
.fbm-btn-ghost{background:#fff;color:inherit}
