/* === CASE STUDY SECTION === */
.case-studies {
  background: #080C12;
  padding: 5rem 2rem;
  text-align: left;
  color: #EDEDED;
  font-family: "Poppins", sans-serif;
}

/* Header */
.case-header {
  max-width: 850px;
  margin: 0 auto 4rem;
}
.case-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #EDEDED;
  margin-bottom: .8rem;
}
.case-subtitle {
  font-size: 1.05rem;
  color: rgba(237,237,237,0.7);
  line-height: 1.6;
}

/* GRID */
.case-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* === CASE CARD (aus deinem Template übernommen) === */
.case-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 0 32px rgba(0,0,0,0.6);
  transition: transform .3s ease, box-shadow .3s ease, border .3s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: #00F5B5;
  box-shadow: 0 0 24px rgba(0,245,181,0.25), 0 8px 40px rgba(0,0,0,0.8);
}

/* Image */
.card-image {
  position: relative;
  height: 190px;
  background-size: cover;
  background-position: center;
}
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(10,14,20,0.85) 100%);
}

/* Body */
.card-body { padding: 22px; }

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.logo-square {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,232,255,0.3);
}
.logo-square img { width: 80%; height: 80%; object-fit: contain; }

.meta .title { font-weight: 700; font-size: 17px; color: #EDEDED; }
.meta .sub { font-size: 13px; color: #00F5B5; opacity: .9; }

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,245,181,0.1);
  color: #00F5B5;
  border: 1px solid rgba(0,245,181,0.3);
  letter-spacing: 0.3px;
}

/* Summary */
.summary {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
  color: #EDEDED;
  opacity: 0.9;
}

/* Problem / Solution Insight Block */
.card-insight {
  margin: 0 0 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.card-insight-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(237,237,237,0.82);
}

.card-insight-problem {
  background: rgba(255, 80, 80, 0.06);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.card-insight-solution {
  background: rgba(0, 224, 162, 0.06);
}

.card-insight-icon {
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 1px;
}

.card-insight-problem .card-insight-icon {
  color: #FF5050;
}

.card-insight-solution .card-insight-icon {
  color: #00E0A2;
}

/* Button */
.card-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neon-mint), var(--hyper-cyan));
  border: none;
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0,232,255,0.3);
  color: #000;
}
