/* ===========================================
   Card Container Layout (Grid)
   =========================================== */
.card-container {
  display: grid;
  gap: 30px; /* schmales Gitter */
  margin: 2rem 0;
  transition: all 0.3s ease-in-out;
  align-items: stretch; /* sorgt für gleiche Höhe */
}

/* Untereinander: eine Spalte */
.card-container.untereinander {
  grid-template-columns: 1fr;
}

/* Nebeneinander: nutzt gesamte Breite */
.card-container.nebeneinander {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  width: 100%;
  align-items: stretch; /* alle Karten gleich hoch */
}

/* Responsiv: unter 768px immer untereinander */
@media (max-width: 768px) {
  .card-container.nebeneinander {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   Card Surface Anpassung für gleich hohe Karten
   =========================================== */
.mod-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* nimmt volle Zellenhöhe im Grid ein */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #0f172a;
}

.card-surface {
  flex: 1; /* füllt die Höhe der Karte */
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.06);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(2,6,23,0.04);
  transition: box-shadow .3s ease, transform .18s ease;
  overflow: hidden;
}

/* ===========================================
   Card Surface Styles (dein bestehendes Design)
   =========================================== */

/* Card surface */


/* Hover elevation */
.card-surface:hover {
  box-shadow: 0 10px 30px rgba(2,6,23,0.10);
  transform: translateY(-2px);
}

/* Inner padding and layout */
.card-inner {
  padding: 1.5rem; /* 24px */
}

/* Header: icon + title/intro */
.card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Icon wrapper: gradient background + rounded and hover scale */
.icon-wrapper {
  flex: 0 0 auto;
  padding: 0.6rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #3c83f6 0%, #06b6d4 100%); /* gradient-accent */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

/* scale effect on overall card hover */
.card-surface:hover .icon-wrapper {
  transform: scale(1.1);
}

/* SVG or IMG size inside wrapper */
.icon-wrapper svg,
.icon-wrapper img.icon-img {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  color: #fff; /* stroke uses currentColor in your SVG */
  fill: none;
}

/* Title and intro */
.card-title-wrap {
  flex: 1 1 auto;
}

.card-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.125rem; /* 18px */
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: color .3s ease;
  color: #0f172a;
}

.card-surface:hover .card-title {
  color: #3c83f6; /* accent on hover */
}

.card-intro {
  margin: .5rem 0 0;
  font-size: .9rem;
  color: #6b7280; /* muted-foreground */
  line-height: 1.4;
}

/* Footer: points list */
.card-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  padding-top: 0.75rem;
  padding-left: 2.75rem; /* to mimic ml-16 offset */
}

.points-list {
  margin: 0 0 0 80px;
  padding: 0 0 15px 0;
  list-style: none;
  display: block;
  gap: 0.5rem;
}

.point-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9rem;
  color: #6b7280; /* muted-foreground */
  margin-bottom: .5rem;
}

/* small dot */
.point-dot {
  width: .5rem;
  height: .5rem;
  background: #3c83f6; /* bg-accent */
  border-radius: 999px;
  margin-right: .5rem;
  flex: 0 0 auto;
}

/* Responsive fine-tuning */
@media (max-width: 480px) {
  .mod-card { max-width: 100%; }
  .card-inner { padding: 1rem; }
  .card-footer { padding-left: 2rem; }
}
