* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header Styling */
header {
    padding-top: 20px;
    padding-bottom: 10px;
}

/* Positionsebene Überschrift zentrieren */
.mitte {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24px;
    color: #0077cc;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Hauptbereich nach oben verschieben */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 90vh;
    padding-top: 50px;
    background-color: #f8f8f8;
    position: relative;
}

/* Karten-Container */
.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    padding: 0 20px;
}

/* Design der Karten */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 30px 20px;
    width: 280px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #0078D7;
    object-fit: cover;
    margin-bottom: 15px;
}

h3 {
    margin: 15px 0 10px 0;
    font-size: 20px;
    color: #0078D7;
}

p {
    font-size: 15px;
    color: #666;
    line-height: 1.4;
}

/* Startseite-Link unten mittig */
.startseite {
    position: absolute;
    bottom: 0.01px;
    left: 50%;
    transform: translateX(-50%);
    color: #0077cc;
    text-decoration: none;
    font-weight: bold;
}

.startseite:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .card {
        width: 250px;
    }
    
    .card img {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .mitte {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .team-container {
        gap: 15px;
    }
    
    .card {
        width: 100%;
        max-width: 350px;
        padding: 25px 20px;
    }
    
    .card img {
        width: 140px;
        height: 140px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 30px;
    }
    
    .mitte {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .card {
        max-width: 320px;
        padding: 20px 15px;
    }
    
    .card img {
        width: 120px;
        height: 120px;
    }
    
    h3 {
        font-size: 16px;
        margin: 12px 0 8px 0;
    }
    
    p {
        font-size: 13px;
    }
}