@font-face {
    font-family: "Nohemi";
    src: url("../font/Nohemi.woff") format("woff");
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Nohemi", Arial, sans-serif;
}

:root {
    /* Colors */
    --color-red: 219, 37, 31;
    --color-blue: 15, 34, 198;
    --color-darkred: 77, 13, 11;
    --color-darkblue: 4, 3, 23;

    --text-white: rgba(255, 255, 255, 0.92);
    --text-soft: rgba(255, 255, 255, 0.68);

    --border-soft: rgba(255, 255, 255, 0.12);

    --content-width: 1300px;
}

::selection {
    background: rgba(var(--color-red), 0.9);
    color: white;
}

::-moz-selection {
    background: rgba(var(--color-red), 0.9);
    color: white;
}


/* Scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(var(--color-darkblue), 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--color-darkred), 0.92);
    border-radius: 999px;
    border: 2px solid rgba(var(--color-darkblue), 0.95);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--color-red), 0.92);
}

/* Base */
body {
    min-height: 100vh;

    color: var(--text-white);
    background-color: rgb(var(--color-darkblue));

    background-image:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.78)),
        url("../img/background.webp");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    overflow-x: hidden;
}

h1 {
    font-size: clamp(26px, 3vw, 46px);
    line-height: 1.15;
    margin-bottom: clamp(5px, 4vw, 15px);
}

h2 {
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.1;
    margin-bottom: clamp(5px, 4vw, 15px);
}

p {
    color: var(--text-white);
    margin-bottom: clamp(5px, 4vw, 15px);
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.75;
}

/* Ambient Glow */

.ambient-glow-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;

    --flow-x: 0px;
    --flow-y: 0px;
    --flow-rotate: 0deg;
    --flow-scale: 0;
    --scroll-flow: 0px;
}

.site-wrapper {
    position: relative;
    z-index: 1;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

.ambient-glow {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
}

.ambient-glow::before,
.ambient-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

/* Blau unten links */
.ambient-glow-blue {
    width: 78vw;
    height: 44vw;
    left: -26vw;
    bottom: -13vw;

    opacity: 0.58;
    filter: blur(86px);

    transform:
        translate3d(calc(var(--flow-x) * -0.65),
            calc(var(--flow-y) * -0.4 - var(--scroll-flow) * 0.035),
            0) rotate(calc(-8deg + var(--flow-rotate) * -0.45)) scale(calc(1.04 + var(--flow-scale) * 0.06));
}

.ambient-glow-blue::before {
    background:
        radial-gradient(ellipse at center,
            rgba(var(--color-blue), 0.28) 0%,
            rgba(var(--color-blue), 0.17) 34%,
            rgba(var(--color-blue), 0.065) 62%,
            transparent 86%);
}

.ambient-glow-blue::after {
    opacity: 0.35;
    background:
        radial-gradient(ellipse at 60% 35%,
            rgba(var(--color-blue), 0.22) 0%,
            transparent 68%);
}

/* Rot rechts oben */
.ambient-glow-red {
    width: 58vw;
    height: 36vw;
    right: -16vw;
    top: -8vw;

    opacity: 0.66;
    filter: blur(66px);
    border-radius: 42% 58% 64% 36% / 42% 52% 48% 58%;

    transform:
        translate3d(calc(var(--flow-x) * 0.7),
            calc(var(--flow-y) * 0.42 + var(--scroll-flow) * 0.025),
            0) rotate(calc(14deg + var(--flow-rotate) * 0.55)) scale(calc(1.03 + var(--flow-scale) * 0.07));
}

.ambient-glow-red::before {
    background:
        linear-gradient(125deg,
            transparent 6%,
            rgba(var(--color-red), 0.06) 20%,
            rgba(var(--color-red), 0.34) 48%,
            rgba(var(--color-red), 0.16) 66%,
            transparent 92%);
}

.ambient-glow-red::after {
    opacity: 0.36;
    background:
        linear-gradient(155deg,
            transparent 20%,
            rgba(var(--color-red), 0.24) 46%,
            transparent 76%);
}

/* Rot Mitte / rechts */
.ambient-glow-red-secondary {
    width: 44vw;
    height: 27vw;
    right: 13vw;
    top: 30vh;

    opacity: 0.38;
    filter: blur(78px);
    border-radius: 58% 42% 48% 52% / 50% 44% 56% 50%;

    transform:
        translate3d(calc(var(--flow-x) * 0.42),
            calc(var(--flow-y) * 0.28 + var(--scroll-flow) * 0.018),
            0) rotate(calc(-6deg + var(--flow-rotate) * 0.38)) scale(calc(1.02 + var(--flow-scale) * 0.05));
}

.ambient-glow-red-secondary::before {
    background:
        linear-gradient(112deg,
            transparent 12%,
            rgba(var(--color-red), 0.06) 28%,
            rgba(var(--color-red), 0.22) 50%,
            rgba(var(--color-red), 0.08) 66%,
            transparent 82%);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background:
        linear-gradient(to bottom,
            rgba(var(--color-darkblue), var(--header-bg-opacity, 0.72)),
            rgba(var(--color-darkblue), calc(var(--header-bg-opacity, 0.72) * 0.25)));

    backdrop-filter: blur(calc(var(--header-blur, 10) * 1px));
}

.header-inner {
    width: min(92%, var(--content-width));
    margin: 0 auto;
    padding: 18px 0;
}

/* Header-Reihe */

.nav-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
    align-items: center;
    gap: 24px;
}

