@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;200;300;400;500;600;700&display=swap');


* {
  padding: 0;
  margin: 0;
}

/*  --- HEADER ---  */

.header {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    z-index: 0;
    width: 100%;
    aspect-ratio: 1920 / 614;
}

@media screen and (max-width: 950px) {
  .header {
      position: relative;
      grid-column: 1;
      grid-row: 1;
      z-index: 0;
      width: 100%;
      aspect-ratio: 1920 / 1080;
    }
}

.nav {
    position: relative;
    width: 100%;
    background-image: linear-gradient(rgba(32, 32, 32, 0.81), transparent);
    aspect-ratio: 1920 / 75;
    z-index: 1;
}

@media screen and (max-width: 1350px) {
  .nav {
      height: 50px;
  }
}

@media screen and (max-width: 950px) {
}

.logo {
    position: absolute;
    height: 70%;
    width: auto;
    top: 15%;
    left: 4%;
    z-index: 2;
}

@media screen and (max-width: 950px) {
    .logo {
        position: absolute;
        height: 70%;
        width: auto;
        top: 15%;
        left: 4%;
        z-index: 2;
    }
}

.nav ul {
    position: absolute;
    right: 0px;
    width: 100%;
    margin: 0;
    padding: 1.2% 15px 1.2% 0px;
    list-style-type: none;
    text-align: center;
    z-index: 2;
    display: inline;
    overflow: hidden;
}

@media screen and (max-width: 950px) {
    .nav ul {
    visibility: hidden;
}
}

.nav ul li {
    position: relative;
    float: right;
    display: inline;
    color: black;
    z-index: 2;
    overflow: hidden;
}

@media screen and (max-width: 950px) {
}

.nav ul li a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
    padding: 0 35px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14pt;
    z-index: 2;
    overflow: hidden;
}

@media screen and (max-width: 950px) {
}

.nav ul li a:hover {
    color: white;
    text-decoration: underline;
    overflow: hidden;
}

@media screen and (max-width: 950px) {
}

.menu {
    position: absolute;
    top: 5px;
    right: 25px;
    display: none;
    cursor: pointer;
    z-index: 5;
}

@media screen and (max-width: 950px) {
  .menu {
    display: inline-block;
  }
}

.menu1, .menu2, .menu3 {
  width: 35px;
  height: 5px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 3px;
}

@media screen and (max-width: 950px) {
}

.change .menu1 {
  -webkit-transform: rotate(45deg) translate(-35px, 35px);
  transform: rotate(-45deg) translate(-9px, 6px);
  background-color: black;
  transition: background-color 1s ease-out;
}


.change .menu2 {opacity: 0;}



.change .menu3 {
  -webkit-transform: rotate(-45deg) translate(35px, -35px);
  transform: rotate(45deg) translate(-8px, -8px);
  background-color: black;
  transition: background-color 1s ease-out;
}

@media screen and (max-width: 950px) {
}


.menubox {
  position: fixed;
  top: 0px;
  height:100%;
  width: 320px;
  right: -320px;
  background-color: white;
  z-index: 6;
  transition: 0.4s;
}

@media screen and (max-width: 950px) {
  .menubox {
    visibility: visible;
    z-index: 3;
  }
}

.menuback {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.15;
  z-index: 3;
  display: none;
  transition: 0.4s;
}

@media screen and (max-width: 950px) {
}

.menumarker {
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(9%);
  background-color: #ededed;
  z-index: 1;
}

.menumarkerleft {
  position: absolute;
  left: 0;
  width: 2%;
  height: 100%;
  background-color: #005999;
  z-index: 1000;


}


.menutxt {
  position: absolute;
  top: 8px;
  left: 35px;
  text-decoration: none;
  color: #005999;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 25px;
  font-weight: 300;
}


.homemobile {
  position: absolute;
  top: 12%;
  left: 35px;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12pt;
  color: black;
  z-index: 2;
}

.homemobile:hover {
    color: black;
    text-decoration: underline;
    overflow: hidden;
}

.behandlungsspektrummobile {
  position: absolute;
  top: 21%;
  left: 35px;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12pt;
  color: black;
  z-index: 2;
}

.behandlungsspektrummobile:hover {
    color: black;
    text-decoration: underline;
    overflow: hidden;
}

.anfahrtmobile {
  position: absolute;
  top: 30%;
  left: 35px;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12pt;
  color: black;
  z-index: 2;
}

