html, body { margin:0; padding:0; height:100%; overflow:hidden; background:#000; }
    #wrap{
    position:fixed;
    top:0; right:0; bottom:0; left:0;
    inset:0;
    height:100vh; height:100dvh; width:100vw;
    z-index:0;
    }
	
    canvas{
    position:absolute;
    top:0; right:0; bottom:0; left:0;
    inset:0;
    width:100%; height:100%;
    display:block; touch-action:none;
    }

    /* Video nur als Decoder-Quelle, darf niemals Touch blocken */
    video{
      position:fixed;
      left:-10000px;
      top:-10000px;
      width:1px;
      height:1px;
      opacity:0;
      pointer-events:none;
    }

    #startOverlay{
      position:fixed;
      top:0; right:0; bottom:0; left:0;  /* Fallback für alte Browser */
      inset:0;
      display:flex; align-items:center; justify-content:center;
      background:rgba(0,0,0,.78);
      z-index:9999;
      font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color:#fff; text-align:center; padding:24px;
    }
    #startOverlay .box{
      max-width:560px;
      background:rgba(0, 0, 0, 0.1);
      border:1px solid rgba(255,255,255,1);
      border-radius:16px;
      padding:18px 16px;
      box-shadow:0 12px 40px rgba(0,0,0,.45);
    }
    #startBtn{
      cursor:pointer;
      padding:10px 24px;
      border-radius:10px;
      border:1px solid rgba(255,255,255,1.0);
      font-size:12px;
      font-weight:800;
      opacity:0.8;
      color:white;
      background:rgba(0,0,0,.8);
    }
    #hint{ margin-top:10px; opacity:.85; font-size:13px; line-height:1.35; }

    /* Refresh-Button zum Reaktivieren aller Videos */
    #rightControls{
      position:fixed;
      right:12px;
      top:50%;
      transform:translateY(-50%);
      z-index:5000;
      display:flex;
      flex-direction:column;
      gap:12px;
    }
    #rightControls button{
      padding:8px 14px;
      border-radius:35%;
      border:1px solid rgba(255,255,255,0.65);
      font-size:22px;
      font-weight:600;
      background:rgba(0,0,0,0.15);
      color:#fff;
      cursor:pointer;
      opacity:0.8;
      transition:opacity 0.2s ease, background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
      backdrop-filter:blur(6px);
      -webkit-backdrop-filter:blur(6px);
      box-shadow:0 4px 14px rgba(0,0,0,0.45);
      -webkit-tap-highlight-color:transparent;
      user-select:none;
    }
    #rightControls button:hover{
      opacity:1;
      background:rgba(0,0,0,0.5);
    }
    #rightControls button:active{
      opacity:1;
      background:rgba(0,0,0,0.5);
      transform:scale(0.98);
    }

    @keyframes soundPulse{
      0%{ transform:scale(1.0); opacity:0.85; }
      50%{ transform:scale(1.10); opacity:1.0; }
      100%{ transform:scale(1.0); opacity:0.85; }
    }
    #soundBtn.pulse{
      animation:soundPulse 1.0s ease-in-out infinite;
      background:rgba(0,0,0,0.65);
      opacity:1;
      box-shadow:0 10px 30px rgba(0,0,0,0.65);
    }
