*{
    margin: 0;
    padding: 0;
  }


  html {
   /*font-family: Arial, Helvetica, sans-serif;*/
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:"wdth" 100;
  color: #f3f1ea;
  scroll-behavior: smooth;
    
    }

   body {
    background-color: #292929;
    
  }

.container{
    max-width: 1600px;
    
   /* width: 90%;*/
    margin: 0% 20%;
    padding: 0% 10%%;
    
}
  h1 {
    font-size: 1.2em;
    /*padding-bottom: 0.3em;*/
    font-weight: 300;
  }
  h2 {
 
    font-size: 1em;
    margin-bottom: 0.2em;
    font-weight: 300;
  }

  h3 {

    font-size: 1.2em;
    border-bottom: 1px solid #f3f1ea;
    padding-bottom: 0.3em;
    font-weight: 300;
  }


/* 👇 Schriftgrößen auf Mobilgeräten reduzieren */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1rem;
  }
}

.bold {
 font-weight: bold;
  color: #ffffff;
}

  .header-container {
    display: flex;
    justify-content: space-between;
    flex-direction:row;
    align-items:center;
    max-width: 100%;
    min-width: 15%;
    margin: 0 auto;
    padding: 0;
  }
  
  header, section {
    padding: 40px 0px;
    max-width: auto;
     /*margin-left: 10%;*/
  }
  header {
    text-align: left;
  }
  
  header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-align: left;
    
  }
  
.logoimg {
   /* width: 15%;
    height: 15%;
    padding-top: 30px;
     position: fixed;
     border-radius: 5px;*/
       position: fixed;
  top: 30px;       /* Abstand zum oberen Rand (also Header) */
  left: 15px;      /* Abstand zum linken Rand (Containergrenze) */
  width: 8vw;      /* skaliert mit Bildschirmgröße */
  max-width: 500px; /* optional: nie größer als 140px */
 /* height: auto;*/
  z-index: 999;
  pointer-events: none;
    
  }

.logoimg img{
    max-width: 100%;
    max-height: 100%;
     
  }

@media (min-width: 1600px) {
  .logoimg {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .logoimg {
    width: 12vw;
    max-width: 80px;
  }
}

  .navbar {
    float: right;
    list-style-type: none;
    margin-right: 0;
     display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
    overflow: hidden;
    
  }
  
  .navbar li {
    float: right;
    display: flex;
    gap: 1.5rem;
    margin: 0;
  }
  
  .navbar li a {
    display: block;
    text-align: center;
    padding: 0;
    text-decoration: none;
    color: #f3f1ea;
    
  } 
  .navbar li a:hover {
    display: block;
    text-align: center;
    padding: 0;
    text-decoration: underline;
    color: #f3f1ea;
   } 






.title{
    margin-bottom: 2rem;
}
p    {
   font-family: "Roboto", sans-serif;
    font-size: 1.0em;
    line-height: 1.4;
    color: #f3f1ea;
    text-decoration: none;
    padding-top: 0.3em;
    
    
  }

  a     {
     font-family: "Roboto", sans-serif;
    font-size: 1.0em;
    line-height: 1.4;
    color: #ffffff;
    text-decoration: none;
    padding-top: 1.6em;
    
  }
  
  a:hover {
    font-size: 1.0em;
    line-height: 1.4;
    color: #ffffff;
    text-decoration: underline;
    padding-top: 1.6em;
  }

.photo-gallery{
    display: flex;
    gap: 15px;
    justify-content: center;
}

.column{
   width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    
}

.photo img{
    width: 100%;
    height: auto;
    /*border-radius: 10px;*/
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

@media(max-width:768px){
    .photo-gallery{
        flex-direction: column;
    }
}



/*overlay*/

.photo {
    position: relative;
    overflow: hidden;
}


/* Bild vergrößert sich leicht beim Hover */
.photo:hover img {
    transform: scale(1.05);
    
}

/* Overlay-Grundstil */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.9);
    display: flex;
    align-items: flex-start;
    justify-content:flex-start;
    /*color: #292929;
    font-size: 0.9rem;
    /*line-height: 1.4;
    /*text-align:left;*/
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
    flex-direction: column;
    
}

.overlay-text {
  max-width: 90%;
  color: #fff;
  word-wrap: break-word;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Beim Hover wird Overlay sichtbar */
.photo:hover .overlay {
    opacity: 1;
}

.overlay:hover {
  opacity: 1;
}

.photo.hidden {
  display: none;
}

/*.gallery-wrapper {
  position: relative;
  max-height: 800px; /* Höhe, die anfangs sichtbar sein soll */
  /*overflow: hidden;
  margin-bottom: 20px;
  transition: max-height 0.6s ease;
}

/*.gallery-wrapper.expanded {
  max-height: none;
}

.gallery-fade {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(59,59,59,0) 0%, rgba(59,59,59,1) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.gallery-wrapper.expanded .gallery-fade {
  opacity: 0;
}*/


#loadMore {
  display: block;
  margin: 40px auto;
  padding: 12px 24px;
  font-size: 1em;
  background-color: #555;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#loadMore:hover {
  background-color: #777;
}

ul {
  list-style-position: outside;
  list-style-type: circle;
   padding-left: 1em;
}

li {
  line-height: 1;
  padding-top: 0.7em;
}
  
  #about{
    max-width: 800px;
    padding: 1em;
  }

  #awards{
    max-width: 800px;
    padding: 1em;
  }
  
  #contact{
    max-width: 800px;
    padding: 1em;
  }

  footer {
    text-align: center;
    padding: 1rem;
    font-size: 14px;
    background-color: #3b3b3b;
  }
  
  .cookie-banner {
    position: fixed;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    color: #fff;
    width: 100%;
    padding: 1rem;
    text-align: center;
    display: none;
  }


  /* Responsive Styling */
@media screen and (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
  }




  .photo-gallery {
    display: flex;
    flex-direction: column;
  }

  .column {
    width: 100%;
    padding: 0;
  }

  .photo img {
    width: 100%;
    height: auto;
  }


  /*p, a {
    font-size: 1em;
  }*/

  #loadMore {
    width: 100%;
    padding: 1em;
    font-size: 1em;
  }
}


