/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Child theme for Hello Elementor
Author: Your Name
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

body {
  font-family: 'Montserrat', sans-serif;
}

.wpj-copyright {
  display: inline-block;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.wpj-project-single,
.elementor-shortcode {
  font-family: 'Montserrat', sans-serif;
  --wpj-page-max: 1600px;
  --wpj-black: #111111;
  --wpj-white: #ffffff;
  --wpj-green: #B99052;
  --wpj-green-dark: #967843;
  --wpj-green-light: #D4B078;
  --wpj-text: #4d5562;
  --wpj-muted: #7b8391;
  --wpj-line: rgba(17, 17, 17, 0.08);
  --wpj-line-strong: rgba(17, 17, 17, 0.12);
  --wpj-soft: #f5f6f8;
  --wpj-soft-2: #f0f2f5;
  --wpj-card: #ffffff;
  --wpj-hero-card: rgba(255, 255, 255, 0.06);
  --wpj-shadow-sm: 0 10px 24px rgba(16, 24, 40, 0.05);
  --wpj-shadow-md: 0 18px 40px rgba(16, 24, 40, 0.08);
  --wpj-shadow-lg: 0 24px 56px rgba(16, 24, 40, 0.12);
  background: #fff;
  color: var(--wpj-black);
}

.wpj-project-single * {
  box-sizing: border-box;
}

.wpj-wrap {
  width: min(1920px, calc(100% - 32px));
  margin: 0 auto;
}

/* -------------------------------------------------
   HERO
------------------------------------------------- */
.wpj-project-single .wpj-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
}

.wpj-project-single .wpj-hero--featured {
	background:
		radial-gradient(circle at 82% 18%, rgba(185, 144, 82, 0.22), transparent 24%),
		radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.06), transparent 28%),
		linear-gradient(135deg, #171a20 0%, #222730 46%, #2b313c 100%);
	padding: clamp(120px, 20vw, 220px) 0 clamp(56px, 8vw, 96px);
	min-height: clamp(520px, 62vh, 760px);
}

.wpj-project-single .wpj-hero--has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--wpj-hero-bg-image);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	transform: scale(1.03);
	filter: saturate(1.05) contrast(1.03) brightness(0.72);
	opacity: 0.88;
}

.wpj-project-single .wpj-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(10, 12, 16, 0.18) 0%, rgba(10, 12, 16, 0.42) 52%, rgba(10, 12, 16, 0.82) 100%),
		radial-gradient(circle at 78% 16%, rgba(185, 144, 82, 0.16), transparent 28%);
	opacity: var(--wpj-hero-overlay-opacity, 0.78);
}

.wpj-project-single .wpj-hero--has-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.22) 100%);
}

.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg {
	width: min(var(--wpj-page-max), calc(100% - 32px));
	max-width: min(var(--wpj-page-max), calc(100% - 32px));
	margin: clamp(20px, 2.5vw, 32px) auto 0;
	border-radius: 28px;
}

.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-head,
.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-card {
	width: 100%;
	max-width: 520px;
}

.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-headline {
	grid-template-columns: 1fr;
	border-radius: 16px;
}

.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-title-box,
.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-address-box {
	min-height: 0;
	padding: 20px 22px;
}

.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-title {
	font-size: clamp(22px, 2.4vw, 30px);
}

.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-address-box {
	font-size: 14px;
}

.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-facts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-fact {
	min-height: 0;
	padding: 12px 14px;
}

.wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-desc {
	max-width: 520px;
}

