html{
  font-size: 10px;
}
*{
    margin: 0;
    padding: 0;
}
body{
  font-family: 'Raleway', sans-serif;
  font-size: 2.4rem;
  font-weight: 300;
  background-color: #fff;
  color: #050505;
  min-width: 320px;
}
ul{
  list-style: none;
}
a,
a:hover,
a:active{
  text-decoration: none;
}
a,
a:active{
  color: #050505;
}
a:hover{
  color: #e4373b;
}
a.svg {
  position: relative;
  display: block;
}
a.svg:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.button{
  padding: 1.5rem 3rem;
  background-color: #e4373b;
  font-size: 2.2rem;
  line-height: 1;
  height: 5.2rem;
  border-radius: 2.6rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: none;
  cursor: pointer;
}
.button:hover{
  background-color: #B12B2E;
}
input[type="text"],
input[type="email"],
textarea{
  -webkit-box-shadow: none;
          box-shadow: none;
  outline: none;
  border: 1px solid #58bfcf;
  background-color: #fff;
  height: 6.8rem;
  width: 100%;
  padding: 2rem;
  font-size: 2.8rem;
}
input[type="text"].error,
input[type="email"].error,
input[type="password"].error,
textarea.error{
  border: 1px solid #e4373b;
}
textarea{
  height: 30rem;
}
.input-label{
  display: block;
  color: #55aaaf;
  font-size: 3rem;
  margin-bottom: 3rem;
}


/**************************
Main menu
**************************/
#main-menu{
  display: table;
  margin: 6rem auto 0 auto;

}
#main-menu li{
  display: inline-block;
  margin: 0 3rem;
}
#main-menu li:first-child{
  margin-left: 0;
}
#main-menu li:last-child{
  margin-right: 0;
}
.main-menu__item{
  color: #58bfcf;
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.main-menu__item:hover{
  color: #e4373b;
}
.main-menu__item.button{
  color: #fff;
}

/***********************
Header
***********************/
#header{
  position: relative;
}
#header__logo{
  display: table;
  margin: 10rem auto 8rem auto;
  width: 18.1rem;
  height: 22.8rem;
}
#header__title{
  color: #e4373b;
  font-size: 4.5rem;
  font-weight: 700;
  text-align: center;
}
#header__content{
  margin-top: 2rem;
  font-size: 3rem;
  text-align: center;
  line-height: 1.5;
}
#header__arrow{
  width: 6.7rem;
  height: 7.2rem;
  display: table;
  margin: 9rem auto 3rem auto;
}

/*******************************
Section
*******************************/
#header,
.section{
  padding: 0 9rem;
}
.section{
  padding-bottom: 5rem;
  overflow: hidden;
}
.section.blue{
  background-color: #edf7f9;
}
.section article{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
}
.section article:focus {
  outline:0;
}
.section__part{
  display: inline-block;
  width: 50%;
  vertical-align: top;
}
.section__title{
  display: block;
  width: 100%;
  font-size: 10rem;
  font-weight: 800;
  color: #58bfcf;
}
.section__title.red{
  color: #e4373b;
}

.section__part.image object,
.section__part.image img{
  width: 88%;
  margin-right: 12%;
  max-width: 500px;
}
.section__part:nth-child(2).image object,
.section__part:nth-child(2).image img{
  margin-right: 0;
  margin-left: 12%;
}
.section__part.text .text__inner{
  vertical-align: middle;
  line-height: 1.5;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
.section__part.text .text__inner p{
  margin-bottom: 4rem;
}
.section__part.text .text__inner p:last-of-type{
  margin-bottom: 0;
}
.section__part.text .text__inner b{
  font-size: 2.6rem;
  color: #58bfcf;
  font-weight: 700;
}

/*******************************
First section
*******************************/
#wieso .section__title{
  padding-top: 5rem;
  margin-bottom: 8rem;
}
#wieso .section__title span{
  font-size: 14rem;
  display: block;
  padding-left: 20rem;
}
/*******************************
Second section
*******************************/
#patientenmanagement .section__title{
  padding-top: 8rem;
  margin-bottom: 3rem;
  text-align: right;
}
#second-section__content{
  position: relative;
}
#second-section__content .section__part{
  padding: 10rem 0;
}
#second-section__content .section__part.text{
  position: relative;
}
#second-section__circle{
  display: block;
  position: absolute;
  top: 0;
  right: -30%;
  height: 100%;
  z-index: -1;
}
/*******************************
Third section
*******************************/
#kommunikation .section__title{
  margin-top: 9rem;
  margin-bottom: 10rem;
}
#kommunikation .section__title span:first-of-type{
  font-size: 5rem;
}
#kommunikation .section__title span:last-of-type{
  font-size: 10rem;
  padding-left: 20rem;
}

