/* Allgemeine Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: black;
}

/* Navigation */
/* Navigation */
nav {
    position: fixed; /* Fixiere die Navigation */
    top: 0;
    left: 0;
    width: 100%;
    display: flex; /* Flexbox für gleichmäßige Verteilung */
    justify-content: space-between; /* Links, Mitte, Rechts korrekt verteilen */
    align-items: center; /* Zentriert die Inhalte vertikal */
    padding: 10px 50px;
    background-color: transparent;
    z-index: 10; /* Navigation bleibt über anderen Elementen */
    border-bottom: 1px solid white;
}

.nav-center {
    flex: 1; /* Sorgt dafür, dass der mittlere Bereich Platz einnimmt */
    display: flex; /* Aktiviert Flexbox im mittleren Container */
    justify-content: center; /* Zentriert den Inhalt horizontal */
    align-items: center; /* Zentriert den Inhalt vertikal */
    text-align: center; /* Zentriert Text, falls vorhanden */
    z-index: 1000;
}

.nav-left, 
.nav-right {
    display: flex;
    flex: 1;
    justify-content: flex-start; /* Inhalte links beginnen */
}

.nav-right {
    justify-content: flex-end; /* Inhalte rechts enden */
}

.nav-left a, 
.nav-right a {
    margin: 0 20px; /* Verringerung der Abstände zwischen den Links */
}


nav a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 300;
}

nav a.active {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

nav a:hover {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

.logo {
    padding-top: 12px;
    height: 55px;
}

.footer {
    text-align: center;
    padding: 20px;
    position: relative;
    background-color: black; /* Optional: Kann angepasst werden, falls ein Hintergrund gewünscht ist */
    width: 100%; /* Footer sollte 100% der Seitenbreite einnehmen */
    z-index: 1000;
}

.impressum-link {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px; /* Für gleichmäßige Abstände zwischen Buchstaben */
    text-transform: uppercase;
}

.impressum-link:hover {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

/* Story Section */
.story-container {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: left; /* Text bleibt linksbündig */
    padding: 20px;
}

.story-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;  /* Sicherstellen, dass das Video hinter dem Text liegt */
}

.story-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  /* Füllt die gesamte Breite des Containers */
    height: 100%;  /* Höhe wird an den Container angepasst */
    object-fit: cover;  /* Schützt das Seitenverhältnis des Videos und passt es an */
    z-index: -1; /* Video bleibt hinter dem Inhalt */
    filter: grayscale(100%) brightness(0.4);
}


.story-content {
    max-width: 1100px; /* Breite des Inhalts begrenzen */
    margin: 0 auto; /* Zentriert den Inhalt horizontal */
}

.story-text {
    font-size: 25px;
    font-weight: 300;
    line-height: 1.7;
    text-align: left;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: white;
}

.marquee-content {
    display: inline-block;
    animation: scroll 75s linear infinite;
    font-size: 1rem;  /* Benutze hier rem statt px */
    font-weight: 100;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-text {
    display: inline-block;  /* Notwendig für das Inline-Scrolling */
    font-size: 1rem;  /* Initiale Schriftgröße im Standardbereich */
    font-weight: 100;
    text-transform: uppercase;
    margin-right: 2rem;  /* Abstand zwischen den Textteilen */
}


@keyframes scroll {
    from {
        transform: translateX(0); /* Startet rechts außerhalb des Bildschirms */
    }
    to {
        transform: translateX(-100%); /* Endet links außerhalb des Bildschirms */
    }
}

/* Services Section */
.services-container {
    position: relative;
    height: 60vh; /* Höhe des Containers auf 60vh begrenzen */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: left;
    padding: 20px; /* Entfernt Padding, damit nichts den Container überdeckt */
}

/* Wrapper für das Video */
.service-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;  /* Sicherstellen, dass das Video hinter dem Text liegt */
    filter: grayscale(100%) brightness(0.4);
}

/* Video selber */
.service-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  /* Füllt die gesamte Breite des Containers */
    height: 100%;  /* Höhe wird an den Container angepasst */
    object-fit: cover;  /* Schützt das Seitenverhältnis des Videos und passt es an */
}

.service-content {
    max-width: 1100px; /* Breite des Inhalts begrenzen */
    margin: 0 auto; /* Zentriert den Inhalt horizontal */
}

.services-text {
    font-size: 25px;
    font-weight: 300;
    line-height: 1.7;
    text-align: left;
}

.background-container {
    background-size: cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: left; /* Text bleibt linksbündig */
    padding: 10px;
    filter: grayscale(100%), brightness(0.5);
}

.background-content {
    max-width: 1100px; /* Breite des Inhalts begrenzen */
    margin: 0 auto; /* Zentriert den Inhalt horizontal */
}

.background-text {
    font-size: 25px;
    font-weight: 300;
    line-height: 1.7;
    text-align: left;
}

/* Collaboration Section */
.collaboration-container {
    color: white;
    text-align: center;
    padding-bottom: 40px;
}

.collaboration-container .vertical-logos {
    display: flex;
    justify-content: center; /* Logos zentrieren */
    gap: 25px; /* Abstand zwischen den Logos */
    margin-top: 30px; /* Abstand zur E-Mail-Adresse */
}

