:root{
    scroll-behavior: smooth;
}
html{
    scroll-padding-top: 282px;
}
@media (min-width: 800px){
html{
    scroll-padding-top: 168px;
}
}
body {
  font-family: "Geist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
    margin: 0;
    font-size: 17px;
    line-height: 20px;
    -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;

}
#container{
    display: flex;
    flex-direction: column;
}
#menuContainer{
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    background-color: white;
}
#menuBar{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-end;
    box-sizing: border-box;
    flex-wrap: wrap;
    border-bottom: 1px solid transparent;
    padding: 20px;
    font-size: 20px;
}
@media (min-width: 800px){
#menuBar{
    flex-wrap: nowrap;
    padding-left: 20vw;
    padding-right: 20vw;
    padding-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid black;
    font-size: 17px;
}
}
#menuToggle{
    cursor: pointer;
}
@media (min-width: 800px){
#menuToggle{
    flex-basis: 190px;
}
}
#menu{
    display: flex;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: fixed;
    top: 61px;
    flex-direction: column;
    align-items: center;
    background-color: white;
    height: 0;
    
    
}
@media (min-width: 800px){
#menu{
    position: relative;
    padding-left: 20vw;
    padding-right: 20vw;
    left: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    /* top: -1px; */
    margin-top: 0px;
    top: 0;
        
}
}
#menu > a{
    color: black;
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 1px solid black;
    width: 100%;
    text-align: center;
}
@media (min-width: 800px){
#menu > a{
    border-bottom: none;
    width: auto;
}
}
.contactLink{
    color: black;
    text-decoration: none;
    order: 2;
}
.contactLink.desktop{
    display: none;
    flex-basis: 190px;
}
@media (min-width: 800px){
.contactLink{
    order: unset;
}
.contactLink.desktop{
    display: inline;
}
.contactLink.mobile{
        display: none;
    }
}
#logos{
    position: relative;
    text-align: center;
    width: 80vw;
    height: auto;
    order: 3;
    will-change: height;
}
@media (min-width: 800px){
#logos{
    height: 140px;
    width: auto;
    order: unset;
}
}
#logoBig{
    position: absolute;
    top: 20px;
    width: 80vw;
    height: auto;
    left: 8vw;
    display: none;
    will-change: top;
}
@media (min-width: 800px){
#logoBig{
    height: 130px;
    width: auto;
    left: -66px;
    top: 10px;
    display: block;
}
}
#mobileLogoBig{
    width: 70vw;
    height: calc(100vh - 60px);
    height: calc(100dvhl - 60px);
    align-self: center;
    
}
#mobileLogoSmall{
    top: -100px;
    position: fixed;
    height: 40px;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
}
@media (min-width: 800px){
#mobileLogoBig{
    display: none;
}
    #mobileLogoSmall{
        display: none;
    }
}
#logoSmall{
    height: 60px;
    position: absolute;
    top: -120px;
    left: -38px;
    will-change: top;
    display: none;
}
@media (min-width: 800px){
#logoSmall{
    display: block;
}
}
#mainSlider{
    width: 100%;
    position: sticky;
    top: 0;
    height: 60vh;
    overflow: hidden;
    top: 47px;
}
@media (min-width: 800px){
#mainSlider{
    top: 151px;
}
}
.mainSlideImage{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.mainContent{
    position: sticky;
    z-index: 2;
    background-color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    
}
#mainContent2{
    
    position: sticky;
    z-index: 2;
    background-color: white;
    display: flex;
    flex-direction: column;
}
#aktuelles{
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 800px){
#aktuelles{
    gap: 40px;
        
}
}
#newsSlider{
    cursor: pointer;
}
.newsSlide{
    width: min(300px, 82vw) !important;
}
.newsContent{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    background-color: #f9f6ef;
    
}
#members{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 800px){
#members{
    gap: 40px;
}
}
#memberSlider{
    cursor: pointer;
    
}
.memberSlide{
    width: min(300px, 82vw) !important;
}
.memberContent{
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding:  0 0 20px;
    background-color: #f9f6ef;
    
}
.memberName, .memberRole, .memberEducation{
    padding:0 20px;
}
.title{
    font-size: 35px;
    line-height: normal;
    text-align: center;
}
@media (min-width: 800px){
.title{
    font-size: 40px;
}
}
.contentBlock{
    padding: 20px;
}
@media (min-width: 800px){
.contentBlock{
    padding: 30px 40px 40px;
}
}
.text>p{
    margin-top: 0;
}
.text>p:last-child{
    margin-bottom: 0;
}
#anliegen{
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
@media (min-width: 800px){
#anliegen{
    width: 60vw;
}
}
#verein{
    background-color: #f9f6ef;
    display: flex;
    flex-direction: column;
    gap: 40px;
    
}
.link{
    padding: 15px 30px;
    color: white;
    background-color: #a84c42;
    text-decoration: none;
    align-self: center;
    text-align: center;
}
#vereinBlock{
    display: flex;
    gap: 40px;
    align-self: center;
    width: 100%;
    justify-content: center;
    flex-direction: column;
}
@media (min-width: 800px){
#vereinBlock{
    flex-direction: row;
}
#vereinBlock > div,
#vereinBlock > img{
    flex-basis: 40%;
    width: 40%;
}
}
#vereinText{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.newsText{
    padding: 0 20px;
}
.newsDate{
    padding: 0 20px;
    text-align: center;
}
.newsLine{
    width: 100%;
    margin: 0;
}
.mobile{
    display: block;
}
.desktop{
    display: none;
}
@media (min-width: 800px){
.mobile{
    display: none;
}
.desktop{
    display: block;
}
}

