/* Fragebogen (gemeinsam für Startseite und /start): 6 Fragen antippen, Name + Nummer, Mail via /api/lead */
#q { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; color: #fff; }
#q::backdrop { background: rgba(0,0,0,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#q[open] { display: grid; place-items: center; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
.qbox { position: relative; width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; background: #0b0b0b; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); }
.qbar { height: 2px; background: #222; border-radius: 2px; overflow: hidden; margin: 0 48px 28px 0; }
.qbar i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .4s var(--ease, cubic-bezier(.2,.7,.2,1)); }
.qclose { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: background .2s, color .2s; }
.qclose:hover { background: #fff; color: #000; }
.qclose svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; }
.qstep { display: none; }
.qstep.on { display: block; animation: qin .45s var(--ease, cubic-bezier(.2,.7,.2,1)); }
@keyframes qin { from { opacity: 0; transform: translateX(14px); } }
.qstep .label { margin-bottom: 12px; }
.qstep h3 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.12; margin-bottom: 8px; }
.qstep .hint { color: var(--muted); font-size: 15px; }
.opts { display: grid; gap: 8px; margin-top: 22px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; font-size: 16px; transition: border-color .2s, background .2s; }
.opt:hover { border-color: #555; }
.opt[aria-pressed="true"] { border-color: #fff; background: #161616; }
.opt b { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1px solid #444; display: grid; place-items: center; font: 500 11px/1 var(--body); color: var(--muted); transition: all .2s; }
.opt[aria-pressed="true"] b { background: #fff; border-color: #fff; color: #000; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.qback { font: 500 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 0; }
.qback:hover { color: #fff; }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field label { font-size: 13px; color: var(--muted); }
.field input { width: 100%; font: 400 17px/1.4 var(--body); color: #fff; background: #111; border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; transition: border-color .2s; }
.field input:focus { outline: none; border-color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { margin-top: 16px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.45); }
.fine a, .qerr a { text-decoration: underline; text-underline-offset: 2px; }
.qerr { margin-top: 14px; font-size: 14px; color: #ff8a80; }
.qnav .pill[disabled] { opacity: .3; pointer-events: none; }
.qbox.wide { width: min(980px, calc(100vw - 24px)); }
.cal-lead { margin-top: 26px; font-size: 15px; }
.cal { display: block; width: 100%; height: min(680px, 70dvh); margin-top: 14px; border: 0; border-radius: 14px; background: #111; }
