/*--------------------------------------------------------------
# software.css – nur für software.html (Präfix sw-)
# Aufbau angelehnt an snowflake.com: Hinweisleiste, Navbar mit
# Mega-Menü, Raster-Hero mit Diagramm, Versal-Headlines zweifarbig.
--------------------------------------------------------------*/
.page-software {
  --sw-ink: #101314;
  --sw-text: #3d4448;
  --sw-muted: #5b656a;
  --sw-signal: #1a7d98;
  --sw-signal-dark: #136478;
  --sw-petrol: #0e4a5b;
  --sw-line: #e2e9ec;
  --sw-grid: #edf2f4;
  --sw-wash: #f5f8f9;
  --sw-ice: #e7f2f6;
  --sw-shadow: 0 12px 40px -16px rgb(16 19 20 / 0.22);
  color: var(--sw-text);
  background: #fff;
}

.page-software main a:not(.sw-btn) {
  color: var(--sw-signal);
}

.page-software main a:not(.sw-btn):hover {
  color: var(--sw-signal-dark);
}

/*--------------------------------------------------------------
# Hinweisleiste
--------------------------------------------------------------*/
.sw-announce {
  background: var(--sw-ink);
  color: #fff;
  font-size: 0.9375rem;
}

.sw-announce[hidden] {
  display: none;
}

.sw-announce .container-xl {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding-block: 8px;
  padding-right: 52px;
  text-align: center;
}

.sw-announce .bi-telephone-inbound {
  color: var(--rf-accent);
}

.sw-announce strong {
  font-family: var(--font-heading);
  font-weight: 700;
}

.sw-announce-sep {
  margin: 0 6px;
  opacity: 0.6;
}

.sw-announce a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
}

.sw-announce-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.sw-announce-close:hover {
  background: rgb(255 255 255 / 0.1);
}

/*--------------------------------------------------------------
# Buttons (Pillen)
--------------------------------------------------------------*/
.sw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sw-btn:focus-visible {
  outline: 3px solid var(--sw-signal);
  outline-offset: 3px;
}

.sw-btn--sm {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.sw-btn--accent {
  background: var(--rf-accent);
  border-color: var(--rf-accent);
  color: var(--sw-ink);
}

.sw-btn--accent:hover {
  background: var(--rf-accent-dark);
  border-color: var(--rf-accent-dark);
  color: var(--sw-ink);
}

.sw-btn--outline {
  background: #fff;
  border-color: var(--sw-signal);
  color: var(--sw-signal);
}

.sw-btn--outline:hover {
  background: var(--sw-signal);
  color: #fff;
}

.sw-btn--ghost {
  background: transparent;
  border-color: rgb(255 255 255 / 0.85);
  color: #fff;
}

.sw-btn--ghost:hover {
  background: #fff;
  color: var(--sw-petrol);
}

.sw-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sw-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  min-height: 50px;
}

.sw-text-link .bi {
  font-size: 0.8rem;
}

/*--------------------------------------------------------------
# Typo-Bausteine
--------------------------------------------------------------*/
.sw-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.sw-section--wash {
  background: var(--sw-wash);
}

.sw-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sw-ink);
  margin-bottom: 14px;
}

.sw-kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sw-signal);
  margin-bottom: 8px;
}

.sw-display {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.6vw, 3.375rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--sw-ink);
  margin: 0 0 24px;
  hyphens: auto;
  overflow-wrap: break-word;
}

.sw-display > span {
  display: block;
  color: var(--sw-signal);
}

.sw-head-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.sw-head-center p {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 44em;
  margin-inline: auto;
}

.sw-body-lg {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 36em;
}

/*--------------------------------------------------------------
# Hero mit Punkt-Raster und Datenfluss
--------------------------------------------------------------*/
.sw-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 32px 0 72px;
}

.sw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #cfdfe5 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  background-position: center 0;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  pointer-events: none;
}

.sw-hero > .container-xl {
  position: relative;
}

.sw-hero .breadcrumb {
  margin-bottom: 28px;
  font-size: 0.875rem;
}

.sw-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--sw-line);
  border-radius: 6px;
  background: #fff;
  font-size: 0.9375rem;
  color: var(--sw-ink) !important;
}

.sw-chip b {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sw-signal);
}

.sw-chip .bi {
  color: var(--sw-signal);
  font-size: 0.75rem;
}

.sw-chip:hover {
  border-color: var(--sw-signal);
}

.sw-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.4vw, 4.375rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--sw-ink);
  margin: 26px 0 24px;
}

.sw-h1 > span {
  display: block;
  color: var(--sw-signal);
}

.sw-lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 32em;
  margin-bottom: 32px;
}

/* Datenfluss: Nachweise vor Ort laufen ins Kundenportal, dort erscheint
   die Benachrichtigung. Taktung in software.js, Bewegung nur transform/opacity. */
