/* =====================================================
   steuererklaerung.jetzt - Landing Page CSS v23.12.15
   Konvertiert von steuer-sparen-jetzt ins maxtax-Farbschema
   ===================================================== */

:root {
    /* Maxtax Farbschema (konvertiert von dunkel) */
    --primary: #3C8687;
    --primary-dark: #2D6A6B;
    --accent: #5381C5;
    --bg-primary: #F3FAF2;
    --bg-secondary: #E8F5E9;
    --bg-card: #FAFADB;
    --text-primary: #333333;
    --text-secondary: #5A6B82;
    --text-muted: #9CA3AF;
    --border-color: rgba(83, 129, 197, 0.2);
    --btn-primary: #224C86;
    --btn-primary-hover: #1A3A68;
    --shadow-color: rgba(83, 129, 197, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: rgba(243, 250, 242, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

.logo .highlight { color: var(--primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--text-primary); }

.btn-nav {
    background: var(--btn-primary);
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-nav:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 24px 60px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(60, 134, 135, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(60, 134, 135, 0.1);
    border: 1px solid rgba(60, 134, 135, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--btn-primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--btn-primary);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--btn-primary);
    color: white;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(60, 134, 135, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Data Privacy Section (NEU) */
.privacy-section {
    background: linear-gradient(135deg, rgba(60, 134, 135, 0.05), rgba(83, 129, 197, 0.05));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.privacy-card {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.privacy-icon {
    width: 80px;
    height: 80px;
    background: rgba(60, 134, 135, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
}

.privacy-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.privacy-card > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.privacy-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: left;
}

.privacy-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(60, 134, 135, 0.05);
    border-radius: 12px;
}

.privacy-feature svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.privacy-feature span {
    font-weight: 500;
    color: var(--text-primary);
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--btn-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 48px;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 16px;
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--btn-primary);
}

.pricing-amount span {
    font-size: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin: 32px 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 24px 24px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 32px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-version {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.btn-nav) {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-features {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
}

/* =====================================================
   v23.12.22 ADDITIONS - Top Bar, Login Box, Phone Mockup
   ===================================================== */

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 8px 24px;
    font-size: 13px;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ssl-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.hotline a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Navigation Login Box */
.navbar {
    top: 36px; /* Adjust for top-bar */
}

.nav-login-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-login-box form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
}

.nav-login-box input {
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 13px;
    width: 140px;
    outline: none;
}

.nav-login-box input::placeholder {
    color: var(--text-muted);
}

.btn-login-arrow {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--btn-primary);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-login-arrow:hover {
    background: var(--btn-primary-hover);
}

.btn-register {
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-register:hover {
    background: var(--primary-dark);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: white;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-content a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, var(--primary) 0%, var(--btn-primary) 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: var(--btn-primary);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-content {
    padding: 44px 16px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Chat Interface */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chat-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.elster-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(60, 134, 135, 0.15);
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 11px;
    color: var(--primary);
    font-weight: 500;
}

.chat-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.chat-bubble.bot {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    align-self: flex-start;
    color: var(--text-primary);
}

.chat-bubble.user {
    background: var(--btn-primary);
    color: white;
    align-self: flex-end;
}

.chat-bubble strong {
    color: var(--primary);
}

.chat-bubble.user strong {
    color: white;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Result Card Mini */
.result-card-mini {
    background: linear-gradient(135deg, rgba(60, 134, 135, 0.15) 0%, rgba(34, 76, 134, 0.1) 100%);
    border: 1px solid rgba(60, 134, 135, 0.3);
    border-radius: 14px;
    padding: 14px;
    margin-top: 10px;
    text-align: center;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.result-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.result-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

/* Progress Mini */
.progress-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

.progress-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 90%, var(--border-color) 90%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle-inner {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
}

/* Floating Cards */
.hero-visual {
    position: relative;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-card.top-right {
    top: 20px;
    right: -30px;
    animation-delay: -2s;
}

.floating-card.bottom-right {
    bottom: 60px;
    right: -50px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

/* Responsive für Login-Box und Phone */
@media (max-width: 1024px) {
    .nav-login-box {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .phone-mockup {
        width: 260px;
        height: 520px;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .hotline {
        display: none;
    }
    
    .navbar {
        top: 32px;
    }
    
    .hero-visual {
        display: block !important;
        margin-top: 40px;
    }
    
    .phone-mockup {
        margin: 0 auto;
        width: 240px;
        height: 480px;
    }
}
