* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-size: 20px;
  font-family: paralucent, sans-serif;
  font-style: normal;
  color: #333;
}

p{
  line-height: 1.5em;
}

:root{
  --blau: #1D71B8;
  --rot: #E6332A;
}

.max_1300{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

header{
  background-color: var(--blau);
  width: 100%;
  position: fixed;
  top: 1em;
  display: grid;
  grid-template-columns: 300px auto 250px;
  z-index: 9999;
  align-items: center;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

header .logo_wrapper{
  padding: .5rem 1.5rem;
  background-color: #fff;
  display: grid;
}

header .logo_wrapper img{
  height: 100%;
  width: auto;
}

header nav ul{
  padding: 0 6rem;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

header .menu_icon{
  display: none;
}

header nav ul li{
  text-align: center;
  list-style: none;
  font-weight: 500;
}

header nav ul li a{
  color: #fff;
  text-decoration: none;
}

header .phone_wrapper{
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: fit-content;
  padding: 0.5rem 2rem 0.5rem 1rem;
  border-radius: 8px 0 0 8px;
}

header .phone_wrapper img{
  
}

header .phone_wrapper a{
  text-decoration: none;
  color: var(--blau);
  font-weight: 600;
}

section.first{
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

section.first .background{
  background-image: url(../images/background3.png);
  background-position: center center;
  background-size: cover;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

section.first .slogan_wrapper{
  position: absolute;
  top: 40%;
  left: 40%;
}

section.first .slogan_wrapper .h1_wrapper{
  position: relative;
}

section.first .slogan_wrapper .h1_wrapper .h1_background{
  position: absolute;
  width: 200%;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
}

section.first .slogan_wrapper .h1_wrapper:nth-of-type(2) .h1_background{
  left: 70%;
}

section.first .slogan_wrapper .h1_wrapper h1{
  color: #fff;
  text-align: center;
  padding: 0.5em 1em;
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

section.first .slogan_wrapper h1:nth-of-type(2){
  margin-left: 2rem;
}
section.second{
  padding: 4rem 0;
  background-color: #eee;
}

section.second .title{
  text-align: center;
  margin-bottom: 3rem;
}

section.second .title h1{
  font-size: 3rem;
  margin-bottom: 0;
  margin-top: 0;
}

section.second .services .service_wrapper{
  border-bottom: 1px solid #333;
  border-left: 1px solid #333;
  /* filter: drop-shadow(0px -8px 4px rgba(0,0,0,0.1)); */
}
section.second .services .service_wrapper .top_wrapper{
  background-color: var(--blau);
  position: relative;
  padding: 0.8rem;
  cursor: pointer;
  /* filter: drop-shadow(0px -8px 4px rgba(0,0,0,0.1)); */
}

section.second .services .service_wrapper:nth-of-type(even) .top_wrapper{
  background-color: #fff;
}

section.second .services .top_wrapper:after{
  content: "";
}

section.second .services .top_wrapper h3{
  text-align: center;
  margin: 0;
  color: #fff;
}

section.second .services .service_wrapper:nth-of-type(even) .top_wrapper{
  background-color: #fff;
}

section.second .services .service_wrapper:nth-of-type(even) .top_wrapper h3,
section.second .services .service_wrapper:nth-of-type(even) .bottom_wrapper p{
  color: inherit;
}

section.second .services .top_wrapper .right_arrow{
  height: auto;
  width: 1.5rem;
  position: absolute;
  top: 0;
  right: -1.5rem;
}

section.second .services .top_wrapper .right_arrow path,
section.second .services .top_wrapper .top_arrow path{
  fill: var(--blau);
}

section.second .services .service_wrapper:nth-of-type(even) .top_wrapper .right_arrow path,
section.second .services .service_wrapper:nth-of-type(even) .top_wrapper .top_arrow path{
  fill: #fff;
}

section.second .services .top_wrapper .top_arrow{
  height: auto;
  width: 2.5rem;
  position: absolute;
  top: -5rem;
  left: 0;
  transform-origin: right;
  transform: rotate(-90deg);
}

section.second .services .top_wrapper .click_wrap{
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
}

section.second .services .top_wrapper .click_wrap .line{
  position: absolute;
  width: 1rem;
  height: 0.2rem;
  background-color: #fff;
}

section.second .services .service_wrapper:nth-of-type(even) .top_wrapper .click_wrap .line{
  background-color: #333;
}

section.second .services .top_wrapper .click_wrap .line.minus{
  transform: rotate(90deg);
}

section.second .services .service_wrapper:nth-of-type(even) .bottom_wrapper{
  background-color: #fff;
}

section.second .services .bottom_wrapper p{
  color: #fff;
  font-weight: 300;
  margin-top: 0;
}

section.second .services .bottom_wrapper{
  background-color: var(--blau);
  padding: 1rem 2rem 3rem;
  display: none;
}

section.second .services .bottom_wrapper .img_wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

section.second .services .bottom_wrapper .img_wrapper img{
  width: 100%;
}

section.third{
  color: #fff;
  padding: 5rem 0;
  background-color: var(--blau);
  overflow: hidden;
}

section.third .title{
  margin: 0 auto 16rem;
  max-width: 600px;
  position: relative;
}

section.third .title h1{
  font-size: 3rem;
  margin: 0;
  text-align: center;
  z-index: 1;
  position: relative;
}

section.third .title p{
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  z-index: 1;
  position: relative;
}

section.third .title svg{
  width: 100%;
  height: auto;
  position: absolute;
  top: -2rem;
  z-index: 0;
}

section.third img{
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: 8px solid #fff;
}

section.third img:nth-of-type(1){
  top: -2rem;
  left: -14rem;
}

section.third img:nth-of-type(2){
  top: 2rem;
  right: -14rem;
}

section.third img:nth-of-type(3){
  bottom: -15rem;
  right: -2rem;
}

section.third img:nth-of-type(4){
  bottom: -14rem;
  left: -4rem;
}

section.fourth{
  padding: 3rem 0;
  background-color: #fff;
  overflow: hidden;
}

section.fourth .title{
  text-align: center;
  margin-bottom: 3rem;
}

section.fourth .title h1{
  font-size: 3rem;
  margin-bottom: 0;
  margin-top: 0;
}

section.fourth .form_wrap .form-control{
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #333;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-family: paralucent, sans-serif;
  font-weight: 300;
}

section.fourth .form_wrap #submit_btn{
  width: 100%;
  padding: 0.5rem;
  text-align: center;
  background-color: var(--blau);
  font-size: 1rem;
  font-family: paralucent, sans-serif;
  font-weight: 300;
  color: #fff;
  border: none;
}

section.fourth .grid_wrap{
  display: grid;
  grid-template-columns: 2fr 1fr;
}

section.fourth .grid_wrap .form_wrap{
  padding-right: 2rem;
  border-right: 1px solid #ccc;
}

section.fourth .grid_wrap .contact_wrap{
  padding-left: 2rem;
}

section.fourth .grid_wrap .contact_wrap .adress_wrap{
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

section.fourth .grid_wrap .contact_wrap .adress_wrap svg{
  height: 1rem;
  width: 1rem;
  margin-right: 1rem;
}

section.fourth .grid_wrap .contact_wrap .adress_wrap a{
  color: #333
}

section.fourth .success_box,
section.fourth .error_box{
  text-align: center;
  line-height: 3rem;
}

footer{
  padding: 1rem 0;
  background-color: #eee;
  border-top: 1px solid #333;
}

footer a{
  color: #333;
  text-decoration: none;
  font-weight: 300;
}

footer .links_wrap{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  text-align: center;
}

section.rechtliches{
  padding: 6rem 0 2rem;
}

@media screen and (max-width: 1300px) {
  header{
    grid-template-columns: 250px auto 230px;
  }
  
  header nav ul{
    padding: 0 2rem;
  }

  body, html{
    font-size: 18px;
  }
}

@media screen and (max-width: 900px) {
  header{
    top: 0;
    grid-template-columns: 1fr 2fr;
  }

  header .menu_icon{
    display: flex;
    align-items: center;
    justify-content: right;
    color: #333;
    text-align: right;
    height: 100%;
    font-size: 1rem;
    padding: 0rem 2rem;
    background-color: #fff;
  }

  header .menu_icon span{
    cursor: pointer;
  }

  header nav{
    position: absolute;
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0rem;
    z-index: -1;
    background-color: var(--blau);
  }

  header .phone_wrapper{
    display: none;
  }

  header nav ul{
    margin: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  header nav ul li{
    font-size: 2rem;
  }
}

@media screen and (max-width: 700px) {
  header{
    grid-template-columns: 1fr 1fr;
  }

  section.fourth .grid_wrap{
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  section.fourth .grid_wrap .form_wrap{
    padding-right: 0rem;
    border: none;
  }

  section.third img{
    width: 6rem;
    height: 6rem;
    border-width: 4px;
  }

  section.third img:nth-of-type(1){
    bottom: -8rem;
    left: 4rem;
    top: inherit;
  }

  section.third img:nth-of-type(2){
    bottom: -12rem;
    right: 0;
    top: inherit;
  }

  section.third img:nth-of-type(3){
    bottom: -18rem;
    right: 5rem;
  }

  section.third img:nth-of-type(4){
    bottom: -15rem;
    left: -1rem;
  }

  section.first .slogan_wrapper{
    left: 30%;
  }
}

@media screen and (max-width: 600px){
  section.first .slogan_wrapper{
    left: 0%;
  }

  section.first .slogan_wrapper .h1_wrapper h1{
    font-size: 1.7rem;
    margin: 2rem 0;
  }

  section.first .slogan_wrapper .h1_wrapper .h1_background{
    width: 250%;
  }
}