/* Gutscheinshop – kleine Zusatzstyles (nur Layout), basiert auf design-system.css */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* WordPress-Iframe (?embed=1): Hintergrund + weniger Außenabstand */
html,
body.gs-embed.ds-page {
  background: var(--gs-bg, #0A1233);
}

body.gs-embed .ds-page__inner {
  padding-top: 0.75rem;
  padding-bottom: 2rem;
}

/* Helle Karten/Flächen: dunkle Schrift, kein helles Grau auf Pastell/Weiß */
body.gs-embed .ds-card,
body.gs-embed .ds-card .card,
body.gs-embed .ds-card .card-body {
  color: #1a1f2e;
}

body.gs-embed .ds-card .ds-card__title,
body.gs-embed .ds-card h2,
body.gs-embed .ds-card h3,
body.gs-embed .ds-card .h6 {
  color: #1a1f2e;
}

body.gs-embed .ds-card .text-secondary,
body.gs-embed .ds-card .ds-muted,
body.gs-embed .ds-card .small {
  color: #3d4a5c !important;
}

body.gs-embed .ds-card .ds-form-label,
body.gs-embed .ds-card .form-check-label {
  color: #1a1f2e;
}

body.gs-embed .ds-card .ds-alert {
  color: #1a1f2e;
}

body.gs-embed .ds-card .btn-outline-primary {
  color: #0b5ed7;
  background-color: #ffffff;
  border-color: #0d6efd;
}

body.gs-embed .ds-card .btn-check:checked + .btn-outline-primary,
body.gs-embed .ds-card .btn-check:active + .btn-outline-primary {
  color: #ffffff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

body.gs-embed .ds-card .gs-payment-method-toggle .btn-outline-success {
  color: #15803d;
  background-color: #ffffff;
  border-color: #16a34a;
}

body.gs-embed .ds-card .gs-payment-method-toggle .btn-check:checked + .btn-outline-success,
body.gs-embed .ds-card .gs-payment-method-toggle .btn-check:active + .btn-outline-success {
  color: #ffffff;
  background-color: #16a34a;
  border-color: #16a34a;
}

body.gs-embed .ds-hero__title {
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

body.gs-embed .ds-hero__meta {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.55;
}

body.gs-embed .ds-hero__meta strong {
  color: #ffffff;
}

body.gs-embed .ds-card {
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(20, 24, 60, 0.22);
  border-color: rgba(0, 0, 0, 0.06);
}

body.gs-embed .gs-transfer-box,
body.gs-embed .gs-transfer-box .ds-alert {
  color: #1a1f2e;
}

body.gs-embed .gs-transfer-wrap {
  padding-top: 0.2rem;
}

body.gs-embed .gs-transfer-box {
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(20, 24, 60, 0.2);
}

body.gs-embed .gs-transfer-box .ds-card__title,
body.gs-embed .gs-transfer-box .gs-transfer-step__title,
body.gs-embed .gs-transfer-box h3.ds-card__title {
  color: #0f172a;
}

.gs-section.gs-section--pastel-1 {
  background: #f3f8ff; /* very light blue */
}

.gs-section.gs-section--pastel-2 {
  background: #f6fbf5; /* very light green */
}

.gs-section--pastel-1 > .ds-card__title,
.gs-section--pastel-2 > .ds-card__title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Headline in den Kacheln (Flexibel/Wichtig) */
.gs-section--pastel-1 .card-body h3,
.gs-section--pastel-2 .card-body h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.88);
}

.gs-section.gs-section--pastel-3 {
  background: #fff7f0; /* very light warm */
}

.gs-section.gs-section--features {
  background: #fff;
}

.gs-section--features__title {
  margin-bottom: 0.4rem;
}

.gs-section--features__lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
}

.gs-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.125rem;
}

@media (min-width: 640px) {
  .gs-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gs-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.125rem 1.25rem;
  }
}

