/*
Theme Name: Alkenbrecher & Preuß - Theme
Theme URI: https://kaliumtheme.com
Author: Laborator
Author URI: https://laborator.co
Description: Start creating that amazing website that you have always wanted, only with Kalium &mdash; Connect with Laborator on: <a href="https://twitter.com/thelaborator">Twitter X</a> &bull; <a href="https://www.facebook.com/laboratorcreative">Facebook</a> &bull; <a href="https://www.instagram.com/laboratorcreative">Instagram</a>
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: kalium
Text Domain: kalium
*/

/* Colors
Grün: #48825B  --> heller #4F9165
helles Grün: #7ee09c  > #72C18A #94E6AEFF
Ganz helles Grau für den Hintergrund: #F7F7F7
Grau für die Kästen auf den Unterseiten: #DBDBDB
Schwarz: #00000
*/

/* ====== Typo ====== */
#footer p>a,
.content-wrapper p>a{
    text-decoration: underline!important;
    text-underline-offset: 5px!important;
    text-decoration-thickness: 1px!important;
}
#footer p>a:hover,
.content-wrapper p>a:hover{
    text-decoration: none!important;
}
.bn_text-white,
.bn_text-white h1,
.bn_text-white h2,
.bn_text-white h3{
    color:#ffffff;
}
.bn_text-green,
.bn_text-green h1,
.bn_text-green h2,
.bn_text-green h3{
    /*color: #48825B;*/
    color: #48825B;
}
.bn_text-green-light,
.bn_text-green-light h1,
.bn_text-green-light h2,
.bn_text-green-light h3{
    /*color: #5aa674;*/
    color: #ffffff;
}
.bn_lead h2 {
    font-family: 'Inter', Helvetica, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.4em;
}
.bn_big{
    font-family: 'Inter', Helvetica, sans-serif;
    font-weight: 800;
    font-size: 5em;
    /*color: #48825B;*/
    color: #65AC7B;
}

