body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white; 
    color: #000000; 
    transition: all 0.3s ease-in-out; 
}

header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 0.3rem;
    padding-right: 0.5rem;
    padding-bottom: 0.3rem;
    padding-left: 0.5rem;
    background-color: #ffffff; 
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 1090px) {

.logo-container {
    display: flex; 
    align-items: center;
    justify-content: flex-start; 
    gap: 0.3rem; 
    transition: all 0.3s ease-in-out;
}

.logo-container img {
    max-height: 8rem;
    height: auto; 
    transition: max-height 0.3s ease;
}

.logo-text h1 {
    margin: 0; 
    font-size: 1.8rem; 
    font-weight: bold;
    text-align: left;
    transition: font-size 0.3s ease;
}

.logo-text p {
    margin: 0; 
    font-size: 0.7rem;
    line-height: 1.5; 
    color: #000000; 
    text-align: left; 
    transition: color 0.3s ease;
}

img {
    height: auto; 
    max-width: 100%; 
}

.container {
    max-width: 100%; 
    overflow: hidden; 
}
}

/* Hamburger-Menü */
@media screen and (max-width: 1090px) {
.menu-icon {
    position: absolute;
    top: 3.3rem; 
    right: 1.3rem; 
    width: 2.2rem; 
    height: 1.6rem; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 11;
    transition: all 0.3s ease;
}

.menu-icon span {
    width: 90%;
    height: 0.2rem; 
    top: 0;
    background-color: black;
    transition: transform 300ms, opacity 300ms;
}

/* Hamburger-Animation */
#menuCheckbox:checked ~ label.menu-icon span:nth-child(1) {
    transform: translateY(0.7rem) rotate(45deg); 
    background-color: #000; 
}

#menuCheckbox:checked ~ label.menu-icon span:nth-child(2) {
    opacity: 0; 
    transform: scale(0.8); 
}

#menuCheckbox:checked ~ label.menu-icon span:nth-child(3) {
    transform: translateY(-0.7rem) rotate(-45deg); 
    background-color: #000; 
}

#navRight {
        position: absolute;
        top: 18%; 
        right: 0%; 
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        gap: 2rem; 
        background-color: rgba(235, 235, 235, 0.6);
        opacity: 0;
        visibility: hidden; 
        z-index: 10; 
        padding: 1rem; 
        width: 100%; 
        height: 13rem; 
        transition: all 0.3s ease-in-out;
}

#menuCheckbox:checked ~ #navRight {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

#navRight a {
    font-size: 1.5rem;
    color: rgb(0, 0, 0);
    text-decoration: none;
    text-align: left;
    padding-top: 0.6rem; 
    padding-right: 0rem;   
    padding-bottom: 0.6rem;
    padding-left: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#navRight a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}
}

@media screen and (max-width: 1200px) {
    .beschreibung h2 {
        text-align: left;
        font-size: calc(1.5rem + 1vw);
        margin-top: 1.5rem;   
        margin-right: auto;   
        margin-bottom: 1.5rem; 
        margin-left: auto;
        margin-left: 2.5rem;
        color: #000000;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    .beschreibung p {
        max-width: calc(90% - 2rem);
        margin-top: 0;       
        margin-right: auto;  
        margin-bottom: 1rem;  
        margin-left: auto;
        text-align: left;
        color: #333333;
        font-size: calc(0.9rem + 0.3vw);
        line-height: 1.6;
        word-wrap: break-word;
        transition: all 0.3s ease;
    }

    ul { 
        text-align: left; 
        padding: 0; 
        margin: 0.8rem auto; 
        max-width: calc(90% - 2rem);
        line-height: 1.5; 
        font-size: calc(0.9rem + 0.3vw);
        transition: all 0.3s ease;
    }

    .beschreibung img {
        margin: 1.5rem 0;
        width: 100%; 
        height: auto; 
        transition: margin 0.3s ease;
    }
}

/* Galerie */
@media screen and (max-width: 1200px) {
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); 
    gap: 0.6rem; 
    padding: 0.5rem; 
    transition: all 0.3s ease;
}

.gallery img {
    width: 100%; 
    height: auto; 
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

.gallery img:hover {
    transform: scale(1.05); 
    opacity: 0.8; 
}

.gallery a .title {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: #000000; 
    font-size: 1rem; 
    font-weight: bold;
    text-align: center; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.gallery a:hover .title {
    opacity: 1; 
}
}

/* CONTACT*/
@media screen and (max-width: 765px) {
    .contact-bild {
        justify-items: center;
        height: auto;
        width: 100%;
        margin-top: 2rem;  
        margin-right: 0;   
        margin-bottom: 4rem; 
        margin-left: 0;     
    }

    .contact-intro {
        padding-bottom: 1rem;
        margin-top: 1rem;    
        margin-right: 0;     
        margin-bottom: 3rem; 
        margin-left: 0;      
        font-size: 1rem;
        text-align: center;
        color: #000000; 
        line-height: 1.6; 
        transition: all 0.3s ease;
    }

    .contact-leiste {
        display: flex;
        flex-direction: row; 
        justify-content: flex-start;
        gap: 3rem;
        padding: 0; 
        transition: all 0.3s ease;
    }

    .contact-leiste div {
        font-size: calc(0.9rem + 0.2vw); 
        line-height: 1.5; 
        flex: 1; 
        max-width: 70%; 
        transition: all 0.3s ease;
    }

    .contact-leiste div p {
        max-width: 100%; 
        margin: 0;
        text-align: left; 
        font-size: calc(0.9rem + 0.2vw);
        color: #333;
        line-height: 2;
        transition: all 0.3s ease;
    }

    .contact-leiste img {
        flex: 0 0 auto;
        max-width: calc(90px + 1vw); 
        height: auto; 
        margin-left: 2.5rem;
        transition: all 0.3s ease;
    }

    .footer {
        margin-top: 8rem; 
        transition: margin 0.3s ease;
    }
}


/* Footer */
@media screen and (max-width: 1100px) {
    .footer {
        text-align: center; 
        padding: 1rem; 
        background-color: #f1f1f1; 
        color: #000; 
        font-size: 1rem; 
        line-height: 1.6;
        transition: all 0.3s ease;
    }
}


