/**
 * CLAUDE: CSS für Immobilien-Einzelseiten
 * CLAUDE: Styles für Hero, Eckdaten, Beschreibung, Ausstattung, Energie, Galerie, Sidebar
 */

/* CLAUDE: =====================================================
 * CLAUDE: PROPERTY SINGLE - Container
 * CLAUDE: ===================================================== */

.lhi-property-single__container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    padding: 40px 0;
}

@media (max-width: 991px) {
    .lhi-property-single__container {
        grid-template-columns: 1fr;
    }
}

/* CLAUDE: =====================================================
 * CLAUDE: HERO SECTION
 * CLAUDE: ===================================================== */

.lhi-property-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.lhi-property-hero__image {
    position: absolute;
    inset: 0;
}

.lhi-property-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lhi-property-hero__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lhi-property-hero__placeholder .dashicons {
    font-size: 120px;
    width: 120px;
    height: 120px;
    color: #ccc;
}

.lhi-property-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
}

.lhi-property-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: #fff;
}

.lhi-property-hero__badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.lhi-property-hero__badge--sold {
    background-color: #8F2330;
}

.lhi-property-hero__type {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    margin-bottom: 12px;
    margin-left: 8px;
}

.lhi-property-hero__label {
    display: block;
    font-size: 18px;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 4px;
}

.lhi-property-hero__title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}

.lhi-property-hero__subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 12px;
}

.lhi-property-hero__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.lhi-property-hero__location .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* CLAUDE: =====================================================
 * CLAUDE: SECTIONS
 * CLAUDE: ===================================================== */

.lhi-property-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
}

.lhi-property-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.lhi-property-section__title {
    font-size: 24px;
    font-weight: 600;
    color: #23282d;
    margin: 0 0 24px;
}

/* CLAUDE: =====================================================
 * CLAUDE: ECKDATEN
 * CLAUDE: ===================================================== */

.lhi-property-eckdaten__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.lhi-property-eckdaten__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.lhi-property-eckdaten__icon {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #8F2330;
    flex-shrink: 0;
}

.lhi-property-eckdaten__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lhi-property-eckdaten__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.lhi-property-eckdaten__value {
    font-size: 18px;
    font-weight: 600;
    color: #23282d;
}

/* CLAUDE: =====================================================
 * CLAUDE: BESCHREIBUNG
 * CLAUDE: ===================================================== */

.lhi-property-beschreibung__content {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.lhi-property-beschreibung__content p {
    margin: 0 0 16px;
}

.lhi-property-beschreibung__content p:last-child {
    margin-bottom: 0;
}

/* CLAUDE: =====================================================
 * CLAUDE: AUSSTATTUNG
 * CLAUDE: ===================================================== */

.lhi-property-ausstattung__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lhi-property-ausstattung__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.lhi-property-ausstattung__item .dashicons {
    color: #2E7D32;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.lhi-property-ausstattung__sonstiges {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.lhi-property-ausstattung__subtitle {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

/* CLAUDE: =====================================================
 * CLAUDE: ENERGIE
 * CLAUDE: ===================================================== */

.lhi-property-energie__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.lhi-property-energie__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.lhi-property-energie__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.lhi-property-energie__value {
    font-size: 16px;
    font-weight: 600;
    color: #23282d;
}

.lhi-property-energie__badge {
    display: inline-block;
    padding: 4px 12px;
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
}

/* CLAUDE: =====================================================
 * CLAUDE: GALERIE
 * CLAUDE: ===================================================== */

.lhi-property-galerie__count {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.lhi-property-galerie__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.lhi-property-galerie__item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

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

.lhi-property-galerie__item:hover .lhi-property-galerie__img {
    transform: scale(1.05);
}

.lhi-property-galerie__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lhi-property-galerie__item:hover .lhi-property-galerie__overlay {
    opacity: 1;
}

.lhi-property-galerie__overlay .dashicons {
    color: #fff;
    font-size: 32px;
    width: 32px;
    height: 32px;
}

/* CLAUDE: =====================================================
 * CLAUDE: PDF BUTTON
 * CLAUDE: ===================================================== */

.lhi-property-pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #8F2330;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.lhi-property-pdf-button:hover {
    background: #6d1a24;
    color: #fff;
}

.lhi-property-pdf-button .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* CLAUDE: =====================================================
 * CLAUDE: SIDEBAR
 * CLAUDE: ===================================================== */

.lhi-property-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 991px) {
    .lhi-property-sidebar {
        position: static;
    }
}

.lhi-property-sidebar__sold {
    text-align: center;
    padding: 20px;
    background: #f5f0f0;
    border: 2px solid #8F2330;
    border-radius: 8px;
}

.lhi-property-sidebar__sold-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #8F2330;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
}

.lhi-property-sidebar__sold-text {
    margin: 10px 0 0;
    font-size: 14px;
    color: #666;
}

.lhi-property-sidebar__contact,
.lhi-property-sidebar__facts {
    padding: 24px;
    background: #f9f9f9;
    border-radius: 8px;
}

.lhi-property-sidebar__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #23282d;
}

.lhi-property-sidebar__text {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
}

.lhi-property-sidebar__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.lhi-property-sidebar__button:last-child {
    margin-bottom: 0;
}

.lhi-property-sidebar__button--phone {
    background: #2E7D32;
    color: #fff;
}

.lhi-property-sidebar__button--phone:hover {
    background: #1b5e20;
    color: #fff;
}

.lhi-property-sidebar__button--email {
    background: #1976D2;
    color: #fff;
}

.lhi-property-sidebar__button--email:hover {
    background: #1565C0;
    color: #fff;
}

.lhi-property-sidebar__button--unlock {
    background: #8F2330;
    color: #fff;
}

.lhi-property-sidebar__button--unlock:hover {
    background: #6d1a24;
    color: #fff;
}

.lhi-property-sidebar__button--pdf {
    background: #e0e0e0;
    color: #333;
}

.lhi-property-sidebar__button--pdf:hover {
    background: #ccc;
    color: #333;
}

.lhi-property-sidebar__fact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lhi-property-sidebar__fact-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.lhi-property-sidebar__fact-list li:last-child {
    border-bottom: none;
}

.lhi-property-sidebar__fact-label {
    color: #666;
    font-size: 14px;
}

.lhi-property-sidebar__fact-value {
    font-weight: 600;
    color: #23282d;
}