.menu-toggle {
    display: none;

    justify-self: end;

    background: none;
    border: none;

    color: white;
    font-size: 34px;

    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;

    width: min(60vw, 360px);
    min-width: 230px;
    height: 100vh;

    padding: 32px;

    background: rgba(var(--color-darkblue), 0.95);
    backdrop-filter: blur(18px);

    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    pointer-events: none;

    transition:
        clip-path 0.35s ease,
        visibility 0.35s ease;

    z-index: 999;
    display: none;
}

.mobile-menu.open {
    clip-path: inset(0);
    visibility: visible;
    pointer-events: auto;
}

.menu-close {
    background: none;
    border: none;

    color: white;
    font-size: 32px;

    cursor: pointer;

    margin-left: auto;
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 26px;

    margin-top: 60px;
}

.mobile-nav a {
    color: white;
    text-decoration: none;

    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mobile-nav a:hover {
    color: rgb(var(--color-red));
}

/* Logo */
.site-logo {
    justify-self: start;
    display: inline-flex;
    opacity: 1;

    transition: opacity 0.35s ease;
}

.site-logo img {
    width: clamp(120px, 11vw, 190px);

    transition:
        filter 0.35s ease,
        transform 0.35s ease;
}

.site-logo:hover img {
    filter: drop-shadow(0 0 18px rgba(var(--color-red), 0.6));
    transform: scale(1.02);
}

/* Nur Startseite */
.home .nav-row {
    position: relative;
}

.home .site-logo {
    opacity: var(--home-logo-opacity, 0);
}

.home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.home main {
    padding-top: 0;
}

/* Unterseiten */
body:not(.home) .site-logo {
    position: static;
    opacity: 1;
}

/* Navigation */

.site-nav {
    grid-column: 2;
    justify-self: center;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(18px, 2vw, 42px);
}

.site-nav a {
    color: var(--text-soft);
    text-decoration: none;

    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

.site-nav a:hover {
    color: white;
    text-shadow: 0 0 12px rgba(var(--color-red), 0.5);
}

/* Main */

main {
    flex: 1;

    width: min(92%, var(--content-width));
    margin: 0 auto;

    padding:
        clamp(60px, 8vw, 120px) 0;
}

/* Footer */

.site-footer {
    position: relative;

    border-top: 0.5px solid rgba(var(--color-red), 0.85);
    backdrop-filter: blur(10px);
}

.footer-inner {
    width: min(92%, var(--content-width));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: start;

    padding: clamp(10px, 5vw, 20px) 0;

    color: var(--text-soft);

    font-size: 14px;
}

.footer-brand {
    justify-self: start;
}

.footer-logo {
    display: inline-block;

    margin-bottom: clamp(5px, 4vw, 15px);
    color: white;
    text-decoration: none;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

.footer-logo:hover {
    color: white;
    text-shadow:
        0 0 14px rgba(var(--color-red), 0.45);
}

.footer-brand p,
.footer-contact p {
    margin: 0;

    color: var(--text-soft);

    font-size: 14px;
    line-height: 1.5;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;
}

.footer-nav a,
.footer-contact a,
.footer-legal a {
    color: var(--text-soft);
    text-decoration: none;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

.footer-nav a {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
    color: white;
    text-shadow:
        0 0 12px rgba(var(--color-red), 0.45);
}

.footer-contact {
    justify-self: end;

    display: grid;
    gap: 8px;

    text-align: right;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    gap: 7px;

    color: var(--text-soft);

    font-size: 13px;
}

/* Home */

.home-page {
    max-width: 980px;
}

.home-title {
    text-align: center;
    margin-bottom: clamp(36px, 5vw, 70px);
}


.home-title p {
    color: var(--text-soft);
}

.home-teaser {
    position: relative;

    margin: 0 auto clamp(40px, 5vw, 70px);

    overflow: hidden;

    border-radius: 4px;
}

.home-teaser img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    opacity: 0.9;
}

.primary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 13px 28px;

    border: none;
    border-radius: 999px;

    color: white;
    background: rgba(var(--color-red), 0.92);

    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(12px, 1vw, 15px);
    font-weight: 700;
    letter-spacing: 0.04em;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.primary-button:hover {
    background: rgba(var(--color-red), 1);

    box-shadow:
        0 0 24px rgba(var(--color-red), 0.45);

    transform: scale(1.04)
}

.primary-button .play-button {
    font-size: clamp(125x, 2vw, 35px);
}

.play-button {
    position: absolute;
    left: 50%;
    bottom: clamp(22px, 4vw, 38px);

    transform: translateX(-50%);
}

.play-button:hover {
    transform: translateX(-50%) scale(1.04);
}

.home-intro-text {
    margin: 0 auto;

    text-align: left;
}

/*Trailer*/
.trailer-hero {
    position: relative;

    width: 100vw;
    height: clamp(260px, 45vw, 1000px);
    margin-left: calc(50% - 50vw);

    overflow: hidden;
    background: black;

    margin-bottom: clamp(60px, 8vw, 120px);
}

.trailer-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg,
            rgba(var(--color-darkblue), 0.7),
            rgba(var(--color-darkred), 0.7));

    pointer-events: none;
}

.trailer-background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.trailer-hero-content {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    pointer-events: none;
}

.trailer-logo {
    width: min(70vw, 720px);

    filter:
        drop-shadow(0 0 28px rgba(var(--color-red), 0.72));
}

.trailer-hero-font {
    margin-top: clamp(18px, 2vw, 32px);

    color: rgb(var(--color-red));

    font-size: clamp(14px, 1.4vw, 24px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Cast-Home */
/* Cast-Home */

.cast-preview {
    margin-top: clamp(70px, 8vw, 120px);
    text-align: center;
}

.cast-preview h2 {
    margin-bottom: clamp(24px, 5vw, 44px);
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.cast-card {
    text-align: left;
}

.cast-card-featured {
    grid-column: 3 / span 2;
    grid-row: 1;
}

.cast-card:not(.cast-card-featured) {
    grid-column: span 2;
    grid-row: 2;
}

.cast-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.25;
    object-fit: cover;
    object-position: center;
    margin-bottom: 10px;
}

.cast-card h3 {
    margin-top: 0;
    font-size: 16px;
}

.cast-card p {
    color: var(--text-soft);
}

/* Gemeinsame Page-Dinge für Unterseiten */
.page-content {
    width: min(92%, 1200px);
    margin: 0 auto;
}

.page-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-bottom: clamp(30px, 8vw, 60px);
}

.page-hero img {
    display: block;
    width: 100%;

    height: clamp(500px, 45vw, 720px);

    object-fit: cover;
    object-position: center 45%;
}

.page-label {
    width: fit-content;
    margin: 0 auto clamp(32px, 6vw, 50px);
    padding: 0;

    background: none;

    color: white;
    text-align: center;

    text-shadow:
        0 0 10px rgba(var(--color-red), 0.35),
        0 0 100px rgba(var(--color-red), 0.18);
}

/* Crew-Seite */

.crew-page {
    width: 100%;
    max-width: none;
    padding-top: 0;
}

.crew-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(15px, 4vw, 60px);
    align-items: start;
}

/* erste Reihe mit 2 Personen */
.crew-card-top:nth-child(1) {
    grid-column: 2 / span 2;
}

.crew-card-top:nth-child(2) {
    grid-column: 4 / span 2;
}

/* alle weiteren Reihen mit 3 Personen */
.crew-card:not(.crew-card-top) {
    grid-column: span 2;
}

.crew-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    object-position: center;

    margin-bottom: 10px;
}

