/* GLOBAL STYLES
-------------------------------------------------- */

:root {
    /* acumin-pro comes from Adobe Fonts, the fallbacks are used until it is loaded */
    --font-sans: acumin-pro, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* Padding below the footer and lighter body text */

body {
    color: #000;
    font-family: var(--font-sans);
    font-weight: 400;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
    padding-right: 0;
    padding-left: 0;
}

.navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left: 15px;
}

.navbar-wrapper .navbar .container {
    width: auto;
}


/* Indent for text and images */

@media (min-width: 768px) {

    .frame-space-left-1 {
        padding-left: 10%;
    }

    .frame-space-left-2 {
        padding-left: 15%;
    }

    .frame-space-right-1 {
        padding-right: 10%;
    }

    .frame-space-right-2 {
        padding-right: 15%;
    }

}

.inside-text {
    padding-right: 0
}

.zumprojekt {
    background-image: url('../Images/neuer-pfeil-rechts.png');
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: 0 5px;
}


#page-2 .frame-type-text a {
    
    color: black;
   
}

#page-2 .frame-type-text a:hover {
    text-decoration: none
}


.lead a {
    text-decoration: underline;
    color: black;
    padding-left: 18px;
    font-size: 18px;
    line-height: 1em;
}

.lead a:hover {
    text-decoration: none
}


#header {
    position: fixed;
    width: 100%;
    background-color: white;
    z-index: 7777;
    height: 110px;
}

#cms-content {
    padding-top: 110px;
    clear: both
}

#page-4 .ce-textpic.ce-fullwidth img {
    max-width: 100%;
    height: auto;
}

#page-4 td {
    padding-right: 30px;
    vertical-align: top
}

#page-4 .ce-gallery figure {
    display: block
}

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

    .columns-wrapper {
        display: grid;
        gap: 30px;
    }


    .columns-wrapper.columns-3 {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

}

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

    .columns-wrapper {
        display: grid;
        gap: 50px;
    }


    .columns-wrapper.columns-3 {
        grid-template-columns:repeat(3, minmax(0, 1fr))
    }

}


.text-right {
    text-align: right
}

.frame-type-text a, .frame-type-textpic a {
    color: black;
}

.frame-type-text a:hover, .frame-type-textpic a:hover {
    text-decoration: none
}

.frame-type-textpic h4 {
    margin-bottom: 20px;
}

.ce-fullwidth img {
    width: 100%;
    height: auto
}

.frame-type-project_detail p {
    line-height: 1em;
    padding: 0;
    margin: 0;
    color: #999
}

.frame-type-project_detail h4 {
    margin-bottom: 10px;
    border-bottom: 1px solid #999;
    padding-bottom: 10px;
    margin-top: 5px;
}

.ce-image img {
    width: 100%;
    height: auto
}


#frontpageCarousel .carousel-item {
    height: 100vh;
}

#frontpageCarousel .carousel-item > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#page-1 #header {
    background: transparent
}

#page-1 #cms-content {
    padding-top: 0;
}

#page-1 #footer {
    display: none
}

#page-1 .carousel {
    margin: 0
}

#page-1 .schriftzug a {
    color: white;
}

#page-1 .desktop-navig a {
    color: white
}

#page-1 .carousel-caption h2 {
    color: white;
}

#page-1 .carousel-caption a {
    color: white;
    text-decoration: none;
}

.frame-type-project_detail a {
    color: black;
}


.insta img {
    width: 25px;
    height: auto;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {

    margin-top: 10px;
    margin-bottom: 60px;
}

.carousel-caption {
    position: absolute;
    right: 3%;
    bottom: -10px;
    left: 3%;
    z-index: 10;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #000;
    text-align: center;
    text-shadow: none;
}


.carousel-quote {
    z-index: 10;
    position: relative;
    color: black;
    padding: 20px;
    width: 90%;
}

.carousel-quote h2 {
    color: black;
}

.carousel-quote p {
    color: black;
    font-size: 18px;
}

.carousel-caption h1 {
    text-transform: uppercase;
    color: black
}

.carousel .item {
    height: 300px;
}

.carousel-control-prev img, .carousel-control-next img {
    width: 30px;
    height: auto;
}


.carousel-control img {
    width: 30px;
    height: auto;
    margin-top: 260px
}

.carousel-inner > .item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: auto;
    width: 100%;
    margin: auto;
}

