/* –––––––––––––––––––  GLOBAL  ––––––––––––––––––– */

body, html {
    position: relative;
    height: 100%;
    overflow-x: hidden;
}

*{
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}

section{
    padding-top: 7vh;
}

.wrapper{
    width: 1600px;
    max-width: 90vw;
    margin: 0 auto;
}

.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

h1{
    font-weight: 700;
    font-size: 80px;
    letter-spacing: -2px;
    background-image: linear-gradient(270deg, #9acdff 0%, #255BB8 50%, #9acdff 100%);
    background-size: 200% 100%;
    background-repeat: repeat;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: moveGradient 10s linear infinite;
}

h2{
    font-weight: 400;
    font-size: 60px;
    color: #000000;
    letter-spacing: -1.5px;
}

h3{
    font-weight: 600;
    font-size: 50px;
    color: #000000;
    letter-spacing: 0;
}

h3 strong{
    font-weight: 800;
    background-image: linear-gradient(270deg, #9acdff 0%, #255BB8 50%, #9acdff 100%);
    background-size: 200% 100%;
    background-repeat: repeat;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: moveGradient 10s linear infinite;
}

label:first-child{
 color: rgb(51, 51, 51);
display: block;
font-size: 18.719999px;
font-weight: 700;
margin-block-end: 20px;
margin-top: 30px;
margin-bottom: 15px;
}

label span{
    font-size: 12px;
    display: block;
font-weight: 300;
height: auto;
opacity: 0.5;
width: auto;
}

@keyframes moveGradient {
0% {
    background-position-x: 0;
  }
100% {
    background-position-x: 200%;
  }
}

p{
    font-weight: 400;
    font-size: 18px;
    color: #333333;
    letter-spacing: 0.1px;
    line-height: 25px;
    margin-top: 2vh;
}

.btnFirst{
    height: 50px;
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0 35px;
    background-image: linear-gradient(270deg, #4C94DD 0%, #255BB8 100%);
    border-radius: 25px;
    line-height: 50px;
    text-transform: uppercase;
    width: fit-content;
    margin-top: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

input:is([type="button"], [type="submit"]) {
    height: 50px;
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0 35px 0 35px;
    background-image: linear-gradient(270deg, #4C94DD 0%, #255BB8 100%);
    border-radius: 25px;
    line-height: 50px;
    text-transform: uppercase;
    width: fit-content;
    margin-top: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
}

.btnFirst:hover{
    transform: scale(1.02);
    box-shadow: 0px 20px 30px #00000022;
}

a{
    text-decoration: none;
    cursor: pointer;
}

.White{
    color: #255BB8 !important;
    background-color: #ffffff !important;
    background-image: none;
    padding: 0 55px 0 35px;
    position: relative;
}

.White::after{
    content: '';
    position: absolute;
    display: block;
    height: 50px;
    width: 50px;
    right: 5px;
    top: 0;
    background-image: url(../img/logo/BlueArrow.svg);
}

.Blue{
    padding: 0 55px 0 35px;
    position: relative;
}
.Blue::after{
    content: '';
    position: absolute;
    display: block;
    height: 50px;
    width: 50px;
    right: 5px;
    top: 0;
    background-image: url(../img/logo/WhiteArrow.svg);
}

.btnContWhite{
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background-color: #ffffff;
    background-image: url(../img/logo/BlueArrow.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
}

.functionRow{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5vh;
}

.functionRow a{
   margin: 0;
}

.back{
    height: 50px;
    width: 50px;
    border: none;
    color: transparent;
    background-color: transparent;
    background-image: url(../img/logo/backActive.svg);
    background-position: center;
    background-size: contain;
    float: left;
    transition: all 0.3s ease;
    margin-right: 50px;
    border-radius: 50%;
}

.forward{
    height: 50px;
    width: 50px;
    border: none;
    color: transparent;
    background-color: transparent;
    background-image: url(../img/logo/forwardActive.svg);
    background-position: center;
    background-size: contain;
    float: left;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.forward.inactive{
    background-image: url(../img/logo/forwardInActive.svg);
}

.back.inactive{
    background-image: url(../img/logo/backInActive.svg);
}

.back:hover, .forward:hover{
    transform: scale(1.1);
    box-shadow: 0px 10px 15px #00000022;
} 

/* –––––––––––––––––––  NAV  ––––––––––––––––––– */

nav{
    background-color: #ffffff;
    width: 100vw;
    position: fixed;
    top: 0;
    height: 80px;
    z-index: 9999;
}

nav .wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navLogo{
    height: 57px;
    width: 146px;
    display: block;
    background: url(../img/logo/Logo.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: transparent;
    transition: opacity 0.3s ease-in-out;
}

#navLogo:hover{
    opacity: 0.5;
}

nav ul{   
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav li{
    list-style: none;
}

nav li a{
    height: 80px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
}
nav li a:hover{
   color: #4C94DD;
}

nav .btnFirst{margin-top: 0;}

.dropdownNav{
    position: fixed;
    width: 100vw;
    top: 80px;
    background-color: #ffffffee;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    left: 0;
    max-height: fit-content;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.dropdownNav .wrapper{
    display: block;
    overflow: hidden;
}

.dropdownNav span{
    color: #999999;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;

}

.dropdownNav ul{
    display: block;
    float: left;
    align-items: normal;
    justify-content: unset;
    margin-right: 100px;
    padding: 5vh 0;
}

.dropdownNav ul li{
    float: none;
}

.dropdownNav ul li a{
    padding: 2.5px 0;
    max-height: fit-content;
    text-align: left;
    display: block;
}



.upperDropdown:hover .dropdownNav{
    grid-template-rows: 1fr;
    box-shadow: 0 10px 10px #00000009;
}

#hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

#hamburger svg{
    height: 25px;
}

#hamburger span {
  height: 3px;
  background: #000;
  width: 100%;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Navigation responsive verstecken */


@media (max-width: 1100px) {

   
}

/* –––––––––––––––––––  HOME  ––––––––––––––––––– */

/* –––––––––––––––––––  HEADER  ––––––––––––––––––– */

header{
    height: 90vh;
    display: flex;
}

header .wrapper{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
}

#normalHeader{
    height: fit-content !important;
    margin: 30vh 0 5vh;
}



/* –––––––––––––––––––  Video  ––––––––––––––––––– */

#vision{
    width: 100vw;
    position: relative;
    height: 80vh;
    padding: 0;
}

#visionVideo{
    height: 100%;
    width: calc(100% + 2px);
    left: -1px;
    object-fit: cover;
    position: absolute;
    z-index: 0;
    
}

#playButton{position: absolute; z-index: 1;}

.play-button {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

#muteButton{
    position: absolute;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

#muteButton svg{
    height: 50px;
    width: fit-content;
}

svg {
  width: 100%;
  height: 100%;
}

.progress-bg {
  fill: none;
  stroke: #ffffff88;
  stroke-width: 3;
}

.progress-ring {
  stroke-dasharray: 154; /* wird im JS überschrieben */
  stroke-dashoffset: 154;
  stroke-width: 3;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0s linear;
}

/* –––––––––––––––––––  ShortInfo  ––––––––––––––––––– */


.shortInfo{
    background: #4488D5;
    padding: 12vh 0;
    background-size: cover;
    background-position: center;
}


.shortInfo h1, .shortInfo h2, .shortInfo h3, .shortInfo h4, .shortInfo h5, .shortInfo h6, .shortInfo p{
    color: #ffffff;
    margin-bottom: 2vh;
}

.shortInfo .wrapper{
    display: flex;
    flex-direction: row;
}

#wo.shortInfo{
    padding-bottom: 0;
}

.infoText{
flex: 1;
}

.infoIMG{
    flex: 1;
    height: fit-content;
    max-height: 50vh;
    object-fit: contain;
}


/* –––––––––––––––––––  Teamvorschau  ––––––––––––––––––– */

#teamSlider{
    margin-top: calc(5vh - 50px);
    display: grid;
    grid-auto-flow: column;
    padding-left: calc((100vw - 1600px) / 2);
    padding-right: calc((100vw - 1600px) / 2);
    scroll-padding-left: calc((100vw - 1600px) / 2);
    padding-bottom: 20px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE und Edge (alt) */

}

#teamSlider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.teamCard{
    width: 350px;
    margin-right: 50px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.teamCardInner{
    width: 350px;
    height: 550px;
    position: relative ;
    border-radius: 0 50px 50px 0;
    margin-bottom: 30px;
    overflow: hidden;
}

.teamPerson{
    width: 370px;
    height:500px;
    background-image: url(../img/Leslie.webp);
    background-size: contain;
    background-position: bottom right;
    position: absolute;
    bottom: -2px;
    right: -25px;
    border-radius: 0 50px 50px 50px ;
    background-repeat: no-repeat;
    z-index: 3;
    transition: all 0.4s ease;
}

.teamCard:hover .teamPerson{
    height: 550px;
}

.teamBG{
    width: 350px;
    height: 400px;
    position: absolute;
    bottom: 0;
    background-color: #f3f3f3;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    z-index: 0;
}

.teamCard:hover .teamBG{
    background-color: #255BB8;
}

.teamCard h5 {
    background-image: linear-gradient(270deg, #9acdff 0%, #255BB8 50%, #9acdff 100%);
    background-size: 200% 100%;
    background-repeat: repeat;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-top: 5px;
}

@media (max-width:1778px) {
    
#teamSlider{
    margin-top: calc(5vh - 50px);
    display: grid;
    grid-auto-flow: column;
    padding-left: 5vw;
    padding-right: 5vw;
    scroll-padding-left: 5vw;
    padding-bottom: 20px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

}
    
}

/* –––––––––––––––––––  Eventvorschau  ––––––––––––––––––– */

#eventTeaser{
    height: fit-content;
}

#eventTeaser h3{
    padding-top: 70px;
    font-weight: 400;
    font-size: 40px;
    color: #FFFFFF;
    letter-spacing: -1px;
}

#eventBG{
    width: 100vw;
    background-image: linear-gradient(90deg, #255BB8 0%, #9acdff 100%);
    background-size: 100% 400px;
    background-repeat: no-repeat;
}

#eventSlider{
    margin-top: 50px;
    display: grid;
    grid-auto-flow: column;
    padding-left: calc((100vw - 1600px) / 2);
    padding-right: calc((100vw - 1600px) / 2);
    scroll-padding-left: calc((100vw - 1600px) / 2);
    padding-bottom: 20px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
      scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE und Edge (alt) */
}

