/* Praxoria Startseite – v519 Prozessabschnitt: Feinschliff
   Ziel: weniger Tabellenwirkung, klarere Aktionsführung, ruhiger Hintergrund. */

body.homeRefinedV519{
  --home-v519-rule: color-mix(in oklab, var(--border) 58%, transparent);
  --home-v519-rule-soft: color-mix(in oklab, var(--border) 36%, transparent);
  --home-v519-muted: color-mix(in oklab, var(--text) 66%, var(--muted));
  --home-v519-soft: color-mix(in oklab, var(--surface) 96%, var(--bg-bottom) 4%);
}

/* Der Abschnitt bekommt eine saubere, eigene Fläche. Dadurch verschwinden alte
   Verlaufsschichten und horizontale Farbstreifen aus früheren Fassungen. */
html body.home.homeRefinedV519 .band.startBand{
  position: relative !important;
  isolation: isolate !important;
  display: grid !important;
  grid-template-columns: minmax(270px, 350px) minmax(0, 1fr) !important;
  column-gap: clamp(38px, 5.2vw, 84px) !important;
  row-gap: 28px !important;
  align-items: start !important;
  margin-top: clamp(26px, 3.2vw, 44px) !important;
  padding: clamp(34px, 4vw, 54px) 0 clamp(42px, 5vw, 70px) !important;
  border-top: 1px solid var(--home-v519-rule) !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--surface) 99%, #fff 1%) 0%,
    color-mix(in oklab, var(--surface) 97%, var(--bg-bottom) 3%) 100%) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body.home.homeRefinedV519 .band.startBand::before,
html body.home.homeRefinedV519 .band.startBand::after,
html.js body.home.homeRefinedV519 .band.startBand::before,
html.js body.home.homeRefinedV519 .band.startBand::after,
html.js body.home.homeRefinedV519 .startBand.is-in::before,
html.js body.home.homeRefinedV519 .startBand.is-in::after{
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}

html body.home.homeRefinedV519 .band.startBand .sectionTitle{
  position: sticky !important;
  top: 92px !important;
  align-self: start !important;
  display: block !important;
  max-width: 350px !important;
  margin: 0 !important;
  padding-top: 2px !important;
}

html body.home.homeRefinedV519 .band.startBand .sectionTitle h2{
  display: block !important;
  max-width: 11.4ch !important;
  margin: 0 !important;
  font-size: clamp(2.85rem, 4.1vw, 4.8rem) !important;
  line-height: .95 !important;
  letter-spacing: -.065em !important;
  text-wrap: balance !important;
}

html body.home.homeRefinedV519 .band.startBand .sectionTitle h2::after,
html body.home.homeRefinedV519 .band.startBand .headBlock::after{
  content: none !important;
  display: none !important;
}

html body.home.homeRefinedV519 .band.startBand .sub{
  max-width: 26ch !important;
  margin: clamp(18px, 2vw, 24px) 0 0 !important;
  padding-top: clamp(16px, 1.8vw, 20px) !important;
  border-top: 2px solid transparent !important;
  border-image: linear-gradient(90deg, var(--accent), var(--accent3), transparent 82%) 1 !important;
  color: var(--home-v519-muted) !important;
  font-size: clamp(1rem, 1.08vw, 1.14rem) !important;
  line-height: 1.55 !important;
}

