.pfk-calendar {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1d2327;
	max-width: 1400px;
}
.pfk-header {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 16px;
}
.pfk-title {
	font-size: 1.6em;
	font-weight: 700;
	margin: 0;
}
.pfk-nav {
	position: absolute;
	left: 0;
	display: flex;
	gap: 6px;
}
.pfk-nav button {
	width: 34px;
	height: 34px;
	border-radius: 6px;
	border: 1px solid #d0d5dd;
	background: #f2f2f2;
	cursor: pointer;
	font-size: 1.2em;
	line-height: 1;
}
.pfk-nav button:hover {
	background: #e6e6e6;
}
.pfk-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}
.pfk-grid-header .pfk-cell-head {
	font-weight: 700;
	padding: 10px 8px;
	text-align: left;
	border-bottom: 2px solid #d0d5dd;
}
.pfk-grid-body .pfk-cell {
	min-height: 90px;
	border: 1px solid #e2e4e7;
	padding: 6px 6px 8px;
	background: #fbfbfb;
	position: relative;
}
.pfk-cell-empty {
	background: transparent;
	border-color: transparent;
}
.pfk-heute {
	background: #f5edd6;
}
.pfk-feiertag {
	background: #fbeeee;
}
.pfk-tagesnummer {
	display: block;
	font-size: 0.85em;
	color: #6b7280;
	margin-bottom: 6px;
}
.pfk-feiertag-label {
	display: block;
	font-size: 0.7em;
	color: #b3261e;
	margin-bottom: 4px;
}
.pfk-badge {
	display: block;
	width: 100%;
	color: #fff;
	font-size: 0.8em;
	padding: 5px 7px;
	border-radius: 4px;
	margin-bottom: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border: none;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
}
.pfk-badge:hover,
.pfk-badge:focus-visible {
	filter: brightness(1.12);
	outline: 2px solid rgba(0, 0, 0, 0.25);
	outline-offset: 1px;
}
.pfk-calendar.pfk-loading {
	opacity: 0.5;
	pointer-events: none;
}

/* Popup */
.pfk-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 22, 30, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 20px;
}
.pfk-modal-overlay[hidden] {
	display: none;
}
.pfk-modal-box {
	background: #fff;
	border-radius: 10px;
	max-width: 420px;
	width: 100%;
	padding: 24px 24px 20px;
	position: relative;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.pfk-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	font-size: 1.4em;
	line-height: 1;
	cursor: pointer;
	color: #555;
}
.pfk-modal-close:hover {
	color: #000;
}
.pfk-modal-content h3 {
	margin: 0 0 6px;
	font-size: 1.2em;
}
.pfk-modal-date {
	margin: 0 0 14px;
	color: #6b7280;
	font-size: 0.9em;
}
.pfk-modal-row {
	margin: 0 0 8px;
	font-size: 0.95em;
	line-height: 1.4;
}
.pfk-modal-row strong {
	color: #1d2327;
}
@media (max-width: 782px) {
	.pfk-grid { grid-template-columns: repeat(7, minmax(40px, 1fr)); overflow-x: auto; }
	.pfk-badge { font-size: 0.65em; padding: 3px 4px; }
}
