/* Studio Nussbaum · Effekte für diese Seite */
.sn-wp {
  --sn-accent: #fff000;
  --sn-heading-color: #090909;
  --sn-gutter: clamp(1.3rem, 5vw, 5rem);
}
.sn-wp :is(.sn-journey, .sn-process, .sn-contact-cover, .sn-address) {
  --sn-heading-color: #fff;
}
.sn-wp :is(h1, h2, h3, h4, h5, h6):not(.has-text-color) {
  color: var(--sn-heading-color);
}
.sn-wp :where(.sn-section h2, .sn-scene-title) { text-wrap: pretty; }
.sn-wp .sn-section { position: relative; }
.sn-wp .sn-marker em {
  color: inherit;
  font-style: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: linear-gradient(transparent 72%, var(--sn-accent) 72% 93%, transparent 93%);
}
.sn-wp .sn-process .sn-marker em { background: none; box-shadow: inset 0 -.09em var(--sn-accent); }
.sn-wp .sn-label::before {
  content: "";
  display: inline-block;
  width: 1.45em;
  height: .19em;
  margin-inline-end: .72em;
  vertical-align: .28em;
  background: var(--sn-accent);
}
.sn-wp .sn-contact-panel .sn-label::before { background: currentColor; }
.sn-wp .sn-row { border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent); }
.sn-wp .sn-about, .sn-wp .sn-process { z-index: 1; overflow: visible; }
.sn-wp .sn-number {
  position: absolute;
  z-index: 1;
  right: var(--sn-gutter);
  bottom: 0;
  transform: translateY(48%);
  margin: 0;
  color: #000;
  opacity: .15;
  pointer-events: none;
}
.sn-wp .sn-number-dark {
  color: transparent;
  background: linear-gradient(#fff 0 50%, #000 50% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: .28;
}

.sn-wp .sn-journey > .wp-block-group__inner-container,
.sn-wp .sn-stage > .wp-block-group__inner-container { display: contents; }
.sn-wp .sn-stage { position: relative; isolation: isolate; }
.sn-wp .sn-scene { background: #090909; }
.sn-wp .sn-scene > .wp-block-cover__image-background {
  inset: 0 0 0 auto;
  width: 53%;
  filter: saturate(.67);
}
.sn-wp .sn-stage .sn-label, .sn-wp .sn-scene-title em { color: var(--sn-accent); font-style: normal; }
.sn-wp .sn-scene-intro { max-width: 32ch; }
.sn-wp .sn-scene .wp-block-cover__inner-container { position: relative; z-index: 3; }
.sn-wp .sn-stage-nav { display: none; }
.sn-wp .sn-journey.sn-motion {
  --sn-nav-bottom: calc(clamp(1rem, 3svh, 2rem) + env(safe-area-inset-bottom, 0px));
  min-height: 355svh;
  position: relative;
  overflow-anchor: none;
}
.sn-wp .sn-motion .sn-stage { position: sticky; top: var(--sn-sticky-top, 0px); height: calc(100svh - var(--sn-sticky-top, 0px)); }
.sn-wp .sn-motion .sn-stage.sn-pin-fallback {
  position: relative;
  top: auto;
  transform: translateY(var(--sn-pin-offset, 0px));
}
.sn-wp .sn-motion .sn-stage.sn-pin-fixed {
  position: fixed;
  top: var(--sn-sticky-top, 0px);
  left: var(--sn-pin-left);
  width: var(--sn-pin-width);
  box-sizing: border-box;
  margin: 0;
  transform: none;
}
.sn-wp .sn-motion .sn-scene {
  position: absolute;
  inset: 0;
  min-height: 0 !important;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
}
.sn-wp .sn-motion .sn-scene.sn-active { opacity: 1; visibility: visible; }
.sn-wp .sn-motion .sn-scene.sn-active:not(:first-child) { animation: sn-chapter-in .4s ease both; }
@keyframes sn-chapter-in { from { opacity: .45; } to { opacity: 1; } }
.sn-wp .sn-ribbon {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .58;
  mix-blend-mode: screen;
  pointer-events: none;
}
.sn-wp .sn-motion .sn-stage-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 4;
  inset: auto var(--sn-gutter) var(--sn-nav-bottom);
  box-sizing: border-box;
  gap: .5rem;
  margin: 0;
  padding: .375rem 0;
  border-top: 1px solid #fff5;
}
.sn-wp .sn-stage-nav > .wp-block-group__inner-container { display: contents; }
.sn-wp .sn-stage-nav p { margin: 0; }
.sn-wp .sn-stage-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  line-height: 1.25;
  color: #fff;
  text-decoration: none;
}
.sn-wp .sn-stage-nav a:hover, .sn-wp .sn-stage-nav a[aria-current="step"] { color: var(--sn-accent); }
.sn-wp .sn-stage-nav .sn-chapters { white-space: nowrap; }
.sn-wp .sn-stage-nav .sn-chapters a { padding-inline: .38rem; }
.sn-wp .sn-chapters::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: .65rem;
  width: 3.3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--sn-accent) var(--sn-progress, 0%), #fff5 var(--sn-progress, 0%));
}
.sn-wp .sn-contact-image > .wp-block-cover { height: 100%; }
.sn-wp .sn-contact-panel a { color: inherit; }
.sn-wp .sn-contact-cover > .wp-block-cover__image-background { filter: saturate(.65); }
@media (max-width: 781px) {
  .sn-wp .sn-scene > .wp-block-cover__image-background { width: 74%; }
  .sn-wp .sn-motion .sn-scene { align-items: end; }
  .sn-wp .sn-motion .sn-scene .wp-block-cover__inner-container {
    margin-block-end: var(--sn-nav-bottom);
  }
  .sn-wp .sn-chapters::after { display: none; }
  .sn-wp .sn-contact-image > .wp-block-cover { height: auto; }
}

