#bauen-wohnen-banner,
#bauen-wohnen-banner * {
	box-sizing: border-box;
}

.bwb-banner-area {
	position: fixed;
	inset: 20px;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
}

.bwb-banner {
	position: relative;
	width: min(100%, 500px);
	height: min(100%, calc(100vh - 220px));
	background: #fceb01;
	padding: 32px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.bwb-content {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.bwb-title,
.bwb-date,
.bwb-location {
	margin: 0;
	color: #000;
	font-style: normal;
	line-height: 1.08;
	letter-spacing: 0;
	flex-shrink: 0;
}

.bwb-title {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 15px;
	padding-right: 52px;
}

.bwb-date {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 15px;
}

.bwb-location {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 20px !important;
}

.bwb-media {
	position: relative;
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	aspect-ratio: 0.7;
	max-height: 100%;
}

.bwb-video,
.bwb-video-fallback {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 4px;
	background: #000;
}

.bwb-start {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 4;

	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: rgb(252 235 3);
	border: none;
	cursor: pointer;

	display: flex;
	align-items: center;
	justify-content: center;

	transition: transform 0.2s ease, background 0.2s ease;
	aspect-ratio: 1;
    min-width: auto;
}

.bwb-start::before {
	content: '';
	display: block;

	width: 0;
	height: 0;

	border-left: 22px solid #fff;
	border-top: 14px solid transparent;
	border-bottom: 14px solid transparent;

	margin-left: 4px; 
}

.bwb-start:hover {
	transform: translate(-50%, -50%) scale(1.08);
	background: rgba(0, 0, 0, 0.85);
}

.bwb-start.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.bwb-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #000;
	border-radius: 4px;
	cursor: pointer;
	z-index: 5;
	min-width: 40px;
	background: transparent;
}

.bwb-close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 2px;
	background: #000;
	transform-origin: center;
}

.bwb-close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.bwb-close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.bwb-banner.is-hidden {
	display: none;
}

@media (max-width: 1600px) {
	.bwb-title {
		font-size: 2rem;
		margin-bottom: 8px;
	}

	.bwb-date {
		font-size: 1rem;
		margin-bottom: 8px;
	}

	.bwb-location {
		font-size: 1rem;
		margin-bottom: 16px !important;
	}
}

@media (max-width: 767px) {
	.bwb-banner-area {
		inset: 16px;
	}

	.bwb-banner {
		width: 100%;
		height: 80%;
		padding: 48px 24px 24px;
	}

	.bwb-title {
		margin-bottom: 16px;
		font-size: 1.5rem;
		padding-right: 44px;
	}

	.bwb-date {
		margin-bottom: 10px;
		font-size: 1rem;
	}

	.bwb-location {
		margin-bottom: 14px !important;
		font-size: 1rem;
	}

	.bwb-start {
		
		min-height: 56px;
		padding: 14px 24px;
		font-size: 1.4rem;
	}
}