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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: var(--sd-ec-font-font-family-regular), sans-serif;
    font-weight: var(--sd-ec-font-label-m-emphasis-regular-font-weight);
}

.content {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
}

.container {
    height: fit-content;
    padding-right: var(--sd-spacing-base-medium);
    padding-left: var(--sd-spacing-base-medium);
    margin-right: auto;
    margin-left: auto;
}

.flex-fill {
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;
}

.content-container {
    display: flex;
    justify-content: center;
    color: var(--sd-ec-color-brand-tertiary-100);
}

.header-container {
    display: flex;
    width: 100%;
    min-width: 20rem;
    height: 3.25rem;
    background: var(--sd-ec-color-neutral-000);
    box-shadow: 0 var(--sd-boxshadow-base-size-x-small) var(--sd-boxshadow-base-size-medium) var(--sd-ec-color-shadow-004);
    z-index: 2;
    margin: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 3.25rem;
    padding: 0 var(--sd-font-base-size-x-large);
}

.header-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.ec-logo {
    height: 1.5rem;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.vr-logo {
    height: 1.5rem;
    width: auto;
}

main#kc-container {
    background-color: var(--sd-ec-color-background-secondary-010);
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.content-card {
    background-color: #FFFFFF;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sd-spacing-base-medium) var(--sd-spacing-base-medium);
    border-bottom: 1px solid var(--sd-ec-color-background-secondary-010);
}

.content-header .right-side {
    padding: var(--sd-spacing-base-none);
    justify-content: flex-end;
    align-items: center;
    gap: var(--sd-spacing-base-small);
    align-self: stretch;
}

.content-header .left-side {
    display: flex;
    align-items: center;
    gap: var(--sd-spacing-base-small);
    align-self: stretch;
    justify-content: flex-start;
}

.content-header .left-side a {
    position: relative;
    display: flex;
    align-items: center;
}

.text-medium {
    font-family: var(--sd-ec-font-font-family-medium);
    font-size: var(--sd-ec-text-paragraph-medium-fontsize);
    line-height: 1.3125;
    letter-spacing: var(--sd-ec-text-paragraph-medium-letterspacing);
}

.text-large-x {
    font-family: var(--sd-ec-font-font-family-bold);
    font-size: var(--sd-ec-text-heading-x-large-fontsize);
    line-height: var(--sd-ec-text-heading-x-large-lineheight);
    letter-spacing: var(--sd-ec-text-heading-x-large-letterspacing)
}

img.graphic-in-modal {
    height: auto;
    max-width: 100%;
    width: 100%;
}

.display-none {
    display: none;
}

.text-input {
    margin-bottom: 0.5rem;
}

.login-container {
    width: 100%;
}

.forgot-link {
    margin-bottom: var(--sd-spacing-base-medium);
    display: flex;
    justify-content: end;
}

.back-button svg {
    margin-right: var(--sd-spacing-base-small);
}

.content-header .left-side a img {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    display: block;
}

/* touch target */
.content-header .left-side a span {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    bottom: -0.75rem;
    left: -0.75rem;
}

.content-header .header-title {
    display: flex;
    height: 1.5rem;
    padding: var(--sd-spacing-base-none);
    justify-content: center;
    align-items: center;
    gap: var(--sd-spacing-base-small);
    flex: 1 0 0;
}

.content-header .header-title h1 {
    font-family: var(--sd-ec-font-font-family-regular);
    font-weight: var(--sd-ec-font-label-m-emphasis-strong-font-weight);
    font-size: var(--sd-ec-font-label-l-font-size);
    line-height: var(--sd-ec-font-label-l-line-height);
    letter-spacing: var(--sd-ec-font-label-l-letter-spacing);
    color: var(--sd-ec-color-brand-tertiary-100);

}

.content-body {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--sd-spacing-base-x-large) var(--sd-spacing-base-large) var(--sd-spacing-base-none) var(--sd-spacing-base-large);
}

.back-icon {
    height: 1.5rem;
    width: 1.5rem;
    fill: currentColor;
}

.custom-footer {
    margin: 0;
    background-color: var(--sd-ec-color-background-secondary-005);
    padding: var(--sd-spacing-base-large) 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 20rem;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: var(--sd-spacing-base-large);
    padding: 0 var(--sd-spacing-base-small);
    box-sizing: border-box;
    overflow: hidden;
}

.footer-secondary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: var(--sd-spacing-base-xx-large);
    box-sizing: border-box;
    padding-top: var(--sd-spacing-base-small); /* Platz für Focus-Ring */
}

.footer-top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sd-spacing-base-medium);
    width: 100%;
    height: auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: var(--sd-spacing-base-medium);
}