.anfahrtmobile:hover {
    color: black;
    text-decoration: underline;
    overflow: hidden;
}
.impressummobile {
  position: absolute;
  top: 39%;
  left: 35px;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12pt;
  color: black;
  z-index: 2;
}

.impressummobile:hover {
    color: black;
    text-decoration: underline;
    overflow: hidden;
}
.datenschutzmobile {
  position: absolute;
  top: 48%;
  left: 35px;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12pt;
  color: black;
  z-index: 2;
}

.datenschutzmobile:hover {
    color: black;
    text-decoration: underline;
    overflow: hidden;
}


/*  --- FOOTER ---  */

.footer {
    grid-row: 3;
    grid-column: 1;
    position: relative;
    left: 0px;
    height: min-content;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 200px 3px 300px 50px;
    margin: 0;
    padding: 0;
    background-color: #3c4db0;
    z-index: 1;
}

@media screen and (max-width: 950px) {
    .footer {
      height: auto;
      display: grid;
      overflow: hidden;
      grid-template-columns: 1fr;
      grid-template-rows: 150px 150px 200px 3px 655px;
      margin: 0;
      padding: 0;
      background-color: #3c4db0;
    }
}

.call {
  grid-column: 2;
  grid-row: 1;
  width: 1fr;
  height: 1fr;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 950px) {
    .call {
  grid-column: 1;
  grid-row: 1;
  width: 1fr;
  height: 1fr;
  position: relative;
  z-index: 22;
}
}

.callico {
  position: absolute;
  top: 50px;
  left: calc(50% - 20px);
  height: 45px;
  z-index: 2;
}

@media screen and (max-width: 950px) {
}

.callico:hover {
  position: absolute;
  top: 45px;
  left: calc(50% - 25px);
  height: 55px;
  z-index: 2;
}

@media screen and (max-width: 950px) {
}

.calltxt {
  position: absolute;
  top: 113px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-family: sans-serif;
  font-size: 11pt;
  text-decoration: none;
  z-index: 2;
}

@media screen and (max-width: 950px) {
}

.location {
  grid-column: 3;
  grid-row: 1;
  width: 1fr;
  height: 1fr;
  position: relative;
}

@media screen and (max-width: 950px) {
    .location {
  grid-column: 1;
  grid-row: 2;
  width: 1fr;
  height: 1fr;
  position: relative;
}
}

.locationico {
  position: absolute;
  left: calc(50% - 20px);
  top: 50px;
  width: auto;
  height: 45px;
  z-index: 2;
}

@media screen and (max-width: 950px) {
}

.locationico:hover {
  position: absolute;
  display: inline-block;
  top: 45px;
  width: auto;
  height: 55px;
  left: calc(50% - 25px);
  z-index: 2;
}

@media screen and (max-width: 950px) {
}

.locationtxt {
  position: absolute;
  display: inline-block;
  top: 113px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-family: sans-serif;
  font-size: 11pt;
  text-decoration: none;
  z-index: 2;
}

@media screen and (max-width: 950px) {
}

.emergency {
  grid-column: 4;
  grid-row: 1;
  width: 1fr;
  height: 1fr;
  position: relative;
}

@media screen and (max-width: 950px) {
    .emergency {
      grid-column: 1;
      grid-row: 3;
      width: 1fr;
      height: 1fr;
      position: relative;
  }
}

.emergencyico {
  position: absolute;
  left: calc(50% - 20px);
  top: 50px;
  padding-bottom: 0px;
  width: auto;
  height: 45px;
  z-index: 2;
}

@media screen and (max-width: 950px) {
}

.emergencyico:hover {
  position: absolute;
  display: inline-block;
  top: 45px;
  width: auto;
  height: 55px;
  left: calc(50% - 25px);
  z-index: 2;
}

@media screen and (max-width: 950px) {
}

.emergencytxt {
  position: absolute;
  display: inline-block;
  width: 100%;
  top: 113px;
  left: 0;
  text-align: center;
  color: white;
  font-family: sans-serif;
  font-size: 11pt;
  text-decoration: none;
  z-index: 2;
}

@media screen and (max-width: 950px) {
}

.footerline {
  grid-column-start: 1;
  grid-column-end: 6;
  grid-row: 2;
  height: 3px;
  background-color: white;
  position: relative;
  width: 80%;
  left: 10%;
}

@media screen and (max-width: 950px) {
    .footerline {
    grid-column: 1;
    grid-row: 4;
    height: 3px;
    background-color: white;
    position: relative;
    width: 80%;
    left: 10%;
  }
}

