
.überschrift_cont {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Abstand zwischen Linie und Text */
}

.line {
  flex: 1; /* Linie dehnt sich aus */
  height: 2px; /* Dicke der Linie */
  background-color: #388a9c90; /* Farbe der Linie */
}

.text {
  font-size: 2em; /* Schriftgröße */
  text-align: center; /* Text zentrieren */
  line-height: 1.4; /* Zeilenhöhe */
  word-wrap: break-word; /* Erlaubt den Zeilenumbruch */
  overflow-wrap: anywhere; /* Bricht überall um */
  white-space: normal; /* Normale Zeilenumbrüche */
  max-width: 100%; /* Text passt sich der Breite an */
}


.dienstleistungen {
    display: flex;
    justify-content: space-evenly;
    margin: 20px 0px;
    width: 100%;
    height: auto;
}

.dienstleistung_typ,
.objektart_elt {
    display: flex;
    flex-direction: column;
    width: 30%;
    height:auto;
    align-items: center;
    padding: 16px;
    border-radius: 30px;
}

.dienstleistung_typ .hacken_liste {
    width: 100%;
    overflow-wrap: anywhere;
}
.img_wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    border: 1px solid #ccc;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    aspect-ratio: 1/1;
    position: relative;
}

.beratung_img,
.planung_img {
    width: 131vh;
    height: 131vh;
    position: relative;
    object-fit: cover;
    object-position: center 35%;
    top: 0;
    border-radius: 30px;
}

.ausführung_img {
    width: 131vh;
    height: 131vh;
    position: relative;
    object-fit: cover;
    object-position: center 10%;
    top: 0;
    border-radius: 30px;
}

.dienstleistung_typ .img_wrapper img,
.objektart_elt .img_wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.hacken_liste {
    list-style-type: none; /* Entfernt die Standard-Bullets */
    padding: 0; /* Entfernt die Standard-Padding der Liste */
    font-size: 1.3rem;
    padding-left: 0px;
}

/* Stile für die einzelnen Listenelemente */
.hacken_liste li {
    position: relative; /* Ermöglicht das Positionieren der benutzerdefinierten Häkchen */
    padding-left: 25px; /* Platz für das benutzerdefinierte Häkchen */
    margin-bottom: 10px; /* Abstand zwischen den Listenelementen */
    color: #388a9c;
}

/* Stile für das benutzerdefinierte Häkchen */
.hacken_liste li::before {
    content: '\2714'; /* Unicode für das Häkchen-Symbol */
    font-size: 20px; /* Größe des Häkchens */
    color: #388a9c; /* Farbe des Häkchens */
    position: absolute; /* Positionierung des Häkchens */
    left: 0; /* Position des Häkchens links */
}

h1 {
    color: #388a9c;
    text-transform: uppercase;
}

@media (max-width:576px) {
    .dienstleistungen {
        flex-direction: column;
    }
    .dienstleistung_typ{
    width: 100%;
    }
}
.objektart h1 {
    color: white;
    text-transform: uppercase;
}

.objektart {
    display: flex;
    flex-direction: column;
    background-color: #388a9c90;
}

.objektart_elt_cont {
    display: flex;
    justify-content: space-evenly;
    margin: 20px 0px;
    width: 100%;
    height: auto;
}

.objektart_elt .img_wrapper {
    margin-top: auto;
}

.objektart_elt .img_wrapper .neubau_img {
    object-fit: cover;
    object-position: center 35%;
}

.objektart_elt .img_wrapper .umbau_img {
    object-fit: cover;
    object-position: center 65%;
}

.objektart_elt .img_wrapper .sanierung_img {
    object-fit: cover;
    object-position: center 50%;
}

.obj_lst {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 20px;
    width: 100%;
    padding: 10px 2.5% 30px;
}

.list_neu_um_cont,
.list_sani_cont {
    display: contents;
}

.obj_lst > div > div {
    padding: 16px 20px;
    border: 1px solid #ffffff50;
    border-radius: 20px;
    background: #ffffff14;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.obj_lst h2 {
    margin: 0 0 12px;
    color: white;
    text-align: center;
}

.hacken_liste_white_small {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

.hacken_liste_white_small li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
    color: white;
    line-height: 1.4;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.hacken_liste_white_small li::before {
    content: '\2714';
    flex: 0 0 auto;
    font-size: 15px;
    color: #1f5f6d;
    transition: color .2s ease, transform .2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .obj_lst > div > div:hover {
        transform: translateY(-4px);
        background: #ffffff24;
        box-shadow: 0 10px 24px #082f4926;
    }

    .hacken_liste_white_small li:hover {
        font-weight: bold;
    }

    .hacken_liste_white_small li:hover::before {
        color: #4fc3ff;
        transform: scale(1.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .obj_lst > div > div,
    .hacken_liste_white_small li,
    .hacken_liste_white_small li::before {
        transition: none;
    }

    .obj_lst > div > div:hover,
    .hacken_liste_white_small li:hover::before {
        transform: none;
    }
}

@media (max-width:576px) {
    .dienstleistungen {
        padding: 10px;
    }
    .objektart_elt_cont {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px;
    }
    .objektart_elt {
        width: 100%;
    }
}