html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}

#notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

#notice-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  border-radius: 3px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

#notice-banner h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #03396c;
}

#notice-banner p {
  font-size: 1.2rem;
  color: #1e201e;
}

#notice-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  transition: background-color 0.5s ease;
}

.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: 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: 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;
}

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

.hamburger div {
  position: sticky;
  width: 3em;
  height: 7px;
  border-radius: 3px;
  background-color: white;
  margin-top: 8px;
  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: 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;
  }
}

.startbild {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(60%);
}

.intro-div {
  position: absolute;
  top: 20%;
  left: 5%;
  width: 90%;
  margin-top: 1%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.intro-div h1 {
  color: white;
  font-weight: 400;
  font-size: 3.8rem;
  letter-spacing: 2px;
}

.intro-div p {
  color: white;
  font-weight: 100;
  font-size: 1.4rem;
  margin-bottom: 3%;
}

.contact-btn {
  padding: 12px 20px;
  min-width: 150px;
  font-size: 1.1rem;
  font-weight: 100;
  margin: 0 auto;
  border: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  cursor: pointer;
}

.intro-div h1,
.intro-div p,
.contact-btn {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media screen and (max-width: 768px) {
  .intro-div h1 {
    font-size: 2.8rem;
  }

  .intro-div p {
    font-size: 1.1rem;
    margin-top: -20px;
  }

  .contact-btn {
    margin-top: 50px;
  }
}

.einleitung {
  margin-left: 10%;
  margin-top: 3%;
}

.einleitung h2 {
  color: #03396c;
  font-size: 2rem;
}

.clinic-icon {
  width: 20px;
}

.info-container {
  display: flex;
  justify-content: center;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 3%;
}

.left {
  width: 100%;
  margin-right: 20px;
}

.left p {
  color: #1e201e;
  font-weight: 100;
  font-size: 1.3rem;
}

.right {
  width: 100%;
  margin-left: 20px;
}

.right p {
  color: #1e201e;
  font-weight: 100;
  font-size: 1.3rem;
}

.termin-btn {
  background-color: #03396c;
  padding: 12px 18px;
  color: white;
  border: none;
  border-radius: 3px;
  margin-left: 10%;
  margin-top: 2%;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: 1.1rem;
}

.einleitung h2,
.left,
.right,
.termin-btn {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

  .einleitung {
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 3%;
  }

  .einleitung h2 {
    text-align: center;
  }

  .info-container {
    flex-direction: column;
  }

  .right {
    margin-left: 0;
  }

  .termin-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    margin-bottom: 10%;
  }
}

main {
  margin-top: 4%;
  background-color: #03396c;
  width: 100%;
}

.gromer-container {
  display: flex;
  justify-content: center;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 5%;
  padding-bottom: 50px;
}

.gromer-img {
  width: 60%;
  margin-top: 10%;
}

.gromer-img img {
  width: 318px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.gromer-text {
  width: 100%;
  margin-top: 10%;
  color: white;
}

.gromer-text h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
}

.gromer-text p {
  font-weight: 100;
  margin-top: 10px;
}

.gromer-text h4 {
  font-weight: 400;
  font-size: 1.125rem;
  margin-top: 4%;
}

.gromer-text ul {
  margin-left: 15px;
  padding: 0;
  list-style-type: circle;
}

.gromer-text ul li {
  font-weight: 100;
  font-size: 1.125rem;
}

.doc-icon {
  width: 20px;
  position: absolute;
  margin-top: 3px;
  margin-left: 10px;
}

.gromer-text-mobile {
  display: none;
}

.gromer-container h3 {
  font-size: 2rem;
}

.gromer-container p {
  font-size: 1.3rem;
}

.gromer-container h4 {
  font-size: 1.5rem;
}

.gromer-container ul li {
  font-size: 1.3rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(-20px);
  visibility: hidden;
  transition: opacity 0.5s, transform 0.5s;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media screen and (max-width: 768px) {
  .gromer-text h3,
  .gromer-text p {
    display: none;
  }

  .gromer-container {
    padding-top: 50px;
  }

  .gromer-text-mobile {
    display: block;
    color: white;
  }

  .gromer-text-mobile h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
  }

  .gromer-text-mobile p {
    font-weight: 100;
    margin-top: 10px;
  }

  .gromer-text ul li {
    line-height: 30px;
  }

  .gromer-img {
    display: grid;
    place-items: center;
    width: 100%;
  }

  .gromer-img img {
    width: 280px;
  }
}

.btn {
  background-color: white;
  padding: 12px 18px;
  min-width: 140px;
  border: none;
  border-radius: 4px;
  margin-right: 1rem;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  margin-top: 2%;
  font-size: 1.1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 100 !important;
}

@media screen and (max-width: 768px) {
  .gromer-container {
    flex-direction: column;
    margin-left: 5%;
    margin-right: 5%;
  }

  .info-container {
    margin-left: 5%;
    margin-right: 5%;
  }

  .btn {
    width: 140px;
    margin-right: 1rem;
  }
}

.leistungen-container {
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 5%;
}

.leistungen-container h2 {
  color: #03396c;
  font-size: 2rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.leistungen-container p {
  color: #1e201e;
  font-weight: 100;
  font-size: 1.3rem;
}

.leistungen-list {
  display: flex;
  justify-content: center;
  margin-top: 5%;
}

.leistungen-list img {
  width: 17px;
  position: absolute;
  margin-left: 20px;
  margin-top: 9px;
}

.leistungen-list ul li {
  font-weight: 100;
  font-size: 1.3rem;
  color: #1e201e;
  line-height: 30px;
  list-style: circle;
}

.leistungen-list ul li a {
  color: #1e201e;
  text-decoration: none;
}

.leistungen-list ul li a:hover {
  text-decoration: underline;
}

.left-leistungen {
  width: 100%;
}

.right-leistungen {
  width: 100%;
}

.leistungen-container h2,
.leistungen-container p {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.leistungen-list ul li {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media screen and (max-width: 768px) {
  .leistungen-list {
    flex-direction: column;
  }

  .leistungen-container {
    margin-left: 5%;
    margin-right: 5%;
  }

  .leistungen-container h2 {
    margin-top: 20%;
  }

  .left-leistungen {
    margin: 0;
    padding: 0;
  }

  .right-leistungen {
    margin-top: -30px;
    padding: 0;
  }

  .leistungen-list ul li {
    line-height: 35px;
  }
}

.location-section {
  background-color: #f6f9fc;
  padding-top: 50px;
  padding-bottom: 70px;
}

.location-section h2 {
  color: #03396c;
  display: block;
  font-size: 2rem;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  margin-left: 10%;
}

.location-section p {
  color: #1e201e;
  font-weight: 100;
  font-size: 1.3rem;
  margin-left: 10%;
  margin-right: 10%;
  margin-bottom: 4%;
  margin-top: 2%;
}

.locations-container {
  display: flex;
  justify-content: center;
  flex-direction: row;
  margin-left: 10%;
  margin-right: 10%;
  gap: 50px;
}

.munich,
.eching {
  width: 100%;
  position: relative;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding-bottom: 30px;
  background-color: white;
}

.image,
.image-two {
  width: 100%;
  object-fit: cover;
  filter: brightness(60%);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 400px;
}

.munich h3,
.eching h3 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 2;
  font-size: 2rem;
  font-weight: 400;
}

.contact-info {
  padding: 2rem;
}

.contact-info h4 {
  color: #03396c;
  font-size: 1.5rem;
}

.contact-info p {
  font-weight: 100;
  font-size: 1.1rem;
  margin: 5px;
}

.contact-info a {
  color: #425466;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info button {
  background-color: #03396c;
  height: 40px;
  width: 180px;
  color: white;
  border: none;
  border-radius: 3px;
  margin-right: 1rem;
  margin-top: 2%;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.contact-info .space {
  margin-left: 25px;
}

.contact-info .spacing {
  margin-left: 10px;
}

.phone-icon {
  width: 16px;
}

.envelope-icon {
  width: 16px;
}

.fax-icon {
  width: 16px;
}

.clock-icon {
  width: 16px;
}

.location-icon {
  width: 14px;
}

.map-container {
  position: relative;
}

.öffnungszeiten-container {
  display: flex;
  justify-content: center;
}

.space-two {
  margin-left: 21px;
}

iframe {
  margin-top: 2rem;
  display: block;
  width: calc(100% - 4rem);
  height: 350px;
  border-radius: 10px;
  border: none;
  padding: 0 2rem;
}

.map-overlay {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  height: 300px;
  border-radius: 10px;
}

.map-overlay p {
  margin-bottom: 20px;
}

.map-overlay a {
  text-decoration: underline;
}

.accept-btn {
  background-color: #03396c;
  padding: 10px 20px;
  border: none;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  visibility: hidden;
  transition: opacity 0.7s, transform 0.7s;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.slide-left {
  transform: translateX(-100px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s, opacity 0.7s;
}

.slide-right {
  transform: translateX(100px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s, opacity 0.7s;
}

.slide-left.active,
.slide-right.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 768px) {
  #notice-banner {
    width: 80%;
  }
  .locations-container {
    flex-direction: column;
    margin-right: 5%;
    margin-left: 5%;
  }

  .location-section {
    padding: 0px;
    padding-top: 40px;
    padding-bottom: 70px;
  }

  .munich,
  .eching {
    width: 100%;
  }

  .munich h3,
  .eching h3 {
    top: 7%;
    font-size: 1.3rem;
  }

  .contact-btn-layout {
    display: flex;
    justify-content: center;
  }

  .location-section h2 {
    margin-left: 5%;
  }

  .location-section p {
    margin-left: 5%;
  }

  .contact-info {
    padding: 0.5rem;
  }

  .contact-info button {
    width: 140px;
    margin-top: 7%;
    margin-bottom: 5%;
    margin-left: 3%;
  }

  .öffnungszeiten-container {
    flex-direction: column;
  }

  .space-two {
    margin: 0;
  }

  .geschlossen {
    margin-left: 20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .locations-container {
    flex-direction: row;
    margin-right: 5%;
    margin-left: 5%;
  }

  .munich {
    width: 55%;
  }

  .eching {
    width: 55%;
  }

  .munich h3,
  .eching h3 {
    font-size: 1.4rem;
    top: 7%;
  }

  .contact-info button {
    width: 130px;
    margin-top: 7%;
    margin-bottom: 5%;
    margin-left: 3%;
  }

  .gromer-container {
    margin-right: 5%;
  }

  .gromer-img img {
    width: 300px;
    margin-right: 50px;
  }

  .btn {
    width: 130px;
    margin-right: 1.5rem;
  }
}

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) {
  .footer-container {
    flex-direction: column;
    gap: 10px;
  }

  h5 {
    margin-bottom: 15px;
  }

  .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-bottom: 20px;
  }
}

#imageContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.imageWrapper {
  position: relative;
  margin-top: 10%;
  max-width: 30%;
  max-height: 30%;
}

.imageWrapper img {
  width: 100%;
  height: auto;
}

#closeBtn {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 30px;
  text-align: center;
  cursor: pointer;
  color: white;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  padding: 0;
  transform: translate(50%, -50%);
}

@media (max-width: 767px) {
  .imageWrapper {
    margin-top: 35%;
    max-width: 90%;
    max-height: 90%;
  }

  #closeBtn {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .imageWrapper {
    margin-top: 25%;
    max-width: 70%;
    max-height: 70%;
  }

  #closeBtn {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 40px;
  }
}

@media screen and (min-width: 1700px) {
  .imageWrapper {
    margin-top: 5%;
  }
}
