:root {
  --pv3d-primary: var(--wm-primary, var(--e-global-color-primary, #000000));
}

.pv3d-tour,
.pv3d-tour * {
  box-sizing: border-box;
}

.pv3d-tour {
	--pv3d-tour-height: var(--pv3d-tour-height-desktop, 720px);
  --pv3d-primary: var(--wm-primary, var(--e-global-color-primary, #000000));
  --pv3d-primary-contrast: #ffffff;
  --pv3d-white: #ffffff;
  --pv3d-bg: #ffffff;
  --pv3d-bg-soft: #f7f7f7;
  --pv3d-border: var(--pv3d-primary);
  --pv3d-line: #e6e6e6;
  --pv3d-text: #000000;
  --pv3d-muted: #666666;
  width: 100%;
  max-width: 100%;
  color: var(--pv3d-text);
  font-family: var(--wm-font-body, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
  line-height: 1.35;
  background: transparent;
  overscroll-behavior: auto;
}

.pv3d-tour button,
.pv3d-tour input {
  font-family: inherit;
}

.pv3d-tour .pv3d-current-title {
  font-family: var(--wm-font-heading, var(--wm-font-body, inherit)) !important;
  font-size: calc(clamp(16px, 1.7vw, 22px) * var(--wm-hs, 1)) !important;
}

.pv3d-tour .pv3d-room-title,
.pv3d-tour .pv3d-counter,
.pv3d-tour .pv3d-hotspot-text,
.pv3d-tour .pv3d-notice {
  font-size: calc(13px * var(--wm-ts, 1)) !important;
}

.pv3d-tour .pv3d-outline-button,
.pv3d-tour .pv3d-nav-button,
.pv3d-tour .pv3d-zoom-button,
.pv3d-tour .pv3d-toggle-plan,
.pv3d-tour .pv3d-toggle-hotspots,
.pv3d-tour .pv3d-toggle-topbar,
.pv3d-tour .pv3d-show-topbar,
.pv3d-tour .pv3d-fullscreen {
  font-size: calc(13px * var(--wm-bs, 1)) !important;
}

/* ImmoSeite: drei gezielt pflegbare Viewer-Höhen. */
@media (max-width: 980px) {
  .pv3d-tour { --pv3d-tour-height: var(--pv3d-tour-height-tablet, 620px); }
}
@media (max-width: 760px) {
  .pv3d-tour { --pv3d-tour-height: var(--pv3d-tour-height-mobile, 520px); }
}

.pv3d-tour.is-native-fullscreen,
.pv3d-tour.is-fallback-fullscreen {
  overscroll-behavior: contain;
}

.pv3d-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(104px, 9vw, 132px);
  gap: 10px;
  width: 100%;
  padding: 8px;
  border-radius: 18px;
  background: var(--pv3d-white);
  border: 1px solid var(--pv3d-border);
  box-shadow: none;
  overflow: hidden;
  overscroll-behavior: contain;
}

.pv3d-main {
  position: relative;
  min-height: var(--pv3d-tour-height, 720px);
  height: var(--pv3d-tour-height, 720px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pv3d-border);
  background: #f4f4f4;
  isolation: isolate;
  overscroll-behavior: contain;
}

.pv3d-viewer {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: #f2f2f2;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: contain;
}

.pv3d-viewer:active {
  cursor: grabbing;
}

.pv3d-tour .pnlm-container,
.pv3d-tour .pnlm-render-container,
.pv3d-tour canvas {
  touch-action: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Pannellum-Standardbuttons und Standard-Titel im Frontend entfernen. */
.pv3d-tour .pnlm-controls-container,
.pv3d-tour .pnlm-zoom-controls,
.pv3d-tour .pnlm-fullscreen-toggle-button,
.pv3d-tour .pnlm-orientation-button,
.pv3d-tour .pnlm-compass,
.pv3d-tour .pnlm-panorama-info,
.pv3d-tour .pnlm-title-box,
.pv3d-tour .pnlm-author-box,
.pv3d-tour .pnlm-load-box,
.pv3d-tour .pnlm-lbox,
.pv3d-tour .pnlm-lmsg,
.pv3d-tour .pnlm-lbar,
.pv3d-tour .pnlm-lbar-fill {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pv3d-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pv3d-text);
  background: var(--pv3d-white);
  z-index: 1;
  font-weight: 600;
}

.pv3d-tour.is-loaded .pv3d-loader {
  display: none;
}

.pv3d-topbar {
  position: absolute;
  z-index: 4;
  left: 14px;
  right: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--pv3d-primary);
  color: var(--pv3d-primary-contrast);
  border: 1px solid var(--pv3d-primary);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.pv3d-title-block {
  min-width: 0;
}

.pv3d-eyebrow {
  display: block;
  color: var(--pv3d-primary-contrast);
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 1px;
  opacity: .86;
}

.pv3d-current-title {
  display: block;
  color: var(--pv3d-primary-contrast);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.08;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv3d-top-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.pv3d-outline-button,
.pv3d-nav-button,
.pv3d-room-button,
.pv3d-plan-marker,
.pv3d-close-plan {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
}

.pv3d-outline-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--pv3d-primary-contrast);
  background: var(--pv3d-primary-contrast);
  color: var(--pv3d-primary);
  font-size: 13px;
  font-weight: 750;
  transition: background .16s ease, transform .16s ease, filter .16s ease;
}

.pv3d-outline-button:hover,
.pv3d-outline-button:focus-visible {
  background: #f2f2f2;
  outline: none;
  transform: translateY(-1px);
}

.pv3d-zoom-controls {
  position: absolute;
  z-index: 5;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--pv3d-primary);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pv3d-zoom-button {
  appearance: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--pv3d-primary);
  background: var(--pv3d-primary);
  color: var(--pv3d-primary-contrast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 24px;
  line-height: 1;
  font-weight: 850;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, opacity .16s ease;
}

.pv3d-zoom-button:hover,
.pv3d-zoom-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(.94);
  outline: none;
}

.pv3d-zoom-button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
  filter: none;
}

.pv3d-bottom-nav {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--pv3d-primary);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pv3d-nav-button {
  min-width: 118px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--pv3d-primary-contrast);
  background: var(--pv3d-primary);
  border: 1px solid var(--pv3d-primary);
  font-weight: 850;
  transition: transform .16s ease, filter .16s ease, background .16s ease;
}

.pv3d-nav-button:hover,
.pv3d-nav-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(.94);
  outline: none;
}

.pv3d-nav-button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
  filter: none;
}

.pv3d-counter {
  color: var(--pv3d-primary);
  min-width: 56px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}

.pv3d-side {
  min-height: var(--pv3d-tour-height, 720px);
  height: var(--pv3d-tour-height, 720px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--pv3d-primary);
  background: var(--pv3d-white);
  padding: 7px;
}

.pv3d-side::-webkit-scrollbar {
  width: 5px;
}

.pv3d-side::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 999px;
}

.pv3d-room-list {
  display: grid;
  gap: 6px;
}

.pv3d-room-button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 6px;
  border-radius: 10px;
  background: var(--pv3d-white);
  color: var(--pv3d-text);
  border: 1px solid #d9d9d9;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.pv3d-room-button:hover,
.pv3d-room-button:focus-visible {
  border-color: var(--pv3d-primary);
  background: #f4f4f4;
  outline: none;
}

