#wrapper {
  max-width: 1072px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
#header {
  position: relative;
  height: 144px;
  background-color: #fff;
  border-bottom: none;
  margin-bottom: 12px;
}
.header-wrapper-left {
  position: absolute;
  top: 40px;
  left: 0px;
  background-color: #fff;
}
.header-wrapper-left .logo-hs {
  width: 180px;
  height: 87px;
  background: url(../img/hs-logo-w180px.jpg);
  background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
}
.header-wrapper-right {
  top: 0;
  right: 0;
  margin-top: 97px;
  float: right;
}
.header-wrapper-right div {
  float: left;
  margin-left: 5px;
}
.no-touch .header-wrapper-right div {
  cursor: pointer;
}
.header-wrapper-right div.active,
.no-touch .header-wrapper-right div:hover,
.header-wrapper-right div.current {
  font-family: "PTSans-Bold";
}
.header-wrapper-right div:last-child:before {
  content: "|";
  padding-right: 5px;
}

/* startseite */
#startseite {
	position: relative;
	width: 100%;
  margin-bottom: 24px;
	z-index: 2;
}
#startseite_titel {
  position: relative;
  width: 100%;
  font-family: "PTSans-Bold";
  font-size: 2em;
  line-height: 1.2;
	margin-bottom: 24px;
  text-transform: uppercase;
}
#startseite_bild {
  position:relative;
  width: 100%;
  margin-bottom: 35px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
#startseite_bild img {
  display: block;
  width: 100%;
}
#startseite_text {
  position:relative;
  margin-bottom: 35px;
}
#startseite_text h2 {
	font-size: 2em;
  line-height: 1.2;
	margin-bottom: 12px;
}
#startseite_text p {
	line-height: 1.5em;
  hyphens: auto;
	margin-bottom: 24px;
}
#startseite_text p:last-child {
	margin-bottom: 0;
}

#button {
  display: inline-block;
	position:relative;
  width: 100%;
}
.startbutton {
	position:relative;
  float: left;
	width:calc((100% - 20px) / 2);
  min-width: 500px;
	height:auto;
  border: 1px solid #ccc;
  box-sizing: border-box;
  overflow: hidden;
}
.no-touch .startbutton {
  cursor: pointer;
}
.startbutton:first-child {
  margin-right: 20px;
}
.startbutton .bild {
	position:relative;
	background-color:#CCC;
	top:0;
	left:0;
	width:100%;
	height:auto;
}
.startbutton .bild img {
	display: block;
	width: 100%;
}
.startbutton .titel {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 12px 60px 12px 20px;
  background-size: 28px;
  background-image: url(../img/next_weiss.svg);
  background-repeat: no-repeat;
  background-position: calc(100% - 8px) 12px;
  box-sizing: border-box;
  background-color: rgba(69,68,68,.64);
  color: #fff;
  transform: translateY(calc(100% - 52px));
  transition: transform .5s;
}
.startbutton:first-child .titel {
  transform: translateY(calc(100% - 82px));
}
.startbutton .titel span {
  display: block;
	font-size: 20px;
	line-height:1.3em;
}
.startbutton .titel span:first-child {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
}
.startbutton.active .titel,
.no-touch .startbutton:hover .titel {
  transform: translateY(0%);
  transition: transform .5s;
}

/* Footer */
#footer {
  position: relative;
  bottom: 0;
  height: 64px;
  width: 100%;
  text-align: center;
  line-height: 64px;
  border-top: 1px solid #666;
  z-index: 2;
}
#footer span {
  text-decoration: underline;
  color: #666;
}
#footer span.active,
#footer span:hover {
  color: #000;
}
.no-touch #footer span {
  cursor: pointer;
}

@media (max-width: 1067px) {
  .startbutton,
  .startbutton:first-child {
    float: none;
    margin: 0 auto;
    width: 100%;
    min-width: 670px;
    max-width: 670px;
  }
  .startbutton:first-child {
    margin-bottom: 20px;
  }
  .startbutton:first-child .titel {
    transform: translateY(calc(100% - 48px));
  }
}

@media (max-width: 767px) {
  #header {
    height: 114px;
  }
  .header-wrapper-left {
    top: 24px;
  }
  .header-wrapper-left .logo-hs {

  }
  .header-wrapper-right {
    margin-top: 87px;
  }
  #startseite_bild,
  #startseite_text {
    margin-bottom: 24px;
  }
  .startbutton,
  .startbutton:first-child {
    min-width: 500px;
    max-width: 670px;
  }
  .startbutton:first-child .titel {
    transform: translateY(calc(100% - 48px));
  }
}
@media (max-width: 699px) {
  #footer {
    height: unset;
    line-height: 32px;
    padding: 12px;
  }
}
@media (max-width: 547px) {
  .startbutton,
  .startbutton:first-child {
    min-width: unset;
  }
  .startbutton .titel {
    padding: 12px 48px 12px 16px;
    transform: translateY(calc(100% - 48px));
    background-size: 24px;
    background-position: calc(100% - 4px) 12px;
  }
  .startbutton .titel span {
  	font-size: 16px;
  }
  .startbutton .titel span:first-child {
    font-size: 20px;
    margin-bottom: 8px;
  }
}

@media (max-width: 479px) {
  #wrapper {
    padding: 0 12px;
  }

  .startbutton:first-child .titel {
    transform: translateY(calc(100% - 72px));
  }
}

@media (max-width: 374px) {
  .startbutton .titel {
    transform: translateY(calc(100% - 72px));
  }
}
