/* ==========================================================================
   PAKET PAGE STYLES
   ========================================================================== */

/* Paket Page Header */
.paket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.paket-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-black);
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.paket-header__back:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.paket-header--simple {
  justify-content: center;
}

.paket-header__spacer {
  width: 40px;
  flex-shrink: 0;
}

.paket-header__logo {
  height: 40px;
  width: auto;
  display: block;
}

/* Paket Main Layout */
.paket-main {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: start;
}

.paket-main__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Paket Hero Card */
.paket-hero {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
}

.paket-hero__badge {
  position: absolute;
  top: -16px;
  left: 32px;
  color: var(--color-white);
  border-radius: 10px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 10;
  background: linear-gradient(var(--color-button), var(--color-button)) padding-box, linear-gradient(180deg, var(--color-lila) 0%, var(--color-orange) 100%) border-box;
  border: 3px solid transparent;
}

.paket-hero h1 {
  font-size: var(--size-h3);
  font-weight: 700;
  margin-bottom: 12px;
}

.paket-desc {
  font-size: var(--size-p);
  color: var(--color-text-grey);
  line-height: 1.3;
  margin-bottom: 32px;
  max-width: 540px;
}

/* Feature list with icons */
.paket-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.paket-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.paket-feature__icon {
  width: 36px;
  height: 36px;
  background: var(--color-bg-light);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-black);
}

.paket-feature__icon svg {
  stroke: var(--color-black);
  width: 18px;
  height: 18px;
}

.paket-feature__text strong {
  display: block;
  font-size: var(--size-p-small);
  font-weight: 600;
  margin-bottom: -2px;
}

.paket-feature__text span {
  font-size: 12px;
  color: var(--color-text-grey);
}

/* Image slider */
.paket-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.paket-slider__track-wrap {
  overflow: hidden;
  border-radius: 12px;
  flex: 1;
}

.paket-slider__track {
  display: flex;
  gap: 12px;
  transition: transform 0.4s ease;
}

.paket-slider__item {
  flex: 0 0 calc(33.333% - 8px);
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 12px;
}

.paket-slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.paket-slider__item img:hover {
  transform: scale(1.05);
}

.paket-slider__prev,
.paket-slider__next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
  color: var(--color-black);
}

.paket-slider__prev svg,
.paket-slider__next svg {
  width: 16px;
  height: 16px;
}

.paket-slider__prev:hover,
.paket-slider__next:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.paket-slider__prev:disabled,
.paket-slider__next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Sticky booking card */
.paket-main__right {
  position: sticky;
  top: 88px;
}

