/* ============================================================================
   pages-special.css
   Shared styles for /einladung and /geschenk-deutsch (4 language variants each).
   Linked ONLY from those 8 page files — not from index.html or platform/.
   ============================================================================ */

/* ---------- Page-scoped tokens ---------- */
:root {
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --pg-bg-soft: #faf7f2;
  --pg-bg-white: #ffffff;
  --pg-line: #ece8e0;
  --pg-line-soft: #f1ede4;
  --pg-shadow-card: 0 4px 16px rgba(20, 14, 12, 0.06), 0 1px 2px rgba(20, 14, 12, 0.04);
  --pg-shadow-card-hover: 0 18px 44px rgba(20, 14, 12, 0.12), 0 2px 6px rgba(20, 14, 12, 0.06);
  --pg-shadow-card-lifted: 0 24px 60px rgba(20, 14, 12, 0.14);

  --gift-dark: #12100f;
  --gift-dark-soft: #1c1816;
  --gift-dark-deep: #0a0908;
  --gift-gold: #d8ad5d;
  --gift-gold-bright: #f2d08f;
  --gift-gold-soft: #b89148;
  --gift-line: rgba(216, 173, 93, 0.32);
  --gift-line-strong: rgba(216, 173, 93, 0.55);
  --gift-cream: #f6f1e8;
}

/* ============================================================================
   GLOBAL: page enhancements applied to body of these pages
   ============================================================================ */
.einladung-page, .gift-page {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

.einladung-page a, .gift-page a,
.einladung-page button, .gift-page button,
.einladung-page input, .gift-page input,
.einladung-page select, .gift-page select,
.einladung-page textarea, .gift-page textarea {
  touch-action: manipulation;
}

/* Reveal motion — refine existing .reveal behavior */
.einladung-page .reveal,
.gift-page .reveal,
.einladung-page .reveal-left,
.gift-page .reveal-left,
.einladung-page .reveal-right,
.gift-page .reveal-right {
  opacity: 0;
  transition:
    opacity 600ms var(--ease-out-strong),
    transform 600ms var(--ease-out-strong);
  will-change: opacity, transform;
}

.einladung-page .reveal { transform: translateY(20px); }
.einladung-page .reveal-left { transform: translateX(-24px) translateY(8px); }
.einladung-page .reveal-right { transform: translateX(24px) translateY(8px); }
.gift-page .reveal { transform: translateY(20px); }
.gift-page .reveal-left { transform: translateX(-24px) translateY(8px); }
.gift-page .reveal-right { transform: translateX(24px) translateY(8px); }

.einladung-page .reveal.visible,
.einladung-page .reveal-left.visible,
.einladung-page .reveal-right.visible,
.gift-page .reveal.visible,
.gift-page .reveal-left.visible,
.gift-page .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================================
   EINLADUNG (Invite) Page
   ============================================================================ */

/* ---------- Hero ---------- */
.einl-hero {
  position: relative;
  padding: clamp(56px, 6vw, 80px) 24px clamp(60px, 8vw, 100px);
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(232, 50, 58, 0.10), transparent 60%),
    radial-gradient(700px 480px at 100% 110%, rgba(232, 50, 58, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--pg-bg-soft) 100%);
  overflow: hidden;
  isolation: isolate;
}

.einl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(232, 50, 58, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.4;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.einl-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  max-width: var(--container-max-width, 1280px);
  margin: 0 auto;
  padding: 0;
}

.einl-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.einl-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: rgba(232, 50, 58, 0.08);
  border: 1px solid rgba(232, 50, 58, 0.18);
  color: var(--red);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 100%;
}

.einl-hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(232, 50, 58, 0.18);
  display: inline-block;
  flex-shrink: 0;
}

.einl-hero-title {
  font-family: var(--font-title);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  text-align: left;
  margin: 0;
}

.einl-hero-flag {
  display: inline-block;
  font-size: 0.85em;
  vertical-align: baseline;
  margin-left: 4px;
}

.einl-hero-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 56ch;
  margin: 0;
  text-align: left;
}

.einl-hero-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 12px;
}

.einl-hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
  text-align: left;
  margin: 0;
  line-height: 1.55;
}

.einl-bullet-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--pg-line);
  box-shadow: var(--pg-shadow-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.einl-hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-grey);
  margin-top: 4px;
}

.einl-hero-trust-divider {
  width: 1px;
  height: 12px;
  background: var(--pg-line);
}

