@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Quicksand', sans-serif;
    background: #FDF6EE;
    color: #3a2e22;
    padding: 40px 20px;
    min-height: 100vh;
}

.container {
    max-width: 700px;
    margin: 0 auto;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #c8621a;
    margin-bottom: 6px;
}

.subtitle {
    color: #9a7f65;
    margin-bottom: 32px;
    font-size: 1rem;
}

.auswahl-box {
    background: #fff8f2;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(200, 98, 26, 0.10);
    border: 1.5px solid #f5dcc8;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.feld {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

label {
    font-weight: 700;
    font-size: 0.88rem;
    color: #c8621a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

select {
    padding: 12px 16px;
    border: 2px solid #f0d0b0;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    background: #fffaf6;
    color: #3a2e22;
    transition: border-color 0.2s;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #c8621a;
}

select:disabled {
    background: #f5f0eb;
    color: #c0ab98;
    border-color: #ece0d5;
    cursor: not-allowed;
}

button {
    padding: 14px;
    background: #c8621a;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.1s;
}

button:hover { background: #e0742a; }
button:active { transform: scale(0.98); }

.ergebnis {
    margin-top: 28px;
    background: #fff8f2;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(200, 98, 26, 0.10);
    border: 1.5px solid #f5dcc8;
}

.ergebnis h2 {
    color: #c8621a;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.versteckt { display: none; }

.aufgabe {
    border-left: 4px solid #c8621a;
    padding: 18px;
    margin-bottom: 16px;
    background: white;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 8px rgba(200, 98, 26, 0.06);
}

.aufgabe .meta {
    font-size: 0.78rem;
    color: #c8621a;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.aufgabe .text {
    font-size: 1rem;
    margin-bottom: 14px;
    line-height: 1.7;
    font-weight: 500;
}

.aufgabe .loesung {
    font-size: 0.93rem;
    color: #2a5e2a;
    background: #f2faf0;
    padding: 14px;
    border-radius: 10px;
    border-left: 3px solid #5aaa5a;
    line-height: 1.6;
    font-weight: 500;
}

.aufgabe .loesung strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: #3a7a3a;
}

/* Topbar für alle Seiten */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.topbar-rechts {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nutzer-info {
    font-size: 0.88rem;
    color: #9a7f65;
    font-weight: 600;
}

.btn-klein {
    padding: 8px 16px;
    background: transparent;
    border: 2px solid #c8621a;
    color: #c8621a;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.88rem;
    margin-top: 0;
    transition: background 0.2s;
}

.btn-klein:hover { background: #fff0e6; }