:root{
    --bildbreite:360px;
    --mount-meadow: #1bbc9c;
    --white-smoke: #f0f0f0;
    --meinrot: #dd0000;
    --black: #000000;
    --transition: all 0.5s ease-in-out;
    --hintergrund: #ffffff;
    --schriftfarbe: #343434;
    
}
*{
    font-family: 'Open Sans', normal;
    padding: 0;
    margin:0;
    box-sizing: border-box;
}
a{
  color: inherit;
  text-decoration: none;
}
  
html{
  background-color: var(--hintergrund);
  color: var(--schriftfarbe);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

.dark-mode {
  background-color: var(--black);
  color: var(--hintergrund);
}

.hero-div{
  font-family: 'Open Sans Italic', normal;
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.center{
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-div{
  flex:1;
  flex-direction: column;
  text-align: left;
  margin-top: 15vw;
  margin-bottom: 5vw;
}
.hero-div h1{
  font-size: 3.55rem;
  padding-bottom: 0.4rem;
}
.hero-div p{
  font-size: 1.55rem;
}
.container{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}
.impressumdat{
  width: 80%;
  margin-left: 10%;
  margin-bottom: 50px;
}
.impressumdat p{
  font-size: 1.55rem;
}

@media (max-width: 767px) {
  .impressumdat{
    width: 100%;
    padding: 10%;
    margin-left: 0;
    margin-bottom: 50px;
  }
}

.cookie-notice {
  position: fixed;
  bottom: 0;
  width: 60%;
  margin-left: 20%;
  background-color: #f9f9f9;
  color: black;
  text-align: center;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.cookie-notice a {
  color: #FD2885;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .cookie-notice {
    width: 100%;
    margin-left: 0;
  }
}

.klasse{
    display: none;
}




.options-felder{
  position: fixed;
  right: 5px;
  top: 0%;
}
.optionsbutton{
  right: 5px;
  margin:  0px 0px 0px auto;
  display:block;
  padding: 5px 25px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: white; 
  background: #FD2885;
  transition: 1s;
  box-shadow: 6px 6px 0 black;
}
.optionsbutton span {
  cursor: pointer;
  display: inline-block;
}

.sprachenbutton{
  right: 5px;
  margin:  0px 0px 0px auto;
  display:block;
  padding: 5px 25px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: white; 
  background: #2885FD;
  transition: 1s;
  box-shadow: 6px 6px 0 black;
}
.sprachenbutton span {
  cursor: pointer;
  display: inline-block;
}

.navigations-felder {
  position: fixed;
  right: 5px;
  bottom: 0%;
  text-align: right;
}

.navigations-felder a {
  color: #FD2885;
  font-size: 20px;
  display: block; /* display links above each other */
}

.navigations-felder a:hover {
  text-decoration: underline; /* add underline on hover */
}

.menu-button {
  display: none; /* hide menu button by default */
}

@media (max-width: 767px) {
  /* show menu button and hide links on smaller screens */
  .navigations-felder a {
    display: none;
  }
  #NavMenudivdisplay{
    display: block;
  }

  .menu-button {
    display: block;
  }
}


.navibutton{
  right: 5px;
  margin:  0px 0px 0px auto;
  display:block;
  padding: 5px 25px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: white; 
  background: #FD2885;
  transition: 1s;
  box-shadow: 6px 6px 0 black;
 
}
.navibutton span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}
.navibutton span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}
.navibutton:hover span {
  padding-right: 25px;
}
.navibutton:hover span:after {
  opacity: 1;
  right: 0;
}
.social-felder{
  position: fixed;
  left: 5px;
  top: 40%;
  text-align: center;
}
.social-felder a{
  color: #FD2885;
  display:block;
  font-size: 20px;
  padding: 5px 5px;
  margin-left: 20px;
  border-radius:20%;
}
.social-felder a:hover{
  color: #fff;
  background: #FD2885;
}

@media (max-width: 768px) {
  .social-felder {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    top:5px;
}

.social-felder a {
    flex-shrink: 0;
    margin-right: 10px;
}
}

#NavMenudiv {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
  border-bottom: 2px solid #FD2885;
}

#NavMenudiv a {
  display: block;
  font-size: 24px;
  margin-bottom: 10px;
  color: #FD2885;;
  text-decoration: none;
}

#NavMenudiv a:hover {
  text-decoration: underline; /* add underline on hover */
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  border: none;
  background: none;
  color: black;
  cursor: pointer;
}
.image-gallery img {
  width: 48%; /* Images take full width by default */
}

@media (min-width: 768px) {
  .image-gallery img {
    width: 24%; /* Display two images in a row on larger screens */
    
  }
}
.ionosInfo{
  background-color:#4a67e7;
  color: white;
  padding: 25px;
}
.ionosLink {
  color: #4a67e7;
  text-decoration: underline;
}

.text {
    color: white;
    font-size: 50px;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.beschreibung {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 40%;
    left: 20%;
    transform: translate(-10%, -10%);
    text-align: center;
}
.beschreibung a{
    position: absolute;
    transform: translate(-50%, 150%);
    color:white;
}

.navigation{
    text-align: right;
}

.Leistungen{
  width:70%;
  margin-left: 15%;
  padding-bottom: 100px;
}

.Leistungen div{
  margin-bottom: 30px;
}

.Leistungen p{
  padding-top: 20px;
  padding-bottom: 20px;
}

#sprachenmenu li:hover > ul{
  display:block;
}
	

.hero-image {
  background-image: url("photographer.jpg"); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  height: 500px; /* You must set a specified height */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

.center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-item{
    text-decoration-line: none;
    padding: 0.6rem 0;
    list-style-type: none;
    padding: 0.8rem 0.8rem;
}
.nav-link{
    text-decoration-line: none;
    text-transform: uppercase;
    font-size:  0.95rem;
    letter-spacing: 1.5px;
    font-weight: 400;
    opacity: 0.85;
    transition: var(--transition);
}

/*Code zu den angebotenen Dienstleistungen*/

.Zukunftsüberblick {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.Zukunftsüberblick {
  width: 70%;
  height: 100%;
  padding: 0px 0%;
  margin-left: 15%;
}

.Zukunftsüberblick h1 {
  text-align: center;
  padding-top: 10%;
  margin-bottom: 60px;
  font-weight: 600;
  position: relative;
}

.Zukunftsüberblick h1::after {
  content: '';
  background: #FD2885;
  width: 60%;
  height: 5px;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.zukunftsrow {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
  margin-bottom: 100px;
}

/* Styles for mobile screens */
@media (max-width: 767px) {
  .zukunftsrow {
    grid-template-columns: 1fr; /* Display 1 project per row */
  }
}

/* Styles for medium screens */
@media (min-width: 768px) and (max-width: 1291px) {
  .zukunftsrow {
    grid-template-columns: repeat(2, 1fr); /* Display 2 projects per row */
  }
}

/* Styles for large screens */
@media (min-width: 1292px) {
  .zukunftsrow {
    grid-template-columns: repeat(4, 1fr); /* Display 4 projects per row */
  }
}

.projekt {
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 25px 10px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  border: 2px solid #FD2885; /* add a border with color #FD2885 */
}


.projekt i {
  font-size: 40px;
  margin-bottom: 20px;
  margin-top: 20px;
  color: #FD2885;
}

.projekt h2 {
  font-weight: 600;
  margin-bottom: 8px;
}



/*********************************************************/



@media screen and (min-width: 1000px){
    .hero-div{
      width:80%;
      margin-left: auto;
      margin-right: auto;
    }
  }