/**
 * G&B Premium Exposé Styles
 * Extrahiert aus single-property.php für bessere Performance
 * Version: 1.0.0
 */

:root {
    --gb-brand: #0A3825;
    --gb-gold: #Cfaa56;
    --gb-text: #1e293b;
    --gb-bg: #f8f9fa;
    --gb-gray-badge: #475569;
}

/* =====================================================
   BREADCRUMBS (SEO-optimiert)
   ===================================================== */
.gb-breadcrumbs {
    margin-bottom: 20px;
    padding: 0 5px;
}

.gb-bc-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

.gb-bc-list li {
    display: flex;
    align-items: center;
    color: #64748b;
}

.gb-bc-list li:not(:last-child)::after {
    content: '›';
    margin: 0 10px;
    color: #cbd5e1;
    font-weight: 600;
}

.gb-bc-list li a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gb-bc-list li a:hover {
    color: var(--gb-brand);
}

.gb-bc-list li.current {
    color: var(--gb-text);
    font-weight: 600;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =====================================================
   DSGVO MAP CONSENT OVERLAY
   ===================================================== */
.gb-map-consent {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-map-consent-inner {
    max-width: 400px;
}

.gb-map-consent-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gb-brand) 0%, #1e6b4f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(10, 56, 37, 0.25);
}

.gb-map-consent-icon i {
    font-size: 2rem;
    color: #fff;
}

.gb-map-consent h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--gb-brand);
    margin: 0 0 12px 0;
}

.gb-map-consent p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.gb-map-address {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--gb-text);
    margin-bottom: 20px !important;
}

.gb-map-address i {
    color: var(--gb-gold);
}

.gb-map-consent-btn {
    background: linear-gradient(135deg, var(--gb-brand) 0%, #1e6b4f 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 56, 37, 0.3);
}

.gb-map-consent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 56, 37, 0.4);
}

.gb-map-consent-btn i {
    font-size: 1.1rem;
}

