/* Sparten section – rotation and grid layout */
.psv-sparten {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.psv-sparten__slot {
  flex: 1;
  max-width: 300px;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.psv-sparten__track {
  display: flex;
  flex-direction: column;
  transition: transform var(--sparten-transition, 0.6s ease);
}

.psv-sparten__track .psv-card--sport {
  min-height: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.psv-sparten__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 0.75rem;
}

.psv-sparten__icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-accent-green);
  transition: transform 0.3s ease;
}

.psv-card--sport:hover .psv-sparten__icon svg {
  transform: scale(1.1);
}

/* Mobile: hide slots, show static grid */
.psv-sparten__grid-mobile {
  display: none;
}

@media (max-width: 575px) {
  .psv-sparten__slot {
    display: none;
  }
  .psv-sparten__grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
  }
  .psv-sparten__grid-mobile .psv-card--sport {
    min-height: auto;
    padding: 1rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .psv-sparten__grid-mobile .psv-sparten__icon {
    width: 48px;
    height: 48px;
  }
  .psv-sparten {
    display: block;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .psv-sparten__slot:nth-child(3) {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .psv-sparten__track {
    transition: none;
  }
}
