/* SchalkesOpa Impressum - Glassmorphism Theme */
/* Datei: /assets/css/impressum.css */

/* CSS Variables */
:root {
    --primary: #ff006e;
    --secondary: #00ff88;
    --accent: #3b82f6;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass: rgba(255, 255, 255, 0.05);
}

/* Impressum Container */
.impressum-container {
    min-height: calc(100vh - 200px);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.impressum-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 110, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.06) 0%, transparent 60%);
    animation: rotateBackground 30s linear infinite;
    pointer-events: none;
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Impressum Header */
.impressum-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(255, 0, 110, 0.3);
    animation: iconFloat 4s ease-in-out infinite;
    position: relative;
}

.header-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.header-icon i {
    font-size: 3rem;
    color: var(--light);
}

.impressum-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 30px rgba(255, 0, 110, 0.5));
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 20px var(--primary)); }
    50% { filter: brightness(1.2) drop-shadow(0 0 40px var(--primary)); }
}

.header-subtitle {
    font-size: 1.2rem;
    color: var(--light);
    opacity: 0.8;
    font-weight: 300;
}

/* Impressum Content */
.impressum-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Info Sections */
.info-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--glass) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.info-section:nth-child(1) { animation-delay: 0.1s; }
.info-section:nth-child(2) { animation-delay: 0.2s; }
.info-section:nth-child(3) { animation-delay: 0.3s; }

/* Hover Glow Effect */
.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.info-section:hover::before {
    left: 100%;
}

.info-section:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Section Icons */
.section-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(0, 255, 136, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-icon i {
    font-size: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Content */
.section-content {
    flex: 1;
}

.section-content h2 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Info Card */
.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    color: var(--light);
    line-height: 1.8;
}

.info-card p {
    margin: 5px 0;
    opacity: 0.9;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px !important;
}

/* Contact Grid */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--primary);
    width: 30px;
}

.label {
    color: var(--light);
    opacity: 0.7;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.contact-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
}

.contact-link:hover::after {
    width: 100%;
}

/* Legal Text */
.legal-text {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
}

.legal-text p {
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
    text-align: justify;
}

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

/* Back Navigation */
.back-navigation {
    text-align: center;
    margin-top: 60px;
    animation: fadeIn 1s ease-out 0.5s both;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 40px;
    background: var(--gradient);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
    position: relative;
    overflow: hidden;
}

.back-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.back-link:hover::before {
    width: 300px;
    height: 300px;
}

.back-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.5);
}

.back-link i {
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(-5px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Floating Decoration */
.impressum-container::after {
    content: '§';
    position: absolute;
    font-size: 15rem;
    color: var(--primary);
    opacity: 0.03;
    bottom: -50px;
    right: -50px;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .impressum-container {
        padding: 40px 15px;
    }
    
    .impressum-header h1 {
        font-size: 2.5rem;
    }
    
    .header-icon {
        width: 80px;
        height: 80px;
    }
    
    .header-icon i {
        font-size: 2.5rem;
    }
    
    .info-section {
        padding: 30px 20px;
        gap: 20px;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
    }
    
    .section-content h2 {
        font-size: 1.3rem;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-link {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .impressum-header h1 {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .info-section {
        flex-direction: column;
        padding: 25px 15px;
        gap: 15px;
    }
    
    .section-icon {
        align-self: center;
    }
    
    .info-card,
    .legal-text {
        padding: 20px;
    }
    
    .back-link {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .impressum-container::after {
        font-size: 10rem;
        bottom: -30px;
        right: -30px;
    }
}

/* Print Styles */
@media print {
    .impressum-container::before,
    .impressum-container::after,
    .back-navigation {
        display: none;
    }
    
    .info-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
    
    .contact-link {
        color: #000;
    }
}