/* ---------- Hero signup card (right column) ---------- */
.signup-card {
  position: relative;
  background: var(--bg-white);
  border-radius: 24px;
  border: 1px solid var(--pg-line);
  box-shadow:
    0 24px 56px rgba(20, 14, 12, 0.10),
    0 2px 6px rgba(20, 14, 12, 0.05);
  padding: clamp(24px, 3vw, 32px);
  isolation: isolate;
}

.signup-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
  border-radius: 0 0 3px 3px;
  opacity: 0.7;
}

.signup-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 18px;
}

.signup-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 50, 58, 0.10);
  color: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.signup-card-title {
  font-family: var(--font-title);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
  text-align: left;
  letter-spacing: -0.01em;
}

.signup-card-subtitle {
  font-size: 14px;
  color: var(--text-grey);
  margin: 0;
  text-align: left;
  line-height: 1.5;
}

.signup-card-form { margin: 0; }
.signup-card-form .form-field { margin-bottom: 12px; }
.signup-card-form .btn-submit-full {
  width: 100%;
  margin-top: 4px;
  transition: transform 160ms var(--ease-out-strong),
              box-shadow 200ms var(--ease-out-strong);
}
.signup-card-form .btn-submit-full:active {
  transform: scale(0.985);
}

@media (hover: hover) and (pointer: fine) {
  .signup-card-form .btn-submit-full:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(232, 50, 58, 0.28);
  }
}

.signup-card-legal {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-grey);
  line-height: 1.55;
}

.signup-card-legal a {
  color: var(--text-body);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .signup-card-legal a:hover {
    color: var(--red);
    border-bottom-color: rgba(232, 50, 58, 0.4);
  }
}

/* ---------- Section header (shared) ---------- */
.einl-section,
.gift-section {
  padding: clamp(64px, 8vw, 100px) 24px;
}

.einl-section--soft { background: var(--pg-bg-soft); }
.einl-section--white { background: #fff; }

.einl-section-header,
.gift-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.einl-section-eyebrow,
.gift-section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.einl-section-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin: 0 0 12px;
  text-align: center;
  letter-spacing: -0.015em;
}

.einl-section-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Reward cards ---------- */
.reward-cards-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto 24px;
}

.reward-card {
  background: var(--bg-white);
  border: 1px solid var(--pg-line);
  border-radius: 22px;
  box-shadow: var(--pg-shadow-card);
  padding: clamp(24px, 3vw, 32px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 240px;
  position: relative;
  transition:
    transform 280ms var(--ease-out-strong),
    box-shadow 280ms var(--ease-out-strong),
    border-color 200ms ease;
}

.reward-card-emoji {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 2px;
  filter: drop-shadow(0 4px 12px rgba(20, 14, 12, 0.08));
}

.reward-card-label {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-grey);
  margin: 0;
  font-weight: 600;
}

.reward-card-value {
  font-family: var(--font-title);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--red);
  margin: 0;
  text-align: center;
}

.reward-card-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
  text-align: center;
}

.reward-card--dark {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}

.reward-card--dark .reward-card-label { color: rgba(255, 255, 255, 0.65); }
.reward-card--dark .reward-card-value { color: var(--gift-gold-bright); }
.reward-card--dark .reward-card-text { color: rgba(255, 255, 255, 0.85); }

.reward-cards-plus {
  font-family: var(--font-title);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--red);
  display: grid;
  place-items: center;
  min-width: 44px;
  font-weight: 700;
}

.reward-cards-note {
  max-width: 720px;
  margin: 20px auto 0;
  background: #fff;
  border: 1px solid var(--pg-line);
  border-radius: 16px;
  padding: 14px 22px;
  text-align: center;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(20, 14, 12, 0.04);
}

@media (hover: hover) and (pointer: fine) {
  .reward-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pg-shadow-card-hover);
    border-color: rgba(232, 50, 58, 0.18);
  }
  .reward-card--dark:hover { border-color: var(--gift-line-strong); }
}

/* ---------- Step cards ---------- */
/* Asymmetric 3-step grid: middle card sits slightly higher and is featured,
   breaking out of the identical-card-grid anti-pattern. */
.einl-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.einl-step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--pg-line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 32px) 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition:
    transform 280ms var(--ease-out-strong),
    box-shadow 280ms var(--ease-out-strong);
  box-shadow: var(--pg-shadow-card);
  overflow: hidden;
}

/* Middle card sits proud */
.einl-step-card:nth-child(2) {
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border-color: rgba(216, 173, 93, 0.30);
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(20, 14, 12, 0.10);
}

