/*
 * Seitenstruktur, responsive Grundlogik, Typografie, Farben.
 * Der allgemeine Browser-Reset liegt getrennt in reset.css.
 */


/* Typografie */
@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/montserrat/montserrat-v31-latin-regular.woff2")
        format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/montserrat/montserrat-v31-latin-italic.woff2")
        format("woff2");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/montserrat/montserrat-v31-latin-500.woff2")
        format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/montserrat/montserrat-v31-latin-500italic.woff2")
        format("woff2");
    font-style: italic;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/montserrat/montserrat-v31-latin-700.woff2")
        format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/montserrat/montserrat-v31-latin-900.woff2")
        format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

/* body, html, main */
:root {
    --header-height: 84px;
}

html {
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    background-color: #000000;
}

main {
    padding-block-start: var(--header-height);
}

/* Zugänglichkeit */
.skip-link {
    position: fixed;
    z-index: 10;
    inset-block-start: 0;
    inset-inline-start: 0;
    padding: 0.75rem 1rem;
    color: #000000;
    background-color: #ffffff;
    transform: translateY(-100%);
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    position: fixed;
    z-index: 5;
    inset-block-start: 0;
    inset-inline: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-height);
    padding: 0.75rem 1rem;
    color: #ffffff;
    background-color: #000000;
}

.site-header__brand {
    flex: 0 0 auto;
    color: inherit;
}

.site-header__logo {
    width: auto;
    height: 60px;
}

.site-header__title {
    display: none;
    align-items: baseline;
    gap: 1.25rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header__kpop {
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
}

.site-header__claim {
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
}

.site-header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 144px;
    min-height: 48px;
    margin-inline-start: auto;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    color: #ffffff;
    background-color: #ff00b1;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

@media (min-width: 1200px) {
    :root {
        --header-height: 165px;
    }

    .site-header {
        gap: 0;
        padding: 32.5px clamp(2rem, 3vw, 3.75rem);
    }

    .site-header__logo {
        height: 100px;
    }

    .site-header__title {
        display: flex;
        margin-inline-start: clamp(2rem, 9.9vw, 190px);
    }

    .site-header__button {
        width: 280px;
        min-width: 280px;
        height: 90px;
        padding: 1rem;
        font-size: 24px;
    }
}

/* Impressum */
.legal-site {
    display: flex;
    flex-direction: column;
    color-scheme: dark;
    color: #ffffff;
    background:
        radial-gradient(circle at 92% 15%, rgba(36, 191, 243, 0.24), transparent 28rem),
        radial-gradient(circle at 8% 80%, rgba(255, 0, 177, 0.23), transparent 32rem),
        #000000;
}

.legal-site a {
    color: inherit;
    font-weight: 400;
}

.legal-site a:focus-visible {
    outline: 3px solid #24bff3;
    outline-offset: 0.3rem;
}

.legal-site main {
    display: grid;
    flex: 1;
    place-items: center;
    padding: clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem);
}

.legal-page {
    --legal-content-offset: clamp(7rem, 22vw, 18rem);
    display: grid;
    align-items: start;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    width: min(100%, 75rem);
}

.legal-page__intro::before {
    display: block;
    width: 5rem;
    height: 0.5rem;
    margin-bottom: 1.75rem;
    border-radius: 999px;
    background: #ff00b1;
    content: "";
}

.legal-page h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.legal-page__eyebrow {
    margin-block-start: 1.75rem;
    color: #d7d7d7;
    font-size: 0.875rem;
    line-height: 1.5;
    text-transform: uppercase;
}

.legal-page .brand-link {
    display: block;
    width: min(10rem, 48vw);
    margin-inline: auto;
    border-radius: 0.35rem;
}

.legal-page .brand-link img {
    width: 100%;
}

