/*
  Die neuen Abschnitte der Startseite: Branchen, Kennzahlen, Ablauf,
  Spezialauftraege und haeufige Fragen.

  Farben und Schrift wie auf "Ueber uns" (css/ueber-uns.css) und im
  App-Hinweis: Poppins, das Gruen der Marke, der dunkle Grund. Alles unter
  ".st-", damit dem Bootstrap-Theme der uebrigen Startseite nichts
  dazwischenkommt.
*/

.st {
  --st-gruen: #82ae46;
  --st-gruen-text: #5e8a2a;   /* auf Weiss lesbar (4.6:1) */
  --st-hell: #b7d986;
  --st-grund: #1e2a23;
  --st-grund-2: #24352a;
  --st-text: #1d2520;
  --st-leise: #5f6b62;
  --st-linie: #e3e8df;
  --st-flaeche: #f5f8f2;

  font-family: "Poppins", Arial, sans-serif;
  padding: clamp(56px, 8vw, 96px) 0;
}

.st h2 {
  margin: 0 0 16px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--st-text);
  text-wrap: balance;
}
.st h2 em { font-style: normal; color: var(--st-gruen-text); }

.st-kopf { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }

.st-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--st-gruen-text);
}
.st-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--st-gruen);
}

.st-lead {
  margin: 0 auto;
  max-width: 56ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: var(--st-leise);
}

.st-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.st-knopf:hover, .st-knopf:focus { text-decoration: none; }
.st-knopf--voll { background: var(--st-gruen); color: #fff; }
.st-knopf--voll:hover, .st-knopf--voll:focus { background: #5f8830; color: #fff; }
.st-knopf--rand { border-color: rgba(255, 255, 255, .45); color: #fff; }
.st-knopf--rand:hover, .st-knopf--rand:focus { background: #fff; color: var(--st-grund-2); }

/* ================================================= Branchen */

.st-branchen { background: var(--st-flaeche); }

.st-karten {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
@media (min-width: 640px) { .st-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .st-karten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.st-karte {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--st-linie);
  border-radius: 18px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.st-karte:hover {
  border-color: #cfe0b8;
  box-shadow: 0 18px 36px -24px rgba(30, 42, 35, .45);
  transform: translateY(-2px);
}

.st-karte__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(130, 174, 70, .14);
  color: var(--st-gruen-text);
}
.st-karte__icon svg { width: 24px; height: 24px; }

.st-karte h3 {
  margin: 0 0 12px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--st-text);
}

.st-karte__problem {
  margin: 0 0 12px;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--st-leise);
}

.st-karte__loesung {
  position: relative;
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--st-linie);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--st-text);
}
.st-karte__loesung b { color: var(--st-gruen-text); font-weight: 600; }

/* Kennzahlen unter den Karten */
.st-zahlen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(32px, 5vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border-radius: 18px;
  background: #3b4b40;   /* die Trennlinien zwischen den Feldern */
}
@media (min-width: 768px) { .st-zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.st-zahlen li {
  padding: 22px 16px;
  background: var(--st-grund-2);
  text-align: center;
}
.st-zahlen strong {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.st-zahlen span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--st-hell);
}

/* ================================================= Ablauf */

.st-ablauf { background: #fff; }

.st-schritte {
  counter-reset: schritt;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) { .st-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .st-schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.st-schritte li {
  counter-increment: schritt;
  position: relative;
  padding-left: 62px;
}
.st-schritte li::before {
  content: counter(schritt);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--st-grund-2);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}
/* Der letzte Schritt ist das Ziel - gruen. */
.st-schritte li:last-child::before { background: var(--st-gruen); }

.st-schritte h3 {
  margin: 10px 0 6px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--st-text);
}
.st-schritte p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--st-leise);
}

.st-notfall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  margin: clamp(36px, 5vw, 52px) auto 0;
  padding: 16px 22px;
  max-width: 760px;
  border: 1px dashed #cfe0b8;
  border-radius: 16px;
  background: var(--st-flaeche);
  font-size: 15px;
  line-height: 1.5;
  color: var(--st-text);
  text-align: center;
}
.st-notfall a { color: var(--st-gruen-text); font-weight: 700; white-space: nowrap; }

/* ================================================= Spezialauftraege */

.st-spezial {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 15% -20%, rgba(130, 174, 70, .26), transparent 62%),
    linear-gradient(160deg, #1d2a22 0%, var(--st-grund-2) 58%, #1a241e 100%);
}
.st-spezial > .container { position: relative; z-index: 1; }

.st-spezial__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 880px) {
  .st-spezial__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.st-spezial h2 { color: #fff; }
.st-spezial h2 em { color: var(--st-hell); }
.st-spezial .st-kicker { color: var(--st-hell); }
.st-spezial .st-lead { margin: 0; color: rgba(255, 255, 255, .82); }

.st-spezial__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.st-wuensche {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 520px) { .st-wuensche { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.st-wuensche li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}
.st-wuensche li b {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
/* Die Saefte sind das, was es sonst kaum gibt - sie stehen vorn und breit. */
.st-wuensche li.st-wuensche--gross {
  border-color: rgba(183, 217, 134, .45);
  background: rgba(130, 174, 70, .16);
}
@media (min-width: 520px) { .st-wuensche li.st-wuensche--gross { grid-column: 1 / -1; } }

/* ================================================= Haeufige Fragen */

.st-faq { background: var(--st-flaeche); }

.st-faq__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 32px;
  align-items: start;
}
@media (min-width: 992px) { .st-faq__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.st-faq__gruppentitel {
  margin: 0 0 10px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--st-gruen-text);
}

.st-faq__eintrag {
  margin-bottom: 8px;
  border: 1px solid var(--st-linie);
  border-radius: 14px;
  background: #fff;
}
.st-faq__eintrag[open] { border-color: #cfe0b8; }

.st-faq__eintrag summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--st-text);
}
.st-faq__eintrag summary::-webkit-details-marker { display: none; }
.st-faq__eintrag summary:focus-visible {
  outline: 2px solid var(--st-gruen);
  outline-offset: 2px;
  border-radius: 14px;
}
/* Plus, das beim Oeffnen zum Minus wird. */
.st-faq__eintrag summary::before,
.st-faq__eintrag summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--st-gruen-text);
  transition: transform .2s ease;
}
.st-faq__eintrag summary::after { transform: rotate(90deg); }
.st-faq__eintrag[open] summary::after { transform: rotate(0deg); }

.st-faq__antwort { padding: 0 20px 18px; }
.st-faq__antwort p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--st-leise);
}
.st-faq__antwort a {
  display: inline-block;
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--st-gruen-text);
}

.st-faq__fuss {
  margin: clamp(28px, 4vw, 40px) 0 0;
  font-size: 15px;
  color: var(--st-leise);
  text-align: center;
}
.st-faq__fuss a { color: var(--st-gruen-text); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .st-karte, .st-karte:hover { transition: none; transform: none; }
  .st-faq__eintrag summary::after { transition: none; }
}
