/* Fischhof Karriere – Detailseite */

.fk-single {
	--fk-accent: #4a9fb0;
	--fk-accent-hover: #3d8a9a;
	--fk-text: #333333;
	--fk-text-muted: #666666;
	--fk-radius: 10px;
}

.fk-single__hero {
	position: relative;
	width: 100%;
	max-height: 420px;
	overflow: hidden;
}

.fk-single__hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fk-single__hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.35) 45%,
		rgba(0, 0, 0, 0) 80%
	);
}

.fk-single__hero-inner {
	max-width: 820px;
	width: 100%;
	margin: 0 auto;
	padding: 24px 24px 32px;
}

.fk-single__title.fk-single__title--overlay {
	color: #ffffff;
	margin: 0;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.fk-single__wrap {
	max-width: 820px;
	margin: 0 auto;
	padding: 48px 24px 80px;
}

.fk-single__back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--fk-accent);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 24px;
}

.fk-single__back:hover {
	color: var(--fk-accent-hover);
}

.fk-single__title {
	font-size: 2rem;
	line-height: 1.25;
	color: var(--fk-text);
	margin: 0 0 24px;
}

.fk-single__intro {
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--fk-text);
	margin-bottom: 40px;
}

/* Info-Grid (Beginn, Bewerbungsfrist, Dauer usw.) */
.fk-info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 48px;
}

@media (max-width: 700px) {
	.fk-info-grid { grid-template-columns: repeat(2, 1fr); }
}

.fk-info-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #f7f9fa;
	border-radius: var(--fk-radius);
	padding: 16px;
}

.fk-info-card .dashicons {
	color: var(--fk-accent);
	font-size: 22px;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	margin-top: 2px;
}

.fk-info-card__label {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--fk-text-muted);
	margin-bottom: 2px;
}

.fk-info-card__value {
	display: block;
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--fk-text);
}

/* Aufgaben / Anforderungen nebeneinander */
.fk-two-col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px 40px;
	margin-bottom: 48px;
}

.fk-two-col h2 {
	font-size: 1.2rem;
	color: var(--fk-text);
	margin: 0 0 16px;
}

.fk-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fk-check-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	line-height: 1.5;
	color: var(--fk-text);
}

.fk-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	color: #ffffff;
	background: var(--fk-accent);
	border-radius: 50%;
}

/* Verdienst-Boxen */
.fk-salary {
	margin-bottom: 48px;
}

.fk-salary h2 {
	font-size: 1.2rem;
	color: var(--fk-text);
	margin: 0 0 20px;
}

.fk-salary__row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 44px;
}

.fk-salary__box {
	position: relative;
	flex: 1 1 140px;
	background: rgba(74, 159, 176, 0.05);
	border: 1px solid #e3eef1;
	border-radius: var(--fk-radius);
	padding: 22px 16px 20px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fk-salary__box:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

/* Leichte Farb-Progression über die Jahre, deutet Wachstum optisch an */
.fk-salary__box:nth-child(2) { background: rgba(74, 159, 176, 0.09); }
.fk-salary__box:nth-child(3) { background: rgba(74, 159, 176, 0.13); }
.fk-salary__box:nth-child(4) { background: rgba(74, 159, 176, 0.17); }

/* Icon-Reihe: Jahr N zeigt N Icons, statt einem festen Einzel-Badge */
.fk-salary__icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.fk-salary__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--fk-accent);
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	flex-shrink: 0;
}

/* Pfeil zwischen den Boxen als Verlaufs-Indikator (nur Desktop) */
.fk-salary__box:not(:last-child)::after {
	content: "›";
	position: absolute;
	top: 50%;
	right: -32px;
	transform: translateY(-58%);
	font-size: 1.6rem;
	font-weight: 700;
	color: #cfe0e4;
}

@media (max-width: 700px) {
	.fk-salary__box:not(:last-child)::after {
		display: none;
	}
}

.fk-salary__label {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fk-text-muted);
	margin-bottom: 8px;
}

.fk-salary__value {
	display: block;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--fk-accent);
}

/* CTA-Block am Ende */
.fk-cta {
	background: #f7f9fa;
	border-radius: var(--fk-radius);
	padding: 32px;
	text-align: center;
}

.fk-cta__text {
	font-size: 1rem;
	color: var(--fk-text);
	margin: 0 0 20px;
}