.bn_light-font {
    font-family: 'Inter', Helvetica, sans-serif;
    font-weight: 300;
    font-style: normal;
}
.bn_light-font p{
    font-family: 'Inter', Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.wpb_content_element.bn_top-headline{
    margin-bottom: 10px;
}
.bn_list-bulletpoints ul{
    list-style: disc;
    padding-left: 30px;
}
ul,
.bn_list ul{
    list-style: none;
    padding-left: 10px;
}
.bn_list li{
    margin-bottom: 4px;
}
.bn_list-bullets li,
.bn_green-list li,
.bn_list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 8px;
    line-height: 1.4em;
}
.bn_green-list li::before,
.bn_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1em; /* vertikale Position anpassen falls nötig */
    width: 24px; /* Länge des Unterstrichs */
    height: 2px; /* Strichstärke */
    background-color: #48825B;
}
.bn_green-list.bn_sublist{
    font-family: "Inter", Helvetica, sans-serif;
    font-style: normal;
    font-weight: 300;
}
.bn_green-list.bn_sublist ul li >ul{
    margin: 10px 0 20px 0;
}
.bn_green-list ul ul li{
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.4em;
}
.bn_green-list ul ul li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 1em; /* vertikale Position anpassen falls nötig */
    width: 12px; /* Länge des Unterstrichs */
    height: 2px; /* Strichstärke */
    background-color: #48825B;
}
.bn_list-bullets li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 12px;
    height: 12px;
    border: 1px solid #ffffff;
    border-radius: 50%;
}
.bn_list.bn_text-white li:before {
    background-color: #ffffff;
}
@media screen and (max-width: 400px) {
    h1, .h1 {
        --k-font-size: 2em!important;
    }
    ul, .bn_list ul {
        padding-left: 0;
    }
}
/* ====== Menu ====== */
.link-style :is(p>a,strong>a,em>a,li:not([class]) a,.link,.links>a,.all-links a):where(:not(.button)), .link-style>a{
    padding-bottom: 3px;
}
@media (max-width:600px){
    .header-logo.logo-image{
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media (min-width: 991px) and (max-width: 1300px){
    .standard-menu .menu {
        column-gap: 20px;
    }
    .header-block__row-container.container{
        --k-spacing: 20px;
    }
}

/* ====== Buttons ====== */
/* ====== Menu Button====== */
.standard-menu ul li.btn{
    font-size: 0.8em;
    background-color: #48825B;
    padding: 10px 30px;
    text-transform: uppercase;
    border: 1px solid #ffffff;
}
.standard-menu ul li.btn a{
    color: #ffffff !important;
}
.standard-menu ul li.btn:hover{
    background-color: #48825B;
}
.standard-menu ul li.btn:hover a{
    color: #ffffff !important;
}
.button.bn_btn-mobile-menu{
    color: #48825B;
    background-color: #ffffff;
    padding: 2px 30px;
    text-transform: uppercase;
    border: 1px solid #ffffff;
    margin-top: 30px;
}

/* ====== CTA Button ====== */
.link-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 1.2em;
    font-weight: 300;
    background-color: #48825B;
    border: 2px solid #ffffff;
    color: #ffffff;
    transition: all 0.25s ease;
    padding: 20px 40px;
}
.icon svg {
    width: 40px;
    height: 40px;
}
.circle {
    /*fill: #7ece9b;*/
    fill: none;
    stroke: #ffffff;
    stroke-width: 1;
    transition: all 0.25s ease;
}
.arrow {
    stroke: #ffffff;
    stroke-width: 1;
    fill: none;
    transition: all 0.25s ease;
}
/* Hover Effekt */
.link-button:hover{
    font-weight: 400;
    border: 2px solid #111;
    background-color: #ffffff;
    color: #111;
    fill: #111;
}
.link-button:hover .circle {
    fill: transparent;
    stroke-width: 2;
    stroke: #111;
    transform: translateY(1px); /* kleiner Move nach unten */
}
.link-button:hover .arrow {
    stroke: #111;
    stroke-width: 2;
    transform: translateY(3px); /* kleiner Move nach unten */

}
.link-button:hover {
    stroke: #111;
    gap: 20px; /* leichter Stretch Effekt */
}

/* ====== Content Button ====== */
:where(.wpb_wrapper) .btn.btn-normal.btn-type-standard {
    text-transform: uppercase;
    border-radius: 0;
    padding: 14px 30px;
    min-width: 200px;
}
.btn.btn-normal{
    font-size: 0.8em;
    margin-right: 10px;
    margin-bottom: 10px;
}
.btn.btn-primary{
    border: 1px solid #48825B;
}
.btn.btn-primary:hover{
    background-color: transparent;
    border: 1px solid #48825B;
    color: #48825B;
}
.bn_bg-img.btn.btn-primary,
.bn_hero .btn.btn-primary{
    color: #ffffff;
    border: 1px solid #48825B;
}
.bn_bg-img.btn.btn-primary:hover,
.bn_hero .btn.btn-primary:hover{
    background-color: transparent;
    border: 1px solid #ffffff;
}
.btn.btn-secondary{
    background-color: transparent;
    border: 1px solid #ffffff;
}
.btn.btn-secondary:hover{
    background-color: #48825B;
    border: 1px solid #48825B;
}
.vc_btn3.vc_btn3-color-success.vc_btn3-style-flat{
    background-color: #48825B;
    color: #fff;
}
.vc_btn3.vc_btn3-color-success.vc_btn3-style-flat:hover{
    background-color: transparent;
    border: 1px solid #48825B;
    color: #48825B;
}
.bn_bg-white .btn.btn-primary:hover{
    color: #48825B;
    background-color: transparent;
    border: 1px solid #48825B;
}
.bn_bg-dark .btn.btn-secondary:hover{
    color: #48825B;
    background-color: #ffffff;
    border: 1px solid #ffffff;
}
.bn_btn-center {
    text-align: center;
}
@media (min-width:500px){
    .bn_btn-center .btn{
        width:400px;
    }
}
@media (max-width:1023px) {
    .bn_col-rep-100 .vc_col-sm-4.bn_btn-center .btn,
    .bn_col-rep-100 .vc_col-sm-6.bn_btn-center .btn {
        float: left !important;
    }
    .bn_col-rep-100.bn_cta-section .vc_column-inner{
        padding-top: 0;
    }
    .bn_col-rep-100.bn_cta-section .vc_column-inner .wpb_text_column{
        margin-bottom: 0;
    }
}

/* Button mit Pfeil nach rechts im Footer */
.bn_link-ext a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}
.bn_link-ext a::after {
    content: '→';         /* Pfeil nach rechts */
    display: inline-block;
    margin-left: 8px;     /* Abstand zwischen Text und Pfeil */
    transition: transform 0.3s ease;
}
.bn_link-ext a:hover::after {
    transform: translateX(3px);  /* Pfeil bewegt sich leicht nach rechts */
}

/* ====== Container ====== */
/* Paddings auf mobile wegnehmen */
@media (max-width: 768px) {
    .vc_column-gap-30 {
        margin-inline: -15px !important;
    }
}

