.ansprechpartner-container {
    width: 100%;
    margin: 30px auto;
    max-width: 1400px;
    box-sizing: border-box;
    padding: 0 30px;
}

.ansprechpartner-heading {
    margin-bottom: 30px;
    color: #900;
    font-size: 24px;
    font-weight: bold;
    text-align: center; /* Zentrierte Überschrift */
}

.ansprechpartner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Zentriert die Karten */
    gap: 30px; /* Erhöhter Abstand zwischen den Karten */
}

.ansprechpartner-card {
    flex: 0 0 280px; /* Feste Breite für alle Karten */
    margin-bottom: 30px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ansprechpartner-image {
    width: 100%;
    height: 280px; /* Feste Höhe für alle Bilder */
    position: relative;
    overflow: hidden;
}

.ansprechpartner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Fokus höher auf dem Bild, für Gesichter */
}

.ansprechpartner-location {
    width: 100%;
    text-align: center;
    padding: 15px 10px 5px;
    color: #990000;
    font-weight: bold;
    font-size: 22px;
}

.ansprechpartner-name {
    width: 100%;
    text-align: center;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 18px;
}

.ansprechpartner-position {
    width: 100%;
    text-align: center;
    padding: 5px 10px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.ansprechpartner-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 5px 10px;
    margin-bottom: 15px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 22px; /* Noch größer: von 18px auf 22px */
}

.ansprechpartner-phone:hover {
    color: #990000;
}

.phone-icon {
    display: inline-block;
    width: 20px; /* Größer: von 18px auf 20px */
    height: 20px; /* Größer: von 18px auf 20px */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23990000"><path d="M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z"/></svg>');
    margin-right: 10px;
    flex-shrink: 0;
}

.ansprechpartner-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #990000;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
    margin: 0 10px;
    width: 80%; /* Breiter, damit er zentrierter wirkt */
    max-width: 200px;
}

.ansprechpartner-email-btn:hover {
    background-color: #770000;
    color: white;
    text-decoration: none;
}

.email-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
    margin-right: 8px;
    flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .ansprechpartner-grid {
        gap: 20px;
    }
    
    .ansprechpartner-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 992px) {
    .ansprechpartner-grid {
        justify-content: space-around;
    }
    
    .ansprechpartner-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 576px) {
    .ansprechpartner-grid {
        justify-content: center;
    }
    
    .ansprechpartner-card {
        flex: 0 0 100%;
        max-width: 320px;
    }
}