.sw-flow {
  --sw-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  aspect-ratio: 100 / 80;
  max-width: 760px;
  margin-inline: auto;
}

.sw-flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sw-flow-lines path {
  fill: none;
  stroke: #9cc6d4;
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.sw-flow-dot {
  fill: var(--sw-signal);
  opacity: 0;
}

.sw-flow-dot.is-running {
  opacity: 1;
}

.sw-flow-head {
  position: absolute;
  left: 0;
  top: 2%;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sw-muted);
}

.sw-flow-inputs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sw-flow-chip {
  position: absolute;
  left: 0;
  width: 22%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--sw-line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--sw-ink);
  box-shadow: 0 2px 8px rgb(16 19 20 / 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sw-flow-chip .bi {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sw-ice);
  color: var(--sw-signal);
  font-size: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sw-flow-chip.is-active {
  border-color: var(--sw-signal);
  box-shadow: 0 0 0 4px rgb(26 125 152 / 0.12), 0 10px 22px -12px rgb(14 74 91 / 0.5);
}

.sw-flow-chip.is-active .bi {
  background: var(--sw-signal);
  color: #fff;
}

.sw-portal {
  position: absolute;
  left: 30%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--sw-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 60px -28px rgb(14 74 91 / 0.45);
  overflow: hidden;
}

.sw-portal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--sw-line);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sw-ink);
}

.sw-portal-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--sw-signal);
}

.sw-live {
  position: relative;
  width: 8px;
  height: 8px;
}

.sw-live-dot,
.sw-live-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--sw-signal);
}

.sw-live-ring {
  opacity: 0;
}

.sw-portal .sw-screen {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sw-toasts {
  position: absolute;
  left: 20%;
  bottom: 1%;
  width: min(370px, 58%);
  height: 68px;
}

.sw-toast {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--sw-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px -16px rgb(16 19 20 / 0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--sw-ease-out), transform 0.3s var(--sw-ease-out);
}

.sw-toast.is-shown {
  opacity: 1;
  transform: none;
}

.sw-toast-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sw-signal);
  color: #fff;
  font-size: 1.0625rem;
}

.sw-toast strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--sw-ink);
  line-height: 1.25;
}

.sw-toast small {
  display: block;
  font-size: 0.8125rem;
  color: var(--sw-muted);
}

.sw-motion-toggle {
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sw-line);
  border-radius: 50%;
  background: #fff;
  color: var(--sw-signal);
  font-size: 1.125rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .sw-motion-toggle:hover {
    border-color: var(--sw-signal);
  }
}

/* Weniger Bewegung: kein laufender Punkt, Benachrichtigungen nur überblenden */
@media (prefers-reduced-motion: reduce) {
  .sw-flow-dot {
    display: none;
  }

  .sw-toast {
    transform: none;
    transition: opacity 0.4s ease;
  }
}

@media (max-width: 767px) {
  .sw-flow {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .sw-flow-lines {
    display: none;
  }

  .sw-flow-head {
    position: static;
  }

  .sw-flow-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sw-flow-chip {
    position: static;
    width: auto;
    transform: none;
    padding: 6px 10px 6px 6px;
  }

  .sw-flow-chip .bi {
    width: 26px;
    height: 26px;
  }

  .sw-portal {
    position: relative;
    inset: auto;
    transform: none;
  }

  .sw-toasts {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -46px 12px 0;
  }

  .sw-motion-toggle {
    display: none;
  }
}

/*--------------------------------------------------------------
# Promo-Karte (Live-Demo)
--------------------------------------------------------------*/
.sw-promo-section {
  background: var(--sw-wash);
  padding: 56px 0;
}

.sw-promo {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 40px;
  padding-right: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sw-shadow);
  overflow: hidden;
}

.sw-promo-media {
  align-self: stretch;
  min-height: 210px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 28px;
  overflow: hidden;
  background-color: var(--sw-petrol);
  background-image:
    linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.sw-promo-media img {
  width: 132px;
  height: auto;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.5);
  margin-bottom: -120px;
}

.sw-promo h2 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--sw-ink);
  margin: 0 0 6px;
}

.sw-promo p {
  margin: 0;
  color: var(--sw-muted);
}

@media (max-width: 991px) {
  .sw-promo {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 24px 28px;
  }

  .sw-promo-media {
    margin: 0 -24px;
    min-height: 160px;
  }

  .sw-promo .sw-btn {
    justify-self: start;
  }
}

/*--------------------------------------------------------------
# Warum: Text + Bild, darunter drei Säulen
--------------------------------------------------------------*/
.sw-shot {
  margin: 0;
  border: 1px solid var(--sw-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--sw-shadow);
  overflow: hidden;
}

