/* =========================================================
   TYPO3 14 – CSS
   NUR NACH BEREICHEN SORTIERT
   ========================================================= */


/* =========================================================
   1. FONTS
   ========================================================= */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url("../fonts/Inter-Thin-BETA.woff2?v=3.11") format("woff2"),
    url("../fonts/Inter-Thin-BETA.woff?v=3.11") format("woff");/*}*/
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url("../fonts/Inter-ExtraLight-BETA.woff2?v=3.11") format("woff2"),
    url("../fontsfcard/Inter-ExtraLight-BETA.woff?v=3.11") format("woff");
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/Inter-Light-BETA.woff2?v=3.11"),
    url("../fonts/Inter-Light-BETA.woff?v=3.11") format("woff");
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Inter-Regular.woff2?v=3.11") format("woff2"),
    url("../fonts/Inter-Regular.woff?v=3.11") format("woff");
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/Inter-Medium.woff2?v=3.11") format("woff2"),
    url("../fonts/Inter-Medium.woff?v=3.11") format("woff");
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/Inter-SemiBold.woff2?v=3.11") format("woff2"),
    url("../fonts/Inter-SemiBold.woff?v=3.11") format("woff");
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/Inter-Bold.woff2?v=3.11") format("woff2"),
    url("../fonts/Inter-Bold.woff?v=3.11") format("woff");
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/Inter-ExtraBold.woff2?v=3.11") format("woff2"),
    url("../fonts/Inter-ExtraBold.woff?v=3.11") format("woff");
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/Inter-Black.woff2?v=3.11") format("woff2"),
    url("../fonts/Inter-Black.woff?v=3.11") format("woff");
}


@font-face {
    font-display: swap;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 100;
    src: url("../fonts/Metropolis-Thin.woff2") format("woff2"),
    url("../fonts/Metropolis-Thin.woff") format("woff")
}

@font-face {
    font-display: swap;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 200;
    src: url("../fonts/Metropolis-ExtraLight.woff2") format("woff2"),
    url("../fonts/Metropolis-ExtraLight.woff") format("woff")
}

@font-face {
    font-display: swap;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/Metropolis-Light.woff2") format("woff2"),
    url("../fonts/Metropolis-Light.woff") format("woff")
}

@font-face {
    font-display: swap;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Metropolis-Regular.woff2") format("woff2"),
    url("../fonts/Metropolis-Regular.woff") format("woff")
}

@font-face {
    font-display: swap;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Metropolis-Medium.woff2") format("woff2"),
    url("../fonts/Metropolis-Medium.woff") format("woff")
}

@font-face {
    font-display: swap;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/Metropolis-SemiBold.woff2") format("woff2"),
    url("../fonts/Metropolis-SemiBold.woff") format("woff")
}

@font-face {
    font-display: swap;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Metropolis-Bold.woff2") format("woff2"),
    url("../fonts/Metropolis-Bold.woff") format("woff")
}

@font-face {
    font-display: swap;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 800;
    src: url("../fonts/Metropolis-ExtraBold.woff2") format("woff2"),
    url("../fonts/Metropolis-ExtraBold.woff") format("woff")
}

@font-face {
    font-display: swap;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 900;
    src: url("../fonts/Metropolis-Black.woff2") format("woff2"),
    url("../fonts/Metropolis-Black.woff") format("woff")
}

@font-face {
    font-family: "Font Awesome 5 Free Test";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}


/* =========================================================
   2. ALLGEMEIN / BODY
   ========================================================= */

html * {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



body {
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
    background-color: #eee;
}

p {
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
}

img:not(#c3933 img):not(#c3875 img) {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* =========================================================
   3. ÜBERSCHRIFTEN / TEXT
   ========================================================= */

h1, .h1,
h1.awesome, .h1.awesome,
h2.awesome, .h2.awesome,
.carousel .h1, .carousel .h2 {
    font-weight: 700;
    font-family: 'Metropolis', sans-serif;
    /*    letter-spacing: -0.05rem;*/
   /* font-size: 42px !important;*/
}

h1, .h1 {
    color: #c50924;
    font-weight: 800;
    font-size: 2.5rem;
    margin-top: 35px;
}

h2, .h2 {
    font-size: 2.3rem;
    /*   font-weight: 500 !important;*/
    font-family: 'Metropolis', sans-serif;
    /*   letter-spacing: -0.05rem;*/
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500 !important;
    line-height: 1.2;
    color: inherit;
}

h3, .h3 {
    font-weight: 500;
    margin-bottom: .5rem;
    letter-spacing: -0.05rem;
    line-height: 1.2;
    font-size: 1.75rem;
    /* background-color: #d9d9d9 !important; test */
    margin-top: 0;
    font-family: inherit;
    font-size: 1.75rem;
}

h4, .h4 {
    font-family: 'Metropolis', sans-serif;
    letter-spacing: -0.05rem;
    font-size: 25px !important;
}

h5, .h5 {
    font-family: "PT Sans", sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 1rem;
}

.textpic-text p {
    line-height: 1.6;
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
}

.frame-header h2 {
    color: #d9d9d9 !important;
}

.list li {
    font-size: 1.2rem !important;
    color: #d9d9d9 !important;
}

#c3955 {
    color: #aaa !important;
    background-color  : #242424!important;
    font-size: 4.3rem;
}


#c3955 .h2 {

    font-size: 4.3rem;
}