.legal-page__content {
    overflow: hidden;
    width: min(calc(100% - var(--legal-content-offset)), 40rem);
    margin-inline-start: var(--legal-content-offset);
    padding: clamp(1.75rem, 5vw, 3.5rem);
    border: 6px solid transparent;
    border-radius: 1.5rem;
    background:
        linear-gradient(rgba(8, 8, 12, 0.9), rgba(8, 8, 12, 0.9)) padding-box,
        linear-gradient(135deg, #5900ff, #ff00b1 55%, #24bff3) border-box;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.4);
}

.legal-section + .legal-section {
    margin-block-start: 2.75rem;
    padding-block-start: 2.75rem;
    border-block-start: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-section h2 {
    margin-block-end: 1rem;
    color: #24bff3;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.legal-section address,
.legal-section p {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    font-style: normal;
    line-height: 1.75;
}

.provider-name {
    font-weight: 700;
}

.contact-link {
    text-decoration-color: #ff00b1;
    text-decoration-thickness: 0.18em;
    text-underline-offset: 0.28em;
}

.contact-link:hover,
.back-link:hover {
    color: #24bff3;
}

.legal-site > footer {
    padding: 1.5rem clamp(1.25rem, 5vw, 4rem) 2rem;
    text-align: center;
}

.back-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

.back-link {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.back-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

@media (max-width: 47.99rem) {
    .legal-page__content {
        width: 100%;
        margin-inline-start: 0;
    }
}

/* Abschlussbereich und Footer */
.follow-up {
    display: grid;
    justify-items: center;
    padding: 6rem 1.25rem 4rem;
    color: #ffffff;
    text-align: center;
    background-color: #000000;
}

.follow-up__copy {
    max-width: 62.5rem;
}

.follow-up h2 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.follow-up__lead {
    margin-block-start: 3rem;
    font-weight: 500;
}

.follow-up__lead + p {
    margin-block-start: 1.5rem;
}

.follow-up__copy p {
    max-width: 48rem;
    margin-inline: auto;
    font-size: 1rem;
    line-height: 1.45;
}

.follow-up__brand {
    display: block;
    width: 10rem;
    margin-block-start: 5rem;
}

.follow-up__brand img {
    width: 100%;
    height: auto;
}

.follow-up__links {
    display: grid;
    justify-items: center;
    gap: 1.25rem;
    margin-block-start: 2rem;
}

.follow-up__links a {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
}

.follow-up__links a:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.follow-up__links a:focus-visible,
.site-footer__links a:focus-visible {
    outline: 2px solid #ff00b1;
    outline-offset: 0.35rem;
}

.site-footer {
    padding: 2rem 1.25rem 3rem;
    color: #ffffff;
    background-color: #000000;
}

.site-footer__links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-footer__links a {
    color: inherit;
    font-size: 0.6875rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.site-footer__links a + a {
    margin-inline-start: 0.75rem;
    padding-inline-start: 0.75rem;
    border-inline-start: 1px solid currentColor;
}

.site-footer__links a:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

@media (min-width: 1200px) {
    .follow-up {
        padding-block: 120px 80px;
    }

    .follow-up h2 {
        font-size: 50px;
    }

    .follow-up__lead {
        margin-block-start: 70px;
    }

    .follow-up__copy p {
        font-size: 20px;
    }

    .follow-up__brand {
        width: 250px;
        margin-block-start: 100px;
    }

    .follow-up__links {
        gap: 24px;
        margin-block-start: 40px;
    }

    .follow-up__links a {
        font-size: 16px;
    }

    .site-footer {
        padding-block: 40px 60px;
    }

    .site-footer__links a {
        font-size: 13px;
    }
}

/* Anmeldeformular */
.signup {
    padding-block: 4rem 6rem;
    color: #ffffff;
    background: linear-gradient(
        180deg,
        #000000 0%,
        #18006d 10%,
        #5900ff 26%,
        #ff00b1 58%,
        #24bff3 88%,
        #000000 100%
    );
}

.signup__inner {
    width: min(100% - 2.5rem, 1360px);
    margin-inline: auto;
}

.signup__header h2 {
    padding-block-end: 0.5rem;
    border-block-end: 2px solid currentColor;
    font-size: clamp(2rem, 8vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.signup__header p {
    margin-block-start: 0.5rem;
    font-size: 0.875rem;
    font-style: italic;
}

.signup-form {
    display: grid;
    gap: 2rem;
    margin-block-start: 2.5rem;
}

.form-status {
    padding: 0.875rem 1rem;
    border-radius: 4px;
    color: #ffffff;
    background-color: #5c0018;
    font-weight: 700;
}

.form-status--success {
    color: #003812;
    background-color: #d9ffe4;
}

.form-honeypot {
    position: absolute;
    inset-inline-start: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.signup-form fieldset {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.signup-form legend {
    width: 100%;
    padding-block-end: 0.5rem;
    border-block-end: 1px solid currentColor;
    font-size: 1.125rem;
    font-weight: 500;
}

.form-group--dates legend {
    margin-block-end: 1rem;
}

.form-field {
    position: relative;
    display: grid;
    gap: 0.5rem;
    min-width: 0;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-field label span {
    font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 2px solid transparent;
    border-radius: 4px;
    color: #000000;
    background-color: #ffffff;
}

.form-field input,
.form-field select {
    min-height: 3.25rem;
    padding: 0.625rem 0.875rem;
}

.form-field textarea {
    min-height: 10rem;
    padding: 0.875rem;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
    border-color: #000000;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.form-field [aria-invalid="true"] {
    border-color: #5c0018;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.form-error {
    padding: 0.5rem 0.625rem;
    border-radius: 4px;
    color: #ffffff;
    background-color: #5c0018;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
}

.form-group > .form-error {
    grid-column: 1 / -1;
}

.choice-field input[aria-invalid="true"] {
    outline: 3px solid #5c0018;
    outline-offset: 2px;
}

.choice-field {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.choice-field input {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin-block-start: 0.125rem;
    accent-color: #ff00b1;
}

.choice-field label {
    font-size: 0.875rem;
    line-height: 1.35;
}

.choice-field label strong,
.choice-field label span {
    display: block;
}

.choice-field label strong {
    font-weight: 700;
    text-transform: uppercase;
}

.choice-field a {
    color: inherit;
}

.choice-field--privacy {
    align-items: center;
}

.signup-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.5rem;
    padding: 0.875rem 1.5rem;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background-color: #ff00b1;
    font-size: 0.875rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.signup-form__submit:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.signup-form__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .signup__inner {
        width: min(100% - 5rem, 1360px);
    }

    .signup-form__submit {
        width: auto;
        min-width: 17rem;
        justify-self: end;
    }
}

@media (min-width: 1200px) {
    .signup {
        padding-block: 100px 150px;
    }

    .signup__header h2 {
        font-size: 40px;
    }

    .signup__header p {
        font-size: 18px;
    }

    .signup-form {
        gap: 3rem;
        margin-block-start: 3rem;
    }

    .signup-form fieldset {
        column-gap: 5rem;
        row-gap: 1.25rem;
    }

    .signup-form legend {
        grid-column: 1 / -1;
        font-size: 24px;
    }

    .form-group--guardian {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .form-group--child {
        grid-template-columns: minmax(0, 400px) 190px;
    }

    .form-group--dates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-field label,
    .choice-field label {
        font-size: 18px;
    }

    .form-field input,
    .form-field select {
        min-height: 56px;
    }

    .form-field textarea {
        min-height: 190px;
    }

    .signup-form__submit {
        min-width: 350px;
        min-height: 64px;
        font-size: 18px;
    }

    .form-field > .form-error {
        position: absolute;
        z-index: 2;
        inset-block-start: calc(100% + 0.25rem);
        inset-inline-start: 0;
        width: max-content;
        max-width: 24rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        line-height: 1.25;
        box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.35);
        pointer-events: none;
    }
}

/* Inhaltsblock: Termin, Ort und Preis */
.content-section--details {
    display: grid;
    grid-template-areas:
        "heading"
        "media"
        "text";
    row-gap: 2rem;
    padding: 0 1.25rem 3rem;
    color: #ffffff;
}

.content-section--details h2 {
    grid-area: heading;
    color: #ff00b1;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.content-section--details .content-section__media {
    grid-area: media;
    align-self: start;
    /*border: 2px solid #ff00b1;*/
}

.content-section--details .content-section__media img {
    width: 100%;
    height: auto;
}

.content-section--details .content-section__text {
    grid-area: text;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
}

.content-section--details .event-detail + .event-detail {
    margin-block-start: 1.5rem;
}

.content-section--details h3 {
    color: #ff00b1;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.content-section--details address {
    font-style: normal;
}

.event-detail__price {
    color: #ff00b1;
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .content-section--details {
        padding-inline: clamp(2rem, 7vw, 5rem);
    }
}

@media (min-width: 1200px) {
    .content-section--details {
        grid-template-areas:
            "heading heading"
            "text    media";
        grid-template-columns: minmax(0, 450px) minmax(0, 1fr);
        column-gap: clamp(4rem, 5.2vw, 100px);
        row-gap: 80px;
        max-width: 1360px;
        margin-inline: auto;
        padding: 0 0 170px;
    }

    .content-section--details h2 {
        font-size: 50px;
    }

    .content-section--details .content-section__text {
        font-size: 22px;
        line-height: 1.25;
    }

    .content-section--details h3 {
        font-size: 22px;
    }
}

/* Hero */
.hero__image {
    width: 100%;
    height: auto;
}

/* Parallax-Effekt: durch Entfernen von .has-parallax am body deaktivierbar. */
.has-parallax .hero {
    --parallax-speed: 0.08;
    --parallax-y: 0px;
    position: relative;
    z-index: 0;
    aspect-ratio: 430 / 932;
}

.has-parallax .hero picture {
    position: fixed;
    z-index: 0;
    inset-block-start: var(--header-height);
    inset-inline: 0;
    transform: translate3d(0, var(--parallax-y), 0);
    will-change: transform;
    pointer-events: none;
}

.page-content,
.site-footer {
    position: relative;
    z-index: 1;
    background-color: #000000;
}

@media (max-width: 47.99rem) {
    .has-parallax main {
        padding-block-start: 0;
    }

    .has-parallax .hero picture {
        inset-block-start: 0;
    }
}

@media (min-width: 768px) {
    .has-parallax .hero {
        --parallax-speed: 0.2;
        --hero-image-height: 56.25vw;
        --hero-visible-height: calc(100vh - var(--header-height));
        --hero-overflow: max(
            0px,
            calc(var(--hero-image-height) - var(--hero-visible-height))
        );
        aspect-ratio: auto;
        height: calc(
            var(--hero-image-height) + var(--hero-overflow) +
                var(--hero-overflow) + var(--hero-overflow) +
                var(--hero-overflow)
        );
    }
}

@media (prefers-reduced-motion: reduce) {
    .has-parallax .hero {
        aspect-ratio: auto;
    }

    .has-parallax .hero picture {
        position: static;
        transform: none;
        will-change: auto;
    }
}

/* Inhaltsblock: Finde deine Bühne */
.content-section--intro {
    display: grid;
    grid-template-areas:
        "heading"
        "media"
        "text";
    row-gap: 2rem;
    padding: 3rem 1.25rem 6rem;
    color: #ffffff;
}

.content-section--intro h2 {
    grid-area: heading;
    color: #ff00b1;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.content-section--intro .content-section__media {
    grid-area: media;
    align-self: start;
    /*border: 2px solid #ff00b1;*/
}

.content-section--intro .content-section__media img {
    width: 100%;
    height: auto;
}

.content-section--intro .content-section__text {
    grid-area: text;
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;
}

.content-section--intro .content-section__text p + p {
    margin-block-start: 1.25rem;
}

.content-section--intro .content-section__text strong {
    color: #ff00b1;
    font-weight: 500;
}

@media (min-width: 768px) {
    .content-section--intro {
        padding-inline: clamp(2rem, 7vw, 5rem);
    }
}

@media (min-width: 1200px) {
    .content-section--intro {
        grid-template-areas:
            "heading heading"
            "text    media";
        grid-template-columns: minmax(0, 450px) minmax(0, 1fr);
        column-gap: clamp(4rem, 5.2vw, 100px);
        row-gap: 80px;
        max-width: 1360px;
        margin-inline: auto;
        padding: 100px 0 190px;
    }

    .content-section--intro h2 {
        font-size: 50px;
    }

    .content-section--intro .content-section__text {
        font-size: 22px;
        line-height: 1.25;
    }
}
