:root,
:root[data-palette=green] {
  --ht-grund:#f4f3ee;
  --ht-karte:#fbfaf6;
  --ht-papier:#dce5b5;
  --ht-strich:#1e2024;
  --ht-akzent:#86a315;
}
:root[data-palette=lime-dark] {
  --ht-grund:#1e2024;
  --ht-karte:#292c2b;
  --ht-papier:#9fb85a;
  --ht-strich:#f4f3ef;
  --ht-akzent:#c6e36b;
}
html[data-hero=halftone] body {
  background: var(--ht-grund);
}
html[data-hero=halftone] .combination .graphic-card::before {
  background: var(--ht-karte);
}
html[data-hero=halftone] .combination .graphic-card {
  color: var(--ink);
}
html[data-hero=halftone] .combination .graphic-fleet-picture::before {
  display: none;
}
.ht-stage {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}
.ht-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: visible;
}
.ht-figur {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
}
.combination .graphic-card-picture .ht-figur,
.combination .graphic-team-picture .ht-figur,
.combination .graphic-fleet-picture .ht-figur {
  filter: none;
}
.ht-papier {
  fill: var(--ht-papier);
}
.ht-kontur {
  fill: none;
  stroke: var(--ht-strich);
  stroke-width: 1.4;
  transform: translate(8px, -6px);
}
.ht-linie {
  fill: none;
  stroke: var(--ht-strich);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.ht-punkt {
  fill: var(--ht-strich);
}
.ht-haken > circle {
  fill: var(--ht-papier);
  stroke: var(--ht-strich);
  stroke-width: 1.4;
}
.ht-ring {
  fill: none;
  stroke: var(--ht-strich);
  stroke-width: 1.6;
}
.ht-limette {
  fill: var(--ht-akzent);
}
.combination .graphic-hero-picture .ht-stage {
  position: absolute;
  inset: 0;
}
.ht-hero .ht-figur {
  width: 100%;
  height: 100%;
}
.graphic-team-picture .ht-stage {
  aspect-ratio: 4/3;
  height: auto;
}
.graphic-fleet-picture .ht-stage {
  aspect-ratio: 16/9;
  height: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .ht-form {
    transform-box: fill-box;
    transform-origin: 50% 60%;
    transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .6s ease;
  }
  .ht-figur {
    transition: transform .9s cubic-bezier(.2, .8, .2, 1) .1s, opacity .6s ease .1s;
  }
  .ht-linie {
    transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1) .4s;
  }
  .ht-haken .ht-linie {
    transition-delay: 1s;
    transition-duration: .5s;
  }
  .ht-punkt,
  .ht-limette,
  .ht-ring,
  .ht-haken > circle {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(.5s + var(--i,0) * 40ms), opacity .3s ease calc(.5s + var(--i,0) * 40ms);
  }
  .ht-limette {
    transition-delay: calc(.9s + var(--i,0) * 120ms);
  }
  .ht-stage:not(.is-in) .ht-form {
    opacity: 0;
    transform: scale(.84) rotate(-6deg);
  }
  .ht-stage:not(.is-in) .ht-figur {
    opacity: 0;
    transform: translateY(24px);
  }
  .ht-stage:not(.is-in) .ht-linie {
    stroke-dashoffset: 1;
  }
  .ht-stage:not(.is-in) :is(.ht-punkt, .ht-limette, .ht-ring, .ht-haken > circle) {
    opacity: 0;
    transform: scale(0);
  }
  .ht-stage.is-ruhig .ht-limette {
    animation: ht-atmen 2.8s ease-in-out calc(var(--i,0) * 300ms) infinite;
  }
  @keyframes ht-atmen {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-4px);
    }
  }
  .graphic-card:has(a:hover) .ht-form {
    transform: rotate(3deg) scale(1.03);
  }
}
html[data-hero=halftone] .combination .graphic-card::before {
  inset: 0;
}
html[data-hero=halftone] .combination .graphic-card {
  padding-bottom: 0;
  overflow: hidden;
  border-radius: 18px;
}