.carousel-item img {
    margin: auto;
    height: auto;
    width: 100%;
}

.carousel-indicators {
    margin-bottom: -26px;
    display: none;
}

.carousel-indicators .active {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 7px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    background-color: #000;
}

.carousel-indicators li {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 7px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    background-color: #ccc;
}

.carousel-control {
    width: 10% !important;
    background-image: none !important
}

.carousel-control .right {
}

.carousel-control .left {
}


.carousel h3 {
    font-size: 16px;
}

.center {
    text-align: center
}


/*  Projekte Rollover
-------------------------------------------------- */


.frame-type-project-grid-left, .frame-type-project-grid-right {
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.frame-type-project-grid-left .col60 img {
}

.frame-type-project-grid-left .col30 img {
    padding-left: 8px;
    padding-bottom: 8px
}

.frame-type-project-grid-right .col60 img {
}

.frame-type-project-grid-right .col30 img {
    padding-right: 8px;
    padding-bottom: 8px
}

.procontent {
    margin-left: 15px;
    margin-right: 15px;
    color: #000;
    hyphens: auto;
}

.procontent h4 {
    font-size: 16px;
}

.procontent h5 {
    font-size: 14px;
}

.procontent a {
    font-size: 20px;
    display: block;
    color: #000;
    padding: 10px;
    cursor: pointer
}

/* MARKETING CONTENT
-------------------------------------------------- */

.col60 {
    width: 100%;
    float: left;
}

.col30 {
    width: 100%;
    float: left;
}


.projects {
    padding-left: 10px;
    padding-right: 10px
}

.hauptnavigation {
    width: 100%;
}

.burg img {
    width: 30px;
    height: auto;
}

.lead {
    font-size: 16px;
    color: black
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 0;
    margin-top: 30px;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto
}

.overlay-inside {
    padding-left: 15px;
}

.overlay a {
    padding: 0;
    text-decoration: none;
    color: #fff;
    display: block;

}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 30px;
    right: 15px;
    z-index: 777;
}

.overlay .closebtn img {
    width: 25px;
    height: auto;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

.marketing {
    margin-top: 30px;
}

.hauptnavigation {
    font-family: var(--font-sans);
    font-weight: 600;
}

h1 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 24px;
    margin-top: 10px;
    padding-top: 0;

}

h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    padding: 0;
}

h5 {
    font-family: var(--font-sans);
    font-weight: normal;
    font-size: 16px;
    margin: 0;
    padding: 5px 0 0 0;
}

.facts {
    margin-top: 40px;
}

.facts p {
    margin: 0;
    padding: 0;
    color: #999
}

.facts h4 {
    font-family: var(--font-sans);
    color: black;
    font-weight: 600;
    border-bottom: 1px solid black;
    padding-bottom: 15px;
    margin-top: 5px;
    padding-top: 0
}


/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 20px;
    color: black;
    padding-bottom: 10px;

    padding-top: 0;
    margin-top: 0;
}

.frame-type-columns-9-3 h2, .frame-type-columns-3-9 h2, .frame-type-columns-6-6 h2, .frame-type-columns-8-4 h2, .frame-type-columns-4-8 h2 {
    padding-top: 30px
}


h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 20px;
    color: black;
    padding-bottom: 10px;

}

.marketing .col-lg-4 p {
    margin-right: 10px;
    margin-left: 10px;
}

/* Spacing
------------------------- */

.frame-space-after-extra-large {
    margin-bottom: 8em;
}


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 40px 0;
}

hr {
    border-color: white;
}


/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;

}


/* RESPONSIVE CSS
-------------------------------------------------- */


.desktop-navig {
    display: none;
}


