/* ==========================================================================
   Puels.legal · Lead-Magnet (Abfindungsrechner PDF)
   ========================================================================== */

.calc-leadmagnet-section {
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.calc-leadmagnet {
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--r-xl, 24px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,33,61,.97), rgba(20,33,61,.97)),
    radial-gradient(1200px 400px at 0% -20%, rgba(176,136,86,.25), transparent 60%);
  background-color: var(--navy, #14213D);
  color: var(--text-on-dark, #F5F2EA);
  box-shadow: var(--shadow-lg);
  position: relative;
  isolation: isolate;
}

.calc-leadmagnet::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 300px at 100% 110%, rgba(176,136,86,.18), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.calc-leadmagnet-inner {
  padding: clamp(2rem, 4vw, 3rem);
}

.lm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-bright, #D4B36A);
  margin-bottom: 1rem;
}

.lm-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(212,179,106,.18);
}

.calc-leadmagnet h3 {
  font-family: var(--font-serif, "Instrument Serif", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: #fff;
}

.calc-leadmagnet h3 .italic-accent {
  font-style: italic;
  color: var(--gold-bright, #D4B36A);
}

.lm-lead {
  font-size: .98rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted, #A0A6B4);
  margin: 0 0 1.75rem;
  max-width: 60ch;
}

.lm-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 600px) {
  .lm-row { grid-template-columns: 1fr; }
}

.lm-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.lm-field span {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-on-dark-muted, #A0A6B4);
  letter-spacing: .02em;
}

.lm-field input {
  font: inherit;
  font-size: .95rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.lm-field input::placeholder {
  color: rgba(255,255,255,.45);
}

.lm-field input:focus {
  outline: none;
  border-color: var(--gold, #B08856);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(176,136,86,.18);
}

.lm-consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--text-on-dark-muted, #A0A6B4);
  cursor: pointer;
}

.lm-consent input[type="checkbox"] {
  margin-top: .15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--gold, #B08856);
  flex: 0 0 auto;
}

.lm-consent a {
  color: var(--gold-bright, #D4B36A);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lm-submit {
  margin-top: .35rem;
  align-self: flex-start;
}

.lm-submit svg {
  margin-left: .35rem;
  vertical-align: middle;
  transition: transform .2s;
}

.lm-submit:hover svg {
  transform: translateX(4px);
}

.lm-status {
  font-size: .92rem;
  padding: .85rem 1.1rem;
  border-radius: 10px;
}

.lm-status.is-success {
  background: rgba(46,94,78,.2);
  border: 1px solid rgba(46,94,78,.5);
  color: #B5DCC9;
}

.lm-status.is-error {
  background: rgba(184,58,44,.2);
  border: 1px solid rgba(184,58,44,.5);
  color: #F4B8B0;
}
