/* ============================================
   CSS VARIABLEN & GRUNDEINSTELLUNGEN
   ============================================ */

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-light: #1a1a2e;
    --primary: #e94560;
    --secondary: #533483;
    --accent: #f5c518;
    --gold: #d4a017;
    --text: #e8e8e8;
    --text-muted: #6c7293;
    --gradient-primary: linear-gradient(135deg, #e94560, #533483);
    --gradient-gold: linear-gradient(135deg, #f5c518, #e94560);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    --shadow-glow: 0 0 30px rgba(233, 69, 96, 0.3);
    --shadow-gold: 0 0 30px rgba(245, 197, 24, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* ============================================
   PASSWORT-SCREEN
   ============================================ */

#password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.password-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(233, 69, 96, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(83, 52, 131, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(245, 197, 24, 0.05) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.password-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 40px;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    max-width: 420px;
    width: 90%;
}

.password-icon {
    font-size: 48px;
    margin-bottom: 20px;
    animation: lockBounce 2s ease-in-out infinite;
}

@keyframes lockBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.password-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 6px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.password-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#password-input {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-body);
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

#password-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.2);
}

#password-btn {
    padding: 15px 20px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#password-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

#password-btn:active {
    transform: translateY(0);
}

.password-error {
    color: var(--primary);
    font-size: 0.85rem;
    margin-top: 15px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

/* ============================================
   NAVIGATION
   ============================================ */

#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    font-size: 1.5rem;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(233, 69, 96, 0.15);
}

.nav-link.active {
    color: var(--primary);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-burger span {
    width: 25px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   MODULE (Allgemein)
   ============================================ */

.module {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 20px 60px;
}

.module-inner {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Spruch-Wechsel Animation */
.section-subtitle.spruch-fade {
    opacity: 0;
    transform: translateY(-8px);
}

#fun-message {
    transition: opacity 0.4s ease, transform 0.4s ease;
    min-height: 1.6em;
}

/* ============================================
   MODUL: COUNTDOWN
   ============================================ */

.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 25px 20px 20px;
    min-width: 110px;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-muted);
    opacity: 0.3;
    padding-bottom: 20px;
}

