/*
******************************************************************

Main CSS: Standard-Tags, Canvases

(c) sinntun.codes
******************************************************************
*/

/*****************************************************************
**** Document
******************************************************************/

:root {
    --lines-box-shadow: 0 10px 0 0 #fff,
                        0 15px 0 0 #007cc5,
                        0 22px 0 0 #fff,
                        0 27px 0 0 #eecf3f,
                        0 34px 0 0 #fff,
                        0 39px 0 0 #00528c;
}

html {
    height: 100%;
}

body {
    height: 100%;
    font-size: 16px;
    accent-color: #007cc5;
}

/*****************************************************************
**** Common Selectors
******************************************************************/

h1 {

}

h2 {
}

h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}


li {
    font-size: inherit;
    width: auto;
    height: auto;
    float: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ul {
    font-size: inherit;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ol {
    font-size: inherit;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    font-size: 16px;
    line-height: 21px;
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.image-copyright{
    color: #646464;
    font-size:12px;
    text-align: right;
}

ul.linklist {
    list-style: none;
    margin:0;
    padding:0;
}

ul.linklist a {
    color:#000000;
}
ul.linklist a:hover {
    color: #FF8C00;
}

.link-button {
    display: inline-block;
    margin-top: 15px;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 700;
}


.link-container.top {
    margin-bottom: 20px;
}

.link-more {

}
.link-int::before {
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-weight: 900;
    content: '\f32b';
    display: inline-block;
    width: 20px;
}
.link-ext::before {
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-weight: 900;
    content: '\f14c';
    display: inline-block;
    width: 20px;
}

.link-more::before {
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-weight: 900;
    content: '\f32b';
    display: inline-block;
    width: 20px;
}

.download-link::before {
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-weight: 900;
    content: '\f019';
    display: inline-block;
    width: 40px;
}

.phone::before {
    content: '\e11b';
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 30px;
    color: #FF8C00;
}
.fax::before {
    content: '\f1ac';
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 30px;
    color: #FF8C00;
}
.mobile::before {
    content: '\f3cd';
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 30px;
    color: #FF8C00;
}
.mail::before {
    content: '\e10c';
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 30px;
    color: #FF8C00;
}

.button {
    background-color: #FF8C00;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 30px;
    display: inline-block;
}

.button-back::before {
    content: '\f191';
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 30px;
}


.text {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.text ul, .text ol {
    display: block;
    padding: 10px 20px;
}
/*** CKEditor Absätze auch im Frontend */

.texteditor p {
    margin-bottom: 26px;
}
.texteditor ul {
    margin-bottom: 26px;
}

/* ********** error ********** */

.error-text {
    display: block;
    margin: 10px 0;
}

.error-link {
    margin-top: 10px;
    display: block;
}

/* ********** back-to-top ********** */

.back-to-top {
    position: fixed;
    width: 20px;
    height: 20px;
    bottom: 20px;
    right: 20px;
    padding: 1em;
    z-index: 9999;
    text-align: center;
    display: none;
}

/*** download-links
******************************************************************/

.download-item {
    margin-bottom: 10px;
    display: block;
    clear: both;
}

.download-link {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
}

.download-link::before {
    font-family: "Font Awesome 6 Pro", sans-serif;
    font-weight: 900;
    content: "\f019";
    width: 25px;
    display: inline-block;
}


/*****************************************************************
*** Grid / Canvases
******************************************************************/

#main-navigation {
    padding: 35px 0;
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: #fff;
}

#main-navigation-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    max-width: 1400px;
    margin: auto;
    padding: 0 25px;
}

#main-navigation-columns {
    grid-column: 2 / 13;
}

#main-navigation-columns img {
    width: 100px;
}

.pagetype-standard #main-navigation {
    padding: 15px 0;
}

.pagetype-standard #main-navigation-columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#page-canvas {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin: 0;
}

#content-canvas {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

#main-canvas {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}


/*****************************************************************
**** Header
******************************************************************/

#head-canvas {
    width: 100%;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    max-width: 1400px;
    margin: auto;
}


#logo {
    width: 100%;
    max-width: 220px;
    overflow: hidden;
}

#logo img {
    width: auto;
    height: auto;
    display: block;
}


.head-text {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    text-align: center;
    position: absolute;
    top: calc(50% - 20px);
    left: 0;
    right: 0;
    margin: 0 auto;
}

#header {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin: auto;
    padding: 25px 25px 100px;
    max-width: 1400px;
}

#header img {
    width: 250px;
    grid-column: 2 / 4;
    position: relative;
    z-index: 1001;
    transform-origin: left;
}

#header h1 {
    grid-column: 5 / 12;
    color: #006db8;
    font-size: 60px;
}

#header h1 .line-1,
#header h1 .line-2 {
    display: block;
    font-family: "Noto Serif", sans-serif;
    font-weight: 300;
}

#header h1 .line-3 {
    display: block;
    font-weight: 500;
}

#logo-mobile {
    display: none;
}

#logo-mobile img {
    height: 40px;
    padding: 15px;
    width: auto;
    margin-left: 20px;
}

@media (max-width: 1250px) {
    #header h1 {
        grid-column: 6 / 12;
    }
}

@media (max-width: 1024px) {
    #header {
        display: block;
    }

    #header img {
        margin: auto;
        margin-bottom: 50px;
        max-width: 320px;
        width: 100%;
        z-index: initial;
    }

    #header h1 {
        font-size: 40px;
        text-align: center;
    }
}

/*****************************************************************
**** Footer
******************************************************************/

#footer-canvas {
    height: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin: auto;
    background: #007cc5;
}

#footer-content {
    box-sizing: border-box;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    position: relative;
    padding-top: 50px !important;
    padding-bottom: 50px !important;

    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

#footer-container-1 {
    grid-column: 1 / 3;
}

#footer-container-2 {
    grid-column: 4 / 10;
}

#footer-container-3 {
    grid-column: 11 / 13;
}

#footer-container-2,
#footer-container-3 {
    margin-top: 30px;
}

#footer-legal {
    background: #00528c;
    border-top: 1px solid #fff;
}

#footer-contact > p {
    font-family: "Noto Serif", sans-serif;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.25;
    color: #fff;
}

#footer-contact a,
#footer-contact a:before {
    color: #FFFFFF;
    padding-left: 5px;
    width: 20px;
}

#footer-canvas .text,
#footer-canvas .text a {
    font-size: 24px;
}

#footer-canvas .social-media-link {
    margin-right: 25px;
}

#footer-canvas .social-media-link i {
    font-size: 33px;
}

@media only screen and (max-width: 1024px) {
    #footer-container-2,
    #footer-container-3 {
        margin-top: 0;
    }

    #footer-container-3 {
        grid-column: 10 / 13;
    }
}

@media only screen and (max-width: 860px) {
    #footer-content {
        display: block;
        text-align: center;
    }

    #footer-container-1 img {
        max-width: 240px;
        margin: auto;
    }

    #footer-container-2,
    #footer-container-3 {
        margin-top: 60px;
    }

    #footer-contact .address {
        width: initial !important;
    }

    #footer-canvas .column {
        width: auto;
        float: none;
        margin: auto;
        text-align: center;
        padding: 0 20px 25px;
    }

    #footer-canvas .column.right-column {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #footer-canvas .socialmedia-icons {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }
}

/*****************************************************************
**** Lenis
******************************************************************/

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}
