/* Smooth Scroll */
html {
    scroll-behavior: smooth;
  }
  
  /* Basis-Stile */
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
  }
  
  /* Header, Logo und Navigation */
  header {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #fff;
    padding: 20px;
    opacity: 0;
    animation: fadeInDown 1s forwards;
    animation-delay: 0.2s;
  }
  
  /* Header-Top: Auf Desktop in einer Zeile (Logo links, Navigation rechts) */
  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }
  
 
  
  .logo {
    max-width: 200px;
    width: auto;
    height: auto;
  }
  
  /* Navigation (Desktop) */
  nav {
    display: block;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
  }
  
  nav ul li {
    margin: 0 15px;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    position: relative;
  }
  
  /* Fancy Hover-Unterstreichung */
  nav ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #fff;
    bottom: -3px;
    left: 0;
    transition: width 0.3s;
  }
  
  nav ul li a:hover::after {
    width: 100%;
  }
  
  /* Hamburger Button – standardmäßig ausgeblendet (Desktop) */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  .hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
  }
  
  /* Abschnitte */
  section {
    padding: 50px 20px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s forwards;
  }
  
  section h2 {
    margin-bottom: 20px;
  }
  
  /* Animationen */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Gestaffelte Animationen */
  section#home { animation-delay: 0.4s; }
  section#bilder { animation-delay: 0.6s; }
  section#musik { animation-delay: 0.8s; }
  section#biografie { animation-delay: 1s; }
  section#kontakt { animation-delay: 1.2s; }
  footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
    animation: fadeInUp 1s forwards;
    animation-delay: 1.4s;
    text-align: center;
  }
  
  /* Bildergalerie als responsives Grid */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .gallery img {
    width: 100%;
    height: auto;
    border: 5px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  
  /* Responsive Video-Container */
  .videos {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px auto;
  }
  .videos iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  /* Responsive Anpassungen */
  @media (max-width: 768px) {
    /* Auf mobilen Geräten: Navigation ausblenden, Hamburger anzeigen */
    nav {
      display: none;
    }
    .hamburger {
      display: flex;
    }
    /* Bei aktivierter Navigation (über Hamburger) Dropdown */
    #nav-menu.active {
      display: flex;
      flex-direction: column;
      align-items: center;
      background-color: #333;
      width: 100%;
      position: absolute;
      top: 70px; /* ggf. anpassen */
      left: 0;
      padding: 10px 0;
      z-index: 1000;
    }
    
    #nav-menu.active ul {
      flex-direction: column;
      width: 100%;
    }
    
    #nav-menu.active li {
      width: 100%;
      text-align: center;
      margin: 10px 0;
    }
    
    /* Header-Anpassung für mobiles Layout */
    .header-top {
      justify-content: space-between;
    }
  }
  
  @media (max-width: 480px) {
    .logo {
      max-width: 150px;
    }
    
    nav ul li {
      margin: 10px 0;
    }
  }
  