
.image-comparison {
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 30px;
}


.image-comparison .text {
	font-family: 'Forza Book';
	font-size: 1.125rem;
}


.image-comparison__slider-wrapper {
position: relative;
}

.image-comparison__label {
font-size: 0;
line-height: 0;
}

.image-comparison__label,
.image-comparison__range {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: transparent;
	border: none;
	-webkit-appearance: none;
		-moz-appearance: none;
			appearance: none;
	outline: none;
	cursor: ew-resize;
	z-index: 20;
}

.image-comparison__image-wrapper--overlay {
position: absolute;
top: 0;
left: 0;
width: calc(50% + 1px);
height: 100%;
overflow: hidden;
}

.image-comparison__figure {
margin: 0;
}
.image-comparison__figure::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #f2f2f2;
}
.image-comparison__figure:not(.image-comparison__figure--overlay) {
position: relative;
padding-top: 66.666666667%;
}

.image-comparison__image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
-o-object-fit: cover;
	object-fit: cover;
-o-object-position: 0 50%;
	object-position: 0 50%;
overflow: hidden;
}
.image-comparison__figure--overlay .image-comparison__image {
z-index: 1;
}

.image-comparison__caption {
position: absolute;
bottom: 12px;
min-width: -webkit-max-content;
min-width: -moz-max-content;
min-width: max-content;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
color: #fff;
font-weight: bold;
text-transform: uppercase;
}
	@media screen and (max-width: 40.063em) {
	.image-comparison__caption {
		font-size: 12px;
	}
}

.image-comparison__caption--before {
	left: 12px;
	z-index: 2;
}

.image-comparison__caption--after {
	right: 12px;
	text-align: right;
}

.image-comparison__caption-body {
	max-width: 40vmin;
	padding: 6px 12px;
	background-color: rgba(0, 0, 0, 0.55);
}

.image-comparison__slider {
	position: absolute;
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	background-color: #fff;
	transition: background-color 0.3s ease-in-out;
	z-index: 10;
}


.image-comparison__thumb {
position: absolute;
top: calc(50% - 100px);
left: calc(50% - 100px);
width: 200px;
height: 40px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #fff;
background: transparent;
outline: none;
transform-origin: center;
background: #00CCD5;
border-radius: 50px;
transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.image-comparison__thumb .introduction::after {
	content: 'press & slide';
	font-size: 18px;
	font-weight: 400;
}

.beforeAfter {
	position: absolute;
	width: 172px;
	height: 30px;
	background: rgba(0, 0, 0, 0.4);
	bottom: -30px;
	border-bottom-left-radius: 13px;
	border-bottom-right-radius: 13px;
}

.beforeAfter::before {
	content: 'before';
	font-weight: 400;
	top: 5px;
	position: absolute;
	text-align: right;
	font-size: 1rem;
	width: 50%;
	padding-right: 10px;
	box-sizing: border-box;
}

.beforeAfter::after {
	content: 'after';
	right: 0;
	top: 5px;
	position: absolute;
	text-align: left;
	font-weight: 400;
	font-size: 1rem;
	width: 50%;
	padding-left: 10px;
	box-sizing: border-box;
}

[lang='de'] .beforeAfter::before {
	content: 'vorher';
}

[lang='de'] .beforeAfter::after {
	content: 'nachher';
}



[lang='de'] .image-comparison__thumb .introduction::after {
	content: 'hier schieben';
	font-size: 18px;
	font-weight: 400;
}

.image-comparison__thumb svg.left {
	position: absolute;
	left: 12px;
	top: 8px;
}

.image-comparison__thumb svg.right {
	position: absolute;
	right: 12px;
	top: 8px;
}



.image-comparison__range::-webkit-slider-runnable-track {
	width: 40px;
	height: 40px;
	opacity: 0;
}

.image-comparison__range::-moz-range-thumb {
	width: 40px;
	height: 40px;
	opacity: 0;
}

.image-comparison__range::-webkit-slider-thumb {
	width: 40px;
	height: 40px;
	opacity: 0;
}

.image-comparison__range::-ms-fill-lower {
	background-color: transparent;
}

.image-comparison__range::-ms-track {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	margin: 0;
	padding: 0;
	background-color: transparent;
	color: transparent;
	outline: none;
	cursor: col-resize;
}

.image-comparison__range::-ms-thumb {
width: 0.5%;
height: 100%;
opacity: 0;
}

.image-comparison__range::-ms-tooltip {
display: none;
}