body{
    font-family: 'Manrope';
    /* font-family: Arial, Helvetica, sans-serif; */
    width:100%;
    padding:0;
    margin:0;
    display:flex;
    flex-direction:column;
    position:relative;
}
.main{
    /* padding:10px; */
    color:#444;
    display:flex;
    flex-direction: column;

}
@media (min-width: 768px) {
  .main{
    align-items: center;
    justify-content: flex-start;
  }
}
a{
    text-decoration: none;
    color:#444;
}

hr{
  margin:50px;
}
.button{
  
  padding:20px;
  border-radius: 40px;
  border-style: solid;
  border-width: 1px;
  border-color: #444;
  max-width: fit-content;

}
.secondary{
  background-color: #FFF;
}
.center{
  text-align: center!important;
}
h1{
  margin-top:10px;
    font-weight: 400;
    text-align: start;
}
h2{
    font-weight: 300;
    text-align: start;
}
.navigationicon{
}
.headerflexrow{
  display:flex;
  flex-direction: row;
  justify-content: space-between;
 align-items: center;   
}
.flexrow{
    display:flex;
  flex-direction: column;
  justify-content: space-between;
 align-items: center;  
 gap:10px 
}
  @media (min-width: 768px) {
.flexrow{
    display:flex;
  flex-direction: row;
  justify-content: space-evenly;
 align-items: center;   
}}

.container_logo_header{
    height: 80px;
    width: auto;   
    position:relative;
    flex-direction: column;
    display:flex;
    align-items: center;
    flex-wrap: wrap; /* sorgt dafür, dass Inhalte umbrechen */
}

.header{
    top:0;
    left:0;
    z-index: 10;
    width:100%;
    position:fixed;
    /* max-height:15vh; */
    backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.3);
}
span{
    color:darkslategrey
}

/*
Startseite
*/
.mainpage_content{
    text-align: center;
    margin-top:18vh;
    margin-bottom:18vh;
    padding-left:10px;
    padding-right:10px;
 align-self: center;
 width:90%;
    
}
.logo{
  height:100%;
}

  @media (min-width: 768px) {
.news_page{
  width:100%;
  margin-left:20px;
  margin-right:20px;
}

.mainpage_content{
max-width: 1280px;
    width: 80%;
align-self: center;
}}
.mainpage_content span{
    text-align: center;
    line-height: 1.6;
    font-size: 1.1rem;
    display:block;
}

.container_logo_header img {
    max-height: 100%; 
    height: auto;
    width: auto;
    object-fit: contain;
  }

  .insta{
    color:#f00075;
    fill:#f00075;
    width:64px;
  }

  .fb{
    color:#0866ff;
    fill:#0866ff;
    width:64px;
  }

  /*
  SLIDESHOW
  */
  .slideshow-container {
    width: 100%;
    max-height: 50vh;
    overflow: hidden;
    position: relative;
  }
  .fade-slideshow {
    position: relative;
    width: calc(100vw - 5%);
    height: 50vw;
    overflow: hidden;
    width:100%;
  }
  
  .fade-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .fade-slideshow .slide.active {
    opacity: 1;
    z-index: 2;
  }
  
  

  /*MENU
  */

.menu_header_container{
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

  .hamburger {
    font-size: 2rem;
    /* padding: 1rem; */
    cursor: pointer;
  }
  
  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #333;
    color: white;
    padding-top: 3rem;
    transition: left 0.3s ease;
  }
  
  .sidebar a {
    display: block;
    color: white;
    padding: 1rem;
    text-decoration: none;
  }
  .sidebar .sub{
    text-indent:1rem;
    font-size:0.8rem;
    padding-top:0.6rem;
    padding-bottom:0.6rem;
  }

  
  .sidebar.show {
    left: 0;
  }
  @media (min-width: 768px) {
    .hamburger {
      display: none; /* Kein Hamburger-Symbol */
    }
  #sidebar-back{
    display:none;
  }
    .sidebar {
      position: static; /* normaler Fluss */
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      justify-content: space-around;
      height: auto;
      background-color: transparent;
      padding: 0;
      width:auto;
      left: 0 !important; /* verhindert „hereinfahren“ */
    }
    .sidebar .sub{
        display:none;
        text-indent:1rem;
        font-size:0.8rem;
        padding-top:0.6rem;
        padding-bottom:0.6rem;
      }
  
    .sidebar a {
      color: #333;
      padding: 0.5rem;
    }
  }

