* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
div{
    /*border:1px solid black;*/
    /*                padding: 1em;*/
    position: relative;
}
div > div{
    float:left;
    width: 33%;
}
div#bilder div{
    width: 20%;
    padding: 0;
}
div#bilder{
    width:100%;
    float:left;
    div div img{
        padding: 0;
        width:100%;
    }
}
#container{
    position: relative;
    max-width: 900px;
    margin:0 auto;
    min-height: 100vh;
    div p{
        padding: 1em 0 0 1em;
    }
}
.textcenter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 120%;
    font-weight: bold;
    text-align: center;
}
.textbottom{
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    color: red;
    text-align: center;
    width:100%;
}
.header{
    position: relative;
    width:100%;
}
.header{
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.overlaybottom {
    position: absolute;
    left: 0;
    width: 100%;
    bottom:1em;
    text-align: center;
    color: #A1232B;
}
.footer{
    clear:left;
    width: 100%;
    text-align: center;

    div{
        padding: 1em;
        width: 100%;
        padding: 1em;
        color: white;
        background-color: #a1232b;
        a{
            color:white;
        }
    }
    h3{
        font-size: 110%;
    }
    button{
        padding: 1em;
        border-radius: 1em;
    }
}
.menu {
    position: absolute;
    padding-left: 1em;
    width: 100%;
    top:2em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Abstand zwischen den Elementen */
    color:white;
    background-color: #77181863;
    z-index: 10;
}
.menu img{
    width: 50px;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.menu li {
    position: relative;
    width: 7em;
    background-color: #561515c7;
}
.menu li li{
    width: 11em;
}

.menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
}

.menu li:hover ul {
    display: block;
}

.menu li a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: white;
}

li a:hover {
    background-color: #A1232B;
}


ul {
    padding: 0;
    margin: 1em 2vw;
    width: 100%;
}
div #weshalb  {
    width:100%;
    background-color: #A1232B;
    padding: 2em;

    li{
        width: 100%;
        color: #fff;
        /*background-color: #A1232B;*/
    }

    li:first-line{
        font-size: 140%;
    }
}
div #anruf{
    width:100%;
    padding: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 140%;
}
div > div > p:first-line{
    font-size: 120%;
}
details{
    padding: 1em;
}
@media (max-width: 700px) {
    div > div{
        float:none;
        width: 100%;
    }
}


/*
*{
    margin:0;
    padding: 0;
    font-size:1.2rem;
    box-sizing: border-box;
}

h1 {
    font-size: clamp(0.5em, 2vw, 3em);
}
h2 {
    font-size: clamp(0.5em, 1.5vw, 3em);
}
h3 {
    font-size: clamp(0.5em, 1.2vw, 3em);
}
   div{
       border:2px solid black;
       padding: 4px;
   }

.container {
    width: 60%;
    margin:0 auto;
    position: relative;
    overflow: hidden;  Verhindert das Überlaufen des Bildes 
}
.container img{
    width: 100%;
    display:block;
    height: auto;
}

.header{
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.overlaybottom {
    position: absolute;
    left: 0;
    width: 100%;
    bottom:1em;
    text-align: center;
    color: #A1232B;
}


.additional-text {
    position: relative;
    bottom: 5%;
    left: 5%;
    color: white;
}
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-item-left {
    flex: 50%;
}

.flex-item-right {
    flex: 50%;
}
.center{
    min-height: 10dvh;
}
.menu {
    position: absolute;
    padding-left: 1em;
    width: 100%;
    top:2em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;  Abstand zwischen den Elementen 
    color:white;
    background-color: #77181863;
}
.menu img{
    width: 50px;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.menu li {
    position: relative;
    width: 7em;
    background-color: #561515c7;
}
.menu li li{
    width: 11em;
}

.menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
}

.menu li:hover ul {
    display: block;
}

.menu li a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: white;
}

li a:hover {
    background-color: #A1232B;
}
#kontakt{
    text-align: center;
}
button{
    padding: 1em;
    border-radius: 1em;
    background-color: lightgrey;
}
.footer{
    min-height: 10dvh;
    padding: 3em;
    color: white;
    background-color: #333333;
    clear: both;
}
.footer a:link{
    text-decoration: none;
}
.footer a{
    color: white;
}
.footer a:hover {
    background-color: lightgray;
}
pre {
    white-space: pre-wrap;
}

#links{
    width: 60%;
    min-height: 20vh;
    float:left;
    padding: 1em;
    div{
        width: 50%;
        float:left;
    }
    img{
        width: 30px;
    }
    p{
        padding: 1em;
        margin: 1em;
    }
}
#rechts{
    width: 40%;
    float: left;
    padding: 1em;
    img{
        width: 100%
    }
}
#mitg {
    clear: both;
    padding: 3em;
    img {
                float:left;
                width: 10vw;
        display: flex;
        flex: 1 0 5vw;
        margin:1em;
    }
}
.image-container {
    width: 100%;  Breite des sichtbaren Bereichs 
    height: 550px;  Höhe des sichtbaren Bereichs 
    overflow: hidden;  Versteckt den nicht sichtbaren Teil des Bildes 
    position: relative;
}
.image-container img {
    position: absolute;
    top: -120px;  Verschiebt das Bild nach oben 
}

#mietrecht:not(p::first-line)      {
    font-size: 120%;
    text-decoration: none;

    margin: 2em ;
    p {
        margin: 1em 5vw;
        font-size: 120%;
    }
}
#mietrecht{
    p{
        margin: 1em 5vw;
        font-size: 120%;
    }
    ul{

        padding: 0;
        margin: 1em 5vw;
        width: 100%;
    }
}

#mietrecht    li{
    margin:0.5em 5vw;
    float:none;
    position: relative;
    display: block;
    width: 100vw;
    background-color: #fff;
}


strong{
    font-size: 120%;
}
div #weshalb  {
    background-color: #A1232B;
    padding: 2em;

    li{
        color: #fff;
        background-color: #A1232B;
    }

    li:first-line{
        font-size: 140%;
    }
}

div #anruf{
    padding: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 140%;
}
details{
    margin:1em;
    summary{
        margin:0 3vw 0 0;
    }
}
#mitg {
    clear: both;
    padding: 3em;
    img {
                            float:left;
                            width: 10vw;
        display: flex;
        flex:1 1 200px;
        margin:1em;
        width: 100px;
    }
}
.row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

div.row > div {
    flex:1;
    padding: 10px;
}
@media (min-width: 768px) {
    .row {
        flex-direction: row;
    }
}
*/
