#wpadminbar {
    z-index: 9999999999 !important;
}

/*!* Standardbreite für kleinere Bildschirme *!*/
/*.responsive-box {*/
/*    width: 100%; !* Füllt den verfügbaren Platz aus *!*/
/*    max-width: 1920px; !* Maximalbreite *!*/
/*    margin: 0 auto; !* Zentriert das Element *!*/
/*}*/

/*!* Für Bildschirme ab 768px Breite *!*/
/*@media (min-width: 768px) {*/
/*    .responsive-box {*/
/*        width: 75%; !* Passt die Breite an *!*/
/*        max-width: 600px;*/
/*    }*/
/*}*/


/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .responsive-box {
        width: 50%;
        /* Noch schmaler auf größeren Bildschirmen */
        max-width: 948px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .responsive-box {
        width: 75%;
        /* Noch schmaler auf größeren Bildschirmen */
        max-width: 1224px;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .responsive-box {
        width: 100%;
        /* Noch schmaler auf größeren Bildschirmen */
        max-width: 1480px;
    }
}

.team {
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
    background-color: #1b1b1c;
    color: #f9f9f4
}

@media (max-width: 894px) {
    .team {
        padding-bottom: 130px
    }
}

@media (max-width: 767px) {
    .team {
        padding-bottom: 145px
    }
}

.team__container {
    position: relative;
    z-index: 20;
    border-top: 2px solid rgba(249, 249, 244, .2);
    padding-top: 80px
}

@media (max-width: 894px) {
    .team__container {
        padding-top: 40px
    }
}

@media (max-width: 767px) {
    .team__container {
        padding-top: 30px
    }
}

.team__label {
    margin-bottom: 15px
}

@media (max-width: 1439px) {
    .team__label {
        margin-bottom: 10px
    }
}

@media (max-width: 894px) {
    .team__label {
        margin-bottom: 10px
    }
}

@media (max-width: 767px) {
    .team__label {
        margin-bottom: 10px
    }
}

.team__list {
    counter-reset: team
}

.team__item {
    position: relative
}

@media (min-width: 1055px) {
    .team__item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end
    }
}

.team__item:nth-child(3n-2) {
    margin-bottom: 320px
}

@media (max-width: 1439px) {
    .team__item:nth-child(3n-2) {
        margin-bottom: 250px
    }
}

@media (max-width: 1054px) {
    .team__item:nth-child(3n-2) {
        margin-bottom: 180px
    }
}

@media (max-width: 894px) {
    .team__item:nth-child(3n-2) {
        margin-bottom: 95px
    }
}

@media (max-width: 767px) {
    .team__item:nth-child(3n-2) {
        margin-bottom: 85px
    }
}

.team__item:nth-child(3n-1) {
    margin-bottom: 330px
}

@media (max-width: 1439px) {
    .team__item:nth-child(3n-1) {
        margin-bottom: 250px
    }
}

@media (max-width: 1054px) {
    .team__item:nth-child(3n-1) {
        margin-bottom: 180px
    }
}

@media (max-width: 894px) {
    .team__item:nth-child(3n-1) {
        margin-bottom: 100px
    }
}

@media (max-width: 767px) {
    .team__item:nth-child(3n-1) {
        margin-bottom: 70px
    }
}

.team__item:nth-child(3n) {
    margin-bottom: 280px
}

@media (max-width: 1439px) {
    .team__item:nth-child(3n) {
        margin-bottom: 230px
    }
}

@media (max-width: 1054px) {
    .team__item:nth-child(3n) {
        margin-bottom: 180px
    }
}

@media (max-width: 894px) {
    .team__item:nth-child(3n) {
        margin-bottom: 95px
    }
}

@media (max-width: 767px) {
    .team__item:nth-child(3n) {
        margin-bottom: 85px
    }
}

.team__item:last-child {
    margin-bottom: 0
}

.team__item:nth-child(2n) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse
}

.team__item::before {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 800px;
    line-height: 1;
    letter-spacing: -.5px;
    font-weight: 300;
    opacity: .1
}

@media (max-width: 1619px) {
    .team__item::before {
        font-size: 47.61905vw
    }
}

