.headline-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.title {
  font-size: 4rem;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}

.cta-link {
  font-size: 2.5rem;
  color: black;
  text-decoration: none;
  white-space: nowrap;
}

.line {
  flex-grow: 1;
  height:2px;
  background-color: #575757;
  position: relative;
  top: -2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s ease-out;
}

.line.animate {
  transform: scaleX(1);
}

/* Mobilanpassning */
@media (max-width: 768px) {
  .headline-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .title, .cta-link {
    font-size: 2.5rem;
    white-space: normal;
  }

  .cta-link {
    font-size: 2rem;
  }

  .line {
    width: 100%;
    top: 0;
  }
}
