/* ================================
   Sanierung Page Styles
   ================================ */

/* Hero Section - Sanierung */
.sanierung-hero {
	min-height: 100vh;
	position: relative;
}

.sanierung-hero .hero-content {
	max-width: 1000px;
}

.sanierung-hero .hero-subtitle {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	color: var(--primary-color);
	margin-bottom: 20px;
	text-transform: uppercase;
}

.sanierung-hero .hero-title {
	font-size: 56px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 24px;
	color: white;
}

.sanierung-hero .hero-description {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 40px;
}

.sanierung-hero .hero-description strong {
	color: var(--primary-color);
}

.sanierung-hero .hero-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 40px;
}

.sanierung-hero .stat-item {
	text-align: center;
}

.sanierung-hero .stat-number {
	font-size: 32px;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 8px;
}

.sanierung-hero .stat-text {
	font-size: 17px;
	color: rgb(255, 255, 255);
	line-height: 1.4;
}

.hero-cta {
	display: flex;
	gap: 20px;
	align-items: center;
}

.hero-btn {
	padding: 16px 32px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hero-btn.primary {
	background: var(--primary-color);
	color: white;
	border: 2px solid var(--primary-color);
}

.hero-btn.primary:hover {
	background: #a67c52;
	border-color: #a67c52;
	transform: translateY(-2px);
}

.hero-btn.secondary {
	background: transparent;
	color: white;
	border: 2px solid white;
}

.hero-btn.secondary:hover {
	background: white;
	color: black;
}

/* Section General Styles */
section {
	padding: 100px 0;
}

.container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-subtitle {
	display: inline-block;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 2px;
	color: var(--primary-color);
	margin-bottom: 16px;
	text-transform: uppercase;
}

.section-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	color: var(--text-color);
}

.section-description {
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-secondary);
	max-width: 800px;
	margin: 0 auto;
}

.section-btn {
	padding: 16px 32px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	background: var(--primary-color);
	color: white;
	text-decoration: none;
	display: inline-block;
	width: fit-content;
}
.split-section-content .section-btn {
	align-self: flex-start;
}

.section-btn:hover {
	background: #a67c52;
	transform: translateY(-2px);
}

/* Services Section */
.services-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
}

.services-section .section-subtitle {
	color: var(--primary-color);
}

.services-section .section-title {
	color: white;
}

.services-section .section-description {
	color: rgba(255, 255, 255, 0.8);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-bottom: 50px;
}

/* Центрирование последних 3 карточек */
@media (min-width: 1200px) {
	.services-grid {
		grid-template-columns: repeat(5, 1fr);
	}
	
	.services-grid .service-card:nth-child(6),
	.services-grid .service-card:nth-child(7),
	.services-grid .service-card:nth-child(8) {
		grid-column: span 1;
	}
	
	.services-grid .service-card:nth-child(6) {
		grid-column: 2 / 3;
	}
	
	.services-grid .service-card:nth-child(7) {
		grid-column: 3 / 4;
	}
	
	.services-grid .service-card:nth-child(8) {
		grid-column: 4 / 5;
	}
}