#eventSlider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


#eventPreview {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px; /* Optionaler Abstand zwischen den Karten */
    padding-bottom: 20px;
}

#eventPreview .eventCard {
    width: calc((100% - 50px) / 3); /* 3 Karten, 2x20px Abstand (gap) wird abgezogen */
    box-sizing: border-box;
    margin: 0;
    background-size: cover !important;
}

.eventCard{
    width: 600px;
    max-width: 80vw;
    height: 400px;
    border-radius: 50px;
    background-image: url(../img/placeholder/placeholder.webp);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    margin-right: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #000000;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.eventCard h5{
    margin-top: 0;
}

.eventCard span{
    color: #ffffff99;
    font-weight: 600;
    text-transform: uppercase;
}

.eventCard:hover{
    background-size: calc(120%);
}

.eventCardShadow{
    background-image: linear-gradient(0deg, #00000088 0%, #00000000 100%);  
    width: 100%;
    height: 60%;
    position: absolute;
    bottom: 0;
    

}

.eventCardInfo{
    display: flex;
    position: absolute;
    justify-content: space-between;
    align-items: end;
    bottom: 0;
    width: 600px;
    padding: 30px;

}

.eventCardInfo h5{
    color: #ffffff;
    font-size: 30px;
    font-weight: 600;
}

.eventSpan{
    margin-top: 10px;
    width: fit-content;
    height: 40px;
    line-height: 40px;
    font-weight: 700 !important;
    font-size: 12px;
    letter-spacing: 0.5px;
    display: block;
    padding: 0 20px;
    background-color: #ffffff;
    color: #000000 !important;
    border-radius: 22.5px;
}

/* –––––––––––––––––––  Lesitungsteaser  ––––––––––––––––––– */

#leistungsTeaser {
  display: flex;
  flex-direction: row; /* explizit */
  width: 100vw;
  height: 90vh;
  overflow: hidden;
}


