.themen-page {
  background: var(--color-soft-ice);
}

.themen-page a:focus-visible,
.themen-page button:focus-visible,
.themen-page input:focus-visible,
.themen-page select:focus-visible,
.themen-page textarea:focus-visible {
  outline: 2px solid var(--color-electric-cyan);
  outline-offset: 3px;
}

.themen-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5.5rem, 11vw, 10rem);
}

.themen-hero::before {
  position: absolute;
  width: 52vw;
  height: 2px;
  right: 40%;
  bottom: 25%;
  background: linear-gradient(90deg, transparent, var(--color-electric-cyan), transparent);
  content: "";
  transform: rotate(-17deg);
  transform-origin: right center;
}

.themen-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.themen-hero__copy,
.themen-hero__media,
.themen-concept__grid > *,
.themen-building__grid > *,
.themen-stations__layout > *,
.themen-occasions__grid > *,
.themen-process__list > *,
.themen-request-guide__grid > *,
.themen-next__layout > * {
  min-width: 0;
}

.themen-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  width: 100%;
  max-width: 32.5rem;
}

.themen-hero__copy > * {
  margin: 0;
}

.themen-hero h1 {
  max-width: 10.5ch;
  color: var(--color-white);
}

.themen-hero h1 span {
  color: var(--color-electric-cyan);
}

.themen-hero__intro {
  max-width: 58ch;
  color: var(--color-soft-ice);
  font-size: var(--text-intro);
  line-height: var(--leading-intro);
}

.themen-hero__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
}

.themen-hero__action p {
  max-width: 38ch;
  margin: 0;
  color: var(--color-champagne-silver);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.themen-hero__media {
  position: relative;
  width: calc(100% + min(8vw, 7rem));
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--color-electric-cyan) 62%, transparent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.themen-hero__media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-luminous-violet) 18%, transparent), transparent 45%);
  content: "";
  pointer-events: none;
}

.themen-hero__media img,
.themen-stations__media img,
.themen-scene__stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.themen-hero__media img {
  object-position: 68% center;
  transition: transform var(--duration-base) var(--ease-out);
}

@media (hover: hover) {
  .themen-hero__media:hover img {
    transform: scale(1.02);
  }
}

.themen-concept__head,
.themen-occasions__head,
.themen-request-guide__head {
  width: 50%;
  max-width: 46rem;
  margin-bottom: var(--space-8);
}

.themen-concept__head > :last-child,
.themen-occasions__head > :last-child,
.themen-request-guide__head > :last-child,
.themen-building__head > :last-child,
.themen-process__head > :last-child,
.themen-form-section__head > :last-child {
  margin-bottom: 0;
}

.themen-concept__head .text-intro,
.themen-occasions__head .text-intro,
.themen-request-guide__head .text-intro {
  max-width: 64ch;
}

.themen-concept__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.themen-concept__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
  min-height: 100%;
  padding: var(--space-6);
  border-top: 2px solid var(--color-electric-cyan);
  background: color-mix(in srgb, var(--color-white) 55%, transparent);
  transition: border-color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.themen-concept__card > * {
  margin: 0;
}

.themen-concept__card > span {
  color: var(--color-champagne-silver);
  font-family: var(--font-heading);
  font-size: var(--text-title-sm);
  font-weight: var(--weight-semibold);
}

.themen-concept__card p {
  max-width: 38ch;
}

.themen-concept__card a,
.themen-building__card a,
.themen-stations__modules a,
.themen-occasions__grid a {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  text-decoration-color: var(--color-electric-cyan);
}

.themen-concept__card a:hover,
.themen-building__card a:hover,
.themen-stations__modules a:hover,
.themen-occasions__grid a:hover {
  color: var(--color-electric-cyan);
}

@media (hover: hover) {
  .themen-concept__card:hover {
    border-color: var(--color-electric-cyan);
    transform: translateY(-2px);
  }
}

.themen-building {
  position: relative;
  overflow: hidden;
}

.themen-building::after {
  position: absolute;
  top: 15%;
  right: -15%;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-luminous-violet) 16%, transparent), transparent 68%);
  content: "";
  pointer-events: none;
}

.themen-building .container,
.themen-process .container {
  position: relative;
  z-index: 1;
}

