/* ============================================================
   HeyAspi — Gratis-Analyse · Single-Funnel Landingpage
   Mobile-first. Eigenständig, auf Basis der HeyAspi Brand-Tokens.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --hh: 60px;

  /* === MARKENFARBEN (Platzhalter-Hinweis) =================
     Sage-Palette aus dem HeyAspi Brand Guide. Bei Bedarf hier
     zentral anpassen. ====================================== */
  --bg:        #F1F1EC;
  --bg-card:   #FFFFFF;
  --bg-card-h: #FBFBF7;
  --border:    #DDDDD5;
  --border-a:  rgba(122,158,126,0.45);

  --accent:    #7A9E7E;   /* Sage – Primärakzent */
  --accent2:   #4E7352;   /* Sage Deep */
  --accent-lt: #A8C4A8;
  --accent-mist: #E8F0E8;
  --accent-gl: rgba(122,158,126,0.30);

  --text:      #263545;
  --text-dim:  #586B7C;
  --text-mut:  #8B9AAB;

  --c-amber:   #D68910;

  --rm: 12px;
  --rl: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(38,53,69,.06);
  --shadow-md: 0 4px 16px rgba(38,53,69,.10);
  --shadow-lg: 0 12px 32px rgba(38,53,69,.14);
  --shadow-xl: 0 24px 60px rgba(38,53,69,.18);

  --maxw: 720px;          /* schmaler = fokussierter Funnel */
  --maxw-wide: 1000px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle 600px at 50% -5%, rgba(122,158,126,.14) 0%, transparent 60%),
    radial-gradient(circle 500px at 100% 30%, rgba(122,158,126,.06) 0%, transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--text);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent-mist); color: var(--accent2); }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: var(--maxw-wide); }
.section { padding: clamp(48px, 9vw, 88px) 0; }
.section--tight { padding: clamp(36px, 7vw, 64px) 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-mist);
  border: 1px solid rgba(122,158,126,.35);
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  color: var(--accent2); text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.8);} }

/* ============================================================
   SPECIAL-OFFER COUNTER (Launch-Special)
   ============================================================ */