/* Startseitenmenü. Die Links und der Schriftzug kommen aus Gutenberg. */
.sn-wp .sn-journey { position: relative; }
.sn-wp .sn-header {
  position: absolute;
  z-index: 5;
  inset-block-start: 0;
  inset-inline: clamp(1.1rem, 2.3vw, 2.5rem);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0;
  padding-block: clamp(.62rem, 1.3vw, 1.125rem) clamp(.8rem, 2vw, 1.5rem);
  border-block-end: 1px solid #fff4;
}
.sn-wp .sn-header > .wp-block-group__inner-container { display: contents; }
.sn-wp .sn-header .sn-header-brand {
  margin: 0;
  white-space: nowrap;
}
.sn-wp .sn-header .sn-header-nav { min-width: 0; margin: 0; }
.sn-wp .sn-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
  /* WordPress saves the overlay background as an inline style. */
  background: transparent !important;
}
.sn-wp .sn-header .sn-header-brand a,
.sn-wp .sn-header .wp-block-navigation-item__content {
  color: inherit;
  text-decoration: none;
}
.sn-wp .sn-header :is(.sn-header-brand a, .wp-block-navigation-item__content):hover { color: var(--sn-accent); }
.sn-wp .sn-header :is(a, button):focus-visible {
  outline: 2px solid var(--sn-accent);
  outline-offset: 4px;
}
.sn-wp .sn-header .sn-header-contact > a {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: .85rem 1.05rem;
  border: 1px solid #fff7;
}
.sn-wp .sn-header .sn-header-contact > a::after {
  content: "";
  inline-size: .55em;
  block-size: .55em;
  border-block-start: 1px solid;
  border-inline-end: 1px solid;
}
@media (max-width: 780px) {
  .sn-wp .sn-header .wp-block-navigation__responsive-container-open { display: flex; }
  .sn-wp .sn-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .sn-wp .sn-header .wp-block-navigation__responsive-container-open {
    min-inline-size: 2.75rem;
    min-block-size: 2.75rem;
    align-items: center;
    justify-content: center;
  }
  .sn-wp .sn-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    align-items: flex-start;
    gap: 1.5rem;
  }
}
