@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #07080a;
    --bg-secondary: #0d0e12;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-hover: rgba(255, 255, 255, 0.12);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-purple: #e30613; /* Original Red */
    --accent-magenta: #ff3b50; /* Vibrant bright red */
    --accent-cyan: #b5050f; /* Deep brand-like crimson/ruby red */
    --accent-blue: #7a0005; /* Deep burgundy/wine red */
    
    --grad-primary: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta));
    --grad-secondary: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    --glow-purple: 0 0 30px rgba(227, 6, 19, 0.25);
    --glow-cyan: 0 0 30px rgba(181, 5, 15, 0.2);
    
    /* Background and box glows mapped as variables to keep CSS clean */
    --bg-glow-primary: rgba(227, 6, 19, 0.12);
    --bg-glow-secondary: rgba(181, 5, 15, 0.08);
    --box-glow-primary: rgba(227, 6, 19, 0.2);
    --box-glow-secondary: rgba(181, 5, 15, 0.15);
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --nav-height: 80px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Selection */
::selection {
    background: var(--accent-purple);
    color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-sec {
    background: var(--grad-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-purple);
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--grad-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 4px 30px rgba(236, 72, 153, 0.4), var(--glow-purple);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Header Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background: rgba(8, 9, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    font-weight: 400;
    font-size: 1.25rem;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 0.5rem;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 2rem);
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--bg-glow-primary) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.hero-bg-glow-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--bg-glow-secondary) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--grad-primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
}

.hero-svg-wrapper {
    width: 100%;
    max-width: 450px;
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px var(--box-glow-primary);
}

.feature-icon-wrap.secondary {
    background: var(--grad-secondary);
    box-shadow: 0 4px 15px var(--box-glow-secondary);
}

.feature-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Info Section (Split) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.split-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.split-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-glass);
}

.split-visual-canvas {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, #171923, #090a0f);
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-visual svg {
    width: 60%;
    height: 60%;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-avatar-wrap {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    position: relative;
    background: #0f111a;
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(0,0,0,0) 80%);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.team-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.price-card.popular {
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.price-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--grad-primary);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price-header {
    margin-bottom: 2rem;
}

.price-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-details {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-list {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.price-item svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.membership-notice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 5rem;
}

/* Forms & Inputs */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.85rem 1.2rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.04);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-checkbox-label input {
    margin-top: 0.2rem;
    accent-color: var(--accent-purple);
}

.form-checkbox-label a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.form-checkbox-label a:hover {
    color: var(--text-primary);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
}

.info-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-text p, .info-text a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-text a:hover {
    color: var(--text-primary);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #050608;
    border-top: 1px solid var(--border-glass);
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    max-width: 250px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-social-icon:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
    background: var(--bg-glow-primary);
    transform: translateY(-2px);
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .membership-notice-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .burger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-glass);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-normal);
        z-index: 1050;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .burger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger.open span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   Gallery and Successes (Galerie & Erfolge) Sections
   ========================================================================== */

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.6rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--accent-magenta);
    color: var(--text-primary);
    background: var(--grad-primary);
    box-shadow: var(--glow-purple);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-glass);
    background: var(--bg-secondary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--box-glow-primary);
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 8, 10, 0.9) 0%, rgba(7, 8, 10, 0.4) 50%, rgba(7, 8, 10, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-magenta);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.gallery-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Timeline (Achievements) */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-blue), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-magenta);
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: var(--glow-purple), 0 0 10px var(--accent-magenta);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-year {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(227, 6, 19, 0.3));
}

.timeline-content {
    background: var(--grad-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
}

.timeline-content:hover {
    border-color: var(--border-glass-hover);
    box-shadow: var(--box-glow-primary);
    transform: translateY(-3px);
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
    color: var(--accent-magenta);
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    transform: scale(0.95);
    transition: transform 0.4s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
}

/* Responsive Timeline & Gallery */
@media (max-width: 768px) {
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 5rem;
        padding-right: 2rem;
    }
    
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 1.4rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
}

/* ==========================================================================
   Course Schedule (Stundenplan / Kursplan) Section
   ========================================================================== */

/* Schedule Weekday Tabs */
.schedule-tabs-container {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    scrollbar-width: thin;
}

.schedule-tabs-container::-webkit-scrollbar {
    height: 4px;
}

.schedule-tabs-container::-webkit-scrollbar-track {
    background: transparent;
}

.schedule-tabs-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.schedule-tabs {
    display: inline-flex;
    gap: 0.75rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 0.4rem;
    border-radius: 50px;
    white-space: nowrap;
}

.schedule-tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.schedule-tab-btn:hover {
    color: var(--text-primary);
}

.schedule-tab-btn.active {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
}

/* Schedule Split Columns (Rooms) */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.schedule-column-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--border-glass);
    padding-bottom: 0.75rem;
    position: relative;
}

.schedule-column-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--grad-primary);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 100px;
}

/* Course Card (Glassmorphic) */
.course-card {
    background: var(--grad-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
    box-shadow: var(--box-glow-primary);
}

.course-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-purple);
}

/* Color codes based on category */
.course-card.cat-kids::before { background: var(--accent-magenta); }
.course-card.cat-ballett::before { background: #06b6d4; }
.course-card.cat-contemporary::before { background: #a855f7; }
.course-card.cat-hiphop::before { background: #f59e0b; }
.course-card.cat-acro::before { background: #10b981; }
.course-card.cat-events::before { background: #ec4899; }

.course-time {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-time svg {
    color: var(--accent-cyan);
    opacity: 0.8;
}

.course-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.course-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.course-details {
    display: flex;
    flex-direction: column;
}

.course-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.course-badge {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    color: #fff;
    background: var(--grad-primary);
    box-shadow: var(--glow-purple);
    letter-spacing: 0.05em;
}

.course-badge.badge-new {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.course-room-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.01);
}

.schedule-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2.5rem 0;
    border: 1px dashed var(--border-glass);
    border-radius: 12px;
    font-size: 0.95rem;
}

/* Schedule Legend */
.schedule-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3.5rem;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-color.kids { background: var(--accent-magenta); }
.legend-color.ballett { background: #06b6d4; }
.legend-color.contemporary { background: #a855f7; }
.legend-color.hiphop { background: #f59e0b; }
.legend-color.acro { background: #10b981; }
.legend-color.events { background: #ec4899; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Course Card Description Accordion */
.course-card.has-description {
    cursor: pointer;
    flex-direction: column;
    align-items: stretch;
}

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.course-description-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

/* Expanded state on hover (desktop) or active class (tap/toggle) */
.course-card.has-description:hover .course-description-wrapper,
.course-card.has-description.expanded .course-description-wrapper {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
    border-top: 1px dashed var(--border-glass);
    padding-top: 0.75rem;
}

.course-description-content {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.course-info-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.5rem;
    transition: var(--transition-fast);
    vertical-align: middle;
}

.course-card.has-description:hover .course-info-indicator,
.course-card.has-description.expanded .course-info-indicator {
    border-color: var(--accent-magenta);
    color: var(--text-primary);
    background: rgba(227, 6, 19, 0.1);
    box-shadow: 0 0 5px rgba(227, 6, 19, 0.2);
}

