/* ==============================
   Impressum-spezifische Styles
   ============================== */

/* Hero Section für Impressum */
.hero-minimal {
    min-height: 60vh;
    background: linear-gradient(135deg, #005b8f 0%, #0084CA 50%, #89CFF0 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

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

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    animation: float-logo 6s ease-in-out infinite;
}

@keyframes float-logo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==============================
   Impressum Card Styles
   ============================== */

.impressum-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.impressum-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.card-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.card-content {
    padding: 2rem;
}

/* ==============================
   Company Info Grid
   ============================== */

.company-info h3 {
    font-size: 1.5rem;
    color: var(--brand-blue);
    margin-bottom: 2rem;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--brand-blue);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 91, 143, 0.05);
    transform: translateX(5px);
}

.info-item i {
    color: var(--brand-blue);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.info-item strong {
    color: var(--brand-blue);
    font-weight: 600;
}

.info-item a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

/* ==============================
   Privacy Section Styles
   ============================== */

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-cyan);
}

.privacy-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 91, 143, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 91, 143, 0.1);
}

.privacy-item h3 {
    color: var(--brand-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-item h3 i {
    color: var(--accent-cyan);
}

.privacy-item p {
    line-height: 1.7;
    color: var(--dark);
}

/* ==============================
   Contact Card Styles
   ============================== */

.contact-card .card-content {
    text-align: center;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-actions .btn-primary,
.contact-actions .btn-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.contact-actions .btn-secondary {
    background: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
}

.contact-actions .btn-secondary:hover {
    background: var(--brand-blue);
    color: var(--white);
}

/* ==============================
   Special Button Styling for Impressum
   ============================== */

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Override für dunkle Buttons auf weißem Hintergrund */
.contact-actions .btn-secondary {
    background: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    backdrop-filter: none;
}

.contact-actions .btn-secondary:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

/* ==============================
   Dark Mode Overrides
   ============================== */

[data-theme="dark"] .hero-minimal {
    background: linear-gradient(135deg, #0c1420 0%, #1a202c 50%, #2d3748 100%);
}

[data-theme="dark"] .impressum-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .card-content {
    color: #cbd5e1;
}

[data-theme="dark"] .card-content p {
    color: #cbd5e1;
}

[data-theme="dark"] .info-item {
    background: #0f172a;
    border-left-color: #22d3ee;
}

[data-theme="dark"] .info-item strong {
    color: #22d3ee;
}

[data-theme="dark"] .info-item i {
    color: #22d3ee;
}

[data-theme="dark"] .info-item a {
    color: #22d3ee;
}

[data-theme="dark"] .company-info h3 {
    color: #22d3ee;
}

[data-theme="dark"] .intro-text {
    background: #0f172a;
    color: #cbd5e1;
    border-left-color: #22d3ee;
}

[data-theme="dark"] .privacy-item {
    background: rgba(14, 165, 233, 0.05);
    border-color: #334155;
}

[data-theme="dark"] .privacy-item h3 {
    color: #22d3ee;
}

[data-theme="dark"] .privacy-item p {
    color: #cbd5e1;
}

[data-theme="dark"] .contact-actions .btn-secondary {
    color: #22d3ee;
    border-color: #22d3ee;
}

[data-theme="dark"] .contact-actions .btn-secondary:hover {
    background: #22d3ee;
    color: #0f172a;
}

/* ==============================
   Responsive Design
   ============================== */

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-actions .btn-primary,
    .contact-actions .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-minimal {
        min-height: 50vh;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .privacy-item {
        padding: 1rem;
    }
}