:root{
    /* Farben */
    --color-white: #ffffff;
    --color-gray-lightest: #f9f9f9;
    --color-gray-lighter: #f1f1f1;
    --color-gray-light: #b3b3b3;
    --color-gray: #777777;
    --color-gray-dark: #555555;
    --color-gray-darker: #333333;
    --color-gray-darkest: #1a1a1a;
    --color-black: #000000;
    --color-limegreen: #3fb83f;
    --color-red-lightest: #fff4f4;
    --color-red: #c83737;
    --color-blue: #2778C8;

    /* Text */
    --text-color: #555555;
    --text-color-dark: #1a1a1a;

    /* Header-Size */
    --font-size-header: clamp(1.875rem, 1.6071rem + 1.1429vw, 2.5rem); /* 30-40 */
    --font-size--header-default: 40px;
    --line-height-header: clamp(2.5rem, 2.1250rem + 1.6000vw, 3.375rem); /* 40-54 */
    --line-height-header-default: 54px;
}

html {
    margin: 0;
    padding: 0;
    /* Schriftskalierung im Querformat verhindern / Benutzerzoom zulassen */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%;
    size-adjust: 100%;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 24px;
    font-weight: normal;
    color: var(--text-color);
    overflow-x: hidden;
}
main {
    min-height: calc(100vh - 313px); /* Seite vertikal füllen */
    padding-bottom: 40px;
}

.container, .frame {
    max-width: 1200px;
    margin: 0 auto;
}

.frame {
    position: relative !important;
}

@media (max-width: 1250px) {
    .container, .frame {
        margin: 0 25px;
    }
    .container .frame {
        margin: 0;
    }
    .container .container {
        margin: 0;
    }
}
@media (max-width: 768px) {
    .container, .frame {
        margin: 0 16px;
    }
    .container .frame {
        margin: 0;
    }
}
.frame > .frame {
    margin: 0;
}

#logo {
    display: inline-block;
    width: 200px;
    height: 38px;
    margin: 18px 0 0 0;
}
.color-bar {
    height: 5px;
    background-color: var(--primaryColor);
}


/* ####################################################### */
/* #    Hintergrundfarbe beim markieren von Elementen    # */
/* ####################################################### */

::-moz-selection {
    background: var(--primaryColor); 
    color: var(--color-white); 
}
::selection {
    background: var(--primaryColor); 
    color: var(--color-white); 
}
img::selection {
    background: var(--secondaryColor);
}
img::-moz-selection {
    background: var(--secondaryColor);
}


/* ############################################# */
/* #    Markierung Tab-Navigation              # */
/* ############################################# */

a:focus-visible { 
    outline: 0px auto transparent;
    outline: none;
    border-bottom: solid 2px;
    border-color: var(--primaryColor);
    box-shadow: none;
}


/* ############################################# */
/* #    Scrollbar                              # */
/* ############################################# */

/* Scrollbar-Popin verhindern */
html {
    width: 100vw; 
} 
/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color:var(--color-gray-light) var(--color-gray-lighter);
}
/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: var(--color-gray-lighter);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--color-gray-light);
}


/* ############################################# */
/* #    Inhaltselemente                        # */
/* ############################################# */

h1 {
    font-size: calc(var(--font-size-header, --font-size-header-default) * 0.8); /* 24-32 */
    line-height: calc(var(--line-height-header, --line-height-header-default) * 0.8); /* 32-43.2 */
    margin: 24px 0;
}
h2 {
    font-size: calc(var(--font-size-header, --font-size-header-default) * 0.7); /* 21-28 */
    line-height: calc(var(--line-height-header, --line-height-header-default) * 0.7); /* 28-37.8 */
    margin: 18px 0;
}
h3 {
    font-size: calc(var(--font-size-header, --font-size-header-default) * 0.6); /* 18-24 */
    line-height: calc(var(--line-height-header, --line-height-header-default) * 0.6); /* 24-32.4 */
    margin: 14px 0;
}
h4 {
    font-size: calc(var(--font-size-header, --font-size-header-default) * 0.5); /* 15-20 */
    line-height: calc(var(--line-height-header, --line-height-header-default) * 0.5); /* 20-27 */
    margin: 10px 0;
}
    h1, h2, h3, h4 {
        color: var(--text-color-dark);
        font-weight: 600;
        word-break: break-word;
        hyphens: auto;    
    }


/* ############################################# */
/* #    Layout / Banner                        # */
/* ############################################# */

    .banner_content {
        min-height: 240px;
        background: var(--primaryColor);
        color: var(--color-white);
        padding: 0;
        overflow: hidden;
    }

    .banner_content .dce, 
    .banner_content .dce #banner {
        height: auto;
        min-height: 240px;
    }
    .banner_content .dce #banner .top-left {
        height: auto;
        min-height: 240px;
        padding: 0 0 60px 0;
    }

