/* CASH SOFTWARE – zusätzliche Bausteine nur für die Startseite (ergänzt style.css) */

/* Hero: Überschrift in zwei Stufen. Hauptzeile groß und weiß, Zusatz kleiner und in hellem Rosa. */
.hero h1 { margin-bottom: 18px; }
.hero h1 .h1-main { display: block; font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.1; }
.hero h1 .h1-sub {
  display: block; margin-top: 14px; font-size: clamp(1.15rem, 2.3vw, 1.6rem); font-weight: 600;
  line-height: 1.3; letter-spacing: 0; color: #ffd6d8;
}
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; margin: 0 0 22px; opacity: 0.96; }

/* Zahlenband direkt unter dem Hero */
.stats { padding-block: 0; background: #fff; border-bottom: 1px solid var(--line); }
.stats ul {
  list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center;
}
.stats li { padding: 4px 12px; }
.stats strong { display: block; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; color: var(--red); font-weight: 800; }
.stats span { color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.stats li + li { border-left: 1px solid var(--line); }

/* Flexibel-Band mit Foto auf weißem Grund (das Foto hat weißen Hintergrund) */
.flex-band { background: #fff; }
.flex-band .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.flex-band img { width: 100%; height: auto; }
.flex-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 14px; line-height: 1.2; }
.flex-band p { color: var(--muted); margin: 0 0 22px; }
.flex-band .eyebrow { margin: 0 0 8px; color: var(--red); }

/* Neu: Digibeleg und Digibestand auf dunklem Grund */
.new-band {
  background: linear-gradient(135deg, var(--footer-red), #4d0a0f);
  color: #fff;
}
.new-band .section-head p { color: rgba(255, 255, 255, 0.82); }
.new-band .eyebrow { color: #ffb4b7; }
.new-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.new-card {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.2s, background 0.2s;
}
.new-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.12); }
.new-card .tag {
  align-self: flex-start; background: #fff; color: var(--red); font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.new-card h3 { margin: 8px 0 0; font-size: 1.5rem; }
.new-card p { margin: 0 0 14px; color: rgba(255, 255, 255, 0.86); flex: 1; }
.new-card a.more { color: #fff; font-weight: 700; }
.new-card a.more::after { content: " →"; }

/* Referenzen als Kachelreihe */
.ref-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0 0 32px;
}
.ref-mini a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
  text-align: center; color: var(--ink); height: 100%; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.ref-mini a:hover { transform: translateY(-3px); border-color: #f0c9ca; box-shadow: var(--shadow); text-decoration: none; }
.ref-mini img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; }
.ref-mini .name { display: block; font-weight: 700; font-size: 0.82rem; line-height: 1.3; margin-top: 8px; }
.ref-mini .place { display: block; color: var(--muted); font-size: 0.78rem; }
.center { text-align: center; }

/* Support-Teaser */
.support-teaser .wrap {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.support-teaser h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; line-height: 1.2; }
.support-teaser p { color: var(--muted); margin: 0 0 20px; }
.support-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.support-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px;
  color: var(--ink); font-weight: 700; box-shadow: var(--shadow); transition: transform 0.2s, border-color 0.2s;
}
.support-list a:hover { transform: translateX(4px); border-color: #f0c9ca; text-decoration: none; }
.support-list a small { display: block; color: var(--muted); font-weight: 400; font-size: 0.88rem; }
.support-list a::after { content: "→"; color: var(--red); font-weight: 800; }
.btn-red {
  display: inline-block; background: var(--red); color: #fff; font-weight: 700; padding: 14px 26px; border-radius: 999px;
  transition: background 0.2s;
}
.btn-red:hover { background: var(--red-dark); text-decoration: none; color: #fff; }

@media (max-width: 1000px) { .ref-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .new-grid { grid-template-columns: 1fr; }
  .support-teaser .wrap { grid-template-columns: 1fr; gap: 24px; }
  .flex-band .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .stats ul { grid-template-columns: 1fr; padding: 16px 0; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .ref-row { grid-template-columns: repeat(2, 1fr); }
}