.gs-feature-tile {
  height: 100%;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 58, 96, 0.08);
  box-shadow: 0 2px 8px rgba(15, 58, 96, 0.04);
}

.gs-feature-tile__title {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.gs-feature-tile__body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
}

.gs-feature-tile--c1 { background: #eef4ff; border-color: rgba(59, 130, 246, 0.18); }
.gs-feature-tile--c2 { background: #ecfdf5; border-color: rgba(16, 185, 129, 0.2); }
.gs-feature-tile--c3 { background: #fff7ed; border-color: rgba(249, 115, 22, 0.18); }
.gs-feature-tile--c4 { background: #fce7f3; border-color: rgba(236, 72, 153, 0.18); }
.gs-feature-tile--c5 { background: #f5f3ff; border-color: rgba(139, 92, 246, 0.18); }
.gs-feature-tile--c6 { background: #fef9c3; border-color: rgba(202, 138, 4, 0.2); }
.gs-feature-tile--c7 { background: #e0f2fe; border-color: rgba(14, 165, 233, 0.2); }
.gs-feature-tile--c8 { background: #f0fdf4; border-color: rgba(34, 197, 94, 0.18); }

.gs-section.gs-section--withdraw {
  background: #fff;
}

.gs-main-flow.ds-stack {
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .gs-main-flow.ds-stack {
    gap: 1.65rem;
  }
}

.gs-section.ds-card {
  padding: 1.35rem 1.2rem 1.5rem;
}

@media (min-width: 768px) {
  .gs-section.ds-card {
    padding: 1.6rem 1.65rem 1.75rem;
  }
}

.gs-section > .ds-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  color: #0f172a;
}

.gs-info-grid {
  --bs-gutter-x: 1.35rem;
  --bs-gutter-y: 1.35rem;
}

.gs-section .card {
  border: 1px solid rgba(15, 58, 96, 0.09);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 58, 96, 0.05);
}

.gs-section .card-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.gs-section .card-body h3.h6 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem !important;
  color: #0f172a;
}

.gs-section .card-body .text-secondary {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569 !important;
}

.gs-section__footer-note {
  margin-top: 1.35rem;
  padding-top: 0.15rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
}

.gs-section__footer-note strong {
  color: #0f172a;
}

/* ---------- Widerruf: Aufklapp-Zeile ---------- */
.gs-details-summary {
  list-style: none;
  cursor: pointer;
}

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

.gs-details-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 58, 96, 0.12);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  cursor: pointer;
  user-select: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.gs-details-summary:hover .gs-details-btn,
details[open] > .gs-details-summary .gs-details-btn {
  background: #fff;
  border-color: rgba(13, 110, 253, 0.22);
  box-shadow: 0 4px 14px rgba(15, 58, 96, 0.06);
}

.gs-details-summary:focus-visible .gs-details-btn {
  outline: 3px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

.gs-details-btn__left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  min-width: 0;
}

.gs-details-btn__title {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.gs-details-btn__meta {
  font-weight: 500;
  color: #64748b;
  font-size: 0.92rem;
}

.gs-details-btn__chev {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
  border: 1px solid rgba(13, 110, 253, 0.22);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 0.22s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.gs-details-btn__chev::before {
  content: "";
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.15rem;
  border-right: 2.5px solid #0f3a60;
  border-bottom: 2.5px solid #0f3a60;
  transform: rotate(45deg);
  transition: border-color 0.18s ease;
}

.gs-details-summary:hover .gs-details-btn__chev {
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow:
    0 4px 12px rgba(13, 110, 253, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

details[open] > .gs-details-summary .gs-details-btn__chev {
  transform: rotate(180deg);
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #0d6efd;
}

details[open] > .gs-details-summary .gs-details-btn__chev::before {
  border-color: #0d6efd;
}

.gs-section--withdraw details[open] .ds-stack > p.ds-muted {
  margin-top: 1rem;
}

.gs-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ds-space-4);
  align-items: stretch;
}

/* Prevent grid items from overflowing and causing overlap */
.gs-tiles > * {
  min-width: 0;
}

@media (max-width: 1024px) {
  .gs-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gs-tiles {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gs-tile {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-3);
  height: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.gs-tile__media {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.gs-tile__img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Kacheln: Bild nutzt volle Breite, Höhe aus dem Motiv */
.gs-tile__media .gs-tile__img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.gs-tile__value {
  display: flex;
  justify-content: center;
}

.gs-tile__value-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: rgba(13,110,253,.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 .35rem 1rem rgba(13,110,253,.18);
  min-width: 140px;
}

@media (max-width: 640px) {
  .gs-tile__value-badge {
    font-size: 1.05rem;
    padding: 9px 14px;
    min-width: 120px;
  }
}

.gs-tile__title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: rgba(0,0,0,.85);
}

.gs-tile__actions {
  margin-top: auto;
  display: flex;
  gap: var(--ds-space-3);
  flex-wrap: wrap;
}

.gs-tile__actions .ds-btn {
  width: 100%;
}

/* ---------- Shop-Hero (Verkauf oben) ---------- */
.gs-shop-hero-wrap {
  margin-bottom: 0.35rem;
}

.gs-shop-hero {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  color: #1a1f2e;
  box-shadow:
    0 2px 8px rgba(10, 18, 51, 0.12),
    0 20px 50px rgba(76, 29, 149, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.gs-shop-hero__banner {
  margin: 0;
  line-height: 0;
  background: linear-gradient(135deg, #2d1b4e 0%, #4c1d95 100%);
}

.gs-shop-hero__banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
}

.gs-shop-hero__body {
  padding: 1.85rem 1.35rem 2rem;
  background: #fff;
  border-top: 1px solid rgba(15, 58, 96, 0.08);
}

@media (min-width: 768px) {
  .gs-shop-hero__body {
    padding: 2.1rem 2rem 2.25rem;
  }
}

.gs-shop-hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5b21b6;
}

.gs-shop-hero__title {
  margin: 0 0 0.9rem;
  max-width: 22em;
  font-size: clamp(1.5rem, 3.8vw, 2.05rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
  color: #0f172a;
}

.gs-shop-hero__title-accent {
  display: inline;
  color: #0f3a60;
}

.gs-shop-hero__tagline {
  margin: 0 0 1.1rem;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #b45309;
}

.gs-shop-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #475569;
}

.gs-shop-hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin: 0 0 1.65rem;
  padding: 0;
  list-style: none;
}

.gs-shop-hero__perks li {
  margin: 0;
  padding: 0.4rem 0.75rem 0.42rem 1.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e3a5f;
  background: #eef2ff;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 999px;
  position: relative;
}

.gs-shop-hero__perks li::before {
  content: "✓";
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 800;
  color: #16a34a;
}

.gs-shop-hero__picker {
  margin-top: 1.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 58, 96, 0.1);
}

.gs-shop-hero__picker--center {
  text-align: center;
}

.gs-shop-hero__cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.75rem;
  padding: 0.25rem 0 0.5rem;
}

.gs-shop-hero__order-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 20rem);
  padding: 1.05rem 2.75rem;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.28);
}

.gs-shop-hero__picker--center .gs-value-overview {
  text-align: left;
}

.gs-shop-hero--shop .gs-value-form__desc {
  margin: 0 0 1rem;
}

.gs-shop-hero--shop .gs-tiles--in-hero {
  display: block;
}

.gs-shop-hero--shop .gs-value-panel {
  padding: 0;
}

body.gs-embed .gs-shop-hero__title,
body.gs-embed .gs-shop-hero__lead {
  color: inherit;
}

body.gs-embed .gs-shop-hero__title {
  color: #0f172a;
}

body.gs-embed .gs-shop-hero__lead {
  color: #475569;
}

/* ---------- Design-Werbeanimation (Shop-Start) ---------- */
.gs-design-promo {
  position: relative;
  margin: 0 0 1.65rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1rem, 3vw, 1.5rem) clamp(1.65rem, 3.5vw, 2.1rem);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  color: #f8fafc;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(251, 191, 36, 0.35) 0%, transparent 55%),
    radial-gradient(90% 70% at 90% 100%, rgba(236, 72, 153, 0.28) 0%, transparent 50%),
    linear-gradient(125deg, #1e1b4b 0%, #4c1d95 38%, #312e81 68%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 16px 48px rgba(76, 29, 149, 0.45),
    0 4px 20px rgba(15, 23, 42, 0.35);
  animation: gs-design-promo-enter 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes gs-design-promo-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gs-design-promo__glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(251, 191, 36, 0.15),
    rgba(167, 139, 250, 0.2),
    rgba(244, 114, 182, 0.12),
    rgba(251, 191, 36, 0.15)
  );
  animation: gs-design-promo-glow-spin 14s linear infinite;
  pointer-events: none;
  opacity: 0.85;
}

@keyframes gs-design-promo-glow-spin {
  to {
    transform: rotate(360deg);
  }
}

.gs-design-promo__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gs-design-promo__spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: gs-design-promo-spark 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.31s);
  top: calc(8% + (var(--i) * 7.5%) * 1%);
  left: calc(5% + (var(--i) * 9.3%) * 1%);
}

