/*
 * PH Packliste — park-hirsch.de
 * Design-System wie Ratgeber-Templates: Inter, #2C5AA0/#1A3A6B, Orange-Akzent, 8px Radius.
 */

.ph-pl {
	font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #1A1A1A;
	margin: 1.5em 0;
}

.ph-pl *, .ph-pl *::before, .ph-pl *::after { box-sizing: border-box; }
.ph-pl [hidden] { display: none !important; }

.ph-pl-title {
	font-size: 20px;
	font-weight: 700;
	color: #1A3A6B;
	margin: 0 0 6px;
}

.ph-pl-intro {
	font-size: 15px;
	color: #444444;
	line-height: 1.6;
	margin: 0 0 18px;
}

/* ── Fragen ────────────────────────────────────────── */
.ph-pl-form {
	background: #ffffff;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 22px;
	box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.ph-pl-q {
	border: none;
	margin: 0 0 14px;
	padding: 0;
}

.ph-pl-q legend {
	font-size: 14px;
	font-weight: 700;
	color: #1A3A6B;
	margin-bottom: 8px;
	padding: 0;
}

.ph-pl-q label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid #c5d8f5;
	border-radius: 20px;
	padding: 8px 14px;
	margin: 0 8px 8px 0;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.ph-pl-q label:has(input:checked) {
	background: #2C5AA0;
	border-color: #2C5AA0;
	color: #fff;
	font-weight: 600;
}

.ph-pl-q input[type="radio"] {
	accent-color: #fff;
	margin: 0;
}

.ph-pl-btn {
	background: #E87C2A;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 13px 24px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s;
	width: 100%;
}

.ph-pl-btn:hover { background: #D4691A; }

@media (min-width: 480px) {
	.ph-pl-btn { width: auto; }
}

.ph-pl-btn--ghost {
	background: #fff;
	color: #2C5AA0;
	border: 1px solid #c5d8f5;
	font-weight: 600;
}

.ph-pl-btn--ghost:hover { background: #f0f7ff; }

/* ── Fortschritt ───────────────────────────────────── */
.ph-pl-progress {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.ph-pl-progress-text {
	font-size: 14px;
	white-space: nowrap;
	color: #444444;
}

.ph-pl-progress-text strong { color: #1A3A6B; }

.ph-pl-progress-track {
	flex: 1 1 auto;
	height: 10px;
	border-radius: 6px;
	background: #eef0f3;
	overflow: hidden;
}

#ph-pl-progress-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 6px;
	background: #2e7d32;
	transition: width 0.3s ease;
}

/* ── Gruppen & Items ───────────────────────────────── */
.ph-pl-group {
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	margin-bottom: 14px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.ph-pl-group-head {
	background: #2C5AA0;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 11px 16px;
	display: flex;
	justify-content: space-between;
}

.ph-pl-group-head .count { opacity: 0.8; font-weight: 600; }

.ph-pl-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #e8ecf0;
	cursor: pointer;
}

.ph-pl-item:last-child { border-bottom: none; }
.ph-pl-item:nth-child(even) { background: #F5F7FA; }

.ph-pl-item input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: #2e7d32;
	flex-shrink: 0;
	cursor: pointer;
}

.ph-pl-item-body { flex: 1 1 auto; }

.ph-pl-item-name {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.ph-pl-item.done .ph-pl-item-name {
	text-decoration: line-through;
	color: #9e9e9e;
}

.ph-pl-item-tip {
	display: block;
	font-size: 13px;
	color: #444444;
	line-height: 1.5;
	margin-top: 5px;
}

.ph-pl-item.done .ph-pl-item-tip { color: #b5b5b5; }

.ph-pl-shop {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 700;
	color: #D4691A !important;
	text-decoration: none !important;
	border: 1px solid #f0d9c4;
	background: #FFF8F3;
	border-radius: 20px;
	padding: 5px 12px;
	white-space: nowrap;
	margin-top: 1px;
	transition: background 0.15s;
}

.ph-pl-shop:hover { background: #fdeede; }

/* ── Aktionen & Hinweis ────────────────────────────── */
.ph-pl-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 10px;
}

.ph-pl-note {
	font-size: 12px;
	color: #444444;
	margin: 0;
}

/* ── Druck ─────────────────────────────────────────── */
@media print {
	body * { visibility: hidden; }
	.ph-pl, .ph-pl * { visibility: visible; }
	.ph-pl { position: absolute; left: 0; top: 0; width: 100%; }
	.ph-pl-form, .ph-pl-actions, .ph-pl-shop, .ph-pl-progress { display: none !important; }
	.ph-pl-group { box-shadow: none; break-inside: avoid; }
	.ph-pl-group-head { background: #fff !important; color: #1A1A1A !important; border-bottom: 2px solid #1A1A1A; }
	.ph-pl-item { background: #fff !important; }
}