.logo {
    float: left;
    margin-top: 30px;
    width: 90px;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav-logo img {
    width: 90px;
    height: auto;
    margin-bottom: 20px;
    float: left;
}

.burg {
    cursor: pointer;
    padding-top: 30px;
    float: right;
    width: 20%;
    text-align: right;
}

.desktop-navig ul {
    margin-bottom: 0;
    padding-left: 0;
}

.desktop-navig li {
    list-style-type: none;
    float: left;
    display: inline-block
}

.desktop-navig {
    width: 55%;
    float: right;
    text-align: right;
    margin-top: 50px
}

.desktop-navig nav {
    float: right;
    display: flex;
}

.desktop-navig a {
    color: black;
    font-size: 18px;
    margin-left: 20px;

    text-decoration: none;
    text-transform: uppercase
}

.desktop-navig {
    font-size:18px;
}

.desktop-navig a:hover {
    text-decoration: none
}

#language-nav a {
    text-transform: lowercase;
}

@media screen and (min-width: 768px) {
    #language-nav {
        margin-left: 20px;
    }
}

#language-nav .menu-item:not(:last-child):after {
    content: '/';
    color: #FFF;
    display: inline-block;
    padding: 0 5px;
}

#page-1 #language-nav .menu-item:not(:last-child):after {
    color: #FFF !important;
}

@media screen and (min-width: 768px) {
    #language-nav .menu-item:not(:last-child):after {
        color: #000;
    }
}

#language-nav .menu-item span {
    color: #999;
}

#language-nav .menu-item.active span {
    color: #FFF;
}

#page-1 #language-nav .menu-item.active span {
    color: #FFF !important;
}

@media screen and (min-width: 768px) {
    #language-nav .menu-item.active span {
        color: #000;
    }
}

#language-nav .menu-item a {
    margin-left: 0;
}

.schriftzug {
    float: left;
    margin-top: 30px;
    margin-left: 15px
}

.schriftzug p {

    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;

    line-height: 1.1em
}

.schriftzug a {
    color: black;
    text-decoration: none

}

.schriftzug a:hover {
    text-decoration: none
}

.navigation-mobil {
    clear: both;
    font-size: 20px;
    float: left;
    text-transform: uppercase
}

.navigation-mobil ul {
    margin-left: 0;
    padding-left: 0
}

.navigation-mobil li {
    list-style-type: none;

}

.schriftzug-mobil p {

    line-height: 1em;
    text-transform: uppercase
}

.schriftzug-mobil {

    margin-top: 0;
    padding-top: 0;
    position: absolute;
    top: 0;
    left: 115px;
    width: 200px;
}

.schriftzug-mobil a {
    font-size: 15px;
    font-family: var(--font-sans);
    font-weight: 600;

}

.overlay-inside {
    font-family: var(--font-sans);
    font-weight: 600;
}


@media screen and (max-width: 992px) {

    .container {
        max-width: 100%
    }


}

#c62 img {
    margin-top: 50px;
}

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

@media (min-width: 768px) {

    #c62 img {
        float: right;
        margin-top: 0;
    }

    #c62 h1, #c62 h4, #c62 p {
        text-align: right;
    }

    .two-cols {
        column-count: 2;
        column-gap: 35px;
    }

    .three-cols {
        column-count: 3;
        column-gap: 35px;
    }

    .procontent h4 {
        font-size: 18px;
    }

    .procontent h5 {
        font-size: 16px;
    }

    .frame-space-after-extra-large {
        margin-bottom: 8em;
    }


    .frame-type-columns-9-3 h2, .frame-type-columns-3-9 h2, .frame-type-columns-6-6 h2, .frame-type-columns-8-4 h2, .frame-type-columns-4-8 h2 {
        padding-top: 0
    }


    .col60 {
        width: 100%;
        float: left;
    }

    .col60over {
        width: 100%;
    }

    .col30 {
        width: 50%;
        float: left;
    }


    .logo {
        width: 120px;
    }

    .schriftzug {
        float: left;
    }

    .nav-logo img {
        width: 120px;
        height: auto;
        margin-bottom: 20px;
    }

    .desktop-navig {
        display: block
    }

    .burg {
        display: none
    }

    h1 {
        font-weight: 600;
        font-size: 24px;
        margin-top: 20px;
        padding-top: 0;
    }

    .inside-text {
        padding-right: 40%
    }

    .featurette-divider {
        margin: 60px 0;
    }


    .carousel-indicators .active {
        width: 40px;
    }

    .carousel-indicators li {
        width: 40px;
    }

    .carousel-quote {
        z-index: 10;
        position: absolute;
        top: 0;
        padding: 20px 40px;
        width: 50%;
        color: white;
    }

    .carousel-quote h2 {
        color: white;
    }

    .carousel-quote p {
        color: white;
        font-size: 16px;
    }

    /* Navbar positioning foo */
    .navbar-wrapper {
        margin-top: 20px;
    }

    .navbar-wrapper .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .navbar-wrapper .navbar {
        padding-right: 0;
        padding-left: 0;
    }

    /* The navbar becomes detached from the top, so we round the corners */
    .navbar-wrapper .navbar {
        border-radius: 4px;
    }

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}