html body.home.homeRefinedV519 .stepsStage{
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.home.homeRefinedV519 .stepsTrack,
html body.home.homeRefinedV519 .stepsTrack::before,
html body.home.homeRefinedV519 .stepsTrack::after{
  content: none !important;
  display: none !important;
}

html body.home.homeRefinedV519 .steps{
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border-top: 1px solid var(--home-v519-rule) !important;
  border-bottom: 1px solid var(--home-v519-rule) !important;
  background: color-mix(in oklab, var(--surface) 84%, transparent) !important;
}

html body.home.homeRefinedV519 .step{
  --stepAccent: var(--accent);
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(252px, .62fr) minmax(300px, 1fr) minmax(168px, 220px) !important;
  gap: clamp(22px, 3vw, 48px) !important;
  align-items: start !important;
  min-height: auto !important;
  padding: clamp(24px, 2.7vw, 36px) 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

html body.home.homeRefinedV519 .step + .step{
  border-top: 1px solid var(--home-v519-rule-soft) !important;
}

html body.home.homeRefinedV519 .step::before,
html body.home.homeRefinedV519 .step::after,
html.js body.home.homeRefinedV519 .step::before,
html.js body.home.homeRefinedV519 .step::after{
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}

html body.home.homeRefinedV519 .step.s1{ --stepAccent: var(--accent); }
html body.home.homeRefinedV519 .step.s2{ --stepAccent: var(--accent3); }
html body.home.homeRefinedV519 .step.s3{ --stepAccent: var(--accent2); }

html body.home.homeRefinedV519 .stepHead{
  display: grid !important;
  grid-template-columns: clamp(56px, 5vw, 78px) minmax(0, 1fr) !important;
  gap: clamp(16px, 2vw, 22px) !important;
  align-items: start !important;
  margin: 0 !important;
}

html body.home.homeRefinedV519 .stepNr{
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block !important;
  color: color-mix(in oklab, var(--stepAccent) 86%, var(--text)) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(2.65rem, 4.4vw, 4.4rem) !important;
  line-height: .76 !important;
  font-weight: 700 !important;
  letter-spacing: -.06em !important;
}

html body.home.homeRefinedV519 .stepMeta h3{
  max-width: 15ch !important;
  margin: 0 !important;
  color: var(--text) !important;
  font-size: clamp(1.12rem, 1.38vw, 1.42rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.028em !important;
  font-weight: 860 !important;
  text-wrap: balance !important;
}

html body.home.homeRefinedV519 .stepHint{
  display: block !important;
  width: auto !important;
  max-width: 18ch !important;
  margin-top: .72rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: color-mix(in oklab, var(--text) 62%, var(--muted)) !important;
  font-size: .82rem !important;
  line-height: 1.36 !important;
  letter-spacing: .012em !important;
  font-weight: 760 !important;
  text-transform: none !important;
}

html body.home.homeRefinedV519 .step p{
  max-width: 42rem !important;
  margin: .06rem 0 0 !important;
  color: var(--home-v519-muted) !important;
  font-size: clamp(1.02rem, 1.13vw, 1.22rem) !important;
  line-height: 1.54 !important;
}

html body.home.homeRefinedV519 .stepActions{
  width: auto !important;
  min-width: 0 !important;
  margin: .1rem 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: .62rem !important;
  text-align: left !important;
}

html body.home.homeRefinedV519 .stepActions .btn,
html body.home.homeRefinedV519 .stepActions .btn.ghost,
html body.home.homeRefinedV519 .stepActions .btn.stepLink,
html body.home.homeRefinedV519 .stepActions .stepBtn,
html body.home.homeRefinedV519 .stepActions button{
  appearance: none !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  padding: 0 0 .2rem !important;
  margin: 0 !important;
  display: inline !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  border: 0 !important;
  border-bottom: 1px solid color-mix(in oklab, var(--stepAccent) 42%, var(--border-strong)) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text) !important;
  font: inherit !important;
  font-size: clamp(.96rem, 1vw, 1.04rem) !important;
  line-height: 1.24 !important;
  font-weight: 840 !important;
  letter-spacing: -.018em !important;
  text-align: left !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transform: none !important;
  white-space: normal !important;
}

html body.home.homeRefinedV519 .stepActions .btn.stepLink,
html body.home.homeRefinedV519 .stepActions button.stepLink{
  color: color-mix(in oklab, var(--text) 64%, var(--muted)) !important;
  border-bottom-color: color-mix(in oklab, var(--border-strong) 40%, transparent) !important;
}

html body.home.homeRefinedV519 .stepActions .btn:hover,
html body.home.homeRefinedV519 .stepActions .btn:focus-visible,
html body.home.homeRefinedV519 .stepActions button:hover,
html body.home.homeRefinedV519 .stepActions button:focus-visible{
  color: color-mix(in oklab, var(--stepAccent) 78%, var(--text)) !important;
  border-bottom-color: color-mix(in oklab, var(--stepAccent) 72%, var(--border-strong)) !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
}

html body.home.homeRefinedV519 .stepActions .btn:focus-visible,
html body.home.homeRefinedV519 .stepActions button:focus-visible{
  outline: 2px solid color-mix(in oklab, var(--stepAccent) 34%, transparent) !important;
  outline-offset: 4px !important;
}

@media (min-width: 1220px){
  html body.home.homeRefinedV519 .step:hover{
    background:
      linear-gradient(90deg,
        color-mix(in oklab, var(--stepAccent) 5%, transparent) 0%,
        transparent 30%) !important;
  }
}

@media (max-width: 1180px){
  html body.home.homeRefinedV519 .band.startBand{
    grid-template-columns: 1fr !important;
    row-gap: 24px !important;
  }
  html body.home.homeRefinedV519 .band.startBand .sectionTitle{
    position: static !important;
    max-width: 760px !important;
  }
  html body.home.homeRefinedV519 .band.startBand .sectionTitle h2{
    max-width: 18ch !important;
    font-size: clamp(2.45rem, 5.5vw, 3.75rem) !important;
  }
  html body.home.homeRefinedV519 .band.startBand .sub{
    max-width: 48ch !important;
  }
}

@media (max-width: 980px){
  html body.home.homeRefinedV519 .step{
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1fr) !important;
    gap: 16px 30px !important;
  }
  html body.home.homeRefinedV519 .stepActions{
    grid-column: 2 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: .65rem 1.05rem !important;
  }
}

@media (max-width: 720px){
  html body.home.homeRefinedV519 .band.startBand{
    margin-top: 18px !important;
    padding-top: 30px !important;
    padding-bottom: 42px !important;
  }
  html body.home.homeRefinedV519 .band.startBand .sectionTitle h2{
    max-width: 12ch !important;
    font-size: clamp(2.2rem, 10.5vw, 3.1rem) !important;
  }
  html body.home.homeRefinedV519 .step{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 22px 0 !important;
  }
  html body.home.homeRefinedV519 .stepHead{
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }
  html body.home.homeRefinedV519 .stepNr{
    font-size: 3rem !important;
  }
  html body.home.homeRefinedV519 .stepActions{
    grid-column: auto !important;
  }
}
