/*
 * ef11 "Kontakt U-Boot". Proportions from the Figma drawing (996 × 553):
 * body 600 × 299 from y 241, tower 320 × 241 at x 268, tail 396 × 326 from
 * x 600 and y 227. cqw units refer to the width of .ef-sub__boat.
 * Colours come from the theme tokens; the sea uses --color-sea-* (ef11.pcss).
 */
.ef-sub {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 3rem 7rem;
  background-image: linear-gradient(to bottom, var(--color-sea-turquoise), var(--color-sea-blue));
}

.ef-sub__boat {
  container-type: inline-size;
  max-width: 62.25rem;
  margin-inline: auto;
}

/* Small screens: the nose comes in from the left, the rest runs off screen. */
.ef-sub__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 15rem;
  margin-top: 8rem;
  margin-right: -1rem;
  padding: 2.5rem 1.25rem 2.5rem 7rem;
  border-radius: 9999px 0 0 9999px;
  background-color: var(--color-base-100);
  color: var(--color-base-content);
}

.ef-sub__tower {
  position: absolute;
  bottom: calc(100% - 1px);
  right: 0;
  width: 9rem;
  height: auto;
  max-width: none;
}

.ef-sub__tail,
.ef-sub__person {
  display: none;
}

.ef-sub__content,
.ef-sub__person {
  position: relative;
  z-index: 1;
}

.ef-sub__content {
  display: grid;
  gap: 1.5rem;
}

.ef-sub__title {
  font-size: 1.25rem;
  line-height: 1.625rem;
}

/* Figma body-reg 18/30; headings an editor puts into the text stay at the
   size of the title (h4 24/31), so they do not outgrow the hull. */
.ef-sub__text {
  font-size: 1.125rem;
  line-height: 1.875rem;

  & > * + * {
    margin-top: 0.75rem;
  }

  & :is(h2, h3, h4) {
    font-size: 1.5rem;
    line-height: 1.9375rem;
  }
}

.ef-sub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
}


@media (width >= 48rem) {
  .ef-sub {
    padding-block: 5rem 10rem;
  }

  .ef-sub__title {
    font-size: 1.5rem;
    line-height: 1.9375rem;
  }
}

/* Large screens: the whole submarine, docked parts scale with the boat. */
@media (width >= 64rem) {
  /* Figma "CTA U-Boot" 11/2026: person from x 63 (150 wide), text 30 beside
     it and 549 wide, so it runs into the tail. The highlight at the bow is
     cut out of the hull (highlight.svg), the sea shows through. The bow is
     a half circle of the body height, so the highlight scales with that
     height: 6.3 % from the top, 49.7 % high, 6.2 % of the height from the
     left (the translate, 11.6 % of its own width). */
  .ef-sub__body {
    flex-direction: row;
    align-items: center;
    gap: 3.01cqw;
    min-height: 30cqw;
    margin-top: 24.2cqw;
    margin-right: 39.76cqw;
    padding: 3rem 1rem 3rem 6.33cqw;

    &::after {
      content: "";
      position: absolute;
      top: 6.3%;
      left: 0;
      height: 49.7%;
      aspect-ratio: 158.83 / 148.09;
      translate: 11.6% 0;
      background-color: color-mix(in oklab, var(--color-sea-turquoise), var(--color-sea-blue) 40%);
      mask: url(highlight.svg) center / 100% 100% no-repeat;
    }
  }

  .ef-sub__tower {
    left: 26.9cqw;
    right: auto;
    width: 32.13cqw;
  }

  .ef-sub__tail {
    display: block;
    position: absolute;
    left: calc(100% - 1px);
    top: -4.68%;
    height: 109%;
    width: auto;
    max-width: none;
  }

  /* As in Figma, the text is 549 of 996 wide and runs on into the tapering
     tail (to x 792). */
  .ef-sub__content {
    flex: none;
    width: 55.12cqw;
  }

  .ef-sub__person {
    display: grid;
    width: 15.06cqw;
    justify-items: center;
    gap: 0.5rem;
    flex: none;
    font-size: 0.875rem;
    line-height: 1.5625rem;
    text-align: center;

    & img {
      width: 7.5rem;
      height: 7.5rem;
      border-radius: 9999px;
      object-fit: cover;
    }
  }

}

