@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --body-padding: 200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito Sans", sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #000;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Ensure no horizontal scrolling baseline (some mobile browsers use html element for scrolling) */
html {
    overflow-x: hidden;
}

img {
    height: auto;
    max-width: 100%;
}

h1 {
    font-size: 40px;
    font-weight: 400;
    color: #1b443c;
    margin-bottom: 20px;

}

.frontbanner {
    position: relative;
    padding-top: 56.25%;
    height: 0;
}

.headline-slider {
    position: absolute;
    top: 60%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    text-align: left;
}

@media screen and (max-width: 1700px) {
    .headline-slider {
        left: 65%
    }
}

.headline-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    color: #ffffff;
    font-size: 55px;
}

.headline-slide .retangle {
    position: relative;
    display: inline-block;
    color: #ffffff;
    z-index: 2;
}

.headline-slide .retangle::before {
    content: "";
    position: absolute;
    left: 60%;
    transform: translateX(-60%);
    right: 10%;
    bottom: 80%;
    height: 25px;
    background-color: transparent;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    width: 60%;
}

.headline-slide .retangle::after {
    content: "";
    position: absolute;
    left: 60%;
    transform: translateX(-60%);
    right: 10%;
    top: 90%;
    height: 25px;
    background-color: transparent;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    width: 60%;
}

.hr-down {
    width: 100%;
    height: 10px;
    background-color: #FFF;
    position: relative;
    bottom: 0;
}

.hr {
    width: 100%;
    height: 35px;
    background-color: #1a443c;
}

@media screen and (max-width: 768px) {
    .headline-slide .retangle {
        padding: 5px 10px;
    }

    .headline-slide .retangle::before,
    .headline-slide .retangle::after {
        height: 10px;
        border-width: 1px;
    }
}

@media screen and (max-width: 576px) {
    .headline-slide .retangle {
        padding: 3px 8px;
    }

    .headline-slide .retangle::before,
    .headline-slide .retangle::after {
        height: 8px;
        border-width: 1px;
    }
}

.headline-slide.active {
    opacity: 1;
    position: relative;
}

@media screen and (max-width: 1200px) {
    .headline-slide {
        font-size: 45px;
    }
}

@media screen and (max-width: 768px) {
    .headline-slide {
        font-size: 30px;
    }
}

@media screen and (max-width: 576px) {
    .headline-slide {
        font-size: 24px;
    }
}

