/* ==========================================================================
   Referenzhalle – messehalle.html
   Eine begehbare Messehalle mit realisierten Ständen.
   Nutzt die Farb-Tokens aus style.css (--primary, --accent, …).
   ========================================================================== */

.halle {
  position: relative;
  padding: 7rem 0 5rem;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(184, 117, 67, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, #17304A 0%, #0F2340 45%, #0B1B33 100%);
  overflow: hidden;
  color: #fff;
}

/* Hallendach-Andeutung: perspektivische Lichtbahnen */
.halle__sky {
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 118px,
      rgba(255, 255, 255, 0.028) 118px 120px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%);
  pointer-events: none;
}

/* Traversen mit Spots – gibt der Halle Höhe */
.halle__truss {
  position: absolute;
  top: 92px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14) 12%, rgba(255,255,255,0.14) 88%, transparent);
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}
.halle__truss span {
  position: relative;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-radius: 50%;
  background: rgba(214, 144, 99, 0.85);
  box-shadow: 0 0 12px 3px rgba(214, 144, 99, 0.45);
}
.halle__truss span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 150px;
  height: 320px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(214, 144, 99, 0.14) 0%, transparent 72%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

/* ── Intro ─────────────────────────────────────────────────────────────── */
.halle__intro {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

.halle .section-badge {
  background: rgba(184, 117, 67, 0.22);
  color: var(--accent-light);
  border: 1px solid rgba(214, 144, 99, 0.5);
}

.halle__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 1rem 0 1rem;
  text-wrap: balance;
  color: #fff;
}
.halle__title em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-light);
}

.halle__lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 62ch;
  margin: 0 auto 2.5rem;
  text-wrap: pretty;
}

/* Stats */
.halle__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.halle-stat {
  padding: 1rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.halle-stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.halle-stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Filter ────────────────────────────────────────────────────────────── */
.halle__filters {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  margin-bottom: 2.5rem;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  min-width: 84px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.filter-label i { color: var(--accent-light); }

.chip {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.chip:hover {
  background: rgba(184, 117, 67, 0.2);
  border-color: rgba(214, 144, 99, 0.55);
  transform: translateY(-1px);
}
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
.chip:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
}

.filter-count {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding-left: 84px;
}

/* ── Der Hallenboden ───────────────────────────────────────────────────── */
.halle__floor {
  position: relative;
  z-index: 2;
  padding: 1rem 0 3rem;
}
/* Bodenraster in Perspektive */
.halle__floor::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(255,255,255,0.035) 78px 79px),
    repeating-linear-gradient(0deg, transparent 0 78px, rgba(255,255,255,0.035) 78px 79px);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.7) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.7) 70%, transparent 100%);
  pointer-events: none;
}

.halle__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  perspective: 1600px;
}

/* ── Ein Stand ─────────────────────────────────────────────────────────── */
.stand {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: inherit;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1), opacity 0.3s ease;
  animation: standRise 0.55s cubic-bezier(.2,.7,.3,1) backwards;
  animation-delay: calc(var(--stand-row, 0) * 90ms + 120ms);
}

@keyframes standRise {
  from { opacity: 0; transform: translateY(26px) rotateX(9deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0); }
}

.stand:hover,
.stand:focus-visible {
  transform: translateY(-8px) rotateX(3deg) scale(1.02);
  z-index: 3;
}
.stand:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 6px; }

.stand__number {
  position: absolute;
  top: -0.6rem;
  left: -0.4rem;
  z-index: 4;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-light);
  background: #0F2340;
  border: 1px solid rgba(214, 144, 99, 0.5);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

/* Standwand mit Kupfer-Rahmen */
.stand__frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px 10px 2px 2px;
  border: 2px solid rgba(184, 117, 67, 0.55);
  border-bottom-width: 4px;
  background: #0B1B33;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.stand:hover .stand__frame,
.stand:focus-visible .stand__frame {
  border-color: var(--accent-light);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(214, 144, 99, 0.35);
}

.stand__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) brightness(0.92);
  transition: transform 0.5s cubic-bezier(.2,.7,.3,1), filter 0.35s ease;
}
.stand:hover .stand__img,
.stand:focus-visible .stand__img {
  transform: scale(1.07);
  filter: saturate(1.05) brightness(1.02);
}

/* Spot-Reflex über der Standwand */
.stand__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.16) 0%, transparent 42%);
  pointer-events: none;
}

/* Standblende / Beschriftung */
.stand__plate {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem 0.85rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}
.stand__client {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.stand__fair {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}
.stand__branche {
  margin-top: 0.35rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  font-weight: 600;
}

/* Ausgefilterte Stände */
.stand[hidden] { display: none; }

.halle__empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
}
.link-btn {
  background: none;
  border: 0;
  color: var(--accent-light);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

/* ── CTA ───────────────────────────────────────────────────────────────── */
.halle__cta {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  padding: 2.25rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 144, 99, 0.35);
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(184, 117, 67, 0.22) 0%, transparent 65%),
    rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.halle__cta-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.35rem;
}
.halle__cta-text p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 52ch;
}

