.hp {
  background: var(--vierlot-bg);
  padding: 60px 0;
  font-family: var(--vierlot-font);
}
.hp__track-wrap {
  position: relative;
  overflow: hidden;
}
.hp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.hp__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: 0;
  padding: 0;
}
.hp__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--vierlot-line);
}
.hp__img,
.hp__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hp__card:hover .hp__img,
.hp__card:hover .hp__media img {
  transform: scale(1.03);
}
.hp__title {
  font-family: var(--vierlot-font);
  font-size: 18px;
  font-weight: 500;
  color: var(--vierlot-text);
  margin: 0 0 8px;
  line-height: 1.4;
  max-width: 280px;
}
.hp__text {
  font-family: var(--vierlot-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--vierlot-text-light);
  line-height: 1.5;
  margin: 0;
  max-width: 320px;
}
.hp__more {
  font-family: var(--vierlot-font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--vierlot-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 14px;
  transition: color 0.2s ease;
}
.hp__more:hover,
.hp a.hp__more:hover {
  color: var(--vierlot-text);
}

.hp__controls {
  display: none;
}

@media (max-width: 768px) {
  .hp {
    padding: 40px 0;
  }
  .hp__grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 0 8px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .hp__grid::-webkit-scrollbar {
    display: none;
  }
  .hp__card {
    flex: 0 0 80vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
  .hp__media {
    margin-bottom: 18px;
  }
  .hp__title,
  .hp__text {
    max-width: none;
  }

  .hp__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }
  .hp__arrow {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    color: var(--vierlot-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .hp__arrow:disabled,
  .hp__arrow.is-disabled {
    color: var(--vierlot-disabled);
    cursor: not-allowed;
  }
  .hp__dots {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .hp__dot {
    width: 8px;
    height: 8px;
    background: var(--vierlot-disabled);
    border: 0;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.2s ease;
  }
  .hp__dot.is-active {
    background: var(--vierlot-text);
  }
}
