<div class="supt-card-keyfact -dark">
<div class="supt-card-keyfact__inner">
<div class="supt-card-keyfact__icon">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 175.75 175.75">
<circle cx="87.87" cy="87.87" r="83.62" fill="none" stroke="#f03" stroke-miterlimit="10" stroke-width="5px" />
<g transform="translate(0, 2)">
<path fill="#f03" d="M113.37,95.44c-.25-.78-.88-1.39-1.67-1.62l-13.7-4.03-8.07-11.78c-.46-.68-1.23-1.08-2.06-1.08s-1.59.4-2.06,1.08l-8.07,11.78-13.7,4.03c-.79.23-1.41.84-1.67,1.62-.25.78-.11,1.64.4,2.29l8.71,11.31-.4,14.27c-.02.82.36,1.6,1.03,2.09.67.48,1.53.61,2.3.33l13.46-4.79,13.45,4.79c.76.27,1.65.14,2.3-.33.66-.48,1.05-1.26,1.02-2.08l-.4-14.28,8.71-11.31c.5-.65.65-1.51.4-2.29ZM99.77,106.7c-.35.45-.53,1.02-.52,1.59l.32,11.53-10.86-3.87c-.53-.19-1.14-.19-1.67,0l-10.86,3.87.32-11.52c.02-.57-.17-1.14-.52-1.59l-7.04-9.13,11.06-3.26c.55-.16,1.03-.51,1.35-.98l6.51-9.51,6.51,9.51c.32.47.8.82,1.35.98l11.06,3.26-7.03,9.13Z" />
<path fill="#636466" d="M87.87,146.67c23.84,0,43.23-19.4,43.23-43.23,0-11.54-4.51-22.41-12.71-30.59l-1.22-1.22,22.57-42.55h-5.64l-20.85,39.3-2.13-1.37c-4.9-3.14-10.28-5.22-16-6.19l-3.17-.54,16.47-31.2h-5.64l-14.93,28.27-14.93-28.27h-5.64l16.47,31.2-3.17.54c-5.72.97-11.1,3.06-16,6.19l-2.13,1.36-20.85-39.3h-5.64l22.57,42.56-1.22,1.22c-8.19,8.18-12.71,19.04-12.71,30.58,0,23.84,19.4,43.23,43.24,43.23ZM87.87,65.18c21.09,0,38.25,17.16,38.25,38.25s-17.16,38.25-38.25,38.25-38.25-17.16-38.25-38.25,17.16-38.25,38.25-38.25Z" />
</g>
</svg>
</div>
<div class="supt-card-keyfact__content">
<h4 class="supt-card-keyfact__title">
~20%
</h4>
<p class="supt-card-keyfact__description">
Fully loaded IRR per new customer
</p>
</div>
</div>
</div>
No notes defined.
<div class="supt-card-keyfact{{icon ? ' ' : ' -no-icon'}} {{ modifiers|modifiersAttr }}">
<div class="supt-card-keyfact__inner">
{% if icon %}
<div class="supt-card-keyfact__icon">
{% include '02-icons/' ~ icon ~ '-icon.twig' %}
</div>
{% endif %}
<div class="supt-card-keyfact__content">
{% if title %}
<h4 class="supt-card-keyfact__title">
{{ title }}
</h4>
{% endif %}
{% if subtitle %}
<p class="supt-card-keyfact__subtitle">
{{ subtitle }}
</p>
{% endif %}
{% if logo %}
<img src="{{ logo.src }}" alt="{{ logo.alt }}" class="supt-card-keyfact__logo">
{% endif %}
{% if description %}
<p class="supt-card-keyfact__description">
{{ description }}
</p>
{% endif %}
</div>
{% if image %}
<div class="supt-card-keyfact__image">
<img src="{{ image.src }}" alt="{{ image.alt }}">
</div>
{% endif %}
</div>
{% if not icon and not image %}
<span class="supt-button__wrapper">
<span class="supt-button__inner">
<span class="supt-button__title -clone" aria-hidden="true">
{{ title }}
</span>
<span class="supt-button__mask">
<span class="supt-button__mask__inner"></span>
</span>
</span>
</span>
{% endif %}
</div>
{
"title": "~20%",
"description": "Fully loaded IRR per new customer",
"icon": "award",
"modifiers": [
"dark"
]
}
.supt-card-keyfact {
position: relative;
padding: 16px $spacing-10 14px 18px;
border-radius: $border-radius-brand;
background: $color-grey-background;
@media (min-width: $breakpoint-md) {
padding: $spacing-7 $spacing-10 $spacing-7 20px;
}
&::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: $border-radius-brand;
transition: opacity $transition-fast ease-in-out;
box-shadow:
8px 8px 16px 0px $color-grey-1,
-8px -8px 16px 0px $color-white;
}
&__inner {
display: flex;
gap: $spacing-3;
@media (min-width: $breakpoint-md) {
gap: $spacing-4;
}
@media (min-width: $breakpoint-lg) {
gap: $spacing-6;
}
}
&__content {
align-self: center;
display: flex;
flex-direction: column;
gap: 4px;
}
&__icon {
@mixin clamp --supt-card-keyfact-icon-size, 72, 90, $breakpoint-xs, $breakpoint-xl;
position: relative;
width: var(--supt-card-keyfact-icon-size);
height: var(--supt-card-keyfact-icon-size);
padding: 0 2px 3px 0;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
&::after {
content: '';
position: absolute;
inset: 2px;
border-radius: 50%;
box-shadow:
-1px -1px 0px 0px $color-white inset,
-2px -2px 2px 0px $color-grey-2 inset,
-1px -1px 0px 0px $color-white,
-2px -2px 2px 0px $color-grey-2 inset;
z-index: -1;
}
svg {
width: 100%;
height: 100%;
> circle:first-child {
stroke-dasharray: 530;
stroke-dashoffset: 530;
}
}
}
&__title {
@extend %t-h3;
@mixin clamp font-size, 24, 30, $breakpoint-xs, $breakpoint-xl;
margin: 0;
color: $color-black;
}
&__subtitle {
@extend %t-body-m;
color: $color-grey-5;
}
&__description {
@extend %t-h4;
font-weight: 400;
color: $color-grey-5;
}
&__logo {
width: 120px;
height: auto;
margin-top: 10px;
object-fit: contain;
object-position: left;
}
&__image {
border-radius: $border-radius-brand-inner;
overflow: hidden;
width: 50%;
flex-shrink: 0;
img {
width: 100%;
height: 100%;
aspect-ratio: 283/200;
object-fit: cover;
}
}
&.-dark {
&::after {
box-shadow:
8px 8px 24px 0px rgb(102 0 14 / 30%),
-8px -8px 24px 0px rgb(233 53 89 / 40%);
}
}
&.-no-icon {
padding-left: $spacing-10;
min-height: 95px;
display: flex;
align-items: center;
justify-content: center;
@media (min-width: $breakpoint-md) {
min-height: 115px;
}
.supt-card-keyfact__description {
color: $color-black;
text-align: center;
}
.supt-button__wrapper {
position: absolute;
inset: 0;
z-index: -1;
border-radius: $border-radius-brand;
box-shadow: none;
}
.supt-button__inner {
height: 100%;
}
.supt-button__inner,
.supt-button__mask {
border-radius: $border-radius-brand-inner;
}
.supt-button__mask__inner {
border-radius: clamp(15px, 7.73px + 1.94vw, 31px);
}
&.-visible {
.supt-button__mask {
opacity: 1;
&::before,
&::after {
animation-name: mask-animation;
}
}
}
}
&.-with-image {
padding: 16px;
@mixin clamp padding-left, 24, 40, $breakpoint-xs, $breakpoint-xl;
.supt-card-keyfact__title {
@mixin clamp font-size, 18, 24, $breakpoint-xs, $breakpoint-xl;
@mixin clamp line-height, 24, 28, $breakpoint-xs, $breakpoint-xl;
}
}
}