/* ############################################# */
/* #    Zwei Spalten [Seitenmenü Layout]       # */
/* ############################################# */

    .sidewrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        grid-template-areas:
        "aside"
        "section";
    }
        .sidewrapper section {
            grid-area: section;
            grid-column: 1 / 5;
        }
        .sidewrapper aside {
            grid-area: aside;
            grid-column: 1 / 5;
        }
            .sidewrapper aside div:first-child {
                margin: 0;
                padding: 0;
                position: -webkit-sticky; /* Safari */
                position: sticky;
                top: 0px;
                inset-block-start: 0;
            }
            .sidewrapper aside ul {
                margin: 0;
                padding: 18px 0 0 0;
                list-style: none;
            }
                .sidewrapper aside ul li a {
                    padding: 0 0 0 5px;
                    text-decoration: none;
                    font-weight: 600;
                    font-size: 24px;
                    color: var(--text-color-dark);
                }
                    .sidewrapper aside ul li ul {
                        margin: 0;
                        padding: 0;
                        list-style: none;
                    }
                    .sidewrapper aside ul li ul li a {
                        display: block;
                        width: 100%;
                        padding: 5px;
                        text-decoration: none;
                        font-weight: normal;
                        font-size: 14px;
                        color: var(--text-color);
                        border-bottom: solid 1px var(--color-gray-lighter);
                    }
                        .sidewrapper aside ul li ul li a:hover {
                            background: var(--color-gray-lightest);
                        }
                        .sidewrapper aside ul li ul li a:active {
                            background: var(--color-gray-lighter);
                        }


    /* Bildschirm größer 768px */
    @media (min-width: 768px) {
        .sidewrapper{
            grid-template-areas:
            "section aside";
        }
        .sidewrapper section {
            grid-column: 1 / 4;
        }
        .sidewrapper aside {
            grid-column: 4 / 5;
        }
    }


/* ############################################# */
/* #    Form                                   # */
/* ############################################# */

@media (min-width: 768px) {
    form .row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px;
    }
}
.form-group {
    margin-bottom: 25px;
}
form a {
    font-weight: 700;
    color: var(--primaryColor);
    text-decoration: none;
}
form a:hover {
    text-decoration: underline;
}
.frame-type-form_formframework form input,
.frame-type-form_formframework form select,
.frame-type-form_formframework form textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    border: none;
    border-bottom: solid 2px var(--color-gray-light);
    width: calc(100% - 20px);
    background: var(--color-gray-lightest);
    padding: 10px;
    border-radius: 0px;
    -webkit-border-radius: 0px;
}
.frame-type-form_formframework form select {
    width: 100%;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url(../Icons/arrow-select.svg);
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 8px auto;
}
.frame-type-form_formframework form textarea {
    min-height: 90px;
}
    .frame-type-form_formframework form input:focus,
    .frame-type-form_formframework form select:focus,
    .frame-type-form_formframework form textarea:focus {
        outline: 0px auto transparent;
        outline: none;
        border-color: var(--primaryColor);
        box-shadow: none;
    }
.input .parsley-error{
    background-color: var(--color-red-lightest);
    border-color: var(--color-red);
}
input.parsley-error,
select.parsley-error,
textarea.parsley-error {
    color: var(--color-red);
}
.input .form-check .parsley-error{
    background-color: transparent;
}
.form-check{
    margin-left: 75px;
}
    .form-check .add-on {
        margin-top: 40px;
    }
        .form-check .add-on input[type=checkbox] {
            display: none;
        }
        .form-check .add-on span {
            position: relative;
        }
        .form-check .add-on span::before,
        .form-check .add-on span::after {
            cursor: pointer;
        }
        .form-check .add-on input[type=checkbox] + span::before {
            content: " ";
            display: block;
            height: 24px;
            width: 54px;
            border: 1px solid var(--color-gray-light);
            background-color: var(--color-gray-lighter);
            border-radius: 13px;
            position: absolute;
            top: 0px;
            left: -75px;
            transition: all 0.3s ease-in;
        }
        .form-check .add-on input[type=checkbox]:checked + span::before {
            transition: all 0.3s ease-in;
            background-color: var(--color-limegreen);
            border: 1px solid var(--color-limegreen);
        }    
        .form-check .parsley-error.add-on input[type=checkbox] + span::before {
            background-color: var(--color-red);
            border: 1px solid var(--color-red);
        }
        .form-check .add-on input[type=checkbox] + span::after {
            content: " ";
            display: block;
            height: 20px;
            width: 20px;
            border-radius: 50%;
            position: absolute;
            top: 3px;
            left: -71px;
            background: var(--color-gray-light);
            transition: all 0.3s ease-in;
        }
        .form-check .add-on input[type=checkbox]:checked + span::after {
            left: -42px;
            transition: all 0.3s ease-in;
            background: var(--color-white);
        }
        .form-check .parsley-error.add-on input[type=checkbox] + span::after {
            background: var(--color-white);
        }
        .form-check .add-on span {
            display: inline-block;
            font-size: 12px;
            line-height: 16px;
        }
