/* Grundlegende Stile und Variablen */
:root {
    --primary-color: #2563eb; /* Professionelles Blau */
    --secondary-color: #1e293b; /* Dunkles Blau/Grau */
    --accent-color: #059669; /* Grün für Nachhaltigkeit */
    --background-color: #f8fafc; /* Sehr helles Grau */
    --text-color: #334155; /* Dunkles Grau */
    --headline-color: #1e293b;
    --white-color: #ffffff;
    --light-gray: #e2e8f0;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

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

/* Header */
.main-header {
    background: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--headline-color);
    text-decoration: none;
}

/* WICHTIG: Platz für den Sticky Header schaffen */
main {
    padding-top: 80px; /* Platz für den Header */
}

/* Call-to-Action Button Stile */
.cta-button {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: inline-block;
}

    .cta-button.primary {
        background-color: var(--primary-color);
        color: var(--white-color);
    }

        .cta-button.primary:hover {
            background-color: #1d4ed8;
            transform: translateY(-2px);
        }

    .cta-button.large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

/* Hero Sektion - Padding angepasst da main bereits Platz schafft */
.hero {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(37, 99, 235, 0.8)), url('https://via.placeholder.com/1920x800.png/64748b/ffffff?text=Moderne+Überdachung') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 40px 0 120px 0; /* Weniger oben, da main bereits Platz schafft */
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    font-weight: 300;
    opacity: 0.95;
}

/* Sektionen Allgemein */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--headline-color);
    margin-bottom: 50px;
}

h3 {
    font-size: 1.8rem;
    color: var(--headline-color);
    margin-bottom: 1rem;
}

/* Produktvorstellung */
.product-showcase {
    background-color: var(--white-color);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.product-text ul {
    list-style: none;
    margin-top: 25px;
}

    .product-text ul li {
        margin-bottom: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
    }

        .product-text ul li::before {
            content: '✓';
            color: var(--accent-color);
            font-weight: bold;
            margin-right: 8px;
        }

.product-images img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

/* Features Sektion */
.features-section {
    background-color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

    .feature-card h3 {
        font-size: 1.4rem;
        margin-button: 15px;
        color: var(--primary-color);
    }

    .feature-card p {
        font-size: 1rem;
        line-height: 1.7;
    }

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

    .faq-container details {
        background: var(--white-color);
        padding: 25px;
        border-radius: 10px;
        margin-bottom: 15px;
        border: 1px solid var(--light-gray);
        cursor: pointer;
        transition: border-color 0.2s ease;
    }

        .faq-container details[open] {
            border-color: var(--primary-color);
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
        }

    .faq-container summary {
        font-weight: 600;
        color: var(--headline-color);
        font-size: 1.1rem;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .faq-container summary::-webkit-details-marker {
            display: none;
        }

        .faq-container summary::after {
            content: '+';
            font-size: 1.8rem;
            font-weight: 300;
            color: var(--primary-color);
            transition: transform 0.2s;
        }

    .faq-container details[open] summary::after {
        content: '−';
        transform: rotate(180deg);
    }

    .faq-container details p {
        margin-top: 20px;
        line-height: 1.7;
        font-size: 1rem;
    }

/* Finale CTA Sektion */
.cta-final {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    text-align: center;
}

    .cta-final h2 {
        color: var(--white-color);
        margin-bottom: 20px;
    }

    .cta-final p {
        margin-bottom: 30px;
        font-size: 1.1rem;
    }

.contact-info {
    margin-top: 20px !important;
    font-size: 1rem !important;
    opacity: 0.9;
}

    .contact-info strong {
        color: var(--white-color);
    }

/* Footer */
footer {
    background-color: var(--light-gray);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

    footer a {
        color: var(--text-color);
        text-decoration: none;
        margin: 0 5px;
    }

        footer a:hover {
            text-decoration: underline;
            color: var(--primary-color);
        }

/* Responsive Design */
@media(max-width: 768px) {
    /* Header-Platz für mobile Geräte anpassen */
    main {
        padding-top: 70px;
    }

    .hero {
        padding: 20px 0 80px 0;
    }

        .hero h1 {
            font-size: 2.5rem;
        }

        .hero .subtitle {
            font-size: 1.1rem;
        }

    h2 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-images {
        order: -1;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 25px;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
}

@media(max-width: 480px) {
    /* Noch weniger Header-Platz für sehr kleine Bildschirme */
    main {
        padding-top: 60px;
    }

    .hero {
        padding: 20px 0 60px 0;
    }

        .hero h1 {
            font-size: 2.2rem;
        }

    .logo {
        font-size: 1.3rem;
    }

    .cta-button.large {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
