/* CSS Document */

/*---------------------------------------
  BASCIC CONFIGURATIONS
---------------------------------------*/

html, body {
  font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5 {
  font-family: 'Lato', sans-serif;
  font-weight:900;
  letter-spacing:0.025rem;
}

h1{
  color:#fff;
  padding-bottom:1.25rem;
  margin-bottom:2.25rem;
  font-size:3.5rem;  
}

h2 {
  font-size:3.125rem;
  font-weight:400;
  color:#1d1d1b;
  padding:5rem 0 3rem 0;
}

h3 {
  font-weight:600;
  font-size:1.5rem;
  color:#fff;
}

.red h2, .black h2 {
  color:#fff;
}

.black h2 {
  margin:0;
}

.white {
  background-color:#fff;
}

.black {
  background-color:#1d1d1b;
}

.black p a, .black p a:link, .black p a:visited {
  color: #fff;
  text-decoration: underline;
}

.black p a:hover {
  color: #fff;
}

.red {
  border-top:3px solid #aa271d;
  background-color:#c92e21;
}

p {
  font-size:1.125rem;
}

p a:link, p a:visited {
  color:#222;
}

p a:hover, p a:focus {
  color:#c92e21;
}

.white p {
  color:#1d1d1b;
}

.red p, .black p {
  color:#fff;
}

.red p a:link, .red p a:visited {
    color: #fff;
}

.align-center {
  text-align:center;
}

.csc-header-alignment-center {
    text-align: center;
}

/*---------------------------------------
  HEADER
---------------------------------------*/

.contain-to-grid {
  background:#fff;
    box-shadow: 0 0 5px 0 #aaaaaa;  
}

/*---------------------------------------
  MAIN MENU
---------------------------------------*/

.top-bar {
  background:#fff;
    height: 120px;
    line-height: 120px;  
}

.top-bar .name {
  height:120px;
}

.top-bar .name img {
  padding:1em 0 0 0.9375em;
}

.top-bar-section ul {
  margin-top:4rem;
}

.top-bar-section ul li {
  background:#fff;
}

.top-bar-section ul li > a {
  font-family: 'Lato', sans-serif;
  font-size:1rem;
  text-transform:uppercase;
  color:#222;
  font-weight:700;
}

.top-bar-section ul li.active > a {
  background:#fff;
  color:#222;
}

.top-bar-section li.active:not(.has-form) a:not(.button) {
  background:#fff;
  color:#222;
}

.top-bar-section li.active:not(.has-form) a:hover:not(.button) {
  background:#fff;
  color:#c92e21;
}

.title-area {
  display: flex;
  justify-content: space-between;
}

/*---------------------------------------
  MOBILE MENU
---------------------------------------*/

.top-bar.expanded {
  background:#fff;
}

.top-bar.expanded .title-area {
  background:#fff;
}

.top-bar .toggle-topbar.menu-icon a {
  color:#c92e21;
}

.top-bar .menu-icon a {
    position: relative;
}

.top-bar .menu-icon a::after {
    content: "";
    position: absolute;
    top: 0.25rem;
    right: 0.9375em;
    background: url("../Images/menu-icon.svg") no-repeat;
    background-size: 1.5rem;
    background-position: center;
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
}
.top-bar.expanded .toggle-topbar a span::after {
    box-shadow: none;
}

.callbutton-wrap {
  display: none;
}

/*---------------------------------------
  CONTENT
---------------------------------------*/

#content {
  margin-bottom:7rem;
}

[class*="column"] + [class*="column"]:last-child {
  float:left;
}

.partner {
  padding-bottom:4rem;
  border-bottom:1px solid #ccc;
}

.team {
  margin-bottom: 5rem;
}

.jobs {
  border-top:1px solid #ccc;
}

/*---------------------------------------
  IMAGES
---------------------------------------*/

/*header-img*/
#owl-slideshow-top {
  margin:120px 0 0 0;
}

/*caption*/
.caption-outer {
  margin:0 auto;
  width:1140px;
  position:relative;
  padding:0 0.9375em;
}

.caption-wrap {
  margin-top: -320px;
    position: absolute;
    top: 50%;
    width: 50%;
}

.frame {
  background:url(../Images/bg.png) repeat-x;
  height:33px;
  overflow:hidden;
}

/*textpic*/
.csc-textpic-image img {
  margin-top:9rem;
  border-radius:5px 5px 0 0;
}

.csc-textpic-center .csc-textpic-image img {
  margin:1.5rem 0 3rem 0;
}

/*content responsive*/
#content .columns img {
  width:100%;
}

/*intext-right*/
div.csc-textpic-intext-right .csc-textpic-imagewrap, div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
  margin:0;
}

div.csc-textpic-intext-right .csc-textpic-imagewrap {
  float:none;
}

/*team*/
.team .csc-textpic-center .csc-textpic-image img {
  margin:1rem 0 0.25rem 0;
}

.team h3 {
  color:#222;
  margin-top:0.75rem;
}

.team .csc-textpic {
  min-height:354px;
}

.jobs h3 {
  color:#222;
  margin-top:1rem;
}

div.csc-textpic-center .csc-textpic-center-outer {
    position: relative;
    float: right;
    right: 50%;
}

div.csc-textpic-center .csc-textpic-center-inner {
    position: relative;
    float: right;
    right: -50%;
}

@media only screen and (min-width:40em) and (max-width:63.9375em) {
  .team .csc-textpic {
    min-height: 300px;
  }
  .team .csc-textpic-text p {
    font-size:0.9375rem;
  }
}



