/*
Theme Name: Sensation
Author: juchem-medien
Description: Template für Sensation Tiertherapie
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Fonts */ 

@font-face {
	font-family: 'Sofia Pro';
	font-style: normal;
	font-weight: 300; /* Light */
	src: local('Sofia Pro Light'), url('/wp-content/themes/sensation/fonts/Sofia_Pro_Light.woff') format('woff');
}

@font-face {
	font-family: 'Sofia Pro';
	font-style: normal;
	font-weight: 400; /* Regular */
	src: local('Sofia Pro Regular'), url('/wp-content/themes/sensation/fonts/Sofia_Pro_Regular.woff') format('woff');
}

@font-face {
	font-family: 'Sofia Pro';
	font-style: normal;
	font-weight: 700; /* Bold */
	src: local('Sofia Pro Bold'), url('/wp-content/themes/sensation/fonts/Sofia_Pro_Bold.woff') format('woff');
}


/* Body */ 

*, *::before, *::after {
	box-sizing: inherit;
}

img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
	height: auto;
}

input, button, textarea, select {
	font: inherit;
}

body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

/* Admin Bar nach unten */ 


/* Sticky Header */ 

.ehf-header #masthead {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	transition: all 0.3s ease;
	will-change: transform;
	padding:15px 0px;
}


/* Archivseite abstand */
body {
	padding-top: var(--masthead-height, 80px); 
}

body.home {
	padding-top:0; 
}

body.single-workshops {
	background:#F2F2FB;
}


#masthead.scrolled {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Beispiel für visuelle Veränderung */
	background-color:#fff;
	transition: all 0.3s ease;
	padding:0px 0px;
}


/* Navi */

/* Small devices (mobile/tablets, 767px and below) */
@media only screen and (max-width: 766px) {
	.ehf-header #masthead {
		padding:20px 0px 20px 0;
	}

}

/* Medium devices (tablets/desktops, 768px and up) */
@media only screen and (min-width: 768px) {

}

/* Large devices (large laptops and desktops, 1168px and up) */
@media only screen and (min-width: 1168px) {

}



/* Active Navigation per Page Scroll to ID Plugin */ 



.current-menu-item > a {
	color: var(--e-global-color-primary); /* Elementor Primary */
	font-weight: bold;
}

.elementor-nav-menu a.active {
	color: var(--e-global-color-primary);
	font-weight: bold;
}




/* ################## */
/* ################## */
/* Gestaltung */
/* ################## */
/* ################## */

h1,h2,h3,h4 {
	font-family: 'Sofia Pro'!important;
	font-weight:300;
}

.sofia {
	font-family: 'Sofia Pro'!important;
}

/* ################## */
/* ################## */
/* Pills */
/* ################## */
/* ################## */

