/*
******************************************************************

Main CSS: Standard-Tags, Canvases

(c) sinntun.codes
******************************************************************
*/

/*****************************************************************
**** Document
******************************************************************/

:root {
    --lines-box-shadow: 0 0.625rem 0 0 var(--sinntun-white),
                        0 0.938rem 0 0 var(--sinntun-light-blue),
                        0 1.375rem 0 0 var(--sinntun-white),
                        0 1.688rem 0 0 var(--sinntun-yellow),
                        0 2.125rem 0 0 var(--sinntun-white),
                        0 2.438rem 0 0 var(--sinntun-flix-blue);

    --spacing-3px: 0.188rem; /* 3px */
    --spacing-5px: 0.3125rem; /* 5px */
    --spacing-10px: 0.6250rem; /* 10px */
    --spacing-12px: 0.7500rem; /* 12px */
    --spacing-15px: 0.9375rem; /* 15px */
    --spacing-16px: 1.0000rem; /* 16px */
    --spacing-18px: 1.1250rem; /* 18px */
    --spacing-20px: 1.2500rem; /* 20px */
    --spacing-25px: 1.5625rem; /* 25px */
    --spacing-30px: 1.8750rem; /* 30px */
    --spacing-35px: 2.1875rem; /* 35px */
    --spacing-40px: 2.5000rem; /* 40px */
    --spacing-45px: 2.8125rem; /* 45px */
    --spacing-50px: 3.1250rem; /* 50px */
    --spacing-55px: 3.4375rem; /* 55px */
    --spacing-60px: 3.7500rem; /* 60px */
    --spacing-65px: 4.0630rem; /* 65px */
    --spacing-70px: 4.3750rem; /* 70px */

    --sinntun-font-size: 1rem;
    --sinntun-font-size-18px: 1.1250rem;
    --sinntun-font-size-20px: 1.2500rem;
    --sinntun-font-size-22px: 1.3750rem;
    --sinntun-font-size-24px: 1.5000rem;
    --sinntun-font-size-26px: 1.6250rem;
    --sinntun-font-size-28px: 1.7500rem;
    --sinntun-font-size-30px: 1.8750rem;
    --sinntun-font-size-32px: 2.0000rem;
    --sinntun-font-size-34px: 2.1250rem;
    --sinntun-font-size-36px: 2.2500rem;
    --sinntun-font-size-48px: 3.0000rem;

    --sinntun-font-family: 'Noto Sans';

    --sinntun-white: #FFFFFF;
    --sinntun-light-blue-old: #007CC5;
    --sinntun-light-blue: #0074B9;
    --sinntun-yellow: #EECF3F;
    --sinntun-bg-light-gray: #E7E7E7;
    --sinntun-flix-blue: #00528C;
    --sinntun-orange: #FF8C00;
    /* Wenn Hintergrund === --sinntun-bg-light-gray,
       Wenn Hintergrund === --sinntun-yellow,
       Wenn Fließtext,
       Dann: --sinntun-text-color-anth */
    --sinntun-text-color-anth: #3A3C3D;


    --sinntun-content-width: 90rem;


    --outline: 0.1875rem solid var(--sinntun-light-blue);
    --outline-offset: 0.1875rem;
}

html {
    height: 100%;
}

body {
    height: 100%;
    font-size: var(--sinntun-font-size-18px);
    accent-color: var(--sinntun-light-blue);
}

/*****************************************************************
**** Common Selectors
******************************************************************/

h1 {

}

h2 {
}

h3 {
    font-size: 1.125rem;
    margin-bottom: 0.938rem;
    font-weight: 500;
}


