.credit-page {
    --credit-ink: #1e2b35;
    --credit-muted: #526b7b;
    --credit-blue: #005478;
    --credit-dark: #04354f;
    --credit-line: #d7e3e9;
    --credit-tint: #f2f6f8;
    --credit-hero-bg: #eaf3f8;
    color: var(--credit-ink);
    font: 15px/1.55 Arial, sans-serif;
}

.b-page:has(> .b-page__content .credit-page) .b-page__title {
    margin-bottom: 0;
}

.b-page:has(> .b-page__content .credit-page) > .b-page__content {
    padding-top: 0;
    clear: right;
}

@media (min-width: 1200px) {
    .b-page.has-sidebar:has(> .b-page__content .credit-page) {
        width: min(calc(100% - 40px), 1370px);
    }

    .b-page.has-sidebar:has(> .b-page__content .credit-page) > .b-page__sidebar { width: 19.5%; }
    .b-page.has-sidebar:has(> .b-page__content .credit-page) > .b-page__title,
    .b-page.has-sidebar:has(> .b-page__content .credit-page) > .b-page__content { width: 80.5%; }
}

.credit-page > section {
    margin: 0 0 clamp(36px, 5vw, 58px);
    scroll-margin-top: 100px;
}

.credit-page h1, .credit-page h2:not(.n-section-title), .credit-page h3, .credit-page p { margin: 0; }
.credit-page h1, .credit-page h2:not(.n-section-title), .credit-page h3 { color: inherit; }
.credit-page h1 { font-size: clamp(29px, 3vw, 38px); line-height: 1.13; letter-spacing: -.025em; }
.credit-page h2:not(.n-section-title) { font-size: clamp(25px, 2.4vw, 30px); line-height: 1.18; letter-spacing: -.018em; }
.credit-page h3 { font-size: 19px; line-height: 1.3; }

.credit-page .credit-eyebrow {
    margin-bottom: 8px;
    color: var(--credit-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.credit-page .credit-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 43px;
    padding: 9px 16px;
    border: 1px solid var(--credit-blue);
    border-radius: 4px;
    background: var(--credit-blue);
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}
.credit-page .credit-button:hover { border-color: var(--credit-dark); background: var(--credit-dark); color: #fff; }
.credit-page .credit-button--outline { background: transparent; color: var(--credit-blue); }
.credit-page .credit-button--outline:hover { background: #e5f1f6; color: var(--credit-dark); }

.credit-page .credit-link {
    border: 0;
    padding: 0;
    background: none;
    color: var(--credit-blue);
    font: inherit;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
}
.credit-page .credit-link:hover { text-decoration: underline; }

.credit-hero {
    display: grid;
    grid-template-columns: 53% 47%;
    align-items: stretch;
    overflow: hidden;
    min-height: 350px;
    border-radius: 10px;
    background: var(--credit-hero-bg);
    color: #132d3a;
}
.credit-hero-copy { align-self: center; padding: clamp(23px, 3.2vw, 38px); }
.credit-hero .credit-hero-intro { margin: 16px 0 24px; color: var(--credit-muted); font-size: 16px; }
.credit-hero-art {
    min-width: 0;
    background: url('/kredit/hero.webp') 79.73% 83.97% / 318.81% 161.56% no-repeat;
}
.credit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.credit-actions > a { flex: 1 1 auto; }
.credit-hero .credit-hero-link { margin-top: 14px; font-size: 14px; text-decoration: underline; }

.credit-section-heading { margin-bottom: 22px; }
.credit-section-heading > p:last-child,
.credit-section-heading--linked > div > p:last-child { margin-top: 7px; max-width: 48ch; color: var(--credit-muted); font-size: 16px; }
.credit-section-heading--linked { display: flex; justify-content: space-between; align-items: end; gap: 14px; }
.credit-section-heading--linked > a { flex-shrink: 0; font-size: 14px; }
.credit-grid { display: grid; gap: 16px; }
.credit-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.credit-grid--documents { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }

.credit-panel {
    min-width: 0;
    border: 1px solid var(--credit-line);
    border-radius: 9px;
}
.credit-comparison { display: flex; gap: 14px; align-items: flex-start; padding: 22px; }
.credit-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 7px;
    background: #e4f0f5;
    color: var(--credit-blue);
}
.credit-comparison p { margin: 5px 0 9px; color: var(--credit-muted); }
.credit-comparison .credit-link { font-size: 14px; }

.credit-offer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}
.credit-offer-copy, .credit-terms { padding: clamp(18px, 2.6vw, 28px); }
.credit-offer-copy h3 { margin: 9px 0 8px; font-size: 24px; }
.credit-offer-copy p { margin-bottom: 18px; color: var(--credit-muted); font-size: 16px; }
.credit-badge {
    display: inline-block;
    border-radius: 20px;
    padding: 4px 10px;
    background: #e2f0f5;
    color: var(--credit-blue);
    font-size: 12px;
    font-weight: 700;
}
.credit-terms { margin: 0; background: var(--credit-tint); font-size: 14px; }
.credit-terms > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr);
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--credit-line);
}
.credit-terms > div:last-child { border: 0; }
.credit-terms dt { color: var(--credit-muted); font-weight: 400; }
.credit-terms dd { margin: 0; text-align: right; font-weight: 700; }