.service-card {
	background-color: #2d2d2d;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 40px 30px;
	border-radius: 12px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border-color: #202020;
}
.service-card-1 { background-image: url(https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=600&q=80); }
.service-card-2 { background-image: url(https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=600&q=80); }
.service-card-3 { background-image: url(https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?w=600&q=80); }
.service-card-4 { background-image: url(https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?w=600&q=80); }
.service-card-5 { background-image: url(https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=600&q=80); }
/* Elektrik: electrical panel / circuit breakers */
.service-card-6 { background-image: url(https://i.postimg.cc/zX05qL6w/ayv.png); }
/* Wärmepumpe: heat pump / HVAC outdoor unit */
.service-card-7 { background-image: url(https://images.unsplash.com/photo-1607400201889-565b1ee75f8e?w=600&q=80); }
.service-card-8 { background-image: url(https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=600&q=80); }
.service-card-overlay {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	background: linear-gradient(180deg, rgba(22, 22, 22, 0.8) 0%, rgba(22, 22, 22, 0.8) 100%);
	border-radius: 0px;
	pointer-events: none;
	z-index: 0;
	
}
.service-card .service-icon,
.service-card .service-title,
.service-card .service-description {
	position: relative;
	z-index: 1;
}
.service-card .service-title,
.service-card .service-description {
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.service-card:hover {
	transform: translateY(-8px);
	border-color: var(--primary-color);
}

.service-icon {
	width: 64px;
	height: 64px;
	background: var(--primary-color);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	color: white;
}

.service-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 16px;
	color: white;
}

.service-description {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
}

.services-cta {
	text-align: center;
}

.services-note {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 30px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Funding Section */
.funding-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
}

.funding-section .container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 20px;
}

.funding-section .section-subtitle {
	color: var(--primary-color);
}

.funding-section .section-title {
	color: white;
}

.funding-section .section-description {
	color: rgba(255, 255, 255, 0.8);
}

.funding-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 60px;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

.funding-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 40px 30px;
	border-radius: 16px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.funding-card.featured {
	background: rgba(244, 185, 66, 0.1);
	border-color: var(--primary-color);
}

.funding-card:hover {
	transform: translateY(-8px);
	border-color: var(--primary-color);
}

.funding-badge {
	display: inline-block;
	padding: 6px 16px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 20px;
}

.funding-badge.highlight {
	background: var(--primary-color);
	color: white;
}

.funding-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 20px;
	color: white;
}

.funding-amount {
	font-size: 36px;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 24px;
}

.funding-amount span {
	display: block;
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 8px;
}

.funding-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.funding-list li {
	padding: 10px 0;
	padding-left: 28px;
	position: relative;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.8);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.funding-list li:last-child {
	border-bottom: none;
}

.funding-list li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--primary-color);
	font-weight: 700;
}

.funding-note {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.6;
}

/* Funding Benefits */
.funding-benefits {
	background: rgba(255, 255, 255, 0.05);
	padding: 50px 40px;
	border-radius: 16px;
	margin-bottom: 40px;
}

.benefits-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 30px;
	color: white;
	text-align: center;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.benefit-item {
	display: flex;
	gap: 20px;
}

.benefit-icon {
	width: 40px;
	height: 40px;
	background: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 20px;
	font-weight: 700;
	color: white;
}

.benefit-content h4 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	color: white;
}

.benefit-content p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
}

/* Funding Alert */
.funding-alert {
	display: flex;
	gap: 20px;
	background: rgba(244, 185, 66, 0.1);
	border: 2px solid var(--primary-color);
	padding: 30px;
	border-radius: 12px;
	margin-bottom: 40px;
}

.alert-icon {
	font-size: 32px;
	flex-shrink: 0;
}

.alert-content h4 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
	color: white;
}

.alert-content p {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
}

.funding-cta {
	text-align: center;
}

/* Advantages Section */
.advantages-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
}

.advantages-section .section-subtitle {
	color: var(--primary-color);
}

.advantages-section .section-title {
	color: white;
}

.advantages-section .section-description {
	color: rgba(255, 255, 255, 0.8);
}

.advantages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 40px;
	margin-bottom: 50px;
}

/* Центрирование последних 2 карточек преимуществ */
@media (min-width: 1200px) {
	.advantages-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.advantages-grid .advantage-card:nth-child(5) {
		grid-column: 2 / 3;
	}
	
	.advantages-grid .advantage-card:nth-child(6) {
		grid-column: 3 / 4;
	}
}

.advantage-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 40px 30px;
	border-radius: 16px;
	position: relative;
	transition: all 0.3s ease;
	overflow: hidden;
}

.advantage-card:hover {
	transform: translateY(-8px);
	border-color: var(--primary-color);
}

