/* Animierte MarkenTal Garantie-Timeline */
.seo-guarantee .guarantee-steps.guarantee-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 64px);
  margin-top: clamp(34px, 5vw, 58px);
  padding: 0;
  overflow: visible;
  border: 0 !important;
  isolation: isolate;
}

.seo-guarantee .guarantee-timeline::before,
.seo-guarantee .guarantee-timeline::after {
  position: absolute;
  top: 43px;
  right: 15%;
  left: 15%;
  height: 3px;
  border-radius: 999px;
  content: "";
  transform-origin: left center;
}

.seo-guarantee .guarantee-timeline::before {
  z-index: 0;
  background: rgba(255, 255, 255, 0.16);
}

.seo-guarantee .guarantee-timeline::after {
  z-index: 1;
  background: linear-gradient(90deg, #1796c9, #75d4f3, #1796c9);
  box-shadow: 0 0 18px rgba(23, 150, 201, 0.7);
  transform: scaleX(0);
}

.seo-guarantee .guarantee-timeline.is-visible::after {
  animation: guaranteeLine 1.25s cubic-bezier(.22, .78, .24, 1) forwards;
}

.seo-guarantee .guarantee-timeline .guarantee-step,
.seo-guarantee .guarantee-timeline .guarantee-step:first-child {
  position: relative;
  z-index: 2;
  min-height: 0;
  padding: 0 clamp(4px, 1.5vw, 18px) clamp(18px, 3vw, 34px);
  border: 0 !important;
  opacity: 0.35;
  text-align: center !important;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .65s cubic-bezier(.22, .78, .24, 1);
}

.seo-guarantee .guarantee-timeline .guarantee-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.seo-guarantee .guarantee-timeline .guarantee-step > span {
  position: relative;
  z-index: 3;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin: 0 auto clamp(30px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #292929 0, #161616 52%, #090909 100%);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.018), 0 18px 38px rgba(0, 0, 0, 0.42);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: border-color .45s ease, color .45s ease, box-shadow .45s ease, transform .45s ease;
}

.seo-guarantee .guarantee-timeline .guarantee-step.is-active > span {
  border-color: rgba(23, 150, 201, 0.9);
  color: #75d4f3;
  box-shadow: inset 0 0 0 7px rgba(23, 150, 201, 0.08), 0 0 0 7px rgba(23, 150, 201, 0.08), 0 0 28px rgba(23, 150, 201, 0.5);
  transform: scale(1.06);
}

.seo-guarantee .guarantee-timeline .guarantee-step h3 {
  max-width: 330px;
  margin: 0 auto 16px !important;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.35rem) !important;
  line-height: 1.02;
  text-align: center !important;
  text-wrap: balance;
}

.seo-guarantee .guarantee-timeline .guarantee-step p {
  max-width: 360px;
  margin: 0 auto !important;
  color: #aeb1b7;
  font-size: clamp(1rem, 1.2vw, 1.14rem) !important;
  line-height: 1.62;
  text-align: center !important;
}

@keyframes guaranteeLine {
  to { transform: scaleX(1); }
}

@media (max-width: 760px) {
  .seo-guarantee .guarantee-steps.guarantee-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 620px;
    margin-inline: auto;
  }

  .seo-guarantee .guarantee-timeline::before,
  .seo-guarantee .guarantee-timeline::after {
    top: 44px;
    right: auto;
    bottom: 44px;
    left: 43px;
    width: 3px;
    height: auto;
    transform-origin: center top;
  }

  .seo-guarantee .guarantee-timeline::after {
    transform: scaleY(0);
  }

  .seo-guarantee .guarantee-timeline.is-visible::after {
    animation-name: guaranteeLineMobile;
  }

  .seo-guarantee .guarantee-timeline .guarantee-step,
  .seo-guarantee .guarantee-timeline .guarantee-step:first-child {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0 22px;
    align-items: center;
    padding: 0 0 54px;
  }

  .seo-guarantee .guarantee-timeline .guarantee-step:last-child {
    padding-bottom: 0;
  }

  .seo-guarantee .guarantee-timeline .guarantee-step > span {
    grid-row: 1 / span 2;
    grid-column: 1;
    margin: 0;
  }

  .seo-guarantee .guarantee-timeline .guarantee-step h3,
  .seo-guarantee .guarantee-timeline .guarantee-step p {
    grid-column: 2;
    width: 100%;
    max-width: 100%;
    text-align: center !important;
  }
}

@keyframes guaranteeLineMobile {
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .seo-guarantee .guarantee-timeline::after,
  .seo-guarantee .guarantee-timeline.is-visible::after {
    animation: none;
    transform: none;
  }

  .seo-guarantee .guarantee-timeline .guarantee-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