.countdown-destination {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 50px;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Countdown fertig - Party! */
.countdown-finished .countdown-number {
    animation: partyPulse 0.5s ease-in-out infinite alternate;
}

@keyframes partyPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* ============================================
   MODUL: SLOT MACHINE
   ============================================ */

.slotmachine {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.slotmachine-frame {
    background: var(--bg-card);
    border: 2px solid rgba(245, 197, 24, 0.3);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow:
        0 0 40px rgba(245, 197, 24, 0.1),
        inset 0 0 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.slotmachine-frame::before {
    content: '🎰 ZEITREISE 🎰';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 8px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--accent);
    background: rgba(245, 197, 24, 0.1);
    border-bottom: 1px solid rgba(245, 197, 24, 0.2);
}

.reel-container {
    display: flex;
    gap: 10px;
    padding-top: 30px;
    justify-content: center;
}

.reel {
    width: 160px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reel-window {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.reel-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-light);
    position: relative;
    overflow: hidden;
}

.reel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-image.placeholder .placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
}

/* Demo-Platzhalter mit farbigem Hintergrund */
.reel-image.demo-placeholder {
    position: relative;
}

.reel-image.demo-placeholder .demo-year {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.reel-image.demo-placeholder .demo-caption {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
}

/* Spinning-Effekt */
.reel.spinning .reel-image {
    filter: blur(2px);
    transition: filter 0.1s;
}

.reel.stopping .reel-image {
    filter: blur(0);
    transition: filter 0.3s ease-out;
}

.reel.stopped .reel-image {
    filter: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reel.stopped .reel-image:hover {
    transform: scale(1.05);
}

.reel.stopped::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    animation: reelGlow 1s ease-out;
    pointer-events: none;
}

@keyframes reelGlow {
    0% { box-shadow: 0 0 20px rgba(245, 197, 24, 0.5); }
    100% { box-shadow: 0 0 5px rgba(245, 197, 24, 0.1); }
}

/* Spin-Button */
.spin-button {
    padding: 18px 60px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 4px;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(245, 197, 24, 0.3);
    position: relative;
    overflow: hidden;
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-gold);
}

.spin-button:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.spin-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.spin-button.spinning .spin-text {
    animation: spinPulse 0.3s ease-in-out infinite alternate;
}

@keyframes spinPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.spin-result {
    margin-top: 10px;
}

.spin-caption {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ============================================
   MODUL: TIMELINE
   ============================================ */

.module-full {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
}

.module-inner-wide {
    max-width: 1100px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        var(--primary) 0%,
        var(--secondary) 50%,
        var(--accent) 100%);
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-entry {
    position: relative;
    width: 50%;
    padding: 0 40px 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-entry.timeline-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-left {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.timeline-right {
    left: 50%;
    text-align: left;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    top: 10px;
    width: 44px;
    height: 44px;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-left .timeline-dot {
    right: -22px;
}

.timeline-right .timeline-dot {
    left: -22px;
}

.timeline-dot-year {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 25px;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    border-color: rgba(233, 69, 96, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.timeline-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.timeline-left .timeline-card-header {
    justify-content: flex-end;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    background: rgba(233, 69, 96, 0.15);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
}

.timeline-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Timeline Thumbnail-Grids */
.timeline-grid {
    display: grid;
    gap: 8px;
    border-radius: var(--radius);
    overflow: hidden;
}

.timeline-grid-1 {
    grid-template-columns: 1fr;
}

.timeline-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.timeline-grid-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.timeline-grid-3 .timeline-thumb:first-child {
    grid-row: 1 / 3;
}

.timeline-grid-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.timeline-thumb {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-thumb:hover {
    transform: scale(1.03);
    z-index: 2;
}

.timeline-thumb img,
.timeline-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-thumb-video-wrap {
    position: relative;
}

.timeline-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(233, 69, 96, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    pointer-events: none;
}

.timeline-show-all {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: rgba(233, 69, 96, 0.15);
    border: 1px solid rgba(233, 69, 96, 0.3);
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.timeline-show-all:hover {
    background: rgba(233, 69, 96, 0.3);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.timeline-thumb .demo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.demo-caption-small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.timeline-more {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--primary);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-media {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius);
    object-fit: contain;
}

.lightbox-caption {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.95rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(233, 69, 96, 0.6);
    border-color: var(--primary);
}

.lightbox-nav-disabled {
    opacity: 0.2;
    pointer-events: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
    letter-spacing: 2px;
}

/* ============================================
   GALERIE-OVERLAY
   ============================================ */

.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.98);
    z-index: 9000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: fadeIn 0.3s ease;
}

.gallery-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(10, 10, 15, 0.98);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-header-info {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.gallery-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gallery-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    line-height: 1;
    padding: 5px 10px;
}

.gallery-close-btn:hover {
    transform: scale(1.2);
    color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    padding: 20px 30px 40px;
}

.gallery-item {
    aspect-ratio: 4/3;
    min-height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-video {
    position: relative;
}

.gallery-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(233, 69, 96, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    pointer-events: none;
}

.gallery-item-error {
    background: var(--bg-card-light);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-error-icon {
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

#main-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-burger {
        display: flex;
    }

    .nav-burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-burger.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section-title {
        font-size: 2rem;
    }

    .countdown-item {
        min-width: 75px;
        padding: 18px 12px 15px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-separator {
        font-size: 2rem;
    }

    .reel-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .reel {
        width: calc(50% - 10px);
        max-width: 180px;
    }

    .reel-window {
        height: 160px;
    }

    .slotmachine-frame {
        padding: 20px 15px;
        width: 100%;
    }

    .spin-button {
        padding: 15px 45px;
        font-size: 1.5rem;
    }

    .module {
        padding: calc(var(--nav-height) + 20px) 15px 40px;
    }

    .password-title {
        font-size: 2.2rem;
    }

    .password-container {
        padding: 40px 25px;
    }

    /* Timeline Responsive */
    .timeline-line {
        left: 20px;
    }

    .timeline-entry {
        width: 100%;
        padding-left: 55px;
        padding-right: 15px;
    }

    .timeline-left,
    .timeline-right {
        left: 0;
        text-align: left;
        padding-left: 55px;
        padding-right: 15px;
    }

    .timeline-left .timeline-dot,
    .timeline-right .timeline-dot {
        left: -2px;
        right: auto;
    }

    .timeline-left .timeline-card-header {
        justify-content: flex-start;
    }

    .timeline-year {
        font-size: 1.8rem;
    }

    .timeline-card {
        padding: 18px;
    }

    /* Galerie Responsive */
    .gallery-header {
        padding: 15px 15px;
    }

    .gallery-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 6px;
        padding: 15px;
    }

    /* Lightbox Navigation Responsive */
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

}

@media (max-width: 480px) {
    .countdown-grid {
        gap: 6px;
    }

    .countdown-item {
        min-width: 65px;
        padding: 15px 8px 12px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
        padding: 0 2px;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .reel {
        width: calc(50% - 8px);
        max-width: 160px;
    }

    .reel-window {
        height: 140px;
    }
}

/* ============================================
   HILFSKLASSEN (fuer zukuenftige Module)
   ============================================ */

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Farbpalette fuer Demo-Platzhalter */
.demo-color-0 { background: linear-gradient(135deg, #e94560, #533483); }
.demo-color-1 { background: linear-gradient(135deg, #f5c518, #e94560); }
.demo-color-2 { background: linear-gradient(135deg, #533483, #0f3460); }
.demo-color-3 { background: linear-gradient(135deg, #0f3460, #16c79a); }
.demo-color-4 { background: linear-gradient(135deg, #16c79a, #f5c518); }
.demo-color-5 { background: linear-gradient(135deg, #e94560, #0f3460); }
.demo-color-6 { background: linear-gradient(135deg, #f5c518, #16c79a); }
.demo-color-7 { background: linear-gradient(135deg, #533483, #e94560); }
.demo-color-8 { background: linear-gradient(135deg, #0f3460, #e94560); }
.demo-color-9 { background: linear-gradient(135deg, #16c79a, #533483); }
