body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f3f6fb 0%, #cbeefd 100%);
    margin: 0;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #2176ae;
    letter-spacing: 2px;
    margin-bottom: 36px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.img-caption {
    margin-top: 6px;
    text-align: center;
    color: #2176ae;
    font-size: 0.96rem;
    opacity: 0.88;
    font-style: italic;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 170px;
}
.thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    /* height: 120px;   <--- DAS KOMPLETT LÖSCHEN oder AUSKOMMENTIEREN */
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(33,118,174,0.08);
    background: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}



.thumb img {
    width: 100%;
    height: 120px; /* <-- Feste Bildhöhe, aber Container wächst jetzt für die Caption */
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 14px 14px 0 0; /* Oben abgerundet, unten gerade für harmonischen Übergang zum Text */
}


.thumb:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 28px rgba(33,118,174,0.17);
    border: 2px solid #ffb366;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(33, 118, 174, 0.77);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    transition: background 0.25s;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 85vw;
    max-height: 85vh;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(33,118,174,0.22);
    border: 4px solid #fff;
    background: #fff;
}

.lightbox .close {
    position: absolute;
    top: 36px;
    right: 48px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 3px 14px #2176ae;
    z-index: 10;
    user-select: none;
    transition: color 0.2s;
    padding: 4px 14px;
    border-radius: 6px;
    background: rgba(33, 118, 174, 0.12);
    border: 2px solid #ffb366;
}

.lightbox .close:hover {
    color: #ffb366;
    background: #fff;
    border-color: #2176ae;
}

footer {
    margin-top: 40px;
    text-align: center;
    padding: 8px 0 6px 0;
    background: linear-gradient(90deg, #2176ae 0%, #43c7e7 100%);
    border-top: 2px solid #ffb366;
    color: #fff;
    font-size: 0.97rem;
    letter-spacing: 0.3px;
    width: 100vw;
    left: 0;
    position: relative;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(33,118,174,0.05) inset;
}

}

footer p {
    margin: 0;
    padding: 0;
}

footer a {
    color: #ffb366;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
    background: #ffb366;
    padding: 2px 6px;
    border-radius: 4px;
}


nav {
    width: 100%;
    text-align: center;
    margin-bottom: 35px;
    background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
    padding: 18px 0 12px 0;
    border-bottom: 2px solid #2176ae;
    box-shadow: 0 2px 8px rgba(33,118,174,0.04);
    letter-spacing: 1px;
}

nav a {
    color: #2176ae;
    margin: 0 18px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.12rem;
    transition: color 0.22s, background 0.17s, border-radius 0.17s;
    padding: 4px 10px;
    border-radius: 5px;
}

nav a:hover {
    color: #fff;
    background: #2176ae;
    border-radius: 9px;
}

.kontakt-info {
    max-width: 400px;
    margin: 40px auto 0 auto;
    padding: 34px 26px;
    background: #fff9f0;
    border-radius: 15px;
    box-shadow: 0 3px 18px rgba(33,118,174,0.06);
    text-align: center;
    font-size: 1.11rem;
    border: 2px solid #ffb366;
    color: #4b4b4b;
}

.kontakt-info strong {
    color: #2176ae;
}

.kontakt-info a {
    color: #ffb366;
    text-decoration: none;
    font-weight: bold;
}

.kontakt-info a:hover {
    text-decoration: underline;
    color: #2176ae;
}

