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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Cinzel', serif;
}

/* --- Header & Navigation --- */
.main-header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.header-container {
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-decoration: none;
    z-index: 1001;
}

.logo-wrapper {
    display: inline-flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-wrapper:hover .logo-wrapper {
    transform: rotate(180deg);
}

.header-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    animation: occasionalSpin 15s ease-in-out infinite;
}

@keyframes occasionalSpin {
    0%, 85% { transform: rotate(0deg); }
    92%, 100% { transform: rotate(360deg); }
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
    transition: color 0.3s ease;
}

.brand-wrapper:hover .logo-text {
    color: #afdbf5;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: #cccccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #afdbf5;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px #afdbf5;
}

.main-nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(175, 219, 245, 0.5);
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* --- Legal Content Styles --- */
.legal-main {
    padding-top: 150px;
    min-height: 70vh;
}

.legal-container {
    width: 90%;
    max-width: 800px; /* Schmaler für optimale Text-Lesbarkeit */
    margin: 0 auto;
    padding-bottom: 100px;
}

.legal-title {
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(175, 219, 245, 0.3);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 50px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: 400;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: #afdbf5;
    margin-top: 30px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.legal-content p {
    color: #cccccc;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    color: #cccccc;
    margin-bottom: 25px;
    margin-left: 20px;
    line-height: 1.8;
}

.legal-content a {
    color: #afdbf5;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.legal-content a:hover {
    border-color: #afdbf5;
}

/* --- Footer --- */
.main-footer {
    background-color: #010101;
    color: #aaaaaa;
    padding: 100px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.2rem;
}

.footer-section p, .footer-section li {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    text-decoration: none;
    color: #888888;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 60px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #555555;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Mobile Queries --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #afdbf5;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #afdbf5;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(1, 1, 1, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .main-nav a {
        font-size: 1.5rem;
    }
    
    .logo-text { font-size: 1.5rem; letter-spacing: 4px; }
    .header-logo { height: 30px; }
    
    .legal-title { font-size: 2rem; }
    .legal-container { width: 90%; }
}