@font-face {
    font-family: 'Gilroy ExtraBold';
    src: url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.eot'); /* IE9 Compat Modes */
    src: url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.woff') format('woff'), /* Modern Browsers */
    url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.svg#d06325052c5113784af338ada63fb512') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  700;
}
@font-face {
    font-family: 'Gilroy Light';
    src: url('/fileadmin/templates/fonts2017/Gilroy-Light.eot'); /* IE9 Compat Modes */
    src: url('/fileadmin/templates/fonts2017/Gilroy-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fileadmin/templates/fonts2017/Gilroy-Light.woff') format('woff'), /* Modern Browsers */
    url('/fileadmin/templates/fonts2017/Gilroy-Light.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('/fileadmin/templates/fonts2017/Gilroy-Light.svg#d06325052c5113784af338ada63fb512') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  200;
}
@font-face {
    font-family: 'Gilroy Medium';
    src: url('/fileadmin/templates/fonts2017/Gilroy-Medium.eot'); /* IE9 Compat Modes */
    src: url('/fileadmin/templates/fonts2017/Gilroy-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fileadmin/templates/fonts2017/Gilroy-Medium.woff') format('woff'), /* Modern Browsers */
    url('/fileadmin/templates/fonts2017/Gilroy-Medium.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('/fileadmin/templates/fonts2017/Gilroy-Medium.svg#d06325052c5113784af338ada63fb512') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  400;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/fileadmin/templates/fonts2017/Gilroy-Regular.eot'); /* IE9 Compat Modes */
    src: url('/fileadmin/templates/fonts2017/Gilroy-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fileadmin/templates/fonts2017/Gilroy-Regular.woff') format('woff'), /* Modern Browsers */
    url('/fileadmin/templates/fonts2017/Gilroy-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('/fileadmin/templates/fonts2017/Gilroy-Regular.svg#d06325052c5113784af338ada63fb512') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  400;
}

.grecaptcha-badge {
    display:none;
}


body,html{
    background-color:#FFFFFF;
    font-family:'Gilroy',Arial,sans-serif;
    font-size:16px;
    letter-spacing: 0.03em;
    line-height:1.4;
    height:100%;
    color:#000000;
    padding:0;
    margin:0;
    -webkit-text-size-adjust: 100%;

}
body.hdview{
    font-size:18px;
}
body.openmenu{
    overflow: hidden;
}
div.loader{
    display:none!important;
}
h1,
h2,
.title{
    font-size:32px;
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    font-weight: normal;
    line-height: 1.1em;
    transform: translateX(-2px);
}
h1,
.title {
    color:#651d32;
}
h1 {
  margin:1em 0 1em 0;
}
h2 {
    color:#c7afb6;
    margin:0.5em 0;
}
/* .frame-layout-3 h2 {
    font-size:18px;
} */
h2 > a,
h2 > a:hover {
    color:#c7afb6;
}
h2{
    font-size: 22px;
}
h3 {
    color:#651d32;
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    font-size:24px;
    font-weight:normal;
    margin-bottom:1em;
}
p,
ul,
table {
    margin-bottom:1.5em;
}

ul {
    padding-left:1.1em;
}

strong {
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
}

button {
    background:none;
    color:inherit;
    border:none;
    padding:0;
    font:inherit;
    cursor:pointer;
    outline:inherit;
}

.title64 {
    font-size:32px;
    line-height:1.1em
}

.title54 {
    font-size:24px;
    line-height:1.1em
}

.title30 {
    font-size:24px;
    line-height:1.1em
}

.green,
.green a {
    color:#651d32;
}

.lightgreen,
.lightgreen a {
    color:#c7afb6;
}

.bgGrey {
    background-color:#E6E6E6;
    padding:2em 0;
    margin-top:4em;
}
.bgGrey h2 {
    color:#651d32;
    font-size:24px;
    margin:1em 0;
}

.fadein {
  opacity:0;
  transform: translateY(50px);
}

.visible {
  opacity:1;
  transform: translateY(0px);
  -webkit-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
  -moz-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
  -o-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
  transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
}

/* .frame {
    margin-top:6rem;
    margin-bottom:6rem;
} */

.frame:first-of-type {
    margin-top:0rem;
}

.wrapper,
.frame-default,
.frame-narrow,
.frame-wide,
.frame-col-md-5,
.frame-col-md-7,
.frame-col-md-9 {
    width:90%;
    margin-left:5%;
    margin-right:5%;
}

article > .row.wrapper{
    padding-bottom: 4em;
}

.frame-col-md-8 {
    margin-left:5%;
    width:60%;
}

.frame-layout-1 {
    border-left:1px solid #651d32;
    padding-left:20%;
    width:80%;
}

.frame-layout-2 {
    border-left:1px solid #651d32;
    margin-bottom:1em;
    margin-left:10%;
    padding-bottom:5em;
    padding-left:10%;
}

.frame-layout-2 .ce-textpic.ce-right .ce-bodytext,
.frame-layout-2 .ce-textpic.ce-right .ce-gallery {
    margin-left:0;
}
.frame-layout-2 .ce-textpic.ce-right .ce-bodytext {
    margin-right:25%;
}
.frame-layout-2 .ce-textpic.ce-right .ce-gallery {
    width:100%;
    margin-bottom:0;
}

.frame-space-before-1em {
    margin-top:1em;
}

.frame-space-before-2em {
    margin-top:2em;
}

.frame-space-before-3em {
    margin-top:3em;
}

.frame-space-before-4em {
    margin-top:4em;
}

.frame-space-before-5em {
    margin-top:5em;
}

.frame-space-after-1em {
    margin-bottom:1em;
}

.frame-space-after-2em {
    margin-bottom:2em;
}

.frame-space-after-3em {
    margin-bottom:3em;
}

.frame-space-after-4em {
    margin-bottom:4em;
}

.frame-space-after-5em {
    margin-bottom:5em;
}

.icon {
    display:block;
    width:38px;
}

article{
    width:100%;
    margin:auto;
    position:relative;
    /*padding-top:220px;*/

}
a {
    color:#c7afb6;
    text-decoration:none;
    outline:none;
}
a:hover {
    color: #651d32;
}
img {
    border:none;
}
.bullet{
    position:relative;
    padding-right:1em;
}
.bullet::after{
    position: absolute;
    right: 0;
    content:"•";
    width: 1em;
    height: 1em;
    text-align: center;
}
img{
    display:block;
    width:100%;
    height:auto;
}
.bold,
b{
    font-family:"Gilroy ExtraBold",Arial,sans-serif;
    font-weight: normal;
}
address{
    font-style:normal;
}
#footerContainer {
    background-color:#651d32;
    bottom:0;
    position: absolute;
    width:100%;
    z-index:10;
}
#footerContainer p {
    margin-bottom:0.5rem;
}
#footerContainer p:last-child {
    margin-bottom:0;
}
#footerContainer ul {
    list-style: none;
    margin:0;
    padding:0;
}
footer{
    padding: 2rem 0;
}

