
body { margin: 0; font-family: Arial, sans-serif; }

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #111;
    color: #fff;
}

header img { height: 40px; }

.split-hero {
    display: flex;
    height: 100vh;
    overflow: hidden;
  }
  
  .hero-left, .hero-right {
    flex: 1;
    position: relative;
  }
  
  .hero-left {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
  }
  
  .hero-text {
    max-width: 500px;
  }
  
  .hero-text h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #111;
  }
  
  .hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #444;
  }
  
  .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .hero-buttons button {
    padding: 14px 24px;
    font-size: 1em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .hero-buttons button:first-child {
    background-color: #0077cc;
    color: white;
  }
  
  .hero-buttons button:first-child:hover {
    background-color: #005fa3;
  }
  
  .hero-buttons .secondary-btn {
    background-color: #eee;
    color: #111;
  }
  
  .hero-buttons .secondary-btn:hover {
    background-color: #ddd;
  }
  
  .hero-right {
    background: url('bilder/city-5034157_1920.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
  }
  
  .hero-logo {
    position: relative;
    max-width: 50%;
    height: auto;
    z-index: 2;
  }
  

section {
    padding: 60px 40px;
}

.info {
  background-color: #f9f9f9; /* gleich wie .mitglieder */
  padding: 80px 20px;
  text-align: center;
}

.info h2 {
  font-size: 2em;
  margin-bottom: 25px;
  color: #111;
}

.info p {
  font-size: 1.05em;
  line-height: 1.7;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}



.veranstaltungen {
    background-color: #fff;
    padding: 80px 40px;
    text-align: center;
}

.veranstaltungen h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.veranstaltungen-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.veranstaltung-card {
    background-color: #f5f5f5;
    border-left: 5px solid #0077cc;
    border-radius: 8px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.veranstaltung-card:hover {
    transform: translateY(-4px);
}

.veranstaltung-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #0077cc;
}

.veranstaltung-card p {
    font-size: 0.95em;
    color: #333;
    line-height: 1.4em;
}

.mitglieder {
    text-align: center;
    padding: 80px 40px;
    background-color: #f9f9f9;
}

.mitglieder h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.mitglieder-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.mitglied-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    width: 250px;
    transition: transform 0.3s ease;
}

.mitglied-card:hover {
    transform: translateY(-5px);
}

.mitglied-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    background: #eee;
}

.mitglied-card h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
}

.mitglied-card p {
    font-size: 0.95em;
    color: #555;
}

.faq {
  background-color: #fff;
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.faq h2 {
  font-size: 2em;
  margin-bottom: 50px;
  font-weight: bold;
  color: #111;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: all 0.3s ease;
}

.faq-item button {
  width: 100%;
  padding: 20px 24px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  border: none;
  text-align: left;
  transition: background 0.2s ease;
  color: #111;
}

.faq-item button:hover {
  background: #f7f7f7;
}

.faq-item div {
  display: none;
  padding: 16px 24px;
  background: #fafafa;
  font-size: 0.95em;
  line-height: 1.5;
  color: #444;
  border-top: 1px solid #eee;
}



footer {
    background: #111;
    color: white;
    padding: 40px;
    text-align: center;
}

footer a {
    color: #fff;
    margin: 0 10px;
}
@media (max-width: 768px) {
    .split-hero {
      flex-direction: column-reverse;
      height: auto;
    }
  
    .hero-left, .hero-right {
      width: 100%;
      height: auto;
    }
    .hero-left {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        height: calc(100vh - 160px); /* Höhe des Bildbereichs abgezogen */
        box-sizing: border-box;
      }
        
  
    .hero-content h1 {
      font-size: 1.8em;
      line-height: 1.2;
      margin-bottom: 15px;
    }
  
    .hero-content p {
      font-size: 1em;
      margin-bottom: 25px;
      color: #444;
    }
  
    .hero-buttons {
      flex-direction: column;
      gap: 12px;
      align-items: center;
    }
  
    .hero-buttons button {
      width: 90%;
      max-width: 350px;
    }
  
    .hero-right {
      background: url(bilder/city-5034157_1920.jpg) center/cover no-repeat;
      height: 160px;
      position: relative;
    }
  
    .hero-overlay {
      background: rgba(0, 0, 0, 0.3);
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
    }
  
    .hero-logo {
      max-width: 90px;
      margin: 24px auto;
      display: block;
      position: relative;
      z-index: 2;
    }
  }
  