.offer {
  position: relative; overflow: hidden;
  display: flex; gap: 14px; align-items: center; text-align: left;
  max-width: 480px; margin: 22px auto 0;
  padding: 16px 18px;
  border-radius: var(--rl);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(214,137,16,.12) 0%, transparent 55%),
    var(--bg-card);
  border: 1px solid rgba(214,137,16,.35);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(214,137,16,.06);
  animation: fadeUp .5s var(--ease) both;
}
.offer::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transform: translateX(-120%); animation: offerShine 4.5s var(--ease) 1s infinite;
  pointer-events: none;
}
@keyframes offerShine { 0% { transform: translateX(-120%); } 35%,100% { transform: translateX(120%); } }
.offer-flame {
  flex-shrink: 0; font-size: 1.7rem; line-height: 1;
  animation: offerFlame 1.8s ease-in-out infinite;
}
@keyframes offerFlame { 0%,100%{ transform: rotate(-4deg) scale(1);} 50%{ transform: rotate(4deg) scale(1.12);} }
.offer-main { flex: 1; min-width: 0; }
.offer-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.offer-badge {
  font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, #E8A33C, #D6760F);
  padding: 4px 9px; border-radius: var(--r-pill);
}
.offer-deal { font-size: .98rem; font-weight: 700; color: var(--text); font-family: 'Nunito', sans-serif; }
.offer-deal strong { color: #C0820F; font-weight: 900; }
.offer-sub { font-size: .82rem; color: var(--text-dim); margin: 5px 0 10px; line-height: 1.4; }
.offer-sub strong { color: var(--text); }
.offer-bar {
  height: 9px; border-radius: var(--r-pill);
  background: rgba(214,137,16,.14); overflow: hidden;
}
.offer-bar-fill {
  height: 100%; width: 0; border-radius: var(--r-pill);
  background: linear-gradient(90deg, #E8A33C, #D6760F);
  box-shadow: 0 0 10px rgba(214,137,16,.5);
  transition: width 1s var(--ease);
}
.offer-meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  margin-top: 7px; font-size: .76rem; color: var(--text-mut);
}
.offer-left strong { color: #C0820F; font-weight: 900; font-size: .92rem; }
/* „fast voll" — Dringlichkeit hochdrehen */
.offer.is-hot { border-color: rgba(217,89,76,.5); box-shadow: var(--shadow-md), 0 0 0 4px rgba(217,89,76,.08); }
.offer.is-hot .offer-bar-fill { background: linear-gradient(90deg, #E8743C, #D9594C); box-shadow: 0 0 12px rgba(217,89,76,.55); }
.offer.is-hot .offer-left strong { color: #C0392B; }
/* ausgebucht */
.offer.is-full { opacity: .9; }
.offer.is-full .offer-flame { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .offer, .offer::before, .offer-flame { animation: none !important; }
  .offer::before { display: none; }
}

.accent { color: var(--accent); }

/* ============================================================
   HEADER (schlank, ein CTA)
   ============================================================ */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--hh);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px;
  background: rgba(241,241,236,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.lp-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.lp-logo img { height: 34px; width: auto; }
.lp-logo-name { font-family: 'Nunito', sans-serif; font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; }
.lp-logo-name .a { color: var(--text); }
.lp-logo-name .b { color: var(--accent); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem; font-weight: 700;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent2); box-shadow: var(--shadow-lg); }
.btn-primary:active { transform: translateY(0); }
.btn-sm { padding: 9px 20px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(40px, 9vw, 72px) 0 clamp(28px, 6vw, 48px); position: relative; }
.hero .wrap { position: relative; z-index: 1; }
.hero-h1 {
  font-size: clamp(2.1rem, 7.5vw, 3.5rem);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.04;
  margin: 22px 0 0;
}
.hero-pain {
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  color: var(--text-dim); line-height: 1.6;
  margin: 20px 0 0; max-width: 560px;
}
.hero .center .hero-pain { margin-left: auto; margin-right: auto; }
.hero-cta-row { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (min-width: 560px) { .hero-cta-row { flex-direction: row; justify-content: center; } }

.hook {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-radius: var(--rl);
  background: var(--bg-card);
  border: 1px dashed var(--border-a);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.hook .ico { font-size: 1.5rem; flex-shrink: 0; }
.hook strong { color: var(--accent2); }
.hook span { font-size: .95rem; color: var(--text-dim); }

.hero-trust {
  margin-top: 22px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
  font-size: .9rem; color: var(--text-dim);
}
.hero-trust .stars { color: #F0A93B; letter-spacing: 2px; }
.hero-trust strong { color: var(--text); }
.hero-trust .bullet { color: var(--border); }

/* ============================================================
   PAIN BLOCK
   ============================================================ */
.pain-list { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 720px) { .pain-list { grid-template-columns: repeat(3, 1fr); } }
.pain-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.pain-item .ico { font-size: 1.6rem; }
.pain-item h3 { font-size: 1.12rem; margin: 12px 0 6px; }
.pain-item p { color: var(--text-dim); font-size: .96rem; }

/* ============================================================
   ANALYSE-LEISTUNGEN
   ============================================================ */
.deliver { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 600px) { .deliver { grid-template-columns: 1fr 1fr; } }
.deliver-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.deliver-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-a); }
.deliver-card .ico-box {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-mist); color: var(--accent2);
  display: grid; place-items: center; margin-bottom: 16px;
}
.deliver-card .ico-box svg { width: 24px; height: 24px; }
.deliver-card h3 { font-size: 1.16rem; margin-bottom: 6px; }
.deliver-card p { color: var(--text-dim); font-size: .95rem; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.step-num {
  width: 48px; height: 48px; margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(122,158,126,.35);
}
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: .94rem; }

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.proof-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); font-weight: 700; }
.logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 5vw, 48px); margin-top: 22px;
}
.logo-ph { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--text-mut); opacity: .7; }

.tg { display: grid; gap: 16px; margin-top: 30px; }
@media (min-width: 720px) { .tg { grid-template-columns: repeat(2, 1fr); } }
.test {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px; text-align: left;
}
.test .stars { color: #F0A93B; letter-spacing: 2px; font-size: .95rem; }
.test blockquote { font-size: 1rem; line-height: 1.55; color: var(--text); }
.test-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.test-av {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent-lt));
  display: grid; place-items: center;
  font-family: 'Nunito', sans-serif; font-weight: 900; color: #fff; font-size: .9rem;
}
.test-who .nm { font-weight: 700; font-size: .9rem; }
.test-who .ro { font-size: .8rem; color: var(--text-mut); }

