/* Grundlegende Zurücksetzung für ein sauberes Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Navigationsleiste */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #ffaa00; /* Leichter industrieller Touch */
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffaa00;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffaa00;
}

.login-btn {
    background-color: transparent;
    color: #ffaa00;
    border: 2px solid #ffaa00;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #ffaa00;
    color: #121212;
}

/* Header (Hero Section) */
.hero {
    position: relative;
    height: 70vh;
    /* Ersetze die URL mit dem Bild von eurem Server */
    background-image: url('images/hintergrund.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dunkler Filter, damit der Text lesbar ist */
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Info Bereich */
.info-section {
    padding: 80px 20px;
    text-align: center;
    min-height: 40vh; /* Sorgt dafür, dass der Button ganz unten bleibt, auch bei wenig Text */
}

.info-section h2 {
    color: #ffaa00;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.info-box {
    background-color: #1e1e1e;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Footer & Main CTA Button */
footer {
    text-align: center;
    padding: 60px 20px;
    background-color: #0a0a0a;
}

.cta-button {
    display: inline-block;
    background-color: #ffaa00;
    color: #121212;
    padding: 15px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e69900;
    transform: scale(1.05);
}

/* Login Modal (Popup) */
.modal {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid #444;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
}

.modal-content h2 {
    margin-bottom: 10px;
    color: #ffaa00;
}

.modal-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #ccc;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: #fff;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #ffaa00;
    color: #121212;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #e69900;
}

/* Galerie Vorschau Styling */
.gallery-preview {
    padding: 60px 20px;
    text-align: center;
    background-color: #161616;
}

.gallery-preview h2 {
    color: #ffaa00;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Macht es automatisch responsiv */
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 30px auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #333;
    aspect-ratio: 16 / 9; /* Alle Bilder gleich groß */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom-Effekt */
}

.gallery-link-btn {
    display: inline-block;
    color: #ffaa00;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border 0.3s;
}

.gallery-link-btn:hover {
    border-bottom: 2px solid #ffaa00;
}