.paket-booking-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.paket-booking-card__price {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.paket-booking-card__price-amount {
  font-size: var(--size-h3);
  font-weight: 700;
  line-height: 1;
}

.paket-booking-card__price-unit {
  font-size: var(--size-p-small);
  color: var(--color-text-grey);
  margin-top: 4px;
}

.paket-booking-card__price-old {
  font-size: var(--size-p-large);
  font-weight: 700;
  color: #E53535;
  text-decoration: line-through;
}

.paket-booking-card__savings {
  margin-top: 8px;
  font-size: var(--size-p-small);
  font-weight: 600;
  background: linear-gradient(90deg, var(--color-lila), var(--color-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.paket-price--gradient {
  background: linear-gradient(90deg, var(--color-lila), var(--color-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.paket-booking-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.paket-booking-card__feature {
  font-size: var(--size-p);
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 8px;
}

.paket-booking-card__feature::before {
  content: '\2713';
  font-weight: 700;
  flex-shrink: 0;
}

.paket-booking-card .btn {
  width: 100%;
  text-align: center;
  display: block;
  margin-bottom: 16px;
}

.paket-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.paket-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: var(--color-bg-light);
  border-radius: 10px;
  padding: 12px 0px;
  font-size: 12px;
  color: var(--color-black);
  line-height: 1.4;
}

.paket-trust-item::before {
  display: none;
}

.paket-trust-item svg {
  color: var(--color-black);
  flex-shrink: 0;
}

/* Booking embed section */
.paket-booking {
  padding: 0 0 80px 0;
  background: transparent;
}

.paket-booking__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.paket-booking__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 48px;
}

.paket-booking__card h2 {
  margin-bottom: 5px;
  font-size: var(--size-h3);

}

.paket-booking__card p {
  color: var(--color-text-grey);
  font-size: var(--size-p);
  margin-bottom: 20px;
}

.paket-booking__placeholder {
  background: var(--color-bg-light);
  border: 2px dashed var(--color-border);
  border-radius: 12px;
  padding: 80px 40px;
  text-align: center;
  color: var(--color-text-grey);
  font-size: var(--size-p);
}

@media (max-width:768px) {
  .paket-booking__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 0px;
  }

  .paket-booking__title {
    padding: 20px 20px 0px 20px;
    margin-bottom: -20px;
  }
}

/* --------------------------------------------------------------------------
   Zusatzleistungen
   -------------------------------------------------------------------------- */
.paket-zusatz {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 25px;
}

.paket-zusatz__header {
  margin-bottom: 24px;
}

.paket-zusatz__header h3 {
  margin-bottom: 8px;
  font-size: var(--size-h5);
}

.paket-zusatz__header p {
  color: var(--color-black);
  font-size: var(--size-p);
  font-weight: 500;
}

.paket-zusatz__table-wrap {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var( --color-bg-very-light);
}

.paket-zusatz__table {
  width: 100%;
  border-collapse: collapse;
}

.paket-zusatz__table th {
  padding: 16px 24px;
  text-align: left;
  font-size: var(--size-p);
  font-weight: 600;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-border);
}

.paket-zusatz__table td {
  padding: 20px 24px;
  font-size: var(--size-p);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.paket-zusatz__table tbody tr:last-child td {
  border-bottom: none;
}

.paket-zusatz__table td small {
  display: block;
  font-size: var(--size-p-small);
  color: var(--color-text-grey);
  margin-top: 4px;
}

.paket-zusatz__plus {
  font-weight: 700;
  margin-right: 8px;
  color: var(--color-black);
}

.zusatz__save {
  color: #42ba48;
  font-size: 13px;
  margin-left: 4px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Nutzungsrechte Info Box
   -------------------------------------------------------------------------- */
.paket-nutzung {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFF8F8;
  border: 1px solid #FFD0D0;
  border-radius: 10px;
  padding: 16px;
  margin-top: 24px;
  font-size: var(--size-p-small);
  color: var(--color-text-grey);
  line-height: 1.6;
}

.paket-nutzung--allowed {
  background: #F8FFF8;
  border-color: #C3E6C3;
}

.paket-nutzung__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #E53535;
}

.paket-nutzung--allowed .paket-nutzung__icon {
  color: #2E7D32;
}

.paket-nutzung__text strong {
  display: block;
  color: var(--color-black);
  margin-bottom: 4px;
}

.paket-nutzung__text a {
  color: var(--color-lila);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .paket-main {
    grid-template-columns: 1fr;
    margin: 30px auto;
    gap: 24px;
  }

  .paket-main__right {
    position: static;
    order: -1;
  }

  .paket-hero {
    padding: 24px;
  }

  .paket-slider__item {
    flex: 0 0 100%;
  }

  .paket-zusatz {
    padding: 24px;
  }

  .paket-zusatz__table-wrap {
    border: none;
    overflow: visible;
  }

  .paket-zusatz__table,
  .paket-zusatz__table tbody,
  .paket-zusatz__table tr {
    display: block;
    width: 100%;
  }

  .paket-zusatz__table thead {
    display: none;
  }

  .paket-zusatz__table tbody tr {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .paket-zusatz__table td {
    padding: 0;
    border: none;
    font-size: var(--size-p);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .paket-zusatz__table td:first-child {
    font-weight: 600;
    flex-direction: column;
    align-items: flex-start;
  }

  .paket-zusatz__table td:nth-child(2)::before {
    content: 'Buchungsseite:';
    font-size: var(--size-p-small);
    color: var(--color-text-grey);
    font-weight: 400;
  }

  .paket-zusatz__table td:nth-child(3)::before {
    content: 'Vor Ort:';
    font-size: var(--size-p-small);
    color: var(--color-text-grey);
    font-weight: 400;
  }

  .paket-zusatz__table td:nth-child(2),
  .paket-zusatz__table td:nth-child(3) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .paket-zusatz__save {
    margin-left: 8px;
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   Upsell Card
   -------------------------------------------------------------------------- */
.upsell-card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 16px 18px;
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(135deg, var(--color-lila), var(--color-orange)) border-box;
  border: 2px solid transparent;
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

@keyframes upsellBreath {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.upsell-card.visible {
  opacity: 1;
  animation: upsellBreath 2s ease-in-out infinite;
}

.upsell-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.upsell-card__badge {
  background: linear-gradient(135deg, var(--color-lila), var(--color-orange));
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.upsell-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black);
}

.upsell-card__text {
  font-size: 12px;
  color: var(--color-text-grey);
  line-height: 1.5;
  margin-bottom: 12px;
}

.upsell-card__text strong {
  color: var(--color-black);
}

.upsell-card__btn {
  width: 100%;
  background: linear-gradient(135deg, var(--color-lila), var(--color-orange));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s ease;
}

.upsell-card__btn:hover {
  opacity: 0.85;
}
