/* ============================================================
   SEFODO Landing html_v2, Zusatz-Styles fuer features.html
   (laedt nach styles.css)
   ============================================================ */

/* ---------- Seiten-Kopf ---------- */

.page-hero {
  padding: 5.5rem 1.5rem 4.5rem;
}

.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  letter-spacing: -0.01em;
  line-height: 1.06;
  margin-bottom: 1.2rem;
  max-width: 18ch;
}

.page-hero-sub {
  font-size: 1.2rem;
  color: var(--text-2);
  max-width: 52ch;
}

@media (prefers-reduced-motion: no-preference) {
  .page-hero-inner { animation: rise 0.8s var(--ease-out) both; }
}

/* ---------- Neu-Sektion ---------- */

.neu { padding: 1rem 0 7rem; }

.bento-neu {
  grid-template-areas:
    "kita kita kita kita kita kita kita sto sto sto sto sto"
    "kita kita kita kita kita kita kita the the the the the";
}

.neu-kita   { grid-area: kita; }
.neu-story  { grid-area: sto; }
.neu-themes { grid-area: the; }

.neu-kita {
  background:
    radial-gradient(130% 150% at 0% 0%, rgba(179, 90, 52, 0.14), transparent 60%),
    var(--bg-card);
}

.neu-kita img { min-height: 280px; }

.neu-kita .check-list { margin-top: 1.4rem; }

/* Breites Triptychon: natuerliche Hoehe statt Streckung,
   Caption zentriert sich im Rest der Zelle */
.neu-story img { flex: 0 0 auto; height: auto; }

.neu-story .bento-caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.neu-themes { background: var(--bg-2); }

/* ---------- Demo-Band ---------- */

.demo-band {
  max-width: var(--container);
  margin: 1.25rem auto 0;
  padding: 1rem 2.5rem 1rem 1rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(44, 38, 32, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
}

.demo-band-figure {
  flex: 0 0 290px;
  align-self: stretch;
  margin: 0;
}

.demo-band-figure img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: calc(var(--r-lg) - 8px);
  border: 1px solid var(--border-mid);
}

/* Buendig zur Bento-Breite (Container minus Seitenabstand) */
@media (min-width: 1249px) {
  .demo-band { max-width: calc(var(--container) - 3rem); }
}

@media (max-width: 1248px) {
  .demo-band { margin-left: 1.5rem; margin-right: 1.5rem; }
}

.demo-band-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.demo-band-sub {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 52ch;
}

.demo-band .btn { flex-shrink: 0; }

/* ---------- Funktions-Gruppen ---------- */

.feature-groups { padding: 3rem 0 8rem; }

.groups-grid {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.group-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem 2rem 1.6rem;
}

.group-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.group-card > p {
  color: var(--text-2);
  font-size: 0.975rem;
  margin-bottom: 1.2rem;
}

.group-card .check-list li { font-size: 0.975rem; padding-top: 0.45rem; padding-bottom: 0.45rem; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .bento-neu {
    grid-template-areas:
      "kita kita kita kita kita kita kita kita kita kita kita kita"
      "sto  sto  sto  sto  sto  sto  the  the  the  the  the  the";
  }

  .demo-band { flex-direction: column; align-items: flex-start; padding: 1rem 1rem 2rem; }
  .demo-band-figure { flex: 0 0 auto; width: 100%; align-self: auto; }
  .demo-band-figure img { height: 220px; min-height: 0; }
  .demo-band-copy { padding: 0 1rem; }
  .demo-band .btn { margin-left: 1rem; }
}

@media (max-width: 768px) {
  .bento-neu { grid-template-areas: "kita" "sto" "the"; }

  .groups-grid { grid-template-columns: 1fr; }

  .page-hero { padding: 3.5rem 1.5rem 3rem; }

  .demo-band .btn { width: 100%; }
}