/*IMPRESSUME*/

#impressum{
    text-align:center;
    background-color: #222;
    color:lightgrey;
    width:100%;
}

#impressum h1{
    font-size: 1.2rem;
}

#impressum h2{
    font-size: 1rem;
}

#impressum p{
    font-size: 0.8rem;
}
.impressum_adds.nodisplay{
    display:none;
}



/*GALLERY*/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    justify-content: center;
  }
  @media (min-width: 768px) {
.gallery {
  max-width: 800px;
}}
  .image-container {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 200px; /* maximale Breite pro Bild */
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }
  .image-container.noshow{
    display:none;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .overlay {
    position: absolute;
    bottom: 0;
    width: calc(100% - 10px);
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.6);
    /* color: #000; */
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.9rem;
    text-align: center;
  }


  /*Team*/
.theteam{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
  @media (min-width: 768px) {

.theteam{
  flex-direction: row;
}
  }
/*

Gallery im Post

*/
.post_gallery {
  margin-top:25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Bildstil */
.post_gallery label img {
  /* min-width: 33%; */
  width:100%;
  cursor: zoom-in;
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
  @media (min-width: 768px) {
.post_gallery label img {

 width:300px;
}}
/* Overlay-Grundlage */
input[type="checkbox"] {
  display: none;
}

/* Großansicht */
input[type="checkbox"]:checked + label {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  z-index: 9999;
}

input[type="checkbox"]:checked + label img {
  width: 80vw;
  height: auto;
  max-height: 90vh;
  transform: scale(1.05);
}
  @media (min-width: 768px) {
input[type="checkbox"]:checked + label img {
  width: 40vw;
  height: auto;
  max-height: 90vh;
  transform: scale(1.05);
}}
  /* FORMULAR */
   form{
    display: flex
;
    flex-direction: column;
    align-items: center;
    row-gap: 0px;
    justify-content: stretch;
   }

   input, textarea, select{
    min-width: 80%;
    max-width: 600px;
   }


   /*profiles*/
   .profile_image img{
    max-width: 100%;
width:100%;
   }

   .container_profile_details table {
    border-collapse: collapse;
    width: 100%;
    font-family: sans-serif;
  }
  
  .container_profile_details table tr:nth-child(even) {
    background-color: #f2f2f2; /* hellgrau */
  }
  
  .container_profile_details table tr:nth-child(odd) {
    background-color: #ffffff; /* weiß */
  }
  
  .container_profile_details table td,
  .container_profile_details table th {
    border: none;
    padding: 12px;
    text-align: left;
  }
  
  tr.noshow{
    display:none;
  }
  .container_profile{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    column-gap: 20px;
  }
  @media (min-width: 768px) {
.container_profile{
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 20px;
  
}
.container_profile > *{
  flex:1;
  min-width: 0px;
}
}


.container_profile_ohneTable{
  width:100%;

}

.container_profile_ohneTable.image{
  display:flex;
  flex-direction: column;
  align-items: center;
}
.container_profile_ohneTable.image img{
  max-width: 300px;
}
.container_profile_ohneTable h1{
  text-align:center;
}
.container_profile_gallerie_ohneTable{
  width:100%;
}



/* 
POST
*/

/*

DER POST
*/
  @media (min-width: 768px) {

.desktopnoshow{
display:none;
}}
.post_date{
  text-align:end;
}
.post_image{
  width:100%;
}
.post_image img{
  width:100%;
}
.post_entry h1{
  -webkit-line-clamp: 1;     /* max. 3 Zeilen */
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;


}
  @media (min-width: 768px) {
.post_entry{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
/*datum*/
.post_entry > :nth-child(1) {
  grid-row: 1 ; /* nimmt beide Zeilen in der linken Spalte */
  grid-column: 2;
  /* background: lightblue; */
}
/*Titel*/
.post_entry > :nth-child(2) {
  grid-row: 2/span2 ;
  grid-column: 1;
  /* background: lightgray; */
}
/*bild*/
.post_entry > :nth-child(3) {
  grid-row: 2 ;
  grid-column: 2;
  margin-top:0;
  padding-top:0;
  /* background: lightgray; */
}
/*text*/
.post_entry > :nth-child(4) {
  grid-row: 3;
  grid-column: 2;
  /* background: lightgray; */
}
/*Buttons*/
.post_entry > :nth-child(5) {
  grid-row: 4;
  grid-column: 1/span2;
  /* background: lightgray; */
}}
/*im preview als vorschau */




  @media (min-width: 768px) {}
.container_profile_gallerie{
display:flex;
flex-direction: row;

}

.container_profile_gallerie .post_link{
    
  text-decoration: none;
  display: inline-block;
  color: inherit; /* wichtig, damit Textfarbe im Link nicht blau ist */
}

.container_profile_gallerie{
  /* max-width: inherit;
  position: relative;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: stretch;
  align-items: center; */
}

.container_profile_gallerie
 { 
  display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    justify-content: center;
}

.container_profile_gallerie .post_entry{
max-width: inherit;
position: relative;
display:flex;
flex-direction: column;
justify-content: stretch;
align-items: center;
border-style: solid;
border-color: #DDD;
background-color: #fff;
padding: 10px;
border-width: 1px;
border-radius:25px;
box-shadow: 2px 6px 16px rgba(0, 0, 0, 0.6);
}
  @media (min-width: 768px) {
.container_profile_gallerie .post_entry{
    /* min-width: 200px; */
    max-width: 300px;
  }}
.container_profile_gallerie .post_date{
text-align: end;
min-width: 100%;
margin-top:0;
margin-bottom:0;
font-size:0.6rem;
}

.container_profile_gallerie .post_image{
 min-width: 100%; 
     max-width: 100%;
}
.container_profile_gallerie .post_image img{
  /* position: absolute; */
  top:0;
  left:0;
  min-width: 100%; 
      max-width: 100%;
  object-fit: contain;
 }

 .container_profile_gallerie .post_text{
  font-size:0.8rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;     /* max. 3 Zeilen */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  width:100%;
 }

  .container_profile_gallerie .post_gallery{
  display:none;
 }
  .container_profile_gallerie h1{
  font-size: 1rem;
  font-weight: 800;
}

 .container_profile_gallerie .post_social_buttons{
  display: none;
 }
/* SOINDE */

.flex{
  display:flex;
  flex-direction: column;
} 
.center{
  align-items: center;
} 

.fullwidth{
  align-self: center;
  width:100%;
  /* width:90vw; */
  padding:0;
  margin: 0;
}

.spacer25{
  min-height:25px;
  max-height:25px;
  height:25px;
}



/*



FAQ



*/

   .faqs_site {
      
      line-height: 1.6;
      text-align: left;
      max-width: 800px;
      /* margin: 2rem auto; */
      /* padding: 0 1rem; */
    }

    .faq-item {
      border-bottom: 1px solid #ccc;
      margin-bottom: 1rem;
    }

    .faq-question {
      background: #f7f7f7;
      cursor: pointer;
      padding: 1rem;
      font-weight: bold;
      border: none;
      width: 100%;
      text-align: left;
    }

    .faq-answer {
      display: none;
      padding: 1rem;
      background: #fff;
    }

    .faq-item.active .faq-answer {
      display: block;
    }