#navButtons{
      position:fixed;
      left:50%;
      bottom:20px;
      transform:translateX(-50%);
      display:none;
      gap:16px;
      z-index:4000;
      pointer-events:none;
    }
    #navButtons button{
      pointer-events:auto;
      width:42px;
      height:42px;
      border-radius:35%;
      border:1px solid rgba(255,255,255,0.65);
      background:rgba(0,0,0,0.15);
      color:#ffffff;
      font-size:10px;
      font-weight:600;
      cursor:pointer;
      box-shadow:0 4px 14px rgba(0,0,0,0.45);
      backdrop-filter:blur(6px);
      opacity:0.8;
      -webkit-backdrop-filter:blur(6px);
      transition:background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    }
    #navButtons button:hover{
      background:rgba(0,0,0,0.55);
      transform:translateY(-1px);
      box-shadow:0 6px 18px rgba(0,0,0,0.55);
    }
    #navButtons button:active{
      background:rgba(0,0,0,0.55);
      transform:translateY(0);
      box-shadow:0 2px 8px rgba(0,0,0,0.5);
    }

    .label{
      color: white;
      letter-spacing:.22em;
      text-transform:uppercase;
      font-size: 12px;
      text-align:center;
      margin-top: -2px;
    }
	
 
  
    /* Hinweis wenn Videos/Codecs auf dem Gerät nicht darstellbar sind (z.B. manche Smart-TVs) */
    #videoWarn{
      position:fixed;
      top:0; right:0; bottom:0; left:0;
      display:flex;
      align-items:center;
      justify-content:center;
      z-index:8000;
      pointer-events:none; /* Pano-Steuerung bleibt aktiv */
      padding:24px;
    }
    #videoWarn[hidden]{ display:none !important; }
    #videoWarn .box{
      max-width:620px;
      background:rgba(0,0,0,.60);
      border:1px solid rgba(255,255,255,.65);
      border-radius:16px;
      padding:16px 16px;
      box-shadow:0 12px 40px rgba(0,0,0,.45);
      color:#fff;
      font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      text-align:center;
    }
    #videoWarn .title{
      font-weight:800;
      font-size:16px;
      margin-bottom:8px;
    }
    #videoWarn .msg{
      opacity:.92;
      font-size:13px;
      line-height:1.35;
    }

      /* Optional CSS dim fallback (pointer-events:none so UI stays clickable) */
    #dimOverlay{
      position:fixed; inset:0;
      background:#000;
      opacity:0;
      pointer-events:none;
      transition:opacity 280ms ease;
      z-index:4; /* above canvas, below UI overlays */
    }


    #hotspotLayer{
      position:fixed;
      inset:0;
      z-index:6500;
      pointer-events:none;
    }
    .hotspotBtn{
      position:fixed;
      left:0;
      top:0;
      transform:translate(-50%,-50%);
      width:24px;
      height:24px;
      border:1px solid rgba(255,255,255,0.26);
      border-radius:50%;
      background:radial-gradient(circle at 30% 30%, rgba(255,210,120,0.96), rgba(255,136,0,0.95) 62%, rgba(205,92,0,0.96));
      color:#fff;
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:24px;
      font-weight:800;
      cursor:pointer;
      pointer-events:auto;
      box-shadow:0 10px 28px rgba(0,0,0,0.38), 0 0 0 4px rgba(255,255,255,0.08), 0 0 22px rgba(255,153,0,0.38);
      backdrop-filter:blur(8px);
      -webkit-backdrop-filter:blur(8px);
      transition:transform 0.18s ease, background 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
      -webkit-tap-highlight-color:transparent;
      overflow:visible;
    }
    .hotspotBtn:hover{
      transform:translate(-50%,-50%) scale(1.10);
      box-shadow:0 12px 30px rgba(0,0,0,0.44), 0 0 0 4px rgba(255,255,255,0.10), 0 0 28px rgba(255,180,70,0.82);
      filter:brightness(1.06);
    }
    .hotspotBtn .hotspotIcon{
      position:relative;
      z-index:2;
      display:flex;
      align-items:center;
      justify-content:center;
      width:30px;
      height:30px;
      border-radius:50%;
      background:rgba(255,255,255,0.16);
      box-shadow:inset 0 1px 2px rgba(255,255,255,0.18);
      text-shadow:0 1px 3px rgba(0,0,0,0.28);
      font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      line-height:1;
    }
    .hotspotInfo .hotspotIcon{ font-style:italic; }
    .hotspotPhoto .hotspotIcon{ font-size:18px; }
    .hotspotPlay .hotspotIcon{ font-size:18px; padding-left:2px; }
    .hotspotBtn[hidden]{
      display:none !important;
    }

    .hotspotPngIcon{
      width:30px;
      height:30px;
      object-fit:contain;
      display:block;
      pointer-events:none;
      filter:drop-shadow(0 2px 3px rgba(0,0,0,0.25));
    }
    .hotspotBtn::after{
      content:"";
      position:absolute;
      inset:-8px;
      border-radius:50%;
      border:2px solid rgba(255,190,80,0.55);
      animation:hotspotPulse 1.8s infinite;
      pointer-events:none;
    }
    @keyframes hotspotPulse{
      0%{ transform:scale(0.90); opacity:0.9; }
      100%{ transform:scale(1.55); opacity:0; }
    }

.hotspotModal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,0.62);
  z-index:9000;
}