#c3955 .list {
    columns: 2;
    column-gap: 20%;


}

@media (max-width: 768px) {
    #c3955 .list {
        columns: 1;
        column-gap: 20%;
    }
}

#c3955 .list li {
    break-inside: avoid;
}

blockquote {
    border-left: 2px solid #bf1e2e;
}

blockquote footer {
    color: #a9acae;
}


/* =========================================================
   4. HEADER
   ========================================================= */

#page-header {
    height: 90px !important;
    min-height: 90px !important;
    background-color: #242424 !important;
}

#page-header .container-mainnavigation {
    height: 90px !important;
    min-height: 90px !important;

    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 40px !important;
    padding-right: 20px;

    display: flex;
    align-items: center;
}

#page-header .container-mainnavigation {
    position: relative;
}

#page-header .navbar-brand {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

#page-header .container-mainnavigation > .navbar-brand-logo-normal {
    position: static !important;
    transform: translateY(-5px) !important;
    align-self: center !important;
}

#page-header .navbar-brand-logo-normal {
    display: block !important;
    width: auto;
    height: 70px !important;
    max-height: 70px !important;
    transform: translateY(-5px) !important;
    position: static !important;
}

#page-header .navbar-brand-logo-inverted {
    display: none !important;
}

#page-header .container-mainnavigation::before {
    content: "Maschinenbau";
    position: absolute;
    left: 140px;
    top: 45px !important;
    transform: translateY(-50%);

    color: #fff;
    font-family: "Metropolis", sans-serif;
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================================
   5. HEADER – LINien
   ========================================================= */

#page-header::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 7px;
    width: 100%;
    height: 5px;
   /* background: #B40923;*/
}

#page-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: green;
}
.navbar-brand {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
}

/* =========================================================
   6. NAVIGATION
   ========================================================= */

#mainnavigation {
    display: flex;
    align-items: center;
}

#mainnavigation .navbar-nav {
    display: flex;
    align-items: center;
}

#mainnavigation .nav-link-text {
    font-family: 'Metropolis', sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.01rem;
    color: rgba(255, 255, 255, 0.5);
}

#mainnavigation .nav-link:hover .nav-link-text {
   /* color: #ffffff;*/
}


/* =========================================================
   7. HERO / HEADER-BILDER
   ========================================================= */

