/* ========== BASIS ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: white;
  scroll-behavior: smooth;
}

/* ========== NAVIGATION ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-size: 1rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffcc66;
}

/* ========== HEADER ========== */
header {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url('bck.jpg') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 22px;
}

header .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.logo {
  width: 200px;
  max-width: 50vw;
  z-index: 2;
  animation: fadeIn 1.5s ease forwards;
}

header h1 {
  z-index: 2;
  font-size: 2rem;
  margin-top: 1.5rem;
  animation: fadeInUp 2s ease forwards;
}

header p {
  z-index: 2;
  max-width: 600px;
  margin: 1rem auto 2rem;
  line-height: 1.5;
  font-size: 1.1rem;
  animation: fadeInUp 2.5s ease forwards;
}

.menu-link {
  z-index: 2;
  display: inline-block;
  color: white;
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  animation: fadeInUp 3s ease forwards;
}

.menu-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(3px);
}

/* ========== TELEFONBUTTON ========== */
.phone-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background 0.3s, transform 0.3s;
}

.phone-button:hover {
  background-color: #218838;
  transform: scale(1.05);
}

/* ========== ANIMATIONEN ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  nav {
    justify-content: center;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 1rem;
    margin: 1rem 0 2rem;
  }

  .menu-link {
    font-size: 1rem;
    padding: 10px 25px;
  }

  .logo {
    width: 140px;
  }

  .phone-button {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
}
