/* TR Rundgang – Frontend */
.trr-tour { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,41,147,.12); background: #0c1733; }
.trr-viewer-host { width: 100%; height: 100%; }
.trr-tour .pnlm-container { background: #0c1733; }

/* Hotspots: ℹ Info (grün) und → Szenenwechsel (blau) */
.trr-hs { width: 34px !important; height: 34px !important; border-radius: 50%; background-image: none !important; display: flex; align-items: center; justify-content: center; font: 700 16px/1 Arial, sans-serif; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.35); border: 2.5px solid #fff; cursor: pointer; transition: transform .15s; }
.trr-hs:hover { transform: scale(1.15); }
.trr-hs-info { background: #1f9c45; }
.trr-hs-info::before { content: "i"; font-style: italic; font-family: Georgia, serif; }
.trr-hs-scene { background: #002993; }
.trr-hs-scene::before { content: "→"; }

/* Info-Karte */
.trr-infocard { position: absolute; left: 18px; bottom: 74px; z-index: 20; max-width: 340px; background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.3); padding: 18px 22px; }
.trr-infocard h4 { margin: 0 30px 6px 0; font-size: 1.05rem; color: #0c1733; }
.trr-infocard p { margin: 0; font-size: .92rem; color: #45506b; line-height: 1.55; }
.trr-infocard-close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 22px; line-height: 1; color: #6b7691; cursor: pointer; padding: 4px; }
.trr-infocard-close:hover { color: #0c1733; }

/* Raum-Navigation */
.trr-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; background: linear-gradient(transparent, rgba(12,23,51,.75)); }
.trr-nav button { flex: none; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 16px; font-size: .85rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); }
.trr-nav button:hover { background: rgba(255,255,255,.28); }
.trr-nav button.active { background: #56DC7C; color: #06351a; border-color: #56DC7C; }

@media (max-width: 767px) {
  .trr-infocard { left: 12px; right: 12px; max-width: none; bottom: 66px; }
}

/* ── Showcase-Modus (Matterport-Stil) ── */
.trr-showcase .trr-sc-title { position: absolute; left: 26px; bottom: 96px; z-index: 16; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.5); max-width: 70%; pointer-events: none; }
.trr-showcase .trr-sc-title h3 { margin: 0 0 6px; font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; color: #fff; }
.trr-showcase .trr-sc-title p { margin: 0; font-size: 1rem; opacity: .9; }
.trr-sc-pill { position: absolute; left: 26px; bottom: 34px; z-index: 17; display: flex; align-items: center; gap: 2px; background: #fff; border-radius: 999px; padding: 6px 18px 6px 8px; box-shadow: 0 8px 26px rgba(0,0,0,.35); }
.trr-sc-btn { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: #0c1733; padding: 9px; border-radius: 50%; }
.trr-sc-btn svg { display: block; }
.trr-sc-btn:hover { background: #eef1fa; }
.trr-sc-scene { font: 700 .95rem/1 inherit; color: #002993; margin-left: 6px; white-space: nowrap; }
.trr-sc-actions { position: absolute; right: 22px; bottom: 34px; z-index: 17; display: flex; gap: 10px; }
.trr-sc-icon { background: none; border: none; color: #fff; cursor: pointer; opacity: .85; padding: 6px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.trr-sc-icon:hover { opacity: 1; }
.trr-sc-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 16; display: flex; gap: 5px; padding: 0 4px; }
.trr-sc-seg { flex: 1; height: 4px; background: rgba(255,255,255,.28); border-radius: 2px; overflow: hidden; }
.trr-sc-seg i { display: block; height: 100%; width: 0; background: #56DC7C; }
@media (max-width: 767px) {
  .trr-showcase .trr-sc-title { left: 16px; bottom: 92px; max-width: 85%; }
  .trr-sc-pill { left: 16px; bottom: 30px; }
  .trr-sc-actions { right: 12px; bottom: 30px; }
}
.trr-showcase { position: relative; }
.trr-showcase .pnlm-panorama-info { display: none !important; }
.trr-showcase::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, rgba(5,10,25,0) 0%, rgba(5,10,25,.55) 78%, rgba(5,10,25,.7) 100%); pointer-events: none; z-index: 14; }
/* Theme-Overrides absichern (Astra/Elementor Button-Focus) */
.trr-sc-pill .trr-sc-btn, .trr-sc-pill .trr-sc-btn:focus, .trr-sc-pill .trr-sc-btn:active {
  background: transparent !important; color: #0c1733 !important;
  border: none !important; box-shadow: none !important; outline: none !important;
}
.trr-sc-pill .trr-sc-btn:hover { background: #eef1fa !important; }
.trr-sc-pill .trr-sc-btn:focus-visible { background: #eef1fa !important; }

/* Raum-Navigation mit Standpunkten */
.trr-nav { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.trr-nav .trr-rooms { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.trr-nav .trr-points { display: flex; gap: 6px; justify-content: center; }
.trr-nav .trr-points .trr-point { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(10,20,45,.45); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; }
.trr-nav .trr-points .trr-point.active { background: #56DC7C; border-color: #56DC7C; color: #06351a; }
