.elementor-kit-8{--e-global-color-primary:#2A2D35;--e-global-color-secondary:#FFD47A;--e-global-color-text:#7A7A7A;--e-global-color-accent:#263487;--e-global-typography-primary-font-family:"Noto Sans";--e-global-typography-primary-font-weight:normal;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-8 button,.elementor-kit-8 input[type="button"],.elementor-kit-8 input[type="submit"],.elementor-kit-8 .elementor-button{background-color:#263487;font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:#FFFFFF;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-kit-8 a{color:var( --e-global-color-accent );font-size:16px;font-weight:normal;text-decoration:underline;line-height:1px;}.elementor-kit-8 h1{color:var( --e-global-color-secondary );font-family:"Noto Sans", Sans-serif;font-weight:400;}.elementor-kit-8 h2{color:#263487;font-family:"Noto Sans", Sans-serif;font-size:32px;font-weight:600;line-height:32px;}.elementor-kit-8 h3{color:var( --e-global-color-accent );}.elementor-kit-8 h4{color:var( --e-global-color-accent );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1440px;}.e-con{--container-max-width:1440px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){margin-block-end:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Tag Cloud */
.firma-tag-cloud {
    background-color: #efefef;
    padding: 10px;
    margin-bottom: 24px;
    /*border-bottom: 1px solid #ccc;*/
}

/* Fuzzy Search */

#firma-results img {
    border: 1px solid #ccc;
}

#firma-results {
  transition: opacity 0.2s ease-in-out;
  opacity: 1;
}
#firma-results.loading {
  opacity: 0.4;
}


/* Flexbox layout for the search container */
.search-flex {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

#firma-tag-search {
  padding: 10px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}


/* Results area */
#firma-results {
  min-height: 100px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}



/* Global Fonts H */
h1 { 
    font-size: 36px !important;
    font-weight: normal !important;
}
h2 { 
    font-size: 26px !important;
    font-weight: normal !important;
    margin-bottom: 16px !important;
}
h3 { 
    font-size: 26px !important;
    font-weight: normal !important;
    margin-bottom: 16px !important;
}
h4 { 
    font-size: 18px !important;
    font-weight: 500 !important;
    margin-bottom: 32px !important;
    color: #000 !important;
}

/* Wer liefert was */

.company_images img {
    max-width:300px;
}
.company_list_img img {
    width: auto;
    max-width:280px;
}

.firma-section {
    margin-bottom: 2%;
}

.firma-filter-container {
 display:none;
  position: fixed;
  top: 60px;
  right: 20px;
  width: 220px;
  padding: 10px;
  z-index: 9999;
}

.firma-filter-container select {
  width: 100%;
  padding: 4px;
  font-size: 14px;
}

.firma-gallery {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.firma-gallery a img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ccc;
}


/* Mission Sidebar */
.mission-sidebar li a { 
    font-size: 14px;
    color: #000;
}

/* Kompetenzen Accordion */

.kompetent_info_headline {
    font-size: 1.1rem;
    font-weight: 600;
}
.kompetent_info_headline p {
    margin-bottom:0;
}

.accordion-button, .child-accordion-button {
    cursor: pointer;
    font-weight: bold;
    background: #eee;
    border: none;
    padding: 10px;
    width: 100%;
    text-align: left;
    margin-top: 5px;
}

.child-accordion-button {
     background-color:#cecece !important;
     color:#000 !important;
}

.accordion-content {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    background: #f9f9f9;
}

.child-taxonomies {
    margin-top: 10px;
    padding-left: 15px;
}

.child-accordion-content {
    display: none;
    padding: 8px 10px;
    border-left: 1px solid #bbb;
    background: #fff;
    margin-bottom: 10px;
}

.accordion-button h5,
.child-accordion-button h5 {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
    margin: 0;
}


.firma-list {
    margin-top: 8px;
    gap: 15px;
}

.firma-item {
    display: flex;
    gap: 25px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
    margin-top:20px;
}

.firma-thumb a img {
    max-width: 360px;
    border: 1px solid #ccc;
}

.firma-title {
}

.kompetenz_firmen_content {
    width:400px;
}

.kompetenz_info_inner {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 10px;
}

.kompetent_info_image img {
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    margin-top: 5px;
}


/* Global */

.text-layer ul {padding-left: 15px;}
.text-layer li {list-style-type: square;}

/* Footer */

.elementor-location-footer {
    border-top: 1px solid #ccc;
}

/* Buttons */
.elementor-button-link {text-decoration:none !important;}


/* Kompetenz Filters */


#parent_taxonomy { 
    max-width:460px;
    
}

#child_taxonomy {
    max-width:360px;
}

