
*{
    font-family: "Dosis", sans-serif;
    scroll-behavior: smooth;
    font-weight: 400;
}

@keyframes scrollAnimation {
  0% {
      opacity: 0;
      transform: translateY(100px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}




body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  background-color: #fff;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 40px 15%;
  
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

nav a {
  text-decoration: none;
  color: #000;
  padding-top: -10px;
  margin-right: 25px;
  font-size: 20px;
  font-weight: 400;
  transition: 0.2s;
}
nav a:hover{
  text-decoration: underline;
  font-size: 21px;
}
nav a .aktiv{
  font-size: 22px;
  font-weight: 600;
  color: #6d0000;
}

#logo img{
  height: 60px;
  padding: 20px 0;
}

#hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

#hamburger-menu span {
    background-color: #000;
    height: 3.5px;
    width: 35px;
    margin: 5px 0;
    display: block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}



footer{
    background-color: #fff;
    width: 70%;
    height: 50px;
    padding: 0px 15%;
    display: flex;
    justify-content: space-between;
    color: #000;
    align-items: center;
    position: relative;
    bottom: 0px;
    overflow: hidden;
    margin-top: auto;
    margin-bottom: 10px;
}
#credit{
    margin-top: 20px;
    font-size: 15px;
    font-weight: 500;
    margin-right: 1%;
}
#footerinhalt{
  margin-top: 2px;
}
#footerinhalt a{
    text-decoration: none;
    color: #000;
    font-size: 15px;
    padding-right: 30px;
    font-weight: 500;
}

#symbol{
  margin: 0 15%;
  width: 120px;
}

#index_content1{
  padding: 50px 15%;
  animation: scrollAnimation 1s ease forwards;
}
#text1{
  display: block;
  font-size: 25px;
  text-align: center;
  width: 100%;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 500;
  color: #6d0000;
}
#text2{
  display: block;
  font-size: 20px;
text-align: center;
}
#index_bild1{
  padding: 0px;
  animation: scrollAnimation 1s ease forwards;
}
#index_bild1 img{
  width: 100%;
  height: 40vh;
  padding: 0px;
  object-fit: cover;
  
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}
#index_bilder2{
  padding: 0px 15%;
  animation: scrollAnimation 1s ease forwards;
}
#index_bilder2 img{
  width: 22%;
  margin: 1%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  margin-bottom: 30px;
  border-radius: 5px;
}
#büro_content1{
  margin: 20px 15%;
  animation: scrollAnimation 1s ease forwards;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  width: 70%;
  padding: 50px 0;
}
#über-mich_text{
  width: 60%;
}
#über-mich_bild{
  width: 25%;
  height: 100%;
}
#über-mich_bild img{
  height: 100%;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}



#leistungen_content1{
  margin: 20px 15%;
  animation: scrollAnimation 1s ease forwards;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  width: 70%;
  padding: 50px 0;
  border-bottom: 1px solid #333;
}
#leistungen_content1 div{
  margin-bottom: 0;
  padding: 20px 0;
  font-size: 18px;
  width: 60%;
}
#leistungen_content2{
  margin: 20px 15%;
  animation: scrollAnimation 1s ease forwards;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  width: 70%;
  padding: 50px 0;
  border-bottom: 1px solid #333;
}
#leistungen_content2 div{
  padding: 20px 0;
  font-size: 18px;
  width: 70vw;
}
#überschrift{
  font-size: 25px;
  font-weight: bold;
  color: #6d0000;
}
#leistungen_content1 #überschrift{
  font-size: 25px;
  font-weight: bold;
  padding: 20px 0;
}
#leistungen_content2 #überschrift{
  font-size: 25px;
  font-weight: bold;
  padding: 20px 0;
}
#leistungen_content1 img{
  width: 30%;
  height: 100%;
}
#leistungen_content2 img{
  width: 30%;
  height: 100%;
}

#kontakt_content1{
  padding: 50px 15%;
  padding-bottom: 0;
  display: flex;
  flex-direction: row;
  animation: scrollAnimation 1s ease forwards;
}
#kontakt_content2{
  padding: 20px 15%;
  animation: scrollAnimation 1s ease forwards;
}
#kontakt_content3{
  padding: 30px 15%;
  animation: scrollAnimation 1s ease forwards;
  display: flex;
  justify-content: space-between;
  gap: 30px
}
#kontakt_content3 div{
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#kontakt_content1 h{
  font-size: 20px;
  font-weight: bold;
}
#kontaktdaten{
  width: 40%;
  font-size: 18px;
}
#kontaktdaten h{
  color: #6d0000;
}
#maps{
  width: 60%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