@keyframes gs-design-promo-spark {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  45% {
    opacity: 0.95;
    transform: scale(1);
  }
}

.gs-design-promo__inner {
  position: relative;
  z-index: 1;
}

.gs-design-promo__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.55);
  backdrop-filter: blur(6px);
  animation: gs-design-promo-badge-pop 0.6s 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.gs-design-promo__badge-pulse {
  width: 10px;
  height: 10px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.65);
  animation: gs-design-promo-badge-ring 1.8s ease-out infinite;
}

@keyframes gs-design-promo-badge-pop {
  from {
    opacity: 0;
    transform: scale(0.6) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes gs-design-promo-badge-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.65);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(251, 191, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
  }
}

.gs-design-promo__badge-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fef3c7;
}

.gs-design-promo__title {
  margin: 0 0 0.65rem;
  max-width: 16em;
  font-size: clamp(1.35rem, 4.2vw, 1.95rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.gs-design-promo__title-shine {
  display: inline-block;
  background: linear-gradient(
    105deg,
    #fef08a 0%,
    #fbbf24 25%,
    #fff 50%,
    #fbbf24 75%,
    #fef08a 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gs-design-promo-shine 4s linear infinite;
}

@keyframes gs-design-promo-shine {
  to {
    background-position: 220% center;
  }
}

.gs-design-promo__lead {
  margin: 0 0 0.55rem;
  max-width: none;
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.92);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .gs-design-promo__lead {
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

.gs-design-promo__lead strong {
  color: #fde68a;
  font-weight: 800;
}

.gs-design-promo__hint {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.88);
}

.gs-design-promo__hint::before {
  content: "◆";
  margin-right: 0.4rem;
  color: #f472b6;
  font-size: 0.65rem;
  vertical-align: middle;
}

.gs-design-promo__hint strong {
  color: #fff;
}

.gs-design-promo__stage {
  position: relative;
  margin: 0;
  padding: 0.65rem 0 1.15rem;
  overflow: hidden;
  border-radius: 12px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

.gs-design-promo__track {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.65rem, 2vw, 1.1rem);
  width: max-content;
  padding: 0.35rem 0.5rem 0.85rem;
  animation: gs-design-promo-marquee 38s linear infinite;
}

@keyframes gs-design-promo-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gs-design-promo__card {
  flex: 0 0 auto;
  width: clamp(72px, 14vw, 108px);
  margin: 0;
  aspect-ratio: var(--aspect, 105 / 148);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(251, 191, 36, 0.35);
  transform: rotate(-4deg) translateY(0);
  animation: gs-design-promo-card-float 4.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gs-design-promo__card:nth-child(even) {
  transform: rotate(3deg) translateY(4px);
}

@keyframes gs-design-promo-card-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

.gs-design-promo__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.gs-design-promo__card-cap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gs-design-promo__card {
  position: relative;
}

@media (min-width: 768px) {
  .gs-design-promo__title {
    max-width: none;
  }

  .gs-design-promo__card {
    width: clamp(88px, 10vw, 120px);
  }
}

body.gs-embed .gs-design-promo {
  margin-bottom: 1.25rem;
  padding: 1.1rem 1rem 1.25rem;
}

body.gs-embed .gs-design-promo__stage {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .gs-design-promo,
  .gs-design-promo__glow,
  .gs-design-promo__spark,
  .gs-design-promo__badge,
  .gs-design-promo__badge-pulse,
  .gs-design-promo__title-shine,
  .gs-design-promo__track,
  .gs-design-promo__card {
    animation: none !important;
  }

  .gs-design-promo__track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    transform: none;
  }

  .gs-design-promo__card {
    transform: none;
  }
}

/* ---------- Gutscheinwert-Auswahl (Shop-Start) ---------- */
.gs-shop-hero#werte,
.gs-value-section {
  scroll-margin-top: 1.25rem;
}

.gs-value-section {
  padding: 1.35rem 1.2rem 1.55rem;
}

@media (min-width: 768px) {
  .gs-value-section {
    padding: 1.6rem 1.65rem 1.8rem;
  }
}

.gs-value-section__head {
  margin-bottom: 1.35rem;
}

.gs-value-section__title {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.gs-value-section__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 38rem;
  color: #475569;
}

.gs-tiles {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gs-value-panel {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 0.15rem;
}

.gs-value-panel--fixed {
  grid-column: auto;
  padding: 0.5rem 0 0;
}

.gs-value-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.gs-value-form__intro {
  margin-bottom: 1.35rem;
}

.gs-value-form__title {
  margin: 0 0 0.45rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.gs-value-form__desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 40rem;
}

.gs-value-form__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.gs-value-form__legend {
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.gs-amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr));
  gap: 1rem 1.125rem;
  padding: 0.15rem 0.1rem 0.35rem;
}

@media (min-width: 520px) {
  .gs-amount-grid {
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
    gap: 1.125rem 1.25rem;
  }
}

@media (min-width: 768px) {
  .gs-amount-grid:not(.gs-amount-grid--modal) {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    max-width: 52rem;
  }
}

/* Checkout-Modal: kompaktes Raster, nicht 8 Spalten wie auf der Startseite */
.gs-amount-modal .gs-modal--amount {
  max-width: min(22.5rem, 94vw);
  max-height: min(42rem, calc(100% - 1rem));
  overflow-y: auto;
}

.gs-amount-modal__body {
  padding: 1rem 1.25rem 1.35rem;
}

.gs-amount-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
}

.gs-amount-grid--modal {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: none;
  padding: 0;
  margin: 0 auto;
}

@media (min-width: 400px) {
  .gs-amount-grid--modal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.gs-amount-grid--modal .gs-amount-tile__face {
  min-height: 4.25rem;
  padding: 0.75rem 0.35rem 0.65rem;
  border-radius: 10px;
}

.gs-amount-grid--modal .gs-amount-tile__amount {
  font-size: 1.2rem;
}

.gs-amount-grid--modal .gs-amount-tile__currency {
  font-size: 0.65rem;
  margin-top: 0.15rem;
}

/* Häkchen in kleinen Kacheln weglassen – Auswahl über Rahmen/Farbe */
.gs-amount-grid--modal .gs-amount-tile__check {
  display: none;
}

.gs-amount-modal .gs-modal__footer {
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gs-amount-modal .gs-modal__footer--single {
  justify-content: stretch;
}

.gs-amount-modal .gs-modal__footer--single .ds-btn {
  width: 100%;
  justify-content: center;
}

.gs-amount-tile {
  display: block;
  cursor: pointer;
  margin: 0;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}

.gs-amount-tile--display {
  cursor: default;
  width: fit-content;
  margin-bottom: 0.35rem;
}

.gs-amount-tile__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gs-amount-tile__face {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 5.25rem;
  padding: 0.9rem 0.45rem 0.8rem;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.gs-amount-tile:hover .gs-amount-tile__face {
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(13, 110, 253, 0.1);
}

.gs-amount-tile__input:focus-visible + .gs-amount-tile__face {
  outline: 3px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

.gs-amount-tile.is-selected .gs-amount-tile__face,
.gs-amount-tile__input:checked + .gs-amount-tile__face {
  border-color: #0d6efd;
  background: #f0f7ff;
  box-shadow:
    0 0 0 2px rgba(13, 110, 253, 0.22),
    0 6px 16px rgba(13, 110, 253, 0.12);
}

.gs-amount-tile--display .gs-amount-tile__face {
  min-height: 4.75rem;
  min-width: 7.5rem;
  border-color: #0d6efd;
  background: linear-gradient(165deg, #ffffff 0%, #e8f2ff 55%, #dbeafe 100%);
  box-shadow: 0 8px 22px rgba(13, 110, 253, 0.15);
}

.gs-amount-tile__check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 2px solid rgba(15, 58, 96, 0.15);
  background: #fff;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.gs-amount-tile__check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.gs-amount-tile.is-selected .gs-amount-tile__check,
.gs-amount-tile__input:checked + .gs-amount-tile__face .gs-amount-tile__check {
  opacity: 1;
  transform: scale(1);
  background: #0d6efd;
  border-color: #0d6efd;
}

.gs-amount-tile__amount {
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #0f3a60;
}

.gs-amount-tile.is-selected .gs-amount-tile__amount,
.gs-amount-tile__input:checked + .gs-amount-tile__face .gs-amount-tile__amount {
  color: #0c4a8a;
}

.gs-amount-tile__currency {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.gs-amount-tile.is-selected .gs-amount-tile__currency,
.gs-amount-tile__input:checked + .gs-amount-tile__face .gs-amount-tile__currency {
  color: #2563eb;
}

.gs-value-form__actions {
  margin-top: 2.25rem;
  padding-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gs-value-overview {
  margin-top: 1.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(15, 58, 96, 0.1);
}

.gs-value-overview__title {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.gs-value-overview__lead {
  margin: 0 0 1.05rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: #64748b;
}

.gs-feature-grid--in-picker {
  gap: 0.75rem 0.9rem;
}

.gs-value-overview__footer-note {
  margin-top: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

.gs-value-overview__footer-note strong {
  color: #0f172a;
}

.gs-value-form__submit {
  width: 100%;
  padding: 0.88rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .gs-value-form__actions {
    justify-content: flex-start;
  }

  .gs-value-form__submit {
    width: auto;
    min-width: 240px;
  }
}

/* Sticky „Weiter zur Bestellung“ nach Wertauswahl */
.gs-sticky-checkout {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.gs-sticky-checkout.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.gs-sticky-checkout__inner {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0.85rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 58, 96, 0.12);
  box-shadow: 0 18px 48px rgba(10, 18, 51, 0.28);
  text-align: center;
}

.gs-sticky-checkout__summary {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.gs-sticky-checkout__btn {
  width: 100%;
  max-width: 320px;
  padding: 0.82rem 1.25rem;
  font-size: 1.02rem;
  font-weight: 800;
}

body.gs-has-sticky-checkout .ds-page__inner {
  padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}

body.gs-embed.gs-has-sticky-checkout .gs-sticky-checkout__inner {
  color: #0f172a;
}

body.gs-embed.gs-has-sticky-checkout .gs-sticky-checkout.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