@media (max-width: 991px) {
  .einl-step-card:nth-child(2) { transform: none; }
}

.einl-step-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 240ms var(--ease-out-strong);
}

@media (hover: hover) and (pointer: fine) {
  .einl-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pg-shadow-card-hover);
  }
  .einl-step-card:hover::after {
    opacity: 1;
  }
}

.einl-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #faf6ef 100%);
  border: 1px solid var(--pg-line);
  display: grid;
  place-items: center;
  margin: 0 0 4px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.einl-step-icon .emoji-icon {
  width: 32px;
  height: 32px;
}

.einl-step-number {
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: rgba(232, 50, 58, 0.10);
  letter-spacing: -0.04em;
  pointer-events: none;
}

.einl-step-badge {
  display: inline-block;
  background: rgba(232, 50, 58, 0.10);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0;
}

.einl-step-card:nth-child(2) .einl-step-badge {
  background: var(--red);
  color: #fff;
}

.einl-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 4px 0 4px;
  text-align: left;
  font-family: var(--font-body);
  line-height: 1.3;
}

.einl-step-text {
  font-size: 14px;
  color: var(--text-grey);
  margin: 0;
  text-align: left;
  line-height: 1.55;
}

/* ---------- FAQ (refinements; base styles from style.css) ---------- */
.einl-faq-cta,
.gift-faq-cta {
  text-align: center;
  margin-top: clamp(32px, 4vw, 48px);
}

/* ============================================================================
   GESCHENK (Gift Certificate) Page
   ============================================================================ */
.gift-page {
  background: #fff;
}

/* ---------- Premium Hero ---------- */
.gift-hero {
  position: relative;
  padding: clamp(56px, 6vw, 80px) 24px clamp(72px, 10vw, 120px);
  background:
    radial-gradient(900px 540px at 18% 12%, rgba(216, 173, 93, 0.22), transparent 55%),
    radial-gradient(700px 480px at 85% 8%, rgba(242, 208, 143, 0.16), transparent 50%),
    radial-gradient(800px 600px at 50% 110%, rgba(216, 173, 93, 0.10), transparent 60%),
    var(--gift-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.gift-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(216, 173, 93, 0.10) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

.gift-hero-aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.gift-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: gift-float 18s ease-in-out infinite;
}

.gift-hero-blob--a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(242, 208, 143, 0.45), transparent 70%);
  top: -120px;
  left: -120px;
}

.gift-hero-blob--b {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 70% 30%, rgba(216, 173, 93, 0.35), transparent 70%);
  top: 20%;
  right: -100px;
  animation-delay: -6s;
}

@keyframes gift-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.06); }
}

.gift-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.gift-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(216, 173, 93, 0.10);
  border: 1px solid var(--gift-line);
  color: var(--gift-gold-bright);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.gift-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gift-gold-bright);
  box-shadow: 0 0 0 4px rgba(242, 208, 143, 0.18);
  transform: translateY(2px);
}

.gift-hero-title {
  font-family: var(--font-title);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  text-align: center;
  white-space: nowrap;
}

.gift-hero-title .gift-gold {
  color: var(--gift-gold-bright);
  font-weight: 800;
  font-size: 1.2em;
  text-shadow: 0 4px 28px rgba(242, 208, 143, 0.22);
}

.gift-hero-emoji {
  display: inline-block;
  font-size: 0.85em;
  margin-left: 6px;
  filter: drop-shadow(0 4px 24px rgba(242, 208, 143, 0.4));
}

.gift-hero-lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 auto 28px;
  text-align: center;
}

.gift-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.gift-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  margin: 0;
}

.gift-hero-meta-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(216, 173, 93, 0.18);
  color: var(--gift-gold-bright);
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
  transform: translateY(1px);
}

.gift-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border: 0;
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: 400;
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(232, 50, 58, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .gift-hero-cta:hover {
    background: var(--red-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(230, 51, 41, 0.4);
  }
}

.gift-hero-cta:active {
  transform: scale(0.97);
}

.gift-hero-cta-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 220ms var(--ease-out-strong);
}

@media (hover: hover) and (pointer: fine) {
  .gift-hero-cta:hover .gift-hero-cta-arrow {
    transform: translateX(4px);
  }
}

