/* Legal Pages Styling */
.legal-main {
    background: var(--vintage-cream);
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--vintage-red);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.vintage-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--vintage-red) 20%, 
        var(--vintage-red) 80%, 
        transparent 100%);
    margin: 0 auto;
    position: relative;
}

.vintage-line::before,
.vintage-line::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 8px;
    height: 8px;
    background: var(--vintage-red);
    border-radius: 50%;
}

.vintage-line::before {
    left: 20%;
}

.vintage-line::after {
    right: 20%;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--vintage-white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid var(--vintage-red);
}

.legal-section {
    padding: 40px 50px;
    border-bottom: 1px solid rgba(211, 47, 47, 0.1);
    position: relative;
}

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

.legal-section h2 {
    font-family: 'Righteous', sans-serif;
    font-size: 1.8rem;
    color: var(--vintage-red);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--vintage-red);
    position: relative;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--vintage-red);
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.3);
}

.legal-section h3 {
    font-family: 'Courier Prime', monospace;
    font-size: 1.3rem;
    color: var(--vintage-dark);
    margin: 25px 0 15px 0;
    font-weight: 700;
}

.legal-info {
    font-family: 'Courier Prime', monospace;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--vintage-dark);
    text-align: justify;
}

.legal-info p {
    margin-bottom: 15px;
}

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

.legal-info strong {
    color: var(--vintage-red);
    font-weight: 700;
}

.legal-info ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-info li {
    margin-bottom: 8px;
    position: relative;
}

.legal-info li::marker {
    color: var(--vintage-red);
}

.legal-info a {
    color: var(--vintage-red);
    text-decoration: none;
    border-bottom: 1px dotted var(--vintage-red);
    transition: all 0.3s ease;
}

.legal-info a:hover {
    color: var(--vintage-dark);
    border-bottom-style: solid;
    background: rgba(211, 47, 47, 0.05);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Heritage Badge für rechtliche Seiten */
.vintage-heritage {
    background: linear-gradient(135deg, 
        rgba(211, 47, 47, 0.05) 0%, 
        rgba(211, 47, 47, 0.1) 100%);
    border: none;
    text-align: center;
}

.heritage-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--vintage-red);
    color: var(--vintage-white);
    padding: 15px 30px;
    border-radius: 25px;
    font-family: 'Righteous', sans-serif;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.heritage-badge i {
    font-size: 1.2rem;
    animation: flicker 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes flicker {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-main {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .legal-title {
        font-size: 2.5rem;
    }
    
    .legal-content {
        margin: 0 20px;
        border-radius: 5px;
    }
    
    .legal-section {
        padding: 30px 25px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-info {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .heritage-badge {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        font-size: 1rem;
    }
    
    .heritage-badge span {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 20px 15px;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-info {
        font-size: 0.9rem;
    }
    
    .heritage-badge {
        padding: 15px;
        font-size: 0.9rem;
    }
}