/* Immobilien-Produktseiten CSS */

.immo-product-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px 0;
}

.immo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.immo-header {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.immo-breadcrumb {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
}

.immo-breadcrumb a {
    color: #FFB800;
    text-decoration: none;
}

.immo-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.immo-type-badge {
    background: #FFB800;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.immo-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #002F5D;
    margin: 0;
    flex: 1;
}

.immo-location {
    color: #6c757d;
    font-size: 18px;
    font-weight: 500;
}

/* Content Grid */
.immo-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

/* Bildergalerie */
.immo-gallery-section {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.immo-main-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.immo-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.immo-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 18px;
    font-weight: 500;
}

.immo-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
}

.immo-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.immo-thumb:hover {
    opacity: 0.8;
}

/* Details Section */
.immo-details-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Preis-Box */
.immo-price-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.price-main {
    margin-bottom: 20px;
}

.price-amount {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #002F5D;
    margin-bottom: 10px;
}

.price-per-sqm {
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

.price-details {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
}

.price-item .label {
    color: #6c757d;
    font-weight: 500;
}

.price-item .value {
    color: #002F5D;
    font-weight: 600;
}

/* Info Grid */
.immo-info-grid {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.info-content {
    flex: 1;
}

.info-label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.info-value {
    color: #002F5D;
    font-size: 18px;
    font-weight: 600;
}

/* Kontakt-Buttons */
.immo-contact-actions {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-contact-main {
    background: #FFB800;
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-contact-main:hover {
    background: #e6a600;
}

.btn-viewing {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-viewing:hover {
    background: #218838;
}

/* Beschreibung */
.immo-description {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.immo-description h3 {
    color: #002F5D;
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFB800;
    padding-bottom: 10px;
}

.description-content {
    color: #495057;
    line-height: 1.6;
    font-size: 16px;
}

/* Ausstattung */
.immo-features {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.immo-features h3 {
    color: #002F5D;
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFB800;
    padding-bottom: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #FFB800;
}

.feature-label {
    color: #6c757d;
    font-weight: 500;
}

.feature-value {
    color: #002F5D;
    font-weight: 600;
}

/* Kontakt-Modal */
.contact-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.contact-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close-modal:hover {
    color: #000;
}

.contact-modal-content h3 {
    color: #002F5D;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFB800;
    box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.2);
}

.btn-submit {
    background: #FFB800;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: #e6a600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .immo-content-grid {
        grid-template-columns: 1fr;
    }
    
    .immo-title {
        font-size: 2em;
    }
    
    .immo-info-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .immo-title-section {
        flex-direction: column;
        align-items: flex-start;
    }
}
