/* Praxoria Startseite – v511 hero rhythm correction
   Scope: index.html only. Goal: remove the awkward metadata line, reduce empty hero space,
   and make the image/cockpit exhibit more compact and intentional. */

body.homeRefinedV511{
  --home-v511-rule: color-mix(in oklab, var(--border) 56%, transparent);
  --home-v511-rule-soft: color-mix(in oklab, var(--border) 32%, transparent);
  --home-v511-ink-soft: color-mix(in oklab, var(--text) 68%, var(--muted));
}

body.homeRefinedV511 .hero.heroPanel{
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr);
  gap: clamp(30px, 4.2vw, 56px);
  padding-bottom: clamp(12px, 2vw, 22px);
}

body.homeRefinedV511 .hero h1{
  max-width: 12.5ch;
}

body.homeRefinedV511 .subline{
  max-width: 59ch;
}

body.homeRefinedV511 .heroEditorialNote{
  max-width: 58ch;
  margin-top: clamp(14px, 1.8vw, 18px);
}

body.homeRefinedV511 .heroMetaLine,
body.homeRefinedV511 .heroMicroNote{
  display: none !important;
}

body.homeRefinedV511 .heroActionRow{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap: 14px 22px;
  max-width: 58ch;
  margin-top: clamp(22px, 3vw, 30px);
  padding-top: clamp(18px, 2.4vw, 24px);
  border-top: 1px solid var(--home-v511-rule);
}

body.homeRefinedV511 .heroPrimaryAction{
  min-height: 46px;
  padding-inline: 22px;
}

body.homeRefinedV511 .heroTextAction{
  color: color-mix(in oklab, var(--text) 78%, var(--muted));
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: color-mix(in oklab, var(--accent) 34%, transparent);
}

body.homeRefinedV511 .heroTextAction:hover{
  color: var(--text);
  text-decoration-color: color-mix(in oklab, var(--accent) 68%, transparent);
}

/* Compact exhibit: less hero height, stronger relation between image and cockpit sheet. */
body.homeRefinedV511 .heroProductStage{
  max-width: 490px;
  justify-self: end;
  padding: clamp(8px, 1vw, 10px);
  border-radius: clamp(23px, 2.6vw, 30px);
  box-shadow: 0 20px 58px rgba(15,23,42,.072);
}

body.homeRefinedV511 .heroProductImage{
  aspect-ratio: 1.52 / 1;
  max-height: 285px;
  min-height: 0;
  border-radius: clamp(18px, 2.1vw, 23px);
}

body.homeRefinedV511 .heroProductImage img{
  object-position: 50% 56%;
  transform: scale(1.015);
}

body.homeRefinedV511 .heroProductImage::after{
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(15,23,42,.13)),
    radial-gradient(520px 210px at 50% 106%, rgba(255,255,255,.34), transparent 64%);
}

body.homeRefinedV511 .heroCockpitSheet{
  margin: clamp(-30px, -3.2vw, -20px) clamp(10px, 1.5vw, 16px) clamp(5px, .8vw, 8px);
  padding: clamp(14px, 1.5vw, 18px) clamp(15px, 1.8vw, 20px);
  border-radius: clamp(18px, 2vw, 23px);
  box-shadow: 0 18px 42px rgba(15,23,42,.095);
}

body.homeRefinedV511 .previewKicker{
  font-size: .66rem;
  letter-spacing: .14em;
}

body.homeRefinedV511 .previewTitle{
  margin-top: 5px;
  font-size: clamp(1.02rem, 1.32vw, 1.18rem);
  letter-spacing: -.028em;
}

body.homeRefinedV511 .previewNote{
  margin-top: 6px;
  font-size: .92rem;
}

body.homeRefinedV511 .miniGrid{
  margin-top: 12px;
  border-top-color: var(--home-v511-rule-soft);
}

body.homeRefinedV511 .miniTile{
  padding: 12px 12px 10px 0 !important;
}

body.homeRefinedV511 .miniTile + .miniTile{
  padding-left: 12px !important;
  border-left-color: var(--home-v511-rule-soft) !important;
}

body.homeRefinedV511 .miniTile.wide{
  padding-top: 12px !important;
  border-top-color: var(--home-v511-rule-soft) !important;
}

body.homeRefinedV511 .miniTile .k{
  font-size: .63rem;
  letter-spacing: .12em;
}

body.homeRefinedV511 .miniTile .v{
  font-size: .9rem;
  line-height: 1.24;
}

body.homeRefinedV511 .miniBar{
  height: 5px;
  margin-top: 7px;
}

body.homeRefinedV511 .muted2{
  font-size: 12px !important;
}

/* Reduce the visual canyon before the process section. */
body.homeRefinedV511 .band.startBand{
  margin-top: clamp(14px, 2.2vw, 26px) !important;
  padding-top: clamp(22px, 3vw, 32px) !important;
}

body.homeRefinedV511 .band.startBand .sectionTitle{
  margin-bottom: clamp(18px, 2.4vw, 26px);
}

body.homeRefinedV511 .band.startBand .sectionTitle h2{
  max-width: 15ch;
}

body.homeRefinedV511 .stepsStage{
  border-top-color: var(--home-v511-rule);
}

@media (max-width: 980px){
  body.homeRefinedV511 .hero.heroPanel{
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 36px);
  }
  body.homeRefinedV511 .heroProductStage{
    justify-self: start;
    max-width: min(100%, 600px);
  }
  body.homeRefinedV511 .heroProductImage{
    max-height: none;
  }
  body.homeRefinedV511 .band.startBand{
    margin-top: clamp(18px, 3vw, 28px) !important;
  }
}

@media (max-width: 700px){
  body.homeRefinedV511 .heroActionRow{
    margin-top: 20px;
    padding-top: 18px;
  }
  body.homeRefinedV511 .heroPrimaryAction{
    width: 100%;
    justify-content: center;
  }
  body.homeRefinedV511 .heroProductStage{
    padding: 8px;
  }
  body.homeRefinedV511 .heroProductImage{
    aspect-ratio: 1.18 / 1;
  }
  body.homeRefinedV511 .heroCockpitSheet{
    margin: -24px 7px 5px;
    padding: 15px;
  }
}
