.mediathek-page {
  background: #f1f5ed;
  color: #1c271b;
}

.mediathek-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 43vw, 570px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 145px 0 70px;
  background: #16231a;
  color: #fff;
}

.mediathek-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.mediathek-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 18, 11, .89) 0%, rgba(8, 18, 11, .72) 28%, rgba(8, 18, 11, .32) 54%, rgba(8, 18, 11, .08) 77%),
    linear-gradient(0deg, rgba(8, 18, 11, .66) 0%, rgba(8, 18, 11, .08) 58%, rgba(8, 18, 11, .14) 100%);
}

.mediathek-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 5px;
  background: linear-gradient(90deg, #8fc63e, #d8b765 52%, #f0ddae);
}

.mediathek-hero .page-shell {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
}

.mediathek-hero .page-shell > * {
  max-width: 720px;
}

.mediathek-hero span,
.mediathek-content header span {
  color: #b7e56f;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mediathek-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .98;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .34);
}

.mediathek-hero p {
  max-width: 680px;
  margin: 0;
  color: #edf3ea;
  font-size: 1.15rem;
  line-height: 1.7;
  text-shadow: 0 2px 15px rgba(0, 0, 0, .35);
}

.mediathek-content {
  padding-top: 50px;
  padding-bottom: 64px;
}

.mediathek-content > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.mediathek-content h2 {
  margin: 6px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.mediathek-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.mediathek-filters button {
  border: 1px solid #d2ddce;
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  color: #334331;
  font-weight: 800;
  cursor: pointer;
}

.mediathek-filters button.is-active {
  border-color: #77b72c;
  background: #77b72c;
  color: #10200d;
}

.mediathek-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mediathek-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d8e2d4;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(34, 55, 29, .07);
}

.mediathek-card[hidden] {
  display: none;
}

.mediathek-card.is-featured {
  grid-column: 1 / -1;
  grid-template-columns: 280px minmax(0, 1fr);
  border-color: #82ba37;
}

.mediathek-cover {
  position: relative;
  min-height: 220px;
  background: #18261a;
}

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

.mediathek-cover span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(13, 24, 14, .86);
  color: #b9eb78;
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mediathek-copy {
  padding: 22px;
}

.mediathek-copy small {
  color: #71806f;
}

.mediathek-copy h3 {
  margin: 6px 0 4px;
  font-size: 1.35rem;
}

.mediathek-copy > strong {
  display: block;
  color: #5f8e23;
}

.mediathek-copy p {
  color: #5b685a;
  line-height: 1.65;
}

.mediathek-copy audio {
  width: 100%;
  margin-top: 8px;
}

.mediathek-empty {
  padding: 55px 24px;
  border: 1px dashed #c5d3bf;
  border-radius: 22px;
  background: #fff;
  text-align: center;
}

.mediathek-empty > span {
  font-size: 2.5rem;
  color: #78b72b;
}

.mediathek-empty a {
  color: #568b17;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  .mediathek-grid {
    grid-template-columns: 1fr;
  }

  .mediathek-card.is-featured {
    grid-column: auto;
    grid-template-columns: 190px minmax(0, 1fr);
  }
}

@media (max-width: 650px) {
  .mediathek-hero {
    min-height: 390px;
    padding: 115px 0 48px;
  }

  .mediathek-hero-image {
    object-position: 60% center;
  }

  .mediathek-hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 18, 11, .91) 0%, rgba(8, 18, 11, .72) 54%, rgba(8, 18, 11, .25) 100%),
      linear-gradient(0deg, rgba(8, 18, 11, .74) 0%, rgba(8, 18, 11, .06) 68%);
  }

  .mediathek-hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .mediathek-hero p {
    max-width: 92%;
    font-size: 1rem;
    line-height: 1.6;
  }

  .mediathek-content > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .mediathek-card,
  .mediathek-card.is-featured {
    grid-template-columns: 1fr;
  }

  .mediathek-cover {
    min-height: 210px;
  }

  .mediathek-copy {
    padding: 19px;
  }
}
/* v1.5.24 – sichtbare KI-Audiohinweise */
.mediathek-ai-disclosure{margin:14px 0 10px;padding:13px;border:1px solid #d9cee9;border-radius:13px;background:#f7f3fc}.mediathek-ai-disclosure>span{display:inline-flex;padding:5px 8px;border-radius:999px;background:#70509c;color:#fff;font-size:.68rem;font-weight:900;text-transform:uppercase}.mediathek-ai-disclosure p{margin:8px 0 4px;color:#4f4657;font-size:.86rem;line-height:1.5}.mediathek-ai-disclosure small{display:block;color:#74697c;font-size:.72rem}.mediathek-ai-disclosure a{display:inline-flex;margin-top:8px;color:#603e86;font-size:.75rem;font-weight:850;text-decoration:none}
.mediathek-hero-ai{display:inline-flex!important;width:max-content;margin:9px 0 2px;padding:5px 8px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(12,18,13,.58);color:#fff!important;font-size:.68rem!important;font-weight:800;letter-spacing:0!important;text-transform:none!important}
