/* Angelique CTA questionnaire: adapted from the Heiko Rieger lead dialog. */
html.lead-locked,
html.lead-locked body { overflow:hidden; }

.hero-desktop-cta { margin-top:.25rem; }
:is(.button-primary,.button-outline-light,.button-submit) { position:relative; margin-bottom:54px; overflow:visible; }
:is(.button-primary,.button-outline-light,.button-submit)::after { content:""; position:absolute; z-index:3; right:28px; bottom:-53px; width:68px; aspect-ratio:101/153; background:url("assets/images/klicktipp-privacy-seal.png") center/contain no-repeat; filter:drop-shadow(0 7px 8px rgba(0,0,0,.58)); pointer-events:none; }
.mobile-cta::after { content:""; position:absolute; z-index:3; top:-44px; right:28px; width:54px; aspect-ratio:101/153; background:url("assets/images/klicktipp-privacy-seal.png") center/contain no-repeat; filter:drop-shadow(0 7px 8px rgba(0,0,0,.58)); pointer-events:none; }
.lead-window-entry { align-self:center; padding:clamp(1.6rem,4vw,2.5rem); border:1px solid rgba(189,129,39,.44); background:radial-gradient(circle at 50% 0,rgba(232,197,129,.18),transparent 42%),rgba(11,10,9,.82); color:var(--white); text-align:center; box-shadow:0 24px 70px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,255,255,.04); }
.lead-window-entry>img { width:112px; height:112px; margin:0 auto .5rem; object-fit:contain; filter:drop-shadow(0 8px 18px rgba(0,0,0,.46)); }
.lead-window-entry .eyebrow { margin-bottom:.55rem; }
.lead-window-entry h3 { max-width:430px; margin:0 auto .8rem; color:var(--white); font-size:clamp(1.55rem,3vw,2.15rem); }
.lead-window-entry>p:not(.eyebrow) { max-width:470px; margin:.5rem auto 1.35rem; color:rgba(255,255,255,.68); }
.lead-window-entry .button { width:min(100%,390px); margin-inline:auto; }
.lead-window-entry small { display:block; margin-top:1rem; color:rgba(255,255,255,.54); font-size:.68rem; letter-spacing:.04em; }

