/* Praxoria Startseite – v637: Zertifikatsbereich im visuellen System von „Warum Praxoria".
   Ziel: weniger isolierte Luxus-Bühne, mehr gemeinsame Premium-Sprache: Editorial, Linie, Trias, ruhige Glas-/Kartenflächen. */

body.homeRefinedV637{
  --cert-v637-blue: var(--accent, #45a8cc);
  --cert-v637-green: var(--accent3, #8fb55a);
  --cert-v637-gold: var(--accent2, #d2a544);
  --cert-v637-ink: color-mix(in oklab, var(--text) 92%, #0f172a 8%);
  --cert-v637-muted: color-mix(in oklab, var(--muted) 76%, var(--text) 24%);
  --cert-v637-soft: color-mix(in oklab, var(--surface) 96%, var(--bg-bottom) 4%);
  --cert-v637-line: color-mix(in oklab, var(--border) 82%, transparent);
}

/* Der Bereich übernimmt die ruhige, redaktionelle Anmutung der nachfolgenden Warum-Praxoria-Sektion. */
html body.home.homeRefinedV637 .band.startBand.certFlowSection{
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  margin: clamp(56px, 6vw, 104px) 0 0 !important;
  padding: clamp(58px, 6.2vw, 96px) 0 clamp(54px, 5.6vw, 92px) !important;
  background:
    radial-gradient(760px 260px at 100% 0%, color-mix(in oklab, var(--cert-v637-gold) 9%, transparent), transparent 72%),
    radial-gradient(620px 220px at 8% 14%, color-mix(in oklab, var(--cert-v637-blue) 10%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in oklab, var(--panel) 18%, transparent), transparent 76%) !important;
}
html body.home.homeRefinedV637 .band.startBand.certFlowSection::before{
  height: 2px !important;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--cert-v637-blue) 45%, transparent), color-mix(in oklab, var(--cert-v637-green) 38%, transparent), color-mix(in oklab, var(--cert-v637-gold) 45%, transparent), transparent) !important;
  opacity: .66 !important;
}
html body.home.homeRefinedV637 .band.startBand.certFlowSection::after{
  content:"";
  position:absolute;
  right:-220px;
  top:-18px;
  width: 720px;
  height: 220px;
  background: url('assets/praxoria-swoosh.svg') no-repeat center / contain;
  opacity: .105;
  pointer-events:none;
  filter: blur(.2px);
}

html body.home.homeRefinedV637 .certFlowIntro{
  display:grid !important;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .72fr) !important;
  align-items:end !important;
  gap: clamp(20px, 3vw, 52px) !important;
  margin-bottom: clamp(24px, 3.6vw, 46px) !important;
}
html body.home.homeRefinedV637 .certFlowEyebrow{
  color: color-mix(in oklab, var(--cert-v637-blue) 68%, var(--text)) !important;
  letter-spacing: .14em !important;
}
html body.home.homeRefinedV637 .certFlowIntro h2{
  max-width: 13.2ch !important;
  font-size: clamp(2.55rem, 4.65vw, 5.5rem) !important;
  line-height: .92 !important;
  letter-spacing: -.074em !important;
  color: var(--cert-v637-ink) !important;
}
html body.home.homeRefinedV637 .certFlowIntro h2::after{
  display:none !important;
}
html body.home.homeRefinedV637 .certFlowIntro p{
  max-width: 62ch !important;
  margin-top: clamp(12px, 1.8vw, 18px) !important;
  color: color-mix(in oklab, var(--text) 82%, var(--muted)) !important;
  font-weight: 580 !important;
  line-height: 1.56 !important;
}
html body.home.homeRefinedV637 .certIntroLineV637{
  min-height: 126px;
  align-self:center;
  opacity: .98;
}
html body.home.homeRefinedV637 .certIntroLineV637 svg{
  width:100%;
  height:126px;
  display:block;
  overflow:visible;
}
html body.home.homeRefinedV637 .certIntroLineV637 path{
  fill:none;
  stroke: url(#certWhyLineGradientV637);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: .72;
  filter: drop-shadow(0 12px 18px rgba(36, 78, 108, .09));
}

/* Neue Hauptvisualisierung: an Warum Praxoria angelehnt, nicht als fremde Produktgrafik. */
html body.home.homeRefinedV637 .certWhyMirrorV637{
  position: relative;
  z-index: 1;
  padding: clamp(24px, 2.8vw, 34px) clamp(22px, 2.7vw, 32px) clamp(22px, 2.4vw, 30px);
  border: 1px solid color-mix(in oklab, var(--border) 86%, transparent);
  border-radius: calc(var(--radius-lg, 28px) + 8px);
  background: color-mix(in oklab, var(--surface) 98%, var(--bg-bottom) 2%);
  box-shadow: 0 24px 64px rgba(10,27,44,.07), inset 0 1px 0 rgba(255,255,255,.82);
  overflow:hidden;
  background-clip: padding-box;
}
html body.home.homeRefinedV637 .certWhyMirrorV637::before{
  content:"";
  position:absolute;
  inset:-1px -1px auto -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--cert-v637-blue), var(--cert-v637-green), var(--cert-v637-gold));
  opacity: .38;
  pointer-events:none;
}
html body.home.homeRefinedV637 .certWhyMirrorV637::after{
  content:"";
  position:absolute;
  right:-140px;
  bottom:-140px;
  width: 380px;
  height: 260px;
  background: radial-gradient(circle, color-mix(in oklab, var(--cert-v637-gold) 12%, transparent), transparent 68%);
  opacity:.8;
  pointer-events:none;
}
html body.home.homeRefinedV637 .certMirrorBridgeV637{
  display:inline-flex;
  max-width: 760px;
  padding: .62rem .82rem .68rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border) 76%, transparent);
  background: color-mix(in oklab, var(--surface2) 72%, transparent);
  color: color-mix(in oklab, var(--text) 72%, var(--muted));
  font-size: .86rem;
  line-height: 1.35;
  font-weight: 720;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.66);
}
html body.home.homeRefinedV637 .certMirrorTriadV637{
  margin-top: clamp(16px, 2vw, 22px);
  display:grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items:center;
  gap: 12px;
  color: color-mix(in oklab, var(--text) 56%, var(--muted));
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
html body.home.homeRefinedV637 .certMirrorTriadV637 span{
  padding: .44rem .58rem .48rem;
  border-radius:999px;
  border: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
  background: color-mix(in oklab, var(--surface2) 72%, transparent);
}
html body.home.homeRefinedV637 .certMirrorTriadV637 span:nth-child(1){ border-color: color-mix(in oklab, var(--cert-v637-blue) 28%, var(--border)); }
html body.home.homeRefinedV637 .certMirrorTriadV637 span:nth-child(3){ border-color: color-mix(in oklab, var(--cert-v637-green) 28%, var(--border)); }
html body.home.homeRefinedV637 .certMirrorTriadV637 span:nth-child(5){ border-color: color-mix(in oklab, var(--cert-v637-gold) 30%, var(--border)); }
html body.home.homeRefinedV637 .certMirrorTriadV637 i{
  height:1px;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--border) 62%, transparent), transparent);
}