/* Mobile-Anpassungen */
@media screen and (max-width: 768px) {
    .hr {
        height: 70px;
    }

    /* Headline-Slider auf Mobilgeräten anzeigen */
    .headline-slider {
        display: block !important;
        top: 50%;
        left: 50%;
        width: 100%;
        max-width: none;
    }

    .left-side {
        display: none !important;
    }

    .frontbanner {
        display: block;
        padding-top: 65%; /* Etwas höher auf Mobile */
    }

    .headline-slide {
        font-size: 20px; /* Noch etwas kleiner */
        text-align: center;
        left: 0;
    }

    /* Falls separat benötigt: Trennlinien der retangle kleiner */
    .headline-slide .retangle::before,
    .headline-slide .retangle::after {
        display: block !important;
        width: 70%;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Header: Logo zentrieren, Spacer ausblenden */
    .header-nav {
        justify-content: center;
    }

    .header-nav .flex-spacer {
        display: none !important;
    }

    .navbar-brand.home-logo {
        display: block; /* sicherstellen, dass das Logo sichtbar ist */
        margin: 0 auto; /* Zentrierung */
    }

    /* Untere Trennlinie im Header-Container entfernen */
    .container {
        left: 0 !important;
        border-bottom: none !important;
    }
}

h2 {
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    color: #de322f;
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0;
    text-decoration: underline;
    text-decoration-color: #de322f;
    text-underline-offset: 5px;
    width: 100%;
    justify-content: space-between;
}


h2.no-underline {
    text-decoration: none;
}

h2::after {
    content: "";
    display: inline-block;
    width: 22px; /* Icon-Größe anpassen */
    height: 22px;
    margin-left: 12px; /* Abstand zum Text */
    background: url('../img/icon_ellipse.png') no-repeat center / contain;
    vertical-align: middle; /* sauber auf Text-Baseline ausrichten */
}

h2.special::after {
    background: url('../img/vector_zwei.png') no-repeat center / contain;
}

@media screen and (min-width: 768px) {
    h2.special_02 {
        padding-right: 80px;
    }
}

/* Optional: auf kleineren Screens etwas kleiner */
@media (max-width: 768px) {
    h2::after {
        width: 18px;
        height: 18px;
        margin-left: 10px;
    }
}

/* Optional: Opt-out, falls an einzelnen Stellen kein Icon gewünscht ist */
h2.no-ellipse::after {
    content: none !important;
}

h4 {
    color: #1b443c;
    font-size: 25px;
    line-height: 45px;
    font-weight: 500;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    margin: 0;
    width: 100%;
    height: 100%;
}

/* sicherstellen, dass der umschließende Row-Container nicht clippt (nur Desktop) */
.row.mx-auto.text-center {
    overflow: visible;
}


/* Prevent horizontal overflow from slider transforms on small screens */
@media (max-width: 768px) {

    /* Prevent Bootstrap .row negative margins from causing horizontal scroll in this standalone row */
    .row.mx-auto.text-center {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .item.slick-slide.slick-current.slick-active.slick-center {
        padding: 20px;
        box-shadow: none;
    }
}

.item.slick-slide.slick-current.slick-active.slick-center.slider-blue, .item.slick-slide.slick-active.slider-blue, .item.slider-blue.slick-slide {
    background: #1a443c;
    align-items: center;
    display: flex;
    justify-content: center;
}

.form-control:focus {
    box-shadow: none;
}

.left-side {
    position: absolute;
    height: 100%;
    display: block;
    top: 0;
    border-right: 1px solid white;
    width: 120px;
    z-index: 1;
}

/* Icon stack at bottom-left inside the left-side bar */
.left-side .icon-stack {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    bottom: 20px;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
}

/* fix invalid nesting: separate rule for footer stack */
.left-side .icon-stack-footer {
    border-top: 1px solid #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}


.left-side .icon-stack .icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.left-side .icon-stack .icon-link:hover img,
.left-side .icon-stack .icon-link:focus img {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

@media screen and (max-width: 576px) {
    .left-side .icon-stack {
        left: 12px;
        bottom: 16px;
        gap: 10px;
    }

    .left-side .icon-stack .icon-link img {
        width: 24px;
    }
}

.container {
    max-width: 1920px;
    padding: 20px 120px 30px 30px;
    position: relative;
    left: 120px;
    border-bottom: 1px solid white;

    .home-logo {
        width: 200px;
        height: auto;
    }
}

@media screen and (min-width: 1700px) {
    .container {
        max-width: inherit;
    }
}

/* --- Header hamburger and offcanvas menu --- */
.header-nav {
    display: flex;
    align-items: center;
}

.header-nav .flex-spacer {
    flex: 1;
}

.hamburger-btn {
    position: fixed;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    right: 40px;
    z-index: 10002;
}

.hamburger-btn .hamburger-bar {
    display: block;
    width: 24px;
    height: 3px;
    background: #de322f;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar {
    display: none;
}

.hamburger-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.offcanvas-backdrop[hidden] {
    display: none !important;
}

.offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    transition: right .3s ease;
    padding: 50px 50px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offcanvas-menu footer {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
}

body.menu-open .offcanvas-menu {
    right: 0;
}

body.menu-open {
    overflow: hidden;
}

.offcanvas-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
    align-items: flex-end;
}

.offcanvas-inner .hamburger-open-icon {
    width: 25px;
    align-self: flex-end;
    padding-bottom: 50px;
}

.offcanvas-inner .off-link {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: 5px;
    margin-bottom: 5px;
    text-underline-offset: 8px;
}

.offcanvas-inner .off-link:hover,
.offcanvas-inner .off-link:focus {
    text-decoration: underline;
    text-decoration-color: #de322f;
}

@media (max-width: 576px) {
    .hamburger-btn {
        width: 40px;
        height: 40px;
    }

    .hamburger-btn .hamburger-bar {
        width: 22px;
    }

    .hamburger-btn .hamburger-open-icon {
        width: 22px;
        height: 22px;
    }

    .offcanvas-menu {
        width: 280px;
        right: -300px;
        padding-top: 64px;
    }
}

.carousel-caption--inner {
    transform: scale(0.6);
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    display: none;
}

.carousel-caption {
    top: 60%;
}

@media screen and (max-width: 1200px) {
    .carousel-caption {
        height: 100%;
        top: 0;
        width: 100%;
        transform: none;
        padding-top: 15%;
        max-width: none;
    }
}

@media screen and (min-width: 768px) {
    .carousel-control-next-icon, .carousel-control-prev-icon {
        display: block;
    }
}

@media screen and (min-width: 1200px) {
    .carousel-caption {
        top: 50%;
    }

    .carousel-caption--inner {
        transform: scale(1);
        padding: 1.25rem var(--body-padding) 1.25rem var(--body-padding);
    }
}

.navbar-expand-sm .navbar-nav .nav-link {
    position: relative;
    padding-right: 35px;
    color: #ffffff;
    font-weight: 500;
    font-size: 22px;
}


.navbar-expand-sm .navbar-nav li:last-child .nav-link::after {
    content: none;
}

.navbar.navbar-expand-sm {
    max-width: 100%;
}

.navbar-expand-sm .navbar-nav .active .nav-link,
.navbar-expand-sm .navbar-nav .active.nav-link {
    color: #bda46e;
}

@media screen and (max-width: 768px) {
    #ueber-uns {
        padding: 50px;
    }
}

a.custom-button, .btn-submit {
    display: inline-block;
    background-color: #1a443c;;
    color: #ffffff;
    padding: 10px 40px;
    border-radius: 30px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.5s;
}

.carousel-inner a.custom-button:hover, #kompetenzen a.custom-button:hover {
    background-color: #ffffff;
    color: #1e5a82;
}

a.custom-button:hover, #karriere a.custom-button {
    background-color: #000000;
    color: #ffffff;
}

