html, body {
    height: calc(100vh - 1em);
}

.box {
    display: flex;
    align-items: center;
    justify-content: center;
    height:calc(100vh - 1em);
    flex-direction: column;
    margin-left: 40px;
    margin-right: 40px
}

.mainImage {
    width:500px;
    max-width: 100%;
}

.wir {
    position: absolute;
    top:calc(50% + 5em);
    left: calc(50% - 29em);
}

.jetzt {
    position: absolute;
    top:calc(50% - 20em);
    left: calc(50% + 15em);
}

.btn:hover{
    transform: scale(1.04);
    filter: brightness(120%) drop-shadow(0px 15px 15px rgba(0, 0, 0, 0.244)); 
    transition-duration: 100ms;
}

.line1{
  position: absolute;
  top:calc(50% + 4em);
  left: calc(50% - 20em);
}

.line2{
  position: absolute;
  top:calc(50% - 9em);
  left: calc(50% + 12em);
  transform: rotate(15deg);
}

.home {
  position: absolute;
  left: 40px;
  bottom: 40px;
  width: 60px;
}

.home:hover {
  transform: scale(1.04);
  filter: brightness(120%) drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.244)); 
  transition-duration: 100ms;
}

.impressum{
  position: absolute;
  right: 40px;
  bottom: 40px;
  font-size: 1.5em;
  color: rgb(0, 0, 0);
  border-bottom: 2px dotted rgb(0, 0, 0);
  text-decoration:none
}

@media only screen and (max-width: 940px) {
  .mainImage {
    padding-bottom: 40px;
    padding-top: 40px;
  }

  .wir, .jetzt {
    position: relative;
    top:0px;
    left:0px;
    max-width: 100%;
    width:200px;
    margin-top:20px;
    padding-bottom: 20px;
  }

  .line1{
    top:calc(15em);
    left: calc(50% - 3em);
    transform: rotate(109deg);
    width:100px;
  }

  .line2{
    position: relative;
    top:calc(-2em);
    left: calc(0em);
    transform: rotate(113deg);
    width:100px;
    margin-bottom: -50px;
    z-index: 1;
  }

  .impressum{
    position: relative;
    left: 0px;
    bottom: 20px;
    padding-top:20px;
    margin-bottom:20px;
  }

  .home {
    position: relative;
    left: 0px;
    bottom: 0px;
    width: 60px;
    padding-top:20px;
    padding-bottom:20px;
  }
  
  .box{
    justify-content: start;
  }
}