/* Lexware Optimierung Hero Section */
.optimierung-hero {
    position: relative;
    min-height: 450px;
    background-image: url('../images/auto.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.optimierung-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.optimierung-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 60px 40px;
}

.optimierung-content h2 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.optimierung-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.btn-optimierung {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-optimierung:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
    .optimierung-hero {
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .optimierung-content {
        padding: 40px 20px;
    }
    
    .optimierung-content h2 {
        font-size: 1.8rem;
    }
    
    .optimierung-content p {
        font-size: 1rem;
    }
    
    .btn-optimierung {
        padding: 15px 30px;
        font-size: 0.9rem;
    }
}

/* Lexware Office Section */
.lexware-office {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    padding: 60px 0;
}

.lexware-office-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.lexware-office-left {
    padding-right: 20px;
}

.lexware-office-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 1.5rem;
}

.lexware-office-left h2 {
    font-size: 2rem;
    color: #1a1a2e;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.lexware-office-left p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.lexware-office-features {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.office-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
}

.office-feature svg {
    color: var(--primary-color);
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.btn-lexware-office {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-lexware-office:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
}

.lexware-office-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.dashboard-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.dashboard-image:hover {
    transform: scale(1.02);
}

@media screen and (max-width: 992px) {
    .lexware-office-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .lexware-office-left {
        padding-right: 0;
        text-align: center;
    }
    
    .lexware-office-logo {
        margin: 0 auto 2rem;
    }
    
    .lexware-office-features {
        align-items: center;
    }
    
    .btn-lexware-office {
        margin: 1rem auto 0;
    }
    
    .lexware-office-left h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .lexware-office {
        padding: 40px 0;
    }
    
    .lexware-office-left h2 {
        font-size: 1.4rem;
    }
    
    .lexware-office-left p {
        font-size: 0.95rem;
    }
    
    .office-feature {
        font-size: 0.9rem;
    }
    
    .lexware-office-logo {
        max-width: 180px;
    }
    
    .btn-lexware-office {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .optimierung-hero {
        min-height: 400px;
        background-attachment: scroll;
    }
    
    .optimierung-content {
        padding: 30px 20px;
    }
    
    .optimierung-content h2 {
        font-size: 1.4rem;
    }
    
    .optimierung-content p {
        font-size: 0.95rem;
    }
    
    .btn-optimierung {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
