body {
    margin: 0;
    padding: 0;
    background-color: #11111B; 
    font-family: 'Inter', sans-serif;
    color: #E0E0E0;
  }
  
  .navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    display: flex;
    align-items: flex-end; 
    justify-content: center; 
  }
  

  .navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FFC331;
    z-index: 1; 
  }
  
  /* ========== Checkbox ausblenden ========== */
  #check {
    display: none; 
  }
  

  .navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2; 
  }
  
  
  .navbar a {
    text-decoration: none;
    color: #E0E0E0;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
  }
  
  .navbar a:hover {
    background-color: #FFC331;
    color: #11111B;
  }
  
  .navbar a.active {
    background-color: #FFC331;
    color: #11111B;
    font-weight: 700;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: -2px; 
  }
  
 
  .menu-icon {
    display: none; 
    cursor: pointer;
    position: relative;
    z-index: 3; 
    width: 70px;  
    height: auto;
  }
  

  .menu-icon span {
    background: #fff;
    border-radius: 10px;
    height: 7px;      
    margin: 7px 0;   
    transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  }
  

  @media (max-width: 500px) {
    .navbar {
      justify-content: flex-start; 
      align-items: center;
      font-size: 3rem;
    }
  
 
    .navbar ul {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: rgba(17, 17, 27, 0.98);
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 100;
    }
  
    .menu-icon {
      display: flex;
      margin-left: auto; 
        flex-direction: column;
        justify-content: center;
        z-index: 1000 ;
      
    }
  
    #check:checked ~ ul {
      display: flex;
    }
  
    .menu-icon span:nth-of-type(1) {
      width: 50%;
    }
    .menu-icon span:nth-of-type(2) {
      width: 100%;
    }
    .menu-icon span:nth-of-type(3) {
      width: 75%;
    }

    #check:checked ~ .menu-icon {
      position: fixed;
      top: 10px;
      right: 10px;
    }
  
    input[type="checkbox"]:checked ~ .menu-icon span:nth-of-type(1) {
      transform-origin: bottom;
      transform: rotateZ(45deg) translate(8px, 0px);
    }
  
    input[type="checkbox"]:checked ~ .menu-icon span:nth-of-type(2) {
      transform-origin: top;
      transform: rotateZ(-45deg);
    }
  
    input[type="checkbox"]:checked ~ .menu-icon span:nth-of-type(3) {
      transform-origin: bottom;
      width: 50%;
      transform: translate(30px, -11px) rotateZ(45deg);
    }
  }
  
  
  