/* =========================================================
   UDB INDEN – VORSTAND
========================================================= */

.udbew-vorstand{

    --udb-orange:#E97B12;
    --udb-orange-dark:#CC690B;

    --udb-dark:#232323;
    --udb-text:#5A5A5A;

    --udb-border:#E8E2DA;
    --udb-soft:#F8F6F2;
    --udb-white:#FFFFFF;

    width:100%;
    max-width:1360px;

    margin:
        0
        auto;

    padding:
        82px
        30px
        90px;

    box-sizing:border-box;

    color:
        var(--udb-dark);

    font-family:
        "Inter",
        Arial,
        sans-serif;
}


.udbew-vorstand *,
.udbew-vorstand *::before,
.udbew-vorstand *::after{

    box-sizing:border-box;
}


/* =========================================================
   INTRO
========================================================= */

.udbew-vorstand-intro{

    width:100%;
    max-width:900px;

    margin:
        0
        0
        52px;
}


.udbew-vorstand-intro h1{

    margin:
        0
        0
        18px !important;

    padding:0 !important;

    color:
        var(--udb-dark) !important;

    font-size:
        clamp(
            34px,
            3.2vw,
            46px
        );

    line-height:1.08;

    font-weight:600;

    letter-spacing:-1.2px;
}


.udbew-vorstand-intro p{

    width:100%;
    max-width:850px;

    margin:0;

    color:
        var(--udb-text);

    font-size:16px;
    line-height:1.78;
}


/* =========================================================
   GRID
========================================================= */

.udbew-vorstand-grid{

    display:grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap:24px;

    width:100%;

    align-items:stretch;

    margin-bottom:58px;
}


/* =========================================================
   KARTEN
========================================================= */

.udbew-vorstand-card{

    position:relative;

    display:flex;

    flex-direction:column;

    min-width:0;

    overflow:hidden;

    background:
        var(--udb-white);

    border:
        1px solid
        var(--udb-border);

    border-radius:16px;

    transform:none !important;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}


.udbew-vorstand-card:hover{

    border-color:#E4C7AB;

    box-shadow:
        0 14px 36px
        rgba(35,35,35,.06);

    transform:none !important;
}


/* =========================================================
   BILDER
========================================================= */

.udbew-vorstand-image{

    position:relative;

    width:100%;

    aspect-ratio:
        4 / 4.65;

    overflow:hidden;

    background:
        var(--udb-soft);

    border-bottom:
        1px solid
        var(--udb-border);
}


.udbew-vorstand-image img{

    display:block;

    width:100%;
    height:100%;

    margin:0;
    padding:0;

    object-fit:cover;

    transition:
        transform .5s
        cubic-bezier(.22,.61,.36,1);
}


/* Nur Portrait leicht zoomen */

.udbew-vorstand-card:hover
.udbew-vorstand-image img{

    transform:
        scale(1.018);
}


/* =========================================================
   CONTENT
========================================================= */

.udbew-vorstand-content{

    display:flex;

    flex:1;

    flex-direction:column;

    padding:
        24px
        24px
        26px;
}


.udbew-vorstand-content h3{

    margin:
        0
        0
        12px !important;

    padding:0 !important;

    color:
        var(--udb-dark) !important;

    font-size:20px;
    line-height:1.25;

    font-weight:650;

    letter-spacing:-.3px;
}


.udbew-vorstand-content h3::after{

    content:"";

    display:block;

    width:32px;
    height:2px;

    margin-top:11px;

    background:
        var(--udb-orange);
}


/* =========================================================
   FUNKTION
========================================================= */

.udbew-vorstand-role{

    margin:0;

    color:
        var(--udb-text);

    font-size:14px;
    line-height:1.55;

    font-weight:500;
}


/* =========================================================
   ERWEITERTER VORSTAND
========================================================= */