.gb-map-privacy-link {
    display: block;
    margin-top: 15px;
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.gb-map-privacy-link:hover {
    color: var(--gb-brand);
}

.gb-map-container {
    border-radius: 8px;
    overflow: hidden;
}

.gb-map-container iframe {
    display: block;
}

/* =====================================================
   VERSTECKE THEME-MAP IM HEADER (oben über dem Slider)
   ===================================================== */
.hs-gallery-v2-top-wrap #pills-map,
.top-gallery-section #pills-map,
#pills-map,
#pills-map-tab,
.map-media-tab,
a[href="#pills-map"],
.property-detail-header,
.single-property-header,
.property-top-area,
.property-header-area,
.top-gallery-section .houzez-map-wrap,
.hs-gallery-v2-top-wrap .houzez-map-wrap,
body.single-property .top-gallery-section .tab-pane#pills-map,
body.single-property .hs-gallery-v2-top-wrap .tab-pane#pills-map {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* =====================================================
   VERSTECKE THEME ENERGIE-KLASSEN-ANZEIGE (KOMPLETT)
   ===================================================== */
.property-energy-class-wrap,
#property-energy-class-wrap,
.class-energy,
.class-energy-list,
.class-energy-indicator,
.energy-class-cards-wrapper,
.energy-diagnostic-card,
.block-wrap:has(.class-energy),
.property-section-wrap:has(.class-energy),
.houzez-energy-class,
.energy-class-wrap,
.property-energy-class,
.block-energy-class,
.energy-class,
.energy-class-item,
.energy-class-bar,
.energy-class-bars,
.energy-indicator,
.energy-scale,
.property-detail-block-energy,
[class*="energy-class"],
[class*="energy_class"],
.block-wrap:has([class*="energy"]),
.block-content-wrap:has(.energy-class) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =====================================================
   WEB VIEW STYLES (Screen Only)
   ===================================================== */

/* SHIMMER ANIMATION KEYFRAME */
@keyframes gb-goldShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.gb-property-wrap {
    background: linear-gradient(180deg,
            #f8f9fa 0%,
            rgba(232, 245, 233, 0.4) 30%,
            rgba(255, 248, 225, 0.3) 60%,
            #f8f9fa 100%);
    font-family: 'Open Sans', sans-serif;
    color: var(--gb-text);
    padding-top: 30px;
    padding-bottom: 80px;
    position: relative;
}

/* Subtle decorative gradient orbs */
.gb-property-wrap::before {
    content: '';
    position: absolute;
    top: 200px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(207, 170, 86, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.gb-property-wrap::after {
    content: '';
    position: absolute;
    top: 600px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 56, 37, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure content is above decorative elements */
.gb-property-wrap>* {
    position: relative;
    z-index: 1;
}

/* =====================================================
   SUMMARY CARD
   ===================================================== */
.gb-summary-card {
    background: #fff;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
    overflow: hidden;
}

.gb-header-top {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.gb-header-left {
    flex: 1;
}

.gb-badges-wrap {
    margin-bottom: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gb-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

.gb-badge-status {
    background: var(--gb-brand);
}

.gb-badge-label {
    background: var(--gb-gray-badge);
}

.gb-sum-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #111;
    margin: 0 0 10px 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.gb-sum-addr {
    font-size: 1.05rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.gb-sum-addr i {
    color: var(--gb-gold);
}

.gb-header-right {
    text-align: right;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

/* PRICE LABEL DYNAMIC */
.gb-price-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.gb-sum-price-val {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: var(--gb-brand);
    line-height: 1;
}

/* =====================================================
   SHARE BUTTONS
   ===================================================== */
.gb-share-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.gb-btn-share {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.gb-btn-share:hover {
    border-color: var(--gb-brand);
    color: var(--gb-brand);
    transform: translateY(-1px);
}

/* =====================================================
   MEDIA / SLIDER
   ===================================================== */
.gb-media-integration-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    background: #fff;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.gb-slider-wrap {
    position: relative;
    margin-bottom: 0;
    height: 550px;
}

.gb-slider-wrap .swiper {
    width: 100%;
    height: 100%;
}

.gb-slider-wrap .swiper-slide {
    position: relative;
}

.gb-slider-wrap .swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
}

.gb-slider-wrap .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.gb-slider-wrap .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gb-slider-wrap .swiper-slide:hover img {
    transform: scale(1.02);
}

/* Swiper Navigation */
.gb-slider-wrap .swiper-button-next,
.gb-slider-wrap .swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--gb-text) !important;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gb-slider-wrap .swiper-button-next::after,
.gb-slider-wrap .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

.gb-slider-wrap .swiper-pagination-bullet-active {
    background: var(--gb-gold);
    opacity: 1;
    transform: scale(1.2);
}

/* =====================================================
   FACTS STRIP (Dynamisch)
   ===================================================== */
.gb-facts-strip {
    background: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    border-top: 1px solid #f1f5f9;
    margin-bottom: 0;
}

.gb-fact-box {
    padding: 20px;
    text-align: center;
    border-right: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gb-fact-box:last-child {
    border-right: none;
}

.gb-fact-box:hover {
    background: #fafbfc;
}

.gb-fact-icon {
    margin-bottom: 8px;
    color: var(--gb-gold);
    font-size: 1.3rem;
    opacity: 1;
}

.gb-fact-val {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gb-text);
}

.gb-fact-lbl {
    font-size: 0.70rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* =====================================================
   iOS 26 LIQUID GLASS STYLE
   Nutzung: class="gb-card-style gb-glass" 
   ===================================================== */
.gb-glass {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    box-shadow:
        0 10px 40px rgba(31, 38, 135, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.17), transparent 50%) !important;
    transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.gb-glass:hover {
    background: rgba(255, 255, 255, 0.13) !important;
    transform: translateY(-4px);
}

/* =====================================================
   PREMIUM DARK CARD STYLE (Lighter Version)
   Nutzung: class="gb-card-style gb-dark-premium"
   ===================================================== */
.gb-dark-premium {
    background: linear-gradient(145deg, #1a5a42 0%, #1e6b4f 50%, #1a5a42 100%) !important;
    border: 1px solid rgba(207, 170, 86, 0.25) !important;
    border-radius: 12px !important;
    box-shadow:
        0 8px 30px rgba(10, 56, 37, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    position: relative;
    overflow: hidden;
}

/* Subtle gold corner accent */
.gb-dark-premium::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(207, 170, 86, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.gb-dark-premium h2 {
    color: var(--gb-gold) !important;
    border-bottom-color: rgba(207, 170, 86, 0.15) !important;
}

.gb-dark-premium h2::after {
    background: linear-gradient(90deg, var(--gb-gold), transparent) !important;
    width: 60px !important;
}

.gb-dark-premium .gb-data-row {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.gb-dark-premium .gb-data-row:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent) !important;
}

.gb-dark-premium .gb-data-row::before {
    background: var(--gb-gold) !important;
}

.gb-dark-premium .gb-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

.gb-dark-premium .gb-val {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600 !important;
}

.gb-dark-premium:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(10, 56, 37, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Features List in Dark Premium Card - Liquid Glass Pills */
.gb-dark-premium .gb-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gb-dark-premium .gb-features-list li {
    color: rgba(255, 255, 255, 0.95) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    /* Liquid Glass Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 50%);
    transition: all 0.3s ease;
}

.gb-dark-premium .gb-features-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.gb-dark-premium .gb-features-list li svg {
    width: 18px;
    height: 18px;
    color: var(--gb-gold) !important;
    stroke: var(--gb-gold) !important;
    flex-shrink: 0;
}

/* =====================================================
   PREMIUM CONTENT BOXES 
   ===================================================== */

/* Scroll Animation Keyframes */
@keyframes gb-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gb-box,
.property-description-wrap,
.gb-card-style,
.property-map-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    /* Premium Multi-Layer Shadows */
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.02),
        0 4px 8px rgba(0, 0, 0, 0.03),
        0 12px 24px rgba(0, 0, 0, 0.04);
    /* Scroll Animation - initially hidden */
    opacity: 0;
    transform: translateY(30px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Animation trigger class (added by JS) */
.gb-box.gb-visible,
.property-description-wrap.gb-visible,
.gb-card-style.gb-visible,
.property-map-wrap.gb-visible {
    animation: gb-fadeInUp 0.6s ease forwards;
}

/* Gold Accent Bar on Left */
.gb-card-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gb-gold), rgba(207, 170, 86, 0.3));
    border-radius: 12px 0 0 12px;
}

/* Hover State */
.gb-box:hover,
.property-description-wrap:hover,
.gb-card-style:hover,
.property-map-wrap:hover {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.03),
        0 8px 16px rgba(0, 0, 0, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.gb-box h2,
.property-description-wrap h2,
.gb-card-style h2,
.property-map-wrap h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--gb-brand);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
    position: relative;
}

.gb-box h2::after,
.property-description-wrap h2::after,
.gb-card-style h2::after,
.property-map-wrap h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gb-gold), transparent);
    border-radius: 2px;
}

/* =====================================================
   PREMIUM DATA GRID STYLES
   ===================================================== */
.gb-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.gb-data-row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(207, 170, 86, 0.1);
    display: flex;
    justify-content: space-between;
    margin-right: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.gb-data-row::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gb-gold);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.gb-data-row:hover {
    background: linear-gradient(90deg, rgba(207, 170, 86, 0.04), transparent);
    padding-left: 8px;
}

.gb-data-row:hover::before {
    height: 60%;
}

.gb-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.gb-val {
    font-weight: 600;
    color: #0f172a;
    text-align: right;
}

/* =====================================================
   EnEV ENERGIEAUSWEIS DESIGN (Deutschland-Konform)
   ===================================================== */
.gb-enev-energy-section {
    grid-column: 1 / -1;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.gb-enev-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gb-enev-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gb-brand);
}

.gb-enev-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gb-enev-scale {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gb-enev-arrow {
    flex: 1;
    height: 48px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
    margin-left: -12px;
    transition: all 0.3s ease;
}

.gb-enev-arrow:first-child {
    margin-left: 0;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    border-radius: 6px 0 0 6px;
}

.gb-enev-arrow:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%);
    border-radius: 0 6px 6px 0;
}

.gb-enev-arrow-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.7);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.gb-enev-arrow.active {
    transform: scaleY(1.15);
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gb-enev-arrow.active .gb-enev-arrow-label {
    color: #fff;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.gb-enev-indicator {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.gb-enev-indicator-dot {
    width: 12px;
    height: 12px;
    background: #1e293b;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gb-enev-indicator-dot::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #1e293b;
}

.gb-enev-numbers {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    margin-top: 12px;
}

.gb-enev-numbers span {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.gb-enev-unit {
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 8px;
    font-weight: 500;
}

/* =====================================================
   FEATURES LIST
   ===================================================== */
.gb-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gb-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #334155;
}

.gb-features-list li svg {
    width: 18px;
    height: 18px;
    color: var(--gb-gold);
    flex-shrink: 0;
}

/* =====================================================
   DOCUMENTS LIST
   ===================================================== */
.gb-doc-list-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gb-doc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
    background: #fff;
}

.gb-doc-item:hover {
    border-color: var(--gb-gold);
    background: #fcfcfc;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.gb-doc-icon {
    font-size: 1.5rem;
    color: var(--gb-brand);
}

.gb-doc-content {
    display: flex;
    flex-direction: column;
}

.gb-doc-info {
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.3;
}

.gb-doc-dl {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* =====================================================
   SIDEBAR / STICKY
   ===================================================== */
.gb-sticky-sidebar {
    position: sticky;
    top: 120px;
}

/* =====================================================
   MAP FIX
   ===================================================== */
.gb-map-fix .houzez-map-wrap,
.gb-map-fix #houzez-single-listing-map,
.gb-map-fix .map-wrap,
.gb-map-fix #gb-fallback-map,
.gb-map-fix iframe {
    height: 450px !important;
    width: 100% !important;
    display: block !important;
    min-height: 450px;
    border: none;
    border-radius: 8px;
}

/* =====================================================
   MOBILE OPTIMIZATION
   ===================================================== */
@media(max-width: 991px) {
    .gb-header-top {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .gb-header-right {
        text-align: left;
        align-items: flex-start;
        width: 100%;
        margin-top: 10px;
        border-top: 1px solid #f1f5f9;
        padding-top: 20px;
    }

    .gb-sum-price-val {
        font-size: 2.2rem;
    }

    .gb-facts-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .gb-fact-box {
        border-right: none;
        border-bottom: 1px solid #edf2f7;
    }

    .gb-fact-box:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media(max-width: 768px) {
    .gb-property-wrap {
        padding-top: 15px;
        padding-bottom: 40px;
    }

    .gb-summary-card {
        padding: 0;
    }

    .gb-header-top {
        padding: 20px;
        gap: 15px;
    }

    .gb-sum-title {
        font-size: 1.6rem;
        line-height: 1.25;
        word-wrap: break-word;
    }

    .gb-sum-addr {
        font-size: 0.95rem;
        margin-top: 8px;
    }

    .gb-header-right {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #f1f5f9;
        width: 100%;
        align-items: flex-start;
    }

    .gb-sum-price-val {
        font-size: 1.8rem;
    }

    .gb-share-actions {
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .gb-btn-share {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .gb-slider-wrap {
        height: 280px;
    }

    .gb-facts-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .gb-fact-box {
        padding: 15px 10px;
        border-right: 1px solid #f1f5f9;
        border-bottom: 1px solid #f1f5f9;
    }

    .gb-fact-box:nth-child(2n) {
        border-right: none;
    }

    .gb-box,
    .property-description-wrap,
    .gb-card-style,
    .property-map-wrap {
        padding: 20px;
        margin-bottom: 20px;
    }

    .gb-data-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gb-data-row {
        margin-right: 0;
        padding: 10px 0;
    }

    .gb-features-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gb-doc-list-main {
        grid-template-columns: 1fr;
    }

    .gb-doc-item {
        padding: 12px;
    }

    .gb-sticky-sidebar {
        position: static;
        margin-top: 30px;
    }

    .gb-map-fix .houzez-map-wrap,
    .gb-map-fix #gb-single-map,
    .gb-map-fix #houzez-single-listing-map,
    .gb-map-fix iframe {
        height: 280px !important;
        min-height: 280px;
    }

    .gb-box h2,
    .property-description-wrap h2,
    .property-map-wrap h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .gb-data-label,
    .gb-data-value {
        font-size: 0.85rem;
    }

    /* Mobile: Beschreibung kürzen */
    .property-description-wrap .block-content-wrap {
        max-height: 200px;
        overflow: hidden;
        position: relative;
    }

    .property-description-wrap .block-content-wrap::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(transparent, white);
    }

    /* Mobile: Features Grid kompakter */
    .gb-features-grid {
        max-height: 150px;
        overflow: hidden;
    }

    .gb-dark-premium .gb-features-list {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PRINT VIEW STYLES
   ===================================================== */
.gb-print-view-wrapper {
    display: none;
}

@media print {

    body,
    body * {
        visibility: hidden;
        overflow: visible !important;
        height: auto !important;
    }

    .gb-print-view-wrapper,
    .gb-print-view-wrapper * {
        visibility: visible;
    }

    .gb-print-view-wrapper {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
        z-index: 99999;
    }

    .gb-web-view-wrapper {
        display: none !important;
    }

    @page {
        size: A4;
        margin: 15mm 0 20mm 0;
    }

    .gb-print-container {
        max-width: 210mm;
        margin: 0 auto;
        padding: 0 20mm;
        box-sizing: border-box;
    }

    .gb-ph-logo img {
        height: 50px;
    }

    .gb-ph-text {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 14pt;
        color: #b08d45;
        text-transform: uppercase;
        text-align: right;
    }

    .gb-print-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        border-bottom: 2px solid var(--gb-gold);
        padding-bottom: 15px;
        margin-bottom: 25px;
    }

    .gb-print-hero-img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        border: 1px solid #ddd;
        margin-bottom: 25px;
    }

    .gb-print-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 20pt;
        font-weight: 700;
        color: var(--gb-brand);
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .gb-print-addr {
        font-size: 11pt;
        color: #444;
        margin-bottom: 20px;
    }

    .gb-print-facts {
        display: flex;
        border: 1px solid #000;
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 30px;
    }

    .gb-pf-box {
        flex: 1;
        text-align: center;
        padding: 10px;
        border-right: 1px solid #ddd;
        background: var(--gb-brand);
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .gb-pf-box:last-child {
        border-right: none;
    }

    .gb-pf-val {
        font-weight: 700;
        font-size: 12pt;
        display: block;
        color: #fff !important;
    }

    .gb-pf-lbl {
        font-size: 8pt;
        text-transform: uppercase;
        color: #eee !important;
    }

    .gb-pf-price {
        font-size: 14pt;
    }

    .gb-print-col2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 30px;
    }

    .gb-print-h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 13pt;
        font-weight: 700;
        color: var(--gb-brand);
        border-bottom: 1px solid #ccc;
        margin-bottom: 10px;
        padding-bottom: 5px;
        page-break-after: avoid;
    }

    .gb-print-table {
        width: 100%;
        border-collapse: collapse;
    }

    .gb-print-table td {
        border-bottom: 1px solid #eee;
        padding: 6px 0;
        font-size: 10pt;
    }

    .gb-print-table .lbl {
        font-weight: 600;
        width: 40%;
        color: #333;
    }

    .gb-print-table .val {
        text-align: right;
        color: #000;
    }

    .gb-print-gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 20px;
        page-break-inside: avoid;
    }

    .gb-print-gallery img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border: 1px solid #ccc;
    }

    .gb-print-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 2px solid var(--gb-brand);
        padding: 10px 20mm;
        display: flex;
        justify-content: space-between;
        font-size: 9pt;
        color: #555;
    }

    .no-break {
        page-break-inside: avoid;
    }
}

/* =====================================================
   PREMIUM LIGHTBOX STYLES
   ===================================================== */
body .fancybox__backdrop {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

body .fancybox__toolbar {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    padding: 20px;
}

body .fancybox__thumb {
    border-radius: 6px;
    border: 2px solid transparent;
    transition: transform 0.2s ease;
}

body .fancybox__thumb.is-selected {
    border-color: #c5a47e;
    transform: scale(1.05);
}

body .fancybox__footer {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent) !important;
}

body .f-button {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
    transition: all 0.3s ease;
}

body .f-button:hover {
    background: #c5a47e;
    color: #fff;
}