.footer2 {
  grid-row: 3;
  grid-column-start: 1;
  grid-column-end: 6;
}

@media screen and (max-width: 950px) {
  .footer2 {
    grid-row: 5;
    grid-column: 1;
  }
}

.openingtimes {
  height: 1fr;
  width: 100%;
  position: relative;
}

@media screen and (max-width: 950px) {
    .openingtimes {
      position: relative;
      top: 0px;
      width: 100%;
      text-align: center;
 }
}

.arbeitszeiten {
  display: inline-block;
  padding-top: 60px;
  left: calc(40% - 350px);
  position: absolute;
  color: white;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 15pt;
  z-index: 2;
}

@media screen and (max-width: 950px) {
  .arbeitszeiten {
    top: 0px;
    position: relative;
    left: 0;
  }
}

.tag1 {
  position: absolute;
  padding-top: 110px;
  left: calc(40% - 350px);
  position: absolute;
  color: white;
  line-height: 28px;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 10pt;
  z-index: 2;
}

@media screen and (max-width: 950px) {
  .tag1 {
    padding-top: 20px;
    position: absolute;
    left: calc(50% - 120px);
  }
}

.tag2 {
  position: absolute;
  padding-top: 135px;
  left: calc(40% - 350px);
    color: white;
    line-height: 28px;
    font-family: sans-serif;
    font-weight: 500;
    font-size: 10pt;
    z-index: 2;
}

@media screen and (max-width: 950px) {
  .tag2 {
    padding-top: 45px;
    position: absolute;
    left: calc(50% - 120px);
  }
}


.zeit1 {
  position: absolute;
  padding-top: 110px;
  left: calc(40% - 200px);
    color: white;
    line-height: 28px;
    font-family: sans-serif;
    font-weight: 500;
    font-size: 10pt;
    z-index: 2;
}

@media screen and (max-width: 950px) {
  .zeit1 {
    padding-top: 20px;
    position: absolute;
    left: calc(50% + 50px);
  }
}

.zeit2 {
  position: absolute;
  padding-top: 135px;
  left: calc(40% - 200px);
    color: white;
    line-height: 28px;
    font-family: sans-serif;
    font-weight: 500;
    font-size: 10pt;
    z-index: 2;
}

@media screen and (max-width: 950px) {
  .zeit2 {
    padding-top: 45px;
    position: absolute;
    left: calc(50% + 50px);
  }
}



.terminbuchung {
  height: 1fr;
  width: 100%;
  position: relative;
}

@media screen and (max-width: 950px) {
  .terminbuchung {
    top: 125px;
    position: relative;
    left: calc(50% - 125px);
    left: 0;
  }
}

.terminbuchung1 {
  position: absolute;
  top: 60px;
  width: 100%;
  text-align: center;
  color: white;
  font-family: sans-serif;
  text-align: center;
  font-weight: 500;
  font-size: 15pt;
  z-index: 2;
}

@media screen and (max-width: 950px) {
  .terminbuchung1 {
    position: absolute;
    left: 0;
  }
}

.termininfo {
  position: absolute;
  top: 165px;
  width: 100%;
  text-align: center;
  color: white;
  font-family: sans-serif;
  text-align: center;
  font-weight: 500;
  font-size: 9pt;
  z-index: 2;
}

@media screen and (max-width: 950px) {
  .termininfo {
    position: absolute;
    left: 0;
  }
}

.button {
  position: absolute;
  padding-top: 110px;
  width: 100%;
  text-align: center;
}

.btn {
  border: 1px solid white;
  background: none;
  padding: 10px 20px;
  font-size: 20px;
  font-family: sans-serif;
  font-weight: 300;
  cursor: pointer;
  transition: 0.8s;
  position: relative;
  overflow: hidden;
}

.btn1 {
  color: white;
}

.btn1:hover {
  color: #3c4db0;
}

.btn::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: white;
  z-index: -1;
  transition: 0.8s;

}

.btn1::before {
  top: 0;
  border-radius: 0 0 50% 50%;
}

.btn:hover::before {
  height: 180%;
}


.contact {
  height: 1fr;
  width: 100%;
  position: relative;
}

@media screen and (max-width: 950px) {
    .contact {
      position: relative;
      top: 325px;
      width: 100%;
      text-align: center;
  }
}