.bn_full-width .vc_column_container>.vc_column-inner{
    padding-right: 3%;
    padding-left: 3%;
}
@media (min-width: 1450px) {
    #footer .container-full,
    .site-header.fullwidth-header .container .header-block__row--main,
    .bn_full-width .vc_column_container>.vc_column-inner{
        padding-right: 5%;
        padding-left: 5%;
    }
    .vc-row-container .bn_three-fourth {
        width: 75%;
        margin: 0 12.5%;
    }
    .vc-row-container .bn_three-fourth .vc_col-sm-8 {
        width: 80%;
    }
}
@media (min-width: 768px) and (max-width: 1200px) {
    .bn_hero .vc_col-sm-6,
    .bn_hero .vc_col-sm-8 {
        width: 100%;
    }

    .bn_about .vc_col-sm-3 {
        width: 50%;
        margin-bottom: 50px;
    }
}
@media  (max-width: 1600px){
    .vc_row-fluid.bn_parallax-section .vc_inner.vc_row-fluid.vc_column-gap-30.bn_section-services,
    .vc_row-fluid.bn_services-all .vc_inner.vc_row-fluid.vc_column-gap-30{
        padding-right: 15px;
        padding-left: 15px;
    }
}
@media (min-width: 768px) and (max-width: 1300px){
    .bn_service-box.vc_col-sm-4 {
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 1024px){
    .bn_col-rep-100 .vc_col-sm-8,
    .bn_col-rep-100 .vc_col-sm-4,
    .bn_col-rep-100 .vc_col-sm-6,
    .bn_about .vc_col-sm-8, .bn_about .vc_col-sm-4,
    .bn_job-box.vc_col-sm-4 {
        width: 100%;
    }
    .bn_col-sm-50 .vc_col-sm-8, .bn_col-sm-50 .vc_col-sm-4{
        width: 50%;
    }
}

/* ====== Custom Slider Home Hero ====== */
/* Slider mit Fade Effekt */
.bn-slider {
    position: relative;
    width: 100vw;
    height: calc(100vh - 140px);
    overflow: hidden;
}
.bn-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.bn-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.8s ease;
    z-index: 1;
    will-change: opacity;
}
.bn-slide.active {
    opacity: 1;
    z-index: 2;
}
.bn-slide-inner {
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: translate3d(0,0,0); /* Hardwarebeschleunigung */
    transition: transform 0.1s linear; /* Scroll-Parallax *!*/
    will-change: transform; /* GPU */
}
.bn-content {
    position: absolute;
    z-index: 10;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 90%;
    color: white;
    text-align: left;
    will-change: transform, opacity;
    opacity: 0;
    transition:
    opacity 1.2s ease 0.4s,
    transform 1.2s ease 0.4s;
}



/* 50 Jahre Logo-Container */
@media (max-width: 767px) {
    .bn-logo-slidein{
        display: none;
    }
}
@media (min-width: 768px) and (max-width:1200px){
    .bn-logo-slidein {
        width:300px;
    }
}
@media (min-width: 1201px) and (max-width:1400px){
    .bn-logo-slidein {
        width: 400px;
    }
}
@media (min-width:1401px){
    .bn-logo-slidein {
        width: 500px;
    }
}
@media (min-width: 768px) {
    .bn_hero .wpb_raw_code{
        position: relative;
    }
    .wpb_single_image.bn_display-mobile img{
        display: none;
    }
    .wpb_single_image.wpb_content_element{
        margin-bottom: 0;
    }
    /* Logo-Container */
    .bn-logo-slidein {
        /*width:20%;*/
        position: absolute;
        top: 20px;
        right: -320px; /* startet außerhalb */
        z-index: 20;

        background: rgba(0, 0, 0, 0.5); /* 50% schwarz */
        padding: 15px 20px;

        animation: slideInRight 1s ease-out forwards;
    }

    /* Logo selbst */
    .bn-logo-slidein img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Animation */
    @keyframes slideInRight {
        to {
            right: 0;
            opacity: 1;
        }
    }
}
/* END 50 Jahre Logo-Container */

/* ----------------------------
   Overlay für bessere Lesbarkeit
---------------------------- */
.bn-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
    z-index: 2;
}

/* Aktiver Slide: FadeIn */
.bn-slide.active ~ .bn-content,
.bn-slide.active + .bn-content,
.bn-slider .bn-content {
    opacity: 1;
    transform: translateY(0); /* Endposition */
}
@media (min-width: 1200px){
    .bn-content .bn_lead {
        width: 66.6666667%;
    }
}