.fk-cta__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--fk-accent);
	color: #ffffff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.9rem;
	font-weight: 700;
	padding: 16px 28px;
	border-radius: 6px;
	transition: background 0.2s ease;
}

.fk-cta__button:hover {
	background: var(--fk-accent-hover);
	color: #ffffff;
}

.fk-cta__button .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

/* Bewerbungsformular */
.fk-apply {
	margin-top: 40px;
	scroll-margin-top: 24px;
	background: #f7f9fa;
	border-radius: var(--fk-radius);
	padding: 36px;
}

.fk-apply h2 {
	font-size: 1.3rem;
	color: var(--fk-text);
	margin: 0 0 24px;
}

.fk-apply__error {
	background: #fdecea;
	color: #a33a2e;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 0.92rem;
}

.fk-apply__success {
	background: #ffffff;
	border: 1px solid rgba(74, 159, 176, 0.25);
	border-radius: var(--fk-radius);
	padding: 32px;
	text-align: center;
}

.fk-apply__success h2 {
	margin-bottom: 8px;
}

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

.fk-apply__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 24px;
}

@media (max-width: 640px) {
	.fk-apply {
		padding: 24px;
	}
	.fk-apply__form {
		grid-template-columns: 1fr;
	}
}

.fk-apply__row {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.fk-apply__row--full {
	grid-column: 1 / -1;
}

.fk-apply__row label {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--fk-text);
}

.fk-apply__row input[type="text"],
.fk-apply__row input[type="email"],
.fk-apply__row input[type="tel"],
.fk-apply__row textarea {
	border: 1px solid #dde3e5;
	border-radius: 8px;
	padding: 13px 14px;
	font-size: 0.95rem;
	font-family: inherit;
	color: var(--fk-text);
	background: #ffffff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fk-apply__row input:focus,
.fk-apply__row textarea:focus {
	outline: none;
	border-color: var(--fk-accent);
	box-shadow: 0 0 0 3px rgba(74, 159, 176, 0.15);
}

.fk-apply__row input[type="file"] {
	font-size: 0.9rem;
}

.fk-apply__dropzone {
	position: relative;
	border: 2px dashed #cfd9dc;
	border-radius: var(--fk-radius);
	padding: 28px 20px;
	text-align: center;
	cursor: pointer;
	background: #ffffff;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.fk-apply__dropzone:hover,
.fk-apply__dropzone:focus-visible {
	border-color: var(--fk-accent);
	background: rgba(74, 159, 176, 0.04);
	outline: none;
}

.fk-apply__dropzone--active {
	border-color: var(--fk-accent);
	background: rgba(74, 159, 176, 0.08);
}

.fk-apply__dropzone .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: var(--fk-accent);
}

.fk-apply__dropzone-text {
	margin: 8px 0 0;
	font-size: 0.9rem;
	color: var(--fk-text-muted);
}

.fk-apply__dropzone-link {
	color: var(--fk-accent);
	text-decoration: underline;
}

.fk-apply__file-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.fk-apply__filelist {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	text-align: left;
	font-size: 0.85rem;
	color: var(--fk-text);
	position: relative;
	z-index: 1;
}

.fk-apply__filelist-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #f7f9fa;
	border: 1px solid #eaeef0;
	border-radius: 6px;
	padding: 8px 8px 8px 12px;
	margin-bottom: 6px;
}

.fk-apply__filelist-name {
	overflow-wrap: anywhere;
}

.fk-apply__filelist-remove {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	line-height: 1;
	border: none;
	border-radius: 50%;
	background: #e9edee;
	color: var(--fk-text-muted);
	font-size: 16px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.fk-apply__filelist-remove:hover {
	background: #dc3232;
	color: #ffffff;
}

.fk-apply__row--consent {
	background: #ffffff;
	border: 1px solid #e6ebec;
	border-radius: 8px;
	padding: 14px 16px;
}

.fk-apply__consent-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--fk-text-muted);
	cursor: pointer;
}

.fk-apply__consent-label input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	accent-color: var(--fk-accent);
}

.fk-apply__consent-label a {
	color: var(--fk-accent);
}

.fk-apply__form > button[type="submit"] {
	grid-column: 1 / -1;
	justify-self: start;
	border: none;
	cursor: pointer;
	font-family: inherit;
}
