/* Grundlegende Stile */
body {
    font-family: 'Open Sans', sans-serif; /* Klare Schrift für Fließtext */
    margin: 0;
    background-color: #000000; /* Dunkelblau als Basis */
    color: #e2a852; /* Pergament für Text */
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'MedievalSharp', sans-serif; /* Fantasy-Schrift für Überschriften */
    color: #FFD700; /* Gold für Überschriften */
}

a {
    color: #FFD700; /* Gold für Links */
    text-decoration: none;
}

a:hover {
    color: #CD7F32; /* Bronze für Hover-Effekt */
}

header {
    background-color: #263238; /* Anthrazit für Header */
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
}

nav .logo {
    font-size: 1.8em;
    font-weight: bold;
    font-family: 'MedievalSharp', serif;
    color: #FFD700;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: bold;
}

.language-switcher button {
    background: #4A4A70;
    color: white;
    border: 1px solid #FFD700;
    padding: 5px 8px;
    margin-left: 5px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
}
.language-switcher button:hover, .language-switcher button.active {
    background: #FFD700;
    color: #1A237E;
}


/* Hero Section */
.hero-section {
    height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; /* Für Overlay, falls gewünscht */
}

.hero-section::before { /* Optional: dunkles Overlay für bessere Lesbarkeit */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Schwarz mit 50% Transparenz */
}


.hero-content {
    position: relative; /* Damit es über dem Overlay liegt */
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5em; /* Große Überschrift */
    margin-bottom: 0.2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 1em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.cta-button, .cta-button-hero {
    display: inline-block;
    background-color: #FFD700; /* Gold */
    color: #FFD700; /* Dunkelblau */
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
background-image: url("https://tradeofwar.de/website/bronze.jpg");
background-size: cover;
}

.cta-button:hover, .cta-button-hero:hover {
    background-color: #CD7F32; /* Bronze */
    color: #fff;
}

/* Allgemeine Sektionen */
section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 40px auto;
    background-color: rgba(42, 42, 78, 0.8); /* Leicht transparentes Dunkelblau für Sektionen */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item img {
    width: 160px; /* Größe der Icons anpassen */
    height: 160px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.5em;
    color: #CD7F32; /* Bronze für Feature-Titel */
}

/* How to Play Section */
#howtoplay {
    background-color: #F5F5DC; /* Pergament-Hintergrund */
    color: #263238; /* Dunkler Text auf hellem Grund */
    border: 2px solid #CD7F32; /* Bronze-Rand */
}

#howtoplay h2 {
    color: #B71C1C; /* Rote Überschrift für Akzent */
}

#howtoplay ol {
    list-style-position: inside;
    padding-left: 20px;
}

#howtoplay li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Footer */
footer {
    background-color: #263238; /* Anthrazit */
    color: #78909C; /* Stein-Grau */
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #78909C;
}
footer a:hover {
    color: #FFD700;
}

/* Responsivität (Beispiel) */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 10px 0;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    .features-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
}