/* NebenkostenCheck — Premium Dark UI */
:root {
    --bg: #0a0f1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.15);
    --radius: 16px;
    --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: #a5b4fc; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.header-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 1.2rem; font-weight: 800; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }
.logo-icon { font-size: 1.4rem; }
.main-nav { display: flex; gap: 8px; }
.main-nav a { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; padding: 6px 14px; border-radius: 8px; transition: all 0.2s; }
.main-nav a:hover { color: var(--text); background: var(--accent-glow); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent-glow); color: var(--accent-light);
    font-size: 0.8rem; font-weight: 600; padding: 6px 16px;
    border-radius: 20px; margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}
.hero h1 {
    font-size: 3rem; font-weight: 800; line-height: 1.15;
    margin-bottom: 20px; letter-spacing: -0.02em;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }
.hero-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: white; padding: 14px 32px;
    border-radius: 12px; font-weight: 700; font-size: 1.05rem;
    transition: all 0.3s; white-space: nowrap; border: none; cursor: pointer;
    text-decoration: none;
}
.hero-cta:hover { background: var(--accent-light); color: white; transform: translateY(-2px); box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3); }
.hero-sub { font-size: 0.85rem; color: var(--text-dim); margin-top: 16px; }

/* Stats Bar */
.stats-bar {
    display: flex; justify-content: center; gap: 48px;
    padding: 40px 20px; margin-bottom: 20px;
}
.stat { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent-light); }
.stat-label { font-size: 0.82rem; color: var(--text-dim); margin-top: 4px; }

/* Section */
.section { padding: 60px 20px; }
.section-title {
    text-align: center; font-size: 2rem; font-weight: 800;
    margin-bottom: 12px; letter-spacing: -0.01em;
}
.section-sub { text-align: center; color: var(--text-muted); font-size: 1.05rem; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Feature Grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    transition: all 0.3s;
}
.feature-card:hover { border-color: var(--accent); background: var(--bg-card-hover); transform: translateY(-3px); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* How It Works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.step { text-align: center; padding: 24px; }
.step-number {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent-glow); color: var(--accent-light);
    font-weight: 800; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; border: 2px solid rgba(99, 102, 241, 0.3);
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* Pricing */
.pricing-card {
    background: var(--bg-card); border: 2px solid var(--accent);
    border-radius: var(--radius); padding: 40px;
    max-width: 480px; margin: 0 auto; text-align: center;
    position: relative;
}
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: white; font-size: 0.78rem;
    font-weight: 700; padding: 5px 18px; border-radius: 20px;
    white-space: nowrap;
}
.pricing-price { font-size: 3rem; font-weight: 800; margin: 20px 0 8px; }
.pricing-price .currency { font-size: 1.5rem; vertical-align: top; }
.pricing-price .period { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc { color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 32px; }
.pricing-features li { padding: 8px 0; font-size: 0.92rem; display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; background: none; border: none; color: var(--text);
    font-size: 1rem; font-weight: 600; text-align: left;
    padding: 20px 0; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    font-family: inherit;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--accent); transition: transform 0.3s; }
.faq-q.open::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.faq-a.open { display: block; }

/* Trust */
.trust-bar {
    display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
    padding: 32px 20px; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); margin: 40px 0;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-muted); }
.trust-icon { font-size: 1.2rem; }

/* CTA Section */
.cta-section {
    text-align: center; padding: 80px 20px;
    background: linear-gradient(180deg, transparent, var(--accent-glow));
    border-radius: var(--radius);
    max-width: 800px; margin: 40px auto;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 20px; text-align: center;
    color: var(--text-dim); font-size: 0.82rem;
}
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer-links a { color: var(--text-muted); }

/* Mobile */
@media (max-width: 768px) {
    .hero { padding: 50px 20px 40px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .stats-bar { gap: 24px; flex-wrap: wrap; }
    .stat-number { font-size: 1.5rem; }
    .section-title { font-size: 1.5rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .hamburger { display: block; }
    .main-nav {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 15, 26, 0.98); flex-direction: column;
        justify-content: center; align-items: center; gap: 16px; z-index: 1000;
    }
    .main-nav.show { display: flex; }
    .main-nav a { font-size: 1.2rem; padding: 12px 24px; }
    .pricing-card { padding: 28px 20px; }
    .trust-bar { gap: 16px; }
    .hero-cta { font-size: 0.95rem; padding: 12px 24px; }
}

/* App Page */
.app-container {
    max-width: 600px; margin: 0 auto; padding: 20px;
    min-height: 100vh;
}
.upload-zone {
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius); padding: 48px 24px;
    text-align: center; cursor: pointer;
    transition: all 0.3s; margin: 24px 0;
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent); background: var(--accent-glow);
}
.upload-icon { font-size: 3rem; margin-bottom: 16px; }
.upload-zone p { color: var(--text-muted); }
.upload-zone .formats { font-size: 0.8rem; color: var(--text-dim); margin-top: 8px; }
.btn-upload {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: white; padding: 12px 28px;
    border-radius: 10px; font-weight: 600; border: none;
    cursor: pointer; font-size: 0.95rem; margin-top: 16px;
    transition: all 0.3s;
}
.btn-upload:hover { background: var(--accent-light); }

/* Results */
.result-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; margin: 16px 0;
}
.result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.result-score {
    font-size: 2.5rem; font-weight: 800;
}
.score-good { color: var(--success); }
.score-warning { color: var(--warning); }
.score-bad { color: var(--danger); }
.finding {
    padding: 12px 0; border-bottom: 1px solid var(--border);
    display: flex; gap: 12px; align-items: flex-start;
}
.finding:last-child { border-bottom: none; }
.finding-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.finding-text h4 { font-size: 0.92rem; margin-bottom: 4px; }
.finding-text p { font-size: 0.85rem; color: var(--text-muted); }
.finding-amount { font-weight: 700; color: var(--success); white-space: nowrap; margin-left: auto; }
