/* ============================================================
   stxrm808 — CARD 3D (Phase 7, additiv, entfernbar)
   Contained Slot für die echte Three.js-3D-Karte in #demos.
   style.css byte-identisch. Mobile/reduced-motion: kein Mount → kein Platz.
   ============================================================ */

.card3d {
  position: relative;
  width: 100%;
  max-width: 1100px;       /* groß wie die Originalkarten + Luft fürs Tilt (kein Clipping) */
  margin: 0 auto 56px;
  aspect-ratio: 2.35 / 1;  /* breit & flach wie .fp-card (2.78:1) + Rand fürs Tilt */
  opacity: 0;
  transition: opacity .8s ease;
}
.card3d.is-live { opacity: 1; }

.card3d__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Producer-Wechsel-Pfeile — gleiche Sprache wie die fp-carousel-Arrows */
.card3d__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 110, 40, 0.25);
  background: rgba(20, 12, 10, 0.72);
  color: #e8a040;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity .4s ease, border-color .2s, color .2s, transform .15s;
}
.card3d.is-live .card3d__arrow { opacity: 1; }
.card3d__arrow--prev { left: -8px; }
.card3d__arrow--next { right: -8px; }
.card3d__arrow:hover {
  border-color: rgba(255, 110, 40, 0.6);
  color: #ff5a14;
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .card3d { display: none; }
}