.quali-swiper {
	padding: 10px 0;
}
.quali-swiper .swiper-slide {
	background:#F2F2FB;
	color: #554372;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.9rem;
	white-space: nowrap;
	width: auto !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.quali-pills-slider {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 1rem;
}

.quali-pill {
	background: rgba(145, 144, 255, 0.06);
	color: #1f1e4b;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.9rem;
	white-space: nowrap;
	transition: background 0.3s;
}

.quali-pill:hover {
	background: rgba(145, 144, 255, 0.12);
}

/* Workshops */ 

.workshop-slide {
	background: #fff;
	border-radius: 16px;
	text-align: center;
	padding: 1rem;

}

.workshop-image {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1rem;
}

.workshop-image img {
	width: 220px;
	height: 220px;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	clip-path: ellipse(48% 40% at 50% 50%);}




.workshop-title {
	font-weight: bold;
	font-size: 1.1rem;
}

.workshop-excerpt {
	font-style: italic;
	margin: 0.5rem 0 1rem;
}

.workshop-meta {
	display: flex;
	justify-content: center;
	gap: 10px;
	font-size: 0.8rem;
	margin-bottom: 1rem;
}

.single-workshops .workshop-meta  {
	display: flex;
	justify-content: center;
	gap: 25px;
	font-size: 1rem;
	margin-bottom: 1rem;
}


.workshop-buttons {
	display:flex;
	gap:15px;

}


.workshop-buttons .btn {
	display: block;
	margin: 0.4rem auto;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	width: 80%;
	text-align: center;
	font-size: 0.9rem;
	text-decoration: none;
}

@media only screen and (max-width: 767px) {
	.workshop-buttons {
		display:flex;
		flex-direction:column;
		gap:0;
	}
}

.no-workshops-message {
	padding: 2em;
	text-align: center;
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 1.1em;
	color: #555;
}



/* Workshop Detail */ 

.workshop-buttons.workshop-detail {
	text-align: center;
}

.workshop-buttons.workshop-detail .btn {
	display:inline-block;
	width:auto;
	margin:0 auto!important
}

.workshop-buttons-bottom  {
	margin:5vw 0;
}

.hr-light {
	border: none;
	height: 1px;
	background-color: #ddd; /* oder z. B. rgba(0,0,0,0.1) für feiner */
	margin: 2rem 0; /* Abstand oben/unten – kannst du anpassen */
}

/* Modal*/ 

.form-modal-overlay {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0; top: 0; right: 0; bottom: 0;
	background-color: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
}

.form-modal-content {
	background: white;
	padding: 2rem;
	max-width: 800px;
	width: 90%;
	border-radius: 8px;
	position: relative;
	max-height:90vh;
	overflow:scroll;
}

.form-modal-close {
	position: absolute;
	top: 10px; right: 15px;
	font-size: 24px;
	cursor: pointer;
}




/* ENde */


.btn-white {
	background: #fff;
	color: #554372;
	border: 1px solid #554372;
}

.btn-purple {
	background: #554372;
	color: #fff;
	border: 1px solid #554372;
}

.swiper-button-next,
.swiper-button-prev {
	color: #554372!important;
	top:140px!important;
}



/* Form hinter Bildern */
.bubbles-background:before {
	content: '';
	width: 350px;
	height: 350px;
	background: #F2F2FC;
	position: absolute;
	left: -20px;
	top: -20px;
	border-radius: 50%;
	animation: floatAndMorph 4s ease-in-out infinite;
	opacity: 0.6;
	z-index:-1;
}

.bubbles-background:after {
	content: '';
	width: 300px;
	height: 350px;
	background: #F2F2FC;
	position: absolute;
	right: -20px;
	bottom: -20px;
	border-radius: 50%;
	animation: floatAndMorph 4s ease-in-out infinite;
	opacity: 0.6;
	z-index:-1;
}

/* Animation für Bewegung und leichte Verformung */
@keyframes floatAndMorph {
	0% {
		transform: translateY(0) scale(1, 1);
		border-radius: 50% 50% 50% 50%;
	}
	25% {
		transform: translateY(-5px) scale(1.02, 0.98);
		border-radius: 55% 45% 50% 50%;
	}
	50% {
		transform: translateY(0) scale(0.98, 1.02);
		border-radius: 50% 50% 45% 55%;
	}
	75% {
		transform: translateY(5px) scale(1.01, 0.99);
		border-radius: 48% 52% 50% 50%;
	}
	100% {
		transform: translateY(0) scale(1, 1);
		border-radius: 50% 50% 50% 50%;
	}
}

/* Workshop Archiv-Seite */

.workshop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}


.workshop-slide {
	background: #fff;
	border-radius: 16px;
	padding: 1.5rem;

	text-align: center;
}

.workshop-image img {
	border-radius: 50%;
	object-fit: cover;
	width: 220px;
	height: 220px;
	margin: 0 auto 1rem;
}

/* WOrkshop Detail */

.workshop-single-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
	text-align:left;
}

.workshop-single-header {
	text-align: center;
	margin-bottom: 2rem;
}

.workshop-page-title {
	font-size: 3rem;
	color: #554372;
}

.workshop-fulltext {
	text-align: left;
	font-family: 'Sofia Pro'!important;
	font-weight:300;
	padding: 2.5vw 2.5vw;
	background: #fff;
	border-radius: 16px;
}

.single-workshops
.workshop-meta {
	margin-bottom:2.5vw;
}
.single-workshops
.workshop-image img {
	width: 500px;
	height: 500px;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	borde-radius:999px;
	clip-path:none;
}

.single  ul.wp-block-list {
	line-height:2.5;
	padding-left:20px;
	margin-bottom:20px;
}


@media only screen and (max-width: 1139px) {
.single-workshops
.workshop-image img {
	width: 90%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	borde-radius:999px;
	clip-path:none;
}
	
.workshop-fulltext {
	text-align: left;
	font-family: 'Sofia Pro'!important;
	font-weight:300;
	padding: 5rem 2.5rem;
	background: #fff;
	border-radius: 16px;
}	
.single-workshops
.workshop-meta {
	margin:2.5rem 0;
	font-size:0.9rem;
}	
	
}


.single-workshops h2 {
	color: var(--e-global-color-primary);
}

.single-workshops h3 {
	color: var(--e-global-color-secondary);
}

/* Formular Button */ 




.start-formular {
	background-color:#F2F2FB;
	padding:20px;
}


.forminator-button.forminator-button-submit {
	border-radius: 99px!Important;
	color: #fff;
}

.forminator-button.forminator-button-submit:hover {
	box-shadow:none!important;
}


.forminator-consent__label p {
	font-size: 0.8rem !important;
}

.forminator-checkbox__wrapper {
	margin-top: 10px!important;
}

.forminator-description {
	position: absolute;
	right: 30px;
	top: unset;
	margin-top: 10px;

}
