/* COLORS */
/*

*    hellblau     #6eafc4
*    blau         #00759b
*    hellgrau     #f7f7f7
*    grau         #efefef
*    schwarz      #333333


*/

/*FONTS*/
@import url('https://fonts.googleapis.com/css?family=Dosis:400,500');
@import url('https://fonts.googleapis.com/css?family=Source%20Code%20Pro:400,500');

/*BODY*/

body{
    background: #fff;
    font-family: 'Dosis', 'sans-serif';
    font-weight: 400;
    font-size: 24px;
    line-height: 1.67;
    color: #333333;
    box-sizing: border-box;
    padding-top: 110px;
}

* {
    box-sizing: inherit;
}

h1{
    font-size: 2.5em;
    color: #00759b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1em 0;
}

h2{
    font-size: 2.5em;
    color: #00759b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1em 0;
}

h3{
    font-size: 1.25em;
    color: #00759b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0.75em 0;
}

h4{
    font-size: 1.15em;
    color: #00759b;
    text-transform: uppercase;
    margin: 0.75em 0;
    letter-spacing: 0.065em;
}

h5{
    font-size: 1.15em;
    font-weight: 500;
    margin: 1em 0 0.5em 0;
}

p{
    letter-spacing: 0.08em;
    margin: 1em 0;
}

a{
    color: #00759b;
    text-decoration: none;
}

.claim-text a {
    padding-left: 5pt;
    padding-right: 5pt;
    /*background: white; */
    /* color: #00759b;*/
    color: white;
    border-color: white;
    border-width: 0.5pt;
    border-style: solid;
}

