/* Grundlegende Resets & Smooth Scroll Buffer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; 
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
}

/* Sektions-Offset für Anker-Navigation */
section {
    scroll-margin-top: 90px;
}

/* ==========================================
   BUTTONS & COMMON COMPONENTS
   ========================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #00d4ff;
    color: #0f0f0f;
}

.btn-primary:hover {
    background-color: #00b3d9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(0, 212, 255, 0.6);
}

.btn-secondary:hover {
    background-color: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    color: #00d4ff;
    transform: translateY(-2px);
}

/* ==========================================
   NAVBAR (DESKTOP) & LOGO ZENTRIERT
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    height: 65px;
    background-color: rgba(15, 15, 15, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    transition: gap 0.4s ease;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

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

.left-links {
    flex: 1;
    justify-content: flex-end;
    margin-right: 60px; 
}

.right-links {
    flex: 1;
    justify-content: flex-start;
    margin-left: 60px;
}

.logo-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 5px;
    transition: all 0.4s ease;
}

.logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background-color: #141414;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    transition: all 0.4s ease;
}

.navbar.scrolled .logo-wrapper {
    top: 5px;
}

.navbar.scrolled .logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    padding: 4px;
}

.mobile-only {
    display: none !important;
}

/* ==========================================
   MOBILE APP-STYLE BOTTOM NAVIGATION BAR
   ========================================== */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1050;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.6);
}

.bottom-nav-item {
    background: transparent;
    border: none;
    color: #aaaaaa;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    height: 100%;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
}

.bottom-nav-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.bottom-nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bottom-nav-item:hover,
.bottom-nav-item:active {
    color: #00d4ff;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-overlay-content {
    background-color: #161616;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    width: 100%;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    padding: 30px 25px 50px 25px;
    text-align: center;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu-overlay.active .mobile-overlay-content {
    transform: translateY(0);
}

.mobile-overlay-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #888888;
    cursor: pointer;
}

.mobile-overlay-content h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00d4ff;
    margin-bottom: 20px;
}

.mobile-overlay-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-overlay-links a {
    display: block;
    padding: 12px;
    background-color: #202020;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-overlay-links a:hover {
    background-color: #00d4ff;
    color: #0f0f0f;
}

/* ==========================================
   HERO-BEREICH
   ========================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-color: #0f0f0f;
    background-image: url('../img/hero-poster.jpg');
    background-size: cover;
    background-position: center;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #e0e0e0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ==========================================
   SEKTION: ÜBER UNS
   ========================================== */
.about-section {
    position: relative;
    background-color: #121212;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

.about-container {
    max-width: 1000px;
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #00d4ff;
    margin-bottom: 15px;
}

.about-section h2, .gallery-section h2, .team-section h2, .join-section h2, .contact-section h2, .sponsors-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: #ffffff;
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.about-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.about-text-grid p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b0b0b0;
    font-weight: 400;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* ==========================================
   SEKTION: GALERIE & LIGHTBOX
   ========================================== */
.gallery-section {
    position: relative;
    background-color: #0f0f0f;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-container {
    max-width: 1050px;
    width: 100%;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
    gap: 20px;
    margin-top: 35px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #161616;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item.portrait {
    grid-row: span 2;
}

.gallery-item.landscape {
    grid-row: span 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.15);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: #00d4ff;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item.video-item::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 212, 255, 0.85);
    color: #0f0f0f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding-left: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery-item.video-item:hover::after {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: #00d4ff;
}

.social-hub {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-hub-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 30px;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 22px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.5);
    background-color: #1c1c1c;
}

.social-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-card:hover .social-icon {
    background-color: #00d4ff;
    color: #0f0f0f;
}

.social-info {
    text-align: left;
}

.social-info .platform {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-info .subtext {
    font-size: 0.8rem;
    color: #888888;
}

.social-card.promo-card {
    border-color: rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, #161616 0%, #10232a 100%);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

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

.lightbox-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.lightbox-media-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    margin-top: 15px;
    text-align: center;
    max-width: 700px;
}

.lightbox-caption h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.lightbox-caption p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.4;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 2.5rem;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: #00d4ff;
    transform: scale(1.1);
}

/* ==========================================
   SEKTION: DAS TEAM
   ========================================== */
.team-section {
    position: relative;
    background-color: #121212;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.team-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 30px 0 50px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.team-group-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.team-block {
    margin-bottom: 50px;
    text-align: left;
}

.team-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.board-item {
    background-color: #161616;
    border-left: 4px solid #00d4ff;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.board-item .role {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
    margin-bottom: 5px;
}

.board-item .name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.dancers-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.dancers-grid li {
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #d0d0d0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 55px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.dancers-grid li:hover {
    border-color: rgba(0, 212, 255, 0.4);
    color: #ffffff;
}

/* ==========================================
   SEKTION: MACH MIT
   ========================================== */
.join-section {
    position: relative;
    background-color: #0f0f0f;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.join-container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.join-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 45px;
}

.join-card {
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.join-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.join-card-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: inline-block;
}

.join-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 12px;
}

.join-card p {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.5;
}