.contact-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.contact-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--sd-spacing-base-small);
    margin-top: var(--sd-spacing-base-x-small);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sd-spacing-base-x-small);
}

.contact-icon img {
    width: 1rem;
    height: 1rem;
}

.contact-link {
    font-size: var(--sd-ec-font-label-s-font-size);
    line-height: var(--sd-ec-font-label-s-line-height);
    letter-spacing: 0.0625rem;
    color: var(--sd-ec-color-brand-tertiary-070);
    text-decoration: var(--sd-ec-font-label-text-decoration);
}

.divider-vertical {
    width: 0;
    height: 0.625rem;
    border-left: 1px solid var(--sd-ec-color-background-secondary-040);
    margin: 0 var(--sd-spacing-base-small);
}

.service-hours {
    font-style: normal;
    font-family: var(--sd-ec-font-font-family-regular);
    font-weight: var(--sd-font-base-fontweight-regular);
    font-size: var(--sd-font-base-size-x-small);
    line-height: var(--sd-font-base-lineheight-large);
    text-align: center;
    letter-spacing: var(--sd-font-base-letterspacing-small);
    font-feature-settings: 'liga' off;
    color: var(--sd-ec-color-brand-tertiary-070);
    width: 100%;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sd-spacing-base-medium);
    width: 100%;
    height: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.footer-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
}

.link-footer {
    font-weight: var(--sd-ec-font-label-s-emphasis-regular-font-weight);
    font-size: var(--sd-ec-font-label-s-font-size);
    line-height: var(--sd-ec-font-label-s-line-height);
    letter-spacing: 0.0625rem;
    color: var(--sd-ec-color-brand-tertiary-070);
    text-decoration: var(--sd-ec-font-label-text-decoration);
}

.link-footer:visited {
    color: var(--sd-ec-color-brand-tertiary-070);
}

.footer-item:last-child .footer-link {
    padding-right: 0;
}

.footer-item:last-child .divider-vertical {
    display: none;
}

.footer-copyright {
    font-weight: var(--sd-ec-font-label-s-emphasis-strong-font-weight);
    font-size: var(--sd-ec-font-label-s-font-size);
    line-height: var(--sd-ec-font-label-s-line-height);
    text-align: center;
    letter-spacing: 0.0625rem;
    font-feature-settings: 'liga' off;
    color: var(--sd-ec-color-brand-tertiary-100);
    width: 100%;
}

.footer-divider {
    width: 100%;
    max-width: 100%;
    height: 2px;
    background: var(--sd-ec-color-background-secondary-010);
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.footer-top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: var(--sd-spacing-base-large);
    height: auto;
    padding-top: var(--sd-spacing-base-medium);
    margin-top: var(--sd-spacing-base-medium);
    margin-bottom: 0;
}

.logos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 46.875rem;
    gap: var(--sd-spacing-base-large);
    margin-bottom: var(--sd-spacing-base-small);
}

.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: var(--sd-spacing-base-large);
}

.logo-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--sd-spacing-base-large);
}

.logo-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--sd-spacing-base-small);
}

.logo-ec {
    height: 1.5rem;
    width: auto;
}

.logo-ratenkauf {
    height: 1.625rem;
    width: auto;
}

.logo-vr {
    height: 1.125rem;
    width: auto;
    margin-left: var(--sd-spacing-base-medium);
}

.app-stores {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--sd-spacing-base-small);
    width: 100%;
}

.app-store-link {
    display: inline-block;
}

.app-store-badge {
    height: 1.5625rem;
    width: auto;
}

@media (min-width: 20rem) { /* 320px */
    .logo-group {
        flex-wrap: wrap;
    }
}

#kc-content {
    box-sizing: border-box;
}

/* MEDIUM (27.5rem – 59.9375rem) */
@media (min-width: 27.5rem) { /* 440px */
    .header-container {
        height: 3.75rem;
    }

    .header-inner {
        padding: 0 var(--sd-font-base-size-xxx-large);
        min-height: 3.75rem;
    }

    .ec-logo {
        height: 2rem;
    }

    .vr-logo {
        height: 1.75rem;
        width: 2.75rem;
    }

    .custom-footer {
        padding: var(--sd-spacing-base-x-large) 0;
    }

    .footer-inner {
        padding: 0 var(--sd-spacing-base-large);
    }

    .contact-item {
        margin-right: var(--sd-spacing-base-medium);
    }

    .contact-item:last-child {
        margin-right: 0;
    }

    .logo-ec {
        height: 1.75rem;
    }

    .logo-ratenkauf {
        height: 1.75rem;
    }

    .logo-vr {
        height: 1.25rem;
    }

    .app-store-badge {
        height: 1.875rem;
    }

    .content-card {
        max-width: 27.5rem;
        border-radius: 2rem;
        margin: var(--sd-spacing-base-x-large) auto;
    }

    .content-header {
        padding: var(--sd-spacing-base-medium) var(--sd-spacing-base-large);
    }
}

