:root {
    --bg: #ffffff; /* weißer Hintergrund */
    --panel: #f4f6f8;
    --text: #111316;
    --muted: #EAF0F6;
    --accent: #365e7e; /* Vereins-Hauptfarbe */
    --accent-2: #4a789a; /* hellere Variante */
    --accent-3: #2B4B65; /* dunklere Variante */
    --maxw: 1400px;
}

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 200px;
}
body {
    margin: 0;
    font-family: 'Work Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Bootstrap overrides */
.navbar-brand {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: 0.4px;
}
.navbar-brand .accent { color: var(--accent); }
.navbar-nav .nav-link {
    font-family: 'Work Sans', system-ui, sans-serif;
    color: var(--text) !important;
    font-weight: 400;
    opacity: 0.9;
}
.navbar-nav .nav-link:hover { color: var(--accent-2) !important; }

/* Social Media Icons in Navigation */
.social-icon {
    padding: 6px !important;
    margin: 0 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    opacity: 1;
    background: rgba(54, 94, 126, 0.1);
    transform: translateY(-2px);
}

/* Layout helpers */
.container {
    max-width: var(--maxw);
}

/* Hero */
.hero {
    position: relative;
    height: 80vh;
    min-height: 940px; /* Full HD height */
    background: url('assets/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center 35%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 75, 101, 0.2);
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.eyebrow { 
    font-family: 'Work Sans', system-ui, sans-serif; 
    color: rgba(255,255,255,0.8); 
    font-weight: 400; 
    letter-spacing: 0.08em; 
    text-transform: uppercase; 
}

.headline { 
    font-family: 'Montserrat', system-ui, sans-serif; 
    font-weight: 900; 
    font-size: clamp(48px, 9vw, 96px); 
    line-height: 0.95; 
    margin: 8px 0 8px; 
    letter-spacing: 0.5px; 
    color: white;
}

.sub { 
    font-family: 'Work Sans', system-ui, sans-serif; 
    color: rgba(255,255,255,0.9); 
    max-width: 60ch; 
    font-size: 18px;
}

.cta-row { 
    margin-top: 28px; 
    display: flex; 
    gap: 12px; 
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(54, 94, 126, 0.3);
}

.btn.secondary { 
    background: transparent; 
    color: white; 
    border-color: rgba(255,255,255,0.3); 
}

.btn.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Custom components */
.event-badge { display:inline-block; background: var(--accent); color:#fff; font-weight:700; padding:6px 10px; border-radius:999px; font-size:12px; letter-spacing:0.04em; }
.event-details { display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin:14px 0; }
.event-box { background:#fff; border:1px solid rgba(17,19,22,0.08); border-radius:12px; padding:12px; }
.event-box strong { display:block; font-size:12px; text-transform:uppercase; color:var(--muted); }
.event-cta { margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }

/* Hallenturnier Section - Dark Design */
.hallenturnier-section {
    background: var(--accent-3);
    color: white;
    position: relative;
    overflow: hidden;
}

.hallenturnier-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(54, 94, 126, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(54, 94, 126, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hallenturnier-content {
    position: relative;
    z-index: 2;
}

.hallenturnier-headline {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 900;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 0.9;
    letter-spacing: 2px;
    margin: 24px 0 32px;
    text-transform: uppercase;
}

.hallenturnier-text {
    font-family: 'Work Sans', system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hallenturnier-text p {
    margin-bottom: 16px;
}

.hallenturnier-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item strong {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: white;
}

.detail-item span {
    font-family: 'Work Sans', system-ui, sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hallenturnier-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hallenturnier-visual {
    position: relative;
    height: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(54, 94, 126, 0.1) 50%, transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(54, 94, 126, 0.05) 0%, transparent 70%);
    border-radius: 20px;
    z-index: 1;
}

.poster-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.poster-image:hover {
    transform: translateY(-8px);
}

/* Teaser Section */
.teaser-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.teaser-image {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

.teaser-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.teaser-image:hover img {
    transform: scale(1.1);
}

.teaser-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(54, 94, 126, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.teaser-image:hover .teaser-overlay {
    opacity: 1;
}

.teaser-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.teaser-content p {
    font-family: 'Work Sans', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

.teaser-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 900;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin: 0;
    text-align: center;
}

/* Registration Button - Eckig mit hellem Hintergrund */
.registration-btn {
    border-radius: 0 !important;
    background-color: #e3f2fd !important;
    color: var(--accent) !important;
    border: 2px solid var(--accent) !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    transition: all 0.3s ease !important;
}

.registration-btn:hover {
    background-color: var(--accent) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(54, 94, 126, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(140%) blur(8px);
    border-top: 1px solid rgba(17, 19, 22, 0.06);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h4 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: var(--text);
    margin: 0 0 8px 0;
}

.cookie-banner-text p {
    font-size: 14px;
    color: var(--text);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.cookie-details {
    margin-top: 8px;
}

.cookie-details details {
    font-size: 12px;
}

.cookie-details summary {
    cursor: pointer;
    color: var(--accent);
    font-weight: 500;
}

.cookie-details ul {
    margin: 8px 0 0 0;
    padding-left: 16px;
}

.cookie-details li {
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--text);
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-banner-buttons .btn {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--panel);
    border-radius: 8px;
}

.cookie-category .form-check-label {
    font-size: 14px;
    line-height: 1.4;
}

.cookie-category small {
    font-size: 12px;
    margin-top: 4px;
}

/* Mobile Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Footer */
footer { padding: 40px 16px; color: var(--muted); text-align: center; }

/* Footer Social Media Icons */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin: 0 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.8;
    text-decoration: none;
}

.footer-social-icon:hover {
    opacity: 1;
    background: rgba(54, 94, 126, 0.1);
    transform: translateY(-2px);
}

/* Desktop Navigation - Horizontal seitlich */
@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
    }
    
    .navbar-nav .nav-item {
        margin: 0 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 16px;
    }
}

/* Mobile Navigation - Vertikal unter Burger-Button */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(140%) blur(8px);
        border-top: 1px solid rgba(17,19,22,0.06);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        flex-direction: column;
        padding: 20px 0;
        margin: 0;
    }
    
    .navbar-nav .nav-item {
        text-align: center;
        justify-content: center;
        margin: 5px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px;
        font-size: 16px;
        font-weight: 500;
    }
    
    /* Social Media Icons im Mobile Menü */
    .navbar-nav .ms-auto {
        margin-left: 0 !important;
        margin-top: 15px;
        justify-content: center;
    }
    
    .navbar-nav .ms-auto .nav-item {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    
    .social-icon {
        padding: 10px !important;
        margin: 0 8px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero { 
        min-height: 60vh; 
        padding-top: 80px; /* offset for fixed navbar */
    }
    .event-details { grid-template-columns: 1fr; }
    .navbar-brand img { height: 64px; }
    .headline { font-size: clamp(36px, 8vw, 64px); }
    .cta-row { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    
    /* Hallenturnier responsive */
    .hallenturnier-visual { 
        height: auto; 
        min-height: 200px; 
        margin-bottom: 20px;
    }
    .hallenturnier-details { grid-template-columns: 1fr; gap: 16px; }
    .hallenturnier-cta { flex-direction: column; }
    .hallenturnier-cta .btn { width: 100%; justify-content: center; }
    
    /* Event section mobile layout */
    .hallenturnier-section .row {
        flex-direction: column;
    }
    .hallenturnier-section .col-lg-6 {
        width: 100%;
        margin-bottom: 30px;
    }
    .poster-image {
        width: 100%;
        height: auto;
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }
}