.themen-building__head {
  width: 41.667%;
  max-width: 35rem;
  margin-bottom: var(--space-8);
}

.themen-building__head .text-intro {
  max-width: 56ch;
}

.themen-building__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
}

.themen-building__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
  padding: clamp(var(--space-5), 3vw, var(--space-7));
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  background: var(--color-midnight-elevated);
  color: var(--color-soft-ice);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.themen-building__card > * {
  margin: 0;
}

.themen-building__card p:not(.themen-label) {
  max-width: 36ch;
}

.themen-building__card h3 {
  color: var(--color-white);
}

.themen-building__card a {
  color: var(--color-electric-cyan);
}

.themen-building__card--space,
.themen-building__card--light {
  grid-column: span 5;
}

.themen-building__card--interaction {
  grid-column: 2 / span 7;
}

.themen-building__card--production {
  grid-column: 9 / span 4;
}

.themen-building__card--light {
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-luminous-violet) 20%, var(--color-midnight-elevated)), var(--color-midnight-elevated) 55%);
}

.themen-building__card--interaction {
  border-color: color-mix(in srgb, var(--color-electric-cyan) 65%, transparent);
}

@media (hover: hover) {
  .themen-building__card:hover {
    border-color: var(--color-electric-cyan);
    transform: translateY(-2px);
  }
}

.themen-label {
  color: var(--color-champagne-silver);
  font-size: var(--text-utility);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-utility);
  text-transform: uppercase;
}

.themen-stations__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 3rem);
}

.themen-stations__media {
  width: 100%;
  margin: 0;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.themen-stations__media img {
  object-position: center 45%;
}

.themen-stations__copy {
  width: 100%;
  max-width: 29.5rem;
  justify-self: end;
}

.themen-stations__copy > .eyebrow {
  margin-bottom: var(--space-3);
}

.themen-stations__copy > h2 {
  max-width: 17ch;
}

.themen-stations__modules {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-5);
}

.themen-stations__modules article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-dark);
}

.themen-stations__modules article:first-child {
  border-top-color: var(--color-electric-cyan);
}

.themen-stations__modules article > * {
  margin: 0;
}

.themen-stations__modules h3 {
  font-size: var(--text-card);
}

.themen-stations__modules p {
  max-width: 40ch;
}

.themen-stations__modules a {
  color: var(--color-electric-cyan);
}

.themen-occasions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.themen-occasions__grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
  min-height: 100%;
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-white) 50%, transparent);
}

.themen-occasions__grid article > * {
  margin: 0;
}

.themen-occasions__grid article p:not(.themen-label) {
  max-width: 42ch;
}

.themen-occasions__grid a {
  margin-top: auto;
}

.themen-occasions__card--violet {
  border-left: 3px solid var(--color-luminous-violet) !important;
}

.themen-process {
  position: relative;
  overflow: hidden;
}

.themen-process__head {
  width: 100%;
  max-width: 35rem;
  margin-bottom: var(--space-8);
}

.themen-process__head .text-intro {
  max-width: 54ch;
}

.themen-process__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
  padding: 0;
  list-style: none;
}

.themen-process__list::before {
  position: absolute;
  z-index: 0;
  top: 1.1rem;
  right: 8%;
  left: 8%;
  height: 1px;
  background: var(--color-electric-cyan);
  content: "";
}

.themen-process__list li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
}

.themen-process__list li > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--color-electric-cyan);
  border-radius: 50%;
  background: var(--color-midnight);
  color: var(--color-electric-cyan);
  font-family: var(--font-heading);
  font-size: var(--text-utility);
  font-weight: var(--weight-semibold);
}

.themen-process__list li > div {
  width: 100%;
}

.themen-process__list h3 {
  margin-bottom: var(--space-3);
  font-size: 1.25rem;
}

.themen-process__list p {
  max-width: 32ch;
  margin: 0;
  color: var(--color-text-on-dark-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.themen-scene {
  padding-top: 0;
}

.themen-scene__stage {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.themen-scene__stage::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--color-midnight) 92%, transparent) 0%, color-mix(in srgb, var(--color-midnight) 72%, transparent) 38%, transparent 68%);
  content: "";
  pointer-events: none;
}

.themen-scene__stage > img {
  object-position: 64% center;
}

