.beast-team-hover {
  position: relative;
  width: 100%;
}

.beast-team-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.beast-team-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Hotspots: unsichtbar, aber klick-/hoverbar */
.beast-hotspot {
  position: absolute;

  /* 🔥 WICHTIG: Button-Reset (Theme-Overrides killen) */
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  cursor: pointer;
  border-radius: 12px;
}


/* 🔥 ADMIN DEBUG – FORCED VISIBILITY */
.beast-team-hover.is-debug.is-admin .beast-hotspot {
  outline: 3px dashed rgba(0, 0, 0, 0.85) !important;
  background: rgba(0, 0, 0, 0.15) !important;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.25) !important;
}

/* Besucher: Hotspots IMMER unsichtbar */
.beast-team-hover:not(.is-admin) .beast-hotspot {
  outline: none !important;
  background: transparent !important;
}


/* Desktop Tooltip */
.beast-tooltip {
  position: fixed;
  z-index: 9999;
  display: none;
  pointer-events: none;
  transform: translate(14px, 14px);
}

.beast-tooltip-inner {
  max-width: 280px;
  background: #522033 !important;
  color: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
}

.beast-tooltip-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.beast-tooltip-role {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.95;
}
.beast-tooltip-stack {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.85;
}
.beast-tooltip-bio {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.9;
}

/* Mobile Modal */
.beast-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.beast-modal.is-open {
  display: block;
}

.beast-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.beast-modal-card {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: min(92vw, 420px);
  background: rgba(20, 20, 24, 0.92);
  color: #fff;
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

.beast-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 34px;
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.beast-modal-name {
  font-weight: 800;
  font-size: 18px;
  padding-right: 40px;
}
.beast-modal-role {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.95;
}
.beast-modal-stack {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.85;
}
.beast-modal-bio {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.9;
}

/* Kleine UX-Regel: Tooltip auf Touch-Geräten aus */
@media (hover: none) and (pointer: coarse) {
  .beast-tooltip { display: none !important; }
}