/* ---------- Configurator ---------- */
.gift-config {
  padding: clamp(60px, 8vw, 96px) 24px;
  background: linear-gradient(180deg, var(--pg-bg-soft) 0%, #fff 100%);
}

.gift-config-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.gift-config-eyebrow-text {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.gift-config-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px;
  text-align: center;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.gift-config-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 52ch;
  margin: 0 auto;
  text-align: center;
}

.gift-config-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  max-width: var(--container-max-width, 1280px);
  margin: 0 auto;
}

.gift-config-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--pg-line);
  border-radius: 24px;
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: var(--pg-shadow-card);
}

.gift-config-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gift-config-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

/* Format cards */
.gift-format-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gift-format-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--pg-line);
  border-radius: 16px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  transition:
    transform 200ms var(--ease-out-strong),
    border-color 200ms ease,
    box-shadow 220ms var(--ease-out-strong),
    background-color 220ms ease;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}

.gift-format-emoji {
  width: 28px;
  height: 28px;
  margin: 0;
  text-align: center;
}

.gift-format-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  text-align: center;
  line-height: 1.25;
}

.gift-format-meta {
  font-size: 11px;
  color: var(--text-grey);
  margin: 0;
  text-align: center;
  line-height: 1.35;
}

@media (hover: hover) and (pointer: fine) {
  .gift-format-card:hover {
    border-color: rgba(232, 50, 58, 0.45);
    transform: translateY(-2px);
    box-shadow: var(--pg-shadow-card);
  }
}

.gift-format-card:active {
  transform: scale(0.98);
}

.gift-format-card.active {
  border-color: var(--red);
  background: linear-gradient(180deg, #fff7f7 0%, #fff 100%);
  box-shadow:
    0 0 0 3px rgba(232, 50, 58, 0.12),
    var(--pg-shadow-card);
}

.gift-format-card.active .gift-format-name { color: var(--red); }

/* Lesson pills */
.gift-lessons-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.gift-lesson-pill {
  position: relative;
  flex: 1;
  background: #fff;
  border: 1.5px solid var(--pg-line);
  border-radius: 999px;
  padding: 9px 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  min-width: 0;
  transition:
    transform 180ms var(--ease-out-strong),
    border-color 180ms ease,
    background-color 220ms ease,
    color 200ms ease,
    box-shadow 200ms var(--ease-out-strong);
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .gift-lesson-pill:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(232, 50, 58, 0.04);
    transform: none;
    box-shadow: none;
  }
}

.gift-lesson-pill:active { transform: scale(0.97); }
.gift-lesson-pill.active:hover { background: var(--red); }

.gift-lesson-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 50, 58, 0.32);
}

.gift-lesson-pill.is-popular::after {
  content: attr(data-popular-label);
  position: absolute;
  top: -10px;
  right: -6px;
  background: linear-gradient(135deg, #f4d699, var(--gift-gold));
  color: #4d3617;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(216, 173, 93, 0.35);
  white-space: nowrap;
  pointer-events: none;
}

/* Price display */
.gift-price-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, #faf7f2, #fff);
  border: 1px solid var(--pg-line);
  border-radius: 18px;
  padding: 14px 18px;
}

.gift-price-amount-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gift-price-amount {
  font-family: var(--font-body);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
  display: inline-block;
  transition: transform 240ms var(--ease-out-strong);
}

.gift-price-amount.is-ticking { transform: translateY(-2px); }

.gift-price-sub {
  font-size: 13px;
  color: var(--text-grey);
  margin: 0;
}

.gift-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(216, 173, 93, 0.14);
  border: 1px solid var(--gift-line);
  color: #7a5324;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Email + Pay */
.gift-purchase-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gift-email-input {
  width: 100%;
  padding: 13px 18px;
  line-height: 1.5;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 15px !important;
  font-weight: 200;
  color: var(--text-dark);
  background: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.gift-email-input:focus {
  border-color: var(--red);
  outline: none;
}

.gift-email-input.is-invalid {
  border-color: var(--red);
  animation: gift-shake 280ms var(--ease-out-strong);
}

@keyframes gift-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.gift-pay-btn {
  position: relative;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.gift-pay-btn svg {
  flex-shrink: 0;
  transform: translateY(-2px);
}
.gift-pay-btn-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-btn);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.gift-pay-btn > :not(.gift-pay-btn-loading) {
  transition: opacity 200ms ease, filter 200ms ease;
}
.gift-pay-btn.is-loading > :not(.gift-pay-btn-loading) {
  opacity: 0;
  filter: blur(2px);
}
.gift-pay-btn.is-loading .gift-pay-btn-loading {
  opacity: 1;
  visibility: visible;
}

.gift-pay-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: gift-spin 0.7s linear infinite;
}

