/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --container-width: 792px;
    --content-width: 768px;
    --ink: #1a1a1a;
    --paper: #ffffff;
    --bg: #d8d8d8;
    --rule: #4a4a4a;
    --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    --step--1: clamp(0.7778rem, 0.7778rem + 0vw, 0.7778rem);
    --step-0: clamp(0.875rem, 0.875rem + 0vw, 0.875rem);
    --step-1: clamp(0.9844rem, 0.9844rem + 0vw, 0.9844rem);
    --step-2: clamp(1.1074rem, 1.1074rem + 0vw, 1.1074rem);
    --step-3: clamp(1.2458rem, 1.2458rem + 0vw, 1.2458rem);
    --step-4: clamp(1.4016rem, 1.4016rem + 0vw, 1.4016rem);
    --step-5: clamp(1.5768rem, 1.5768rem + 0vw, 1.5768rem);
    --step-6: clamp(1.7739rem, 1.7739rem + 0vw, 1.7739rem);
    --step-7: clamp(1.9956rem, 1.9956rem + 0vw, 1.9956rem);
    --step-8: clamp(2.2451rem, 2.2451rem + 0vw, 2.2451rem);}

:host {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1
}

.swiper {
    display: block;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 1
}

.swiper-vertical>.swiper-wrapper {
    flex-direction: column
}

.swiper-wrapper {
    box-sizing: initial;
    display: flex;
    height: 100%;
    position: relative;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    width: 100%;
    z-index: 1
}

.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
    transform: translateZ(0)
}

.swiper-horizontal {
    touch-action: pan-y
}

.swiper-vertical {
    touch-action: pan-x
}

.swiper-slide {
    display: block;
    flex-shrink: 0;
    height: 100%;
    position: relative;
    transition-property: transform;
    width: 100%
}

.swiper-slide-invisible-blank {
    visibility: hidden
}

.swiper-autoheight,
.swiper-autoheight .swiper-slide {
    height: auto
}

.swiper-autoheight .swiper-wrapper {
    align-items: flex-start;
    transition-property: transform, height
}

.swiper-backface-hidden .swiper-slide {
    backface-visibility: hidden;
    transform: translateZ(0)
}

.swiper-3d.swiper-css-mode .swiper-wrapper {
    perspective: 1200px
}

.swiper-3d .swiper-wrapper {
    transform-style: preserve-3d
}

.swiper-3d {
    perspective: 1200px;

    .swiper-cube-shadow,
    .swiper-slide {
        transform-style: preserve-3d
    }
}

.swiper-css-mode {
    >.swiper-wrapper {
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;

        &::-webkit-scrollbar {
            display: none
        }
    }

    >.swiper-wrapper>.swiper-slide {
        scroll-snap-align: start start
    }

    &.swiper-horizontal {
        >.swiper-wrapper {
            scroll-snap-type: x mandatory
        }

        >.swiper-wrapper>.swiper-slide:first-child {
            margin-inline-start: var(--swiper-slides-offset-before);
            scroll-margin-inline-start: var(--swiper-slides-offset-before)
        }

        >.swiper-wrapper>.swiper-slide:last-child {
            margin-inline-end: var(--swiper-slides-offset-after)
        }
    }

    &.swiper-vertical {
        >.swiper-wrapper {
            scroll-snap-type: y mandatory
        }

        >.swiper-wrapper>.swiper-slide:first-child {
            margin-block-start: var(--swiper-slides-offset-before);
            scroll-margin-block-start: var(--swiper-slides-offset-before)
        }

        >.swiper-wrapper>.swiper-slide:last-child {
            margin-block-end: var(--swiper-slides-offset-after)
        }
    }

    &.swiper-free-mode {
        >.swiper-wrapper {
            scroll-snap-type: none
        }

        >.swiper-wrapper>.swiper-slide {
            scroll-snap-align: none
        }
    }

    &.swiper-centered {
        >.swiper-wrapper:before {
            content: "";
            flex-shrink: 0;
            order: 9999
        }

        >.swiper-wrapper>.swiper-slide {
            scroll-snap-align: center center;
            scroll-snap-stop: always
        }
    }

    &.swiper-centered.swiper-horizontal {
        >.swiper-wrapper>.swiper-slide:first-child {
            margin-inline-start: var(--swiper-centered-offset-before)
        }

        >.swiper-wrapper:before {
            height: 100%;
            min-height: 1px;
            width: var(--swiper-centered-offset-after)
        }
    }

    &.swiper-centered.swiper-vertical {
        >.swiper-wrapper>.swiper-slide:first-child {
            margin-block-start: var(--swiper-centered-offset-before)
        }

        >.swiper-wrapper:before {
            height: var(--swiper-centered-offset-after);
            min-width: 1px;
            width: 100%
        }
    }
}

