.nav-link {
    background-color: white !important;
    position: relative !important;
    display: block ! important;
    overflow: hidden ! important;
    font-size: 14px ! important;
    font-weight: 700 ! important;
    line-height: 40px ! important;
    text-transform: uppercase ! important;
    color: var(--color-content-black2) ! important;
    padding: 0 42px 0 22px ! important;
    height: 40px ! important;
    border-radius: 10px ! important;
    -webkit-transition: all 0.3s ease ! important;
    transition: all 0.3s ease ! important;
}

.nav-link:hover {
    background-color: #e0e0e0 !important;

}

.nav-link::before {
    /* content: "";
  position: absolute;
  bottom: 15px;
  right: 21px;
  width: 6.63px;
  height: 6.97px;
  background-image: url(../../images/prototyp/icon/arrow.svg);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  background-color: unset !important;
  fill: black !important;
  stroke: black !important; */
}

.bg-untereite {
    background-color: #e41a0e7a;
}


.slider-img {
    height: 80vh;
    object-fit: cover;
}


/* unterseiten Design */
.software-services-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.sec-title .section-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
}

.section-subtitle {
    font-size: clamp(1.6rem, 2.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.section-lead,
.section-text,
.modern-card p,
.service-tile p,
.option-box p,
.closing-box p {
    color: #64748b;
    line-height: 1.8;
}

.sub-title {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e41a0e;
    margin-bottom: 10px;
}

.modern-card,
.service-tile,
.option-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e9eef5;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    padding: 24px;
    transition: all 0.3s ease;
}

.modern-card:hover,
.service-tile:hover,
.option-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.card-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e41a0e;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.content-panel {
    background: #0f172a;
    color: #fff;
    border-radius: 24px;
    padding: 32px;
    height: 100%;
}

.content-panel .section-subtitle,
.content-panel p,
.content-panel .sub-title {
    color: #fff;
}

.option-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.option-icon {
    min-width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e41a0e, #fb6824);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.closing-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 30px;
    padding: 40px 32px;
    color: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.closing-box .section-subtitle,
.closing-box p,
.closing-box .sub-title {
    color: #fff;
}

@media (max-width: 991.98px) {

    .content-panel,
    .closing-box {
        padding: 24px 20px;
    }
}


/* unterseiten Design */


.text-color-red {
    color: #e41a0e !important;
}


.testi-slider2 {
    position: relative;
    background-color: var(--color-surface-dark-2);
    padding: 58px 36px 42px;
    border-radius: 25px;
    height: 100%;
    overflow: hidden;
}


.news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 58px;
    padding: 14px 34px;
    border: 2px solid #003b63;
    border-radius: 999px;
    background-color: transparent;
    color: #111827;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: all 0.25s ease;
}

.news-btn:hover,
.news-btn:focus {
    background-color: #003b63;
    border-color: #003b63;
    color: #ffffff;
    text-decoration: none;
}

.news-btn:active {
    transform: translateY(1px);
}


.management-card-image {
    height: 380px;
}

.management-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-down {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;
}

.ser-card10 .service-title-center {
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: max-content;
    text-align: center;
    font-weight: 700;
    font-size: 26px;
}

.kununu-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.kununu-icon:hover {
    filter: brightness(0) saturate(100%) invert(18%) sepia(98%) saturate(4395%) hue-rotate(357deg) brightness(94%) contrast(91%);
}

@media (max-width: 1199px) {
    .n77-header {
        /* position: sticky; */
        top: 0;
        z-index: 9990;
        box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    }

    .n77-header .header-menu-area,
    .n77-header .header-menu-area5 {
        padding: 14px 0;
    }

    .n77-header .header-logo img {
        max-width: 190px;
        height: auto;
    }

    .n77-menu-btn {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border: 0;
        border-radius: 10px;
        background: #e9150d;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        z-index: 9995;
    }

    .n77-menu-btn span {
        width: 25px;
        height: 2px;
        background: #fff;
        border-radius: 20px;
    }

    .n77-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .55);
        opacity: 0;
        visibility: hidden;
        z-index: 9996;
        transition: .3s;
    }

    .n77-drawer {
        position: fixed;
        top: 0;
        right: -100%;
        width: 340px;
        max-width: 88%;
        height: 100vh;
        background: #fff;
        z-index: 9997;
        padding: 24px;
        overflow-y: auto;
        transition: .35s;
        box-shadow: -12px 0 35px rgba(0, 0, 0, .25);
    }

    .n77-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .n77-drawer.active {
        right: 0;
    }

    .n77-drawer-logo {
        max-width: 160px;
        height: auto;
    }

    .n77-close {
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        background: #e9150d;
        color: #fff;
        font-size: 32px;
        line-height: 1;
    }

    .n77-mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .n77-mobile-nav li {
        border-bottom: 1px solid #eee;
    }

    .n77-mobile-nav a {
        display: flex;
        justify-content: space-between;
        padding: 14px 0;
        color: #111;
        font-size: 15px;
        font-weight: 800;
        text-decoration: none;
        text-transform: uppercase;
    }

    .n77-mobile-nav .sub-menu {
        display: none;
        padding-left: 15px;
        padding-bottom: 10px;
    }

    .n77-mobile-nav li.open>.sub-menu {
        display: block;
    }

    .n77-mobile-nav .sub-menu a {
        padding: 8px 0;
        font-size: 14px;
        font-weight: 500;
        color: #444;
        text-transform: none;
    }

    .n77-apply-btn {
        display: block;
        padding: 14px 18px;
        border-radius: 30px;
        background: #e9150d;
        color: #fff;
        text-align: center;
        font-weight: 800;
        text-decoration: none;
    }

    body.n77-menu-open {
        overflow: hidden;
    }
}