footer,footer a,footer a:visited,footer a:hover{
    color:#fff;
}
nav ul,.fancybox-inner ul{
    list-style-type:none;
    padding:0;
    margin:0;
}

.btn {
    display:inline-block;
    border:1px solid #651d32;
    padding:5px 40px;
    color:#651d32;
    cursor: pointer;
    transition-property:all;
    transition-duration:300ms;
}
.btn:hover,
.btn-active {
    background-color:#651d32;
    color:#FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing:border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.colContainer .row {
    display:flex;
    display:-ms-flexbox;
    flex-wrap:wrap;
    flex-direction:column;
    -ms-flex-wrap:wrap;
    gap:1rem;
}

.colText {
    display:flex;
    flex-direction: column;
    gap:1rem;
}

.col-xs-5,
.col-xs-10 {
    margin:0.5em 0;
}

.col-xs-5 {
    width:50%;
}

.col-xs-10 {
    width:100%;
}

/* Header */

#headerContainer {
    background-color:rgba(255,255,255,1);
    padding:15px 0;
    position:fixed;
    width:100%;
    z-index:15;
    /* backdrop-filter: blur(8px); */
    /* border-bottom:1px solid #c7afb6; */
}

#headerContainer header.wrapper {
    display:flex;
    display:-ms-flexbox;
    justify-content: space-between;
    -ms-flex-pack:justify;
    align-items: center;
    -ms-flex-align:center;

}

/* NAVI ICON begin */

#menuicon {
    width: 25px;
    height: 17px;
    position: relative;
    cursor: pointer;
}

#menuicon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #651d32;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#menuicon span:nth-child(1) {
    top: 0px;
}

#menuicon span:nth-child(2),#menuicon span:nth-child(3) {
    top: 7px;
}

#menuicon span:nth-child(4) {
    top: 14px;
}

.openmenu #menuicon span:nth-child(1) {
    top: 7px;
    width: 0%;
    left: 50%;
}

.openmenu #menuicon span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.openmenu #menuicon span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.openmenu #menuicon span:nth-child(4) {
    top: 7px;
    width: 0%;
    left: 50%;
}

/* NAVI ICON end */
.logo {
    width:100px;
}
.logo a {
    display:block;
}
.openmenu .mainmenu-container {
    transform:translate(0,0);
    -webkit-transform:translate(0,0);
}

.mainmenu-container {
    position: absolute;
    z-index:20;
    min-height: calc(100vh - 75px);
    background-color: rgba(101,29,50,0.95);
    width: 100%;
    top: 75px;
    left: 0;
    opacity: 1;
    transform:translate(-100%,0);
    -webkit-transform:translate(-100%,0);
    -webkit-transition: transform 500ms cubic-bezier(0.750, 0.000, 0.250, 1.000);
    -moz-transition: transform 500ms cubic-bezier(0.750, 0.000, 0.250, 1.000);
    -o-transition: transform 500ms cubic-bezier(0.750, 0.000, 0.250, 1.000);
    transition: transform 500ms cubic-bezier(0.750, 0.000, 0.250, 1.000);
}
ul.mainnavi {
    display: block;
    margin:60px calc(5% + 22px) 0 calc(5% + 22px);
}
ul.mainnavi li {
}
ul.mainnavi a {
    color:#FFFFFF;
    display:inline-block;
    font-family: 'Gilroy Light';
    font-size:30px;
    margin:0.3em 0;
    text-transform: uppercase;
}
ul.mainnavi a:hover {
    text-decoration:none;
}
ul.mainnavi a.active {
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
}

