.home-saas-hero {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: clamp(42px, 5.5vw, 72px) 0 28px;
  background: linear-gradient(145deg, #f2fbfb 0%, #ffffff 54%, #eaf8f7 100%);
  border-bottom: 1px solid var(--medtl-saas-line);
}

.home-saas-hero *,
.home-saas-hero *::before,
.home-saas-hero *::after {
  box-sizing: border-box;
}

.home-saas-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(21, 183, 193, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: calc(100% - 180px) 32px;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 58%, #000 78%, transparent 100%);
  opacity: 0.8;
}

.home-saas-hero .container {
  position: relative;
  z-index: 1;
}

.home-saas-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.home-saas-hero__content,
.home-saas-hero__visual {
  min-width: 0;
}

.home-saas-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(21, 183, 193, 0.12);
  background: rgba(21, 183, 193, 0.11);
  color: var(--medtl-saas-teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-saas-hero h1 {
  max-width: 760px;
  margin: 16px 0 14px;
  color: var(--medtl-saas-ink);
  font-size: clamp(2.35rem, 4.35vw, 4.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: normal;
}

.home-saas-hero__accent {
  display: block;
  max-width: 100%;
  color: var(--medtl-saas-teal);
}

.home-saas-hero[data-language="de"] .home-saas-hero__accent {
  font-size: 0.84em;
  line-height: 1.08;
}

@media (min-width: 1180.01px) {
  .home-saas-hero[data-language="de"] .home-saas-hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .home-saas-hero[data-language="de"] h1 {
    font-size: clamp(2.35rem, 4.15vw, 4rem);
    hyphens: none;
  }

  .home-saas-hero[data-language="de"] .home-saas-hero__accent {
    font-size: 0.82em;
  }
}

.home-saas-hero__copy {
  max-width: 580px;
  margin: 0;
  color: var(--medtl-saas-muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}

.home-saas-hero__checks {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.home-saas-hero__checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--medtl-saas-ink-soft);
  font-size: 0.94rem;
  font-weight: 650;
}

.home-saas-hero__checks i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
  color: var(--medtl-saas-teal-dark);
  background: rgba(21, 183, 193, 0.11);
}

.home-saas-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.home-saas-hero__primary,
.home-saas-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.home-saas-hero__primary {
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--medtl-saas-green), var(--medtl-saas-teal));
  box-shadow: 0 14px 30px rgba(8, 125, 119, 0.24);
}

.home-saas-hero__secondary {
  color: var(--medtl-saas-ink-soft);
  background: transparent;
}

.home-saas-hero__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--medtl-saas-teal-dark);
  background: #fff;
  border: 1px solid rgba(21, 183, 193, 0.22);
  box-shadow: 0 8px 20px rgba(7, 76, 84, 0.1);
}

.home-saas-hero__primary:hover,
.home-saas-hero__secondary:hover {
  transform: translateY(-2px);
}

.home-saas-hero__trusted {
  margin-top: 20px;
  color: #668087;
  font-size: 0.86rem;
  font-weight: 700;
}

.home-saas-hero__logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: #80989e;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-saas-hero__logos span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-saas-hero__visual {
  position: relative;
  padding: 8px 0;
}

.home-saas-dashboard {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(21, 183, 193, 0.18);
  box-shadow: 0 26px 70px rgba(7, 76, 84, 0.15);
}

.home-saas-dashboard__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(33, 54, 91, 0.08);
  color: var(--medtl-saas-ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-saas-dashboard__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--medtl-saas-green), var(--medtl-saas-teal));
  font-size: 0.72rem;
}

.home-saas-dashboard img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.7;
  object-fit: cover;
  object-position: top left;
}

.home-saas-hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--medtl-saas-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(7, 76, 84, 0.09);
  backdrop-filter: blur(12px);
}

.home-saas-hero__metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.home-saas-hero__metric i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--medtl-saas-teal-dark);
  background: rgba(21, 183, 193, 0.11);
  font-size: 1.35rem;
}

.home-saas-hero__metric strong {
  display: block;
  color: var(--medtl-saas-ink);
  font-size: 0.94rem;
  line-height: 1.15;
}

.home-saas-hero__metric span {
  display: block;
  margin-top: 4px;
  color: var(--medtl-saas-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

[dir="rtl"] .home-saas-hero__checks li,
[dir="rtl"] .home-saas-hero__logos span,
[dir="rtl"] .home-saas-hero__metric {
  direction: rtl;
}

@media (max-width: 1180px) {
  .home-saas-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-saas-hero__copy,
  .home-saas-hero h1 {
    max-width: 820px;
  }
}

@media (max-width: 760px) {
  .home-saas-hero {
    padding: 38px 0 26px;
  }

  .home-saas-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.45rem);
  }

  .home-saas-hero__actions {
    align-items: stretch;
  }

  .home-saas-hero__primary,
  .home-saas-hero__secondary {
    width: 100%;
  }

  .home-saas-hero__visual {
    padding: 6px 0;
  }

  .home-saas-dashboard__bar {
    min-height: 42px;
  }

  .home-saas-dashboard__button {
    display: none;
  }

  .home-saas-dashboard img {
    aspect-ratio: 4 / 3;
  }

  .home-saas-hero__metrics {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }
}