/* ══════════ LIGHTBOX ══════════ */
.hl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7, 15, 28, 0.94);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: hlFade 0.25s ease;
}
.hl-lightbox[hidden] { display: none; }

@keyframes hlFade { from { opacity: 0; } to { opacity: 1; } }

.hl-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  width: min(1280px, 100%);
  max-height: 88vh;
}

.hl-stage {
  position: relative;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hl-stage img {
  width: 100%;
  height: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  background: #0B1B33;
}
.hl-counter {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.hl-side {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: #fff;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.hl-badge {
  align-self: flex-start;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(184, 117, 67, 0.2);
  border: 1px solid rgba(214, 144, 99, 0.45);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.hl-client {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0.25rem 0 0;
  line-height: 1.15;
}
.hl-fair {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.hl-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.hl-thumb {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #0B1B33;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.6;
}
.hl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-thumb:hover { opacity: 1; }
.hl-thumb.is-active { border-color: var(--accent-light); opacity: 1; }
.hl-thumb:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }

.hl-actions { margin-top: auto; padding-top: 0.75rem; }
.hl-cta { justify-content: center; }
.hl-note {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.hl-note i { color: var(--accent-light); }

/* Lightbox-Buttons */
.hl-close, .hl-nav {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 35, 64, 0.75);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.hl-close:hover, .hl-nav:hover { background: var(--accent); transform: scale(1.06); }
.hl-close:focus-visible, .hl-nav:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; }

.hl-close { top: 1.25rem; right: 1.25rem; }
.hl-nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.hl-nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.hl-nav--prev:hover { transform: translateY(-50%) scale(1.06); }
.hl-nav--next:hover { transform: translateY(-50%) scale(1.06); }

body.hl-open { overflow: hidden; }

/* ══════════ 3D-HALLE ══════════ */
.halle3d-wrap {
  background: #0a1a31;
  padding-top: 80px; /* fixed header */
}
@media (max-width: 1024px) { .halle3d-wrap { padding-top: 64px; } }

.halle3d {
  position: relative;
  height: clamp(520px, calc(100vh - 80px), 960px);
  background: #0a1a31;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.halle3d canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  outline: none;
}
.halle3d.is-grabbing canvas { cursor: grabbing; }
.halle3d.is-hover canvas { cursor: pointer; }
.halle3d canvas:focus-visible { outline: 3px solid var(--accent-light); outline-offset: -3px; }

/* Titel-Overlay oben links */
.h3d-overlay--title {
  position: absolute;
  top: clamp(1rem, 3vw, 2.25rem);
  left: clamp(1rem, 4vw, 3rem);
  z-index: 3;
  max-width: 560px;
  pointer-events: none;
  color: #fff;
}
.h3d-overlay--title .section-badge {
  background: rgba(184, 117, 67, 0.28);
  color: var(--accent-light);
  border: 1px solid rgba(214, 144, 99, 0.55);
  backdrop-filter: blur(6px);
}
.h3d-title {
  font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0.75rem 0 0.4rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
  text-wrap: balance;
}
.h3d-title em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-light);
}
.h3d-sub {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

/* HUD unten mittig */
.h3d-hud {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(8, 22, 44, 0.78);
  border: 1px solid rgba(214, 144, 99, 0.45);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.h3d-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
  touch-action: none;
}
.h3d-btn:hover, .h3d-btn:active { background: var(--accent); transform: scale(1.05); }
.h3d-btn:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; }
.h3d-where {
  min-width: 180px;
  max-width: 46vw;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.4rem;
}

/* Bedien-Hinweis */
.h3d-hint {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: 1.4rem;
  z-index: 3;
  margin: 0;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.72);
  background: rgba(8, 22, 44, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.4s ease;
  max-width: 44vw;
}
.h3d-hint i { color: var(--accent-light); margin-right: 0.3rem; }
.h3d-hint__touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .h3d-hint__desktop { display: none; }
  .h3d-hint__touch { display: inline; }
}
.halle3d.is-engaged .h3d-hint { opacity: 0; }

/* „Halle betreten"-Button (rechts oben) */
.h3d-enter {
  position: absolute;
  top: clamp(1rem, 3vw, 2.25rem);
  right: clamp(1rem, 4vw, 3rem);
  z-index: 4;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 144, 99, 0.7);
  background: var(--accent);
  color: #fff;
  font: 600 0.9rem/1 'Inter', system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.3s ease;
}
.h3d-enter:hover { background: var(--accent-light); transform: translateY(-1px); }
.h3d-enter i { margin-right: 0.4rem; }
.halle3d.is-engaged .h3d-enter { opacity: 0; pointer-events: none; }