.intro-text p a:hover,
.navbar-expand-sm .navbar-nav .nav-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.home .navbar-brand.home-logo.d-none {
    display: block !important;
}

.header.header-scrolled {
    position: absolute;
    top: 0;
    width: 100%;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

.footer {
    background: #1b443c;
    color: #fff;
    padding: 0 50px;
}

@media screen and (min-width: 768px) {
    .footer {
        padding: 0 130px;
    }
}


.newsletter-wrapper {
    position: relative;
    max-width: 420px;
}

.newsletter-message {
    font-size: 14px;
    padding: 8px;
    border-radius: 4px;
}

.newsletter-input-group {
    position: relative;
    width: 100%;
}

.newsletter-input-group .form-control {
    width: 100%;
    padding-right: 50px; /* Platz für den Button */
    border: 1px solid #ccc;
    border-radius: 4px;
}

.newsletter-input-group .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: none;
}

.newsletter-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background: #E0643A;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.newsletter-btn img {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.newsletter-btn:hover {
    opacity: 0.8;
}

.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.footer .footer-logo {
    margin: auto 0;
    text-align: right;
    width: 200px;
}


.footer-container {
    margin: 0 auto;
    padding: 30px;
    max-width: 1920px;
    align-items: flex-start;
}

.footer-container a {
    text-decoration: none;
}

.footer-container p > a:hover {
    color: #ffffff !important;
}

.footer .navbar-brand img {
    margin-top: 20px;
}

.footer ul {
    list-style: none outside;
    padding: 0;
    margin: 0;
    font-size: 18px;
}

.footer ul a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.footer ul a:hover {
    color: #bda46e;
}

.footer-container p.title-paragraph a {
    color: #fff !important;
}


.footer a {
    color: #ffffff;
    text-decoration: underline;
    font-size: 14px;
}

.footer a:hover {
    text-decoration: none;
    color: #f3f3f3;
}

.footer-address {
    font-size: 14px;
    line-height: 1.6;
}

.footer-address strong {
    font-size: 16px;
}

.footer-bottom-links {
    font-size: 14px;
    margin-top: 24px;
}

