/* Grafikpaket 1: sichtbarer Entwicklungsweg */
.method-step__marker {
  position: absolute;
  top: 2rem;
  left: 0;
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  place-items: center;
  color: var(--color-off-white);
  background: var(--color-graphite);
  border: 0.125rem solid var(--color-copper);
  border-radius: 50%;
}

.method-step__marker svg {
  width: 2.1rem;
  height: 2.1rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-step__marker .method-step__marker-accent {
  fill: var(--color-copper);
  stroke: var(--color-copper);
}

.method-step {
  padding-left: 5.75rem;
}

@media (min-width: 48rem) {
  .method__steps {
    position: relative;
    margin-top: 2.5rem;
    border-top-color: rgba(200, 118, 58, 0.76);
  }

  .method-step {
    padding-top: 4.75rem;
  }

  .method-step__marker {
    top: -2.1875rem;
    left: clamp(2rem, 4vw, 3rem);
  }

  .method-step:first-child .method-step__marker {
    left: 0;
  }
}

@media (max-width: 47.99rem) {
  .method__steps {
    border-top: 0;
  }

  .method-step {
    min-height: 9rem;
  }
}

/* Grafikpaket 1: sichere App-Beispielansichten */
.product-showcase {
  margin: clamp(2rem, 6vw, 3rem) 0;
}

.product-showcase__stage {
  position: relative;
  min-height: clamp(24rem, 72vw, 34rem);
  overflow: hidden;
  background: #151719;
  border: 0.0625rem solid var(--color-border-dark);
  border-radius: var(--radius-medium);
  isolation: isolate;
}

.product-showcase__rings {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  border: 0.0625rem solid rgba(200, 118, 58, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(200, 118, 58, 0.04), 0 0 0 7rem rgba(200, 118, 58, 0.025);
}

.product-phone {
  position: absolute;
  width: min(44%, 15rem);
  padding: 0.55rem;
  color: var(--color-graphite);
  background: #101112;
  border: 0.125rem solid #3c3f42;
  border-radius: 1.75rem;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.36);
}

.product-phone--overview {
  bottom: -1.5rem;
  left: 8%;
  transform: rotate(-5deg);
}

.product-phone--entries {
  top: 1.5rem;
  right: 7%;
  z-index: 1;
  transform: rotate(3deg);
}

.product-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
}

.product-showcase figcaption {
  margin-top: 0.8rem;
  color: rgba(244, 241, 234, 0.64);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 35.99rem) {
  .product-showcase__stage { min-height: 24rem; }
  .product-phone { width: 48%; padding: 0.4rem; border-radius: 1.35rem; }
  .product-phone--overview { bottom: -1rem; left: 2%; }
  .product-phone--entries { top: 1.25rem; right: 2%; }
  .product-phone img { border-radius: 0.95rem; }
}

/* Layoutverbesserung: Projektbereich auf breiten Ansichten vollständig nutzen */
.product-card__copy {
  margin-top: 2rem;
}

.product-card__copy > p {
  margin: 0;
  color: rgba(244, 241, 234, 0.74);
}

.product-card__copy > p + p {
  margin-top: 1rem;
}

.product-card__copy .product-card__lead {
  margin-top: 0;
  color: var(--color-off-white);
}

@media (min-width: 48rem) {
  .apps__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 5rem);
    align-items: stretch;
  }

  .apps__intro {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 1.15fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
    max-width: none;
  }

  .apps__copy {
    max-width: none;
    margin-top: 2.35rem;
  }

  .product-card {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 64rem) {
  .product-card {
    display: grid;
    grid-template-areas:
      "identity visual"
      "copy visual";
    grid-template-columns: minmax(18rem, 0.82fr) minmax(30rem, 1.18fr);
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .product-card__identity {
    grid-area: identity;
  }

  .product-card__copy {
    grid-area: copy;
  }

  .product-showcase {
    grid-area: visual;
    margin: 0;
  }

  .product-showcase__stage {
    min-height: 34rem;
  }
}
