body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 80%;
    max-width: 900px; 
    margin: 0 auto;
    padding: 0 10px; 
    box-sizing: border-box;
}

.main-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    min-height: 70px;
    max-height: 70px;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: #2F4F4F;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    width: 250px;
    padding: 10px 0;
    text-align: left;
}

.dropdown-menu li {
    padding: 10px 20px;
}

.dropdown-menu li a {
    color: #2F4F4F;
    font-size: 16px;
    font-weight: normal;
    display: block;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.hero {
    background: url('fon.png') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 400px; 
}


.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    color:white;
    font-weight: bold;
    flex: 1;
    text-align: left;
}

.contact-box {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    max-width: 400px;
    text-align: center;
    border-top: 5px solid #27ae60;
    border-radius: 10px;
}

.contact-box p {
    color: white;
    margin: 10px 0;
}

.contact-box .phone {
    font-size: 1.8rem;
    font-weight: bold;
}

.btn-green {
    display: inline-block;
    padding: 10px 20px;
    background: #27ae60;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    margin-top: 20px;
}

.hero2 {
    background: url('main.png') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center; 
    position: relative;
    height: 300px; 
}

.hero2-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero2-title {
    font-size: 2.5rem;
    color:white;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

.hero3 {
    background: url('main1.png') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center; 
    position: relative;
    height: 300px; 
}

.hero3-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero3-title {
    font-size: 2.5rem;
    color:white;
    font-weight: bold;
    flex: 1;
    text-align: left;
}

.hero4 {
    background: url('main2.png') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 300px; 
}

.hero4-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero4-title {
    font-size: 2.5rem;
    color:white;
    font-weight: bold;
    flex: 1;
    text-align: left;
}

.about-us {
    padding: 50px 0;
    background: #e8f5e9; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    display: flex;
    gap: 20px;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
}

.about-image img {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-text {
    max-width: 600px;
}

.about-text1 {
    max-width: 600px;

}

.about-text h2 {
    font-size: 2rem;
    color: #2F4F4F;
    margin-bottom: 15px;
    text-align: center;
}

.about-text p {
    margin: 10px 0;
    line-height: 1.6;
}


.about1-us {
    padding: 50px 0;
    background: #e8f5e9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about1-container {
    display: flex;
    gap: 20px;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
}

.about1-text {
    max-width: 600px;
    text-align: center; 
    margin: 0 auto; 
}

.about1-text h2 {
    font-size: 2rem;
    color: #2F4F4F;
    margin-bottom: 15px;
    text-align: center;
}

.about1-text p {
    margin: 10px 0;
    line-height: 1.6;
}

.services-section {
    padding: 50px 0;
    background: #f4f4f4;
}

.services-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2F4F4F;
}

.intro-text {
    text-align: center;
    margin: 20px 0;
    font-size: 1rem;
}

.service-items {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.service-item {
    text-align: center;
    background: white;
    padding: 20px;
    max-width: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-item img {
    max-width: 100%;
    border-radius: 10px;
}

.service-item h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.contact-section {
    background: url('form.png') no-repeat center center/cover;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
     min-height: 100vh;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 70px; 
    background-color: #e8f5e9;
}

.contact-container {
    width: 50%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

        h2, h3 {
            text-align: center;
            color: #333;
        }

        .form-group {

            display: flex;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 15px;
        }

        .form-group label {
            font-weight: bold;
            flex: 1;
            margin-right: 10px;
        }

        .form-group input, textarea {
            flex: 2;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            width: 100%;
        }

        textarea {
            height: 100px;
            resize: none;
        }

        button {
            background-color: green;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            display: block;
            width: 100%;
            font-size: 16px;
        }

        .contact-info {
            margin-top: 20px;
            text-align: center;
        }

        .contact-info a {
            color: blue;
            text-decoration: none;
        }

.contact-options {
    background: url('form.png') no-repeat center center/cover;
    min-height: 60vh;
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
}

.contact-box {
    background: rgba(0, 0, 0, 0.85);
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    border-top: 5px solid #27ae60;
    border-radius: 15px;
    color: white;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

.contact-box .phone,
.contact-box .email {
    font-size: 2rem;
    font-weight: bold;
}

.btn-green {
    display: inline-block;
    padding: 12px 25px;
    background: #27ae60;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.btn-green:hover {
    background: #218c54;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-box {
        width: 90%;
    }
}

.entruempelung-section {
    padding: 50px 0;
    background-color: #fff; 
}

.entruempelung-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #2b5d34; 
    margin-bottom: 30px;
}

.entruempelung-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.text-block {
    width: 50%;
    padding: 20px;
}

.text-block h3 {
    font-size: 20px;
    font-weight: bold;
    color: #2b5d34;
    margin-bottom: 10px;
}

.text-block p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.image-block {
    width: 45%;
}

.image-block img {
    width: 100%;
    border-radius: 5px;
}

.entruempelung-content.reverse {
    flex-direction: row-reverse;
}

.vorteile-section {
    padding: 50px 0;
    background-color: #f8f8f8; 
    text-align: center;
}

.vorteile-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #2b5d34;
    margin-bottom: 30px;
}

.vorteile-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.vorteile-item {
    position: relative;
    width: 22%;
    overflow: hidden;
    border-radius: 8px;
}

.vorteile-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.vorteile-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vorteile-item .overlay p {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.vorteile-item:hover img {
    transform: scale(1.1);
}

.vorteile-item:hover .overlay {
    opacity: 1;
}

.ablauf-section {
    background-color: #e8f5e9; 
    padding: 60px 0;
    text-align: center;
}

.ablauf-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #2b5d34; 
    margin-bottom: 30px;
}

.ablauf-image {
    display: flex;
    justify-content: center;
}

.ablauf-image img {
    max-width: 80%; 
    height: auto;
}

footer ul {
    margin: 0;
    padding: 0;
}

footer ul li {
    color: white;
    margin-bottom: 5px;
}

footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #7cd47c;
}

@media (max-width: 1024px) {
    .container {
        width: 90%;
        padding: 0 15px;
    }

    .main-header {
        padding: 10px 0;
    }

    .hero-title, .hero2-title, .hero3-title, .hero4-title {
        font-size: 2rem;
        text-align: center;
    }

    .about-container, .about1-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        max-width: 80%;
    }

    .text-block, .image-block {
        width: 100%;
    }

    .entruempelung-content {
        flex-direction: column;
    }

    .vorteile-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .vorteile-item {
        width: 45%;
    }

    .contact-container {
        width: 80%;
    }
}


@media (max-width: 768px) {
    .main-header {
        min-height: 60px;
        max-height: 60px;
    }

    .logo img {
        height: 50px;
    }

    nav ul {
        flex-direction: column;
        position: absolute;
        background: white;
        width: 100%;
        top: 60px;
        left: 0;
        display: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }

    .dropdown:hover .dropdown-menu {
        position: static;
        width: 100%;
    }

    .hero {
        padding: 80px 0;
        height: auto;
        flex-direction: column;
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .contact-box {
        max-width: 90%;
        padding: 15px;
    }

    .service-items {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        max-width: 90%;
    }

    .about-image img {
        max-width: 100%;
    }

    .contact-container {
        width: 90%;
    }

    .vorteile-item {
        width: 90%;
    }

    .ablauf-image img {
        max-width: 100%;
    }
}
