@media screen and (max-width:777px) {

    .logo-img {
        margin-top: -0.2vh;
        min-width: 10vw;
        height: auto;
        z-index: 999;
        /* Sicherstellen, dass SVG im Vordergrund bleibt */
        cursor: pointer;
    }


    #burger-icon {
        display: block;
        margin-right: 3vw;
        margin-top: 0.88vh;

    }

    #invertmenu {
        margin-top: 5vh;
        margin-right: 3vw;
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
    }

    #invertmenu a {
        opacity: 0;
        font-size: 4.5vw !important;
        transform: translateY(10px);
        /* Leichter Start von unten */
        transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    }

    /* Verzögerung basierend auf der Position im Menü */
    #invertmenu.open a:nth-child(1) {
        transition-delay: 0.1s;
    }

    #invertmenu.open a:nth-child(2) {
        transition-delay: 0.2s;
    }

    #invertmenu.open a:nth-child(3) {
        transition-delay: 0.3s;
    }

    #invertmenu.open a:nth-child(4) {
        transition-delay: 0.4s;
    }

    #invertmenu.open a:nth-child(5) {
        transition-delay: 0.5s;
    }

    #invertmenu.open a:nth-child(6) {
        transition-delay: 0.6s;
    }

    #invertmenu.open a {
        opacity: 1;
        transform: translateY(0);
    }

    #invertmenu.collapsed-menu {
        opacity: 0;
    }

    #invertmenu.open {
        opacity: 1;
    }

    .leistungen-stage {
        padding-top: 5vh;
        padding-bottom: 5vh;
    }

    .leistungen-stage-bg {
        width: 102vw;
        min-height: 100%;
        height: auto;
    }

    .custom-col {
        flex: 0 0 auto !important;
        max-width: 20%;
    }

    #partnerlistGrid.container-fluid {
        width: auto !important;
    }


    h1 {
        font-size: 3.4vw;
        padding-bottom: 30px;
        font-weight: 900;
        line-height: 8vh;
        font-family: "Figtree";
    }

    p strong {
        font-size: 5.1vw;
    }

    p {
        font-size: 5vw;
    }

    h2 {
        font-size: 8vmin !important;
        font-weight: 900 !important;
    }

    h3 {
    }

    h4 {
        font-size: 1.5rem;
        font-weight: 500;
    }

    .link_underline {
        font-size: 5vw;
    }
    .link_underline_left{
        font-size: 5vw;
    } 
    .card-img-custom-div{
        min-height: 150px;
        max-height: 200px;
    }
    .card {
        margin-bottom: 3vmin;
    }

    .headline-container {
        top: 60%;
        left: 1%;
        width: 100%;
        transform: translateY(-50%);
        z-index: 10;
        pointer-events: none;
    }

    .headline {
        font-size: 11vmin;
        font-weight: 900;
        text-align: left;
        padding-left: 20px;
        color: white;
        font-family: 'Figtree';
        text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    }

    .sub-headline {
        margin-top: -3vmin;
        font-size: 8vmin;
        font-weight: 700;
        text-align: left;
        padding-left: 20px;
        color: var(--primary);
        font-family: 'Figtree';
        text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    }

    .infoCard {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .pCol {
        font-size: 5vw;
    }

    .link_underline {
        font-size: 5vw;
    }

    .infoCard .link_underline {
        font-size: 5vw;
    }

    .infoCard li {
        font-size: 4.9vw !important;
    }

    .infoCard p {
        font-size: 5vw !important;
    }



    #Counter {
        min-height: 44vh;
        justify-content: space-around;
    }

    #Counter .col-md-4 {
        margin-bottom: 3.33vmin;
    }

    .accordion-header {
        font-size: 5vw !important;
    }


    .accordion-body {
        font-size: 4.5vw !important;
        line-height: 1.6;
    }

    /* Links Styling */
    .accordion-body a {
        font-size: 4.5vw !important;
    }



    /* Strong Elements Styling */
    .accordion-body strong {
        font-size: 5vw !important;
    }

    .accordion-button {
        font-size: 5vw !important;
    }

    .dozCol{
        text-align: center!important;
    }

    .dozCol a {
        display: flex;
        justify-content: center;
    }
    .feature-logo{
        position: relative;
        left: 10%;
    }
    
.footerCompany{
    position: relative;
    display: flex;
    width:100%;
    justify-content: center;
}

.footerAddons{
    position:relative;
    width: 100%;
    display: flex;
    justify-content: center!important;
}

#map{
    height: 400px;
}
}
