/* Voucher Landing Page Styles
 * Scoped classes to avoid conflicts with global stylesheet
 */

.mobile-cta-bar {
  display: none;
}

@media (max-width: 992px) {
  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  }

  .mobile-cta-bar:hover {
    opacity: 0.95;
  }
}

.voucher-hero {
  position: relative;
  padding: 170px 0 140px;
  color: #ffffff;
  background: var(--primary);
  background-image: url('../images/landing-pfronten2.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.voucher-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0, 60, 120, 0.75), rgba(0, 86, 179, 0.82)),
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.18), transparent 55%);
  mix-blend-mode: normal;
}

.voucher-hero__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  position: relative;
  z-index: 1;
}

.voucher-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.voucher-hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.voucher-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.voucher-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.voucher-hero .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.voucher-hero .btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary);
}

.voucher-hero__list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
}

.voucher-hero__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.voucher-hero__list span {
  font-size: 1.1rem;
  color: #a7ffb3;
}

.voucher-hero__social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  opacity: 0.9;
}

.voucher-hero__media {
  display: grid;
  gap: 24px;
}

.voucher-hero__card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 22px 60px rgba(10, 47, 89, 0.32);
}

.voucher-hero__card p {
  color: var(--text-dark);
}

.voucher-review__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.voucher-review__summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.voucher-review__stars {
  font-size: 1.6rem;
  letter-spacing: 6px;
  background: linear-gradient(90deg, #ffb347 0%, #ffd166 100%);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 700;
}

.voucher-review__score {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-location-badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;

  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 8px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.voucher-review__quote {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 22px;
  line-height: 1.6;
}

.voucher-hero__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.voucher-hero__author img {
  border-radius: 50%;
  border: 3px solid rgba(0, 85, 170, 0.2);
}

.voucher-hero__author strong {
  display: block;
}

.voucher-hero__author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.voucher-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.voucher-hero__stats div {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-dark);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.voucher-hero__stats strong {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
}

.voucher-badges {
  background: var(--bg-light);
}

.voucher-badges__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.voucher-badge-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.voucher-badge-card h3 {
  margin-top: 18px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.voucher-benefits__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
}

.voucher-benefits__content ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.voucher-benefits__content li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.voucher-benefits__content span {
  color: var(--primary);
}

.voucher-benefits__panel {
  background: var(--bg-light);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.voucher-benefits__panel h3 {
  margin-bottom: 16px;
}

.voucher-benefits__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.voucher-benefits__tags span {
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.voucher-benefits__meta {
  display: grid;
  gap: 18px;
}

.voucher-benefits__meta strong {
  font-size: 1.8rem;
  color: var(--primary);
  display: block;
}

.voucher-seasonal {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(140deg, #05284f, #0f4f82);
  color: #ffffff;
  overflow: hidden;
}

.voucher-seasonal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.12), transparent 60%);
}

.voucher-seasonal .container {
  position: relative;
  z-index: 1;
}

.voucher-seasonal__content {
  max-width: 760px;
}

.voucher-seasonal h2,
.voucher-seasonal p,
.voucher-seasonal strong,
.voucher-seasonal span {
  color: #ffffff;
}

.voucher-seasonal p {
  opacity: 0.92;
}

.voucher-seasonal__points {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0;
}

.voucher-seasonal__points div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(10px);
}

.voucher-seasonal__points strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
}

.voucher-steps__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voucher-step {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.voucher-step__number {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.voucher-includes {
  background: var(--bg-light);
}

.voucher-includes__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.voucher-include-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.voucher-include-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.voucher-testimonials__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voucher-testimonial {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.voucher-testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.voucher-testimonial__author img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.voucher-testimonial__author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.voucher-widget {
  background: #f5f8ff;
}

.voucher-widget__grid {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  align-items: start;
}

.voucher-widget__content ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}

.voucher-widget__content li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
}

.voucher-widget__contact {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.voucher-widget__frame iframe {
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.voucher-faq {
  background: var(--bg-light);
}

.voucher-faq__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voucher-faq__item {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.voucher-cta {
  position: relative;
  background: linear-gradient(120deg, #0a315a, #0f4f82);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.voucher-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.15), transparent 55%);
}

.voucher-cta .container {
  position: relative;
  z-index: 1;
}

.voucher-cta h2,
.voucher-cta p {
  color: #ffffff;
}

.voucher-cta p {
  max-width: 720px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.92);
}

.voucher-cta__actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.voucher-cta .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.voucher-cta .btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary);
}

@media (max-width: 1200px) {
  .voucher-hero h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 992px) {

  .voucher-hero__grid,
  .voucher-badges__grid,
  .voucher-benefits__grid,
  .voucher-seasonal__points,
  .voucher-steps__grid,
  .voucher-includes__grid,
  .voucher-testimonials__grid,
  .voucher-widget__grid,
  .voucher-faq__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voucher-hero {
    padding-top: 140px;
  }

  .voucher-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Header nav: keep items on one line; show CTA + 1 link */
  .header .nav ul {
    display: flex;
    gap: 18px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 6px;
    /* room for scroll bar on Android */
    margin: 0;
  }

  .header .nav a {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .btn-primary-nav {
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
  }

  /* Hide most links on mobile, keep one + CTA */
  .header .nav li.nav-link {
    display: none;
  }

  .header .nav li.nav-link.keep-mobile {
    display: inline-flex;
  }
}

@media (max-width: 768px) {

  .voucher-hero__grid,
  .voucher-badges__grid,
  .voucher-benefits__grid,
  .voucher-seasonal__points,
  .voucher-steps__grid,
  .voucher-includes__grid,
  .voucher-testimonials__grid,
  .voucher-widget__grid,
  .voucher-faq__grid {
    grid-template-columns: 1fr;
  }

  .voucher-hero {
    /* Safe top space for fixed header + iOS notch */
    padding: calc(120px + env(safe-area-inset-top, 0px)) 0 84px;
  }

  .voucher-hero__cta {
    flex-direction: column;
    gap: 12px;
  }

  .voucher-hero__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .voucher-hero__card {
    margin-top: 8px;
  }

  .voucher-review__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .voucher-review__stars {
    font-size: 1.3rem;
    letter-spacing: 4px;
  }

  .voucher-review__quote {
    font-size: 1rem;
  }

  .voucher-benefits__panel,
  .voucher-hero__card,
  .voucher-step,
  .voucher-include-card,
  .voucher-testimonial,
  .voucher-faq__item {
    padding: 24px;
  }

  .voucher-seasonal__points {
    gap: 16px;
  }

  .voucher-widget__frame iframe {
    height: 860px;
  }
}