.hotspotModal.active{
  display:flex;
  animation: modalFadeIn 0.25s ease;
}

.hotspotModalBox{
  position:relative;
  width:min(620px,92vw);
  max-height:85vh;
  overflow:auto;
  background: rgba(18,18,18,.62);
  color:#fff;
  border:1px solid rgba(255,255,255,0.16);
  border-radius:18px;
  padding:24px 20px;
  box-shadow:0 14px 42px rgba(0,0,0,0.45);
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  animation: modalBoxOpen 0.28s ease;
}

.hotspotModalBox h2{
  margin:0 0 12px;
}

.hotspotModalBox p{
  margin:0;
  line-height:1.5;
  opacity:0.96;
}

.hotspotClose{
  position:absolute;
  top:10px;
  right:12px;
  border:none;
  background:transparent;
  color:#fff;
  font-size:30px;
  cursor:pointer;
}

.hotspotModal.active .hotspotModalBox{
  animation: modalBoxOpen 0.95s ease;
}

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

@keyframes modalBoxOpen{
  from{
    opacity:0;
    transform:scale(0.82) translateY(40px);
  }
  to{
    opacity:1;
    transform:scale(1) translateY(0);
  }
}
 
 
 
 
 
 
 .hotspotModal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(6px);
  z-index: 9000;
}

.hotspotModal.active{
  display: flex;
}

.hotspotModalBox{
  position: relative;
  width: min(600px, 92vw);
  max-height: 88vh;
  overflow: auto;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.05), transparent 38%),
    linear-gradient(180deg, rgba(33,29,26,0.98), rgba(16,16,16,0.97));
  box-shadow:
    0 24px 70px rgba(0,0,0,0.48),
    inset 0 1px 0 rgba(255,255,255,0.05);
  color: #f5efe6;
  animation: luxuryModalIn 0.36s ease;
}

.luxuryCardModal{
  padding: 0 0 34px;
}

.luxuryCardTopLine{
  height: 3px;
  background: linear-gradient(90deg, #8a6428, #f0cf88, #8a6428);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
}

.hotspotClose{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
  z-index: 3;
}

.hotspotClose:hover{
  background: rgba(255,255,255,0.14);
  transform: scale(1.05);
}

.luxuryCardContent{
  padding: 34px 32px 0;
  text-align: center;
}

.luxurySealWrap{
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.luxurySeal{
  width: 94px;
  height: 94px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.14), transparent 35%),
    linear-gradient(180deg, rgba(214,178,107,0.18), rgba(126,90,35,0.12));
  border: 1px solid rgba(226,191,123,0.26);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.24);
}

.luxurySealIcon{
  width: 54px;
  height: 54px;
  display: block;
}

.luxuryEyebrow{
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: rgba(239,210,149,0.78);
}

.luxuryTitle{
  margin: 0 0 16px;
  font-size: 31px;
  font-weight: 600;
  color: #fbf3e6;
}

.luxuryText{
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255,255,255,0.88);
}

.luxuryCodeCard{
  margin: 28px auto 14px;
  padding: 18px;
  width: min(380px, 80%);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(212,174,103,0.14), rgba(212,174,103,0.06));
  border: 1px solid rgba(222,189,124,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.luxuryCodeLabel{
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(241,218,170,0.82);
}

.luxuryCodeRow{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.luxuryCode{
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f0cb82;
}

.luxuryCopyBtn{
  border: 1px solid rgba(232,196,126,0.34);
  background: rgba(255,255,255,0.04);
  color: #f7efdf;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.luxuryCopyBtn:hover{
  background: rgba(232,196,126,0.12);
  border-color: rgba(232,196,126,0.55);
  transform: translateY(-1px);
}

.luxuryHint{
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
}

.luxuryDivider{
  width: 92px;
  height: 1px;
  margin: 14px auto 18px;
  background: linear-gradient(90deg, transparent, rgba(236,202,136,0.75), transparent);
}

.luxuryClosing{
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 600;
  color: #e8c27a;
}

@keyframes luxuryModalIn{
  from{
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 520px){
  .luxuryCardContent{
    padding: 28px 20px 0;
  }

  .luxuryTitle{
    font-size: 25px;
  }

  .luxuryText{
    font-size: 16px;
  }

  .luxuryCode{
    font-size: 24px;
  }

  .luxuryCopyBtn{
    width: 100%;
    max-width: 220px;
  }
}