.crew-card h2 {
    margin-bottom: 0;
}

.crew-text {
    margin: clamp(32px, 6vw, 60px) auto 0;
}

/* Cast-Unterseite */

.cast-page {
    width: 100%;
    max-width: none;
    padding-top: 0;
}

.cast-list {
    display: grid;
    gap: clamp(5px, 4vw, 15px);
    margin: 0 15%;
}

.cast-profile {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: clamp(5px, 4vw, 50px);
    align-items: start;
}

.cast-profile-person img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    object-position: center 25%;
    image-rendering: auto;
    margin-bottom: 10px;
}

.cast-profile-person h2 {
    margin-bottom: 0;
}

/* Support-Seite */

.support-page {
    width: 100%;
    max-width: none;
    padding-top: 0;
}

.support-content {
    text-align: left;
}

.support-highlight {
    color: rgb(var(--color-red)) !important;

    font-weight: 700;

    text-shadow:
        0 0 12px rgba(var(--color-red), 0.25);
}

.support-content a {
    color: white;

    text-decoration: underline;
    text-underline-offset: 3px;

    transition: color 0.25s ease;
}

.support-content a:hover {
    color: rgb(var(--color-red));
}

/* Vision-Seite */

.vision-page {
    width: 100%;
    max-width: none;
    padding-top: 0;
}

