/* === Breaking News Banner === */
#breaking-news {
  background-color: #95000f;
  color: #ffffff;
  padding: 0.25rem 1rem;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

/* Ticker Container */
.news-ticker {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

/* Laufband */
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-scroll 60s linear infinite;
}

/* Pause bei Hover */
#breaking-news:hover .ticker-track {
  animation-play-state: paused;
}

/* Links im Ticker */
.news-link {
  position: relative;
  cursor: pointer;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  margin: 0 10px;
}

.news-link:hover {
  color: #dadada;
  text-decoration: underline;
}

/* Trenner */
.separator {
  margin: 0 10px;
  color: #ffffff;
  opacity: 0.8;
}

/* Animation */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Thumbnail im Ticker */
.news-thumb {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
}

/* Badge (schräg) */
.news-badge {
  position: absolute;
  top: 0;
  left: -20px;
  width: 100px;
  height: 100%;
  background: #000;
  transform: skew(-15deg);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.news-badge-text {
  transform: skew(15deg);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Vorschau-Popup */
.news-link .preview {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background: #ffffff;
  color: #000;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.2);
  width: 240px;
  font-size: 0.8rem;
  line-height: 1.3;
  z-index: 100;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Pfeil am Popup */
.news-link .preview::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 12px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

/* Vorschau anzeigen */
.news-link:hover .preview {
  display: block;
}
/* === Hauptinhalt === */
#main-content {
  padding: 2rem;
}

/* === Teaser Block === */
.teaser-block {
  background-color: #fff;
  border: 1px solid #dee2e6;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.teaser-block img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 4px;
}

/* === Slideshow Caption === */
.carousel-caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  max-width: 85%;
  margin-left: 1rem;
  margin-bottom: 2rem;
}

.carousel-caption h2,
.carousel-caption p {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.carousel-caption .btn-read {
  background-color: #dc3545;
  color: white;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.75rem;
}

.carousel-caption .btn-read:hover {
  background-color: #c82333;
}

/* === Subkategorien === */
.subcategory-list {
  margin-bottom: 2rem;
}

.subcategory-list .btn-sub {
  background-color: #fd7e14;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0.25rem 0;
  width: 100%;
  text-align: left;
  font-weight: bold;
}

.subcategory-list .btn-sub:hover {
  background-color: #e96b0c;
}

/* === Beiträge mit kleinem Bild === */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-item {
  display: flex;
  background-color: #fff;
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.post-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 1rem;
  border-radius: 4px;
}

.post-item .post-text {
  flex: 1;
  font-size: 0.95rem;
  color: #333;
}
/* === Editorial Button: Outline-Variante === */
a.btn-read-outline {
    box-shadow: inset 0px 10px 14px -7px #276873;
    background: linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
    background-color: #599bb3;
    border-radius: 5px;
    border: 1px solid #29668f;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    padding: 9px 32px;
    text-decoration: none;
}

a.btn-read-outline:hover,
a.btn-read-outline:active {
    background: linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
    background-color: #408c99;
    position: relative;
    top: 1px;
}

/* === Rechte Sidebar Module === */
#urgent-list {
    padding: 2rem 1rem;
}

.sidebar-module {
    margin-bottom: 5px;
}

.sidebar-header {
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 6px 6px 0 0;
    color: white;
    background-color: #dc3545; /* kann dynamisch ersetzt werden */
}

.sidebar-body {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 1rem;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* === Urgent Cards === */
.urgent-item {
    background-color: #fff;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.urgent-item h4 {
    margin: 0;
    font-size: 1rem;
    color: #212529;
}

.urgent-item small {
    color: #6c757d;
}
/* === Footer === */
#main-footer {
  background-color: #212529;
  color: white;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* === Share-Buttons (farbig & rund) === */
.share-section .share-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 1.3rem !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

/* Facebook */
.share-section .share-icon.fb {
    background-color: #1877f2 !important;
}

/* WhatsApp */
.share-section .share-icon.wa {
    background-color: #25d366 !important;
}

/* Mail */
.share-section .share-icon.mail {
    background-color: #6c757d !important;
}

/* Hover */
.share-section .share-icon:hover {
    transform: scale(1.12) !important;
    opacity: 0.85 !important;
}

/* === Globaler Blur-to-Sharp Effekt für Bilder === */
img {
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Sobald das Bild geladen ist → wird es scharf */
img:not([src=""]) {
    opacity: 1;
    filter: blur(0);
}
/* === Scroll-to-Top Button === */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
    background-color: #0d6efd;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover-Effekt */
.scroll-top-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}
/* === Teaser Slider (3-Card Magazine Style) === */
.teaser-slider {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.teaser-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.teaser-slide {
    min-width: 100%;
    display: flex;
    gap: 1.5rem;
    align-items: stretch; /* ⭐ WICHTIG: Karten gleich hoch */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.teaser-slide.active {
    opacity: 1;
}

/* === Teaser Card === */
.teaser-card {
    flex: 1 1 calc(33.333% - 1rem);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    /* Wichtig für Button-Ausrichtung */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.teaser-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.teaser-content {
    padding: 1.2rem 1.4rem;

    /* Inhalt wird vertikal gestapelt */
    display: flex;
    flex-direction: column;

    /* Damit der Inhalt den Platz nutzt */
    flex: 1;
}

.teaser-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #dc3545;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.teaser-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.teaser-content p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1rem;
}

/* ⭐ Button sitzt IMMER unten */
.teaser-content .btn {
    margin-top: auto;
}


/* === Navigation Buttons === */
.teaser-prev,
.teaser-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #dc3545;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: background 0.25s ease;
    z-index: 10;
}

.teaser-prev:hover,
.teaser-next:hover {
    background: #b92c3a;
}

.teaser-prev { left: 10px; }
.teaser-next { right: 10px; }

/* === Dots === */
.teaser-dots {
    text-align: center;
    margin-top: 1rem;
}

.teaser-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.teaser-dots .dot.active {
    background: #dc3545;
}

/* === Responsive === */
@media (max-width: 992px) {
    .teaser-card {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .teaser-slide {
        flex-direction: column;
    }

    .teaser-card {
        flex: 1 1 100%;
    }

    .teaser-image img {
        height: 180px;
    }
}



/* === Responsive === */
@media (max-width: 768px) {
    .teaser-slide {
        flex-direction: column;
    }

    .teaser-card {
        width: 100%;
    }

    .teaser-image img {
        height: 200px;
    }
}
/* === Premium Post Cards === */
/* === Premium Block Wrapper === */
/* Full-Width Wrapper wie beim Player-Block */
.premium-block-wrapper {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

/* Überschrift */
.premium-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #222;
    border-left: 5px solid #0d6efd;
    padding-left: 0.75rem;
}




.post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.post-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card-body {
    padding: 1.2rem 1.4rem;
}

.post-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0d6efd;
    text-transform: uppercase;
}

.post-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.4rem 0 0.6rem 0;
}

.post-teaser {
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
/* Fade-In Animation für neu geladene Cards */
.post-card.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.post-card.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
/* === Premium Radio Cards === */
/* === Premium Wrapper wie bei "Beiträge" === */
.premium-block-wrapper {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

/* Überschrift */
.premium-title {
    font-size: 1.8rem;
    font-weight: 700;
    /*margin: 0; */
    color: #222;
    border-left: 5px solid #0d6efd;
    padding-left: 0.75rem;
}

/* Update-Anzeige rechts */
.update-info {
    font-size: 0.9rem;
    color: #666;
    background: #f1f5ff;
    border: 1px solid #d6e4ff;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
}

/* === Premium Event Cards === */
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.event-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-card-body {
    padding: 1.2rem 1.4rem;
    position: relative;
}

/* Datum Badge */
.event-date-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    background: #0d6efd;
    color: #fff;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.event-date-badge .day {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
}

.event-date-badge .month {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Titel */
.event-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1.2rem;
    margin-bottom: .4rem;
}

/* Beschreibung */
.event-desc {
    font-size: 0.95rem;
    color: #444;
}

/* === Premium Wrapper === */
.premium-block-wrapper {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

/* Header */
.premium-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #222;
    border-left: 5px solid #0d6efd;
    padding-left: 0.75rem;
}

/* Share Icons */
.share-icon {
    font-size: 1.2rem;
    color: #555;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.share-icon:hover {
    background: #eef4ff;
    color: #0d6efd;
}

/* Event Info Box */
.event-info-box {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
}

.event-info-line {
    font-size: 0.95rem;
    color: #444;
}

/* Beschreibung */
.event-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Bilder */
.event-detail-image img {
    border-radius: 10px;
}
/* Bild-Zoom Overlay */
.event-detail-image {
    position: relative;
}

.zoom-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.85rem;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.event-detail-image:hover .zoom-overlay {
    opacity: 1;
}

/* Optional: leichtes Hover-Zoom fürs Bild */
.event-image-zoom {
    transition: transform 0.25s ease;
}

.event-image-zoom:hover {
    transform: scale(1.02);
}
/* ============================================
   RADIO CARD – BASIS
============================================ */
.radio-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.radio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ============================================
   COVER
============================================ */
.cover-wrapper {
    position: relative;
    width: 100%;
    padding-top: 50%; /* 2:1 Verhältnis */
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 10px;
}

.cover-image {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.radio-card:hover .cover-image {
    transform: scale(1.06);
}

/* ============================================
   LOGO + TITEL
============================================ */
.radio-title-with-logo {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 40px;
    margin-bottom: 0.35rem;
}

.station-logo-inline {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,0.85);
    padding: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);

    /* Logo ragt ins Cover hinein */
    position: absolute;
    top: -25px;
    left: 0;
}

.radio-title-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 65px; /* Platz für Logo */
}

/* ============================================
   LIVE BADGE
============================================ */
.live-badge {
    background: #dc3545;
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    position: relative;
    margin-left: auto;
}

/* ============================================
   BODY
============================================ */
.radio-card-body {
    padding: 0.8rem 1.2rem 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ============================================
   SONG + ARTIST
============================================ */
.radio-song {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: .3rem;
}

.radio-artist {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

/* ============================================
   SCHEDULE BOX
============================================ */
.radio-schedule {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: .8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* ============================================
   BUTTONS
============================================ */
.radio-buttons .btn {
    margin-bottom: .5rem;
}

.btn-detail {
    background-color: #e7f1ff;
    color: #0d6efd;
    border: 1px solid #bcd4ff;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.btn-detail:hover {
    background-color: #d8e8ff;
    border-color: #a9c8ff;
    color: #0a58ca;
}


/* === Premium Filterleiste === */
.radio-filter {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

/* Pill-Buttons */
.radio-filter-btn {
    padding: .45rem 1rem;
    border-radius: 50px;
    background: #f1f3f5;
    color: #333;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: all .2s ease;
    border: 1px solid transparent;
}

.radio-filter-btn:hover {
    background: #e2e6ea;
    color: #000;
}

.radio-filter-btn.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 2px 6px rgba(13,110,253,0.3);
}
/* === Authoren === */
.author-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.author-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.author-card-img {
    height: 200px;
    object-fit: cover;
}
.author-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e5e5e5;
    margin-right: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.author-header h1 {
    font-size: 2rem;
    font-weight: 700;
}

.author-post-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.author-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
/* === Download (stabil, ohne Hover-Animation) === */

.modern-download-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    /* Animation entfernt */
}

.modern-download-box:hover {
    /* Hover-Effekte komplett entfernt */
}

.download-box-inner {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
}

.premium-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
/* === Legal Pages (Impressum, Datenschutz, AGB) === */

.legal-wrapper {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px 45px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.legal-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.legal-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.legal-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.2rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.4rem;
}

.legal-footer {
    margin-top: 40px;
}