/*---------------------------------------
  FOOTER
---------------------------------------*/

#footer .foot .columns {
  text-align:center;
}

#footer {
  background-color:#c92e21;
  padding:2rem 0 0 0;
}

#footer p {
  color:#ffffff;
  font-size:1rem;
  margin-bottom:1.25rem;
}

#footer img {
  margin:4rem 0;
  width: auto !important;
  max-height: 100px;
}

#footer img.ahz {
  margin:0 0 0 0.5rem;
  vertical-align: baseline;
  width: auto;
}

#footer .text-ahz {
  margin:2rem 0;
}

#footer a {
  color:#f7f7f7;
}

#footer .black {
  margin-top:3rem;
  padding:2.5rem 0 1.25rem 0;
}

#footer .foot p {
  font-size:1.125rem;
}

#footer .foot a:link, #footer .foot a:visited {
  color:#f7f7f7;
}

#footer .foot a:focus, #footer .foot a:hover {
  color:#222;
}

#footer .bottom a:link, #footer .bottom a:visited {
  color:#f7f7f7;
}

#footer .bottom a:focus, #footer .bottom a:hover {
  color:#ccc;
}

hr.line-footer {
  border-color:#df4a3e;
  margin:1.5rem 0 3.5rem
}

#footer p.disclaimer {
  text-align:right;
}

/*---------------------------------------
  MISCELLANEOUS
---------------------------------------*/

/*home*/
.home h2 {
  color:#222;
  position:relative;
  z-index:1;  
  padding-bottom:1rem;
  margin-bottom:1.75rem;
}

.home h2:before {
  content:"";
  position:absolute;
    bottom:0;
    border-bottom:3px solid #0070ba;
  left:42%;
  right:42%;
}

.reveal-modal-bg {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.75);
}

/*imprint*/
#imprint h2, #disclaimer h2, #agb h2 {
  padding:0 0 1rem
}

#imprint h3, #disclaimer h3, #agb h3 {
  color:#222;
  margin-bottom:1rem;
}

.anchor{
  display: block;
  height: 120px; /*same height as header*/
  margin-top: -120px; /*same height as header*/
  visibility: hidden;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
  margin-bottom: 3rem;
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (min-width: 48em) {
  .top-bar {
    display: flex;
  }
  .top-bar-section {
    flex-grow: 1;
    display: flex; 
  }
  .top-bar-section > ul {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-end;
  }
  .callbutton-wrap-desktop {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: static;
    line-height: 1rem;
    right: 0.938rem;
    top: 2rem;
  }
  .callbutton-wrap-desktop .actionbutton {
    padding-bottom: 1.625rem;
  }
  .callbutton-wrap-desktop a {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1d1d1b;
    padding: 4px 8px;
    border: 4px solid #c92e21;
    padding-left: 2.25rem;
    position: relative;
    line-height: 1.75em;
  }
  .callbutton-wrap-desktop a::before {
    position: absolute;
    content: "";
    top: 6px;
    left: 6px;
    width: 26px;
    height: 26px;
    background-image: url("../Images/phone-icon.svg");
    background-size: 26px;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media screen  and (max-width: 65.5em) and (min-width: 48em) {
  .callbutton-wrap-desktop a {
    font-size: 1.25rem;
  }
  .callbutton-wrap-desktop {
    top: 1.25rem;
    position: absolute;
  }
  .callbutton-wrap-desktop a::before {
    top: 4px;
    width: 24px;
    height: 24px;
    background-size: 24px;
  }
}

@media only screen and (max-width:40em) {
  .csc-textpic-image img {
    margin-top:1rem;
  }

  h2 {
    font-size: 2rem;
    padding: 2rem 0 1rem;
  }
}

@media only screen and (min-width:40.063em) and (max-width:64em) {
  .csc-textpic-image img {
    margin-top:6rem;
  }

  h2 {
    font-size: 2.5rem;
    padding: 2rem 0 1rem;
  }
}

@media only screen and (max-width: 47.9375em) {
  #owl-slideshow-top {
    margin-top:70px;
  }
  .top-bar-section ul {
    margin:0;
  }
  .top-bar .name img {
    width:100px;
  }
  .top-bar .name {
    height:70px;
  }
  .top-bar {
    height: 70px;
    line-height: 70px;
  }
  .top-bar .toggle-topbar.menu-icon {
    display: flex;
    align-items: center;
    position: inherit;
    top: auto;
    margin-top: 0;
  }
  .callbutton-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .callbutton-wrap-desktop {
    display: none;
  }
  .callbutton-wrap a {
    position: relative;
    font-size: 0.875rem;
    color: #1d1d1b;
    padding: 2px 6px;
    border: 2px solid #c92e21;
    padding-left: 1.625rem;
  }
  .callbutton-wrap a::before {
    position: absolute;
    content: "";
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    background-image: url("../Images/phone-icon.svg");
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media only screen and (max-width:64em) {
  h1 {
    font-size:1.875rem;
    margin:0 0 0.25rem 0;
    padding:0;
  }
  
  .caption-outer {
    margin:0;
    width:100%;
    position:relative;
    padding:0;
  }
  
  .caption-wrap {
    margin:0;
    position: relative;
    top:inherit;
    width:100%;
    background-color:#000;
    padding:0.9375rem;
  }
}


#datenschutz h4{
  margin-top: 1.5rem;
}

#datenschutz ul{
  font-size:1.125rem;
}

#datenschutz a{
  color: #000;
  text-decoration: underline;
}

#datenschutz a:hover{
  color: #ccc;
}