/* Grundstil & Box-Modell */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  /* Layout: Flexbox für sticky Footer */
  body {
    display: flex;
    flex-direction: column;
    background: #222;
    color: #fff;
  }
  
  /* Header & Navigation */
  header {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-left {
    display: flex;
    align-items: center;
  }
  
  .logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .site-name {
    font-size: 1.6em;
    font-weight: bold;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    align-items: center;
  }
  
  nav ul li {
    position: relative;
    margin: 0 8px;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: background 0.3s ease;
  }
  
  .nav-item.active a,
  nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
  }
  
  /* Dropdown-Menü */
  .dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    top: 100%;
    left: 0;
    min-width: 220px;
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .dropdown-content a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .nav-item.dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Main Content & Hero */
  main {
    flex: 1;
    width: 100%;
    padding: 20px;
  }
  
  /* Animierter Regenbogen-Hintergrund im Hero-Bereich */
  .hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(45deg, #ff0099, #ff6600, #ffcc00, #33cc33, #0099ff, #9933ff);
    background-size: 300% 300%;
    animation: rainbowBG 10s ease infinite;
    border-radius: 8px;
    margin-bottom: 40px;
  }
  
  @keyframes rainbowBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  .hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
  }
  
  /* Button-Gruppen */
  .button-group {
    margin: 20px 0;
  }
  
  .btn {
    background: #0066ff;
    color: #fff;
    padding: 12px 24px;
    margin: 8px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
    display: inline-block;
  }
  
  .btn:hover {
    transform: scale(1.05);
    background: #004fcc;
  }
  
  /* Galerie */
  .gallery {
    margin-top: 40px;
  }
  
  .gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .gallery-img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #fff;
    border-radius: 4px;
    transition: transform 0.3s;
  }
  
  .gallery-img:hover {
    transform: scale(1.05);
  }
  
  /* Modal für Bilder */
  .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.85);
  }
  
  .modal-content {
    margin: 10% auto;
    display: block;
    max-width: 80%;
    border-radius: 8px;
  }
  
  .close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* Popup */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128,128,128,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
  }
  
  .popup-content {
    background: #333;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
  }
  
  .popup-content h2 {
    margin-bottom: 20px;
  }
  
  .popup-content button {
    background: #0066ff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .popup-content button:hover {
    background: #004fcc;
  }
  
  /* Markdown-Inhalte (INFO, NEWS, über uns) */
  .markdown-content {
    background: #000;
    color: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
  }
  
  /* Sticky Footer */
  footer {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    padding: 15px 10px;
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #ffcc00;
  }
  