.teaser {
  flex: 1;
  height: 90vh;
  transition: all 0.3s ease-in-out;
}

.teaser video{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#privatTeaser {
  background-color: #000000;
}

#unternehmenTeaser {
  background-color: #00000066;
}

#schulTeaser {
  background-color: #00000033;
}

/* Hover-Effekt */
#leistungsTeaser:hover .teaser {
  flex: 0.25;
}

#leistungsTeaser .teaser:hover {
  flex: 0.5;
}


/* –––––––––––––––––––  feedback  ––––––––––––––––––– */

#feedbackOuter{
    height: 780px;
    position: relative;
    width: 100vw;
    overflow: hidden;
}

#feedbackSliderWrapper {
  overflow-x: auto;
  scroll-padding-left: calc((100vw - 1600px) / 2);
  padding-left: calc((100vw - 1600px) / 2);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  pointer-events: none;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

#feedbackSlider {
  display: flex;
  gap: 50px;
}

.feedbackCard {
  width: 300px;
  height: 400px;
  flex: 0 0 auto;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 1.5rem;
  color: transparent;
  font-weight: bold;
  transition: all 0.3s ease;
}

.feedbackCard.active {
  height: 750px;
}

#feedbackSliderWrapper::-webkit-scrollbar{
    display: none;
}

