/**
 * Propstack Frontend Styles
 *
 * CSS für die Frontend-Templates des Propstack API v1 Plugins
 *
 * @package    Propstack_Api_V1
 * @subpackage Propstack_Api_V1/assets
 * @since      1.0.0
 */

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
.propstack-single-property *,
.propstack-archive-properties *,
.propstack-taxonomy-properties * {
    box-sizing: border-box;
}

/* Container */
.propstack-single-property .container,
.propstack-taxonomy-properties .container {
    max-width: var(--maxWidthBig, 1504px);
    width: var(--baseWidth, 92%);
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary,
.btn-secondary,
.btn-filter,
.btn-reset,
.btn-submit {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--propstack-main-color, #D2720D);
    color: #fff;
}

.btn-primary:hover {
    background-color: #005a87;
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--greyVeryLight, lightgrey);
    color: #6c757d;
    border: 1px solid var(--greyLight, lightgrey);
}

.btn-secondary:hover {
    background-color: #e9ecef;
    color: var(--fontColor, #000);
    text-decoration: none;
}

.btn-filter {
    background-color: #28a745;
    color: #fff;
}

.btn-filter:hover {
    background-color: #218838;
}

.btn-reset {
    background-color: #6c757d;
    color: #fff;
}

.btn-reset:hover {
    background-color: #5a6268;
    text-decoration: none;
}

.btn-submit {
    background-color: var(--propstack-main-color, #D2720D);
    color: #fff;
    width: 100%;
}

.btn-submit:hover {
    background-color: #005a87;
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
.propstack-breadcrumb,
.taxonomy-breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #999;
}

.breadcrumb-list a {
    color: var(--propstack-main-color, #D2720D);
    /* text-decoration: none; */
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   Property Header
   ========================================================================== */

.property-address {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.address-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.property-meta-info {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;

    > * {
        flex-grow: 1;
        flex-basis: 300px;
        flex-shrink: 1;
    }

    .details-equipment-list {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        padding-left: 0;
        font-size: 16px;

        .equipment-item {
            border: 1px solid var(--greyVeryLight, lightgrey);
            border-radius: 10px;
            padding: .5rem 1rem;
            flex-basis: 200px;
            display: flex;
            gap: .5rem;
            flex-grow: 1;
            &.equipment-array{
                flex-basis: 100%;
                ul{
                    padding: 0;
                    li{
                        list-style: none;
                        border-radius: 5px;
                        padding: 0px 10px;
                        font-size: 80%;
                    }
                }
            }
        }
        .equipment-icon {
            color: var(--propstack-main-color, #D2720D);
        }
        .equipment-sub-list {
            display: flex;
            flex-wrap: wrap;
            gap: .5rem;
            color: var(--fontColor, #000);

            .equipment-sub-item {
                padding: 5px;
                background-color: var(--propstack-immobilie-single-property-equipment-tags-background-color, #f2f2f2);
                color: var(--propstack-immobilie-single-property-equipment-tags-color, #282929);
            }
        }
    }
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-sold {
    background-color: var(--warningColor, red);
    color: #fff;
}

.status-reserved {
    background-color: var(--propstack-main-color, #D2720D);
    color: #fff;
}

.status-available {
    background-color: var(--greenColor, green);
    color: #fff;
}

.status-reference {
    background-color: var(--roseColor, pink);
    color: #fff;
}

/* ==========================================================================
   Property Gallery
   ========================================================================== */
.propstack-property-gallery {
    margin-bottom: 40px;
}

.gallery-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail-item {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail-item.active {
    border-color: var(--propstack-main-color, #D2720D);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Property Content Layout
   ========================================================================== */
.propstack-property-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.property-main-content section {
    margin-bottom: 40px;
}

.property-main-content h2 {
    /* font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50; */
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.property-main-content .has-main-color {
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 106%;
    display: table;
    padding-bottom: 20px;
    color: var(--propstack-main-color, #D2720D);
    position: relative;
    z-index: 1;

    &:after {
        content: "";
        position: absolute;
        z-index: -1;
        width: 100%;
        height: clamp(0.3125rem, 0.1761363636rem + 0.6818181818vw, 0.6875rem);
        left: 0;
        bottom: 10px;
        transition: all 0.3s;
        background-image: url(../images/underline-second.svg);
        background-size: 100%;
        background-repeat: no-repeat;
    }
}

/* Property Details Grid */
.details-grid {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; */
    background-color: var(--propstack-immobilie-single-property-details-container-background-color, #f2f2f2);
    color: var(--propstack-immobilie-single-property-details-container-color, #282929);
    padding: clamp(10px, 1.5vw, 20px);
    border-radius: 10px
}
.details-main-facts,
.details-grid {
    max-width: 500px;
    font-size: 17px;
}

.details-main-facts {
    font-weight: 500;
    padding-left: 0;
}
@media only screen and (max-width: 600px) {
    .details-main-facts {
        padding: clamp(10px, 1.5vw, 20px);
    }
}
@media only screen and (min-width: 601px) {
    .details-main-facts {
        margin-bottom: 20px;
        border-bottom: 1px solid var(--greyLight, lightgrey);
        padding-bottom: 20px;
    }
}

.detail-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* background-color: var(--greyVeryLight, lightgrey);
    border-radius: 8px;
    border-left: 4px solid var(--propstack-main-color, #D2720D); */
}
@media only screen and (max-width: 600px) {
    .detail-item {
        flex-direction: column;
        margin-bottom: 5px
    }
    .detail-item:not(:last-child) {
        border-bottom: 1px solid var(--greyLight, lightgrey);
        padding-bottom: 5px;

    }
    .detail-label {
        font-family: var(--headline 'sans-serif' )
    }
}
.details-grid > .detail-item:not(:last-child) {
    margin-bottom: 12px
}

.detail-label {
    width: 65%;
    /* font-weight: 600;
    color: var(--fontColor, #000); */
}

/* .detail-value {
    color: #2c3e50;
    font-weight: 700;
} */

/* Property Description */
.description-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--fontColor, #000);
}

/* Property Features */
.feature-category {
    margin-bottom: 25px;
}

.feature-category h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    padding: 6px 12px;
    background-color: #e9ecef;
    color: var(--fontColor, #000);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.label-tag {
    background-color: var(--propstack-main-color, #D2720D);
    color: #fff;
}

/* ==========================================================================
   Property Description
   ========================================================================== */

.property-long-description {
    h1, h2, h3, h4, h5, h6 {
        font-size: 125%;
        u {
            text-decoration: none;
        }
    }
    h1, h2, h3, h4, h5, h6, p {
        margin-bottom: 20px ;
    }
    hr {
        display: block;
        height: 1px;
        background: var(--backgroundColor, #f1f1f1);
        margin: 1em 0;
        border: none;
    }
}


/* ==========================================================================
   Property Sidebar
   ========================================================================== */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background-color: var(--propstack-immobilie-single-sidebar-section-background-color, #fff);
    color: var(--propstack-immobilie-single-sidebar-section-color, #000);
    border: 1px solid var(--greyLight, lightgrey);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    &.contact-form {
        position: sticky;
        top: 140px;
    }
}

.sidebar-section h3 {
    font-size: 1.3rem;
    color: var(--propstack-immobilie-single-sidebar-section-color, #2c3e50);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--greyLight, lightgrey);
    padding-bottom: 10px;
}

/* Price Information */
.price-item,
.energy-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--greyVeryLight, lightgrey);
    flex-wrap: wrap;
    font-size: 16px
}

@media only screen and (max-width: 600px) {
    .price-item,
    .energy-item {
        flex-direction: column;
    }
}

.price-item:last-child,
.energy-item:last-child {
    border-bottom: none;
}

.price-label,
.energy-label {
    color: var(--propstack-immobilie-single-sidebar-section-color, #6c757d);
}

.price-value,
.energy-value {
    font-weight: 600;
    color: var(--propstack-immobilie-single-sidebar-section-color, #2c3e50);
}

/* Contact Form */
.propstack-contact-form .form-group {
    margin-bottom: 20px;
}

.propstack-contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--propstack-immobilie-single-sidebar-section-color, #000);
    /* color: var(--fontColor, #000); */
}

.propstack-contact-form input[type="text"],
.propstack-contact-form input[type="email"],
.propstack-contact-form input[type="tel"],
.propstack-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.propstack-contact-form input:focus,
.propstack-contact-form textarea:focus {
    outline: none;
    border-color: var(--propstack-main-color, #D2720D);
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.25);
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: auto !important;
}

/* Property Map */
.map-container {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--greyVeryLight, lightgrey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: #6c757d;
}

/* ==========================================================================
   Archive & Taxonomy Styles
   ========================================================================== */
.archive-stats,
.taxonomy-stats {
    margin-top: 20px;
}

.stats-item {
    text-align: center;
    display: flex;
    align-items: center;
    gap: .5rem
}

.stats-count {
    line-height: 1
}

.stats-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--propstack-main-color, #D2720D);
    line-height: 1
}

.stats-label {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1
}

/* Filter Section */
.propstack-filter-section {
    background-color: #fff;
    border-bottom: 1px solid var(--greyLight, lightgrey);
    padding: 30px 0;
}

.filter-toggle {
    text-align: center;
    margin-bottom: 20px;
}

.filter-toggle-btn {
    background-color: var(--propstack-main-color, #D2720D);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
    background-color: #005a87;
    transform: translateY(-2px);
}

.filter-container {
    display: none;
    padding: 20px;
    background-color: var(--greyVeryLight, lightgrey);
    border-radius: 10px;
    margin-top: 20px;
}

.filter-container.active {
    display: block;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--fontColor, #000);
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14px;
}

.filter-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Properties Grid */
.propstack-properties-grid {
    padding: 40px 0;
}

.properties-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.sorting-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sorting-options select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.view-options {
    display: flex;
    gap: 5px;
}

.view-toggle {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    background-color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.view-toggle.active {
    background-color: var(--propstack-main-color, #D2720D);
    color: #fff;
    border-color: var(--propstack-main-color, #D2720D);
}

/* Properties Container */
.properties-container {
    display: grid;
    gap: 30px;
}

.properties-container[data-view="grid"] {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.properties-container[data-view="list"] {
    grid-template-columns: 1fr;
}

/* Property Card */
/* .propstack-property-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.propstack-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.propstack-property-card:hover .property-thumbnail {
    transform: scale(1.05);
}

.property-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--greyVeryLight, lightgrey);
    color: #6c757d;
}

.placeholder-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.property-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gallery-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
} */

/* Property Content */
.property-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-header {
    margin-bottom: 15px;
}

.property-header .property-title {
    margin-bottom: 0 !important;
    /* margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-weight: 600;  */
}

/* .property-title a { */
    /* color: #2c3e50; */
    /* text-decoration: none; */
    /* transition: color 0.3s ease;
} */

/* .property-title a:hover {
    color: var(--propstack-main-color, #D2720D);
} */

.property-location {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.location-icon {
    margin-right: 5px;
}

.property-summary {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--fontColor, #000);
}

.summary-icon {
    font-size: 1rem;
}

.property-price {
    margin-bottom: 0;
    /* background-color: var(--greyVeryLight, lightgrey); */
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    /* flex-direction: column; */
}

.price-type,
.property-status {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 0
}
.property-status {
    margin-top: 10px;
}

.property-price strong,
h1.property-title {
    font-size: 2.2rem;
    line-height: 125%
}
.property-price strong {
    color: var(--propstack-main-color, #D2720D);
}

.price-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--propstack-main-color, #D2720D);
}

.property-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.btn-favorite {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    justify-content: center;
}

.favorite-icon {
    font-size: 1.1rem;
}

/* Pagination */
.propstack-pagination {
    margin-top: 50px;
    text-align: center;
    width: 100%;
}

.propstack-pagination .page-numbers {
    padding: 5px 10px;
}

.propstack-pagination ul {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.propstack-pagination li {
    margin: 0;
}

.propstack-pagination a,
.propstack-pagination span {
    display: block;
    padding: 10px 15px;
    color: var(--propstack-main-color, #D2720D);
    text-decoration: none;
    border: 1px solid var(--greyLight, lightgrey);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.propstack-pagination .current {
    background-color: var(--propstack-main-color, #D2720D);
    color: #fff;
    border-color: var(--propstack-main-color, #D2720D);
}

.propstack-pagination a:hover {
    background-color: var(--greyVeryLight, lightgrey);
}

/* No Results */
.no-properties-found {
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    margin-top: 40px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../images/background.svg");
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-properties-found h2 {
    color: #6c757d;
    margin-bottom: 15px;
}

.no-properties-found p {
    color: #6c757d;
    margin-bottom: 30px;
}

.no-results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Related Terms */
.propstack-related-terms {
    background-color: var(--greyVeryLight, lightgrey);
    padding: 40px 0;
}

.related-terms-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.related-terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.related-term-item {
    display: block;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: var(--fontColor, #000);
    transition: all 0.3s ease;
}

.related-term-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--propstack-main-color, #D2720D);
}

.term-name {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.term-count {
    font-size: 0.9rem;
    color: #6c757d;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .propstack-property-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* .property-title,
    .archive-title,
    .taxonomy-title {
        font-size: 2rem;
    } */

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .properties-container[data-view="grid"] {
        grid-template-columns: 1fr;
    }

    .properties-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .property-meta-info {
        margin-left: auto
    }

    .property-summary {
        flex-direction: column;
        gap: 10px;
    }

    .filter-actions {
        flex-direction: column;
    }

    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }

    .related-terms-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Energy Efficiency Classes
   ========================================================================== */

.energy-efficiency-class{
    position: relative;
    .energy-class-indicator{
        position: absolute;
        top: 0;
        height: 30px;
        &::before{
            content: "\27A1";
            transform: rotate(90deg);
            display: inline-block;
            transform-origin: center;
            color: var(--propstack-immobilie-single-energy-info-energy-class-indicator-color, #fff);
        }
        &.class-a-plus{
            left: 5%;
        }
        &.class-a{
            left: 18%;
        }
        &.class-b{
            left: 28%;
        }
        &.class-c{
            left: 39.25%;
        }
        &.class-d{
            left: 50%;
        }
        &.class-e{
            left: 60.75%;
        }
        &.class-f{
            left: 70%;
        }
        &.class-g{
            left: 80%;
        }
        &.class-h{
            left: 91%;
        }
    }
    .energy-class-background{
        padding-top: 30px;
        img{
            display: block;
            width: 100%;
            height: auto;
        }
    }
}

/* Header-Grid */
.propstack-property-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px
}
.propstack-property-title-section > *:first-child {
    flex-basis: 60%;
    flex-grow: 1;
}

/* Grundriss-Slide */
.floorplan-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem
}
.floorplan-gallery-grid > * {
    flex: 0 0 220px;
    flex-shrink: 0;
}
.floorplan-image-wrapper {
    background: var(--contrastColorInverted, white);
}
.floorplan-image-wrapper img {
    width: 100%;
    height: auto
}
.floorplan-item {
    transition: .3s background-color ease;
    border: 1px solid var(--greyLight, lightgrey);
    border-radius: 10px;
    overflow: hidden;
}
.floorplan-item:hover {
    background-color: var(--propstack-main-color, #D2720D)
}
.floorplan-item:hover .floorplan-caption {
    color: var(--contrastColorInverted, white);
}
.floorplan-caption {
    font-size: 14px;
    font-weight: 500;
    padding: 5px 8px;
    transition: .3s color ease
}

/* Ansprechpartner */
.ansprechpartner-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.ansprechpartner-photo-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.ansprechpartner-photo {
    min-height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
}

.ansprechpartner-info {
    flex: 1;
    text-align: left;
}

.ansprechpartner-name {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: bold;
    color: var(--propstack-immobilie-single-sidebar-section-color, #333)
}

.ansprechpartner-position {
    margin: 0 0 15px 0;
    color: var(--propstack-immobilie-single-sidebar-section-color, #666);
    font-style: italic;
    font-size: 14px;
}

.ansprechpartner-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.ansprechpartner-contact .contact-item:last-child {
    margin-bottom: 0;
}

.ansprechpartner-contact .icon {
    width: 18px;
    height: 18px;
    font-size: 16px;
    margin-right: 8px;
    color: #666;
    flex-shrink: 0;

    &:before {
        content: '';
        mask-size: contain;
        mask-repeat: no-repeat;
        width: 100%;
        display: inline-block;
        height: 100%;
        background: var(--main-color, #D2720D);
    }

    &.phone:before {
        mask-image: url("../images/phone.svg");
    }
    &.mobile:before {
        mask-image: url("../images/mobile-phone.svg");
    }
    &.email:before {
        mask-image: url("../images/mail.svg");
    }
}

.ansprechpartner-contact a {
    color: var(--main-color, #D2720D);;
    text-decoration: none;
}

.ansprechpartner-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .ansprechpartner-card {
        flex-direction: column;
        text-align: center;
    }

    .ansprechpartner-photo {
        width: 60px;
        height: 60px;
    }
}
.propstack-archive-header,
.propstack-properties-section,
.propstack-search-filter-section,
.propstack-split-view,
.propstack-taxonomy-header {
    max-width: var(--maxWidthBig, 1504px);
    width: var(--baseWidth, 92%);
    margin-left: auto;
    margin-right: auto;
}

/* TEMP */
