.c12 {

    /* =========================
       Padding-Varianten
    ========================= */
    &.padding1 { padding: 0; }
    &.padding2 { padding: 20px; }
    &.padding3 { padding: 40px; }

    /* =========================
       Image-Modus 2
    ========================= */
    &.imgmod2 {

        .image-text-image {
            position: relative;
            display: flex;
            align-items: center;
        }

        .img_wrap {
            position: relative;
            width: 100%;
            padding-bottom: 100%;
            height: unset;
            margin: 40px 0;
        }

        .gallery-image {
            position: absolute;
            border-radius: 50%;
        }
    }

    /* =========================
       Hover-Effekt
    ========================= */
    &.effect2 {

        .img_wrap a {
            display: block;
            overflow: hidden;

            img {
                transform: scale(1);
                transition: transform 1s ease;
            }

            &:hover img {
                transform: scale(1.1);
            }
        }
    }

    /* =========================
       Allgemeine Bildregeln
    ========================= */
    .gallery-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: breath 50s ease infinite;
    }

    figure { margin: 0; }

    .image-text-image,
    .img_inner_wrap {
        position: relative;
    }

    .img_inner_wrap {
        overflow: hidden;
        height: 100%;
    }

    /* =========================
       50/50 Layout
    ========================= */
    
    .image-text,
    .text-image {

        .img_wrap { height: 100%; }

        .image-text-text > div {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .image-textbox {
            max-width: 60%;
            padding: 50px 0;
            text-align: center;
        }

        .image-textbox-link {
            display: inline-block;
            margin-top: 20px;
            padding: 5px 10px;
            background-color: #788A29;
            color: #fff;
            text-transform: uppercase;
        }
    }

    /* =========================
       Ohne Rahmen
    ========================= */
    .no-frame {

        .image-textbox {
            margin-bottom: 20px;
            padding: 5px;
            font-size: 1.6rem;
            background-color: rgb(229, 229, 229);
        }

        figcaption {
            font-weight: 600;
        }
    }

    /* =========================
       Caption / Overlay
    ========================= */
    .lnk-wr {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 5px 10px;
        background-color: #788A29;
        color: #fff;
        text-transform: uppercase;
    }

    .img_wrap figcaption {
        position: absolute;
        bottom: 0;
        width: 100%;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.3);

        * {
            margin: 0;
            padding: 0;
        }
    }

    /* =========================
       Mobile Bildhöhe
    ========================= */
    img.gallery-image {
        height: 400px;
    }
}

/* =========================
   Breakpoint ≥ 768px
========================= */
@media (min-width: 768px) {

    .c12 {

        img.gallery-image {
            height: 100%;
        }

        .img_wrap figcaption {
            bottom: 60px;
            width: auto;
            padding: 20px 50px;
            border-top-right-radius: 6px;
            border-bottom-right-radius: 6px;
        }
    }
}