/* Kontakt-FAB (Figma 11/2026): below lg the submarine gives way to the
   floating button (css/ef11.pcss .ef-fab) and its bottom sheet. */
@media (width < 64rem) {
  .ef-sub {
    display: none;
  }
}

.ef-fab__photo {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  border-radius: 9999px;
}

/* The media field wraps the img in divs: they must fill the circle too. */
.ef-fab__photo div,
.ef-contact-sheet__photo div,
.ef-fab__photo img,
.ef-contact-sheet__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ef-contact-sheet {
  display: grid;
  gap: 1rem;
}

.ef-contact-sheet .btn {
  width: 100%;
}

.ef-contact-sheet__person {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ef-contact-sheet__photo {
  flex: none;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  border-radius: 9999px;
}

.ef-contact-sheet__name,
.ef-contact-sheet__company {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-heading);
}

.ef-contact-sheet__name {
  font-size: 1.125rem;
  line-height: 1.5625rem;
}

.ef-contact-sheet__company {
  font-size: 1rem;
  line-height: 1.375rem;
}

.ef-contact-sheet__role,
.ef-contact-sheet__address p:not(.ef-contact-sheet__company) {
  font-size: 0.875rem;
  line-height: 1.375rem;
}

.ef-contact-sheet__address {
  display: grid;
  gap: 0.25rem;
}

.ef-contact-sheet__rule {
  border: 0;
  border-top: 1px solid #c9bfb2;
}

/* Articles have only one button, the table of contents (Figma "Inhalt-FAB"). */
body:has(.ef-toc-fab:not([hidden])) .ef-contact-fab {
  display: none;
}

/* The boat floats and tilts, the propeller spins, the periscope turns
   (Figma "CTA U-Boot · Animation", Nina, CI folder Animationen/cta-uboot;
   keyframes from Figma, 12 s). Origins in px of the Figma frame
   (1076 x 632), which tower.svg and tail.svg keep as coordinates. */
