/*
=========================================================
OPP Hinweisbox
=========================================================
*/

.opp-hinweisbox {
	display: grid;
	grid-template-columns: 1fr 3fr;
	align-items: center;
	overflow: hidden;

	margin: 32px 0;

	border: 1px solid #e5ded2;
	border-radius: 6px;

	background: #ffffff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.opp-hinweisbox__media {
	display: flex;
	align-items: center;
	justify-content: center;

	padding: 0;
	margin: 0;

	overflow: hidden;
	background: #ffffff;
}

.opp-hinweisbox__media img {
	display: block;
	width: 100%;
	height: auto;

	object-fit: contain;
	object-position: center center;
}

.opp-hinweisbox__content {
	padding: 28px 36px;
}

.opp-hinweisbox__label {
	margin: 0 0 8px;

	color: #74709b;

	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.opp-hinweisbox h2.opp-hinweisbox__title {
	margin: 0 0 10px !important;

	color: #000000 !important;

	font-size: 1.6rem !important;
	line-height: 1.15 !important;
}

.opp-hinweisbox__text {
	max-width: 760px;
	margin: 0 0 14px;

	color: #111111;

	font-size: 1rem;
	line-height: 1.45;
}

.opp-hinweisbox__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	color: #74709b !important;

	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	text-transform: uppercase;
}

.opp-hinweisbox__link:hover,
.opp-hinweisbox__link:focus {
	color: #000000 !important;
	text-decoration: underline !important;
}

.opp-hinweisbox__link span {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 18px;
	height: 18px;

	border: 1px solid currentColor;
	border-radius: 50%;

	font-size: 1rem;
	line-height: 1;
}

/*
=========================================================
Compact Layout
=========================================================
*/

.opp-hinweisbox--compact {
	grid-template-columns: 220px 1fr;
	min-height: 220px;
}

.opp-hinweisbox--compact .opp-hinweisbox__media {
	width: 220px;
	min-width: 220px;
	min-height: 220px;
}

.opp-hinweisbox--compact .opp-hinweisbox__media img {
	width: 100%;
	height: auto;
	min-height: 0;

	object-fit: contain;
	object-position: center center;
}

.opp-hinweisbox--compact .opp-hinweisbox__content {
	padding: 24px 28px;
}

.opp-hinweisbox--compact .opp-hinweisbox__label {
	margin: 0 0 8px;

	font-size: 0.8rem;
}

.opp-hinweisbox--compact .opp-hinweisbox__title {
	margin: 0 0 10px;

	font-size: clamp(1.5rem, 1.8vw, 2.1rem);
	line-height: 1.1;
}

.opp-hinweisbox--compact .opp-hinweisbox__text {
	margin: 0 0 16px;

	font-size: 0.95rem;
	line-height: 1.45;
}

.opp-hinweisbox--compact .opp-hinweisbox__link {
	margin-top: auto;
}

/*
=========================================================
Responsive
=========================================================
*/

@media (max-width: 1024px) {

	.opp-hinweisbox,
	.opp-hinweisbox--compact {
		grid-template-columns: 170px 1fr;
		align-items: center;
		min-height: 0;
	}

	.opp-hinweisbox__media,
	.opp-hinweisbox--compact .opp-hinweisbox__media {
		width: 170px;
		min-width: 170px;
		min-height: 0;
		height: auto;

		align-self: center;

		background: #ffffff;
	}

	.opp-hinweisbox__media img,
	.opp-hinweisbox--compact .opp-hinweisbox__media img {
		width: 100%;
		height: auto;

		min-height: 0 !important;

		object-fit: contain;
	}

	.opp-hinweisbox__content,
	.opp-hinweisbox--compact .opp-hinweisbox__content {
		padding: 18px 22px;
	}

	.opp-hinweisbox h2.opp-hinweisbox__title,
	.opp-hinweisbox--compact h2.opp-hinweisbox__title {
		font-size: 1.35rem !important;
		line-height: 1.15 !important;
		margin: 0 0 8px !important;
	}
}

@media (max-width: 960px) {

	.opp-hinweisbox,
	.opp-hinweisbox--compact {
		grid-template-columns: 160px 1fr;
	}

	.opp-hinweisbox__media,
	.opp-hinweisbox--compact .opp-hinweisbox__media {
		width: 160px;
		min-width: 160px;
	}

	.opp-hinweisbox__content,
	.opp-hinweisbox--compact .opp-hinweisbox__content {
		padding: 16px 20px;
	}
}

@media (max-width: 900px) {

	.opp-hinweisbox,
	.opp-hinweisbox--compact {
		grid-template-columns: 155px 1fr;
	}

	.opp-hinweisbox__media,
	.opp-hinweisbox--compact .opp-hinweisbox__media {
		width: 155px;
		min-width: 155px;
	}

	.opp-hinweisbox__content,
	.opp-hinweisbox--compact .opp-hinweisbox__content {
		padding: 18px 20px;
	}
}