.pv3d-room-button.is-active {
  border-color: var(--pv3d-primary);
  background: var(--pv3d-primary);
  color: var(--pv3d-primary-contrast);
}

.pv3d-room-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--pv3d-primary);
  color: var(--pv3d-primary-contrast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
}

.pv3d-room-button.is-active .pv3d-room-number {
  background: var(--pv3d-primary-contrast);
  color: var(--pv3d-primary);
}

.pv3d-room-title {
  color: inherit;
  font-weight: 850;
  font-size: 13px;
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv3d-floorplan-panel {
  position: absolute;
  z-index: 4;
  right: 14px;
  top: 82px;
  width: min(250px, 34%);
  max-height: calc(100% - 172px);
  border-radius: 14px;
  border: 1px solid var(--pv3d-primary);
  background: rgba(255,255,255,.96);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0,0,0,.10);
}

.pv3d-floorplan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--pv3d-primary);
  color: var(--pv3d-primary-contrast);
  background: var(--pv3d-primary);
  font-size: 13px;
}

.pv3d-close-plan {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--pv3d-primary-contrast);
  background: var(--pv3d-primary-contrast);
  color: var(--pv3d-primary);
  line-height: 1;
  font-size: 18px;
  font-weight: 500;
}

.pv3d-close-plan:hover,
.pv3d-close-plan:focus-visible {
  background: #f2f2f2;
  outline: none;
}

.pv3d-plan {
  position: relative;
  background: var(--pv3d-white);
  overflow: hidden;
}

.pv3d-plan img {
  display: block;
  width: 100%;
  height: auto;
}

.pv3d-plan-empty {
  padding: 16px;
  color: var(--pv3d-text);
  background: var(--pv3d-white);
}

.pv3d-plan-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #59616b;
  background: #e5e7eb;
  border: 2px solid #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.24);
  transition: transform .16s ease, outline-color .16s ease;
}

.pv3d-plan-marker:hover,
.pv3d-plan-marker:focus-visible,
.pv3d-plan-marker.is-active {
  color: var(--pv3d-primary-contrast);
  background: var(--pv3d-primary);
  outline: 4px solid rgba(0,0,0,.18);
  outline: 4px solid color-mix(in srgb, var(--pv3d-primary) 22%, transparent);
  transform: translate(-50%, -50%) scale(1.08);
}

.pv3d-notice {
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--pv3d-white);
  color: var(--pv3d-text);
  border: 1px solid var(--pv3d-primary);
}

/* Runde Bild-Hotspots im Panorama. */
.pv3d-tour .pv3d-scene-hotspot-wrap,
.pv3d-tour .pv3d-scene-hotspot {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--pv3d-white);
  border: 2px solid var(--pv3d-primary);
  box-shadow: 0 10px 26px rgba(0,0,0,.20);
}

.pv3d-tour .pv3d-scene-hotspot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}

.pv3d-tour .pv3d-scene-hotspot:hover,
.pv3d-tour .pv3d-scene-hotspot:focus-visible {
  transform: scale(1.06);
  background: #f2f2f2;
  outline: none;
}

.pv3d-hotspot-thumb {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--pv3d-primary);
}

.pv3d-hotspot-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv3d-hotspot-text {
  position: absolute;
  left: 50%;
  top: calc(100% + 7px);
  transform: translateX(-50%);
  max-width: 180px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--pv3d-primary);
  color: var(--pv3d-primary-contrast);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}

.pv3d-scene-hotspot:hover .pv3d-hotspot-text,
.pv3d-scene-hotspot:focus-visible .pv3d-hotspot-text {
  opacity: 1;
}

/* Echte Vollbild-Ansicht. */
.pv3d-tour:fullscreen,
.pv3d-tour.is-native-fullscreen {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  background: var(--pv3d-white);
  border-radius: 0;
  padding: 0;
}

.pv3d-tour:fullscreen .pv3d-shell,
.pv3d-tour.is-native-fullscreen .pv3d-shell {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  border-radius: 0;
  padding: 10px;
  border: 0;
  grid-template-columns: minmax(0, 1fr) clamp(104px, 8vw, 132px);
}

.pv3d-tour:fullscreen .pv3d-main,
.pv3d-tour:fullscreen .pv3d-side,
.pv3d-tour.is-native-fullscreen .pv3d-main,
.pv3d-tour.is-native-fullscreen .pv3d-side {
  height: calc(100vh - 20px);
  height: calc(100svh - 20px);
  min-height: 0;
}