@keyframes gift-spin {
  to { transform: rotate(360deg); }
}

.gift-pay-note {
  font-size: 12px;
  color: var(--text-grey);
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.5;
}

/* Certificate preview (right column) */
.gift-config-preview {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gift-cert-preview {
  background: linear-gradient(165deg, #1a1612 0%, #100e0c 100%);
  border: 1px solid var(--gift-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(16, 14, 12, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  position: relative;
  isolation: isolate;
}

.gift-cert-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(242, 208, 143, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(216, 173, 93, 0.06), transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.gift-cert-stripe {
  height: 5px;
  background: linear-gradient(90deg,
    #8b6a2a 0%,
    var(--gift-gold) 25%,
    var(--gift-gold-bright) 50%,
    var(--gift-gold) 75%,
    #8b6a2a 100%);
  position: relative;
  z-index: 1;
}

.gift-cert-body {
  position: relative;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: #f2e8d8;
  z-index: 1;
}

.gift-cert-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gift-line-strong);
  opacity: 0.5;
}
.gift-cert-corner--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.gift-cert-corner--tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.gift-cert-corner--bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.gift-cert-corner--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

.gift-cert-logo {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--gift-gold);
  letter-spacing: 0.08em;
  margin: 0;
  text-align: center;
}

.gift-cert-label-top {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(242, 208, 143, 0.55);
  margin: 0;
  text-align: center;
}

.gift-cert-emoji {
  font-size: 44px;
  line-height: 1;
  margin: 4px 0;
  filter: drop-shadow(0 4px 20px rgba(242, 208, 143, 0.35));
}

.gift-cert-lessons-big {
  font-family: var(--font-title);
  font-size: clamp(34px, 5vw, 50px);
  color: var(--gift-gold-bright);
  line-height: 1;
  margin: 0;
  text-align: center;
  letter-spacing: -0.01em;
  transition: filter 260ms ease, opacity 260ms ease;
}

.gift-cert-format {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  text-align: center;
  transition: filter 260ms ease, opacity 260ms ease;
}

.gift-cert-lessons-big.is-blurring,
.gift-cert-format.is-blurring,
.gift-cert-price-value.is-blurring {
  filter: blur(3px);
  opacity: 0.6;
}

.gift-cert-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gift-line-strong), transparent);
  margin: 6px 0;
}

.gift-cert-price-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  margin: 0;
  padding: 0 4px;
}

.gift-cert-price-label {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.gift-cert-price-value {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gift-gold-bright);
  margin: 0;
  transition: filter 260ms ease, opacity 260ms ease;
}

.gift-cert-validity {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin: 6px 0 0;
  text-align: center;
}

.gift-preview-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-grey);
  margin: 4px 0 0;
}

/* ---------- "What's included" ---------- */
.gift-included {
  padding: clamp(60px, 8vw, 96px) 24px;
  background: #fff;
}

.gift-included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.gift-included-item {
  background: var(--pg-bg-soft);
  border: 1px solid var(--pg-line);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 32px);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    transform 240ms var(--ease-out-strong),
    box-shadow 240ms var(--ease-out-strong),
    background-color 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .gift-included-item:hover {
    /* no hover effect */
  }
}

.gift-included-emoji {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 10px rgba(20, 14, 12, 0.06));
}

.gift-included-item h3 {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--text-dark);
  margin: 0;
  text-align: left;
  line-height: 1.3;
}

.gift-included-item p {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
  text-align: left;
  line-height: 1.55;
}

/* ---------- Steps (gift) ---------- */
.gift-steps {
  padding: clamp(60px, 8vw, 96px) 24px;
  background: var(--gift-cream);
}

.gift-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.gift-step-card {
  position: relative;
  background: #fff;
  border: 1px solid #eadfcd;
  border-radius: 20px;
  padding: clamp(20px, 2.5vw, 26px);
  box-shadow: var(--pg-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition:
    transform 240ms var(--ease-out-strong),
    box-shadow 240ms var(--ease-out-strong);
}

.gift-step-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 240ms var(--ease-out-strong);
}

@media (hover: hover) and (pointer: fine) {
  .gift-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pg-shadow-card-hover);
  }
  .gift-step-card:hover::after {
    opacity: 1;
  }
}

.gift-step-card .icon-card {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fbf7f1;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.gift-step-card .icon-card .emoji-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.gift-step-card h3 {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--text-dark);
  margin: 0;
  text-align: left;
  line-height: 1.3;
}

