/* /css/hero.css – Optimierte Version */
/* =========================================================
   GFC – Hero Section (Seriosität, Klarheit, Wirkung)
   Optimiert: A11y, Konsistenz, vereinfachte Gradients,
   klarere Responsive-Logik, verbesserte Badges & Buttons
   ========================================================= */


/* ---------- Base Section ---------- */
.section.hero {
  position: relative;
  color: var(--hero-ink);
  background:
    radial-gradient(1100px 380px at 18% -10%, rgba(92,200,255,0.16), transparent 60%),
    radial-gradient(860px 280px at 82% 0%, rgba(92,200,255,0.10), transparent 55%),
    var(--hero-bg);
  overflow: clip;
}

/* Subtiles Hintergrundraster */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: -4px -4px;
  opacity: .15;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--hero-maxw);
  margin-inline: auto;
  padding: clamp(40px, 7vw, 96px) var(--hero-pad);
  position: relative;
  z-index: 1;
}


/* ---------- Carded Surface ---------- */
.hero-surface {
  background: linear-gradient(180deg, var(--hero-surface), var(--hero-surface-soft));
  border: 1px solid var(--hero-border);
  border-radius: var(--hero-radius);
  padding: clamp(24px, 4.5vw, 42px);
  box-shadow:
    0 8px 30px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
}


/* ---------- Text Elements ---------- */
.nowrap { white-space: nowrap; }

.hero-title {
  font-size: var(--h1-size);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px 0;
  font-weight: 800;
  max-width: 720px;
}

.lead {
  font-size: var(--lead-size);
  line-height: 1.55;
  color: var(--hero-ink);
  margin: 0 0 20px 0;
  max-width: 720px;
}

.muted {
  color: var(--hero-muted);
}


/* ---------- CTA Row ---------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 18px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px; /* größere Touch-Zone */
  min-height: 48px;   /* A11y */
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease,
              box-shadow .15s ease,
              background-color .15s ease,
              border-color .15s ease,
              color .15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(180deg, var(--hero-accent), #89dbff);
  color: var(--hero-accent-ink);
  box-shadow: 0 6px 18px rgba(92,200,255,0.35);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--hero-ink);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-color: var(--hero-accent);
}


/* ---------- Hero Facts / Badges ---------- */
.hero-facts {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: .92rem;
  color: var(--hero-ink);
  text-decoration: none;
}

.badge:hover {
  border-color: rgba(255,255,255,0.35);
}

.badge.mono {
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}


/* ---------- Note ---------- */
.note {
  margin: 22px 0 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,189,66,0.12);
  border: 1px solid rgba(255,189,66,0.32);
  color: var(--hero-ink);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 760px;
}


/* ---------- Trust Strip ---------- */
.trust-strip {
  list-style: none;
  margin: 18px 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 760px;
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--hero-muted);
  font-weight: 600;
  letter-spacing: .2px;
  font-size: .95rem;
}

.trust-strip li span {
  color: var(--hero-accent);
  font-weight: 800;
}


/* ---------- Container fallback ---------- */
.container {
  width: min(var(--hero-maxw), 100%);
  margin-inline: auto;
}


/* ---------- Motion Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .hero::before { background-image: none; }
}


/* ---------- Print ---------- */
@media print {
  .section.hero {
    background: #fff !important;
    color: #000 !important;
  }
  .hero::before { display: none !important; }
  .hero-surface {
    background: none !important;
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
  .btn,
  .trust-strip {
    display: none !important;
  }
}


/* =========================================================
   Responsive Overrides
   ========================================================= */

@media (max-width: 900px) {
  .hero {
    text-align: left;
    padding: 24px 0 18px;
    background:
      radial-gradient(800px 360px at 20% -12%, rgba(30,58,138,.12), transparent);
  }

  .hero h1 {
    font-size: clamp(1.6rem, 5.2vw, 2rem);
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-row {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .cta-row .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .cta-row {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Brand Icons & Inline Elemente
   ========================================================= */

.token-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5cc8ff 0%, #2ecf8f 80%);
  box-shadow: 0 8px 26px rgba(92,200,255,.25);
  overflow: hidden;
}

.token-icon img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.inline-logo {
  height: 22px;
  width: auto;
  vertical-align: baseline;
  margin-right: 6px;
  transform: translateY(2px);
}


/* iOS Notch Safe Area */
@supports (padding: env(safe-area-inset-top)) {
  .safe-area {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }
}