@media (max-width: 767px) {
    /* Slider Höhe */
    .bn-slider {
        position: relative;
        width: 100%;
        height: 10vh; /* 60% der Viewport-Höhe */
        min-height: 600px; /* Minimum */
        overflow: hidden;
    }

    /* Alle Slides sichtbar, Hintergrund bleibt */
    .bn-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    /* Slide Inner füllt den Slider */
    .bn-slide-inner {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center top;
        display: block;
    }

    /* Content sichtbar und korrekt innerhalb des Sliders */
    .bn-content {
        position: absolute; /* wieder absolut */
        top: 5%;
        left: 5%;
        transform: translateY(-50%);
        max-width: 90%;
        color: white;
        bottom: 40px;
        opacity: 1; /* wichtig, sonst unsichtbar */
        z-index: 10;
    }

    /* Overlay wie Desktop */
    .bn-slider::after {
        background: rgba(0, 0, 0, 0.6);
    }
}

/* Headline responsive */
/*.bn-content h1 {*/
/*    font-size: clamp(2rem, 5vw, 4rem);*/
/*    margin-bottom: 1rem;*/
/*}*/

/* Text responsive */
/*.bn-content p {*/
/*    font-size: clamp(1rem, 1.5vw, 1.2rem);*/
/*}*/

/* ====== Counters ====== */
@media only screen and (max-width: 640px) {
    .bn_parallax-content #ctrbCounters-1 .ctrbCounters .counter .counterNumber {
        font-size: 3em!important;
    }
}
.wp-block-ctrb-counters .ctrbCounters .counter {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#ctrbCounters-1 #counter-0 .counterLabel,
#ctrbCounters-2 #counter-0 .counterLabel{
    line-height: 1.3em!important;
}
@media only screen and (min-width: 577px) and (max-width: 768px) {
    #ctrbCounters-1 .ctrbCounters .counter .counterNumber {
        font-size: 4em!important;
        padding: 0!important;
    }
}
@media only screen and (min-width: 769px) and (max-width: 900px) {
    #ctrbCounters-1 .ctrbCounters .counter .counterNumber {
        font-size: 3em!important;
        padding: 0!important;
    }
}
@media only screen and (min-width: 901px) and (max-width: 1200px) {
    #ctrbCounters-1 .ctrbCounters .counter .counterNumber {
        font-size: 3.5em!important;
        padding: 0!important;
    }
}

/* ====== Overlays ====== */
.bn_overlay {
    position: relative;
    z-index: 0;
}
.bn_overlay.bn_dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.bn_overlay.bn_bright::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* 0.3 = leicht, 0.7 = sehr dunkel */
    z-index: 1;
}
.bn_overlay.bn_green::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(72, 130, 91, 0.6); /* 0.3 = leicht, 0.7 = sehr dunkel */
    z-index: 1;
}
/* Inhalt über dem Overlay anzeigen */
.bn_overlay > * {
    position: relative;
    z-index: 2;
}

/* ====== Hero-Sections ====== */
.bn_hero.bn_service{
    height:60vh;
}

/* ======
         Parallax-Sektion
 ====== */

.home .bn_hero p{
    padding: 10px 0 30px 0;
}
.bn_lead h2{
    margin-bottom: 60px;
}
/* HERO */
.bn_parallax-hero {
    position: relative;
    height: auto;
    overflow: visible;
}
@media (min-width: 768px) {
    .bn_parallax-hero {
        position: relative;
        height: 90vh;
        overflow: hidden;
    }
    /*.bn_parallax-hero.bn_service-50,*/
    .bn_parallax-hero.bn_service{
        height:60vh;
    }
}
.bn_parallax-hero .vc_parallax-inner {
    height: 140%;
    top: -20%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.home .bn_parallax-hero .vc_parallax-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
            to right,
            rgba(0,0,0,0.75) 0%,
            rgba(0,0,0,0.55) 35%,
            rgba(0,0,0,0.25) 65%,
            rgba(0,0,0,0) 100%
    );
}
.bn_parallax-hero.bn_service .vc_parallax-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
            to right,
            /*rgba(0,0,0,0.75) 0%,*/
            /*rgba(0,0,0,0.55) 35%,*/
            /*rgba(0,0,0,0.25) 65%,*/
            /*rgba(0,0,0,0) 100%*/
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.25) 35%,
            rgba(0, 0, 0, 0.0) 65% /*rgba(0,0,0,0) 100%*/
    );
}
@media (min-width: 1024px) {
    .home .bn_parallax-hero .vc_parallax-inner::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;

        /* Verlauf links dunkel → rechts transparent */
        background: linear-gradient(
                to right,
                rgba(0, 0, 0, 0.55) 0%,
                rgba(0, 0, 0, 0.25) 35%,
                rgba(0, 0, 0, 0.0) 65% /*rgba(0,0,0,0) 100%*/
        );
    }
    .bn_parallax-hero.bn_service .vc_parallax-inner::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;

        /* Verlauf links dunkel → rechts transparent */
        background: linear-gradient(
                to right,
                rgba(0,0,0,0.55) 0%,
                rgba(0,0,0,0.15) 50%,
                rgba(0,0,0,0) 66.6%,
                rgba(0,0,0,0) 100%
        );
    }
}