/* Newsletter Eingabefeld als Capsule */
.newsletter-input-group .form-control {
    border-radius: 999px 0 0 999px !important;
    border: none;
    padding-left: 20px;
    padding-right: 20px;
    height: 50px;
    font-size: 14px;
    border-top-right-radius: 999px !important;
    border-bottom-right-radius: 999px !important;
}

.newsletter-input-group .form-control:focus {
    box-shadow: none;
    outline: none;
}

.newsletter-input-group .btn-newsletter {
    border-radius: 0 999px 999px 0;
    border: none;
    height: 50px;
    width: 60px;
    background-color: #f15a29; /* Orange */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.newsletter-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.newsletter-text {
    font-size: 14px;
    margin-bottom: 16px;
}

@media (max-width: 991.98px) {
    .footer {
        text-align: center;
    }

    .footer-bottom-links {
        margin-top: 16px;
        justify-content: center;
    }
}

.footer-container {
    margin: 0 auto;
    padding-right: 30px;
    padding-left: 30px;
}

.sidebar-icons .toolbar {
    position: fixed;
    right: 0;
    padding: 0;
    background-color: transparent;
    z-index: 9999999999;
    cursor: pointer;
    transition: all 0.5s;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar-icons .toolbar.to-left {
    right: 380px;
}

.sidebar-icons .toolbar-info {
    width: 380px;
    right: -380px;
    transition: all 0.5s;
    position: fixed;
    top: 0;
    background-color: #ffffff;
    height: 100%;
    z-index: 999999999;
    padding-left: 2rem;
    padding-right: 2rem;
    border-left: 2px solid #3c3c3b;
}

.sidebar-icons .toolbar-info.to-left {
    right: 0;
}

.sidebar-icons .close-toolbar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 22px;
    height: 50px;
    cursor: pointer;
}

.sidebar-icons .toolbar-info .phone {
    margin-top: 20%;
    padding: 2rem 0;
    border-bottom: 1px solid #bda46e;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    align-items: center;
    -webkit-align-items: center;
    align-content: center;
    -webkit-align-content: center;
}

.sidebar-icons .toolbar-info a {
    color: #4d4d4d;
}

.sidebar-icons .toolbar-info .phone .phone-numbers {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.4rem;
}

.sidebar-icons .toolbar-info span {
    display: block;
}


.sidebar-icons .toolbar-info .email-location {
    padding: 2rem 0;
    border-bottom: 1px solid #bda46e;
}

.sidebar-icons .toolbar-info .email-location > span:first-child {
    margin-bottom: 0;
}

.sidebar-icons .toolbar-info .email-location > span {
    display: block;
}

.sidebar-icons .toolbar-info .email-location > span > span {
    display: inline-block;
    vertical-align: middle;
}

.sidebar-icons a {
    text-decoration: none;
}

.sidebar-icons a:hover {
    text-decoration: underline;

}

.sidebar-icons.mobile {
    display: none;
}

.toolbar-info .email-location img {
    width: 25px;
    margin-right: 1rem;
}

.toolbar-info .email-location .email-location-inner img {
    margin-top: -5px;
}

.toolbar-info .phone img {
    width: 25px;
    margin-right: 1rem;
}

.footer h6 {
    text-transform: uppercase;
    border-bottom: 3px solid;
    font-weight: 800;
    padding: 10px 0;
    margin-top: 30px;
    font-size: 22px;
    width: 90%;
}


.title-paragraph span {
    text-transform: none;
    display: block;
    font-weight: 400;
}

.email-location-inner a {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.4rem;
}

.footer ul a:hover {
    color: #bda46e;
}


html {
    scroll-padding-top: 180px;
}

.content-block {
    padding: 50px;
}

@media screen and (min-width: 1200px) {
    .content-block {
        padding: 80px var(--body-padding) 80px var(--body-padding);
    }
}

.position-relative {
    position: relative;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    padding: 20px 0;
}

.overlay.competences {
    padding: 5px 0;
    font-weight: 500;
    font-size: 1.8rem;
}

.overlay.competences p {
    font-size: 33px !important;
    margin-bottom: 10px;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    .overlay.competences p {
        font-size: 25px;
    }
}

.mt-40 {
    margin-top: 40px !important;
}

