/* ---------------------- */
/* Reset & Basics         */
/* ---------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Arial", sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------------------- */
/* Header                 */
/* ---------------------- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  max-width: 1300px;
  margin: auto;
}

/* Logo */
.logo {
  flex: 1;
}

.logo-img {
  width: 170px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* ---------------------- */
/* Navigation             */
/* ---------------------- */
.nav {
  flex: 2;
  display: flex;
  justify-content: flex-end;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

.nav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

/* Effekt beim Hover */
.nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #d4a017;
  transition: width 0.3s ease;
}

.nav ul li a:hover {
  color: #d4a017;
}

.nav ul li a:hover::after {
  width: 100%;
}

/* Aktiver Link */
.nav ul li a.active {
  color: #d4a017;
}

.nav ul li a.active::after {
  width: 100%;
}

/* ---------------------- */
/* Burger Menü (mobil)    */
/* ---------------------- */
.menu-toggle {
  font-size: 2rem;
  color: #222;
  cursor: pointer;
  display: none;
  transition: color 0.3s;
}

.menu-toggle:hover {
  color: #d4a017;
}

/* ---------------------- */
/* Hero Section           */
/* ---------------------- */
.hero {
  height: 100vh;
  background: url("030D020313ERICH.JPG") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: 90px;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-text {
  position: relative;
  color: #fff;
  z-index: 1;
  max-width: 700px;
  padding: 20px;
  animation: fadeUp 1.2s ease forwards;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: #ffd60a;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f1f1f1;
}

/* ---------------------- */
/* Button                 */
/* ---------------------- */
.btn {
  display: inline-block;
  background: #ffd60a;
  color: #000;
  font-weight: 600;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #ffc300;
  transform: scale(1.07);
}

/* ---------------------- */
/* Footer                 */
/* ---------------------- */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #111;
  color: #bbb;
  font-size: 0.9rem;
}

/* ---------------------- */
/* Animationen            */
/* ---------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------- */
/* Responsive Design      */
/* ---------------------- */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 80px;
    right: 20px;
    background: #1a1a1a;
    border-radius: 10px;
    display: none;
    width: 220px;
    flex-direction: column;
    animation: fadeUp 0.3s ease forwards;
  }

  .nav ul {
    flex-direction: column;
    padding: 10px 0;
    gap: 0;
  }

  .nav ul li a {
    display: block;
    color: #fff;
    padding: 15px 20px;
  }

  .nav ul li a:hover {
    background: #d4a017;
  }

  .nav ul li a::after {
    display: none;
  }
}