/* Main */
#mainContainer {
    min-height:100%;
    position: relative;
    padding-bottom:410px;
    padding-top:75px;
    z-index:5;
}
#gridContainer {
    display:none;
    height:100%;
    position:fixed;
    left:0;
    top:0;
    width:100%;
}
#gridContainer .gridRow {
    align-items: stretch;
    -ms-flex-align:stretch;
    display:flex;
    display:-ms-flexbox;
    height:100%;
    justify-content: space-between;
    -ms-flex-pack:justify;
}
#gridContainer .grid-sm-hide {
    display:none;
}
#gridContainer .grid-sm-2 {
    border-left:1px solid #E6E6E6;
    width:20%;
}
#gridContainer .grid-sm-2:first-child {
    border:none;
}
p.teaser {
    color:#651d32;
    font-size:18px;
    margin-bottom:4em;
    margin-top:1.5em;
}
header + p.teaser {
    margin-top:-1.5em;
}
p.teaser a {
    color:#000000;
}
.phi-projects-show h1 {
    margin:0;
}

.phi-projects-show h3 {
    color:#c7afb6;
    letter-spacing: 0.03em;
    margin:0.5em 0;
}

.phi-projects-show .firstItemsContainer .project-item:first-child h2 {
    margin-top:1em;
}

.phi-projects-main.overview{
    height:100%;
    margin-bottom:2em;
    overflow: hidden;
    position: relative;
}
.overview .project-item {
    width: 100%;
    background-position:center;
    background-size:cover;
    padding-bottom:66%;/* results of an image ration of 1920 x 1080 */
}
.overview .project-item .project-desc,
.overview .project-desc {
  font-family: 'Gilroy ExtraBold',Arial,sans-serif;
  font-size:32px;
  line-height:1.1em;
  color:#FFFFFF;
  position:absolute;
  bottom:10%;
  left:5%;
  right:5%;
  pointer-events:none;
}
.overview .project-item .project-desc-shadow,
.overview .project-desc-shadow {
  color:#651d32;
  left:calc(10% + 2px);
  bottom:calc(23% - 2px);
  mix-blend-mode:multiply;
  display:none;
}
.overview .overlay-container{
    display: none;
}
.tx-phi-projects {
    width: 100%;
    position: relative;
}

.tx-phi-projects .phi-projects-main.shuffle .gridsizer,
.tx-phi-projects .phi-projects-main.shuffle .project-item {
    width:100%;
}
.tx-phi-projects .phi-projects-main.shuffle .project-item {
    margin-bottom:1%;
}
.tx-phi-projects .phi-projects-main.shuffle a.imagelink img {
    display: block;
}
.tx-phi-projects .phi-projects-main.shuffle .image {
    overflow: hidden;
    position:relative;
}
.tx-phi-projects .phi-projects-main.shuffle a,
#instafeed a {
    opacity: 0.9;
    padding:15px 0;
    position: absolute;
    inset: 0;
    display:flex;
    align-items: end;
    /* transform: translate(0, 101%);
    -webkit-transform: translate(0, 101%); */
    transition: all 0.7s;
}
.tx-phi-projects .phi-projects-main.shuffle h2,
#instafeed h2 {
    background-color: #651d32;
    font-size:16px;
    display:inline-block;
    padding: 10px 20px;
    margin:0;
    color: #fff;
}
.tx-phi-projects .phi-projects-main.shuffle .project-item {
    position:relative;
    width: 100%;
    float: left;
    overflow: hidden;
    cursor: pointer;
}
.tx-phi-projects .phi-projects-main.shuffle .project-item .project-image,
#instafeed .insta-image {
    height: 0;
}
.tx-phi-projects .phi-projects-main.shuffle .project-item.display2to1 .project-image {
    padding-bottom:calc(50% - 0.25vw);
}
.tx-phi-projects .phi-projects-main.shuffle .project-item.display1to1 .project-image,
.tx-phi-projects .phi-projects-main.shuffle .project-item.display2to2 .project-image,
#instafeed .insta-image {
    padding-bottom:100%;
}
.tx-phi-projects .phi-projects-main.shuffle .project-item.display1to2 .project-image {
    padding-bottom:calc(200% + 0.5vw);
}
.tx-phi-projects .phi-projects-main.shuffle .project-item img,
#instafeed img {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
}
.menuPages .menuPagesText,
.tx-phi-projects .firstItemsContainer .project-item .overlay-container {
    margin:0 20% 0 5%;
}
.menuPages .menuPagesImage,
.tx-phi-projects .firstItemsContainer .project-item .image {
    margin-bottom:6em;
    width:80%;
}
.menuPages .menuPagesItem:nth-child(even) .menuPagesImage,
.tx-phi-projects .firstItemsContainer .project-item:nth-child(even) .image  {
    margin-left:20%;
}
.menuPages .menuPagesItem:nth-child(even) .menuPagesText,
.tx-phi-projects .firstItemsContainer .project-item:nth-child(even) .overlay-container {
    margin:0 5% 0 20%;
}
.tx-phi-projects .detailItem {
  margin:1em 0;
}

