/* Container für die Ausrichtung */
.info-box-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    width: 100%;
    height: 200px;
}

/* Die einzelnen Boxen */
.info-box {
    flex: 1;
    background: rgb(255 255 255 / 2%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(5, 217, 232, 0.2);
    border-radius: 4px;
    padding: 20px;
    color: #6d6d6d;
    transition: transform 0.3s ease, border-color 0.3s ease;
    max-height: 200px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    text-align: justify;
}

/* Versteckt die Scrollbar für Chrome, Safari und Webkit-Browser */
.info-box::-webkit-scrollbar {
    display: none;
}

/* Hover-Effekt: Die Box "leuchtet" leicht auf */
.info-box:hover {
    transform: translateY(-5px); /* Kleiner Sprung nach oben */
    border-color: #FF2D78; /* Rand wird Magenta beim Drüberfahren */
    box-shadow: 0 5px 15px rgba(255, 45, 120, 0.2);
}

/* Überschriften in den Boxen */
.info-box h3 {
    font-family: 'rajdhaniregular';
    color: #613b4d;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(5, 217, 232, 0.3);
    padding-bottom: 3px;
    text-align: center;
}

/* Text in den Boxen */
.info-box p {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.5;
    font-size: 13px;
    margin: 0;
}

/* Responsive Design: Untereinander auf dem Handy */
@media (max-width: 768px) {
    .info-box-container {
        flex-direction: column;
    }
}

.admin-avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px auto;
    overflow: visible;
}

.admin-avatar {
    width: 100px;
    height: 100px;
    position: relative;
    /* Verhindert, dass das Bild verschwindet */
    display: block;
    transition: all 0.3s ease-in-out;
    /* Wir nutzen drop-shadow auf dem Container, nicht clip-path direkt */
    filter: drop-shadow(0 0 8px rgba(255, 45, 120, 0.5));
}

.admin-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    clip-path: inherit;
    filter: opacity(0.3);
}

/* --- Die Dreiecke (Polygon-Pfade) --- */

.admin-avatar.tri-down {
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    z-index: 1;
}

.admin-avatar.tri-up {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    /* Negativer Margin, um sie ineinander zu schieben */
    margin-left: -45px; 
    margin-right: -45px;
    z-index: 2;
}

.admin-avatar.tri-up img {
    /* Wir deaktivieren das normale Zentrieren */
    object-fit: cover;
    
    /* Wir vergrößern das Bild innerhalb des Dreiecks, damit es die Ecken füllt */
    transform: scale(1.3); 
    
    /* Wir schieben das Bild innerhalb der Form nach unten */
    /* Erhöhe oder verringere die Prozentzahl, bis das Gesicht perfekt sitzt */
    object-position: 50% 30%; 
    
    /* Falls object-position ignoriert wird, nutzen wir diesen Joker: */
    position: absolute;
    top: 15px; /* Schiebt das Bild im Dreieck hart nach unten */
}

/* --- Hover-Effekt --- */
.admin-avatar:hover {
    z-index: 10;
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 0 15px #05D9E8);
}