/* =========================
   Partner Carousel (läuft überall, ohne Pause)
   - Keine Box, kein Rand
   - Seamless Scroll auch auf Mobile
========================= */

.pt-section {
  padding: 18px 0 12px;
}

.pt-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* KEINE Box */
.pt-marquee {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* keine Fades */
.pt-marquee::before,
.pt-marquee::after {
  display: none;
  content: "";
}

.pt-viewport {
  padding: 6px 0;
}

.pt-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  will-change: transform;
}

/* Items ohne Pill-Look */
.pt-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 52px;
  padding: 0 6px;

  background: transparent;
  border: none;
  border-radius: 0;

  text-decoration: none;
  color: inherit;
  transition: transform 160ms ease, opacity 160ms ease;
}

.pt-item:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* Logos: HTB-like */
.pt-logo {
  height: 28px;
  width: auto;
  max-width: 170px;
  display: block;
  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter 160ms ease, opacity 160ms ease;
}

.pt-item:hover .pt-logo {
  filter: grayscale(0%);
  opacity: 0.98;
}

/* Text fallback */
.pt-name {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

/* =========================
   Seamless Animation (immer, ohne Pause)
========================= */

.pt-marquee.pt-animate .pt-track {
  animation-name: pt-scroll;
  animation-duration: var(--pt-duration, 18s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;
}

@keyframes pt-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--pt-distance, 0px)));
  }
}

/* 0/1 Partner => statisch */
.pt-marquee.pt-static .pt-track {
  width: 100%;
  justify-content: center;
  animation: none !important;
  transform: none !important;
}

/* =========================
   Mobile Feinschliff
========================= */

@media (max-width: 720px) {
  .pt-container {
    width: min(1180px, calc(100% - 28px));
  }

  .pt-logo {
    height: 24px;
    max-width: 150px;
  }

  .pt-track {
    gap: 14px;
  }
}

/* Reduced motion respektieren */
@media (prefers-reduced-motion: reduce) {
  .pt-marquee.pt-animate .pt-track {
    animation: none;
    transform: none;
  }

  .pt-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pt-track {
    width: max-content;
    padding-right: 12px;
  }
}
