/* GP-151: Suchfeld für Gemeinden, auf den Baurecht-Seiten und der Landing Page.
   Eigene Datei ohne den Rahmen .baurecht, weil die Landing Page baurecht.css nicht lädt. */

.gemeindesuche { position: relative; max-width: 620px; margin-top: 30px; }
.gemeindesuche label { display: block; font-weight: 700; font-size: 0.9rem; color: #1a1a1a; margin-bottom: 8px; }
.gemeindesuche input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 1.05rem;
  color: #1a1a1a;
  padding: 15px 18px 15px 48px;
  border: 1.5px solid #4a7c59;
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a7c59' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5 21 21'/%3E%3C/svg%3E") no-repeat 16px center / 20px 20px;
  box-shadow: 0 12px 30px rgba(30, 60, 40, 0.12);
  -webkit-appearance: none;
  appearance: none;
}
.gemeindesuche input:focus { outline: none; border-color: #3a6347; box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.18), 0 12px 30px rgba(30, 60, 40, 0.12); }
.gemeindesuche input::placeholder { color: #8a948f; }

/* klein: auf Landes- und Gemeindeseite, unauffälliger */
.gemeindesuche--klein { max-width: 420px; margin-top: 22px; }
.gemeindesuche--klein input { font-size: 0.95rem; padding: 11px 16px 11px 42px; background-position: 14px center; background-size: 17px 17px; border-color: #cfe0d5; box-shadow: none; }

.gemeindesuche-vorschlaege {
  position: absolute;
  left: 0; right: 0;
  z-index: 50;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  background: #fff;
  border: 1px solid #e4f0e8;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(30, 60, 40, 0.16);
  overflow: hidden;
  text-align: left;
}
.gemeindesuche-vorschlaege li { position: relative; padding: 12px 18px; border-top: 1px solid #eef3f0; font-size: 0.95rem; line-height: 1.4; }
.gemeindesuche-vorschlaege li:first-child { border-top: 0; }
.gemeindesuche-vorschlaege li.aktiv, .gemeindesuche-vorschlaege li:hover { background: #f0f7f2; }
.gemeindesuche-vorschlaege a { font-weight: 700; color: #4a7c59; text-decoration: none; }
/* Die ganze Zeile ist klickbar, nicht nur der Name */
.gemeindesuche-vorschlaege a::after { content: ""; position: absolute; inset: 0; }
.gemeindesuche-vorschlaege .land { color: #8a948f; font-size: 0.88rem; }
.gemeindesuche-vorschlaege .leer { background: #fafbfa; color: #5a6560; font-size: 0.92rem; }
