/* /gutscheine page-specific layout */

/* Simplified nav — same look as /booking. Rules live here (not in
   global styles.css) so the booking flow keeps owning its own CSS. */
.nav--booking .nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
}

.nav--booking {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.nav__booking-title {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.gutscheine-body {
  margin: 0;
  background: var(--bg-deep, #faf8f5);
  color: var(--text-primary, #1a1a1a);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.gutscheine {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem) 3rem;
  box-sizing: border-box;
}

.gutscheine__intro {
  text-align: center;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  max-width: 60ch;
}

.gutscheine__title {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0.6rem 0 0.8rem;
}

.gutscheine__title em {
  font-style: italic;
  color: var(--gold, #5a4a38);
}

.gutscheine__sub {
  color: var(--text-secondary, #2e2b28);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.5;
  margin: 0;
}

.gutscheine__fallback {
  font-size: 0.9rem;
  color: var(--text-muted, #4a4540);
  text-align: center;
  margin: 0 0 1rem;
}

.gutscheine__fallback--soft {
  font-size: 0.85rem;
  opacity: 0.85;
}

.gutscheine__fallback a {
  color: var(--accent-600, #5c1826);
  text-decoration: underline;
}

.gutscheine__frame {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(30, 12, 16, 0.06);
  /* Phorest content height varies by step; pick a height tall enough
     for the longest step (the gift-mode form) on each breakpoint. */
  min-height: 1100px;
}

@media (max-width: 768px) {
  .gutscheine__frame {
    min-height: 1400px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .gutscheine__frame {
    min-height: 1500px;
  }
}

/* Footer — reuses look of the legal pages' top bar but lives at the bottom. */
.legal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1rem;
  background: var(--bg-dark, #f3f0eb);
}

.legal-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
}

.legal-footer__inner a {
  color: var(--text-muted, #4a4540);
  text-decoration: none;
}

.legal-footer__inner a:hover {
  color: var(--gold, #5a4a38);
}
