.single-showroom .elementor-widget-shortcode,
.single-showroom .elementor-widget-shortcode .elementor-widget-container {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.stadtundspiel-single-project {
  background: var(--stadtundspiel-cream);
  color: var(--stadtundspiel-ink);
  overflow: hidden;
}

.stadtundspiel-single-project__hero {
  background: var(--stadtundspiel-forest);
  color: var(--stadtundspiel-cream);
  min-height: min(58rem, 100svh);
  overflow: hidden;
  position: relative;
}

.stadtundspiel-single-project__featured {
  inset: 0;
  margin: 0;
  position: absolute;
}

.stadtundspiel-single-project__featured::after {
  background:
    linear-gradient(90deg, rgb(9 20 15 / 88%) 0%, rgb(9 20 15 / 54%) 46%, rgb(9 20 15 / 12%) 78%),
    linear-gradient(0deg, rgb(9 20 15 / 68%) 0%, transparent 45%);
  content: "";
  inset: 0;
  position: absolute;
}

.stadtundspiel-single-project__featured img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.stadtundspiel-single-project__hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  min-height: min(58rem, 100svh);
  padding: clamp(8rem, 13vw, 11rem) 1.25rem clamp(3rem, 7vw, 6rem);
  position: relative;
  width: min(100%, var(--stadtundspiel-content));
  z-index: 1;
}

.stadtundspiel-single-project.is-gallery-project .stadtundspiel-single-project__hero,
.stadtundspiel-single-project.is-gallery-project .stadtundspiel-single-project__hero-content {
  min-height: min(50rem, 82svh);
}

.stadtundspiel-single-project.is-gallery-project .stadtundspiel-single-project__hero-copy {
  max-width: 72rem;
}

.stadtundspiel-single-project.is-gallery-project .stadtundspiel-single-project__title {
  font-size: clamp(3.25rem, 6.5vw, 6.5rem);
  max-width: 16ch;
  overflow-wrap: anywhere;
}

.stadtundspiel-single-project__back {
  align-items: center;
  color: var(--stadtundspiel-cream) !important;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 600;
  gap: 0.65rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  width: max-content;
}

.stadtundspiel-single-project__back:hover {
  color: var(--stadtundspiel-moss);
}

.stadtundspiel-single-project__hero-copy {
  max-width: 64rem;
  padding-top: 8rem;
}

.stadtundspiel-single-project__hero-copy .stadtundspiel-eyebrow {
  color: var(--stadtundspiel-moss);
}

.stadtundspiel-single-project__title {
  color: inherit;
  font-size: clamp(3.25rem, 8.5vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.86;
  margin: 1.2rem 0 1.5rem;
  text-wrap: balance;
}

.stadtundspiel-single-project__meta {
  color: rgb(255 249 234 / 75%);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  margin: 0;
}

.stadtundspiel-single-project__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.stadtundspiel-single-project__categories a {
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 999px;
  color: var(--stadtundspiel-cream) !important;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
}

.stadtundspiel-single-project__categories a:hover {
  background: var(--stadtundspiel-moss);
  border-color: var(--stadtundspiel-moss);
  color: var(--stadtundspiel-forest);
}

.stadtundspiel-single-project__overview {
  display: grid;
  gap: clamp(3rem, 6vw, 7rem);
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--stadtundspiel-content);
  padding: var(--stadtundspiel-section-space) 1.25rem;
}

.stadtundspiel-single-project__section-intro .stadtundspiel-eyebrow {
  color: var(--stadtundspiel-green);
}

.stadtundspiel-single-project__section-intro h2 {
  color: var(--stadtundspiel-forest);
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 1.25rem 0 0;
}

.stadtundspiel-single-project__copy {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
  max-width: 48rem;
}

.stadtundspiel-single-project__copy p:first-child {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
  margin-top: 0;
}

.stadtundspiel-single-project__copy p:last-child {
  margin-bottom: 0;
}

.stadtundspiel-single-project__copy a {
  color: var(--stadtundspiel-green);
  text-underline-offset: 0.2em;
}

.stadtundspiel-single-project__specifications {
  border-top: 1px solid var(--stadtundspiel-line);
  margin-top: 2.5rem;
  padding-top: 2rem;
}

