/* Werkbund System – 360 Rundgang (v2.6.0)
   Apple-like, CI: Werkbund-Grün als Identität, viel Weißraum.
*/

.wes-tour{
  position:relative;
  border-radius: var(--wes-radius-lg);
  border: 1px solid rgba(0,0,0,.06);
  background: var(--wes-surface);
  box-shadow: var(--wes-shadow-soft);
  overflow:hidden;
}

/* Visually hidden (keeps semantics/SEO without UI text) */
.wes-sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.wes-tour-cover{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: clamp(22px, 4vw, 34px);
  min-height: 220px;
  background:
    radial-gradient(1200px 420px at 20% 20%, rgba(15,122,76,.10), transparent 60%),
    radial-gradient(1000px 420px at 80% 30%, rgba(217,122,43,.10), transparent 62%),
    rgba(255,255,255,.60);
}

.wes-tour-stage{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  min-height: 240px;
}

@media (max-width: 680px){
  .wes-tour-stage{aspect-ratio: 4/3;}
}

.wes-tour-canvas{
  position:absolute;
  inset:0;
  background: #111;
  z-index: 1;
}

.wes-tour-ui{
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  pointer-events:none;
  z-index: 1000;
}

.wes-tour-controls,
.wes-tour-chips{
  pointer-events:auto;
}

.wes-tour-controls{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.wes-tour-chips{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  align-items:center;
  max-width: 72%;
}

.wes-tour-chip{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(var(--wes-blur));
}

.wes-tour-chip.is-active{
  border-color: rgba(15,122,76,.28);
  box-shadow: 0 0 0 3px rgba(15,122,76,.14);
}

.wes-tour.is-switching .wes-tour-stage::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(2px);
  opacity:1;
  transition: opacity .18s ease;
  pointer-events:none;
}

/* Hotspots */
.wes-tour-hotspots{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 10;
}

.wes-tour-hotspot{
  position:absolute;
  left:0;
  top:0;
  transform: translate(-9999px, -9999px);
  border:0;
  background: transparent;
  padding:0;
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:8px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.wes-tour-hotspot-dot{
  /* StreetView-like target */
  width: 46px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0,0,0,.34);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 10px rgba(15,122,76,.12), 0 16px 34px rgba(0,0,0,.28);
  position: relative;
}

/* Arrow hotspot (default) */
/* Arrow hotspot (default) */
.wes-tour[data-wes-hotspot-style="arrow"] .wes-tour-hotspot-dot::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width: 12px;
  height: 12px;
  border-right: 3px solid rgba(255,255,255,.92);
  border-bottom: 3px solid rgba(255,255,255,.92);
  transform: translate(-58%,-50%) rotate(-45deg);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

/* Portal hotspot */
.wes-tour[data-wes-hotspot-style="portal"] .wes-tour-hotspot-dot{
  background: rgba(255,255,255,.82);
  box-shadow: 0 0 0 8px rgba(15,122,76,.12), 0 14px 30px rgba(0,0,0,.22);
}
.wes-tour[data-wes-hotspot-style="portal"] .wes-tour-hotspot-dot::after{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:999px;
  border: 2px solid rgba(15,122,76,.85);
}

/* Dot hotspot */
.wes-tour[data-wes-hotspot-style="dot"] .wes-tour-hotspot-dot{
  background: rgba(15,122,76,.92);
  border-color: rgba(15,122,76,.45);
}
.wes-tour[data-wes-hotspot-style="dot"] .wes-tour-hotspot-dot::after{ display:none; }

/* Subtle pulse (Look Around-ish) */
.wes-tour-hotspot-dot{
  animation: wesPulse 2.1s ease-in-out infinite;
}
@keyframes wesPulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.04); }
}

.wes-tour-hotspot-label{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.36);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  max-width: 220px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

/* Fullscreen: native + pseudo (iOS Safari) */
html.wes-noscroll,
body.wes-noscroll{
  overflow: hidden !important;
  height: 100% !important;
}

.wes-tour.is-pseudo-fullscreen{
  position: fixed;
  inset: 0;
  z-index: 999999;
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  margin: 0;
  box-shadow: none;
}

.wes-tour.is-pseudo-fullscreen .wes-tour-stage{
  aspect-ratio: auto;
  height: 100%;
  min-height: 100%;
}

.wes-tour.is-pseudo-fullscreen .wes-tour-ui{
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  top: max(12px, env(safe-area-inset-top));
  bottom: auto;
  align-items: flex-start;
}

.wes-tour.is-fullscreen .wes-tour-ui{
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  top: max(12px, env(safe-area-inset-top));
  bottom: auto;
  align-items: flex-start;
}

.wes-tour.is-pseudo-fullscreen .wes-tour-controls{
  gap: 10px;
}

.wes-tour-hotspot:focus-visible .wes-tour-hotspot-dot{
  outline: none;
  box-shadow: 0 0 0 6px rgba(15,122,76,.18), 0 0 0 4px rgba(217,122,43,.24);
}