/* LARGE (60rem – ∞rem) */
@media (min-width: 60rem) { /* 960px */
    .header-container {
        height: 5rem;
        display: flex;
        justify-content: center;
    }

    .header-inner {
        padding: 0 var(--sd-font-base-size-xxx-large);
        min-height: 5rem;
    }

    .ec-logo {
        height: 2.5rem;
    }

    .vr-logo {
        height: 2rem;
        width: 3rem;
    }

    .full-width .header-inner {
        max-width: none;
        width: 100%;
    }

    .custom-footer {
        padding: var(--sd-spacing-base-x-large) 0;
    }

    .footer-container {
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .footer-inner {
        padding: 0 var(--sd-spacing-base-large);
    }

    .contact-items {
        flex-wrap: nowrap;
    }

    .footer-contact {
        flex-direction: column;
        gap: var(--sd-spacing-base-large);
    }

    .footer-logos {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    .logo-row {
        margin-bottom: 0;
    }

    .logos-container {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        max-width: 46.9375rem;
        gap: var(--sd-spacing-base-x-large);
        height: auto;
    }

    .logo-group {
        justify-content: flex-start;
        width: auto;
    }

    .logo-vr {
        margin-top: 0;
        margin-left: var(--sd-spacing-base-medium);
        height: 1.5rem;
    }

    .app-stores {
        width: auto;
        margin-top: 0;
        justify-content: flex-end;
    }

    .logo-ec {
        height: 2rem;
    }

    .logo-ratenkauf {
        height: 2rem;
    }

    .app-store-badge {
        height: 2.1875rem;
    }

    .content-card {
        max-width: 36.5rem;
        margin: var(--sd-spacing-base-x-large) auto;
        border-radius: 2rem;
    }

    .content-body {
        padding: var(--sd-spacing-base-x-large) var(--sd-spacing-base-xxxxx-large) var(--sd-spacing-base-none) var(--sd-spacing-base-xxxxx-large);
    }
}

a:focus {
    outline: none;
}

a:focus-visible {
    box-shadow: 0 0 0 var(--sd-border-base-size-xx-small) var(--sd-color-base-blue-145), 0 0 0 var(--sd-boxshadow-base-size-x-small) var(--sd-ec-color-state-secondary-120), 0 0 0 var(--sd-boxshadow-base-size-small) var(--sd-color-base-blue-145);
}

#selection-card-brief {
    display: none;
}

.form-horizontal {
    width: 100%;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.h2 {
    font-family: var(--sd-ec-font-font-family-bold);
    font-size: var(--sd-ec-text-heading-xx-large-fontsize);
    line-height: var(--sd-ec-text-heading-large-lineheight);
    letter-spacing: var(--sd-ec-text-heading-xx-large-letterspacing)
}

.text-paragraph {
    font-size: var(--sd-ec-text-paragraph-medium-fontsize);
    line-height: var(--sd-ec-text-paragraph-medium-lineheight);
    letter-spacing: var(--sd-ec-text-paragraph-medium-letterspacing);
}

.margin-bottom-small {
    margin-bottom: var(--sd-spacing-base-small);
}

.margin-bottom-medium {
    margin-bottom: var(--sd-spacing-base-medium);
}

.margin-bottom-large {
    margin-bottom: var(--sd-spacing-base-large);
}

.margin-top-xlarge {
    margin-top: var(--sd-spacing-base-x-large);
}

.margin-top-medium {
    margin-top: var(--sd-spacing-base-medium);
}

.margin-top-small {
    margin-top: var(--sd-spacing-base-small);
}

.margin-top-large {
    margin-top: var(--sd-spacing-base-large);
}

.margin-left-small {
    margin-left: var(--sd-spacing-base-small);
}

.margin-left-medium {
    margin-left: var(--sd-spacing-base-medium);
}

.margin-top-xxlarge {
    margin-top: var(--sd-spacing-base-xx-large);
}

.margin-bottom-xxlarge {
    margin-bottom: var(--sd-spacing-base-xx-large);
}

.line-height-medium {
    line-height: var(--sd-ec-font-label-m-line-height)
}

.margin-left-large {
    margin-left: var(--sd-spacing-base-large)
}

.margin-right-large {
    margin-right: var(--sd-spacing-base-large);
}

.graphic-in-modal {
    height: auto;
    max-width: 100%;
    width: 100%;
}

.password-guidelines-text {
    font-family: var(--sd-ec-font-font-family-medium);
    font-size: 0.875rem;
    line-height: var(--sd-ec-text-feedback-xsmall-lineheight);
}

.password-indicator {
    position: inherit;
    height: 0.25rem;
    z-index: 2;
    border-bottom-left-radius: 3rem 1rem;
    margin: -0.84rem 0.42rem;
}

.password-indicator.weak {
    width: 33%;
    background-color: #F0271C;
}

.password-indicator.medium {
    width: 66%;
    background-color: #FDD332;
}

.password-indicator.strong {
    width: 100%;
    background-color: #59D793;
    border-bottom-right-radius: 3rem 1rem
}

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

.flex-1 {
    flex: 1 1 0%;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.agb-link {
    color: var(--sd-ec-color-brand-secondary-100);
    text-decoration: none;
    background-color: transparent
}

.agb-link:hover {
    color: var(--sd-ec-color-state-secondary-120);
    text-decoration: none
}

.link-ghost {
    color: var(--sd-ec-color-brand-secondary-100);
    font-size: var(--sd-ec-text-heading-medium-fontsize);
    font-family: var(--sd-ec-font-font-family-bold);
    line-height: var(--sd-ec-text-heading-x-large-lineheight);
    letter-spacing: var(--sd-ec-text-heading-x-large-letterspacing);
    border-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    min-height: var(--sd-dimension-base-xx-large);
    text-decoration: none
}

.link-ghost:hover {
    color: var(--sd-ec-color-state-secondary-120);
}

.link-slim {
        text-decoration: none;
        font-size: var(--sd-ec-text-heading-small-fontsize);
        font-family: var(--sd-ec-font-font-family-medium);
        color: var(--sd-ec-color-brand-secondary-100);
        display: flex;
        align-items: center;
    }

.link-slim:visited {
        color: var(--sd-ec-color-brand-secondary-100);
    }

.link-slim:focus {
        box-shadow: 0 0 0 0.375rem var(--sd-ec-color-neutral-000);
        outline: 2px solid var(--sd-ec-color-brand-secondary-100);
        outline-offset: 2px;
    }

.checkbox-no-margin > div > input {
    margin-left: 0;
}

.font-medium {
    font-weight: 500;
}

.icon-24 {
    width: 1.5rem;
    height: 1.5rem;
}

.banner-spacing {
    margin-left: var(--sd-spacing-base-large);
    margin-right: var(--sd-spacing-base-large);
    margin-top: var(--sd-spacing-base-medium);
}

.font-bold {
    font-family: var(--sd-ec-font-font-family-bold);
}

.content-result {
    position: relative;
    z-index: 1;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

.link-button {
    color: var(--sd-ec-color-neutral-000);
    background: var(--sd-ec-color-brand-primary-100);
    font-family: var(--sd-ec-font-font-family-bold);
    line-height: var(--sd-ec-text-heading-x-large-lineheight);
    letter-spacing: var(--sd-ec-text-heading-x-large-letterspacing);
    border-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    min-height: var(--sd-dimension-base-xx-large);
    text-decoration: none
}

.link-button:hover {
    background: var(--sd-ec-color-state-primary-120);
    color: var(--sd-ec-color-neutral-000);
}

.link-button:active {
    background: var(--sd-ec-color-state-primary-140);
}

.content-body-result {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.result-graphic {
    display: flex;
    justify-content: center;
    margin-top: var(--sd-spacing-base-xxx-large);
}


.orange-circle-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 15.625rem;
    height: 15.625rem;
    background-image: url("../images/eC_Graphik_BrandVisual_Primary_QuarterCircle_Primary_Medium_Default-66.svg");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
}

.gap-medium {
    gap: var(--sd-spacing-base-medium);
}

.icon-show {
    z-index: 9997;
    width: 1.75rem;
    height: 1.75rem;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 22.5%;
}

.relative {
    position: relative;
}

.custom-ghost-icon {
    height: 1.5rem;
    padding-right: 0.5rem;
}

.custom-ghost {
    justify-content: start;
    min-height: 0;
    font-size: var(--sd-ec-text-heading-small-fontsize);
    line-height: var(--sd-ec-text-heading-x-small-lineheight);
}

@media (min-width: 60rem) {
    .custom-ghost {
        font-size: var(--sd-ec-text-heading-medium-fontsize);
    }
}

.custom-ghost:focus, .custom-ghost:focus-visible {
    border-radius: 0;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.max-w-\[280px\] { max-width: 17.5rem; }
.justify-center { justify-content: center; }

.icon-md {
    height: 1.1rem;
}

.icon-lg {
    height: 1.5rem;
    width: 1.5rem;
}