.sw-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.sw-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: clamp(56px, 7vw, 88px);
}

.sw-pillar .bi {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--sw-signal);
  margin-bottom: 20px;
}

.sw-pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sw-ink);
  margin: 0 0 12px;
}

.sw-pillar p {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .sw-pillars {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Schmale Hinweiskarte */
.sw-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(56px, 7vw, 80px);
  padding: 22px 28px;
  border: 1px solid var(--sw-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 24px -14px rgb(16 19 20 / 0.25);
}

.sw-strip p {
  margin: 0;
}

.sw-strip strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--sw-ink);
  margin-bottom: 2px;
}

@media (max-width: 767px) {
  .sw-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*--------------------------------------------------------------
# Kundenportal-Board
--------------------------------------------------------------*/
.sw-board {
  padding: 24px;
  border: 1px solid var(--sw-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--sw-shadow);
}

.sw-board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sw-cell {
  padding: 26px 24px;
  border: 1px solid var(--sw-line);
  border-radius: 8px;
  background: #fff;
  min-height: 190px;
}

.sw-cell h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sw-ink);
  margin: 0 0 12px;
}

.sw-cell p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--sw-muted);
  margin: 0;
}

.sw-board-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 44px;
  margin: 20px 0 0;
  padding: 18px 24px;
  list-style: none;
  border-radius: 8px;
  background: var(--sw-petrol);
  color: #fff;
  font-size: 1.0625rem;
}

.sw-board-band li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sw-board-band .bi {
  color: #9fd4e4;
}

@media (max-width: 1199px) {
  .sw-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .sw-board {
    padding: 14px;
  }

  .sw-board-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sw-cell {
    min-height: 0;
  }

  .sw-board-band {
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# Zwei große Funktionskacheln
--------------------------------------------------------------*/
.sw-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sw-feature {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  padding-bottom: 0;
  border-radius: 16px;
  overflow: hidden;
}

.sw-feature--dark {
  background-color: var(--sw-petrol);
  background-image:
    linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  color: rgb(255 255 255 / 0.88);
}

.sw-feature--light {
  background: var(--sw-ice);
}

.sw-feature h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--sw-ink);
  margin: 0 0 16px;
  hyphens: auto;
}

.sw-feature--dark h2 {
  color: #fff;
}

.sw-feature > p {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 34em;
}

.sw-checks {
  list-style: none;
  margin: 4px 0 28px;
  padding: 0;
}

.sw-checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.sw-checks li::before {
  content: "\F272"; /* bi-check2 */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.125rem;
  color: var(--sw-signal);
}

.sw-feature--dark .sw-checks li::before {
  color: #9fd4e4;
}

.sw-checks strong {
  color: var(--sw-ink);
}

.sw-feature--dark .sw-checks strong {
  color: #fff;
}

.sw-feature-media {
  margin-top: auto;
  padding-top: 8px;
  max-height: 380px;
  overflow: hidden;
}

.sw-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -6px 40px -12px rgb(0 0 0 / 0.35);
}

.sw-feature .sw-btn {
  align-self: flex-start;
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .sw-duo {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Abnahme: Bild + drei Spalten
--------------------------------------------------------------*/
.sw-wide-shot {
  max-width: 1040px;
  margin-inline: auto;
}

.sw-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1040px;
  margin: 56px auto 0;
}

.sw-trio h3,
.sw-quad h3 {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--sw-ink);
  margin: 0 0 10px;
}

.sw-trio .bi,
.sw-quad .bi {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--sw-signal);
  margin-bottom: 18px;
}

.sw-trio p,
.sw-quad p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .sw-trio {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/*--------------------------------------------------------------
# Ablauf als große Karte
--------------------------------------------------------------*/
.sw-story-section {
  background: linear-gradient(162deg, #fff 0 42%, var(--sw-ice) 42% 100%);
}

.sw-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.sw-head-split .sw-display {
  margin-bottom: 0;
}

.sw-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--sw-shadow);
}

.sw-story h3 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sw-ink);
  margin: 0 0 14px;
}

.sw-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  list-style: none;
  counter-reset: sw-step;
  margin: 32px 0 0;
  padding: 0;
}

.sw-steps li {
  counter-increment: sw-step;
  padding-left: 22px;
  border-left: 3px solid var(--sw-signal);
  line-height: 1.5;
}

.sw-steps li::before {
  content: counter(sw-step);
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--sw-signal);
  margin-bottom: 8px;
}

.sw-steps strong {
  display: block;
  color: var(--sw-ink);
}

.sw-story-media {
  margin: 0;
  max-height: 600px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--sw-line);
}

.sw-story-media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .sw-head-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .sw-story {
    grid-template-columns: 1fr;
  }

  .sw-story-media {
    max-height: 420px;
  }
}

