/* ---------------------------------------------------
   GLOBAL
--------------------------------------------------- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    color: #111;
}

h1, h2, h3, h4 {
    margin-top: 0;
}

/* ---------------------------------------------------
   HEADER / NAVIGATION
--------------------------------------------------- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    color: #d4af37;
    padding: 15px 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

#nav-menu {
    display: flex;
    gap: 20px;
}

#nav-menu a {
    color: #d4af37;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

#nav-menu a:hover,
#nav-menu a.active {
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    #nav-menu {
        display: none;
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 20px;
        border-left: 2px solid #d4af37;
    }

    #nav-menu.open {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* ---------------------------------------------------
   CONTAINER
--------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* ---------------------------------------------------
   GALERIE
--------------------------------------------------- */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.image-box {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
    text-align: center;
}

.image-box img {
    max-width: 100%;
    border-radius: 6px;
    transition: 0.2s;
    cursor: zoom-in;
}

.image-box img:hover {
    transform: scale(1.05);
}

/* ---------------------------------------------------
   LIGHTBOX
--------------------------------------------------- */
.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: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------------
   HERO SLIDER (Vollbild)
--------------------------------------------------- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 18s infinite;
}

/* Die ersten 5 Slides bekommen Delay */
.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 6s; }
.hero-slider .slide:nth-child(3) { animation-delay: 12s; }
.hero-slider .slide:nth-child(4) { animation-delay: 18s; }
.hero-slider .slide:nth-child(5) { animation-delay: 24s; }

@keyframes fade {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    30%  { opacity: 1; }
    40%  { opacity: 0; }
    100% { opacity: 0; }
}

/* ---------------------------------------------------
   ADMIN-BEREICH
--------------------------------------------------- */
.admin-container {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.admin-container input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.admin-container button {
    margin-top: 10px;
    padding: 8px 14px;
    border: none;
    background: #111;
    color: #d4af37;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.admin-container button:hover {
    background: #d4af37;
    color: #111;
}