@media (max-width: 820px) {

	.opp-hinweisbox,
	.opp-hinweisbox--compact {
		grid-template-columns: 150px 1fr;
	}

	.opp-hinweisbox__media,
	.opp-hinweisbox--compact .opp-hinweisbox__media {
		width: 150px;
		min-width: 150px;
	}

	.opp-hinweisbox__content,
	.opp-hinweisbox--compact .opp-hinweisbox__content {
		padding: 16px 18px;
	}

	.opp-hinweisbox h2.opp-hinweisbox__title,
	.opp-hinweisbox--compact h2.opp-hinweisbox__title {
		font-size: 1.25rem !important;
	}
}

@media (max-width: 768px) {

	.opp-hinweisbox,
	.opp-hinweisbox--compact {
		grid-template-columns: 145px 1fr;
	}

	.opp-hinweisbox__media,
	.opp-hinweisbox--compact .opp-hinweisbox__media {
		width: 145px;
		min-width: 145px;
	}

	.opp-hinweisbox__content,
	.opp-hinweisbox--compact .opp-hinweisbox__content {
		padding: 14px 16px;
	}

	.opp-hinweisbox h2.opp-hinweisbox__title,
	.opp-hinweisbox--compact h2.opp-hinweisbox__title {
		font-size: 1.15rem !important;
	}

	.opp-hinweisbox__text,
	.opp-hinweisbox--compact .opp-hinweisbox__text {
		font-size: 0.82rem;
		line-height: 1.3;
		margin-bottom: 8px;
	}
}

@media (max-width: 600px) {

	.opp-hinweisbox,
	.opp-hinweisbox--compact,
	aside.opp-hinweisbox,
	aside.opp-hinweisbox.opp-hinweisbox--compact {
		grid-template-columns: 1fr !important;
	}

	.opp-hinweisbox__media,
	.opp-hinweisbox--compact .opp-hinweisbox__media,
	aside.opp-hinweisbox .opp-hinweisbox__media,
	aside.opp-hinweisbox.opp-hinweisbox--compact .opp-hinweisbox__media {
		width: 100% !important;
		min-width: 100% !important;
		padding: 0;
		background: #ffffff;
	}

	.opp-hinweisbox__media img,
	.opp-hinweisbox--compact .opp-hinweisbox__media img {
		width: 100%;
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}

	.opp-hinweisbox__content,
	.opp-hinweisbox--compact .opp-hinweisbox__content {
		padding: 18px 20px 20px;
	}

	.opp-hinweisbox h2.opp-hinweisbox__title,
	.opp-hinweisbox--compact h2.opp-hinweisbox__title {
		font-size: 1.35rem !important;
		line-height: 1.15 !important;
		margin-bottom: 8px !important;
	}

	.opp-hinweisbox__text,
	.opp-hinweisbox--compact .opp-hinweisbox__text {
		font-size: 0.9rem;
		line-height: 1.35;
	}

	.opp-hinweisbox__link {
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {

	.opp-hinweisbox,
	.opp-hinweisbox--compact {
		grid-template-columns: 1fr;
	}

	aside.opp-hinweisbox,
	aside.opp-hinweisbox.opp-hinweisbox--compact {
		grid-template-columns: 1fr !important;
	}

	aside.opp-hinweisbox .opp-hinweisbox__media,
	aside.opp-hinweisbox.opp-hinweisbox--compact .opp-hinweisbox__media {
		width: 100% !important;
		min-width: 100% !important;
	}

	.opp-hinweisbox__media,
	.opp-hinweisbox--compact .opp-hinweisbox__media {
		width: 100%;
		min-width: 100%;

		padding: 0;

		background: #ffffff;
	}

	.opp-hinweisbox__media img,
	.opp-hinweisbox--compact .opp-hinweisbox__media img {
		width: auto;
		max-width: 100%;
		height: auto;

		margin: 0 auto;
	}

	.opp-hinweisbox__content,
	.opp-hinweisbox--compact .opp-hinweisbox__content {
		padding: 20px;
	}

	.opp-hinweisbox h2.opp-hinweisbox__title,
	.opp-hinweisbox--compact h2.opp-hinweisbox__title {
		font-size: 1.35rem !important;
		line-height: 1.15 !important;
	}

	.opp-hinweisbox__text,
	.opp-hinweisbox--compact .opp-hinweisbox__text {
		font-size: 0.9rem;
		line-height: 1.35;
	}

	.opp-hinweisbox__link {
		font-size: 0.85rem;
	}
}