html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navbar-menu li {
  margin: 0 20px;
  position: relative;
}

.navbar-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 100;
  font-size: 1rem;
  position: relative;
  font-weight: 100;
  cursor: pointer;
}

.navbar-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.navbar-menu li a:hover::after {
  width: 100%;
}

.navbar ul li:last-child {
  margin-right: 50px;
}

.navbar-logo img {
  margin-left: 50px;
  width: 120px;
  cursor: pointer;
}

.navbar.white {
  background-color: rgba(0, 0, 0, 0.7);
}

.navbar.white .navbar-menu li a {
  color: white;
}

.navbar.white .navbar-menu li a::after {
  background-color: white;
}

.navbar.shadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.flag {
  width: 40px;
}

#toggle {
  display: none;
}

#toggle:checked + .hamburger div {
  background-color: white;
}

.hamburger {
  position: absolute;
  top: 5em;
  right: 10%;
  margin-left: -2em;
  margin-top: -65px;
  width: 2em;
  height: 45px;
  z-index: 5;
  margin-right: -10px;
}

.hamburger div {
  position: sticky;
  width: 2.7em;
  height: 8px;
  border-radius: 3px;
  background-color: black;
  margin-top: 7px;
  transition: all 0.3s ease-in-out;
}

.nav {
  position: fixed;
  z-index: 3;
  width: 100%;
  height: 100%;
  background-color: #0f172a;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  transform: scale(0);
  text-align: center;
}

.nav-wrapper {
  position: relative;
  overflow: hidden;
  overflow-y: auto;
  height: 100%;
  margin-top: 40%;
}

.nav-ham a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 1.6rem;
  display: inline-block;
  margin-top: 1.25em;
  transition: color 0.2s ease-in-out;
  letter-spacing: 1px;
  font-weight: 100;
}

.nav-ham a:before {
  content: "";
  height: 0;
  position: absolute;
  width: 0.25em;
  background-color: white;
  left: -0.5em;
  transition: all 0.2s ease-in-out;
}

.nav-ham a:hover {
  color: white;
}

.nav-ham a:hover:before {
  height: 100%;
}

.logo-ham {
  margin-left: 200px;
  margin-top: 15px;
  width: 200px;
  cursor: pointer;
  z-index: 3;
  position: absolute;
}

.globe-ham {
  width: 30px;
  margin-bottom: -6px;
  margin-top: 20px;
}

#toggle:checked + .hamburger .top-bun {
  transform: rotate(-45deg);
  margin-top: 25px;
}

#toggle:checked + .hamburger .bottom-bun {
  opacity: 0;
  transform: rotate(45deg);
}

#toggle:checked + .hamburger .meat {
  transform: rotate(45deg);
  margin-top: -7px;
}

#toggle:checked + .hamburger + .nav {
  top: 0;
  transform: scale(1);
}

.hamburger-menü {
  display: none;
}

@media screen and (max-width: 768px) {
  .navbar {
    display: none;
  }

  .hamburger-menü {
    display: block;
  }

  .logo-ham {
    top: 0;
    margin-left: 15px;
    width: 130px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1400px) {
  .navbar {
    display: none;
  }

  .hamburger-menü {
    display: block;
  }

  .logo-ham {
    margin-left: 50px;
    width: 100px;
  }
}

.wrapper {
  margin-left: 10%;
  margin-right: 10%;
}

h1 {
  border-bottom: 1px solid black;
  margin-bottom: 4%;
  margin-top: 8%;
  color: #03396c;
}

h2 {
  color: #03396c;
}

h3 {
  color: #03396c;
}

h4 {
  color: #03396c;
}

.wrapper p {
  font-weight: 100;
  color: #425466;
}

.wrapper li {
  list-style: none;
  color: #425466;
}

@media screen and (max-width: 768px) {
  h1 {
    margin-top: 30%;
  }
}

footer {
  background-color: #e0f2fe;
  padding: 40px;
  margin-top: 5%;
}

.footer-container {
  display: flex;
  justify-content: center;
  margin-left: 1%;
  margin-right: 1%;
  gap: 60px;
}

.logo-footer img {
  width: 200px;
  margin-top: 15px;
}

footer h5 {
  font-size: 0.9rem;
  font-weight: 500;
}

footer a {
  text-decoration: none;
  color: black;
  font-weight: 100;
  font-size: 0.8rem;
  line-height: 20px;
}

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

footer p {
  color: black;
  font-weight: 100;
  font-size: 0.8rem;
  margin: 0px;
  padding: 0px;
}

.Elisenhof {
  text-decoration: underline;
}

.rechtliches {
  text-align: center;
  margin-top: 5%;
}

.rechtliches span {
  margin: 10px;
}

hr {
  width: 80%;
}

@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 10px;
  }

  h5 {
    margin-bottom: 15px;
  }

  .logo-footer {
    display: none;
  }

  .rechtliches {
    margin-top: 7%;
  }

  hr {
    width: 100%;
  }
}

.vietec {
  position: absolute;
  width: auto;
  right: 20px;
}

.vietec p {
  font-weight: 100;
  font-size: 0.7rem;
}

.vietec a {
  color: #14b8a6;
  font-size: 0.7rem;
}

@media screen and (max-width: 767px) {
  .vietec {
    margin-top: 20px;
    position: static;
    width: 100%;
    right: auto;
    text-align: center;
  }

  footer {
    padding-bottom: 20px;
  }
}
