/* Grundlegende Formatierung */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    flex: 1;
}

/* Titel und Hero-Bereich */
h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #153b5a; /* Beispielhaftes Uni-Blau */
}

a {
    color: #153b5a;
}

.main-logo {
    margin: 20px 0;
}

.circular-logo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.info-text {
    max-width: 700px;
    margin: 30px auto;
    font-size: 1.1rem;
}

/* Trenner */
.separator {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 50px 0;
}

/* Standorte */
.locations h2 {
    margin-bottom: 30px;
    font-size: 1.6rem;
    color: #153b5a;
}

/* Container für die Logos */
.university-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

/* Stil für das einzelne Logo-Link-Element */
.uni-item {
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    text-decoration: none; /* Entfernt eventuelle Unterstriche vom Link */
}

.uni-item img {
    max-width: 200px;
    height: auto;
    filter: grayscale(70%) opacity(0.7); /* Standard: Dezent in Grau */
    transition: all 0.3s ease;
}

/* Der Hover-Effekt */
.uni-item:hover {
    transform: scale(1.1); /* Vergrößert das Logo um 10% */
}

.uni-item:hover img {
    filter: grayscale(0%) opacity(1); /* Logo wird farbig und voll sichtbar */
}

/* Fußleiste */
footer { 
    color: #666;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

footer .separator {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}

/* Responsive Anpassung für schmale Bildschirme */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    .university-logos { flex-direction: column; }
}

/* Ergänzung für rechtliche Texte */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.legal-content h3 {
    margin-top: 25px;
    color: #153b5a;
}

/* Definition der Einblende-Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zuweisung der Animation zu den Elementen */
.hero, .separator, .locations {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Zeitverzögerung für die Standorte, damit sie kurz nach dem Titel erscheinen */
.locations {
    animation-delay: 0.3s;
    opacity: 0; /* Startet unsichtbar, bis die Animation beginnt */
}