.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.container > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cleanes-Ausehen {
  background-color: #A9A9A9; 
  color: white; 
  border: none; 
  border-radius: 5px; 
  padding: 8px 16px; 
  font-size: 14px;
  cursor: pointer;
}

.cleanes-Ausehen:hover {
  background-color: #888; 
}


input {
    padding: 10px;
    border-radius: 6px;
    border: 2px solid #444;
    background: #111;
    color: white;
}

input:invalid {
    border-color: #ff4d4d;
}

input:valid {
    border-color: #4CAF50;
}


a {
    color: white;
}

a {
  text-decoration: none;
}

a {
    color: white;
    text-decoration: none;
    position: relative;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;
    background: #FFF;

    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

a:visited {
    color: white;
}


.img2 {
    width: 10vw;
    height: 10vh;
    object-fit: contain;

    transition: transform 0.3s ease;
}

.img2:hover {
    transform: scale(1.1);
}

.text-ueber-bild {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    padding: 10px;

    /* Quelle: https://www.imarketinx.de/artikel/text-auf-bild-zentriert.html */
}

.text-ueber-bild-titel {
    position: absolute;
    top: 26%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    padding: 10px;

    /* Quelle: https://www.imarketinx.de/artikel/text-auf-bild-zentriert.html */
}

.text-ueber-bild2 {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    padding: 10px;
}

.text-ueber-bild3 {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    padding: 10px;

    /* Quelle: https://www.imarketinx.de/artikel/text-auf-bild-zentriert.html */
}

body {
    background: #0f0f0f;
    font-family: "Segoe UI", "Inter", system-ui, sans-serif;
    margin: 0;
    color: white;
    line-height: 1.6;
}
.fade-in {
    animation: fadeIn 10s ease-in;
}

.fade-in2 {
    animation: fadeIn 3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Quelle: https://elementor.com/blog/de/css-fade-in-uebergaenge-animationen-anleitung/ */

#menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#menu ul li {
    background: #111;
    padding: 14px 22px;
    border-radius: 8px;
    position: relative;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#menu ul li:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

#menu ul li ul {
    position: absolute;
    top: 100%;               left: 0;
    flex-direction: column;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 8px 0;
    min-width: 160px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;      z-index: 100;         }

#menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

#menu ul li ul li {
    padding: 10px 20px;
    background: transparent;
    border-radius: 0;
    white-space: nowrap;
}

#menu ul li ul li:hover {
    background: #333;
}

/* Quelle weitere Menu-Funktionen: https://stackoverflow.com/questions/tagged/css */