.themen-scene__copy {
  position: absolute;
  z-index: 1;
  bottom: clamp(2rem, 5vw, 4rem);
  left: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 36%;
  min-width: 0;
}

.themen-scene__copy > * {
  margin: 0;
}

.themen-scene__copy h2 {
  max-width: 13ch;
  color: var(--color-white);
}

.themen-scene__copy p:not(.eyebrow) {
  max-width: 48ch;
  color: var(--color-soft-ice);
}

.themen-request-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.themen-request-guide__grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
}

.themen-request-guide__grid article > * {
  margin: 0;
}

.themen-request-guide__grid article p:not(.themen-label) {
  max-width: 42ch;
}

.themen-request-guide__note {
  margin: var(--space-6) 0 0;
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-electric-cyan);
  font-weight: var(--weight-medium);
}

.themen-form-section__head {
  width: 41.667%;
  max-width: 32.5rem;
  margin-bottom: var(--space-7);
}

.themen-form-section__head .text-intro {
  max-width: 56ch;
}

.themen-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  width: min(100%, 60rem);
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  background: var(--color-midnight-elevated);
  color: var(--color-soft-ice);
}

.themen-form > * {
  min-width: 0;
}

.themen-form__status,
.themen-form__summary,
.themen-form__field--occasion,
.themen-form__field--venue,
.themen-form__field--message,
.themen-form__submit {
  grid-column: 1 / -1;
}

.themen-form__status:empty,
.themen-form__summary:empty {
  display: none;
}

.themen-form__status {
  padding: var(--space-4);
  border-left: 2px solid var(--color-electric-cyan);
  background: color-mix(in srgb, var(--color-electric-cyan) 10%, transparent);
}

.themen-form__summary {
  padding: var(--space-4);
  border-left: 2px solid var(--color-restrained-coral);
  background: color-mix(in srgb, var(--color-restrained-coral) 10%, transparent);
}

.themen-form .field {
  width: 100%;
}

.themen-form__error {
  display: none;
  margin: 0;
  color: #ffd0ca;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  line-height: var(--leading-small);
}

.themen-form__error.is-visible {
  display: block;
}

.themen-form [aria-invalid="true"] {
  border-color: var(--color-restrained-coral);
}

.themen-form__submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
  padding-top: var(--space-2);
}

.themen-form__submit .check-control {
  width: 100%;
  max-width: 52rem;
}

.themen-form__privacy {
  max-width: 58ch;
  margin: 0;
  color: var(--color-text-on-dark-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.themen-form__privacy a,
.themen-form__submit .check-control a {
  color: var(--color-electric-cyan);
}

.themen-next {
  position: relative;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--color-electric-cyan) 60%, transparent);
}

.themen-next__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2rem, 7vw, 6rem);
}

.themen-next__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
}

.themen-next__copy > * {
  margin: 0;
}

.themen-next__copy h2 {
  max-width: 16ch;
  color: var(--color-white);
}

.themen-next__copy p:not(.eyebrow) {
  max-width: 50ch;
  color: var(--color-text-on-dark-muted);
}

.themen-next__links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  width: 100%;
}

.themen-next__links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: var(--space-3);
  row-gap: var(--space-1);
  align-items: center;
  width: 100%;
  min-height: 4.5rem;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-dark);
  color: var(--color-soft-ice);
  text-decoration: none;
}

.themen-next__links span {
  grid-row: 1 / span 2;
  color: var(--color-champagne-silver);
  font-size: var(--text-utility);
  letter-spacing: var(--tracking-label);
}

.themen-next__links strong,
.themen-next__links small {
  min-width: 0;
}

.themen-next__links strong {
  font-family: var(--font-heading);
  font-size: var(--text-intro);
}

.themen-next__links small {
  color: var(--color-text-on-dark-muted);
}

.themen-next__links b {
  grid-row: 1 / span 2;
  color: var(--color-electric-cyan);
  transition: transform var(--duration-base) var(--ease-out);
}

@media (hover: hover) {
  .themen-next__links a:hover b {
    transform: translateX(4px);
  }
}

@media (max-width: 73.74rem) {
  .themen-process__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: var(--space-7);
  }

  .themen-process__list::before {
    display: none;
  }

  .themen-building__card--interaction {
    grid-column: 1 / span 7;
  }

  .themen-building__card--production {
    grid-column: 8 / span 5;
  }
}

