/* 
 * Legal Pages Styling - Impressum & Datenschutz
 * Laufhaus Erospark Karlsruhe
 */

/* Hero Section */
.legal-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    max-height: 400px;
}

/* Legal Content Section */
.legal-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(to bottom, var(--background-dark), #1a0000);
}

.legal-content {
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-soft);
    border-left: 3px solid var(--primary-color);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-heading {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-info-block {
    margin-bottom: 2rem;
}

.legal-info-block:last-child {
    margin-bottom: 0;
}

.legal-info-block h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.legal-info-block h4 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 1.5rem 0 0.75rem;
}

.legal-info-block p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-info-block p:last-child {
    margin-bottom: 0;
}

.legal-list {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.legal-list li {
    margin-bottom: 0.5rem;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.text-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition-medium);
}

.text-link:hover::after {
    width: 100%;
}

.text-link:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .legal-content {
        padding: 2rem;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
    
    .legal-info-block h3 {
        font-size: 1.3rem;
    }
    
    .legal-info-block h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        height: 30vh;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.4rem;
    }
    
    .legal-info-block h3 {
        font-size: 1.2rem;
    }
    
    .legal-info-block h4 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .legal-content {
        padding: 1.25rem;
    }
    
    .section-heading {
        font-size: 1.3rem;
    }
}