.hero {
    width: 100%;
    height: 400px;
    background-image: url("/fileadmin/pele-maschinenbau.de/img/egine_wheels.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

img[src*="egine_wheels"] {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transform: scale(0.9);
    filter: brightness(0.8);
}

.hero-logo {
    width: 250px;
    height: 245px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.maschinenbau {
    width: 100vw;
    height: 400px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-image: url("/fileadmin/pele-maschinenbau.de/img/maschinenbau_header.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dienstleistungen {
    width: 100vw;
    height: 400px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-image: url("/fileadmin/pele-maschinenbau.de/img/dienstleistungen_header.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.maschinenbau-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 75px;
    background: rgba(255, 255, 255, 0.75);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    text-align: center;
}

.maschinenbau-overlay .test-cogs {
    font-family: "Font Awesome 5 Free Test";
    font-weight: 900;
    font-size: 80px;
    color: #222;
}

.maschinenbau-text {
    font-size: 2.5rem;
    color: #242424;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.maschinenbau-logo {
    width: 200px;
    height: auto;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.5);
}


/* =========================================================
   8. BILDER / GALLERY
   ========================================================= */

@media (min-width: 768px) {
    .bilder {
        gap: 50px;
    }
}

figcaption.caption {
    font-size: 18px;
    font-weight: bold;
}

.gallery-row .gallery-item-size-2 figure.image {
    margin: 0 !important;
}

.gallery-row .gallery-item-size-2 figure.image picture {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-row .gallery-item-size-2 figure.image img {
    object-fit: cover;
    display: block;
}

.gallery-row .gallery-item-size-2 .caption {
    display: block;
    margin-top: 10px !important;
    min-height: 24px;
}

.textpic-gallery img {
    width: 50%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.textpic-gallery .gallery-item-size-1 img {
    width: 100% !important;
    max-width: 100% !important;
}

.gallery-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 15px !important;
    width: 70% !important;
    margin-left: 15% !important;
    margin-right: 15% !important;
}

/* =========================================================
   9. GALLERY – c3956
   ========================================================= */

#c3956 .gallery-item-size-2 {
    padding-left: 5% !important;
    padding-right: 5% !important;
}

#c3956 .gallery-item-size-2 figure,
#c3956 .gallery-item-size-2 picture {
    width: 100% !important;
}

#c3956 .gallery-item-size-2 img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}


    /* =========================================
       c3956 / c3957 / c3958 – volle Bildschirmbreite
       ========================================= */

#c3956,
#c3957,
#c3958 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    margin-right: 0 !important;
 /*   transform: translateX(-50%) !important; */
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#c3956 .frame-group-container,
#c3956 .frame-group-inner,
#c3956 .frame-container,
#c3956 .frame-inner,
#c3957 .frame-group-container,
#c3957 .frame-group-inner,
#c3957 .frame-container,
#c3957 .frame-inner,
#c3958 .frame-group-container,
#c3958 .frame-group-inner,
#c3958 .frame-container,
#c3958 .frame-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* =========================================
   BILD LINKS / TEXT RECHTS
   ========================================= */

.textpic.textpic-centered.textpic-left {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 30px !important;
}

.textpic.textpic-centered.textpic-left
.textpic-item.textpic-gallery {
    flex: 0 0 calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    width: calc(50% - 15px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.textpic.textpic-centered.textpic-left
.textpic-item.textpic-text {
    flex: 0 0 calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    width: calc(50% - 15px) !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.textpic.textpic-centered.textpic-left .gallery-row,
.textpic.textpic-centered.textpic-left .gallery-item,
.textpic.textpic-centered.textpic-left figure.image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.textpic.textpic-centered.textpic-left figure.image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}


/* =========================================
   BILD RECHTS / TEXT LINKS
   ========================================= */

.textpic.textpic-centered.textpic-right {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 30px !important;
}

.textpic.textpic-centered.textpic-right
.textpic-item.textpic-gallery {
    flex: 0 0 calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    width: calc(50% - 15px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.textpic.textpic-centered.textpic-right
.textpic-item.textpic-text {
    flex: 0 0 calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    width: calc(50% - 15px) !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.textpic.textpic-centered.textpic-right .gallery-row,
.textpic.textpic-centered.textpic-right .gallery-item,
.textpic.textpic-centered.textpic-right figure.image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.textpic.textpic-centered.textpic-right figure.image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}




/* =========================================================
   10. GALLERY – c4022
   ========================================================= */
#c4138 {
    background-color: inherit !important;
}
#c4022 .gallery-row {
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
}

#c4022 .gallery-item-size-2 {
    padding: 0 !important;
    margin: 0 !important;
    flex: 0 0 30% !important;
    max-width: 30% !important;
}

#c4022 .gallery-item-size-2 img {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
}

.image-text-grid {
    display: flex;
    gap: 30px;
    width: 100%;
}

.image-text-item {
    flex: 1 1 50%;
    min-width: 0;
}

.image-text-item img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 !important;
}

/* Handy */
@media (max-width: 767px) {

    .image-text-grid {
        flex-direction: column;
        gap: 30px;
    }

    .image-text-item {
        width: 100%;
    }

}
/* =========================================================
   11. GALLERY – RESPONSIVE
   ========================================================= */

/* Desktop */

.gallery-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-start !important;

    width: 70% !important;
    margin-left: 15% !important;
    margin-right: 15% !important;

    gap: 15px !important;
}

.gallery-row .gallery-item,
.gallery-row .gallery-item-size-1,
.gallery-row .gallery-item-size-2 {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

.gallery-row img,
.gallery-row picture,
.gallery-row figure {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}


/* Handy */

@media (max-width: 767px) {

    .gallery-row {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 30px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .gallery-row .gallery-item,
    .gallery-row .gallery-item-size-1,
    .gallery-row .gallery-item-size-2 {
        display: block !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .gallery-row figure,
    .gallery-row picture {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .gallery-row img,
    .gallery-row .gallery-item-size-1 img,
    .gallery-row .gallery-item-size-2 img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    .gallery-row .caption {
        text-align: center !important;
        margin-top: 10px !important;
    }
    /* Allgemeiner Inhalt */
    /*  .frame-inner,
      .frame-container {
          padding-left: 20px !important;
          padding-right: 20px !important;
          box-sizing: border-box !important;
      }*/

    /* Texte */
    .frame-inner p,
    .frame-inner h1,
    .frame-inner h2,
    .frame-inner h3,
    .frame-inner h4,
    .frame-inner h5,
    .frame-inner h6 {
        margin-left: 0 !important;
    }

    /* Text + Bild */
    .textpic-item.textpic-text {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

}

/* =========================================================
   HANDY – linker Rand / Innenabstand
   ========================================================= */


/* =========================================================
   12. TYPO3 CONTENT – c3952 / c3953
   ========================================================= */

#c3952,
#c3953 {
    width: 98% !important;
    max-width: 98% !important;
    margin-left: auto !important;
    margin-right: auto !important;

}

#c3952 .frame-group-container,
#c3952 .frame-group-inner,
#c3952 .frame-container,
#c3952 .frame-inner,
#c3953 .frame-group-container,
#c3953 .frame-group-inner,
#c3953 .frame-container,
#c3953 .frame-inner {
    background-color: #eee !important;
    width: 100% !important;
    max-width: none !important;
}

#c3953 {
    padding-bottom: 80px !important;
}

/* =========================================================
   13. TYPO3 CONTENT – c3956 / c3957 / c3958
   ========================================================= */

#c3956::before,
#c3957::before,
#c3958::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    right: -100vw;
    background-color: lightgray !important;
    z-index: -1;
}

#c3956,
#c3957,
#c3958 {
    width: 66.6667% !important;
    max-width: 66.6667% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1;
}

#c3956 .frame-group-container,
#c3956 .frame-group-inner,
#c3956 .frame-container,
#c3956 .frame-inner,
#c3957 .frame-group-container,
#c3957 .frame-group-inner,
#c3957 .frame-container,
#c3957 .frame-inner,
#c3958 .frame-group-container,
#c3958 .frame-group-inner,
#c3958 .frame-container,
#c3958 .frame-inner {
    width: 100% !important;
    max-width: 100% !important;
}

