/*
  helles Grau BG = #f9f9f9
  dunkler BG = #ECE9E3
  Grau Hamburger = #514E47
*/
body , html {
    min-height:100%;
    height:100%;
    width: 100%;
    margin:0px;
    padding:0px;
    background-color: #f9f9f9;
    font-family: 'PlexSans-Regular', sans-serif;
    font-weight:400;
    line-height: 1.5;
    font-size: 20px;
    color: #000000;
    -webkit-text-size-adjust: 100%;
    /*
    -webkit-text-size-adjust: none;
    */
    -ms-text-size-adjust: none;
}
@media screen and (max-width: 799px) {
  body , html {
    font-size: 16px;
  }
}

#ccm-panel-add-blocktypes-list {
  display: flex;
  flex-direction: column-reverse;
}

.ccm-marketplace-btn-wrapper {
  display:none;
}

#page {
  position: relative;
  width:100%;
}

/* ///////////////////////////////////////////////////////////////////////////////  PAGE CONTENT */
.page-wrapper {
    z-index:1;
    position: relative;
    min-height:100vh;
}

.content-area {
    display:flex;
    flex-direction:column;
    flex-wrap:wrap;
    overflow: hidden;
    position: relative;
    /* border: 1px solid blue; */
}

.wrapper-layout-area {
  display:flex;
  position: relative;
  width: 100%;
  min-height: 200px;
  /* border: 1px solid red; */
}
.wrapper-layout-area.footer {
  min-height: unset;
}

.bg-dark {
  background-color: #ECE9E3;
}

.menu-wrapper-fixed {
    top:0px;
    z-index:300;
    height:1px;
    width:100%;
    overflow:visible;
    position: fixed;
}

.menu-wrapper-outer {
		background-color: #f9f9f9;
    min-height: 68px;
    -webkit-box-shadow: 0px 0px 4px 4px rgba(0,0,0,0.21); 
    box-shadow: 0px 0px 4px 4px rgba(0,0,0,0.21);
    border-top: 1px solid #f9f9f9; /* important */
    margin-top: -1px;
}
.menu-wrapper {
    position: relative;
    width:100%;
}

.top-spacer-header {
  height: 68px;
}

.layout-centered {
  margin: 0 auto;
  width: calc(100% - 50px);
  max-width: 1240px;
  position: relative;
  /* background-color: blue; */
  /* background-color: rgba(0,90,0,0.44); */
}

a, a:visited {
  color: #000000;
  text-decoration: none;
}
.uppercase {
  text-transform: uppercase;
}

.menu-wrapper a {
  font-family: 'PlexSans-Regular';
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}
.menu-wrapper a.active {
  font-family: 'PlexSans-Bold';
  font-weight: 700;
  letter-spacing: -0.45px;
}

#langselect {
  position: absolute;
  right: 21px;
  top: 25px;
  font-size: 14px;
}

.mobile-only {
  display: none;
}

/* BUTTON */
a.button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 21px;
  font-family: 'Merri-Bold';
  height: 48px;
}
@media screen and (max-width: 799px) {
  a.button {
    width: 100%;
    font-size: 16px;
    margin-top: 30px;
  }
}
@media screen and (min-width: 800px) {
  a.button {
    width: 287px;
    font-size: 20px;
    margin-top: 36px;
  }
}

a.showmore {
  font-family: 'Merri-Bold';
  font-weight: 700;
  font-size: 20px;
  color: #000000;
  text-decoration: none;
  margin-top: 21px;
  display: inline-block;
}
a.showmore:hover {
  color: #000000;
  text-decoration: underline;
}
@media screen and (min-width: 800px) {
  a.showmore {
    margin-top: 23px;
  }
}