/* ============================================================
   FORMULAR (Conversion-Kern)
   ============================================================ */
.form-section { scroll-margin-top: 80px; }
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-top: 34px;
}
.form-top {
  background: linear-gradient(150deg, var(--accent2), var(--accent));
  color: #fff;
  padding: 30px clamp(24px, 5vw, 40px);
  text-align: center;
}
.form-top h2 { color: #fff; font-size: clamp(1.5rem, 4vw, 2rem); }
.form-top p { color: rgba(255,255,255,.9); margin-top: 8px; font-size: 1rem; }
.form-body { padding: clamp(26px, 5vw, 40px); }

.transparency {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--accent-mist);
  border: 1px solid rgba(122,158,126,.3);
  border-radius: var(--rm);
  padding: 14px 16px; margin-bottom: 26px;
  font-size: .88rem; color: var(--accent2);
}
.transparency svg { flex-shrink: 0; margin-top: 2px; }

.fld { margin-bottom: 18px; }
.fld label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; }
.fld label .opt { color: var(--text-mut); font-weight: 400; }
.fld .pre {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: var(--rm);
  background: var(--bg); overflow: hidden;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.fld .pre:focus-within { border-color: var(--accent); background: var(--bg-card); box-shadow: 0 0 0 4px var(--accent-gl); }
.fld .pre .sym { padding: 0 4px 0 14px; color: var(--text-mut); font-weight: 600; }
.fld .pre input { border: none; background: transparent; box-shadow: none !important; padding-left: 6px; }
.fld input, .fld select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--rm);
  background: var(--bg);
  font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.fld input:focus, .fld select:focus { outline: none; border-color: var(--accent); background: var(--bg-card); box-shadow: 0 0 0 4px var(--accent-gl); }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.fld .hint { font-size: .82rem; color: var(--text-mut); margin-top: 6px; }

.form-foot-note { text-align: center; font-size: .84rem; color: var(--text-mut); margin-top: 14px; }
.form-foot-note a { color: var(--accent2); text-decoration: underline; }

/* Erfolgs-State */
.form-success { display: none; text-align: center; padding: clamp(36px, 6vw, 56px) clamp(22px, 4vw, 40px); }
.form-success.show { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity:0; transform: translateY(12px);} to { opacity:1; transform: translateY(0);} }
.form-success .check {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--accent-mist); color: var(--accent2);
  display: grid; place-items: center; margin: 0 auto 22px;
}
.form-success h2 { font-size: 1.7rem; margin-bottom: 12px; }
.form-success p { color: var(--text-dim); max-width: 440px; margin: 0 auto; }
.form-success .next {
  margin-top: 24px; padding: 16px 20px; border-radius: var(--rm);
  background: var(--bg); border: 1px solid var(--border);
  font-size: .92rem; color: var(--text-dim); text-align: left;
  display: inline-flex; gap: 12px; align-items: flex-start;
}
.form-success .next svg { flex-shrink: 0; margin-top: 2px; color: var(--accent2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; margin-top: 34px; }
.faq details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--rm); padding: 2px 22px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--border-a); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 0;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform .25s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 18px; color: var(--text-dim); font-size: .96rem; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(241,241,236,.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  transform: translateY(120%); transition: transform .35s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 760px) { .sticky-cta { display: none; } }

/* ============================================================
   FOOTER
   ============================================================ */
