/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

@font-face {
    font-family: "Open Sans";
    src: url('assets/Open_Sans/static/OpenSans/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Open Sans";
    font-weight: bold;
    src: url('assets/Open_Sans/static/OpenSans/OpenSans-Bold.ttf') format('truetype');
}

@font-face {
    font-family: "Open Sans";
    font-style: italic;
    src: url('assets/Open_Sans/static/OpenSans/OpenSans-Italic.ttf') format('truetype');
}

@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: bold;
    src: url('assets/Open_Sans/static/OpenSans/OpenSans-BoldItalic.ttf') format('truetype');
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

html {
    scroll-behavior: smooth;
}


/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --color-primary: #3372AA;
    --color-red: #F0403A;
    --color-light: #f0f5f5;
}

html {
    font-size: 24px;
}

body {
    font-family: "Open Sans", Arial, Serif;
    font-size: 1rem;
}

p {
    line-height: 1.5;
}

.header-headrow {
    background-color: var(--color-primary);
    color: white;
    padding: 12px 0px;
    text-align: right;
    font-size: 0.8rem;
}

div.container {
    max-width: 1920px;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

div.heading-container {
    max-width: 1920px;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-primary);
}

div.text-container {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.5rem;
    padding-right: 30px;
    padding-left: 30px;
}

div.strich-container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;

    padding-right: 30px;
    padding-left: 30px;

}

div.kachel-container {
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, 400px);
    gap: 30px;
    justify-content: center;
}


.st-xs {
    margin-top: 5px;
}

.st-s {
    margin-top: 10px;
}

.st-m {
    margin-top: 18px;
}

.st-l {
    margin-top: 25px;
}

.st-xl {
    margin-top: 30px;
}

.st-xxl {
    margin-top: 35px;
}

.st-xxl-2 {
    margin-top: 45px;
}

.st-xxxl {
    margin-top: 60px;
}

.st-xxxxl {
    margin-top: 100px;
}

a {
    color: black;
    text-decoration: none;
}

div.header-navigation {
    background-color: var(--color-light);

}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 110px;

    font-size: 0.9rem;
}

a.burger {

    background-size: 100%;
    width:50px;
    height:60px;
    display: none;
    row-gap: 10px;
    flex-direction: column;

    justify-content: center;
}


a.burger span {
    display: block;
    height: 6px;
    width: 100%;
    background-color: var(--color-primary);

}




nav a.logo {
    background-image: url("assets/images/logo.png");
    width: 320px;
    background-size: 100%;
    aspect-ratio: 80/19;
}

ul.navigation {
    display: flex;
    gap: 24px;
}

ul.navigation > li > a {
    border-left: 4px solid var(--color-red);
    padding-left: 5px;
    color: var(--color-primary);
    font-weight: bold;
    text-transform: uppercase;


}

ul.navigation > li > a:hover {
    color: var(--color-red);
}


@media only screen and (max-width: 1500px) {
    nav {
        font-size: 0.8rem;

    }

}

@media only screen and (max-width: 1350px) {
    nav {
        font-size: 16px;
    }
    ul.navigation {
        gap:20px;
    }
}


@media only screen and (max-width: 1150px) {
    nav ul {
        flex-direction: column;
    }

    div.heading-container {
        scroll-margin-top: 110px;
    }
    nav a.logo {
        width: 200px;
    }
    nav ul.navigation {
        position: absolute;
        left: 0;
        width: 100%;
        background-color: var(--color-light);
        margin-top: 300px;
        padding: 20px;
        z-index: 9999;
        display: none;
    }
    body.nav-active nav ul.navigation {
        display: flex;
    }
    a.burger {
        display: flex;
    }
    div.header-navigation {
        background-color: var(--color-light);
        position: sticky;
        top: 0;
        margin: 0;
        z-index: 9999;
    }
}

div.header-hero {
    aspect-ratio: 16/9;
    width: 100%;
    position: relative;
    max-width: 1920px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

div.header-hero > video {
    position: absolute;
    aspect-ratio: 16/9;
    width: 100%;

}

div.header-hero #mutebutton {
    background-image: url("assets/images/sound_aus.svg");
    position: absolute;
    right:15px;
    bottom:0px;
    width:clamp(40px, 5vw, 100px);
    aspect-ratio:1/1;
}
div.header-hero #mutebutton.muted {
    background-image: url("assets/images/sound_an.svg");
}