.plus-before p {
  background-image: url(../images/symbols/plus.svg);
  background-size: 20px 24px;
  background-position: left 50%;
  background-repeat: no-repeat;
  padding-left: 60px;
}
.plus-before.list p {
  padding: 18px 0px 18px 100px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000000;
  margin: 0px;
}
.plus-before p.button-noplus {
  background-image: none;
}
.plus-before.list p:nth-child(1) {
  margin-top: -24px;
}
.plus-before.list p:nth-last-child(1) {
  border-bottom: 1px solid transparent;
}


#section2 .content-wrapper .image-wrapper .image {
  background-size: cover;
  width: 100%;
  padding-top: 125%;
  -webkit-box-shadow: 0px 5px 9px 3px rgba(0,0,0,0.3); 
  box-shadow: 0px 5px 9px 3px rgba(0,0,0,0.3);
}
#section4 .content-wrapper .image-wrapper .image {
  background-size: cover;
  width: 100%;
  padding-top: 67%;
  -webkit-box-shadow: 0px 5px 9px 3px rgba(0,0,0,0.3); 
  box-shadow: 0px 5px 9px 3px rgba(0,0,0,0.3);
}

#career-wrapper {
  margin-top: -24px;
}
.career {
  display: flex;
  border-bottom: 1px solid #000000;
}
.career > div {
  padding: 18px 0px 18px 0px;
  display: flex;
  align-items: center;
}
.career > div > p {
  margin: 0px;
}
.career > div:nth-child(1) {
  font-family: 'Merri-Bold';
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}
.career > div:nth-child(2) {
  margin-left: 4px;
}
@media screen and (max-width: 799px) {
  .career > div {
    align-items: flex-start;
  }
  .career > div:nth-child(1) {
    font-size: 15px;
    width: 112px;
  }
  .career > div:nth-child(2) {
    width: calc(100% - 112px);
  }
}
@media screen and (min-width: 800px) {
  .career > div:nth-child(1) {
    font-size: 18px;
    width: 20%;
  }
  .career > div:nth-child(2) {
    width: calc(80% - 24px);
  }
}
.career-extended {
  max-height: 0px;
  overflow: hidden;
}
.career-extended.open {
  max-height: 3000px;
  animation: openCareer;
  animation-duration: 800ms;
}
@keyframes openCareer {
  0% {
    max-height:0px;
  }
  100% {
    max-height:800px;
  }
}


.publications-wrapper > div:nth-child(1) {
  background-color: rgba(125,0,0,0);
}
.publications-wrapper > div:nth-last-child(1) {
  background-color: rgba(0,125,0,0);
}
.image-publication {
  width: 100%;
  height: auto;
  -webkit-box-shadow: 10px 10px 15px 5px rgba(0,0,0,0.21); 
  box-shadow: 10px 10px 15px 5px rgba(0,0,0,0.21);
}

