.wh-schema {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.wh-schema__headline {
  margin: 0 0 20px;
  font-size: 38px;
  font-weight: 800;
}

.wh-schema__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start; /* wichtig: keine vertikale Zentrierung */
}

@media (max-width: 1024px) {
  .wh-schema__layout { grid-template-columns: 1fr; }
}

.wh-schema__stage {
  position: relative;
  display: block !important;;
  overflow: visible;
   align-self: start;
}

.wh-schema__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Hotspot button */
.wh-spot {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
}

.wh-spot__num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: #0169AE;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* puls ring */
.wh-spot__ring {
  position: absolute;
  inset: -10px;
  border-radius: 14px;
  background: rgba(1,105,174,.25);
  animation: whPulse 1.6s ease-out infinite;
  z-index: -1;
}

@keyframes whPulse {
  0%   { transform: scale(.9); opacity: .9; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* active spot */
.wh-spot.is-active .wh-spot__num {
  background: #0a3b6f;
}

/* Right panels */
.wh-schema__panels {
  border-top: 1px solid #e6e9ef;
}

.wh-panel {
  border-bottom: 1px solid #e6e9ef;
  padding: 10px 0;
}

.wh-panel__summary {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
}

.wh-panel__summary::-webkit-details-marker { display: none; }

.wh-panel__num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #0169AE;
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
}

.wh-panel__body {
  padding: 14px 0 10px 40px;
}

.wh-panel__media img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

/* Hover = Wesselgrün */
.wh-spot:hover .wh-spot__num,
.wh-spot:focus .wh-spot__num,
.wh-spot:focus-visible .wh-spot__num {
  background: #D3FF2F;
  color: #000;
}

/* Aktiver Zustand NICHT schwarz */
.wh-spot.is-active .wh-spot__num {
  background: #D3FF2F; /* gleich wie Hover */
  color: #000;
}

/* Optional: Schatten entfernen (falls das „schwarz“ wirkt) */
.wh-spot__num {
  box-shadow: none;
}

/* Button selbst darf keinen schwarzen Hover-Hintergrund bekommen */
button.wh-spot,
button.wh-spot:hover,
button.wh-spot:focus,
button.wh-spot:focus-visible,
button.wh-spot:active {
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

/* Nur die Zahl soll die Farbe wechseln */
.wh-spot:hover .wh-spot__num,
.wh-spot:focus .wh-spot__num,
.wh-spot:focus-visible .wh-spot__num,
.wh-spot.is-active .wh-spot__num {
  background: #D3FF2F;
  color: #000;
}