.swiper-3d {

    .swiper-slide-shadow,
    .swiper-slide-shadow-bottom,
    .swiper-slide-shadow-left,
    .swiper-slide-shadow-right,
    .swiper-slide-shadow-top {
        height: 100%;
        left: 0;
        pointer-events: none;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 10
    }

    .swiper-slide-shadow {
        background: #00000026
    }

    .swiper-slide-shadow-left {
        background-image: linear-gradient(270deg, #00000080, #0000)
    }

    .swiper-slide-shadow-right {
        background-image: linear-gradient(90deg, #00000080, #0000)
    }

    .swiper-slide-shadow-top {
        background-image: linear-gradient(0deg, #00000080, #0000)
    }

    .swiper-slide-shadow-bottom {
        background-image: linear-gradient(180deg, #00000080, #0000)
    }
}

.swiper-lazy-preloader {
    border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
    border-radius: 50%;
    border-top: 4px solid #0000;
    box-sizing: border-box;
    height: 42px;
    left: 50%;
    margin-left: -21px;
    margin-top: -21px;
    position: absolute;
    top: 50%;
    transform-origin: 50%;
    width: 42px;
    z-index: 10
}

.swiper-watch-progress .swiper-slide-visible,
.swiper:not(.swiper-watch-progress) {
    .swiper-lazy-preloader {
        animation: swiper-preloader-spin 1s linear infinite
    }
}

.swiper-lazy-preloader-white {
    --swiper-preloader-color: #fff
}

.swiper-lazy-preloader-black {
    --swiper-preloader-color: #000
}

.swiper-button-prev,
.swiper-button-next {
    visibility: hidden;
}

.swiper-button-prev-btn,
.swiper-button-next-btn {
    visibility: visible;
}

@keyframes swiper-preloader-spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

@media (min-width: 1000px) and (min-height: 700px) {
    :root {
        --container-width: 1024px;
        --content-width: 1000px;
    }
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-VariableFont_wdth,wght.woff2") format("woff2");
    font-weight: 400;
    /* font-style: normal; */
    font-display: swap;
}

body {
    margin: 0;
    font-family: var(--font-body), sans-serif;
    color: var(--ink);
    background-color: var(--bg);
    /* Fallback for Browsers without image-set()-Support */
    background-image: url("images/hintergrund.jpg");
    /* Use WebP if supported, otherwise fall back to JPEG */
    background-image: image-set(
            url("images/hintergrund.webp") type("image/webp"),
            url("images/hintergrund.jpg") type("image/jpeg")
    );
    background-repeat: repeat;
    background-size: contain;
    min-height: 100vh;
    line-height: 1.5;
    font-size: var(--step-0);
}

h1 {
    font-size: var(--step-4);
}

h2 {
    font-size: var(--step-2);
}

h3 {
    font-size: var(--step-1);
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    scroll-behavior: smooth;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set shorter line heights on headings and interactive elements */
button, input, label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
    line-height: 1.3;
    text-wrap: balance;
}

a {
    text-decoration-skip-ink: auto;
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* ---- page shell: white column centered on the patterned background ---- */

.page {
    max-width: var(--container-width);
    margin: 0 auto;
    background: var(--paper);
    /*min-height: 100vh;*/
    position: relative;
    box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.4), 0 25px 60px rgba(0, 0, 0, 0.4),
    0 -10px 25px rgba(0, 0, 0, 0.2), 0 10px 25px rgba(0, 0, 0, 0.2);
}


.content-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

/* ---- header ---- */

.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px 20px;
}

.menu-toggle {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    line-height: 0;
}

.menu-toggle img {
    width: 28px;
    height: 28px;
}

.logo {
    display: inline-block;
    line-height: 0;
    margin-top: 6px;
}

.logo-img {
    height: 120px;
    width: auto;
    align-self: center;
}

.site-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: var(--step-4);
    font-weight: 600;
    transform: translateY(-100%);
    transition: transform 0.25s ease;
}

.site-nav.open {
    transform: translateY(0);
}

.site-nav a {
    text-decoration: none;
}

.nav-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: var(--step-8);
    cursor: pointer;
}

/* ---- hero photo ---- */

.hero-photo {
    max-height: 100%;
    max-width: 97%;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

@media (min-width: 1000px) {
    .hero-photo {
        max-width: 80%;
    }
}

.badge-row {
    text-align: center;
    margin: 20px 0;
}

.wortmarke {
    display: inline-block;
    height: 90px;
    width: auto;
    max-width: 90%;
}

.rule {
    margin: 20px auto;
    padding: 2%;
    line-height: 0;
}

.rule-img {
    width: 100%;
    height: auto;
}

/* ---- text block ---- */

.about {
    padding: 24px 24px 8px;
}

.about h1 {
    font-size: var(--step-2);
    /*line-height: 1.35;*/
    margin: 0 0 14px;
}

.about p {
    /*font-size: 14px;*/
    /*line-height: 1.6;*/
    margin: 0 0 14px;
    color: #2a2a2a;
}

.event-details {
    /*font-size: 14px;*/
    font-weight: 700;
    /*line-height: 1.5;*/
    margin: 20px 0 4px;
}

/* ---- image slider ---- */

/* ---- image slider ---- */

.swiper {
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.35s ease;
}

.swiper-slide picture {
    display: block;
    flex: 0 0 100%;
    touch-action: pan-y;
}

.swiper-slide img {
    max-width: 97%;
    margin: 0 auto;
    /*aspect-ratio: 4 / 5;*/
    object-fit: contain;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 16px 0;
}

.slider-controls button{
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
}

.slider-controls img {
    width: 100%;
    height: 100%;
}


/* ---- video blocks ---- */

.video-block {
    position: relative;
    /*aspect-ratio: 16 / 10;*/
    /*display: block;*/
    /*flex: 0 0 100%;*/
}

.video-block img {
    max-width: 97%;
    max-height: 97%;
    margin: auto;
    padding-bottom: 0;
    object-fit: contain;
}

.video-block iframe {
    width: 97%;
    height: 97%;
    margin: auto;
    border: 0;
    display: block;
    object-fit: contain;
    aspect-ratio: 16/10;
}


.play-button {
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
}

.play-button img {
    width: 100%;
    height: 100%;
}


/* ---- footer ---- */

.site-footer {
    padding: 28px 24px 40px;
    font-size: var(--step--1);
    font-weight: 700;
    color: #555;
    display: flex;
    gap: 18px;
    justify-content: center;
}

/*.site-footer a {*/
/*    text-decoration: none;*/
/*}*/

/*.site-footer a:hover {*/
/*    text-decoration: underline;*/
/*}*/

/* ---- simple legal pages (Impressum / Datenschutz) ---- */

.legal {
    padding: 32px 24px 60px;
}

/*.legal h1 {*/
/*    font-size: 22px;*/
/*    margin-bottom: 20px;*/
/*}*/

.legal h2 {
    font-size: var(--step-1);
    margin: 28px 0 8px;
}

.legal h3 {
    font-size: var(--step-0);
    font-weight: 700;
    margin: 28px 0 8px;
}

/*.legal p,*/
/*.legal address,*/
/*.legal ul,*/
/*.legal li,*/
/*.legal.hosting {*/
/*    font-size: 14px;*/
/*    line-height: 1.6;*/
/*    font-style: normal;*/
/*    margin: 0 0 12px;*/
/*}*/

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    font-size: var(--step-0);
    text-decoration: none;
    color: var(--rule);
}

/* Error pages */

.error {
    padding: 24px 24px 8px;
}

.error h1 {
    font-size: var(--step-2);
    /*font-size: 17px;*/
    /*line-height: 1.35;*/
    margin: 0 0 14px;
}

.error p {
    /*font-size: 14px;*/
    /*line-height: 1.6;*/
    margin: 0 0 14px;
    color: #2a2a2a;
}