/* PXbJ Agency – Talent-Karussell (Karten auf einem drehenden Bogen)
   Eingebaut 27.10.2026. Gehört zu agency-carousel.js.
   Aufbau: Die Seite enthält eine normale Kartenreihe (.pxa-fallback) mit
   den Talent-Karten. Ohne JavaScript bleibt genau diese Reihe sichtbar
   (waagerecht scrollbar). Mit JavaScript baut agency-carousel.js daraus ein
   eigenes Karussell (.pxa-wheel) im leeren Platzhalter (.pxa-mount) und
   blendet die Reihe aus. */

.pxa-fallback, .pxa-wheel {
  --pxa-card-w: 300px;
  --pxa-card-h: 400px;
  --pxa-frame: #3d2f22;          /* Kartenrahmen: dunkles Erdbraun */
  --pxa-frame-2: #6b5134;        /* Verlauf unten: Braun-Gold */
  --pxa-gold: #c9a46a;           /* Gold für den Style-Tag */
  position: relative;
  width: 100%;
}
.pxa-fallback {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 40px;
}
.pxa-fallback .pxa-track {
  display: flex;
  gap: 20px;
  padding: 0 24px;
}
html.pxa-js .pxa-fallback { display: none; }
.pxa-card {
  flex: none;
  position: relative;
  display: block;
  width: var(--pxa-card-w);
  height: var(--pxa-card-h);
  border-radius: 22px;
  background: var(--pxa-frame);
  padding: 8px 8px 0;
  box-shadow: 0 18px 40px rgba(61, 47, 34, 0.18);
  color: #fff;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.pxa-card img {
  display: block;
  width: 100%;
  height: calc(100% - 52px);
  object-fit: cover;
  border-radius: 16px;
  pointer-events: none;
  -webkit-user-drag: none;
}
.pxa-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  background: linear-gradient(180deg, var(--pxa-frame) 0%, var(--pxa-frame-2) 100%);
}
.pxa-name {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.pxa-tag {
  flex: none;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pxa-gold);
  border: 1px solid rgba(201, 164, 106, 0.45);
  border-radius: 6px;
  padding: 4px 8px;
}
.pxa-card:focus-visible {
  outline: 3px solid #8f1a63;
  outline-offset: 4px;
}

/* Karussell (von agency-carousel.js gebaut): Karten liegen auf einem großen Kreis */
.pxa-wheel {
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  height: var(--pxa-stage-h, 640px);
  padding: 0;
  cursor: grab;
  touch-action: pan-y;           /* senkrecht scrollen bleibt möglich */
}
.pxa-wheel.is-dragging { cursor: grabbing; }
.pxa-wheel .pxa-track { position: relative; }
.pxa-wheel .pxa-card {
  position: absolute;
  left: 0; top: 0;
  will-change: transform;
  transition: box-shadow 0.2s ease;
}
.pxa-wheel .pxa-card:hover { box-shadow: 0 22px 50px rgba(61, 47, 34, 0.32); }
/* weicher Rand unten, wie bei der Referenz */
.pxa-wheel::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 100%);
  pointer-events: none;
}

@media (max-width: 700px) {
  .pxa-fallback, .pxa-wheel { --pxa-card-w: 210px; --pxa-card-h: 285px; }
  .pxa-card { border-radius: 18px; padding: 6px 6px 0; }
  .pxa-card img { height: calc(100% - 44px); border-radius: 13px; }
  .pxa-meta { height: 44px; padding: 0 11px; }
  .pxa-name { font-size: 12px; }
  /* schmale Karten: Style-Tag sitzt als Etikett auf dem Foto, der Name bekommt die ganze Breite */
  .pxa-tag {
    position: absolute;
    right: 12px;
    bottom: 52px;
    font-size: 8.5px;
    padding: 3px 6px;
    background: rgba(61, 47, 34, 0.88);
  }
}

/* Agency-Seite, Handy: Die Kopfleiste war breiter als der Bildschirm (die ganze
   Seite ließ sich seitlich verschieben). Jetzt kompakter; passt sie trotzdem
   nicht, lässt sich nur die Leiste seitlich wischen. Okt. 2026 */
@media (max-width: 700px) {
  nav { gap: 18px !important; padding: 12px 16px !important; overflow-x: auto; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { flex: none; white-space: nowrap; }
  nav img { height: 44px !important; width: 44px !important; }
  nav a[href^="mailto"] { padding: 8px 14px !important; }
}