#c3956 .frame-inner,
#c3957 .frame-inner,
#c3958 .frame-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-color: #242424 !important;
}

#c3957 .textpic {
    align-items: stretch !important;
}

#c3957 .textpic-item.textpic-gallery,
#c3957 .textpic-item.textpic-gallery .gallery-row,
#c3957 .textpic-item.textpic-gallery .gallery-item,
#c3957 .textpic-item.textpic-gallery figure.image {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#c3957 .textpic-item.textpic-gallery img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* =========================================================
   14. TEXT + BILD – c3956 / c3957 / c3958
   ========================================================= */

#c3956 .textpic,
#c3957 .textpic,
#c3958 .textpic {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

#c3956 .textpic,
#c3957 .textpic,
#c3958 .textpic {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 2% !important;
}

#c3956 .textpic-item.textpic-gallery,
#c3957 .textpic-item.textpic-gallery,
#c3958 .textpic-item.textpic-gallery {
    width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
}

#c3956 .textpic-item.textpic-gallery,
#c3957 .textpic-item.textpic-gallery,
#c3958 .textpic-item.textpic-gallery {
    flex: 0 0 33.3333% !important;
    width: 33.3333% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#c3956 .textpic-item.textpic-gallery img,
#c3957 .textpic-item.textpic-gallery img,
#c3958 .textpic-item.textpic-gallery img {
    width: 100% !important;
    height: auto !important;
}

#c3956 .textpic-item.textpic-text,
#c3957 .textpic-item.textpic-text,
#c3958 .textpic-item.textpic-text {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    box-sizing: border-box !important;
    color:inherit !important;
}


/* =========================================================
   15. ABSTÄNDE – c3956 / c3957 / c3958
   ========================================================= */
#c3956,
#c4017,
#c3957,
#c3958 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Anfang */
#c3956 {
    padding-top: 30px !important;
}

/* 20px zwischen den Elementen */
#c3956,
#c3957 {
    padding-bottom: 20px !important;
}

/* Ende */
#c3958 {
    padding-bottom: 30px !important;
}


/* =========================================================
   16. c3950 / c3951 / c3875
   ========================================================= */

#c3951 {
    padding: 0 !important;
    margin: 0 !important;
}

#c3875,
#c3951 .frame-inner {
    margin-left: 0 !important;
}

#c3950 .frame-inner {
    width: calc(100vw + (100vw - 100%)) !important;
    margin-left: calc(100% - 100vw) !important;
}

#c3950 hr {
    width: 100% !important;
}

#c3875 {
    padding: 0 !important;
    margin: 0 !important;
}


/* =========================================================
   17. SECTIONS / HINTERGRÜNDE
   ========================================================= */

.background-light {
    background-color: #eeeeee;
}

.background-dark {
    background-color: #242424;
}

.bg-darkgrey {
    background-color: #4e5155;
}

.section.section-default:has(#c3875) {
    background-color: #f2f2f2 !important;
}

.section-default .frame-inner,
#page-footer,
#footer-section-meta .frame-inner {
    /* margin-left: -5vw !important;*/
    font-size: 1.2rem !important;

}


/* =========================================================
   18. TRENNLINIEN / HR
   ========================================================= */

.frame-type-div hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

hr {
    width: 100% !important;
    height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background-color: #BF202E !important;
    opacity: 1 !important;
}


/* Rote Linien */


#c3934 hr {
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background-color: #BF202E !important;
    opacity: 1 !important;
}


