/* =========================================================
   INDEX / HOME — Glass Dark (fits app.css template)
   Keep classnames, remove light backgrounds (#fff)
========================================================= */

.homePage{
  --hAccent: var(--brand-primary);
  --hSoft: rgba(255,30,45,.10);

  /* map to dark-glass tokens from app.css */
  --hLine: rgba(255,255,255,.12);
  --hLineStrong: rgba(255,255,255,.16);

  --hCard: rgba(255,255,255,.05);         /* glass surface */
  --hCard2: rgba(255,255,255,.07);        /* elevated glass */
  --hCardHover: rgba(255,255,255,.07);

  --hText: var(--ui-text);
  --hMuted: var(--ui-text-muted);
  --hShadow: 0 18px 60px rgba(0,0,0,.45);

  /* blur */
  --hBlur: blur(14px);
}

/* Typography */
.hH1{
  margin: 10px 0 10px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.2vw, 44px);
  color: var(--hText);
  text-shadow: 0 14px 40px rgba(0,0,0,.55);
}
.hLead{
  margin: 0;
  max-width: 75ch;
  color: var(--hMuted);
  line-height: 1.5;
  font-size: 15.5px;
}

/* HERO wrapper (glass) */
.hHero__grid{
  padding: 18px;
  border-radius: 22px;
  box-shadow: var(--hShadow);
  position: relative;
  overflow: hidden;

  background: rgba(255,255,255,.04);
  border: 1px solid var(--hLine);
  backdrop-filter: var(--hBlur);
  -webkit-backdrop-filter: var(--hBlur);
}
.hHero__grid:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(255,30,45,.18), transparent 60%),
    radial-gradient(700px 380px at 100% 20%, rgba(96,165,250,.10), transparent 55%),
    radial-gradient(900px 420px at 70% 110%, rgba(52,211,153,.08), transparent 62%);
  pointer-events:none;
  filter: saturate(1.05);
}
.hHero__grid > *{ position:relative; }

.hHero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: stretch;
}
@media (max-width: 920px){
  .hHero__grid{ grid-template-columns: 1fr; }
}

/* Badge (dark glass) */
.hBadge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--hLine);
  background: rgba(255,255,255,.05);
  color: var(--hMuted);
  font-size: 13px;
  margin-bottom: 10px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hBadge:before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--hAccent);
  box-shadow: 0 0 0 6px rgba(255,30,45,.18);
  display:inline-block;
}

/* Hero right image card (glass) */
.hHero__right{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.hImgCard{
  border: 1px solid var(--hLine);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
  height: 100%;
  min-height: 280px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 50px rgba(0,0,0,.45);
}
.hImgCard img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  background: rgba(255,255,255,.03);
  filter: saturate(1.05) contrast(1.05);
}

/* CTA row */
.hHeroCtas{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
}

/* Join inline (glass instead of white box) */
.hJoin{
  margin-top: 12px;
  border: 1px solid var(--hLine);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  padding: 12px;

  backdrop-filter: var(--hBlur);
  -webkit-backdrop-filter: var(--hBlur);
  box-shadow: 0 14px 46px rgba(0,0,0,.40);
}
.hJoinTitle{
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--hText);
}
.hJoinMeta{
  margin: 0 0 10px;
  color: var(--hMuted);
  font-size: 13.5px;
  line-height: 1.35;
}

/* Sections */
.hSection{ padding: 18px; }
.hHead{ margin-bottom: 10px; }
.hHead h2{ margin:0; color: var(--hText); }

/* Steps (cards = glass) */
.hSteps{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.hStepCard{
  grid-column: span 4;

  background: rgba(255,255,255,.04);
  border: 1px solid var(--hLine);
  border-radius: 20px;
  padding: 14px;

  display:flex;
  flex-direction: column;
  gap: 8px;

  backdrop-filter: var(--hBlur);
  -webkit-backdrop-filter: var(--hBlur);
  box-shadow: 0 14px 44px rgba(0,0,0,.40);

  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.hStepCard:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
@media (max-width: 980px){
  .hStepCard{ grid-column: span 6; }
}
@media (max-width: 620px){
  .hStepCard{ grid-column: span 12; }
}
.hStepTop{
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  gap: 10px;
}
.hStepTitle{ font-weight: 900; font-size: 16px; color: var(--hText); }
.hStepTag{
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--hLine);
  color: var(--hMuted);
  background: rgba(255,255,255,.05);
  white-space: nowrap;
}
.hStepDesc{ color: var(--hMuted); font-size: 14px; line-height: 1.35; margin:0; }

/* Proof / Outputs */
.hWideImg{
  margin-top: 12px;
  border: 1px solid var(--hLine);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.04);

  backdrop-filter: var(--hBlur);
  -webkit-backdrop-filter: var(--hBlur);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.hWideImg img{
  width:100%;
  display:block;
  aspect-ratio: 21/9;
  object-fit: cover;
  background: rgba(255,255,255,.03);
  filter: saturate(1.05) contrast(1.05);
}
.hWideCap{
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--hMuted);
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

/* Features (glass rows) */
.hFeatures{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.hFeature{
  grid-column: span 6;
  display:flex;
  gap: 10px;
  align-items:flex-start;

  border: 1px solid var(--hLine);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  padding: 12px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0,0,0,.38);

  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.hFeature:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
@media (max-width: 920px){
  .hFeature{ grid-column: span 12; }
}
.hDot{
  width: 10px; height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: var(--hAccent);
  box-shadow: 0 0 0 6px rgba(255,30,45,.16);
  flex: 0 0 auto;
}

/* Use-case chips (dark glass) */
.hChips{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.hChip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--hLine);
  background: rgba(255,255,255,.04);
  color: var(--hMuted);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.hChip:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: var(--hText);
}
.hChip:before{
  content:"";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hAccent);
  box-shadow: 0 0 0 5px rgba(255,30,45,.14);
  display:inline-block;
}

/* Callout (brand tint, still glass) */
.hCallout{
  border: 1px solid rgba(255,30,45,.28);
  background: rgba(255,30,45,.08);
  border-radius: 18px;
  padding: 14px;
  margin-top: 10px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Center CTA row */
.hCtaRow{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}
/* =========================
   HOME – Premium Glass Polish (optional)
========================= */

.homePage{
  --hLine: rgba(255,255,255,.14);
  --hLineStrong: rgba(255,255,255,.20);
  --hShadow: 0 24px 90px rgba(0,0,0,.55);
}

/* stärkere Innenkante */
.hHero__grid::after,
.hStepCard::after,
.hFeature::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(0,0,0,.25);
}

/* leichtes Float bei Hover */
.hStepCard:hover,
.hFeature:hover{
  transform: translateY(-3px);
}