/* /V2026/01_ALLGEMEIN/CSS/lage.css */

/* Hauptbereich wie auf anderen Seiten */
.lage-main {
  width: min(1100px, 92%);
  margin: 0 auto 2rem auto;
}

/* Überschrift etwas kompakter */
.lage-main h1 {
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
}

/* Einleitungstext im Alpenblick-Stil, wenig Abstand */
.page-intro {
  margin: 0 0 0.8rem;
  color: #666;
  font-size: 1rem;
}

/* Karte + Filter nebeneinander */
.map-wrap {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* linke Spalte: Suche + Häkchen */
.filter-col {
  width: 230px;
  flex-shrink: 0;
}

/* rechte Spalte: Karte */
.map-col {
  flex: 1;
  min-width: 0;
}

/* Karte etwas höher, wenig Rand */
#map {
  height: 430px;
  border-radius: 14px;
  border: 1px solid #ddd;
}

/* Legende direkt unter der Karte */
.legend {
  margin-top: 6px;
  color: #666;
  font-size: 0.9rem;
}

/* Suche in der linken Spalte */
.search {
  margin-bottom: 0.5rem;
}

.search input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font: inherit;
}

/* Filter-Checkboxen untereinander */
.filters {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Checkbox-Filter */
.filter-check {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #0a7;
  border-radius: 999px;
  cursor: pointer;
  background: #fff;
  font-size: 0.9rem;
  user-select: none;
}

.filter-check:hover {
  background: #e9f7f2;
}

.filter-check input {
  width: 16px;
  height: 16px;
  accent-color: #0a7;
}

.filter-check span {
  line-height: 1;
}

/* Kartenliste */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 18px 0 26px;
}

.card {
  background: #f3f5f5;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.12s ease;
}

.card:hover {
  background: #eaf0ef;
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.meta {
  color: #666;
  font-size: 0.9rem;
}

.tags {
  margin-top: 7px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.78rem;
  background: #fff;
  border: 1px solid #cfe7e3;
  border-radius: 999px;
  padding: 3px 8px;
}

/* Mobile: Filter über der Karte, alles untereinander */
@media (max-width: 800px) {
  .map-wrap {
    flex-direction: column;
  }

  .filter-col {
    width: 100%;
  }

  #map {
    height: 360px;
  }
}
