body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #cfe8cf;
}


.header {
    background-image: url("https://www.wildganz.com/images/deutschland/geo/bundesland/saarland/heimat/saarschleife/saarschleife.jpg"); 
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 5px black;
}

.navbar {
    background-color: #2f5d34;
    padding: 15px;
    text-align: center;
}

.navbar a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    text-decoration: underline;
}

.willkommen {
    padding: 40px;
    gap: 40px;
    max-width: 1500px; 
}

.willkommen p {
    line-height: 1.9;
}

.container img {
    width: 300px;
    border-radius: 10px;
}

.section {
    padding: 40px 40px 40px;
    max-width: 900px;
    margin-left: 0px;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
}

footer {
    background-color: #3d7a42;
    color: white;
    padding: 20px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

footer a {
    color: white;
    text-decoration:none;
    margin-right: 15px;
}

.stempel {
    width: 100px;
    border-radius: 50%;
    border: 3px solid white;
}
form {
    background-color: #e8f3e8;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
}

input {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    background-color: #2f5d34;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #3d7a42;
}

.gastgeber-bild {
    width: 180px;
    margin-top: 20px;
    border-radius: 0px;
    border: 6px solid white;
    margin-left: 0px;
}

.impressum {
    max-width: 900px;
    padding: 60px 40px;
    line-height: 1.8;
}

#imageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 28, 28, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#overlayImage {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.gallery img {
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.logo-container {
    background-color: #cfe8cf;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    overflow: hidden;  
}

.logo {
    height: 130px;
    width: auto;
    display: block;
    margin-top: -20px;
    margin-bottom: -20px;

}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0 40px 0;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;   
    object-fit: cover;
    border-radius: 0;
    border:4px solid white;
}


@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

.gallery img {
    box-shadow: 0 6px 15px rgba(39, 39 , 39,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(39, 39, 39, 0.25);
}

.header-ausstattung {
    position: relative;
    background-image: url("https://s2.best-wallpaper.net/wallpaper/1920x1200/1303/Germany-scenery-Saarland-the-river-bend-mountains-sunset-orange-sky-clouds_1920x1200.jpg");
    background-size: cover;
    background-position: center;
    height: 250px;
}

.header-ausstattung::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
}

.header-umgebung {
    position: relative;
    background-image: url("https://s2.best-wallpaper.net/wallpaper/1920x1200/1303/Germany-scenery-Saarland-the-river-bend-mountains-sunset-orange-sky-clouds_1920x1200.jpg");
    background-size: cover;
    background-position: center;
    height: 250px;
}

.header-umgebung::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); 
}

.impressum-section {
    max-width: 900px;
    margin: 60px auto;
    line-height: 1.8;
}

.impressum-section h1 {
    font-weight: 800;
    font-size: 38px;
    margin-bottom: 25px;
}

.header-buchung {
    position: relative;
    background-image: url("https://www.maxheim-bestattungen.de/uploads/DbcfHGac/GettyImages-487097089_k.jpg");
    background-size: cover;
    background-position: center;
    height: 250px;
}

.header-buchung::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.preis-box {
    max-width: 700px;
    width: 100%;
    margin: 60px 0 0 60px;
    padding: 25px;
    background: #f7f7f7;
    border-radius: 0px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.preis-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
}

.preis-tabelle {
    width: 100%;
    border-collapse: collapse;
}

.preis-tabelle th {
    background-color: #2f5d34;
    color: white;
    padding: 12px;
}

.preis-tabelle td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.preis-tabelle tr:hover {
    background-color: #f0f5f0;
}

.buchung-box {
    max-width: 700px;
    width: 100%;
    margin: 40px 0 0 60px;
    padding: 25px;                
    background: #f7f7f7;          
    border-radius: 0px;          
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.preis-ueberschrift {
    margin: 40px 0 20px 60px; 
    font-size: 29px;
    font-weight: 780;
    text-decoration: underline;
}


.buchung-ueberschrift {
    margin: 40px 0 20px 60px;
    font-size: 29px;
    font-weight: 780;
    text-decoration: underline;
}

.header-kontakt {
    position: relative;
    background-image: url("https://www.maxheim-bestattungen.de/uploads/DbcfHGac/GettyImages-487097089_k.jpg");
    background-size: cover;
    background-position: center;
    height: 250px;
}

.header-kontakt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.kontakt-ueberschrift,
.kontakt-info-ueberschrift {
    font-size: 29px;
    font-weight: 780;
    margin: 40px 0 20px 60px;
    margin-left: 40px;
    text-decoration: underline;
}


.kontakt-box,
.kontakt-info-box {
    max-width: 700px;
    width: 100%;
    margin: 0 0 60px 60px;
    padding: 25px;
    background: #cfe8cf;
    border-radius: 0px;
    margin-left: 10px;
}

.kontakt-box input,
.kontakt-box textarea,
.kontakt-box button {
    width: 100%;
    box-sizing: border-box;
}


.section h1 {
    font-size: 29px;     
    font-weight: 780;     
    margin: 40px 0 20px 60px;  
    margin-left: 0px;
}

.section h2 {
    font-size: 29px;
    font-weight: 780;
    margin: 40px 0 20px 60px;
    margin-left: 0px;
}



.lightbox-content {
    max-width: 80%;
    max-height: 80%;
}

.close, .prev, .next {
    position: absolute;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.close {
    top: 20px;
    right: 35px;
}

.prev {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

.next {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}


.map-container {
    width: calc(100% - 120px); 
    margin: 20px 40px 40px 40px; 
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 0px; 
}

.map-ueberschrift {
    font-size: 29px;      
    font-weight: 780;      
    margin: 20px 40px 40px 40px; 
    text-align: left;
}

.logo-container {
    position: sticky;
    top: 0;
    background: #cfe8cf;
    z-index: 9999;
}

.logo-container.hidden {
    display: none;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 10000; 
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    text-align: center;

}

.ausstattung-ueberschrift {
    text-decoration: underline;

}


.umgebung-ueberschrift {
    text-decoration: underline;
}
.beschreibung {
    line-height: 1.86;
}

.footer-links {
    display: flex;
    flex-direction: column; 
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
}