/* style.css */

:root {
  --primary-color: #0055a5;
  --accent-color: #e63946;
  --bg-color: #ffffff;
  --bg-light: #f7f9fc;
  --text-color: #1d1d1f;
  --font-main: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  scroll-behavior: smooth; 
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto; /* Hauptbereich nimmt den verbleibenden Platz ein */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}



/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.logo span {
  font-weight: bold;
  font-size: 1.5rem;
}

/* Menüleiste */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0.75rem;
  display: block;
}

.nav-links a:hover {
  color: red;
}

/* Dropdown-Menü */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-width: 180px;
  padding: 0.5rem 0;
  z-index: 1100;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  padding: 0.5rem 1rem;
  color: #333;
  transition: color 0.3s;
}

.dropdown-content li a:hover {
  color: red;
}

/* Hover (Desktop) */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Toggle-Button */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
      width: 35%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-bottom-left-radius: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    display: none;
    background: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .dropdown.show .dropdown-content {
    display: block;
  }
}

/* Cursor für Dropdown */
.dropdown-toggle {
  cursor: pointer;
}



/* Allgemeine Navigation */
.navbar {
  background-color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo img {
  height: 50px;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    width: 220px;
    display: none;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-links li a {
    color: #1d1d1f;
    font-weight: 500;
    text-decoration: none;
  }

  .nav-links li a:hover {
    color: #e63946;
  }
}
/* Burger-Menü nur auf kleinen Bildschirmen anzeigen */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}