@media (min-width: 992px) {

    h1 {
        font-weight: 600;
        font-size: 28px;
        margin-top: 20px;
        padding-top: 0;
    }


    .col60 {
        width: 50%;
        float: left;
    }

    .col60over {
        width: 50%;
        float: left
    }

    .col30 {
        width: 50%;
        float: left;
    }


    .schriftzug p {
        font-size: 18px;
    }


    .featurette-heading {
        margin-top: 1px;
    }
}

.offtest img {
    width: 100%;
    height: auto;
}

footer {
    padding-top: 50px;
    clear: both;
}

footer p {
    margin-bottom: 50px
}

footer span.divider {
    display: inline-block;
    padding: 0 10px;
}

@media screen and (max-width: 768px) {
    footer span.divider {
        display: block;
    }

    footer span.footer-links {
        display: block;
    }
}

footer a {
    color: #000;
}

footer a:hover, footer a:focus {
    color: #000;
    text-decoration: none;
}

.black h2, .black p {
    color: black
}

@media (min-width: 1170px) {


    .desktop-navig {
        width: 50%;
        float: right;
        text-align: right;
        margin-top: 50px
    }

    .desktop-navig a {
        color: black;
        font-size: 18px;
        margin-left: 20px;
    }

    .schriftzug {
        float: left;
        margin-top: 34px;
    }

    .schriftzug p {
        font-size: 18px;
        text-transform: uppercase;
    }


}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1400px;
    }
}

/**
 * Flex-Grid Projects
 */

.frame-type-project-grid-right, .frame-type-project-grid-left, .frame-type-project-grid {
    margin-bottom: 10px;
}

.flex-grid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

@media (max-width: 991.98px) {
    .frame-type-project-grid-right .flex-grid {
        flex-wrap: wrap-reverse;
    }
}

.flex-grid .flex-group {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    padding-right: 5px;
    padding-left: 5px;
}

@media (max-width: 991.98px) {
    .flex-grid .flex-group {
        width: 100%;
    }
}

.flex-grid .flex-group .flex-grid {
    margin-bottom: -5px;
    margin-top: -5px;
}

@media (max-width: 991.98px) {
    .flex-grid .flex-group .flex-item.flex-item-large {
        margin-bottom: 10px;
    }
}

.flex-grid .flex-group .flex-item.flex-item-small {
    width: 50%;
    padding: 5px;
}

/* the width must not depend on the intrinsic width of the image */
.flex-grid .flex-group .flex-item.flex-item-large {
    width: 100%;
}

/**
 * Project Grid Item
 */

.frame-type-project_item {
    font-family: var(--font-sans);
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
}

.frame-type-project_item a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* the image keeps its natural height and grows (cropped by object-fit) when the tile is stretched */
.frame-type-project_item img {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.frame-type-project_item .prooverlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    background: rgba(255, 255, 255, 0.7);
}

.frame-type-project_item:hover .prooverlay {
    opacity: 1;
    transition: .5s ease;
}

.video-embed-item {
    width: 100%;
}