/* Praxoria Startseite – v510 hero correction
   Scope: index.html only. Goal: remove the long benefit-card block from the header
   and compose the image/cockpit preview as one calmer product exhibit. */

body.homeRefinedV510{
  --home-v510-rule: color-mix(in oklab, var(--border) 58%, transparent);
  --home-v510-rule-soft: color-mix(in oklab, var(--border) 36%, transparent);
  --home-v510-ink-soft: color-mix(in oklab, var(--text) 70%, var(--muted));
  --home-v510-ink-faint: color-mix(in oklab, var(--text) 52%, var(--muted2));
}

/* Hero copy: one argument, not three boxed claims. */
body.homeRefinedV510 .hero.heroPanel{
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: clamp(38px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 60px);
}
body.homeRefinedV510 .hero.heroPanel > div:first-child{
  padding-top: clamp(12px, 2.5vw, 30px);
}
body.homeRefinedV510 .hero h1{
  max-width: 12ch;
  font-size: clamp(45px, 6.1vw, 82px);
}
body.homeRefinedV510 .subline{
  max-width: 60ch;
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.68;
}
body.homeRefinedV510 .heroEditorialNote{
  max-width: 62ch;
  margin: clamp(15px, 2vw, 20px) 0 0;
  color: var(--home-v510-ink-soft);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.72;
}
body.homeRefinedV510 .heroMetaLine{
  display:flex;
  flex-wrap:wrap;
  gap: 8px 0;
  max-width: 62ch;
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: 16px;
  border-top: 1px solid var(--home-v510-rule);
  color: var(--home-v510-ink-faint);
  font-size: .9rem;
  font-weight: 720;
  letter-spacing: .012em;
}
body.homeRefinedV510 .heroMetaLine span{
  display:inline-flex;
  align-items:center;
}
body.homeRefinedV510 .heroMetaLine span + span::before{
  content:"";
  width: 4px;
  height: 4px;
  margin: 0 12px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 48%, var(--home-v510-rule));
}
body.homeRefinedV510 .heroMicroNote{
  max-width: 62ch;
  margin-top: 13px;
  padding-top: 0;
  border-top: 0;
  color: color-mix(in oklab, var(--text) 46%, var(--muted2));
  font-size: .92rem;
}
body.homeRefinedV510 .heroFocus{
  display:none !important;
}

/* Product exhibit: image and cockpit are one object, not two stacked cards. */
body.homeRefinedV510 .heroProductStage{
  gap: 0;
  align-self: start;
  padding: clamp(10px, 1.4vw, 14px);
  border: 1px solid var(--home-v510-rule);
  border-radius: clamp(26px, 3vw, 34px);
  background:
    radial-gradient(640px 360px at 10% 0%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%),
    linear-gradient(180deg,
      color-mix(in oklab, var(--surface) 84%, white 16%),
      color-mix(in oklab, var(--surface2) 66%, transparent)
    );
  box-shadow: 0 26px 80px rgba(15,23,42,.075);
  overflow: hidden;
}
body.homeRefinedV510 .heroProductImage{
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  max-height: 365px;
  min-height: 245px;
  border-radius: clamp(20px, 2.4vw, 26px);
  overflow:hidden;
}
body.homeRefinedV510 .heroProductImage img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.01);
}
body.homeRefinedV510 .heroProductImage::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(15,23,42,.18)),
    radial-gradient(620px 260px at 50% 105%, rgba(255,255,255,.34), transparent 64%);
  pointer-events:none;
}
body.homeRefinedV510 .heroCockpitSheet{
  position: relative;
  z-index: 2;
  margin: clamp(-54px, -5vw, -36px) clamp(12px, 2vw, 22px) clamp(6px, 1vw, 12px);
  padding: clamp(17px, 2vw, 23px);
  border: 1px solid color-mix(in oklab, var(--border) 64%, transparent);
  border-radius: clamp(20px, 2.4vw, 26px);
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--surface) 90%, white 10%),
      color-mix(in oklab, var(--surface) 78%, transparent)
    );
  box-shadow: 0 22px 56px rgba(15,23,42,.105);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