#c3885 hr {
    display: block !important;
    width: 50% !important;
    height: 1px !important;
    margin: 10px auto !important;
    padding: 0 !important;
    border: 0 !important;
    background-color: #BF202E !important;
    opacity: 1 !important;
}
/* =========================================================
   19. c3869 / c3857
   ========================================================= */

#c3869
{
    padding-top: 10px !important;
    padding-bottom: 0 !important;
}

#c3869 .frame-container,
#c3869 .frame-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#c3857,
#c3857 .frame-group-container,
#c3857 .frame-group-inner,
#c3857 .frame-container,
#c3857 .frame-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   20. MAP
   ========================================================= */

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* =========================================================
   21. CARDS
   ========================================================= */

.card {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.card {
    border: none !important;
    border-radius: 0 !important;
}

.card,
.card > *:first-child,
.card > *:last-child {
    border-radius: 0;
}

.card-img-top {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.card-img-top picture,
.card-img-top img {
    display: block;
    width: 100%;
    height: 100%;
}

.card-img-top img {
    object-fit: cover;
}

.card-,
.card-footer {
    position: relative;
    z-index: 1;
}

.card- {
    color: black;
}

.card-title {
    position: absolute;
    left: 0;
    bottom: 15px;
    width: 100%;
    margin: 0;
    padding: 9px 12px;

    background: rgba(255, 255, 255, 0.53);
    color: #000;
    border: 5px solid rgba(255, 255, 255, 0.5);

    text-align: center;
    z-index: 2;
    white-space: nowrap;
}



@media (max-width: 767px) {
    .card-menu.card-menu-columns-2 .card-menu-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}
@media (max-width: 767px) {
    .card-menu-columns-2 .card-menu-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

.card:hover .card-footer {
    opacity: 1;
    visibility: visible;
}

.card-footer {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;

    z-index: 3;
}

.card-footer .card-link {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;

    color: transparent !important;
    text-decoration: none;

    font-size: 0;
}


.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.card-body,
.card-footer {
    border: none !important;
}

.card-title {
    font-weight: 700;
}


/* =========================================================
   22. ICONS
   ========================================================= */

.test-percent {
    font-family: "Font Awesome 5 Free Test" !important;
    font-weight: 900 !important;
    font-size: 80px !important;
}

.test-percent::before {
    content: "\f295" !important;
}

.fas.fa-percent,
.fas.fa-people-carry,
.fas.fa-draw-polygon {
    font-family: "Font Awesome 5 Free Test" !important;
    font-weight: 900 !important;
    font-size: 4em !important;
}

.fas.fa-percent::before {
    content: "\f295";
}

.fas.fa-people-carry::before {
    content: "\f4ce";
}

.fas.fa-draw-polygon::before {
    content: "\f5ee";
}

.test-handshake,
.test-cogs {
    font-family: "Font Awesome 5 Free Test";
    font-weight: 900;
    font-size: 80px;
    color: #333;
}

.description-icon .fas {
    font-size: 50px;
    color: #ffffff;
}


/* =========================================================
   23. DISCLAIMER / c3954
   ========================================================= */


#c3954  {
    margin-bottom: 0rem !important;
    font-family: inherit  !important;
    font-weight: 500  !important;

    color: inherit;
    background-color: #242424!important;
}

#c3954 .col-sm-10 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#c3954 .row {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Ab 992px: 3 nebeneinander */
#c3954 .col-lg-4 {
    width: 33.333333% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.5% !important;
    padding-right: 0.5% !important;
}

#c3954 .disclaimer-icon {
    width: 100% !important;
    background-color: #d9d9d9 !important;
}

#c3954 .disclaimer-icon .fas {
    color: #BF202E !important;
}

#c3954 .disclaimer-icon h2 {
    color: #000 !important;
}


/* Unter 992px: untereinander und mittig */
@media (max-width: 991px) {
    #c3954 .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    #c3954 .col-lg-4 {
        width: 100% !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
    }

    #c3954 .disclaimer-icon {
        width: 100% !important;
    }
}



.disclaimer-icon {
    width: 100% !important;
    background-color: #fff !important;
}

.disclaimer-icon .fas {
    color: #BF202E !important;
}

.disclaimer-icon h2 {
    color: inherit !important;

}


/* =========================================================
   24. BUTTONS
   ========================================================= */

.btn,
.cc-btn {
    box-shadow: none !important;
    border-radius: 0 !important;
}


/* =========================================================
   25. CAROUSEL
   ========================================================= */

.kunden-carousel {
    --rand: 30px;
    width: calc(100vw - (2 * var(--rand))) !important;
    max-width: calc(100vw - (2 * var(--rand))) !important;
    position: relative;
    left: 50%;
    margin-left: calc(-50vw + var(--rand));
    overflow: hidden;
}

.kunden-carousel .item {
    height: 70px !important;
    min-height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px;
}

