.hero-container {
  position: relative;
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 2rem;
  text-align: center;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  margin: 2rem 0;
}

.module-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px); /* Moderner Glass-Effekt */
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 8px;
}
.module-card:hover { transform: scale(1.1); }

.module-card.highlight {
  border-color: #ffcc00; /* Hebt ein wichtiges Modul hervor */
  background: rgba(255, 217, 0, 0.1);
}

  /* Allgemeine Stile */
  body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      margin: 0;
      padding: 0;
      color: #333;
      background-color: #f9f9f9;
  }

  /* Hero-Sektion mit flexiblem Hintergrundbild */
  .hero {
      /* ERSETZEN SIE HIER 'ihr-hintergrundbild.jpg' MIT IHREM BILD */
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('ihr-hintergrundbild.jpg') no-repeat center center/cover;
      color: #fff;
      padding: 100px 20px;
      text-align: center;
  }

  .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 10px;
  }

  .hero p {
      font-size: 1.2rem;
      max-width: 600px;
      margin: 0 auto 30px auto;
  }

  .btn {
      display: inline-block;
      background-color: #007bff;
      color: #fff;
      padding: 12px 24px;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      transition: background 0.3s ease;
  }

  .btn:hover {
      background-color: #0056b3;
  }

  /* Hauptbereich & Bild-Grid */
  .container {
      max-width: 1200px;
      margin: 40px auto;
      padding: 0 20px;
  }

  .section-title {
      text-align: center;
      margin-bottom: 40px;
      font-size: 2rem;
  }

  .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
  }

  /* Karten für Bilder und Kommentare */
  .card {
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  }

  .card-img-placeholder {
      width: 100%;
      height: 200px;
      background-color: #ddd;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
      font-weight: bold;
  }

  .card-content {
      padding: 20px;
  }

  .card-content h3 {
      margin-top: 0;
      color: #007bff;
  }

  /* Footer */
  footer {
      background-color: #333;
      color: #fff;
      text-align: center;
      padding: 20px;
      margin-top: 60px;
  }

