/* Logo */
.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo {
    display: flex;
    align-items: center;
}

/* Grunddesign */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0b0d;
    margin: 0;
}

/* Navigation / Header */
header {
    background: rgba(10, 11, 13, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid #00d4ff;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #00d4ff;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 0.95rem;
    transition: 0.3s;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    white-space: nowrap;
}

nav a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px #00d4ff;
}

/* Mobile: Umbruch + kleinere Schrift + zentrierte Links */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 1rem;
    }

    nav ul {
        justify-content: center;
        width: 100%;
        gap: 0.8rem;
        margin-top: 0.8rem;
    }

    nav a {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    @media (max-width: 480px) {
        nav a {
            font-size: 0.8rem;
            padding: 0.4rem 0.6rem;
        }
    }
}

/* Hero Sektion */
#hero {
    background: linear-gradient(rgba(10,11,13,0.85), rgba(10,11,13,0.85));
    padding: 150px 20px;
    text-align: center;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #fff;
}

#hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #aaa;
}

/* Buttons */
.btn {
    background: transparent;
    color: #00d4ff;
    padding: 12px 30px;
    text-decoration: none;
    border: 2px solid #00d4ff;
    border-radius: 0px;
    font-weight: bold;
    transition: 0.4s;
    text-transform: uppercase;
    display: inline-block;
}

.btn:hover {
    background: #00d4ff;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

/* Sections & Headings */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

h2 {
    font-size: 2rem;
    text-transform: uppercase;
    border-left: 4px solid #00d4ff;
    padding-left: 15px;
    margin-bottom: 40px;
    color: #fff;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CARD */
.card {
    background: #16181d;
    padding: 30px;
    border: 1px solid #2a2d35;
    transition: 0.3s;
}

.card:hover {
    border-color: #00d4ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card h3 {
    color: #00d4ff;
    margin-top: 0;
}

.card strong {
    color: #00d4ff;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Klickbare Karten */
.cards-lightbox .card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Modal / Lightbox */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 13, 0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    cursor: pointer;
}

.modal-overlay:target {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 90vh;
    padding: 25px 30px;
    text-align: center;
    overflow-y: auto;
    pointer-events: auto;
    cursor: default;
    background: #16181d;
    border: 1px solid #2a2d35;
}

.modal-content h4 {
    color: #00d4ff;
    margin: 0 0 20px 0;
    font-size: 1.6rem;
}

.modal-content img {
    max-width: 100%;
    max-height: 75vh;
    border: 1px solid #2a2d35;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 20px 0;
}

.gallery-images img {
    max-width: 48%;
    max-height: 55vh;
    object-fit: cover;
    border: 1px solid #2a2d35;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #00d4ff;
    font-size: 60px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
}

.modal-close:hover {
    color: #fff;
}

/* Footer */
footer {
    background: #050505;
    border-top: 1px solid #222;
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

footer a {
    color: #666;
    transition: 0.3s;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #00d4ff;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    #hero {
        padding: 100px 20px;
    }

    #hero h1 {
        font-size: 2.8rem;
    }

    .modal-content {
        padding: 20px 15px;
    }

    .modal-close {
        font-size: 50px;
        right: 20px;
        top: 15px;
    }

    .gallery-images img {
        max-width: 100%;
        max-height: 45vh;
    }
}