/**
 * Testimonials Section Styles
 * Patientenstimmen Slider nach Designvorlage
 */


.columns-section,
.three-columns-section,
.four-columns-section,
.five-columns-section,
.six-columns-section,
.seven-columns-section {
	background-color: #f5f5f5;
	padding: 120px 0 200px 0;
	margin-top: 0;
}

.columns-section .wrapper,
.three-columns-section .wrapper,
.four-columns-section .wrapper,
.five-columns-section .wrapper,
.six-columns-section .wrapper,
.seven-columns-section .wrapper {
	margin: 0 auto;
	padding: 0;
	width: 94%;
}

.columns-section h2,
.three-columns-section h2,
.four-columns-section h2,
.five-columns-section h2,
.six-columns-section h2,
.seven-columns-section h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 4rem;
}

.columns-section h2:after,
.three-columns-section h2:after,
.four-columns-section h2:after,
.five-columns-section h2:after,
.six-columns-section h2:after,
.seven-columns-section h2:after {
	content: none;
}

/* ===========================================
   Spalten Grid Container
   =========================================== */

.columns-grid,
.threecol-grid,
.fourcol-grid,
.fivecol-grid,
.sixcol-grid,
.sevencol-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: space-between;
}

/* ===========================================
   Spalten Items - Gemeinsame Styles
   =========================================== */

.threecol-item,
.fourcol-item,
.fivecol-item,
.sixcol-item,
.sevencol-item {
	text-align: center;
}

