.home-contact-bar { --douma-green-deep: #66752c; }

.home-contact-bar {
	position: fixed;
	top: 50%;
	right: 18px;
	z-index: 8500;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	transform: translateY(-50%);
}

.home-contact-bar__item {
	display: flex;
	align-items: center;
	width: 54px;
	height: 54px;
	overflow: hidden;
	background: var(--douma-green-deep);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 26px rgba(28, 36, 18, 0.18);
	transition: width 260ms cubic-bezier(.22, 1, .36, 1), background-color 200ms ease, transform 200ms ease;
}

html[lang^="en"] .home-contact-bar__item:last-child:not(:hover):not(:focus-visible),
html[lang^="de"] .home-contact-bar__item:last-child:not(:hover):not(:focus-visible),
html[lang^="nl"] .home-contact-bar__item:last-child:not(:hover):not(:focus-visible) {
	background: var(--douma-orange);
}

.home-contact-bar__item:first-child {
	border-radius: 14px 14px 0 0;
}

.home-contact-bar__item:last-child {
	border-radius: 0 0 0 14px;
}

.home-contact-bar__item:hover,
.home-contact-bar__item:focus-visible {
	width: 200px;
	background: #4c5820;
	color: #fff;
	text-decoration: none;
}

.home-contact-bar__icon {
	display: grid;
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	place-items: center;
}

.home-contact-bar__icon svg {
	display: block;
	width: 23px;
	height: 23px;
	fill: currentColor;
}

.home-contact-bar__label {
	padding-right: 18px;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

@media (max-width: 767.98px) {
	body {
		padding-bottom: 74px;
	}

	.home-contact-bar {
		top: auto;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom));
		flex-direction: row;
		gap: 3px;
		transform: none;
	}

	.home-contact-bar__item,
	.home-contact-bar__item:hover,
	.home-contact-bar__item:focus-visible {
		width: 50px;
		height: 50px;
		border-radius: 12px;
		transform: none;
	}

	.home-contact-bar__icon {
		flex-basis: 50px;
		width: 50px;
		height: 50px;
	}

	.home-contact-bar__label {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-contact-bar__item {
		transition: none;
	}
}
