/* Allgemeine Stile */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dc3545;
    display: inline-block;
}

/* Mobile-First Ansatz */
.container {
    max-width: 100%;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Eilmeldungen Ticker */
.breaking-news {
    background-color: #dc3545;
    color: white;
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
}

.ticker-label {
    background-color: #b02a37;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    white-space: nowrap;
    z-index: 2;
}

.ticker {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    position: absolute;
    white-space: nowrap;
    /* animation: ticker-slide 15s linear infinite; */
    display: flex;
    align-items: center;
    height: 100%;
    left: 0;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: ticker-content;
    animation-name: ticker-content;
    -webkit-animation-duration: 15s;
    animation-duration: 15s;
}

@-webkit-keyframes ticker-content {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes ticker-content {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}


.ticker-item {
    margin-right: 30px;
    cursor: pointer;
    padding-left: 5px;
}

.ticker-item:hover {
    text-decoration: underline;
}

@keyframes ticker-slide {
    0% {
        transform: translateX(100%);
    }

    5% {
        transform: translateX(80%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Für mobile Geräte */
@media (max-width: 576px) {
    .ticker-label {
        padding: 0 10px;
        font-size: 0.9rem;
    }

    .ticker-item {
        font-size: 0.9rem;
    }

    @keyframes ticker-slide {
        0% {
            transform: translateX(100%);
        }

        3% {
            transform: translateX(70%);
        }

        100% {
            transform: translateX(-120%);
        }
    }
}

/* Pressemeldungen */
.filter-container {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.press-releases-swiper {
    min-height: 300px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.press-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.press-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.press-card-img {
    min-height: 180px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.press-card-body {
    padding: 15px;
    flex: 1;
}

.press-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.press-card-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.press-card-text {
    font-size: 0.9rem;
}

.press-card-tags {
    margin-top: 10px;
    margin-bottom: 10px;
}

.press-card-tags .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    margin-right: 5px;
    background-color: #6c757d;
    color: white;
    border-radius: 4px;
    display: inline-block;
}

/* Hauptartikel */
.primary-article {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.primary-article-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.primary-article-body {
    padding: 20px;
}

.primary-article-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.primary-article-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.primary-article-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Strafakten */
.strafakten-container {
    margin-bottom: 30px;
}

.strafakten-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.strafakten-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.strafakten-image:hover .strafakten-overlay {
    opacity: 1;
}

/* Artikel Slider */
.articles-swiper {
    height: 250px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.article-card-img {
    height: 120px;
    background-size: cover;
    background-position: center;
}

.article-card-body {
    padding: 10px;
    flex: 1;
}

.article-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.article-card-text {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Große Grafik */
.featured-graphic {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Blog Einträge */
.blog-card {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.blog-card-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.blog-card-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

/* Swiper Anpassungen */
.swiper-button-next,
.swiper-button-prev {
    color: #dc3545;
    background-color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-pagination {
    position: relative;
    bottom: 0;
    display: block;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #dc3545;
}

.swiper-pagination-bullet-active-main {
    transform: scale(1.2);
}

/* navbar brand 1.3rem */
.navbar-brand {
    font-size: 1.6rem;
}