.elementor-237 .elementor-element.elementor-element-31ce369{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-237 .elementor-element.elementor-element-31ce369:not(.elementor-motion-effects-element-type-background), .elementor-237 .elementor-element.elementor-element-31ce369 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://maklerhaus-mannheim.com/wp-content/uploads/2026/02/immo-hero.webp");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-237 .elementor-element.elementor-element-cad19e1{--spacer-size:587px;}.elementor-237 .elementor-element.elementor-element-991a9ca{--display:flex;--margin-top:-90px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-237 .elementor-element.elementor-element-32c262d{--display:flex;}.elementor-237 .elementor-element.elementor-element-686b62e{--spacer-size:50px;}/* Start custom CSS *//* --- 1. DAS LAYOUT DIE LEISTE (Alles nebeneinander) --- */
.oo-searchformfieldwrap {
    display: flex;
    flex-wrap: wrap;
    background-color: #ffffff;
    padding: 20px 30px;
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.08); /* Sanfter Schatten */
    align-items: flex-end; /* Zieht alle Felder unten auf eine Linie */
    gap: 20px;
}

/* Jedes Feld nimmt denselben Platz ein */
.oo-searchformfield {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
}


/* --- 2. DER TRICK: VON/BIS KÄSTEN REPARIEREN --- */
/* Versteckt den Rahmen (Fieldset) um die Von/Bis Felder */
.oo-searchformfield fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Versteckt das komplette "Bis"-Feld (das 2. Element im Kasten) */
.oo-searchformfield fieldset label:nth-of-type(2) {
    display: none !important;
}

/* Passt das verbleibende "Von"-Feld an */
.oo-searchformfield fieldset label:nth-of-type(1) {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 0; /* Versteckt das störende Wort "VON:" */
}

/* Bringt die Schriftgröße im Eingabefeld wieder zurück */
.oo-searchformfield fieldset label:nth-of-type(1) input {
    font-size: 15px; 
}


/* --- 3. DAS DESIGN DER TEXTE & EINGABEFELDER --- */
/* Die goldenen Überschriften (Ort, Objektart etc.) */
.oo-searchformfield label,
.oo-searchformfield legend {
    font-size: 11px !important;
    text-transform: uppercase;
    color: #b69b5e; /* Euer Goldton */
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* Die Unterstriche statt Kästen für Eingabefelder */
.oo-searchformfield select,
.oo-searchformfield input[type="text"],
.oo-searchformfield input[type="number"] {
    width: 100%;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 10px 0px;
    background: transparent;
    font-size: 15px;
    color: #333333;
    outline: none;
    border-radius: 0;
}


/* --- 4. DER GOLDENE BUTTON (Treffer anzeigen / Suchen) --- */
.oo-searchformfield input[type="submit"],
.oo-searchformfield button {
    background-color: #b69b5e !important;
    color: #ffffff !important;
    border: none;
    padding: 14px 25px;
    font-family: "Figtree";
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    white-space: normal; /* Verhindert, dass der Text im Button abgeschnitten wird */
}

.oo-searchformfield input[type="submit"]:hover,
.oo-searchformfield button:hover {
    background-color: #9a824e !important; /* Etwas dunkler beim Drüberfahren */
}

/* Versteckt den drehenden Lade-Kreis von onOffice */
.oo-searchformfield svg#spinner {
    display: none !important;
}


/* --- 1. SCHRIFTART CORMORANT & FIGTREE LADEN --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,600;0,700;1,400&family=Figtree:wght@400;500;600;700&display=swap');

/* --- 2. CORMORANT AUF TITEL & SEITENZAHLEN ANWENDEN, FIGTREE AUF PREISE --- */
.oo-card-title,
.oo-card-title a,
.oo-listheadline p,
.oo-listpagination {
    font-family: 'Cormorant', serif !important;
}

.oo-price {
    font-family: 'Figtree', sans-serif !important;
    font-weight: 500!important;
}

/* Optional: Den Titel etwas edler machen */
.oo-card-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- 3. DIE SEITENZAHLEN (PAGINATION) STYLEN --- */
.oo-listpagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Das Grund-Design der Kästchen */
.oo-listpagination a.page-numbers,
.oo-listpagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #eaeaea;
    background-color: transparent;
    color: #1a1a1a;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0; /* Eckig halten für den edlen Look */
}