.advantage-number {
	position: absolute;
	top: 30px;
	right: 30px;
	font-size: 48px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.1);
}

.advantage-icon {
	width: 64px;
	height: 64px;
	background: var(--primary-color);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	color: white;
}

.advantage-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 16px;
	color: white;
}

.advantage-description {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
}

.advantages-cta {
	text-align: center;
}

/* Roadmap Section */
.roadmap-section {
	padding: 80px 0;
	background: #322F2A;
	color: white;
}

/* Одноразовый эффект «дыхание» только на картинках при прокрутке (2 с) */
@keyframes roadmap-breathe-once {
	0% { transform: scale(1); }
	35% { transform: scale(1.02); }
	70% { transform: scale(1.01); }
	100% { transform: scale(1); }
}
.roadmap-section .step-image.roadmap-breathe-once {
	animation: roadmap-breathe-once 2s ease-in-out 1;
}

.roadmap-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

.roadmap-header {
	text-align: center;
	margin-bottom: 60px;
}

.roadmap-subtitle {
	font-size: 24px;
	font-weight: 300;
	color: #888;
	letter-spacing: 2px;
	display: block;
	margin-bottom: 15px;
}

.roadmap-title {
	font-size: 38px;
	font-weight: 700;
	line-height: 1.2;
	color: white;
	margin: 0;
}

.roadmap-steps {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	gap: 30px;
	position: relative;
}

.roadmap-step {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
}

.step-image {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	width: 100%;
	max-width: 320px;
	margin-bottom: 25px;
}

.step-image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	border-radius: 16px;
}

.step-connector {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 20px;
}

.step-number {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, var(--primary-color) 0%, #d4a373 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: 700;
	color: white;
	box-shadow: 0 6px 20px rgba(244, 185, 66, 0.4);
	z-index: 2;
	position: relative;
}

.connector-line {
	position: absolute;
	width: 150px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color) 0%, rgba(244, 185, 66, 0.3) 100%);
	left: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
}

.roadmap-step:last-child .connector-line {
	display: none;
}

.step-content {
	padding: 0;
	max-width: 320px;
}

.step-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 12px;
	color: white;
	line-height: 1.3;
}

.step-description {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

/* Gallery Section */
.gallery-section {
	padding: 100px 150px;
	background: var(--bg-darker);
}

.gallery-section .container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 1rem;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 50px;
	align-items: stretch;
}

.gallery-item {
	background: var(--bg-card);
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.3s ease;
	border: var(--text-gray) 1px solid;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.before-after-slider {
	position: relative;
	height: 300px;
	overflow: hidden;
	cursor: ew-resize;
}

.before-image,
.after-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.before-image img,
.after-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.after-image {
	clip-path: inset(0 50% 0 0);
}

.image-label {
	position: absolute;
	top: 20px;
	left: 20px;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.after-image .image-label {
	left: auto;
	right: 20px;
	background: var(--primary-color);
	color: var(--text-dark);
}

.slider-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	border-radius: 50%;
	cursor: ew-resize;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	z-index: 10;
	transition: none;
}

.slider-handle::before {
	content: '';
	width: 24px;
	height: 24px;
	background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='48' height='48' fill='white' fill-opacity='0.01'/%3E%3Cpath d='M10 8L4 14L10 20' stroke='%23000000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M38 28L44 34L38 40' stroke='%23000000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 14H44' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' stroke='%23000000'/%3E%3Cpath d='M4 34H44' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' stroke='%23000000'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.gallery-info {
	padding: 30px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.gallery-info h4 {
	font-size: 20px;
	font-weight: 600;
	color: var(--text-light);
	margin-bottom: 10px;
	min-height: 24px;
}

.gallery-info p {
	color: var(--text-muted);
	line-height: 1.6;
	margin: 0;
	flex-grow: 1;
	display: flex;
	align-items: flex-start;
}

/* Gallery Section Header Styles */
.gallery-section .services-subtitle {
	color: #888 !important;
	letter-spacing: 2px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	min-width: 200px;
	justify-content: flex-start;
	text-shadow: none !important;
	animation: none !important;
}

.gallery-section .services-subtitle::before {
	content: '';
	width: 150px;
	height: 2px;
	background: #888 !important;
	display: block;
	flex-shrink: 0;
	box-shadow: none !important;
	text-shadow: none !important;
}

.gallery-section .services-main-title {
	color: white !important;
	text-transform: uppercase;
}

/* Contact Section (CTA) */
.cta-section {
	position: relative;
	padding: 100px 150px;
	background: #1a1a1a;
	color: #fff;
}

.cta-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--primary-color) 50%,
		transparent 100%
	);
}