@media (max-width: 1054px) {
    .team__item::before {
        -webkit-transform: none;
        transform: none;
        font-size: 52.08333vw
    }
}

@media (max-width: 767px) {
    .team__item::before {
        top: 0;
        font-size: 48vw
    }
}

.team__item:nth-child(2n-1)::before {
    right: -12.16216%
}

@media (min-width: 768px) and (max-width: 1054px) {
    .team__item:nth-child(2n-1)::before {
        top: -28px
    }
}

@media (max-width: 1054px) {
    .team__item:nth-child(2n-1)::before {
        right: -9.63542vw
    }
}

@media (max-width: 767px) {
    .team__item:nth-child(2n-1)::before {
        right: -11.2vw
    }
}

.team__item:nth-child(2n)::before {
    left: -10.81081%
}

@media (min-width: 768px) and (max-width: 1054px) {
    .team__item:nth-child(2n)::before {
        top: -57px
    }
}

@media (max-width: 1054px) {
    .team__item:nth-child(2n)::before {
        left: -7.55208vw
    }
}

@media (max-width: 767px) {
    .team__item:nth-child(2n)::before {
        left: -7.46667vw
    }
}

.team__photo {
    overflow: hidden;
    width: 45%;
    position: relative
}

.team__photo::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 66.96697%
}

@media (max-width: 1439px) {
    .team__photo {
        width: 51%
    }
}

@media (max-width: 1054px) {
    .team__photo {
        margin-bottom: 45px;
        width: 65.95745%
    }
}

@media (max-width: 767px) {
    .team__photo {
        margin-bottom: 40px;
        width: 83.18043%
    }
}

.team__photo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end
}

.team__photo-wrapper img {
    max-width: none;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

@media (max-width: 1054px) {
    .team__item:nth-child(2n-1) .team__photo {
        margin-right: auto
    }

    .team__item:nth-child(2n) .team__photo {
        margin-left: auto
    }
}

.team__info {
    width: 35.81081%
}

@media (max-width: 1619px) {
    .team__info {
        width: 42%
    }
}

@media (max-width: 1054px) {
    .team__info {
        width: 65.95745%
    }
}

@media (max-width: 767px) {
    .team__info {
        width: 100%
    }
}

.team__item:nth-child(2n-1) .team__info {
    margin-right: 8.58108%
}

@media (max-width: 1619px) {
    .team__item:nth-child(2n-1) .team__info {
        margin-right: 4.5%
    }
}

@media (max-width: 1439px) {
    .team__item:nth-child(2n-1) .team__info {
        margin-right: 0
    }
}

@media (max-width: 1054px) {
    .team__item:nth-child(2n-1) .team__info {
        margin-right: auto;
        margin-left: 8.51064%
    }
}

@media (max-width: 767px) {
    .team__item:nth-child(2n-1) .team__info {
        margin-left: 0
    }
}

.team__item:nth-child(2n) .team__info {
    margin-left: 9.18919%
}

@media (max-width: 1619px) {
    .team__item:nth-child(2n) .team__info {
        margin-left: 4.5%
    }
}

@media (max-width: 1439px) {
    .team__item:nth-child(2n) .team__info {
        margin-left: 0
    }
}

@media (max-width: 1054px) {
    .team__item:nth-child(2n) .team__info {
        margin-left: auto;
        margin-right: 8.51064%
    }
}

@media (max-width: 767px) {
    .team__item:nth-child(2n) .team__info {
        margin-right: 0
    }
}

.team__title {
    margin-bottom: 16px;
    text-indent: 14.15094%
}

@media (max-width: 1054px) {
    .team__title {
        margin-bottom: 22px;
        text-indent: 10.75269%
    }
}

@media (max-width: 767px) {
    .team__title {
        margin-bottom: 28px;
        text-indent: 10.70336%
    }
}

.team__lead {
    margin-bottom: 35px;
    -webkit-transition-delay: .3s;
    -o-transition-delay: .3s;
    transition-delay: .3s
}

@media (min-width: 1300px) and (max-width: 1439px) {
    .team__lead {
        font-size: 25px
    }
}

@media (min-width: 1055px) and (max-width: 1299px) {
    .team__lead {
        font-size: 20px
    }
}

.team__text {
    -webkit-transition-delay: .6s;
    -o-transition-delay: .6s;
    transition-delay: .6s
}

@media (min-width: 1055px) and (max-width: 1299px) {
    .team__text {
        font-size: 16px
    }
}

.team__bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%
}