@media screen and (max-width: 689px) {
  .publications-wrapper {
    display: unset;
  }
  .publications-wrapper > div:nth-child(1) {
    width: 84%;
    border-top: 1px solid transparent;
    margin: 100px 0px 60px 8.6%;
  }
  .publications-wrapper h2 {
    text-align: center;
    margin-bottom: 0px;
  }
  .publications.plus-before {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .publications.plus-before p.button-noplus {
    padding-left: 0px !important;
    width: 100%;
    max-width: 400px;
  }
  .publications.plus-before p.button-noplus a.button {
    margin-top: -12px;
  }
}
@media screen and (min-width: 690px) {
  .publications-wrapper {
    display: flex;
    width: calc(100% + 40px);
  }
  .publications-wrapper > div:nth-child(1) {
    width: 38%;
    margin-right: 48px;
  }
  .publications-wrapper > div:nth-last-child(1) {
    width: calc(62% - 48px);
    padding-top: 32px;
  }
  .publications-wrapper h2 {
    margin-bottom: 12px;
  }
  @media screen and (max-width: 1070px) {
    .publications-wrapper h2 {
      font-size: 5.35vw;
    }
  }
  .publications {
    width: calc(100% - 40px);
  }
}


.contact-wrapper > div:nth-child(1) {
  background-color: rgba(125,0,0,0);
}
.contact-wrapper > div:nth-last-child(1) {
  background-color: rgba(0,125,0,0);
}
.formular-wrapper {
  background-color: #FFFFFF;
  -webkit-box-shadow: 0px 5px 9px 3px rgba(0,0,0,0.08);
  box-shadow: 0px 5px 9px 3px rgba(0,0,0,0.08);
  border-radius: 10px;
  border-top: 1px solid transparent;
}
.formular-wrapper > .inner-shadow {
  -webkit-box-shadow: -5px -1px 9px 3px rgba(0,0,0,0.0); 
  box-shadow: -5px -1px 9px 3px rgba(0,0,0,0.08);
  border-radius: 10px;
  border-top: 1px solid transparent;
}
.field,
.textarea {
  background-color: transparent !important;
  background: transparent !important;
  outline: unset;
  border: 1px solid #000000;
  border-radius: 10px;
  color: #000000;
  width: calc(100% - 29px);
  padding: 13px 8px 13px 19px;
  -webkit-appearance: none;
  margin-bottom: 18px;
}
.textarea {
  color: #000000 !important;
  min-height: 95px;
}
::placeholder {
  color: #000000;
  opacity: 0.6; /* Firefox */
}
::-ms-input-placeholder { /* Edge 12 -18 */
  color: #000000;
  opacity: 0.6;
}
.accept-wrapper {
  display: flex;
}
.accept-wrapper > div:nth-child(1) {
  width: 21px;
  margin-right: 16px;
}
.accept-wrapper > div:nth-child(2) {
  width: calc(100% - 47px); /* minus 10px */
  padding-top: 4px;
}
.formular-wrapper .smaller {
  line-height: 1.24;
}
.check-mark {
	display:flex;
	justify-content:center;
	align-items:center;
	flex-shrink: 0;
	width:24px !important;
	height:24px;
	border: 1px solid #000000;
	border-radius: 12px;
}
.check-mark > span {
	display:block;
	width:16px !important;
	height:16px;
	background-color:#FFFFFF;
	border-radius: 8px;
}
.check-mark.checked > span {
	background-color:#000000;
}
.check-mark.red, 
.textarea.red, 
.field.red {
	border-color:#b11908 !important;
}
#mail-sent-result {
  display: none;
  font-family: 'PlexSans-Regular';
  font-weight: 300;
  font-size: 18px;
  padding-top: 24px;
}
#mail-sent-result.done {
  padding-top: 24px;
  display: block;
}
#mail-sent-result.success {
  color: rgb(7, 66, 7);
}
#mail-sent-result.error {
  color:#b11908;
}
.accept-wrapper p {
  margin: 0px;
}
@media screen and (max-width: 799px) {
  .formular-wrapper {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-top: 80px;
  }
  .inner {
    margin: 38px 16px 0px 16px !important;
    border-top: 1px solid transparent;
    border-bottom: 30px solid white;
    background-color: rgba(0,0,30,0);
  }
  .contact-wrapper .like-h3 {
    display: inline-block;
    margin-bottom: 16px;
  }
  .contact-wrapper > div:nth-child(1) p {
    margin-bottom: 42px;
  }
  a.button {
    margin-top: 20px;
  }
}
@media screen and (min-width: 800px) {
  .contact-wrapper {
    display: flex;
    width: calc(100% + 40px);
  }
  #section7 h2 {
    margin-bottom: 0px;
    padding-bottom: 0px;
  }
  .contact-wrapper > div:nth-child(1) { /* text */
    width: 38%;
    margin-right: 48px;
  }
  .contact-wrapper > div:nth-last-child(1) { /* form */
    width: calc(62% - 88px); /* minus 48, minus 40 */
  }
  .contact-wrapper > div:nth-child(1) p {
    margin-top: 32px;
  }
  .formular-wrapper {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  .inner {
    margin: 30px 30px 0px 30px !important;
    border-top: 1px solid transparent;
    border-bottom: 30px solid white;
    background-color: rgba(0,0,30,0);
  }
  .btn-wrapper {
    display: flex;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 799px) {
  .mobile-only {
    display: unset;
  }
  .menu-wrapper  {
    margin-top: 68px;
    max-height: 0px;
    overflow: hidden;
  }
  .menu-wrapper-outer > .layout-centered {
    position: unset;
    background-color: #f9f9f9;
  }
  .menu-wrapper a {
    width: 100%;
    display: block;
    border-bottom: 2px solid #b7b5b0;
    padding: 10px 0px 10px 24px;
  }
  .menu-wrapper > a:nth-child(1) {
    border-top: 2px solid #b7b5b0;
  }
  .navi-toggle {
    position: absolute;
    left: 21px;
    top: 22px;
    background-image: url(../images/symbols/Symbol_Menue-open.svg);
    background-size: auto 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    width:24px;
    height:24px;
  }
  .menu-wrapper-outer.open .navi-toggle {
    background-image: url(../images/symbols/Symbol_Menue-close.svg);
    animation-duration: 600ms;
    animation-name: toggleButton_open;
  }
  @keyframes toggleButton_open {
    0% {
        opacity:1;
        transform: rotate(90deg);
        background-image: url(../images/symbols/Symbol_Menue-close.svg);
    }
    100% {
        opacity:1;
        background-image: url(../images/symbols/Symbol_Menue-close.svg);
    }
  }
  .menu-wrapper-outer.open .menu-wrapper {
		max-height:2000px;
		animation: openMobileNavi;
		animation-duration: 800ms;
  }
  @keyframes openMobileNavi {
    0% {
      max-height:0px;
    }
    100% {
      max-height:400px;
    }
  }
  .layout-centered {
    width: 100%;
  }
  .header-name {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 102px);
    left: 56px;
    top: 5px;
    height: 58px;
    font-family: 'Merri-Bold';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.24;
    text-align: center;
  }
  .wrapper-layout-area-text .content-wrapper {  /* Seite .page-template-text */
    /* text-seite */
    margin-top: 46px;
    margin-bottom: 90px;
  }
  #section1 .content-wrapper {
    margin-top: 46px;
    margin-bottom: 184px;
  }
  #section3 .content-wrapper {
    margin-top: 60px;
    margin-bottom: 220px;
  }
  #section3.less-distance-bottom .content-wrapper {
    margin-bottom: 60px;
    /* border-bottom: 1px solid blue; */
  }
  #section4 .content-wrapper {
    margin-bottom: 0px;
  }
  #section5 .content-wrapper {
    margin-top: 60px;
    margin-bottom: 90px;
  }
  #section6 .content-wrapper {
    margin-top: 60px;
    margin-bottom: 30px;
  }
  #section7 .content-wrapper {
    margin-top: 60px;
    /* border: 1px solid red; */
  }
  @media screen and (min-width: 580px) {
    .header-name {
      font-size: 18px;
    }
  }
  .plus-before p {
    padding-left: 42px;
  }
  .plus-before.list p {
    padding-left: 42px;
  }
  #section2 .content-wrapper .image-wrapper .image {
    margin-top: -120px;
    margin-bottom: 48px;
    position: relative;
  }
  #section4 .content-wrapper .image-wrapper {
    margin-top: -130px;
    margin-left: 0px;
    margin-bottom: 90px;
    position: relative;
  }
}