#adressen{
  margin-top: 200px;
  font-size: 18px;
  color: #000;
  text-decoration: none;
}
#adressen div a{
  color: #000;
  text-decoration: none;
}
#icon_container{
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
#icon_containerstandort{
  display: flex;
  margin-bottom: 10px;
}
#icon_container img{
  margin-right: 10px;
}
#icon_containerstandort img{
  margin-right: 10px;
}
#datenschutzerklärung_content1{
  padding: 50px 15%;
}
#datenschutzerklärung_content1 p{
  color: gray;
  font-size: 12px;
}
#impressum_content1{
  padding: 50px 15%;
}
#impressum_content1 p{
  color: gray;
  font-size: 12px;
}
#kooperation_content1{
  padding: 50px 15%;
  animation: scrollAnimation 1s ease forwards;
}
#koop_container{
  display: flex;
  position: relative;
  padding: auto;
  width: 100%;
  margin-top: 10px;
  z-index: 1;
  animation: scrollAnimation 1s ease forwards;
}
#koop{
  width: 30%;
  margin: 1.5%;
  margin-top: auto;
  margin-bottom: auto;
  margin-top: 30px;
  font-size: 20px;
  align-items: center;
  text-align: center;
  float: left;
  position: relative;
  z-index: 1;
}
#koop a{
  font-size: 20px;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
#koop img {
  width: 80%;
  height: auto;
  padding-bottom: 30px;
  z-index: 1;
}

#projekte{
  padding: 50px 15%;
  animation: scrollAnimation 1s ease forwards;
}
.content{
  border-bottom: 1px solid #333;
  padding: 30px 0px;
}
.content p{
  margin: 0px;
}
.content img{
  height: 300px;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Spalten */
  gap: 50px; /* Abstand zwischen den Bildern */
  max-width: 1000px;
  margin: 50px auto;
  animation: scrollAnimation 1s ease forwards;
}

.gallery-item {
  position: relative; /* Damit caption sich am Bild ausrichten kann */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.caption {
  position: absolute;
  bottom: 0; /* Am unteren Rand des Bildes */
  left: 0;  
  width: 100%;
  background: rgba(255, 255, 255, 0.5); /* 50% Transparenz */
  color: #333;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 10px 0;
  text-shadow: 0 0 5px #fff; /* Weißer Leuchteffekt hinter dem Text */
  backdrop-filter: blur(3px); /* optional für leicht verschwommenen Hintergrund */
}


#Unterteilung{
  margin-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 3px solid #333;
}
#Unterteilung a{  
  color: #000;
  font-size: 20px;
  border-radius: 5px;
  padding: 2px;
  text-decoration: none;
  text-decoration: underline;
  margin-left: 20px;
  margin-right: 40px;
}
#Unterteilung img{
  height: 25px;
  padding-right: 10px;
  padding-bottom: -10px;
}
#Titel{
  padding-top: 20px;
  font-size: 25px;
  color: #000;
}
#Beschreibung{
  font-size: 20px;
  color: #333;
}


#Projekt_Raster{
  padding-bottom: 20px;
}

#cookie-popup { 
  position: fixed; 
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  bottom: 0; 
  left: 0; 
  width: 100%;
  height: 70px;
  background-color: #4a4a4a; 
  color: #fff; 
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); 
  z-index: 10000;
  animation: scrollAnimation 2s ease forwards;
} 

#cookie-text{
  font-size: 17px;
  padding-right: 10px;
}

#cookie-button button {
  background-color: white; 
  color: black; 
  border: none; 
  height: 40px;
  width: 60px;
  font-size: 16px;
  margin-left: 20px;
} 

#cookie-button button:hover { 
  background-color: black;
  color: white;
} 



/*
#nav-links a, #index_content1, #footerinhalt a, footer p, #büro_content1, #leistungen_content1, #projekte a, #Gewerbe div p, #Wohnen div p, #kontakt_content1, #adressen div a, #kontakt_content2 p, #kooperation_content1, #impressum_content1 p, #datenschutzerklärung_content1 p{
  color: white;
}
#leistungen_content1 div{
  border-bottom: 1px solid white;
}
.content{
  border-bottom: 1px solid white;
}
#Projektübersicht{
  border-bottom: 3px solid white;
}
#Gewerbe13{
  border-bottom: 3px solid white;
}
#Unterteilung{
  border-bottom: 3px solid white;
}

nav, body, footer{
  background-color: #666666;
}

#gewerbe_icon, #wohnen_icon, #icon_containerstandort img, #icon_container img{
  filter: invert(100%);
}

#logo{
  filter: invert(0%);
}
*/



