/* Container */
.po-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-direction: column;
}

/* Hintergrund */
.po-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: contrast(1.05) brightness(0.9) saturate(1.1);
}

/* Zahnräder */
.po-gear {
  position: absolute;
  z-index: 2;
  opacity: 0.8;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}
.po-gear1 { top: 10%; left: 5%; width: 120px; animation: po-rotate-cw 40s linear infinite; }
.po-gear2 { top: 40%; left: 35%; width: 90px;  animation: po-rotate-ccw 30s linear infinite; }
.po-gear3 { top: 25%; left: 70%; width: 70px;  animation: po-rotate-cw 20s linear infinite; }

@keyframes po-rotate-cw  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes po-rotate-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* Overlay */
.po-overlay {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Einheitliche Schrift & Glow */
.po-title,
.po-subtitle,
#po-answer,
.po-input,
.po-input::placeholder,
.po-btn,
.po-footer {
  font-family: "Cinzel Decorative", serif;
  color: #ffd700;
  text-shadow:
    0 0 6px #ffd700,
    0 0 14px #ffae00,
    0 0 28px #ff8c00,
    0 0 56px #ff4500;
}

/* Titel */
.po-title {
  font-size: clamp(28px, 6vw, 54px);
  margin: 0 0 10px;
}

/* Hinweistext */
.po-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  margin: -6px 0 16px 0;
}

/* Eingabefeld + Button untereinander */
.po-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.po-input {
  width: 100%;
  padding: 14px 16px;
  font-size: clamp(14px, 2.5vw, 18px);
  background: rgba(0, 0, 0, 0.5); /* 50% transparent */
  border: 2px solid #d4af37;
  border-radius: 8px;
  outline: none;
  box-shadow: inset 0 0 8px rgba(212,175,55,0.4),
              0 0 12px rgba(212,175,55,0.35);
}
.po-input::placeholder {
  color: rgba(255, 215, 0, 0.6);
}

.po-btn {
  padding: 14px 22px;
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 700;
  background: linear-gradient(180deg, #ffd700 0%, #d4af37 100%);
  border: 2px solid #d4af37;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 12px #ffd700, 0 0 24px #ffae00;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}
.po-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px #ffd700, 0 0 32px #ffae00;
}

/* Antwort */
#po-answer {
  margin-top: 20px;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: bold;
  opacity: 0;
  transform: scale(0.9) translateY(8px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}
#po-answer.po-answer-show {
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: po-glowPulse 3s ease-in-out infinite;
}
@keyframes po-glowPulse {
  0%   { text-shadow: 0 0 6px #ffd700, 0 0 14px #ffae00; }
  50%  { text-shadow: 0 0 12px #fff176, 0 0 24px #ffd54f; }
  100% { text-shadow: 0 0 6px #ffd700, 0 0 14px #ffae00; }
}

/* Pendel noch größer & länger */
.po-pendel-wrap {
  margin: 30px auto 0;
  width: min(300px, 50vw);   /* bis 300px breit */
  height: auto;
}
.po-pendel {
  width: 100%;
  height: auto;
  max-height: 85vh;          /* bis 85% der Bildschirmhöhe */
  transform-origin: 50% 0%;
}

/* Schwebe-Animation */
@keyframes po-hover {
  0%   { transform: rotate(0deg) translateY(0); }
  50%  { transform: rotate(1deg) translateY(-2px); }
  100% { transform: rotate(0deg) translateY(0); }
}
.po-pendel.po-hover {
  animation: po-hover 3s ease-in-out infinite;
}

/* Footer ganz unten */
.po-footer {
  margin-top: auto;
  padding: 10px 0;
  font-size: 12px;
  color: rgba(255, 215, 0, 0.6);
  text-align: center;
}
