/* Projekt-Übersicht (Elementor-Widget) — symmetrisches 50/50-Layout */

.bwb-projekte {
	--bwb-accent: #CA9453;
	--bwb-dark: #002730;
	background-color: var(--bwb-dark);
	font-family: 'Poppins', sans-serif;
	width: 100%;
}

.bwb-projekte-header {
	text-align: center;
	padding: 90px 24px 60px;
}

.bwb-projekte-header h2 {
	color: #fff;
	font-size: 42px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	margin: 0 0 16px;
}

.bwb-goldline {
	width: 90px;
	height: 2px;
	background: var(--bwb-accent);
	margin: 0 auto;
}

/* ---- Zeilen: exakt 50 / 50, auf dem 1200px-Raster ---- */

.bwb-rows {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0 90px;
}

.bwb-row {
	display: flex;
	min-height: 560px;
}

.bwb-row.bwb-reverse {
	flex-direction: row-reverse;
}

.bwb-slider,
.bwb-text {
	flex: 0 0 50%;
	max-width: 50%;
	box-sizing: border-box;
}

/* ---- Slider-Seite ---- */

.bwb-slider {
	position: relative;
	overflow: hidden;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
	cursor: grab;
}

.bwb-slider:active {
	cursor: grabbing;
}

.bwb-slide,
.bwb-slider img {
	-webkit-user-drag: none;
	user-drag: none;
}

.bwb-track {
	position: absolute;
	inset: 0;
	display: flex;
	transition: transform 0.8s ease;
}

.bwb-slide {
	flex: 0 0 100%;
	position: relative;
	display: block;
	line-height: 0;
}

.bwb-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: absolute;
	inset: 0;
}

.bwb-dots {
	position: absolute;
	bottom: 16px;
	right: 20px;
	display: flex;
	gap: 8px;
	z-index: 3;
}

.bwb-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.3s;
}

.bwb-dot.active {
	background: var(--bwb-accent);
}

/* ---- Text-Seite ---- */

.bwb-text {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 70px 60px;
}

.bwb-text-inner {
	max-width: 480px;
	width: 100%;
}

.bwb-icon {
	width: 64px;
	height: 64px;
	border-radius: 14px;
	border: 1px solid var(--bwb-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 28px;
}

.bwb-icon svg {
	width: 34px;
	height: 34px;
}

.bwb-label {
	color: var(--bwb-accent);
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	margin-bottom: 14px;
}

.bwb-title {
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	font-family: 'Poppins', sans-serif;
	margin: 0 0 20px;
	line-height: 1.1;
}

.bwb-divider {
	width: 100%;
	height: 1px;
	background: var(--bwb-accent);
	margin-bottom: 28px;
	opacity: 0.6;
}

.bwb-desc {
	color: #c0d0d0;
	font-size: 16px;
	line-height: 1.8;
	font-weight: 400;
	margin: 0 0 32px;
}

.bwb-desc strong {
	color: #fff;
	font-weight: 700;
}

.bwb-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 30px;
	border: 2px solid var(--bwb-accent);
	border-radius: 50px;
	color: var(--bwb-accent);
	font-size: 15px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
	white-space: nowrap;
}

.bwb-btn:hover {
	background-color: var(--bwb-accent);
	color: var(--bwb-dark);
}

.bwb-btn-arrow {
	font-size: 17px;
	line-height: 1;
	transition: transform 0.25s ease;
}

.bwb-btn:hover .bwb-btn-arrow {
	transform: translateX(4px);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
	.bwb-row {
		min-height: 480px;
	}

	.bwb-text {
		padding: 50px 40px;
	}

	.bwb-title {
		font-size: 38px;
	}
}

@media (max-width: 767px) {
	.bwb-projekte-header {
		padding: 60px 20px 40px;
	}

	.bwb-projekte-header h2 {
		font-size: 32px;
	}

	.bwb-rows {
		padding: 0 0 60px;
	}

	.bwb-row,
	.bwb-row.bwb-reverse {
		flex-direction: column;
		min-height: 0;
	}

	.bwb-slider,
	.bwb-text {
		flex: none;
		max-width: 100%;
	}

	.bwb-slider {
		height: 320px;
	}

	.bwb-text {
		padding: 40px 24px 56px;
	}

	.bwb-title {
		font-size: 32px;
	}

	.bwb-desc {
		font-size: 15px;
	}
}
