/* --- MASTER STYLESHEET (style.css) --- */

/* 1. FONTS (Path updated to ../fonts/) */
@font-face {
    font-family: 'Montserrat';
    font-weight: 400;
    src: url('../fonts/montserrat-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 600;
    src: url('../fonts/montserrat-semibold.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-weight: 700;
    src: url('../fonts/playfair-display-bold.woff2') format('woff2');
}

/* 2. VARIABLES */
 :root {
            --bg-dark: #121212;
            --bg-card: #1e1e1e;
            --gold: #d4af37;
            --gold-hover: #b4942b;
            --text-white: #f5f5f5;
            --text-gray: #a0a0a0;
            --padding-std: 80px 20px;
        }

/* 3. GLOBAL RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* ... PASTE THE REST OF YOUR CSS HERE (Navigation, Hero, Cards, etc.) ... */

        /* --- LANGUAGE SWITCH LOGIC --- */
        body.lang-en .lang-de { display: none !important; }
        body.lang-de .lang-en { display: none !important; }

        /* --- TYPOGRAPHY --- */
        h1, h2, h3 {
            font-family: 'Playfair Display', serif;
            color: var(--gold);
        }
        
        h2 { font-size: 2.5rem; margin-bottom: 2rem; text-align: center; }
        
        a { text-decoration: none; color: inherit; transition: 0.3s; }

        /* --- NAVIGATION --- */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            background: rgba(18, 18, 18, 0.95);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid #333;
        }

        .logo { font-size: 1.5rem; font-weight: 700; color: var(--gold); }

        .nav-links { display: flex; gap: 25px; list-style: none; }
        .nav-links a:hover { color: var(--gold); }

        .lang-switch {
            background: transparent;
            border: 1px solid var(--gold);
            color: var(--gold);
            padding: 5px 15px;
            cursor: pointer;
            font-weight: 600;
        }
        .lang-switch:hover { background: var(--gold); color: #000; }

        /* --- HERO SECTION --- */
        .hero {
            min-height: 100vh;
            background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('..//images/chess.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
        }

        .hero h1 { font-size: 4rem; margin-bottom: 15px; color: #fff; line-height: 1.1; }
        .hero p { font-size: 1.2rem; color: #ccc; max-width: 600px; margin-bottom: 30px; }
        
        .btn {
            background-color: var(--gold);
            color: #000;
            padding: 15px 40px;
            font-size: 1.1rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: none;
            display: inline-block;
            cursor: pointer;
        }
        .btn:hover { background-color: var(--gold-hover); transform: translateY(-2px); }

        /* --- NEW SPONSOR BAR (Inside Hero) --- */
        .hero-sponsors {
            margin-top: 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .sponsor-list {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
            justify-content: center;
        }

       /* --- UPDATED SPONSOR LOGOS (White Tile Style) --- */
       .hero-logo {
            height: 60px;
            width: auto;
            background-color: #fff;
            
            /* The Gold Border */
            border: 4px solid var(--gold); 
            
            padding: 10px 15px;
            border-radius: 6px;
            
            /* Grayscale to Color effect */
            filter: grayscale(100%); 
            opacity: 0.9;
            transition: all 0.3s ease;
        }

        .hero-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: translateY(-3px);
            
            /* On hover, make the border glow slightly */
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); 
            border-color: var(--gold-hover);
        }

        .hero-logo:hover {
            opacity: 1;
            filter: grayscale(0%) brightness(100%);
            transform: scale(1.1);
        }

        .sponsor-ask {
            font-size: 0.8rem;
            color: #888;
            margin-top: 10px;
        }
        .sponsor-ask a { color: var(--gold); text-decoration: underline; }

        /* --- SECTIONS GENERAL --- */
        section { padding: var(--padding-std); max-width: 1200px; margin: 0 auto; }
        .bg-alt { background-color: var(--bg-card); width: 100%; max-width: 100%; }
        .bg-alt .content-wrapper { max-width: 1200px; margin: 0 auto; padding: var(--padding-std); }

        /* --- INFO GRID --- */
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        .card {
            background: #252525;
            padding: 30px;
            border-left: 3px solid var(--gold);
        }
        .card h3 { margin-bottom: 15px; color: #fff; }

        /* --- FORMS & IFRAMES --- */
        .iframe-container {
            width: 100%;
            height: 500px;
            background: #252525;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #555;
            border: 1px solid #333;
        }

        /* --- CONTACT --- */
        .contact-flex {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            justify-content: center;
            text-align: center;
        }

        /* --- LEGAL SECTION --- */
        .legal-section {
            background-color: #000;
            color: #888;
            padding: 40px 20px;
            font-size: 0.9rem;
            border-top: 1px solid #333;
        }
        .legal-section h2 { font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px; color: #ccc; text-align: left; }
        .legal-section h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; margin-top: 20px; margin-bottom: 10px; color: #aaa; }
        .legal-section p, .legal-section ul { margin-bottom: 15px; }

        /* --- FOOTER --- */
        footer {
            text-align: center;
            padding: 40px;
            background: #000;
            font-size: 0.9rem;
            color: #666;
            border-top: 1px solid #222;
        }
        .legal-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 15px;
            font-size: 0.8rem;
        }
        .legal-links a { text-decoration: underline; color: #666; }
        .legal-links a:hover { color: var(--text-white); }

        /* --- MOBILE --- */
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .hero h1 { font-size: 2.5rem; }
            h2 { font-size: 2rem; }
            .hero-sponsors { margin-top: 40px; }
        }
