.venue-field { position: relative; min-width: 0; grid-column: 1 / -1; }
.venue-input { position: relative; }
html body :is(#request-dialog,.contact-main) .venue-input input {
  display: block;
  width: 100%;
  min-height: 54px;
  min-width: 0;
  padding: 15px 12px 13px;
  margin: 0;
  border: 1px solid #b9b9c2;
  border-radius: 9px;
  background: #fff;
  color: #1b1b1d;
  font-size: 16px;
  line-height: 1.35;
}
html body :is(#request-dialog,.contact-main) .venue-input label {
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0 2px;
  color: #4d4d56;
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
  transition: top .16s ease, font-size .16s ease;
}
.venue-input input:not(:focus)::placeholder { color: transparent; }
html body :is(#request-dialog,.contact-main) .venue-input:is(:focus-within,:has(input:not(:placeholder-shown))) label {
  top: 0;
  padding-inline: 5px;
  background: #fff;
  color: #252529;
  font-size: 12px;
  font-weight: 700;
}
html body :is(#request-dialog,.contact-main) .venue-input input:focus {
  border-color: #f6531d;
  outline: 1px solid #f6531d;
  outline-offset: 0;
}
.venue-panel {
  position: relative;
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding: 6px;
  border-radius: 9px;
  background: #202024;
  color: white;
  box-shadow: 0 8px 22px #14141625;
}
.venue-panel[hidden], .venue-panel button[hidden], .venue-status:empty, .venue-results:empty { display: none; }
.venue-panel button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.venue-panel button:is(:hover,:focus-visible) { background: #ffffff18; outline: 1px solid #f6531d; outline-offset: -1px; }
.venue-locate { display: flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 700; }
.venue-locate svg { color: #ff794d; flex: none; }
.venue-panel .venue-search { font-size: 13px; color: #ffbca4; }
.venue-results button { display: grid; gap: 2px; border-top: 1px solid #ffffff22; }
.venue-results span, .venue-panel :is(.venue-status,.venue-source) {
  color: #dedee5;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.venue-panel :is(.venue-status,.venue-source) { margin: 2px 8px 6px; }
.venue-source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .venue-input label { transition: none !important; } }
@media (min-width: 661px) {
  html body #request-dialog .field-grid:has(.venue-field) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 12px;
  }
  #request-dialog .field-grid:has(.venue-field) .field { grid-column: span 2; }
  #request-dialog .field-grid:has(.venue-field) .field:has([name="project"],[name="eventType"]) { grid-column: span 3; }
  .venue-panel {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 4;
    max-height: min(315px, 44dvh);
    overflow-y: auto;
  }
}

/* Inline-Variante (Personalanfrage): Feld sieht aus wie alle anderen, nur mit Vorschlagsliste */
.venue-field.venue-inline > label.field { width: 100%; box-sizing: border-box; }
html body #request-dialog .field-grid:has(.venue-field) .venue-inline .field { grid-column: auto; }
@media (min-width: 661px) {
  #request-dialog .field-grid:has(.venue-field) .venue-field.venue-inline { grid-column: span 3; }
  #request-dialog .field-grid:has(.venue-field) .field:has([name="postcode"],[name="town"],[name="entrance"]) { grid-column: span 2; }
}