.wpj-project-single .wpj-wrap {
	width: min(var(--wpj-page-max), calc(100% - 32px));
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.wpj-project-single .wpj-hero-head {
	padding-bottom: 12px;
}

.wpj-project-single .wpj-hero--featured .wpj-kicker {
	display: inline-flex;
	align-items: center;
	margin-bottom: 18px;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	color: var(--wpj-green-light);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.wpj-project-single .wpj-hero-card {
	max-width: 980px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.06);
	box-shadow:
		0 24px 60px rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
}

.wpj-project-single .wpj-hero-headline {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	overflow: hidden;
	border-radius: 18px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.wpj-project-single .wpj-hero-title-box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	min-height: 112px;
	padding: 26px 30px;
	background: rgba(255, 255, 255, 0.96);
}

.wpj-project-single .wpj-hero-title-label {
	color: #8a8f98;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.wpj-project-single .wpj-hero--featured .wpj-title {
	margin: 0;
	font-size: clamp(28px, 4.2vw, 46px);
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: #1f2430;
}

.wpj-project-single .wpj-hero-address-box {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 112px;
	padding: 26px 30px;
	background: linear-gradient(145deg, var(--wpj-green) 0%, var(--wpj-green-dark) 100%);
	color: #fff;
	font-size: clamp(15px, 2vw, 18px);
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
}

.wpj-project-single .wpj-hero-address-box:hover {
	transform: translateY(-2px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	filter: brightness(1.04);
	color: #fff;
}

.wpj-project-single .wpj-hero-address-label {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.14);
}

.wpj-project-single .wpj-hero-address-text {
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.wpj-project-single .wpj-hero-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.wpj-project-single .wpj-hero-fact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 74px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(8px);
}

.wpj-project-single .wpj-hero-fact strong {
	color: rgba(255, 255, 255, 0.62);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.wpj-project-single .wpj-hero-fact span {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.wpj-project-single .wpj-hero-fact--accent {
	border-color: rgba(185, 144, 82, 0.42);
	background: rgba(185, 144, 82, 0.18);
}

.wpj-project-single .wpj-hero-fact--accent strong {
	color: rgba(255, 255, 255, 0.78);
}

.wpj-project-single .wpj-hero--featured .wpj-hero-desc {
	max-width: 760px;
	margin-top: 22px;
	font-size: 17px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.84);
}

.wpj-project-single .wpj-section--overview {
	padding-top: 48px;
	padding-bottom: 56px;
}

.wpj-project-single .wpj-section--overview .wpj-section-grid {
	align-items: center;
}

.wpj-project-single .wpj-section--overview .wpj-section-title {
	max-width: 900px;
}

.wpj-project-single .wpj-section--overview .wpj-section-text {
	max-width: 900px;
}

/* -------------------------------------------------
   GENERIC SECTIONS
------------------------------------------------- */

.wpj-project-single .wpj-section {
  padding: 72px 0;
}

.wpj-project-single .wpj-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.wpj-project-single .wpj-section-grid--sidebar,
.wpj-project-single.wpj-project-single--planung .wpj-section-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.wpj-project-single .wpj-overview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.wpj-project-single .wpj-downloads-card {
  overflow: hidden;
  border: 1px solid var(--wpj-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--wpj-shadow-sm);
}

.wpj-project-single .wpj-downloads-label {
  padding: 12px 16px;
  background: var(--wpj-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wpj-project-single .wpj-downloads-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpj-project-single .wpj-downloads-list li + li {
  border-top: 1px solid var(--wpj-line);
}

.wpj-project-single .wpj-download-link {
  display: block;
  padding: 14px 16px;
  color: var(--wpj-green-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.wpj-project-single .wpj-download-link:hover {
  background: rgba(185, 144, 82, 0.08);
  color: var(--wpj-black);
}

.wpj-project-single .wpj-section-grid-main .wpj-gallery-wrap {
  margin-top: 8px;
  margin-inline: 0;
  max-width: 100%;
}

.wpj-project-single .wpj-overview-sidebar .wpj-gallery-wrap {
  margin-inline: 0;
  max-width: 100%;
}

.wpj-project-single .wpj-lagetext {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.75;
}

.wpj-section-label {
  display: inline-flex;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(185, 144, 82, 0.35);
  border-radius: 999px;
  background: rgba(185, 144, 82, 0.08);
  color: var(--wpj-green-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.wpj-section-text--intro {
  color: var(--wpj-green)!important;
  font-size: 20px!important;
  font-weight: 400!important;
  line-height: 1.2!important;
}
.wpj-section-title {
  margin: 16px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 400!important;
  letter-spacing: -0.03em;
  color: #121417;
}

.wpj-section-text {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--wpj-text);
}

.wpj-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* -------------------------------------------------
   PROJECT CARDS
------------------------------------------------- */

.wpj-project-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.wpj-project-cards-grid--list {
  grid-template-columns: 1fr;
}

.wpj-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

.wpj-project-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9edf2;
}

.wpj-project-card-media img,
.wpj-project-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wpj-project-card-placeholder {
  background: linear-gradient(135deg, #dfe5eb 0%, #cfd7e0 100%);
}

.wpj-project-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  background: #1a2e2a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.wpj-project-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px 22px 20px;
}

.wpj-project-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wpj-project-card-title a {
  color: #111;
  text-decoration: none;
}

.wpj-project-card-title a:hover {
  color: #111;
}

.wpj-project-card-address {
  margin-top: 8px;
  color: #888;
  font-size: 14px;
  line-height: 1.45;
}

.wpj-project-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.wpj-project-card-stat {
  text-align: center;
}

.wpj-project-card-stat-value {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wpj-project-card-stat-label {
  display: block;
  margin-top: 8px;
  color: #888;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}

.wpj-project-card-stat--total .wpj-project-card-stat-value {
  color: #111;
}

.wpj-project-card-stat--free .wpj-project-card-stat-value {
  color: #1656ad;
}

.wpj-project-card-stat--sold .wpj-project-card-stat-value {
  color: var(--wpj-green);
}

.wpj-project-card-footer {
  margin-top: auto;
  padding-top: 18px;
}

.wpj-project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none!important;
  transition: color 0.2s ease, gap 0.2s ease;
}

.wpj-project-card-link:hover {
  color: #111;
  gap: 12px;
}

.wpj-project-card-link-arrow {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .wpj-project-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wpj-project-cards-grid {
    grid-template-columns: 1fr;
  }

  .wpj-project-card-body {
    padding: 18px 18px 16px;
  }

  .wpj-project-card-title {
    font-size: 16px;
  }

  .wpj-project-card-stat-value {
    font-size: 28px;
  }
}

/* -------------------------------------------------
   BUTTONS
------------------------------------------------- */

.wpj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.wpj-btn:hover {
  transform: translateY(-1px);
}

.wpj-btn--green {
  background: var(--wpj-green);
  color: var(--wpj-black);
  box-shadow: 0 14px 28px rgba(185, 144, 82, 0.26);
}

.wpj-btn--green:hover {
  background: var(--wpj-green-light);
  box-shadow: 0 18px 34px rgba(185, 144, 82, 0.3);
}

.wpj-btn--line {
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fff;
  color: var(--wpj-black);
}

.wpj-btn--line:hover {
  border-color: rgba(185, 144, 82, 0.45);
  background: #fbfcf7;
}

.wpj-btn--icon .wpj-btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.wpj-btn--icon .wpj-btn-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* -------------------------------------------------
   INFO CARD
------------------------------------------------- */

.wpj-project-single .wpj-info-card {
  padding: 28px;
  border-radius: 28px;
  background: #111317;
  color: #fff;
  box-shadow: var(--wpj-shadow-md);
}

.wpj-project-single .wpj-info-card h3 {
  margin: 12px 0 0;
  font-size: 28px;
  line-height: 1.18;
}

.wpj-project-single .wpj-info-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
  font-size: 15px;
}

/* -------------------------------------------------
   GALLERY
------------------------------------------------- */

.wpj-project-single .wpj-gallery-shell {
  position: relative;
}

.wpj-project-single .wpj-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.wpj-project-single .wpj-gallery-track::-webkit-scrollbar {
  display: none;
}

.wpj-project-single .wpj-gallery-slide {
  scroll-snap-align: start;
}

.wpj-project-single .wpj-gallery-image-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wpj-project-single .wpj-gallery-image-btn img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--wpj-shadow-sm);
}

.wpj-project-single .wpj-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.9);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.wpj-project-single .wpj-gallery-prev {
  left: -12px;
}

.wpj-project-single .wpj-gallery-next {
  right: -12px;
}

/* -------------------------------------------------
   TABLE
------------------------------------------------- */

.wpj-project-single .wpj-table-section {
  background: linear-gradient(180deg, #f6f7f9 0%, #f3f5f7 100%);
}

.wpj-project-single .wpj-units-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wpj-project-single .wpj-units-type {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: #f3f3f3;
  color: #666;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wpj-project-single .wpj-units-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.wpj-project-single .wpj-units-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.wpj-project-single .wpj-units-badge--free {
  background: var(--wpj-green);
}

.wpj-project-single .wpj-units-badge--sold,
.wpj-project-single .wpj-units-badge--reserved {
  background: #555;
}

.wpj-project-single .wpj-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  box-shadow: var(--wpj-shadow-sm);
}

.wpj-project-single table.wpj-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-size: 13px;
}

.wpj-project-single .wpj-table-wrap:has(+ .wpj-table-footnote) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.wpj-project-single .wpj-table-footnote {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  background: linear-gradient(180deg, #3f4249 0%, #363a41 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-top: 2px solid var(--wpj-green);
  border-radius: 0 0 20px 20px;
  box-shadow: var(--wpj-shadow-sm);
}

.wpj-project-single .wpj-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wpj-project-single .wpj-status--available {
  background: rgba(185, 144, 82, 0.2);
  color: #3d2e14;
}

.wpj-project-single .wpj-status--reserved,
.wpj-project-single .wpj-status--sold {
  background: rgba(17, 17, 17, 0.08);
  color: #444d58;
}

.wpj-project-single .wpj-table thead th {
  padding: 11px 10px;
  background: linear-gradient(180deg, #3f4249 0%, #363a41 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid var(--wpj-green);
  vertical-align: middle;
  white-space: nowrap;
}

.wpj-project-single .wpj-table thead th.wpj-col-plan {
  width: 44px;
  padding-left: 8px;
  padding-right: 8px;
}

.wpj-project-single .wpj-table td.wpj-col-plan {
  text-align: center;
}

.wpj-project-single .wpj-table td.wpj-col-plan .wpj-lightbox-trigger.wpj-plan-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 144, 82, 0.35);
  background: rgba(185, 144, 82, 0.08);
  color: var(--wpj-green);
  border-radius: 10px;
}

.wpj-project-single .wpj-table td.wpj-col-plan .wpj-plan-btn svg {
  display: block;
  width: 16px;
  height: 16px;
}

.wpj-project-single .wpj-table td.wpj-col-plan .wpj-plan-btn:hover {
  color: var(--wpj-green-dark);
  border-color: rgba(185, 144, 82, 0.55);
  background: rgba(185, 144, 82, 0.14);
}

.wpj-project-single .wpj-table thead th:first-child {
  border-top-left-radius: 20px;
}

.wpj-project-single .wpj-table thead th:last-child {
  border-top-right-radius: 20px;
  border-right: 0;
}

.wpj-project-single .wpj-table tbody tr {
  transition: background 0.2s ease;
}

.wpj-project-single .wpj-table tbody tr:nth-child(odd) {
  background: rgba(17, 17, 17, 0.014);
}

.wpj-project-single .wpj-table tbody tr:hover {
  background: rgba(185, 144, 82, 0.05);
}

.wpj-project-single .wpj-table tbody td {
  padding: 10px 10px;
  border: none;
  border-right: 1px solid rgba(17, 17, 17, 0.06);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  color: #566171;
  font-size: 13px;
  line-height: 1.4;
  vertical-align: middle;
  background: transparent;
}

.wpj-project-single .wpj-table td.is-top {
  white-space: nowrap;
}

.wpj-project-single .wpj-table td.wpj-col-freiflaeche {
  white-space: normal;
}

.wpj-project-single .wpj-table td.wpj-col-freiflaeche br {
  display: block;
  content: "";
  margin-top: 2px;
}

.wpj-project-single .wpj-table {
  table-layout: auto;
}

.wpj-project-single .wpj-table tbody td,
.wpj-project-single .wpj-table thead th {
  white-space: nowrap;
}

.wpj-project-single .wpj-table td.is-top .wpj-status {
  margin: 0 0 0 4px;
  flex: 0 0 auto;
}

.wpj-project-single .wpj-table .is-price {
  white-space: nowrap;
}

.wpj-project-single .wpj-table td.is-top .wpj-status {
  margin-top: 0;
  flex: 0 0 auto;
}

.wpj-project-single .wpj-table .wpj-top-value {
  font-weight: 700;
  color: #111317;
}

.wpj-project-single .wpj-table tbody tr.is-sold .is-price {
  color: transparent;
}

.wpj-project-single .wpj-table tbody td:last-child {
  border-right: 0;
}

.wpj-project-single .wpj-table tbody tr:last-child td {
  border-bottom: 0;
}

.wpj-project-single .wpj-table .is-top,
.wpj-project-single .wpj-table .is-price {
  color: #111317;
  font-weight: 700;
}

.wpj-project-single .wpj-table .is-price {
  white-space: nowrap;
}

.wpj-project-single .wpj-lightbox-trigger,
.wpj-project-single .wpj-plan-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #f7f8fa;
  color: #55606e;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}
.wpj-project-single .wpj-lightbox-trigger:not(.wpj-plan-btn) {
  border: none;
  background: none;
  padding: 0;
}

.wpj-project-single .wpj-lightbox-trigger:hover,
.wpj-project-single .wpj-plan-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(185, 144, 82, 0.45);
  background: #fcfdf8;
  color: #111;
}

/* -------------------------------------------------
   CONTACT / FORM
------------------------------------------------- */

.wpj-project-single .wpj-form-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 12px;
}

.wpj-project-single .wpj-form-layout--stacked {
  grid-template-columns: 1fr;
}

.wpj-project-single .wpj-contact-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 32px;
  color: #111317;
  border: 1px solid #fcfcfd;
  box-shadow: var(--wpj-shadow-lg);
  height: 100%;
  overflow: hidden;
}

.wpj-project-single .wpj-contact-card-head {
  padding: 32px 32px 0;
}

.wpj-project-single .wpj-form-intro {
  padding: 32px;
  border-radius: 32px;
  background: #111317;
  color: #fff;
  box-shadow: var(--wpj-shadow-lg);
}

.wpj-project-single .wpj-form-intro h2,
.wpj-project-single .wpj-contact-card h2 {
  margin: 12px 0 0;
  font-size: 34px;
  line-height: 1.15;
}

.wpj-project-single .wpj-form-intro p,
.wpj-project-single .wpj-contact-card p {
  margin-top: 18px;
  color: #111317;
  line-height: 1.85;
}