a {
    color: inherit;
}

#kontakt {
    padding-bottom: 50px;
}

#kontakt .contact-form--inner {
    box-shadow: rgba(14, 30, 37, 0.12) 0 2px 4px 0, rgba(14, 30, 37, 0.32) 0 2px 16px 0;
    padding: 30px;
    border-radius: 10px;
    background-color: #ffffff;
}

#kontakt .contact-form form {
    display: grid;
    gap: 10px;
}

#kontakt .contact-form form input, #kontakt .contact-form form textarea {
    background-color: #eaeaea;
    border: 1px solid #9c9c9c;
    padding: 15px;
    margin-bottom: 15px;
}

#kontakt .form-group {
    padding: 0 10px 0 10px;
}

#kontakt .contact-form .btn-submit {
    display: flex;
    margin: 30px auto;
    border: none;
}

#kontakt .form-group.header {
    display: inline-flex;
    width: 100%;
    gap: 10px;
}

#kontakt h4 {
    line-height: inherit;
    margin-bottom: 0;
}

#kontakt p, #kontakt a {
    color: #1b443c;
    text-decoration: none;
}

#kontakt .contact-form label {
    display: none;
}

@media (max-width: 992px) {
    .w-md-100 {
        width: 100% !important;
    }
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.strategy-grid {
    display: grid;
    gap: 30px;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 0;
    min-height: 400px;
}

.strategy {
    border: 5px solid #B1B3B4;
    border-radius: 10px;
    padding: 0;
}

.strategy .number {
    color: #1e5a82;
    font-size: 50px;
    font-weight: 700;
    display: inline-block;
    padding-left: 10px;
    border-bottom: 3px solid #B1B3B4;
    width: auto;
}

.strategy img {
    display: flex;
    margin: 0 auto;
    width: 100px;
    height: auto;
}

.strategy .box {
    text-align: center;
    border-top: 3px solid #B1B3B4;
    padding: 10px;
    margin-top: 20px;
    font-size: 16px;
}

.strategy .box h5 {
    color: #1e5a82;
    font-weight: 700;
    font-size: 16px;
}

hr.separator {
    overflow: visible;
    opacity: 1;
    border: none;
    border-top: 2px solid #000000;
    position: relative;
    margin: 50px 0;
    display: block;
    width: 100%;
}

hr.separator.left::before,
hr.separator.right::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 50%;
    position: absolute;
    top: -6px;
}

hr.separator.left::before {
    left: 0;
    transform: translateX(-50%);
}

hr.separator.right::before {
    right: 0;
    transform: translateX(50%);
}


@media only screen and (max-width: 1700px) {
    body {
        font-size: 19px;
    }

}

@media only screen and (max-width: 1500px) {
    .header {
        padding-left: 0;
    }

    h1 {
        font-size: 60px;
    }

    .footer-container {
        padding-left: 30px;
    }
}

@media only screen and (max-width: 1350px) {
    h1 {
        font-size: 45px;
    }
}

@media only screen and (max-width: 1100px) {

    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 20px;
        padding-left: 5px;
    }
}


@media only screen and (max-width: 1050px) {
    body {
        font-size: 19px;
    }

    .footer-container > .col-md-6 {
        width: 100%;
        border-right: none !important;
        padding-right: 0;
        border-bottom: 1px solid;
        padding-bottom: 20px;
        padding-left: 0 !important;
    }

    .footer-container > .col-md-6:last-child {
        border: none;
    }

    .footer-container > .col-md-6:last-child ul {
        padding-bottom: 20px;
        float: none !important;
        height: auto !important;
    }

}

@media only screen and (max-width: 1024px) {
    h1 {
        font-size: 40px;
    }

    .container {
        padding: 0px 15px;
    }

    .footer-container {
        padding-left: 15px;
        padding-right: 15px;
    }

}

@media only screen and (max-width: 801px) {
    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 15px;
        padding-left: 15px;
    }

    .header .navbar-brand img {
        width: 130px;
    }

    .navbar-nav {
        font-size: 15px;
    }
}

