/* Praxoria Startseite – v514 hero balance and process rhythm
   Scope: index.html only. Goal: use the right hero whitespace intentionally and make the benefit/process transition calmer. */

body.homeRefinedV514{
  --home-v514-rule: color-mix(in oklab, var(--border) 54%, transparent);
  --home-v514-rule-soft: color-mix(in oklab, var(--border) 30%, transparent);
  --home-v514-ink-soft: color-mix(in oklab, var(--text) 66%, var(--muted));
  --home-v514-ink-faint: color-mix(in oklab, var(--text) 48%, var(--muted2));
}

/* Keep the hero as a composed opening, but remove the empty lower-right column. */
body.homeRefinedV514 .hero.heroPanel{
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  column-gap: clamp(34px, 4.8vw, 68px);
  row-gap: clamp(20px, 2.6vw, 30px);
  padding-bottom: clamp(14px, 1.8vw, 22px);
}

body.homeRefinedV514 .hero.heroPanel > div:first-child{
  padding-top: clamp(2px, .8vw, 10px);
}

body.homeRefinedV514 .hero h1{
  max-width: 12.2ch;
}

body.homeRefinedV514 .subline{
  max-width: 57ch;
  margin-top: clamp(16px, 2vw, 23px);
  line-height: 1.64;
}

body.homeRefinedV514 .heroEditorialNote{
  max-width: 56ch;
  margin-top: clamp(12px, 1.6vw, 17px);
  line-height: 1.66;
}

/* Right product exhibit: slightly lower, denser, less like a floating fragment. */
body.homeRefinedV514 .heroProductStage{
  max-width: 520px;
  justify-self: stretch;
  align-self: start;
  margin-top: clamp(8px, 1.2vw, 16px);
  padding: clamp(8px, 1vw, 11px);
  border-color: var(--home-v514-rule);
  border-radius: clamp(24px, 2.8vw, 32px);
  background:
    radial-gradient(520px 320px at 26% 0%, color-mix(in oklab, var(--accent) 6%, transparent), transparent 64%),
    linear-gradient(180deg, color-mix(in oklab, var(--surface) 88%, white 12%), color-mix(in oklab, var(--surface2) 70%, transparent));
  box-shadow: 0 22px 62px rgba(15,23,42,.07);
}

body.homeRefinedV514 .heroProductImage{
  aspect-ratio: 1.62 / 1;
  max-height: 270px;
  border-radius: clamp(18px, 2vw, 24px);
}

body.homeRefinedV514 .heroCockpitSheet{
  margin: clamp(-24px, -2.5vw, -16px) clamp(10px, 1.35vw, 16px) clamp(4px, .6vw, 7px);
  padding: clamp(14px, 1.35vw, 17px) clamp(15px, 1.65vw, 20px);
  border-color: color-mix(in oklab, var(--border) 54%, transparent);
  box-shadow: 0 16px 38px rgba(15,23,42,.088);
}

/* The three sales arguments now span the full hero width instead of leaving the right side empty. */
body.homeRefinedV514 .heroBenefitBand{
  grid-column: 1 / -1;
  max-width: none;
  margin-top: clamp(8px, 1.2vw, 14px);
  padding-top: clamp(15px, 1.8vw, 20px);
  border-top: 1px solid var(--home-v514-rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

body.homeRefinedV514 .heroBenefitItem{
  min-width: 0;
  padding: 0 clamp(22px, 3vw, 38px);
  gap: 5px;
}

body.homeRefinedV514 .heroBenefitItem:first-child{
  padding-left: 0;
}

body.homeRefinedV514 .heroBenefitItem:last-child{
  padding-right: 0;
}

body.homeRefinedV514 .heroBenefitItem + .heroBenefitItem{
  border-left: 1px solid var(--home-v514-rule-soft);
}

body.homeRefinedV514 .heroBenefitEyebrow{
  color: color-mix(in oklab, var(--accent) 54%, var(--muted));
  font-size: .66rem;
  letter-spacing: .17em;
}

body.homeRefinedV514 .heroBenefitItem strong{
  font-size: clamp(1.02rem, 1.14vw, 1.14rem);
  line-height: 1.13;
  letter-spacing: -.024em;
}

body.homeRefinedV514 .heroBenefitItem span:last-child{
  max-width: 31ch;
  color: var(--home-v514-ink-soft);
  font-size: .9rem;
  line-height: 1.38;
}

/* Bring the process section closer and make the heading less blocky. */
body.homeRefinedV514 .band.startBand{
  margin-top: clamp(10px, 1.5vw, 20px) !important;
  padding-top: clamp(20px, 2.4vw, 30px) !important;
}

body.homeRefinedV514 .band.startBand .sectionTitle{
  margin-bottom: clamp(16px, 2.2vw, 24px);
}

body.homeRefinedV514 .band.startBand .sectionTitle h2{
  max-width: 24ch;
  font-size: clamp(1.72rem, 2.35vw, 2.2rem);
  line-height: 1.08;
}

body.homeRefinedV514 .band.startBand .sectionTitle .sub{
  max-width: 62ch;
}

body.homeRefinedV514 .stepsStage{
  margin-top: clamp(12px, 1.6vw, 20px);
}

body.homeRefinedV514 .step{
  padding-top: clamp(20px, 2.4vw, 26px);
  padding-bottom: clamp(20px, 2.4vw, 26px);
}

@media (max-width: 1080px){
  body.homeRefinedV514 .hero.heroPanel{
    grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
    column-gap: clamp(26px, 4vw, 42px);
  }
  body.homeRefinedV514 .heroBenefitItem{
    padding-inline: clamp(16px, 2vw, 24px);
  }
}

@media (max-width: 900px){
  body.homeRefinedV514 .hero.heroPanel{
    grid-template-columns: 1fr;
    row-gap: clamp(22px, 4vw, 34px);
  }
  body.homeRefinedV514 .heroProductStage{
    justify-self: start;
    max-width: min(100%, 620px);
    margin-top: 0;
  }
  body.homeRefinedV514 .heroProductImage{
    max-height: none;
  }
}

@media (max-width: 760px){
  body.homeRefinedV514 .heroBenefitBand{
    grid-template-columns: 1fr;
    margin-top: 8px;
    padding-top: 10px;
  }
  body.homeRefinedV514 .heroBenefitItem,
  body.homeRefinedV514 .heroBenefitItem:first-child{
    padding: 13px 0 13px 16px;
    border-left: 2px solid var(--home-v514-rule-soft) !important;
    border-bottom: 1px solid var(--home-v514-rule-soft);
  }
  body.homeRefinedV514 .heroBenefitItem:last-child{
    padding-right: 0;
    border-bottom: 0;
  }
  body.homeRefinedV514 .band.startBand{
    margin-top: 8px !important;
    padding-top: 20px !important;
  }
}