.kunden-carousel .item img {
    max-height: 50px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.kunden-carousel .owl-dots.disabled {
    display: block;
}

.carousel .h1,
.carousel .h2 {
    font-weight: 200;
    font-size: 42px !important;
}

.carousel .h3 {
    font-weight: 200;
}


/* =========================================================
   26. TIMELINE
   ========================================================= */

.timeline .timeline-item-date {
    display: none;
}


/* =========================================================
   27. FOOTER
   ========================================================= */

footer ul {
    list-style: none;
    padding-left: 0;
}

footer .footer-section-content a:not(.btn) {
    color: #E16873;
}

footer .footer-section-meta .frame {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 12px;
    color: #ccc;
}

#page-footer {
    background-color: #444 !important;
    font-size: 1.2rem;

}

#page-footer,
#page-footer .footer-section,
#page-footer .footer-section-content,
#page-footer .footer-section-meta,
#page-footer .frame,
#page-footer .frame-group-container,
#page-footer .frame-group-inner,
#page-footer .frame-container,
#page-footer .frame-inner {
    background-color: #222 !important;
}

#page-footer .footer-section-content-column {
    display: flex !important;
    flex-direction: column !important;
}


/* Footer Überschriften */

#page-footer .footer-section-content-column .frame-header {
    box-sizing: border-box !important;
    height: 40px !important;

    margin: 0 0 20px 0 !important;
    padding: 0 0 15px 0 !important;

    border-bottom: 2px solid #B40923 !important;
}

#page-footer .footer-section-content-column .element-header {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 1.1rem !important;
    color: #6c757d !important;
}


/* Footer Links */

#page-footer .footer-section-content-column-right a {
    color: #ffffff !important;
    text-decoration: none !important;
}

#page-footer .footer-section-content-column-right a:hover {
    color: #BF202E !important;
}

#page-footer .footer-section-content-column-left a,
#page-footer .footer-section-content-column-left a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

#page-footer .footer-section-content-column-left a:hover {
    color: #BF202E !important;
    text-decoration: none !important;
}


/* Footer Meta / Copyright */

#page-footer .footer-section-meta {
    margin: 0 !important;
    padding: 0 !important;
}

#page-footer .footer-section-meta .frame-inner {
    border-top: 2px solid #B40923 !important;

    margin: 0 !important;
    padding: 8px 0 !important;

    display: flex !important;
    align-items: center !important;
}

#page-footer .footer-info-section {
    margin: 0 !important;
    padding: 8px 0 !important;

    display: flex !important;
    align-items: center !important;

    min-height: 0 !important;
}

#page-footer .footer-copyright {
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;

    text-align: left !important;
}

#page-footer .footer-copyright p {
    margin: 0 !important;
    padding: 0 !important;

    color: #6c757d !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

#page-footer .footer-menu-section {
    display: none !important;
}


/* =========================================================
   28. SONSTIGES
   ========================================================= */

#c3919 {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#c3920 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#frame-backgroundimage-c3873 {
    min-height: 500px;
    background-size: cover;
    background-position: center;
}


/* =========================================================
   29. SPEZIELLE SEITE – WEBHOSTING
   ========================================================= */

/*.page-100 #c231 .frame-backgroundimage,
.page-100 #c787 .frame-backgroundimage {
    background-repeat: repeat;
    background-size: auto;
}
*/

/* =========================================================
   30. LISTEN
   ========================================================= */

/*ul.bullet-list {
    list-style-type: none;
    padding-left: 0px;
}

ul.bullet-list li {
    padding-bottom: 10px;
}

ul.bullet-list li p {
    padding-top: 8px;
    padding-left: 10px;
    overflow-y: hidden;
}

ul.bullet-list .fa-stack {
    color: #bf1e2e;
    float: left;
}*/