.tx-phi-projects .projectfilter {
    display:flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style-type:none;
    padding:0;
    margin:0 5% 2rem 5%;
}

.flickity-page-dots{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns: 1fr;
    gap:1px;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    left: 0;
    right:0;
}
.flickity-page-dots li{
    background-color:rgba(255,255,255,0.5);
    height: 6px;
    position: relative;
    cursor: pointer;
    transition-property: all;
    transition-duration:1000ms;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}
.flickity-page-dots li::marker {
    content:none;
}
.flickity-page-dots li.is-selected{
    background-color: rgba(101,29,50, 1);
}
.flickity-prev-next-button {
    display:none;
    position: absolute;
    background-color:transparent;
    border: none;
    cursor: pointer;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
}
.flickity-prev-next-button.previous {
    left: 2%;
}
.flickity-prev-next-button.next {
    right: 2%;
}
.flickity-prev-next-button svg {
    fill:#FFFFFF;
}
.flickity-prev-next-button:disabled {
    display:none;
}
/*content elements */
.whitebox{
    background-color: #fff;
}
.darkgreybox{
    background-color:#651D32;
    color: #fff;
}
.darkgreybox h2{
    padding: 80px 0 40px 0;
    font-size: 48px;
}
.yellowbox em,
.darkgreybox em{
    font-size: 48px;
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    font-weight: normal;
    font-style: normal;

}

/*ext*/
.teamcontainer{
    position: relative;
    width: 100%;
    margin: 0 auto 6em auto;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap:40px;
}
.team-item{
    width: 100%;
    vertical-align: top;
}
.team-item .description{
    margin-top: 1em;
}
.team-item .description p:nth-child(2){
    min-height: 50px;
}
.team-item p{
    padding-bottom: 2%;
    margin: 0;
}
.zsf{
    margin:auto;
    padding-top:0px;
    max-width: 550px;
    clear:both;
    position: relative;
}
.zsf img{
    position: absolute;
    top: -50px;
}
.s16-logo{
    margin: auto;
    width: 270px;
    padding:32px 0 150px 0;
}
.s16-logo img{transform:scale(1,1);-webkit-transform:scale(1,1);transition:all 0.5s;}
.s16-logo:hover img{transform:scale(1.05,1.05);-webkit-transform:scale(1.05,1.05);transition:all 0.5s;}
/* project detail*/

.detail .textwrap{
    position: relative;
}
.detail h2{
    font-size:2em;
}
.detail .description{
    margin:0em 0 1em 0;
}

.detail .images .image{
    padding: 0 5%;
    margin:0 auto 6px auto;
    width: 90%;
    max-width: 650px;
    box-sizing:content-box;
}
.detail .images .image img{
    display: block;
}

.competences{
    width: 100%;
    max-width: 650px;
    margin: auto;
    text-align: center;
}

.separator-text{
    padding:40px 0;
    text-align:center;
}
/*listnavi*/

.listnavi{
    width: 220px;
    max-width: 680px;
    margin: auto;
    padding: 0 0 60px 0;
}
.listnavi.allclosed{
    padding: 0 0 120px 0;
}
.listnavi a,
.competences li{
    width: 215px;
    margin:0 10px 10px 0;
    border:1px solid #646464;
    background-color: #fff;
    padding: 0px 0px 0px 20px;
    display: block;
    position: relative;
    line-height: 31px;
    height: 31px;
}
.competences li{
    border-right:1px solid #000000;
    display: inline-block;
    line-height:1em;
    padding:0 5px;
}
.listnavi a:nth-child(3){
    margin-right: 0px;
}
.listnavi a span{
    position: absolute;
    height: 1px;
    width: 7px;
    background-color: #646464;
    top: 15px;
    left: 6px;
}
.listnavi a span.vert{
    height: 7px;
    width: 1px;
    left: 9px;
    top:12px;
}
.listnavi a:hover,
.listnavi a.open,
.competences li.active{
    background-color:  #651D32;
    color: #fff;
    text-decoration: none;
    font-family:'Gilroy',Arial,sans-serif;
    font-weight: normal;
}
.listnavi a:hover span,
.listnavi a.open span{
    background-color:  #fff;
}
.listnavi a.open span.vert{
    opacity: 0;
}
/* project navi */
.project-item.image{
    position:relative;
}
.projectNavigator {
    margin-bottom:4em;
    margin-top:4em;
}
.projectNavigator .wrapper {
  display:flex;
  display:-ms-flexbox;
  justify-content: space-between;
}
.arrow-left a,
.arrow-right a{
    color:#c7afb6;
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    font-size:18px;
    line-height:1.1em;
}
.arrow-right a {
    text-align:right;
}
.arrow-left span,
.arrow-right span {
    display:inline-block;
    vertical-align: middle;
}
.arrow-left a:before,
.arrow-right a:after {
    background-image:url(/fileadmin/templates/baudenkmal/img/arrow.svg);
    background-size:contain;
    background-repeat: no-repeat;
    content:"";
    display:inline-block;
    height:36px;
    vertical-align: middle;
    width:19px;
}
.arrow-left a:before {
    margin-right:0.5em;
    transform:rotate(180deg);
}
.arrow-right a:after {
    margin-left:0.5em;
}
#googlemap{
    height: 485px;
    width: 100%;
}
/*INSTAFEED */
#instafeed{
    display:grid;
    gap: 1vw;
}
#instafeed .insta-item,
#instafeed .insta-image {
    position:relative;
}
#instafeed .insta-item {
    overflow:hidden;
}
a.more{
    clear: both;
    width: 215px;
    margin:10px auto;
    border:1px solid #646464;
    background-color: #fff;
    padding: 0px 0px 0px 20px;
    display: block;
    line-height: 31px;
    height: 31px;

}
.hide{
    display: none;
}

