/* =====================================================================
   /software/: Leistungsseite "Software für dich" im Look der Startseite.
   Baut auf start.css auf; hier nur, was es dort nicht gibt.
   Seitenakzent Blau (Farbe der Software-Leistungskarte #2563EB), Knoepfe bleiben Violett.
   Radien wie start.css: Knoepfe 8 px, Karten 14 px, grosse Flaechen 20 px, Pillen rund.
   ===================================================================== */

.seite-software {
  --sw:        #2563EB;
  --sw-tief:   #1D4ED8;
  --sw-weich:  #BFDBFE;
  --sw-tint:   #EFF6FF;
}

/* ---------- Hero ---------- */
.sw-hero .brotkrumen { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--ink-3); }
.sw-hero .brotkrumen a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.sw-hero .kicker { color: var(--sw-tief); }
.sw-hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 12.5em; }
.sw-hero .unterstrichen svg { color: var(--sw); }
.sw-hero .lead { max-width: 31em; }

/* Schema: fuenf Einzel-Tools laufen ueber Strom-Leitungen in ein eigenes System.
   Desktop: feste Buehne im Verhaeltnis 1040 x 400, die Leitungen nutzen dasselbe Koordinatensystem (viewBox 1040 x 400). */
.sw-schema { position: relative; max-width: 1040px; margin: clamp(48px, 6vw, 76px) auto 0; aspect-ratio: 1040 / 400; text-align: left; }
.sw-leitungen { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sw-leitungen path { fill: none; stroke-linecap: round; }
.sw-bahnen path { stroke: #C7D7F7; stroke-width: 1.5; stroke-dasharray: 2 5; }
.sw-impulse path { stroke-width: 2.4; }
.sw-impulse .strom-1 { stroke-dasharray: 10 90; }
.sw-impulse .strom-2 { stroke-dasharray: 7 93; }

.sw-quellen { position: absolute; inset: 0; list-style: none; }
.sw-quellen li {
  position: absolute; right: var(--x); top: var(--y); transform: translateY(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line-mid);
  font: 600 15px/1.2 Manrope, sans-serif; color: var(--ink-2); white-space: nowrap;
  box-shadow: 0 14px 30px -22px rgba(23, 16, 43, .45);
}
.sw-quellen li > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #F2F1F5; color: var(--ink-3); }
.sw-quellen .ic { width: 17px; height: 17px; }

.sw-ziel {
  position: absolute; left: 58%; right: 0; top: 50%; transform: translateY(-50%);
  padding: 28px 28px 26px; border-radius: 22px;
  border: 2px solid var(--sw);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, color-mix(in srgb, var(--sw) 20%, transparent) 0, transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--sw) 8%, #fff) 0%, #fff 75%);
  box-shadow: 0 50px 80px -50px rgba(37, 99, 235, .55);
}
.sw-ziel { --farbe: var(--sw); }
.sw-ziel-titel { font: 500 clamp(24px, 2.4vw, 30px)/1.1 var(--head); letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.sw-ziel p:not(.sw-ziel-titel) { font-size: 16px; }
.sw-ziel ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sw-ziel li { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid #DCE6FB; font: 600 13px/1 Manrope, sans-serif; color: var(--sw-tief); }

.sw-schema-notiz { position: absolute; z-index: 1; font: 600 clamp(22px, 2.2vw, 27px)/1 Caveat, cursive; transform: rotate(-5deg); white-space: nowrap; }
.sw-schema-notiz--vorher { left: 11%; top: -5%; color: var(--ink-3); }
.sw-schema-notiz--nachher { left: 61%; top: 5%; color: var(--sw); }

/* ---------- Problem: Kopf links, Schmerzpunkte rechts ---------- */
.sw-zweier { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 56px; }
.sw-kopf .abschnitt-lead { margin-bottom: 24px; }
.sw-schmerzen { list-style: none; display: grid; gap: 12px; }
.sw-schmerz { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line-mid); }
.sw-schmerz-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: #F2F1F5; color: var(--ink-3); }
.sw-schmerz-icon .ic { width: 19px; height: 19px; }
.sw-schmerz b { display: block; margin-bottom: 4px; font: 500 19px/1.3 var(--head); letter-spacing: -.01em; color: var(--ink); }
.sw-schmerz > span:last-child { font-size: 15.5px; line-height: 1.55; }

/* ---------- Verstaerken: Text links, Kernsatz rechts ---------- */
.sw-folgen-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: end; }
.sw-folgen-text { max-width: 760px; }
.sw-folgen-text h2 { margin-bottom: 22px; }
.sw-folgen-text > div > p { font-size: 18px; max-width: 36em; }
.sw-folgen-text > div > p + p { margin-top: 14px; }
.sw-satz { margin-top: clamp(32px, 4vw, 44px); padding-left: 22px; border-left: 3px solid var(--sw); font: 500 clamp(24px, 2.8vw, 32px)/1.25 var(--head); letter-spacing: -.02em; color: var(--ink); max-width: 22em; }
.sw-satz .unterstrichen svg { color: var(--sw); }

/* ---------- Loesung: Karten wie auf der Startseite, ohne Link ---------- */
.sw-bausteine { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sw-baustein .leistung-kopf { padding-bottom: 26px; }
.leistung--haupt.sw-baustein { border-color: var(--sw); }
.sw-baustein .leistung-punkte li { color: var(--sw-tief); }

/* ---------- Ablauf: Weg mit vier Stationen ---------- */
.sw-weg { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.sw-station { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding-bottom: 30px; }
.sw-station:last-child { padding-bottom: 0; }
.sw-station::after { content: ""; position: absolute; left: 23px; top: 56px; bottom: 8px; border-left: 2px dashed var(--sw-weich); }
.sw-station:last-child::after { display: none; }
.sw-nr { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 600 19px/1 var(--head); color: var(--sw-tief); background: var(--sw-tint); border: 1.5px dashed var(--sw); }
.sw-station h3 { font-size: 22px; margin: 10px 0 8px; }
.sw-station p { font-size: 15.5px; line-height: 1.55; max-width: 26em; }
.sw-notiz { display: inline-block; margin-left: 8px; font: 600 23px/1 Caveat, cursive; letter-spacing: 0; color: var(--accent); transform: rotate(-6deg); }

/* ---------- Beweis ---------- */
.sw-ch { margin-bottom: 18px; }
.sw-stimme { display: flex; gap: 18px; align-items: flex-start; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line-mid); }
.sw-stimme-foto { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 30%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line-mid); }
.sw-stimme blockquote { font: 500 clamp(19px, 2vw, 23px)/1.4 var(--head); letter-spacing: -.01em; color: var(--ink); max-width: 40em; }
.sw-stimme figcaption { margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.sw-stimme figcaption b { display: block; color: var(--ink); font-weight: 700; }

/* ---------- Angebot ---------- */
.sw-angebot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.sw-angebot-text h2 { margin-bottom: 16px; }
.sw-angebot-text p { font-size: 17px; max-width: 28em; margin-bottom: 28px; }
.sw-paket { padding: 8px; border: 1px solid var(--line-mid); border-radius: 22px; background: var(--paper); }
.sw-liste {
  list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 28px;
  padding: clamp(22px, 3vw, 32px); border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, color-mix(in srgb, var(--sw) 16%, transparent) 0, transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--sw) 6%, #fff) 0%, #fff 75%);
}
.sw-liste li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.sw-liste b { display: block; font: 600 17px/1.3 var(--head); letter-spacing: -.01em; color: var(--ink); margin-bottom: 2px; }
.sw-haken { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--sw); color: #fff; }
.sw-haken .ic { width: 15px; height: 15px; }

/* ---------- Schluss-CTA: rechte Glasflaeche als Liste ---------- */
.sw-klaeren ul { list-style: none; display: grid; gap: 14px; }
.sw-klaeren li { display: flex; gap: 12px; align-items: flex-start; color: #fff; font-weight: 600; line-height: 1.45; }
.sw-klaeren .ic { width: 18px; height: 18px; margin-top: 2px; color: #7DD3FC; }

/* ---------- Ab Tablet ---------- */
@media (min-width: 760px) {
  .sw-bausteine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leistung--haupt.sw-baustein { grid-column: 1 / -1; }
  .sw-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-weg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .sw-station { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 0; }
  .sw-station::after { display: none; }
}

@media (min-width: 1100px) {
  .sw-zweier { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .sw-kopf { position: sticky; top: 100px; }
  /* Fuenf Bausteine in drei Spalten: Web-App doppelt breit, darunter drei, keine Luecke */
  .sw-bausteine { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .leistung--haupt.sw-baustein { grid-column: span 2; }
  .sw-angebot { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
  .sw-angebot-text { position: sticky; top: 100px; }
  .sw-folgen-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .sw-folgen-raster .sw-satz { margin-top: 0; }
  /* Weg: vier Stationen nebeneinander, verbunden durch eine gestrichelte Linie */
  .sw-weg { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .sw-station::after { display: block; left: 62px; right: -16px; top: 23px; bottom: auto; border-left: 0; border-top: 2px dashed var(--sw-weich); }
  .sw-station:last-child::after { display: none; }
}

/* ---------- Handy und kleine Tablets: Schema als Stapel ---------- */
@media (max-width: 859px) {
  .sw-schema { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 44px; }
  .sw-leitungen { display: none; }
  .sw-quellen { position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .sw-quellen li { position: static; transform: none; padding: 6px 12px 6px 6px; font-size: 14px; box-shadow: none; }
  .sw-quellen li > span { width: 28px; height: 28px; border-radius: 8px; }
  .sw-quellen .ic { width: 15px; height: 15px; }
  .sw-schema-notiz { position: static; left: auto; top: auto; transform: rotate(-4deg); font-size: 23px; }
  .sw-schema-notiz--vorher { margin-bottom: 12px; }
  .sw-schema-notiz--nachher { position: relative; margin-top: 12px; padding-top: 44px; margin-bottom: 10px; }
  .sw-schema-notiz--nachher::before { content: ""; position: absolute; left: 50%; top: 0; height: 36px; border-left: 2px dashed var(--sw-weich); }
  .sw-ziel { position: relative; left: auto; right: auto; top: auto; transform: none; width: 100%; max-width: 520px; padding: 24px 22px 22px; }
}

@media (max-width: 759px) {
  .sw-hero .brotkrumen { margin-bottom: 14px; }
  .sw-schmerz { padding: 18px; gap: 14px; }
  .sw-schmerz b { font-size: 18px; }
  .sw-folgen-text > div > p { font-size: 17px; }
  .sw-satz { padding-left: 16px; }
  .sw-stimme { flex-direction: column; gap: 14px; }
}
