/*
=====================================================
IMPRESSUM-STYLING
=====================================================
- Angepasstes Design für die Impressum-Seite
- Konsistenz mit dem Haupt-Stylesheet (styles.css)
- Verwendung derselben Farbvariablen und Übergänge
- Spezifische Formatierungen für rechtliche Texte
- Responsive Anpassungen für verschiedene Geräte
*/

body {
    font-family: 'Inter', sans-serif;
}

/* Impressum Container */
.impressum-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Impressum Titel */
.impressum-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a4db0;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3b82f6;
    text-align: center;
}

/* Impressum Abschnitte */
.impressum-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.impressum-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Überschriften im Impressum */
.impressum-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
}

/* Text im Impressum */
.impressum-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1f2937;
    margin-bottom: 1rem;
}

.impressum-text:last-child {
    margin-bottom: 0;
}

/* Links im Impressum */
.impressum-link {
    color: #1d4ed8;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.impressum-link:hover {
    color: #1e40af;
}

.impressum-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #1e40af;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.impressum-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Verbesserter Fokus-Zustand für Links und andere fokussierbare Elemente */
.impressum-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.4);
    border-radius: 0.125rem;
}

/* Social-Media-Icons im Footer */
.social-icon-link {
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    transform: translateY(-2px);
    color: #3b82f6;
}

/* WhatsApp Button Styling */
a[href^="https://wa.me"] {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

a[href^="https://wa.me"]:hover {
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Animation für den Container */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impressum-container {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .impressum-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .impressum-title {
        font-size: 1.75rem;
    }
    
    .impressum-heading {
        font-size: 1.25rem;
    }
    
    .impressum-text {
        font-size: 1rem;
    }
}

/* Optimierung für den Druck */
@media print {
    header, footer, nav, .fixed {
        display: none !important;
    }
    
    .impressum-container {
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .impressum-title {
        font-size: 18pt;
    }
    
    .impressum-heading {
        font-size: 14pt;
    }
    
    .impressum-text {
        font-size: 12pt;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    a::after {
        content: " (" attr(href) ")";
        font-size: 90%;
    }
}