/* Der Hover-Effekt (wenn man mit der Maus drüberfährt) */
.oo-listpagination a.page-numbers:hover {
    background-color: #1a1a1a; /* Schwarz */
    color: #ffffff;
    border-color: #1a1a1a;
}

/* Die aktuell ausgewählte Seite (in Gold hervorheben) */
.oo-listpagination span.current {
    background-color: #C6A972; /* Euer Goldton */
    color: #ffffff;
    border-color: #C6A972;
    font-weight: bold;
}

/* Punkte und "Weiter"-Pfeile anpassen */
.oo-listpagination .dots {
    border: none;
    width: auto;
}

/* --- 1. DIE TOP-BAR (Anzahl links, Sortierung rechts) --- */
/* Da onOffice das in zwei getrennte Boxen packt, nutzen wir einen Trick, um sie nebeneinander zu zwingen */
.oo-listheadline, 
.oo-estate-sort {
    display: inline-block;
    width: 49%;
    vertical-align: middle;
    margin-bottom: 30px;
}

/* Die Anzahl der Objekte (Links) */
.oo-listheadline p {
    margin: 0;
    font-size: 14px;
    color: #555555;
    font-family: 'Cormorant', serif; /* Optional: Hier kannst du auch sans-serif nutzen, falls gewünscht */
    font-style: italic;
}

/* --- 2. DAS SORTIER-DROPDOWN STYLEN (Rechts) --- */
.oo-estate-sort {
    text-align: right;
}

/* Das Wort "Sortieren nach:" */
.oo-estate-sort label {
    font-size: 12px;
    text-transform: uppercase;
    color: #b69b5e; /* Euer Goldton */
    letter-spacing: 1px;
    margin-right: 10px;
    font-weight: 600;
}

/* Das Auswahlfeld (Dropdown) an sich */
.oo-estate-sort select {
    background-color: transparent;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important; /* Nur eine feine Linie unten */
    padding: 5px 30px 5px 0; /* Platz für den Pfeil machen */
    font-size: 15px;
    color: #1a1a1a;
    font-family: 'Cormorant', serif;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none; /* Versteckt den Standard-Pfeil des Browsers */
    -moz-appearance: none;
    appearance: none;
    
    /* Baut einen eigenen, feinen Pfeil ein */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231a1a1a%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 10px auto;
}


.oo-post-nav-links a {
    color: black;
}
/* Wenn man reinklickt, wird die Linie unten kurz gold */
.oo-estate-sort select:focus {
    border-bottom: 1px solid #b69b5e !important;
}

.ts-control {
    border: none;
    padding: 0px;
}

/* --- 2. DER TRICK: VON/BIS KÄSTEN REPARIEREN --- */
.oo-searchformfield fieldset.oo-searchrange {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Versteckt das "Bis"-Feld komplett */
.oo-searchformfield fieldset.oo-searchrange label:nth-of-type(2) {
    display: none !important;
}

/* Versteckt das störende "Von: " durch Schriftgröße 0 */
.oo-searchformfield fieldset.oo-searchrange label:nth-of-type(1) {
    font-size: 0 !important; /* Macht den Text "Von: " unsichtbar */
    margin: 0 !important;
    display: block;
    width: 100%;
}

/* Bringt die Schriftgröße im Eingabefeld wieder zurück! */
.oo-searchformfield fieldset.oo-searchrange label:nth-of-type(1) input {
    font-size: 15px !important; 
}

/* --- TIPPFEHLER FIXEN ("Wohnflaeche ab" -> "WOHNFLÄCHE AB") --- */
.oo-searchformfield fieldset.oo-searchrange legend {
    font-size: 0 !important; /* Versteckt den hässlichen Original-Text komplett */
    margin-bottom: 8px !important; 
    padding: 0 !important;
    display: block;
    width: 100%;
}

/* Hier schreiben wir unseren eigenen, sauberen Text rein! */
.oo-searchformfield fieldset.oo-searchrange legend::after {
    content: "WOHNFLÄCHE AB"; /* Hier kannst du den Titel jederzeit anpassen */
    font-size: 11px;
    text-transform: uppercase;
    color: #b69b5e; /* Gold */
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
    display: block;
}/* End custom CSS */