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

#homepage {
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #5e675c;
}

#homepage .just-center {
    justify-content: space-around;
    gap: 20px;
    padding: 144px 0;
}

#homepage .container {
    max-width: 1558px;
    padding: 0 24px;
    margin: auto;
}

#homepage .space {
    margin: 120px 0;
}

#homepage .mb40 {
    margin-bottom: 50px;
}

#homepage .flex {
    display: flex;
    flex-wrap: wrap;
}

#homepage .slide-banner {
    padding-bottom: 95px;
    background-image: url(slide-banner.jpg);
    background-size: cover;
    background-position: 17% 70%;
    background-attachment: scroll;
    background-repeat: no-repeat;
    min-height: 900px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

#homepage .button a {
    display: inline-block;
    padding: 12px 34px;
    background: #fff;
    color: #404040 !important;
    border: 3px solid #404040;
    border-radius: 10px;
    transition: .4s;
}

#homepage .button a:hover {
    background: #404040;
    color: #fff !important;
}

#homepage .flex-menu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#homepage .menu {
    margin: auto;
    position: relative;
    z-index: 1;
}

#homepage .menu:before {
    content: "";
    width: 50%;
    height: 100%;
    background: #22B24B;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

#homepage .menu:after {
    content: "";
    width: 50%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#homepage .menu .logo {
    background: #fff;
    width: 24%;
    padding: 24px;
}

#homepage .navbar {
    display: flex;
    column-gap: 45px;
    align-items: center;
    clip-path: polygon(5% 0%, 100% 0, 100% 100%, 0% 100%);
    background: #22B24B;
    width: 76%;
    padding: 24px 24px 24px 14%;
}

#homepage .navbar ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 1 1 0;
}

#homepage .navbar ul li a {
    color: #fff !important;
}

#homepage .navbar ul li a:hover {
    color: #003c32 !important;
}

#homepage .banner-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

#homepage .banner-link p {
    font-size: 32px;
    text-align: center;
    font-weight: 400;
    color: #5E675C !important;
}

#homepage .banner-link p a {
    color: #5E675C !important;
}

#homepage .flexbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#homepage .box-left {
    width: 46%;
}

#homepage .box-right {
    width: 44%;
}

#homepage .content {
    display: flex;
    column-gap: 120px;
    align-items: center;
}

#homepage .width {
    flex: 1 1 0;
    font-size: 17px;
}

#homepage .zertifikat {
    width: 100px;
}

#homepage .background-image {
    background-image: url(background.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 300px;
}

#homepage #rodungsarbeiten .box-right2 {
    width: 44%;
    background: url(icon4.jpg) no-repeat right 5%;
}

#homepage #rodungsarbeiten .banner2 {
    width: 49.5%;
}

#homepage #rodungsarbeiten ul li {
    position: relative;
    padding-left: 27px;
    margin-bottom: 11px;
}

#homepage #rodungsarbeiten ul {
    margin-bottom: 26px;
}

#homepage #rodungsarbeiten ul li:before {
    content: url(icon-check1.svg);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

#homepage #rodungsarbeiten .box-right2 .flex2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#homepage #rodungsarbeiten .box-right2 .flex2 div {
    width: 47%;
}

#homepage #baumpflege .box-left-2 {
    width: 41%;
}

#homepage #baumpflege .box-left-2 h4 {
    background: #404040;
    margin-right: 90px;
}

#homepage #baumpflege .box-left-2 .flex2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#homepage #baumpflege .banner3 {
    background: url(icon5.jpg) no-repeat bottom left;
    padding: 0 0 28px 120px;
    width: 57%;
}

#homepage #baumpflege ul li {
    position: relative;
    padding-left: 27px;
    margin-bottom: 11px;
}

#homepage #baumpflege ul {
    margin-bottom: 26px;
}

#homepage #baumpflege ul li:before {
    content: url(icon-check2.svg);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

#homepage .social {
    display: flex;
    justify-content: space-between;
}

#homepage .button2 svg {
    width: 15px;
    height: 15px;
}

#homepage .background-gray {
    background: #404040;
    padding: 7% 15.32% 7% 11.57%;
    min-height: 585px;
    flex: 1 1 0;
    margin-top: 90px;
    position: relative;
    z-index: 1;
    margin-right: -110px;
}

#homepage .background-social {
    background-image: url(baumpflege-social-media.png);
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    min-height: 757px;
    width: 50%;
}

#homepage .background-gray p {
    color: #fff;
    font-size: 20px;
}

#homepage .button2 a {
    display: inline-flex;
    padding: 12px 34px;
    background: transparent;
    color: #fff !important;
    border: 3px solid #fff;
    border-radius: 10px;
    transition: .4s;
    align-items: center;
    gap: 6px;
}

#homepage .button2 a:hover {
    background: #fff;
    color: #003c32 !important;
}

#homepage #footer {
    background: url(background-footer.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

#homepage #footer .background-footer {
    position: relative;
    padding: 84px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#homepage #footer:before {
    content: url(icon-footer.png);
    position: absolute;
    bottom: 5%;
    right: 5%;
    opacity: 0.1;
}