/* Contact Section Header Styles */
.cta-section .services-header {
	text-align: left;
	margin-bottom: 40px;
	position: relative;
}

.cta-section .services-subtitle {
	font-size: 28px;
	font-weight: 300;
	color: #888 !important;
	letter-spacing: 2px;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	min-width: 0;
	text-shadow: none !important;
	animation: none !important;
}

.cta-section .services-subtitle::before {
	content: '';
	width: 150px;
	height: 2px;
	background: #888 !important;
	display: block;
	flex-shrink: 0;
}

.cta-section .services-main-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-white);
	margin: 0;
}

.cta-content {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 3rem;
	display: grid;
	grid-template-columns: 1.8fr 1.2fr;
	gap: 80px;
	align-items: center;
}

.contact-content {
	max-width: 100%;
	width: 100%;
	text-align: left;
}

.cta-title {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	margin-bottom: 30px;
}

.cta-description {
	font-size: 18px;
	line-height: 1.6;
	color: #b8b8b8;
	margin-bottom: 20px;
	margin-top: 10px;
	text-align: left;
}

/* CTA Form */
.cta-form-wrapper {
	background: #f4f4f4;
	padding: 40px;
	border-radius: 12px;
	max-width: 500px;
	width: 100%;
	margin-left: -50px;
}

.cta-form-wrapper .contact-form {
	margin: 0;
}

.form-row {
	display: flex;
	gap: 12px;
	width: 100%;
	margin-bottom: 20px;
}

.text-input {
	width: 100%;
	padding: 14px 18px;
	background: #f8f9fa;
	border: 1px solid #ddd;
	color: #161616;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	transition: all 0.3s ease;
}

.text-input:focus {
	outline: none;
	border-color: var(--primary-color);
}

.text-input::placeholder {
	color: #8b8b8b;
	font-weight: 500;
}

.textarea-input {
	width: 100%;
	padding: 14px 18px;
	background: #f8f9fa;
	border: 1px solid #ddd;
	color: #161616;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	transition: all 0.3s ease;
	resize: vertical;
	min-height: 100px;
	margin-bottom: 20px;
}

.textarea-input:focus {
	outline: none;
	border-color: var(--primary-color);
}

.textarea-input::placeholder {
	color: #8b8b8b;
	font-weight: 500;
}

.form-checkbox {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
	font-size: 14px;
	color: var(--text-secondary);
}

.form-checkbox input[type="checkbox"] {
	margin-top: 3px;
	cursor: pointer;
}

.form-checkbox label {
	line-height: 1.6;
	cursor: pointer;
}

.consent-link {
	color: var(--primary-color);
	text-decoration: underline;
}

.form-submit-btn {
	width: 100%;
	padding: 16px;
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.form-submit-btn:hover {
	background: #a67c52;
	transform: translateY(-2px);
}

.form-note {
	font-size: 12px;
	color: var(--text-secondary);
	text-align: center;
	margin-top: 16px;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.gallery-section {
		padding: 80px 100px;
	}
	
	.gallery-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
	}
	
	.before-after-slider {
		height: 280px;
	}
	
	.funding-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.cta-section {
		padding: 80px 100px;
	}
	
	.roadmap-container {
		padding: 0 30px;
	}
	
	.roadmap-steps {
		gap: 25px;
	}
	
	.step-image {
		max-width: 280px;
	}
	
	.step-image img {
		height: 200px;
	}
	
	.step-content {
		max-width: 280px;
	}
	
	.connector-line {
		width: 120px;
	}
}

