/** Icon with text element */ 
.nw-icon-with-text {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.nw-icon-with-text span.vc_icon_element-icon:before {
    background: #008dea;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 999px;
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
}

.nw-icon-with-text h3 {
    padding-top: 0;
    margin: 0;
    line-height: 40px;
}

.nw-icon-with-text p {
    font-size: 1rem;
    line-height: 1.8;
    text-wrap: pretty;
    margin-top: 0.5rem;
}



/* Service Grid */ 
.service-grid-content {
    max-width: 1500px !important;
    width: 100% !important;
    margin: auto;
    padding: 0 30px;
}

.service-grid-bg {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 80%;
    max-height: 125vh;
    position: absolute;
    z-index: -1;
}
.service-grid-bg:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, black, rgba(0,0,0,0.33));
}

.service-grid-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 0 6rem 0;
    color: #fff;
}
.service-grid-intro h2 {
    font-size: 3rem;
    line-height: 3.6rem;
    text-wrap: balance;
    margin: 1rem 0;
}
.service-grid-intro a {
    background: #008cea;
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}
.service-grid-intro a:hover {
    background: #0181d7;
}
.service-grid-intro p {
    max-width: 1000px;
    margin-bottom: 2.5em;
}

.service-grid .tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.tiles p {
    line-height: 1.8;
    font-weight: 300;
}

.service-grid .one-tile {
    width: 100%;
}

.service-grid .two-tiles {
    width: calc(50% - 2rem);
}

.service-grid .three-tiles {
    width: calc(33.333% - (4rem / 3));
}

.service-grid .four-tiles {
    width: calc(25% - (6rem / 4));
}

.service-grid .multi-tiles {
    width: 25%; /* oder eine andere Berechnung für mehr als 4 Tiles */
}


.service-grid .tile {
    box-sizing: border-box;
    background: #fff;
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;

    box-shadow: 0 0 24px rgba(0, 0, 0, 0.1);
    border-bottom: 6px solid #008cea;
}

.service-grid .tile img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 1300px) {
    .service-grid .tile {
        width: calc(50% - 1rem) !important;
    }
}
@media screen and (max-width: 768px) {
    .service-grid .tile {
        width: 100% !important;
    }

    .service-grid-intro h2 {
        font-size: 2rem;
        line-height: 2.6rem;
    }

    .service-grid-intro h3.tagline {
        margin: 0;
    }
}



/* Overwrite vc styles */ 
.vc_btn3-style-flat {
    background: #008cea !important;
    font-size: 1rem !important;
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}
.vc_btn3-style-flat:hover {
    background: #0181d7 !important;
}

/* Overwrite theme styles */ 
body {
    overflow-x: hidden;
}

.iw-header .iw-header_main-navigation #primary-menu > li > a {
    letter-spacing: 0.05em !important;
}

/* Menu styles */ 
@media screen and (max-width: 1300px) {
     .iw-header .iw-header_main-navigation {
        position: absolute;
        display: flex;
        right: -100%;
        top: 0;
        z-index: 2;
        padding: 0px;
        /* min-width: 300px; */
        /* height: 100vh; */
        padding-top: 90px;
        pointer-events: none;
        opacity: 0;
        transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
    }
}
@media (max-width: 1300px) {
    .menu-toggle.iw-header_mobilemenu-trigger {
        display: block;
    }
}
   

.nw-custom-icon-with-text .custom-icon-wrapper svg {
    aspect-ratio: 1 / 1;
    max-width: 96px;
    width: 100%;
}

.nw-custom-icon-with-text {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    text-wrap: balance;
}
.nw-custom-icon-with-text.text-center {
    align-items: center;
    text-align: center;
}
.nw-custom-icon-with-text .custom-icon-wrapper {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    aspect-ratio: 1 / 1;
    
}
.nw-custom-icon-with-text h3 {
    margin-top: 0;
    margin-bottom: 0;
}
.nw-custom-icon-with-text .content {
    width: 100%;
}
.nw-custom-icon-with-text p {
    font-weight: 300;
    padding-top: 0;
    margin-top: 0;
}
.custom-icon-wrapper svg path {
    /* fill: #008dea !important; */
    fill: #333333 !important;
}
.nw-custom-icon-with-text .custom-icon-wrapper svg path {
    fill: #008dea !important;
    /* fill: #333333 !important; */
}