.lp-foot { border-top: 1px solid var(--border); background: rgba(255,255,255,.4); margin-top: 8px; }
.lp-foot-in {
  max-width: var(--maxw-wide); margin: 0 auto; padding: 30px 22px 96px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
@media (min-width: 760px) { .lp-foot-in { flex-direction: row; justify-content: space-between; padding-bottom: 30px; } }
.lp-foot-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.lp-foot-links a { text-decoration: none; color: var(--text-dim); font-size: .86rem; font-weight: 600; }
.lp-foot-links a:hover { color: var(--accent2); }
.lp-foot-copy { font-size: .82rem; color: var(--text-mut); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .sticky-cta { transition: none; }
  .psi-spin, .psi-live-dot { animation: none !important; }
  .psi-ring-fill { animation: none !important; stroke-dashoffset: var(--off); }
  .psi-hero, .psi-score, .psi-opps li { animation: none !important; }
}

/* ============================================================
   LIVE-ANALYSE (PageSpeed Insights) — URL-Check + Report
   ============================================================ */
.psi-box {
  margin: 28px auto 0;
  max-width: 600px;
}
.psi-form {
  display: flex; gap: 12px; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
/* dezenter Gradient-Rahmen-Akzent oben */
.psi-form::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--rl); padding: 1px;
  background: linear-gradient(120deg, var(--accent-gl), transparent 40%, transparent 60%, var(--accent-gl));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .8;
}
.psi-fields { display: grid; gap: 10px; }
@media (min-width: 560px) { .psi-fields { grid-template-columns: 1fr 1fr; } }
.psi-input-full { width: 100%; }
.psi-input-wrap {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--rm);
  background: var(--bg); overflow: hidden;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.psi-input-wrap:focus-within { border-color: var(--accent); background: var(--bg-card); box-shadow: 0 0 0 4px var(--accent-gl); }
.psi-input-wrap.is-invalid { border-color: #D9594C; box-shadow: 0 0 0 4px rgba(217,89,76,.18); }
.psi-input-wrap.is-flash { animation: psiFlash 1.4s var(--ease); }
@keyframes psiFlash {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-gl); }
  30% { box-shadow: 0 0 0 6px var(--accent-gl); border-color: var(--accent); }
}
.psi-input-wrap .sym { padding: 0 2px 0 14px; color: var(--text-mut); }
.psi-input-wrap input {
  flex: 1; min-width: 0; border: none; background: transparent;
  padding: 14px 14px 14px 8px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--text);
}
.psi-input-wrap input:focus { outline: none; }
.psi-form .btn { white-space: nowrap; width: 100%; }

/* Consent-Hinweis unter dem Live-Check */
.psi-consent {
  display: flex; gap: 8px; align-items: flex-start;
  margin: 12px auto 0; max-width: 600px;
  font-size: .8rem; line-height: 1.5; color: var(--text-mut);
}
.psi-consent .sym { flex-shrink: 0; }

/* Ergebnis-Panel (der „iFrame"-Look) */
.psi-panel {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeUp .4s var(--ease);
}
.psi-panel-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #232A3D 0%, #1A1F2E 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.psi-panel-bar .dot3 { width: 11px; height: 11px; border-radius: 50%; }
.psi-panel-bar .r { background: #FF5F57; }
.psi-panel-bar .y { background: #FEBC2E; }
.psi-panel-bar .g { background: #28C840; }
.psi-panel-bar .ttl { margin-left: 8px; font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 600; }
.psi-panel-bar .badge { margin-left: auto; font-size: .72rem; color: var(--accent-lt); font-weight: 700; letter-spacing: .04em; }
.psi-panel-body { padding: clamp(20px, 4vw, 30px); }

/* Lade-/Fehlerstatus */
.psi-state { font-size: .95rem; color: var(--text-dim); line-height: 1.55; }
.psi-state.is-loading { color: var(--text); }
.psi-state.is-error { color: var(--c-amber); background: #FFF8EE; border: 1px solid #F3E2C4; border-radius: var(--rm); padding: 16px; }
.psi-state .psi-link { display: inline-block; margin-top: 8px; color: var(--accent2); font-weight: 700; text-decoration: underline; }
.psi-spin {
  display: inline-block; width: 15px; height: 15px; vertical-align: -2px;
  border: 2px solid var(--accent-mist); border-top-color: var(--accent);
  border-radius: 50%; animation: psiSpin .8s linear infinite; margin-right: 6px;
}
@keyframes psiSpin { to { transform: rotate(360deg); } }

/* ---- Report (2030-Look: Glas, Gradient-Ringe, Stagger) ---- */
.psi-report-head { margin-bottom: 20px; }
.psi-report-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent2);
}
.psi-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #28C840;
  box-shadow: 0 0 0 0 rgba(40,200,64,.6); animation: psiPulse 1.8s var(--ease) infinite;
}
@keyframes psiPulse { 70% { box-shadow: 0 0 0 6px rgba(40,200,64,0); } 100% { box-shadow: 0 0 0 0 rgba(40,200,64,0); } }
.psi-report-head h3 { font-size: 1.25rem; margin-top: 6px; }

/* Score-Farbpaare (für SVG-Gradienten) */
.psi-score.good, .psi-hero.good { --c1: #34D27B; --c2: #15A85A; --txt: #1E8A4E; }
.psi-score.avg,  .psi-hero.avg  { --c1: #FFC24B; --c2: #E89400; --txt: #B8780A; }
.psi-score.poor, .psi-hero.poor { --c1: #FF7A6E; --c2: #E03B2C; --txt: #C0392B; }
.psi-score.na,   .psi-hero.na   { --c1: var(--border); --c2: var(--text-mut); --txt: var(--text-mut); }

/* GESAMT-SCORE-HERO */
.psi-hero {
  display: flex; align-items: center; gap: clamp(16px, 4vw, 26px);
  padding: clamp(16px, 4vw, 22px);
  margin-bottom: 24px;
  border-radius: var(--rl);
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c1) 12%, transparent) 0%, transparent 55%),
    var(--bg-card-h);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: fadeUp .5s var(--ease) both;
}
.psi-hero-ring { position: relative; width: clamp(96px, 26vw, 118px); aspect-ratio: 1; flex-shrink: 0; }
.psi-hero-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.psi-hero-num {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1;
}
.psi-hero-num span { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: clamp(1.7rem, 6vw, 2.1rem); color: var(--txt); }
.psi-hero-num small { display: block; font-size: .68rem; font-weight: 700; color: var(--text-mut); margin-top: 3px; letter-spacing: .04em; }
.psi-hero-txt { display: grid; gap: 3px; }
.psi-hero-tag { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-mut); }
.psi-hero-txt strong { font-size: clamp(1.15rem, 4vw, 1.45rem); font-weight: 800; color: var(--text); font-family: 'Nunito', sans-serif; }
.psi-hero-txt p { font-size: .9rem; color: var(--text-dim); line-height: 1.45; }

