/* =========================================================
   ALLGEMEINE STYLES (Gilt fÃƒÂ¼r alle Seiten)
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
  background-color: #333;
  color: #fff;
  margin-bottom: 50px;
}

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

.logo-img {
  height: 40px;
  width: auto;
}

/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #333;
  color: white;
  position: relative;
  z-index: 1000;
}

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

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #A0A0A0;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}

.dropdown-menu li a,
.dropdown-menu li .dropdown-text {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: white;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-menu li a:hover,
.dropdown-menu li .dropdown-text:hover {
  background-color: #A0A0A0;
  color: #ffcc00;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
}

/* =========================================================
   FOOTER
========================================================= */
#footer {
    margin-top: auto;
    flex-shrink: 0;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-center {
  text-align: center;
}

.footer-links {
  margin-top: 1px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 3px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Social Media Icons */
.footer-icons {
  margin-top: 5px;
}

.footer-icons a {
  color: #fff; /* <-- macht die Icons weiÃƒÅ¸ */
  font-size: 1.5em;
  margin: 0 5px;
  text-decoration: none; /* <-- entfernt Unterstrich */
  transition: color 0.3s ease;
}

.footer-icons a:hover {
  color: #ccc;
}

/* =========================================================
   MOBILE: WEISSE RÄNDER ENTFERNEN
========================================================= */

@media (max-width: 768px) {

    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
    }

    #header,
    #footer {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    header,
    footer,
    .navbar {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .container {
        padding: 10px;
    }

  /* NAVIGATION */
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #333;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
  }

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

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .dropdown-menu {
    position: static;
    background-color: #444;
  }
}