.join-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================
   SEKTION: KONTAKT
   ========================================== */
.contact-section {
    position: relative;
    background-color: #121212;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-container {
    max-width: 850px;
    width: 100%;
    text-align: center;
}

.contact-lead {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-form {
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.full-width {
    margin-bottom: 25px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00d4ff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 14px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.form-group select option {
    background-color: #161616;
    color: #ffffff;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
}

.form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-feedback.success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.form-feedback.error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(15, 15, 15, 0.3);
    border-radius: 50%;
    border-top-color: #0f0f0f;
    animation: button-spinner 0.8s linear infinite;
}

@keyframes button-spinner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================
   SEKTION: SPONSOREN & PARTNER CAROUSEL
   ========================================== */
.sponsors-section {
    position: relative;
    background-color: #0f0f0f;
    padding: 80px 0 100px 0;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sponsors-container {
    width: 100%;
}

.sponsors-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 30px;
    padding: 15px 0; 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.sponsors-carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    align-items: center;
    animation: scrollCarousel 28s linear infinite;
}

.sponsors-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

.sponsor-card {
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px 25px;
    width: 240px;
    height: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15);
}

.sponsor-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: grayscale(80%);
    transition: filter 0.3s ease;
}

.sponsor-card:hover .sponsor-logo {
    filter: grayscale(0%);
}

.sponsor-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4em;
    width: 100%;
}

.sponsor-subtitle {
    font-size: 0.75rem;
    color: #00d4ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* ==========================================
   COOKIE CONSENT MODAL (DSGVO)
   ========================================== */
.cookie-consent-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cookie-consent-overlay.active {
    display: flex;
}

.cookie-consent-modal {
    background-color: #161616;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 35px 30px;
    max-width: 550px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-consent-overlay.active .cookie-consent-modal {
    transform: scale(1);
}

.cookie-consent-modal h3 {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00d4ff;
    margin-bottom: 12px;
}

.cookie-consent-modal > p {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.5;
    margin-bottom: 25px;
}

.cookie-consent-modal a {
    color: #00d4ff;
    text-decoration: underline;
}

.cookie-consent-modal a:hover {
    opacity: 0.8;
}

.cookie-consent-panel {
    display: none;
    margin-bottom: 20px;
}

.cookie-consent-panel.active {
    display: block;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-consent-buttons .btn,
.cookie-consent-buttons .btn-ghost {
    min-width: 160px;
}

.btn-ghost {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    color: #b0b0b0;
    font-family: inherit;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-option-info {
    flex: 1;
}

.cookie-option-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.cookie-option-info span {
    font-size: 0.8rem;
    color: #888888;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background-color: #333333;
    border-radius: 26px;
    transition: background-color 0.3s ease;
}

.cookie-toggle-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #00d4ff;
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(22px);
}

.cookie-toggle.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.cookie-toggle.disabled .cookie-toggle-slider {
    background-color: #00d4ff;
}

.cookie-toggle.disabled .cookie-toggle-slider::before {
    transform: translateX(22px);
}

#cookie-save-settings {
    display: block;
    width: 100%;
    margin-top: 20px;
}

@media screen and (max-width: 850px) {
    .cookie-consent-modal {
        padding: 25px 20px;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-consent-buttons .btn,
    .cookie-consent-buttons .btn-ghost {
        min-width: 0;
        width: 100%;
    }
}

/* ==========================================
   FOOTER & LEGACY COOKIEBOT OVERRIDES
   ========================================== */
.footer {
    background-color: #080808;
    padding: 60px 20px 90px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 6px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #888888;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
}

.footer-legal a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 0.8;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    font-size: 0.8rem;
    color: #666666;
}

/* ==========================================
   RESPONSIVE DESIGN (APP-STYLE MOBIL)
   ========================================== */
@media screen and (max-width: 850px) {
    html {
        scroll-padding-top: 120px;
    }

    section {
        scroll-margin-top: 120px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .logo-wrapper {
        left: 50%;
        transform: translateX(-50%);
        top: -10px;
    }

    .logo-img {
        width: 120px;
        height: 120px;
        padding: 6px;
    }

    .navbar.scrolled .logo-wrapper {
        top: -5px;
    }

    .navbar.scrolled .logo-img {
        width: 96px;
        height: 96px;
    }

    .hero {
        height: calc(100vh - 65px);
        height: calc(100dvh - 65px);
    }

    .hero-content {
        bottom: 40px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 0.85rem;
        letter-spacing: 0.8px;
    }

    .about-section, .gallery-section, .team-section, .join-section, .contact-section, .sponsors-section {
        padding: 60px 20px;
    }

    .about-section h2, .gallery-section h2, .team-section h2, .join-section h2, .contact-section h2, .sponsors-section h2 {
        font-size: 1.8rem;
    }

    .about-lead, .join-lead, .contact-lead {
        font-size: 1rem;
    }

    .about-text-grid, .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        grid-auto-rows: 150px;
        gap: 12px;
    }

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

    .social-links-grid {
        grid-template-columns: 1fr;
    }

    .join-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
    }
}