/* ==========================================================================
   QRTasse – Blog Section (Karten-Grid, 3–4 Spalten, CI-konform & edel)
   ========================================================================== */
.blog{
  background: var(--warm);
  padding: clamp(2.4rem, 6vw, 4.6rem) 0;
}

/* Kopfbereich */
.blog__head{
  margin: 0 0 clamp(1.2rem, 3vw, 1.8rem);
}
.blog__title{
  margin: .4rem 0 .2rem;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--ink);
}
.blog__lead{
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

/* Grid: flexibel 3–4 Spalten, schöne Spaltengleichheit */
.blog__grid{
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

/* Karte */
.post-card{
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-soft);
  overflow: clip;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.post-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.10);
}

/* Medienbereich mit 16:9 Ratio */
.post-card__media{
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f2f2f2;
}
.post-card__media img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1.0);
  transition: transform .35s var(--ease);
}
.post-card:hover .post-card__media img{
  transform: scale(1.03);
}

/* Body */
.post-card__body{
  display: grid;
  gap: .55rem;
  padding: clamp(12px, 1.8vw, 16px) clamp(12px, 1.8vw, 16px) clamp(14px, 2vw, 18px);
}

/* Kategorie-Pill */
.post-card__cat{
  justify-self: start;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .22rem .55rem;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  border-radius: 999px;
  font-size: .8rem;
  color: var(--muted);
  transition: border-color .2s var(--ease), color .2s var(--ease);
  text-decoration: none;
}
.post-card__cat::before{
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.post-card__cat:hover{ color: var(--ink); border-color: rgba(0,0,0,.16); }

/* Titel + Meta + Auszug */
.post-card__title{
  margin: 0; line-height: 1.2;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}
.post-card__title a{
  text-decoration: none; color: var(--ink);
}
.post-card__title a:hover{ color: var(--gold); }

.post-card__meta{
  margin: 0; color: var(--muted);
  font-size: .9rem;
}

.post-card__excerpt{
  margin: 0; color: var(--ink);
}

/* CTA in der Karte */
.post-card__cta{
  margin-top: .2rem;
}
.post-card__cta .btn.secondary{
  /* Falls dein globales .btn schon alles setzt, reicht die Zeile – ansonsten dezent: */
  text-decoration: none;
}

/* Mehr-Button unter dem Grid */
.blog__more{
  margin-top: clamp(1rem, 3vw, 1.6rem);
  display: flex; justify-content: center;
}

/* Responsive Tuning */
@media (max-width: 1280px){
  .blog__grid{ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 980px){
  .blog__lead{ font-size: 1rem; }
}
@media (max-width: 640px){
  .blog__grid{ gap: 14px; }
}