.claim-text a:hover {
    /* font-weight: bold; */
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

strong{
    font-weight: 500;
}

.visuallyhidden{
    border:0;
    clip:rect(0 0 0 0);
    height:1px;margin:-1px;
    overflow:hidden;
    padding:0;
    position:absolute;
    width:1px
}

/* Sticky Footer */
html, body {
    min-height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
.wrapper {
    flex-grow: 1;
}


/* ICONS */
/* Icons */
[class^="t8-icon"]{
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: text-bottom;
}

.t8-icon-envelope{
    background-image: url(/bilder-design/icons/contact.svg);
}

.t8-icon-envelope-w{
    background-image: url(/bilder-design/icons/contact-w.svg);
}

.t8-icon-github{
    background-image: url(/bilder-design/icons/github.svg);
}

.t8-icon-github-w{
    background-image: url(/bilder-design/icons/github-w.svg);
}

.t8-icon-plus, .t8-icon-minus{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.t8-icon-plus:before, .t8-icon-minus:before{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #00759b;
}

.t8-icon-plus:after{
    content: "";
    display: block;
    height: 100%;
    width: 1px;
    background-color: #00759b;
    position: absolute;
    top: 0;
    left: calc(50% - 0.5px);
}

/* NAVIGATION */
.banner-start{
    background-color: #f7f7f7;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}
.mainnav{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.mainnav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
}

.mainnav li {
    padding: 0 1.5em;
}

.mainnav .logo + li{
    padding-left: 2.5em;
}

.mainnav a {
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.3em 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    font-size: 0.9em;
    letter-spacing: 0.01em;
}

.mainnav .aktiv a{
    border-top: 0.2em solid #00759b;
    padding-top: 0.1em;
}

.mainnav .logo{
    padding: 0;
}

.mainnav .logo a{
    padding: 0;
    height: 100%;
    line-height: 0;
}

.mainnav .logo img{
    width: 110px;
}

.social-navigation{
    display: flex;
    justify-content: flex-end;
}

.social-navigation li{
    list-style: none;
    padding: 8px 10px;
    line-height: 1;
    margin: 0 5px;
    background-color: #00759b;
    font-size: 0.75em;
}

.social-navigation a{
    color: #fff;
    padding: 0;
}

/*MOBILE NAVIGATION*/
.slicknav_menu {
    display:none;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.slicknav_brand {
    width: 40px;
    height: 40px;
    float: left;
    margin-top: 4px;
    margin-left: 4px;
}

.slicknav_menu .aktiv a {
    background-color: transparent;
    color: #000;
    padding: 10px 0x;
}

.slicknav_menu .social-navigation{
    display: flex;
    margin-top: 0.25em;
    margin-bottom: 1em;
}

.slicknav_menu .social-navigation li{
    display: inline-block;
    padding: 0;
}

.slicknav_menu .social-navigation a{
    color: #fff;
    padding: 8px 5px 5px 6px !important;
}

/* Backgrounds */
.background-light-blue {
    position: relative;
    padding-bottom: 3em;
}
.background-light-blue::before {
    position: absolute;
    bottom: 0;
    top: 0;
    width: calc(100vw);
    background-color: rgb(238, 243, 246);
    content: "";
    z-index: -1;
    left: calc((100vw - 100%) / 2 * -1);
}

/* BANNER */
.banner{
    position: relative;
    height: 0;
    padding-bottom: 40%;
    background-color: #00759b;
    min-height: 30em;
    margin-bottom: -3em;
    overflow: hidden;
}

.banner:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: url(/bilder-design/hintergrund_k.svg);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.05;
    max-width: 1400px;
    margin: auto;
}

.claim{
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: #fff;
    max-width: 1420px;
    padding: 0 10px;
    /*margin: auto;*/
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.claim-heading{
    font-size: 2.5em;
    text-transform: uppercase;
    align-self: flex-start;
    width: 100%;
    max-width: 960px;
    line-height: 1.4;
    padding: 0 10px;
}

.claim-text{
    width: 100%;
    max-width: 960px;
    padding: 3em 10px 4em 10px;
}

/* FOOTER */
.footer{
    background-color: #efefef;
    padding-top: 1em;
    margin-top: 3em;
    overflow: hidden;
}

.footer.sticky{
    /* Bug mit cubeportfolio deshalb ausgeblendet */
    /* position: absolute;
    bottom: 0; */
}

.abstand{
    opacity: 0;
}

.footer--contact{
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.footer--contact .footer--contact--icon{
    width: 20%;
    max-width: 3.5em;
    line-height: 1.5;
    margin-bottom: 1.25em;
}

.footer--contact .footer--contact--icon .t8-icon-envelope{
    background-position: bottom;
}

/*.footer--contact .footer--contact--data{
    flex: none;
}

.footer--contact .footer--icon-right{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.25em;
}*/

.footer--last{
    font-size: 0.55em;
    margin-top: 7.5em;
    text-align: right;
    position: relative;
    color: #fff;
    padding: 0.75em 10px;
    text-transform: uppercase;
}

.footer--last a{
    color: #fff;
}

.footer--last p{
    margin: 0;
}

.footer--last:before{
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    top: 0;
    width: 100vw;
    background-color: #00759b;
    left: calc((100vw - 100%) / 2 * -1);
}

.footer--last > * {
    z-index: 1;
    position: relative;
}

.footer--small {
    padding-top: 0;
}

.footer--small .footer--last{
    margin-top: 0;
}

/* cubeportfolio */
.cbp-caption-activeWrap {
    background-color: white;
}
.float-left {
    float: left;
}
.cbp-l-filters-alignRight {
    float: right;
}
.cbp-item {
    border: 1px solid #00759b;
    background-color: white;
}
.cbp-l-caption-desc {
    /* font-size: 20px; */
    letter-spacing: 2px;
    line-height: 36px;
    color: #333;
    font: inherit;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 0.75em;
    font-size: 1em;
    line-height: 1.7em;
    font: inherit;
}
.cbp-l-caption-title {
    font: inherit;
    color: inherit;
    /* font-size: 1.25em; */
    letter-spacing: 0.08em;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 0.75em;
    /* font-size: 1em; */
    line-height: 1.7em;
    font: inherit;
    text-transform: uppercase;
    margin-top: 2em;
    display: block;
    font-size: 1.25em;
    color: #00759b;
    text-transform: uppercase;
    margin: 0.75em 0;
    letter-spacing: 0.065em;
    font-weight: normal;
}
.cbp-l-inline-desc {
    font-size: 1em;
    font: inherit;
}
.cbp-l-inline-desc b {
    font-weight: 600;
}
.cbp-l-inline-desc p b:only-child {
    margin-top: 2em;
    display: block;
    font-size: 1.25em;
    color: #00759b;
    text-transform: uppercase;
    margin: 0.75em 0;
    letter-spacing: 0.065em;
    font-weight: normal;
}
.maincontent .cbp-l-inline-desc ul > li:before {
    /* content: ""; */
    /* width: .5em; */
    /* height: .5em; */
    /* background-color: #00759b; */
    /* border-radius: 50%; */
    /* margin-left: -.5em; */
    /* position: relative; */
    /* left: -.5em; */
}

















.cbp-l-inline-view-wrap {
    text-align: left;
}

.cbp-l-inline-view {
    border-color: #999;
    font-weight: 700;
    padding: 5px 36px;
    color: #333;
    font-size:  15px;
}

.cbp-l-inline-right {
    padding-right: 50px;
}

.cbp-popup-singlePageInline .cbp-popup-close {
    background-image: none;
    background-color: #ddd;
    background-image: url(/bilder-design/icon-close--thin.svg);
    background-position: center;
    background-size: 40%;
    background-color: transparent;
}
.cbp-popup-singlePageInline .cbp-popup-close::before {
    content: "";
}

.cbp-l-inline-title {
    color: #00759b;
    text-transform: uppercase;
    margin: 0.75em 0;
    letter-spacing: 0.065em;
    font: inherit;
    font-size: 24px;
    margin-top: 2em;
    display: block;
    font-size: 1.5em;
    color: #00759b;
    text-transform: uppercase;
    margin: 0.75em 0;
    letter-spacing: 0.065em;
    font-weight: normal;
    line-height: 1.67em;
}

.maincontent .cbp-l-inline {position: relative;}
.maincontent .cbp-l-inline::before {
    content: "";
    position: absolute;
    bottom: 0;
    top: 0;
    width: calc(100vw);
    background-color: rgb(255, 255, 255);
    content: "";
    z-index: -1;
    left: calc((100vw - 100%) / 2 * -1);
}

.maincontent .cbp-l-inline-desc ul li {
    /* margin-top: .5em; */
    font: inherit;
}
.cbp .cbp-list-image {
    width: auto;
    max-width: 100%;
    display: inline-block;
    margin-left: 30px;
    margin-top: 30px;
}
.cbp-l-caption-alignLeft .cbp-l-caption-body {
    padding-top: 0;
}
.cbp-l-inline .cbp-person-image {
    width: auto;
    display: inline-block;
    max-width: 100%;
}
.maincontent .cbp-l-inline-desc  ul {
    /* font-size: 1em; */
    /* margin: 0; */
    /* padding: 0; */
    /* list-style: none; */
    /* margin-bottom: 0.75em; */
    /* font-size: 1em; */
    /* line-height: 1.7em; */
    /* line-height: 1.5em; */
    /* margin: 0; */
    /* padding: 0; */
    /* list-style: none; */
    /* margin-bottom: 0.75em; */
    /* font-size: 1em; */
    /* line-height: 1.7em; */
    /* font: inherit; */
    /* font-size: inherit; */
    /* line-height: 1.5em; */
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 0.75em;
    /* font-size: 1em; */
    line-height: 1.7em;
    font: inherit;
    font-size: inherit;
    letter-spacing: 0.08em;
}

.cbp-l-inline-subtitle {color: #00759b;font-size: 16px;font-weight: 600;margin-top: .75em;margin-bottom: 2em;margin: 0;padding: 0;list-style: none;margin-bottom: 0.75em;font-size: 1em;line-height: 1.7em;font: inherit;}
.cbp-l-inline-desc p {
    line-height: 1.5em;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 0.75em;
    font-size: 1em;
    line-height: 1.7em;
    font: inherit;
    font-size: inherit;
}

.cbp-l-filters-alignRight {
    margin-top: 104px;
}
.cbp-l-filters-button .cbp-filter-item {
    color: #00759b;
    background-color: transparent;
    border: 0;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    /* margin: 0; */
    padding: 0;
    list-style: none;
    margin-bottom: 0.75em;
    line-height: 1.7em;
    font: inherit;
    margin-right: 20px;
    font-size: 21.6px;
}
.cbp-l-filters-button .cbp-filter-item.cbp-filter-item-active,
.cbp-l-filters-button .cbp-filter-item {
    color: #00759b !important;
    background-color: transparent;
    border: 0;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    /* margin: 0; */
    padding: 0;
    list-style: none;
    margin-bottom: 0.75em;
    font-size: 1em;
    line-height: 1.7em;
    font: inherit;
    color: #00759b;
    background-color: transparent;
    border: 0;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    /* margin: 0; */
    padding: 0;
    list-style: none;
    margin-bottom: 0.75em;
    line-height: 1.7em;
    font: inherit;
    margin-right: 20px;
    font-size: 21.6px;
    position: relative;
}

.cbp-l-filters-button .cbp-filter-item.cbp-filter-item-active,
.cbp-l-filters-button .cbp-filter-item:hover {
    border-top: 2px solid #00759b;
}
.cbp-l-filters-button .cbp-filter-item:hover {

}
.quote {
    font-size: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 0.75em;
    font-size: 1em;
    line-height: 1.7em;
}
.quote__cite-text {
    font-style: italic;
    margin-top: 1em;
    display: block;
    margin-bottom: 1em;
    max-width: 430px;
}
.quote__cite-text::before {
    content: '"';
}
.quote__cite-text::after {
    content: '"';
}
.quote__footer {}
.quote__footer b {margin-bottom: 0.75em;font-size: 1em;line-height: 1.7em;font: inherit;/* font-weight: bold; */color: #00759b;text-transform: uppercase;}
.quote__source {color: #00759b;}
/* CONTENT */
.maincontent{
    padding-bottom: 5em;
    overflow: hidden;
}

.maincontent ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 0.75em;
    font-size: 1em;
    line-height: 1.7em;
}

.maincontent ul > li{
    padding-left: 1.5em;
}

.maincontent ul > li:before {
    content: "-";
    display: inline-block;
    margin-left: -1em;
    width: 1em;
}

/* LEISTUNGEN */
.leistungen--title{
    margin-left: 35%;
    width: 65%;
}

.leistungen--info + .leistungen--title{
    margin-top: 3em;
}

.leistungen--icon{
    text-align: right;
}
.leistungen--icon img{
    width: 100%;
    max-width: 200px;
    border: 2px solid #6eafc4;
    padding: 30px;
    margin-top: 0.5em;
}

.leistungen--info {
    padding-left: 10%;
}

/* ABOUT */
.portrait {
    text-align: right;
    padding-right: 2em;
}
/* accordion__open */
.accordion--header{
    cursor: pointer;
}

.accordion--content {
    overflow: hidden;
    transition: height 0.5s ease;
}

.accordion--content:not(.accordion__inprogress){
    height: auto !important;
}

.accordion--content.accordion--content__closed{
    height: 0 !important;
}

.accordion{
    margin-bottom: 2em;
    border: 1px solid #00759b;
}

.accordion--header{
    transition: background-color 0.3s ease;

    position: relative;
}

.accordion--header h4{
    line-height: 1.5;
    padding: 0.5em 3em 0.5em 7.5%;
    margin: 0;
}



.accordion--header:not(.accordion--header__closed){
    background-color: #00759b;
}

.accordion--header:not(.accordion--header__closed) h4{
    color: #fff;
}

.accordion--header .icon-wrapper{
    background-color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1em;
    border-left: 1px solid #00759b;
}

.accordion--header:not(.accordion--header__closed) .icon-wrapper{
    background-color: transparent;
}

.accordion--header .t8-icon-plus:after{
    transition: transform 0.3s ease;
}

.accordion--header:not(.accordion--header__closed) .t8-icon-plus:after{
    transform: rotate(90deg);
    background-color: #fff;
}

.accordion--header:not(.accordion--header__closed) .t8-icon-plus:before{
    background-color: #fff;
}

.accordion .accordion--content .accordion--content_inside{
    padding: 0.75em 0.5em;
}




.icon-wrapper--referenzen {
    float: right;
    border: 1px solid #00759b;
    border-right: 0;
    border-bottom: 0;
    display: inline-block;
    padding: 14px;
}
.cbp-singlePageInline-active .icon-wrapper--referenzen {
    background-color: #00759b;
}
.cbp-singlePageInline-active .icon-wrapper--referenzen .t8-icon-plus:before,
.cbp-singlePageInline-active .icon-wrapper--referenzen .t8-icon-minus:before,
.cbp-singlePageInline-active .icon-wrapper--referenzen .t8-icon-plus:before {
    background-color: white;
}

.cbp-singlePageInline-active .icon-wrapper--referenzen .t8-icon-plus:after {
    content: none;
}

/* KONTAKT */
.contact-adress{
    margin: 1em 0;
}

.blog-date {
    font-size: 70%;
}

.blog-entry-link {
    text-decoration: none;
    color: black;
}

.blog-entry-link:hover {
    text-decoration: none;
}

.blog-entry {
    padding: 0.4cm;
    background-color: #efefef;
    margin-bottom: 0.3cm;
}

.blog-entry-title {
    font-weight: bold;
}

.blog-entry-teaser {
}

main.blog-entry-list {
    font-size: 20px; 
    line-height: 160%;
    margin-left: 2cm;
    margin-right: 2cm;
    word-wrap: break-word;
    padding-top: 1cm;
}

main.blog {
    font-size: 20px; 
    line-height: 160%;
    max-width: 100ex;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1cm;
    padding-right: 1cm;
    word-wrap: break-word;
}

main.blog p {
    word-wrap: break-word;
}

main.blog ul, 
main.blog ol {
    margin-left: 1cm;
    word-wrap: break-word;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

code {
    font-family: "Source Code Pro"
}

.blog-title {
    font-weight: bold;
    font-size: 24pt;
}

h1.blog-heading-1 {
    font-weight: bold;
    font-size: 20pt;
}


/* sub, sup handling */
/* from https://gist.github.com/unruthless/413930 */
sub, sup {
    /* Specified in % so that the sup/sup is the
       right size relative to the surrounding text */
    font-size: 75%;
  
    /* Zero out the line-height so that it doesn't
       interfere with the positioning that follows */
    line-height: 0;
  
    /* Where the magic happens: makes all browsers position
       the sup/sup properly, relative to the surrounding text */
    position: relative;
  
    /* Note that if you're using Eric Meyer's reset.css, this
       is already set and you can remove this rule */
    vertical-align: baseline;
}
  
sup {
    /* Move the superscripted text up */
    top: -0.5em;
}

sub {
    /* Move the subscripted text down, but only
        half as far down as the superscript moved up */
    bottom: -0.25em;
}


@media (max-width: 1250px) {
    .cbp-l-filters-button {
        float: left;
        clear: left;
        margin-top: 23px;
        text-align: left;
    }
    .cbp-l-filters-button .cbp-filter-item {
        float: none;
        display: inline-block;
    }
}


@media screen and (max-width:1200px) {
    body{
        font-size: 20px;
    }
    h2 {
        margin: 0;
    }
}


/* Tablets Portrait und kleiner */
@media screen and (max-width:768px) {

    /* Mobile Menu */

    .js #menu {
        display:none;
    }

    .js .slicknav_menu {
        display:block;
    }

    .js .logo{
        display: none;
    }

    .js .banner-start{
        display: none;
    }

    body{
        font-size: 18px;
        padding-top: 60px;
    }

    h1, .claim-heading{
        font-size: 2em;
        margin-bottom: 0;
    }

    h2{
        font-size: 2em;
        margin-bottom: 0.5em;
    }

    h3{
        font-size: 1.35em;
        margin-bottom: 0;
    }

    h4{
        font-size: 1.25em;
        margin: 0;
    }

    /* BANNER */
    .banner{
        position: relative;
        height: auto;
        padding-bottom: 0;
        min-height: auto;
        padding-top: 10%;
    }

    .claim{
        position: static;
        transform: none;
    }

    /* FOOTER */
    .col1.abstand{
        display: none;
    }


    /* LEISTUNGEN */

    .leistungen--title{
        margin-left: 10px;
    }

    .leistungen--icon{
        text-align: left;

    }

    .leistungen--info{
        padding-left: 0;
    }
}

@media handheld, only screen and (max-width: 767px){
    .col12.navigation{
        padding: 0;
    }
    .portrait {
        text-align: left;
    }
    
    .portrait img {}

    .maincontent .cbp-l-inline-desc ul > li {
        padding-left: 1em;
    }
    
    main.blog-entry-list {
        font-size: 20px; 
        line-height: 160%;
        margin-left: 0.2cm;
        margin-right: 0.2cm;
        word-wrap: break-word;
        padding-top: 1cm;
    }

    main.blog {
        padding-left: 0.4cm;
        padding-right: 0.4cm;
    }

}

@media screen and (max-width:360px) {
    body{
        font-size: 16px;
    }

    h1, .claim-heading {
        font-size: 1.75em;
    }

    h2{
        font-size: 1.75em;
    }

    h3{
        margin: 0;
    }

    .claim-text{
        padding-top: 0.5em;
        padding-bottom: 2em;
    }

    .footer--contact--icon {
        display: none;
    }

    main.blog-entry-list {
        font-size: 20px; 
        line-height: 160%;
        margin-left: 0.2cm;
        margin-right: 0.2cm;
        word-wrap: break-word;
        padding-top: 1cm;
    }

    main.blog {
        padding-left: 0.2cm;
        padding-right: 0.2cm;
    }
}
