/* Erweitert das Design deiner Hauptbox für die Lernfelder */
.container {
        padding: 0 0 25px 0 !important; /* Oben kein Abstand, damit das Bild bündig abschließt */
        overflow: hidden !important;    /* Schneidet ALLES außerhalb der Box-Rundung sauber ab */
        background-color: #ffffff !important; /* Erzwingt einen weißen Box-Hintergrund für saubere Ecken */
        border-radius: 16px !important; /* Sichert die 16px Rundung ab */
}

/* Das Bild wird zum Banner ganz oben */
.header-banner {
        position: relative;
        width: 100%;
        height: 180px;
        overflow: hidden;
        border-top-left-radius: 16px;  /* Rundet die obere linke Ecke des Containers ab */
        border-top-right-radius: 16px; /* Rundet die obere rechte Ecke des Containers ab */
}

.header-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(60%);
        display: block; /* Verhindert einen fiesen 3px-Spalt unter dem Bild */
        border-top-left-radius: 15px;  /* Passt das Bild mathematisch exakt in den Rahmen ein */
        border-top-right-radius: 15px;
}

/* Die Überschrift liegt WEISS direkt AUF dem Bild */
.header-banner h1 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        margin: 0;
        font-size: 2rem;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
        border-bottom: none !important; /* Entfernt die dicke schwarze Linie */
        white-space: nowrap;
}

/* Text-Bereich unter dem Bild */
.content-body {
        padding: 25px;
        text-align: left;
        box-sizing: border-box;
        width: 100%;
}

.description {
        font-size: 1.05rem;
        line-height: 1.5;
        color: #333;
        margin-bottom: 25px;
}

/* Setzt Inhalte und Lernziele nebeneinander */
.grid-container {
        display: flex;
        gap: 15px;
        margin-bottom: 25px;
}

.card {
        flex: 1;
        background-color: #f9f9f9;
        border-left: 4px solid #EB5E5E; /* Roter Akzentstreifen */
        padding: 15px;
        border-radius: 4px;
}

.card h3 {
        margin-top: 0;
        color: #EB5E5E; /* Rote Zwischenüberschriften */
        border-bottom: none !important;
        font-size: 1.1rem;
}

.card ul, .card ol {
        padding-left: 15px;
        margin: 0;
        font-size: 0.95rem;
}

.card li {
        margin-bottom: 8px;
}

.card li:last-child {
        margin-bottom: 0;
}

.back-link {
        text-align: center;
        margin-top: 10px;
}

.back-link:hover {
        text-decoration: underline;
        color: black;
}