/* SVG-Ringe (Hero + Mini) — gemeinsamer Sweep */
.psi-ring-track { fill: none; stroke: var(--border); stroke-width: 7; opacity: .7; }
.psi-hero-ring .psi-ring-track { stroke-width: 9; }
.psi-ring-fill {
  fill: none; stroke-width: 7; stroke-linecap: round;
  stroke-dashoffset: var(--dash, 999);
  animation: psiSweep 1.1s var(--ease) forwards;
  filter: drop-shadow(0 1px 4px color-mix(in srgb, var(--c2) 40%, transparent));
}
.psi-hero-ring .psi-ring-fill { stroke-width: 9; animation-duration: 1.3s; }
@keyframes psiSweep { to { stroke-dashoffset: var(--off); } }

/* MINI-SCORES */
.psi-scores {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-bottom: 26px;
}
@media (min-width: 460px) { .psi-scores { grid-template-columns: repeat(4, 1fr); } }
.psi-score {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  animation: fadeUp .5s var(--ease) both; animation-delay: calc(.08s * var(--i, 0) + .15s);
}
.psi-ring { position: relative; width: 64px; height: 64px; }
.psi-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.psi-ring-val {
  position: absolute; inset: 0; display: grid; place-content: center;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.12rem; color: var(--txt);
}
.psi-score-lbl { font-size: .82rem; color: var(--text-dim); font-weight: 600; }

/* OPPORTUNITIES */
.psi-opps h4 { font-size: 1.02rem; margin-bottom: 12px; }
.psi-opps ul { list-style: none; display: grid; gap: 8px; }
.psi-opps li {
  display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; color: var(--text-dim);
  padding: 11px 13px; border-radius: var(--rm);
  background: var(--bg-card-h); border: 1px solid var(--border);
  animation: fadeUp .5s var(--ease) both; animation-delay: calc(.07s * var(--i, 0) + .35s);
}
.psi-opps li em { color: var(--accent2); font-style: normal; font-weight: 700; }
.psi-dot {
  width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; flex-shrink: 0;
  background: var(--c-amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-amber) 18%, transparent);
}