#homepage #footer .logo-bottom {
    margin-bottom: 95px;
}

#homepage #footer .contact,
#homepage #footer .list-link {
    width: 48%;
}

#homepage #footer .list-link p {
    font-size: 19px;
    line-height: 2.2;
    color: #fff;
    width: 48%;
}

#homepage #footer .list-link {
    display: flex;
    justify-content: space-between;
    padding-right: 8%;
    flex-wrap: wrap;
    gap: 15px;
}

#homepage #footer .list-link p a {
    color: #fff !important;
}

#homepage #footer .contact p {
    color: #fff;
    margin-bottom: 55px;
    font-size: 18px;
}

#homepage #footer .contact p a {
    color: #fff;
}

#homepage strong {
    font-weight: 700;
}


#homepage h2 span {
    display: inline-block;
    background: #21B24B;
    padding: 6px 70px 6px 180px;
}

#homepage h2 {
    font-size: 64px;
    font-weight: 700;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

#homepage h3 {
    line-height: 1.2;
    font-size: 54px;
    font-weight: 400;
    color: #003c32;
    margin-bottom: 57px;
}

#homepage h4 {
    padding: 16px;
    font-size: 66px;
    font-weight: 400;
    background: #003C32;
    color: #fff;
    margin-bottom: 47px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    line-height: 1.1;
}

#homepage h5 {
    font-size: 19px;
    margin-bottom: 4px;
}

#homepage h6 {
    font-size: 58px;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 400;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

#homepage ul {
    list-style: none;
}

#homepage img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 1399px) {
    #homepage .navbar {
        padding: 24px 24px 24px 6%;
    }

    #homepage #rodungsarbeiten .banner2 {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 25px;
    }

    #homepage h2 span {
        padding: 6px 24px;
    }

    #homepage .just-center {
        padding: 60px 0;
    }

    #homepage .space {
        margin: 60px 0;
    }

    #homepage #rodungsarbeiten .box-right2 {
        width: 100%;
    }

    #homepage #baumpflege .box-left-2,
    #homepage .box-left {
        width: 100%;
    }

    #homepage #baumpflege .box-left-2 .flex2 div {
        width: 48%;
    }

    #homepage #baumpflege .box-left-2 h4 {
        margin-right: 0;
    }

    #homepage #baumpflege .banner3 {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 60px;
    }

    #homepage .box-right {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 60px;
    }

    #homepage br:not(.br br) {
        display: none;
    }

    #homepage .slide-banner {
        min-height: 700px;
    }

    #homepage .background-gray {
        padding: 7%;
    }
}

@media all and (max-width: 899px) {
    #homepage .button {
        display: flex;
        justify-content: center;
    }

    #homepage .slide-banner {
        min-height: auto;
        padding: 56.25% 5% 5% 0;
    }

    #homepage .menu .logo {
        display: flex;
        width: auto;
        justify-content: center;
        margin: 0 -24px;
    }

    #homepage .navbar {
        width: auto;
        clip-path: none;
        margin: 0 -24px;
        padding: 24px;
        column-gap: 20px;
    }

    #homepage .flex-menu {
        display: block;
    }

    #homepage .menu:before,
    #homepage .menu:after {
        display: none;
    }

    #homepage .content {
        column-gap: 20px;
    }

    #homepage h2 {
        font-size: 8.5vw;
        gap: 15px;
    }

    #homepage h3 {
        font-size: 36px;
    }

    #homepage h4 {
        font-size: 50px;
        padding: 16px 32px 16px 16px;
    }

    #homepage h6 {
        font-size: 44px;
    }

    #homepage .social {
        display: block;
    }

    #homepage .background-gray {
        padding: 7%;
        margin: 0;
        min-height: auto;
    }

    #homepage .background-social {
        width: 100%;
        min-height: auto;
        padding: 56.25% 0 0 0;
    }

    #homepage #footer .list-link {
        padding-right: 0;
    }
}

@media all and (max-width: 699px) {
    #homepage .content {
        flex-direction: column;
        align-items: center;
        margin-bottom: 23px;
    }

    #homepage h4 {
        font-size: 40px;
        clip-path: none;
        padding: 16px;
    }

    #homepage #footer .background-footer {
        padding: 24px 0;
        flex-direction: column;
        align-items: center;
    }

    #homepage #footer .contact {
        width: 100%;
        margin-bottom: 40px;
    }

    #homepage #footer .list-link {
        width: 100%;
        justify-content: center;
    }

    #homepage #footer .contact p {
        text-align: center;
    }

    #homepage #footer .list-link p {
        text-align: center;
        width: 100%;
    }

    #homepage #footer .logo-bottom {
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
    }

    #homepage #footer .social-footer {
        display: flex;
        justify-content: center;
    }


}

@media all and (max-width: 599px) {

    #homepage #rodungsarbeiten .box-right2 .flex2 div,
    #homepage #baumpflege .box-left-2 .flex2 div {
        width: 100%;
    }

    #homepage #baumpflege .banner3 {
        padding: 0 0 10px 20px;
    }

}