.wpj-project-single .wpj-contact-lines {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.wpj-project-single .wpj-contact-lines--inline {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wpj-project-single .wpj-contact-map {
  flex: 1 1 auto;
  margin: 24px 32px 0;
  min-height: 280px;
  max-height: 440px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.wpj-project-single .wpj-contact-map iframe,
.wpj-project-single .wpj-contact-map img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
  object-fit: cover;
}

.wpj-project-single .wpj-contact-map-link {
  display: inline-flex;
  align-items: center;
  margin: 18px 32px 32px;
  color: var(--wpj-green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.wpj-project-single .wpj-contact-map-link:hover {
  color: var(--wpj-green-light);
}

.wpj-project-single .wpj-contact-card-head .wpj-contact-lines {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.wpj-project-single .wpj-contact-line {
  padding: 18px 20px;
  border: 1px solid var(--wpj-green);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.wpj-project-single .wpj-contact-line strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wpj-green);
}

.wpj-project-single .wpj-contact-line span {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  color: #111317;
}

.wpj-project-single .wpj-form-card,
.wpj-project-single .wpj-map-card {
  padding: 32px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  box-shadow: var(--wpj-shadow-md);
}

.wpj-project-single .wpj-form-card {
  min-height: 100%;
}

/* CF7 form — .wpj-cf7-form (all shortcode calls) */
.wpj-form-card:has(.wpj-cf7-form) {
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.wpj-cf7-form {
  padding: 28px !important;
  border-radius: 28px;
  background: linear-gradient(180deg, #3f4044 0%, #343539 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  color: #fff;
}

.wpj-cf7-form .wpcf7-form {
  margin: 0;
}

.wpj-cf7-form .cf-container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px 16px;
}

.wpj-cf7-form .cf-col-6 {
  grid-column: span 6;
}

.wpj-cf7-form .cf-col-12 {
  grid-column: span 12;
}

.wpj-cf7-form .wpcf7-form p {
  margin: 0;
}

.wpj-cf7-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.wpj-cf7-form label.not-req {
  color: rgba(255, 255, 255, 0.56);
}

.wpj-cf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpj-cf7-form .form-control,
.wpj-cf7-form select.form-control,
.wpj-cf7-form textarea.form-control {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #4a4a4d;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.wpj-cf7-form select.form-control {
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.72) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% + 2px),
    calc(100% - 16px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.wpj-cf7-form textarea.form-control {
  min-height: 160px;
  padding: 18px 20px;
  resize: vertical;
}

.wpj-cf7-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.86);
  opacity: 1;
}

.wpj-cf7-form .form-control:hover {
  background: #505055;
  border-color: rgba(255, 255, 255, 0.24);
}

.wpj-cf7-form .form-control:focus {
  border-color: var(--wpj-green);
  box-shadow: 0 0 0 4px rgba(185, 144, 82, 0.14);
  background: #505055;
}

.wpj-cf7-form .form-control[readonly],
.wpj-cf7-form .wpj-cf7-subject-field .form-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(185, 144, 82, 0.28);
  color: #fff;
  cursor: default;
}

.wpj-cf7-form .form-control[readonly]:hover,
.wpj-cf7-form .form-control[readonly]:focus,
.wpj-cf7-form .wpj-cf7-subject-field .form-control:hover,
.wpj-cf7-form .wpj-cf7-subject-field .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(185, 144, 82, 0.28);
  box-shadow: none;
}

.wpj-cf7-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpj-cf7-form .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.wpj-cf7-form .form-datenchutzs-checkbox {
  position: relative;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.wpj-cf7-form .form-datenchutzs-checkbox:hover {
  border-color: var(--wpj-green);
}

.wpj-cf7-form .form-datenchutzs-checkbox:checked {
  background: var(--wpj-green);
  border-color: var(--wpj-green);
  box-shadow: 0 0 0 4px rgba(185, 144, 82, 0.12);
}

.wpj-cf7-form .form-datenchutzs-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wpj-cf7-form .wpcf7-acceptance a {
  color: var(--wpj-green-light);
  text-decoration: none;
  font-weight: 600;
}

.wpj-cf7-form .wpcf7-acceptance a:hover {
  text-decoration: underline;
}

.wpj-cf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  background: var(--wpj-green);
  color: #111;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(185, 144, 82, 0.26);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.wpj-cf7-form .wpcf7-submit:hover:not(:disabled) {
  background: var(--wpj-green-light);
  box-shadow: 0 18px 34px rgba(185, 144, 82, 0.3);
  transform: translateY(-1px);
}

.wpj-cf7-form .wpcf7-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wpj-cf7-form .wpcf7-not-valid {
  border-color: #ff7a7a !important;
  box-shadow: 0 0 0 4px rgba(255, 122, 122, 0.1);
}

.wpj-cf7-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #ff9f9f;
}

.wpj-cf7-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #fff;
}

.wpj-cf7-form form.sent .wpcf7-response-output {
  border: 1px solid rgba(185, 144, 82, 0.3);
  background: rgba(185, 144, 82, 0.1);
}

.wpj-cf7-form form.invalid .wpcf7-response-output,
.wpj-cf7-form form.unaccepted .wpcf7-response-output,
.wpj-cf7-form form.failed .wpcf7-response-output {
  border: 1px solid rgba(255, 122, 122, 0.32);
  background: rgba(255, 122, 122, 0.08);
}

.wpj-cf7-form .wpcf7-spinner {
  margin-left: 12px;
  background-color: var(--wpj-green);
}

.wpj-cf7-form .hidden-field,
.wpj-cf7-form .altEmail_container,
.wpj-cf7-form #altEmail_container,
.wpj-cf7-form .wpa-test-msg,
.wpj-cf7-form .wpa_hidden_field,
.wpj-cf7-form .hidden-fields-container {
  display: none !important;
}


/* -------------------------------------------------
   MAP SECTION
------------------------------------------------- */
.wpj-map-section {
  padding-top: 0;
}

.wpj-map-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 28px;
}

.wpj-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.wpj-map-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--wpj-text);
  max-width: 760px;
}

.wpj-map-card {
  overflow: hidden;
  padding: 0!important;
}

.wpj-map-card--full {
  padding: 0;
  border: none;
}

.wpj-map-card iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
  border-radius: 22px;
  background: #eef1f4;
}
.page.wpj-map-section .wpj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.page.wpj-map-section .wpj-btn:hover {
  transform: translateY(-1px);
}

.page.wpj-map-section .wpj-btn--green {
  background: var(--wpj-green);
  color: var(--wpj-black);
  box-shadow: 0 14px 28px rgba(185, 144, 82, 0.26);
}

.page.wpj-map-section .wpj-btn--green:hover {
  background: var(--wpj-green-light);
  box-shadow: 0 18px 34px rgba(185, 144, 82, 0.3);
}

.page.wpj-map-section .wpj-btn--line {
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fff;
  color: var(--wpj-black);
}

.page.wpj-map-section .wpj-btn--line:hover {
  border-color: rgba(185, 144, 82, 0.45);
  background: #fbfcf7;
}

.wpj-brochure-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}


/* -------------------------------------------------
   LIGHTBOX
------------------------------------------------- */

.wpj-project-single .wpj-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
}

.wpj-project-single .wpj-lightbox.is-active {
  display: flex;
}

.wpj-project-single .wpj-lightbox-inner {
  position: relative;
  max-height: 90vh;
  max-width: min(1100px, 100%);
}

.wpj-project-single .wpj-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.wpj-project-single .wpj-lightbox img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}

.wpj-project-single .wpj-lightbox-caption {
  margin-top: 12px;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

/* -------------------------------------------------
   TABLET
------------------------------------------------- */

@media (max-width: 1024px) {
  .wpj-project-single .wpj-section-grid--sidebar,
  .wpj-project-single.wpj-project-single--planung .wpj-section-grid {
    grid-template-columns: 1fr;
  }

  .wpj-project-single .wpj-form-layout {
    grid-template-columns: 1fr;
  }

  .wpj-project-single .wpj-hero-headline {
    grid-template-columns: 1fr;
  }

  .wpj-project-single .wpj-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

 .wpj-map-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* -------------------------------------------------
   MOBILE
------------------------------------------------- */

@media (max-width: 767px) {
  .wpj-cf7-form .cf-col-6,
  .wpj-cf7-form .cf-col-12 {
    grid-column: span 12;
  }

  .wpj-cf7-form {
    padding: 20px !important;
    border-radius: 24px;
  }

  .wpj-cf7-form .wpcf7-submit {
    width: 100%;
  }

  .wpj-project-single .wpj-wrap {
    width: min(var(--wpj-page-max), calc(100% - 20px));
  }

  .wpj-project-single .wpj-hero--featured {
    padding-top: 88px;
  }

  .wpj-project-single .wpj-hero--featured.wpj-hero--has-bg {
    width: min(var(--wpj-page-max), calc(100% - 20px));
    max-width: min(var(--wpj-page-max), calc(100% - 20px));
    margin-top: 16px;
    border-radius: 20px;
  }

  .wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-head,
  .wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-card,
  .wpj-project-single .wpj-hero--featured.wpj-hero--has-bg .wpj-hero-desc {
    max-width: 100%;
  }

  .wpj-project-single .wpj-hero-card {
    padding: 14px;
    border-radius: 20px;
  }

  .wpj-project-single .wpj-hero-headline {
    grid-template-columns: 1fr;
  }

  .wpj-project-single .wpj-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wpj-project-single .wpj-hero-title-box,
  .wpj-project-single .wpj-hero-address-box {
    min-height: 0;
    padding: 20px 22px;
  }

  .wpj-project-single .wpj-hero--featured .wpj-title {
    font-size: 24px;
  }

  .wpj-project-single .wpj-hero-address-box {
    font-size: 14px;
  }

  .wpj-project-single .wpj-hero-desc,
  .wpj-project-single .wpj-section-text,
  .wpj-project-single .wpj-map-text {
    font-size: 15px;
    line-height: 1.8;
  }

  .wpj-project-single .wpj-meta-grid {
    grid-template-columns: 1fr;
  }

  .wpj-project-single .wpj-section,
  .wpj-project-single .wpj-table-section {
    padding: 56px 0;
  }

  .wpj-project-single .wpj-gallery-track {
    grid-auto-columns: 82%;
  }

  .wpj-project-single .wpj-gallery-image-btn img {
    height: 240px;
  }

  .wpj-project-single .wpj-gallery-prev {
    left: -6px;
  }

  .wpj-project-single .wpj-gallery-next {
    right: -6px;
  }

  .wpj-project-single .wpj-units-head {
    flex-direction: column;
    align-items: stretch;
  }

  .wpj-project-single .wpj-units-badges {
    flex-direction: column;
  }

  .wpj-project-single .wpj-units-badge {
    width: 100%;
  }

  .wpj-project-single .wpj-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    box-shadow: var(--wpj-shadow-md);
  }

  .wpj-project-single .wpj-table-wrap:has(+ .wpj-table-footnote) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .wpj-project-single .wpj-table-footnote {
    width: 100%;
    border-radius: 0 0 20px 20px;
  }

  .wpj-project-single table.wpj-table {
    width: max-content;
    min-width: 880px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
  }

  .wpj-project-single .wpj-table,
  .wpj-project-single .wpj-table thead,
  .wpj-project-single .wpj-table tbody,
  .wpj-project-single .wpj-table tr {
    display: table;
    width: auto;
  }

  .wpj-project-single .wpj-table thead {
    display: table-header-group;
  }

  .wpj-project-single .wpj-table tbody {
    display: table-row-group;
  }

  .wpj-project-single .wpj-table tr {
    display: table-row;
  }

  .wpj-project-single .wpj-table th,
  .wpj-project-single .wpj-table td {
    display: table-cell;
    width: auto;
  }

  .wpj-project-single .wpj-table td {
    position: static;
    padding: 10px 10px;
    border-right: 1px solid rgba(17, 17, 17, 0.06);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
    font-size: 13px;
    min-height: 0;
    background: transparent;
    vertical-align: middle;
    white-space: nowrap;
  }

  .wpj-project-single .wpj-table td:last-child {
    border-right: 0;
  }

  .wpj-project-single .wpj-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .wpj-project-single .wpj-table td::before {
    display: none !important;
    content: none !important;
  }

  .wpj-project-single .wpj-table td.wpj-col-plan {
    padding-left: 16px;
  }

  .wpj-project-single .wpj-table td.wpj-col-plan .wpj-lightbox-trigger,
  .wpj-project-single .wpj-table td.wpj-col-plan .wpj-plan-btn {
    width: 44px;
    justify-content: center;
  }

  .wpj-project-single .wpj-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .wpj-btn {
    width: 100%;
  }

  .wpj-project-single .wpj-form-card,
  .wpj-project-single .wpj-contact-card,
  .wpj-map-card {
    padding: 0;
    border-radius: 24px;
  }

  .wpj-map-card {
    padding: 0!important;
  }

  .wpj-map-card--full {
    padding: 12px;
  }

  .wpj-map-card iframe {
    height: 320px;
  }
}

/* =========================================
   wpj INLINE GALLERY SLIDER
========================================= */

.wpj-project-single .wpj-gallery-wrap {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.wpj-project-single .wpj-gallery-inline {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  align-self: center;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wpj-project-single .wpj-gallery-stage {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
}

.wpj-project-single .wpj-gallery-swiper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  flex: 0 0 auto;
  height: auto;
}

.wpj-project-single .wpj-gallery-inline .swiper-wrapper {
  align-items: stretch;
  height: auto;
}

.wpj-project-single .wpj-gallery-inline .swiper-slide {
  width: 100% !important;
  height: auto;
  display: flex;
}

.wpj-project-single .wpj-gallery-card {
  background: transparent;
  border-radius: 28px;
  padding: 0;
  box-shadow: none;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.wpj-project-single .wpj-gallery-card--image {
  overflow: hidden;
  height: auto;
}

.wpj-project-single .wpj-gallery-image-btn {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 28px;
  overflow: hidden;
}

.wpj-project-single .wpj-gallery-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
}

.wpj-project-single .wpj-gallery-nav {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  transition: all 0.3s;
  flex: 0 0 auto;
  line-height: 0;
}

.wpj-project-single .wpj-gallery-nav svg {
  width: 48px;
  height: 48px;
  display: block;
  cursor: pointer;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.08));
}