html body.home.homeRefinedV637 .certMirrorCanvasV637{
  position:relative;
  min-height: clamp(360px, 31vw, 470px);
  margin-top: clamp(18px, 2.6vw, 34px);
  border-radius: 28px;
  border: 1px solid color-mix(in oklab, var(--border) 68%, transparent);
  background:
    radial-gradient(480px 230px at 18% 24%, color-mix(in oklab, var(--cert-v637-blue) 9%, transparent), transparent 70%),
    radial-gradient(520px 230px at 83% 18%, color-mix(in oklab, var(--cert-v637-gold) 10%, transparent), transparent 72%),
    linear-gradient(180deg, color-mix(in oklab, var(--surface2) 68%, transparent), color-mix(in oklab, var(--surface) 92%, transparent));
  overflow:hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
}
html body.home.homeRefinedV637 .certMirrorCanvasV637::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(color-mix(in oklab, var(--border) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--border) 10%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 42%, black, transparent 76%);
  opacity:.38;
  pointer-events:none;
}
html body.home.homeRefinedV637 .certMirrorLineV637{
  position:absolute;
  z-index:1;
  left: 4.5%;
  right: 4.5%;
  top: 13%;
  width: 91%;
  height: 70%;
  overflow:visible;
}
html body.home.homeRefinedV637 .certMirrorLineBackV637,
html body.home.homeRefinedV637 .certMirrorLineFrontV637{
  fill:none;
  stroke-linecap:round;
}
html body.home.homeRefinedV637 .certMirrorLineBackV637{
  stroke: color-mix(in oklab, var(--text) 14%, transparent);
  stroke-width: 24;
  opacity:.12;
}
html body.home.homeRefinedV637 .certMirrorLineFrontV637{
  stroke: url(#certMirrorGradientV637);
  stroke-width: 5.5;
  opacity:.72;
  filter: url(#certMirrorGlowV637);
}
html body.home.homeRefinedV637 .certMirrorDotV637{
  fill: color-mix(in oklab, var(--surface) 86%, white);
  stroke-width: 4;
  filter: drop-shadow(0 10px 20px rgba(10,27,44,.14));
}
html body.home.homeRefinedV637 .certMirrorDotV637.d1{ stroke: var(--cert-v637-blue); }
html body.home.homeRefinedV637 .certMirrorDotV637.d2{ stroke: var(--cert-v637-green); }
html body.home.homeRefinedV637 .certMirrorDotV637.d3{ stroke: var(--cert-v637-gold); }

html body.home.homeRefinedV637 .certMirrorMomentV637{
  --moment: var(--cert-v637-blue);
  position:absolute;
  z-index:2;
  width: min(29%, 320px);
  min-width: 230px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid color-mix(in oklab, var(--moment) 26%, var(--border));
  background:
    radial-gradient(400px 190px at 16% 0%, color-mix(in oklab, var(--moment) 12%, transparent), transparent 66%),
    linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.38)),
    var(--cert-v637-soft);
  box-shadow: 0 18px 42px rgba(10,27,44,.075), inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
html body.home.homeRefinedV637 .certMirrorMomentV637::after{
  content:"";
  position:absolute;
  left:0; top:0; right:0;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, color-mix(in oklab, var(--moment) 90%, white), var(--moment));
  opacity:.76;
}
html body.home.homeRefinedV637 .certMomentOrientationV637{ --moment: var(--cert-v637-blue); left: 5.2%; top: 20%; }
html body.home.homeRefinedV637 .certMomentApplicationV637{ --moment: var(--cert-v637-green); left: 36.8%; top: 39%; }
html body.home.homeRefinedV637 .certMomentProofV637{ --moment: var(--cert-v637-gold); right: 5.2%; top: 16%; }
html body.home.homeRefinedV637 .certMirrorKickerV637{
  color: color-mix(in oklab, var(--moment) 74%, var(--text));
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html body.home.homeRefinedV637 .certMirrorMomentV637 h3{
  margin: 7px 0 14px;
  color: var(--cert-v637-ink);
  font-size: clamp(1.03rem, 1.16vw, 1.22rem);
  line-height: 1.14;
  letter-spacing: -.035em;
}
html body.home.homeRefinedV637 .certMiniCourseV637,
html body.home.homeRefinedV637 .certMiniWorkV637,
html body.home.homeRefinedV637 .certMiniProofV637{
  position:relative;
  min-height: 112px;
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, var(--moment) 20%, var(--border));
  background: color-mix(in oklab, var(--surface2) 66%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  overflow:hidden;
}
html body.home.homeRefinedV637 .certMiniCourseV637 span{
  display:block;
  height: 10px;
  margin: 14px 14px 0;
  border-radius:999px;
  background: color-mix(in oklab, var(--moment) 16%, rgba(255,255,255,.72));
}
html body.home.homeRefinedV637 .certMiniCourseV637 span:nth-child(1){ width:64%; }
html body.home.homeRefinedV637 .certMiniCourseV637 span:nth-child(2){ width:84%; opacity:.74; }
html body.home.homeRefinedV637 .certMiniCourseV637 span:nth-child(3){ width:48%; opacity:.56; }
html body.home.homeRefinedV637 .certMiniCourseV637 b{
  position:absolute;
  left:14px; right:14px; bottom:14px;
  padding: .48rem .58rem;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: color-mix(in oklab, var(--text) 62%, var(--muted));
  font-size:.69rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
html body.home.homeRefinedV637 .certMiniWorkV637 .line{
  display:block;
  height: 12px;
  margin: 16px 16px 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--moment) 14%, rgba(255,255,255,.72));
}
html body.home.homeRefinedV637 .certMiniWorkV637 .line.one{ width:76%; }
html body.home.homeRefinedV637 .certMiniWorkV637 .line.two{ width:54%; opacity:.72; }
html body.home.homeRefinedV637 .certMiniWorkV637 .feedback{
  position:absolute;
  left:16px;
  bottom:16px;
  padding:.46rem .64rem .5rem;
  border-radius: 999px;
  color: color-mix(in oklab, var(--cert-v637-green) 70%, var(--text));
  background: color-mix(in oklab, var(--cert-v637-green) 10%, rgba(255,255,255,.64));
  border:1px solid color-mix(in oklab, var(--cert-v637-green) 22%, var(--border));
  font-size:.72rem;
  font-weight:850;
}
html body.home.homeRefinedV637 .certMiniProofV637{
  min-height: 132px;
  padding: 16px;
}
html body.home.homeRefinedV637 .certMiniProofV637 strong{
  display:block;
  color: var(--cert-v637-ink);
  letter-spacing:-.035em;
}
html body.home.homeRefinedV637 .certMiniProofV637 .seal{
  position:absolute;
  right:16px;
  bottom:16px;
  width:54px;
  height:54px;
  border-radius:50%;
  background: repeating-conic-gradient(from 6deg, color-mix(in oklab, var(--cert-v637-gold) 62%, white) 0 8deg, color-mix(in oklab, var(--cert-v637-gold) 28%, white) 8deg 16deg);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.42), 0 14px 28px rgba(107,83,27,.12);
}
html body.home.homeRefinedV637 .certMiniProofV637 .code{
  position:absolute;
  left:16px;
  bottom:18px;
  padding:.46rem .62rem;
  border-radius:999px;
  border: 1px solid color-mix(in oklab, var(--cert-v637-gold) 26%, var(--border));
  background: color-mix(in oklab, var(--cert-v637-gold) 8%, rgba(255,255,255,.64));
  color: color-mix(in oklab, var(--text) 60%, var(--muted));
  font-size:.72rem;
  font-weight:850;
}
html body.home.homeRefinedV637 .certMirrorFooterV637{
  margin-top: clamp(16px, 2vw, 22px);
  display:flex;
  gap: 8px 14px;
  align-items:center;
  flex-wrap:wrap;
  color: color-mix(in oklab, var(--text) 64%, var(--muted));
  font-size: .96rem;
  line-height:1.42;
}
html body.home.homeRefinedV637 .certMirrorFooterV637 span{
  color: color-mix(in oklab, var(--text) 56%, var(--muted));
}
html body.home.homeRefinedV637 .certMirrorFooterV637 b{
  color: var(--cert-v637-ink);
  font-weight: 880;
}