@media (max-width: 767px) {
    .team__bg-lg {
        display: none
    }
}

@media (min-width: 768px) {
    .team__bg-sm {
        display: none
    }
}

.column_long{
    display: flex;
    gap: 0px;
    /* Abstand zwischen den beiden Absätzen */
    max-width: 100%;
    flex-direction: column;
}

.column_long p {
    all: unset;
    display: block;
    font-size: 20px;
    line-height: 1.4;
    color: inherit;
}


.column_long .title {
    font-weight: 500;
    margin-bottom: 4px;   
}


.column_long .text {
    font-weight: 350;
    margin-bottom: 24px; 
}

.column-image {
  width: 50%;
  position: relative;
}

.co-pilot-image {
  position: absolute;
  left: 0;                 
  max-width: 80%;
  height: auto;
}
.custom_usecases {
  max-width: 80%;        
  height: auto;
  margin-left: -10vw;   
}



.timeline {
    width: 100%;
    height: 20px;
    list-style: none;
    text-align: justify;
    margin: 80px auto;
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(45%, rgba(255, 255, 255, 0)), color-stop(51%, rgb(27, 27, 28)), color-stop(57%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 0)));
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 45%, rgb(27, 27, 28) 51%, rgba(255, 255, 255, 0) 57%, rgba(255, 255, 255, 0) 100%);
}

.timeline:after {
    display: inline-block;
    content: "";
    width: 100%;
}

.timeline li {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #F39D79;
    text-align: center;
    line-height: 1.2;
    position: relative;
    border-radius: 50%;
}

