:root {
    --color-1: #426f79;
    --color-2: #fcf6c4;
    --color-3: #f1ab38;

    --color-text: var(--color-1);

    --color-highlight: var(--color-2);
    --color-highlight-text: var(--color-1);
    --color-link: var(--color-highlight);

    --color-text-1: white;
    --color-text-2: var(--color-text);
    --color-text-3: var(--color-text);
    --color-text-white: var(--color-text);

    --font-family-1: "Aalto Sans Pro", sans-serif;
    --font-family-2: "Titan One", sans-serif;
    /* --font-family-2: "june-expt-variable", sans-serif; */
}

/****************
Browser Styles
****************/

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: white;
    border: 1px solid var(--color-1);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-2);
    border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-2);
}

/* text selection */

::-moz-selection {
    color: var(--color-1);
    background: var(--color-2);
}

::selection {
    color: var(--color-1);
    background: var(--color-2);
}
/* For Mozilla Firefox */
::-moz-selection {
    color: var(--color-1);
    background: var(--color-2);
}

html,
body {
    margin: 0;
    padding: 0;
    font-size: 18px;
}
body {
    font-size: 18px;
    font-family: var(--font-family-1);
    color: white;
    background-color: var(--color-1);
    font-size: calc(var(--clamp-2) * 21);
    line-height: normal;

    margin: 0 auto;
}

.header {
    box-sizing: border-box;
    position: relative;

    height: calc(100vh - var(--clamp-4) * 160);
    max-width: calc(100vw - var(--clamp-4) * 160);
    margin: 0 auto;

    margin-top: calc(var(--clamp-4) * 80);
    overflow: hidden;
    margin-bottom: calc(var(--clamp-4) * 100);
    border-radius: calc(var(--clamp-2) * 50);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 2000px;
    min-height: 600px;
}

.header-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--clamp-2) * 40);
    margin-bottom: calc(var(--clamp-1) * 30);
    height: calc(var(--clamp-3) * 140);

    :is(a, picture) {
        display: block;
        height: 100%;
    }

    img {
        height: 100%;
        width: auto;
        filter: drop-shadow(2px 4px 6px #00000037);
    }
}

.header-img {
    width: 1200px;

    width: 100%;

    height: 100vh;
    object-fit: cover;
    background-attachment: fixed;
    background-position: 50% 80%;
    background-image: url(../images/bg.jpg);

    background-size: cover;
    background-attachment: fixed;
}

@supports (background-image: url("../images/bg.webp")) {
    .header-img {
        background-image: url(../images/bg.webp); /* Modern */
    }
}

.header-slogan {
    position: absolute;
    top: 50%;
    left: calc(var(--clamp-3) * 200);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 80%;

    line-height: 0.9;
    text-align: left;

    align-items: flex-start;
    justify-content: flex-start;

    justify-content: flex-start;
    max-width: 768px;
}

img {
    width: 100%;
    height: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.actors {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1024px;
    filter: drop-shadow(2px 4px 6px #00000037);
    z-index: 100;
    transition: width 0.5s, max-width 0.5s, bottom 0.5s;

    max-height: 45vh;
    width: auto;
    pointer-events: none;

    left: auto;
    transform: none;
    right: calc(var(--clamp-3) * 250);
}

body.scrolled .actors {
    max-width: 550px;
}

body.scrolled-bottom .actors {
    bottom: -100vh;
}

/* TYPOGRAPHY*/

.hidden-headline {
    max-width: 0px;
    max-height: 0px;
    display: block;
    pointer-events: none;
    opacity: 0;
}

:is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-family-2);
    font-weight: normal;
    text-transform: uppercase;
}

h1 {
    margin: 0;

    font-size: calc(var(--clamp-3) * 40);

    font-size: calc(var(--clamp-3) * 135);
    text-transform: uppercase;
    text-shadow: 0 2px 20px #00000021;

    color: var(--color-1);
    font-family: var(--font-family-2);
}

h1 span {
    font-family: var(--font-family-1);
    color: var(--color-2);
    transform: translateX(calc(var(--clamp-3) * -100));
    display: inline-block;
}

h2 {
    margin: 0;
    color: var(--color-2);
    font-size: calc(var(--clamp-2) * 26);
}

.content h2 {
    margin-bottom: calc(var(--clamp-1) * 20);
}

h3 {
    margin: 0;
    color: var(--color-2);
    font-size: calc(var(--clamp-1) * 23);
}

:is(p, ul):not(:last-child) {
    margin-bottom: calc(var(--clamp-2) * 50);
}

.content ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.content ul li {
    position: relative;

    margin: 0;
    padding: 0;
}

.content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.5rem;
    height: 0.5rem;
    background: white;
    opacity: 0.5;
    border-radius: 50%;

    position: relative;
    display: inline-block;
    top: auto;
    left: auto;
    margin-right: calc(var(--clamp-1) * 15);
}

h1:not(:last-child) {
    margin-bottom: calc(var(--clamp-1) * 25);
}

p a {
    text-decoration: underline;
}

p a:hover {
    text-decoration: none;
}

img,
a {
    -webkit-user-drag: none;
    user-drag: none;
}