/* Die darunterliegenden Schritte übernehmen die gleiche Kartenlogik wie die Warum-Pfeiler: ruhig, wertig, mit Akzent oben statt „Timeline“. */
html body.home.homeRefinedV637 .certFlowList{
  margin-top: clamp(18px, 2.4vw, 28px) !important;
  display:grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: clamp(14px, 1.7vw, 20px) !important;
}
html body.home.homeRefinedV637 .certFlowItem{
  --flow-accent: var(--cert-v637-blue);
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap: 12px !important;
  min-height: 100% !important;
  border-radius: calc(var(--radius-lg, 28px) + 2px) !important;
  border: 1px solid color-mix(in oklab, var(--flow-accent) 20%, var(--border)) !important;
  background:
    radial-gradient(520px 240px at 14% 0%, color-mix(in oklab, var(--flow-accent) 10%, transparent), transparent 64%),
    linear-gradient(180deg, color-mix(in oklab, var(--surface2) 82%, transparent), color-mix(in oklab, var(--surface) 96%, transparent)) !important;
  box-shadow: 0 14px 34px rgba(10,27,44,.05) !important;
  overflow:hidden !important;
  position:relative !important;
}
html body.home.homeRefinedV637 .certFlowItem::after{
  content:"";
  position:absolute;
  left:0; top:0; right:0;
  height:4px;
  background: linear-gradient(90deg, color-mix(in oklab, var(--flow-accent) 92%, white), var(--flow-accent));
  opacity:.82;
}
html body.home.homeRefinedV637 .certFlowItem.is-one{ --flow-accent: var(--cert-v637-blue); }
html body.home.homeRefinedV637 .certFlowItem.is-two{ --flow-accent: var(--cert-v637-green); }
html body.home.homeRefinedV637 .certFlowItem.is-three{ --flow-accent: var(--cert-v637-gold); }
html body.home.homeRefinedV637 .certFlowNr{
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: color-mix(in oklab, var(--flow-accent) 12%, var(--surface)) !important;
  border: 1px solid color-mix(in oklab, var(--flow-accent) 24%, var(--border)) !important;
  color: color-mix(in oklab, var(--flow-accent) 68%, var(--text)) !important;
  box-shadow: none !important;
}
html body.home.homeRefinedV637 .certFlowMeta{
  color: color-mix(in oklab, var(--flow-accent) 58%, var(--muted2)) !important;
}
html body.home.homeRefinedV637 .certFlowActions{
  margin-top:auto !important;
}