.help-block {
    display: block;
    margin: 5px 0;
    position: absolute;
}
.checkbox .help-block {
    margin: 5px 0 0 74px;

}
    .help-block ul li{
        color: var(--color-red);
        font-size: 13px;
    }
.btn-group {
    margin-top: 40px;
    text-align: right;
}


/* ############################################# */
/* #    Buttons                                # */
/* ############################################# */

.btn.btn-primary {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 10px;
    min-width: 300px;
    background: var(--primaryColor);
    color: var(--color-white);
    text-decoration: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    margin-left: auto;
    margin-right: 0;
    transition: background-color 0.2s ease-in-out 0s;
}
    .btn.btn-primary:hover {
        background: var(--primaryColor-dark);
    }
    .btn.btn-primary:active {
        background: var(--primaryColor);
    }
    .btn.btn-primary:focus-visible {
        outline-color: var(--secondaryColor); /* Markierung TAB */
    }

.btn.btn-secondary {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    padding: 8px;
    min-width: 300px;
    width: fit-content;
    background: var(--color-gray-lighter);
    color: var(--color-gray-darker);
    border: none;
    border-radius: 0;
    cursor: pointer;
    margin-left: auto; 
    margin-right: 0;
    transition: background-color 0.2s ease-in-out 0s;
}
    .btn.btn-secondary:hover {
        background: var(--color-gray-lighter);
        filter: brightness(0.95);
    }
    .btn.btn-secondary:active {
        background: var(--color-gray-lighter);
    }
    .btn.btn-secondary:focus-visible {
        outline-color: var(--secondaryColor); /* Markierung TAB */
    }

.btn.btn-delete, .btn.btn-delete:hover, .btn.btn-delete:active {
    background-image: url(../Icons/trash-can.svg);
    background-repeat: no-repeat;
    background-position: left 10px top 12px;
    background-size: 16px auto;
}

.btn.btn-refresh, .btn.btn-refresh:hover, .btn.btn-refresh:active {
    background-image: url(../Icons/refresh-white.svg);
    background-repeat: no-repeat;
    background-position: left 10px top 12px;
    background-size: 16px auto;
}
.btn-right {
    float: right;
}

/* ############################################# */
/* #    Tabellen                               # */
/* ############################################# */

.table-scrollable {
    width: 100%;
    overflow-y: auto;
    margin: 0 0 1em;
}
.table-scrollable::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 14px;
    height: 8px;
}
.table-scrollable::-webkit-scrollbar-thumb {
    background-color: var(--color-gray-light);
}


/* ############################################# */
/* #    Layout / Video                         # */
/* ############################################# */

#header.video {
    background: var(--primaryColor);
    height: 70px;
}
    #header.video nav span {
        display: none;
        position: relative;
        margin: 0;
        padding: 23px 0;
        width: 200px;
        color: var(--color-white);
        float: right;
        font-size: 24px;
        font-weight: 400;
        text-align: end;
    }
    #header.video .main-nav::after {
        display: none;
    }
main.video {
    min-height: calc(100vh - 235px);
    padding-bottom: 0px;
}

main.video .frame-layout-1 {
    margin-top: 30px;
    padding: 15px;
    font-size: 11px;
    font-weight: 500;
    line-height: 18px;
    background-color: var(--color-gray-lightest);
}
    main.video .frame-layout-1 h2 {
        margin: 0 0 10px 0;
        padding: 0;
        font-size: 14px;
        line-height: 18px;
    }
    main.video .frame-layout-1 p {
        margin: 0;
        padding: 0;
    }
    main.video .frame-layout-1 span {
        white-space: nowrap;
    }

main.video .footnotes {
    margin-bottom: 0px;
}

footer.video {
    margin-top: 30px;
}
    #copy.video ul {
        list-style: none;
        display: block;
        margin: 0;
        padding: 0;
    }
        #copy.video ul li{
            display: inline;
        }
    #copy.video a {
        font-size: 13px;
        color: var(--color-white);
        text-decoration: none;
    }
        #copy.video ul > li:first-of-type::after {
            content: ' / ';
            font-weight: normal;
        }

/* Bildschirm größer 500px */
@media (min-width: 500px) {
    #copy.video ul {
        display: inline;
        float: right;
    }
    #header.video nav span {
        display: block;
    }
    main.video {
        min-height: calc(100vh - 179px);
    }
}