/* Hover-Tooltip */
.h3d-tip {
  position: absolute;
  z-index: 5;
  transform: translate(14px, -50%);
  pointer-events: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: rgba(8, 22, 44, 0.92);
  border: 1px solid rgba(214, 144, 99, 0.6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

/* Loader */
.h3d-loader {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: #0a1a31;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.h3d-loader.is-done { opacity: 0; visibility: hidden; }
.h3d-loader__ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(214,144,99,0.25);
  border-top-color: var(--accent-light);
  animation: h3dSpin 0.9s linear infinite;
}
@keyframes h3dSpin { to { transform: rotate(360deg); } }

/* Kein WebGL */
.h3d-unsupported { display: none; }
.halle3d.is-unsupported canvas,
.halle3d.is-unsupported .h3d-hud,
.halle3d.is-unsupported .h3d-hint,
.halle3d.is-unsupported .h3d-enter,
.halle3d.is-unsupported .h3d-loader { display: none; }
.halle3d.is-unsupported {
  height: auto;
  min-height: 0;
  padding: 5rem 1.5rem 3rem;
}
.halle3d.is-unsupported .h3d-overlay--title { position: static; max-width: none; }
.halle3d.is-unsupported .h3d-unsupported {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(214,144,99,0.4);
  color: rgba(255,255,255,0.85);
}
.halle3d.is-unsupported .h3d-unsupported i { color: var(--accent-light); font-size: 1.5rem; }
.halle3d.is-unsupported .h3d-unsupported p { margin: 0; }

/* Unterer Abschnitt (Übersicht) schließt nahtlos an */
.halle { padding-top: 4.5rem; }

@media (max-width: 760px) {
  .halle3d { height: clamp(440px, 78vh, 720px); }
  .h3d-overlay--title { max-width: 70vw; }
  .h3d-hint { display: none; }
  .h3d-where { min-width: 120px; font-size: 0.76rem; }
  .h3d-enter { top: auto; bottom: 5rem; right: 50%; transform: translateX(50%); }
  .h3d-enter:hover { transform: translateX(50%); }
}

@media (prefers-reduced-motion: reduce) {
  .h3d-loader__ring { animation: none; }
  .h3d-btn, .h3d-enter, .h3d-hint, .h3d-loader { transition: none; }
}

/* ══════════ STICKY ANFRAGE-LEISTE ══════════ */
.askbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: rgba(11, 27, 51, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(214, 144, 99, 0.4);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(105%);
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1);
}
.askbar.is-visible { transform: translateY(0); }

.askbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  flex-wrap: wrap;
}

.askbar__copy {
  display: flex;
  flex-direction: column;
  color: #fff;
  min-width: 0;
}
.askbar__copy strong { font-size: 0.98rem; font-weight: 700; }
.askbar__copy span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); }

.askbar__form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  max-width: 560px;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 0.3rem;
}

.askbar__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0.7rem 0.8rem;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--primary);
}
.askbar__input::placeholder { color: #6b7280; }
.askbar__form:focus-within {
  box-shadow: 0 0 0 3px rgba(214, 144, 99, 0.45);
}

.askbar__btn {
  flex-shrink: 0;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Platz schaffen, damit die Leiste nichts überdeckt */
.halle { padding-bottom: 9rem; }

/* WhatsApp/A11y-Buttons über die Leiste heben */
.whatsapp-btn { bottom: 6.5rem !important; }
.a11y-widget { bottom: 11rem !important; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .halle__grid { grid-template-columns: repeat(3, 1fr); }
  .hl-inner { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 860px) {
  .halle { padding-top: 6rem; }
  .halle__grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .halle__stats { grid-template-columns: repeat(2, 1fr); }
  .filter-count { padding-left: 0; }
  .hl-inner {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    max-height: 92vh;
  }
  .hl-stage img { max-height: 46vh; }
  .hl-side { max-height: 38vh; }
  .hl-lightbox { padding: 1rem; }
  .hl-close { top: 0.5rem; right: 0.5rem; }
  .hl-nav { width: 40px; height: 40px; }
  .hl-nav--prev { left: 0.4rem; }
  .hl-nav--next { right: 0.4rem; }
}

@media (max-width: 560px) {
  .halle__grid { grid-template-columns: 1fr; }
  .halle__cta { flex-direction: column; align-items: flex-start; }
  .halle__cta .btn { width: 100%; justify-content: center; }
  .filter-label { min-width: 100%; }
}

@media (max-width: 780px) {
  .askbar__inner { gap: 0.6rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .askbar__copy span { display: none; }
  .askbar__copy strong { font-size: 0.88rem; }
  .askbar__form { max-width: 100%; min-width: 100%; }
  .halle { padding-bottom: 12rem; }
  .whatsapp-btn { bottom: 9rem !important; }
  .a11y-widget { bottom: 13.5rem !important; }
}

/* ── Accessibility ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .stand,
  .stand__img,
  .halle__truss span,
  .hl-lightbox { animation: none !important; transition: none !important; }
  .stand:hover, .stand:focus-visible { transform: none; }
  .stand:hover .stand__img { transform: none; }
}

html.a11y-no-motion .stand,
html.a11y-no-motion .stand__img { animation: none !important; transition: none !important; }

html.a11y-contrast-high .halle { background: #000 !important; }
html.a11y-contrast-high .stand__frame { border-color: #FFD400 !important; }
html.a11y-contrast-high .stand__client,
html.a11y-contrast-high .halle__title { color: #fff !important; }
html.a11y-contrast-high .stand__branche,
html.a11y-contrast-high .halle-stat strong { color: #FFD400 !important; }
