/* =============================================
   Hero Section — Dark, premium, conversion-focused
   ============================================= */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-900);
  background-image: url('../images/hero-diagnostik.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 88vh;
  padding-top: 100px;
  padding-bottom: 100px;
}

.hero__content {
  max-width: 820px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 0, 0,0.15);
  border: 1px solid rgba(0, 0, 0,0.4);
  color: #9CA3AF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease both;
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  line-height: 0.98;
  margin-bottom: 28px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease 0.05s both;
}

.hero__description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin: 0 auto 44px;
  font-weight: 400;
  max-width: 580px;
  letter-spacing: 0.2px;
  animation: fadeInUp 0.8s ease 0.18s both;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.25s both;
}

/* Hero buttons — ICIW-style: white solid + transparent outline */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 200px;
  border: 1px solid transparent;
}

/* Primary CTA: solid white button (most ICIW-typical) */
.btn-hero--primary {
  background: #fff;
  color: #0e1218;
  border-color: #fff;
}

.btn-hero--primary:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.92);
  transform: translateY(-1px);
}

.btn-hero--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-hero--ghost:hover {
  background: #fff;
  color: #0e1218;
  border-color: #fff;
  transform: translateY(-1px);
}

/* Backwards compat: legacy .btn-hero usages elsewhere keep the ghost look */
.btn-hero:not(.btn-hero--primary):not(.btn-hero--ghost) {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-hero:not(.btn-hero--primary):not(.btn-hero--ghost):hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Trust line under CTAs */
.hero__trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.35s both;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.75);
  flex-shrink: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero { min-height: 78vh; }
  .hero .container { min-height: 78vh; padding-top: 80px; padding-bottom: 60px; }
  .hero__title { letter-spacing: -1px; line-height: 1.02; }
  .hero__description { font-size: 14px; padding: 0 12px; max-width: 480px; }
  .hero__buttons { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; margin-bottom: 36px; }
  .btn-hero { min-width: unset; width: 100%; padding: 16px 24px; font-size: 11px; letter-spacing: 2px; }
  .hero__trust { gap: 16px; }
  .hero__trust-item { font-size: 10px; letter-spacing: 1.5px; }
}