@media only screen and (max-width: 768px) {

    h1 {
        font-size: 30px !important;
    }

    h2 {
        font-size: 14px !important;
    }

    .fokusdisziplinen-text {
        font-size: 16px !important;
        line-height: 24px !important;
        text-align: left !important;
    }

    .title-paragraph span {
        font-size: 18px;
    }


    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 8px;
        padding-left: 8px;
    }


    .navbar-nav {
        font-size: 14px;
    }

    .footer-container p.title-paragraph {
        font-size: 20px;
    }

}

.navbar-expand-sm .navbar-nav {
    padding-top: 10px;
}

@media (min-width: 576px) {
    .navbar-expand-sm .navbar-nav {
        align-items: center;
    }
}

@media screen and (max-width: 600px) {
    .footer-container p.title-paragraph {
        font-size: 18px;
    }
}

@media only screen and (max-width: 575px) {

    .navbar-toggler {
        border: none;
    }


    .navbar-toggler-icon {
        background-image: none;
        display: block;
        position: absolute;
        right: 5%;
        top: 45%;
        transform: translate(0, -50%);
        width: 35px;
        height: 22px;
        border-top: 4px solid #bda46e;
        z-index: 10;
    }

    .collapsed .navbar-toggler-icon {
        border-top: 4px solid #FFFFFF;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: "";
        height: 4px;
        width: 100%;
        position: absolute;
        background: #FFFFFF;
        left: 0;
        transition: all 0.3s;
    }

    .collapsed .navbar-toggler-icon::after {
        bottom: 0;
        transform: rotate(0deg);
    }

    .collapsed .navbar-toggler-icon::before {
        top: 5px;
        transform: rotate(0deg);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler {
        position: relative;
    }

    .navbar-expand-sm .navbar-nav .nav-link::after {
        content: none;
    }

    .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        bottom: 18px;
    }

    .navbar-toggler-icon::before {
        transform: rotate(45deg);
    }

    .navbar-toggler-icon {
        border-top: none;
    }

    .home .navbar-collapse {
        background: #1e5a82;
        padding-bottom: 20px;
    }

    .footer .navbar-brand img {
        max-width: 100px;
    }

    .sidebar-icons .toolbar-info .phone .phone-numbers {
        font-size: 16px;
    }

    .sidebar-icons {
        display: none;
    }

    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 35px;
        padding-left: 35px;
    }

    .header .navbar-brand {
        max-width: 130px;
    }

    .navbar-nav {
        font-size: 16px;
    }

}