#betreuung{
    background-color: #f9f6ef;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    
}
@media (min-width: 800px){
#betreuung{
    gap: 40px;
}
}
#betreuungText{
    display: flex;
    gap: 20px;
    align-self: center;
    width: 100%;
    justify-content: center;
    flex-direction: column;
}
#betreuungText > div{
    background-color: white;
}
#betreuungText .title{
    padding: 20px 20px 0;
}
#betreuungText .panel, #wohnenText, #tagesText{
    padding: 0 20px;
}
@media (min-width: 800px){
#betreuungText .panel, #wohnenText, #tagesText{
    padding: 0 40px;
}
}

@media (min-width: 800px){
#betreuungText{
    flex-direction: row;
    align-items: flex-start;
}
#betreuungText > div{
    flex-basis: 40%;
}
}

.panel{
    overflow: hidden;
}
.panelWrapper{
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
}
.panelWrapper.visible {
    grid-template-rows: 1fr;
}
ul{
    list-style: none;
    position: relative;
}
li::before{
    content: "";
    background-image:url("/media/rightarrow.svg");
    position: absolute;
    left: 0;
    width: 1rem;
    height: 1rem;
    background-size: 0.8rem 0.8rem;
    background-repeat: no-repeat;
    background-position: left bottom;
}
.panelButton{
    padding: 20px;
    border-top: 1px solid black;
    text-align: center;
    cursor: pointer;
}
#video{
    position: sticky;
    top: 47px;
}
@media (min-width: 800px){
#video{
    top: 10px;
}
}
video{
    width: 100%;
}

#history{
    background-color: #f9f6ef;
    display: flex;
    flex-direction: column;
    gap: 20px;

}
@media (min-width: 800px){
#history{
    gap: 40px;
}
}
#historySlider{
    cursor: pointer;
}
.historySlide{
    width: min(300px, 82vw) !important;
    box-sizing: border-box;
}
.historyContent{
}
.historyYear{
    margin-bottom: 40px;
}
.historyText{
    background-color: white;
    padding: 20px;
    margin: 0 10px;
    box-sizing: border-box;
}
.historyImage{
    margin: 0 10px;
    box-sizing: border-box;
    width: calc(100% - 20px);
    
}

.historyGraphics{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 40px;
}
.historyLine{
    width: 100%;
    height: 2px;
    background-color: black;
}
.historyDot{
    width: 45px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background-color: black;
}
#vereinGrafik{
    width: 100%;
}
#gmaps{
    width: 100%;
    height: 60vh;
}
#contact{
    background-color: #f9f6ef;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-direction: column;
    
}
@media (min-width: 800px){
#contact{
    flex-direction: row;
    gap: 40px;
}
}
#contact > #weg{
    flex-basis: 40%;
}
#contact > #contactText{
    flex-basis: 30%;
}
#contact .title{
    margin-bottom: 20px;
    text-align: left;
}
@media (min-width: 800px){
#contact .title{
    margin-bottom: 20px;
}
}
#weg{
    background-color: white;
    padding: 20px;
}
@media (min-width: 800px){
#weg{
    padding: 30px 40px 40px;
}
}
#contact a{
    color:black;
    text-decoration: none;
}
#contact a::before{
    content: "";
    background-image:url("/media/rightarrow.svg");
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-size: 0.8rem 0.8rem;
    background-repeat: no-repeat;
    background-position: left bottom;
}
#footer{
    border-top: 1px solid black;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}
#footer a{
    color:black;
    text-decoration: none;
    
}
.historySlide.startSlide{
    border: 2px solid black;
    padding: 20px;
}
.foldText{
    height: 100px;
    overflow: hidden;
}
.foldTrigger{
    overflow: hidden;
    border-top: 1px solid black;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
}
@media (min-width: 800px){
    .foldText{
        height: auto;
    }
    .foldTrigger{
        display: none;
    }
}
.rightarrow{
    height: 0.7rem;
    
}
.rightarrow.white{
   filter: invert(1) 
}
@media (min-width: 800px){
.rightArrow.mobil{
    display: none;
    
}
}