.credit-partner-row { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; }
.credit-partner-row + .credit-partner-row { border-top: 1px solid var(--credit-line); }
.credit-partner-row h3 { display: flex; align-items: center; min-height: 58px; max-width: 14ch; color: var(--credit-muted); font-size: 14px; }
.credit-page .credit-partner-row .kredit-lizing-flex {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 124px), 1fr));
    grid-auto-rows: 58px;
    gap: 10px 12px;
    margin: 0;
    padding: 0;
}
.credit-page .credit-partner-row .kredit-lizing-block {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
}
.credit-page .credit-partner-row .kredit-lizing-block::before { content: none; }
.credit-page .credit-partner-row img {
    width: min(100%, 116px);
    height: 50px;
    transform: translate(var(--logo-x), var(--logo-y)) scale(var(--logo-scale));
}
.credit-page .credit-note { margin-top: 12px; color: var(--credit-muted); font-size: 13px; }

.credit-page .cars-slider--credit, .credit-page .credit-faq { font-family: "Open Sans", Arial, sans-serif; }
.credit-page .cars-slider--credit { margin-bottom: 0; }
.cars-slider--credit .cars-slider__item-content { padding: 12px 14px 14px; }
.credit-page .cars-slider--credit .cars-slider__item-name { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; word-break: normal; }
.credit-page .cars-slider--credit .cars-slider__item-name a { color: inherit; text-decoration: none; }
.credit-page .cars-slider--credit .cars-slider__item-name a:hover { text-decoration: underline; }
.cars-slider--credit .cars-slider__item-props-list { flex: none; width: 100%; margin: 9px 0; font-size: 12px; line-height: 1.3; }
.cars-slider--credit .cars-slider__item-prop-name { width: 46%; color: var(--credit-muted); }
.cars-slider--credit .cars-slider__item-prop-value { word-break: normal; overflow-wrap: anywhere; }
.cars-slider--credit .cars-slider__item-prop + .cars-slider__item-prop > div { padding-top: 3px; }
.cars-slider--credit .cars-slider__item-finance {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 2px 9px;
    margin-top: auto;
}
.cars-slider--credit .cars-slider__item-stock {
    color: var(--credit-muted);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}