@media only screen and (max-width: 480px) {

    .header .navbar-brand {
        max-width: 100px;
    }

    .container {
        padding: 0 15px;
    }

    .footer-container p {
        font-size: 16px;
    }

    .sidebar-icons .toolbar.to-left {
        right: 280px;
    }

    .sidebar-icons .toolbar-info {
        width: 280px;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .sidebar-icons {
        font-size: 16px;
    }

    .sidebar-icons .toolbar-info .phone img {
        width: 22px;
    }


    .sidebar-icons .toolbar-info .email-location,
    .sidebar-icons .toolbar-info .phone {
        padding: 1rem 0;
    }
}

.custom-accordion .accordion-item {
    border: none;
    border-top: 1px solid #1b443c;
    background: transparent;
}

.custom-accordion .accordion-item:first-child {
    border-top: 1px solid #1b443c;
}

.custom-accordion .custom-accordion-button {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border: none;
    padding: 20px 0;
    box-shadow: none;
}

@media screen and (min-width: 768px) {
    .custom-accordion .custom-accordion-button {
        gap: 50px;
        padding: 30px 0;
    }
}

.custom-accordion .custom-accordion-button:focus {
    box-shadow: none;
    border: none;
}

.custom-accordion .custom-accordion-button::after {
    display: none;
}

.custom-accordion .accordion-number {
    color: #1b443c;
    min-width: 30px;
}

.custom-accordion .accordion-header {
    width: 100%;
}

.custom-accordion .accordion-title {
    flex: 1;
    color: #1b443c;
    text-align: left;
    font-size: 18px;
}

@media screen and (min-width: 768px) {

    .custom-accordion .accordion-title {
        font-size: 25px;
    }
}

.accordion-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.accordion-link {
    font-size: 0.85rem;
    color: #dd3221;
    text-decoration: underline;
    font-weight: normal;
}

.accordion-item:first-of-type {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.custom-accordion .accordion-icon {
    color: #de322f;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    min-width: 30px;
    text-align: center;
}

.custom-accordion .custom-accordion-button.collapsed .accordion-icon::before {
    content: '+';
}

.custom-accordion .custom-accordion-button:not(.collapsed) .accordion-icon::before {
    content: '×';
}

@media screen and (min-width: 768px) {
    .custom-accordion .accordion-body {
        padding: 15px 0 45px 80px;
    }
}

.services-wrapper {
    max-width: 1200px;
    margin: 50px auto;
}

.services-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    column-gap: 130px;
    row-gap: 130px;
    background-image: linear-gradient(#d1d7d8, #d1d7d8),
    linear-gradient(#d1d7d8, #d1d7d8);
    background-position: center, center;
    background-size: 1px calc(100% - 40px), calc(100% - 40px) 1px;
    background-repeat: no-repeat, no-repeat;
}

/* Vertikale Linie */
.services-grid::before {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    background: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Horizontale Linie */
.services-grid::after {
    content: "";
    position: absolute;
    width: 40px; /* Größe des Plus */
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: linear-gradient(#d1d7d8, #d1d7d8),
    linear-gradient(#d1d7d8, #d1d7d8);
    background-position: center, center;
    background-size: 1px 100%, 100% 1px;
    background-repeat: no-repeat, no-repeat;
    pointer-events: none;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        row-gap: 0;
        grid-auto-rows: auto;
        background: none;

    }

    .services-grid::before,
    .services-grid::after {
        display: none;
    }
}

.service {
    /*    max-width: 420px;*/
}

.service h3 {
    margin: 0 0 16px;
    font-size: 25px;
    font-weight: 600;
    color: #1b443c;
}

.service p {
    margin: 0;
    line-height: 1.6;
    color: #6b7478;
}

@media screen and (max-width: 768px) {
    .service p {
        width: 90%;
    }
}

.teil-gruppe {
    padding: 30px 0;
}

@media (min-width: 768px) {
    .ueber-uns {
        padding-right: 80px;
    }

    .teil-gruppe {
        padding: 50px;
    }
}

/* Responsiv: auf Handy einfach untereinander, ohne Linien */
@media (max-width: 768px) {
    .services-wrapper {
        margin: 0 auto;
    }

    .services-grid::before,
    .services-grid::after {
        display: none;
    }

    .service {
        max-width: none;
        padding: 40px 0;
    }

    .service:not(:last-child) {
        border-bottom: 1px solid #d1d7d8;
    }
}

.image-full-height {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

/* Kontakt Sidebar von links */
.sidebar-kontakt-left {
    position: fixed;
    top: 0;
    left: -420px;
    width: 400px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: left 0.4s ease-in-out;
    overflow-y: auto;
}

body.kontakt-sidebar-open .sidebar-kontakt-left {
    left: 0;
}

.kontakt-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.kontakt-sidebar-inner {
    padding: 40px 30px;
    position: relative;
}

.close-kontakt-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.close-kontakt-sidebar:hover {
    color: #000;
}

.kontakt-sidebar-content h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.kontakt-info-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.kontakt-info-block:last-child {
    border-bottom: none;
}

.kontakt-icon {
    width: 40px;
    margin-right: 15px;
    flex-shrink: 0;
}

.kontakt-icon img {
    width: 30px;
    height: auto;
}

.kontakt-text {
    flex: 1;
    line-height: 1.6;
}

.kontakt-text strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
}

.kontakt-text a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kontakt-text a:hover {
    color: #004499;
    text-decoration: underline;
}

.anfahrt-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.anfahrt-link:hover {
    color: #004499;
}

.anfahrt-link img {
    width: 24px;
    height: auto;
}

/* Verhindere Body-Scroll wenn Sidebar offen */
body.kontakt-sidebar-open {
    overflow: hidden;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .sidebar-kontakt-left {
        width: 90%;
        left: -100%;
    }

    .kontakt-sidebar-inner {
        padding: 30px 20px;
    }
}

.slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.item.slick-slide {
    width: 470px;
    height: 190px !important;
    transition: transform .4s;
    position: relative;
    padding: 20px;
    transform: scale(0.7) translate(400px);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background: white;
    overflow: hidden;
}

.item.slick-slide.slick-center + .slick-slide {
    transform: scale(0.8) translate(-260px);
    z-index: 10;
}

.item.slick-slide.slick-center + .slick-slide + .item.slick-slide {
    transform: scale(0.7) translate(-650px);
    z-index: 5;
    overflow: hidden;
}

.item.slick-slide.slick-active {
    transform: scale(0.8) translate(150px);
}

.item.slick-slide.slick-center {
    transform: scale(0.95);
    z-index: 30;
}

.slick-center:after {
    opacity: 0;
}

.item.slick-slide.slick-current.slick-active.slick-center {
    background: black;
}

.item.slick-slide.slick-current.slick-active.slick-center {
    background: #ffffff;
}

.item.slick-slide.slick-active {
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.item.slick-slide.slick-active img {
    max-height: 100%;
}

.item.slick-slide.slick-current.slick-active.slick-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.item.slick-slide.slick-current.slick-active.slick-center.slider-blue, .item.slick-slide.slick-active.slider-blue, .item.slider-blue.slick-slide {
    background: #1a443c;
}

@media screen and (max-width: 768px) {
    /* Container Overflow kontrollieren */
    /* Basis-Slide ohne translate, nur Größenanpassung */
    .item.slick-slide {
        width: 250px !important;
        height: 100px !important;
        padding: 15px !important;
        transform: scale(0.75) !important;
        transition: transform 0.3s ease;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    /* Aktive Slides (sichtbar neben Center) */
    .item.slick-slide.slick-active {
        transform: scale(0.85) !important;
        padding: 15px !important;
    }

    /* Center Slide - die größte in der Mitte */
    .item.slick-slide.slick-current.slick-active.slick-center {
        transform: scale(1.2) !important;
        padding: 15px !important;
        z-index: 10;
    }

    /* Alle komplexen Desktop-Transforms überschreiben */
    .item.slick-slide.slick-center + .slick-slide,
    .item.slick-slide.slick-center + .slick-slide + .item.slick-slide {
        transform: scale(0.85) !important;
    }

    /* Slick Track optimieren */
    .slick-track {
        display: flex !important;
        align-items: center !important;
    }

    .slick-list {
        overflow: visible !important;
        padding: 0 20px !important;
    }
}

/* Für sehr kleine Smartphones */
@media screen and (max-width: 480px) {
    .item.slick-slide {
        width: 200px !important;
        height: 80px !important;
        padding: 12px !important;
        transform: scale(0.7) !important;
    }

    .item.slick-slide.slick-active {
        transform: scale(0.75) !important;
        padding: 12px !important;
    }

    .item.slick-slide.slick-current.slick-active.slick-center {
        transform: scale(0.95) !important;
        padding: 12px !important;
    }
}

.slider {
    position: relative;
    z-index: 200;
    padding: 0 0;
    margin: 5rem auto;
    max-width: 100%;
    width: 100%;
}

/* Medien in Slides stabilisieren */
.item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .slider {
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .item.slick-slide {
        width: 300px !important;
        height: 75px !important;
        padding: 15px !important;
    }

    .item.slick-slide.slick-active {
        padding: 15px !important;
    }

    .item.slick-slide.slick-current.slick-active.slick-center {
        padding: 15px !important;
        z-index: 999;
    }
}

/* Smartphones */
@media screen and (max-width: 480px) {
    .item.slick-slide {
        width: 200px !important;
        height: 100px !important;
        padding: 12px !important;
    }

    .item.slick-slide.slick-active {
        padding: 12px !important;
    }

    .item.slick-slide.slick-current.slick-active.slick-center {
        padding: 12px !important;
    }
}

.career {
    padding: 100px 50px 15px
}

.career-text {
    padding: 50px 50px 15px;
}

@media screen and (min-width: 1200px) {
    .career {
        padding: 150px 150px 50px 150px;
    }

    .career-text {
        padding: 50px 150px 50px 150px;
    }
}
