/* Navbar Layout */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #333;
  color: white;
  height: 70px;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  font-size: 140%;
  color: lightgray;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #af783c;
}

/* Burger */
.burger { 
  display: none; /* Desktop aus */
  width: 36px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;
  position: relative; z-index: 4000; /* über dem Offcanvas */
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: #fff; border-radius: 2px;
  position: absolute; left: 0;
  transition: transform .25s ease, opacity .2s ease;
}
.burger span:nth-child(1){ top: 3px; }
.burger span:nth-child(2){ top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3){ bottom: 2px; }

/* X-Animation */
.burger.active span:nth-child(1){ transform: translateY(11px) rotate(45deg); }
.burger.active span:nth-child(2){ opacity: 0; }
.burger.active span:nth-child(3){ transform: translateY(-11px) rotate(-45deg); }

/* Mobile Offcanvas */
@media (max-width: 900px) {
  .burger { display: inline-block; }

  .nav-links {
    position: fixed;
    z-index: 3500;
    top: 70px; right: 0; left: 0; bottom: 0;
    background: rgba(51,51,51,0.98);
    display: flex; flex-direction: column; align-items: center; gap: 28px;
    padding: 28px 16px 40px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: inline-block; padding: 10px 12px; font-size: 1.1rem; }
}

/* Body lock wenn Menü offen */
.no-scroll { overflow: hidden; }
