/**
 * Snippet-Styles für eingebettete Exposée-.inc auf kontakt.php (service.immonika.de).
 * Angelehnt an www/prio.css + www/style.css — nur Klassen aus der Listen-/Sidebar-.inc.
 * Version 1.01 — 17.04.2026: fullStar + lightStar wie Portal (vorher nur basicStar)
 */

.kontakt-exposee-inc-body {
    --immo-color-success: #b2e49a;
    --immo-color-success-transparent: rgba(178, 228, 154, 0.16);
    --immo-color-preis-bg-overlay: rgba(204, 204, 204, 0.85);
    --immo-color-text: #222;
    --immo-color-text-muted: #555;
    --immo-link-hover: #3245a3;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--immo-color-text);
}

.kontakt-exposee-inc-body article {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.kontakt-exposee-inc-body article::after {
    content: "";
    display: table;
    clear: both;
}

.kontakt-exposee-inc-body article a {
    text-decoration: none;
    color: inherit;
}

.kontakt-exposee-inc-body article a:hover {
    color: var(--immo-link-hover);
}

/* Titelzeile (grüner Streifen wie Portal) */
.kontakt-exposee-inc-body .Objekttitel-Wrapper {
    width: 100%;
    background-color: var(--immo-color-success);
}

.kontakt-exposee-inc-body .Objekttitel {
    background-color: var(--immo-color-success);
    max-width: 85%;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.kontakt-exposee-inc-body .Objekttitel h4 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    color: var(--immo-color-text);
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 0.2em 2em 0.1em 0.5em;
    font-size: 1.1em;
}

.kontakt-exposee-inc-body .Objekttitel::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20%;
    background: linear-gradient(to right, transparent, var(--immo-color-success));
    pointer-events: none;
}

/* Sterne */
.kontakt-exposee-inc-body .Rating {
    float: right;
    margin-top: -1.6em;
    padding: 0 1em 0 1em;
    opacity: 1;
}

.kontakt-exposee-inc-body .Rating [itemprop="ratingValue"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.kontakt-exposee-inc-body .basicStar {
    position: relative;
    transform: rotate(10deg);
    opacity: 0.8;
    float: left;
    font-size: 1.4em;
    font-weight: bold;
    background: linear-gradient(115deg, #ffffff 20%, #50b572 40%, #ffffff 60%, #074213 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: rgba(117, 221, 100, 0.2);
    -webkit-text-stroke: 0.5px rgba(34, 52, 120, 0.45);
    text-shadow: 0 0 5px rgba(197, 255, 230, 0.05), 0 0 10px rgba(255, 255, 255, 0.77);
}

.kontakt-exposee-inc-body .basicStar::after {
    content: "";
    position: absolute;
    z-index: 900;
    top: 23%;
    left: 37%;
    width: 61%;
    height: 35%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 60%);
    transform: rotate(-50deg);
    opacity: 0.8;
}

/* Voller Stern + heller Stern — identisch zu www/style.css (fehlten hier → schwarze Glyphe) */
.kontakt-exposee-inc-body .fullStar {
    position: relative;
    transform: rotate(10deg);
    float: left;
    font-size: 1.4em;
    font-weight: bold;
    background: linear-gradient(115deg, #ffffff 20%, #ffa646 40%, #ffe660 60%, #ca6600 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.5px #b8860b;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.7), 0 0 10px rgb(255 255 255 / 77%);
}

.kontakt-exposee-inc-body .fullStar::after {
    content: "";
    position: absolute;
    z-index: 900;
    top: 23%;
    left: 37%;
    width: 61%;
    height: 35%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 60%);
    transform: rotate(-50deg);
    opacity: 1;
}

.kontakt-exposee-inc-body .lightStar {
    position: relative;
    float: left;
    transform: rotate(10deg);
    font-size: 1.4em;
    font-weight: bold;
    background: linear-gradient(135deg, #faf6de 0%, #a4a4a4 30%, #e8e8e8 60%, #777 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.5px #777;
}

.kontakt-exposee-inc-body .lightStar::after {
    content: "";
    position: absolute;
    top: 23%;
    left: 31%;
    width: 60%;
    height: 36%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 55%);
    transform: rotate(-44deg);
    opacity: 1;
}

/* Bild */
.kontakt-exposee-inc-body figure {
    margin: 0 1em 0 0;
    float: left;
    height: 144px;
    align-content: center;
    background-color: #ccc;
    text-align: center;
    width: 192px;
}

.kontakt-exposee-inc-body article figure img {
    width: 192px;
    height: 144px;
    object-fit: cover;
    vertical-align: middle;
}

/* Kennzahlen + Beschreibung + Preis */
.kontakt-exposee-inc-body .ObjektData {
    font-weight: 700;
    line-height: 140%;
    max-height: 1.4em;
    max-width: 100%;
    overflow: hidden;
}

.kontakt-exposee-inc-body .wfl,
.kontakt-exposee-inc-body .zimmer,
.kontakt-exposee-inc-body .jahr {
    float: left;
    padding-right: 1em;
}

.kontakt-exposee-inc-body .datecreated {
    float: right;
    font-weight: 500;
    opacity: 0.5;
}

.kontakt-exposee-inc-body .Space {
    line-height: 49%;
}

.kontakt-exposee-inc-body article .Daten {
    line-height: 2em;
    padding: 0.5em 1em 0 0;
    position: relative;
}

.kontakt-exposee-inc-body article .Description {
    line-height: 138%;
    margin: 0;
    font-size: 121%;
    min-height: 60px;
    max-height: 2em;
    overflow: hidden;
    color: var(--immo-color-text-muted);
}

.kontakt-exposee-inc-body .Description strong {
    font-weight: 700;
}

.kontakt-exposee-inc-body .Ort {
    font-size: smaller;
}

.kontakt-exposee-inc-body .Preis {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--immo-color-preis-bg-overlay);
    padding-left: 1em;
    padding-right: 1em;
    font-weight: 600;
    font-size: 133%;
    z-index: 2;
}

@media (max-width: 640px) {
    .kontakt-exposee-inc-body figure,
    .kontakt-exposee-inc-body article figure img {
        width: 100%;
        max-width: 192px;
        height: auto;
        min-height: 120px;
    }
    .kontakt-exposee-inc-body .Rating {
        float: none;
        margin-top: 0;
        text-align: right;
        clear: right;
    }
}