@media screen and (min-width: 800px) {
  .menu-wrapper {
    display: flex;
  }
  .menu-wrapper a {
    display: flex;
    height: 63px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: 46px;
  }
  .menu-wrapper a::before {
    height: 5px;
    min-width: 100%;
    content: '';
  }
  .menu-wrapper a.active::before,
  .menu-wrapper a:hover::before {
    background-color: #000000;
    animation: animate-mpoint;
    animation-duration: 400ms;
  }
  .navi-toggle {
    display: none;
  }
  .wrapper-layout-area-text .content-wrapper {  /* Seite .page-template-text */
    /* text-seite */
    margin-top: 150px;
    margin-bottom: 150px;
    max-width: 820px;
  }
  #section1 .content-wrapper {
    margin-top: 160px;
    margin-bottom: 150px;
    width: 730px;
  }
  #section2 .content-wrapper {
    margin-top: 110px;
    margin-bottom: 150px;
    width: calc(100% - 12px);
    display: flex;
    flex-direction: row-reverse;
  }
  #section3 .content-wrapper {
    margin-top: 60px;
    margin-bottom: 380px;
  }
  #section3.less-distance-bottom .content-wrapper {
    margin-bottom: 90px;
    /* border-bottom: 1px solid lime; */
  }
  #section4 .content-wrapper {
    margin-bottom: 40px;
  }
  #section5 .content-wrapper {
    margin-top: 60px;
    margin-bottom: 160px;
  }
  #section6 .content-wrapper {
    margin-top: 160px;
    margin-bottom: 160px;
  }
  #section7 .content-wrapper {
    margin-top: 40px;
    margin-bottom: 160px;
  }
  #section2 .content-wrapper .image-wrapper {
    margin-left: 4%;  /* 4 % abstand */
    width: 46%;
    background-color: rgba(0,90,0,0);
    position: relative;
    overflow: visible;
  }
  #section2 .content-wrapper .image-wrapper .image {
    top: -256px;
    position: absolute;
  }
  #section4 .content-wrapper .image-wrapper {
    margin-top: -245px;
    margin-left: 0px;
    margin-bottom: 136px;
    width: 80%;
    background-color: rgba(0,90,0,0);
    position: relative;
    overflow: visible;
  }
  .image.rearranged {
    transform: scale(0.8);
    opacity: 0.04;
    /* opacity: 0.6; */
  }
  .image.rearranged.faded-in {
    transform: scale(1);
    opacity: 1;
    animation: fadeInImage;
    animation-duration: 800ms;
  }
  .image.rearranged.faded-out {
    transform: scale(0.9);
    opacity: 0.04;
    animation: fadeOutImage;
    animation-duration: 800ms;
  }
  #section2 .content-wrapper .text {
    background-color: rgba(0,0,30,0);
    width: 50%; /* plus 4 % abstand */
  }
  @media screen and (max-width: 1240px) {
    #section2 .content-wrapper .image-wrapper .image {
      top: -14vw;
    }
    @media screen and (max-width: 1020px) {
      #section2 .content-wrapper .image-wrapper .image {
        top: unset;
        position: relative;
      }
    }
  }
  @media screen and (max-width: 920px) {
    .menu-wrapper a {
      font-size: calc(2vw);
      margin-right: calc(2.7vw);
    }
    #langselect {
      right: 16px;
    }
  }
}

