html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    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 !important;
  font-size: 1.2rem;
  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: 150px;
  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: 6em;
  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%;
  padding-top: 26%;
}

.nav-ham a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 1.55rem;
  margin-top: 0;
  transition: color 0.2s ease-in-out;
  letter-spacing: 1px;
  font-weight: 100;
}

.nav-leistungen-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-leistungen-open img {
  width: 8px;
  margin-top: 4px;
}

.nav-ham {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 110px;
}

.nav-ham a:hover {
  color: white;
}

.nav-ham a:hover:before {
  height: 100%;
}

.nav-ham-mainmenu {
  position: relative;
  z-index: 1;
  transition:
    opacity 0.25s ease-in-out,
    transform 0.25s ease-in-out;
}

.nav-ham-leistungen-panel {
  position: absolute;
  inset: 0;
  padding-top: calc(26% + 110px);
  background-color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.25s ease-in-out;
}

.nav.show-leistungen .nav-ham-mainmenu {
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
}

.nav.show-leistungen .nav-ham-leistungen-panel {
  transform: translateX(0);
}

.nav-ham-back {
  position: absolute;
  top: 24px;
  left: 10%;
  padding: 0.35em 0.9em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 1.55rem;
  letter-spacing: 0.5px;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}

.nav-ham-back:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.logo-ham {
  margin-left: 200px;
  margin-top: 35px;
  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 {
    margin-left: 15px;
    width: 140px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1400px) {
  .navbar {
    display: none;
  }

  .hamburger-menü {
    display: block;
  }

  .logo-ham {
    margin-left: 50px;
    width: 140px;
  }
}

main {
  padding: 10% 10% 5% 10%;
}

h1 {
  color: #03396c;
  font-size: 2.4rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  font-weight: 400;
}

h2 {
  color: #03396c;
  font-size: 2rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  font-weight: 400;
}

h3 {
  color: #03396c;
  font-size: 1.7rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  font-weight: 400;
}

h4 {
  color: #03396c;
  font-size: 1.5rem;
  font-weight: 400;
}

article p {
  font-weight: 100;
  font-size: 1.3rem;
}

article ul li {
  font-weight: 100;
  font-size: 1.3rem;
}

/* Desktop */
.iframe-fullwidth {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.iframe-fullwidth iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-mobile {
  display: none;
}

.video-poster {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.video-poster img {
  width: 100%;
  display: block;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-icon::before {
  content: "";
  width: 72px;
  height: 72px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
}

.play-icon::after {
  content: "";
  position: absolute;
  margin-left: 4px;
  width: 0;
  height: 0;
  border-left: 18px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

footer {
  background-color: #e0f2fe;
  padding: 40px;
}

.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) {
  main {
    padding: 7rem 1rem 4rem 1rem;
  }
  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .iframe-fullwidth {
    display: none;
  }

  .video-mobile {
    display: block;
  }

  .footer-container {
    flex-direction: column;
    gap: 10px;
  }

  .logo-footer {
    display: none;
  }

  .rechtliches {
    margin-top: 7%;
  }

  hr {
    width: 100%;
  }
}

@media screen and (min-width: 1600px) {
  .space-two {
    margin-left: 0px;
  }

  .offen {
    margin-right: 30px;
  }

  .öffnungszeiten-container {
    justify-content: flex-start;
  }
}

.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: 40px 1rem 1rem 1rem;
  }
}
