body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: #e0e0e0;
}


/* 🦍 Affe */
#monkey {
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s ease;
    z-index: 999;
}

#monkey.show {
    opacity: 1;
    transform: translateY(0);
}

/* 😁 Lach-Animation (Zähne leuchten) */
#monkey.laugh svg rect[fill="#fff"] {
    box-shadow: 0 0 10px #fff;
    transform: scale(1.1);
    transition: 0.2s;
}

/* 🎉 Konfetti */
#confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 998;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 14px;
    background: #e5ff00; /* Thurgau Gelb */
    opacity: 0.9;
    animation: confetti-fall 1.2s linear forwards;
    border-radius: 2px;
}

@keyframes confetti-fall {
    from {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    to {
        transform: translateY(120vh) rotate(360deg);
        opacity: 0;
    }
}

/* Header */
header {
    background: #003642;
    color: white;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 20px #0099aa;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Layout */
section {
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

/* Pace Cards */
.pace-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    box-shadow: 0 0 15px #0099aa;
}

/* Fortschritt */
.progress-bar {
    width: 100%;
    background: #333;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 20px;
    background: #0099aa;
    width: 0%;
    transition: width 0.4s ease;
}

/* Wochen */
.week {
    background: #1a1a1a;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #005f73;
}

.week h3 {
    margin-top: 0;
    background: #005f73;
    padding: 10px;
    border-radius: 6px;
}

/* Checkboxen */
li {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    accent-color: #00c8d6;
}

/* Pace Rechner */
.calculator input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #444;
    background: #111;
    color: #eee;
}

.calculator button {
    width: 100%;
    padding: 14px;
    background: #0099aa;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #003642;
    color: white;
    margin-top: 40px;
    box-shadow: 0 0 20px #0099aa;
}

/* 📱 Mobile */
@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

    .pace-grid {
        flex-direction: column;
    }

    #monkey {
        width: 80px;
        height: 80px;
        bottom: 10px;
        right: 10px;
    }
}
