/* ===== IMPRESSUM PAGE - EXTRAVAGANT DESIGN ===== */

:root {
    --primary: #6ab04c;
    --secondary: #7ec760;
    --accent: #5a9c3e;
    --dark: #1a1a1a;
    --text: #1a1a1a;
    --light: #f5f5f5;
    --gray: #888;
}

/* Hero Section */
.impressum-hero {
    position: relative;
    background: linear-gradient(135deg, #6ab04c 0%, #4a7c59 100%);
    padding: 6rem 2rem;
    margin-top: 60px;
    overflow: hidden;
    text-align: center;
    color: white;
}

.impressum-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.impressum-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
}

.impressum-blob-1 {
    width: 400px;
    height: 400px;
    background: white;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.impressum-blob-2 {
    width: 300px;
    height: 300px;
    background: white;
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

.impressum-blob-3 {
    width: 250px;
    height: 250px;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

.impressum-hero-content {
    position: relative;
    z-index: 2;
}

.impressum-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.8s ease-out;
    letter-spacing: -1px;
}

.impressum-title i {
    margin-right: 0.5rem;
    display: inline-block;
    animation: slideInDown 0.8s ease-out 0.1s both;
}

.impressum-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin: 0;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.impressum-container {
    max-width: 1300px;
    padding: 4rem 2rem;
}

/* Card Grid */
.impressum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem;
    margin-bottom: 5rem;
    width: 100%;
}

/* Card Styling */
.impressum-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    animation: cardSlideIn 0.8s ease-out both;
}

.impressum-card:nth-child(1) { animation-delay: 0.1s; }
.impressum-card:nth-child(2) { animation-delay: 0.2s; }
.impressum-card:nth-child(3) { animation-delay: 0.3s; }
.impressum-card:nth-child(4) { animation-delay: 0.4s; }
.impressum-card:nth-child(5) { animation-delay: 0.5s; }
.impressum-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impressum-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* Card Variants */
.impressum-card-primary {
    border-color: #6ab04c;
    background: linear-gradient(135deg, rgba(106, 176, 76, 0.02) 0%, rgba(106, 176, 76, 0.05) 100%);
}

.impressum-card-primary:hover {
    border-color: #5a9c3e;
    background: linear-gradient(135deg, rgba(106, 176, 76, 0.05) 0%, rgba(106, 176, 76, 0.08) 100%);
}

.impressum-card-secondary {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.02) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.impressum-card-secondary:hover {
    border-color: #7c3aed;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.08) 100%);
}

.impressum-card-tertiary {
    border-color: #ec4899;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.02) 0%, rgba(236, 72, 153, 0.05) 100%);
}

.impressum-card-tertiary:hover {
    border-color: #db2777;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(236, 72, 153, 0.08) 100%);
}

.impressum-card-accent {
    border-color: #f97316;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
}

.impressum-card-accent:hover {
    border-color: #ea580c;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(249, 115, 22, 0.08) 100%);
}

.impressum-card-info {
    border-color: #06b6d4;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.02) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.impressum-card-info:hover {
    border-color: #0891b2;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(6, 182, 212, 0.08) 100%);
}

.impressum-card-success {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.impressum-card-success:hover {
    border-color: #059669;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.08) 100%);
}

/* Card Header */
.impressum-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.impressum-card-header i {
    font-size: 1.8rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 176, 76, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.impressum-card-primary .impressum-card-header i { color: #6ab04c; background: rgba(106, 176, 76, 0.15); }
.impressum-card-secondary .impressum-card-header i { color: #8b5cf6; background: rgba(139, 92, 246, 0.15); }
.impressum-card-tertiary .impressum-card-header i { color: #ec4899; background: rgba(236, 72, 153, 0.15); }
.impressum-card-accent .impressum-card-header i { color: #f97316; background: rgba(249, 115, 22, 0.15); }
.impressum-card-info .impressum-card-header i { color: #06b6d4; background: rgba(6, 182, 212, 0.15); }
.impressum-card-success .impressum-card-header i { color: #10b981; background: rgba(16, 185, 129, 0.15); }

.impressum-card:hover .impressum-card-header i {
    transform: scale(1.15) rotate(-10deg);
}

.impressum-card-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    color: var(--text);
}

/* Card Content */
.impressum-card-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
}

.impressum-card-content p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.impressum-card-content p:last-child {
    margin-bottom: 0;
}

.impressum-card-content strong {
    color: var(--text);
    font-weight: 700;
}

.impressum-card-content a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.impressum-card-content a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Section Title */
.impressum-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid rgba(106, 176, 76, 0.2);
}

.impressum-section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.impressum-section-title i {
    color: var(--primary);
    font-size: 2.5rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    border: 2px solid rgba(106, 176, 76, 0.2);
    animation: cardSlideIn 0.8s ease-out both;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(106, 176, 76, 0.2);
    border-color: var(--primary);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 1rem 0 0.5rem;
    color: var(--text);
}

.team-role {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.team-email {
    margin: 0;
}

.team-email a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-email a:hover {
    color: var(--primary);
}

/* Info Grid */
.impressum-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.impressum-info-item {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdfb 100%);
    border-radius: 15px;
    border: 1px solid rgba(106, 176, 76, 0.15);
    transition: all 0.4s ease;
    animation: infoSlideIn 0.8s ease-out both;
}

.impressum-info-item:nth-child(1) { animation-delay: 0.2s; }
.impressum-info-item:nth-child(2) { animation-delay: 0.3s; }
.impressum-info-item:nth-child(3) { animation-delay: 0.4s; }

@keyframes infoSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impressum-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(106, 176, 76, 0.15);
    border-color: rgba(106, 176, 76, 0.3);
}

.impressum-info-item h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.impressum-info-item h4 i {
    font-size: 1.5rem;
}

.impressum-info-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.impressum-info-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(106, 176, 76, 0.1);
}

.impressum-info-item li:last-child {
    border-bottom: none;
}

.impressum-info-item a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.impressum-info-item a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.impressum-info-item a i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .impressum-hero {
        padding: 3rem 1rem;
        margin-top: 50px;
    }

    .impressum-title {
        font-size: 1.8rem;
    }

    .impressum-subtitle {
        font-size: 1rem;
    }

    .impressum-container {
        padding: 2rem 1rem;
    }

    .impressum-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .impressum-card {
        padding: 1.5rem;
    }

    .impressum-section-title {
        font-size: 1.5rem;
    }

    .impressum-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .impressum-info-item {
        padding: 1.5rem;
    }
}

/* Map Section */
.impressum-map-section {
    margin-top: 6rem;
    padding: 4rem 0;
    border-top: 2px solid rgba(106, 176, 76, 0.2);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impressum-map-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.impressum-map-title i {
    color: #dc3545;
    font-size: 2.5rem;
}

.impressum-map-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 500;
}

.impressum-map-container {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--primary);
    animation: mapSlideIn 0.8s ease-out;
}

@keyframes mapSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.impressum-map-container:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Leaflet Map Customization */
.impressum-map-container .leaflet-popup-content-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.impressum-map-container .leaflet-popup-content {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.impressum-map-container .leaflet-popup-content strong {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .impressum-map-section {
        margin-top: 4rem;
        padding: 2rem 0;
    }

    .impressum-map-container {
        height: 350px;
    }

    .impressum-map-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .impressum-map-container {
        height: 300px;
    }

    .impressum-map-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .impressum-hero {
        padding: 2rem 1rem;
        margin-top: 40px;
    }

    .impressum-title {
        font-size: 1.4rem;
    }

    .impressum-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .impressum-card-header i {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}
