* {
    padding: 0;
    font-family: "Poppins", sans-serif;
}

#banner {
    background: linear-gradient(rgba(133, 133, 133, 0.5), #000000), url(images3-eröffnung/schadibw.jpg);
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-text {
    color: #fff;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.banner-text h1 {
    font-size: 50px;
    font-family: "Kaushan Script", cursive;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 30px;
}

.banner-btn {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.banner-btn a {
    width: 150px;
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
    padding: 12px 0;
    color: #fff;
    border: 0.5px solid #fff;
    position: relative;
    z-index: 1;
    transition: color 0.5s;
}

.banner-btn a span {
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    z-index: -1;
    transition: 0.5s;
}

.banner-btn a:hover span {
    width: 100%;
}

.banner-btn a:hover {
    color: #000;
}

#sideNav {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    z-index: 999;
    transition: 0.5s;
    font-family: "Caveat", cursive;
    font-size: 24px;
    background-color: rgba(39, 39, 39, 0.95);
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    overflow-y: auto;
    right: -250px; 
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

nav ul li {
    width: 100%;
    text-align: center;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 40px;
    padding: 15px 0;
    display: flex;
    width: 100%;
    transition: background 0.3s ease, color 0.3s ease;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: "Caveat", cursive;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f4a261;
    border-radius: 0;
}

#menuBtn {
    width: 50px;
    height: 50px;
    background: #8b8b8b;
    text-align: center;
    position: fixed;
    right: 30px;
    top: 20px;
    border-radius: 3px;
    z-index: 1000;
    cursor: pointer;
}

#menuBtn img {
    width: 30px;
    margin-top: 10px;
}



/* Overlay-Styling */
#menuOverlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 998; 
}


#sideNav.active {
    right: 0;
}

#menuOverlay.active {
    display: block; 
}

@media screen and (max-width: 770px) {
    #sideNav {
        
        top: 0;
        right: -250px; 
        width: 250px; 
        transition: right 0.5s ease; 
    }





}


@media screen and (max-width: 770px) {
    .banner-text h1 {
        font-size: 44px;
    }

    .banner-btn a {
        display: block;
        margin: 1px auto;
    }
}

#feature {
    width: 100%;
    padding: 70px 0;
}

.title-text {
    text-align: center;
    padding-bottom: 70px;
}

.title-text p {
    margin: auto;
    font-size: 20px;
    color: #5c5c5c;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.title-text p::after {
    content: "";
    width: 50px;
    height: 35px;
    background: linear-gradient(#6e6e6e, #fff);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: -1;
    transform: rotate(10deg);
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
}

.title-text h1 {
    font-size: 50px;
}

.feature-box {
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.features {
    flex-basis: 50%;
}

.features-img {
    flex-basis: 50%;
    margin: auto;
}

.features-img img {
    width: 70%;
    border-radius: 100px;
}

.features h1 {
    text-align: left;
    margin-bottom: 10px;
    font-weight: 100;
    color: #7c7c7c;
}

.features-desc {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.feature-icon .fa {
    width: 50px;
    height: 50px;
    font-size: 30px;
    line-height: 50px;
    border-radius: 8px;
    color: #5f5f5f;
    border: 1px solid #858585;
}

.feature-text p {
    padding: 0 20px;
    text-align: initial;
}

@media screen and (max-width: 770px) {
    .title-text h1 {
        font-size: 35px;
    }

    .features {
        flex-basis: 100%;
    }

    .features-img {
        flex-basis: 100%;
    }

    .features-img img {
        width: 100%;
    }
}

#service {
    width: 100%;
    padding: 70px 0;
    background: #efefef;
}

.service-box {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}

.single-service {
    flex-basis: 48%;
    text-align: center;
    border-radius: 7px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.single-service img {
    width: 100%;
    border-radius: 87px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 87px;
    cursor: pointer;
    background: linear-gradient(rgba(0, 0, 0, 0.5), #3b3b3b);
    opacity: 0;
    transition: 1s;
}

.single-service:hover .overlay {
    opacity: 1;
}

.service-desc {
    width: 80%;
    position: absolute;
    bottom: 40%;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    transition: 1s;
}

hr {
    background: #fff;
    height: 2px;
    border: 0;
    margin: 15px auto;
    width: 60%;
}

.service-desc p {
    font-size: 14px;
}

.single-service:hover .service-desc {
    bottom: 40%;
    opacity: 1;
}

@media screen and (max-width: 770px) {
    .single-service {
        flex-basis: 100%;
        margin-bottom: 30px;
    }

    .service-desc p {
        font-size: 12px;
    }

    hr {
        margin: 5px auto;
    }

    .single-service:hover .service-desc {
        bottom: 25% !important;
    }
}

#testimonial {
    width: 100%;
    padding: 70px 0;
}

.testimonial-row {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.testimonial-col {
    flex-basis: 28%;
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 10px 20px 3px #00968814;
    cursor: pointer;
    transition: transform 0.5s;
}

.testimonial-col p {
    font-size: 14px;
}

.user {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.user img {
    width: 50px;
    margin-right: 20px;
    border-radius: 3px;
}

.user-info .fa {
    margin-left: 10px;
    color: #ffffff;
    font-size: 20px;
}

.user-info small {
    color: #006cb4;
    position: fixed;
    text-decoration: none;
    cursor: default;
}

.testimonial-col:hover {
    transform: translateY(-7px);
}

@media screen and (max-width: 770px) {
    .testimonial-col {
        flex-basis: 100%;
    }
}

#footer {
    padding: 20px;
    background: rgb(175, 175, 175);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 80%;
    margin: 20px auto;
    position: relative;
    z-index: 2;
}

.footer-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.footer-item:hover {
    transform: translateY(-5px);
}

.footer-item h1 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #434343;
}

.footer-item p {
    line-height: 1.5;
    font-size: 16px;
    color: #434343;
}

.footer-item a {
    color: #005a96;
    text-decoration: none;
}

.footer-item a:hover {
    color: #000;
    transform: scale(1.1);
    transition: 0.3s ease;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #434343;
}

.footer-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links a {
    height: 40px;
    width: 40px;
    font-size: 20px;
    line-height: 40px;
    border: 2.5px solid #65adff;
    margin: 10px;
    color: #ffffff;
    background-color: #434343;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50%;
}

.social-links a:hover {
    color: #434343;
    background-color: #64a6f1;
    transform: scale(1.2);
}

@media screen and (max-width: 770px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-item {
        padding: 15px;
    }

    .footer-item h1 {
        font-size: 18px;
    }

    .footer-item p {
        font-size: 14px;
    }

    .social-links a {
        font-size: 16px;
        margin: 5px;
    }
}

@media screen and (max-width: 1320px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-item {
        padding: 15px;
    }

    .footer-item h1 {
        font-size: 18px;
    }

    .footer-item p {
        font-size: 14px;
    }

    .social-links {
        grid-column: span 1;
        display: flex;
        padding: 7px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .social-links a {
        font-size: 16px;
        margin: 5px;
    }
}

@media screen and (min-width: 771px) {
    .footer-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media screen and (max-width: 770px) {
    .footer-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .footer-left,
    .footer-right {
        font-size: 14px;
    }
}

@media screen and (max-width: 770px) {
    #banner {
        height: auto;
        padding: 50px 20px;
    }

    .banner-text h1 {
        font-size: 35px;
    }

    .banner-text p {
        font-size: 18px;
    }

    .banner-btn {
        flex-direction: column;
    }

    .banner-btn a {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .banner-text h1 {
        font-size: 28px;
    }

    .banner-text p {
        font-size: 16px;
    }
}