@keyframes animate-mpoint {
  0% {
    min-width: 0.5%;
  }
  100% {
    min-width: 100%;
  }
}
@keyframes fadeInImage {
  0% {
    opacity: 0.04;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeOutImage {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.04;
    transform: scale(0.9);
  }
}

@media screen and (max-width: 859px) {
  #section1 .address-block { display: none; }
}
@media screen and (min-width: 860px) {
  #section1 .address-block {
    /* border: 1px dotted red; */
    position: absolute;
    top: 0px;
    right: 12px;
    width: 288px;
    background-color: #f9f9f9;
    -webkit-box-shadow: 0px 5px 9px 3px rgba(0,0,0,0.2); 
    box-shadow: 0px 5px 9px 3px rgba(0,0,0,0.2);
    /* background-image: url(../images/dummies/address-block.png); */
  }
  #section1 .address-block > div {
    /* background-color: rgba(0,68,0,0.21); */
    margin: 60px 21px 44px 40px;
  }
  #section1 .address-block p {
    font-size: 16px;
    margin-top: 24px;
  }
  #section1 .address-block h3 + p {
    margin-top: 30px;
  }
}

.wrapper-layout-area.footer .layout-centered {
  border-top: 1px solid #000000;
}
.wrapper-layout-area.footer .layout-centered > div:nth-child(1) {
  background-color: rgba(0,125,0,0);
  font-family: 'Merri-Regular';
}
.wrapper-layout-area.footer .layout-centered > div:nth-child(2) p {
  display: inline;
  margin: 0px;
}
@media screen and (max-width: 799px) {
  .wrapper-layout-area.footer .layout-centered {
    width: calc(100% - 54px);
    margin-top: 60px;
    margin-bottom: 56px;
  }
  .wrapper-layout-area.footer .layout-centered > div:nth-child(1) {
    margin-top: 44px;
    text-align: center;
  }
  .wrapper-layout-area.footer .layout-centered > div:nth-child(2) {
    margin-top: 20px;
    text-align: center;
  }
  .wrapper-layout-area.footer a {
    display: inline-block;
    margin: 0px 28px 0px 28px;
  }
}
@media screen and (min-width: 800px) {
  .wrapper-layout-area.footer .layout-centered {
    display: flex;
    margin-bottom: 60px;
  }
  .wrapper-layout-area.footer .layout-centered > div {
    margin-top: 30px;
    width: 50%;
  }
  .wrapper-layout-area.footer .layout-centered > div:nth-child(2) {
    display: flex;
    justify-content: flex-end;
  }
  .wrapper-layout-area.footer a {
    display: inline-block;
    margin-left: 46px;
  }
}