/* Kontakt-Seite */

.contact-page {
    width: 100%;
    max-width: none;
    padding-top: 0;
}

.contact-section {
    width: min(92%, 760px);
    margin: 0 auto;
}

.contact-intro {
    margin-bottom: clamp(34px, 5vw, 56px);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: rgba(var(--color-red), 0.95);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    text-shadow:
        0 0 14px rgba(var(--color-red), 0.28);
}

.form-field input,
.form-field textarea {
    width: 100%;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;

    padding: 14px 16px;

    color: white;
    background:
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(12px);

    font-size: 15px;
    line-height: 1.5;

    outline: none;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 180px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.36);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(var(--color-red), 0.75);

    background:
        rgba(255, 255, 255, 0.12);

    box-shadow:
        0 0 0 3px rgba(var(--color-red), 0.12),
        0 0 24px rgba(var(--color-red), 0.16);
}

.contact-form .primary-button {
    justify-self: start;
    align-self: start;

    width: fit-content;
}

.form-success {
    margin-top: 14px;

    color: var(--text-white);

    font-size: 14px;
    line-height: 1.6;
}

.honeypot {
    display: none;
}

.form-message {
    margin-bottom: 24px;

    font-size: 15px;
    line-height: 1.6;
}

.form-message-success {
    color: white;
    text-shadow:
        0 0 14px rgba(var(--color-red), 0.25);
}

.form-message-error {
    color: rgb(var(--color-red));
}

/* Rechtliche Seiten */

.legal-page {
    width: 100%;
    max-width: none;
}

.legal-content h2 {
    margin-top: clamp(24px, 5vw, 42px);
}

.legal-content a {
    color: white;

    text-decoration: underline;
    text-underline-offset: 3px;

    transition: color 0.25s ease;
}

.legal-content a:hover {
    color: rgb(var(--color-red));
}


/* Responsive */
@media (max-width: 850px) {

    .site-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .nav-row {
        grid-template-columns: 1fr auto;
    }

    .cast-list {
        margin: 0;
    }

}

@media (max-width: 760px) {

    /*Hauptseite*/
    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cast-card,
    .cast-card-featured,
    .cast-card:not(.cast-card-featured) {
        grid-column: auto;
        grid-row: auto;
    }

    /* Crew responsive */
    .crew-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .crew-card,
    .crew-card-top:nth-child(1),
    .crew-card-top:nth-child(2),
    .crew-card:not(.crew-card-top) {
        grid-column: auto;
    }

    /* Cast-Unterseite */
    .cast-profile {
        grid-template-columns: 180px 1fr;
    }
}

@media (max-width: 700px) {

    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;

        text-align: center;
    }

    .footer-brand,
    .footer-contact {
        justify-self: center;
        text-align: center;
    }

    .footer-inner {
        gap: 15px;
    }

    .footer-nav a {
        gap: 4px;
        font-size: 9px;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 520px) {

    /* Crew responsive */
    .crew-grid {
        grid-template-columns: 1fr;
    }

    .section-label {
        padding: 22px 54px;
    }

    /* Cast-Unterseite */
    .cast-profile {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .cast-profile img {
        margin-top: 15px;
    }

    .cast-profile p {
        margin-bottom: 0;
    }

    .page-hero img {
        height: clamp(260px, 70vw, 420px);
    }
}