/* =============================================
   QUALVO – Design System
   ============================================= */
:root {
  --c-primary:       #16A34A;
  --c-primary-dark:  #15803D;
  --c-primary-light: #BBF7D0;
  --c-primary-bg:    #F0FDF4;
  --c-accent:        #0D1B2A;
  --c-accent-dark:   #1a2f45;
  --c-dark:          #0D1B2A;
  --c-text:          #1F2937;
  --c-muted:         #6B7280;
  --c-border:        #E5E7EB;
  --c-bg:            #F9FAFB;
  --shadow-sm:       0 1px 4px rgba(13,27,42,.08);
  --shadow-md:       0 4px 24px rgba(13,27,42,.12);
  --shadow-lg:       0 8px 48px rgba(13,27,42,.16);
  --radius-sm:       8px;
  --radius-md:       12px;
  --radius-lg:       16px;
  --radius-xl:       24px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--c-text); background: #fff; line-height: 1.6; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── CONTAINER ─────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ───────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--c-border); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--c-dark); font-size: 1.35rem; font-weight: 800; }
.nav-logo em { color: var(--c-primary); font-style: normal; }
.nav-links { display: flex; gap: 4px; margin-left: 28px; }
.nav-links a { padding: 8px 14px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: var(--c-muted); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--c-dark); background: var(--c-bg); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-login { padding: 8px 18px; border: 2px solid var(--c-border); border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; color: var(--c-dark); transition: border-color .15s; }
.nav-login:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-nav-cta { padding: 9px 20px; background: var(--c-primary); color: #fff; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 700; transition: background .15s; }
.btn-nav-cta:hover { background: var(--c-primary-dark); }
.nav-burger { display: none; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-mobile { display: none; }

/* ── HERO ──────────────────────── */
.hero { background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-accent-dark) 100%); padding: 80px 0 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2316A34A' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(22,163,74,.15); border: 1px solid rgba(22,163,74,.3); color: var(--c-primary-light); padding: 5px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.hero h1 em { color: #4ADE80; font-style: normal; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 520px; }
.hero-search { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg); }
.hero-search h3 { font-size: 1rem; font-weight: 700; color: var(--c-dark); margin-bottom: 14px; }
.search-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.search-row select, .search-row input { width: 100%; padding: 12px 14px; border: 2px solid var(--c-border); border-radius: var(--radius-sm); font-size: .95rem; font-family: inherit; outline: none; color: var(--c-text); transition: border-color .2s; }
.search-row select:focus, .search-row input:focus { border-color: var(--c-primary); }
.btn-search { width: 100%; padding: 14px; background: var(--c-primary); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 700; cursor: pointer; transition: background .2s; }
.btn-search:hover { background: var(--c-primary-dark); }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 24px; color: rgba(255,255,255,.6); font-size: .85rem; }
.trust-dots { display: flex; gap: 4px; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }

/* ── STATS BAR ─────────────────── */
.stats-bar { background: var(--c-dark); padding: 28px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); divide: gap 0; }
.stat-item { text-align: center; padding: 12px; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 1.8rem; font-weight: 800; color: #4ADE80; }
.stat-item .label { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ── SECTION ───────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--c-bg); }
.section-dark { background: var(--c-dark); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .pre { display: inline-block; background: var(--c-primary-bg); color: var(--c-primary); font-size: .8rem; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--c-dark); }
.section-header p { color: var(--c-muted); margin-top: 10px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── CATEGORY GRID ─────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-card { background: #fff; border: 2px solid var(--c-border); border-radius: var(--radius-md); padding: 18px 12px; text-align: center; cursor: pointer; transition: all .2s; }
.cat-card:hover { border-color: var(--c-primary); background: var(--c-primary-bg); transform: translateY(-2px); }
.cat-card .icon { font-size: 1.8rem; margin-bottom: 8px; }
.cat-card .name { font-size: .8rem; font-weight: 600; color: var(--c-dark); }

/* ── HOW IT WORKS ──────────────── */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.how-card { text-align: center; padding: 32px 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--c-border); position: relative; }
.how-num { width: 48px; height: 48px; background: var(--c-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; margin: 0 auto 16px; }
.how-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--c-dark); margin-bottom: 8px; }
.how-card p { font-size: .9rem; color: var(--c-muted); }
.how-connector { display: none; }