#firma_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.firma-filter-wrapper {
    max-width: 300px;
    border: 1px solid #ccc;
}

.firma-filter-item {
    margin-bottom: 20px;
    padding: 10px;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */
    height: 240px;           /* set a height */
}

.firma-filter-item img {
    max-width: 100%;
    height: auto;
    max-height: 170px;
}

.firma-filter-item-title {
    border-top: 1px solid #ccc;
    min-height: 50px;
    /* padding-top: 6px; */
    align-items: center;
    display: grid;
}

.firma-filter-item-title a {
    align-content: center;
    text-decoration: none;
}

.firma-filter-item-image img {
    max-width: 300px; 
    height: auto; 
    margin-top: 5px;
}


@media (max-width: 600px) {

    .firma-item {
        flex-direction: column;
        gap: 15px;
    }

    .kompetenz_firmen_content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }

    .firma-thumb,
    .firma-thumb img {
        width: 100%;
        max-width: 100%;
    }
    .firma-filter-wrapper {
    width: 100%;
    max-width:100%;
    }
}


/* Speerspitze */

.vertical-arrow {
    position: absolute;
    width: 0;
    height: 100%;
    border-right: 2px dashed #ccc;
    margin-left: 15%;
    z-index: 1;
    top: -14px;
}

/* Speerspitze Mission und Projekte */

#mission_and_projekte {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.mission_and_projekte_inner {
    flex-basis: 30%;
    flex-shrink: 0; /* Prevent shrinking */
    background: #fff;
    z-index: 2;
    border: 1px solid #ccc;
    padding-left: 20px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 6px;
}


.mission-item { margin-bottom: 6%;}

.mission_projekte_container {
    margin-bottom: 32px;
}

.mission-sidebar li {
    list-style: none;
    margin-left: -40px;
    padding-bottom: 4px;
}

.mission-sidebar li a {
    text-decoration: none;
}

.mission-sidebar li:after {
}


.mission-sidebar {
    width: 180px;
    padding: 15px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    position: fixed;
    top: 50%;
    left: 0;
    height: auto;
    transform: translateY(-50%);
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    max-height: 300px;
    z-index:50;
    overflow-x: hidden;
}

@media (max-width: 600px) {

    /* Mission über Projekte */
    #mission_and_projekte {
        flex-direction: column;
    }

    .mission_and_projekte_inner,
    .projekte-container {
        width: 100%;
        flex-basis: 100%;
        box-sizing: border-box;
    }

    /* Firmenlogo über Projekt */
    .firma-title-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .firma-image,
    .projekt-title-column {
        width: 100%;
        flex-basis: 100%;
    }

    .firma-image img {
        max-width: 100%;
        height: auto;
    }

    .projekt-title-column {
        padding: 0;
    }
    .mission-sidebar.closed + .toggle-btn {
        left:0 !important;
    }
}

.toggle-btn {z-index:50;}

/* Hidden state */
.mission-sidebar.closed {
    left: -190px;
}

.mission-sidebar.closed + .toggle-btn {
    left: 10px; /* Keeps button visible when sidebar is closed */
}

.toggle-icon {
    /*margin-left: 10px; /* Adds spacing to the right of the title */
    position: relative;
}


.projekt_titel {
    display: flex;
    align-items: baseline;
    justify-content: space-between; /* Ensures elements are spread out */
    padding-left: 10px;
}
.projekt_titel_inner { width:100%;}

.projekt-title-column {
    flex-basis: 40%; /* Project title + content take 80% */
    display: flex;
    flex-direction: column;
    padding: 0px 10px 0px 10px;
    border: 1px solid #ccc;
}

.projekt-content-column {
    width: 100%; /* Takes full width inside projekt-title-column */
    padding: 4px;
    margin-bottom: 6%;
    margin-bottom: 2%;
    /*border: 1px solid #ccc;*/
    margin-top: 2%;
}

.projekte-container {
    flex: 1;
}

.projekt-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.projekt-item { 
    width: 41%;
    border: 1px solid #ccc;
    padding: 20px;
}

.projekt_titel span { 
    font-size: 1.1rem;
    margin-bottom: 6px;
    /*flex-basis: 80%;*/
    font-weight: 600;
}

.projekt-image  { 
    margin-bottom: 6px;
    }

.projekt-image img {
    max-height: 600px;
   /* max-width: 300px;*/
    padding-bottom: 24px;
}

.popup-image {
    max-width:600px;
    align-content: center;
    font-weight:600;
}

/* Lightbox */



#lightboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightboxContent {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

#lightboxContent img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
}

