/*TYPO*/
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: PT Sans;
    font-style: italic;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.25;
    display: block;
}
/*General*/
.projekt-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}
.projekt-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    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: 220px;
    min-height: 218px;
    object-fit: cover;
    display: block;
}
.projekt-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.projekt-item h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: #333;
}
.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: #3d5c63 !important;
    font-weight: 800;
}

/*Filter*/

.rls-blockgroup.bg-light {
    background-color: #e0e6e7;
}
.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;
}
.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;
    position: absolute;
    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-size: contain;
}
.content-bottom ul {
    font-weight: 700;
    padding: 0;
}
.standard-fact span{
    color: var(--e-global-color-primary);
    font-weight: 600;
}

.entsorgungsstandorte-container {
    margin: 20px 0;
}

/* Accordion Styling */
.accordion-kategorie {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.accordion-title {
    margin: 0;
    padding: 15px;
    background-color: #f5f5f5;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.accordion-title:hover {
    background-color: #e9e9e9;
}

.accordion-content {
    padding: 15px;
    display: none;
}

.accordion-kategorie.active .accordion-content {
    display: block;
}

/* Liste Styling */
.list-kategorie {
    margin-bottom: 30px;
}

.list-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

.list-content {
    padding: 0;
}

/* Regionen Styling */
.region-group {
    margin-bottom: 30px;
}

.region-title {
    font-size: 20px;
    color: var(--e-global-color-primary);
    margin: 0 0 15px 0;
    padding-bottom: 8px;
}

/* Öffnungszeiten Styling */
.oeffnungszeiten {
    margin-bottom: 20px;
}

.oeffnungszeiten strong {
    display: block;
    margin-bottom: 10px;
    color: #666;
    font-weight: 600;
}

.oeffnungszeiten-container {
    position: relative;
}

.aktueller-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 0;
}

.tag-name {
    font-weight: 600;
    color: var(--e-global-color-primary);
    min-width: 100px;
}

.tag-zeit {
    flex-grow: 1;
}

.info-icon {
    cursor: pointer;
    color: var(--e-global-color-primary);
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    user-select: none;
}

.info-icon:hover {
    background-color: var(--e-global-color-primary);
    color: #fff;
}

.info-icon.active {
    background-color: var(--e-global-color-primary);
    color: #fff;
}

.vollstaendige-tabelle {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 15px;
    margin-top: 5px;
}

.vollstaendige-tabelle table {
    width: 100%;
    border-collapse: collapse;
}

.vollstaendige-tabelle th {
    background-color: var(--e-global-color-primary);
    color: #fff;
    padding: 8px;
    text-align: left;
}

.vollstaendige-tabelle td {
    padding: 8px;
    border: 1px solid #ddd;
}

.vollstaendige-tabelle tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Gemeinsame Styling für beide Ansichten */
.standort-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
}

.standort-item h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.standort-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.standort-details p {
    margin: 0;
    line-height: 1.5;
}

.standort-details strong {
    color: #666;
    font-weight: 600;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .standort-details {
        grid-template-columns: 1fr;
    }
    
    .accordion-title,
    .list-title {
        font-size: 16px;
        padding: 12px;
    }
    
    .standort-item {
        padding: 12px;
    }
    
    .region-title {
        font-size: 18px;
    }
    
    .aktueller-tag {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tag-name {
        min-width: auto;
    }
    
    .vollstaendige-tabelle {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        max-height: 80vh;
        overflow-y: auto;
    }
}