body {

    margin: 0;
    padding: 0;
    background: #fff;
    color: #002b5c;
}

/* ------------------- HERO GRID OBEN ------------------- */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 20px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    height: 70vh;
}

.news-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(70%);
    transition: 0.3s ease;
}

.news-item:hover img {
    filter: brightness(50%);
    transform: scale(1.02);
}

.news-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #fff;
    z-index: 2;
}

/* Einheitlicher Tag-Stil */
.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 12px;
    z-index: 3;
}

.news-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.right-column {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-gap: 20px;
    height: 80vh;
}

/* ------------------- GRID UNTEN ------------------- */
h2 {
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
    margin: 120px 0 30px;
}

h2 span {
    color: #004c91;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-buttons button {
    background: #002b5c;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-buttons button:hover {
    background: #004c91;
}

.card-grid {
    display: grid;
    /* auto-fill statt auto-fit lässt leere Spalten am Ende frei */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.card {
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative; width: auto;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Tag oben links auf dem Bild */
.card .news-tag {
    background-color: #E30613F2;
    border-radius: 999px;
    padding: 2px 18px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-content {
    padding: 20px;
    position: relative;
    z-index: 1;
    padding-bottom: 23px;
}

.card-date {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-text {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.pagination button {
    border: 1px solid #ccc;
    background: #fff;
    color: #004c91;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover {
    background: #004c91;
    color: #fff;
    border-color: #004c91;
}

.pagination button.active {
    background: #004c91;
    color: #fff;
    border-color: #004c91;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.6rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .right-column {
        height: auto;
    }
}

