.dcs-hero {
  --dcs-mint: #bddcd9;
  --dcs-ink: #0d1416;
  --dcs-white: #fff;
  --dcs-loop: 28s;
  --dcs-step: 7s;
  --dcs-height: 600px;
  --dcs-image-max: 1536px;
  --dcs-gutter: 32px;
  --dcs-max-width: 1200px;

  container-type: inline-size;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  max-width: none;
  height: var(--dcs-height);
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--dcs-ink);
  color: var(--dcs-white);
  font-family: inherit;
  line-height: normal;
  text-align: left;
}

.dcs-hero [class*="dcs-"] {
  float: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-align: inherit;
  text-indent: 0;
  text-transform: none;
  text-decoration: none;
  vertical-align: baseline;
}

.dcs-hero *,
.dcs-hero *::before,
.dcs-hero *::after {
  box-sizing: border-box;
}

.dcs-hero .dcs-hero__slides {
  position: absolute;
  inset: 0;
}

.dcs-hero .dcs-hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  animation: dcs-slide var(--dcs-loop) linear infinite;
}

.dcs-hero .dcs-hero__slide img {
  display: block;
  position: absolute;
  inset: 0;
  width: min(100%, var(--dcs-image-max));
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  animation: dcs-zoom var(--dcs-loop) linear infinite;
  animation-delay: inherit;
}

.dcs-hero .dcs-hero__slide--winter img    { object-position: 50% 20%; transform-origin: 80% 25%; }
.dcs-hero .dcs-hero__slide--lobby img     { object-position: 50% 20%; transform-origin: 72% 18%; }
.dcs-hero .dcs-hero__slide--konferenz img { object-position: 50% 50%; transform-origin: 72% 50%; }
.dcs-hero .dcs-hero__slide--praxis img    { object-position: 50% 50%; transform-origin: 78% 40%; }

@container (min-width: 1537px) {
  .dcs-hero .dcs-hero__slide img {
    mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  }
}

.dcs-hero .dcs-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(8, 14, 16, 0.64) 0%,
    rgba(8, 14, 16, 0.48) 34%,
    rgba(8, 14, 16, 0.12) 56%,
    rgba(8, 14, 16, 0) 72%
  );
}

.dcs-hero .dcs-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  max-width: var(--dcs-max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--dcs-gutter);
}

.dcs-hero .dcs-hero__title {
  max-width: 780px;
  margin: 0;
  padding: 0;
  color: var(--dcs-white);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-align: left;
  text-transform: none;
  animation: dcs-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.dcs-hero .dcs-hero__title,
.dcs-hero .dcs-hero__words {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38), 0 1px 3px rgba(0, 0, 0, 0.25);
}

.dcs-hero .dcs-hero__words {
  position: relative;
  height: 40px;
  max-width: 780px;
  margin: 0;
  padding: 0;
  color: var(--dcs-mint);
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 500;
  animation: dcs-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}

.dcs-hero .dcs-hero__word {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  opacity: 0;
  animation: dcs-word var(--dcs-loop) cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.dcs-hero .dcs-hero__word--lead {
  color: var(--dcs-white);
}

.dcs-hero .dcs-hero__accent {
  color: var(--dcs-mint);
}

.dcs-hero .dcs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  animation: dcs-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both;
}

.dcs-hero .dcs-hero__button:is(:link, :visited, :hover, :focus, :active) {
  display: inline-block;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dcs-hero .dcs-hero__button:focus-visible {
  outline: 2px solid var(--dcs-mint);
  outline-offset: 3px;
}

.dcs-hero .dcs-hero__button--primary:is(:link, :visited, :hover, :focus, :active) {
  padding: 15px 24px;
  border: 0;
  background: var(--dcs-mint);
  color: var(--dcs-ink);
  font-weight: 700;
  text-decoration: none;
}

.dcs-hero .dcs-hero__button--primary:hover {
  background: var(--dcs-white);
}

.dcs-hero .dcs-hero__button--secondary:is(:link, :visited, :hover, :focus, :active) {
  padding: 14px 23px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--dcs-white);
  font-weight: 600;
  text-decoration: none;
}

.dcs-hero .dcs-hero__button--secondary:hover {
  border-color: var(--dcs-white);
}

.dcs-hero .dcs-hero__controls {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 3;
}

.dcs-hero .dcs-hero__controls-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--dcs-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.dcs-hero .dcs-hero__bar {
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.dcs-hero .dcs-hero__bar::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--dcs-white);
  transform: scaleX(0);
  transform-origin: left center;
  animation: dcs-bar var(--dcs-loop) linear infinite;
}

