/* Styles */

<style>
/* =========================
   Helfereinteilung – Slim UI
   ========================= */
.he-frontend {
    margin-top: 2em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 900px;
}

/* Event */
.he-event {
    margin-bottom: 3em;
}

.he-event h3 {
    margin-bottom: 0.4em;
    font-size: 1.8rem;
    font-weight: 600;
}

.he-event h4 {
    margin: 1.2em 0 0.4em;
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}

/* Task */
.he-task {
    margin-left: 0;
    margin-bottom: 0.6em;
    padding: 10px 12px;
    background: #fafafa;
    border-left: 3px solid #e42612;
    border-radius: 4px;
}

.he-task.full {
    opacity: 0.6;
    border-left-color: #999;
    background: #f3f3f3;
}

.he-task h5 {
    margin: 0 0 0.3em;
    font-size: 1.2rem;
    font-weight: 500;
    color: #222;
}

/* Helferliste */
ul.he-list {
    margin: 0.3em 0 0.6em 1.1em;
    padding: 0;
    list-style: disc;
}

ul.he-list li {
    font-size: 1.6rem;
    color: #333;
    margin: 0.1em 0;
}

/* Formular */
.he-task form {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 0.4em;
}

.he-task input[type="text"] {
    flex: 1 1 180px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.he-task button {
    padding: 5px 10px;
    background-color: #e42612;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.he-task button:hover {
    background-color: #c91f0f;
}

/* Hinweise */
.notice {
    padding: 8px 10px;
    margin: 10px 0;
    border-left: 4px solid #2271b1;
    background: #f0f6fc;
    font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 600px) {
    .he-task form {
        flex-direction: column;
        align-items: stretch;
    }

    .he-task input[type="text"],
    .he-task button {
        width: 100%;
    }
}

</style>
