/*
 * Karten-Komponenten aus der Bibliothek in CLAUDE.md Abschnitt 11.4:
 * Way-Card, News-Card, Quote-Card, Task-Row. Ein File für alle vier, da sie
 * strukturell verwandt sind (Karte auf weißem Grund, --shadow-sm/-md).
 */

/* ---------- Way-Card ---------- */
.ways-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.way-card {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.way-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.way-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.way-icon.g1 {
	background: var(--tint-green);
	color: var(--waldgruen);
}

.way-icon.g2 {
	background: var(--tint-brown);
	color: #8a5a2b;
}

.way-icon.g3 {
	background: #EAF0EF;
	color: var(--waldgruen-dark);
}

.way-icon svg {
	width: 26px;
	height: 26px;
}

.way-card .price {
	font-size: 13px;
	font-weight: 700;
	color: var(--erdbraun-45);
}

.way-card .spacer {
	flex: 1;
}

/* ---------- News-Card ---------- */
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.news-card {
	background: #fff;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease;
}

.news-card:hover {
	transform: translateY(-4px);
}

.news-thumb {
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tag {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--tint-green);
	color: var(--waldgruen-dark);
}

.news-date {
	font-size: 12.5px;
	color: var(--erdbraun-45);
}

/* ---------- Task-Row ---------- */
.task-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.task-row {
	display: flex;
	align-items: center;
	gap: 18px;
	background: #fff;
	border-radius: var(--radius-md);
	padding: 18px 22px;
	box-shadow: var(--shadow-sm);
}

.task-date {
	width: 58px;
	text-align: center;
	flex-shrink: 0;
}

.task-date .d {
	font-size: 20px;
	font-weight: 700;
	color: var(--waldgruen-dark);
	line-height: 1;
}

.task-date .m {
	font-size: 11px;
	text-transform: uppercase;
	color: var(--erdbraun-45);
	font-weight: 700;
}

.task-info {
	flex: 1;
}

.task-info b {
	font-size: 15px;
}

.task-info span {
	display: block;
	font-size: 13px;
	color: var(--erdbraun-70);
	margin-top: 2px;
}

/* ---------- Quote-Card ---------- */
.quote-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.quote-card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 26px;
	box-shadow: var(--shadow-sm);
}

.quote-card p {
	font-size: 14.5px;
	color: var(--ink);
	font-style: italic;
}

.quote-who {
	margin-top: 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--waldgruen-dark);
}

/* Breakpoint 980px – siehe CLAUDE.md Abschnitt 11.3 */
@media (max-width: 980px) {
	.ways-grid,
	.news-grid,
	.quote-grid {
		grid-template-columns: 1fr;
	}
}