.kontakt1 {
  position: absolute;
  display: inline-block;
  padding-top: 60px;
  left: calc(60% + 129px);
  color: white;
  font-family: sans-serif;
  text-align: center;
  font-weight: 500;
  font-size: 15pt;
  z-index: 2;
}

@media screen and (max-width: 950px) {
  .kontakt1 {
    top: 0px;
    position: relative;
    left: 0;
  }
}

.tel {
  position: absolute;
  padding-top: 110px;
  left: calc(60% + 129px);
  color: white;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 11pt;
  z-index: 2;
}

@media screen and (max-width: 950px) {
  .tel {
    top: 0px;
    position: absolute;
    left: calc(50% - 120px);
  }
}

.mail {
  position: absolute;
  padding-top: 135px;
  left: calc(60% + 129px);
  color: white;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 11pt;
  z-index: 2;
}

@media screen and (max-width: 950px) {
  .mail {
    top: 0px;
    position: absolute;
    left: calc(50% - 120px);
  }
}

.ending {
    overflow: hidden;
  grid-column-start: 1;
  grid-column-end: 6;
  grid-row: 4;
  width: 100%;
  height: 15px;
  background-color: white;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: white;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 10pt;*/
}

@media screen and (max-width: 950px) {
    .ending {
  grid-column: 1;
  grid-row: 7;
  width: 100%;
  height: 15px;
  background-color: white;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: white;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 10pt;
}
}

.ending a {
    color: black;
    text-decoration:underline;
    font-family: sans-serif;
    font-weight: 500;
    font-size: 10pt;
}

@media screen and (max-width: 950px) {
}

/*  --- SLIDER ---  */

.banner {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 0;
    background-color: white;
}

.banner img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 0;
    background-color: white;
}


/*banner & slider*/
/*  --- SLIDER ---  */

/*.container {
    position: relative;
    overflow-x: hidden;
    top: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    display: flex;
    z-index: 0;
}*/

.slider {
    position: absolute;
    overflow: clip;
    top: 0px;
    left: 0px;
    width: 500%;
    height: auto;
    display: flex;
    z-index: 0;
}

@media screen and (max-width: 950px) {
  .slider {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 500%;
    height: auto;
    display: flex;
    z-index: 0;
  }
}

.slider input {
    display: none;
    z-index: 0;
}

@media screen and (max-width: 950px) {
}

.slide {
overflow: clip;
    width: 20%;
    transition: 2s;
    z-index: 0;
}

@media screen and (max-width: 950px) {
}

.slide img {
    width: 100%;
    height: auto;
    z-index: 0;
}

@media screen and (max-width: 950px) {
}

.navigation-manual {
    position: absolute;
    width: 100%;
    margin-top: 29vw;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 950px) {
}

.manual-btn {
    border: 2px solid white;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
    z-index: 1;
}

@media screen and (max-width: 950px) {
}

.manual-btn:not(:last-child) {
    margin-right: 10px;
}

@media screen and (max-width: 950px) {
}

.manual-btn:hover {
    background: white;
}

@media screen and (max-width: 950px) {
}

#radio1:checked ~ .first{
    margin-left: 0;
}

@media screen and (max-width: 950px) {
}

#radio2:checked ~ .first{
    margin-left: -20%;
}

@media screen and (max-width: 950px) {
}

#radio3:checked ~ .first{
    margin-left: -40%;
}

@media screen and (max-width: 950px) {
}

#radio4:checked ~ .first{
    margin-left: -60%;
}

@media screen and (max-width: 950px) {
}

.navigation-auto {
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 29vw;
}

@media screen and (max-width: 950px) {
}

.navigation-auto div {
    border: 2px solid white;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}

@media screen and (max-width: 950px) {
}

.navigation-auto div:not(:last-child){
    margin-right: 10px;
}

@media screen and (max-width: 950px) {
}

#radio1:checked ~ .navigation-auto .auto-btn1{
    background: white;
    z-index: 1;
}

@media screen and (max-width: 950px) {
}

#radio2:checked ~ .navigation-auto .auto-btn2{
    background: white;
    z-index: 1;
}

@media screen and (max-width: 950px) {
}

#radio3:checked ~ .navigation-auto .auto-btn3{
    background: white;
    z-index: 1;
}

@media screen and (max-width: 950px) {
}

#radio4:checked ~ .navigation-auto .auto-btn4{
    background: white;
    z-index: 1;
}

@media screen and (max-width: 950px) {
}