.psi-report-note {
  margin: 22px 0 4px; padding: 16px 18px;
  background: var(--accent-mist); border: 1px solid rgba(122,158,126,.3);
  border-radius: var(--rm); font-size: .92rem; color: var(--accent2); line-height: 1.55;
}
.psi-report-note--ok { display: flex; gap: 12px; align-items: flex-start; }
.psi-note-ico { flex-shrink: 0; font-size: 1.1rem; line-height: 1.4; }
.psi-disclaimer { margin-top: 12px; font-size: .78rem; color: var(--text-mut); text-align: center; }
.psi-disclaimer a { color: var(--text-dim); }

/* ============================================================
   DIREKT-WARTELISTE (ohne SEO-Check)
   ============================================================ */
.wl-or {
  display: flex; align-items: center; gap: 14px;
  max-width: 600px; margin: 22px auto 18px;
  color: var(--text-mut); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.wl-or::before, .wl-or::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.wl-box {
  max-width: 600px; margin: 0 auto;
  padding: 20px;
  border-radius: var(--rl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.wl-lead { font-size: .98rem; color: var(--text-dim); margin-bottom: 14px; line-height: 1.5; }
.wl-lead strong { color: var(--text); }
.wl-form { display: flex; gap: 10px; flex-direction: column; }
@media (min-width: 520px) { .wl-form { flex-direction: row; } }
.wl-input { flex: 1; }
.wl-input .sym { color: var(--accent); font-weight: 800; }
.wl-form .btn { white-space: nowrap; }
.wl-state {
  margin-top: 12px; font-size: .88rem; color: #C0392B; text-align: left;
  background: #FFF4F2; border: 1px solid #F3D2CC; border-radius: var(--rm); padding: 12px 14px;
}
.wl-success[hidden], .wl-state[hidden] { display: none; }
.wl-success {
  display: flex; gap: 12px; align-items: flex-start; text-align: left;
  padding: 16px 18px; border-radius: var(--rm);
  background: var(--accent-mist); border: 1px solid rgba(122,158,126,.35);
  color: var(--accent2); font-size: .94rem; line-height: 1.5;
  animation: fadeUp .4s var(--ease);
}
.wl-success strong { color: var(--text); }
.wl-check { flex-shrink: 0; font-size: 1.15rem; line-height: 1.3; }
.wl-consent { margin-top: 12px; font-size: .76rem; color: var(--text-mut); }

/* ============================================================
   FINAL-CTA-SEKTION (ersetzt das alte Formular)
   ============================================================ */
.cta-section { padding-top: 8px; }
.cta-card {
  position: relative; overflow: hidden;
  max-width: 640px; margin: 0 auto;
  text-align: center;
  padding: clamp(30px, 7vw, 52px) clamp(22px, 5vw, 44px);
  border-radius: var(--rl);
  color: #EAF1EA;
  background:
    radial-gradient(140% 120% at 50% -10%, rgba(122,158,126,.35) 0%, transparent 55%),
    linear-gradient(160deg, #2A3340 0%, #1A2230 100%);
  border: 1px solid rgba(122,158,126,.28);
  box-shadow: var(--shadow-xl);
}
.cta-glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .25; top: -120px; right: -80px; pointer-events: none; filter: blur(8px);
}
.eyebrow.on-dark { color: var(--accent-lt); }
.eyebrow.on-dark .dot { background: var(--accent-lt); }
.cta-h2 {
  position: relative; z-index: 1;
  font-family: 'Nunito', sans-serif; font-weight: 900;
  font-size: clamp(1.6rem, 5.4vw, 2.4rem); line-height: 1.18;
  margin-top: 16px; color: #fff;
}
.cta-h2 .accent { color: var(--accent-lt); }
.cta-sub {
  position: relative; z-index: 1;
  margin: 16px auto 0; max-width: 480px;
  color: rgba(234,241,234,.8); font-size: 1rem; line-height: 1.6;
}
.cta-perks {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 22px 0 6px;
}
.cta-perks .perk {
  font-size: .85rem; font-weight: 600; color: #EAF1EA;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.cta-row { position: relative; z-index: 1; margin-top: 26px; }
.cta-card .btn-primary { box-shadow: 0 10px 30px rgba(122,158,126,.45); }
.cta-foot { position: relative; z-index: 1; margin-top: 16px; font-size: .82rem; color: rgba(234,241,234,.6); }
.cta-foot a { color: var(--accent-lt); }
.cta-microcopy { margin-top: 12px; font-size: .85rem; color: var(--text-mut); }