.gift-step-card p {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
  text-align: left;
  line-height: 1.55;
}

/* ---------- Stripe Fallback Modal ---------- */
.stripe-fallback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 9, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms var(--ease-out-strong), visibility 0s linear 220ms;
}

.stripe-fallback-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 240ms var(--ease-out-strong), visibility 0s;
}

.stripe-fallback-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  position: relative;
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  transition:
    transform 280ms var(--ease-out-strong),
    opacity 220ms var(--ease-out-strong);
}

.stripe-fallback-overlay.is-open .stripe-fallback-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.stripe-fallback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.04);
  color: #999;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 160ms var(--ease-out-strong);
}

@media (hover: hover) and (pointer: fine) {
  .stripe-fallback-close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
  }
}

.stripe-fallback-close:active { transform: scale(0.92); }

.stripe-fallback-emoji {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 12px;
}

.stripe-fallback-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
  text-align: center;
  line-height: 1.25;
}

.stripe-fallback-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 22px;
  text-align: center;
}

.stripe-fallback-actions {
  display: grid;
  gap: 10px;
}

.stripe-fallback-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out-strong),
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.stripe-fallback-btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232, 50, 58, 0.28);
}

.stripe-fallback-btn--secondary {
  background: #f4f1eb;
  color: var(--text-dark);
}

@media (hover: hover) and (pointer: fine) {
  .stripe-fallback-btn--primary:hover {
    background: var(--red-dark);
    box-shadow: 0 10px 24px rgba(232, 50, 58, 0.36);
  }
  .stripe-fallback-btn--secondary:hover {
    background: #eae6dd;
  }
}

.stripe-fallback-btn:active { transform: scale(0.985); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 991px) {
  .einl-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .einl-hero-copy { order: 1; }
  .signup-card { order: 2; max-width: 540px; margin: 0 auto; width: 100%; }

  .einl-steps-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .reward-cards-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reward-cards-plus { display: none; }

  .gift-config-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gift-config-preview {
    position: static;
    order: -1;
  }

  .gift-included-grid,
  .gift-steps-grid {
    grid-template-columns: 1fr;
  }

  .gift-format-row {
    grid-template-columns: 1fr;
  }
  .gift-format-card {
    flex-direction: row;
    text-align: left;
    padding: 14px 16px;
    gap: 12px;
  }
  .gift-format-card .gift-format-emoji { font-size: 22px; }
  .gift-format-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .gift-format-card .gift-format-name { text-align: left; }
  .gift-format-card .gift-format-meta { text-align: left; }
}

@media (max-width: 640px) {
  .einl-hero { padding-left: 20px; padding-right: 20px; }
  .gift-hero { padding-left: 20px; padding-right: 20px; }
  .gift-config { padding-left: 20px; padding-right: 20px; }
  .einl-section, .gift-section, .gift-included, .gift-steps {
    padding-left: 20px; padding-right: 20px;
  }
  .einl-step-card { padding: 24px 18px; }
  .gift-config-form { padding: 22px; }
  .gift-cert-body { padding: 28px 22px; }
  .gift-hero-meta { gap: 8px 16px; font-size: 13px; }
  .gift-hero-cta { width: 100%; justify-content: center; }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  .einladung-page .reveal,
  .gift-page .reveal,
  .einladung-page .reveal-left,
  .gift-page .reveal-left,
  .einladung-page .reveal-right,
  .gift-page .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 200ms ease !important;
  }

  .gift-hero-blob {
    animation: none !important;
  }

  .reward-card,
  .einl-step-card,
  .gift-format-card,
  .gift-lesson-pill,
  .gift-included-item,
  .gift-step-card,
  .gift-step-card::after,
  .gift-pay-btn,
  .gift-hero-cta,
  .stripe-fallback-card,
  .stripe-fallback-btn {
    transition: opacity 200ms ease !important;
    transform: none !important;
    animation: none !important;
  }

  .gift-step-card::after { opacity: 0 !important; }

  .gift-cert-lessons-big,
  .gift-cert-format,
  .gift-cert-price-value,
  .gift-price-amount {
    transition: none !important;
  }
}

/* Focus visibility */
.einladung-page :focus-visible,
.gift-page :focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.gift-page .gift-hero-cta:focus-visible,
.gift-page .gift-pay-btn:focus-visible,
.einladung-page .signup-card-form .btn-submit-full:focus-visible {
  outline-offset: 4px;
}