.lead-dialog { width:min(610px,calc(100% - 32px)); max-width:610px; max-height:calc(100dvh - 32px); padding:0; overflow:auto; border:1px solid #d5a34e; border-radius:24px; background:#0c0a08; color:#fffaf0; box-shadow:0 32px 120px rgba(0,0,0,.76),0 0 0 1px rgba(255,232,182,.14),inset 0 0 42px rgba(196,132,34,.07); font-family:var(--sans); text-align:left; overscroll-behavior:contain; }
.lead-dialog:not([open]),
.lead-dialog [hidden] { display:none !important; }
.lead-dialog::backdrop { background:rgba(8,6,4,.82); backdrop-filter:blur(7px); }
.lead-panel { position:relative; min-height:100%; padding:104px 34px 24px; overflow:hidden; background:radial-gradient(ellipse at 50% 0,rgba(205,143,45,.25),transparent 36%),linear-gradient(145deg,#17120d 0%,#0b0907 58%,#15100b 100%); }
.lead-panel::before,
.lead-panel::after { content:""; position:absolute; z-index:0; right:18px; left:18px; height:1px; background:linear-gradient(90deg,transparent,#d6a44e 20%,#f0cf8b 50%,#d6a44e 80%,transparent); opacity:.78; }
.lead-panel::before { top:86px; }
.lead-panel::after { bottom:54px; }
.lead-panel>* { position:relative; z-index:1; }
.lead-ornament { position:absolute; z-index:2; top:7px; left:50%; width:94px; height:94px; transform:translateX(-50%); }
.lead-ornament img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 7px 14px rgba(0,0,0,.55)); }
.lead-head { display:flex; align-items:center; gap:12px; }
.lead-meta { flex:1; min-width:0; text-align:center; }
.lead-dialog .lead-meta p { margin:0; color:#fffaf0; font-size:14px; line-height:1.45; }
.lead-dialog .lead-meta .lead-progress-text { margin-top:4px; color:#cdbb9f; font-size:12px; }
.lead-icon { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; padding:0; border:1px solid rgba(232,197,129,.45); border-radius:50%; background:rgba(255,255,255,.035); color:#f0cf8b; font:24px/1 var(--sans); cursor:pointer; transition:background-color .2s ease,border-color .2s ease,transform .2s ease; }
.lead-icon:hover { border-color:#f0cf8b; background:rgba(232,197,129,.12); transform:translateY(-1px); }
.lead-progress { height:5px; margin:21px 0 30px; overflow:hidden; border-radius:999px; background:rgba(255,255,255,.1); }
.lead-progress>span { display:block; width:25%; height:100%; border-radius:inherit; background:linear-gradient(90deg,#8b5317,#f5d993 48%,#bd8127); box-shadow:0 0 14px rgba(240,207,139,.48); transition:width .3s ease; }
.lead-dialog .lead-step { min-width:0; margin:0; padding:0; border:0; }
.lead-dialog .lead-question { display:block; width:100%; margin:0 0 18px; padding:0; color:#fffaf0; font-family:var(--serif); font-size:clamp(1.75rem,5vw,2.35rem); font-weight:400; letter-spacing:-.02em; line-height:1.12; text-align:center; }
.lead-dialog .lead-sub,
.lead-dialog .lead-bonus { max-width:470px; margin:-6px auto 22px; color:#cdbfae; font-size:14px; line-height:1.6; text-align:center; }
.lead-choices { display:grid; gap:11px; }
.lead-choice { position:relative; display:block; cursor:pointer; }
.lead-choice>input { position:absolute; top:20px; left:20px; width:1px; height:1px; opacity:0; }
.lead-choice>span { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:61px; padding:14px 18px; border:1px solid rgba(232,197,129,.25); border-radius:12px; background:linear-gradient(120deg,rgba(255,250,240,.065),rgba(197,138,43,.035)); color:#f9f0e3; font-size:15px; line-height:1.4; transition:background-color .16s ease,border-color .16s ease,transform .16s ease; }
.lead-choice:hover>span { border-color:#d6a44e; background:rgba(232,197,129,.11); transform:translateY(-1px); }
.lead-choice>input:checked+span { border-color:#f0cf8b; background:linear-gradient(120deg,rgba(139,83,23,.72),rgba(205,143,45,.32)); box-shadow:inset 0 0 0 1px rgba(255,240,204,.12),0 7px 20px rgba(0,0,0,.2); }
.lead-choice-check { color:#f5d993; font-size:19px; opacity:0; }
.lead-choice>input:checked+span .lead-choice-check { opacity:1; }
.lead-choice>input:focus-visible+span,
.lead-dialog button:focus-visible,
.lead-dialog a:focus-visible { outline:3px solid #f0cf8b; outline-offset:3px; }
.lead-next { display:flex; align-items:center; justify-content:center; gap:.75rem; width:100%; min-height:54px; margin-top:20px; padding:12px 18px; border:1px solid #f2d28f; border-radius:999px; background:linear-gradient(180deg,#fff0c6 0%,#d89a31 48%,#9a5b13 100%); color:#2c1906; font:600 14px/1.4 var(--sans); letter-spacing:.045em; text-transform:uppercase; box-shadow:inset 0 2px 0 rgba(255,255,255,.7),inset 0 -3px 0 rgba(89,45,4,.45),0 10px 24px rgba(0,0,0,.34); cursor:pointer; }
.lead-next:disabled { opacity:.4; cursor:default; filter:saturate(.4); }
.lead-dialog .lead-pre { margin:0 0 7px; color:#e8c581; font-size:12px; font-weight:600; letter-spacing:.13em; text-align:center; text-transform:uppercase; }
.lead-dialog .lead-form-wrapper { padding:0; }
.lead-dialog .lead-form { max-width:none; margin:0; padding:0; border:0; background:transparent; color:#fffaf0; box-shadow:none; text-align:left; }
.lead-dialog .form-assurance { color:#e8c581; text-align:center; }
.lead-dialog .form-field label { color:#fffaf0; }
.lead-dialog .form-field label span,
.lead-dialog .form-field small,
.lead-dialog .form-privacy-note { color:#cbbba7; }
.lead-dialog .form-field input { border-color:rgba(232,197,129,.48); background:#f7ede0; color:#17130e; }
.lead-dialog .form-privacy-note a { color:#f0cf8b; }
.lead-dialog .form-status { color:#fffaf0; }
.lead-dialog .lead-private { margin:24px 0 0; color:#af9f8b; font-size:11px; letter-spacing:.04em; line-height:1.5; text-align:center; }

@media (max-width:780px) {
  .hero-desktop-cta { display:none; }
  :is(.button-primary,.button-outline-light,.button-submit) { margin-bottom:44px; }
  :is(.button-primary,.button-outline-light,.button-submit)::after { right:25px; bottom:-42px; width:54px; }
  .lead-dialog { width:calc(100% - 18px); max-height:calc(100dvh - 18px); border-radius:18px; }
  .lead-panel { padding:94px 19px 18px; }
  .lead-ornament { width:84px; height:84px; }
  .lead-panel::before { top:78px; }
  .lead-dialog .lead-question { font-size:clamp(1.65rem,8vw,2rem); }
  .lead-choice>span { min-height:56px; padding:12px 15px; font-size:14px; }
}

@media (prefers-reduced-motion:reduce) {
  .lead-dialog *,
  .lead-dialog *::before,
  .lead-dialog *::after { scroll-behavior:auto !important; transition:none !important; }
}

/* Separater WhatsApp-Dialog: gleicher Ablauf wie Perfekte Masche, im Paraworks-Look. */
.whatsapp-lead-dialog .lead-next {
  border-color:#25d366;
  background:#148f49;
  color:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.34);
  text-shadow:none;
}
.whatsapp-lead-dialog .lead-next:not(:disabled):hover { background:#25d366; }
.whatsapp-lead-dialog .lead-next:not(:disabled):active { background:#148f49; }
.whatsapp-lead-form { display:grid; gap:18px; }
.whatsapp-lead-form input {
  width:100%;
  min-height:54px;
  padding:13px 15px;
  border:1px solid rgba(232,197,129,.48);
  border-radius:10px;
  background:#f7ede0;
  color:#17130e;
  font:16px var(--sans);
}
.whatsapp-lead-form input::placeholder { color:#6f6254; opacity:1; }
.whatsapp-lead-form input:focus-visible { outline:2px solid #f0cf8b; outline-offset:2px; }
.whatsapp-lead-submit {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:54px;
  padding:12px 18px;
  border:0;
  border-radius:999px;
  background:#148f49;
  color:#fff;
  font:600 clamp(13px,3.6vw,16px)/1.25 var(--sans);
  box-shadow:0 5px 14px rgba(0,0,0,.34);
  cursor:pointer;
  transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease;
}
.whatsapp-lead-submit svg { width:20px; height:20px; flex:none; }
.whatsapp-lead-submit:hover { background:#25d366; transform:translateY(-1px); box-shadow:0 7px 17px rgba(0,0,0,.4); }
.whatsapp-lead-submit:active { transform:translateY(1px); box-shadow:0 2px 6px rgba(0,0,0,.3); }
.whatsapp-lead-dialog .whatsapp-lead-privacy { margin:0; color:#cdbfae; font-size:12px; line-height:1.6; }
.whatsapp-lead-privacy a { color:#f0cf8b; text-decoration:underline; text-underline-offset:3px; }