@media (max-width: 575px) {
    .offset-sm-2 {
        margin-left: 16.666667%;
    }

    .col-sm-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

/*@media (max-width: 575px) {
    h3, .h3 {
        font-size: 1.5rem !important;
    }
}
*/
@media (max-width: 991px) {

    /* =========================================
       HEADER
       ========================================= */

    #page-header {
        height: auto !important;
        min-height: 90px !important;
    }

    #page-header .container-mainnavigation {
        height: auto !important;
        min-height: 90px !important;
    }


    /* =========================================
       BURGER
       ========================================= */

    #page-header .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 50px !important;
        height: 50px !important;

        color: #fff !important;
    }


    /* =========================================
       GESCHLOSSEN
       → NAV HORIZONTAL
       ========================================= */

    /* GESCHLOSSEN → NAV AUSBLENDEN */

    #page-header #mainnavigation:not(.show) {
        display: none !important;
    }


    /* =========================================
       GEÖFFNET
       → NAV VERTIKAL
       ========================================= */

    #page-header #mainnavigation.show {
        display: block !important;
        position: static !important;

        width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

         background: transparent !important;

        visibility: visible !important;
        opacity: 1 !important;
    }

    #page-header #mainnavigation.show .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
 
        justify-content: flex-start !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

  
  #page-header #mainnavigation.show .nav-item {
    background: transparent !important;
  
}


    /* =========================================
       MENÜPUNKTE
       ========================================= */

    #page-header #mainnavigation.show .nav-item {
        display: block !important;
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* =========================================
       LINKS
       ========================================= */

    #page-header #mainnavigation.show .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 15px 20px !important;
        color: #fff !important;
        text-align: left !important;
    }

    #page-header #mainnavigation.show .nav-link-text {
        display: inline !important;
        color: #fff !important;
    }


    /* =========================================
       UNTERSEITEN
       ========================================= */

    #page-header #mainnavigation.show .dropdown-menu {
        position: static !important;

        display: block !important;

        width: 100% !important;
        min-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #222 !important;

        border: 0 !important;
        box-shadow: none !important;
    }

    #page-header #mainnavigation.show .dropdown-menu .nav-link {
        padding-left: 40px !important;
        background: #222 !important;
    }

}

#page-header #mainnavigation .nav-link,
#page-header #mainnavigation .nav-link-text {
    text-decoration: none !important;
}

.image-text-grid {
    display: flex;
    gap: 30px;
    width: 100%;
}

.image-text-item {
    flex: 1 1 50%;
    min-width: 0;
}

.image-text-item img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 !important;
}

.image-text-content {
    padding-top: 15px;
}

.image-text-content h3 {
    margin: 0 0 10px 0;
    font-family: "Metropolis", sans-serif;
    /* test   font-size: 25px;*/
    font-weight: 600;
}

.image-text-content p {
    margin: 0;
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
}


/* Handy */
@media (max-width: 767px) {

    .image-text-grid {
        flex-direction: column;
        gap: 30px;
    }

    .image-text-item {
        width: 100%;
    }

}

@media (max-width: 767px) {

    /* Gesamten Bereich bis an beide Seiten */
    #c3956,
    #c3957,
    #c3958 {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 50% !important;
        transform: translateX(-50%) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #c3956 .frame-group-container,
    #c3956 .frame-group-inner,
    #c3956 .frame-container,
    #c3956 .frame-inner,
    #c3957 .frame-group-container,
    #c3957 .frame-group-inner,
    #c3957 .frame-container,
    #c3957 .frame-inner,
    #c3958 .frame-group-container,
    #c3958 .frame-group-inner,
    #c3958 .frame-container,
    #c3958 .frame-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Bild oben / Text unten */
    #c3956 .textpic,
    #c3957 .textpic,
    #c3958 .textpic {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* Bild */
    #c3956 .textpic-item.textpic-gallery,
    #c3957 .textpic-item.textpic-gallery,
    #c3958 .textpic-item.textpic-gallery {
        order: 1 !important;
        width: 100% !important;
    }

    #c3956 .gallery-row,
    #c3956 .gallery-item,
    #c3956 figure,
    #c3956 picture,
    #c3956 img,
    #c3957 .gallery-row,
    #c3957 .gallery-item,
    #c3957 figure,
    #c3957 picture,
    #c3957 img,
    #c3958 .gallery-row,
    #c3958 .gallery-item,
    #c3958 figure,
    #c3958 picture,
    #c3958 img {
        width: 100% !important;
        max-width: 100% !important;
    }

    #c3956 img,
    #c3957 img,
    #c3958 img {
        display: block !important;
        height: auto !important;
    }

    /* Text unten */
    #c3956 .textpic-item.textpic-text,
    #c3957 .textpic-item.textpic-text,
    #c3958 .textpic-item.textpic-text {
        order: 2 !important;
        width: 100% !important;
        padding: 20px 5% !important;
        box-sizing: border-box !important;
        color:inherit !important;
    }

    /* Schrift */
    #c3956 .textpic-text h3,
    #c3957 .textpic-text h3,
    #c3958 .textpic-text h3 {
        font-size: 4.5vw !important;
    }
}




@media (min-width: 1400px) {
    #c3956 .textpic-text h3,
    #c3957 .textpic-text h3,
    #c3958 .textpic-text h3 {
        font-size: 1.5vw !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #c3956 .textpic-text h3,
    #c3957 .textpic-text h3,
    #c3958 .textpic-text h3 {
        font-size: 2vw !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #c3956 .textpic-text h3,
    #c3957 .textpic-text h3,
    #c3958 .textpic-text h3 {
        font-size: 2vw !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #c3956 .textpic-text h3,
    #c3957 .textpic-text h3,
    #c3958 .textpic-text h3 {
        font-size: 2.5vw !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #c3956 .textpic-text h3,
    #c3957 .textpic-text h3,
    #c3958 .textpic-text h3 {
        font-size: 2.5vw !important;
    }
}

