:root {
    --color-black: #000;
    --color-white: #fff;
    --color-yellow: #fff200;
}

/* Schriftart Bebas Neue lokal einbetten */
@font-face {
    font-family: 'Bebas Neue';
    src:
        url('fonts/BebasNeue-Regular.ttf') format('ttf'),
        url('fonts/BebasNeue-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

/* Grundlegendes Styling */
body {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: var(--color-white);
    background-color: var(--color-black);
    margin: 0;
    padding: 0;
}

a,
a:visited {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus,
a:active {
    color: var(--color-yellow)
}

/* Seiten-Container mit rundum Padding */
main,
.hero-content,
.impressum-container {
    padding: 64px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    /* Text am unteren Bildschirm ausrichten */
    justify-content: center;
    overflow: hidden;
}

/* Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* 60% schwarz */
    display: flex;
    align-items: flex-end;
}

/* Inhalt der Hero Overlay */
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    /*max-width: 1600px;*/
}

/* H1 Styling */
h1 {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 96px;
    line-height: 1;
    margin: 0;
    /*max-width: 80%;*/
    max-width: 65%;
    letter-spacing: 4%;
}

/* Farbige Teile der Headline */
h1 .white {
    color: var(--color-white);
}

h1 .yellow {
    color: var(--color-yellow);
}

/* Umbrücke einzelner Wörter verhindern Christian Ergänzt 05.11.2025 */

h1 .nobr {
    white-space: nowrap; 
}

/* Impressum-Link */
.impressum-link {
    font-size: 18px;
    margin-left: 32px;
    position: relative;
    bottom: 12px;
}

/* *************** */
/* Impressum Seite */
/* *************** */
.impressum-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 128px);
    /* Bildschirmhöhe minus Padding */
    background-color: #000000;
    box-sizing: border-box;
}

.impressum-text {
    font-family: Arial, sans-serif;
    color: #ffffff;
}

.impressum-text p {
    margin: 10px 0;
    line-height: 1.375;
}

.impressum-text p.back {
    margin-top: 40px;
}

/* Responsive Anpassungen */
@media (max-width: 1600px) {

    h1 {
        font-size: 72px;
    }
}

@media (max-width: 1280px) {

    h1 {
        max-width: 80%;
    }
}

@media (max-width: 980px) {

    h1 {
        font-size: 56px;
    }
}

@media (max-width: 720px) {

    main,
    .hero-content,
    .impressum-container {
        padding: 36px;
    }

    h1 {
        font-size: 48px;
        line-height: 1.125;
        max-width: 100%;
        text-align: left;
        /* linksbündig auf Mobil */

        hyphens: auto;
        hyphenate-limit-chars: 6 3 3;

    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        /* H1 und Link linksbündig */
    }

    .impressum-link {
        margin-left: 0;
        margin-top: 20px;
        font-size: 14px;
    }

    .impressum-container {
        min-height: calc(100vh - 72px);
        /* Bildschirmhöhe minus Mobile-Padding */
    }
}

@media (max-width: 540px) {

    .hero-content,
    .impressum-container {
        padding: 24px;
    }

    h1 {
        font-size: 36px;
    }
}

@media (max-width: 360px) {

    .hero-content,
    .impressum-container {
        padding: 18px;
    }

    h1 {
        font-size: 32px;
    }
}