.timeline li:before {
    display: inline-block;
    content: attr(data-year);
    font-size: 26px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline li:nth-child(odd):before {
    top: -40px;
}

.timeline li:nth-child(even):before {
    bottom: -40px;
}

.timeline li:after {
    display: inline-block;
    content: attr(data-text);
    min-width: 200px;
    font-size: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline li:nth-child(odd):after {
    bottom: 0;
    margin-bottom: -10px;
    transform: translate(-50%, 100%);
}

.timeline li:nth-child(even):after {
    top: 0;
    margin-top: -10px;
    transform: translate(-50%, -100%);
}



.accordion {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.accordion-links {
    flex: 1;
    display: flex;
    min-width: 50%;
    padding-right: 100px;
    flex-direction: column;
}

.accordion-links button {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 10px;
    font-weight: 100;
    min-width: 100%;
    text-align: left;
    border-bottom: 1px solid #ccc;
    background-image: url("https://cdn.prod.website-files.com/5f18858d324bad3e005c0273/5f9bbcb0d2d0438caf1cad3c_arrow-right.svg");
    background-repeat: no-repeat;
    background-position: 98%;
    cursor: pointer;
    font-size: 20px;
}

.accordion-links button:hover {
    background-color: #f3f3f3;
}



.accordion-content {
    flex: 3;
    padding: 20px;
    justify-content: center;
}

.content {
    display: none;
}

.content.active {
    display: block;
    font-size: 20px;
    /*// font abstände ämndern*/
}


.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    transform: translateY(20px);
    /* Startet etwas nach unten verschoben */
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
    /* Rückkehr zur normalen Position */
}

.box {
    height: 200px;
    background-color: #007bff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.stapelbilder {
    position: relative;
    width: 100%;
    height: 900px;
    bright: 1920px;
}

.image1 {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.image2 {
    position: absolute;
    top: 120px;
    right: 120px;
    z-index: 1;
}

.container_accordion {
    display: flex;
    width: 100%;
    height: 100%;
}

.accordion_with_img {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.accordion-item_with_img {
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-item_with_img:hover {
    background-color: #f0f0f0;
}

/* .accordion_image-container {
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
} */


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

.image_references {
    width: auto;
    height: 180px;
    /* Einheitliche Höhe */
    max-width: 250px;
    /* Optional: maximale Breite */
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
    display: block;
    margin: 0 auto;
}

.image_references2 {
    width: auto;
    height: 180px;
    /* Einheitliche Höhe */
    max-width: 250px;
    /* Optional: maximale Breite */
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.image_references-nogrey {
    width: 300px;
    /* Setze die Breite der Bilder gleich */
    height: 200px;
    /* Setze die Höhe der Bilder gleich */
    object-fit: cover;
    /* Bild wird zugeschnitten, um das Seitenverhältnis zu erhalten */
}

.image_references:hover {
    filter: grayscale(0%);
    /* Maus-Over entfernt Graustufen */
}

.services__images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 70px;
    /* Abstand vom Textblock */
}

.image-container2 {
    /*  display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px; */
    flex: 1 1 200px;
    /* Flex-Grow, Flex-Shrink, Basisbreite */
    max-width: 260px;
    /* Maximale Breite pro Bildcontainer */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    font-family: "Riforma", helvetica, tahoma, arial, sans-serif;
    font-weight: 300;
    color: #1b1b1c;
    line-height: 1.5;
}

.image-button {
    display: block;
    cursor: pointer;
    width: 200px;
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.image-button img {
    width: 175px;
    height: 175px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    margin-left: 40px;
}

.image-button h1 {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    /* Damit es nicht zu nah am Bild ist */
    text-align: center;
    width: 250px;
}

.toggle-input {
    display: none;
}

.toggle-text {
    display: none;
    margin-top: 10px;
    margin-left: 55px;
    background: white;
    padding: 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 2px solid #c4bfbf;
    font-family: "Riforma", helvetica, tahoma, arial, sans-serif;
    font-weight: 300;
    color: #1b1b1c;
    line-height: 1.5;
    font-size: 20px
}


.toggle-input:checked+.image-button+.toggle-text {
    display: block;
}

/* Deaktiviert die blaue Umrandung komplett */
.image-button:focus,
.image-button:active,
.toggle-input:focus+.image-button {
    outline: none;
    box-shadow: none;
}

.image-button h1 {
    position: relative;
    font-size: 24px;
    /* Oder eine andere gewünschte Größe */
    font-weight: bold;
    margin-top: 10px;
    /* Damit es nicht zu nah am Bild ist */
    text-align: center;
}

/* ===== Carousel ===== */

.carousel {
  position: relative;
  width: 100vw;
  height: 480px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
}


.carousel-track {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 100%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  filter: blur(8px);
  transition: all 0.5s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Active */
.slide.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
  z-index: 3;
}

/* Preview */
.slide.prev {
  transform: translate(-135%, -50%) scale(0.65);
  opacity: 0.5;
  z-index: 2;
}

.slide.next {
  transform: translate(35%, -50%) scale(0.65);
  opacity: 0.5;
  z-index: 2;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 26px;
  padding: 12px 18px;
  cursor: pointer;
  z-index: 5;
}

.nav.left { left: 10px; }
.nav.right { right: 10px; }
/* Carousel end */




.custom-bullets {
    list-style-type: disc;
}

.custom-bullets-usecases {
    list-style-position: inside;
    list-style-type: disc;
    padding-left: 15;
    font-family: "Riforma", helvetica, tahoma, arial, sans-serif;
    font-weight: 300;
    color: #1b1b1c;
    line-height: 1.5;
}

.custom-bullets-usecases li {
    text-indent: -28px;
    /* Negativer Einzug für die erste Zeile */
    padding-left: 30px;
    /* Einzug für die zweite Zeile */
}

.custom-accordion {
    display: flex;
    width: 100%;
    overflow: hidden;
    flex: 1;
    min-width: 50%;
    padding-right: 100px;
    flex-direction: column;
}

.custom-accordion-item {
    border-bottom: 1px solid #ccc;
}

.custom-accordion-header {
    margin: 0;
}

.custom-accordion-button {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 10px;
    padding-right: 40px;
    font-weight: 100;
    min-width: 100%;
    text-align: left;
    border-bottom: 1px solid #ccc;
    background-repeat: no-repeat;
    background-position: 98%;
    cursor: pointer;
    font-size: 20px;
    position: relative;

}

.custom-accordion-button .arrow {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("https://cdn.prod.website-files.com/5f18858d324bad3e005c0273/5f9bbcb0d2d0438caf1cad3c_arrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.2s;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.image-button.open .arrow,
.custom-accordion-button.open .arrow {
    transform: translateY(-50%) rotate(90deg);
}

.custom-accordion-button:hover {
    background-color: #e9e9e9;
}


.custom-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
    /* background-color: #fff; */
    background-color: transparent;
    font-family: "Riforma", helvetica, tahoma, arial, sans-serif;
    font-weight: 300;
    color: #1b1b1c;
    line-height: 1.5;
}

.custom-accordion-content.open {
    max-height: 800px;
    /* groß genug für deinen Inhalt */
    padding: 24px;
}

.custom-accordion-content.no-transition {
    transition: none !important;
}

.custom_usecases {
    max-width: 60%;
    /* Verkleinert das Bild auf 80% der Containerbreite */
    height: auto;
    /* Beibehaltung des Seitenverhältnisses */
    display: block;
    /* Zentriert das Bild */
    margin: 0 auto;
}

.custom_work-with-us {
    padding: 30px 0;
    background-color: #ffffff;
    /* oder dein Hintergrundbild/-farbe */
    text-align: center;
}

.custom_work-with-us__container {
    margin: 0 auto;
    padding: 0 20px;
    /* Innenabstand links/rechts */
}

.custom_work-with-us__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-family: "Riforma", helvetica, tahoma, arial, sans-serif;
    font-weight: 300;
    color: #1b1b1c;
    line-height: 1.5;
}

.custom_work-with-us__content h2 {
    margin: 0;
    font-size: 24px;
    color: #1b1b1c;
    text-align: center;
    font-family: "Riforma", helvetica, tahoma, arial, sans-serif;
    font-weight: 300;
    color: #1b1b1c;
    line-height: 1.5;
}

.custom_image-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}
.custom_image:first-child {
    height: 240px;
    width: 300px;
}

.custom_image {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}

.custom_image:hover {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

.custom_detail-info {
    position: relative;
    z-index: 20;
    overflow: hidden;
    margin-top: -80px;
    border-radius: 20px 20px 0 0;
    padding-top: 110px;
    background-color: #ffffff;
    color: #000000;
}

.custom__image_container {
    position: relative;
    width: 600px;
    /* anpassen */
    height: 400px;
    /* anpassen */
}

.custom_image_container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.custom_image_container img.visible {
    opacity: 1;
    pointer-events: auto;
}

.custom_accordion_with_img {
    margin-bottom: 20px;
}

.custom_accordion_item {
    cursor: pointer;
    margin-bottom: 10px;
}


.accordion_image-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    aspect-ratio: 16 / 9;
    margin-top: 20px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    opacity: 0;
    transition:
        transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    pointer-events: none;
}

#img_consulting.visible {
    opacity: 1;
    transform: translate(180px, 260px) scale(0.95);
    z-index: 2;
}

#img_dev.visible {
    opacity: 1;
    transform: translate(180px, 38px) scale(1.05);
    z-index: 3;
}

#img_ai.visible {
    opacity: 1;
    transform: translate(180px, -200px) scale(1.15);
    z-index: 4;
}

.services__photo-wrapper img.overlay-image {
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    width: 100% !important;
    height: auto !important;
    opacity: 0.6 !important;
    pointer-events: none;
    z-index: 2;
}

.image-button .arrow {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("https://cdn.prod.website-files.com/5f18858d324bad3e005c0273/5f9bbcb0d2d0438caf1cad3c_arrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.2s;
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    margin-left: 0;
    vertical-align: middle;
}

/* .image-button.open .arrow {
    transform: translateY(-50%) rotate(90deg);
} */
.toggle-input:checked+.image-button .arrow {
    transform: translateY(-50%) rotate(90deg);
}



.custom_work-with-us {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    /* Passe die Höhe nach Wunsch an */
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom_work-with-us__bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.custom_work-with-us__bg img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 300%;
    /* Bild wird 3x so hoch wie der Banner, damit nur das untere Drittel sichtbar ist */
    object-fit: cover;
    object-position: 0% 80%;
    display: block;
    max-width: none;
    z-index: 0;
    /* Optional: dunkles Overlay für bessere Lesbarkeit */
    /* filter: brightness(0.7); */
}

/* Optional: Overlay für bessere Lesbarkeit */
.custom_work-with-us__bg::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.custom_work-with-us__container,
.custom_work-with-us__content {
    position: relative;
    z-index: 2;
}




sup a {
    font-size: 24px;
    font-weight: 250;
    text-decoration: none;
    color: #4a7ebb;
    font-size: 0.75em;
}




.flip-container {
  display: flex;
  gap: 35px;
}
.flip-card {
  background: transparent;
  width: 350px;
  height: 350px;
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.flip-card-back {
  transform: rotateY(180deg);
  background: #F39D79;
}




/* Header mit Hamburger-Menue */
@media (max-width: 992px) {
    .header {
        color: #F39D79;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 300;
        width: 100%;
        padding: 0 32px;
        background: rgba(236, 235, 235, 0.3);
        /* halbtransparenter Hintergrund */
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(6px);
        transition: background-color 0.3s ease-out;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
    }

    .header__right {
        position: static;
        /* notwendig für absolute Position des Buttons */
        display: flex;
        align-items: center;
    }

    .menu-toggle {
        position: absolute;
        top: 0;
        right: 120;
        z-index: 9999;
        font-size: 50px;
        /* größerer Button */
        background: none;
        border: none;
        cursor: pointer;
    }

    .header__menu {
        display: none;
        flex-direction: column;
        background: rgba(236, 235, 235, 0.1);
        width: 45%;
        position: absolute;
        top: 111%;
        /* direkt unter dem Header */
        right: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .header__menu.is-open {
        display: flex;
    }
}

/* Desktop: Toggle-Button ausblenden */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .header__menu {
        display: flex !important;
        /* normales Menü horizontal anzeigen */
        position: static;
        flex-direction: row;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }
}


/*RESPONSIVE DESIGN*/
@media screen and (max-width: 767px) {
    .contact-hero {
        position: relative;
        min-height: 100vh;
        /* statt height, damit Inhalt nicht überläuft */
        height: auto;
        /* keine feste Höhe */
        padding-top: 100px;
        padding-bottom: 64px;
        background-color: #1b1b1c;
        color: #f9f9f4;
        overflow: hidden;
        /* verhindert überlaufenden Inhalt */
    }

    .contact-hero__title {
        font-size: 48px;
        line-height: 1.2;
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
        /* Zentriert Spalten */
    }

    .contact-details__contacts,
    .contact-details__links,
    .contact-details__column {
        width: 100%;
        margin-right: 0;
        text-align: center;
        /* Zentriert Text in Spalten */
    }

    .contact-details__column {
        margin-bottom: 24px;
        /* oder weniger */
    }

    .contact-details__column:nth-child(0) {
        margin-bottom: 24px;
    }

    .contact-details__column:nth-child(1) {
        margin-bottom: 48px;
        /* erhöht den Abstand zwischen FIND US und FOLLOW US */
    }

    .contact-details__contact-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        /* vertikaler Abstand zwischen Mail und Tel */
        margin-top: 12px;
        /* kleiner Abstand zur Überschrift */
        margin-bottom: 25px;
    }


    .contact-details__contact-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 8px;
        /* reduziert vertikalen Abstand zwischen E-Mail und Tel */
        text-align: center;
    }

    .contact-details__contact-links a:last-child {
        margin-bottom: 0 !important;
        /* verhindert extra Abstand unter dem Tel-Link */
    }

    .contact-details__column .contact-details__text {
        font-size: 16px;
    }

    .contact-details__title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .contact-details__contact-links,
    .contact-details__text {
        font-size: 16px;
    }

    .contact-details__contacts,
    .contact-details__column {
        margin-bottom: 0;
        /* weniger Abstand zwischen den Blöcken */
    }

    .contact-details__contacts {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .contact-details__links {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .contact-details__column:first-child {
        margin-top: 8px;
        /* gezielter Abstand zwischen Rufnummer und FIND US */
    }

    .contact-details__column {
        margin-bottom: 24px;
        /* wie bisher für Abstand zwischen Spalten */
    }

    .contact-details__column:last-child {
        margin-bottom: 0;
    }

    .contact-details__link-wrapper {
        justify-content: center;
        /* Zentriert Linkwrapper-Inhalte */
        width: 100%;
    }

    .contact-hero__container {
        justify-content: flex-start;
        align-items: center;
        /* Zentriert Inhalt horizontal */
        padding: 0 20px;
    }

    .contact-hero__header {
        margin-bottom: 30px;
        padding-bottom: 10px;
        width: 100%;
    }

    .contact-hero__label,
    .contact-hero__title {
        text-align: center;
    }

    .contact-hero__label {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .contact-details__links {
        display: flex;
        flex-direction: column;
    }



    .contact-details__column:last-child {
        margin-bottom: 0;
    }

    .contact-details__contact-links a span {
        display: inline-block;
        text-align: center;
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .contact-hero__title {
        font-size: 2.8rem;
        /* z. B. vorher 3.5rem */
        line-height: 1.2;
    }
}

/*references Seite responsive design*/
@media screen and (max-width: 767px) {
    .h4 {
        font-size: 20px;
        /* z. B. etwas kleiner */
        text-align: justify;
        /* Blocksatz */
    }

    .custom_work-with-us__content p {
        font-size: 20px;
        /* kleiner als default 26px */
        text-align: centered
            /* optional: Blocksätze */
    }


}

@media screen and (max-width: 1000px) {
    .h4 {
        font-size: 24px;
        /* z. B. etwas kleiner */
        text-align: justify;
        /* Blocksatz */
    }
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px;
}
.logo-grid-project {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 40px;
}

.logo-item {
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.logo-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1350px) {
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .logo-grid {
        grid-template-columns: 1fr;
    }

    .image_references {
        width: auto;
        height: 180px;
        /* Einheitliche Höhe */
        max-width: 250px;
        /* Optional: maximale Breite */
        object-fit: contain;

        display: block;
        margin: 0 auto;
    }

    .image_references:hover {

        /* Maus-Over entfernt Graustufen */
    }
}

@media (max-width: 768px) {

    .custom_work-with-us {
        padding: 30px 0;
        background-color: #ffffff;
        text-align: justify;
    }

    .work-with-us__container {
        padding: 0 20px;
        text-align: justify;
    }

    .work-with-us__content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .work-with-us__content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .work-with-us__marque {
        width: 100%;
        max-width: 300px;
    }

    .work-with-us__marque img {
        width: 100%
    }
}

.work-with-us__container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}

/* Bild nimmt weniger Platz auf Desktop */
.work-with-us__marque {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6rem;
}

/* Text nimmt mehr Platz */
.work-with-us__content {
    flex: 1 1 60%;
}

/* Responsive: Untereinander auf kleinen Bildschirmen */
@media (max-width: 900px) {
    .work-with-us__container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .work-with-us__marque {
        width: 100%;
        margin-top: 1.5rem;
        padding: 0 10px;
        box-sizing: border-box;
        margin-bottom: 2.5rem;
        text-align: center;
        /* sorgt für horizontale Zentrierung bei Inline-Elementen */
    }

    .work-with-us__marque img {
        width: 100%;
        height: auto;
        max-width: 300px;
        /* optional: begrenzt die Maximalgröße des Logos */
        display: inline-block;
    }
}

@media (min-width: 901px) and (max-width: 1919px) {

    .work-with-us__content p,
    .custom_work-with-us__content p {
        text-align: justify;
    }

    .work-with-us__container {
        gap: 3rem;
    }

    .work-with-us__marque {
        margin-left: -40px;
        padding-right: 30px;
        box-sizing: border-box;
        max-width: 90%;
    }

    .work-with-us__marque img {
        width: 100%;
        max-width: 400px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
        display: block;
        margin-right: 2rem;
    }
}