/* FORM */
.tx-pmx-order input,
.tx-pmx-order textarea{
    padding: 10px 0;
    border:0px solid #fff;
    border-bottom:1px solid #651d32;
    border-radius:0;
    background-color: transparent;
    color:#651d32;
    font-size: 1em;
    display:block;
    font-family: "Gilroy",Arial,sans-serif;
    resize: none;
    width:100%;
}
.tx-pmx-order textarea{
    overflow:auto;
}
.bgGrey .tx-pmx-order input,
.bgGrey .tx-pmx-order textarea {
    border-bottom:1px solid #FFFFFF;
}
.tx-pmx-order input.submit{
    border:1px solid #651d32;
    padding:5px 40px;
    color: #651d32;
    cursor: pointer;
    margin-top:1.5em;
    width:auto;
    -webkit-appearance: none;
}
.tx-pmx-order input.submit:hover{
    background-color: #651d32;
    color: #FFFFFF;
}
.tx-pmx-order input:focus,
.tx-pmx-order input:hover,
.tx-pmx-order textarea:focus,
.tx-pmx-order textarea:hover{
    color: #651d32;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#651d32;
}
::-moz-placeholder { /* Firefox 19+ */
  color:#651d32;
}
:-ms-input-placeholder { /* IE 10+ */
  color:#651d32;
}
:-moz-placeholder { /* Firefox 18- */
  color:#651d32;
}

input.error::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#c8192d;
}
input.error::-moz-placeholder { /* Firefox 19+ */
  color:#c8192d;
}
input.error:-ms-input-placeholder { /* IE 10+ */
  color:#c8192d;
}
input.error:-moz-placeholder { /* Firefox 18- */
  color:#c8192d;
}

/* CONTENT ELEMENTS*/
.ce-textpic.ce-left .ce-bodytext {
    margin: 0 20% 0 5%;
}
.ce-textpic.ce-left .ce-gallery,
.ce-textpic.ce-right .ce-gallery {
    margin-bottom: 6em;
    width:80%;
}
.ce-textpic.ce-right .ce-bodytext {
    margin:0 5% 0 20%;
}
.ce-textpic.ce-right .ce-gallery {
    margin-left:20%;
}
.ce-inner{
    position: relative;
}
.ce-row{
    width: 100%;
}
.error{
    border-bottom:1px solid #651D32;
    color:#651d32;
}
.detail .images{
    padding-bottom: 65px;
}
/*
.contenttable{
    width: 90%;
    max-width: 650px;
    margin: auto;
    border-spacing: 0px;
    border-collapse: separate;
}
.contenttable td{
    padding: 0;
    font-family: "Gilroy",Arial,sans-serif;
    font-size: 1em;
}
.contenttable td:first-child{
    width: 30%;
}
*/
.contenttable{
    table-layout: auto;
    border-spacing: 0px;
    border-collapse: collapse;
    width:100%;
}

.contenttable td {
    border-bottom:1px solid #651d32;
    vertical-align: top;
    padding-bottom:0.25rem;
    padding-top:0.25rem;
}

.contenttable td:first-child{
    color:#651d32;
    font-family: 'Gilroy ExtraBold';
    padding-right:0.5rem;
}


.detail .description,
.detail .description2 {
    padding:0 10px;
}
.ce-bodytext .text-right{
    text-align: right;
}

.cookie-banner {
    background-color:#E6E6E6;
    bottom:0;
    font-size:14px;
    left:0;
    padding:1em 0;
    position:fixed;
    transform:translateY(100%);
    width:100%;
    z-index:15;
    -webkit-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
    -moz-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
    -o-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
    transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
}

.cookie-banner.show {
  transform:translate(0);
}

.cookie-banner p {
    margin:0;
}

.cookie-banner a.accept-cookie {
    background-color:#651d32;
    border-radius:5px;
    color:#FFFFFF;
    display:inline-block;
    padding:0.25em 0.5em;
}

