/* Grundeinstellungen */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, sans-serif;
    color: white;
    background-color: #020817;
    overflow-x: hidden;
}

/* Fixierter Hintergrund */

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;

    background-image: url("bilder/hintergrund.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    z-index: -1;
}

/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    padding: 25px 20px;

    background: rgba(0, 5, 20, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0, 255, 255, 0.3);

    z-index: 1000;
}

.navbar nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;

    transition: 0.3s;
}

.navbar a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff,
                 0 0 20px #00ffff;
}

/* Startbereich */

.hero {
    height: 100vh;
    min-height: 650px;

    display: flex;
    justify-content: center;
    align-items: flex-end;

    padding: 120px 20px 80px;
    text-align: center;
}

.hero-content {
    background: rgba(0, 5, 20, 0.65);
    backdrop-filter: blur(10px);

    padding: 30px 50px;
    border-radius: 20px;

    border: 1px solid rgba(255, 0, 150, 0.5);

    box-shadow: 0 0 25px rgba(255, 0, 150, 0.25);

    animation: fadeIn 1.5s ease;
}

.hero h1 {
    font-size: clamp(26px, 4vw, 48px);
    color: #ff2ca8;

    text-shadow: 0 0 15px #ff008c;
}

.hero p {
    margin-top: 15px;
    font-size: 18px;
}

/* Buttons */

.buttons {
    margin-top: 25px;

    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 10px;

    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;

    transition: 0.3s;
}

.pink {
    background: #ff008c;
    color: white;

    box-shadow: 0 0 15px #ff008c;
}

.blue {
    background: #00d9ff;
    color: #00111a;

    box-shadow: 0 0 15px #00d9ff;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 30px currentColor;
}

/* Inhaltsbereiche */

.content-section {
    min-height: 75vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 100px 20px;
}

.glass-box {
    width: 100%;
    max-width: 900px;

    padding: 50px;

    background: rgba(0, 5, 25, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-radius: 20px;

    border: 1px solid rgba(0, 255, 255, 0.35);

    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15);

    text-align: center;

    opacity: 0;
    transform: translateY(40px);

    transition: opacity 0.8s ease,
                transform 0.8s ease;
}

.glass-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.glass-box h2 {
    color: #00ffff;

    font-size: 32px;

    margin-bottom: 25px;

    text-shadow: 0 0 15px #00ffff;
}

.glass-box p {
    font-size: 18px;
    line-height: 1.8;
}

/* Footer */

footer {
    text-align: center;
    padding: 30px;

    background: rgba(0, 5, 20, 0.85);

    color: #aaa;
}

/* Animation */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smartphone-Anpassung */

@media (max-width: 768px) {

    .navbar {
        padding: 15px 10px;
    }

    .navbar nav {
        gap: 12px;
    }

    .navbar a {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .hero {
        min-height: 100dvh;
        padding: 150px 15px 40px;
    }

    .hero-content {
        padding: 25px 20px;
    }

    .hero p {
        font-size: 15px;
    }

    .glass-box {
        padding: 30px 20px;
    }

    .glass-box h2 {
        font-size: 26px;
    }

    .glass-box p {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-content {
        animation: none;
    }

    .glass-box {
        transition: none;
        transform: none;
    }

    .btn,
    .navbar a {
        transition: none;
    }
}