    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif;
        background: #ffffff;
        padding: 60px 20px;
        min-height: 100vh;
        color: #333333;
        /* NEU für Sticky Footer: */
        display: flex;
        flex-direction: column;
    }

    .container {
        max-width: 700px;
        margin: 0 auto;
        /* NEU, damit der Container den flexiblen Raum einnimmt */
        flex-grow: 1; 
    }

    .site-footer {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        font-size: 1rem;
        font-weight: 300;
        color: #333333;
        margin-top: 40px; /* Optional: Abstand nach oben */
        padding-top: 20px; /* Optional: Padding oben */
        border-top: 1px solid #eeeeee; /* Optional: Eine subtile Trennlinie */
    }
    
    .footer-link-box {
        margin: 0 10px;
        text-decoration: none; /* Entfernt die Unterstreichung */
        color: inherit;
        padding: 5px 0;
        transition: color 0.2s;
    }

    .footer-link-box:hover {
        color: #777777; /* Subtiler Hover-Effekt */
    }


    h1 {
        font-size: 1.5rem;
        font-weight: 400;
        margin-bottom: 40px;
        color: #333333;
        text-decoration: underline;
        text-underline-offset: 6px;
    }

    #input {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        font-size: 1.5rem;
        line-height: 1.6;
        padding: 8px 0;
        color: #333333;
        word-wrap: break-word;
        overflow-wrap: break-word;
        font-weight: 300;
    }

    #input:empty:before {
        content: '';
        display: inline-block;
        width: 2px;
        height: 1.4em;
        background: #333333;
        animation: blink 1s infinite;
        vertical-align: text-bottom;
    }

    @keyframes blink {
        0%, 49% { opacity: 1; }
        50%, 100% { opacity: 0; }
    }

    .todo-item {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 12px 0;
        margin-bottom: 4px;
        transition: all 0.2s;
    }

    .checkbox {
        min-width: 22px;
        width: 22px;
        height: 22px;
        border: 2px solid #333333;
        border-radius: 3px;
        cursor: pointer;
        transition: all 0.2s;
        margin-top: 4px;
        background: transparent;
    }

    .checkbox:hover {
        background: #f5f5f5;
    }

    .checkbox.checked {
        background: #333333;
        border-color: #333333;
        position: relative;
    }

    .checkbox.checked:after {
        content: '✓';
        position: absolute;
        color: white;
        font-size: 15px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .todo-text {
        flex: 1;
        font-size: 1.5rem;
        line-height: 1.6;
        color: #333333;
        word-wrap: break-word;
        overflow-wrap: break-word;
        transition: all 0.3s;
        font-weight: 300;
    }

    .todo-text.completed {
        text-decoration: line-through;
        color: #aaaaaa;
    }

    @media (max-width: 640px) {
        body {
            padding: 40px 20px;
        }

        h1 {
            font-size: 1.2rem;
            margin-bottom: 30px;
        }

        #input, .todo-text {
            font-size: 1.25rem;
        }

        .checkbox {
            width: 20px;
            height: 20px;
            min-width: 20px;
        }
    }