li {
    font-size: inherit;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

ul {
    font-size: inherit;
    box-sizing: border-box;
}

ol {
    font-size: inherit;
    box-sizing: border-box;
}

a {
    font-size: var(--sinntun-font-size-18px);
    line-height: 1.313rem;
    text-decoration: none;
}

a:focus-visible {
    outline: var(--outline);
    outline-offset: var(--outline-offset);
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.image-copyright{
    color: #646464;
    font-size:0.75rem;
    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: 0.938rem;
    padding: 0.938rem;
    text-transform: uppercase;
    font-weight: 700;
}


.link-container.top {
    margin-bottom: 1.25rem;
}

.link-more {

}
.link-int::before {
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-weight: 900;
    content: '\f32b';
    display: inline-block;
    width: 1.25rem;
}
.link-ext::before {
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-weight: 900;
    content: '\f14c';
    display: inline-block;
    width: 1.25rem;
}

.link-more::before {
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-weight: 900;
    content: '\f32b';
    display: inline-block;
    width: 1.25rem;
}

.download-link::before {
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-weight: 900;
    content: '\f019';
    display: inline-block;
    width: 2.5rem;
}

.phone::before {
    content: '\e11b';
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 1.875rem;
    color: #FF8C00;
}
.fax::before {
    content: '\f1ac';
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 1.875rem;
    color: #FF8C00;
}
.mobile::before {
    content: '\f3cd';
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 1.875rem;
    color: #FF8C00;
}
.mail::before {
    content: '\e10c';
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 1.875rem;
    color: #FF8C00;
}

.button {
    background-color: #FF8C00;
    color: #fff;
    border: none;
    border-radius: 0.625rem;
    padding: 0.625rem 1.875rem;
    display: inline-block;
}

.button-back::before {
    content: '\f191';
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 1.875rem;
}


.text {
    box-sizing: border-box;
}
.text ul, .text ol {
    display: block;
    padding: 0.625rem 1.25rem;
    margin-left: 1.25rem;
}
/*** CKEditor Absätze auch im Frontend */

.texteditor p {
    margin-bottom: 1.625rem;
}
.texteditor ul {
    margin-bottom: 1.625rem;
}

/* ********** error ********** */

.error-text {
    display: block;
    margin: 0.625rem 0;
}

.error-link {
    margin-top: 0.625rem;
    display: block;
}

/* ********** back-to-top ********** */

.back-to-top {
    position: fixed;
    width: 1.25rem;
    height: 1.25rem;
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 1em;
    z-index: 9999;
    text-align: center;
    display: none;
}

.back-to-top:hover {
    background-color: var(--sinntun-yellow);
    color: var(--sinntun-text-color-anth);
}
.back-to-top:focus-visible {
    outline: none;
    background-color: var(--sinntun-yellow);

}

.back-to-top:focus-visible .fa-arrow-up {
    color: var(--sinntun-text-color-anth);
}

/*** download-links
******************************************************************/

.download-item {
    margin-bottom: 0.625rem;
    display: block;
    clear: both;
}

.download-link {
    box-sizing: border-box;
    display: block;
    width: fit-content;
}

.download-link::before {
    font-family: "Font Awesome 7 Pro", sans-serif;
    font-weight: 900;
    content: "\f019";
    width: 1.563rem;
    display: inline-block;
}


/*****************************************************************
*** Grid / Canvases
******************************************************************/

#main-navigation {
    padding: 2.188rem 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: 90rem;
    margin: auto;
}

#main-navigation-columns {
    grid-column: 1 / 13;
}

#main-navigation-columns img {
    width: 6.25rem;
}

.pagetype-standard #main-navigation {
    padding: 0.938rem 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;
    box-sizing: border-box;
    position: relative;
    max-width: 90rem;
    margin: auto;
}


#logo {
    width: 100%;
    max-width: 13.75rem;
    overflow: hidden;
}

#logo img {
    width: auto;
    height: auto;
    display: block;
}


.head-text {
    box-sizing: border-box;
    display: block;
    text-align: center;
    position: absolute;
    top: calc(50% - 1.25rem);
    left: 0;
    right: 0;
    margin: 0 auto;
}

#header {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin: auto;
    padding: 1.563rem 1.563rem 6.25rem;
    max-width: 90rem;
}

#header img {
    width: 15.625rem;
    grid-column: 1 / 3;
    position: relative;
    z-index: 1001;
    transform-origin: left;
}