/* ############################################# */
/* #    Footer                                 # */
/* ############################################# */

footer {
    background: var(--color-gray-darkest);
    color: var(--color-white);
}
#footer {
    border-bottom: solid 1px var(--color-black);
    font-size: 13px;
    padding: 10px 0;
    color: var(--color-gray-light);
}
#footer .frame {
    margin: 0 auto;
}

    #footer h3 {
        font-size: 20px;
        color: var(--color-white);
        margin: 0;
    }
    #footer a{
        text-decoration: none;
        color: var(--color-white);
    }
        #footer a:hover{
            text-decoration: underline;
        }
    #footer .wrapper{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
        #footer .address {
            grid-column: 1 / 3;
        }
            #footer .address span {
                white-space: nowrap;
            }
        #footer .menu-left {
            grid-column: 1 / 2;
        }
            #footer .menu-left ul {
                list-style-type: none;
                margin: 0;
                padding: 0;
            }
        #footer .menu-right {
            grid-column: 2 / 3;
        }
            #footer .menu-right ul {
                list-style-type: none;
                margin: 0;
                padding: 0;
            }
        #footer .hotline {
            grid-column: 1 / 3;
        }
            #footer .hotline h3 span {
                display: inline-block;
            }
            #footer .hotline ul {
                list-style-type: none;
                margin: 0;
                padding: 0;
            }
                #footer .hotline ul li::before {
                    font-family: "Font Awesome 6 Free";
                    content: "\f0e0";
                    font-weight: 900;
                    font-size: 20px;
                    color: var(--color-white);
                    padding-right: 5px;
                    position: relative;
                    top: 2px;
                }
            

    /* Bildschirm größer 500px */
    @media (min-width: 500px) {
        #footer .wrapper{
            grid-template-columns: repeat(3, 1fr);
        }
            #footer .address {
                grid-column: 1 / 2;
            }
            #footer .menu-left {
                grid-column: 2 / 3;
            }
            #footer .menu-right {
                grid-column: 3 / 4;
            }
            #footer .hotline{
                grid-column: 1 / 4;
            }
    }
    /* Bildschirm größer 768px */
    @media (min-width: 768px) {
        #footer .wrapper{
            grid-template-columns: repeat(5, 1fr);
        }
            #footer .address {
                grid-column: 1 / 2;
            }
            #footer .menu-left {
                grid-column: 2 / 3;
            }
            #footer .menu-right {
                grid-column: 3 / 4;
            }
            #footer .hotline{
                grid-column: 4 / 6;
            }
    }

    /* #### Footer > Copy #### */
    #copy {
        border-top: solid 1px var(--color-gray-darker);
        padding: 12px 0;
        font-size: 12px;
        text-align: center;
    }
        #copy .company {
            float: inherit;
            position: relative;
            display: block;
        }
            #copy .company img {
                height: 24px;
                width: auto;
            }
    /* Bildschirm größer 500px */
    @media (min-width: 500px) {
        #copy .company {
            float: left;
        }
    }


/* ############################################# */
/* #    Lightbox                               # */
/* ############################################# */

.pswp__bg {
    opacity: 0.7 !important;
}


/* ############################################# */
/* #    Tabelle / Editionsvergleich            # */
/* ############################################# */

#editions {
    width: 100%;
    border-collapse: collapse;
}
    #editions thead {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 0;
        inset-block-start: 0; /* "top" */
    }
    #editions thead tr {
        background: var(--primaryColor);
        color: var(--color-white);
    }
        #editions thead tr th {
            padding: 10px;
        }
        #editions tr td {
            padding: 5px 10px;
            border-top: solid 1px var(--color-gray-lighter);
            border-bottom: solid 1px var(--color-gray-lighter);
            border-right: solid 1px var(--color-gray-lighter);
        }
        #editions tr td:last-child {
            border-right: none;
        }
        #editions tbody tr:hover {
            background: var(--color-gray-lightest);
        }
            #editions tr td img {
                text-align: center;
            }
        #editions tbody tr th {
            text-align: left;
            padding: 10px;
            position: -webkit-sticky; /* Safari */
            position: sticky;
            top: 43px;
            background-color: var(--color-white);
            box-shadow: inset 0px -1px var(--color-gray-lighter), inset 0px 0px var(--color-white);
        }

/* Bildschirm kleiner 896px */
@media (max-width: 896px) {
    .frame-layout-0 .contenttable tbody tr th {
        top: 67px;
    }
}
/* Bildschirm kleiner 500px */
@media (max-width: 500px) {
    .frame-layout-0 .contenttable thead tr th strong {
        writing-mode: vertical-lr;
        -webkit-writing-mode: vertical-lr;
        white-space: pre;
    }
    .frame-layout-0 .contenttable tbody tr th {
        top: 178px;
    }
}