@media screen and (max-width: 799px) {
  .indented {
    margin-left: 27px;
    width: calc(100% - 54px);
  }
}
@media screen and (min-width: 800px) {
  .indent-right { /* high res */
    width: 90.2%;
  }
  .indented {
    margin-left: 8%;
    width: 92%;
  }
  @media screen and (max-width: 1200px) {
    .indent-right { /* mid high res */
      width: calc(100% - 4vw);
    }
    .indented {
      margin-left: calc(4vw - 1px);
      width: calc(100% - 4vw);
    }
  }
}

/* text-seite */
.page-template-text h1 + p {
  margin-top: -12px;
}
.page-template-text h2 + p {
  margin-top: 0px;
}
.page-template-text p + ul {
  margin-top: -16px;
}
.page-template-text h2 {
  font-family: 'Merri-Light';
  font-size: 30px;
}
.page-template-text p + h2 {
  margin-top: 80px;
}
@media screen and (max-width: 799px) {
  .page-template-text h2 {
    font-size: 24px;
    line-height: 1.34;
  }
  .page-template-text h1 + p {
    margin-top: -12px;
  }
  .page-template-text h2 + p {
    margin-top: -6px;
  }
  .page-template-text p + h2 {
    margin-top: 68px;
  }
}

.info-number {
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(100, 13, 64);
  height: 18px;
  width: 18px;
  font-size: 15px;
  border-radius: 50%;
  position: absolute;
  font-family: 'PlexSans-Regular';
  font-weight: 300 !important;
  padding-bottom: 2px;
}
.wrapper-layout-area .info-number {
  left: 24px;
  top: 21px;
}
.menu-wrapper .info-number {
  left: -20px;
  top: 25px;
}

.menu-wrapper a {
  position: relative;
}
.perm-to-config {
  color: #FFFFFF !important;
  display: inline-block;
  background-color: #6A6F7B;
  font-size: 14px;
  border-radius: 12px;
  position: absolute;
  font-family: 'PlexSans-Regular';
  font-weight: 300 !important;
  padding: 0px 8px 2px 8px;
  right: 4px;
  top: 8px;
  z-index: 301;
}