@media only screen and (min-width:768px) {

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

    h1 {
        font-size:48px;
    }
    h2,
    h3 {
        font-size:32px;
    }
    /* .frame-layout-3 h2 {
        font-size:30px;
    } */

    .title64 {
        font-size:64px;
    }

    .title54 {
        font-size:30px;
    }

    .title30 {
        font-size:30px;
    }

    .col-xs-5,
    .col-xs-10 {
        margin:1em 0;
    }

    .col-sm-3 {
        width:37.5%;
    }

    .col-sm-5 {
        width:50%;
    }

    .logo {
        margin-left:-42px;
        width:165px;
    }

    .mainmenu-container {
        top:104px;
        min-height:calc(100vh - 104px);
    }

    .wrapper,
    .frame-default,
    .frame-narrow,
    .frame-wide,
    .frame-col-md-5,
    .frame-col-md-7,
    .frame-col-md-9 {
        width:auto;
        margin-left:calc(5% + 42px);
        margin-right:calc(5% + 42px);
    }

    .frame-col-md-8 {
        margin-left:calc(5% + 42px);
    }

    ul.mainnavi {
        margin:60px calc(5% + 42px) 0 calc(5% + 42px);
    }

    /* Main */

    #mainContainer {
        padding-bottom:349px;
        padding-top:104px;
    }
    .row {
        display:flex;
        display:-ms-flexbox;
        justify-content: space-between;
    }
    .overview .project-item .project-desc,
    .overview .project-desc {
      font-size:64px;
    }
    .overview .project-item .project-desc,
    .overview .project-desc {
      left: calc(5% + 42px);
    }
    .overview .project-item .project-desc-shadow,
    .overview .project-desc-shadow {
      left:calc(10% + 4px);
      bottom:calc(23% - 4px);
    }
    .projectNavigator {
        margin-top:8em;
    }
    .arrow-left a,
    .arrow-right a {
        font-size:32px;
    }
    .arrow-left a:before,
    .arrow-right a:after {
        height:56px;
        width:30px;
    }
    .teamcontainer{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
    }
    .team-item.total2{
        width: 50%;
    }
    .team-item.total2:first-child{
        padding-left: 16%;
    }
    .team-item.total2:last-child{
        padding-right: 16%;
    }
    .tx-phi-projects .phi-projects-main.shuffle .project-item {
        margin-bottom:0.5vw;
    }
    .tx-phi-projects .phi-projects-main.shuffle .guttersizer {
        width:0.5%;
    }
    .tx-phi-projects .phi-projects-main.shuffle .gridsizer,
    .tx-phi-projects .phi-projects-main.shuffle .project-item,
    .tx-phi-projects .phi-projects-main.shuffle .display1to1 {
        width: 33%;
    }
    .tx-phi-projects .phi-projects-main.shuffle .project-item.display2to1,
    .tx-phi-projects .phi-projects-main.shuffle .project-item.display2to2 {
        width: 66.5%;
    }
    .tx-phi-projects .projectfilter {
        margin:0 calc(5% + 42px) 2rem calc(5% + 42px);
    }
    .ce-textpic.ce-left .ce-bodytext,
    .menuPages .menuPagesText,
    .tx-phi-projects .firstItemsContainer .project-item .overlay-container {
        margin:0 20% 0 calc(5% + 42px);
    }
    .ce-textpic.ce-right .ce-bodytext,
    .menuPages .menuPagesItem:nth-child(even) .menuPagesText,
    .tx-phi-projects .firstItemsContainer .project-item:nth-child(even) .overlay-container {
        margin:0 calc(5% + 42px) 0 20%;
    }
    .detail .competences{
        padding: 20px 0 120px 0;
    }
    .listnavi{
        width: 100%;
    }
    .listnavi a{
        display: inline-block;
    }
    body.transparent header{
        position:absolute;
        top:0;
        left:0;
        width:100%;
        background-color:rgba(233,233,233,0.7);
        z-index:2;
    }
    #c91 {
        height:calc(100% - 2em);
    }
    #googlemap {
        height:100%;
    }
    #instafeed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5vw;
    }
    #footerContainer {
        font-size:15px;
    }
    footer {
        padding:4rem 0;
    }
    .colText {
        flex-direction: row;
        flex-wrap:wrap;
        column-gap: 2%
    }
    .colText > div {
        width:49%;
    }
}
@media only screen and (min-width: 1024px) {
    html,body {
        font-size:18px;
    }
    h1 {
        font-size:64px;
    }
    h2, h3 {
        font-size: 44px;
    }
    p.teaser {
        font-size:24px;
    }
    .overview .project-item .project-desc,
    .overview .project-desc {
        font-size:78px;
    }
    .colContainer .row {
        flex-direction: row;
        align-items: end;
        gap:2rem;

    }
    .colText {
        justify-content: space-between;
        align-items:end;
        column-gap: 2rem;
    }
    .colText > div {
        width:auto;
    }
    #mainContainer {
        padding-bottom:221px;
    }
}
@media only screen and (min-width: 1280px) {
    .title54 {
        font-size:54px;
        line-height:1.1em
    }

    .title30 {
        font-size:30px;
        line-height:1.1em
    }
    .bgGrey h2 {
        font-size:30px;
        margin-bottom:2em;
    }
    .menuPagesText.visible,
    .ce-bodytext.visible,
    .project-item .overlay-container.visible {
        transition-delay: 250ms;
    }
    .wrapper,
    .frame-default,
    .frame-wide {
        margin-left:6.25%;
        margin-right:6.25%;
        width:87.5%;
    }
    .frame-narrow {
        margin: auto;
        max-width: 940px;
    }
    .frame-wide {
        margin-left:auto;
        margin-right:auto;
        max-width: 1560px;
    }
    .col-md-1 {
        width: 7.142%;
    }
    .col-md-4 {
        width: 28.571%;
    }
    .col-md-5 {
        width: 35.714%;
    }
    .col-md-7 {
        width: 50%;
    }
    .col-md-8 {
        width: 57.143%;
    }
    .frame-col-md-9 {
        margin-left:6.25%;
        width:50%;
    }
    .frame-col-md-8 {
        margin-left:6.25%;
        width:50%;
    }
    .frame-layout-1 {
        padding-left:37.5%;
        width:87.5%;
    }
    .frame-layout-2 {
        border-left:none;
        margin-bottom:0;
        margin-left:0;
        padding-bottom:0;
        padding-left:0;
    }
    .frame-layout-2 .ce-textpic.ce-right .ce-bodytext {
        display:flex;
        flex-direction: column;
        margin-right:6.25%;
        margin-left:6.25%;
        margin-bottom:0;
    }
    .frame-layout-2 .ce-textpic.ce-right .ce-bodytext:after {
        border-left:1px solid #651d32;
        content:"";
        display:block;
        flex-grow: 1;
    }
    .frame-layout-2 .ce-textpic.ce-right .ce-gallery {
        width:56.25%;
        margin-bottom:6em;
    }
    .frame-layout-4{
        margin: auto;
        max-width: 900px;
        position: relative;
    }
    .overview .project-item{
        width: 100%;
        background-size:cover;
        height:calc(100vh - 210px);
        padding-bottom:0;
    }
    .overview .project-item .project-desc,
    .overview .project-desc {
      font-size:90px;
      left:6.25%;
      bottom:15%;
    }
    .overview .project-item .project-desc-shadow,
    .overview .project-desc-shadow {
      left:calc(6.25% + 4px);
      bottom:calc(23% - 4px);
    }
    #headerContainer {
        padding:30px 0;
    }
    #menuicon{
        display: none;
    }
    .mainmenu-container{
        background-color: transparent;
        position: static;
        min-height: inherit;
        transform:none;
        width:auto;
    }
    ul.mainnavi {
        margin:0;
        width:auto;
    }
    ul.mainnavi li{
        display: inline-block;
        padding: 0;
        margin-left: 1.5em;
    }
    ul.mainnavi a{
        color:#000000;
        font-size:18px;
        margin:0;
        text-align:center;
    }
    ul.mainnavi a:hover,
    ul.mainnavi a.active {
        color:#651d32;
        font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    }
    ul.mainnavi a::before {
        content: attr(title);
        font-family: 'Gilroy ExtraBold',Arial,sans-serif;
        height: 1px;
        white-space: nowrap;
        visibility: hidden;
        display: block;
    }
    #gridContainer .grid-sm-2 {
        width:12.5%;
    }
    #gridContainer .grid-sm-hide {
        display:block;
    }
    /* Main */

    #mainContainer {
        padding-top:134px;
    }
    p.teaser {
        margin-bottom:5em;
    }
    .menuPages .menuPagesItem {
        display:flex;
        display:-ms-flexbox;
    }
    .menuPages .menuPagesItem:nth-child(odd) {
        flex-direction: row-reverse;
        -ms-flex-direction:row-reverse;
    }
    .menuPages .menuPagesText,
    .menuPages .menuPagesItem:nth-child(even) .menuPagesText {
        margin:0 6.25% 0 6.25%;
        width:31.25%;
    }

    .menuPages .menuPagesImage {
        margin-bottom:7em;
    }

    .menuPages .menuPagesImage,
    .menuPages .menuPagesItem:nth-child(even) .menuPagesImage {
        width:56.25%;
        margin-left:0;
    }
    .phi-projects-show .firstItemsContainer,
    .phi-projects-show .detailContainer {
        margin-top:5em;
    }
    .menuPages h2,
    .tx-phi-projects .firstItemsContainer .project-item h2 {
        margin-top:0;
    }
    .tx-phi-projects .projectfilterContainer {
        margin:0;
        position:absolute;
        left:62.5%;
        top:-7em;
        width:auto;
        z-index:5;

    }
    .tx-phi-projects .phi-projects-list .firstItemsContainer .project-item,
    .tx-phi-projects .phi-projects-show .firstItemsContainer .project-item {
        display: flex;
        display: -ms-flexbox;
    }
    .tx-phi-projects .phi-projects-list .firstItemsContainer .project-item {
        flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
    }
    .tx-phi-projects .phi-projects-show .firstItemsContainer .project-item {
        flex-direction:row;
        -ms-flex-direction: row;
    }
    .phi-projects-show .firstItemsContainer .project-item:first-child h2 {
        margin-top:0;
    }
    .tx-phi-projects .firstItemsContainer .project-item .image {
        width:56.25%;
    }
    .tx-phi-projects .firstItemsContainer .project-item:nth-child(even) .image {
        margin-left:0;
    }
    .tx-phi-projects .firstItemsContainer .project-item:nth-child(even) .overlay-container,
    .tx-phi-projects .firstItemsContainer .project-item .overlay-container {
        margin:0 6.25% 6em 6.25%;
        width:31.25%;
    }
    .tx-phi-projects .firstItemsContainer .project-item:nth-child(even) {
        flex-direction: row;
        -ms-flex-direction: row;
    }
    .tx-phi-projects .phi-projects-main.shuffle a,
    #instafeed a {
        background-color:#651d32;
        transform:translateY(100%);
        transition-property: transform;
        transition-duration: 500ms;
        transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
        padding:0;
    }
    .tx-phi-projects .phi-projects-main.shuffle .project-item:hover a,
    #instafeed .insta-item:hover a {
        transform:translateY(0);
    }
    .tx-phi-projects .phi-projects-main.shuffle h2,
    #instafeed h2 {
        background-color:transparent;
        padding-top:15px;
        padding-bottom:15px;
    }
    .tx-phi-projects .phi-projects-main.shuffle .gridsizer,
    .tx-phi-projects .phi-projects-main.shuffle .project-item,
    .tx-phi-projects .phi-projects-main.shuffle .display1to1 {
        width: 19.6%;
    }
    .tx-phi-projects .phi-projects-main.shuffle .project-item.display2to1,
    .tx-phi-projects .phi-projects-main.shuffle .project-item.display2to2 {
        width: 39.7%;
    }
    .tx-phi-projects .detailContainer {
      position:relative;
    }
    .tx-phi-projects .detailContainer > .wrapper {
      margin-left:31.25%;
      margin-right:31.25%;
      width:37.5%;
    }
    .flickity-prev-next-button {
        display:block;
        height:70px;
        width:70px;
    }
    .content915 .logo{
        width: calc((100% - 915px) / 2);
    }
    .phi-projects-main.overview,
    .overview .project-item {
        /*height:100vh;	*/
        height:calc(100vh - 134px);

    }
    .projectNavigator {
      margin:0;
      position:absolute;
      top:0;
      width:100%;
    }
    .tx-phi-projects .itemsContainer.shuffle .project-item .image{
        overflow: hidden;
    }
    .tx-phi-projects .itemsContainer.shuffle .project-item .image img {
        transform:scale(1.0);
        transition: all .25s;
    }
    .tx-phi-projects .itemsContainer.shuffle .project-item:hover .image img  {
        transform:scale(1.1);
    }

    .tx-phi-projects .itemsContainer.shuffle .project-item .overlay-container::before {
        background-color:#651d32;
        content:"";
        position:absolute;
        top:0;
        right:0;
        bottom:0;
        left:0;
        opacity: 0;
        transition: all .25s;
    }
    .tx-phi-projects .itemsContainer.shuffle .project-item:hover .overlay-container::before {
        opacity: 1;
    }
    .tx-phi-projects .itemsContainer.shuffle .project-item:hover .overlay-container a{
        color:white;
    }
    .tx-phi-projects .itemsContainer.shuffle .project-item:nth-child(2n) .overlay-container, .tx-phi-projects .itemsContainer.shuffle .project-item .overlay-container{
        margin: 0;
        padding:0 5%;
        width: 50%;
    }
    .tx-phi-projects .projectfilter {
        gap:10px;
        margin-left:6.25%;
        margin-right:6.25%;
    }
    /* CONTENT ELEMENTS */

    .ce-textpic.ce-left,
    .ce-textpic.ce-right {
        display:flex;
        display: -ms-flexbox;

    }
    .ce-textpic.ce-left {
        flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
    }
    .ce-textpic.ce-left .ce-bodytext,
    .ce-textpic.ce-right .ce-bodytext {
        margin: 0 6.25% 6em 6.25%;
        width: 31.25%;
    }
    .frame-wide.frame-type-textmedia.frame-layout-3 .ce-textpic.ce-left .ce-bodytext {
        margin-right:0;
        width:37.5%;
    }
    .frame-wide.frame-type-textmedia.frame-layout-3 .ce-textpic.ce-right .ce-bodytext {
        margin-left:0;
        width:37.5%;
    }
    .ce-textpic.ce-left .ce-gallery,
    .ce-textpic.ce-right .ce-gallery {
        width: 56.25%;
        margin-left: 0;
    }
    .ce-textpic.ce-left h2,
    .ce-textpic.ce-right h2 {
        margin-top:0;
    }
    .colContainer .row {
        gap:4rem;

    }
    .colText {
        column-gap: 4rem;
    }
    .cookie-banner {
        text-align: center;
    }
    #instafeed {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
@media only screen and (min-width: 1536px) {
    .tx-phi-projects .phi-projects-main.shuffle .gridsizer,
    .tx-phi-projects .phi-projects-main.shuffle .project-item,
    .tx-phi-projects .phi-projects-main.shuffle .display1to1 {
        width: 13.857%;
    }
    .tx-phi-projects .phi-projects-main.shuffle .project-item.display2to1,
    .tx-phi-projects .phi-projects-main.shuffle .project-item.display2to2 {
        width: 28.214%;
    }
    #instafeed {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}
@media only screen and (min-width: 1920px) {
    html,
    body {
        font-size:24px;
    }
    h1 {
        font-size:85px;
    }
    h2, h3 {
        font-size:58px;
    }
    p.teaser {
        font-size:32px;
    }
    .overview .project-item .project-desc, 
    .overview .project-desc {
        font-size:120px;
    }
    .arrow-left a, .arrow-right a {
        font-size:44px;
    }
    #mainContainer {
        padding-bottom: 280px;
    }
}