@media (max-width: 67.49rem) {
  .themen-hero__layout,
  .themen-stations__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .themen-hero__copy,
  .themen-stations__copy {
    max-width: 34rem;
    justify-self: start;
  }

  .themen-hero__media {
    width: 100%;
  }

  .themen-stations__media {
    max-width: 43rem;
  }

  .themen-stations__copy h2 {
    max-width: 22ch;
  }
}

@media (max-width: 63.99rem) {
  .themen-concept__grid,
  .themen-request-guide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .themen-concept__grid > :nth-child(3),
  .themen-request-guide__grid > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .themen-building__head,
  .themen-form-section__head {
    width: 50%;
  }

  .themen-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .themen-form > * {
    grid-column: 1;
  }

  .themen-next__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 59.99rem) {
  .themen-building__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .themen-building__card--space,
  .themen-building__card--light,
  .themen-building__card--interaction,
  .themen-building__card--production {
    grid-column: auto;
  }

  .themen-scene {
    padding-top: var(--section-space);
  }

  .themen-scene .container {
    width: 100%;
  }

  .themen-scene__stage {
    border-radius: 0;
    overflow: visible;
    aspect-ratio: auto;
  }

  .themen-scene__stage::after {
    display: none;
  }

  .themen-scene__stage > img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-position: 62% center;
  }

  .themen-scene__copy {
    position: static;
    width: min(100% - (2 * var(--gutter)), var(--container-max));
    margin: 0 auto;
    padding-top: var(--space-6);
  }
}

@media (max-width: 51.24rem) {
  .themen-process__list {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .themen-process__list::before {
    display: block;
    top: 1.125rem;
    bottom: 1.125rem;
    left: 1.1rem;
    width: 1px;
    height: auto;
  }

  .themen-process__list li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: var(--space-4);
  }

  .themen-process__list h3 {
    font-size: var(--text-card);
  }

  .themen-process__list p {
    max-width: 44ch;
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }
}

@media (max-width: 47.99rem) {
  .themen-hero {
    padding-block: var(--section-space);
  }

  .themen-hero::before {
    top: auto;
    right: auto;
    bottom: 1.5rem;
    left: var(--gutter);
    width: 3rem;
    height: 2px;
    transform: none;
  }

  .themen-hero__layout {
    gap: var(--space-6);
  }

  .themen-hero__copy {
    gap: var(--space-5);
  }

  .themen-hero h1 {
    max-width: 9.5ch;
  }

  .themen-hero__intro {
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }

  .themen-hero__media {
    aspect-ratio: 4 / 5;
  }

  .themen-hero__media img {
    object-position: 64% center;
  }

  .themen-concept__head,
  .themen-building__head,
  .themen-occasions__head,
  .themen-request-guide__head,
  .themen-form-section__head,
  .themen-process__head {
    width: 100%;
    margin-bottom: var(--space-6);
  }

  .themen-concept__grid,
  .themen-building__grid,
  .themen-occasions__grid,
  .themen-request-guide__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .themen-concept__grid > :nth-child(3),
  .themen-request-guide__grid > :nth-child(3) {
    grid-column: auto;
  }

  .themen-concept__card,
  .themen-occasions__grid article {
    padding: var(--space-5);
  }

  .themen-building__card--space,
  .themen-building__card--light,
  .themen-building__card--interaction,
  .themen-building__card--production {
    grid-column: auto;
  }

  .themen-stations__layout {
    gap: var(--space-6);
  }

  .themen-stations__copy h2 {
    max-width: 18ch;
  }

  .themen-stations__media {
    max-width: none;
  }

  .themen-scene__copy h2 {
    max-width: 15ch;
    font-size: clamp(2.125rem, 10vw, 3rem);
  }

  .themen-form {
    padding: var(--space-5);
    gap: var(--space-5);
  }

  .themen-next__layout {
    gap: var(--space-6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .themen-hero__media img,
  .themen-concept__card,
  .themen-building__card,
  .themen-next__links b {
    transition-property: color, background-color, border-color, opacity;
  }

  .themen-hero__media:hover img,
  .themen-concept__card:hover,
  .themen-building__card:hover,
  .themen-next__links a:hover b {
    transform: none;
  }
}
