/* style.css */
:root {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --accent-color: #c5a059; /* Gold */
    --card-bg: #262626;
    --nav-bg: rgba(0, 0, 0, 0.95);
    --header-height: 260px; /* Höhe des fixen Headers */
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding-top: var(--header-height); /* Platzhalter für den Header */
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* FIXIERTER HEADER */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--header-height);
    background-color: var(--nav-bg);
    border-bottom: 3px solid var(--accent-color);
    text-align: center;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.7);
}

.logo {
    max-height: 180px;
    width: auto;
    margin-bottom: 10px;
}

nav { margin-top: 10px; }

nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s;
    padding-bottom: 5px;
}

nav a:hover, nav a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* INHALTS-CONTAINER */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
    animation: fadeIn 0.8s ease-in;
    flex: 1; /* Drückt den Footer nach unten */
}

h1, h2 { color: var(--accent-color); margin-bottom: 1rem; }
h2 { border-bottom: 1px solid #444; padding-bottom: 0.5rem; margin-top: 2.5rem; font-size: 1.6rem; }
p { margin-bottom: 1rem; font-size: 1.1rem; }

/* LISTEN (für Regeln etc.) */
ul { list-style-type: none; padding: 0; margin-bottom: 2rem; }
li { margin-bottom: 0.8rem; padding-left: 1.5rem; position: relative; font-size: 1.05rem; }

li::before {
    content: "\2022";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1.2rem;
}
/* FORMULAR */
form { background: var(--card-bg); padding: 2rem; border-radius: 8px; border: 1px solid #333; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
label { display: block; margin-bottom: 0.5rem; font-weight: bold; color: var(--accent-color); margin-top: 1rem; }
label:first-child { margin-top: 0; }

input[type="text"],
input[type="email"],
textarea {
    width: 100%; padding: 12px; margin-bottom: 0.5rem;
    background: #333; border: 1px solid #555; color: #fff; border-radius: 4px;
    font-size: 1rem; font-family: inherit;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent-color); background: #444; }

button {
    background-color: var(--accent-color); color: #1a1a1a;
    padding: 1rem 2rem; border: none; border-radius: 50px;
    font-weight: bold; cursor: pointer; font-size: 1.1rem; text-transform: uppercase;
    width: 100%; margin-top: 2rem; transition: background 0.3s, transform 0.1s;
}
button:hover { background-color: #e0b96e; transform: scale(1.02); }

.note { font-size: 0.85rem; color: #888; margin-top: -5px; margin-bottom: 1.5rem; display: block; }

/* FOOTER */
footer { text-align: center; padding: 2rem; color: #666; font-size: 0.9rem; border-top: 1px solid #333; margin-top: auto; }

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

/* MOBILE OPTIMIERUNG */
@media (max-width: 768px) {
    :root { --header-height: 160px; }
    .logo { max-height: 70px; }
    nav a { display: inline-block; margin: 5px 8px; font-size: 0.9rem; }
    .container { padding: 1rem; }
}