/* ── Motiv Analyse Landingpage ─────────────────────────────────────────────── */


        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            --bg:       #f8f9fb;
            --surface:  #ffffff;
            --border:   #e2e6ec;
            --text:     #1a1d23;
            --muted:    #6b7280;
            --accent:   #1e40af;     /* Dunkelblau – seriös, keine Marketing-Farbe */
            --accent-h: #1e3a8a;
            --ok:       #16a34a;
            --warn:     #ca8a04;
            --err:      #dc2626;
            --radius:   6px;
            --shadow:   0 1px 4px rgba(0,0,0,.08);
            --text-main: #1a1d23;
        }
        body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; }
        a { color: var(--accent); text-decoration: none; }
        a:hover { text-decoration: underline; }

        /* ── Header ── */
        .hdr { background: var(--surface); border-bottom: 1px solid var(--border); padding: .85rem 5%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
        .hdr-logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; }
        .hdr-logo svg { flex-shrink: 0; }
        .hdr-badge { font-size: .68rem; background: rgba(30,64,175,.1); color: var(--accent); border: 1px solid rgba(30,64,175,.2); border-radius: 20px; padding: .15rem .55rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
        .hdr-nav { display: flex; align-items: center; gap: 1.5rem; font-size: .88rem; color: var(--muted); }
        .btn-login-sm { background: var(--accent); color: #fff; padding: .45rem 1rem; border-radius: var(--radius); font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .15s; }
        .btn-login-sm:hover { background: var(--accent-h); text-decoration: none; color: #fff; }

        /* ── Hero ── */
        .hero { padding: 4rem 5% 3rem; text-align: center; max-width: 780px; margin: 0 auto; }
        .hero-label { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); background: rgba(30,64,175,.07); border: 1px solid rgba(30,64,175,.15); border-radius: 20px; padding: .25rem .85rem; margin-bottom: 1.5rem; }
        .hero h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.18; margin-bottom: 1rem; letter-spacing: -.02em; }
        .hero p { font-size: 1rem; color: var(--muted); max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.75; }

        /* ── Upload Box ── */
        .upload-area { background: var(--surface); border: 2px dashed var(--border); border-radius: 10px; padding: 2.5rem 2rem; max-width: 520px; margin: 0 auto; cursor: pointer; transition: border-color .2s, background .2s; text-align: center; }
        .upload-area:hover { border-color: var(--accent); background: rgba(30,64,175,.02); }
        .upload-icon { width: 48px; height: 48px; background: rgba(30,64,175,.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin: 0 auto .9rem; }
        .upload-area h3 { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
        .upload-area p { font-size: .83rem; color: var(--muted); }
        .upload-btn { display: inline-block; margin-top: 1.25rem; background: var(--accent); color: #fff; font-weight: 600; font-size: .88rem; padding: .7rem 1.75rem; border-radius: var(--radius); text-decoration: none; transition: background .15s; }
        .upload-btn:hover { background: var(--accent-h); text-decoration: none; color: #fff; }
        .upload-note { margin-top: .75rem; font-size: .75rem; color: var(--muted); }

        /* ── Alert Strip ── */
        .alert-strip { background: #fef3c7; border-top: 1px solid #f59e0b; border-bottom: 1px solid #f59e0b; padding: .85rem 5%; }
        .alert-inner { display: flex; gap: .75rem; align-items: flex-start; max-width: 900px; margin: 0 auto; }
        .alert-inner svg { flex-shrink: 0; margin-top: .15rem; }
        .alert-inner p { font-size: .82rem; color: #78350f; line-height: 1.55; }
        .alert-inner strong { color: #92400e; }

        /* ── Features ── */
        .features { padding: 3.5rem 5%; }
        .features-inner { max-width: 1000px; margin: 0 auto; }
        .section-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); font-weight: 700; margin-bottom: .5rem; }
        .section-title { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 700; margin-bottom: .5rem; }
        .section-sub { font-size: .9rem; color: var(--muted); max-width: 580px; line-height: 1.7; margin-bottom: 2.5rem; }
        .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
        .feat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
        .feat-icon { width: 40px; height: 40px; background: rgba(30,64,175,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; font-size: 1.2rem; }
        .feat-card h3 { font-size: .92rem; font-weight: 700; margin-bottom: .35rem; }
        .feat-card p { font-size: .8rem; color: var(--muted); line-height: 1.6; margin: 0; }

        /* ── Scan Demo ── */
        .scan-section { padding: 3.5rem 5%; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
        .scan-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
        .scan-mockup { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
        .scan-head { padding: .7rem 1rem; border-bottom: 1px solid var(--border); background: #f1f5f9; display: flex; align-items: center; gap: .5rem; }
        .scan-head span { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
        .scan-row { padding: .7rem 1rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .7rem; }
        .scan-row:last-child { border-bottom: none; }
        .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
        .dot-ok   { background: var(--ok); }
        .dot-err  { background: var(--err); }
        .dot-warn { background: var(--warn); }
        .dot-spin { background: #d1d5db; animation: blink 1.2s ease-in-out infinite; }
        @keyframes blink { 0%,100%{opacity:.3}50%{opacity:1} }
        .scan-row p { font-size: .82rem; color: var(--text); margin: 0; flex: 1; }
        .stag { font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 3px; white-space: nowrap; }
        .stag-ok   { background: rgba(22,163,74,.1);   color: var(--ok); }
        .stag-err  { background: rgba(220,38,38,.1);   color: var(--err); }
        .stag-warn { background: rgba(202,138,4,.1);   color: var(--warn); }
        .stag-spin { background: #f1f5f9; color: var(--muted); }
        .progress-bar { margin: .6rem 1rem .75rem; }
        .pb-label { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-bottom: .3rem; }
        .pb-track { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
        .pb-fill  { height: 100%; width: 73%; background: var(--accent); border-radius: 2px; }

        /* ── Ergebnisblöcke ── */
        .results-section { padding: 3.5rem 5%; }
        .results-inner { max-width: 1000px; margin: 0 auto; }
        .results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
        .res-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
        .res-head { padding: 1rem 1.25rem .75rem; border-bottom: 1px solid var(--border); }
        .res-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: .2rem .6rem; border-radius: 3px; margin-bottom: .6rem; }
        .badge-err  { background: rgba(220,38,38,.1);   color: var(--err); }
        .badge-ok   { background: rgba(22,163,74,.1);   color: var(--ok); }
        .badge-warn { background: rgba(202,138,4,.1);   color: var(--warn); }
        .res-head h3 { font-size: .9rem; font-weight: 700; line-height: 1.3; }
        .res-findings { padding: .75rem 1.25rem; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: .5rem; }
        .finding { font-size: .8rem; color: var(--muted); display: flex; gap: .4rem; line-height: 1.45; }
        .res-cta { padding: 1rem 1.25rem; background: #f8f9fb; }
        .res-cta-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4rem; }
        .res-card:nth-child(1) .res-cta-label { color: var(--err); }
        .res-card:nth-child(2) .res-cta-label { color: var(--warn); }
        .res-card:nth-child(3) .res-cta-label { color: var(--ok); }
        .res-cta p { font-size: .78rem; color: var(--muted); margin-bottom: .75rem; line-height: 1.55; }
        .res-btn { display: block; text-align: center; padding: .6rem 1rem; border-radius: var(--radius); font-size: .8rem; font-weight: 700; text-decoration: none; transition: opacity .15s; }
        .res-btn:hover { opacity: .85; text-decoration: none; }
        .btn-err  { background: var(--err);    color: #fff; }
        .btn-ok   { background: var(--ok);     color: #fff; }
        .btn-warn { background: var(--warn);   color: #fff; }

        /* ── Categories ── */
        .cats-section { padding: 3.5rem 5%; background: var(--surface); border-top: 1px solid var(--border); }
        .cats-inner { max-width: 1000px; margin: 0 auto; }
        .cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
        .cat-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; }
        .cat-num { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: .3rem; }
        .cat-card h3 { font-size: .84rem; font-weight: 700; margin-bottom: .25rem; }
        .cat-card p { font-size: .75rem; color: var(--muted); line-height: 1.5; margin: 0; }

        /* ── Pricing ── */
        .pricing-section { padding: 3.5rem 5%; }
        .pricing-inner { max-width: 900px; margin: 0 auto; }
        .price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
        .price-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; text-align: center; background: var(--surface); box-shadow: var(--shadow); }
        .price-card.hl { border-color: var(--accent); background: rgba(30,64,175,.03); }
        .pname { font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: .6rem; }
        .pamount { font-size: 1.9rem; font-weight: 700; margin-bottom: .15rem; letter-spacing: -.02em; }
        .pamount small { font-size: 1rem; font-weight: 400; color: var(--muted); }
        .punits { font-size: .78rem; color: var(--muted); margin-bottom: .5rem; }
        .pper { font-size: .75rem; font-weight: 700; color: var(--accent); }

        /* ── FAQ ── */
        .faq-section { padding: 3.5rem 5%; background: var(--surface); border-top: 1px solid var(--border); }
        .faq-inner { max-width: 720px; margin: 0 auto; }
        .faq-item { border-bottom: 1px solid var(--border); }
        .faq-item h3 { font-size: .95rem; font-weight: 600; padding: 1.1rem 2rem 1.1rem 0; cursor: pointer; position: relative; margin: 0; }
        .faq-item h3::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.3rem; font-weight: 300; transition: transform .2s; }
        .faq-item.open h3::after { transform: translateY(-50%) rotate(45deg); }
        .faq-answer { display: none; padding-bottom: 1.1rem; color: var(--muted); font-size: .88rem; line-height: 1.7; }
        .faq-item.open .faq-answer { display: block; }

        /* ── CTA Banner ── */
        .cta-banner { padding: 3.5rem 5%; background: var(--accent); text-align: center; }
        .cta-banner h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; color: #fff; margin-bottom: .6rem; }
        .cta-banner p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 1.75rem; }
        .cta-btn-white { display: inline-block; background: #fff; color: var(--accent); font-weight: 700; font-size: .9rem; padding: .8rem 2rem; border-radius: var(--radius); text-decoration: none; transition: opacity .15s; }
        .cta-btn-white:hover { opacity: .92; text-decoration: none; color: var(--accent); }

        /* ── Footer ── */
        .ftr { padding: 2rem 5%; border-top: 1px solid var(--border); background: #f1f5f9; }
        .ftr-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
        .ftr-links { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
        .ftr-links a { color: var(--muted); }
        .ftr-links a:hover { color: var(--text); text-decoration: underline; }
        .ftr-copy { font-size: .78rem; color: var(--muted); }

        /* ── Disclaimer ── */
        .disclaimer { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: .85rem 1.25rem; font-size: .78rem; color: #78350f; line-height: 1.6; max-width: 720px; margin: 1.5rem auto 0; }

        /* ── Mobile ── */
        @media (max-width: 768px) {
            .hdr-nav { display: none; }
            .feat-grid, .results-grid { grid-template-columns: 1fr; }
            .scan-inner { grid-template-columns: 1fr; }
            .cats-grid { grid-template-columns: 1fr 1fr; }
            .price-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 480px) {
            .cats-grid, .price-grid { grid-template-columns: 1fr; }
        }
    

/* ── Analyse Tool-App ───────────────────────────────────────────────────── */


        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            --bg:       #f8f9fb;
            --surface:  #ffffff;
            --border:   #e2e6ec;
            --text:     #1a1d23;
            --muted:    #6b7280;
            --accent:   #1e40af;
            --accent-h: #1e3a8a;
            --ok:       #16a34a;
            --warn:     #ca8a04;
            --err:      #dc2626;
            --radius:   6px;
            --shadow:   0 1px 4px rgba(0,0,0,.08);
            --text-main: #1a1d23;
        }
        body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; min-height: 100vh; }
        a { color: var(--accent); text-decoration: none; }

        /* ── Header ── */
        .hdr { background: var(--surface); border-bottom: 1px solid var(--border); padding: .85rem 5%; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
        .hdr-logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1rem; color: var(--text); }
        .hdr-logo svg { flex-shrink: 0; }
        .hdr-right { display: flex; align-items: center; gap: 1rem; font-size: .85rem; }
        .credit-badge { background: rgba(30,64,175,.08); border: 1px solid rgba(30,64,175,.2); border-radius: 20px; padding: .25rem .75rem; font-size: .78rem; font-weight: 600; color: var(--accent); display: none; }
        .btn-sm { background: var(--accent); color: #fff; padding: .4rem .9rem; border-radius: var(--radius); font-size: .82rem; font-weight: 600; border: none; cursor: pointer; transition: background .15s; }
        .btn-sm:hover { background: var(--accent-h); }
        .btn-outline { background: none; border: 1px solid var(--border); color: var(--muted); padding: .4rem .9rem; border-radius: var(--radius); font-size: .82rem; cursor: pointer; transition: all .15s; }
        .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

        /* ── Login Overlay ── */
        .login-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; display: flex; align-items: center; justify-content: center; }
        .login-overlay.hidden { display: none; }
        .login-box { background: var(--surface); border-radius: 10px; padding: 2.5rem; width: 100%; max-width: 400px; box-shadow: 0 8px 32px rgba(0,0,0,.15); }
        .login-box h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }
        .login-box p { font-size: .85rem; color: var(--muted); margin-bottom: 1.75rem; }
        .login-sep { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; }
        .login-sep span { font-size: .78rem; color: var(--muted); white-space: nowrap; }
        .login-sep::before, .login-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
        .form-group { margin-bottom: 1rem; }
        .form-group label { font-size: .82rem; font-weight: 600; display: block; margin-bottom: .35rem; }
        .form-group input { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: .65rem .9rem; font-size: .9rem; font-family: inherit; outline: none; transition: border-color .15s; }
        .form-group input:focus { border-color: var(--accent); }
        .btn-full { width: 100%; padding: .75rem; border-radius: var(--radius); font-size: .9rem; font-weight: 600; cursor: pointer; border: none; transition: background .15s; }
        .btn-primary-full { background: var(--accent); color: #fff; }
        .btn-primary-full:hover { background: var(--accent-h); }
        .btn-google { background: var(--surface); border: 1px solid var(--border); color: var(--text); display: flex; align-items: center; justify-content: center; gap: .6rem; }
        .btn-google:hover { background: var(--bg); }
        .otp-hint { font-size: .78rem; color: var(--muted); margin-top: .5rem; text-align: center; }
        .back-link { font-size: .8rem; color: var(--accent); cursor: pointer; margin-top: .75rem; display: block; text-align: center; }

        /* ── Main Tool Area ── */
        .tool-area { max-width: 860px; margin: 0 auto; padding: 2.5rem 5%; }
        .tool-area.hidden { display: none; }

        /* Upload Zone */
        .upload-zone { border: 2px dashed var(--border); border-radius: 10px; padding: 3rem 2rem; text-align: center; background: var(--surface); cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
        .upload-zone.drag-over { border-color: var(--accent); background: rgba(30,64,175,.02); }
        .upload-zone:hover { border-color: var(--accent); }
        .upload-icon { width: 56px; height: 56px; background: rgba(30,64,175,.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto .9rem; }
        .upload-zone h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
        .upload-zone p { font-size: .85rem; color: var(--muted); }
        .upload-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
        .btn-upload { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; background: var(--accent); color: #fff; font-weight: 600; font-size: .88rem; padding: .7rem 1.75rem; border-radius: var(--radius); border: none; cursor: pointer; pointer-events: none; }

        /* Scan State */
        .scan-state { display: none; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; }
        .scan-state.visible { display: block; }
        .scan-img-preview { width: 100%; max-height: 220px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 1.5rem; }
        .scan-progress-label { font-size: .88rem; font-weight: 600; margin-bottom: 1rem; }
        .scan-steps { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; }
        .scan-step { display: flex; align-items: center; gap: .7rem; font-size: .83rem; color: var(--muted); }
        .step-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
        .dot-done { background: var(--ok); }
        .dot-active { background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
        .dot-wait { background: var(--border); }
        @keyframes pulse { 0%,100%{opacity:.35}50%{opacity:1} }
        .scan-bar-wrap { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
        .scan-bar { height: 100%; background: var(--accent); border-radius: 2px; transition: width .5s ease; }
        .scan-pct { font-size: .72rem; color: var(--muted); margin-top: .4rem; text-align: right; }

        /* Result State */
        .result-state { display: none; }
        .result-state.visible { display: block; }
        .result-header { display: flex; align-items: flex-start; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; margin-bottom: 1.25rem; }
        .result-img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); flex-shrink: 0; }
        .result-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: .25rem .7rem; border-radius: 3px; margin-bottom: .5rem; }
        .badge-ok   { background: rgba(22,163,74,.1);   color: var(--ok); }
        .badge-warn { background: rgba(202,138,4,.1);   color: var(--warn); }
        .badge-err  { background: rgba(220,38,38,.1);   color: var(--err); }
        .result-title { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
        .result-sub { font-size: .83rem; color: var(--muted); }

        /* Categories */
        .result-cats { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; }
        .result-cat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; }
        .cat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; }
        .cat-name { font-size: .82rem; font-weight: 700; }
        .cat-status { font-size: .75rem; font-weight: 700; }
        .cat-ok   { color: var(--ok); }
        .cat-warn { color: var(--warn); }
        .cat-err  { color: var(--err); }
        .cat-detail { font-size: .8rem; color: var(--muted); line-height: 1.5; }

        /* CTA Block */
        .result-cta { border-radius: 8px; padding: 1.5rem; }
        .result-cta.cta-err  { background: rgba(220,38,38,.05);  border: 1px solid rgba(220,38,38,.2); }
        .result-cta.cta-ok   { background: rgba(22,163,74,.05);  border: 1px solid rgba(22,163,74,.2); }
        .result-cta.cta-warn { background: rgba(202,138,4,.05);  border: 1px solid rgba(202,138,4,.2); }
        .cta-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4rem; }
        .cta-err .cta-label  { color: var(--err); }
        .cta-ok .cta-label   { color: var(--ok); }
        .cta-warn .cta-label { color: var(--warn); }
        .result-cta p { font-size: .84rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.6; }
        .btn-cta { display: block; text-align: center; padding: .75rem; border-radius: var(--radius); font-weight: 700; font-size: .85rem; text-decoration: none; border: none; cursor: pointer; transition: opacity .15s; }
        .btn-cta:hover { opacity: .85; }
        .btn-err  { background: var(--err);  color: #fff; }
        .btn-ok   { background: var(--ok);   color: #fff; }
        .btn-warn { background: var(--warn); color: #fff; }
        .btn-new-analysis { display: block; text-align: center; margin-top: 1rem; font-size: .82rem; color: var(--accent); cursor: pointer; }

        /* Disclaimer */
        .disclaimer { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: .85rem 1.1rem; font-size: .78rem; color: #78350f; line-height: 1.6; margin-top: 1rem; }

        /* Credits depleted */
        .no-credits { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; text-align: center; display: none; }
        .no-credits.visible { display: block; }
        .no-credits h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
        .no-credits p { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }

        /* Toast */
        .toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: #1a1d23; color: #fff; padding: .75rem 1.25rem; border-radius: var(--radius); font-size: .85rem; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 999; }
        .toast.show { opacity: 1; }

        @media(max-width: 600px) {
            .tool-area { padding: 1.5rem 4%; }
            .login-box { padding: 1.75rem 1.25rem; }
        }


/* ── Legal Pages (agb-bp, datenschutz-bp, impressum-bp) ─────────────────── */

        /* Header */
        .landing-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: .85rem 5%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: sticky; top: 0; z-index: 100; }
        .logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
        .logo-text { font-weight: 700; font-size: 1.05rem; }
        .nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: .88rem; }
        .nav-links a { color: var(--muted); text-decoration: none; }
        .nav-links a:hover { color: var(--text); text-decoration: none; }
        .btn-login { background: var(--accent); color: #fff !important; padding: .45rem 1rem; border-radius: var(--radius); font-size: .85rem; font-weight: 600; transition: background .15s; }
        .btn-login:hover { background: var(--accent-h); text-decoration: none; }

        /* Page Hero */
        .page-hero { background: #f1f5f9; border-bottom: 1px solid var(--border); padding: 3rem 5% 2.5rem; }
        .page-hero-inner { max-width: 860px; margin: 0 auto; }
        .eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); font-weight: 700; margin-bottom: .6rem; }
        .page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.15; margin-bottom: .4rem; }
        .meta { font-size: .82rem; color: var(--muted); margin-top: .5rem; }

        /* TOC */
        .toc-wrapper { padding: 2rem 5% 0; max-width: 100%; }
        .toc-wrapper nav.toc { max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1.5rem 2rem; }
        .toc h3 { font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
        .toc ol { list-style: none; padding: 0; columns: 2; column-gap: 2rem; }
        .toc li { margin-bottom: .4rem; break-inside: avoid; }
        .toc a { font-size: .85rem; color: var(--muted); text-decoration: none; }
        .toc a:hover { color: var(--accent); }
        .par-num, .toc .num { color: var(--accent); font-weight: 700; margin-right: .3rem; font-size: .8rem; }

        /* Content */
        .content-wrapper { max-width: 860px; margin: 0 auto; padding: 3rem 5% 5rem; }
        .par { padding: 2rem 0; border-bottom: 1px solid var(--border); }
        .par:last-child { border-bottom: none; }
        .par-header { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1rem; }
        .par-number { font-size: 1.4rem; font-weight: 700; color: var(--accent); line-height: 1; flex-shrink: 0; }
        .par-title { font-size: 1.1rem; font-weight: 700; }
        .par p { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: .65rem; }
        .par ul, .par ol { padding-left: 1.5rem; margin: .6rem 0; font-size: .88rem; color: var(--muted); }
        .par li { margin-bottom: .3rem; line-height: 1.65; }
        .par h3 { font-size: .88rem; font-weight: 700; color: var(--text); margin: 1rem 0 .4rem; }
        .par a { color: var(--accent); }
        .notice { background: #eff6ff; border: 1px solid #bfdbfe; border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1rem 0; font-size: .84rem; color: var(--muted); line-height: 1.65; }
        .notice strong { color: var(--text); }
        .address-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: .75rem 0; font-size: .88rem; color: var(--muted); font-style: normal; line-height: 2; }

        /* Impressum grid */
        .content-wrapper.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding-top: 2.5rem; }
        .block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
        .block-full { grid-column: 1 / -1; }
        .block.highlight { border-left: 3px solid var(--accent); }
        .block-label { font-size: .68rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); font-weight: 700; margin-bottom: .5rem; }
        .block h2 { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
        .block p { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; line-height: 1.6; }
        .block address { font-size: .85rem; color: var(--muted); font-style: normal; line-height: 1.9; }
        .block.disclaimer { background: #fffbeb; border-color: #fde68a; }

        /* Footer */
        footer[role="contentinfo"] { background: var(--surface); border-top: 1px solid var(--border); padding: 2rem 5%; text-align: center; }
        .footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: .75rem; }
        .footer-links a { font-size: .82rem; color: var(--muted); text-decoration: none; }
        .footer-links a:hover { color: var(--accent); }
        .footer-copy { font-size: .78rem; color: var(--muted); }

        /* Responsive */
        @media (max-width: 640px) {
            .content-wrapper.grid { grid-template-columns: 1fr; }
            .toc ol { columns: 1; }
            .landing-header { padding: .75rem 4%; }
            .nav-links { gap: 1rem; }
            .page-hero { padding: 2rem 4% 1.75rem; }
        }