html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #fff;
  color: #000;
  scrollbar-width: thin;
  scrollbar-color: #0057b8 #e0e0e0;
}
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-track {
  background: #e0e0e0;
}
body::-webkit-scrollbar-thumb {
  background-color: #0057b8;
  border-radius: 4px;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0057b8;
  color: white;
  padding: 1em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1em;
}
.menu-toggle {
  display: none;
  font-size: 1.5em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
.menu {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 1em;
  margin: 0;
  padding: 0;
}
.menu li {
  position: relative;
}
.menu a, .kontakt-button {
  color: white;
  text-decoration: none;
  padding-right: 1em;
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
.menu a:hover, .kontakt-button:hover {
  background-color: #003f7f;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0073e6;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 150px;
}
.submenu li a {
  padding: 0.75em 1em;
  color: white;
}
.submenu li a:hover {
  background-color: #0050a0;
}
.has-submenu:hover .submenu {
  display: block;
}
.arrow {
  font-size: 0.8em;
  margin-left: 0.3em;
}
#scrollTopBtn {
  position: fixed;
  bottom: 60px;
  right: 20px;
  background-color: #0057b8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5em;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 3000;
}
#scrollTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
}
.footer {
  background-color: #0057b8;
  color: white;
  padding: 1em;
  text-align: center;
}
.footer-menu {
  list-style: none;
  display: flex;
  justify-content: space-around;
  gap: 2em;
  margin: 0;
  padding: 0;
}
.footer-menu a {
  color: white;
  text-decoration: none;
}
.footer-menu a:hover {
  color: #cce6ff;
}
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal.show {
  display: flex;
}
.modal-content {
  background: white;
  padding: 2em;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  position: relative;
}
.modal-content input,
.modal-content textarea {
  width: 100%;
  margin-bottom: 1em;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.modal-content button {
  background-color: #0057b8;
  color: white;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  cursor: pointer;
}
.modal-content button:hover {
  background-color: #003f7f;
}
.close {
  position: absolute;
  top: 1em;
  right: 1em;
  color: #121212;
  font-size: 34px;
  cursor: pointer;
}
body.dark {
  background-color: #121212;
  color: #f0f0f0;
}
body.dark .navbar,
body.dark .footer {
  background-color: #1e1e1e;
}
body.dark .menu a,
body.dark .footer-menu a,
body.dark .kontakt-button {
  color: #f0f0f0;
}
body.dark .menu a:hover,
body.dark .footer-menu a:hover,
body.dark .kontakt-button:hover {
  color: #80c0ff;
}
body.dark #scrollTopBtn {
  background-color: #333;
}
body.dark h2 {
  color:#121212;
}
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    display: none;
    background-color: #0057b8;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
  }
  .menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .submenu {
    position: static;
  }
  .has-submenu:hover .submenu {
    display: none;
  }
  .has-submenu.active .submenu {
    display: block;
  }
  .menu li {
    text-align: right;
  }
  .content {
    margin-top:180px; 
  }
}
  .spacer {
      height: 2000px;
      background: linear-gradient(to bottom, #f0f0f0, #ccc);
  }
  .content {
  width:80%;
  margin: 0 auto;  
}

.aktiv {
  color:gray;
}
.aktiv:hover {
  background-color: none;
}