/* ── FEATURE CARDS ─────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--c-border); background: #fff; }
.feature-card .fi { width: 48px; height: 48px; background: var(--c-primary-bg); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--c-dark); margin-bottom: 6px; }
.feature-card p { font-size: .875rem; color: var(--c-muted); line-height: 1.6; }

/* ── PROVIDER BENEFITS ─────────── */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.benefits-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.benefit-row { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon { width: 40px; height: 40px; background: var(--c-primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.benefit-row h4 { font-size: .95rem; font-weight: 700; color: var(--c-dark); margin-bottom: 2px; }
.benefit-row p { font-size: .85rem; color: var(--c-muted); }

/* ── PRICING ───────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pricing-card { background: #fff; border: 2px solid var(--c-border); border-radius: var(--radius-xl); padding: 32px 28px; position: relative; transition: box-shadow .2s; }
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured { border-color: var(--c-primary); }
.pricing-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--c-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.pricing-name { font-size: .9rem; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--c-dark); }
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 10px; }
.pricing-price sub { font-size: .9rem; color: var(--c-muted); font-weight: 400; }
.pricing-desc { font-size: .85rem; color: var(--c-muted); margin: 8px 0 20px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--c-text); }
.pricing-features li::before { content: '✓'; color: var(--c-primary); font-weight: 700; flex-shrink: 0; }
.pricing-features li.no::before { content: '–'; color: var(--c-muted); }
.pricing-features li.no { color: var(--c-muted); }
.btn-pricing { width: 100%; padding: 12px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 700; cursor: pointer; border: none; transition: all .2s; }
.btn-pricing.outline { background: transparent; border: 2px solid var(--c-border); color: var(--c-dark); }
.btn-pricing.outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-pricing.filled { background: var(--c-primary); color: #fff; }
.btn-pricing.filled:hover { background: var(--c-primary-dark); }

/* ── TESTIMONIALS ──────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 28px; }
.stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-size: .9rem; color: var(--c-text); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary-bg); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--c-primary); font-size: .9rem; }
.author-name { font-size: .875rem; font-weight: 700; color: var(--c-dark); }
.author-role { font-size: .78rem; color: var(--c-muted); }

/* ── STATES GRID ───────────────── */
.states-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.state-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 14px 16px; color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 500; transition: all .2s; cursor: pointer; }
.state-card:hover { background: rgba(22,163,74,.2); border-color: var(--c-primary); color: #fff; }

/* ── FAQ ───────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; }
.faq-q { width: 100%; padding: 18px 20px; background: #fff; border: none; text-align: left; font-size: .95rem; font-weight: 600; color: var(--c-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .arrow { transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: .9rem; color: var(--c-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── CTA SECTION ───────────────── */
.cta-section { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1rem; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { padding: 14px 32px; background: #fff; color: var(--c-primary); border-radius: var(--radius-sm); font-size: 1rem; font-weight: 700; transition: box-shadow .2s; }
.btn-white:hover { box-shadow: var(--shadow-md); }
.btn-outline-white { padding: 14px 32px; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); border-radius: var(--radius-sm); font-size: 1rem; font-weight: 700; transition: border-color .2s; }
.btn-outline-white:hover { border-color: #fff; }

/* ── FOOTER ────────────────────── */
.footer { background: var(--c-dark); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .875rem; margin-top: 12px; max-width: 260px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: .875rem; transition: color .15s; }
.footer-col ul li a:hover { color: #4ADE80; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .8rem; }

/* ── MODAL ─────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius-xl); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; position: relative; animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity:0; transform:scale(.95) } to { opacity:1; transform:scale(1) } }
.modal-head { padding: 24px 28px 0; display: flex; align-items: center; justify-content: space-between; }
.modal-head h2 { font-size: 1.2rem; font-weight: 800; color: var(--c-dark); }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--c-muted); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-close:hover { background: var(--c-bg); }
.modal-body { padding: 20px 28px 28px; }
.progress-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; flex-shrink: 0; }
.step-dot.done { background: var(--c-primary); color: #fff; }
.step-dot.active { background: var(--c-primary); color: #fff; box-shadow: 0 0 0 4px var(--c-primary-bg); }
.step-dot.todo { background: var(--c-border); color: var(--c-muted); }
.step-line { flex: 1; height: 2px; background: var(--c-border); }
.step-line.done { background: var(--c-primary); }
.form-step { display: none; }
.form-step.active { display: block; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: .85rem; font-weight: 600; color: var(--c-dark); margin-bottom: 5px; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 11px 14px; border: 2px solid var(--c-border); border-radius: var(--radius-sm); font-size: .95rem; font-family: inherit; outline: none; transition: border-color .2s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--c-primary); }
.fg textarea { resize: vertical; min-height: 80px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-nav { display: flex; gap: 10px; margin-top: 20px; }
.btn-next, .btn-submit { flex: 1; padding: 13px; background: var(--c-primary); color: #fff; border: none; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 700; cursor: pointer; transition: background .2s; }
.btn-next:hover, .btn-submit:hover { background: var(--c-primary-dark); }
.btn-back { padding: 13px 20px; background: var(--c-bg); color: var(--c-dark); border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-size: .95rem; font-weight: 600; cursor: pointer; }
.success-screen { display: none; text-align: center; padding: 24px 0; }
.success-screen .success-icon { width: 72px; height: 72px; background: var(--c-primary-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 16px; }
.success-screen h3 { font-size: 1.3rem; font-weight: 800; color: var(--c-dark); margin-bottom: 8px; }
.success-screen p { color: var(--c-muted); font-size: .9rem; line-height: 1.6; }

/* ── CATEGORY FORM (Klick-Optionen) ─── */
.kat-form-title { font-size: .95rem; font-weight: 700; color: var(--c-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--c-primary-bg); display: flex; align-items: center; gap: 8px; }
.q-block { margin-bottom: 16px; }
.q-label { font-size: .83rem; font-weight: 700; color: #374151; margin-bottom: 7px; display: flex; align-items: center; gap: 5px; }
.q-label small { font-weight: 400; color: var(--c-muted); }
.opt-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.opt-btn { padding: 7px 13px; border: 2px solid var(--c-border); border-radius: 20px; background: #fff; cursor: pointer; font-size: .82rem; font-weight: 500; transition: all .15s; color: #374151; white-space: nowrap; font-family: inherit; }
.opt-btn:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-bg); }
.opt-btn.selected { border-color: var(--c-primary); background: var(--c-primary-bg); color: var(--c-primary-dark); font-weight: 700; box-shadow: 0 0 0 1px var(--c-primary); }
.q-input { width: 100%; padding: 10px 13px; border: 2px solid var(--c-border); border-radius: var(--radius-sm); font-size: .9rem; font-family: inherit; outline: none; transition: border-color .2s; background: #fff; }
.q-input:focus { border-color: var(--c-primary); }
.q-textarea { width: 100%; padding: 10px 13px; border: 2px solid var(--c-border); border-radius: var(--radius-sm); font-size: .9rem; font-family: inherit; resize: vertical; outline: none; transition: border-color .2s; background: #fff; }
.q-textarea:focus { border-color: var(--c-primary); }
.plz-autofill { font-size: .75rem; color: var(--c-primary); margin-top: 3px; display: none; }

/* ── CHATBOT ───────────────────── */
.chat-btn { position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px; background: linear-gradient(135deg,#22C55E,#15803D); border-radius: 50%; border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(22,163,74,.4); display: flex; align-items: center; justify-content: center; z-index: 900; transition: transform .2s; }
.chat-btn:hover { transform: scale(1.08); }
.chat-badge { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; background: #EF4444; border-radius: 50%; border: 2px solid #fff; }
.chat-window { position: fixed; bottom: 100px; right: 28px; width: 340px; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); z-index: 900; display: none; flex-direction: column; max-height: 460px; border: 1px solid var(--c-border); overflow: hidden; }
.chat-window.open { display: flex; }
.chat-head { background: linear-gradient(135deg,var(--c-primary),var(--c-primary-dark)); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 10px; }
.chat-head .avatar { width: 36px; height: 36px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.chat-head .info strong { display: block; font-size: .9rem; }
.chat-head .info span { font-size: .75rem; opacity: .8; }
.chat-head button { margin-left: auto; background: none; border: none; color: #fff; cursor: pointer; font-size: 1.2rem; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 12px; font-size: .875rem; line-height: 1.5; }
.msg.bot { background: var(--c-bg); color: var(--c-text); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--c-primary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-inp { padding: 12px 16px; border-top: 1px solid var(--c-border); display: flex; gap: 8px; }
.chat-inp input { flex: 1; border: 1px solid var(--c-border); border-radius: 20px; padding: 8px 14px; font-size: .875rem; font-family: inherit; outline: none; transition: border-color .2s; }
.chat-inp input:focus { border-color: var(--c-primary); }
.chat-inp input:disabled { background: #f8fafc; color: #94a3b8; }
.chat-inp button { background: var(--c-primary); color: #fff; border: none; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .2s; }
.chat-inp button:disabled { opacity: .4; cursor: default; }
/* Typing indicator */
.typing-indicator { display: flex; align-items: center; gap: 4px; padding: 10px 14px !important; }
.typing-indicator span { width: 7px; height: 7px; background: #94a3b8; border-radius: 50%; animation: bounce 1.2s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }
@keyframes bounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }
/* Chat option buttons */
.chat-opts { display: flex; flex-direction: column; gap: 6px; align-self: flex-start; width: 100%; }
.chat-opt-btn { background: #fff; border: 1.5px solid var(--c-primary); color: var(--c-primary); border-radius: 20px; padding: 8px 14px; font-size: .8rem; font-weight: 600; cursor: pointer; text-align: left; transition: background .15s,color .15s; }
.chat-opt-btn:hover { background: var(--c-primary); color: #fff; }

/* ── COOKIE CONSENT ────────────── */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--c-dark); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; z-index: 9999; border-top: 1px solid rgba(255,255,255,.1); }
.cookie-bar p { color: rgba(255,255,255,.75); font-size: .85rem; }
.cookie-bar a { color: #4ADE80; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-ok { background: var(--c-primary); color: #fff; border: none; padding: 8px 20px; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 700; cursor: pointer; }
.btn-cookie-no { background: transparent; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.2); padding: 8px 16px; border-radius: var(--radius-sm); font-size: .85rem; cursor: pointer; }

/* ── ALERT ─────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 16px; display: none; }
.alert.error { background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; }
.alert.success { background: var(--c-primary-bg); border: 1px solid var(--c-primary-light); color: var(--c-primary-dark); }
.alert.show { display: block; }

/* ── RESPONSIVE ────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(5,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .how-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-burger { display: block; }
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cookie-bar { flex-direction: column; align-items: flex-start; }
  /* Modal full screen on mobile */
  .modal-card { width: 100vw; min-height: 100dvh; border-radius: 0; margin: 0; max-width: 100vw; }
  .modal-overlay { align-items: flex-end; }
  /* Hero form stack */
  .hero-form { flex-direction: column; }
  .hero-form select, .hero-form input { border-radius: 10px !important; }
  .hero-form button { border-radius: 10px !important; }
  /* Steps wizard */
  .step-dots { overflow-x: auto; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .fg-row { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 60px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .chat-window { width: calc(100vw - 20px); right: 10px; bottom: 90px; max-height: 75vh; }
  .chat-btn { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  /* Card spacing */
  .section { padding: 50px 0; }
  .container { padding: 0 16px; }
  /* Stats */
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .stat-num { font-size: 1.8rem; }
  /* Billing modal */
  .billing-grid { grid-template-columns: 1fr; }
  /* Cookie bar */
  .cookie-btns { width: 100%; }
  .cookie-btns button { flex: 1; }
  /* Mobile menu padding */
  .mobile-menu a { padding: 14px 24px; font-size: 1rem; }
}
