/* Project-specific fixes and accessibility improvements. */

html {
	scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select,
[class*="col-"] {
	font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
}

img {
	max-width: 100%;
	height: auto;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1001;
	padding: 12px 16px;
	background: #fff;
	color: #111;
	transform: translateY(-150%);
	transition: transform .2s ease;
}

.skip-link:focus {
	transform: translateY(0);
}

.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

[hidden] {
	display: none !important;
}

.menu-toggle,
.modal__close {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.modal__close {
	position: absolute;
	top: -10px;
	right: -48px;
	width: 48px;
	height: 48px;
	padding: 0;
	line-height: 1;
	z-index: 2;
}

.modal__close::before {
	top: 0;
	right: 0;
}

.project-modal__date,
.project-modal__worker,
.project-modal__client {
	margin-bottom: 20px;
}

.project-modal__date::before {
	content: "Standort: ";
}

.project-modal__worker::before {
	content: "Bauherr: ";
}

.project-modal__client::before {
	content: "Angaben: ";
}

.project-modal__url::before {
	content: "Leistungen: ";
}

.project-modal__date::before,
.project-modal__worker::before,
.project-modal__client::before,
.project-modal__url::before {
	font-weight: 400;
	color: #fff;
}

.menu-toggle:focus-visible,
.modal__close:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid #30b6e9;
	outline-offset: 3px;
}

.privacy-map-replacement {
	padding: 120px 20px 70px;
	background:
		linear-gradient(rgba(12, 19, 23, .88), rgba(12, 19, 23, .88)),
		url("../img/content/lentrodt-immobilien.jpg") center / cover no-repeat;
	color: #fff;
	text-align: center;
}

.privacy-map-replacement__inner {
	width: min(760px, 100%);
	margin: 0 auto;
}

.privacy-map-replacement__title {
	margin-bottom: 20px;
	font-size: clamp(30px, 5vw, 52px);
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: .12em;
}

.privacy-map-replacement__address,
.privacy-map-replacement__notice {
	margin: 0 auto 22px;
	line-height: 1.65;
}

.privacy-map-replacement__address {
	color: #fff;
}

.privacy-map-replacement__notice {
	max-width: 620px;
	font-size: 14px;
	color: #ddd;
}

.privacy-map-replacement .btn-a {
	display: inline-block;
	margin-top: 8px;
}

.company-video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0d0d0d;
	object-fit: cover;
}

.form-privacy {
	margin: 12px 0 18px;
	font-size: 13px;
	line-height: 1.55;
}

.form-privacy a {
	text-decoration: underline;
}

.post-content p,
.post-content li {
	line-height: 1.65;
}

.post-content ul {
	margin: 10px 0 24px 22px;
	list-style: disc;
}

.post-content h2 {
	margin: 32px 0 12px;
	font-size: 24px;
	font-weight: 400;
}

.footer-contacts__link[href^="mailto:"],
.contact-info__link[href^="mailto:"] {
	overflow-wrap: anywhere;
}

.main-1-item .btn-a {
	opacity: 1 !important;
	animation-delay: 0s !important;
}

.offer-2 :nth-child(odd) .offer-2-item,
.offer-2 :nth-child(even) .offer-2-item {
	background: #0B1216;
}

.s-portfolio {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
}

.s-portfolio .portfolio-boxed {
	padding-bottom: 0;
}

.portfolio-masonry .portfolio-item__img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.constantin-profile__heading {
	margin-top: 90px;
	padding-top: 70px;
	border-top: 1px solid rgba(11, 18, 22, .12);
}

.constantin-profile {
	margin-top: 45px;
	text-align: left;
}

.constantin-profile__card .team-2-item-details {
	bottom: 52px;
}

.constantin-profile__card .team-2-item__wrap {
	width: 100%;
	aspect-ratio: 4 / 5;
}

.constantin-profile__card .team-2-item-img__blur,
.constantin-profile__card .team-2-item-img__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.constantin-profile__card .team-2-item-details__position {
	max-width: 340px;
	line-height: 1.45;
	opacity: 1;
}

