/* Website-Service page (/website-erstellen-lassen): additions to landing-pages.css. */

/* Video next to the three steps */
.webservice-video-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 56px;
  align-items: center;
}

.webservice-video-copy {
  margin-bottom: 0;
}

.webservice-steps {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: webservice-step;
}

.webservice-steps li {
  position: relative;
  padding: 18px 20px 18px 64px;
  border: 1px solid var(--light-line, #dfe6ef);
  border-radius: var(--radius-sm, 14px);
  background: var(--light-panel, #fff);
  line-height: 1.5;
  counter-increment: webservice-step;
}

.webservice-steps li::before {
  content: counter(webservice-step);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent, #4cd7c3);
  color: #08111f;
  font-weight: 850;
}

.webservice-steps strong {
  display: block;
  color: var(--light-text, #11213a);
}

.webservice-steps span {
  color: var(--light-muted, #5f6d80);
}

.webservice-video-frame {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 360px;
  padding: 10px;
  border-radius: 34px;
  background: #08111f;
  box-shadow: 0 30px 80px rgba(8, 17, 31, 0.28);
}

.webservice-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  background: #08111f;
}

/* Three days instead of five process steps */
.process-list.webservice-process {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-list.webservice-process li {
  min-height: 0;
}

.process-list.webservice-process span {
  margin-bottom: 22px;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.webservice-note {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--muted, #aab8cb);
  font-size: .9rem;
  line-height: 1.6;
}

/* FAQ */
.webservice-faq details {
  max-width: 860px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.12));
}

.webservice-faq summary {
  padding: 20px 36px 20px 0;
  position: relative;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.webservice-faq summary::-webkit-details-marker {
  display: none;
}

.webservice-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  color: var(--accent, #4cd7c3);
  font-size: 1.4rem;
  font-weight: 700;
}

.webservice-faq details[open] summary::after {
  content: "−";
}

.webservice-faq details p {
  margin: 0 0 20px;
  color: var(--muted, #aab8cb);
  line-height: 1.65;
}

@media (max-width: 1020px) {
  .webservice-video-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-list.webservice-process {
    grid-template-columns: 1fr;
  }

  .process-list.webservice-process li {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .process-list.webservice-process li:last-child {
    border-bottom: 0;
  }
}

/* Sound toggle on the promo video */
.webservice-video-frame {
  position: relative;
}

.webservice-sound {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(76, 215, 195, 0.55);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.82);
  color: #f5f8fc;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.webservice-sound:hover,
.webservice-sound:focus-visible {
  background: #08111f;
  border-color: #4cd7c3;
}

.webservice-sound:focus-visible {
  outline: 3px solid #4cd7c3;
  outline-offset: 3px;
}

.webservice-sound svg {
  width: 20px;
  height: 20px;
  color: #4cd7c3;
  flex: none;
}

.webservice-sound .sound-waves,
.webservice-sound.is-on .sound-off {
  display: none;
}

.webservice-sound.is-on .sound-waves {
  display: inline;
}
