



/* === QR-Code Container === */
.qr-main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
}

/* QR-Code Wrapper mit Scan-Effekt */
.qr-wrapper {
  position: relative;
  display: inline-block;
}

/* QR-Code selbst */
.qr-wrapper img {
  max-width: 60vw;
  max-height: 70vh;
  height: auto;
  object-fit: contain;
  margin-bottom: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* === Scaneffekt (animierter Balken) === */
.qr-scan-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(0, 255, 0, 0.6); /* grünlicher Laserbalken */
  box-shadow: 0 0 10px 4px rgba(0, 255, 0, 0.3);
  animation: scanLine 3s linear infinite;
  z-index: 2;
  pointer-events: none;
  border-radius: 3px;
}

@keyframes scanLine {
  0% {
    top: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* === QR-Code Beschreibung === */
.qr-main-text {
  font-size: clamp(2.5rem, 3vw, 4rem);
  color: var(--petrol-color);
  font-weight: 800;
  text-align: center;
  margin: 0 auto;
  max-width: 90%;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

/* === Untertitel Overlay (optional) === */
.overlay {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 1rem;
  z-index: 9;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  pointer-events: none;
  max-width: 90%;
  text-align: center;
}

.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.slide-subtitle {
  font-size: clamp(2rem, 2.5vw, 3.3rem);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  margin: 0;
  letter-spacing: 0.15em;
  max-width: 100%;
}

/* === Extra für sehr große Screens (4K und höher) === */
@media screen and (min-height: 3000px) {
  .float-loop-strong {
    font-size: 5rem;
  }
  .qr-main-text {
    font-size: 4rem;
  }
  .qr-wrapper img {
    max-width: 50vw;
  }
}
