@font-face {
    font-family: "Suisse Intl Book";
    src: url("../fonts/SuisseIntl-Book.otf") format("opentype");
}

@font-face {
    font-family: "Suisse Intl Book Italic";
    src: url("../fonts/SuisseIntl-BookItalic.otf") format("opentype");
}

@font-face {
    font-family: "Suisse Intl Medium";
    src: url("../fonts/SuisseIntl-Medium.otf") format("opentype");
}

@font-face {
    font-family: "Suisse Intl SemiBold";
    src: url("../fonts/SuisseIntl-SemiBold.otf") format("opentype");
}

:root{
    --main : grey;
}

body{
    margin: 0;
    padding: 0;
    font-family: "Suisse Intl Book", sans-serif;
    font-size:20px;
}

a,a:hover,a:focus, a:active{
    color: black;
}

h1, .h1, h2,.h2{
    font-size: 55px;
}

h1, .h1{
    margin-bottom: 35px;
}


hr{
    border-top:solid 1px black;
}

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

.frame-type-html svg{
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}



.frame-layout-linkbg{
    background-color: var(--main);
    text-align: center;
    padding-top: 2px;
}

.frame-layout-linkarrow{
    text-align: center;
}

.frame-layout-linkarrow p{
    margin-bottom: 0;
    font-size:14px;
}

.frame-layout-linkarrow p:after{
    content: '\2193';
    display: block;
    margin-top: -5px;
    font-style: normal;
}

/* Header */
.logo img{
    height: 70px;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
}

.header-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.social-icons{
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.social-icons a{
    margin-left: 12px;
    font-weight: bold;
}

.social-icons a:first-child{
    margin-left: 0;
}
.social-icons a:last-child{
    margin-left: 20px;
}

.social-icons a img{
    position: relative;
    bottom: 3px;
}

/* Maincontent */
.maincontent{
    margin-top: 80px;
}

.maincontent > .container > .frame-type-text{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Accordeon */
.card{
    border: none;
    border-radius: 0;
    margin-bottom: 35px;
    flex-direction: column-reverse;
}

.card-body{
    padding: 1.25rem 0;
}

.card-body h2{
    font-size: 20px;
    margin-bottom: 10px;
}

.card-body h3{
    font-size: 16px;
    background-color: var(--main);
    text-align: center;
    position: absolute;
    top: -10px;
    left: -10px;
    transform: rotate(-8deg);
    padding: 4px 8px;
}

.card-body p{
    margin-bottom: 0;
}

.card-header{
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border-bottom: none;
    position: relative;
    padding: 0 1.25rem;
}

.card-header:after{
    content: '';
    position: absolute;
    width: 100%;
    top: 27px;
    left: 0;
    height: 1px;
    background-color: black;
    z-index: 0;
}

.card-header button{
    position: relative;
}

.card-header button:hover{
    text-decoration: none;
}

.card-header button:after{
    content: '-';
    background-color: var(--main);
    width: 40px;
    height: 40px;
    display: flex;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 40px;
    font-family: 'Suisse Intl Medium';
    position: relative;
    z-index: 1;
}

.card-header button.collapsed:after{
    content: '+';
}


/* Infoboxen */
.row-info{
    margin-left: -30px;
    margin-right: -30px;
    font-size: 14px;
}

.row-info ul{
    padding-inline-start: 0;
    list-style-type: none;
}

.row-info ul li{
    display: flex;
}

.row-info ul li:before{
    content: '\2192';
    display: block;
    margin-right: 10px;
    margin-top: -2px;
}

.row-info a{
    display: inline-block;
    border: solid 1px black;
    padding: 3px 15px;
    position: absolute;
    bottom: 15px;
}

.row-info > div{
    margin-bottom: 30px;
}

.row-info > div > div{
    border: solid 1px black;
    width: 100%;
    height: 100%;
    padding: 30px 15px;
    padding-bottom: 40px;
    position: relative;
}

/* Reverenzen */

.referenzen {
    margin-bottom:20px;
}

.referenzen > div > div{
    padding-top: 59%;
    position: relative;
}

.referenzen .ce-inner,
.referenzen .ce-row,
.referenzen .ce-outer{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.referenzen .ce-inner{
    background: white;
}


.referenzen .ce-row{
    display: flex;
    align-items: center;
    justify-content: center;
}


.referenzen img{
    max-width: 100%;
    height: auto;
    transition: 0.3s all ease-in-out;
}

.referenzen .ce-row:first-child img{
    opacity: 1;
    max-width: calc(100% - 30px);
    margin-left: 15px;
}

.referenzen  .ce-row:not(:first-child) img{
    opacity: 0;
}

.referenzen .ce-inner:hover .ce-row:first-child img{
    opacity: 0;
}

.referenzen .ce-inner:hover .ce-row:not(:first-child) img{
    opacity: 1;
}

.referenzen .ce-gallery{
    border: solid 1px black;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.homepage{
    margin-bottom: 40px;
}

.c-tiny{
    background-color: var(--main);
    display: inline-block;
    padding: 1px;
}

footer.footer{
    background-color: var(--main);
    padding-top: 35px;
    padding-bottom: 45px;
    margin-top: 80px;
    font-size: 14px;
}


@media(min-width: 1500px){
    .container{
        max-width: 1440px;
    }
}

@media (min-width: 1900px) {
    body{
        zoom: 1.25;
    }

}

@media(max-width: 991px){
    .maincontent > .container > .frame-type-text{
        width: 100%;
    }
}

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

    h1, .h1, h2, .h2{
        font-size: 40px;
        margin-bottom: 30px;
    }

    h1, .h1{
        margin-bottom: 25px;
    }

    .maincontent{
        margin-top: 60px;
    }

    .row-info > div{
        margin-bottom: 50px;
    }

    .referenzen{
        margin-top: 44px;
    }

    .referenzen > div:not(:last-child){
        margin-bottom: 34px;
    }

    .frame-layout-linkarrow p{
        font-size: 12px;
    }

    footer.footer{
        padding-bottom: 15px;
        text-align: center;
    }
}