@media (max-width: 575px) {
  .sw-steps {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Abrechnung: vier Spalten
--------------------------------------------------------------*/
.sw-quad {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

@media (max-width: 1199px) {
  .sw-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .sw-quad {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/*--------------------------------------------------------------
# Mieterportal
--------------------------------------------------------------*/
.sw-panel {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--sw-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--sw-shadow);
}

.sw-panel .sw-checks {
  margin-bottom: 0;
}

.sw-panel .sw-checks li:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# KI-Notruf (in Entwicklung)
--------------------------------------------------------------*/
.sw-ai {
  padding: clamp(32px, 5vw, 64px);
  border-radius: 16px;
  background-color: var(--sw-petrol);
  background-image:
    linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  color: rgb(255 255 255 / 0.85);
}

.sw-ai .sw-display {
  color: #fff;
  max-width: 16em;
}

.sw-ai .sw-display > span {
  color: #9fd4e4;
}

.sw-ai > p {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 40em;
}

.sw-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px 12px;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.sw-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rf-accent);
}

.sw-ai-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 44px 0 36px;
  padding-top: 36px;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}

.sw-ai-grid h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.sw-ai-grid .bi {
  display: block;
  font-size: 1.625rem;
  color: #9fd4e4;
  margin-bottom: 14px;
}

.sw-ai-grid p {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

.sw-ai-note {
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  margin-bottom: 28px;
}

.page-software main .sw-ai a:not(.sw-btn) {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .sw-ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .sw-ai-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Datenschutz-Karten
--------------------------------------------------------------*/
.sw-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sw-card {
  overflow: hidden;
  border: 1px solid var(--sw-line);
  border-radius: 12px;
  background: #fff;
}

.sw-card-top {
  display: flex;
  align-items: center;
  height: 88px;
  padding: 0 24px;
  background-color: var(--sw-petrol);
  background-image:
    linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  color: #9fd4e4;
  font-size: 1.75rem;
}

.sw-card-body {
  padding: 22px 24px 26px;
}

.sw-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sw-ink);
  margin: 0 0 8px;
}

.sw-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .sw-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .sw-cards {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.sw-faq {
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--sw-line);
}

.sw-faq .accordion-item {
  background: transparent;
  border-bottom: 1px solid var(--sw-line);
}

.sw-faq .accordion-button {
  padding: 22px 4px;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sw-ink);
  box-shadow: none;
}

.sw-faq .accordion-button:not(.collapsed) {
  color: var(--sw-signal);
  background: transparent;
}

.sw-faq .accordion-button:focus-visible {
  outline: 3px solid var(--sw-signal);
  outline-offset: 2px;
}

.sw-faq .accordion-body {
  padding: 0 4px 24px;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Abschluss-CTA über dem Footer
--------------------------------------------------------------*/
.sw-cta-wrap {
  background: linear-gradient(180deg, #fff 50%, var(--rf-footer-bg) 50%);
  padding: 0;
}

.sw-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 4.5vw, 56px) clamp(28px, 5vw, 64px);
  border-radius: 16px;
  background-color: var(--sw-signal);
  background-image:
    linear-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  color: #fff;
}

.sw-cta-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sw-cta-brand img {
  width: 76px;
  height: auto;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.sw-cta .sw-display {
  color: #fff;
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
}

.sw-cta .sw-display > span {
  color: #fff;
}

.sw-cta p {
  margin: 10px 0 0;
  color: rgb(255 255 255 / 0.9);
  max-width: 30em;
}

.sw-cta .sw-btn-row {
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .sw-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .sw-cta-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .sw-cta-brand img {
    width: 56px;
  }
}

.sw-feature--dark .sw-kicker {
  color: #9fd4e4;
}

/*--------------------------------------------------------------
# Scroll-Einblendung (Klassen .reveal/.revealed aus theme.css/main.js)
# Kräftigeres ease-out und kurze Staffelung in Rastern
--------------------------------------------------------------*/
@media (prefers-reduced-motion: no-preference) {
  html.js .page-software .reveal {
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  }

  html.js .sw-stagger > .reveal:nth-child(2) { transition-delay: 60ms; }
  html.js .sw-stagger > .reveal:nth-child(3) { transition-delay: 120ms; }
  html.js .sw-stagger > .reveal:nth-child(4) { transition-delay: 180ms; }
  html.js .sw-stagger > .reveal:nth-child(5) { transition-delay: 60ms; }
  html.js .sw-stagger > .reveal:nth-child(6) { transition-delay: 120ms; }
  html.js .sw-stagger > .reveal:nth-child(7) { transition-delay: 180ms; }
  html.js .sw-stagger > .reveal:nth-child(8) { transition-delay: 240ms; }
}
