/* ============================================
   LEGAL PAGES STYLES (AGBs & Impressum)
   ============================================ */

/* Legal Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 40px 80px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-hero-title {
    font-size: 48px;
    color: #fff;
    margin: 0 0 1rem 0;
    font-family: var(--font-family-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.legal-hero-subtitle {
    font-size: 16px;
    color: #a3a3a3;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Legal Content Section */
.legal-content {
    background: #0a0a0a;
    padding: 80px 40px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Legal Sections */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 24px;
    color: #fff;
    margin: 0 0 1.5rem 0;
    font-family: var(--font-family-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-section h3 {
    font-size: 20px;
    color: #d4d4d4;
    margin: 1.5rem 0 1rem 0;
    font-family: var(--font-family-heading);
}

.legal-section p {
    color: #a3a3a3;
    line-height: 1.8;
    margin: 0 0 1rem 0;
    font-size: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: #d4d4d4;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    color: #a3a3a3;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.legal-section a:hover {
    opacity: 0.8;
}

/* Highlight Clause (for special sections like psychological suitability) */
.highlight-clause {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-clause strong {
    color: #fff;
}

/* Legal Footer */
.legal-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer p {
    color: #a3a3a3;
    font-size: 14px;
    margin: 0.5rem 0;
}

.legal-footer strong {
    color: #d4d4d4;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-hero {
        padding: 100px 20px 60px;
    }

    .legal-hero-title {
        font-size: 36px;
    }

    .legal-hero-subtitle {
        font-size: 14px;
    }

    .legal-content {
        padding: 60px 20px;
    }

    .legal-section {
        margin-bottom: 2.5rem;
        padding-bottom: 1.5rem;
    }

    .legal-section h2 {
        font-size: 20px;
        margin-bottom: 1.25rem;
    }

    .legal-section h3 {
        font-size: 18px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 15px;
    }

    .legal-section ul {
        padding-left: 1.5rem;
    }

    .highlight-clause {
        padding: 0.875rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .legal-hero-title {
        font-size: 28px;
    }

    .legal-section h2 {
        font-size: 18px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 14px;
    }

    .highlight-clause {
        padding: 0.75rem 1rem;
    }
}
