.stadtundspiel-legal-page {
  background: var(--stadtundspiel-cream);
  color: var(--stadtundspiel-forest);
}

.stadtundspiel-legal-hero {
  background: var(--stadtundspiel-moss);
  color: var(--stadtundspiel-forest);
  min-height: clamp(25rem, 46vw, 34rem);
  overflow: hidden;
  position: relative;
}

.stadtundspiel-legal-hero::after {
  color: rgb(23 35 29 / 7%);
  font-size: clamp(15rem, 34vw, 31rem);
  font-weight: 600;
  line-height: 0.72;
  pointer-events: none;
  position: absolute;
  right: -0.03em;
  top: 0.1em;
}

.stadtundspiel-legal-hero--impressum::after {
  content: "§";
}

.stadtundspiel-legal-hero--datenschutz::after {
  content: "§";
}

.stadtundspiel-legal-hero > .e-con-inner {
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.stadtundspiel-legal-hero .stadtundspiel-section-title {
  max-width: 78rem;
}

.stadtundspiel-legal-hero .stadtundspiel-section-title__subtitle {
  --stadtundspiel-section-title-accent: var(--stadtundspiel-green);
}

.stadtundspiel-legal-hero .stadtundspiel-section-title__title {
  max-width: 14ch;
}

.stadtundspiel-legal-layout {
  align-items: flex-start;
}

.stadtundspiel-legal-aside {
  align-self: flex-start;
  position: sticky;
  top: 6rem;
}

.stadtundspiel-legal-aside__label .elementor-heading-title {
  align-items: center;
  color: var(--stadtundspiel-green) !important;
  display: flex;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  gap: 0.8rem;
  letter-spacing: 0.16em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.stadtundspiel-legal-aside__label .elementor-heading-title::before {
  background: var(--stadtundspiel-project-red);
  content: "";
  flex: 0 0 2.5rem;
  height: 2px;
}

.stadtundspiel-legal-nav {
  margin-top: 1.5rem;
}

.stadtundspiel-legal-nav .elementor-icon-list-items {
  display: flex !important;
  flex-direction: column;
}

.stadtundspiel-legal-nav .elementor-icon-list-item {
  border-bottom: 1px solid rgb(23 35 29 / 15%);
  margin: 0 !important;
}

.stadtundspiel-legal-nav .elementor-icon-list-item a {
  align-items: center;
  color: var(--stadtundspiel-forest) !important;
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  line-height: 1.35;
  padding: 0.9rem 0;
  text-decoration: none;
  transition: color 150ms ease, padding-left 150ms ease;
  width: 100%;
}

.stadtundspiel-legal-nav .elementor-icon-list-item a::after {
  color: var(--stadtundspiel-project-red);
  content: "↘";
  flex: 0 0 auto;
  margin-left: 1rem;
}

.stadtundspiel-legal-nav .elementor-icon-list-item a:hover,
.stadtundspiel-legal-nav .elementor-icon-list-item a:focus-visible {
  color: var(--stadtundspiel-green) !important;
  padding-left: 0.35rem;
}

.stadtundspiel-legal-section {
  border-top: 1px solid rgb(23 35 29 / 18%);
  scroll-margin-top: 6rem;
}

.stadtundspiel-legal-section:first-child {
  border-top-color: var(--stadtundspiel-project-red);
  border-top-width: 2px;
}

.stadtundspiel-legal-section__title .elementor-heading-title {
  color: var(--stadtundspiel-forest) !important;
  font-size: clamp(1.65rem, 2.5vw, 2.4rem) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.05 !important;
  margin: 0 !important;
}

.stadtundspiel-legal-section__copy,
.stadtundspiel-legal-section__copy p,
.stadtundspiel-legal-section__copy li,
.stadtundspiel-legal-section__list .elementor-icon-list-text {
  color: rgb(23 35 29 / 78%);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.72;
}

.stadtundspiel-legal-section__copy p {
  margin: 0;
}

.stadtundspiel-legal-section__copy :is(p + p, p + ul, ul + p) {
  margin-top: 1.35rem;
}

.stadtundspiel-legal-section__copy ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.stadtundspiel-legal-section__copy li + li {
  margin-top: 0.45rem;
}

.stadtundspiel-legal-section__copy u {
  color: var(--stadtundspiel-forest);
  font-weight: 700;
  text-decoration: none;
}

.stadtundspiel-legal-section__copy a,
.stadtundspiel-legal-section__list a {
  color: var(--stadtundspiel-green) !important;
  text-decoration-color: rgb(24 108 72 / 42%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.stadtundspiel-legal-section__copy a:hover,
.stadtundspiel-legal-section__copy a:focus-visible,
.stadtundspiel-legal-section__list a:hover,
.stadtundspiel-legal-section__list a:focus-visible {
  color: var(--stadtundspiel-project-red) !important;
}

.stadtundspiel-legal-section__list .elementor-icon-list-items {
  display: grid !important;
  gap: 0.7rem;
}

.stadtundspiel-legal-section__brand img {
  height: auto;
  max-width: 14rem;
  width: 100%;
}

.stadtundspiel-legal-meta p {
  color: rgb(23 35 29 / 52%);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .stadtundspiel-legal-layout > .e-con-inner {
    flex-direction: column;
  }

  .stadtundspiel-legal-aside,
  .stadtundspiel-legal-sections {
    width: 100% !important;
  }

  .stadtundspiel-legal-aside {
    position: static;
  }

  .stadtundspiel-legal-nav .elementor-icon-list-items {
    display: grid !important;
    gap: 0 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .stadtundspiel-legal-hero {
    min-height: 23rem;
  }

  .stadtundspiel-legal-nav .elementor-icon-list-items {
    grid-template-columns: 1fr;
  }

  .stadtundspiel-legal-section__title .elementor-heading-title {
    font-size: clamp(1.55rem, 8vw, 2rem) !important;
  }
}