.wpj-project-single .wpj-gallery-nav.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.wpj-project-single .wpj-gallery-nav.is-disabled svg path,
.wpj-project-single .wpj-gallery-nav[disabled] svg path {
  stroke: #c1cad4;
}

.wpj-project-single .wpj-gallery-pagination {
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  position: static !important;
  flex: 0 0 auto;
}

.wpj-project-single .wpj-gallery-pagination .swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50px !important;
  background: #c1cad4 !important;
  opacity: 1 !important;
  margin: 0 !important;
  transition: all 0.3s !important;
}

.wpj-project-single .wpj-gallery-pagination .swiper-pagination-bullet-active {
  width: 32px !important;
  background: var(--wpj-green) !important;
}

@media (max-width: 1024px) {
  .wpj-project-single .wpj-gallery-inline {
    height: auto;
  }

  .wpj-project-single .wpj-gallery-prev,
  .wpj-project-single .wpj-gallery-next {
    display: none;
  }

  .wpj-project-single .wpj-gallery-stage {
    gap: 0;
    height: auto;
    min-height: 0;
  }

  .wpj-project-single .wpj-gallery-swiper,
  .wpj-project-single .wpj-gallery-inline .swiper-wrapper,
  .wpj-project-single .wpj-gallery-card,
  .wpj-project-single .wpj-gallery-card--image,
  .wpj-project-single .wpj-gallery-image-btn {
    height: auto;
  }

  .wpj-project-single .wpj-gallery-image {
    height: 520px;
    min-height: 0;
  }

  .wpj-project-single .wpj-gallery-pagination {
    gap: 6px;
  }
}

@media (max-width: 767px) {
  .wpj-project-single .wpj-gallery-image {
    height: 360px;
    border-radius: 22px;
  }

  .wpj-project-single .wpj-gallery-card,
  .wpj-project-single .wpj-gallery-image-btn {
    border-radius: 22px;
  }
}

/* Add this too if the right column still doesn't stretch */
.wpj-project-single .wpj-section--overview .wpj-section-grid-main {
  align-self: center;
}

.wpj-project-single .wpj-section-grid > .wpj-gallery-inline,
.wpj-project-single .wpj-section-grid > .wpj-overview-sidebar {
  align-self: start;
}
/* ===== wpj CF7 DARK BLOCK ===== */
.wpj-form-card:has(.wpj-cf7-wrap) {
  padding: 0 !important;
}
.wpj-cf7-wrap.wpj-cf7-wrap--dark {
	background: linear-gradient(180deg, #3f4044 0%, #343539 100%);
	border-radius: 28px;
	padding: 28px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.wpj-cf7.wpj-cf7--dark {
	--wpj-form-bg: #4a4a4d;
	--wpj-form-bg-hover: #505055;
	--wpj-form-border: rgba(255, 255, 255, 0.12);
	--wpj-form-border-strong: rgba(255, 255, 255, 0.24);
	--wpj-form-text: #ffffff;
	--wpj-form-muted: rgba(255, 255, 255, 0.72);
	--wpj-form-placeholder: rgba(255, 255, 255, 0.86);
	--wpj-accent: #B99052;
	--wpj-accent-hover: #967843;
	--wpj-accent-text: #161616;
	--wpj-danger: #ff7a7a;

	color: var(--wpj-form-text);
}

.wpj-cf7.wpj-cf7--dark * {
	box-sizing: border-box;
}

.wpj-cf7.wpj-cf7--dark p {
	margin: 0;
}

/* grid */
.wpj-cf7-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
}

.wpj-cf7-field {
	min-width: 0;
}

.wpj-cf7-field--full {
	grid-column: 1 / -1;
}

/* fields */
.wpj-cf7.wpj-cf7--dark .wpj-cf7-input,
.wpj-cf7.wpj-cf7--dark .wpj-cf7-textarea {
	display: block;
	width: 100%;
	border: 1px solid var(--wpj-form-border);
	border-radius: 16px;
	background: var(--wpj-form-bg);
	color: var(--wpj-form-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		background-color 0.25s ease,
		transform 0.25s ease;
}

.wpj-cf7.wpj-cf7--dark .wpj-cf7-input {
  padding: 14px 20px;
}

.wpj-cf7.wpj-cf7--dark .wpj-cf7-textarea {
	padding: 18px 20px;
	resize: vertical;
}

.wpj-cf7.wpj-cf7--dark .wpj-cf7-input::placeholder,
.wpj-cf7.wpj-cf7--dark .wpj-cf7-textarea::placeholder {
	color: var(--wpj-form-placeholder);
	opacity: 1;
}

.wpj-cf7.wpj-cf7--dark .wpj-cf7-input:hover,
.wpj-cf7.wpj-cf7--dark .wpj-cf7-textarea:hover {
	background: var(--wpj-form-bg-hover);
	border-color: var(--wpj-form-border-strong);
}

.wpj-cf7.wpj-cf7--dark .wpj-cf7-input:focus,
.wpj-cf7.wpj-cf7--dark .wpj-cf7-textarea:focus {
	border-color: var(--wpj-accent);
	box-shadow: 0 0 0 4px rgba(185, 144, 82, 0.14);
	background: var(--wpj-form-bg-hover);
}

/* make CF7 wrappers normal */
.wpj-cf7.wpj-cf7--dark .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.wpj-cf7.wpj-cf7--dark .wpcf7-form-control-wrap[data-name="privacy-consent"] {
	display: block;
}

/* consent */
.wpj-cf7-consent {
	margin-top: 22px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--wpj-form-muted);
}

.wpj-cf7-consent .wpcf7-list-item {
	margin: 0;
	display: block;
}

.wpj-cf7-consent .wpcf7-list-item label {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	cursor: pointer;
}

.wpj-cf7-consent .wpj-cf7-consent-text {
	display: block;
}
.wpj-cf7-consent-text a {
  color: #B99052!important;
}

.wpj-cf7-consent input[type="checkbox"] {
	position: relative;
	width: 22px;
	height: 22px;
	margin: 3px 0 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.03);
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.wpj-cf7-consent input[type="checkbox"]:hover {
	border-color: var(--wpj-accent);
}

.wpj-cf7-consent input[type="checkbox"]:checked {
	background: var(--wpj-accent);
	border-color: var(--wpj-accent);
	box-shadow: 0 0 0 4px rgba(185, 144, 82, 0.12);
}

.wpj-cf7-consent input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 5px;
	height: 10px;
	border: solid #111;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.wpj-cf7-consent a {
	color: #ff5b6d;
	text-decoration: none;
	font-weight: 600;
}

.wpj-cf7-consent a:hover {
	text-decoration: underline;
}

/* submit */
.wpj-cf7-submit-wrap {
	margin-top: 28px;
	display: flex;
	justify-content: flex-end;
}

.wpj-cf7.wpj-cf7--dark .wpj-cf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    background: #B99052;
    color: #111111;
    box-shadow: 0 14px 28px rgba(185, 144, 82, 0.26);
    border: none;
}

.wpj-cf7.wpj-cf7--dark .wpj-cf7-submit:hover {
    background: var(--wpj-green-light);
    box-shadow: 0 18px 34px rgba(185, 144, 82, 0.3);
    transform: translateY(-1px);
}

.wpj-cf7.wpj-cf7--dark .wpj-cf7-submit:active {
	transform: translateY(0);
}

