.main-header .outer-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-top-two {
    position: relative;
    width: 100%;
    background-color: #f3f5f9;
    padding: 0px 0px;
    padding: 0px 0px;
}
.header-top-two .top-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
}
.header-lower {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding: 20px 0px;
}
.header-lower .logo-box {width: 280px;}

.header-lower .lower-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-lower .lower-inner .right-column{
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-style-three .menu-right-content .phone {
    position: relative;
    padding: 10px 0px 10px 30px;
    border-left: 1px solid #e8eaef;
}

/* Sticky Sidebar Fix für Nikitscher Website */
.sidebar-wrapper {
    position: relative;
}

.service-sidebar {
    position: sticky;
    top: 120px; /* Abstand zur fixen Hauptnavigation */
    z-index: 10;
}

@media (max-width: 991px) {
    .service-sidebar {
        position: static;
        top: auto;
    }
}

.page-title .based-content {
    height: 100%;
}

.page-title .based-content .inner {
    position: relative;
    display: block;
    padding: 50px 45px 46px 50px;
    height: 100%;
}

.banner-style-three .content-box h2 {
    font-size: 90px;
    line-height: 90px;
}

/* Vollbild-Hintergrund */
#nikitscher-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}

/* Logo selbst */
#nikitscher-loader .loader-logo {
    position: relative;
    width: 320px;
    animation: fadeIn 1.2s ease forwards;
}

/* Metallischer Glanz-Effekt */
#nikitscher-loader .shine {
    content: "";
    position: absolute;
    top: 0; left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 2s infinite;
    pointer-events: none;
}

/* Keyframes für Glanzeffekt */
@keyframes shine {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* Logo sanft einblenden */
@keyframes fadeIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Loader beim Verschwinden */
#nikitscher-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.contact-section .content-box .icon-box {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 90px;
    background-color: var(--theme-color);
    text-align: center;
    border-radius: 50%;
    font-size: 36px;
    color: #fff;
    box-shadow: 0px 0px 0px 10px #fff;
}
.footer-bottom .bottom-inner .left-column .social-links li a {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 56px;
    background-color: #379B9F;
    text-align: center;
    font-size: 18px;
    color: #fcfdfd;
}

.footer-logo img {width: 200px;}


.blog-sidebar .subscribe-widget .inner-box .form-inner .form-group button[type='submit'] {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 42px;
    line-height: 48px;
    background-color: #379B9F;
    text-align: center;
    font-size: 22px;
    color: #fff;
    transition: all 500ms
    ease;
}

/* ============================================================
   Fließtext-Links in CI-Farbe (statt Standard-Blau).
   Gilt für redaktionelle Inhalte (RTE), nicht für Buttons.
   ============================================================ */
.page-content a:not(.theme-btn),
.service-details-content a:not(.theme-btn),
.project-details .content-box a:not(.theme-btn),
.project-details .lower-box a:not(.theme-btn),
.info-box a:not(.theme-btn) {
    color: var(--theme-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 300ms ease;
}
.page-content a:not(.theme-btn):hover,
.service-details-content a:not(.theme-btn):hover,
.project-details .content-box a:not(.theme-btn):hover,
.project-details .lower-box a:not(.theme-btn):hover,
.info-box a:not(.theme-btn):hover {
    color: var(--title-color);
}

/* ============================================================
   Referenzen/Projekte: alle Kacheln gleich hoch (Equal Height)
   ============================================================ */
.project-style-two .project-block-two,
.project-style-two .project-block-two .inner-box,
.project-style-two .owl-item,
.project-style-two .owl-stage {
    display: flex;
}
.project-style-two .owl-stage { align-items: stretch; }
.project-style-two .project-block-two,
.project-style-two .project-block-two .inner-box {
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
}
.project-style-two .project-block-two .inner-box .image-box,
.project-style-two .project-block-two .inner-box figure.image {
    flex: 1 1 auto;
    height: 100%;
}
.project-style-two .project-block-two .inner-box figure.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   Footer: Social-Icons ohne Link + Hinweistext
   ============================================================ */
.footer-bottom .social-links li span {
    display: inline-block;
    cursor: default;
    opacity: .65;
}
.footer-bottom .social-soon {
    margin-top: 12px;
    font-size: 14px;
    letter-spacing: .5px;
    opacity: .7;
}

/* ============================================================
   News-Detail: Listen im Fließtext automatisch mit CI-Haken
   (wie im Mockup). Gilt für alle <ul> im Bodytext.
   ============================================================ */
.blog-details-content .text-box ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}
.blog-details-content .text-box ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.6;
}
.blog-details-content .text-box ul li::before {
    content: "\f137";
    font-family: "flaticon_metallic";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--theme-color);
}
/* --- Leistungs-Detail: Karten-Karussell auf gleiche Hoehe ------------------ */
.content-two .two-item-carousel .owl-stage {
    display: flex;
}
.content-two .two-item-carousel .owl-item {
    display: flex;
    height: auto;
}
.content-two .two-item-carousel .owl-item .product-block-one,
.content-two .two-item-carousel .owl-item .product-block-one .inner-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
/* Icon unten buendig, Text darueber */
.content-two .two-item-carousel .product-block-one .inner-box .icon-box {
    margin-top: auto;
}

/* --- Leistungs-Detail: Anwendungsbereiche mit Lightbox --------------------- */
.content-four .industries-block-two .image-box > a {
    display: block;
    position: relative;
}
.content-four .industries-block-two .image-box > a .link {
    cursor: pointer;
}

/* --- Leistungs-Detail: RTE-Absaetze bekommen wieder Abstand ---------------- */
.service-details-content .content-one p,
.service-details-content .content-five .text-box p,
.service-details-content .content-six p {
    margin-bottom: 20px;
}
.service-details-content .content-one p:last-child,
.service-details-content .content-five .text-box p:last-child,
.service-details-content .content-six p:last-child {
    margin-bottom: 0;
}
.service-details-content .content-one ul,
.service-details-content .content-one ol {
    margin: 0 0 20px 20px;
}
.service-details-content .content-one ul li,
.service-details-content .content-one ol li {
    margin-bottom: 8px;
}

/* --- Leistungs-Detail: CI-Farbe in den Ueberschriften ---------------------- */
.service-details-content h2 span,
.service-details-content h3 span,
.service-details-content .text-box h3 span {
    color: var(--theme-color);
}
/* Die Nummerierung 01./02. behaelt ihr eigenes Grau */
.service-details-content .industries-block-two .inner-box h3 span {
    color: inherit;
    opacity: .4;
}

/* --- Hauptmenue: kein automatisches Grossschreiben ------------------------- */
/* Das Theme setzt text-transform: capitalize; im Deutschen sieht das falsch
   aus ("Über Uns" statt "Über uns"). Die Schreibweise kommt aus dem Seitentitel. */
.main-menu .navigation > li > a,
.main-menu .navigation > li > ul > li > a,
.main-menu .navigation > li > .megamenu li > a,
.mobile-menu .navigation li > a {
    text-transform: none;
}

/* --- Kontaktseite: OpenStreetMap (Leaflet) -------------------------------- */
#dsx-osm-map {
    width: 100%;
    height: 500px;
    z-index: 1;               /* unter dem map-content-Overlay bleiben */
}
.map-inner .map-content {
    z-index: 2;
}
.dsx-map-pin {
    background: none;
    border: 0;
}
.leaflet-container a.leaflet-popup-close-button {
    color: var(--title-color);
}
.leaflet-popup-content {
    font-family: inherit;
    line-height: 1.5;
}