@media (max-width: 1024px) {
	.sanierung-hero .hero-title {
		font-size: 48px;
	}
	
	.section-title {
		font-size: 36px;
	}
	
	.sanierung-hero .hero-stats {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.gallery-section {
		padding: 60px 50px;
	}
	
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
		margin-top: 40px;
	}
	
	.before-after-slider {
		height: 260px;
	}
	
	.gallery-info {
		padding: 25px;
	}
	
	.funding-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.cta-section {
		padding: 60px 50px;
	}
	
	.cta-content {
		gap: 40px;
	}
	
	.roadmap-section {
		padding: 70px 0;
	}
	
	.roadmap-header {
		margin-bottom: 50px;
	}
	
	.roadmap-subtitle {
		font-size: 20px;
	}
	
	.roadmap-title {
		font-size: 32px;
	}
	
	.roadmap-steps {
		gap: 20px;
	}
	
	.step-image {
		max-width: 250px;
	}
	
	.step-image img {
		height: 180px;
	}
	
	.step-content {
		max-width: 250px;
	}
	
	.step-number {
		width: 60px;
		height: 60px;
		font-size: 28px;
	}
	
	.step-title {
		font-size: 20px;
	}
	
	.step-description {
		font-size: 14px;
	}
	
	.connector-line {
		width: 100px;
	}
}

@media (max-width: 768px) {
	section {
		padding: 60px 0;
	}
	
	.sanierung-hero {
		padding-top: 140px;
		min-height: calc(100vh - 140px);
	}
	
	.sanierung-hero .hero-container {
		padding-top: 0;
	}
	
	.sanierung-hero .hero-title {
		font-size: 36px;
	}
	
	.section-title {
		font-size: 28px;
	}
	
	.sanierung-hero .hero-stats {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.hero-cta {
		flex-direction: column;
	}
	
	.hero-btn {
		width: 100%;
	}
	
	.services-grid,
	.funding-grid,
	.advantages-grid {
		grid-template-columns: 1fr;
	}
	
	.gallery-section {
		padding: 50px 30px;
	}
	
	.gallery-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-top: 30px;
	}
	
	.gallery-item {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
	}
	
	.before-after-slider {
		height: 240px;
	}
	
	.gallery-info {
		padding: 20px;
	}
	
	.gallery-info h4 {
		font-size: 18px;
	}
	
	.contact-section {
		padding: 50px 30px;
	}
	
	.contact-container {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 0 1rem;
	}
	
	.contact-form-wrapper {
		margin-left: 0;
		max-width: 100%;
	}
	
	.contact-title {
		font-size: 32px;
	}
	
	.cta-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.form-row {
		flex-direction: column;
		gap: 12px;
	}
	
	.benefits-grid {
		grid-template-columns: 1fr;
	}
	
	.roadmap-section {
		padding: 60px 0;
	}
	
	.roadmap-container {
		padding: 0 20px;
	}
	
	.roadmap-header {
		margin-bottom: 40px;
	}
	
	.roadmap-subtitle {
		font-size: 16px;
	}
	
	.roadmap-title {
		font-size: 24px;
	}
	
	.roadmap-steps {
		flex-direction: column;
		gap: 40px;
		align-items: center;
	}
	
	.roadmap-step {
		max-width: 100%;
	}
	
	.step-image {
		max-width: 100%;
		margin-bottom: 20px;
	}
	
	.step-image img {
		height: 200px;
	}
	
	.step-connector {
		margin-bottom: 15px;
	}
	
	.step-number {
		width: 60px;
		height: 60px;
		font-size: 28px;
	}
	
	.connector-line {
		display: none;
	}
	
	.step-content {
		max-width: 100%;
		padding: 0 10px;
	}
	
	.step-title {
		font-size: 20px;
	}
	
	.step-description {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.sanierung-hero .hero-title {
		font-size: 28px;
	}
	
	.section-title {
		font-size: 24px;
	}
	
	.cta-title {
		font-size: 28px;
	}
	
	.funding-amount {
		font-size: 28px;
	}
	
	.roadmap-subtitle {
		font-size: 14px;
	}
	
	.roadmap-title {
		font-size: 22px;
	}
	
	.step-image img {
		height: 180px;
	}
	
	.step-number {
		width: 55px;
		height: 55px;
		font-size: 24px;
	}
	
	.step-title {
		font-size: 18px;
	}
	
	.step-description {
		font-size: 13px;
	}
}

/* ================================
   New blocks from screenshot
   ================================ */

/* Statistics standalone section */
.stats-standalone-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
	padding: 60px 0;
}
.stats-standalone-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}
.stats-standalone-item {
	padding: 20px;
}
.stats-standalone-number {
	font-size: 48px;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 8px;
}
.stats-standalone-text {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 768px) {
	.stats-standalone-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.stats-standalone-number {
		font-size: 36px;
	}
}

