﻿#FewoflowSearchBar {
    display: flex;
    justify-content: center;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #999999; /* Darker background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.stagesearch-inner {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between elements */
    width: 100%;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

    .stagesearch-inner div {
        display: flex;
        align-items: center;
        flex: 1; /* Make fields stretch evenly across the row */
    }

.selectpicker,
.date,
.chkbox {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background-color: #ffffff; /* White background for contrast */
    width: 100%; /* Allow fields to take full width within their flex container */
    box-sizing: border-box;
}

.selectpicker {
    min-width: 150px;
}

.date {
    min-width: 120px;
}

.stagesearchstart {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid #ccc; /* Border around the button */
    border-radius: 5px;
    transition: background-color 0.3s;
    flex-shrink: 0; /* Prevent button from shrinking */
    min-width: 100px; /* Set a minimum width for consistency */
}

    .stagesearchstart:hover {
        background-color: #0056b3;
    }

.filterbutton {
    display: flex;
    justify-content: center;
}

.filterhaustier {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ffffff; /* White background box for Haustier */
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .filterhaustier label {
        font-size: 14px;
        cursor: pointer;
    }

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .stagesearch-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .selectpicker,
    .date,
    .chkbox,
    .stagesearchstart {
        width: 100%; /* Full width for each element in stacked view */
    }

    #FewoflowSearchBar {
        padding: 15px;
    }
}

/* Container für die Suchergebnisse */
#divSuchergebnisse {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
}

.suchergebnis-resultat-counter {
    font-size: 1rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 1rem;
}

.divObjektListe-details {
    width: 100%;
}

.objektliste {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Einzelne Objekt-Box */
.objektliste-item {
    box-sizing: border-box;
    border: 1px solid #ddd;
    margin: 0.5rem;
    width: 30%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.objektliste-item:hover {
    transform: scale(1.02);
}

.wohnungsbild {
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    position: relative;
}

.objektliste-links {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
    margin-top: 0.5rem;
    padding: 0.5rem;
    text-decoration: none;
}

.objektliste-links a {
    color: #007bff;
    text-decoration: none;
}

.objektliste-beschreibung {
    font-size: 1rem;
    color: #666;
    padding: 0.5rem;
}

.objektliste-infos {
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.objekteliste-merkmale {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.objekteliste-merkmale li {
    margin-right: 1rem;
    font-size: 0.9rem;
    color: #333;
}

.objekteliste-merkmale li span {
    font-weight: bold;
}

.objektliste-preis {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    text-align: right;
}

.einleitungstext
{
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}
/* Responsive Anpassungen */
@media (max-width: 768px) {
    .objektliste-item {
        width: 48%;
    }
}

@media (max-width: 480px) {
    .objektliste-item {
        width: 100%;
    }
}