/*******************************
Fourth section
*******************************/
#kunden .section__title{
    font-size: 15rem;
    margin-bottom: 16rem;
}
#kunden .section__title > span{
  font-size: 8.5rem;
  padding-left: 36rem;
  display: block;
}#kunden .section__title > span > span{
    font-size: 12rem;
    display: inline-block;
}
#doctor-image{
  max-width: 36rem;
  position: relative;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
#doctor-name{
  margin-top: 5rem;
  font-size: 3rem;
}
#doctor-name b{
  font-size: 3.4rem;
  font-weight: 500;
}
/*******************************
Kontakt section
*******************************/
.section article.kontakt-article{
  max-width: 1005px;
}
#kontakt .section__title{
  padding-top: 8.5rem;
  text-align: right;
}
#kontakt-text{
  font-size: 3.5rem;
  margin: 17rem 0 11rem 0;
}
#kontakt-form__to{
  margin-bottom: 9rem;
}
#kontakt-form__to .section__part:first-of-type {
  margin-right: 4rem;
}
#kontakt-form__to .section__part:last-of-type {
  margin-left: 4rem;
}
#kontakt-form__message{
  display: block;
}
#kontakt-form__submit{
  position: relative;
  margin-bottom: 12rem;
  padding-top: 6rem;
}
#kontakt-form__submit:after{
  content: '';
  height: 4px;
  width: 100%;
  max-width: 50rem;
  background-color: #b2ece5;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}
#kontakt-submit{
  display: table;
  margin: 4rem auto 20rem auto;
  padding-left: 13rem;
  padding-right: 13rem;
}
#kontakt-submit.hide{
  visibility: hidden;
}
#kontakt-label{
  display: block;
  font-size: 3.5rem;
}


/***************************
Footer
***************************/
#footer-grid{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 20rem;
}
#footer-grid li{
  display: inline-block;
  width: calc(100% / 3);
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;
}
#footer-grid li:first-of-type{
  text-align: left;
}
#footer-grid li:last-of-type{
  text-align: right;
}


/*******************************
Respopnsive menu
*******************************/


#responsive-menu {
  display: none;
  position: absolute;
  top: 0;
  right: 6rem;
  width: 40px;
  height: 35px;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
      transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}
#responsive-menu span {
  display: block;
  position: absolute;
  height: 6px;
  width: 100%;
  background: #58bfcf;
  border-radius: 6px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
      transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
#responsive-menu span:nth-child(1) {
  top: 0px;
}
#responsive-menu span:nth-child(2),#responsive-menu span:nth-child(3) {
  top: 15px;
}
#responsive-menu span:nth-child(4) {
  top: 29px;
}
#responsive-menu.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}
#responsive-menu.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
}
#responsive-menu.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
}
#responsive-menu.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}
@media (max-width: 850px) {
  #header__logo{
    margin-top: 0;
  }
  #responsive-menu{
    display: inline-block;
  }
  #main-menu ul{
    display: none;
  }
  .main-menu__item:not(.button){
    padding: 2rem;
    display: block;
  }
  body.responsive-menu-visible{
    overflow: hidden;
  }
  body.responsive-menu-visible #main-menu ul{
    display: block;
    position: static;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    margin-top: 26rem;
  }
  body.responsive-menu-visible #header__logo{
    position: absolute;
    -webkit-transition: width 0.2s;
    -o-transition: width 0.2s;
    transition: width 0.2s;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 80px;
    height: auto;
  }
  #main-menu li{
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    margin-bottom: 3rem;
  }
  #main-menu li:last-child {
    margin-top: 6rem;
  }
}


