/* =====================================================================
   EGON HOTEL · Gutschein-Seite (gutscheine.html, en/, da/)
   15.10.2026 · baut auf style.css auf (Farben, Schriften, .deal-tag,
   .section-head, .final-cta). Alles hier ist mit gs- vorangestellt und
   wirkt nur auf den Gutschein-Seiten.
   ===================================================================== */

/* ---------- Gutschein-Arten ---------- */
.gs-types { background: var(--c-cream); }
.gs-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  max-width: 560px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .gs-types-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
}
.gs-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.gs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-accent); }
.gs-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-sand);
  border-bottom: 1px solid var(--c-line);
}
/* Breiten statt max-height: Langformat (2,1:1) und Drinkkarte (1,5:1) wirken so gleich groß */
.gs-stage img {
  display: block;
  width: 84%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(18, 60, 104, 0.12), 0 10px 24px rgba(18, 60, 104, 0.18);
  transform: rotate(-1.6deg);
  transition: transform var(--dur-slow) var(--ease-out);
}
.gs-stage-drink img { width: 64%; }
.gs-card:hover .gs-stage img { transform: rotate(0deg) scale(1.02); }
.gs-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  padding: var(--s-3) var(--s-3) var(--s-4);
}
.gs-card-body h3 {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  color: var(--c-primary);
  margin: 2px 0 0;
}
.gs-card-body p { font-size: 0.95rem; line-height: 1.55; margin: 0; }
.gs-card-body p strong { color: var(--c-primary); }
.gs-card-meta {
  margin-top: auto !important;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  font-size: 0.82rem !important;
  color: var(--c-ink-soft);
}

/* ---------- Bestellen: drei Wege ---------- */
.gs-order { background: var(--c-white); }
.gs-ways {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
@media (min-width: 820px) { .gs-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gs-way {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--s-4) var(--s-3);
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.gs-way-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-accent);
  margin-bottom: 4px;
}
.gs-way-icon svg { width: 22px; height: 22px; }
.gs-way h3 { font-size: 1.45rem; color: var(--c-primary); margin: 0; }
.gs-way p { font-size: 0.95rem; line-height: 1.55; margin: 0; }
.gs-way-how {
  font-size: 0.85rem !important;
  color: var(--c-primary) !important;
  font-weight: 600;
}
.gs-way-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.gs-way-link:hover { color: var(--c-primary-dark); text-decoration-color: var(--c-primary-dark); }
.gs-order-note {
  max-width: 720px;
  margin: var(--s-4) auto 0;
  text-align: center;
  font-size: 0.95rem;
}
@media (max-width: 600px) { .gs-order-note { text-align: left; margin-left: 0; } }

/* ---------- Zwei Formate: PDF per Mail / Karte im Kuvert ---------- */
.gs-formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
@media (min-width: 820px) { .gs-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gs-format {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gs-format .gs-stage { aspect-ratio: auto; height: 320px; }
.gs-format .gs-stage-a4 img { width: auto; height: 82%; transform: rotate(1.4deg); }
.gs-format:hover .gs-stage-a4 img { transform: rotate(0deg); }
/* 12.11.2026: Stapel aus A4, Gutscheinkarte und Drinkkarte (freigestellt, Schatten im Bild).
   Die Karten verdecken die Felder des A4-Blatts, damit niemand den Gutschein nachmachen kann. */
.gs-format .gs-stage-stapel img { height: 92%; border-radius: 0; box-shadow: none; transform: none; }
.gs-format:hover .gs-stage-stapel img { transform: scale(1.02); }
/* Karte im Kuvert: Rückseite schräg hinter der Vorderseite */
.gs-stage-stack img { position: absolute; width: 74%; max-height: none; }
.gs-stage-stack img:first-child { top: 16%; right: 7%; transform: rotate(3deg); }
.gs-stage-stack img:last-child { bottom: 16%; left: 7%; transform: rotate(-2.4deg); }
.gs-format:hover .gs-stage-stack img:first-child { transform: rotate(4deg) translate(6px, -4px); }
.gs-format:hover .gs-stage-stack img:last-child { transform: rotate(-3deg) translate(-6px, 4px); }
.gs-format-body { padding: var(--s-3) var(--s-3) var(--s-4); }
.gs-format-body h3 { font-size: 1.45rem; color: var(--c-primary); margin: 6px 0 8px; }
.gs-format-body p { font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* ---------- Einlösen + Bedingungen ---------- */
.gs-redeem { background: var(--c-cream); }
.gs-redeem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: start;
}
@media (min-width: 900px) { .gs-redeem-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s-5); } }
.gs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.gs-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.gs-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-accent);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.35rem;
}
.gs-step h3 { font-size: 1.3rem; color: var(--c-primary); margin: 8px 0 6px; }
.gs-step p { font-size: 0.95rem; line-height: 1.55; margin: 0; }
.gs-step p a { color: var(--c-primary); font-weight: 600; }
.gs-terms {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-accent);
  border-radius: var(--radius-lg);
  padding: var(--s-4) var(--s-3);
}
.gs-terms h3 { font-size: 1.45rem; color: var(--c-primary); margin: 0 0 14px; }
.gs-terms ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gs-terms li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--c-ink-soft);
}
.gs-terms li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--c-primary); }
.gs-terms-foot { margin-top: 16px !important; font-size: 0.85rem !important; }
.gs-terms-foot a { color: var(--c-primary); font-weight: 600; }

/* Final-CTA: Unterzeile wie auf den anderen Seiten, nur ohne Kartenraster */
.gs-cta .final-cta-buttons { margin-top: var(--s-4); }