.wpj-cf7.wpj-cf7--dark .wpj-cf7-submit:focus {
	outline: none;
	box-shadow:
		0 20px 40px rgba(185, 144, 82, 0.28),
		0 0 0 4px rgba(185, 144, 82, 0.14);
}

/* CF7 messages */
.wpj-cf7.wpj-cf7--dark .wpcf7-not-valid {
	border-color: var(--wpj-danger) !important;
	box-shadow: 0 0 0 4px rgba(255, 122, 122, 0.1);
}

.wpj-cf7.wpj-cf7--dark .wpcf7-not-valid-tip {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.4;
	color: #ff9f9f;
}

.wpj-cf7.wpj-cf7--dark .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 16px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.55;
	color: #fff;
}

.wpj-cf7.wpj-cf7--dark form.sent .wpcf7-response-output {
	border: 1px solid rgba(185, 144, 82, 0.3);
	background: rgba(185, 144, 82, 0.1);
}

.wpj-cf7.wpj-cf7--dark form.invalid .wpcf7-response-output,
.wpj-cf7.wpj-cf7--dark form.unaccepted .wpcf7-response-output,
.wpj-cf7.wpj-cf7--dark form.failed .wpcf7-response-output {
	border: 1px solid rgba(255, 122, 122, 0.32);
	background: rgba(255, 122, 122, 0.08);
}

.wpj-cf7.wpj-cf7--dark .wpcf7-spinner {
	margin: 14px 0 0 12px;
	background-color: var(--wpj-accent);
	opacity: 0.95;
}

/* mobile */
@media (max-width: 767px) {
	.wpj-cf7-wrap.wpj-cf7-wrap--dark {
		padding: 20px;
		border-radius: 22px;
	}

	.wpj-cf7-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.wpj-cf7.wpj-cf7--dark .wpj-cf7-input {
		height: 58px;
		padding: 0 16px;
		font-size: 14px;
		border-radius: 14px;
	}

	.wpj-cf7.wpj-cf7--dark .wpj-cf7-textarea {
		min-height: 180px;
		padding: 16px;
		font-size: 16px;
		border-radius: 14px;
	}

	.wpj-cf7-consent {
		font-size: 14px;
		line-height: 1.55;
	}

	.wpj-cf7-consent .wpcf7-list-item label {
		grid-template-columns: 20px minmax(0, 1fr);
		gap: 10px;
	}

	.wpj-cf7-submit-wrap {
		justify-content: stretch;
	}

	.wpj-cf7.wpj-cf7--dark .wpj-cf7-submit {
		width: 100%;
		min-width: 0;
	}
}

.wpj-related-projects {
	padding-top: 10px;
}

.wpj-related-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 18px;
	margin-bottom: 20px;
}

.wpj-related-intro {
	margin: 8px 0 0;
	max-width: 720px;
	color: rgba(29, 29, 29, 0.72);
	line-height: 1.55;
}

.wpj-related-actions {
	flex-shrink: 0;
}
.wpj-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.wpj-related-card {
	display: flex;
	flex-direction: column;
	border-radius: 26px;
	overflow: hidden;
	background: linear-gradient(180deg, #232a35 0%, #1b212b 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		0 18px 42px rgba(0, 0, 0, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	color: #fff;
}

.wpj-related-card-media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background: #2a313d;
	overflow: hidden;
}

.wpj-related-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wpj-related-card-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #394351 0%, #2a313d 100%);
}

.wpj-related-card-body {
	display: flex;
	flex-direction: column;
	padding: 18px 18px 20px;
}

.wpj-related-card-title {
	margin: 0;
	font-size: 24px;
	line-height: 1.05;
	text-transform: uppercase;
}

.wpj-related-card-title a {
	color: #fff;
	text-decoration: none;
}

.wpj-related-card-address {
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.66);
	font-size: 15px;
	line-height: 1.45;
}

.wpj-related-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 18px;
}

.wpj-related-meta-item {
	position: relative;
	padding: 16px 10px 14px;
	text-align: center;
	border-radius: 18px;
	overflow: hidden;
	background:
		radial-gradient(circle at 15% 20%, rgba(185, 144, 82, 0.20), transparent 28%),
		radial-gradient(circle at 85% 80%, rgba(90, 180, 255, 0.14), transparent 24%),
		linear-gradient(135deg, #1d232d 0%, #222a36 46%, #1b2029 100%);
	border: 1px solid rgb(62 62 62 / 5%);
	box-shadow:
		0 14px 30px rgba(0,0,0,0.14),
		inset 0 1px 0 rgba(255,255,255,0.08);
}

.wpj-related-meta-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.00) 18%),
		linear-gradient(90deg, rgba(255,255,255,0.03) 0%, transparent 35%, transparent 65%, rgba(255,255,255,0.03) 100%);
	pointer-events: none;
}

.wpj-related-meta-item::after {
	content: "";
	position: absolute;
  top: -34px;
	left: -20%;
	width: 140%;
	height: 58%;
	background: linear-gradient(
		180deg,
		rgba(255,255,255,0.18) 0%,
		rgba(255,255,255,0.08) 36%,
		rgba(255,255,255,0.00) 100%
	);
	transform: skewY(-5deg);
	pointer-events: none;
}

.wpj-related-meta-value {
	position: relative;
	z-index: 1;
	display: block;
	font-size: 40px;
	line-height: 1;
	font-weight: 300;
	letter-spacing: -0.04em;
	color: var(--wpj-green);
	text-shadow:
		0 0 20px rgba(185, 144, 82, 0.10),
		0 1px 0 rgba(255,255,255,0.08);
}

.wpj-related-meta-label {
	position: relative;
	z-index: 1;
	display: block;
	margin-top: 8px;
	font-size: 9px;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: rgba(255,255,255,0.84);
}

.wpj-related-facts {
	display: grid;
	gap: 0;
	margin-top: 18px;
}

.wpj-related-fact {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wpj-related-fact:last-child {
	border-bottom: 0;
}

.wpj-related-fact strong {
	color: #fff;
	font-weight: 600;
}

.wpj-related-fact span {
	color: rgba(255, 255, 255, 0.72);
	text-align: right;
}

.wpj-related-card-footer {
	margin-top: 18px;
}

.wpj-related-card-footer .wpj-btn--line {
	border-color: rgba(255,255,255,0.18);
	color: #fff;
	background: transparent;
}

.wpj-related-card-footer .wpj-btn--line:hover {
	border-color: rgba(255,255,255,0.28);
	background: rgba(255,255,255,0.04);
}

@media (max-width: 1100px) {
	.wpj-related-grid {
		grid-template-columns: 1fr;
	}

	.wpj-related-head {
		flex-direction: column;
		align-items: start;
	}
}

@media (max-width: 767px) {
	.wpj-related-meta {
		grid-template-columns: 1fr;
	}

	.wpj-related-card-title {
		font-size: 22px;
	}

	.wpj-related-fact {
		flex-direction: column;
		gap: 6px;
	}

	.wpj-related-fact span {
		text-align: left;
	}
}

.wpj-related-projects--light .wpj-related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.wpj-archive-card {
	display: grid;
	grid-template-columns: minmax(320px, 1.2fr) minmax(320px, 0.9fr);
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
	height: 524px;
}

.wpj-archive-card-media {
	position: relative;
	background: #e9edf2;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.wpj-archive-card-image-main {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.wpj-archive-card-image-main img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.wpj-archive-card-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #dfe5eb 0%, #cfd7e0 100%);
}

.wpj-archive-card-content {
	display: flex;
	flex-direction: column;
	padding: 24px 26px 22px;
	background: #fff;
	min-width: 0;
	overflow: hidden;
}

.wpj-archive-card-top {
	display: block;
}

.wpj-archive-card-title {
	margin: 0;
	font-size: 34px;
	line-height: 1.02;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.wpj-archive-card-title a {
	color: #101828;
	text-decoration: none;
}

.wpj-archive-card-address {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 14px;
	color: #667085;
	font-size: 16px;
	line-height: 1.5;
}

.wpj-archive-card-pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #B99052;
	margin-top: 2px;
}

.wpj-archive-card-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 26px;
}

.wpj-archive-card-metric {
	padding: 18px 14px 16px;
	border-radius: 18px;
	background: #f7f9fb;
	border: 1px solid rgba(17, 24, 39, 0.06);
	text-align: center;
}

.wpj-archive-card-metric-value {
	font-size: 36px;
	line-height: 1;
	font-weight: 300;
	letter-spacing: -0.04em;
	color: #B99052;
}

.wpj-archive-card-metric-label {
	margin-top: 8px;
	font-size: 10px;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: #344054;
}

.wpj-archive-card-facts {
	display: grid;
	gap: 0;
	margin-top: 24px;
}

.wpj-archive-card-fact {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.wpj-archive-card-fact:last-child {
	border-bottom: 0;
}

.wpj-archive-card-fact strong {
	color: #101828;
	font-weight: 600;
	flex: 0 0 auto;
}

.wpj-archive-card-fact span {
	color: #475467;
	text-align: right;
	margin-left: auto;
}

.wpj-archive-card-note {
	margin-top: 24px;
	padding: 14px 16px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid rgba(17, 24, 39, 0.06);
	color: #667085;
	font-size: 14px;
	line-height: 1.55;
}

.wpj-archive-card-footer {
	margin-top: auto;
	padding-top: 28px;
}

.wpj-archive-card-footer .wpj-btn--line {
	border-color: rgba(16, 24, 40, 0.12);
	color: #101828;
	background: #fff;
}

.wpj-archive-card-footer .wpj-btn--line:hover {
	border-color: rgba(16, 24, 40, 0.18);
	background: #f8fafc;
}

@media (max-width: 1100px) {
	.wpj-archive-card {
		grid-template-columns: 1fr;
		height: auto;
	}
	.wpj-archive-card-content {
		height: auto;
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.wpj-archive-card-content {
		padding: 20px 18px 18px;
	}

	.wpj-archive-card-title {
		font-size: 26px;
	}

	.wpj-archive-card-address {
		font-size: 14px;
	}

	.wpj-archive-card-metrics {
		grid-template-columns: 1fr;
	}

	.wpj-archive-card-fact {
		flex-direction: column;
		gap: 6px;
	}

	.wpj-archive-card-fact span {
		text-align: left;
		margin-left: 0;
	}
}

.wpj-related-projects--entwicklung .wpj-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.wpj-related-projects--entwicklung .wpj-related-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
	color: #101828;
}

.wpj-related-projects--entwicklung .wpj-related-card-media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background: #cfd6df;
	overflow: hidden;
	flex-shrink: 0;
}

