body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111;
    color: #eee;
}

/* ----- Grundlayout (Desktop + Mobile) ----- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 1.6em;
    font-weight: bold;
    color: #fff;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #eee;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap; /* verhindert Zeilenumbruch */
}

/* ----- Mobile View: Menü bleibt nebeneinander ----- */
@media (max-width: 650px) {

    header {
        flex-direction: column;
        gap: 8px;
    }

    nav {
        justify-content: center;
        gap: 12px;    /* enger zusammen */
        flex-wrap: wrap; /* bricht nur um, wenn WIRKLICH kein Platz mehr ist */
    }

    nav a {
        font-size: 0.95em;  /* etwas kleiner, für mehr Platz */
        padding: 5px 0;
    }
}


.hero {
    height: 80vh;
    background: url('barbershop.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 4em;
    margin: 0;
}

.btn {
    background: #c59d5f;
    color: #000;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 5px;
}

.section {
    padding: 50px 20px;
    text-align: center;
}

.section.dark {
    background: #222;
}

.service-list {
    list-style: none;
    padding: 0;
    font-size: 1.2em;
}

.team {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.member {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
}

footer {
    padding: 20px;
    background: #000;
    text-align: center;
    color: #777;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Lightbox Overlay */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 15px #000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