div.header-hero .overlay {
    position: absolute;
    aspect-ratio: 16/9;
    width: 100%;

}

div.header-hero .overlay span {
    position: absolute;
    top: 50%;
    left: 100px;
    font-size: 3rem;
    color: var(--color-primary);
    display: block;
    max-width: 35%;
    text-shadow: 0px 0px 10px white;

}


h1 {
    font-size: 1.7rem;
    color: white;
    background-color: var(--color-primary);
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    font-weight: bold;

    overflow-wrap: break-word;
}

h2.main {
    color: var(--color-primary);
    font-size: 1.3rem;
    text-align: center;
    font-weight: bold;

    overflow-wrap: break-word;
    line-height: 1.4;
}

ul.checklist {

    list-style: none;

    padding-left: 1.2rem;
    display: inline-block;
    text-align: left;
    line-height: 1.5;
}

ul.checklist li {
    font-weight: bold;

}

ul.checklist li::before {
    content: '-';
    color: var(--color-red);
    background-color: var(--color-red);
    border-radius: 99px;
    border: 4px solid var(--color-red);
    width: 0.5rem;
    display: block;
    margin-left: -1.2rem;
    position: absolute;
    font-size: 0.5rem;
    line-height: 0.5rem;
    margin-top: 0.35rem;


}


hr {
    border: none;
    border-top: 3px solid var(--color-red);
    margin: 0;
}


div.card {
    line-height: 1;

}

div.card div.caption {

    box-shadow: 0 0 7px 2px rgb(109 109 109);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-top: 20px;
    background-color: var(--color-primary);
    color: white;
    padding: 10px 0px;
    font-size: 1.12rem;


}


div.hover-box:hover .back {
    transform: rotateY(0deg);
}

div.hover-box:hover .front {
    transform: rotateY(180deg);
}


div.hover-box {
    perspective: 1000;
    transform-style: preserve-3d;
    min-height: 270px;
    cursor: pointer;
}

div.hover-box.info {
    cursor: default;
}

div.hover-box h3 {
    margin: 0;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
}

div.hover-box .flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
    aspect-ratio: 15/17;

}

div.hover-box .front,
div.hover-box .back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;

    box-shadow: 0 0 7px 2px rgb(109 109 109);
    border: 5px solid white;
    border-radius: 12px;
    line-height: 0;
    width: 100%;
    aspect-ratio: 15/17;
    background-color: white;

    box-sizing: border-box;

}

div.hover-box .front img {
    border-radius: 10px;
    width: 100%;
    line-height: 0;
    outline-style: none;
    margin: 0;
    padding: 0;

    height: 100%;
    width: 100%;

}

div.hover-box .front {
    z-index: 2;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);

}

div.hover-box .back {
    padding-top: 1rem;
    box-shadow: 0 2px 20px 0 rgb(88 88 88 / 50%);
    text-align: center;
    font-size: 0.95rem;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 1.43;
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}


div.hover-box .action, div.hover-box .front .action {
    position: absolute;
    z-index: 999;
    right: 12px;
    bottom: 12px;
    line-height: 0;

}

div.hover-box.info .back h2 {
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: bold;
    color: black;
    margin: 0;
    padding: 0;
}


div.hover-box.info .action, div.hover-box.info .front .action {


    width: 40px;
    height: 40px;
}

div.image-container {
    margin-left: auto;
    margin-right: auto;
    line-height: 0;
    max-width: 1920px;
}

div.image-container div.inner-image-container img {
    max-width: 95%;

}

div.image-container div.inner-image-container {
    background-color: var(--color-light);
    text-align: center;
}

div.image-container img {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;

}

footer {
    background-color: var(--color-primary);
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.7rem;

}

footer div.links {

    display: flex;
    justify-content: space-between;
}

footer a {
    color: inherit;
}

.splide__slide {
    text-align: center;
}

section.splide {
    max-width: 850px;
    margin: auto;
}

.splide button.splide__arrow svg {
    display: none;
}

.splide button.splide__arrow--next {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg height='512px' id='Layer_1' style='enable-background:new 0 0 512 512;' version='1.1' viewBox='0 0 512 512' width='512px' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpolygon points='160,128.4 192.3,96 352,256 352,256 352,256 192.3,416 160,383.6 287.3,256 '/%3E%3C/svg%3E");

    right: 0;
}

