/* ============================================================
   SLIDER-PUNKTE UND ZÄHLER
   ============================================================ */

.start-offers__navigation {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
}

.start-offers__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
}

.start-offers__dot {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: #c9c9c9;
  cursor: pointer;
  transition:
    width 0.3s ease,
    background-color 0.3s ease,
    transform 0.2s ease;
}

.start-offers__dot:hover {
  background: #9e8651;
  transform: scale(1.15);
}

.start-offers__dot.is-active {
  width: 32px;
  background: #876d2e;
}

/*
 * Fortschrittsanzeige im aktiven Punkt.
 * Der Balken füllt sich während der automatischen Laufzeit.
 */
.start-offers__dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  background: #5f491b;
}

.start-offers__dot.is-active.is-running::after {
  animation: startOfferDotProgress 6s linear forwards;
}

@keyframes startOfferDotProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.start-offers__dot:focus-visible {
  outline: 3px solid rgba(135,109,46,0.28);
  outline-offset: 4px;
}

.start-offers__counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #5f6469;
  font-size: 14px;
  white-space: nowrap;
}

#startOffersCurrent {
  color: #876d2e;
  font-size: 18px;
  font-weight: 700;
}

.start-offers__counter-label {
  margin-left: 3px;
  color: #777c81;
  font-size: 13px;
}


/* ============================================================
   STARTSEITEN-ANGEBOTSSLIDER
   ============================================================ */

.start-offers {
  width: 100%;
  margin: 0;
  padding: 20px 0 48px;
  box-sizing: border-box;
}

/* Überschrift oberhalb des Sliders */
.start-offers__top {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto 10px;
}

.start-offers__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #876d2e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.start-offers__title {
  margin: 0;
  color: #1d252d;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

/* Slider */
.start-offers__viewport {
  width: 100%;
  overflow: hidden;
}

.start-offers__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.start-offers__track::-webkit-scrollbar {
  display: none;
}

/* Eine Karte pro Sliderseite */
.start-offer-card {
  position: relative;
  width: min(80vw, 1400px);
  min-height: 620px;
  margin: 0 auto;
  overflow: hidden;
  background: #222;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.start-offer-card__image-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.start-offer-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.start-offer-card:hover .start-offer-card__image {
  transform: scale(1.025);
}

/* Verlauf über dem Bild */
.start-offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.48) 0%,
      rgba(0,0,0,0.20) 52%,
      rgba(0,0,0,0.04) 100%
    );
}

/* Textbox direkt auf dem Bild */
.start-offer-card__content {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 64px));
  margin: 52px 0 52px 52px;
  padding: 30px 34px;
  box-sizing: border-box;
  background: rgba(235,235,235,0.90);
  box-shadow: 0 14px 40px rgba(0,0,0,0.22);
  backdrop-filter: blur(4px);
}

.start-offer-card__location {
  margin: 0 0 10px;
  color: #5f646a;
  font-size: 14px;
}

.start-offer-card__location span {
  margin-right: 5px;
  color: #876d2e;
}

.start-offer-card__name {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.08;
}

.start-offer-card__name a {
  color: #1d252d;
  text-decoration: none;
}

.start-offer-card__name a:hover {
  color: #876d2e;
}

.start-offer-card__stars {
  margin: 13px 0 0;
  color: #a8832d;
  font-size: 17px;
  letter-spacing: 3px;
}

.start-offer-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,0.12);
}

.start-offer-card__price {
  display: flex;
  flex-direction: column;
}

.start-offer-card__price-label,
.start-offer-card__price-person {
  color: #6e7277;
  font-size: 12px;
}

.start-offer-card__price strong {
  color: #1d252d;
  font-size: 36px;
  line-height: 1.05;
}

.start-offer-card__price-request {
  color: #1d252d;
  font-size: 18px;
  font-weight: 700;
}

.start-offer-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: #876d2e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.start-offer-card__cta:hover {
  background: #654f1f;
  color: #fff;
}

.start-offer-card__region {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 20px;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(255,255,255,0.88);
  color: #202020;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

/* Bereich unterhalb des Sliders */
.start-offers__below {
  width: min(1400px, calc(100% - 48px));
  margin: 24px auto 0;
}

.start-offers__intro {
  max-width: 760px;
  margin: 0;
  color: #5d6269;
  font-size: 16px;
  line-height: 1.6;
}

.start-offers__navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
}

.start-offers__controls {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.start-offers__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.start-offers__button:hover,
.start-offers__button:focus-visible {
  border-color: #876d2e;
  background: #876d2e;
  color: #fff;
}

.start-offers__button:disabled,
.start-offers__button--disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.start-offers__all-link {
  color: #755d24;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.start-offers__all-link:hover {
  text-decoration: underline;
}

/* Tablet */
@media (max-width: 1000px) {
  .start-offer-card {
    width: calc(100% - 40px);
    min-height: 560px;
  }

  .start-offer-card__content {
    margin: 38px 0 38px 38px;
  }
}

/* Smartphone */
@media (max-width: 700px) {
  .start-offers {
    padding: 38px 0 34px;
  }

  .start-offers__top,
  .start-offers__below {
    width: auto;
    margin-left: 16px;
    margin-right: 16px;
  }

  .start-offers__top {
    margin-bottom: 18px;
  }

  .start-offer-card {
    width: 100%;
    min-height: 560px;
  }

  .start-offer-card::after {
    background:
      linear-gradient(
        0deg,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.12) 70%
      );
  }

  .start-offer-card__content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    margin: 0;
    padding: 22px;
    background: rgba(238,238,238,0.93);
  }

  .start-offer-card__name {
    font-size: 30px;
  }

  .start-offer-card__bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .start-offer-card__cta {
    width: 100%;
    box-sizing: border-box;
  }

  .start-offer-card__region {
    top: 14px;
    right: 14px;
    bottom: auto;
  }

  .start-offers__below {
    margin-top: 20px;
  }

  .start-offers__intro {
    font-size: 14px;
  }

  .start-offers__navigation {
    align-items: flex-start;
   
    gap: 16px;
    margin-top: 15px;
  }

  /* Pfeile bleiben auf Mobilgeräten sichtbar */
  .start-offers__controls {
    display: flex;
  }
}

.start-offer-card__package {
  margin: 16px 0 0;
  color: #30363c;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .start-offer-card__package {
    margin-top: 12px;
    font-size: 16px;
  }
  
    .start-offers__navigation {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
  }

  .start-offers__controls {
    grid-column: 1;
    grid-row: 1;
  }

  .start-offers__counter {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .start-offers__dots {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
  }

  .start-offers__dot {
    width: 8px;
    height: 8px;
  }

  .start-offers__dot.is-active {
    width: 28px;
  }

  .start-offers__counter-label {
    display: none;
  }
  
}

.start-offer-card__location a,
.start-offer-card__location a:visited {
  color: #876d2e;
  font-weight: 600;
  text-decoration: none;
}

.start-offer-card__location a:hover {
  color: #a8863d;
  text-decoration: underline;
}
