@scope (.cta-banner) {
  :scope {
    background-color: var(--color-bg-blue);
  }

  /* Letztes Element vor dem Footer: eigenes Padding, da kein
     nachfolgender Block mehr fuer Abstand zum Footer sorgt. */
  :scope:last-child {
    padding-bottom: var(--space-block);
  }

  .card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background-color: var(--color-blue);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
  }

  .content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    align-self: center;
    align-items: flex-start;
    padding: 2.5em;
  }

  h2 {
    text-wrap: balance;
    color: var(--color-white);
    margin-block: 0 0.23em;
    font-size: 2.2em;
    font-weight: 500;
  }

  .content p {
    color: var(--color-white);
    margin-bottom: 0;
    font-size: 0.9em;
  }

  .actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 18px;
  }

  .icon-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0 auto;
    justify-content: center;
    align-self: stretch;
    align-items: center;
    width: 30%;
    border-radius: var(--radius);
  }

  .icon-wrapper .icon {
    display: block;
    width: 50%;
    max-width: 50%;
    height: 50%;
    color: var(--color-white);
  }

  .icon-wrapper .icon-image {
    display: block;
    width: 50%;
    max-width: 50%;
    height: 50%;
    object-fit: contain;
  }

  @media (width <= 991px) {
    :scope:last-child {
      padding-bottom: var(--space-block-medium);
    }

    .card {
      flex-direction: column;
    }

    .content {
      order: 1;
      width: 100%;
    }

    .icon-wrapper {
      border-radius: 6px 66px 0 0;
      align-items: flex-start;
      width: 100%;
      padding: 2.5em 0 0 2.5em;
    }

    .icon-wrapper .icon,
    .icon-wrapper .icon-image {
      aspect-ratio: 1;
      border-radius: 6px 6px 0 0;
      width: 18%;
      height: auto;
      max-height: 15em;
    }
  }

  @media (width <= 767px) {
    .content {
      padding: 2em;
    }

    h2 {
      margin-bottom: 10px;
      font-size: 1.4em;
    }

    .content p {
      font-size: 0.8em;
    }
  }

  @media (width <= 479px) {
    :scope:last-child {
      padding-bottom: var(--space-block-small);
    }

    .card {
      padding-right: 0;
    }

    .content {
      flex-direction: column;
      flex: 0 auto;
      align-self: flex-start;
      align-items: flex-start;
      padding: 1.2em;
    }

    h2 {
      font-size: 1.2em;
    }

    .icon-wrapper {
      padding-top: 1.2em;
      padding-left: 1.2em;
    }

    .icon-wrapper .icon,
    .icon-wrapper .icon-image {
      width: 25%;
      height: 25%;
      max-height: 10em;
    }

    .actions {
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
    }
  }
}
