/* style.css */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
}

header {
  background-color: #0077b6;
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  flex-direction: row;
}

.logo-img {
  width: 100px;
  height: auto;
  transform: rotate(-15deg);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
  text-decoration: none;
  margin-left: 2rem;
}

a.logo-link {
  text-decoration: none;
  display: inline-block;
}

.logo-link {
  text-decoration: none;
  display: inline-block;
}

.logo-link .logo-text {
  text-decoration: none;       /* falls Browser den Text separat behandelt */
  color: #0077b6;              /* deine gewünschte Farbe */
}

.logo-link:hover .logo-text {
  color: #023e8a;
  text-decoration: none;
}

.logo-link:hover {
  cursor: pointer;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.nav-links a {
  transition: color 0.3s ease;
}

nav .nav-links a:hover {
  color: rgb(168, 167, 167) !important;
}

  .nav-links.show {
    display: flex;
  }

.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Hero section MAIN  */
.hero {
  text-align: left;
  padding: 3rem 3rem;
  background: #caf0f8;
}


.hero a {
  color: #046aa0;
  text-decoration: underline;
}

.hero a:hover {
  color: #033f5f;
  cursor: pointer;
}


.bild_Solarzelle {

  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
}




ul {
  list-style-position: inside;
  padding-left: 0;
  text-align: center;

}
li {
  text-align: center;
}

/* Footer */
footer {
  background-color: #0077b6;
  color: white;
  text-align: center;
  padding: 1rem;
}



.sicherheit-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: left;
  padding: 3rem 3rem;
  background: #caf0f8;
}

.zentrierte-liste {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.zentrierte-liste ul {
  display: block;          /* block statt flex verhindert horizontales Layout */
  list-style: none;        /* entfernt Standardpunkte, falls du eigene Icons nutzt */
  padding: 0;
  margin: 0;
  text-align: left;       /* verhindert zentrierten Text */
  max-width: 600px;
  width: 90%;
}


.zentrierte-liste li {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  display: flex;           /* optional: Icon + Text in einer Linie */
  align-items: center;
  width: 100%;
}


@media (max-width: 768px) {
  .zentrierte-liste ul {
    width: 95%;
    font-size: 1rem;
  }

  .zentrierte-liste {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    flex-direction: column;

  }

  .zentrierte-liste ul {
  display: block;          /* block statt flex verhindert horizontales Layout */
  list-style: none;        /* entfernt Standardpunkte, falls du eigene Icons nutzt */
  padding: 0;
  margin: 0;
  text-align: left;       /* verhindert zentrierten Text */
  max-width: 600px;
  width: 90%;
}


.zentrierte-liste li {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  display: flex;           /* optional: Icon + Text in einer Linie */
  align-items: flex-start;
  width: 100%;
  text-align: left;
}
}


.bild-block {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;

}


.bild_Solarzelle {
  width: 60%;


}
/*.text-block {
  text-align: center;
}*/





.bilder-container {
  display: flex;
  flex-direction: column; /* Wichtig: vertikal statt horizontal */
  align-items: center;     /* Zentriert die Bilder */
  gap: 1rem;               /* Abstand zwischen den Bildern */

}

@media (min-width: 768px) {
  .sicherheit-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .text-block {
    flex: 1;
    padding-right: 1rem;
  }

  .bild-block {
    flex: 1;
  }
}





/* Burgermenü */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #115a82;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 15px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    
  }




  .burger {
    display: block;
  }
  
  .logo-img {
    width: 80px;
  }

  .logo-box {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .logo-text {
    margin-top: 0.5rem;
    font-size: 1rem;
  }
}


/* Logo-Bild responsive */
.logo-img {
  max-width: 100%;
  height: auto;
  width: 200px; /* Optional: Anfangsgröße */
  display: block;
  margin: 0 auto;
}




.header a {
  text-decoration: none;
}
.header h1 {
  text-decoration: none;
}


.logo-link {
  text-decoration: none;
}

.logo-link * {
  text-decoration: none; /* entfernt Unterstrich bei allen Kindern */
}


.logo-link,
.logo-link h1,
.logo-link .logo-text,

h1 {
  text-decoration: none;
  font-size: 2rem;
}
h2 {
  font-size: 1.5rem;
}

.logo-link {
  text-decoration: none ;
}

.logo-link .logo-text,
.logo-link h1,
.logo-link * {
  text-decoration: none;
  color: #0077b6; /* oder deine gewünschte Farbe */
}

.logo-link:hover {
  cursor: pointer;
}





.active {
  color: #000000;
  text-decoration: underline;
}