/* Kontakt Seite Styles */

.contact-main {
    padding: 4rem 0;
    background: var(--bg-light);
    min-height: calc(100vh - 300px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.contact-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.contact-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.contact-card:hover .contact-img-large {
    transform: scale(1.05);
}

.contact-details {
    padding: 2rem;
}

.contact-details h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.subtitle {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

address {
    font-style: normal;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
    background: #f8f9fa;
}

.contact-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateX(5px);
}

.contact-link .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Team Section */
.team-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.team-card {
    display: flex;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(30px);
}

.team-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.team-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    flex: 0 0 150px;
    height: 150px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-info h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-contact a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-contact a::before {
    content: '→';
    color: var(--accent-color);
    opacity: 0;
    transition: var(--transition);
}

.team-contact a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.team-contact a:hover::before {
    opacity: 1;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        flex-direction: column;
    }
    
    .team-image {
        flex: 0 0 200px;
        height: 200px;
    }
}

@media (max-width: 640px) {
    .contact-image {
        height: 200px;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
    
    .team-image {
        flex: 0 0 150px;
        height: 150px;
    }
}
