/* Hintergrundfarbe der Seite */
body {
    background-color: #F5F5F5;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header-Bereich über 100% Breite, Content begrenzt auf max 1000px */
.header {
    width: 100%;
    height: 75px;
    background-color: #30a9e1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.header-logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.header-menu {
    display: flex;
    gap: 30px;
    max-width: 100%;
}

.header-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Burger-Menü für schmale Bildschirme */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

/* Burger-Menü Dropdown */
.burger-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 75px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.burger-dropdown.open {
    display: block;
}

.burger-dropdown a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
}

.burger-dropdown a:last-child {
    border-bottom: none;
}

/* Begrenzung der maximalen Breite des Inhalts */
.container-wrapper {
    max-width: 1000px;
    margin: 20px auto;
    padding: 10px;
}

/* Das Container-Layout für Sortierung, Filter und Anbieter */
.container {
    display: flex;
    gap: 20px; /* Abstand zwischen Sortierung/Filter und den Dienstleister-Boxen */
}

/* Anordnung von Sortierung und Filter in einer Spalte */

.filter-container {
    display: flex;
    flex-direction: column;
    width: 225px;
    margin-right: 30px; /* Hier wird der horizontale Abstand eingefügt */
}

.menu,
.sortierung {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin-bottom: 20px;
    align-self: flex-start;
}

.menu h3,
.sortierung h3 {
    margin-top: 0;
}

.price-filter {
    margin-top: 20px;
}

/* Dienstleister-Boxen */
.dienstleister-boxen {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Styling der Boxen */
.box {
    border: 1px solid #ccc;
    padding: 15px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* Button für das Menü auf kleinen Bildschirmen */
.filter-toggle {
    display: none;
    background-color: #ff5e5e; /* Rote Farbe, um dem X-Button zu entsprechen */
    color: white;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    z-index: 1000;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* Schließen-Button [x] für das Menü */
.close-menu {
    display: none;
}

/* Layout für schmale Bildschirme */
@media (max-width: 1100px) {
    .container {
        flex-direction: column;
    }

    .menu,
    .sortierung {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 65%;
        background-color: white;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        z-index: 999;
        padding-left: 10px;
        margin-right: 0;
        border-radius: 0;
        overflow-y: auto;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #ff5e5e;
        color: white;
        border: none;
        font-size: 20px;
        padding: 5px 10px;
        cursor: pointer;
        border-radius: 5px;
    }

    .menu.open,
    .sortierung.open {
        transform: translateX(0);
    }

    .filter-toggle {
        display: block;
        width: 95%;
        max-width: 500px;
        margin: 0 auto 20px;
    }

    .box {
        width: 93%;
        max-width: 500px;
        margin: 0 auto;
    }

    .dienstleister-boxen {
        flex-direction: column;
        margin-left: 0;
    }

    .header-menu {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .burger-dropdown {
        display: none;
        right: 0;
        border-radius: 0;
    }

    .burger-dropdown.open {
        display: block;
    }

    .price-filter label,
    #price-value {
        display: block;
    }
}

/* Breite Ansicht (3 Spalten) */
.content-wrapper {
    display: flex;
    flex-direction: row; /* Standard: 3 Spalten */
    gap: 20px;
}

.middle-column p,
.right-column p {
    margin: 0 0 5px 0;
}

/* Optionen im Menü */

  label {
    display: block;
    margin-bottom: 1px; /* Abstand zwischen den Zeilen */
  }

/* Schmale Ansicht (Inhalte untereinander) */
@media (max-width: 1100px) {
    .content-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .left-column,
    .middle-column,
    .right-column {
        padding-top: 0;
        padding-bottom: 0;
    }

    .middle-column p:last-child {
        margin-bottom: 0;
    }

    .right-column p:first-child {
        margin-top: 0;
    }

    .middle-column p,
    .right-column p {
        margin: 0 0 5px 0;
    }

    .middle-column,
    .right-column,
    .left-column {
        padding: 0 !important;
    }

    .middle-column p,
    .right-column p,
    .left-column p {
        margin: 0 !important;
    }

    .content-wrapper p {
        margin: 0 0 8px 0;
    }

    .box a.btn {
        margin-top: 10px;
    }

    .left-column img {
        width: 100% !important;
        max-width: 100%;
        max-height: 375px;
        padding-bottom: 10px;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }
    
 
}


.verzeichnis-content a {
    color: #30a9e1; 
    text-decoration: none; 
    margin:0px;
}

.verzeichnis-content a:hover {
    text-decoration: underline; /* Unterstreichung beim Hover-Effekt */
}

.verzeichnis-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Abstand zwischen den Elementen */
}

.verzeichnis-content {
    flex: 1 1 100%; /* Standard: eine Spalte */
}

/* Zwei Spalten bei Bildschirmen breiter als 500px */
@media (min-width: 501px) {
    .verzeichnis-content {
        flex: 1 1 48%; /* 2 Spalten */
    }
}

/* Drei Spalten bei Bildschirmen breiter als 900px */
@media (min-width: 901px) {
    .verzeichnis-content {
        flex: 1 1 30%; /* 3 Spalten */
    }
}


.footer {
    background-color: #f0f0f0; 
    /* font-size:14px; */
    color:#AAA;
    padding: 20px 0 5px 0;
    width: 100%; 
    text-align: center; 
    /* position: fixed; */ 
    bottom: 0;
    left: 0;
}

.footer-content a {
    color: #30a9e1; 
    text-decoration: none; 
    margin: 0 10px; 
}

.footer-content a:hover {
    text-decoration: underline; /* Unterstreichung beim Hover-Effekt */
}