.feedbackCard {
  flex: 0 0 400px;
  background: hsl(0, 0%, 93%);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  transition: all 0.4s ease;
  height: 400px;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  pointer-events: auto; /* Karten bleiben klickbar */
}

.feedbackCard.active {
  height: 750px;
}

.back.disabled{
    background-image: url(../img/logo/backInActive.svg);
}

#feedbackInfo{
    position: absolute;
    left: calc(((100vw - 1600px) / 2) + 200px);
    bottom: 0;
    width: 1150px;
    max-width: calc(90vw - 450px);
}
/* –––––––––––––––––––  FooterCTA  ––––––––––––––––––– */

#footerCTA{
    background-image: linear-gradient(90deg, #4C94DD 0%, #255BB8 100%);
    width: 100ve;
    height: fit-content;
    padding: 10vh 0;
    margin-top: 5vh;
}

#footerCTA a{
   margin: 0 auto;
}


#footerCTA h3{
    font-weight: 400;
    font-size: 60px;
    color: #FFFFFF;
    letter-spacing: -1.5px;
    text-align: center;
    margin-bottom: 5vh;
}


/* ––––––––––––––––––– FooterLinks ––––––––––––––––––– */

#footerLinks{
    padding-bottom: 7vh;
}

#footerLinks li{
    list-style: none;
}

#footerLinks a{
    padding: 5px 0;
    display: block;
    color: #000000;
}


#footerLinksSeperation{
    display: flex;
    justify-content: space-between;
    align-items:baseline;
}

#footerLogo{
    height: 57px;
    width: 146px;
    display: block;
    background: url(../img/logo/Logo.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: transparent !important;
    transition: opacity 0.3s ease-in-out;
    margin-bottom: 30px;
}