body.homeRefinedV510 .previewKicker{
  margin: 0;
  color: color-mix(in oklab, var(--accent) 58%, var(--muted2));
  font-size: .72rem;
  font-weight: 840;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body.homeRefinedV510 .previewTitle{
  max-width: 100%;
  margin-top: 7px;
  color: var(--text);
  font-size: clamp(1.12rem, 1.65vw, 1.34rem);
  line-height: 1.2;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
body.homeRefinedV510 #heroCockpit .previewTitle{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.homeRefinedV510 .previewNote{
  margin-top: 8px;
  line-height: 1.48;
  color: var(--home-v510-ink-soft);
}
body.homeRefinedV510 .miniGrid{
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--home-v510-rule-soft);
  border-bottom: 0;
}
body.homeRefinedV510 .miniTile{
  min-width: 0;
  padding: 15px 14px 13px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.homeRefinedV510 .miniTile + .miniTile{
  padding-left: 14px !important;
  border-left: 1px solid var(--home-v510-rule-soft) !important;
}
body.homeRefinedV510 .miniTile.wide{
  grid-column: 1 / -1;
  padding: 14px 0 0 !important;
  border-left: 0 !important;
  border-top: 1px solid var(--home-v510-rule-soft) !important;
}
body.homeRefinedV510 .miniTile .k{
  color: var(--home-v510-ink-faint);
  font-size: .68rem;
  letter-spacing: .12em;
}
body.homeRefinedV510 .miniTile .v{
  color: var(--text);
  font-size: .96rem;
  line-height: 1.28;
}
body.homeRefinedV510 .miniBar{
  height: 6px;
  margin-top: 8px;
  background: color-mix(in oklab, var(--border) 55%, transparent);
}
body.homeRefinedV510 .miniStepLink,
body.homeRefinedV510 .miniStepLink.is-static{
  display:inline-flex;
  max-width: 100%;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: color-mix(in oklab, var(--accent) 66%, var(--text));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in oklab, var(--accent) 30%, transparent);
}
body.homeRefinedV510 .miniStepLinkText{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

@media (max-width: 980px){
  body.homeRefinedV510 .hero.heroPanel{
    grid-template-columns:1fr;
    gap: clamp(28px, 5vw, 44px);
  }
  body.homeRefinedV510 .heroProductStage{
    max-width: 640px;
  }
}

@media (max-width: 700px){
  body.homeRefinedV510 .hero h1{
    max-width: 12ch;
    font-size: clamp(40px, 11vw, 58px);
  }
  body.homeRefinedV510 .subline,
  body.homeRefinedV510 .heroEditorialNote{
    line-height: 1.62;
  }
  body.homeRefinedV510 .heroMetaLine span{
    flex-basis: 100%;
  }
  body.homeRefinedV510 .heroMetaLine span + span::before{
    display:none;
  }
  body.homeRefinedV510 .heroProductStage{
    padding: 9px;
    border-radius: 24px;
  }
  body.homeRefinedV510 .heroProductImage{
    min-height: 0;
    max-height: none;
    aspect-ratio: 1.18 / 1;
    border-radius: 18px;
  }
  body.homeRefinedV510 .heroCockpitSheet{
    margin: -26px 7px 5px;
    padding: 16px;
    border-radius: 20px;
  }
  body.homeRefinedV510 .miniGrid{
    grid-template-columns:1fr;
  }
  body.homeRefinedV510 .miniTile,
  body.homeRefinedV510 .miniTile + .miniTile,
  body.homeRefinedV510 .miniTile.wide{
    padding: 13px 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--home-v510-rule-soft) !important;
  }
  body.homeRefinedV510 .miniTile:first-child{
    border-top: 0 !important;
  }
  body.homeRefinedV510 .miniStepLinkText{
    white-space: normal;
  }
}

@media (max-width: 420px){
  body.homeRefinedV510 .heroProductImage{
    aspect-ratio: 1.05 / 1;
  }
  body.homeRefinedV510 .previewTitle{
    font-size: 1.08rem;
  }
}
