body {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #222;
}

#content-card-grid {
    padding: 80px 20px;
}

.content-page-head {
    max-width: 920px;
    margin: 0 auto 42px;
    text-align: center;
}

.content-page-head span,
.content-detail-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #b00020;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.content-page-head h2 {
    color: #222;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 14px;
}

.content-page-head p {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
}

.content-category-tabs {
    width: min(1180px, 100%);
    margin: 0 auto 34px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.content-category-tab {
    border: 1px solid rgba(176, 0, 32, 0.16);
    background: #fff;
    color: #333;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 850;
    transition: all 0.25s ease;
}

.content-category-tab:hover,
.content-category-tab.is-active {
    background: #b00020;
    color: #fff;
    border-color: #b00020;
    box-shadow: 0 12px 28px rgba(176, 0, 32, 0.22);
}

.content-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.content-grid-1 {
    grid-template-columns: minmax(0, 370px);
    justify-content: center;
}

.content-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 370px));
    justify-content: center;
}

.content-card {
    min-height: 100%;
}

.content-card-link {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(176, 0, 32, 0.09);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.09),
        0 8px 24px rgba(176, 0, 32, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.content-card-link:hover {
    transform: translateY(-7px);
    border-color: rgba(176, 0, 32, 0.28);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.13),
        0 12px 32px rgba(176, 0, 32, 0.12);
}

.content-card-image-wrapper {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f1f1;
}

.content-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.content-card-link:hover .content-card-image {
    transform: scale(1.05);
}

.content-card-body {
    min-height: 230px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.content-category-badge {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(176, 0, 32, 0.08);
    color: #b00020;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.content-category-aktion {
    background: rgba(176, 0, 32, 0.12);
    color: #b00020;
}

.content-category-news {
    background: rgba(34, 34, 34, 0.08);
    color: #222;
}

.content-category-werkstatt {
    background: rgba(0, 87, 160, 0.1);
    color: #0057a0;
}

.content-category-fahrzeugangebot {
    background: rgba(23, 117, 55, 0.1);
    color: #177537;
}

.content-category-info {
    background: rgba(90, 90, 90, 0.1);
    color: #555;
}

.content-card-body h3 {
    color: #3f3f3f;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1.32;
    margin-bottom: 12px;
}

.content-card-body p {
    color: #757575;
    line-height: 1.65;
    margin-bottom: 24px;
}

.content-read-more {
    margin-top: auto;
    align-self: flex-start;
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #b00020, #d32f2f);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
}

.content-empty,
.content-detail-empty {
    width: min(900px, calc(100% - 40px));
    margin: 80px auto;
    padding: 45px;
    border-radius: 28px;
    background: #fff;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.content-detail-hero {
    height: min(62vh, 620px);
    min-height: 360px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
        var(--content-hero-img) center / cover no-repeat;
}

.content-detail-container {
    width: min(1050px, calc(100% - 40px));
    margin: -80px auto 80px;
    position: relative;
    z-index: 2;
}

.content-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.95rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.content-detail-breadcrumb a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.content-detail-card {
    padding: clamp(32px, 6vw, 64px);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 24px 65px rgba(0, 0, 0, 0.14),
        0 10px 30px rgba(176, 0, 32, 0.08);
    border: 1px solid rgba(176, 0, 32, 0.1);
}

.content-detail-card h1 {
    color: #222;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 950;
    line-height: 1.08;
    margin-bottom: 28px;
}

.content-detail-text {
    color: #444;
    font-size: 1.08rem;
    line-height: 1.85;
}

.content-detail-text p {
    margin-bottom: 22px;
}

.content-gallery {
    margin-top: 38px;
    display: grid;
    gap: 24px;
}

.content-gallery-1 {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.content-gallery-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
}

.content-gallery-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

.content-back-link {
    display: inline-flex;
    margin-top: 16px;
    color: #b00020;
    font-weight: 800;
    text-decoration: none;
}

.content-pdf-box {
    margin-top: 34px;
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(176, 0, 32, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(176, 0, 32, 0.14);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.content-pdf-box h2 {
    color: #222;
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.content-pdf-box p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.content-pdf-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    background: #b00020;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(176, 0, 32, 0.22);
    transition: all 0.25s ease;
}

.content-pdf-link:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(176, 0, 32, 0.3);
}

@media (max-width: 991px) {
    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-grid-1 {
        grid-template-columns: minmax(0, 370px);
    }

    .content-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 370px));
    }

    .content-gallery-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #content-card-grid {
        padding: 56px 16px;
    }

    .content-grid,
    .content-grid-1,
    .content-grid-2,
    .content-gallery-2,
    .content-gallery-3 {
        grid-template-columns: 1fr;
    }

    .content-card-body {
        min-height: auto;
        padding: 24px;
    }

    .content-detail-hero {
        min-height: 300px;
    }

    .content-pdf-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .content-pdf-link {
        width: 100%;
    }

    .content-detail-container {
        width: calc(100% - 28px);
        margin-top: -52px;
    }

    .content-gallery img {
        height: 230px;
    }
}
