.dad-jobs-list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
}

.dad-jobs-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}

.dad-jobs-card__title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	line-height: 1.3;
}

.dad-jobs-card__title a {
	text-decoration: none;
	color: inherit;
}

.dad-jobs-card__meta {
	margin-bottom: 12px;
	font-size: 0.875rem;
	color: #6b7280;
}

.dad-jobs-card__type {
	display: inline-block;
	padding: 2px 8px;
	background: #f3f4f6;
	border-radius: 999px;
}

.dad-jobs-card__excerpt {
	margin-bottom: 16px;
	color: #374151;
	flex: 1;
}

.dad-jobs-card__button {
	align-self: flex-start;
	display: inline-block;
	padding: 10px 18px;
	background: #111827;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	transition: opacity 0.2s ease;
}

.dad-jobs-card__button:hover,
.dad-jobs-card__button:focus {
	opacity: 0.9;
	color: #fff;
}

.dad-jobs-empty {
	margin: 0;
	padding: 16px;
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 6px;
	color: #6b7280;
	text-align: center;
}

.dad-job-apply-button {
	display: inline-block;
	padding: 12px 22px;
	background: #111827;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
}

.dad-job-apply-button:hover,
.dad-job-apply-button:focus {
	opacity: 0.9;
	color: #fff;
}

/* ----- Bewerbungsformular ----- */
.dad-jobs-application {
        --dadj-border: #e5e7eb;
        --dadj-border-strong: #d1d5db;
        --dadj-text: #111827;
        --dadj-muted: #6b7280;
        --dadj-bg: #ffffff;
        --dadj-accent: #111827;
        --dadj-accent-hover: #1f2937;
        --dadj-radius: 10px;
        --dadj-radius-sm: 8px;
        --dadj-focus: rgba(17, 24, 39, 0.15);
        max-width: 720px;
        margin-inline: auto;
        color: var(--dadj-text);
        font-size: 15px;
        line-height: 1.5;
}

.dad-jobs-application *,
.dad-jobs-application *::before,
.dad-jobs-application *::after {
        box-sizing: border-box;
}

.dad-jobs-application__notice {
        padding: 0.85rem 1rem;
        margin-bottom: 1.25rem;
        border-radius: var(--dadj-radius-sm);
        border: 1px solid transparent;
        font-size: 0.95rem;
}
.dad-jobs-application__notice--success {
        background: #ecfdf5;
        border-color: #a7f3d0;
        color: #065f46;
}
.dad-jobs-application__notice--error {
        background: #fef2f2;
        border-color: #fecaca;
        color: #991b1b;
}

.dad-jobs-application__form {
        display: grid;
        gap: 1.1rem;
        padding: 1.75rem;
        background: var(--dadj-bg);
        border: 1px solid var(--dadj-border);
        border-radius: var(--dadj-radius);
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dad-jobs-application__row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
}
@media (max-width: 640px) {
        .dad-jobs-application__row {
                grid-template-columns: 1fr;
        }
        .dad-jobs-application__form {
                padding: 1.25rem;
        }
}

.dad-jobs-application__field {
        display: flex;
        flex-direction: column;
        min-width: 0;
}

.dad-jobs-application__field > label {
        margin-bottom: 0.4rem;
        font-weight: 600;
        font-size: 0.85rem;
        letter-spacing: 0.01em;
        color: var(--dadj-text);
}

.dad-jobs-application__field > label span[aria-hidden="true"] {
        color: #ef4444;
        margin-left: 2px;
}

.dad-jobs-application__field input[type="text"],
.dad-jobs-application__field input[type="email"],
.dad-jobs-application__field input[type="tel"],
.dad-jobs-application__field textarea {
        width: 100%;
        padding: 0.7rem 0.9rem;
        border: 1px solid var(--dadj-border-strong);
        border-radius: var(--dadj-radius-sm);
        font: inherit;
        color: var(--dadj-text);
        background: #fff;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dad-jobs-application__field input:focus,
.dad-jobs-application__field textarea:focus {
        outline: none;
        border-color: var(--dadj-accent);
        box-shadow: 0 0 0 3px var(--dadj-focus);
}

.dad-jobs-application__field textarea {
        min-height: 140px;
        resize: vertical;
        font-family: inherit;
}

/* File input — styled native */
.dad-jobs-application__field input[type="file"] {
        width: 100%;
        padding: 0.55rem 0.65rem;
        border: 1px dashed var(--dadj-border-strong);
        border-radius: var(--dadj-radius-sm);
        background: #f9fafb;
        font: inherit;
        color: var(--dadj-muted);
        cursor: pointer;
}
.dad-jobs-application__field input[type="file"]::file-selector-button {
        margin-right: 0.75rem;
        padding: 0.45rem 0.9rem;
        border: 0;
        border-radius: 6px;
        background: var(--dadj-text);
        color: #fff;
        font: inherit;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.15s ease;
}
.dad-jobs-application__field input[type="file"]::file-selector-button:hover {
        background: var(--dadj-accent-hover);
}
.dad-jobs-application__field input[type="file"]:focus {
        outline: none;
        border-color: var(--dadj-accent);
        box-shadow: 0 0 0 3px var(--dadj-focus);
}

/* Checkbox row */
.dad-jobs-application__field--checkbox {
        flex-direction: row;
}
.dad-jobs-application__field--checkbox > label {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        margin: 0;
        font-weight: 400;
        font-size: 0.9rem;
        color: var(--dadj-muted);
        cursor: pointer;
        line-height: 1.45;
}
.dad-jobs-application__field--checkbox input[type="checkbox"] {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        margin-top: 2px;
        accent-color: var(--dadj-accent);
        cursor: pointer;
}

.dad-jobs-application__hint {
        margin-top: 0.4rem;
        color: var(--dadj-muted);
        font-size: 0.8rem;
}

.dad-jobs-application__hp {
        position: absolute !important;
        left: -10000px !important;
        top: auto !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
}

.dad-jobs-application__actions {
        margin-top: 0.5rem;
}

.dad-jobs-application__submit {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: var(--dadj-accent);
        color: #fff;
        border: 0;
        padding: 0.85rem 1.75rem;
        border-radius: var(--dadj-radius-sm);
        cursor: pointer;
        font: inherit;
        font-weight: 600;
        letter-spacing: 0.02em;
        transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.dad-jobs-application__submit:hover {
        background: var(--dadj-accent-hover);
        box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}
.dad-jobs-application__submit:focus {
        outline: none;
        box-shadow: 0 0 0 3px var(--dadj-focus);
}
.dad-jobs-application__submit:active {
        transform: translateY(1px);
}