#footerLinks span{
    color: #999999;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;

}

.footerMainlinks{
    font-size: 20px;
    font-weight: 600;
}

/* ––––––––––––––––––– Eventdetails ––––––––––––––––––– */

#eventHeader{
    height: 30vh;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 2vh;
}

#eventInfo{
    position: absolute;
    bottom: 2vh;
}


#eventInfo h1{
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background-image: none;
}

#eventMain p{
    margin-bottom: 1vh;

}

/* ––––––––––––––––––– Über uns ––––––––––––––––––– */

#ueUMain #team .btnFirst.Blue{
    display: none;
}


.template-text-image, .template-image-text {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.template-text-image img, .template-image-text img{
    max-width: 33vw;
    margin: 50px;
    border-radius: 50px;
}

.template-text-image img, .template-image-text img, .beschreibung {
flex: 1;
}

.template-image img{
    object-fit: cover;
    object-position: center;
    width: 100vw;
}


#ueUMain #vision{
    margin-top: 10vh;
}

.maps{
    margin-top: 10vh;
    height: 50vh;
    width: 100vw;
}

.template-text .image{
    float: left;
    max-width: 25vw;
  
}

.template-text .image a{
    width: fit-content;;
    height: 100%;
}

.template-text .image img{
    width: 90%;
    object-fit: contain;
    height: fit-content;
    object-position: center;
}

.clear{
    clear: both;
}



form {
    background: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto 5vh;
    width: 1600px;
    max-width: 90vw;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 20px;
    color: #555;

}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}

.success {
    color: green;
}

.error {
    color: red;
}

.disabled {
    color: #aaa;          /* Graue Schrift für Label */
    pointer-events: none; /* Keine Interaktion mehr möglich */
}

input[type="checkbox"]:disabled {
    accent-color: #ccc;   /* Graue Checkbox */
}

select{
    margin: 10px 0 30px;
}



/* ––––––––––––––––––– Media ––––––––––––––––––– */

@media (max-width:1778px) {
                                            
    #teamSlider, #eventSlider, #feedbackSlider{

        padding-left: 5vw;
        padding-right: 5vw;
        scroll-padding-left: 5vw;

    }

    .btnContWhite{
        height: 30px;
        width: 30px !important;
        border-radius: 15px;
        min-width: 30px;
    }
}

@media (max-width:1100px) {

        h1{
        font-size: 40px;
    }

        
    h2{
        font-size: 30px;
    }

    h3{
        font-size: 25px;
    }

    nav{
            overflow: hidden;
            transition: all 0.3s ease;
            height: 70px;
        }

        #navLogo{
            position: fixed;
            top: 10px;
            left: 20px;

        }

        nav.open{
            height: 100vh;
        }

        nav .wrapper{
            flex-direction: column;
            align-items: flex-start;
        }

        #navLogo {
        height: 40px;
        width: 100px;
        top: 10px;
    }
    #hamburger {
        display: flex;
        position: fixed;
        top: 10px;
        right: 20px;
        justify-content: center;
        align-items: center;
    }

    nav ul {
        display: block;
        width: 100%;
        margin-top: 10vh;
        align-items: flex-start;
    }


    .dropdownNav{
        display: none;
    }

    .upperDropdown, nav li a {
        justify-content: flex-start;
        height: auto;
        padding: 0;
        width: 90vw;
        font-size: 20px;
        font-weight: 800;
        height: fit-content;
        line-height: 50px;
    }
    .btnFirst {
        margin-top: 20px;
    }

    nav .btnFirst{
        position: fixed;
        top: 15px;
        height: 40px;
        line-height: 40px;
        right: 90px;
        min-height: 40px;
    }


    .teamCard{
        width: 250px;
    }

    .teamCardInner{
        width: 250px;
        height: 450px;
    }

    .teamPerson{
        height: 400px;
        width: 275px;
        bottom: 0;
    }

    .teamCard:hover .teamPerson{
        height: 420px;
    }

    .teamBG{
        width: 250px;
        height: 300px;
    }


    #eventBG{
        background-size: 100% 200px;
    }

    #eventTeaser h3{
        padding-top: 5vh;
        font-size: 30px;
    }

    #eventSlider{
        margin-top: 30px;
    }

    .eventCard{
        width: 300px;
        height: 300px;
        background-size: cover;
    }

    .eventCard:hover{
        background-size: cover;
    }

    .eventCardInfo{
        width: 100%;
    }

    .eventCardInfo h5{
        font-size: 20px;
    }

    .eventSpan{
        font-size: 10px;
        height: 30px;
        line-height: 30px;
    }

    #eventPreview .eventCard{
        width: calc((100% - 50px) / 2);
    }

                                        /* #feedback{
                                            display: none;
                                        } */

}