.cars-slider--credit .cars-slider__item-stock--available { color: #25613e; }
.cars-slider--credit .cars-slider__item-price { margin: 0; font-size: 15px; line-height: 1.3; }
.credit-page .cars-slider--credit .cars-slider__item-calculation { min-height: 36px; margin-top: 9px; padding: 7px 10px; font-size: 13px; }
.credit-page .credit-faq .panel-group { margin-bottom: 0; }

.credit-document-card { padding: clamp(18px, 2.2vw, 24px); }
.credit-document-card > h3 { margin-bottom: 15px; }
.credit-document-tab-list { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--credit-line); }
#credit-page .credit-document-tab-list input[type='radio'] { position: absolute; left: auto; width: 1px; height: 1px; margin: 0; opacity: 0; }
.credit-document-tab-list label { cursor: pointer; margin: 0 0 -1px; padding: 8px 12px 10px; border-bottom: 3px solid transparent; color: var(--credit-muted); font-weight: 400; }
#credit-page .credit-document-tab-list input[type='radio'] + label::before,
#credit-page .credit-document-tab-list input[type='radio'] + label::after { content: none; display: none; }
.credit-document-tab-list input:checked + label { border-color: var(--credit-blue); color: var(--credit-blue); font-weight: 700; }
.credit-document-tab-list input:focus-visible + label { outline: 2px solid var(--credit-blue); outline-offset: -3px; }
.credit-document-tab { display: none; padding-top: 15px; }
.credit-document-tabs:has(#credit-doc-person:checked) #credit-doc-content-person,
.credit-document-tabs:has(#credit-doc-entrepreneur:checked) #credit-doc-content-entrepreneur,
.credit-document-tabs:has(#credit-doc-company:checked) #credit-doc-content-company { display: block; }
.credit-document-tab ul { margin: 8px 0 0; padding-left: 19px; }
.credit-document-tab li { margin-bottom: 6px; line-height: 1.45; }
.credit-document-tab li::before { left: -15px; color: var(--credit-ink); }
.credit-steps { margin: 0; padding-left: 0; }
.credit-steps > li { margin-bottom: 12px; padding-left: 37px; line-height: 1.45; }
.credit-steps > li:last-child { margin-bottom: 0; }
.credit-steps > li::before {
    content: counter(list);
    display: grid;
    place-items: center;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    margin: 0;
    border-radius: 50%;
    background: #e4f0f5;
    color: var(--credit-blue);
    font-size: 13px;
    font-weight: 700;
}
.credit-steps p { margin-top: 3px; color: var(--credit-muted); }

.credit-case { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); overflow: hidden; }
.credit-case > img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.credit-case > div { align-self: center; padding: 16px; }
.credit-case h3 { margin: 5px 0; font-size: 17px; }
.credit-case p { color: var(--credit-muted); font-size: 14px; }
.credit-case .credit-case-model { font-size: 13px; }
.credit-case .credit-link { display: inline-block; margin-top: 8px; font-size: 14px; }

.credit-contact { padding: 20px 24px; background: var(--credit-tint); }
.credit-contact h3 { margin-bottom: 8px; }
.credit-contact p { color: var(--credit-muted); }
.credit-contact p a { color: inherit; text-decoration: none; }
.credit-contact .credit-link { display: inline-block; margin-top: 4px; font-size: 14px; }
.credit-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: clamp(21px, 3vw, 34px);
    border-radius: 9px;
    background: var(--credit-dark);
    color: #fff;
}
.credit-final h2 { font-size: clamp(21px, 2vw, 26px); }
.credit-final p { margin-top: 7px; max-width: 65ch; color: #e8f2f8; }
.credit-final .credit-button { flex-shrink: 0; border-color: #fff; background: #fff; color: var(--credit-blue); }
.credit-final .credit-button:hover { border-color: #e4f0f5; background: #e4f0f5; color: var(--credit-dark); }

.credit-sidebar-title { margin: 0 0 10px; color: #647d89; font: bold 12px/1.4 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.credit-sidebar-help { margin-top: 18px; padding: 16px; border: 1px solid #d7e3e9; font: 14px/1.45 Arial, sans-serif; }
.credit-sidebar-help > p { margin: 0 0 6px; color: #526b7b; }
.credit-sidebar-help > button { padding: 0; border: 0; background: none; color: #005478; font-weight: 700; text-align: left; }

.credit-dialog {
    position: fixed;
    inset: 0;
    width: min(570px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    overflow: auto;
    margin: auto;
    padding: clamp(16px, 4vw, 26px);
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--credit-ink);
}
.credit-dialog::backdrop { background: rgb(13 30 39 / 65%); }
.credit-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.credit-dialog-header h2 { font-size: 24px; }
.credit-dialog .credit-dialog-intro { margin: 5px 0 15px; color: var(--credit-muted); }
.credit-dialog-close { width: 34px; height: 34px; flex: 0 0 auto; padding: 0; border: 1px solid var(--credit-line); border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; }
.credit-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-bottom: 15px; }
.credit-field--wide { grid-column: 1 / -1; }
.credit-field > label { display: block; color: var(--credit-muted); font-size: 13px; }
.credit-field input:not([type='checkbox']), .credit-field select, .credit-field textarea {
    display: block;
    width: 100%;
    min-height: 43px;
    padding: 8px 10px;
    border: 1px solid #bdcfd9;
    border-radius: 4px;
    background: #fff;
    color: inherit;
    font-size: 16px;
}
.credit-field textarea { resize: vertical; }
.credit-field [aria-invalid='true'] { border-color: #a32020; }
.credit-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--credit-muted); font-size: 13px; }
.credit-page .credit-consent input[type='checkbox'] { position: static; flex: 0 0 auto; margin: 4px 0 0; }
.credit-page .credit-consent input[type='checkbox'] + label::before { content: none; }
.credit-consent label { font-weight: 400; }
.credit-form-consent { margin-bottom: 16px; font-size: 13px; }
.credit-field-error { color: #a32020; }
.credit-field-error:not([hidden]) { display: block; margin-top: 4px; }
.credit-form-status:not([hidden]) { margin: 12px 0 0; }

.credit-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 991px) {
    .credit-partner-row { grid-template-columns: 110px minmax(0, 1fr); }
    .credit-hero { min-height: 0; }
}

@media (max-width: 767px) {
    .credit-hero, .credit-grid--two, .credit-grid--documents, .credit-offer { grid-template-columns: minmax(0, 1fr); }
    .credit-hero-art { aspect-ratio: 505 / 310; }
    .credit-section-heading--linked, .credit-final { flex-direction: column; align-items: flex-start; }
    .credit-partner-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .credit-partner-row h3 { min-height: 0; max-width: none; }
}

@media (max-width: 440px) {
    .credit-form-fields { grid-template-columns: minmax(0, 1fr); }
    .credit-actions { align-items: stretch; flex-direction: column; }
}
