/* /gutscheine — Landingpage-Chrome + Kauf-Interaktion */

.gift-page main {
  min-height: 50vh;
}

/* ---------- Hero ---------- */
.gift-hero {
  width: 100%;
  padding: 3.25rem 0 3.5rem;
  background: var(--cream);
  text-align: center;
}

.gift-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.gift-hero h1 {
  max-width: 16em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue);
}

.gift-hero__sub {
  max-width: 768px;
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.5;
  color: var(--text-muted);
}

.gift-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.gift-page .btn--cta {
  min-height: 3.5rem;
  padding: 1rem 1.85rem;
  font-size: 1.15rem;
  box-shadow: 0 8px 22px rgba(247, 193, 51, 0.4);
}

.gift-hero__figure {
  margin: 0.5rem 0 0;
  width: min(100%, 42rem);
}

.gift-hero__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* ---------- Sections ---------- */
/* Rhythm: cream → soft (#eee5de) → cream → white (buy) → soft → cream */
.gift-section {
  padding: 3rem 0;
  background: var(--cream);
}

.gift-section--soft {
  background: #eee5de;
}

.gift-section--buy {
  background: #fff;
  border-top: 1px solid rgba(20, 74, 127, 0.1);
  border-bottom: 1px solid rgba(20, 74, 127, 0.1);
}

.gift-section__head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.gift-section__head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
}

.gift-section__head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Why / points + phone ---------- */
.gift-why {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .gift-why {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
  }
}

.gift-why__copy {
  min-width: 0;
}

.gift-section__head--left {
  margin: 0 0 1.75rem;
  text-align: left;
  max-width: none;
}

.gift-points {
  display: grid;
  gap: 1.35rem;
  margin: 0;
  list-style: none;
  padding: 0;
}

.gift-points li {
  text-align: left;
}

.gift-points h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--blue);
}

.gift-points p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.gift-why__media {
  margin: 0;
  display: flex;
  justify-content: center;
}

.gift-why__phone {
  width: min(100%, 17.5rem);
  border-radius: 1.75rem;
  overflow: hidden;
}

.gift-why__phone picture,
.gift-why__phone img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Buy / products ---------- */
.gift-buy {
  max-width: 52rem;
  margin: 0 auto;
}

.gift-success-page {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.gift-success-page .container {
  width: 100%;
  max-width: 36rem;
}

.gift-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius, 1rem);
  padding: 1.5rem 1.75rem;
  margin: 0 auto;
  text-align: center;
}

.gift-success h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--blue);
}

.gift-success h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue);
}

.gift-success p {
  margin: 0 0 0.65rem;
  color: var(--text);
}

.gift-success a {
  color: var(--blue);
  font-weight: 600;
}

.gift-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.75rem;
}

@media (min-width: 720px) {
  .gift-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gift-card {
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #d9dde3;
  border-radius: var(--radius, 1rem);
  padding: 1.25rem 1.15rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  min-height: 44px;
  font: inherit;
  color: inherit;
  width: 100%;
}

.gift-card:hover,
.gift-card:focus-visible {
  border-color: var(--blue);
  outline: none;
}

.gift-card.is-selected {
  border-color: var(--blue);
  background: #f3f7fb;
  box-shadow: 0 0 0 3px rgba(20, 74, 127, 0.12);
}

/* ---------- Steps (1 auswählen · 2 Angaben · 3 Bezahlen) ---------- */
.gift-stepnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.gift-stepnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.gift-stepnav a:hover,
.gift-stepnav a:focus-visible {
  text-decoration: underline;
}

.gift-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.gift-step-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--blue);
  scroll-margin-top: 6rem;
}

.gift-form > .gift-step-title {
  margin: 0.75rem 0 0;
}

.gift-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid #d9dde3;
  border-radius: var(--radius, 1rem);
  background: #fff;
}

.gift-panel .gift-step-title {
  margin: 0;
}

.gift-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--blue);
}

.gift-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.gift-card .gift-card__price {
  margin-top: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.gift-card .gift-card__price-note {
  margin-top: 0.15rem;
  font-size: 0.85rem;
}

.gift-card__features {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(20, 74, 127, 0.12);
  display: grid;
  gap: 0.35rem;
}

.gift-card__features li {
  display: flex;
  gap: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text);
}

.gift-card__features li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
}

.gift-hint {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gift-hint--ok {
  color: #047857;
  font-weight: 600;
}

.gift-hint--err {
  color: #b91c1c;
  font-weight: 600;
}

.gift-discount {
  margin-top: 0.6rem;
}

.gift-discount summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  list-style: none;
}

.gift-discount summary::-webkit-details-marker {
  display: none;
}

.gift-discount[open] summary {
  text-decoration: none;
}

.gift-discount__body {
  display: grid;
  gap: 0.35rem;
}

.gift-form .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gift-discount__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: stretch;
}

.gift-discount__row .btn {
  width: auto;
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.gift-summary__row[hidden] {
  display: none !important;
}

.gift-summary__row--discount strong {
  color: #047857;
}

.gift-summary__row--total {
  margin-top: 0.25rem !important;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(20, 74, 127, 0.12);
  font-size: 1.05rem;
}

.gift-summary {
  border: 2px solid var(--blue);
  border-radius: var(--radius, 1rem);
  padding: 0.9rem 1rem;
  background: #fff;
}

.gift-summary p {
  margin: 0;
}

.gift-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text);
}