/* CONTENT PARALLAX SECTION */
.bn_parallax-section {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}
.bn_parallax-about{
    min-height: 600px;
}
.bn_parallax-section .vc_parallax-inner {
    height: 120%;
    top: -10%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}
/* CONTENT */
.bn_parallax-content {
    position: relative;
    z-index: 2;
    will-change: transform;
}
/* Overlay auf parallax section bn_dark */
.vc_row.bn_parallax.bn_dark {
    position: relative;

}
.vc_row.bn_parallax.bn_dark .vc_parallax-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6); /* Desktop */
    pointer-events: none;
    z-index: 2;  /* Overlay über Bild */
}

.vc_row.bn_parallax.bn_dark .vc_parallax-inner {
    position: absolute;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;                /* Hintergrund */
}
.vc_row.bn_parallax.bn_dark .vc_column-inner,
.vc_row.bn_parallax.bn_dark .wpb_wrapper,
.vc_row.bn_parallax.bn_dark .bn_parallax-content {
    position: relative;
    z-index: 3;
}

/* =========================
   MOBILE: Parallax deaktivieren
========================= */
@media (max-width: 768px) {
    .vc-row-container .vc_parallax-inner,
    .bn_parallax-hero .vc_parallax-inner,
    .bn_parallax-section .vc_parallax-inner {
        transform: none !important;
        transition: none !important;
        top: 0 !important;
    }
    .bn_parallax-hero .vc_parallax-inner{
        height: 100% !important;
    }
    .vc_row.bn_parallax.bn_dark::before {
        background: rgba(0,0,0,0.8);
    }
}


/* ====== Grid Sektion Services ====== */

.bn_services-all .vc_row-fluid.vc_column-gap-30,
.bn_section-services .vc_row-fluid.vc_column-gap-30 {
    margin-bottom: 0;
}
.bn_section-services h2{
    color:#ffffff;
}
.bn_services-all .vc_col-sm-6 .vc_column-inner,
.bn_section-services .vc_col-sm-4 .vc_column-inner,
.bn_section-services .vc_col-sm-6 .vc_column-inner{
    min-height: 370px;
}
.bn_service-box.bn_bg-img .wpb_text_column{
    min-height: 100px;
    padding: 20px;
    background-color: rgba(0,0,0,0.7);
    margin-bottom: 15px;
}
.bn_service-box .wpb_text_column h3 a {
    color: #ffffff;
}
.bn_service-box .wpb_text_column h3{
    font-size: 1.4em;
    line-height: 1.4em;
}
@media (min-width:768px){
    .bn_service-box.bn_bg-img .wpb_text_column {
        min-height: 180px;
    }
    .bn_services-all .vc_col-sm-6 .vc_column-inner,
    .bn_section-services .vc_col-sm-4 .vc_column-inner,
    .bn_section-services .vc_col-sm-6 .vc_column-inner{
        min-height: 370px;
    }
    .bn_service-box .wpb_text_column h3{
        font-size: 1.6em;
        line-height: 1.4em;
    }
}
/* Text Service Box ohne Abstand */
.bn_service-box-3 .bn_service-box .vc_column-inner{
    padding: 0 0 0 10px;
}
/*.bn_service-box-3 .bn_service-box .vc_column-inner .wpb_text_column{*/
/*    margin-bottom: 0;*/
/*}*/
/*.bn_service-box-3 .bn_service-box.bn_bg-img .wpb_text_column {*/
/*    width: 100%;*/
/*}*/
.bn_service-box-3 .bn_service-box.bn_bg-img .wpb_text_column h3{
    font-size: 1.4em;
}
.bn_service-box-3 .bn_service-box.bn_bg-img .wpb_text_column {
    min-height: 160px;
    padding: 20px;
}
@media (min-width:2000px){
    .bn_service-box-3 .bn_service-box.bn_bg-img .wpb_text_column {
        min-height: 120px;
        padding: 20px;
    }
}