/* Property Owners section */
.property-owners-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
}
.property-owners-section .section-header {
	margin-bottom: 40px;
}
.property-owners-section .section-title {
	color: white;
}
.property-owners-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}
.property-owners-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.property-owners-info {
	background: rgba(20, 20, 20, 0.95);
	padding: 20px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	flex: 0 0 auto;
}
.property-owners-info-title {
	font-size: 17px;
	font-weight: 700;
	color: #CA9C51;
	margin: 0 0 14px 0;
	line-height: 1.3;
}
.property-owners-info-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.property-owners-info-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
}
.property-owners-info-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.property-owners-info-row dt {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	font-weight: 500;
	flex-shrink: 0;
}
.property-owners-info-row dd {
	margin: 0;
	color: #CA9C51;
	font-weight: 600;
	text-align: right;
}
.property-owners-placeholder {
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(202, 156, 81, 0.08);
	border: 2px dashed rgba(202, 156, 81, 0.4);
	padding: 24px;
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
}
.property-owners-image {
	aspect-ratio: 1 / 0.88;
	overflow: hidden;
	display: block;
	position: relative;
}
.property-owners-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	aspect-ratio: 1 / 0.88;
}
.property-owners-img-current {
	z-index: 1;
	opacity: 1;
}
.property-owners-img-next {
	z-index: 2;
	opacity: 0;
	transition: opacity 0.4s ease;
}
.property-owners-img-next.active {
	opacity: 1;
}
.section-cta {
	text-align: center;
}
@media (max-width: 768px) {
	.property-owners-grid {
		grid-template-columns: 1fr;
	}
}