.constantin-profile__copy {
	font-weight: 300;
	line-height: 1.7;
}

.constantin-profile__copy p {
	margin-bottom: 24px;
}

.constantin-profile__copy p:last-child {
	margin-bottom: 0;
}

.offer-2--project-management .offer-2-item,
.offer-2--transaction-management .offer-2-item {
	height: 920px;
}

.offer-2--project-management .offer-2-item__inner,
.offer-2--transaction-management .offer-2-item__inner {
	width: 78%;
}

.offer-2--project-management .offer-2__title,
.offer-2--transaction-management .offer-2__title {
	font-size: 30px;
}

.offer-2--project-management .offer-2__description,
.offer-2--transaction-management .offer-2__description {
	margin-bottom: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #fff;
}

.offer-2--project-management .offer-2__description p,
.offer-2--transaction-management .offer-2__description p {
	margin-bottom: 17px;
	color: #fff;
}

.offer-2--project-management .offer-2__description strong,
.offer-2--transaction-management .offer-2__description strong {
	color: #fff;
	font-weight: 500;
}

.offer-2--project-management .offer-2__description p:last-child,
.offer-2--transaction-management .offer-2__description p:last-child {
	margin-bottom: 0;
}

.offer-2--project-management .offer-2-item__bg {
	background-position: 48% 50%;
}

.offer-2--transaction-management .offer-2-item__bg {
	background-position: 50% 50%;
}

@media (max-width: 1199px) and (min-width: 992px) {
	.offer-2--project-management .offer-2-item,
	.offer-2--transaction-management .offer-2-item {
		height: 1040px;
	}

	.offer-2--project-management .offer-2-item__inner,
	.offer-2--transaction-management .offer-2-item__inner {
		width: 84%;
	}

	.offer-2--project-management .offer-2__description,
	.offer-2--transaction-management .offer-2__description {
		font-size: 14px;
	}
}

@media (max-width: 991px) {
	.offer-2--project-management > [class*="col-"],
	.offer-2--transaction-management > [class*="col-"] {
		float: none;
		width: 100%;
	}

	.offer-2--project-management .offer-2-item--copy,
	.offer-2--transaction-management .offer-2-item--copy {
		height: auto;
		min-height: 0;
		overflow: visible;
	}

	.offer-2--project-management .offer-2-item--image,
	.offer-2--transaction-management .offer-2-item--image {
		height: 520px;
	}

	.offer-2--project-management .offer-2-item__inner,
	.offer-2--transaction-management .offer-2-item__inner {
		position: relative;
		top: auto;
		width: auto;
		padding: 65px 11%;
		transform: none;
	}
}

@media (max-width: 767px) {
	.modal__close {
		top: -5px;
		right: 0;
	}

.portfolio-2 .portfolio-item__link {
	opacity: 1;
	transform: none;
}

.main-1-item__title {
	font-size: clamp(29px, 8.2vw, 42px);
	line-height: 1.15;
}

	.main-1-item .btn-a {
		margin-top: 28px;
	}

	.constantin-profile__heading {
		margin-top: 60px;
		padding-top: 50px;
	}

	.constantin-profile {
		margin-top: 30px;
	}

	.constantin-profile__card {
		margin-bottom: 35px;
	}

	.constantin-profile__copy {
		line-height: 1.65;
	}

	.offer-2--project-management .offer-2-item--image,
	.offer-2--transaction-management .offer-2-item--image {
		height: 330px;
	}

	.offer-2--project-management .offer-2-item__inner,
	.offer-2--transaction-management .offer-2-item__inner {
		padding: 50px 30px;
	}

	.offer-2--project-management .offer-2__title,
	.offer-2--transaction-management .offer-2__title {
		font-size: 27px;
	}

	.offer-2--project-management .offer-2__description,
	.offer-2--transaction-management .offer-2__description {
		font-size: 15px;
	}

	.privacy-map-replacement {
		padding-top: 115px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