/*  Text / Inhalt über Overlay */
.bn_service-box > .vc_column-inner > * {
    position: relative;
    z-index: 2;
}
@media (min-width: 1200px) {
    .bn_services-all .bn_service-box .wpb_text_column,
    .bn_service-box.bn_bg-img .wpb_text_column{
        width:66.6%;
    }
}
.bn_service-box.bn_bg-img .vc_column-inner:hover .wpb_text_column{
    background-color: rgba(0,0,0,0);
}

/*
  Unterseite Services mit umgekehrtem Hoververhalten als Startseite
*/

.bn_services-all .bn_service-box {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.4s ease;
    min-height: 300px;
}
.bn_services-all .bn_service-box .vc_column-inner{
    padding: 40px;
}
.bn_services-all .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #48825B; /* Standard: grün */
    opacity: 1; /* Grün sichtbar */
    transition: opacity 0.4s ease;
    z-index: 1; /* unter Text, über Hintergrundbild */
    pointer-events: none;
}

/* Text + Buttons über Overlay */
.bn_services-all .bn_service-box .wpb_text_column,
.bn_services-all .bn_service-box a.laborator-btn {
    position: relative;
    z-index: 2;
}
/* Hover: Overlay transparent → Bild sichtbar */
.bn_services-all .bn_service-box:hover .hover-overlay {
    opacity: 0;
}
/* Smooth Übergang */
.bn_service-box .wpb_text_column {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover → h3 + Beschreibung ausblenden */
/*.bn_service-box:hover .wpb_text_column {*/
/*    opacity: 0;*/
/*    transform: translateY(10px);*/
/*    pointer-events: none;*/
/*}*/

/* Hover → nur Beschreibung ausblenden */
.bn_service-box:hover .wpb_text_column.bn_text-white {
    opacity: 0;
    transform: translateY(10px);
}

/* Button bleibt sichtbar */
.bn_service-box a.laborator-btn {
    position: relative;
    z-index: 3;
}
.bn_service-box:hover a.laborator-btn {
    background-color: #ffffff;
    color: #48825B;
    border-color: #ffffff; /* falls Outline Button */
}

.bn_services-all .bn_service-box .wpb_wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.bn_services-all .bn_service-box a.laborator-btn{
    width:100px;
    margin-top: auto;
}

/* ====== Grid Sektion Job ====== */
.bn_job-box.bn_bg-img .vc_column-inner{
    min-height: 400px;
}
.bn_job-box .vc_column-inner{
    padding: 50px;
    background-color: #ffffff;
}
.bn_job-box.vc_col-has-fill .vc_column-inner{
    background-position: 70% center !important;
}
.bn_job-box .wpb_wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.bn_job-box .laborator-btn {
    margin-top: auto;
}
@media (min-width: 1024px) and (max-width: 1200px) {
    .bn_job-box .vc_column-inner {
        padding: 30px;
    }
}

/* ====== Sektion CTA ====== */
@media (min-width: 768px ) and  (max-width: 1200px) {
    .bn_cta-section .vc_col-sm-8, .bn_cta-section .vc_col-sm-4, .bn_cta-section .vc_col-sm-6 {
        width: 100%;
    }
}

/* ====== Certificates ====== */
.bn_certificates img{
    box-shadow: rgba(72, 130, 91, 0.3) 0 1px 3px 0, rgba(72, 130, 91, 0.1) 0 1px 2px 0;
    transition: all 300ms ease-in;
}
.bn_certificates img:hover{
    box-shadow: rgba(72, 130, 91, 0.8) 0 4px 6px 0, rgba(72, 130, 91, 0.6) 0 4px 6px 0;
}
@media (max-width: 500px ){
    .entry-content .bn_certificates img.alignleft{
        float: none;
        display: block;
        margin-top: 40px;
    }
}
@media (min-width: 768px ) and  (max-width: 1200px) {
    .entry-content .bn_certificates .vc_col-sm-6 {
        width: 100%;
    }
}

/* ====== Footer ====== */
#footer{
    border-top: 1px solid #ffffff;
}
@media (max-width: 767px ){
    #footer .bn_break{
        display: block;
    }
    #footer .bn_display-none-mobile{
        display: none;
    }
}