/* Rechtliches Page Styles */

.rechtliches-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: var(--panel-bg);
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px var(--shadow);
    animation: fadeIn 0.6s ease;
}

.rechtliches-header h1 {
    font-size: 2.8em;
    margin: 0 0 10px 0;
    font-weight: bold;
    color: var(--panel-bg);
}

.rechtliches-header p {
    font-size: 1.1em;
    margin: 0;
    opacity: 1;
    color: var(--panel-bg);
}

/* Legal Sections */
.legal-section {
    background: var(--panel-bg);
    border: 2px solid var(--accent-strong);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px var(--shadow);
    animation: fadeInUp 0.6s ease;
}

.legal-section h2 {
    color: var(--accent);
    border-bottom: 3px solid var(--accent-strong);
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.6em;
}

.legal-content h3 {
    color: var(--accent);
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.1em;
    border-left: 4px solid var(--accent-strong);
    padding-left: 15px;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.legal-content ul {
    list-style-position: inside;
    margin: 15px 0;
    padding-left: 20px;
}

.legal-content li {
    color: var(--text);
    margin: 10px 0;
    line-height: 1.6;
    font-size: 0.95em;
}

.legal-content strong {
    color: var(--accent);
    font-weight: bold;
}

/* Special highlight for important notices */
.legal-content p strong {
    background: var(--panel-bg);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Warning Box */
.legal-section p:has(strong:first-child) {
    background: var(--panel-bg);
    border-left: 4px solid #d9534f;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .rechtliches-header {
        padding: 35px 20px;
    }

    .rechtliches-header h1 {
        font-size: 1.8em;
    }

    .legal-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .legal-section h2 {
        font-size: 1.3em;
        padding-bottom: 10px;
    }

    .legal-content h3 {
        font-size: 1em;
        margin-top: 15px;
    }

    .legal-content p {
        font-size: 0.9em;
    }

    .legal-content li {
        font-size: 0.9em;
    }
}
