/* ===== Grundstil ===== */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f9f9f9;
    color: #222;
    line-height: 1.6;
}

/* ===== Header & Navigation ===== */
header {
    background: #0B2F27; /* Dunkelgr¸«än */
    border-bottom: 1px solid #06201B;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1100px;
    margin: auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

/* ===== Navigation ===== */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

nav a.active {
    background: #004080;
    color: #ffffff;
}

/* ===== Mobile Navigation ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff; /* sichtbar auf dunklem Header */
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
}

/* ===== Hauptinhalt ===== */
main {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

h1,
h2,
h3 {
    color: #003366;
}

/* ===== Buttons ===== */
button,
.button {
    background: #004080;
    color: #ffffff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

button:hover,
.button:hover {
    background: #002b59;
}

/* ===== Formulare ===== */
input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #aaa;
    margin-top: 6px;
    font-size: 14px;
}

form {
    margin-top: 15px;
}

/* =====================================================
   KINDER-SPIEL (Startseite)
   ===================================================== */
.kids-game-section {
    background: #f6fff6;
}

#kids-game {
    position: relative;
    height: 260px;
    max-width: 600px;
    margin: 20px auto 0;
    border: 2px dashed #4CAF50;
    border-radius: 14px;
    background: #ffffff;
    padding: 15px;
    text-align: center;
    overflow: hidden;
}

#kids-game p {
    margin: 0 0 10px;
    font-weight: bold;
}

#robot {
    font-size: 48px;
    position: absolute;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
}

#robot:active {
    transform: scale(1.1);
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 20px;
    background: #003366;
    color: #ffffff;
    margin-top: 40px;
}