@media (max-width: 768px) {
  nav{
    position: fixed;
    z-index: 1000;
    height: 30px;
    padding: 3vh 7.5vw;
    width: 90vw;
  }
  #nav-links {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease-out;
    flex-direction: column;
    display: flex;
    position: absolute;
    top: 100px;
    left: 0;
    width: 85vw;
    margin-right: 7.5vw;
    margin-left: 7.5vw;
    background-color: rgba(211, 211, 211, 0.85);
    animation: slidetoup 0.5s;
    z-index: 1000;
  }

  #nav-links.show {
    animation: slidefromup 0.5s;
    height: auto;
    z-index: 1000;
  }
  
  @keyframes slidefromup {
    0% {
      height: 0px;
    }
    100% {
      height: 300px;
    }
  }

  @keyframes slidetoup {
    0% {
      height: 300px;
    }
    100% {
      height: 0px;
    }
  }

  #nav-links a {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid white;
    z-index: 1000;
    font-size: 30px;
  }

  #hamburger-menu {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
  }

  #hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate( -10px, 9px);
    width: 30px;
  }

  #hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  #hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate( -10px, -9px);
    width: 30px;
  }

  #index_content1{
    margin-top: 100px;
    z-index: 1;
  }

  #index_content1 a{
    font-size: 28px;
  }
  #index_content1 #text1{
    font-size: 35px;
  }

  #index_bilder2{
    margin: 50px 5vw;
    padding: 0;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
    gap: 25px;
  }

  #index_bilder2 img{
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3 Spalten */
  gap: 20px; /* Abstand zwischen den Bildern */
  max-width: 1000px;
  margin: 150px 5vw;
  margin-bottom: 50px;
  animation: scrollAnimation 1s ease forwards;
}

  #büro_content1{
    margin-top: 100px;
  }
  
#leistungen_content1{
  margin: 20px 7.5vw;
  animation: scrollAnimation 1s ease forwards;
  font-size: 20px;
  display: block;
  justify-content: space-between;
  width: 85vw;
  padding: 50px 0;
  border-bottom: 1px solid #333;
}
#leistungen_content1 div{
  margin-bottom: 0;
  padding: 20px 0;
  font-size: 25px;
  width: 100%;
}
#leistungen_content2{
  margin: 20px 7.5vw;
  animation: scrollAnimation 1s ease forwards;
  font-size: 20px;
  display: block;
  justify-content: space-between;
  width: 85vw;
  padding: 50px 0;
  border-bottom: 1px solid #333;
  padding-top: 0;
}
#leistungen_content2 div{
  margin-bottom: 0;
  padding: 20px 0;
  font-size: 25px;
  width: 100%;
}
#leistungen_content1 #überschrift{
  font-size: 30px;
  font-weight: bold;
  padding: 20px 0;
}
#leistungen_content2 #überschrift{
  font-size: 30px;
  font-weight: bold;
  padding: 20px 0;
}
#leistungen_content1 img{
  width: 100%;
  height: 100%;
}
#leistungen_content2 img{
  width: 100%;
  height: 100%;
}

  #leistungen_content1{
    margin-top: 100px;
  }

  #büro_content1{
  margin: 20px 7.5vw;
  animation: scrollAnimation 1s ease forwards;
  font-size: 20px;
  display: block;
  justify-content: space-between;
  width: 85vw;
  padding: 50px 0;
  margin-top: 100px;
}
#über-mich_text{
  width: 100%;
  font-size: 25px;
}
#über-mich_bild{
  width: 100%;
  height: 100%;
}
#über-mich_bild img{
  height: 100%;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


  #kontakt_content1{
    width: 85vw;
    margin: 0 7.5vw;
    padding: 0;
    flex-direction: column;
    margin-top: 150px;
  }
  #kontakt_content2{
    width: 85vw;
    margin: 0 7.5vw;
    padding: 0;
  }
  #kontakt_content3{
    width: 85vw;
    margin: 30px 7.5vw;
    padding: 0;
    flex-direction: column;
  }
  #kontakt_content3 div a img{
    width: 85vw;
  }
  #kontaktdaten{
    width: 100%;
  }

  #adressen{
    margin-top: -20px;
    margin-bottom: 50px;
  }
  #maps{
    width: 100%;
    height: 400px;
  }

  


  #cookie-popup { 
    position: fixed; 
    display: flex;
    flex-direction: column; /* Um die Elemente vertikal anzuordnen */
    justify-content: center;
    align-items: center;
    bottom: 0; 
    left: 0; 
    width: 100%;
    height: 250px;
    background-color: #4a4a4a; 
    color: #fff; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); 
    z-index: 10000;
    animation: scrollAnimation 2s ease forwards;
  } 

  #cookie-text{
    font-size: 20px;
    padding-right: 30px;
    padding-left: 30px;
    text-align: center;
  }

  #cookie-datenschutz{
    text-align: center;
    padding-bottom: 20px;
  }
  
  #cookie-button button {
    background-color: white; 
    color: black; 
    border: none; 
    height: 60px;
    width: 80px;
    font-size: 20px;
    margin-left: 20px;
  } 
}