/* Small Devices */
@media (min-width: 576px) {
    #disclaimer-light .disclaimer-box .h3 {
        font-size: 2vw;
    }
}

/* Bilder wirklich randlos bis links/rechts */
#c3956 .textpic-item.textpic-gallery,
#c3957 .textpic-item.textpic-gallery,
#c3958 .textpic-item.textpic-gallery,
#c3956 .gallery-row,
#c3957 .gallery-row,
#c3958 .gallery-row,
#c3956 .gallery-item,
#c3957 .gallery-item,
#c3958 .gallery-item,
#c3956 figure.image,
#c3957 figure.image,
#c3958 figure.image,
#c3956 picture,
#c3957 picture,
#c3958 picture {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#c3956 img,
#c3957 img,
#c3958 img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}



/* Medium Devices */
@media (min-width: 768px) {
    #disclaimer-light .disclaimer-box .h3 {
        font-size: 2.5vw;
    }
}
#disclaimer-light .disclaimer-box .h3{
    font-size: 4.5vw;
}
#c3934,
#c3934 .frame-group-container,
#c3934 .frame-group-inner,
#c3934 .frame-container,
#c3934 .frame-inner {
    padding-top: 1px !important;
}
#c3921 {
    height: auto !important;
    min-height: 100px !important;
    overflow: visible !important;
}

#c3921 .frame-inner {
    height: auto !important;
    min-height: 100px !important;
    overflow: visible !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

#c3921 .frame-header {
    margin: 0 !important;
}

@media (min-width: 992px) {

    #c3922 .textpic,
    #c3923 .textpic,
    #c3924 .textpic {
        display: flex !important;
        width: 100% !important;
        gap: 30px !important;
        align-items: flex-start !important;
    }

    /* BILD = 50 % */
    #c3922 .textpic-item.textpic-gallery,
    #c3923 .textpic-item.textpic-gallery,
    #c3924 .textpic-item.textpic-gallery {
        flex: 0 0 calc(50% - 15px) !important;
        max-width: calc(50% - 15px) !important;
        width: calc(50% - 15px) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* TEXT = 50 % */
    #c3922 .textpic-item.textpic-text,
    #c3923 .textpic-item.textpic-text,
    #c3924 .textpic-item.textpic-text {
        flex: 0 0 calc(50% - 15px) !important;
        max-width: calc(50% - 15px) !important;
        width: calc(50% - 15px) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* BILD KOMPLETT AUSFÜLLEN */
    #c3922 .gallery-row,
    #c3922 .gallery-item,
    #c3922 figure.image,
    #c3923 .gallery-row,
    #c3923 .gallery-item,
    #c3923 figure.image,
    #c3924 .gallery-row,
    #c3924 .gallery-item,
    #c3924 figure.image {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #c3922 figure.image img,
    #c3923 figure.image img,
    #c3924 figure.image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}
/* =========================================
   unter 992px – untereinander
   ========================================= */

@media (max-width: 991px) {

  /*  #c3924 .textpic.textpic-right {
        display: block !important;
        width: 100% !important;
    }

    #c3924 .textpic-item.textpic-gallery,
    #c3924 .textpic-item.textpic-text {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }*/

    #c3924 .textpic-item.textpic-gallery {
        margin-bottom: 20px !important;
    }

}



/* Small Devices */
@media (min-width: 576px) {
    .textpic-text h3 {
      /*  font-size: 2.5vw;*/
       font-size: 1.75rem;
    }
}

/* Medium Devices */
@media (min-width: 768px) {
    .textpic-text h3 {
       /* font-size: 2.5vw;*/
       font-size: 1.75rem;
    }
}

/* Large Devices */
@media (min-width: 992px) {
    .textpic-text h3 {
        /* font-size: 2vw; test*/
       
       font-size: 1.75rem;
    }
}

/* Extra-Large Devices */
@media (min-width: 1200px) {
    .textpic-text h3 {
        /*    font-size: 2vw; test*/
       font-size: 1.75rem;
    }
}


@media (min-width: 1400px) {
    .textpic-text h3 {
       /* font-size: 1.5vw;*/
       font-size: 1.75rem;
    }
}

@media (min-width: 1950px) {
    .textpic-text h3 {
     /*   font-size: 1vw;*/
       font-size: 1.75rem;
    }
}
@media  (max-width: 767px) {
    #c4022 .gallery-item {
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* =========================================
   c4022 – zwei Bilder nebeneinander
   ========================================= */

@media (min-width: 768px) {

    #c4022 .gallery-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
    }

    #c4022 .gallery-item {
        flex: 1 1 0 !important;
        width: 0 !important;
        max-width: none !important;
    }

    #c4022 .gallery-item figure,
    #c4022 .gallery-item picture,
    #c4022 .gallery-item img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}
#c4022 .gallery-item figure.image,
#c4022 .gallery-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