.wpj-related-projects--entwicklung .wpj-related-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.wpj-related-projects--entwicklung .wpj-related-card-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #d7dde5 0%, #c5ced8 100%);
}

.wpj-related-projects--entwicklung .wpj-related-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px;
	min-height: 0;
}

.wpj-related-projects--entwicklung .wpj-related-card-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.wpj-related-projects--entwicklung .wpj-related-card-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.08;
	text-transform: uppercase;
}

.wpj-related-projects--entwicklung .wpj-related-card-title a {
	color: #101828;
	text-decoration: none;
}

.wpj-related-projects--entwicklung .wpj-related-card-address {
	margin-top: 8px;
	color: #667085;
	font-size: 14px;
	line-height: 1.45;
	min-height: 40px;
}

.wpj-related-projects--entwicklung .wpj-related-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 16px;
}

.wpj-related-projects--entwicklung .wpj-related-meta-item {
	position: relative;
	padding: 14px 8px 12px;
	text-align: center;
	border-radius: 16px;
	overflow: hidden;
	background:
		radial-gradient(circle at 15% 20%, rgba(185, 144, 82, 0.20), transparent 28%),
		radial-gradient(circle at 85% 80%, rgba(90, 180, 255, 0.14), transparent 24%),
		linear-gradient(135deg, #1d232d 0%, #222a36 46%, #1b2029 100%);
	border: 1px solid rgba(255,255,255,0.10);
	box-shadow:
		0 14px 30px rgba(0,0,0,0.14),
		inset 0 1px 0 rgba(255,255,255,0.08);
}

.wpj-related-projects--entwicklung .wpj-related-meta-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.00) 18%),
		linear-gradient(90deg, rgba(255,255,255,0.03) 0%, transparent 35%, transparent 65%, rgba(255,255,255,0.03) 100%);
	pointer-events: none;
}

.wpj-related-projects--entwicklung .wpj-related-meta-item::after {
	content: "";
	position: absolute;
	top: 0;
	left: -20%;
	width: 140%;
	height: 58%;
	background: linear-gradient(
		180deg,
		rgba(255,255,255,0.18) 0%,
		rgba(255,255,255,0.08) 36%,
		rgba(255,255,255,0.00) 100%
	);
	transform: skewY(-5deg);
	pointer-events: none;
}

.wpj-related-projects--entwicklung .wpj-related-meta-value {
	position: relative;
	z-index: 1;
	display: block;
	font-size: 36px;
	line-height: 1;
	font-weight: 300;
	letter-spacing: -0.04em;
	color: var(--wpj-green);
}

.wpj-related-projects--entwicklung .wpj-related-meta-label {
	position: relative;
	z-index: 1;
	display: block;
	margin-top: 7px;
	font-size: 9px;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: rgba(255,255,255,0.84);
}

.wpj-related-projects--entwicklung .wpj-related-facts {
	display: grid;
	gap: 0;
	margin-top: 16px;
}

.wpj-related-projects--entwicklung .wpj-related-fact {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.wpj-related-projects--entwicklung .wpj-related-fact:last-child {
	border-bottom: 0;
}

.wpj-related-projects--entwicklung .wpj-related-fact strong {
	color: #101828;
	font-weight: 600;
	flex: 0 0 auto;
}

.wpj-related-projects--entwicklung .wpj-related-fact span {
	color: #475467;
	text-align: right;
	margin-left: auto;
}

.wpj-related-projects--entwicklung .wpj-related-card-note {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid rgba(17, 24, 39, 0.06);
	color: #667085;
	font-size: 14px;
	line-height: 1.5;
}

.wpj-related-projects--entwicklung .wpj-related-card-footer {
	margin-top: auto;
	padding-top: 18px;
	flex-shrink: 0;
}

.wpj-related-projects--entwicklung .wpj-related-card-footer .wpj-btn--line {
	border-color: rgba(16, 24, 40, 0.12);
	color: #101828;
	background: #fff;
}
.wpj-related-projects--entwicklung .wpj-related-card-footer .wpj-btn--line:hover {
	border-color: rgba(16, 24, 40, 0.18);
	background: #f8fafc;
}

@media (max-width: 1100px) {
	.wpj-related-projects--entwicklung .wpj-related-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.wpj-related-projects--entwicklung .wpj-related-meta {
		grid-template-columns: 1fr;
	}

	.wpj-related-projects--entwicklung .wpj-related-card-title {
		font-size: 18px;
	}

	.wpj-related-projects--entwicklung .wpj-related-card-address {
		min-height: 0;
	}

	.wpj-related-projects--entwicklung .wpj-related-fact {
		flex-direction: column;
		gap: 6px;
	}

	.wpj-related-projects--entwicklung .wpj-related-fact span {
		text-align: left;
		margin-left: 0;
	}
}
.wpj-project-partners--light .wpj-project-partners-head {
	margin-bottom: 22px;
}

.wpj-project-partners--light .wpj-project-partners-intro {
	margin-top: 10px;
	max-width: 760px;
	color: rgba(17, 24, 39, 0.68);
	line-height: 1.65;
}

.wpj-project-partners--light .wpj-project-partners-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.wpj-project-partners--light .wpj-project-partner-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 24px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  max-height: 356px;
}

.wpj-project-partners--light .wpj-project-partner-media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background: #d9e0e8;
	overflow: hidden;
}

.wpj-project-partners--light .wpj-project-partner-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.wpj-project-partners--light .wpj-project-partner-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #dfe5eb 0%, #cfd7e0 100%);
}

.wpj-project-partners--light .wpj-project-partner-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px;
}

.wpj-project-partners--light .wpj-project-partner-address {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: #667085;
	font-size: 16px;
	line-height: 1.5;
}

.wpj-project-partners--light .wpj-project-partner-pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--wpj-green);
	margin-top: 2px;
}

.wpj-project-partners--light .wpj-project-partner-footer {
	margin-top: auto;
	padding-top: 18px;
}

.wpj-project-partners--light .wpj-project-partner-footer .wpj-btn--line {
	border-color: rgba(16, 24, 40, 0.12);
	color: #101828;
	background: #fff;
}

.wpj-project-partners--light .wpj-project-partner-footer .wpj-btn--line:hover {
	border-color: rgba(16, 24, 40, 0.18);
	background: #f8fafc;
}

@media (max-width: 1100px) {
	.wpj-project-partners--light .wpj-project-partners-grid {
		grid-template-columns: 1fr;
	}
  .wpj-project-partners--light .wpj-project-partner-card {
    max-height: auto;
  }
}

@media (max-width: 767px) {
	.wpj-project-partners--light .wpj-project-partner-body {
		padding: 16px;
	}

	.wpj-project-partners--light .wpj-project-partner-address {
		min-height: 0;
		font-size: 13px;
	}
}

.wpj-related-projects--completed .wpj-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.wpj-related-projects--completed .wpj-related-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	border-radius: 24px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
	color: #101828;
}

.wpj-related-projects--completed .wpj-related-card-media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background: #cfd6df;
	overflow: hidden;
	flex-shrink: 0;
}

.wpj-related-projects--completed .wpj-related-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.wpj-related-projects--completed .wpj-related-card-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #d7dde5 0%, #c5ced8 100%);
}

.wpj-related-projects--completed .wpj-related-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px;
	min-height: 0;
}

.wpj-related-projects--completed .wpj-related-card-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.wpj-related-projects--completed .wpj-related-card-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.08;
	text-transform: uppercase;
}

.wpj-related-projects--completed .wpj-related-card-title a {
	color: #101828;
	text-decoration: none;
}

.wpj-related-projects--completed .wpj-related-card-address {
	margin-top: 8px;
	color: #667085;
	font-size: 14px;
	line-height: 1.45;
	min-height: 40px;
}

.wpj-related-projects--completed .wpj-related-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 16px;
}

.wpj-related-projects--completed .wpj-related-meta-item {
	position: relative;
	padding: 14px 8px 12px;
	text-align: center;
	border-radius: 16px;
	overflow: hidden;
	background: #f7f9fb;
	border: 1px solid rgba(17, 24, 39, 0.06);
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.wpj-related-projects--completed .wpj-related-meta-item::before,
.wpj-related-projects--completed .wpj-related-meta-item::after {
	display: none;
}

.wpj-related-projects--completed .wpj-related-meta-value {
	display: block;
	font-size: 36px;
	line-height: 1;
	font-weight: 300;
	letter-spacing: -0.04em;
	color: var(--wpj-green);
}

.wpj-related-projects--completed .wpj-related-meta-label {
	display: block;
	margin-top: 7px;
	font-size: 9px;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: #344054;
}

.wpj-related-projects--completed .wpj-related-card-note {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid rgba(17, 24, 39, 0.06);
	color: #667085;
	font-size: 14px;
	line-height: 1.5;
}

.wpj-related-projects--completed .wpj-related-card-footer {
	margin-top: auto;
	padding-top: 18px;
	flex-shrink: 0;
}

.wpj-related-projects--completed .wpj-related-card-footer .wpj-btn--line {
	border-color: rgba(16, 24, 40, 0.12);
	color: #101828;
	background: #ffffff;
}

.wpj-related-projects--completed .wpj-related-card-footer .wpj-btn--line:hover {
	border-color: rgba(16, 24, 40, 0.18);
	background: #f8fafc;
}

@media (max-width: 1100px) {
	.wpj-related-projects--completed .wpj-related-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.wpj-related-projects--completed .wpj-related-meta {
		grid-template-columns: 1fr;
	}

	.wpj-related-projects--completed .wpj-related-card-title {
		font-size: 18px;
	}

	.wpj-related-projects--completed .wpj-related-card-address {
		min-height: 0;
	}
}

.wpj-home-projects--light .wpj-home-projects-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 18px;
	margin-bottom: 20px;
}