@property --tx { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --ty { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --r  { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --sx { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --sy { syntax: "<number>"; inherits: false; initial-value: 1; }

.ef-sub :is(.ef-sub__boat, .anim) {
  transform-box: view-box;
  transform: translate(calc(var(--tx) * 1px), calc(var(--ty) * 1px)) rotate(calc(var(--r) * 1deg)) scale(var(--sx), var(--sy));
  animation-duration: 12s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes cta-uboot-uboot-ty {
  0% { --ty: -5; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  16.667% { --ty: 5; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  33.333% { --ty: -5; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  50% { --ty: 5; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  66.667% { --ty: -5; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  83.333% { --ty: 5; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  100% { --ty: -5; }
}

@keyframes cta-uboot-uboot-r {
  0% { --r: -0.7; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  25% { --r: 0.7; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  50% { --r: -0.7; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  75% { --r: 0.7; animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1); }
  100% { --r: -0.7; }
}

.ef-sub .ef-sub__boat {
  transform-origin: 50% 50%;
  animation-name: cta-uboot-uboot-ty, cta-uboot-uboot-r;
}

@keyframes cta-uboot-propeller-sy {
  0% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  0.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  1.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  2% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  2.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  3.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  4% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  4.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  5.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  6% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  6.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  7.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  8% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  8.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  9.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  10% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  10.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  11.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  12% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  12.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  13.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  14% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  14.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  15.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  16% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  16.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  17.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  18% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  18.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  19.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  20% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  20.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  21.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  22% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  22.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  23.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  24% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  24.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  25.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  26% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  26.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  27.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  28% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  28.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  29.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  30% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  30.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  31.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  32% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  32.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  33.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  34% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  34.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  35.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  36% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  36.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  37.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  38% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  38.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  39.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  40% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  40.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  41.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  42% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  42.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  43.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  44% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  44.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  45.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  46% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  46.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  47.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  48% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  48.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  49.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  50% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  50.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  51.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  52% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  52.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  53.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  54% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  54.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  55.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  56% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  56.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  57.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  58% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  58.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  59.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  60% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  60.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  61.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  62% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  62.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  63.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  64% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  64.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  65.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  66% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  66.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  67.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  68% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  68.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  69.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  70% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  70.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  71.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  72% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  72.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  73.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  74% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  74.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  75.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  76% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  76.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  77.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  78% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  78.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  79.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  80% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  80.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  81.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  82% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  82.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  83.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  84% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  84.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  85.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  86% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  86.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  87.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  88% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  88.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  89.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  90% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  90.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  91.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  92% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  92.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  93.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  94% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  94.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  95.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  96% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  96.667% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  97.333% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  98% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  98.667% { --sy: 1; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  99.333% { --sy: 0.05; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  100% { --sy: 1; }
}

.ef-sub #propeller {
  transform-origin: 1011.9px 429.291px;
  animation-name: cta-uboot-propeller-sy;
}

@keyframes cta-uboot-periskop-sx {
  0% { --sx: 1; }
  2.083% { --sx: 0.991; }
  4.167% { --sx: 0.966; }
  6.25% { --sx: 0.924; }
  8.333% { --sx: 0.866; }
  10.417% { --sx: 0.793; }
  12.5% { --sx: 0.707; }
  14.583% { --sx: 0.609; }
  16.667% { --sx: 0.5; }
  18.75% { --sx: 0.383; }
  20.833% { --sx: 0.259; }
  22.917% { --sx: 0.131; }
  25% { --sx: 0.02; }
  27.083% { --sx: -0.131; }
  29.167% { --sx: -0.259; }
  31.25% { --sx: -0.383; }
  33.333% { --sx: -0.5; }
  35.417% { --sx: -0.609; }
  37.5% { --sx: -0.707; }
  39.583% { --sx: -0.793; }
  41.667% { --sx: -0.866; }
  43.75% { --sx: -0.924; }
  45.833% { --sx: -0.966; }
  47.917% { --sx: -0.991; }
  50% { --sx: -1; }
  52.083% { --sx: -0.991; }
  54.167% { --sx: -0.966; }
  56.25% { --sx: -0.924; }
  58.333% { --sx: -0.866; }
  60.417% { --sx: -0.793; }
  62.5% { --sx: -0.707; }
  64.583% { --sx: -0.609; }
  66.667% { --sx: -0.5; }
  68.75% { --sx: -0.383; }
  70.833% { --sx: -0.259; }
  72.917% { --sx: -0.131; }
  75% { --sx: -0.02; }
  77.083% { --sx: 0.131; }
  79.167% { --sx: 0.259; }
  81.25% { --sx: 0.383; }
  83.333% { --sx: 0.5; }
  85.417% { --sx: 0.609; }
  87.5% { --sx: 0.707; }
  89.583% { --sx: 0.793; }
  91.667% { --sx: 0.866; }
  93.75% { --sx: 0.924; }
  95.833% { --sx: 0.966; }
  97.917% { --sx: 0.991; }
  100% { --sx: 1; }
}

.ef-sub #periskop {
  transform-origin: 464.943px 96.25px;
  animation-name: cta-uboot-periskop-sx;
}

@keyframes cta-uboot-periskop-seite-tx {
  0% { --tx: 0; }
  2.083% { --tx: 0.613; }
  4.167% { --tx: 2.443; }
  6.25% { --tx: 5.458; }
  8.333% { --tx: 9.607; }
  10.417% { --tx: 14.818; }
  12.5% { --tx: 21.003; }
  14.583% { --tx: 28.055; }
  16.667% { --tx: 35.854; }
  18.75% { --tx: 44.267; }
  20.833% { --tx: 53.149; }
  22.917% { --tx: 62.348; }
  25% { --tx: 71.708; }
  27.083% { --tx: 81.068; }
  29.167% { --tx: 90.268; }
  31.25% { --tx: 99.15; }
  33.333% { --tx: 107.562; }
  35.417% { --tx: 115.362; }
  37.5% { --tx: 122.414; }
  39.583% { --tx: 128.598; }
  41.667% { --tx: 133.809; }
  43.75% { --tx: 137.958; }
  45.833% { --tx: 140.973; }
  47.917% { --tx: 142.803; }
  50% { --tx: 143.417; }
  52.083% { --tx: 142.803; }
  54.167% { --tx: 140.973; }
  56.25% { --tx: 137.958; }
  58.333% { --tx: 133.809; }
  60.417% { --tx: 128.598; }
  62.5% { --tx: 122.414; }
  64.583% { --tx: 115.362; }
  66.667% { --tx: 107.562; }
  68.75% { --tx: 99.15; }
  70.833% { --tx: 90.268; }
  72.917% { --tx: 81.068; }
  75% { --tx: 71.708; }
  77.083% { --tx: 62.348; }
  79.167% { --tx: 53.149; }
  81.25% { --tx: 44.267; }
  83.333% { --tx: 35.854; }
  85.417% { --tx: 28.055; }
  87.5% { --tx: 21.003; }
  89.583% { --tx: 14.818; }
  91.667% { --tx: 9.607; }
  93.75% { --tx: 5.458; }
  95.833% { --tx: 2.443; }
  97.917% { --tx: 0.613; }
  100% { --tx: 0; }
}

@keyframes cta-uboot-periskop-seite-sx {
  0% { --sx: 1; }
  2.083% { --sx: 1.158; }
  4.167% { --sx: 1.296; }
  6.25% { --sx: 1.412; }
  8.333% { --sx: 1.504; }
  10.417% { --sx: 1.57; }
  12.5% { --sx: 1.609; }
  14.583% { --sx: 1.621; }
  16.667% { --sx: 1.605; }
  18.75% { --sx: 1.561; }
  20.833% { --sx: 1.491; }
  22.917% { --sx: 1.395; }
  25% { --sx: 1.276; }
  27.083% { --sx: 1.395; }
  29.167% { --sx: 1.491; }
  31.25% { --sx: 1.561; }
  33.333% { --sx: 1.605; }
  35.417% { --sx: 1.621; }
  37.5% { --sx: 1.609; }
  39.583% { --sx: 1.57; }
  41.667% { --sx: 1.504; }
  43.75% { --sx: 1.412; }
  45.833% { --sx: 1.296; }
  47.917% { --sx: 1.158; }
  50% { --sx: 1; }
  52.083% { --sx: 1.158; }
  54.167% { --sx: 1.296; }
  56.25% { --sx: 1.412; }
  58.333% { --sx: 1.504; }
  60.417% { --sx: 1.57; }
  62.5% { --sx: 1.609; }
  64.583% { --sx: 1.621; }
  66.667% { --sx: 1.605; }
  68.75% { --sx: 1.561; }
  70.833% { --sx: 1.491; }
  72.917% { --sx: 1.395; }
  75% { --sx: 1.276; }
  77.083% { --sx: 1.395; }
  79.167% { --sx: 1.491; }
  81.25% { --sx: 1.561; }
  83.333% { --sx: 1.605; }
  85.417% { --sx: 1.621; }
  87.5% { --sx: 1.609; }
  89.583% { --sx: 1.57; }
  91.667% { --sx: 1.504; }
  93.75% { --sx: 1.412; }
  95.833% { --sx: 1.296; }
  97.917% { --sx: 1.158; }
  100% { --sx: 1; }
}

.ef-sub #periskop-seite {
  transform-origin: 393.235px 68.5px;
  animation-name: cta-uboot-periskop-seite-tx, cta-uboot-periskop-seite-sx;
}

/* Reduzierte Bewegung: Animation aus, es bleibt der statische Figma-Zustand. */
@media (prefers-reduced-motion: reduce) {
  .ef-sub :is(.ef-sub__boat, .anim) { animation: none !important; }
}