/* Guarantees section (stepper / timeline style) */
.guarantees-section {
	background: #1a1a1a;
	color: white;
	padding: 72px 0;
}
.guarantees-title {
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 56px;
	color: white;
}
.guarantees-highlight {
	color: var(--primary-color);
	letter-spacing: 0.06em;
}
.guarantees-stepper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}
.guarantees-stepper::before {
	content: '';
	position: absolute;
	top: 44px;
	left: 14%;
	right: 14%;
	height: 2px;
	background: linear-gradient(90deg, rgba(202,156,81,0.3), var(--primary-color), var(--primary-color), rgba(202,156,81,0.3));
	z-index: 0;
}
.guarantee-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 1;
	padding: 0 16px;
}
.guarantee-step-dot {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
	border: 3px solid var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	flex-shrink: 0;
	box-shadow: 0 0 0 4px rgba(202, 156, 81, 0.15);
}
.guarantee-step-value {
	font-size: 20px;
	font-weight: 800;
	color: var(--primary-color);
}
.guarantee-step-icon {
	font-size: 28px;
	color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
}
.guarantee-step-icon svg {
	flex-shrink: 0;
	color: inherit;
}
.guarantee-step-body {
	max-width: 280px;
}
.guarantee-step-title {
	font-size: 17px;
	font-weight: 700;
	color: #CA9C51;
	margin-bottom: 10px;
	line-height: 1.3;
}
.guarantee-step-accent {
	color: #CA9C51;
	letter-spacing: 0.04em;
}
.guarantee-step-text {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}
@media (max-width: 768px) {
	.guarantees-stepper {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.guarantees-stepper::before {
		display: none;
	}
	.guarantees-title {
		font-size: 28px;
		margin-bottom: 40px;
	}
}

/* Chaos section (dark) */
.chaos-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
	text-align: center;
}
.chaos-content {
	max-width: 800px;
	margin: 0 auto;
}
.chaos-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 20px;
	color: white;
}
.chaos-description {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255,255,255,0.9);
	margin-bottom: 32px;
}
.chaos-section .section-btn {
	display: inline-block;
}
.btn-breathe:hover {
	transform: scale(1.04) translateY(-2px);
}
.btn-breathe {
	animation: btn-breathe 2.5s ease-in-out infinite;
}
@keyframes btn-breathe {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(202, 156, 81, 0.35);
	}
	50% {
		transform: scale(1.04);
		box-shadow: 0 0 20px 4px rgba(202, 156, 81, 0.4);
	}
}
.chaos-section .typing-cursor {
	display: inline-block;
	width: 2px;
	height: 1em;
	background: #CA9C51;
	vertical-align: text-bottom;
	margin-left: 2px;
	animation: chaos-typing-blink 0.8s step-end infinite;
}
@keyframes chaos-typing-blink {
	50% { opacity: 0; }
}
@media (max-width: 768px) {
	.chaos-title {
		font-size: 26px;
	}
}

