/* =====================================================================
 * BSH Finanzbericht Widget
 * ===================================================================== */

.bsh-fr {
    --orange:    #eb6a05;
    --blue:      #4283c4;
    --blue-dark: #1b3a61;
    --dark:      #0f1720;
    --light-bg:  #f4f7fb;
    --radius-a:  50px 0 50px 0;
    --radius-b:  0 50px 0 50px;
    font-family: inherit;
    color: var(--dark);
}

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

.bsh-fr__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
}

.bsh-fr a:focus-visible,
.bsh-fr button:focus-visible,
.bsh-fr input:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .bsh-fr,
    .bsh-fr * {
        transition-duration: .01ms !important;
    }
}

.bsh-fr__kicker {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--orange);
    margin-bottom: 10px;
}

.bsh-fr__heading {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 10px;
    color: var(--dark);
}

.bsh-fr__subtitle {
    font-size: clamp(16px,2vw,20px); font-weight: 400; line-height: 1.5;
    margin: 0 0 24px; color: #555;
}

.bsh-fr-s3 .bsh-fr__subtitle,
.bsh-fr-s4 .bsh-fr__subtitle { color: rgba(255,255,255,.85); }

.bsh-fr__text {
    font-size: 16px;
    line-height: 1.65;
    color: #444;
    margin: 0;
    max-width: 72ch;
}

.bsh-fr__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background: var(--orange);
    color: #fff;
    border-radius: var(--radius-a);
    transition: border-radius .35s ease, background .25s ease;
}

.bsh-fr__btn:hover,
.bsh-fr__btn:focus-visible {
    border-radius: var(--radius-b);
    background: var(--blue-dark);
    color: #fff;
}

.bsh-fr__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    cursor: pointer;
}

.bsh-fr__consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--orange);
}

.bsh-fr__consent a {
    color: var(--orange);
    text-decoration: underline;
}

/* Section 1 ----------------------------------------------------------- */

.bsh-fr-s1 {
    background: #f4f7fb;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.bsh-fr-s1__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: 20%;
    background-repeat: no-repeat;
    background-position: right -60px bottom -60px;
    opacity: .04;
    pointer-events: none;
}

.bsh-fr-s1 .bsh-fr__container {
    position: relative;
    z-index: 2;
}

.bsh-fr-s1__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bsh-fr-s1__body {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}

.bsh-fr-s1__body p {
    margin: 0 0 16px;
}

.bsh-fr-s1__image {
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    overflow: hidden;
    height: 450px;
}

.bsh-fr-s1__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section 2 ----------------------------------------------------------- */

.bsh-fr-s2 {
    background: #fff;
    padding: 100px 0;
}

.bsh-fr-s2__kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.bsh-fr-s2__kpi {
    background: #fff;
    padding: 30px 24px;
    border-radius: var(--radius-a);
    box-shadow: 0 4px 24px rgba(15,27,45,.06);
    text-align: center;
}

.bsh-fr-s2__kpi-value {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    color: var(--blue);
    font-weight: 750;
}

.bsh-fr-s2__kpi-label {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dark);
    font-weight: 700;
}

.bsh-fr-s2__images {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.bsh-fr-s2__image-wrap {
    margin: 0;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
}

.bsh-fr-s2__image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 430px;
    object-fit: cover;
    display: block;
}

/* Section 3 ----------------------------------------------------------- */

.bsh-fr-s3 {
    background: #1b3a61;
    padding: 100px 0;
}

.bsh-fr-s3 .bsh-fr__kicker { color: var(--orange); }
.bsh-fr-s3 .bsh-fr__heading { color: #fff; }

.bsh-fr-s3__grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bsh-fr-s3__card {
    background: rgba(255,255,255,.07);
    border-radius: var(--radius-a);
    padding: 34px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
}

.bsh-fr-s3__card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
    color: #fff;
}

.bsh-fr-s3__card p {
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 15px;
    line-height: 1.65;
}

/* Section 4 ----------------------------------------------------------- */

.bsh-fr-s4 {
    background: #1b3a61;
    padding: 24px 0 100px;
    position: relative;
    overflow: hidden;
}
.bsh-fr-s4 .bsh-fr__container { position: relative; z-index: 2; }
.bsh-fr-s4 .bsh-fr__heading { color: #fff; }
.bsh-fr-s4 .bsh-fr__kicker { color: var(--orange); }

.bsh-fr-s4__tree {
    position: absolute; right: -40px; bottom: -40px;
    width: 320px; height: 320px;
    background-size: contain; background-repeat: no-repeat; background-position: center;
    filter: brightness(0) invert(1); opacity: .1;
    pointer-events: none; z-index: 0;
}


.bsh-fr-s4__bg {
    position: absolute;
    left: -40px;
    bottom: -40px;
    width: 360px;
    height: 360px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .04;
    pointer-events: none;
}


.bsh-fr-s4__content {
    background: #fff;
    border-left: 4px solid var(--orange);
    padding: 28px 28px;
    max-width: 860px;
    box-shadow: 0 4px 24px rgba(15,27,45,.06);
}

/* Section 5 (Newsletter) --------------------------------------------- */

.bsh-fr-s5 {
    background: var(--light-bg, #f4f7fb);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.bsh-fr-s5__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right -60px bottom -60px;
    opacity: .04;
    pointer-events: none;
}

.bsh-fr-s5__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #fff;
    border-radius: 0;
    padding: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bsh-fr-s5__row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.bsh-fr-s5__input {
    flex: 1;
    padding: 13px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 1.5px solid #d0d5dd;
    border-radius: 0;
    background: #fff;
    color: var(--dark);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bsh-fr-s5__input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(235,106,5,.12);
}

.bsh-fr-s5__btn {
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: var(--orange);
    color: #fff;
    border-radius: var(--radius-a);
    transition: border-radius .35s ease, background .25s ease;
    white-space: nowrap;
    font-family: inherit;
}

.bsh-fr-s5__btn:hover,
.bsh-fr-s5__btn:focus-visible {
    border-radius: var(--radius-b);
    background: var(--blue-dark);
}

/* Responsive ---------------------------------------------------------- */

@media (max-width: 900px) {
    .bsh-fr-s1__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bsh-fr-s1__image {
        order: -1;
    }

    .bsh-fr-s2__kpis {
        grid-template-columns: 1fr 1fr;
    }

    .bsh-fr-s2__images,
    .bsh-fr-s3__grid {
        grid-template-columns: 1fr;
    }

    .bsh-fr-s5__wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 32px;
    }

    .bsh-fr-s1,
    .bsh-fr-s2,
    .bsh-fr-s3,
    .bsh-fr-s4,
    .bsh-fr-s5 {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

@media (max-width: 600px) {
    .bsh-fr__container {
        padding: 0 18px;
    }

    .bsh-fr__heading {
        font-size: clamp(22px, 5vw, 32px);
    }

    .bsh-fr-s1__image {
        height: 320px;
    }

    .bsh-fr-s2__kpi,
    .bsh-fr-s3__card {
        padding: 28px 22px;
    }

    .bsh-fr-s5__row {
        flex-direction: column;
    }

    .bsh-fr-s5__btn {
        width: 100%;
    }
}

/* Dark-section text overrides */
.bsh-fr-s4 .bsh-fr__text { color: rgba(255,255,255,.85); }