/* buttons */

.button {
    padding: calc(var(--clamp-2) * 15) calc(var(--clamp-5) * 35);
    min-width: calc(var(--clamp-4) * 150);
    max-width: 100%;
    border: 1px solid;
    border-radius: calc(var(--clamp-1) * 40);
    color: white;
    text-transform: uppercase;
    font-weight: normal;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: calc(var(--clamp-1) * 20);
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: var(--font-family-2);
}

.button.text-color-2 {
    border-color: var(--color-2);
    background: var(--color-1);
}

.button.text-color-3 {
    border-color: var(--color-2);
    background: var(--color-1);
}

.button.text-color-2.button--filled {
    background-color: var(--color-2);
    color: var(--color-1);
}

.button.text-color-3.button--filled {
    background-color: var(--color-2);
    color: var(--color-1);
}

.button:hover {
    filter: drop-shadow(2px 4px 6px #00000037);
}

/* FIXEDBUTTONS */

.fixedbuttons {
    right: calc(var(--clamp-2) * 40);
    bottom: calc(var(--clamp-2) * 40);
    -webkit-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
    z-index: 200;
}

.button img,
.fixedbuttons img {
    width: calc(var(--clamp-5) * 45);
}

.fixedbutton {
    min-width: unset !important;
    white-space: nowrap;
    filter: drop-shadow(2px 4px 6px #00000037);
}
.fixedbutton:not(:hover) {
    gap: 0;
}

.fixedbutton span {
    max-width: 0;
    overflow: hidden;
    -webkit-transition: max-width 0.5s;
    -o-transition: max-width 0.5s;
    transition: max-width 0.5s;
}

.fixedbutton:hover span {
    max-width: 200px;
}

.fixedbutton.button--ticket.text-color-2:hover span {
    color: var(--color-1);
}

@media screen and (min-width: 601px) {
    body.scrolled-bottom .fixedbuttons {
        opacity: 0;
    }
}

/* ELEMENTS */

.element {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

/* header  */

.header__slogan {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 80%;
    line-height: 0.9;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 768px;
}

.header-slogan h2 {
    font-family: var(--font-family-1) !important;
    text-transform: none;
    font-size: 42px;
    font-size: calc(var(--clamp-3) * 42);
    font-weight: normal;
    max-width: 768px;
}

.header__left,
.header__right {
    width: 16%;
}

.header__img_right--mobile {
    display: none !important;
}

.header__img_left {
    position: relative;
    z-index: 1;
}

.header__img_right {
    /* min-width: calc(100% + var(--clamp-4) * 40); */
    margin-left: calc(var(--clamp-1) * -50);
}

.header__img_verband,
.header__img_right,
.header__img_left {
    height: calc(var(--clamp-4) * 250);
}

:is(.header__img_right, .header__img_left, .header__img_verband) img {
    height: 100%;
    width: auto;
    -webkit-user-drag: none;
    user-drag: none;
}

.header__img_verband picture {
    height: 100%;
}

.header__img_verband {
    height: calc(var(--clamp-4) * 265);
}

.header__img_verband:hover img {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

/* partner */

.footer__bottom {
    display: flex;
    flex-direction: row;
    text-align: left;
    flex-direction: column;
    gap: calc(var(--clamp-3) * 40);
    text-align: center;
    align-items: center;
    text-transform: uppercase;

    h2 {
        color: var(--color-1);
        max-width: 800px;
        margin: 0 auto;
        font-family: inherit;
        font-weight: bold;
        text-transform: none;
    }
}

.partners__title {
}

.partner {
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    -o-transition: transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}

.partner:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.partner img {
    width: 240px;
    height: auto;
}

.partner.partner--raiffeisen img {
    width: 350px;
}

/* contacts */

.content__contacts {
    border-top: 1px solid var(--color-2);

    -webkit-box-sizing: border-box;

    box-sizing: border-box;
}

.contact {
    font-weight: bold;
    text-transform: uppercase;
}

.contact img {
    -webkit-transition: -webkit-transform 0.4;
    transition: -webkit-transform 0.4;
    -o-transition: transform 0.4;
    transition: transform 0.4;
    transition: transform 0.4, -webkit-transform 0.4;
    width: calc(var(--clamp-4) * 45);
}

.contact:hover span {
    text-decoration: underline;
}

.contact:hover img {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

/* Zusatzaufführung */

.zusatzauffuehrung--mobile {
    display: none;
}

@media screen and (max-height: 900px), (max-width: 2000px) {
    h1 {
        font-size: calc(var(--clamp-3) * 85);
    }

    .header-slogan h2 {
        font-size: calc(var(--clamp-3) * 32);
    }

    .header-logos {
        height: calc(var(--clamp-3) * 100);
    }

    .actors {
        right: calc(var(--clamp-3) * 188);
    }

    .header-slogan {
        transform: none;
        top: calc(var(--clamp-3) * 100);
    }
}

@media screen and (max-width: 1200px) {
    body.scrolled .actors,
    .actors {
        right: 50%;
        transform: translateX(50%);
        height: auto;
        max-height: max-content;
        max-width: 60vw;
    }

    .partners {
        flex-direction: column;
        gap: calc(var(--clamp-3) * 40);
    }

    body.scrolled .actors {
        max-width: 40vw;
    }
}

@media screen and (max-width: 1024px) {
    .buttons {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;

        -webkit-box-pack: center;

        -ms-flex-pack: center;

        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: calc(var(--clamp-3) * 30);
    }

    .header__img img {
        max-width: 98%;
    }
}

@media screen and (max-width: 768px) {
    .header__wrapper {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: calc(var(--clamp-3) * 40);
    }

    .header__wrapper > * {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
    }

    .header__left,
    .header__right {
        width: 100%;
        max-width: 100%;
    }

    .header__left {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;

        justify-content: space-between;

        height: calc(var(--clamp-3) * 170);
    }

    .header__left > * {
        flex: 1;
        height: 100%;
        display: flex;
    }

    .header__left > *:nth-child(1) {
        justify-content: flex-start;
    }

    .header__left > *:nth-child(2) {
        justify-content: center;
    }

    .header__left > *:nth-child(3) {
        justify-content: flex-end;
    }

    .header__left img {
        width: auto;
        height: 100%;
    }

    :is(.header__img_left, .header__img_right) img {
        height: 100%;
        width: auto;
        max-width: 100%;
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: bottom;
        object-position: bottom;
    }

    .header__slogan {
        bottom: clamp(0.8125rem, -0.9732rem + 4.7619vw, 1.3125rem);
        font-size: calc(var(--clamp-2) * 16);
    }

    .header__left {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .header__img {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }

    .header__right {
        display: none !important;
    }

    .header__img_right--mobile {
        display: flex !important;
    }

    .header__img_right {
        margin: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-transform: translate(0, calc(var(--clamp-3) * 30));
        -ms-transform: translate(0, calc(var(--clamp-3) * 30));
        transform: translate(0, calc(var(--clamp-3) * 30));
        height: calc(var(--clamp-4) * 220);
    }

    .zusatzauffuehrung--mobile {
        width: 200px;
        height: 200px;
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        background: var(--color-1);
        border-radius: 100%;
    }
    .zusatzauffuehrung--mobile img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    .fixedbuttons {
        right: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        gap: 0;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-filter: drop-shadow(2px -2px 3px #fcf6c491);
        filter: drop-shadow(2px -2px 3px #fcf6c491);
    }

    .fixedbutton {
        border-radius: 0;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        gap: 10px !important;
    }

    .fixedbutton span {
        max-width: unset;
        font-size: 16px;
    }

    .partners,
    .buttons {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;

        -webkit-box-pack: center;

        -ms-flex-pack: center;

        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .button {
        min-width: unset;
        width: 100%;
    }

    .partners {
    }

    .partner {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        img {
            width: 170px;
        }
    }

    .partner.partner--raiffeisen img {
        width: 250px;
    }

    body {
        padding-bottom: 54px !important;
    }

    h1 {
        font-size: 50px;
    }

    .header-slogan h2 {
        font-size: 22px;
    }

    .content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fixedbutton.button.text-color-3 {
        border-color: var(--color-1);
        background: var(--color-1);
    }

    .contacts {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .header {
        height: calc(100vh - 40px);
        max-width: calc(100vw - 40px);

        margin-top: 20px;
        border-radius: 20px;
    }

    .fixedbutton.button {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fixedbutton.button--ticket.text-color-2 span {
        color: var(--color-1);
    }

    .header__slogan {
        font-size: 13px;
        bottom: clamp(0.25rem, -1.25rem + 6.6667vw, 1.25rem);
    }

    .header__img img {
        max-width: 100%;
    }

    .header__left {
        height: clamp(4.375rem, 1.875rem + 13.3333vw, 6.875rem);
    }

    .header__wrapper {
        gap: 20px;
    }

    .contacts {
        gap: 30px;
    }

    .header__img {
        margin-bottom: 40px;
    }

    .zusatzauffuehrung--mobile {
        width: 150px;
        height: 150px;
    }

    .header-slogan {
        transform: none;
        top: 0;
        left: 0;
        padding: 20px;
        padding-top: 40px;
        text-align: center;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;

        top: 40%;
        transform: translateY(-50%);

        h1 span {
            transform: none;
        }
    }

    body.scrolled .actors,
    .actors {
        max-width: 75vw;
    }

    body.scrolled .actors {
        max-width: 50vw;
    }

    body:not(.scrolled-bottom) .actors {
        bottom: 50px;
    }
}

@media screen and (max-width: 500px) and (max-height: 800px) {
    .header-slogan {
        top: 0px;
        transform: none;
    }
}

@media screen and (max-width: 400px) {
    .fixedbutton span {
        font-size: 14px;
    }
}

@media screen and (max-width: 360px) {
    .header__slogan {
        display: none;
    }

    .header__img img {
        max-width: 100%;
    }

    .header__img_right {
        height: calc(var(--clamp-4) * 170);
    }
}

@supports (-webkit-touch-callout: none) {
    .header-img {
        background-attachment: scroll;
    }
}