#header h1 {
    grid-column: 5 / 12;
    color: #006db8;
    font-size: 3.75rem;
}

#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: 2.5rem;
    padding: 0.938rem;
    width: auto;
    margin-left: 1.25rem;
}

@media (max-width: 78.125rem) {
    #header h1 {
        grid-column: 6 / 12;
    }
}

@media (max-width: 64rem) {
    #header {
        display: block;
    }

    #header img {
        margin: auto auto 3.125rem;
        max-width: 20rem;
        width: 100%;
        z-index: initial;
    }

    #header h1 {
        font-size: 2.5rem;
        text-align: center;
    }
}

/*****************************************************************
**** Footer
******************************************************************/

#footer-canvas {
    height: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin: auto;
    background: var(--sinntun-light-blue);
}

#footer-content {
    box-sizing: border-box;
    max-width: 90rem;
    width: 100%;
    margin: auto;
    position: relative;
    padding-top: 3.125rem !important;
    padding-bottom: 3.125rem !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: 1.875rem;
}

#footer-legal {
    background: var(--sinntun-flix-blue);
    border-top: 0.063rem solid var(--sinntun-white);
}

#footer-legal .nav-footer-link:focus-visible span {
    outline: var(--outline);
    outline-offset: var(--outline-offset);
    color: var(--sinntun-yellow);
    outline-color: var(--sinntun-yellow);
    text-decoration: none;
}


#footer-contact > p {
    font-family: var(--sinntun-font-family), sans-serif;
    font-size: var(--sinntun-font-size-24px);
    font-weight: 300;
    line-height: 1.25;
    color:var(--sinntun-white);
}

#footer-contact a,
#footer-contact a:before {
    color: #FFFFFF;
}
#footer-contact .address a:focus-visible span,
#footer-canvas .text a:focus-visible span {
    outline: var(--outline);
    outline-offset: var(--outline-offset);
    color: var(--sinntun-yellow);
    outline-color: var(--sinntun-yellow);
    text-decoration: none;
}

#footer-contact .address a:focus-visible span {
}

#footer-canvas .text,
#footer-canvas .text a {
    font-size: var(--sinntun-font-size-18px);
}


#footer-socialmedia a {
    display: inline-block;
    margin: 0.625rem 0.625rem 0.625rem 0;
    width: 3.75rem;
    height: 3.75rem;
}

#footer-socialmedia a:hover i {
    color: var(--sinntun-yellow);
}


#footer-socialmedia a:focus-visible i {
    color: var(--sinntun-yellow);
}

#footer-canvas .social-media-link {
    margin-right: 1.563rem;
}

#footer-canvas .social-media-link i {
    font-size: 2.063rem;
}

@media only screen and (max-width: 64rem) {
    #footer-container-2,
    #footer-container-3 {
        margin-top: 0;
    }

    #footer-container-3 {
        grid-column: 10 / 13;
    }
}

@media only screen and (max-width: 53.75rem) {
    #footer-content {
        display: block;
        text-align: center;
    }

    #footer-container-1 img {
        max-width: 15rem;
        margin: auto;
    }

    #footer-container-2,
    #footer-container-3 {
        margin-top: 3.75rem;
    }

    #footer-contact .address {
        width: initial !important;
    }

    #footer-canvas .column {
        width: auto;
        float: none;
        margin: auto;
        text-align: center;
        padding: 0 1.25rem 1.563rem;
    }

    #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;
}

/*****************************************************************
**** Skip-Link
******************************************************************/

/* Skip Link für Barrierefreiheit */
.skiplink {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-200%);
    background-color: var(--sinntun-light-blue);
    color: var(--sinntun-white);
    padding: var(--spacing-20px) var(--spacing-30px);
    z-index: 2000;
    font-size: var(--font-size-24px);
    text-decoration: underline;
}

.skiplink:focus-visible {
    transform: translateY(0);
    outline: var(--outline);
    outline-offset: 0;
}
