:root { 
    --main-yellow: #ffcc00; 
    --bg-dark: #1a1a1a; 
    --card-bg: #2c2c2c; 
    --error-red: #ff4444; 
    --line-pink: #95276E; 
}

body { font-family: 'Segoe UI', sans-serif; background: var(--bg-dark); color: #f4f4f4; margin: 0; }

/* Navigation */
nav { background: #000; padding: 0 1rem; height: 60px; display: flex; justify-content: center; align-items: center; gap: 20px; position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--main-yellow); }

nav a { color: white; text-decoration: none; font-weight: bold; transition: all 0.3s; display: flex; align-items: center; height: 40px; padding: 0 15px; }

nav a.active { background: var(--main-yellow); color: #000; border-radius: 4px; }

nav a:hover:not(.active) { color: var(--main-yellow); }

.container { max-width: 1000px; margin: 2rem auto; padding: 0 20px; }

/* Hero & Text */
.hero { text-align: center; padding: 3rem 0; }
.hero h1 { color: #888; font-size: 2.5rem; margin-bottom: 1rem; }

/* Open Beta Box */
.beta-link { text-decoration: none; display: block; margin-bottom: 3rem; transition: transform 0.3s ease; }
.beta-link:hover { transform: scale(1.02); }
.beta-box { background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%); border-left: 5px solid var(--line-pink); border-right: 1px solid #444; border-top: 1px solid #444; border-bottom: 1px solid #444; padding: 25px; border-radius: 12px; display: flex; align-items: center; gap: 20p0x; transition: border-color 0.3s, background 0.3s; }
.beta-link:hover .beta-box { border-color: var(--main-yellow); background: #333; }
.beta-icon { font-size: 3rem; color: var(--line-pink); }
.beta-content { text-align: left; }
.beta-content h3 { margin: 0 0 10px 0; color: var(--main-yellow); font-size: 1.4rem; }
.beta-content p { margin: 0; line-height: 1.5; color: #ccc; }

.beta-badge { background: var(--line-pink); color: white; padding: 2px 8px; border-radius: 4px; font-weight: bold; font-size: 0.8rem; margin-left: 10px; vertical-align: middle; animation: pulse-pink 2s infinite; }

@keyframes pulse-pink {
    0% { box-shadow: 0 0 0 0 rgba(149, 39, 110, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(149, 39, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(149, 39, 110, 0); }
}

/* Video Sektion */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin: 2rem 0; }
.video-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; border: 1px solid #444; transition: transform 0.3s ease; }
.video-card:hover { transform: translateY(-5px); border-color: var(--main-yellow); }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: none; display: block; }
.video-info { padding: 15px; text-align: center; }
.video-title { color: var(--main-yellow); font-weight: bold; font-size: 1.1rem; margin-bottom: 5px; display: block; }
.video-subtitle { color: #aaa; font-size: 0.85rem; text-transform: uppercase; }

/* Linien Auflistung */
.line-section { text-align: left; background: var(--card-bg); padding: 25px; border-radius: 15px; border: 1px solid #444; margin: 2rem 0; }
.line-section h2 { color: var(--main-yellow); margin-top: 1.5rem; border-bottom: 1px solid #444; padding-bottom: 10px; }
.line-section h2:first-child { margin-top: 0; }
.line-list { list-style: none; padding: 0; }
.line-item { display: flex; align-items: flex-start; margin-bottom: 12px; padding: 10px; border-bottom: 1px solid #3d3d3d; }
.line-number { background: var(--line-pink); color: #ffffff; font-weight: bold; padding: 2px 8px; border-radius: 4px; min-width: 45px; text-align: center; margin-right: 15px; }
.line-route { font-size: 0.95rem; line-height: 1.4; }

/* Support & Map */
.support-notice { background: rgba(255, 68, 68, 0.1); border: 1px solid var(--error-red); padding: 20px; border-radius: 10px; margin-bottom: 2rem; display: flex; align-items: center; gap: 15px; text-align: left; }
.support-notice i { color: var(--error-red); font-size: 1.5rem; }
.support-notice p { margin: 0; font-size: 0.9rem; color: #ffbaba; }

.map-section { background: var(--card-bg); padding: 20px; border-radius: 15px; text-align: center; border: 1px solid #444; margin-bottom: 2rem; }
.map-section img { max-width: 100%; border-radius: 5px; margin-top: 15px; }

/* Download Box */
.download-box { background: #333; padding: 30px; border-radius: 15px; text-align: center; border: 1px solid #555; }
.btn { background: var(--main-yellow); color: black; padding: 15px 30px; text-decoration: none; font-weight: bold; border-radius: 5px; display: inline-block; transition: transform 0.2s; }
.btn:hover { transform: scale(1.05); }
.btn-ext { background: #4a4a4a; color: white; padding: 15px 30px;  text-decoration: none;  font-weight: bold;  border-radius: 5px;  display: inline-block;  transition: all 0.2s ease; border: 1px solid #666; }
.btn-ext:hover { transform: scale(1.05); background: #666666; border-color: #888; color: white; }

/* Footer */
footer { background: #000; padding: 3rem; text-align: center; margin-top: 4rem; border-top: 2px solid var(--main-yellow); }
.social-links { display: flex; justify-content: center; gap: 40px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.social-links a { color: var(--main-yellow); font-size: 2.2rem; transition: transform 0.3s ease, color 0.3s ease; text-decoration: none; }
.social-links a:hover { transform: scale(1.2); color: #fff; }
footer p { font-size: 0.85rem; color: #666; margin-top: 1rem; }

/* Sektions-Überschriften */
.section-title { border-bottom: 2px solid var(--line-pink); padding-bottom: 10px; margin: 40px 0 20px; color: var(--main-yellow); }

/* Projekt Karte */
.project-item { background: var(--card-bg); border-radius: 15px; border: 1px solid #444; margin-bottom: 30px; overflow: hidden; display: flex; flex-direction: column; }
.project-header { padding: 20px; background: rgba(0,0,0,0.3); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.project-body { padding: 20px; }

/* Media Bereich (Bilder & Video) */
.media-box { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
@media (max-width: 768px) { .media-box { grid-template-columns: 1fr; } }

/* Badges & Info */
.info-badge { background: #444; padding: 4px 10px; border-radius: 5px; font-size: 0.85rem; color: #ddd; }
.req-badge { border: 1px solid var(--line-pink); color: var(--line-pink); }

/* Container für die neue Galerie-Logik */
.gallery-container { position: relative; width: 100%; background: #000;border-radius: 8px; overflow: hidden; border: 1px solid #444;}
.gallery-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;}

/* Pfeile Design */
.arrow { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0,0,0,0.6); color: var(--main-yellow); border: none; padding: 15px 10px; cursor: pointer; font-size: 20px; z-index: 5;transition: 0.3s;}
.arrow:hover { background-color: var(--main-yellow); color: #000; }
.left-arrow { left: 0; border-radius: 0 5px 5px 0; }
.right-arrow { right: 0; border-radius: 5px 0 0 5px; }

/* Bildzähler Styling */
.image-counter { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.7); color: white;  padding: 3px 8px; border-radius: 4px; font-size: 12px; pointer-events: none; }