 @keyframes lightsleft {
      0%, 25% { background-color: rgba(0, 72, 255, 0.6); }
      50%, 75% { background-color: rgba(255, 0, 0, 0.6); }
      100% { background-color: rgba(0, 72, 255, 0.6); }
    }
@keyframes lightsright {
      0%, 25% { background-color: rgba(255, 0, 0, 0.6); }
      50%, 75% { background-color: rgba(0, 72, 255, 0.6); }
      100% { background-color: rgba(255, 0, 0, 0.6); }
    }
    
body.subpage {
  margin: 0;
  padding: 60px 0 0 0; /* oben Platz für Navbar */
  background-color: #fff;
}

.light {
  position: fixed;
  top: 0;
  width: 30vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  filter: blur(200px);
  opacity: 1;
}

.left-light {
  left: 0;
  animation: lightsleft 0.8s infinite;
}

.right-light {
  right: 0;
  animation: lightsright 0.8s infinite;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000;
}

body.subpage {
  margin: 0;
  padding: 60px 0 0 0;
  background-color: #fff;
}

h1.subpage {
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  padding-top: 10%;
  font-size: xx-large;
}

/* === Navigation === */
ul {
  margin: 0;
  padding: 0 20px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  background-color: rgb(243, 243, 243);
  gap: 40px;

  position: fixed; /* fixiert die Navbar oben */
  top: 0;          /* oben ansetzen */
  left: 0;
  z-index: 1000;   /* sicherstellen, dass sie über allem liegt */
}



li.logo-link {
  margin-right: auto;
}
li {
  margin: 0;
}

li a {
  display: block;
  padding: 15px 15px;
  text-decoration: none;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  border-radius: 10%;
}

li a:hover {
  background-color: #d0d0d0;
}

.logo-img {
  height: 28px;
}

/* === Header (zentrierter Text) === */
div.header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* mehr Abstand zwischen den Elementen */
  padding: 0 20px; /* horizontalen Platz hinzufügen */
  max-width: 90%; /* verhindert, dass der Text zu breit wird */
}

div.header h1 {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 500%;
  margin: 0;
}

div.header h2 {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 200%;
  margin: 0;
}

h1 {
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  padding-top: 10%;
}

h2.subpage {
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: xx-large;
}

p.subpage {
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: large;
}

.team-container {
  width: 90%;
  max-width: 1100px;
  display: flex;
  justify-content: center; /* Team cards zentrieren */
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.Team {
  flex: 0 1 220px; /* feste Basisbreite, flexibel nach oben/unten */
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}


div.Team img {
  width: 150px;
  height: 150px;
  border-radius: 15px;
  border: 2px solid #ccc;
}

div.Team h2 {
  font-size: 1.8rem;
  margin: 0;
  color: black;
}

div.Team p {
  font-size: 1.1rem;
  margin: 0;
  color: #555;
}

/* === Twitter Button === */
.twitter-button {
  margin-top: 8px;
  display: block;
  width: 24px;
  height: 24px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

.twitter-button img {
  border-radius: 0 !important;
  border: none !important;
  padding: 0 !important;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* zusätzlich zu li.logo-link */
.logo-link {
  margin-right: auto;
  display: block;         /* damit margin auf <a> wirkt */
}

/* === Kontaktformular Styles === */
.contact-form {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: Arial, Helvetica, sans-serif;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.contact-form button {
  background: #007acc;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}

.contact-form button:hover {
  background: #005fa3;
}

.contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: black;
}

.contact-info a {
  color: #007acc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* === Contact Info Buttons === */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact-links a {
  display: inline-block;
  background-color: #007acc;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  transition: background-color 0.3s;
}

.contact-links a:hover {
  background-color: #005fa3;
}