.udbew-vorstand-erweitert{

    width:100%;

    padding-top:34px;

    border-top:
        1px solid
        var(--udb-border);
}


.udbew-vorstand-erweitert h2{

    margin:
        0
        0
        14px !important;

    padding:0 !important;

    color:
        var(--udb-dark) !important;

    font-size:23px;
    line-height:1.3;

    font-weight:600;

    letter-spacing:-.4px;
}


/* Kein orangefarbener Seitenstrich */

.udbew-vorstand-erweitert h2::before,
.udbew-vorstand-erweitert h2::after{

    content:none !important;

    display:none !important;
}


.udbew-vorstand-erweitert p{

    max-width:1100px;

    margin:0;

    color:
        var(--udb-text);

    font-size:15px;
    line-height:1.75;
}


/* =========================================================
   ANIMATION
========================================================= */

.udbew-vorstand.is-animate
.udbew-vorstand-anim{

    opacity:0;

    transform:
        translateY(18px);

    transition:
        opacity .72s
        cubic-bezier(.22,.61,.36,1),

        transform .72s
        cubic-bezier(.22,.61,.36,1);
}


.udbew-vorstand.is-visible
.udbew-vorstand-anim{

    opacity:1;

    transform:
        translateY(0);
}


.udbew-vorstand.is-visible
.udbew-vorstand-intro{

    transition-delay:.04s;
}


.udbew-vorstand.is-visible
.udbew-vorstand-card:nth-child(1){

    transition-delay:.12s;
}


.udbew-vorstand.is-visible
.udbew-vorstand-card:nth-child(2){

    transition-delay:.18s;
}


.udbew-vorstand.is-visible
.udbew-vorstand-card:nth-child(3){

    transition-delay:.24s;
}


.udbew-vorstand.is-visible
.udbew-vorstand-card:nth-child(4){

    transition-delay:.30s;
}


.udbew-vorstand.is-visible
.udbew-vorstand-card:nth-child(5){

    transition-delay:.36s;
}


.udbew-vorstand.is-visible
.udbew-vorstand-card:nth-child(6){

    transition-delay:.42s;
}


.udbew-vorstand.is-visible
.udbew-vorstand-erweitert{

    transition-delay:.48s;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1050px){

    .udbew-vorstand{

        padding:
            66px
            24px
            74px;
    }


    .udbew-vorstand-grid{

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap:22px;
    }


    .udbew-vorstand-image{

        aspect-ratio:
            4 / 4.4;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:650px){

    .udbew-vorstand{

        padding:
            52px
            20px
            60px;
    }


    .udbew-vorstand-intro{

        margin-bottom:38px;
    }


    .udbew-vorstand-intro h1{

        margin-bottom:
            16px !important;

        font-size:32px;
    }


    .udbew-vorstand-intro p{

        font-size:15px;

        line-height:1.72;
    }


    .udbew-vorstand-grid{

        grid-template-columns:1fr;

        gap:20px;

        margin-bottom:44px;
    }


    .udbew-vorstand-card{

        display:flex;

        flex-direction:column;
    }


    .udbew-vorstand-image{

        width:100%;
        height:auto;

        aspect-ratio:
            4 / 4.25;
    }


    .udbew-vorstand-content{

        padding:
            22px
            21px
            24px;
    }


    .udbew-vorstand-content h3{

        font-size:19px;
    }


    .udbew-vorstand-role{

        font-size:14px;
    }


    .udbew-vorstand-erweitert{

        padding-top:28px;
    }


    .udbew-vorstand-erweitert h2{

        font-size:21px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:420px){

    .udbew-vorstand{

        padding:
            46px
            16px
            52px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

    .udbew-vorstand-anim{

        opacity:1 !important;

        transform:none !important;

        transition:none !important;
    }


    .udbew-vorstand-image img{

        transition:none !important;
    }


    .udbew-vorstand-card:hover
    .udbew-vorstand-image img{

        transform:none !important;
    }

}
