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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0d0d0d;
    color: #ffffff;
    overflow-x: hidden;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    transition: background-color 0.3s;
}

.navbar-logo img {
    height: auto;
    max-height: 100px;
    width: auto;
    margin-right: 10px;
}

.navbar-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar-links li {
    list-style: none;
}

.navbar-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.05);
    transition: color 0.3s, background-color 0.3s;
}

.navbar-links a:hover {
    color: #0d0d0d;
    background-color: #ff007a;
}

.email-container {
    display: flex;
}

.email-button {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.email-button img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.email-button:hover {
    background-color: #0056b3;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 11;
    position: relative;
}

.nav-toggle span {
    background-color: #ffffff;
    height: 3px;
    width: 25px;
    margin: 3px;
    transition: all 0.3s ease-in-out;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* H1 Section */
.title {
    padding-top: 90px; /* Platz für den Header */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
}
.title-content h1 {
    top: 150px;
    font-family: 'Playfair Display', serif;
    position: relative;
    text-align: center;
    color: #ffffff;
    z-index: 1;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('https://lh3.googleusercontent.com/p/AF1QipOoVZE6zG6eiI5wXjl58-C57abALepWDC8U0p7l=s1360-w1360-h1020') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    padding-top: 60px; /* Platz für den Header */
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    color: #ffffff;
    z-index: 1;
    padding: 0 20px;
}

.hero-content  h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2em, 5vw, 3.5em);
    margin: 0 0 20px;
}

.hero-content p {
    font-size: clamp(1.1em, 3.5vw, 1.5em);
    margin-bottom: 30px;
}

.hero-content a {
    background-color: #6c63ff;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.5s ease;
}

.hero-content a:hover {
    background-color: #5548c8;
    transform: scale(1.05);
}

/* Main Section */
main {
    max-width: 1000px;
    margin: 100px auto; /* Erhöhte Marge für bessere Abstände */
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    visibility: hidden;
}

main.visible {
    opacity: 1;
    visibility: visible;
}

.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Dynamische Anpassung je nach Bildschirmbreite */
    justify-items: center;
    align-items: start;
    gap: 30px; /* Weniger Platz für Mobilgeräte */
    margin-top: 50px;
}

.platform {
    width: 100%;
    max-width: 300px; /* Festgelegte maximale Breite */
    transition: transform 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.platform img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

.platform a {
    display: block;
    margin-top: 15px;
    text-decoration: none;
    color: #6c63ff;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s;
    text-align: center;
}

.platform a:hover {
    color: #5548c8;
}

/* Unterüberschrift für die Galerie */
.intro {
    padding-top: calc(70px + 5vh);
    text-align: center;
    margin-bottom: 20px;
}

.intro h2 {
    font-size: clamp(1.3em, 3vw, 2em);
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 20px;
}


/* Swiper Gallery Container */
.gallery-container {
    max-width: 800px; /* Breite der Galerie */
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.swiper-container {
    width: 100%;
    height: clamp(250px, 50vh, 500px); /* Dynamische Höhe für die Galerie */
    overflow: hidden;
    border-radius: 10px; /* Abgerundete Ecken für die gesamte Galerie */
}

.swiper-slide {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a; /* Hintergrundfarbe für Kontrast */
}

.swiper-slide img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain; /* Das gesamte Bild wird angezeigt, ohne dass Teile abgeschnitten werden */
    border-radius: 10px; /* Abgerundete Ecken für die Bilder */
}

.swiper-slide p {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7); /* Dunkler Hintergrund für Textlesbarkeit */
    padding: 5px 10px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1em;
}


/* Swiper Buttons */
.swiper-button-next, .swiper-button-prev {
    color: #ffffff;
    transition: color 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #ff007a;
}

/* Footer */
footer {
    background-color: #0d0d0d;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    font-size: 1em;
}


/* Impressum Section */
#impressum {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 30px;
    margin: 40px auto;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
    text-align: left;
    font-size: 0.95em;
}

#impressum h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .navbar-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        gap: 25px; /* << DIESER WERT STEUERT DEN ABSTAND ZWISCHEN DEN BUTTONS IM HAMBURGER-MENÜ */
        border-radius: 0 0 10px 10px;
        z-index: 9;
    }


    .navbar-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        align-self: flex-end;
        margin: 5px;
    }

    .email-container {
        display: none;
    }

    .swiper-slide p {
        font-size: 0.9em;
    }
}
