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

body {
    font-family: 'Helvetica', sans-serif;
    line-height: 1.6;
    background-color: #f3f4f6;
    color: #2f3e46;
}

/* Hero Section old
header.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80vh;
    background-color: #edf6f9;
    padding: 50px 5%;
}*/

/*FLEX*/
header.hero {
    display: flex;
    flex-direction: row; /* Standard: Bild und Text nebeneinander */
    justify-content: space-between;
    align-items: center;
    max-height: 100vh;
    background-color: #edf6f9;
    padding: 50px 5%;
}

@media (max-width: 580px) {
    h1 {
        font-size: 1.8rem !important;
    }

    p {
        font-size: 1rem !important;
    }

    .cta-button {
        padding: 10px 20px !important;
        font-size: 1rem !important;
    }

    .hero-image {
        max-width: 100% !important;
    }

    header.hero {
        height: auto !important;
    }
    .benefit {
        flex-basis: 100% !important;
    }
    .benefit-grid {
        flex-direction: column !important;
    }
    .comparison-images {
        display: block !important;
    }
    .comparison-images img {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    header.hero {
        flex-direction: column; /* Bei kleinerer Breite: Bild und Text untereinander */
        padding: 20px;
    }

    .hero-image {
        width: 100%; /* Das Bild nimmt die volle Breite auf kleineren Bildschirmen */
    }

    .hero-content {
        padding: 20px;
        margin-top: 20px;
    }
}

/*FLEX - wait, old?*/

.hero-image-container {
    flex-basis: 50%;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    max-width: 40%;
    padding-right: 20px !important;
}

.hero-content {
    /* flex-basis: 55%; */
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.hero-content h1 {
    font-size: 2.8rem;
    color: #386641;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #6a994e;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #386641;
}

/* Vorteile des Obstbaumschnitts */
section.benefits {
    padding: 60px 20px;
    background-color: #ffffff;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #386641;
}

.benefit-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 40px;
}

.benefit {
    flex-basis: 30%;
    background-color: #f3f4f6;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.benefit:hover {
    transform: translateY(-10px);
}

.benefit h3 {
    font-size: 1.8rem;
    color: #6a994e;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 1.1rem;
    color: #2f3e46;
}

/* Vorher-Nachher Vergleich */
section.comparison {
    padding: 60px 20px;
    background-color: #edf6f9;
    text-align: center;
}

.comparison h2 {
    font-size: 2.5rem;
    color: #386641;
    margin-bottom: 50px;
}

.comparison-images {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.comparison-images img {
    max-height: 80vh;
    max-width: 45%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Footer 
footer {
    background-color: #2f3e46;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 1rem;
}

*/

footer {
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 5px 0;
}