/*#lightboxClose {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}
*/
#lightboxClose {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 32px;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease;
}
#lightboxClose:hover {
  transform: scale(1.2);
}
/* Speerspitze Firma */


@media (max-width: 600px) {

    #mission_and_projekte_firma {
        flex-direction: column;
        gap: 15px;
    }

    .mission_and_projekte_firma_inner,
    .projekte-container-firma {
        flex-basis: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .projekt-title-column-firma {
        padding: 0;
    }
    
    .vertical-arrow {
        display: none;
    }

}

#mission_and_projekte_firma {
    display: flex;
    gap: 20px;
}

.mission_and_projekte_firma_inner {
    flex-basis: 50%;
    background: #fff;
    z-index: 2;
    border: 1px solid #ccc;
    padding-left: 20px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 6px;
}

.mission-item-firma { margin-bottom: 6%;}

.projekt-wrapper-firma {
    margin-right: 10px;
}

.projekt_titel_firma {
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 10px;
    display: flex;
}
.projekt_titel_inner_firma { 
    width:100%;
}

.projekt_titel_inner_firma span { 
    font-size: 1.25rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.projekt-title-column-firma {
    padding: 0px 10px 0px 10px;
}

.projekt-content-column-firma {
    width: 100%; /* Takes full width inside projekt-title-column */
    padding: 4px;
    margin-bottom: 6%;
    border: 1px solid #ccc;
    margin-bottom: 2%;
}

.projekte-container-firma {
    flex-basis: 50%;
}


.firma-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* Space between firma image and project title */
   /*margin-top:60px;*/
}

.firma-image-column {
    flex-basis: 20%; /* Firma image column takes 20% */
}

.firma-image {
    flex-basis: 40%; /* Firma image takes 20% */
}

.flex-container {
    display: flex;
    gap: 20px;
}

.firma-image { 
	margin-bottom: 6px;
    border: 1px solid #ccc;
}


/* Toggle Button (Slides with Sidebar) */
.toggle-btn {
    position: fixed;
    left: 180px; /* Adjust with sidebar width */
    top: 50%;
    transform: translateY(-50%);
    background: #005f8d;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 0;
    transition: left 0.3s ease-in-out, background 0.3s;
}

/* Ensure scrolling lands 240px below the top */
html {
    scroll-padding-top: 240px;
}

.toggle-btn:hover {
    background: #005f8d;
}

.toggle-btn:focus {
    background: #005f8d;
}

/* Firma */

.toggle-info-icon {
    cursor: pointer;
    font-size: 1.5em;
    margin-left: 10px;
}

.close-info-icon {
    cursor: pointer;
    font-size: 1.5em;
    color: red;
    display: block;
    margin-top: 5px;
}
/* Parent container holding both floating divs */

/* Parent container holding both floating divs */
.container-wrapper, .mission_projekte_container {
     overflow: hidden; /* Ensures containers don't break layout */
        }        

        /* Floating Containers */
       
  .mission_projekte_inner {
            position: relative;
            width: 40%; /* Adjust width */
            float: left; /* Floats the containers */
            margin-right: 2%;
            border: 1px solid #ccc;
            padding: 10px;
            box-sizing: border-box;
        }
        
         /* Floating Containers */
        #related_projekte {
            width: 322px; /* Adjust width */
            float: left; /* Floats the containers */
            border: 1px solid #ccc;
            padding: 10px;
            box-sizing: border-box;
        }

        /* Inner Div Styling */
        .inner {
            background: #f0f0f0;
            padding: 15px;
            text-align: center;
        }

.related_projekte_title { 
    width: 100%;
    margin-right: 2%; 
}
.related_projekte_title p { 
   
}

.related_projekte_image_copyright span {
}

.mission_projekt p {
    /*font-size: 1.4rem;
    color: #263487;
    font-weight: 600;*/
}
.related_projekte {}

.related_projekte_inner { /*display: flex;*/ }

.related_projekte_multi ul { 
    border: 1px solid #cccc;
    padding-left: 20px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 6px;
}

.related_projekte_image { }




/*NEWS */
#news-liste li {list-style-type: none; margin-left:-40px; line-height: 2em;}

/*Firmenverzeichnis */
#firmenkompetenzen { padding:12px;}

#firmenkompetenzen h3 { font-size:1.5em;}

#firmenkompetenzen li { list-style-type:square;}

#firmenkompetenzen ul { margin-left: -24px;}

/* Firmen Portfolio */
.type-firmen {border: 1px solid #ccc;}

.toggle-icon {
    cursor: pointer;
    font-size: 1.2em;
    margin-right: 5px;
}
.projekt-image-wrapper {
    margin-top: 10px;
}/* End custom CSS */