/* Wiesmoor Ranch – Lageplan (lite, scoped to .lageplan) */
.lageplan {
  --lp-check: #16a085;
  --lp-san: #e67e22;
  --lp-spot: #2e7d32;
  --lp-service: #1976d2;
  --lp-safety: #c0392b;
  --lp-fun: #8e44ad;
}

.lageplan .lp-toolbar {
  align-items: center;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  padding: 12px;
}

.lageplan .lp-toolbar .group {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lageplan .lp-toolbar label {
  align-items: center;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  padding: 6px 10px;
}

.lageplan .lp-toolbar input[type='search'] {
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 999px;
  min-width: 220px;
  padding: 8px 12px;
}

.lageplan .lp-btn {
  background: transparent;
  border: 1px solid rgb(0 0 0 / 15%);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px 12px;
}

.lageplan .lp-card {
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 12px;
  overflow: hidden;
}

.lageplan .lp-top {
  align-items: center;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.lageplan .lp-viewport {
  aspect-ratio: 1191 / 1685;
  background: transparent;
  position: relative;
  width: 100%;
}

.lageplan svg {
  display: block;
  height: 100%;
  width: 100%;
}

/* POIs */
.lageplan .poi {
  cursor: pointer;
}

.lageplan .poi[data-cat='checkin'] circle {
  fill: var(--lp-check);
}

.lageplan .poi[data-cat='sanitary'] circle {
  fill: var(--lp-san);
}

.lageplan .poi[data-cat='spot'] circle {
  fill: var(--lp-spot);
}

.lageplan .poi[data-cat='service'] circle {
  fill: var(--lp-service);
}

.lageplan .poi[data-cat='safety'] circle {
  fill: var(--lp-safety);
}

.lageplan .poi[data-cat='fun'] circle {
  fill: var(--lp-fun);
}

.lageplan .poi circle:nth-child(2) {
  opacity: 0.18;
}

.lageplan .poi.active circle {
  stroke: #111;
  stroke-width: 2;
}

/* Info bubble */
.lageplan .lp-info {
  background: #fff;
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
  color: inherit;
  max-width: min(360px, 92vw);
  min-width: 220px;
  padding: 12px;
  position: absolute;
  transform: translate(-50%, calc(-100% - 12px));
}

.lageplan .lp-info h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.lageplan .lp-info .cat {
  font-size: 12px;
  margin-bottom: 6px;
  opacity: 0.75;
}

.lageplan .lp-info p {
  margin: 0 0 8px;
}

.lageplan .lp-info .actions {
  display: flex;
  gap: 8px;
}

.lageplan .lp-chip {
  align-items: center;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
  padding: 4px 8px;
}

.lageplan .lp-legend {
  background: transparent;
  border-top: 1px solid rgb(0 0 0 / 8%);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
}

@media (width <= 720px) {
  .lageplan .lp-info {
    bottom: 12px !important;
    left: 50% !important;
    top: auto !important;
    transform: translate(-50%, 0) !important;
    width: calc(100% - 24px);
  }
}
