
/*General*/
.projekt-liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
    /* place-content: space-between; entfernen – nicht mehr nötig */
}

/* Tablet */
@media (max-width: 1024px) {
    .projekt-liste {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Smartphone */
@media (max-width: 767px) {
    .projekt-liste {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}


.projekt-item {
    overflow: hidden;
    transition: transform 0.3s ease;
    background: #F59F3B;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.projekt-item:hover {
    transform: translateY(-5px);
}
.projekt-item .thumbnail-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}
.projekt-item img {
    width: 100%;
    max-height: 400px;
    min-height: 250px;
    object-fit: cover;
    display: block;
}
.projekt-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.projekt-content a {
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 2.25rem !important;
    hyphens: auto;
    word-break: auto-phrase;
}

@media (max-width: 1024px) {
    .projekt-content a {
        font-size: 24px !important;
        line-height: 1.75rem !important;
    }
}

.projekt-item h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 400;
}

.projekt-content a {
    color: #fff !important;
}

@media (max-width: 767px) {
    .projekt-liste {
        grid-template-columns: 1fr;
    }
}

/* TEMPORÄR */
.projekt-content p {
    display: none !important;
}

.projekt-item p {
    margin: 0.5rem 0;
    color: var(--e-global-color-primary);
    font-weight: 800;
}
.projekt-item .tga-kosten {
    color: var(--e-global-color-primary);
    font-weight: bold;
}
.projekt-content p strong {
    color: var(--e-a-bg-secondary);
    font-weight: bold;
}

/*Filter*/


.rls-blockgroup {
    position: relative;
    overflow: hidden;
}
@media (min-width: 960px) {
    .rls-pagebounds {
        padding: 0 2rem;
    }
}
@media (min-width: 768px) {
    .rls-pagebounds {
        padding: 0 2rem;
    }
}
.rls-pagebounds {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}
.projekte-filter {
    padding: 30px 0 15px 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.projekte-filter .filter-item:hover, .projekte-filter .filter-item.active {
    border-color: var(--e-global-color-primary);
    background: var(--e-global-color-primary);
    color: #FFF;
}
.projekte-filter .filter-item {
    border: 2px solid #3d5c63;
    color: #3d5c63;
    padding: 8px 18px;
    margin-right: 15px;
    display: inline-block;
    margin-bottom: 15px;
}


/*Detail Seite*/
/* Projekt Detailseite Styling */
.rls-single {
    padding: 4rem 0;
}

.rls-pagebounds {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rls-article {
    margin-bottom: 3rem;
}

/* Header Bereich */
.article-header .title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color:  var(--e-global-color-primary);
    font-weight: 600;
    font-style: italic;
}
p.highlight-fact span{
    color:  var(--e-global-color-primary);
    font-weight: 600;
}
/* Faktenliste */
.projekt-factlist {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.projekt-factlist strong {
    display: inline-block;
    width: 120px;
    color: #1d1d1b;
}

.projekt-factlist span {
    color: #666;
}
.content-bottom {
    margin-bottom: 2rem;
}

/* Bild-Container */


/* Content Bereich */
.content-area {
    margin: 3rem 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.content-area p {
    margin-bottom: 1.5rem;
}

/* Projektgalerie */
.projekt-galerie {
    margin: 4rem 0;
}

.projekt-galerie h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #1d1d1b;
}

/* Verwandte Projekte */
.rls-relatedposts {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.rls-relatedposts h2 {
    font-size: 2rem;
    color: #1d1d1b;
    margin-bottom: 3rem;
}

/* Grid System */
.cols-l {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-l-60 {
    width: 60%;
    padding: 15px;
}

.col-l-40 {
    width: 40%;
    padding: 15px;
}

.col-m-50 {
    width: 50%;
    padding: 15px;
}

.col-l-33 {
    width: 33.333%;
    padding: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .col-l-60,
    .col-l-40 {
        width: 100%;
    }
    
    .article-header .title {
        font-size: 2rem;
    }
    
    .rls-single {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .col-m-50,
    .col-l-33 {
        width: 100%;
    }
    
    .projekt-factlist strong {
        width: 100px;
    }
    
    .rls-pagebounds {
        padding: 0 15px;
    }
}

/* Animationenxxxx */
.js-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Grid System */
.cols-l {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-l-50 {
    width: 50%;
    padding: 15px;
    position: relative;
}

/* Pull und Push für die Reihenfolge */
.pull {
    order: -1; /* Bringt das Element nach links */
}

.push {
    order: 1; /* Bringt das Element nach rechts */
}

/* Bild-Container */
.rls-fsimg {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 Verhältnis */
}

.project-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

/* Responsive Anpassungen */
@media (max-width: 992px) {
    .col-l-50 {
        width: 100%;
    }
    
    .pull, .push {
        order: 0; /* Reset der Reihenfolge auf mobil */
    }
    
    .rls-fsimg {
        margin-bottom: 2rem;
    }
}


/*
.rls-contentblock ul:not(.list-reset) li:before {
    content: "";
    position: absolute;
    top: .375rem;
    left: 0;
    height: 1em;
    width: 1em;
    background: url("data:image/svg+xml;base64,Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9InV0Zi04Ij8+CjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJFYmVuZV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNDcuNyA0NS41IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0Ny43IDQ1LjU7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojRDA2NjFDO30KPC9zdHlsZT4KPGc+Cgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOC43LDQ1LjVjLTMuMSwwLTUuNC0wLjgtNi45LTIuNmMtMi4yLTIuNC0yLjQtNi4zLTAuNy0xMS43YzEuMy00LjUsOC42LTI3LDE4LjYtMzAuN2MyLjUtMC45LDUtMC43LDcuMywwLjgKCQljMTAsNi4yLDIyLjYsMjAsMjAuNCwyOC42Yy0yLDcuOS0yOS41LDE0LjItMzUsMTUuM2gtMC4xQzExLDQ1LjQsOS44LDQ1LjUsOC43LDQ1LjV6IE0yMi42LDMuNWMtMC42LDAtMS4xLDAuMS0xLjcsMC4zCgkJQzE0LjgsNi4xLDguMywxOS43LDQuNSwzMi4yYy0xLjIsNC4xLTEuMyw3LDAsOC40YzEuMSwxLjMsMy42LDEuNyw3LjMsMS4xYzE0LjgtMy4yLDMxLjMtOSwzMi4yLTEyLjdjMS41LTYuMS05LjEtMTguNi0xOC44LTI0LjcKCQlDMjQuMywzLjcsMjMuNCwzLjUsMjIuNiwzLjV6Ii8+CjwvZz4KPC9zdmc+Cg==") 50% no-repeat;
    background-size: contain;
}
.rls-contentblock ul:not(.list-reset) {
    list-style: none;
    padding-left: 0; 
}



*/

.rls-contentblock ul:not(.list-reset) li {
    list-style: none;
    position: relative;
    padding-left: 1.5em;
}
.content-bottom ul li:before {
    content: "";
    position: absolute;
    top: 0.375rem;
    left: 0;
    height: 1em;
    width: 1em;
    background: url('data:image/svg+xml,<svg aria-hidden="true" class="e-font-icon-svg e-fas-spinner" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"></path></svg>') 50% no-repeat;
    background-size: contain;
}
.content-bottom ul {
    font-weight: 700;
    padding: 0;
}
.standard-fact span{
    color: var(--e-global-color-primary);
    font-weight: 600;
}