@media (max-width:927px) {
    #footerCTA h3{
        font-size: 30px;
    }

    #footerLinksSeperation{
        flex-direction: column;
    }

    #footerLinks li:last-child{
        margin-bottom: 15px;
    }
}

@media (max-width:650px) {

    p{
        font-size: 14px;
    line-height: 1.4;}

    .shortInfo .wrapper {
    flex-direction: column;
    }

    .shortInfo{
        padding: 5vh 0;
    }


    #playButton{
        bottom: 15px;
        right: 15px;
    }

    #muteButton{
        bottom: 80px;
        right: 15px;
    }

    .infoText{
        order: 2;
    }

    w

    .infoIMG{
        order: 1;
        max-height: 25vh;
        margin-bottom: 50px;
    }



    .functionRow{
        display: flex;
        flex-direction: column;
        margin-top: 2vh;
        align-items: baseline;
    }

    .infoIMG{
        margin-bottom: 30px;
        max-height: 25vh;
    }

    .functionRow a{
        margin-top: 2vh;
    }

    .linksFloater{
        float: none;
    }

    .btnFirst{
        font-size: 12px;
        letter-spacing:0;
        height: fit-content;
        line-height: 1.2;
        display: flex;
        align-items: center;
        min-height: 50px;
    }

    #eventPreview .eventCard{
        width: calc(100%);
        max-width: 100%;
    }

    .template-text-image, .template-image-text {
        flex-direction: column !important;
    }

    .template-text-image img, .template-image-text img {
        max-width: 90vw;
        margin: 0px;
        flex:none;
        order: 2;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .template-text .image{
        float: left;
        max-width: 45vw;
    
    }

    .template-text .image a{
        width: fit-content;;
        height: 100%;
    }

    .template-text .image img{
        width: 100%;
        object-fit: contain;
        height: fit-content;
    }

}


/* ––––––––––––––––––– Feedback / Teamvorschau ––––––––––––––––––– */

#feedback {
  /* Make widths relative to this container */
  container-type: inline-size;

  /* Vars */
  --container-max: 1600px;
  --gutter: calc((100cqi - var(--container-max)) / 2);
  --gap: 50px;
  --card-w: clamp(240px, 32cqi, 360px);

  padding: 10vh 0 7vh;
}

/* Optional legacy wrapper override */
#feedback #feedbackSliderWrapper { overflow: visible !important; }

/* Info wrapper (outer) */
#feedback .feedbackInfo {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Slider ===== */
#feedback #feedbackOuter { position: relative; }

#feedback #feedbackSlider {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: visible;

  /* keep the “green” inset */
  padding-right: 0;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
  padding-bottom: 220px; /* room for enlarged active card */
}
#feedback #feedbackSlider::-webkit-scrollbar { display: none; }

/* right spacer so last card can align to the gutter */
#feedback #feedbackSlider::after {
  content: "";
  flex: 0 0 var(--gutter);
}