@media (max-width: 980px) {
  .pv3d-shell {
    grid-template-columns: 1fr;
  }

  .pv3d-main {
	height: min(70svh, var(--pv3d-tour-height, 720px));
	min-height: 0;
  }

  .pv3d-side {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .pv3d-room-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .pv3d-room-button {
    min-width: 126px;
  }
}

@media (max-width: 760px) {
  .pv3d-tour {
    width: 100%;
  }

  .pv3d-shell {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 6px;
    border-radius: 14px;
  }

  .pv3d-main {
	height: min(72svh, var(--pv3d-tour-height, 720px));
	min-height: 0;
    border-radius: 12px;
  }

  .pv3d-topbar {
    left: 8px;
    right: 8px;
    top: 8px;
    padding: 8px;
    border-radius: 12px;
    align-items: flex-start;
    gap: 8px;
  }

  .pv3d-eyebrow {
    font-size: 9px;
  }

  .pv3d-current-title {
    font-size: 16px;
  }

  .pv3d-top-actions {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .pv3d-outline-button {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .pv3d-floorplan-panel {
    left: auto;
    right: 8px;
    top: 70px;
    width: min(230px, calc(100% - 16px));
    max-height: 42%;
    border-radius: 12px;
  }

  .pv3d-floorplan-head {
    padding: 7px 9px;
    font-size: 12px;
  }

  .pv3d-bottom-nav {
    left: 8px;
    right: 8px;
    bottom: 10px;
    transform: none;
    justify-content: space-between;
    border-radius: 16px;
    padding: 6px;
  }

  .pv3d-nav-button {
    min-width: 0;
    min-height: 38px;
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
  }

  .pv3d-counter {
    min-width: 44px;
    font-size: 12px;
  }

  .pv3d-side {
    padding: 6px;
    border-radius: 12px;
    max-width: 100%;
  }

  .pv3d-room-list {
    gap: 6px;
    padding-bottom: 0;
  }

  .pv3d-room-button {
    min-width: 112px;
    min-height: 40px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
    border-radius: 10px;
    padding: 5px;
  }

  .pv3d-room-number {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .pv3d-room-title {
    font-size: 12px;
  }

  .pv3d-tour .pv3d-scene-hotspot-wrap,
  .pv3d-tour .pv3d-scene-hotspot {
    width: 52px;
    height: 52px;
  }

  .pv3d-hotspot-thumb {
    width: 42px;
    height: 42px;
  }

  .pv3d-hotspot-text {
    display: none;
  }

  .pv3d-tour:fullscreen .pv3d-shell,
  .pv3d-tour.is-native-fullscreen .pv3d-shell {
    display: flex;
    flex-direction: column;
    padding: 6px;
    gap: 6px;
    height: 100vh;
    height: 100svh;
  }

  .pv3d-tour:fullscreen .pv3d-main,
  .pv3d-tour.is-native-fullscreen .pv3d-main {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
  }

  .pv3d-tour:fullscreen .pv3d-side,
  .pv3d-tour.is-native-fullscreen .pv3d-side {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    max-height: 58px;
    overflow: hidden;
  }
}

@media (max-width: 460px) {
  .pv3d-main {
    height: min(68svh, var(--pv3d-tour-height, 720px));
    min-height: 390px;
  }

  .pv3d-topbar {
    left: 6px;
    right: 6px;
    top: 6px;
    padding: 7px;
  }

  .pv3d-top-actions {
    max-width: 47%;
  }

  .pv3d-outline-button {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 10.5px;
  }

  .pv3d-bottom-nav {
    left: 6px;
    right: 6px;
    bottom: 8px;
  }

  .pv3d-nav-button {
    min-height: 36px;
    padding: 7px 8px;
  }

  .pv3d-counter {
    min-width: 38px;
  }
}

/* PV3D v1.5.0 – optimierte Raum-Navigation, sichtbare Hotspots und responsive Vollbilddarstellung */
.pv3d-shell {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.pv3d-side {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  padding: 7px !important;
}

.pv3d-room-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  align-items: stretch !important;
}

.pv3d-room-button {
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  grid-template-columns: 26px minmax(0, auto) !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 6px 10px 6px 6px !important;
  border-radius: 999px !important;
}

.pv3d-room-number {
  width: 26px !important;
  height: 26px !important;
  font-size: 12px !important;
}

.pv3d-room-title {
  display: block !important;
  max-width: none !important;
  min-width: 0 !important;
  color: inherit !important;
  font-size: clamp(12px, 1vw, 14px) !important;
  line-height: 1.18 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.pv3d-tour .pv3d-scene-hotspot-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  z-index: 5 !important;
}

.pv3d-tour .pv3d-scene-hotspot-wrap,
.pv3d-tour .pv3d-scene-hotspot {
  width: 72px !important;
  height: 72px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 2px solid var(--pv3d-primary) !important;
}

.pv3d-hotspot-thumb {
  width: 60px !important;
  height: 60px !important;
  border: 1px solid rgba(255,255,255,.92) !important;
}

.pv3d-hotspot-text {
  top: calc(100% + 8px) !important;
  font-size: 12px !important;
  max-width: 220px !important;
}

.pv3d-tour:fullscreen .pv3d-shell,
.pv3d-tour.is-native-fullscreen .pv3d-shell {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  height: 100vh !important;
  height: 100svh !important;
  max-height: 100vh !important;
  max-height: 100svh !important;
  padding: 8px !important;
}

.pv3d-tour:fullscreen .pv3d-main,
.pv3d-tour.is-native-fullscreen .pv3d-main {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
}

.pv3d-tour:fullscreen .pv3d-side,
.pv3d-tour.is-native-fullscreen .pv3d-side {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 92px !important;
  overflow: auto !important;
}

.pv3d-tour:fullscreen .pv3d-room-list,
.pv3d-tour.is-native-fullscreen .pv3d-room-list {
  flex-wrap: wrap !important;
}

@media (max-width: 760px) {
  .pv3d-main {
	height: min(74svh, var(--pv3d-tour-height, 720px)) !important;
	min-height: 0 !important;
  }

  .pv3d-room-list {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scrollbar-width: thin !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .pv3d-room-button {
    flex: 0 0 auto !important;
    max-width: none !important;
    min-height: 38px !important;
    grid-template-columns: 24px auto !important;
    padding: 5px 10px 5px 5px !important;
  }

  .pv3d-room-number {
    width: 24px !important;
    height: 24px !important;
  }

  .pv3d-room-title {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 12.5px !important;
  }

  .pv3d-tour .pv3d-scene-hotspot-wrap,
  .pv3d-tour .pv3d-scene-hotspot {
    width: 62px !important;
    height: 62px !important;
  }

  .pv3d-hotspot-thumb {
    width: 52px !important;
    height: 52px !important;
  }

  .pv3d-tour:fullscreen .pv3d-side,
  .pv3d-tour.is-native-fullscreen .pv3d-side {
    max-height: 58px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
}

@media (max-width: 460px) {
  .pv3d-main {
	height: min(72svh, var(--pv3d-tour-height, 720px)) !important;
	min-height: 0 !important;
  }

  .pv3d-topbar {
    gap: 6px !important;
  }

  .pv3d-current-title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 15px !important;
  }
}



.pv3d-tour.is-pointer-inside:not(.is-native-fullscreen):not(.is-fallback-fullscreen) {
  overscroll-behavior: auto !important;
}

/* PV3D v1.6.0 – Scroll-Lock, mobile Vollbild, zentrierter Grundriss und robuste Bild-Hotspots */
html.pv3d-page-lock,
body.pv3d-page-lock {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.pv3d-tour .pv3d-viewer,
.pv3d-tour .pnlm-container,
.pv3d-tour .pnlm-render-container,
.pv3d-tour canvas {
  overscroll-behavior: contain !important;
}

/* Außerhalb des Vollbilds verhält sich das Mausrad über dem Rundgang wie
   auf dem Rest der Seite. Die Viewer-Ebenen dürfen die Scroll-Kette nicht
   festhalten; gezoomt wird weiterhin über die sichtbaren Bedienelemente. */
.pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pv3d-shell,
.pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pv3d-main,
.pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pv3d-viewer,
.pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pnlm-container,
.pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pnlm-render-container,
.pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) canvas {
  overscroll-behavior: auto !important;
}

.pv3d-tour.is-fallback-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100svh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

.pv3d-tour.is-fallback-fullscreen .pv3d-shell {
  width: 100vw !important;
  height: 100vh !important;
  height: 100svh !important;
  max-height: 100vh !important;
  max-height: 100svh !important;
  border-radius: 0 !important;
  padding: 8px !important;
  border: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.pv3d-tour.is-fallback-fullscreen .pv3d-main {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
}

.pv3d-tour.is-fallback-fullscreen .pv3d-side {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 84px !important;
  overflow: auto !important;
}

.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot-wrap,
.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot {
  width: 72px !important;
  height: 72px !important;
  margin-left: -36px !important;
  margin-top: -36px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 20 !important;
}

.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot-wrap:before,
.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot-wrap:after,
.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot:before,
.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot:after {
  content: none !important;
  display: none !important;
}

.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot-wrap .pv3d-hotspot-thumb,
.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot .pv3d-hotspot-thumb {
  width: 64px !important;
  height: 64px !important;
  border-radius: 999px !important;
  border: 3px solid #ffffff !important;
  outline: 2px solid var(--pv3d-primary) !important;
  background: var(--pv3d-primary) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.22) !important;
}

.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot-wrap:hover .pv3d-hotspot-thumb,
.pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot:focus-visible .pv3d-hotspot-thumb {
  transform: scale(1.06);
}

.pv3d-tour .pnlm-tooltip:not(.pv3d-scene-hotspot):not(.pv3d-scene-hotspot-wrap) > span {
  display: none !important;
}

@media (max-width: 760px) {
  .pv3d-tour.is-plan-open .pv3d-floorplan-panel {
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(94vw, 430px) !important;
    max-width: 94vw !important;
    max-height: min(74svh, 560px) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 48px rgba(0,0,0,.22) !important;
  }

  .pv3d-tour.is-plan-open .pv3d-plan {
    max-height: calc(min(74svh, 560px) - 44px) !important;
    overflow: auto !important;
  }

  .pv3d-tour.is-plan-open .pv3d-plan img {
    width: 100% !important;
    min-width: 300px !important;
  }

  .pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot-wrap,
  .pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot {
    width: 64px !important;
    height: 64px !important;
    margin-left: -32px !important;
    margin-top: -32px !important;
  }

  .pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot-wrap .pv3d-hotspot-thumb,
  .pv3d-tour .pnlm-hotspot-base.pv3d-scene-hotspot .pv3d-hotspot-thumb {
    width: 56px !important;
    height: 56px !important;
  }
}

/* PV3D v1.6.0 – eigener Hotspot-Layer über dem Panorama */
.pv3d-hotspot-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.pv3d-overlay-hotspot {
  position: absolute;
  left: 0;
  top: 0;
  width: 74px;
  height: 74px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  align-items: center;
  justify-content: center;
  transition: filter .16s ease;
  font-family: inherit;
}

.pv3d-overlay-hotspot:hover,
.pv3d-overlay-hotspot:focus-visible {
  filter: brightness(.96);
  outline: none;
}

.pv3d-overlay-hotspot .pv3d-hotspot-thumb {
  width: 64px !important;
  height: 64px !important;
  border-radius: 999px !important;
  border: 3px solid #ffffff !important;
  outline: 2px solid var(--pv3d-primary) !important;
  background: var(--pv3d-primary) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.22) !important;
}

.pv3d-overlay-hotspot .pv3d-hotspot-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv3d-overlay-hotspot .pv3d-hotspot-text {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  max-width: 220px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--pv3d-primary);
  color: var(--pv3d-primary-contrast);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}

.pv3d-overlay-hotspot:hover .pv3d-hotspot-text,
.pv3d-overlay-hotspot:focus-visible .pv3d-hotspot-text {
  opacity: 1;
}

@media (max-width: 760px) {
  .pv3d-overlay-hotspot {
    width: 64px;
    height: 64px;
  }

  .pv3d-overlay-hotspot .pv3d-hotspot-thumb {
    width: 56px !important;
    height: 56px !important;
  }

  .pv3d-overlay-hotspot .pv3d-hotspot-text {
    display: none !important;
  }
}

/* PV3D v1.8.0 – maximal herausgezoomte Startansicht und 3 Grundrissgrößen auf Desktop */
.pv3d-floorplan-head {
  gap: 8px !important;
}

.pv3d-floorplan-head strong {
  flex: 0 0 auto;
}

.pv3d-floorplan-size {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.pv3d-plan-size-button {
  appearance: none;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.78);
  background: transparent;
  color: var(--pv3d-primary-contrast);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.pv3d-plan-size-button:hover,
.pv3d-plan-size-button:focus-visible,
.pv3d-plan-size-button.is-active {
  background: var(--pv3d-primary-contrast);
  color: var(--pv3d-primary);
  outline: none;
}

.pv3d-plan-size-button:hover,
.pv3d-plan-size-button:focus-visible {
  transform: translateY(-1px);
}

@media (min-width: 761px) {
  .pv3d-tour.is-plan-size-small .pv3d-floorplan-panel {
    left: auto !important;
    right: 14px !important;
    top: 82px !important;
    width: min(250px, 34%) !important;
    max-height: calc(100% - 172px) !important;
    transform: none !important;
  }

  .pv3d-tour.is-plan-size-medium .pv3d-floorplan-panel {
    left: auto !important;
    right: 14px !important;
    top: 82px !important;
    width: min(50%, 680px) !important;
    max-height: calc(100% - 150px) !important;
    transform: none !important;
  }

  .pv3d-tour.is-plan-size-large .pv3d-floorplan-panel {
    left: 50% !important;
    right: auto !important;
    top: 82px !important;
    width: min(calc(100% - 56px), 1040px) !important;
    max-height: calc(100% - 124px) !important;
    transform: translateX(-50%) !important;
  }

  .pv3d-tour.is-plan-size-medium .pv3d-plan,
  .pv3d-tour.is-plan-size-large .pv3d-plan {
    max-height: calc(var(--pv3d-tour-height, 720px) - 146px) !important;
    overflow: auto !important;
  }

  .pv3d-tour.is-native-fullscreen.is-plan-size-medium .pv3d-plan,
  .pv3d-tour.is-native-fullscreen.is-plan-size-large .pv3d-plan,
  .pv3d-tour.is-fallback-fullscreen.is-plan-size-medium .pv3d-plan,
  .pv3d-tour.is-fallback-fullscreen.is-plan-size-large .pv3d-plan,
  .pv3d-tour:fullscreen.is-plan-size-medium .pv3d-plan,
  .pv3d-tour:fullscreen.is-plan-size-large .pv3d-plan {
    max-height: calc(100svh - 170px) !important;
  }
}

@media (max-width: 760px) {
  .pv3d-floorplan-size {
    display: none !important;
  }
}

/* PV3D v1.8.0 – verhindert zuverlässig Seiten-Scrollen beim Zoomen/Drehen über dem Rundgang. */

/* PV3D v1.9.0 – Desktop-Grundriss fest auf Mittelgröße, Größenumschalter entfernt. */
.pv3d-floorplan-size {
  display: none !important;
}

@media (min-width: 761px) {
  .pv3d-tour .pv3d-floorplan-panel,
  .pv3d-tour.is-plan-size-small .pv3d-floorplan-panel,
  .pv3d-tour.is-plan-size-medium .pv3d-floorplan-panel,
  .pv3d-tour.is-plan-size-large .pv3d-floorplan-panel {
    left: auto !important;
    right: 14px !important;
    top: 82px !important;
    width: min(50%, 680px) !important;
    max-height: calc(100% - 150px) !important;
    transform: none !important;
  }

  .pv3d-tour .pv3d-plan,
  .pv3d-tour.is-plan-size-small .pv3d-plan,
  .pv3d-tour.is-plan-size-medium .pv3d-plan,
  .pv3d-tour.is-plan-size-large .pv3d-plan {
    max-height: calc(var(--pv3d-tour-height, 720px) - 146px) !important;
    overflow: auto !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-plan,
  .pv3d-tour.is-fallback-fullscreen .pv3d-plan,
  .pv3d-tour:fullscreen .pv3d-plan {
    max-height: calc(100svh - 170px) !important;
  }
}

/* Custom Zoom Controls – v1.11.0 */
@media (max-width: 760px) {
  .pv3d-zoom-controls {
    right: 12px;
    top: auto;
    bottom: 88px;
    transform: none;
    gap: 6px;
    padding: 5px;
  }

  .pv3d-zoom-button {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
}

.pv3d-tour.is-native-fullscreen .pv3d-zoom-controls,
.pv3d-tour.is-fallback-fullscreen .pv3d-zoom-controls {
  right: max(18px, env(safe-area-inset-right));
}

.pv3d-tour.is-native-fullscreen .pv3d-zoom-button,
.pv3d-tour.is-fallback-fullscreen .pv3d-zoom-button {
  width: 46px;
  height: 46px;
}


/* PV3D v1.12.0 – Mobile-Grundriss, horizontales Menü und echtes 100%-Vollbild optimiert */
@media (max-width: 760px) {
  .pv3d-side {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    overscroll-behavior-x: contain !important;
  }

  .pv3d-room-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    width: 100% !important;
    max-width: 100% !important;
  }

  .pv3d-room-button {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
    touch-action: manipulation !important;
  }

  .pv3d-tour.is-plan-open .pv3d-floorplan-panel {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(calc(100vw - 28px), 480px) !important;
    max-width: calc(100vw - 28px) !important;
    max-height: min(78svh, 620px) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 52px rgba(0,0,0,.24) !important;
  }

  .pv3d-tour.is-plan-open .pv3d-floorplan-head {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 46px !important;
    padding: 9px 50px 9px 14px !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .pv3d-tour.is-plan-open .pv3d-floorplan-head strong {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  .pv3d-tour.is-plan-open .pv3d-close-plan {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .pv3d-tour.is-plan-open .pv3d-plan {
    max-height: calc(min(78svh, 620px) - 46px) !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    overscroll-behavior: contain !important;
  }

  .pv3d-tour.is-plan-open .pv3d-plan img {
    display: block !important;
    width: 100% !important;
    min-width: 300px !important;
    height: auto !important;
  }

  .pv3d-tour.is-native-fullscreen,
  .pv3d-tour.is-fallback-fullscreen,
  .pv3d-tour:fullscreen {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-shell,
  .pv3d-tour.is-fallback-fullscreen .pv3d-shell,
  .pv3d-tour:fullscreen .pv3d-shell {
    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-main,
  .pv3d-tour.is-fallback-fullscreen .pv3d-main,
  .pv3d-tour:fullscreen .pv3d-main {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-side,
  .pv3d-tour.is-fallback-fullscreen .pv3d-side,
  .pv3d-tour:fullscreen .pv3d-side {
    flex: 0 0 58px !important;
    width: 100% !important;
    height: 58px !important;
    max-height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: #ffffff !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-topbar,
  .pv3d-tour.is-fallback-fullscreen .pv3d-topbar,
  .pv3d-tour:fullscreen .pv3d-topbar {
    top: max(8px, env(safe-area-inset-top)) !important;
    left: max(8px, env(safe-area-inset-left)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-bottom-nav,
  .pv3d-tour.is-fallback-fullscreen .pv3d-bottom-nav,
  .pv3d-tour:fullscreen .pv3d-bottom-nav {
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
  }
}

/* PV3D v1.13.0 – Zoom-Buttons immer sichtbar und nicht verdeckt */
.pv3d-tour .pv3d-main .pv3d-zoom-controls {
  position: absolute !important;
  z-index: 120 !important;
  left: max(16px, env(safe-area-inset-left)) !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 7px !important;
  margin: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid var(--pv3d-primary) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.18) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.pv3d-tour .pv3d-main .pv3d-zoom-controls,
.pv3d-tour .pv3d-main .pv3d-zoom-controls * {
  pointer-events: auto !important;
}

.pv3d-tour .pv3d-main .pv3d-zoom-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--pv3d-primary) !important;
  background: #ffffff !important;
  color: var(--pv3d-primary) !important;
  font-size: 27px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-align: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.14) !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}

.pv3d-tour .pv3d-main .pv3d-zoom-button:hover,
.pv3d-tour .pv3d-main .pv3d-zoom-button:focus-visible {
  background: #f2f2f2 !important;
  color: var(--pv3d-primary) !important;
  transform: translateY(-1px) !important;
  outline: none !important;
}

.pv3d-tour .pv3d-main .pv3d-zoom-button:disabled {
  opacity: .42 !important;
  cursor: not-allowed !important;
  transform: none !important;
  filter: none !important;
}

.pv3d-tour.is-plan-open .pv3d-main .pv3d-zoom-controls {
  z-index: 125 !important;
}

.pv3d-tour.is-native-fullscreen .pv3d-main .pv3d-zoom-controls,
.pv3d-tour.is-fallback-fullscreen .pv3d-main .pv3d-zoom-controls,
.pv3d-tour:fullscreen .pv3d-main .pv3d-zoom-controls {
  left: max(18px, env(safe-area-inset-left)) !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  z-index: 2147483000 !important;
}

@media (max-width: 760px) {
  .pv3d-tour .pv3d-main .pv3d-zoom-controls {
    left: auto !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    gap: 7px !important;
    padding: 6px !important;
    z-index: 140 !important;
  }

  .pv3d-tour .pv3d-main .pv3d-zoom-button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    font-size: 25px !important;
  }

  .pv3d-tour.is-plan-open .pv3d-main .pv3d-zoom-controls {
    display: none !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-main .pv3d-zoom-controls,
  .pv3d-tour.is-fallback-fullscreen .pv3d-main .pv3d-zoom-controls,
  .pv3d-tour:fullscreen .pv3d-main .pv3d-zoom-controls {
    right: max(10px, env(safe-area-inset-right)) !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 2147483000 !important;
  }
}


/* PV3D v1.14.0 – mobile Raum-Navigation im Vollbild immer einzeilig und horizontal wischbar */
@media (max-width: 980px), (hover: none), (pointer: coarse) {
  .pv3d-tour .pv3d-side,
  .pv3d-tour.is-native-fullscreen .pv3d-side,
  .pv3d-tour.is-fallback-fullscreen .pv3d-side,
  .pv3d-tour:fullscreen .pv3d-side {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: none !important;
    touch-action: pan-x !important;
    scrollbar-width: none !important;
    padding: 6px !important;
  }

  .pv3d-tour .pv3d-side::-webkit-scrollbar,
  .pv3d-tour .pv3d-room-list::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .pv3d-tour .pv3d-room-list,
  .pv3d-tour.is-native-fullscreen .pv3d-room-list,
  .pv3d-tour.is-fallback-fullscreen .pv3d-room-list,
  .pv3d-tour:fullscreen .pv3d-room-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    overflow-x: visible !important;
    overflow-y: hidden !important;
    padding: 0 6px !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    white-space: nowrap !important;
    scroll-snap-type: x proximity !important;
  }

  .pv3d-tour .pv3d-room-button,
  .pv3d-tour.is-native-fullscreen .pv3d-room-button,
  .pv3d-tour.is-fallback-fullscreen .pv3d-room-button,
  .pv3d-tour:fullscreen .pv3d-room-button {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: max-content !important;
    display: inline-grid !important;
    grid-template-columns: 24px auto !important;
    align-items: center !important;
    white-space: nowrap !important;
    scroll-snap-align: start !important;
    touch-action: manipulation !important;
  }

  .pv3d-tour .pv3d-room-title,
  .pv3d-tour.is-native-fullscreen .pv3d-room-title,
  .pv3d-tour.is-fallback-fullscreen .pv3d-room-title,
  .pv3d-tour:fullscreen .pv3d-room-title {
    display: inline-block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    width: auto !important;
  }
}

@media (max-width: 980px), (hover: none), (pointer: coarse) {
  .pv3d-tour.is-native-fullscreen .pv3d-shell,
  .pv3d-tour.is-fallback-fullscreen .pv3d-shell,
  .pv3d-tour:fullscreen .pv3d-shell {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-main,
  .pv3d-tour.is-fallback-fullscreen .pv3d-main,
  .pv3d-tour:fullscreen .pv3d-main {
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-side,
  .pv3d-tour.is-fallback-fullscreen .pv3d-side,
  .pv3d-tour:fullscreen .pv3d-side {
    flex: 0 0 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    background: #ffffff !important;
  }
}


/* PV3D v1.15.0 – Mobile Zoom-Steuerung wieder wie in v1.13.0 */
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .pv3d-tour .pv3d-main .pv3d-zoom-controls,
  .pv3d-tour.is-native-fullscreen .pv3d-main .pv3d-zoom-controls,
  .pv3d-tour.is-fallback-fullscreen .pv3d-main .pv3d-zoom-controls,
  .pv3d-tour:fullscreen .pv3d-main .pv3d-zoom-controls {
    position: absolute !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    left: auto !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    gap: 7px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 6px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid var(--pv3d-primary) !important;
    box-shadow: 0 12px 34px rgba(0,0,0,.18) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 2147483000 !important;
    touch-action: manipulation !important;
  }

  .pv3d-tour .pv3d-main .pv3d-zoom-controls *,
  .pv3d-tour.is-native-fullscreen .pv3d-main .pv3d-zoom-controls *,
  .pv3d-tour.is-fallback-fullscreen .pv3d-main .pv3d-zoom-controls *,
  .pv3d-tour:fullscreen .pv3d-main .pv3d-zoom-controls * {
    pointer-events: auto !important;
  }

  .pv3d-tour .pv3d-main .pv3d-zoom-button,
  .pv3d-tour.is-native-fullscreen .pv3d-main .pv3d-zoom-button,
  .pv3d-tour.is-fallback-fullscreen .pv3d-main .pv3d-zoom-button,
  .pv3d-tour:fullscreen .pv3d-main .pv3d-zoom-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    border: 1.5px solid var(--pv3d-primary) !important;
    background: #ffffff !important;
    color: var(--pv3d-primary) !important;
    font-size: 25px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.14) !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
  }

  .pv3d-tour .pv3d-main .pv3d-zoom-button:hover,
  .pv3d-tour .pv3d-main .pv3d-zoom-button:focus-visible {
    background: #f2f2f2 !important;
    color: var(--pv3d-primary) !important;
    transform: translateY(-1px) !important;
    outline: none !important;
  }

  .pv3d-tour .pv3d-main .pv3d-zoom-button:disabled {
    opacity: .42 !important;
    cursor: not-allowed !important;
    transform: none !important;
    filter: none !important;
  }

  .pv3d-tour.is-plan-open .pv3d-main .pv3d-zoom-controls,
  .pv3d-tour.is-plan-open.is-native-fullscreen .pv3d-main .pv3d-zoom-controls,
  .pv3d-tour.is-plan-open.is-fallback-fullscreen .pv3d-main .pv3d-zoom-controls,
  .pv3d-tour.is-plan-open:fullscreen .pv3d-main .pv3d-zoom-controls {
    display: none !important;
  }
}


/* PV3D v1.16.0 – Grundriss-Schalter auf Mobilgeräten nur im Vollbildmodus */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pv3d-toggle-plan:not([hidden]) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen).is-plan-open .pv3d-floorplan-panel {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .pv3d-tour.is-native-fullscreen .pv3d-toggle-plan:not([hidden]),
  .pv3d-tour.is-fallback-fullscreen .pv3d-toggle-plan:not([hidden]),
  .pv3d-tour:fullscreen .pv3d-toggle-plan:not([hidden]) {
    display: inline-flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* PV3D v1.18.0 – Szenen / Bild-Hotspots ein- und ausblendbar */
.pv3d-toggle-hotspots[hidden],
.pv3d-tour:not(.is-loaded) .pv3d-toggle-hotspots[hidden] {
  display: none !important;
}

.pv3d-tour.is-hotspots-hidden .pv3d-hotspot-overlay,
.pv3d-hotspot-overlay[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pv3d-toggle-hotspots {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .pv3d-topbar {
    align-items: flex-start !important;
  }

  .pv3d-title-block {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 44% !important;
  }

  .pv3d-top-actions {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(238px, 56%) !important;
    max-width: 56% !important;
    gap: 6px !important;
  }

  .pv3d-top-actions .pv3d-outline-button {
    width: 100% !important;
    min-width: 0 !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
	    font-size: calc(10px * var(--wm-bs, 1)) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  .pv3d-top-actions .pv3d-toggle-hotspots:not([hidden]) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 420px) {
  .pv3d-title-block {
    max-width: 40% !important;
  }

  .pv3d-top-actions {
    width: 60% !important;
    max-width: 60% !important;
  }

  .pv3d-top-actions .pv3d-outline-button {
    min-height: 29px !important;
	    font-size: calc(9.5px * var(--wm-bs, 1)) !important;
  }
}


/* PV3D v1.19.0 – obere Bedienleiste ein-/ausblendbar */
.pv3d-tour .pv3d-topbar {
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}

.pv3d-tour.is-topbar-hidden .pv3d-topbar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-12px) !important;
}

.pv3d-tour .pv3d-show-topbar {
  appearance: none !important;
  position: absolute !important;
  z-index: 2147483001 !important;
  top: max(16px, env(safe-area-inset-top)) !important;
  right: max(18px, env(safe-area-inset-right)) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--pv3d-primary) !important;
  background: #ffffff !important;
  color: var(--pv3d-primary) !important;
  font-family: inherit !important;
	  font-size: calc(13px * var(--wm-bs, 1)) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.16) !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.pv3d-tour .pv3d-show-topbar[hidden] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.pv3d-tour .pv3d-show-topbar:hover,
.pv3d-tour .pv3d-show-topbar:focus-visible,
.pv3d-tour .pv3d-toggle-topbar:hover,
.pv3d-tour .pv3d-toggle-topbar:focus-visible {
  background: #f2f2f2 !important;
  outline: none !important;
}

.pv3d-tour .pv3d-toggle-topbar {
  white-space: nowrap !important;
}

@media (max-width: 980px), (hover: none), (pointer: coarse) {
  .pv3d-tour .pv3d-show-topbar,
  .pv3d-tour.is-native-fullscreen .pv3d-show-topbar,
  .pv3d-tour.is-fallback-fullscreen .pv3d-show-topbar,
  .pv3d-tour:fullscreen .pv3d-show-topbar {
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
	    font-size: calc(12px * var(--wm-bs, 1)) !important;
  }
}

@media (max-width: 760px) {
  .pv3d-tour .pv3d-top-actions .pv3d-toggle-topbar {
    grid-column: 1 / -1 !important;
  }
}


/* PV3D v1.20.0 – Originalbild-Qualität, schneller Zoom und übersichtlicher Grundriss. */
.pv3d-tour .pnlm-render-container,
.pv3d-tour .pnlm-render-container canvas,
.pv3d-tour .pnlm-container canvas {
  image-rendering: auto !important;
  image-rendering: high-quality !important;
}

.pv3d-plan-stage {
  position: relative;
  flex: 0 0 auto;
  max-width: 100%;
  max-height: 100%;
}

.pv3d-plan-stage > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}

.pv3d-floorplan-panel[hidden] {
  display: none !important;
}

@media (min-width: 761px) {
  .pv3d-tour.is-plan-open .pv3d-floorplan-panel:not([hidden]),
  .pv3d-tour.is-plan-open.is-plan-size-small .pv3d-floorplan-panel:not([hidden]),
  .pv3d-tour.is-plan-open.is-plan-size-medium .pv3d-floorplan-panel:not([hidden]),
  .pv3d-tour.is-plan-open.is-plan-size-large .pv3d-floorplan-panel:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    left: auto !important;
    right: 16px !important;
    top: 86px !important;
    width: clamp(300px, 36%, 500px) !important;
    height: min(64%, 520px) !important;
    max-height: calc(100% - 178px) !important;
    transform: none !important;
    overflow: hidden !important;
  }

  .pv3d-tour .pv3d-floorplan-head {
    flex: 0 0 auto !important;
  }

  .pv3d-tour .pv3d-plan,
  .pv3d-tour.is-plan-size-small .pv3d-plan,
  .pv3d-tour.is-plan-size-medium .pv3d-plan,
  .pv3d-tour.is-plan-size-large .pv3d-plan {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 10px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,.98) !important;
  }

  .pv3d-tour.is-native-fullscreen.is-plan-open .pv3d-floorplan-panel:not([hidden]),
  .pv3d-tour.is-fallback-fullscreen.is-plan-open .pv3d-floorplan-panel:not([hidden]),
  .pv3d-tour:fullscreen.is-plan-open .pv3d-floorplan-panel:not([hidden]) {
    width: clamp(340px, 34vw, 620px) !important;
    height: min(72%, 680px) !important;
    max-height: calc(100dvh - 190px) !important;
  }
}

@media (max-width: 760px) {
  .pv3d-tour.is-plan-open .pv3d-plan {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 10px !important;
  }
}

/* PV3D v1.23.0 – Web-optimierte Panorama-Ladung: Vorschau sofort, hochwertige Webversion statt 30-MB-Original im Frontend. */

/* ImmoSeite: Wohnungstouren mit fester 70/30-Aufteilung. */
.wmvt-section{position:relative}.wmvt-tabs{display:flex;gap:8px;margin:0 0 14px;overflow-x:auto;scrollbar-width:thin}.wmvt-tabs button{flex:1 0 max-content;min-height:48px;padding:11px 18px;border:1px solid #cfd3d6;border-color:color-mix(in srgb,var(--wm-primary,#000) 30%,#ddd);border-radius:5px;background:#eef1f4;color:#222;font:800 calc(13px * var(--wm-bs,1))/1.2 var(--wm-font-body,inherit);cursor:pointer}.wmvt-tabs button.active{background:var(--wm-primary,#000);border-color:var(--wm-primary,#000);color:#fff}
.pv3d-tour{position:relative}.pv3d-tour .pv3d-shell{display:grid!important;grid-template-columns:minmax(0,7fr) minmax(250px,3fr)!important;gap:12px!important}.pv3d-tour .wmvt-info-side{display:flex!important;flex-direction:column;gap:12px;padding:14px!important;height:var(--pv3d-tour-height,720px)!important;min-height:var(--pv3d-tour-height,720px)!important;overflow:auto!important}.wmvt-unit-info h3{margin:0 0 12px;font-family:var(--wm-font-heading,var(--wm-font-body,inherit));font-size:calc(21px * var(--wm-hs,1))}.wmvt-unit-info dl{display:grid;gap:0;margin:0}.wmvt-unit-info dl div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e5e5e5}.wmvt-unit-info dt{color:#6d7480}.wmvt-unit-info dd{margin:0;font-weight:800;text-align:right}.pv3d-tour .wmvt-info-side .pv3d-floorplan-panel{position:relative!important;inset:auto!important;display:flex;flex:1 1 auto;flex-direction:column;width:100%!important;max-width:none!important;min-height:220px;max-height:none!important;margin:0;border-radius:10px;box-shadow:none}.pv3d-tour .wmvt-info-side .pv3d-plan{flex:1 1 auto;min-height:180px}.pv3d-tour .wmvt-info-side .pv3d-room-list{flex:0 0 auto;grid-template-columns:repeat(2,minmax(0,1fr))}.wmvt-toggle-info{position:absolute;z-index:8;right:calc(30% - 7px);top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:34px;height:58px;padding:0;border:1px solid var(--wm-primary,#000);border-radius:999px;background:#fff;color:var(--wm-primary,#000);font-size:28px;line-height:1;cursor:pointer}.pv3d-tour.is-info-collapsed .pv3d-shell{grid-template-columns:minmax(0,1fr)!important}.pv3d-tour.is-info-collapsed .wmvt-info-side{display:none!important}.pv3d-tour.is-info-collapsed .wmvt-toggle-info{right:8px}
@media(max-width:980px){.pv3d-tour .pv3d-shell{grid-template-columns:minmax(0,7fr) minmax(230px,3fr)!important}.wmvt-toggle-info{right:calc(30% - 7px)}}
@media(max-width:760px){.wmvt-tabs button{min-height:44px}.pv3d-tour .pv3d-shell{display:grid!important;grid-template-columns:1fr!important}.pv3d-tour .wmvt-info-side{height:auto!important;min-height:0!important;max-height:46vh;overflow:auto!important}.wmvt-toggle-info{display:flex;right:8px;top:calc(var(--pv3d-tour-height-mobile,520px) - 24px);transform:none;width:44px;height:44px}.pv3d-tour .wmvt-info-side .pv3d-floorplan-panel{min-height:260px}.pv3d-tour .wmvt-info-side .pv3d-room-list{grid-template-columns:1fr}}

/* Grundriss bleibt Bestandteil der Informationsspalte und nie ein altes Overlay. */
.pv3d-tour.is-plan-open .wmvt-info-side .pv3d-floorplan-panel:not([hidden]),.pv3d-tour.is-plan-open.is-plan-size-small .wmvt-info-side .pv3d-floorplan-panel:not([hidden]),.pv3d-tour.is-plan-open.is-plan-size-medium .wmvt-info-side .pv3d-floorplan-panel:not([hidden]),.pv3d-tour.is-plan-open.is-plan-size-large .wmvt-info-side .pv3d-floorplan-panel:not([hidden]){position:relative!important;display:flex!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;min-width:0!important;height:auto!important;min-height:220px!important;max-height:none!important;transform:none!important;margin:0!important}

/* Der eingebettete Rundgang folgt immer der konfigurierten Seitenbreite. */
.wmvt-section{box-sizing:border-box;width:100%;max-width:var(--wmvt-max-width,var(--wm-max-width,1600px));margin-right:auto;margin-left:auto}.wmvt-section>.pv3d-tour{width:100%;max-width:100%}.wmvt-section .pv3d-shell{width:100%;max-width:100%}.wmvt-unit-info{padding:4px 3px 2px}.wmvt-unit-info dd{overflow-wrap:anywhere}
@media(max-width:760px){.wmvt-section{padding-right:14px!important;padding-left:14px!important}.wmvt-tabs{margin-bottom:10px}}

/* Mobile Bedienung: Rundgang zuerst, Zusatzinformationen bewusst aufklappbar. */
@media (max-width: 760px) {
  .wmvt-section {
    padding: 12px 10px !important;
    overflow-x: hidden;
  }

  .wmvt-tabs {
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .wmvt-tabs button {
    flex: 0 0 auto;
    min-width: min(72vw, 260px);
    min-height: 44px;
    padding: 10px 14px;
    scroll-snap-align: start;
  }

  .pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .wmvt-toggle-info {
    position: static;
    order: 1;
    width: 100%;
    height: 44px;
    min-height: 44px;
    transform: none;
    border-radius: 6px;
    background: #fff;
    color: var(--wm-primary, #000);
    font: 800 calc(12px * var(--wm-bs, 1))/1.2 var(--wm-font-body, inherit);
  }

  .pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pv3d-shell {
    order: 2;
    width: 100%;
    min-width: 0;
    gap: 8px !important;
    padding: 5px !important;
    border-radius: 10px;
  }

  .pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pv3d-main {
    width: 100%;
    min-width: 0;
    min-height: 340px !important;
    height: clamp(340px, 68svh, var(--pv3d-tour-height-mobile, 520px)) !important;
    border-radius: 8px;
  }

  .pv3d-tour .pv3d-topbar {
    top: 8px !important;
    right: 8px !important;
    left: 8px !important;
    display: flex !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 7px !important;
    padding: 8px !important;
  }

  .pv3d-tour .pv3d-title-block {
    width: 100% !important;
    max-width: none !important;
  }

  .pv3d-tour .pv3d-current-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pv3d-tour .pv3d-top-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    gap: 6px !important;
    padding-bottom: 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .pv3d-tour .pv3d-top-actions .pv3d-outline-button,
  .pv3d-tour .pv3d-top-actions .pv3d-toggle-hotspots:not([hidden]) {
    grid-column: auto !important;
    flex: 0 0 auto;
    width: auto !important;
    min-width: max-content !important;
    min-height: 42px !important;
    padding: 8px 11px !important;
    font-size: calc(10px * var(--wm-bs, 1)) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .pv3d-tour .pv3d-main .pv3d-zoom-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .pv3d-tour .pv3d-bottom-nav {
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    gap: 5px !important;
    padding: 5px !important;
  }

  .pv3d-tour .pv3d-bottom-nav .pv3d-nav-button {
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 8px 10px !important;
    font-size: calc(11px * var(--wm-bs, 1)) !important;
  }

  .pv3d-tour .pv3d-bottom-nav .pv3d-counter {
    min-width: 42px;
    white-space: nowrap;
  }

  .pv3d-tour .wmvt-info-side {
    gap: 9px !important;
    max-height: min(62svh, 520px) !important;
    padding: 11px !important;
    border-radius: 8px;
    overscroll-behavior: contain;
  }

  .pv3d-tour.is-native-fullscreen .wmvt-info-side,
  .pv3d-tour.is-fallback-fullscreen .wmvt-info-side,
  .pv3d-tour:fullscreen .wmvt-info-side {
    flex: 0 1 min(62svh, 520px) !important;
    height: min(62svh, 520px) !important;
    min-height: min(38svh, 280px) !important;
    max-height: min(62svh, 520px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
  }

  .wmvt-unit-info h3 {
    margin-bottom: 8px;
    font-size: calc(18px * var(--wm-hs, 1));
  }

  .wmvt-unit-info dl div {
    padding: 7px 0;
    font-size: calc(12px * var(--wm-ts, 1));
  }

  .pv3d-tour .wmvt-info-side .pv3d-floorplan-panel,
  .pv3d-tour.is-plan-open .wmvt-info-side .pv3d-floorplan-panel:not([hidden]) {
    min-height: 220px !important;
  }

  .pv3d-tour .wmvt-info-side .pv3d-room-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .pv3d-tour.is-native-fullscreen .wmvt-toggle-info,
  .pv3d-tour.is-fallback-fullscreen .wmvt-toggle-info,
  .pv3d-tour:fullscreen .wmvt-toggle-info {
    top: auto;
    right: 8px;
    bottom: 70px;
    width: auto;
    min-width: 44px;
    max-width: calc(100% - 16px);
    height: 44px;
    padding: 0 12px;
    transform: none;
    border-radius: 6px;
    font: 800 calc(11px * var(--wm-bs, 1))/1.2 var(--wm-font-body, inherit);
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pv3d-main {
    min-height: 320px !important;
    height: clamp(320px, 64svh, var(--pv3d-tour-height-mobile, 520px)) !important;
  }

  .pv3d-tour .wmvt-info-side .pv3d-room-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) and (max-height: 560px) {
  .pv3d-tour:not(.is-native-fullscreen):not(.is-fallback-fullscreen) .pv3d-main {
    min-height: 240px !important;
    height: clamp(240px, 68svh, var(--pv3d-tour-height-mobile, 520px)) !important;
  }
}

.pv3d-start-cover{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;background:#e9ecef center/cover no-repeat;transition:opacity .22s ease}.pv3d-start-cover:before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.56);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.pv3d-start-cover.is-starting{opacity:0;pointer-events:none}.pv3d-start-shade{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px;text-align:center;color:#151515}.pv3d-start-icon{display:grid;place-items:center;width:168px;height:168px;padding:12px;overflow:hidden;border-radius:50%;background:var(--wm-primary,#000);box-sizing:border-box;box-shadow:0 12px 30px rgba(0,0,0,.2)}.pv3d-start-icon img{display:block;width:100%;height:100%;object-fit:contain}.pv3d-start-shade strong{font:800 clamp(22px,3vw,38px)/1.1 var(--wm-font-heading,Arial,sans-serif)}.pv3d-start-button{min-height:50px;padding:13px 24px;border:0;border-radius:6px;background:var(--wm-primary,#000);color:#fff;font:800 15px/1 var(--wm-font-body,Arial,sans-serif);cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18)}

@media (min-width:761px){.pv3d-tour.is-native-fullscreen .pv3d-shell,.pv3d-tour.is-fallback-fullscreen .pv3d-shell,.pv3d-tour:fullscreen .pv3d-shell{display:grid!important;grid-template-columns:minmax(0,70%) minmax(280px,30%)!important;height:100%!important}.pv3d-tour.is-native-fullscreen .pv3d-main,.pv3d-tour.is-fallback-fullscreen .pv3d-main,.pv3d-tour:fullscreen .pv3d-main{width:100%!important;height:100%!important}.pv3d-tour.is-native-fullscreen .wmvt-info-side,.pv3d-tour.is-fallback-fullscreen .wmvt-info-side,.pv3d-tour:fullscreen .wmvt-info-side{display:flex!important;width:100%!important;height:100%!important;max-height:none!important;overflow:auto!important}.pv3d-tour.is-native-fullscreen.is-info-collapsed .pv3d-shell,.pv3d-tour.is-fallback-fullscreen.is-info-collapsed .pv3d-shell,.pv3d-tour:fullscreen.is-info-collapsed .pv3d-shell{grid-template-columns:minmax(0,1fr)!important}.pv3d-tour.is-native-fullscreen.is-info-collapsed .wmvt-info-side,.pv3d-tour.is-fallback-fullscreen.is-info-collapsed .wmvt-info-side,.pv3d-tour:fullscreen.is-info-collapsed .wmvt-info-side{display:none!important}}

@media (max-width:760px){.pv3d-start-icon{width:116px;height:116px;padding:9px}.pv3d-start-shade{gap:11px;padding:20px}.pv3d-start-shade strong{font-size:22px}.pv3d-start-button{width:min(280px,88vw)}}