.dcs-hero .dcs-hero__pause {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  margin: 0 0 0 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  box-shadow: none;
  color: var(--dcs-white);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.dcs-hero .dcs-hero__pause[hidden] {
  display: none;
}

.dcs-hero .dcs-hero__pause:hover,
.dcs-hero .dcs-hero__pause:active {
  border-color: var(--dcs-white);
  background: rgba(0, 0, 0, 0.15);
  color: var(--dcs-white);
}

.dcs-hero .dcs-hero__pause:focus-visible {
  outline: 2px solid var(--dcs-mint);
  outline-offset: 2px;
}

.dcs-hero .dcs-hero__pause svg {
  width: 12px;
  height: 12px;
  margin: 0;
  fill: currentcolor;
}

.dcs-hero .dcs-hero__icon-play,
.dcs-hero.dcs-is-paused .dcs-hero__icon-pause {
  display: none;
}

.dcs-hero.dcs-is-paused .dcs-hero__icon-play {
  display: block;
}

.dcs-hero .dcs-hero__note {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 3;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.dcs-hero .dcs-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.dcs-hero .dcs-hero__slide:nth-child(2),
.dcs-hero .dcs-hero__word:nth-child(2),
.dcs-hero .dcs-hero__bar:nth-child(2)::after { animation-delay: calc(var(--dcs-step) * 1); }

.dcs-hero .dcs-hero__slide:nth-child(3),
.dcs-hero .dcs-hero__word:nth-child(3),
.dcs-hero .dcs-hero__bar:nth-child(3)::after { animation-delay: calc(var(--dcs-step) * 2); }

.dcs-hero .dcs-hero__slide:nth-child(4),
.dcs-hero .dcs-hero__word:nth-child(4),
.dcs-hero .dcs-hero__bar:nth-child(4)::after { animation-delay: calc(var(--dcs-step) * 3); }

.dcs-hero.dcs-is-paused .dcs-hero__slide,
.dcs-hero.dcs-is-paused .dcs-hero__slide img,
.dcs-hero.dcs-is-paused .dcs-hero__word,
.dcs-hero.dcs-is-paused .dcs-hero__bar::after,
.dcs-hero.dcs-is-offscreen .dcs-hero__slide,
.dcs-hero.dcs-is-offscreen .dcs-hero__slide img,
.dcs-hero.dcs-is-offscreen .dcs-hero__word,
.dcs-hero.dcs-is-offscreen .dcs-hero__bar::after {
  animation-play-state: paused;
}

@keyframes dcs-slide {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes dcs-zoom {
  0%   { transform: scale(1.01); }
  29%  { transform: scale(1.08); }
  100% { transform: scale(1.08); }
}

@keyframes dcs-word {
  0%   { opacity: 0; transform: translateY(24px); }
  4%   { opacity: 1; transform: none; }
  23%  { opacity: 1; transform: none; }
  26%  { opacity: 0; transform: translateY(-18px); }
  100% { opacity: 0; }
}

@keyframes dcs-bar {
  0%           { transform: scaleX(0); }
  25%          { transform: scaleX(1); }
  25.01%, 100% { transform: scaleX(0); }
}

@keyframes dcs-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .dcs-hero {
    --dcs-height: 620px;
    --dcs-gutter: 16px;
  }

  .dcs-hero .dcs-hero__shade {
    background: linear-gradient(
      0deg,
      rgba(8, 14, 16, 0.78) 0%,
      rgba(8, 14, 16, 0.5) 45%,
      rgba(8, 14, 16, 0.06) 75%
    );
  }

  .dcs-hero .dcs-hero__content {
    justify-content: flex-end;
    padding-bottom: 72px;
  }

  .dcs-hero .dcs-hero__words {
    height: 68px;
  }

  .dcs-hero .dcs-hero__word {
    right: 0;
    white-space: normal;
  }

  .dcs-hero .dcs-hero__slide--winter img    { object-position: 78% 50%; }
  .dcs-hero .dcs-hero__slide--lobby img     { object-position: 74% 50%; }
  .dcs-hero .dcs-hero__slide--konferenz img { object-position: 66% 50%; }
  .dcs-hero .dcs-hero__slide--praxis img    { object-position: 72% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .dcs-hero .dcs-hero__slide img,
  .dcs-hero .dcs-hero__title,
  .dcs-hero .dcs-hero__words,
  .dcs-hero .dcs-hero__actions {
    animation: none;
  }

  .dcs-hero .dcs-hero__word {
    animation-name: dcs-word-fade;
  }

  @keyframes dcs-word-fade {
    0%, 100% { opacity: 0; }
    4%, 23%  { opacity: 1; }
    26%      { opacity: 0; }
  }
}
