/* ───────────────────────────────────────────────────────────────────────────
   Finberatung — Upload-Link-Popup (2 Schritte) + Trigger-CTA
   Markenstil. Nutzt Variablen & Basis-Klassen (.field/.btn/.topic-chip) aus
   site.css. Wird von link-request.js eingebunden; das Modal-Markup injiziert
   das Script selbst — pro Seite genügt ein Button mit data-upload-trigger.
   ─────────────────────────────────────────────────────────────────────────── */

/* ── CTA-Karte auf den Seiten ──────────────────────────────────────────── */
.lr-cta{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px -44px rgba(31, 76, 59, 0.30);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lr-cta__icon{
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--koralle-wash);
  color: var(--koralle);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.lr-cta__icon svg{ width: 28px; height: 28px; }
.lr-cta .eyebrow{ justify-content: center; }
.lr-cta h2{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--waldgruen);
  margin: 0 0 14px;
  text-wrap: balance;
}
.lr-cta__lede{
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 52ch;
}
.lr-cta .btn--primary{ font-size: 16px; }
.lr-cta__trust{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.lr-cta__trust span{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.lr-cta__trust svg{ width: 16px; height: 16px; color: var(--waldgruen-mid); flex: 0 0 auto; }

/* ── Overlay + Modal ───────────────────────────────────────────────────── */
.lr-overlay{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(26, 39, 34, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .2s ease;
}
.lr-overlay[hidden]{ display: none; }
.lr-overlay.is-open{ opacity: 1; }

.lr-modal{
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(26, 39, 34, 0.55);
  padding: clamp(26px, 4vw, 40px);
  transform: translateY(14px) scale(0.985);
  transition: transform .22s cubic-bezier(.22,.61,.21,1);
}
.lr-overlay.is-open .lr-modal{ transform: none; }

.lr-close{
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border: none; background: transparent; cursor: pointer;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 24px; line-height: 1;
  display: grid; place-items: center;
  transition: background .15s ease, color .15s ease;
}
.lr-close:hover{ background: var(--waldgruen-wash); color: var(--waldgruen); }

.lr-step{ animation: lrFade .25s ease; }
.lr-step[hidden]{ display: none; }
@keyframes lrFade{ from{ opacity: 0; transform: translateY(6px); } to{ opacity: 1; transform: none; } }

.lr-modal .eyebrow{ margin-bottom: 14px; }
.lr-modal h2{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 4vw, 28px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--waldgruen);
  margin: 0 0 10px;
  padding-right: 28px;
  text-wrap: balance;
}
.lr-lede{
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}

/* Kanal-Auswahl (nutzt .topic-chips/.topic-chip aus site.css) */
.lr-channel{ margin-bottom: 4px; }
.lr-channel > span{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--waldgruen);
  margin-bottom: 9px;
}
.lr-hint{
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: -10px 0 16px;
}
.lr-privacy{
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.lr-privacy a{ color: var(--koralle); font-weight: 600; }

.lr-form .btn--primary{ width: 100%; justify-content: center; font-size: 16px; }
.lr-form textarea{ min-height: 80px; }
.lr-form .form-note{ font-size: 12px; color: var(--ink-soft); text-align: center; margin: 12px 0 0; }

/* Schritt 2 — Bestätigung */
.lr-step--2{ text-align: center; }
.lr-success-check{
  width: 64px; height: 64px;
  margin: 4px auto 20px;
  border-radius: 50%;
  background: var(--waldgruen);
  color: #fff;
  display: grid; place-items: center;
}
.lr-step--2 p{ color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin: 0 auto 16px; max-width: 34ch; }
.lr-countdown{
  font-size: 13px !important;
  color: var(--waldgruen) !important;
  font-weight: 600;
}
.lr-countdown b{ color: var(--koralle); }
.lr-step--2 .btn{ margin-top: 6px; }

/* Body-Scroll sperren, solange das Modal offen ist */
body.lr-lock{ overflow: hidden; }

@media (max-width: 600px){
  .lr-cta__trust{ gap: 8px 16px; }
}