/* Split sections (Stress-Free, Clear Budget, Finished Home) – image flush to all edges */
.split-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
	overflow: hidden;
	padding: 0;
}
.split-section-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
	min-height: 420px;
	width: 100%;
	max-width: none;
}
.split-section-inner.reverse {
	direction: rtl;
}
.split-section-inner.reverse > * {
	direction: ltr;
}
/* Image on the right: content first in DOM, align text under site container */
.split-section-inner.image-right .split-section-content {
	padding: 48px 60px 48px 80px;
	margin-left: 0;
	max-width: 760px;
}
@media (min-width: 1770px) {
	.split-section-inner.image-right .split-section-content {
		padding-left: calc((100vw - 1650px) / 2 + 20px);
	}
}
.split-section-media {
	min-height: 420px;
	height: 100%;
	display: flex;
	padding: 0;
	margin: 0;
}
.split-section-placeholder {
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.05);
	border: 2px dashed rgba(202, 156, 81, 0.4);
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	padding: 24px;
}
.split-section-image {
	flex: 1;
	width: 100%;
	height: 100%;
	min-height: 420px;
	overflow: hidden;
	border-radius: 0;
	display: block;
}
.split-section-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.split-section-content {
	padding: 48px 40px 48px 60px;
	max-width: 720px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.split-section-inner.reverse .split-section-content {
	padding: 48px 60px 48px 40px;
	margin-left: auto;
}
.split-section-content .section-subtitle {
	display: block;
	margin-bottom: 12px;
	color: var(--primary-color);
}
.split-section-content .section-title {
	text-align: left;
	margin-bottom: 16px;
	color: white;
}
.split-section-content .section-description {
	text-align: left;
	margin: 0 0 24px 0;
	color: rgba(255, 255, 255, 0.85);
}
.split-section.stress-free-section,
.split-section.finished-home-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.split-section.clear-budget-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
@media (max-width: 968px) {
	.split-section-inner {
		grid-template-columns: 1fr;
		gap: 0;
		direction: ltr;
		min-height: 0;
	}
	.split-section-inner.reverse,
	.split-section-inner.image-right {
		direction: ltr;
	}
	.split-section-inner.image-right .split-section-content {
		padding: 40px 20px;
		margin-left: 0;
	}
	.split-section-media {
		order: -1;
		min-height: 280px;
	}
	.split-section-image {
		min-height: 280px;
	}
	.split-section-content {
		padding: 40px 20px;
		max-width: none;
	}
	.split-section-inner.reverse .split-section-content {
		padding: 40px 20px;
		margin-left: 0;
	}
	.split-section-content .section-title,
	.split-section-content .section-description {
		text-align: center;
	}
	.split-section-content .section-description {
		margin-left: auto;
		margin-right: auto;
	}
	.split-section-placeholder {
		min-height: 280px;
	}
}

/* Testimonials section (wie Hauptseite – Slider mit Gruppen) */
.testimonials-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
	padding: 80px 20px;
}
.testimonials-container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}
.testimonials-header {
	text-align: center;
	margin-bottom: 48px;
}
.testimonials-section .section-subtitle {
	color: var(--primary-color);
	display: block;
	margin-bottom: 8px;
}
.testimonials-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	color: white;
	margin: 0;
}
.testimonials-grid-container {
	position: relative;
	overflow: visible;
	min-height: 320px;
}
.testimonials-grid {
	position: relative;
	width: 100%;
}
.testimonials-group {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: opacity 0.4s ease, transform 0.4s ease;
	transform: translateX(60px);
}
.testimonials-group.active {
	opacity: 1;
	visibility: visible;
	position: relative;
	transform: translateX(0);
}
.testimonials-section .testimonial-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 28px;
	text-align: center;
	transition: all 0.3s ease;
}
.testimonials-section .testimonial-card:hover {
	transform: translateY(-6px);
	border-color: rgba(202, 156, 81, 0.5);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.testimonial-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.quote-icon {
	font-size: 48px;
	color: var(--primary-color);
	font-family: serif;
	line-height: 1;
	margin-bottom: 8px;
}
.testimonials-section .testimonial-text {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 20px;
	text-align: center;
}
.testimonial-author {
	margin-top: auto;
}
.author-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--primary-color);
	margin: 0;
}
.testimonial-navigation {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 40px;
}
.testimonial-nav-btn {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s ease;
}
.testimonial-nav-btn:hover {
	border-color: var(--primary-color);
	color: var(--primary-color);
	transform: scale(1.08);
}
.testimonial-nav-btn.active {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #1a1a1a;
}
@media (max-width: 968px) {
	.testimonials-group {
		grid-template-columns: 1fr;
	}
	.testimonials-section .testimonial-card {
		display: none;
	}
	.testimonials-title {
		font-size: 26px;
	}
}

/* About / Team section (from main page) – dark theme override */
#our-team.about-section {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
#our-team.about-section .about-title,
#our-team.about-section .team-name,
#our-team.about-section .leader-name {
	color: #fff;
}
#our-team.about-section .about-description,
#our-team.about-section .leader-quote,
#our-team.about-section .team-position,
#our-team.about-section .leader-position {
	color: rgba(255, 255, 255, 0.75);
}
#our-team.about-section .section-label {
	color: rgba(255, 255, 255, 0.5) !important;
}
#our-team.about-section .section-label::before {
	background: rgba(255, 255, 255, 0.35) !important;
}
#our-team.about-section .team-photo,
#our-team.about-section .leader-photo {
	border-color: var(--primary-color);
}
#our-team.about-section .leader-quote::before,
#our-team.about-section .leader-quote::after {
	color: var(--primary-color);
}
#our-team.about-section .cta-btn-about {
	background: var(--primary-color);
	color: #fff;
}
#our-team.about-section .cta-btn-about:hover {
	box-shadow: 0 0 20px var(--primary-color);
}