/**
 * Magazin-Übersicht (/magazin) – nach Vorlage wassmann.biz/node/19
 * (Klassen/Werte aus b5bbdepot custom.css übernommen, ohne Bootstrap-Raster).
 */
.dw-magazin {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0.75rem 50px;
  box-sizing: border-box;
  color: #212529;
}
.dw-magazin__crumb {
  margin-bottom: 30px;
  font-size: 0.9rem;
  line-height: 100%;
}
.dw-magazin__crumb a { color: #b32d2f; text-decoration: none; }
.dw-magazin__title {
  margin: 0 0 20px;
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
  color: #416681;
}
.dw-magazin h2,
.dw-magazin h3 { font-weight: 400; }

/* Einleitung + Sprungnavigation */
.dw-magazin__kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.dw-magazin__intro { font-size: 17.6px; line-height: 1.5; }
.dw-magazin__intro p { margin: 0; }
.magazin-jumpnav {
  display: flex;
  flex-shrink: 0;
  justify-content: flex-end;
  gap: 24px;
  margin: 0;
}
.magazin-jumpnav a {
  font-weight: 600;
  color: #416681;
  text-decoration: none;
}
.magazin-jumpnav a::after {
  content: "↓";
  margin-left: 6px;
  color: #b32d2f;
}

.mag-pfeil { margin-left: 6px; vertical-align: -2px; }

/* Top-Thema */
.magazin-hero {
  display: grid;
  grid-template-columns: 7fr 5fr;
  margin: 24px 0 48px;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 4px;
}
.magazin-hero__image-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
}
.magazin-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.magazin-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 38px;
}
.magazin-hero__label {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  color: #fff;
  background: #b32d2f;
}
.magazin-hero__category {
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #466f8c;
}
.magazin-hero__title {
  margin: 0 0 16px;
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  line-height: 1.12;
}
.magazin-hero__title a { color: #416681; text-decoration: none; }
.magazin-hero__teaser { margin: 0 0 16px; line-height: 1.55; }
.magazin-hero__button,
.magazin-hero__button:link,
.magazin-hero__button:visited {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #b32d2f;
  border: 1px solid #b32d2f;
  border-radius: 4px;
}
.magazin-hero__button:hover,
.magazin-hero__button:focus { color: #fff; background: #962628; border-color: #962628; }

/* Abschnittsüberschriften */
.magazin-section-head {
  margin-bottom: 16px;
  border-bottom: 1px solid #d9dee2;
}
.magazin-section-head h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 10px;
  font-family: 'Anton', sans-serif;
  font-size: 1.7rem;
  line-height: 1.2;
  color: #416681;
}
.magazin-section-head h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 3px;
  background: #b32d2f;
}

/* Lesenswert */
.magazin-featured { margin-bottom: 48px; }
.magazin-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.magazin-card { display: flex; flex-direction: column; }
.magazin-card__image-link { display: block; overflow: hidden; border-radius: 4px; }
.magazin-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.magazin-card__image-link:hover .magazin-card__image { transform: scale(1.025); }
.magazin-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 16px;
}
/* Kachel-Titel in der Textschrift (Theme setzt h3 sonst auf Anton). */
.magazin-card__title,
.magazin-latest-card__title {
  font-family: 'Roboto Condensed', Arial, sans-serif !important;
}
.magazin-card__title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700 !important;
  line-height: 1.25;
}
.magazin-card__title a,
.magazin-latest-card__title a { color: #416681; text-decoration: none; }
.magazin-card__teaser { margin: 0 0 14px; line-height: 1.5; }
.magazin-card__link,
.magazin-latest-card__link {
  margin-top: auto;
  font-weight: 600;
  color: #b32d2f;
  text-decoration: none;
}
.magazin-card__link:hover,
.magazin-latest-card__link:hover { color: #962628; }

/* Neue Artikel */
.magazin-latest { margin-bottom: 24px; }
.magazin-latest__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.magazin-latest-card {
  display: flex;
  height: 100%;
  padding-bottom: 24px;
  border-bottom: 1px solid #d9dee2;
  box-sizing: border-box;
}
.magazin-latest-card[hidden] { display: none; }
.magazin-latest-card__image-link {
  display: block;
  flex: 0 0 42%;
  overflow: hidden;
  border-radius: 4px;
}
.magazin-latest-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.magazin-latest-card__image-link:hover .magazin-latest-card__image { transform: scale(1.025); }
.magazin-latest-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-left: 22px;
}
.magazin-latest-card__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700 !important;
  line-height: 1.25;
}
.magazin-latest-card__teaser { margin: 0 0 12px; line-height: 1.5; }

/* "mehr anzeigen" */
.dw-magazin__more {
  margin-top: 30px;
  text-align: center;
}
.dw-magazin__more-btn {
  width: 240px;
  height: 59px;
  font-size: 16px;
  color: #fff;
  background: #b32d2f;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.dw-magazin__more-btn:hover { background: #962628; }
.dw-magazin__more[hidden] { display: none; }

/* Tablet */
@media (max-width: 991.98px) {
  .magazin-hero { grid-template-columns: 1fr; }
  .magazin-hero__image-link { height: auto; min-height: 0; }
  .magazin-hero__image { height: auto; object-fit: initial; }
  .magazin-hero__content { padding: 28px; }
  .magazin-hero__title { font-size: 1.75rem; }
  .magazin-featured__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .magazin-latest__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .dw-magazin__kopf { flex-direction: column; align-items: flex-start; gap: 14px; }
  .magazin-jumpnav { justify-content: flex-start; }
  .magazin-featured__grid { grid-template-columns: 1fr; }
}
/* Handy */
@media (max-width: 575.98px) {
  .dw-magazin__title { font-size: 34px; line-height: 40px; }
  .magazin-hero__content { padding: 22px 18px; }
  .magazin-hero__label { margin-bottom: 10px; }
  .magazin-hero__title { margin-bottom: 12px; font-size: 1.45rem; line-height: 1.2; }
  .magazin-hero__teaser { font-size: 0.95rem; line-height: 1.5; }
  .magazin-section-head h2 { font-size: 1.45rem; }
  .magazin-card__content { padding-top: 12px; }
  .magazin-card__title { font-size: 1.15rem; }
  .magazin-latest-card { display: block; }
  .magazin-latest-card__image-link { width: 100%; }
  .magazin-latest-card__image { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .magazin-latest-card__content { padding: 14px 0 0; }
}
