/* HFO Helferlisten - öffentliche Ansicht */

.hfo-helfer {
	--hfo-primary: #E6194B;
	--hfo-accent: #00AFEC;
	--hfo-ink: #1e1e1e;
	--hfo-muted: #6b7280;
	--hfo-line: #e6e6e6;
	--hfo-soft: #fbfbfc;
	max-width: 860px;
	margin: 0 auto;
	color: var(--hfo-ink);
	font-size: 16px;
	line-height: 1.55;
}

.hfo-helfer *,
.hfo-helfer *::before,
.hfo-helfer *::after {
	box-sizing: border-box;
}

/* Kopfbereich */
.hfo-head {
	border-left: 6px solid var(--hfo-primary);
	padding: 4px 0 4px 18px;
	margin: 0 0 24px;
}

.hfo-head__title {
	margin: 0 0 6px;
	font-size: 1.9rem;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.hfo-head__text,
.hfo-head__meta {
	margin: 0;
	color: var(--hfo-muted);
}

.hfo-back {
	margin: 0 0 14px;
	font-size: .95rem;
}

.hfo-back a {
	color: var(--hfo-primary);
	text-decoration: none;
	font-weight: 600;
}

/* Hinweise */
.hfo-notice {
	padding: 14px 16px;
	border-radius: 8px;
	margin: 0 0 20px;
	font-weight: 600;
	border-left: 5px solid;
}

.hfo-notice--success {
	background: #eefaf0;
	border-color: #1a7f37;
	color: #14532d;
}

.hfo-notice--error {
	background: #fdeef1;
	border-color: var(--hfo-primary);
	color: #8a0b28;
}

.hfo-notice--info {
	background: #eef8fd;
	border-color: var(--hfo-accent);
	color: #075173;
}

.hfo-empty {
	background: var(--hfo-soft);
	border: 1px dashed var(--hfo-line);
	border-radius: 10px;
	padding: 24px;
	text-align: center;
	color: var(--hfo-muted);
}

/* Eventliste */
.hfo-events {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.hfo-event-card {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	border: 1px solid var(--hfo-line);
	border-radius: 12px;
	padding: 18px 20px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.hfo-event-card__body {
	flex: 1 1 320px;
	min-width: 0;
}

.hfo-event-card__title {
	margin: 0 0 4px;
	font-size: 1.25rem;
	line-height: 1.2;
}

.hfo-event-card__meta {
	margin: 0 0 10px;
	color: var(--hfo-muted);
	font-size: .95rem;
}

.hfo-event-card__stat {
	margin: 0 0 6px;
	font-weight: 600;
	font-size: .95rem;
}

.hfo-event-card__stat--small {
	font-weight: 400;
	color: var(--hfo-muted);
}

.hfo-bar {
	height: 8px;
	border-radius: 99px;
	background: #efefef;
	overflow: hidden;
	margin: 0 0 8px;
	max-width: 320px;
}

.hfo-bar span {
	display: block;
	height: 100%;
	background: var(--hfo-primary);
}

.hfo-badge {
	display: inline-block;
	margin: 4px 0 0;
	padding: 3px 10px;
	border-radius: 99px;
	background: #f1f1f1;
	color: var(--hfo-muted);
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.hfo-badge--full {
	background: #eefaf0;
	color: #14532d;
}

/* Buttons */
.hfo-btn {
	display: inline-block;
	background: var(--hfo-primary);
	color: #fff !important;
	border: 0;
	border-radius: 8px;
	padding: 11px 20px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none !important;
	cursor: pointer;
	line-height: 1.2;
}

.hfo-btn:hover,
.hfo-btn:focus {
	filter: brightness(.92);
	color: #fff !important;
}

.hfo-btn--small {
	padding: 8px 16px;
	font-size: .92rem;
}

.hfo-link-btn {
	background: none;
	border: 0;
	padding: 0;
	color: var(--hfo-muted);
	text-decoration: underline;
	cursor: pointer;
	font-size: .85rem;
}

/* Blöcke und Schichten */
.hfo-block {
	border: 1px solid var(--hfo-line);
	border-radius: 12px;
	margin: 0 0 20px;
	overflow: hidden;
	background: #fff;
}

.hfo-block__head {
	background: var(--hfo-primary);
	color: #fff;
	padding: 14px 18px;
}

.hfo-block--springer .hfo-block__head {
	background: var(--hfo-accent);
}

.hfo-block__title {
	margin: 0;
	font-size: 1.15rem;
	color: #fff;
}

.hfo-block__meta {
	margin: 2px 0 0;
	font-size: .92rem;
	opacity: .92;
}

.hfo-block__note {
	margin: 0;
	padding: 10px 18px;
	background: var(--hfo-soft);
	border-bottom: 1px solid var(--hfo-line);
	color: var(--hfo-muted);
	font-size: .92rem;
}

.hfo-shifts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hfo-shift {
	padding: 16px 18px;
	border-bottom: 1px solid var(--hfo-line);
}

.hfo-shift:last-child {
	border-bottom: 0;
}

.hfo-shift--full {
	background: var(--hfo-soft);
}

.hfo-shift__info {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	margin-bottom: 8px;
}

.hfo-shift__time {
	font-weight: 700;
	font-size: 1.05rem;
}

.hfo-shift__task {
	font-weight: 600;
}

.hfo-shift__note {
	color: var(--hfo-muted);
	font-size: .92rem;
}

.hfo-shift__count {
	margin-left: auto;
	color: var(--hfo-muted);
	font-size: .88rem;
	white-space: nowrap;
}

.hfo-shift__full {
	margin: 6px 0 0;
	color: var(--hfo-muted);
	font-size: .9rem;
}

.hfo-people {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hfo-person {
	background: #f6f7f8;
	border-radius: 99px;
	padding: 5px 14px;
	font-size: .92rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hfo-person--free {
	background: #fff;
	border: 1px dashed var(--hfo-line);
	color: var(--hfo-muted);
}

.hfo-withdraw {
	display: inline;
	margin: 0;
}

/* Formulare */
.hfo-form-wrap {
	margin-top: 4px;
}

.hfo-form-wrap > summary {
	display: inline-block;
	list-style: none;
	cursor: pointer;
}

.hfo-form-wrap > summary::-webkit-details-marker {
	display: none;
}

.hfo-form {
	margin-top: 14px;
	padding: 16px;
	border: 1px solid var(--hfo-line);
	border-radius: 10px;
	background: var(--hfo-soft);
	max-width: 460px;
}

.hfo-field {
	margin: 0 0 12px;
}

.hfo-field label {
	display: block;
	font-weight: 600;
	font-size: .9rem;
	margin-bottom: 4px;
}

.hfo-field input,
.hfo-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cfd4d9;
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	background: #fff;
}

.hfo-field input:focus,
.hfo-field textarea:focus {
	outline: 2px solid var(--hfo-accent);
	outline-offset: 1px;
	border-color: var(--hfo-accent);
}

.hfo-req {
	color: var(--hfo-primary);
	margin-left: 2px;
}

.hfo-hint {
	margin: 0 0 12px;
	font-size: .85rem;
	color: var(--hfo-muted);
}

.hfo-actions {
	margin: 0;
}

.hfo-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hfo-deadline,
.hfo-contact {
	color: var(--hfo-muted);
	font-size: .92rem;
}

.hfo-description {
	margin: 0 0 20px;
}

@media (max-width: 600px) {
	.hfo-head__title {
		font-size: 1.5rem;
	}

	.hfo-event-card {
		padding: 16px;
	}

	.hfo-event-card__action,
	.hfo-event-card__action .hfo-btn {
		width: 100%;
		text-align: center;
	}

	.hfo-shift__count {
		margin-left: 0;
		width: 100%;
	}

	.hfo-form {
		max-width: none;
	}
}