.splide button.splide__arrow--prev {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg height='512px' id='Layer_1' style='enable-background:new 0 0 512 512;' version='1.1' viewBox='0 0 512 512' width='512px' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpolygon points='352,128.4 319.7,96 160,256 160,256 160,256 319.7,416 352,383.6 224.7,256 '/%3E%3C/svg%3E");
    left: 0;
}

.splide button.splide__arrow {
    background-position: 0px;
    background-size: 100%;
    height: 50px;
    aspect-ratio: 1/1;
    width: unset;
    background-color: transparent;
}

.splide .splide__pagination {
    bottom: -2em;
}

.splide {
    margin-bottom: 2em;
}

.splide .splide__pagination__page {
    height: 12px;
    width: 12px;
}


.splide .splide__pagination__page.is-active {
    background: var(--color-primary);
}

body .splide__pagination__page.is-active {
    transform: none;
}

dialog.dialog-legal .dialog-content {
    padding:  0;
    padding-top: 34px;
}

dialog.dialog-legal {
    font-size: 0.8rem;
    max-width: 862px;
}

dialog.dialog-legal p {
    margin: 30px 0;
}

dialog.dialog-legal h2 {
    margin: 30px 0;
}

dialog.dialog-legal h3 {
    margin: 30px 0;
}
dialog.dialog-legal h3:first-of-type {
    margin-top:0;
}


dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);

}

dialog {
    max-width: 1440px;
    min-width: 60vw;
    max-height: 90vh;
    padding:34px;

    padding-top: 25px;
    border-radius: 20px;

    display: grid;
    grid-template-rows: auto 1fr;


    box-shadow: 0px 0px 7px 2px black;
    border: none;
}

dialog.lift {
    max-width: 940px;
    min-width: 450px;
}
dialog div.dialog-content {
    overflow-y: auto;
    overscroll-behavior-y: none;

}


dialog:not([open]) {
    display: none;
}

dialog > h1 {
    margin: 0;
    padding: 0;
    font-size:36px;
}

dialog a.close {

    background-image: url(assets/images/but_close.png);
    position: absolute;
    width: 40px;
    aspect-ratio: 1/1;
    top: 25px;
    right: 25px;
    display: block;
    background-size: 100%;

}

dialog h1 {
    background: none;
    border-bottom: 2px solid red;
    padding: 0;
    color: red;
    text-align: left;

    line-height: 1;
    padding-bottom: 10px;
}

dialog .dialog-lift-content p {
    font-size: 0.6rem;
    padding: 12px;
}

dialog .dialog-lift-content {
    display: grid;
    margin-top: 34px;
    grid-template-areas: "first-image text"
    "second-image third-image";;

    grid-template-rows: 360px 360px;
    grid-template-columns: repeat(auto-fill, 360px);
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: start;
    gap: 34px;

    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}


dialog .dialog-lift-content p {
    grid-area: text;

}

dialog .dialog-lift-content img {

    width: 100%;
    height: 100%;
}
dialog .dialog-lift-content img:nth-of-type(1) {
    grid-area: first-image;
}

dialog .dialog-lift-content img:nth-of-type(2) {
    grid-area: second-image;
}

dialog .dialog-lift-content img:nth-of-type(3) {
    grid-area: third-image;
}


@media only screen and (max-width: 990px) {
    dialog .dialog-lift-content {
        grid-template-areas: "text"
        "first-image"
        "second-image"
        "third-image";;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
}

.image {
    border-radius: 10px;
}


@media only screen and (max-width: 430px) {

    dialog {
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
        margin: 0;
        width: 100vw;

        box-sizing: border-box;
    }


    dialog.lift {
        min-width:0px;
        padding-left:5px;
        padding-right:5px;
    }

    dialog.dialog-legal div.dialog-content {
        padding: 20px;
    }

    dialog.dialog-legal {
        min-width:0px;
        padding-left:5px;
        padding-right:5px;
    }

    dialog h1 {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 20px;
        margin-left:20px;
        margin-right:20px;
    }
    dialog a.close {
        width:30px;
    }

    dialog .dialog-lift-content {
        /*display: flex;
        gap:20px;
        flex-direction: column*/
        padding-left:20px;
        padding-right:20px;
        margin-top:20px;
        gap:20px;
    }

    dialog .dialog-lift-content img {
        max-width: 100%;

    }

    div.kachel-container {

        grid-template-columns: repeat(auto-fill, 300px);
    }


    div.hover-box .back {
        font-size: 16px;
    }

}