/*******************************
Respopnsive layout
*******************************/
@media (max-width: 850px) {
  #header,
  .section{
    padding: 0 6rem;
  }
  #patientenmanagement .section__title {
    font-size: 8rem;
  }
}
@media (max-width: 780px) {
  .section__title {
    font-size: 10rem;
  }
  #wieso .section__title{
    font-size: 10rem;
  }
  #wieso .section__title span{
    font-size: 14rem;
    padding-left: 10rem;
  }
  #kunden .section__title {
    font-size: 13rem;
    margin-bottom: 8rem;
  }
  #kunden .section__title > span {
    font-size: 6.5rem;
    padding-left: 14rem;
  }
  #kunden .section__title > span > span {
    font-size: 10rem;
  }
}
@media (max-width: 680px) {
  .section article{
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
  }
  .section__part.text{
    margin-bottom: 10rem;
  }
  .section__part{
    display: block;
    width: 100%;
  }
  .section__part:first-child.text{
    -webkit-box-ordinal-group: 2;
    box-ordinal-group: 2;
  }
  .section__part:last-child.image{
    -webkit-box-ordinal-group: 1;
    box-ordinal-group: 1;
  }
  .section__part.text .text__inner{
    top: 0;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    margin-top: 8rem;
  }
  .section__part:nth-child(2).image object,
  .section__part:nth-child(2).image img,
  .section__part.image object, .section__part.image img {
    margin: 0;
    width: 100%;
  }
  #patientenmanagement .section__title {
    font-size: 6rem;
  }
  #kommunikation .section__title {
      font-size: 8rem;
  }
  #kommunikation .section__title span:first-of-type {
    font-size: 4rem;
  }
  #kommunikation .section__title span:last-of-type {
      font-size: 8rem;
      padding-left: 10rem;
  }
  #doctor-image{
    top: 0;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  #kunden-text {
    margin-bottom: 0;
  }
  #doctor-name{
    margin-bottom: 10rem;
  }
  #kontakt-form__to .section__part:last-of-type{
    margin-left: 0;
    margin-top: 4rem;
  }
  #footer-grid{
    display: block;
  }
  #footer-grid li:first-of-type,
  #footer-grid li:last-of-type,
  #footer-grid li{
    text-align: center;
    display: block;
    width: 100%;
    padding: 2rem;
    margin-bottom: 2rem;
  }
}
@media (max-width: 530px) {
  #wieso .section__title{
    font-size: 8rem;
  }
  #wieso .section__title span{
    font-size: 12rem;
    padding-left: 8rem;
  }
  #kommunikation .section__title {
      font-size: 6rem;
  }
  #kommunikation .section__title span:first-of-type {
    font-size: 3rem;
  }
  #kommunikation .section__title span:last-of-type {
      font-size: 6rem;
      padding-left: 6rem;
  }
  #kunden .section__title {
    font-size: 11rem;
    margin-bottom: 8rem;
  }
  #kunden .section__title > span {
    font-size: 4.5rem;
    padding-left: 8rem;
  }
  #kunden .section__title > span > span {
    font-size: 8rem;
  }
}
@media (max-width: 450px) {
  #wieso .section__title{
    font-size: 6rem;
  }
  #wieso .section__title span{
    font-size: 9rem;
    padding-left: 6rem;
  }
  #patientenmanagement .section__title {
    font-size: 4rem;
  }
  #kommunikation .section__title {
      font-size: 4rem;
  }
  #kommunikation .section__title span:first-of-type {
    font-size: 2rem;
  }
  #kommunikation .section__title span:last-of-type {
      font-size: 4rem;
      padding-left: 4rem;
  }
  #kunden .section__title {
    font-size: 9rem;
    margin-bottom: 8rem;
  }
  #kunden .section__title > span {
    font-size: 2.5rem;
    padding-left: 6rem;
  }
  #kunden .section__title > span > span {
    font-size: 6rem;
  }
}