.gift-summary__meta {
  margin-top: 0.35rem !important;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gift-steps__cta {
  margin: 2rem 0 0;
  text-align: center;
}

/* FAQ — same accordion pattern as Startseite */
.gift-faq.faq-inner {
  max-width: 700px;
  margin: 0 auto;
}

.gift-page .faq-item {
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.gift-page .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: var(--blue);
  color: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-align: left;
  gap: 1rem;
}

.gift-page .faq-question:hover {
  background: var(--blue-dark);
}

.gift-page .faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.gift-page .faq-question.open .faq-chevron {
  transform: rotate(180deg);
}

.gift-page .faq-answer {
  background: var(--white);
  padding: 0 1.4rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
}

.gift-page .faq-answer.open {
  max-height: 600px;
  padding: 1.1rem 1.4rem;
}

.gift-page .faq-answer p {
  margin: 0;
}

.gift-page .faq-answer a {
  color: var(--blue);
  font-weight: 600;
}

.gift-hero .gift-note a {
  color: var(--blue);
  font-weight: 600;
}

.gift-note--legal a {
  color: var(--blue);
  text-decoration: underline;
}

.gift-form {
  display: grid;
  gap: 0.85rem;
  max-width: 30rem;
  margin: 0 auto;
}

.gift-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.gift-form input,
.gift-form select {
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(20, 74, 127, 0.22);
  border-radius: 0.65rem;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  font-family: inherit;
}

.gift-form input:focus,
.gift-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 74, 127, 0.12);
}

.gift-form-row {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 480px) {
  .gift-form-row--2 {
    grid-template-columns: 1fr 2fr;
  }
}

.gift-fieldset {
  border: 0;
  padding: 0;
  margin: 0.35rem 0 0;
  min-width: 0;
}

.gift-fieldset > * + * {
  margin-top: 0.85rem;
}

.gift-fieldset legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.gift-fieldset legend::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d9dde3;
}

.gift-fieldset legend + * {
  clear: both;
  margin-top: 0;
}

.gift-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.gift-error {
  color: #b91c1c;
  margin: 0;
  font-size: 0.95rem;
}

.gift-agree {
  text-align: left;
}

.gift-agree__label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
}

.gift-agree__label input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.gift-agree__label a {
  color: var(--blue);
  text-decoration: underline;
}

.gift-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.gift-note--legal {
  text-align: left;
}

.gift-form > .gift-note--legal {
  margin-top: -0.35rem;
}

.gift-form .btn {
  width: 100%;
  min-height: 48px;
  font-size: 1.05rem;
}

.gift-form > #fg-gift-submit {
  margin-bottom: 3rem;
}

#fg-gift-embedded-wrap {
  margin-top: 1.75rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

#fg-gift-embedded {
  min-height: 420px;
}

/* ---------- How it works ---------- */
.gift-steps {
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  counter-reset: gift-step;
  list-style: none;
  padding: 0;
}

@media (min-width: 720px) {
  .gift-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gift-steps li {
  counter-increment: gift-step;
  text-align: center;
  position: relative;
  padding-top: 0.25rem;
}

.gift-steps li::before {
  content: counter(gift-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.gift-steps h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--blue);
}

.gift-steps p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- Media ---------- */
.gift-media {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.gift-media p {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.gift-media a {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- Footer (same chrome as presse / gutschein) ---------- */
.gift-page footer {
  background: var(--cream);
  border-top: 2px solid var(--blue);
  padding: 2.5rem 1.5rem;
  margin-top: 0;
}

.gift-page .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: max-content repeat(3, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 2rem;
  align-items: start;
}

.gift-page .footer-brand {
  text-align: left;
  min-width: max-content;
}

.gift-page .footer-logo a {
  display: inline-flex;
  text-decoration: none;
}

.gift-page .footer-logo img {
  display: block;
  width: 199px;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.gift-page .footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
  margin-top: 0.5rem;
  white-space: nowrap;
}

.gift-page .footer-col h4 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 1rem;
}

.gift-page .footer-brand .footer-social-heading,
.gift-page .footer-col .footer-social-heading {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  margin: 1.25rem 0 0.75rem;
}

.gift-page .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gift-page .footer-col li {
  margin-bottom: 0.5rem;
}

.gift-page .footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.gift-page .footer-col a:hover {
  color: var(--blue);
}

.gift-page .footer-apps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.gift-page .footer-apps a {
  display: inline-flex;
}

.gift-page .footer-apps img {
  display: block;
  width: 12rem;
  max-width: 100%;
  height: auto;
}

.gift-page .footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue);
  text-decoration: none;
}

.gift-page .footer-instagram:hover {
  opacity: 0.85;
}

.gift-page .footer-instagram-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue);
}

@media (max-width: 900px) {
  .gift-page .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .gift-hero {
    padding: 2.5rem 0 2.75rem;
  }

  .gift-page .footer-inner {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .gift-page .footer-tagline {
    white-space: normal;
  }
}
