/**
 * Erfolgsladys – einheitliche Gold-Link-CTAs
 * Silent System (.silent-lp-cta-btn) + Mastery V3 (.elm-cta-btn)
 * Orange Quentn (#orange) und V2-Orange-CTAs bleiben in jeweiligen Seiten-CSS.
 */

:root {
  --brand-gold-light: #e8dfa8;
  --brand-gold-mid: #c9b76e;
  --brand-gold-rich: rgb(177, 159, 97);
  --brand-gold-deep: rgb(154, 136, 82);
  --brand-gold-dark: #7a6b42;
  --brand-gold-shadow: rgba(40, 32, 18, 0.22);
  --brand-gold-glow: rgba(177, 159, 97, 0.35);
  --brand-gold-ring: rgba(102, 9, 107, 0.1);
}

/* —— Basis: Pill + Gold-Gradient —— */
a.silent-lp-cta-btn,
.elm-page--v3 a.elm-cta-btn:not(.elm-cta-btn--ghost) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 100%;
  width: min(100%, 32rem);
  min-height: 3.25rem;
  padding: 1.05rem 4rem 1.05rem 1.5rem;
  box-sizing: border-box;
  background: linear-gradient(
    148deg,
    var(--brand-gold-light) 0%,
    var(--brand-gold-mid) 22%,
    var(--brand-gold-rich) 52%,
    var(--brand-gold-deep) 88%,
    var(--brand-gold-dark) 100%
  );
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-weight: 800;
  font-size: clamp(1.05rem, 2.6vw, 1.18rem);
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 8px 22px var(--brand-gold-shadow),
    0 0 0 1px var(--brand-gold-ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease,
    border-color 0.22s ease;
}

a.silent-lp-cta-btn:hover,
.elm-page--v3 a.elm-cta-btn:not(.elm-cta-btn--ghost):hover {
  color: #fff !important;
  filter: brightness(1.06) saturate(1.04);
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px var(--brand-gold-shadow),
    0 0 20px var(--brand-gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
}

a.silent-lp-cta-btn:active,
.elm-page--v3 a.elm-cta-btn:not(.elm-cta-btn--ghost):active {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

a.silent-lp-cta-btn:focus-visible,
.elm-page--v3 a.elm-cta-btn:not(.elm-cta-btn--ghost):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* —— Label + Pfeil-Kreis —— */
.silent-lp-cta-btn__label,
.elm-page--v3 a.elm-cta-btn:not(.elm-cta-btn--ghost) .elm-cta-btn__label {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  text-align: center;
  font-size: inherit;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.silent-lp-cta-btn__circle,
.elm-page--v3 a.elm-cta-btn:not(.elm-cta-btn--ghost) .elm-cta-btn__circle {
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: none;
}

/* —— Größere Varianten —— */
a.silent-lp-cta-btn--lg,
a.silent-lp-cta-btn--wide,
.elm-page--v3 a.elm-cta-btn--hero,
.elm-page--v3 a.elm-cta-btn--wide {
  font-size: clamp(1.12rem, 2.8vw, 1.25rem);
  padding: 1.1rem 4.25rem 1.1rem 1.6rem;
  width: min(100%, 34rem);
  min-height: 3.5rem;
}

a.silent-lp-cta-btn--lg .silent-lp-cta-btn__circle,
a.silent-lp-cta-btn--wide .silent-lp-cta-btn__circle,
.elm-page--v3 a.elm-cta-btn--hero .elm-cta-btn__circle,
.elm-page--v3 a.elm-cta-btn--wide .elm-cta-btn__circle {
  width: 2.85rem;
  height: 2.85rem;
}

.elm-page--v3 a.elm-cta-btn--hero .elm-cta-btn__label,
.elm-page--v3 a.elm-cta-btn--wide .elm-cta-btn__label {
  font-size: clamp(1.28rem, 3.9vw, 1.58rem);
  line-height: 1.05;
  letter-spacing: 0.025em;
}

@media (max-width: 575.98px) {
  a.silent-lp-cta-btn,
  a.silent-lp-cta-btn--lg,
  a.silent-lp-cta-btn--wide,
  .elm-page--v3 a.elm-cta-btn:not(.elm-cta-btn--ghost) {
    width: 100%;
    justify-content: center;
  }
}