.stadtundspiel-single-project__specifications h3 {
  color: var(--stadtundspiel-green);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.stadtundspiel-single-project__facts {
  border-top: 1px solid rgb(16 32 25 / 20%);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 1.75rem 0 0;
}

.stadtundspiel-single-project__fact {
  min-width: 0;
}

.stadtundspiel-single-project__fact dt {
  align-items: center;
  color: var(--stadtundspiel-green);
  display: flex;
  font-size: 0.7rem;
  font-weight: 700;
  gap: 0.55rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stadtundspiel-single-project__fact dt::before {
  background: var(--stadtundspiel-project-red, #b84a45);
  content: "";
  flex: 0 0 1.5rem;
  height: 2px;
}

.stadtundspiel-single-project__fact dd {
  color: var(--stadtundspiel-forest);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0.65rem 0 0;
  overflow-wrap: anywhere;
}

.stadtundspiel-single-project__fact dd span {
  font-size: 0.7em;
}

.stadtundspiel-single-project__manufacturers {
  border-top: 1px solid rgb(16 32 25 / 20%);
  margin-top: 2rem;
  padding-top: 1.75rem;
}

.stadtundspiel-single-project__manufacturers h3 {
  color: var(--stadtundspiel-green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.stadtundspiel-single-project__manufacturers ul {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.stadtundspiel-single-project__manufacturers li {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.stadtundspiel-single-project__manufacturers li.is-transparent,
.stadtundspiel-single-project__manufacturers li.is-transparent a,
.stadtundspiel-single-project__manufacturers li.is-monochrome,
.stadtundspiel-single-project__manufacturers li.is-monochrome a {
  background: transparent;
  justify-content: flex-start;
}

.stadtundspiel-single-project__manufacturers li.is-transparent img,
.stadtundspiel-single-project__manufacturers li.is-monochrome img {
  height: 6.5rem !important;
  max-width: 11.5rem;
  object-position: left center;
  padding: 0;
  width: 100% !important;
}

.stadtundspiel-single-project__manufacturers li.is-monochrome img {
  filter: brightness(0) saturate(100%);
  opacity: 0.82;
}

.stadtundspiel-single-project__manufacturers a {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

.stadtundspiel-single-project__manufacturers img {
  display: block;
  height: 7rem !important;
  object-fit: contain;
  padding: 1rem 1.25rem;
  width: 100%;
}

.stadtundspiel-single-project__manufacturers li > span,
.stadtundspiel-single-project__manufacturers a > span {
  align-items: center;
  color: var(--stadtundspiel-cream);
  display: flex;
  font-size: 0.75rem;
  font-weight: 700;
  min-height: 5.5rem;
  padding: 1rem;
}

.stadtundspiel-single-project__products {
  background: var(--stadtundspiel-forest);
  color: var(--stadtundspiel-cream);
  padding: var(--stadtundspiel-section-space) max(1.25rem, calc((100vw - var(--stadtundspiel-content)) / 2));
}

.stadtundspiel-single-project__products-header {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 7vw, 8rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
}

.stadtundspiel-single-project__products-header .stadtundspiel-section-title {
  --stadtundspiel-section-title-accent: var(--stadtundspiel-moss);
}

.stadtundspiel-single-project__products-header > p {
  border-left: 1px solid rgb(255 249 234 / 28%);
  color: rgb(255 249 234 / 68%);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
  margin: 0;
  padding-left: 1.5rem;
}

.stadtundspiel-single-project__gallery h2 {
  color: inherit;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 1.25rem 0 1.5rem;
}

.stadtundspiel-single-project__products > ul {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
}

.stadtundspiel-single-project__products li {
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--stadtundspiel-radius);
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  overflow: hidden;
}

.stadtundspiel-single-project__products li.has-no-image {
  padding: 1.5rem;
}

.stadtundspiel-product-card__image {
  aspect-ratio: 16 / 10;
  background: rgb(255 255 255 / 4%);
  overflow: hidden;
}

.stadtundspiel-single-project__products .stadtundspiel-product-card__image img {
  display: block;
  height: 100% !important;
  object-fit: cover;
  transition: transform 400ms ease;
  width: 100% !important;
}

.stadtundspiel-single-project__products li:hover .stadtundspiel-product-card__image img {
  transform: scale(1.025);
}

.stadtundspiel-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.stadtundspiel-single-project__products li.has-no-image .stadtundspiel-product-card__body {
  padding: 0;
}

.stadtundspiel-product-card__meta {
  color: var(--stadtundspiel-moss);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stadtundspiel-single-project__products li h3 {
  color: inherit;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0.75rem 0 1rem;
}

.stadtundspiel-single-project__products li p {
  color: rgb(255 249 234 / 62%);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.stadtundspiel-single-project__products li a {
  color: var(--stadtundspiel-cream);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: auto;
  padding-top: 1.5rem;
  text-decoration-color: var(--stadtundspiel-moss);
  text-underline-offset: 0.35em;
}

.stadtundspiel-single-project__gallery {
  background: var(--stadtundspiel-paper);
  color: var(--stadtundspiel-forest);
  padding: var(--stadtundspiel-section-space) max(1.25rem, calc((100vw - var(--stadtundspiel-content)) / 2));
}

.stadtundspiel-single-project__gallery.is-gallery-only {
  background: var(--stadtundspiel-cream);
}

.stadtundspiel-single-project__gallery.is-gallery-only h2 {
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  max-width: 20ch;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

#stadtundspiel-project-overview-title,
#stadtundspiel-project-products-title,
#stadtundspiel-project-gallery-title {
  scroll-margin-top: 6rem;
}

.stadtundspiel-single-project__gallery > h2::before {
  color: var(--stadtundspiel-green);
  content: "Projektgalerie";
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.stadtundspiel-single-project__gallery ul {
  display: grid;
  gap: 0.75rem;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.stadtundspiel-single-project__gallery li {
  grid-column: span 4;
}

.stadtundspiel-single-project__gallery li:first-child,
.stadtundspiel-single-project__gallery li:nth-child(5n + 1) {
  grid-column: span 8;
}

.stadtundspiel-single-project__gallery a {
  aspect-ratio: 4 / 3;
  border-radius: var(--stadtundspiel-radius-sm);
  display: block;
  overflow: hidden;
}

.stadtundspiel-single-project__gallery li:first-child a,
.stadtundspiel-single-project__gallery li:nth-child(5n + 1) a {
  aspect-ratio: 2 / 1;
}

.stadtundspiel-single-project__gallery img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1);
  width: 100%;
}

.stadtundspiel-single-project__gallery a:hover img,
.stadtundspiel-single-project__gallery a:focus-visible img {
  transform: scale(1.045);
}

@media (max-width: 900px) {
  body.single-showroom #mobile-header .elementor-element-43ba59c {
    display: none !important;
  }

  .stadtundspiel-single-project__overview,
  .stadtundspiel-single-project__products-header {
    grid-template-columns: 1fr;
  }

  .stadtundspiel-single-project__products-header > p {
    border-left: 0;
    border-top: 1px solid rgb(255 249 234 / 28%);
    padding: 1.5rem 0 0;
  }

  .stadtundspiel-single-project__products > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stadtundspiel-single-project__hero-content {
    min-height: 48rem;
  }

  .stadtundspiel-single-project__gallery li,
  .stadtundspiel-single-project__gallery li:first-child,
  .stadtundspiel-single-project__gallery li:nth-child(5n + 1) {
    grid-column: span 6;
  }

  .stadtundspiel-single-project__gallery li a,
  .stadtundspiel-single-project__gallery li:first-child a,
  .stadtundspiel-single-project__gallery li:nth-child(5n + 1) a {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  .stadtundspiel-single-project__hero,
  .stadtundspiel-single-project__hero-content {
    min-height: 100svh;
  }

  .stadtundspiel-single-project.is-gallery-project .stadtundspiel-single-project__hero,
  .stadtundspiel-single-project.is-gallery-project .stadtundspiel-single-project__hero-content {
    min-height: 82svh;
  }

  .stadtundspiel-single-project__featured::after {
    background: linear-gradient(0deg, rgb(9 20 15 / 92%) 0%, rgb(9 20 15 / 35%) 76%, rgb(9 20 15 / 45%) 100%);
  }

  .stadtundspiel-single-project__title {
    font-size: clamp(3rem, 17vw, 5.5rem);
  }

  .stadtundspiel-single-project__products > ul {
    grid-template-columns: 1fr;
  }

  .stadtundspiel-single-project__facts {
    gap: 1rem;
  }

  .stadtundspiel-single-project__manufacturers ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stadtundspiel-single-project__gallery li,
  .stadtundspiel-single-project__gallery li:first-child,
  .stadtundspiel-single-project__gallery li:nth-child(5n + 1) {
    grid-column: 1 / -1;
  }
}
