/* =================================
   Imprint Page Styles
   ================================= */

/* Remove conflicting hero styles - now handled inline to match landing page exactly */
.imprint-hero {
    /* Styles removed - now handled inline to match landing page */
}

.imprint-hero .hero-title {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.imprint-hero .hero-subtitle {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.imprint-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

/* Imprint Gradient Backgrounds */
.imprint-gradient-1,
.imprint-gradient-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.imprint-gradient-1 {
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.imprint-gradient-2 {
    background: radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite reverse;
}

/* Imprint Cards */
.imprint-card {
    border-radius: 16px !important;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.imprint-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.imprint-card-accent {
    height: 4px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.accent-company {
    background: linear-gradient(90deg, #4158D0, #C850C0);
}

.accent-contact {
    background: linear-gradient(90deg, #43cea2, #185a9d);
}

.accent-tax {
    background: linear-gradient(90deg, #ff9966, #ff5e62);
}

.accent-editorial {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.accent-eu {
    background: linear-gradient(90deg, #f093fb, #f5576c);
}

.accent-consumer {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

/* Icon Boxes */
.imprint-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.company-icon {
    background: linear-gradient(135deg, #4158D0, #C850C0);
}

.contact-icon {
    background: linear-gradient(135deg, #43cea2, #185a9d);
}

.tax-icon {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
}

.editorial-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.eu-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.consumer-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.imprint-icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
}

/* Content Sections */
.imprint-content-section {
    position: relative;
    z-index: 2;
}

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, -10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .imprint-card {
        margin-bottom: 2rem;
    }
    
    .imprint-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Enhanced hover effects */
.imprint-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.imprint-card:hover::before {
    opacity: 1;
}

/* Ensure content is above the overlay */
.imprint-card .card-body {
    position: relative;
    z-index: 2;
}

/* Staggered animation for cards */
.imprint-card:nth-child(1) { animation-delay: 0.1s; }
.imprint-card:nth-child(2) { animation-delay: 0.2s; }
.imprint-card:nth-child(3) { animation-delay: 0.3s; }
.imprint-card:nth-child(4) { animation-delay: 0.4s; }
.imprint-card:nth-child(5) { animation-delay: 0.5s; }
.imprint-card:nth-child(6) { animation-delay: 0.6s; }

/* Source link styling */
.imprint-content .text-center a {
    transition: all 0.3s ease;
    text-decoration: none;
}

.imprint-content .text-center a:hover {
    color: #6366f1 !important;
    text-decoration: underline;
}

/* Ensure proper z-index stacking */
.imprint-content .container {
    position: relative;
    z-index: 2;
}

.imprint-content .row {
    position: relative;
    z-index: 2;
}

/* Loading animation for cards */
.imprint-card {
    animation: fadeInUp 0.6s ease-out both;
}

/* Enhanced accessibility */
.imprint-card:focus-within {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.imprint-icon-box:focus-within {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .imprint-hero {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        background: white !important;
        color: black !important;
    }
    
    .imprint-hero .hero-title,
    .imprint-hero .hero-subtitle {
        color: black !important;
        text-shadow: none !important;
    }
    
    .imprint-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
    
    .imprint-gradient-1,
    .imprint-gradient-2,
    #imprint-particles,
    #particles-js {
        display: none !important;
    }
} 