@media (hover:hover){
  html body.home.homeRefinedV637 .certMirrorMomentV637,
  html body.home.homeRefinedV637 .certFlowItem{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  html body.home.homeRefinedV637 .certMirrorMomentV637:hover,
  html body.home.homeRefinedV637 .certFlowItem:hover{
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(10,27,44,.09) !important;
  }
}

@media (max-width: 1040px){
  html body.home.homeRefinedV637 .certFlowIntro{
    grid-template-columns: 1fr !important;
  }
  html body.home.homeRefinedV637 .certIntroLineV637{
    min-height: 86px;
  }
  html body.home.homeRefinedV637 .certIntroLineV637 svg{
    height: 86px;
  }
  html body.home.homeRefinedV637 .certMirrorCanvasV637{
    min-height: auto;
    display:grid;
    gap: 14px;
    padding: 18px;
  }
  html body.home.homeRefinedV637 .certMirrorLineV637{
    display:none;
  }
  html body.home.homeRefinedV637 .certMirrorMomentV637{
    position:relative;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    width:100%;
    min-width:0;
  }
  html body.home.homeRefinedV637 .certFlowList{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px){
  html body.home.homeRefinedV637 .certFlowIntro h2{
    font-size: clamp(2.35rem, 10.8vw, 3.42rem) !important;
  }
  html body.home.homeRefinedV637 .certMirrorBridgeV637{
    border-radius: 18px;
  }
  html body.home.homeRefinedV637 .certMirrorTriadV637{
    grid-template-columns: 1fr;
    align-items:stretch;
  }
  html body.home.homeRefinedV637 .certMirrorTriadV637 i{
    display:none;
  }
  html body.home.homeRefinedV637 .certWhyMirrorV637,
  html body.home.homeRefinedV637 .certMirrorCanvasV637{
    border-radius: 24px;
  }
}
