/* ==========================================================
   Adresssuche – Vorschlagsliste (Startseite)
   Farben nur über die Variablen aus geoportal.css
   ========================================================== */
.suche-wrap { position: relative; }

/* Schalter suche: true/false in js/config.js */
.hero-buttons { display: none; flex-wrap: wrap; gap: .75rem; }
.hero-buttons .btn { display: inline-flex; align-items: center; gap: .5rem; }
html.ohne-suche .hero-buttons { display: flex; }
html.ohne-suche #suche-form,
html.ohne-suche .hero-mapbtn { display: none !important; }  /* 3D-Button unten links wäre doppelt */
@media (min-width: 992px) {
  html.ohne-suche .hero-caption { bottom: 2.5rem; }          /* Bildunterschrift rückt an die Stelle des Buttons */
}

.suche-liste {
  position: absolute; left: 0; right: 0; top: calc(100% + .375rem); z-index: 1050;
  max-height: 20rem; overflow-y: auto;
  margin: 0; padding: .375rem; list-style: none;
  background: #fff; border: 1px solid var(--gp-line); border-radius: 16px;
  box-shadow: 0 16px 40px rgba(28, 36, 36, .14);
}
.suche-opt {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 44px; padding: .5rem .85rem; border-radius: 10px;
  color: var(--gp-ink); cursor: pointer;
}
.suche-opt:hover, .suche-opt.active { background: #E3F1F9; }
.suche-opt.active { outline: 2px solid var(--gp-primary); outline-offset: -2px; }
.suche-art {
  flex-shrink: 0; font-family: var(--gp-font-mono); font-size: .7rem;
  letter-spacing: .04em; text-transform: uppercase; color: #56605F;
}
#suche-status:empty { display: none; }

html.high-contrast .suche-liste { border: 2px solid #000; box-shadow: none; }
html.high-contrast .suche-opt:hover, html.high-contrast .suche-opt.active { background: #fff; outline: 2px solid #000; }
html.high-contrast .suche-art { color: #000; }
