/* =====================================================================
 * Krafthand Aktionen – Frontend Styles
 * Passend zum Farbsystem der neuen Krafthand-Startseite
 * ===================================================================== */

.kha-aktionen-section {
	background: #f5f7fa;
	padding: clamp(50px, 7vw, 90px) clamp(20px, 5vw, 60px);
}

/* Volle Breite: Container des Themes durchbrechen
   (funktioniert auch wenn das Theme den Block in einen begrenzten Wrapper packt) */
.kha-aktionen-section.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	position: relative;
	left: 0;
	right: 0;
}

/* Breite Ausrichtung */
.kha-aktionen-section.alignwide {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

.kha-aktionen-inner {
	max-width: 1280px;
	margin: 0 auto;
}

/* Header */
.kha-aktionen-section .kha-eyebrow {
	text-align: center;
	color: #ff6a00;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin: 0 0 8px;
}

.kha-aktionen-section .kha-headline {
	text-align: center;
	color: #1a2332;
	font-size: clamp(28px, 3.5vw, 42px);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 50px;
}

/* Grid */
.kha-grid {
	display: grid;
	gap: 28px;
}

.kha-grid-cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
	.kha-grid-cols-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.kha-grid-cols-3 {
		grid-template-columns: 1fr;
	}
}

/* Card */
.kha-card {
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 1px 3px rgba(26, 35, 50, 0.06);
}

.kha-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(26, 35, 50, 0.12);
}

.kha-card-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f0f2f5;
}

.kha-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.kha-card:hover .kha-card-image img {
	transform: scale(1.05);
}

.kha-card-body {
	padding: 24px 28px 28px;
}

.kha-card-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 8px;
}

.kha-card-title {
	color: #1a2332;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 10px;
}

.kha-card-text {
	color: #4a5568;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 20px;
}

.kha-card-link {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}

.kha-card-link a {
	color: #0069b4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.kha-card-link a:hover {
	color: #ff6a00;
}