/* ===== Cards ===== */
#feedback .feedbackCard {
  flex: 0 0 var(--card-w);
  aspect-ratio: 4 / 5;
  min-height: 300px;
  max-height: 500px;

  position: relative;
  border-radius: 24px;
  background: #efefef;
  background-size: cover;
  background-position: center;

  scroll-snap-align: start;
  scroll-snap-stop: always;

  transform-origin: top center;
  transition: height .25s ease, opacity .25s ease, filter .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);

  display: grid;
  place-items: center;
  font-weight: 600;
  color: #b3b3b3;
  user-select: none;
}

/* default vs active */
#feedback #feedbackSlider .feedbackCard { opacity: .75; filter: saturate(.85); }
#feedback .feedbackCard.is-active {
  max-height: 480px;
  height: 480px !important;
  z-index: 5;
  opacity: 1 !important; filter: none !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  color: #1a1a1a;
}

/* ===== Info panel ===== */
#feedback #feedbackInfo {
  margin-top: 28px;
  left: calc(var(--gutter) + 390px);
  max-width: 750px;
  width: 100%;
}
#feedback #feedbackInfo h5 { margin: 0 0 4px; font-size: 16px; }
#feedback #feedbackInfo h6 { margin: 0 0 12px; font-size: 12px; color: #6b6b6b; font-weight: 600; }
#feedback #feedbackInfo p  { margin: 0; line-height: 1.6; color: #222; }

/* ===== Buttons row ===== */
#feedback .functionRow {
  margin-top: 32px;
  z-index: 10;
  position: relative;
}

/* End spacer (explicit element variant) */
#feedback .scroll-end{
  flex: 0 0 max(var(--gutter), calc(100cqi - var(--gutter) - var(--card-w)));
  width: max(var(--gutter), calc(100cqi - var(--gutter) - var(--card-w)));
  height: 1px;
}

/* Placeholder demo box inside cards */
#feedback .feedbackCard .ph {
  width: 70%; height: 70%;
  border-radius: 16px;
  background: #f3f3f3;
}

/* ===== Breakpoints (container-relative) ===== */
@media (min-width: 1780px){
    #feedback #feedbackSlider { 
        padding-left: var(--gutter);
        padding-right: 0;
        scroll-padding-left: var(--gutter);
        scroll-padding-right: var(--gutter);
    }
}

@media (max-width: 1280px){
  #feedback { --gap: 40px; --card-w: clamp(260px, 36cqi, 340px); }
  #feedback #feedbackSlider { padding-bottom: 180px; }
}
@media (max-width: 1024px){
  #feedback { --gap: 32px; --card-w: clamp(260px, 44cqi, 320px); }
  #feedback .feedbackCard { max-height: 420px; }
  #feedback #feedbackInfo { margin-top: 22px; }
  #feedback #feedbackSlider { padding-bottom: 140px; }
  #feedback .feedbackInfo { padding: 0; width: 100%; max-width: 90cqi !important; left: 5cqi !important; }
}
@media (max-width: 768px){
  #feedback { --gap: 22px; --card-w: clamp(260px, 82cqi, 520px); }
  #feedback #feedbackSlider { scroll-snap-type: x proximity; padding-bottom: 60px; }
  #feedback .feedbackCard {
    aspect-ratio: 3 / 4;
    min-height: 280px; max-height: 420px;
    transform-origin: center top;
  }
  #feedback .functionRow { margin-top: 16px; display: flex; align-items: center; }
  #feedback .scroll-end { flex: 0 0 0; }
}
@media (max-width: 480px){
  #feedback { --gap: 18px; --card-w: 86cqi; }
  #feedback #feedbackInfo h5 { font-size: 15px; }
  #feedback #feedbackInfo h6 { font-size: 11px; margin-bottom: 10px; }
  #feedback #feedbackInfo p  { font-size: 14px; line-height: 1.55; }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce){
  #feedback #feedbackSlider { scroll-behavior: auto; }
  #feedback .feedbackCard { transition: none; }
}
