/* v991 – Wildnis-Tor: anklickbarer Durchgang + Fenster */
.wg-portal-v991 {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  outline: none;
}
.wg-light-v991 {
  position: absolute;
  left: 560px;
  top: 220px;
  width: 460px;
  height: 660px;
  background:
    radial-gradient(ellipse 34% 26% at 52% 66%, rgba(255, 250, 215, .55), rgba(255, 245, 200, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 240, .10), rgba(255, 250, 220, .16) 60%, rgba(255, 250, 220, 0));
  mix-blend-mode: screen;
  animation: wgPulseV991 3.6s ease-in-out infinite;
  transition: filter .25s ease;
}
@keyframes wgPulseV991 {
  0%, 100% { opacity: .45; }
  50% { opacity: .85; }
}
.wg-motes-v991 { position: absolute; inset: 0; }
.wg-motes-v991 i {
  position: absolute;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fffbe0;
  box-shadow: 0 0 6px 2px rgba(255, 240, 170, .8);
  opacity: 0;
  animation: wgMoteV991 6s ease-in-out infinite;
}
@keyframes wgMoteV991 {
  0% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: .9; }
  80% { opacity: .7; }
  100% { opacity: 0; transform: translate(var(--dx, 0), -70px); }
}
/* Darüberfahren: Durchgang leuchtet heller */
.wg-hover-v991 .wg-light-v991 { animation-duration: 1.8s; filter: brightness(1.5) saturate(1.2); }

.wg-deco-v991 { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wg-arrows-v991 {
  position: absolute;
  left: 800px;
  top: 700px;
  width: 0;
  height: 0;
}
.wg-arrows-v991 span {
  position: absolute;
  left: -26px;
  width: 36px;
  height: 36px;
  border-left: 7px solid rgba(255, 246, 205, .95);
  border-top: 7px solid rgba(255, 246, 205, .95);
  border-radius: 4px;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 6px rgba(255, 220, 120, .9)) drop-shadow(0 2px 2px rgba(60, 35, 10, .6));
  opacity: 0;
  animation: wgArrowV991 2.1s ease-in-out infinite;
}
.wg-arrows-v991 span:nth-child(1) { top: 60px; animation-delay: 0s; }
.wg-arrows-v991 span:nth-child(2) { top: 30px; animation-delay: .25s; transform: rotate(45deg) scale(.85); }
.wg-arrows-v991 span:nth-child(3) { top: 4px; animation-delay: .5s; transform: rotate(45deg) scale(.7); }
@keyframes wgArrowV991 {
  0%, 100% { opacity: 0; }
  30%, 55% { opacity: .9; }
}
.wg-hover-v991 .wg-arrows-v991 span { animation-duration: 1.2s; }
.wg-sign-v991 {
  position: absolute;
  left: 800px;
  top: 600px;
  transform: translate(-50%, 6px);
  color: #fffbe8;
  font: 700 26px Georgia, "Times New Roman", serif;
  letter-spacing: .5px;
  white-space: nowrap;
  /* nur Text im Glow – kein Button, kein Rand */
  text-shadow:
    0 0 6px rgba(255, 236, 160, .95),
    0 0 14px rgba(255, 210, 110, .85),
    0 0 26px rgba(255, 190, 80, .6),
    0 2px 3px rgba(60, 35, 10, .7);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.wg-hover-v991 .wg-sign-v991 { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Fenster ---------- */
.wg-dialog-v991 {
  position: fixed;
  inset: 0;
  z-index: 2147482500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(10, 8, 4, .45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.wg-card-v991 {
  width: min(440px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  box-sizing: border-box;
  padding: 22px 26px 20px;
  background: linear-gradient(#f6e7c4, #ead3a2);
  border: 4px solid #8a5a26;
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px rgba(255, 248, 232, .6), 0 10px 30px rgba(0, 0, 0, .55);
  color: #3b2614;
  font-family: Georgia, "Times New Roman", serif;
  animation: wgInV991 .25s ease-out;
}
.wg-card-v991.wide { width: min(640px, 100%); }
@keyframes wgInV991 { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.wg-title-v991 { text-align: center; font-size: 26px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #4a2e16; }
.wg-body-v991 { margin: 12px 0 18px; font-size: 16px; line-height: 1.45; }
.wg-body-v991 p { margin: 0 0 8px; text-align: center; }
.wg-small-v991 { font-size: 14px; font-style: italic; opacity: .85; }
.wg-intro-v991 { display: flex; gap: 16px; align-items: center; }
.wg-watcher-v991 { flex: 0 0 auto; width: 92px; height: 226px; object-fit: contain; opacity: .85; filter: drop-shadow(0 0 10px rgba(80, 120, 170, .45)); animation: wgWatcherV992 5s ease-in-out infinite; }
@keyframes wgWatcherV992 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.wg-lead-v991 { font-size: 18px; font-weight: 700; text-align: left !important; color: #4a2e16; }
.wg-intro-v991 ul { margin: 6px 0 0; padding-left: 20px; }
.wg-intro-v991 li { margin: 0 0 8px; }
.wg-intro-v991 li::marker { color: #9b6b2d; }
.wg-row-v991 { display: flex; gap: 12px; }
.wg-btn-v991 {
  flex: 1;
  height: 44px;
  border: 2px solid #bd8745;
  border-radius: 10px;
  background: linear-gradient(#76512c, #50351f);
  color: #fff0cf;
  font: 700 17px Georgia, "Times New Roman", serif;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px #2c180d, 0 3px 6px rgba(0, 0, 0, .4);
}
.wg-btn-v991:hover, .wg-btn-v991:focus-visible { filter: brightness(1.15); outline: none; }
@media (max-width: 560px) { .wg-watcher-v991 { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .wg-light-v991, .wg-motes-v991 i, .wg-arrows-v991 span, .wg-watcher-v991 { animation: none !important; }
}
