/* Basis-Styles (kannst Du hier zentralisieren, statt inline) */
.property .icon.active-marker {
  transform: scale(1.2);
  transition: transform 0.2s ease;
  border-color: #007bff;
  /* z. B. Blau als Highlight */
  z-index: 10;
  /* damit es über anderen Overlays liegt */
}

/* Container: flexbox über volle Viewport-Höhe */
.locations-wrapper {
  display: flex;
  height: 100vh;
  /* nimmt die gesamte Bildschirmhöhe ein */
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* verhindert, dass Wrapper überläuft */
}

/* Linke Liste: fixe Breite, eigener Scroll für den Inhalt */
.location-list {
  width: 30%;
  /* 30% Breite, kannst du anpassen */
  height: 100%;
  /* exakt so hoch wie der Wrapper (100vh) */
  overflow-y: auto;
  /* nur die Liste scrollt */
  box-sizing: border-box;
  padding: 1rem;
  /* optional: etwas Innenabstand */
  background: #fff;
  /* oder passend zu deinem Design */
}

/* Rechte Karte: nimmt den Rest (70%) und volle Höhe */
#map {
  flex: 1;
  /* füllt den restlichen Platz */
  height: 100%;
  /* damit das div 100vh hoch ist */
  position: relative;
  /* kein fixed, damit Flex-Layout greift */
}

.location-item {
  padding: 20px;
  background: rgb(241, 245, 249);
  word-break: break-word;
  cursor: pointer;
  transition: box-shadow 0.3s ease-in-out;
}
.locations-wrapper {
  display: flex;
  width: 95vw;
  height: 100vh;
  overflow: hidden;
}
.location-list {
  width: 30%;
  height: 100%;
  overflow-y: auto;
  padding: 1rem;
  background: #fff;
  box-sizing: border-box;
}
#map {
  flex: 1;
  height: 100%;
  position: relative;
}
.location-item {
  padding: 20px;
  background: rgb(241, 245, 249);
  word-break: break-word;
  cursor: pointer;
  transition: box-shadow 0.3s ease-in-out;
}

/* Mobile bis 768px */
@media (max-width: 768px) {
  .locations-wrapper {
    flex-direction: column;
    height: auto; /* Inhalt scrollt */
	width:auto;
  }
  .location-list {
    width: 100% !important;
    max-height: 40vh;
    overflow-y: auto;
    padding: 0.5rem;
  }
  #map {
    width: 100% !important;
    height: 60vh;
  }
  .location-item {
    padding: 12px;
    font-size: 14px;
    line-height: 1.3;
  }
  .location-item img {
    max-width: 120px;
    margin-bottom: 16px;
  }
}
