html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative; 
}

body {
    background-color: #282c34;
    color: white;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container {
    text-align: center;
}

.header {
    padding: 20px;
    position: absolute; /* Hält den Header oben */
    top: 0;
    left: 0;
    right: 0;
}

#catgirl {
    position: absolute;
    width: 60px;
    height: auto;
    pointer-events: none;
    z-index: 10;
}

/* --- NEUE/ALTE REGELN FÜR DIE TREPPE --- */
.staircase {
    /* Keine extra Positionierung nötig, Flexbox im Body erledigt das */
}

.step {
    height: 35px;
    width: 25vw;
    min-width: 200px;
    max-width: 350px;
    background: linear-gradient(to right, #8B4513, #A0522D);
    border: 2px solid #5A2C0C;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin-bottom: -15px;
    margin-left: 0;
    transition: transform 0.2s ease-out;
}

.staircase .step:nth-child(2) { margin-left: 40px; }
.staircase .step:nth-child(3) { margin-left: 80px; }
.staircase .step:nth-child(4) { margin-left: 120px; }
.staircase .step:nth-child(5) { margin-left: 160px; }
.staircase .step:nth-child(6) { margin-left: 200px; }
.staircase .step:nth-child(7) { margin-left: 240px; }
.staircase .step:nth-child(8) { margin-left: 280px; }

.step.bent {
    transform: translateY(10px) rotate(-2deg);
}