/* Lumaps Haupt-Website - Suchleiste (Design-Kit) */

.suchleiste {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  width: 340px;
  max-width: calc(100vw - 96px);
  font-family: "Quicksand", sans-serif;
}

.suchleiste-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  background: #FDFCF8;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(11, 11, 11, 0.28);
  padding: 0 12px;
  transition: box-shadow 0.2s, outline-color 0.2s;
  outline: 2px solid transparent;
}

.suchleiste:focus-within .suchleiste-bar {
  box-shadow: 0 2px 10px rgba(11, 11, 11, 0.3);
  outline-color: #C8B6E2;
}

.suchleiste-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: #0B0B0B;
  background: transparent;
  padding: 0 8px;
}

.suchleiste-input::placeholder {
  color: #70757a;
}

.suchleiste-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: #0B0B0B;
  opacity: 0.6;
  cursor: pointer;
}

.suchleiste-icon:hover {
  opacity: 0.85;
}

.suchleiste-dropdown {
  margin-top: 6px;
  background: #FDFCF8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(11, 11, 11, 0.25);
  max-height: 340px;
  overflow-y: auto;
}

.suchleiste-dropdown-hidden {
  display: none;
}

.suchleiste-titel {
  padding: 8px 14px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0B0B0B;
  opacity: 0.55;
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.suchleiste-result {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(11, 11, 11, 0.08);
}

.suchleiste-result:last-child {
  border-bottom: none;
}

.suchleiste-result:hover {
  background: rgba(200, 182, 226, 0.25);
}

.suchleiste-result-name {
  font-size: 14px;
  font-weight: 600;
  color: #0B0B0B;
}

.suchleiste-result-addr {
  font-size: 12px;
  color: #70757a;
  margin-top: 2px;
}