.wpj-home-projects--light .wpj-home-projects-intro {
	margin-top: 8px;
	max-width: 760px;
	color: rgba(17, 24, 39, 0.68);
	line-height: 1.65;
}

.wpj-home-projects--light .wpj-home-projects-actions {
	flex-shrink: 0;
}

.wpj-home-projects--light .wpj-home-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.wpj-home-projects--light .wpj-home-project-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 24px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.wpj-home-projects--light .wpj-home-project-card-media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background: #d9e0e8;
	overflow: hidden;
	flex-shrink: 0;
}

.wpj-home-projects--light .wpj-home-project-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.wpj-home-projects--light .wpj-home-project-card-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #dfe5eb 0%, #cfd7e0 100%);
}

.wpj-home-projects--light .wpj-home-project-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px;
	min-height: 0;
}

.wpj-home-projects--light .wpj-home-project-card-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.wpj-home-projects--light .wpj-home-project-card-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.08;
	text-transform: uppercase;
}

.wpj-home-projects--light .wpj-home-project-card-title a {
	color: #101828;
	text-decoration: none;
}

.wpj-home-projects--light .wpj-home-project-card-address {
	margin-top: 8px;
	color: #667085;
	font-size: 14px;
	line-height: 1.45;
	min-height: 40px;
}

.wpj-home-projects--light .wpj-home-project-card-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 16px;
}

.wpj-home-projects--light .wpj-home-project-card-metric {
	padding: 14px 8px 12px;
	text-align: center;
	border-radius: 16px;
	background: #f7f9fb;
	border: 1px solid rgba(17, 24, 39, 0.06);
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.wpj-home-projects--light .wpj-home-project-card-metric-value {
	display: block;
	font-size: 36px;
	line-height: 1;
	font-weight: 300;
	letter-spacing: -0.04em;
	color: var(--wpj-green);
}

.wpj-home-projects--light .wpj-home-project-card-metric-label {
	display: block;
	margin-top: 7px;
	font-size: 9px;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: #344054;
}

.wpj-home-projects--light .wpj-home-project-card-facts {
	display: grid;
	gap: 0;
	margin-top: 16px;
}

.wpj-home-projects--light .wpj-home-project-card-fact {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.wpj-home-projects--light .wpj-home-project-card-fact:last-child {
	border-bottom: 0;
}

.wpj-home-projects--light .wpj-home-project-card-fact strong {
	color: #101828;
	font-weight: 600;
	flex: 0 0 auto;
}

.wpj-home-projects--light .wpj-home-project-card-fact span {
	color: #475467;
	text-align: right;
	margin-left: auto;
}

.wpj-home-projects--light .wpj-home-project-card-note {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid rgba(17, 24, 39, 0.06);
	color: #667085;
	font-size: 14px;
	line-height: 1.5;
}

.wpj-home-projects--light .wpj-home-project-card-footer {
	margin-top: auto;
	padding-top: 18px;
	flex-shrink: 0;
}

.wpj-home-projects--light .wpj-home-project-card-footer .wpj-btn--line {
	border-color: rgba(16, 24, 40, 0.12);
	color: #101828;
	background: #ffffff;
}

.wpj-home-projects--light .wpj-home-project-card-footer .wpj-btn--line:hover {
	border-color: rgba(16, 24, 40, 0.18);
	background: #f8fafc;
}

@media (max-width: 1100px) {
	.wpj-home-projects--light .wpj-home-projects-grid {
		grid-template-columns: 1fr;
	}

	.wpj-home-projects--light .wpj-home-projects-head {
		flex-direction: column;
		align-items: start;
	}
}

@media (max-width: 767px) {
	.wpj-home-projects--light .wpj-home-project-card-metrics {
		grid-template-columns: 1fr;
	}

	.wpj-home-projects--light .wpj-home-project-card-title {
		font-size: 18px;
	}

	.wpj-home-projects--light .wpj-home-project-card-address {
		min-height: 0;
	}

	.wpj-home-projects--light .wpj-home-project-card-fact {
		flex-direction: column;
		gap: 6px;
	}

	.wpj-home-projects--light .wpj-home-project-card-fact span {
		text-align: left;
		margin-left: 0;
	}
}

/* Gallery container */
.gallery-clmn {
    width: 100%;
    overflow: hidden;
}

/* Carousel/widget width */
.gallery-clmn .elementor-widget-image-carousel,
.gallery-clmn .elementor-image-carousel-wrapper {
    width: 100%;
    max-width: 100%;
}

/* Equal slide height on desktop */
.gallery-clmn .elementor-image-carousel-wrapper,
.gallery-clmn .elementor-image-carousel,
.gallery-clmn .swiper-slide,
.gallery-clmn .swiper-slide > a,
.gallery-clmn .swiper-slide-inner {
    height: 600px;
    max-height: 600px;
}

/* Center each slide */
.gallery-clmn .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make link and figure fill the slide */
.gallery-clmn .swiper-slide > a,
.gallery-clmn .swiper-slide-inner {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Full-width centered image */
.gallery-clmn .swiper-slide-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: 600px !important;
    object-fit: cover;
    object-position: center center;
}

/* Move pagination slightly higher */
.gallery-clmn .swiper-pagination {
    bottom: 24px !important;
    z-index: 5;
}

/* Keep arrows vertically centered */
.gallery-clmn .elementor-swiper-button {
    top: 50% !important;
    transform: translateY(-50%);
}

/* Tablet and mobile */
@media (max-width: 1024px) {
    .gallery-clmn .elementor-image-carousel-wrapper,
    .gallery-clmn .elementor-image-carousel,
    .gallery-clmn .swiper-slide,
    .gallery-clmn .swiper-slide > a,
    .gallery-clmn .swiper-slide-inner {
        height: 400px;
        max-height: 400px;
    }

    .gallery-clmn .swiper-slide-image {
        max-height: 400px !important;
    }

    .gallery-clmn .swiper-pagination {
        bottom: 20px !important;
    }
}
.elementor-shortcode {
	background: none!important;
}

/* Global floating Kontakt button */
.wpj-kontakt-fab {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: 50%;
	background: #B99052;
	color: #111111;
	text-decoration: none;
	box-shadow: 0 14px 32px rgba(17, 17, 17, 0.18);
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wpj-kontakt-fab:hover,
.wpj-kontakt-fab:focus-visible {
	background: #D4B078;
	color: #111111;
	transform: translateY(-2px);
	box-shadow: 0 18px 36px rgba(17, 17, 17, 0.22);
}

.wpj-kontakt-fab__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wpj-kontakt-fab__icon svg {
	display: block;
}

@media (max-width: 767px) {
	.wpj-kontakt-fab {
		right: 16px;
		bottom: 16px;
		width: 52px;
		height: 52px;
	}
}

/* Kontakt FAB popup */
button.wpj-kontakt-fab {
	border: 0;
	padding: 0;
	cursor: pointer;
	font: inherit;
	appearance: none;
}

body.wpj-kontakt-modal-open {
	overflow: hidden;
}

.wpj-kontakt-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.wpj-kontakt-modal.is-active {
	display: flex;
}

.wpj-kontakt-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 16, 0.72);
}

.wpj-kontakt-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
	max-height: none;
	overflow: visible;
	padding: 20px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.wpj-kontakt-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: #f3f4f6;
	color: #111;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.wpj-kontakt-modal__close:hover {
	background: #e8eaee;
}

.wpj-kontakt-modal__head {
	padding-right: 36px;
  text-align: center;
	margin-bottom: 10px;
}

.wpj-kontakt-modal__head h2 {
	margin: 0;
	font-size: clamp(18px, 2.2vw, 22px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #121417;
}

.wpj-kontakt-modal__lead {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.35;
	color: #6b7280;
}

.wpj-kontakt-modal__form {
	padding: 0;
	background: transparent;
	box-shadow: none;
	border: 0;
}

.wpj-kontakt-modal .wpj-cf7-form {
	padding: 12px 14px !important;
	border-radius: 16px;
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.wpj-kontakt-modal .wpj-cf7-form .cf-container {
	gap: 8px 10px;
}

/* Pair Anrede with Vorname; hide auto-filled Betreff on project pages */
.wpj-kontakt-modal .wpj-cf7-form .cf-col-12:has([data-name="anrede"]) {
	grid-column: span 6;
}

.wpj-kontakt-modal .wpj-cf7-form .wpj-cf7-subject-field,
.wpj-kontakt-modal .wpj-cf7-form .cf-col-6:has([data-name="betreff"] [readonly]) {
	display: none;
}

.wpj-kontakt-modal .wpj-cf7-form label {
	margin-bottom: 4px;
	font-size: 10px;
	letter-spacing: 0.08em;
}

.wpj-kontakt-modal .wpj-cf7-form .form-control,
.wpj-kontakt-modal .wpj-cf7-form select.form-control,
.wpj-kontakt-modal .wpj-cf7-form textarea.form-control {
	padding: 8px 12px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.3;
}

.wpj-kontakt-modal .wpj-cf7-form select.form-control {
	padding-right: 30px;
	background-position:
		calc(100% - 16px) calc(50% + 1px),
		calc(100% - 10px) calc(50% + 1px);
}

.wpj-kontakt-modal .wpj-cf7-form textarea.form-control {
	min-height: 68px;
	max-height: 68px;
	padding: 8px 12px;
	resize: none;
}

.wpj-kontakt-modal .wpj-cf7-form .wpcf7-acceptance label {
	grid-template-columns: 16px minmax(0, 1fr);
	gap: 8px;
	font-size: 11px;
	line-height: 1.35;
}

.wpj-kontakt-modal .wpj-cf7-form .form-datenchutzs-checkbox {
	width: 16px;
	height: 16px;
	margin-top: 1px;
	border-radius: 4px;
}

.wpj-kontakt-modal .wpj-cf7-form .form-datenchutzs-checkbox:checked::after {
	left: 5px;
	top: 1px;
	width: 4px;
	height: 7px;
}

.wpj-kontakt-modal .wpj-cf7-form .cf-col-12:has(.wpcf7-submit) {
	margin-top: 2px;
}

.wpj-kontakt-modal .wpj-cf7-form .wpcf7-submit {
	min-width: 120px;
	padding: 9px 20px;
	font-size: 13px;
	box-shadow: 0 8px 18px rgba(185, 144, 82, 0.2);
}

.wpj-kontakt-modal .wpj-cf7-form .wpcf7-response-output {
	margin: 8px 0 0;
	padding: 8px 10px;
	font-size: 12px;
}

@media (max-width: 767px) {
	.wpj-kontakt-modal {
		padding: 10px;
	}

	.wpj-kontakt-modal__dialog {
		padding: 16px 14px 12px;
		border-radius: 14px;
	}

	.wpj-kontakt-modal .wpj-cf7-form {
		padding: 10px 12px !important;
		border-radius: 14px;
	}

	/* Keep 2-column rows in the popup to avoid stacking height */
	.wpj-kontakt-modal .wpj-cf7-form .cf-col-6 {
		grid-column: span 6;
	}

	.wpj-kontakt-modal .wpj-cf7-form .cf-col-12:not(:has([data-name="anrede"])) {
		grid-column: span 12;
	}

	.wpj-kontakt-modal .wpj-cf7-form .wpcf7-submit {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.wpj-kontakt-modal .wpj-cf7-form .cf-col-6,
	.wpj-kontakt-modal .wpj-cf7-form .cf-col-12:has([data-name="anrede"]) {
		grid-column: span 12;
	}
}

.non_underline a {
  text-decoration: none!important;
}

#masthead {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent !important;
    box-shadow: none !important;
}
@media only screen and (min-width: 1024px) {
  .hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 100% !important;
      flex: 0 0 100% !important;
  }
}

.admin-bar #masthead {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar #masthead {
        top: 46px;
    }
}

