*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    overflow-x: clip;
}
body {
    font-family: 'DeutscheBank Regular', Arial, sans-serif;
    background: #fff;
    color: #16184e;
    line-height: 1.5;
    margin: 0;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #0550d1; text-decoration: none; }
a:hover { color: #0d43b3; }
.header__logo-link,
.header__logo-link:hover,
.header__logo-link:focus,
.header__logo-link:focus-visible,
.header__logo-link:active {
    color: #fff;
    background: none;
}
.header a:hover,
.footer a:hover { background-color: transparent; }

.container { max-width: 1230px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hide-on-mobile { display: none; }
@media (min-width: 768px) {
    .hide-on-mobile { display: block; }
    .hide-on-desktop { display: none; }
}

h1, h2, h3, h4 { font-weight: 400; font-family: 'DeutscheBank Medium', Arial, sans-serif; margin: 0 0 0.5rem 0; }
h1 { font-size: 2.5rem; line-height: 3rem; }
h2 { font-size: 2.125rem; line-height: 2.625rem; }
h3 { font-size: 1.625rem; line-height: 2.125rem; }
h4 { font-size: 1.375rem; line-height: 1.875rem; }
h5 { font-size: 1.125rem; line-height: 1.625rem; font-weight: 400; font-family: 'DeutscheBank Medium', Arial, sans-serif; }
p { margin: 0 0 1rem 0; }
.text-overline { font-size: 0.875rem; color: #16184e; margin-bottom: 0.25rem; }

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 3px;
    font-family: 'DeutscheBank Regular', Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.375rem;
    font-weight: 400;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}
.btn--primary {
    background: #0550d1;
    color: #fff;
    border-color: #0550d1;
}
.btn--primary:hover { background: #0d43b3; border-color: #0d43b3; color: #fff; }
.btn--secondary {
    background: transparent;
    color: #0550d1;
    border-color: #0550d1;
}
.btn--secondary:hover { background: #e7f4fe; color: #0d43b3; border-color: #0d43b3; }
.btn--ternary {
    background: transparent;
    color: #0550d1;
    border-color: transparent;
}
.btn--ternary:hover { background: #e7f4fe; color: #0d43b3; }
.btn--small { font-size: 0.75rem; line-height: 1.875rem; padding: 0 0.75rem; }

.header {
    background: #1e2a78;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__inner {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header__logo-link {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    line-height: 0;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    transition: opacity 0.2s ease;
}
.header__logo-link:hover,
.header__logo-link:focus,
.header__logo-link:focus-visible,
.header__logo-link:active {
    color: #fff;
    background: none;
    opacity: 0.85;
    outline: none;
    box-shadow: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.header__logo-img {
    height: 40px;
    width: auto;
    max-width: none;
    display: block;
    pointer-events: none;
}
.header__notice {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 3px;
    color: #fff;
    line-height: 1.2;
    flex-shrink: 0;
}

.stage {
    position: relative;
    color: #fff;
    background: #1e2a78;
}
.stage__media {
    position: relative;
    line-height: 0;
}
.stage__img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}
.stage__overlay {
    position: absolute;
    inset: 0;
    background: #1e2a78;
    opacity: 0.55;
    mix-blend-mode: multiply;
    pointer-events: none;
}
.stage__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 24px;
    max-width: 1230px;
    margin: 0 auto;
    left: 0;
    right: 0;
    box-sizing: border-box;
    line-height: 1.5;
}
.stage__content h1 { font-size: 2.2rem; line-height: 1.2; margin-bottom: 0.5rem; max-width: 700px; }
.stage__content .text-overline { color: #e7f4fe; }
.stage__cta { margin-top: 1rem; }
.stage__cta .btn { margin-right: 0.5rem; }
.counter {
    display: flex;
    gap: 0.25rem;
    margin-top: 1rem;
}
.counter__element {
    background: #c9dd03;
    color: #16184e;
    padding: 0.25rem 0.5rem;
    text-align: center;
    min-width: 60px;
    border-radius: 4px;
}
.counter__digit { font-size: 1.8rem; font-weight: bold; line-height: 1.2; }
.counter__label { font-size: 0.7rem; text-transform: uppercase; }

.content-nav {
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
    position: sticky;
    top: 56px;
    z-index: 50;
}
.content-nav__inner {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow-x: auto;
}
.content-nav a {
    color: #0550d1;
    padding: 0;
    white-space: nowrap;
    font-size: 0.95rem;
    line-height: 1.5;
}
.content-nav a:hover { color: #0d43b3; border-bottom: 2px solid #0d43b3; background: none; }

.comp { margin-top: 2.5rem; }
.main-content { margin-top: 2rem; }
.comp--padded { padding: 0 1.5rem; }
.bg--deep-blue { background: #1e2a78; color: #fff; padding: 2rem 1.5rem; }
.bg--deep-blue .h2 { color: #fff; }
.bg--deep-blue .btn--secondary { color: #bfd5f7; border-color: #bfd5f7; }
.bg--deep-blue .btn--secondary:hover { background: #0d43b3; color: #fff; border-color: #fff; }
.bg--deep-blue a:not(.btn):hover { color: #e7f4fe; background: none; text-decoration: underline; }

main a:not(.btn):hover { text-decoration: underline; background: none; }

.grid-4 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.contentsnippet { text-align: center; }
.contentsnippet svg { width: 48px; height: 48px; margin-bottom: 0.5rem; }
.contentsnippet svg * { fill: #666; }
.contentsnippet h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }

.accordion { border-bottom: 1px solid #cbcbcb; }
.accordion__item { border-top: 1px solid #cbcbcb; }
.accordion__header {
    background: none;
    border: none;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-family: 'DeutscheBank Medium', Arial, sans-serif;
    color: #0550d1;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.accordion__header::-webkit-details-marker { display: none; }
.accordion__header:hover { color: #0d43b3; }
.accordion__header .icon { font-size: 1.5rem; }
.accordion__item[open] .accordion__header .icon::before { content: '−'; }
.accordion__item:not([open]) .accordion__header .icon::before { content: '+'; }
.accordion__content { padding: 0 0 1.5rem 0; }

.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #e1e1e1; }
th { font-weight: 400; background: #f7f7f7; }
tbody tr:nth-child(odd) { background: #f7f7f7; }

.teaser { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.teaser__image { width: 100%; height: auto; display: block; object-fit: contain; }
.teaser__body { padding: 1.5rem; background: #1e2a78; color: #fff; }
.teaser__body h3 { color: #fff; font-size: 1.3rem; }
.teaser__body p { font-size: 0.9rem; opacity: 0.9; }
.teaser__body .btn { margin-top: 0.5rem; }

.zinsrechner { margin-top: 3rem; }
.zinsrechner__wrap {
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 0 24px;
}
.zinsrechner__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.zinsrechner__label {
    font-size: 1rem;
    color: #16184e;
}
.zinsrechner__amount {
    border: 1px solid #0550d1;
    padding: 0.5rem 1rem;
    color: #0550d1;
    font-size: 1rem;
    min-width: 0;
    max-width: 100%;
    text-align: right;
    flex: 0 1 auto;
}
.zinsrechner__slider-wrap { margin-bottom: 1.5rem; }
.zinsrechner__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 100%;
    height: 8px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    display: block;
    --progress: 0%;
    background: linear-gradient(to right, #0550d1 0%, #0550d1 var(--progress), #e1e1e1 var(--progress), #e1e1e1 100%);
}
.zinsrechner__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #0550d1;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}
.zinsrechner__slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #0550d1;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}
.zinsrechner__slider::-moz-range-track {
    height: 8px;
    background: #e1e1e1;
    border-radius: 4px;
    border: none;
}
.zinsrechner__slider::-moz-range-progress {
    height: 8px;
    background: #0550d1;
    border-radius: 4px;
}
.zinsrechner__range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #555;
}
.zinsrechner__results {
    background: #eef0f2;
    padding: 1.5rem 2rem;
}
.zinsrechner__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #16184e;
}
.zinsrechner__row--total {
    font-family: 'DeutscheBank Medium', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}
.zinsrechner__divider {
    border: none;
    border-top: 1px solid #d0d4d8;
    margin: 0 0 1rem;
}
.zinsrechner__disclaimer {
    font-size: 0.8rem;
    color: #16184e;
    line-height: 1.5;
    margin: 0;
}

.footer { background: #16184e; color: #fff; padding: 2rem 1.5rem; margin-top: 3rem; }
.footer a {
    color: #bfd5f7;
    background-color: transparent;
}
.footer a:hover,
.footer a:focus-visible {
    color: #e7f4fe;
    background-color: transparent;
    text-decoration: underline;
}
.footer .footer__action-link {
    display: inline-block;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    max-width: 100%;
    box-sizing: border-box;
}
.footer__phone {
    cursor: default;
    text-decoration: none;
}
.footer .footer__phone.btn--secondary:hover,
.footer .footer__phone.btn--secondary:focus,
.footer .footer__phone.btn--secondary:focus-visible {
    color: #bfd5f7;
    border-color: #bfd5f7;
    background: transparent;
    text-decoration: none;
}
.footer .footer__action-link.btn--secondary,
.footer .footer__action-link.btn--secondary:hover,
.footer .footer__action-link.btn--secondary:focus,
.footer .footer__action-link.btn--secondary:focus-visible {
    background: transparent;
    color: #bfd5f7;
    border-color: #bfd5f7;
}
.footer .footer__action-link.btn--secondary:hover,
.footer .footer__action-link.btn--secondary:focus-visible {
    color: #e7f4fe;
    border-color: #e7f4fe;
    text-decoration: underline;
}
.footer .footer__phone.footer__action-link.btn--secondary:hover,
.footer .footer__phone.footer__action-link.btn--secondary:focus-visible {
    text-decoration: none;
}
.footer .grid-4 { gap: 1.5rem; }
.footer__logo { max-width: 200px; margin-bottom: 1rem; }
.footer__social img { width: 32px; }
.footer-legal { border-top: 1px solid #2a2c6a; padding-top: 1.5rem; margin-top: 1.5rem; font-size: 0.8rem; }
.footer-legal a { color: #bfd5f7; margin-right: 1rem; background-color: transparent; }
.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #e7f4fe;
    background-color: transparent;
    text-decoration: underline;
}

.zinssaetze { margin-top: 3rem; }
.zinssaetze__wrap { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: rgba(22, 24, 78, 0.45);
}
.cookie-banner--visible { display: flex; }
.cookie-banner__panel {
    width: 100%;
    max-width: 680px;
    max-height: min(90vh, 720px);
    overflow-y: auto;
    background: #fff;
    color: #16184e;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.cookie-banner__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: 'DeutscheBank Medium', Arial, sans-serif;
}
.cookie-banner__text {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    color: #16184e;
}
.cookie-banner__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
}
.cookie-banner__links a {
    color: #0550d1;
    font-size: 0.875rem;
}
.cookie-banner__links a:hover { color: #0d43b3; background: none; text-decoration: underline; }
.cookie-banner__accept {
    width: 100%;
    max-width: 100%;
}
.footer-legal__cookie-trigger {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #bfd5f7;
    cursor: pointer;
    text-align: left;
}
.footer-legal__cookie-trigger:hover { color: #e7f4fe; background: none; text-decoration: underline; }

.fos-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.fos-modal--visible { display: flex; }
.fos-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 24, 78, 0.55);
    border: none;
    padding: 0;
    cursor: pointer;
}
.fos-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    max-height: min(90vh, 640px);
    overflow-y: auto;
    background: #fff;
    color: #16184e;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.fos-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: #16184e;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.fos-modal__title {
    font-size: 1.25rem;
    margin: 0 2rem 0.75rem 0;
    font-family: 'DeutscheBank Medium', Arial, sans-serif;
    color: #16184e;
}
.fos-modal__note { margin-bottom: 1rem; }
.fos-modal__form label { color: #16184e; }
.fos-modal__submit {
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
}

.quiz-page { display: flex; flex-direction: column; min-height: 100vh; }
.quiz-page main { flex: 1 0 auto; padding: 2rem 0 3rem; }
.quiz { max-width: 640px; margin: 0 auto; padding: 0 24px; }
.quiz__intro { text-align: center; margin-bottom: 2rem; }
.quiz__intro h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 0.5rem; }
.quiz__intro p { color: #555; font-size: 0.95rem; }
.quiz__progress-wrap { margin-bottom: 2rem; }
.quiz__progress-label { font-size: 0.875rem; color: #555; margin-bottom: 0.5rem; }
.quiz__progress-bar { height: 6px; background: #e1e1e1; border-radius: 3px; overflow: hidden; }
.quiz__progress-fill { height: 100%; background: #0550d1; border-radius: 3px; transition: width 0.3s ease; width: 0; }
.quiz__step { display: none; }
.quiz__step--active { display: block; }
.quiz__question { font-size: 1.25rem; font-family: 'DeutscheBank Medium', Arial, sans-serif; margin-bottom: 1.25rem; color: #16184e; }
.quiz__options { display: grid; gap: 0.75rem; }
.quiz__option {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    border: 1px solid #cbcbcb;
    border-radius: 4px;
    background: #fff;
    color: #16184e;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.quiz__option:hover { border-color: #0550d1; background: #e7f4fe; }
.quiz__option--selected { border-color: #0550d1; background: #e7f4fe; box-shadow: inset 0 0 0 1px #0550d1; }
.quiz__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.quiz__nav .btn { min-width: 0; flex: 1 1 auto; max-width: 100%; }
.quiz-form { display: grid; gap: 1rem; }
.quiz-form label { display: block; font-size: 0.875rem; margin-bottom: 0.35rem; color: #16184e; }
.quiz-form input {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbcbcb;
    border-radius: 3px;
    font-size: 1rem;
    font-family: inherit;
}
.quiz-form input:focus { outline: none; border-color: #0550d1; box-shadow: 0 0 0 2px #e7f4fe; }
.quiz-form__note { font-size: 0.8rem; color: #555; line-height: 1.5; margin: 0; }

.thanks-page { display: flex; flex-direction: column; min-height: 100vh; }
.thanks-page main { flex: 1 0 auto; padding: 3rem 0; }
.thanks { max-width: 560px; margin: 0 auto; padding: 0 24px; text-align: center; }
.thanks h1 { font-size: clamp(1.5rem, 4vw, 2.125rem); margin-bottom: 1rem; }
.thanks p { color: #555; margin-bottom: 1.5rem; line-height: 1.6; }

@media (min-width: 768px) {
    .stage__content h1 { font-size: 3rem; }
    .counter__element { min-width: 80px; }
    .counter__digit { font-size: 2.5rem; }
}
@media (max-width: 767px) {
    .container { padding: 0 16px; }
    h1 { font-size: clamp(1.25rem, 5vw, 1.75rem); line-height: 1.3; }
    h2 { font-size: clamp(1.35rem, 4.5vw, 1.75rem); line-height: 1.3; }
    .header {
        position: relative;
        top: auto;
    }
    .header__inner {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        padding: 10px 16px;
        min-height: 48px;
        gap: 10px;
    }
    .header__logo { min-width: 0; }
    .header__logo-link { width: auto; height: auto; }
    .header__logo-img { height: 32px; width: auto; }
    .header__notice {
        justify-self: end;
        min-width: 0;
        max-width: 100%;
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        word-break: break-all;
        text-align: right;
    }
    .stage__media {
        position: relative;
        display: block;
        line-height: normal;
        background: #1e2a78 url('../images/1.webp') center top / cover no-repeat;
        min-height: 420px;
    }
    .stage__img {
        display: none;
    }
    .stage__overlay {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 1;
        opacity: 0.55;
    }
    .stage .stage__media .stage__content {
        position: relative;
        z-index: 2;
        inset: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 420px;
        margin: 0;
        padding: 1.25rem 16px 1.5rem;
        background: transparent;
        justify-content: flex-start;
        box-sizing: border-box;
    }
    .stage__content h1 {
        font-size: clamp(1.2rem, 4.2vw, 1.65rem);
        line-height: 1.3;
        max-width: 100%;
        word-break: break-word;
    }
    .counter {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.35rem;
        margin-top: 1rem;
        width: 100%;
        max-width: 100%;
    }
    .counter__element {
        min-width: 0;
        padding: 0.35rem 0.2rem;
    }
    .counter__digit { font-size: 1.25rem; }
    .counter__label { font-size: 0.55rem; }
    .stage__cta .btn {
        width: 100%;
        max-width: 100%;
        display: block;
        text-align: center;
    }
    .content-nav { position: sticky; top: 0; z-index: 50; }
    .content-nav__inner {
        padding: 0 16px;
        min-height: 44px;
        gap: 0.75rem;
        max-width: 100%;
    }
    .content-nav a { font-size: 0.8rem; }
    main.main-content { margin-top: 1.25rem; }
}
@media (max-width: 640px) {
    .footer .grid-3 {
        gap: 1.25rem;
    }
    .footer__logo {
        max-width: 160px;
    }
}
@media (max-width: 480px) {
    .stage__media,
    .stage .stage__media .stage__content {
        min-height: 380px;
    }
    .zinsrechner__wrap { padding: 0 16px; }
    .zinsrechner__top { flex-direction: column; align-items: stretch; }
    .zinsrechner__amount { width: 100%; text-align: left; }
    .zinsrechner__results { padding: 1rem 1.25rem; }
    .zinsrechner__row { font-size: 0.9rem; }
    .zinsrechner__disclaimer { font-size: 0.75rem; word-break: break-word; }
    .quiz { padding: 0 16px; }
    .quiz__nav { flex-direction: column; }
    .quiz__nav .btn { width: 100%; }
    .zinssaetze__wrap { padding: 0 16px; }
    .cookie-banner { padding: 12px; }
    .cookie-banner__panel { padding: 1.25rem; }
}