.threecol-image,
.fourcol-image,
.fivecol-image,
.sixcol-image,
.sevencol-image {
	background-color: #d4c4b5;
	margin-bottom: 15px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.threecol-image img,
.fourcol-image img,
.fivecol-image img,
.sixcol-image img,
.sevencol-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.threecol-text,
.fourcol-text,
.fivecol-text,
.sixcol-text,
.sevencol-text {
	color: #646567;
	font-size: 0.95em;
	line-height: 1.5;
}

.threecol-text p,
.fourcol-text p,
.fivecol-text p,
.sixcol-text p,
.sevencol-text p {
	margin: 0;
	color: #646567;
}

/* ===========================================
   Spalten-spezifische Breiten
   =========================================== */

/* 3 Spalten: 33.333% - gap */
.threecol-item {
	width: calc(33.333% - 17px);
}

/* 4 Spalten: 25% - gap */
.fourcol-item {
	width: calc(25% - 19px);
}

/* 5 Spalten: 20% - gap */
.fivecol-item {
	width: calc(20% - 20px);
}

/* 6 Spalten: 16.666% - gap */
.sixcol-item {
	width: calc(16.666% - 21px);
}

/* 7 Spalten: 14.285% - gap */
.sevencol-item {
	width: calc(14.285% - 22px);
}

/* ===========================================
   Responsive: Tablet (max-width: 1024px)
   =========================================== */

@media screen and (max-width: 1024px) {
	/* 6 und 7 Spalten auf 4 reduzieren */
	.sixcol-item,
	.sevencol-item {
		width: calc(25% - 19px);
		margin-bottom: 20px;
	}
	
	/* 5 Spalten auf 3 reduzieren */
	.fivecol-item {
		width: calc(33.333% - 17px);
		margin-bottom: 20px;
	}
}

/* ===========================================
   Responsive: Tablet Portrait (max-width: 768px)
   =========================================== */

@media screen and (max-width: 768px) {
	/* Alle auf 2 Spalten */
	.threecol-item,
	.fourcol-item,
	.fivecol-item,
	.sixcol-item,
	.sevencol-item {
		width: calc(50% - 16px);
		margin-bottom: 20px;
	}
	
	.columns-section h2,
	.three-columns-section h2,
	.four-columns-section h2,
	.five-columns-section h2,
	.six-columns-section h2,
	.seven-columns-section h2 {
		font-size: 1.3rem;
	}
}

/* ===========================================
   Responsive: Mobile (max-width: 480px)
   =========================================== */

@media screen and (max-width: 480px) {
	/* Alle auf 1 Spalte */
	.threecol-item,
	.fourcol-item,
	.fivecol-item,
	.sixcol-item,
	.sevencol-item {
		width: 100%;
		max-width: 280px;
		margin: 0 auto 25px;
	}
	
	.columns-grid,
	.threecol-grid,
	.fourcol-grid,
	.fivecol-grid,
	.sixcol-grid,
	.sevencol-grid {
		justify-content: center;
	}
	
	.columns-section,
	.three-columns-section,
	.four-columns-section,
	.five-columns-section,
	.six-columns-section,
	.seven-columns-section {
		padding: 40px 0;
	}
}


/* ===========================================
   Testimonials Section
   =========================================== */

/* Testimonials Section Container - volle Breite */
.testimonials-section {
	background-color: #f5f5f5;
	margin-top: 0;
	overflow: hidden;
	position: relative;
}

.testimonials-container {
	display: flex;
	flex-wrap: nowrap;
	max-width: 1100px;
	margin: 0 auto;
	min-height: 500px;
	position: relative;
}

.testimonials-left {
	width: 85%;
	padding: 0;
	box-sizing: border-box;
}

.testimonials-header {
	background-color: #636264;
	padding: 30px 35px;
	border-top: 1rem solid #e1d1bd;
}

.testimonials-header h2 {
	color: #ffffff;
	font-size: 2em;
	line-height: 1.2;
	text-align: left;
}

.testimonials-header h2:after {
	content: none;
}

.testimonials-intro {
	color: #f3f3f3;
	font-size: 1.125rem;
	line-height: 1.438rem;
	letter-spacing: .05em;
	margin: 0;
}

.testimonials-slider {
	position: relative;
	width: 100%;
	min-height: 600px;
	display: flex;
	align-items: center;
}

.testimonials-carousel.owl-carousel {
	width: 100%;
}

.testimonials-carousel .owl-item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.testimonials-carousel .testimonial-item {
	padding: 0 200px;
	box-sizing: border-box;
}

.testimonials-carousel .testimonial-content {
	font-size: 1em;
	line-height: 1.8;
	text-align: center;
}

.testimonials-carousel .testimonial-content p {
	margin: 0 0 1em 0;
}

.testimonials-carousel .testimonial-content p:last-child {
	margin-bottom: 0;
}

/* Rechte Seite */
.testimonials-right {
	width: 15%;
	flex-shrink: 0;
	position: relative;
}

.testimonials-image {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: calc(100% + (50vw - 400px));
	min-width: 100%;
	overflow: hidden;
}

.testimonials-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Navigation */
.testimonials-carousel .owl-nav .owl-prev,
.testimonials-carousel .owl-nav .owl-next {
	width: 30px;
	height: 30px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url('https://plastische-chirurgie-loerrach.de/wp-content/themes/voigt-iblher-torio/graphics/arrow-read-more.svg') !important;
}

.testimonials-carousel .owl-nav .owl-prev {
	transform: rotate(180deg);
}

.testimonials-carousel .owl-nav div.owl-next {
	right: 50px;
}

.testimonials-carousel .owl-nav div.owl-prev {
	left: 50px;
}

.testimonials-carousel .owl-nav div {
	margin-top: -15px !important;
}

.owl-stage {
	display: flex;
	justify-content: center;
	justify-items: center;
	flex-direction: row;
	align-items: center;
}

/* ===========================================
   Testimonials Responsive
   =========================================== */

@media screen and (max-width: 900px) {
	.testimonials-container {
		flex-direction: column;
		max-width: 94%;
		width: 94%;
	}
	
	.testimonials-left {
		width: 100%;
		padding: 50px 0 0 0;
		order: 1;
	}
	
	.testimonials-right {
		width: 100%;
		height: 350px;
		order: 2;
	}
	
	.testimonials-image {
		position: relative;
		width: calc(100% + 6vw);
		margin-left: -3vw;
		height: 100%;
	}

	.testimonials-slider {
		min-height: 350px;
	}

	.testimonials-carousel .testimonial-item {
		padding: 0 100px;
	}

	.testimonials-carousel .owl-nav div.owl-next {
		right: 20px;
	}

	.testimonials-carousel .owl-nav div.owl-prev {
		left: 20px;
	}

	.testimonials-carousel .owl-nav div {
		margin-top: -15px !important;
	}
}

@media screen and (max-width: 640px) {
	.testimonials-left {
		padding: 40px 0 0 0;
	}
	
	.testimonials-header h2 {
		font-size: 1.6em;
	}
	
	.testimonials-intro {
		font-size: 0.95em;
	}
	
	.testimonials-right {
		height: 280px;
	}
	
	.testimonial-content {
		font-size: 0.95em;
	}
	
	.testimonials-carousel .testimonial-item {
		padding: 100px;
	}

	.testimonials-carousel .owl-nav div.owl-next {
		right: 0;
	}

	.testimonials-carousel .owl-nav div.owl-prev {
		left: 0;
	}
}

@media screen and (max-width: 480px) {
	.testimonials-header {
		padding: 15px;
		border-top: 0.8rem solid #e1d1bd;
	}

	.testimonials-slider {
		min-height: 400px;
	}

	.testimonials-left {
		padding: 30px 0 0 0;
	}
	
	.testimonials-header h2 {
		font-size: 1.4em;
	}
	
	.testimonials-right {
		height: 220px;
	}
	
	.testimonials-carousel .testimonial-item {
		padding: 30px 50px;
	}
}