@media (max-width: 1024px) {
    #masthead .elementor-element-d637830 {
        padding: 18px 24px !important;
    }

    #masthead .hfe-menu-item,#masthead .hfe-sub-menu-item {
        background: #fff !important;
    }

    #masthead .hfe-dropdown.menu-is-active,
    #masthead .hfe-nav-menu__layout-expandible.menu-is-active {
        background: rgba(20, 25, 29, 0.98) !important;
    }
}

@media (max-width: 767px) {
    #masthead .elementor-element-d637830 {
        padding: 15px 18px !important;
    }

    .forte-hero {
        padding-top: 85px;
    }
}

@media (max-width: 1024px) {
  #masthead .elementor-element-5b6b684,
  #masthead .elementor-element-5b6b684 .elementor-widget-container,
  #masthead .elementor-element-5b6b684 .hfe-nav-menu,
  #masthead .elementor-element-5b6b684 .hfe-nav-menu-layout {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      box-sizing: border-box !important;
  }

  #masthead .elementor-element-5b6b684 nav.hfe-nav-menu__layout-horizontal,
  #masthead .elementor-element-5b6b684 nav.hfe-nav-menu__layout-expandible,
  #masthead .elementor-element-5b6b684 nav.hfe-dropdown,
  #masthead .elementor-element-5b6b684 nav.hfe-dropdown-expandible {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      left: 0 !important;
      right: auto !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      transform: none !important;
      box-sizing: border-box !important;
  }

  #masthead .elementor-element-5b6b684 .sub-menu {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      box-sizing: border-box !important;
  }
}

#twae-wrapper-0c6371a {
  --forte-primary: #B99052;
  --forte-overlay: rgba(185, 144, 82, 0.78);
  --forte-text: #ffffff;
}

#twae-wrapper-0c6371a .twae-content {
  position: relative !important;
  width: 100%;
  margin: 0;
  padding: 24px !important;
  overflow: hidden;
  background: #ffffff !important;
  border: 1px solid rgba(185, 144, 82, 0.2) !important;
  box-shadow: 0 12px 35px rgba(20, 28, 35, 0.08);
  box-sizing: border-box;
}

#twae-wrapper-0c6371a .twae-media {
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

#twae-wrapper-0c6371a .twae-media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

#twae-wrapper-0c6371a .twae-description {
  position: absolute !important;
  z-index: 5;
  top: 50% !important;
  left: 50% !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: calc(100% - 150px) !important;
  height: calc(100% - 150px) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 34px !important;
  color: var(--forte-text) !important;
  background: var(--forte-overlay) !important;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box;
  overflow: auto;
}

#twae-wrapper-0c6371a .twae-description::before,
#twae-wrapper-0c6371a .twae-description::after {
  display: none !important;
}

#twae-wrapper-0c6371a .twae-description .ct-div-block {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: flex-start !important;
}

#twae-wrapper-0c6371a .twae-description .timeline-heading,
#twae-wrapper-0c6371a .twae-description .timeline-contents {
  display: table !important;
  width: auto !important;
  max-width: 100%;
  color: #ffffff !important;
  text-align: left !important;

  /* background: var(--forte-primary) !important; */
}

#twae-wrapper-0c6371a .twae-description .timeline-heading {
  margin: 0 0 6px !important;
  padding: 6px 10px !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-transform: none;
  padding: 0 !important;
}

#twae-wrapper-0c6371a .twae-description .timeline-contents {
  margin: 0 0 18px !important;
  padding: 5px 10px !important;
  font-size: clamp(15px, 1.45vw, 21px) !important;
  font-weight: 400;
  line-height: 1.35 !important;
}

#twae-wrapper-0c6371a .twae-description .ct-div-block:last-child .timeline-contents {
  margin-bottom: 0 !important;
}

#twae-wrapper-0c6371a .twae-story {
  position: relative !important;
  align-items: center !important;
}

#twae-wrapper-0c6371a .twae-story > .twae-icondot,
#twae-wrapper-0c6371a .twae-story > .twae-icon {
  top: 50% !important;
  bottom: auto !important;
  background-color: #ffffff !important;
  border: 3px solid var(--forte-primary) !important;
  transform: translateY(-50%) !important;
}

#twae-wrapper-0c6371a .twae-story > .twae-arrow,
#twae-wrapper-0c6371a .twae-story > .twae-labels {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

#twae-wrapper-0c6371a .twae-story > .twae-labels {
  margin-top: 0 !important;
}

#twae-wrapper-0c6371a .twae-label-big {
  margin: 0 !important;
  color: var(--forte-primary) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

#twae-wrapper-0c6371a .twae-timeline::before {
  background-color: var(--forte-primary) !important;
}

@media (max-width: 1024px) {
  #twae-wrapper-0c6371a .twae-content {
    padding: 18px !important;
  }

  #twae-wrapper-0c6371a .twae-description {
    width: calc(100% - 58px) !important;
    height: calc(100% - 58px) !important;
    padding: 24px !important;
  }

  #twae-wrapper-0c6371a .twae-description .timeline-contents {
    margin-bottom: 12px !important;
  }

  #twae-wrapper-0c6371a .twae-label-big {
    font-size: 16px !important;
  }
}

@media (max-width: 767px) {
  #twae-wrapper-0c6371a,
  #twae-wrapper-0c6371a .twae-timeline {
    position: relative !important;
    display: flow-root !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  #twae-wrapper-0c6371a {
    margin-bottom: 0px !important;
    clear: both !important;
  }

  #twae-wrapper-0c6371a .twae-story {
    position: relative !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 24px !important;
    padding: 0 0 0 42px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  #twae-wrapper-0c6371a .twae-story > .twae-content {
    position: relative !important;
    display: block !important;
    float: none !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  #twae-wrapper-0c6371a .twae-story-left > .twae-content,
  #twae-wrapper-0c6371a .twae-story-right > .twae-content {
    float: none !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  #twae-wrapper-0c6371a .twae-media {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 420px !important;
    margin: 0 !important;
    aspect-ratio: 4 / 5;
    overflow: hidden !important;
  }

  #twae-wrapper-0c6371a .twae-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 420px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  #twae-wrapper-0c6371a .twae-description {
    position: absolute !important;
    z-index: 3 !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: calc(100% - 36px) !important;
    height: calc(100% - 36px) !important;
    max-height: calc(100% - 36px) !important;
    margin: 0 !important;
    padding: 18px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    transform: translate(-50%, -50%) !important;
    box-sizing: border-box !important;
  }

  #twae-wrapper-0c6371a .twae-description .timeline-heading {
    padding: 5px 8px !important;
    font-size: 18px !important;
  }

  #twae-wrapper-0c6371a .twae-description .timeline-contents {
    margin-bottom: 10px !important;
    padding: 4px 8px !important;
    font-size: 15px !important;
  }

  #twae-wrapper-0c6371a .twae-story > .twae-labels {
    position: relative !important;
    display: block !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
    text-align: left !important;
  }

  #twae-wrapper-0c6371a .twae-label-big {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  #twae-wrapper-0c6371a .twae-story > .twae-icondot,
  #twae-wrapper-0c6371a .twae-story > .twae-icon {
    position: absolute !important;
    z-index: 5 !important;
    top: 210px !important;
    left: 14px !important;
    right: auto !important;
    bottom: auto !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 3px solid var(--forte-primary) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-sizing: border-box !important;
  }

  #twae-wrapper-0c6371a .twae-story > .twae-arrow {
    display: none !important;
  }

  #twae-wrapper-0c6371a .twae-timeline::before {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 14px !important;
    width: 3px !important;
    height: auto !important;
    background: var(--forte-primary) !important;
    transform: none !important;
  }

  #twae-wrapper-0c6371a .twae-story:last-of-type {
    margin-bottom: 0px !important;
  }

  #twae-wrapper-0c6371a .twae-end {
    display: none !important;
  }
}
#gallery-1 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

#gallery-1 .gallery-item {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#gallery-1 .gallery-icon {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

#gallery-1 .gallery-icon > a {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#gallery-1 .gallery-icon img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 1024px) {
  #gallery-1 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #gallery-1 {
      grid-template-columns: 1fr;
      gap: 16px;
  }

  #gallery-1 .gallery-icon {
      aspect-ratio: 16 / 10;
  }
}