@media (min-width: 1200px) {

    .n77-overlay,
    .n77-drawer {
        display: none;
    }
}

body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color {
    position: relative;
    isolation: isolate;
}

body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color::before,
body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color::after {
    z-index: 0 !important;
}

body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color>span {
    position: relative;
    z-index: 5 !important;
}


body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color:hover,
body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color:focus,
body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color:active,
body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color:hover>span,
body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color:focus>span,
body a.ibt-btn.ibt-btn-outline-3.ibt-btn-rounded.btn-color:active>span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.hero-fact-card .title {
    font-size: clamp(18px, 1.6vw, 28px);
    line-height: 1.2;
}

.hero-fact-card .counter-number,
.hero-fact-card .counter-text {
    font-size: clamp(30px, 3vw, 55px);
    line-height: 1;
}

.hero-fact-card .sub-title {
    display: block;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .hero-fact-card .title {
        font-size: 18px !important;
    }

    .hero-fact-card .counter-number,
    .hero-fact-card .counter-text {
        font-size: 34px !important;
    }

    .hero-fact-card .sub-title {
        font-size: 12px !important;
        line-height: 1.3;
    }
}

@media (max-width: 575.98px) {
    .hero-fact-card .title {
        font-size: 16px !important;
    }

    .hero-fact-card .counter-number,
    .hero-fact-card .counter-text {
        font-size: 30px !important;
    }

    .hero-fact-card .sub-title {
        font-size: 11px !important;
    }
}





.logo-slider {
    overflow: hidden;
    background: #fff;
}

.logo-slider-track {
    display: flex;
    width: max-content;
    animation: logoScroll 25s linear infinite;
    will-change: transform;
}

.logo-slider-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-item {
    width: 180px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-item img {
    width: 100%;
    height: 70px;
    object-fit: contain;
    opacity: .8;
}

@keyframes logoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .logo-slider-track {
        animation-duration: 18s;
    }

    .logo-item {
        width: 135px;
        padding: 0 20px;
    }

    .logo-item img {
        height: 50px;
    }
}



    .news-card {
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .12) !important;
    }


    .news-card-title {
        min-height: 4.5rem;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .news-detail-img {
        width: 100%;
        max-height: 560px;
        object-fit: contain;
        background: #f8f9fa;
    }

    .news-content img {
        max-width: 100%;
        height: auto;
        border-radius: .75rem;
    }

    .news-content p:last-child {
        margin-bottom: 0;
    }


    .news-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


.news-card .ratio-1x1 {
  --bs-aspect-ratio: 80%;
}

.logogroup {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%;
}

.logo-new-item {
    grid-area: 1 / 1;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;

    pointer-events: none;
}

.logo-new-item.active {
    opacity: 1;
    visibility: visible;
}

.logo-new-item img {
    display: block;
    max-width: 180px; /* nach Bedarf */
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-new-item {
    grid-area: 1 / 1;

    opacity: 0;
    visibility: hidden;
    transform: scale(0.94);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        visibility 0.8s ease;
}

.logo-new-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.testimonial-content {
    position: relative;
    
}

.testimonial-content > img {
    display: block;
    width: 100%;
   
    object-fit: cover;
}

.client-logo-stage {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.client-logo-stack {
    position: relative;
    width: 360px;
    height: 170px;
}

.client-logo-card {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 28px 36px;

    background: transparent;
    border-radius: 24px;

    opacity: 0;
    visibility: hidden;

    transform: scale(.96);

    transition:
        opacity .5s ease,
        transform .5s ease,
        visibility .5s ease;
}

.client-logo-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.client-logo-card img {
    display: block;

    width: auto;
    height: auto;

    max-width: 280px;
    max-height: 110px;

    object-fit: contain;
}


.client-logo-stage {
    position: absolute;
    inset: 0;
    padding: 60px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-logo-heading {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-bottom: 0;
}

/* Logo-Container mittig positionieren */
.client-logo-stack {
    position: relative;

    width: 360px;
    max-width: 100%;
    height: 170px;

   /*flex: 0 0 70px;*/
    margin: auto;
}

.client-logo-card {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 28px 36px;

      background: transparent;
    border-radius: 24px;

    opacity: 0;
    visibility: hidden;

    transform: scale(.96);

    transition:
        opacity .5s ease,
        transform .5s ease,
        visibility .5s ease;
}

.client-logo-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.client-logo-card img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}




.ser-card10 {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.ser-card10 img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.ser-card10 .service-title-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-content,.testi-slider{
    max-height:540px;
    border-radius:40px;
}

.testi-slider{
    padding-top:20px;
}


/* .testi-slider .swiper-wrapper {
    transform: translateY(-65px) ;
} */