.collaboration-container .vertical-logos img {
    width: 25px; /* Logos kleiner skalieren */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.collaboration-container .vertical-logos img:hover {
    transform: scale(1.1); /* Vergrößerung bei Hover */
    opacity: 0.8; /* Leichter Transparenzeffekt */
}

.collaboration-title {
    font-size: 40px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.collaboration-text {
    font-size: 20px;
    margin-bottom: 30px;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 25px;
    cursor: pointer;
    position: fixed; /* Hamburger Menu left top */
    top: 20px;
    right: 20px;
    z-index: 900; /* Ensure it's above other content */
}

.hamburger-menu .bar {
    background-color: white;
    height: 3px;
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #333;
    width: 100%;
    height: 100vh;
    padding-top: 60px;
    z-index: 800;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 10px;
    text-align: center;
}

/* Aktiviertes Menü (wird angezeigt) */
.mobile-menu.active {
    display: flex; /* Verwendet Flexbox, um die Links zu zentrieren */
    position: fixed; /* Menü wird über andere Elemente angezeigt */
    top: 0; /* Menü startet ganz oben */
    bottom: 0;
    left: 0; /* Menü startet ganz links */
    height: 100vh; /* Höhe des Menüs soll den gesamten Bildschirm ausfüllen */
    width: 100vw; /* Breite des Menüs soll den gesamten Bildschirm ausfüllen */
    background-color: rgba(0, 0, 0, 0.9); /* Schwarzer Hintergrund */
    justify-content: center; /* Zentriert die Menü-Elemente horizontal */
    align-items: center; /* Zentriert die Menü-Elemente vertikal */
    flex-direction: column; /* Organisiert die Links untereinander */
}

.mobile-menu a.active {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

.mobile-menu a:hover {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

.mobile-menu a.impressum-nav {
    font-size: 15px; /* Andere Schriftgröße für den Impressum-Link */
    font-family: 'Arial', sans-serif; /* Andere Schriftart für den Impressum-Link */
    font-weight: normal;  /* Entfernen von fett, falls verwendet */
    text-transform: none;  /* Entfernen von Großbuchstaben */
    margin-top: 25px;  /* Abstand zwischen Impressum und den anderen Links */
    padding-top: 130px; /* Padding hinzufügen, um den Abstand weiter anzupassen */
    color: #f8f8f8; /* Andere Farbe */
    z-index: 9099;
}


main.impressum {
    color: white;
    padding-left: 50px;
    padding-top: 200px;
    padding-right: 50px;     /* Für besseren horizontalen Abstand */
    padding-bottom: 40px;    /* Unten auch etwas Luft */
    line-height: 1.2;        /* Erhöht den Zeilenabstand für bessere Lesbarkeit */
    font-size: 18px;         /* Etwas größere Schrift für besseren Lesekomfort */
}

main.impressum h1 {
    font-size: 36px;         /* Auffällige Überschrift */
    margin-bottom: 20px;     /* Abstand nach unten */
    text-transform: lowercase;/* Stilvolle Großbuchstaben */
    padding-bottom: 10px;
}

main.impressum p {
    margin-bottom: 10px;     /* Abstand zwischen den Absätzen */
}

.bottom-section p {
    position: fixed;
    bottom: 0px;
    width: 100%;
    text-align: center; /* Zentriert den Text */
    padding: 10px 0;
    color: white;
}

/* Media Queries */
@media (max-width: 820px) {

    body {
        margin: 0;
        padding: 0;
        overflow-y: scroll; /* Scrollen ermöglichen */
    }

    .nav-center {
    flex-direction: column;
    height: 10px;
    position: fixed; /* Hamburger Menu left top */
    top: 20px;
    left: 20px;
    }

    .nav-left, .nav-right {
        display: none;
    }

    .logo {
        width: auto; /* Verhindert das Verzerren durch feste Breite */
        max-width: 40px; /* Definiert die maximale Breite */
        height: auto; /* Setzt die Höhe proportional zur Breite */
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .footer {
        display: none;
    }

    .story-text,
    .services-text, 
    .background-text{
        font-size: 15px;
    }

    .collaboration-title {
        font-size: 20px;
    }

    .collaboration-text {
        font-size: 14px;
    }

    .collaboration-container .vertical-logos img {
        width: 30px;
    }

    .marquee-text {
        font-size: 0.6rem; /* Um sicherzugehen, dass die Änderung durchgesetzt wird */
    }

    /* Optional: Der gesamte Inhalt im Marquee könnte ebenfalls kleiner werden */
    .marquee-content {
        font-size: 0.6rem;
    }

    main.impressum {
        padding-top: 90px;
        padding-left: 20px;
        line-height: 1.0;        /* Erhöht den Zeilenabstand für bessere Lesbarkeit */
        font-size: 12px;         /* Etwas größere Schrift für besseren Lesekomfort */
    }
    
    main.impressum h1 {
        font-size: 20px;         /* Auffällige Überschrift */
        margin-bottom: 20px;     /* Abstand nach unten */
        text-transform: lowercase;/* Stilvolle Großbuchstaben */
        padding-bottom: 10px;
    }
    
    main.impressum p {
        margin-bottom: 10px;     /* Abstand zwischen den Absätzen */
    }
   
    .bottom-section p {
        font-size: 12px; /* Kleinere Schrift für den Footer */
    }

    nav {
        border-bottom: none;
    }

}
