/*
 Theme Name:   2023 child
 Description:  Child Theme
 Author:       
 Template:     twentytwentythree
 Version:      1.0
 Text Domain:  2023-child2
*/

@viewport {
	width: device-width;	
	zoom: 1;	
	}


	:root {
		--base-font-size: 16px;
	}


	@font-face {
		font-family: 'ssp_r';
		src: url('fonts/SourceSansPro-Regular.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}
	
	
	
	@font-face {
		font-family: 'ssp_b';
		src: url('fonts/SourceSansPro-Bold.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}
	
	
	@font-face {
		font-family: 'ssp_l';
		src: url('fonts/SourceSansPro-Light.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}


	@font-face {
		font-family: 'os';
		src: url('fonts/OpenSans-VariableFont_wdth,wght.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}


	@media (prefers-color-scheme: dark) {
		:root {
			--bg-color: #000000;
			--text-color: #ffffff;
		}
	}



	
	:root {
		
		--bg-color: #ffffff;
		--text-color:#242424;
		--base-font-size: 18px;
		

   }
	
	html {
		max-width: 100%;
		overflow-x: hidden;
		scroll-behavior: smooth;
	}


	:target {
  scroll-margin-top: 200px; /* Höhe deines Headers */
}


body {				
font-family: 'ssp_r';	

color:var(--text-color);
font-size: 16px !important;
padding: 0 !important;
position: relative;
max-width: 100vw;
overflow-x: hidden;
}

body::after{
position: fixed;
top:0;
left:0;
background: url('https://ergomanus.de/wp-content/uploads/2025/10/body_bg.png');
content:'';
width:100vw;
height:100vh;
z-index:-1;
opacity:0.15;
background-size: cover;

}


body > .wp-site-blocks {
	padding:0;
}





.usernav {
	padding:10px;
	background-color: #647e21;
}

.usernav a {
	color:white;
	text-decoration: none;
}



.usernav .tel:before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f095";
	color: white;
	margin-right:1em;
}

.usernav .mail:before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0e0";
	color: white;
	margin-right:1em;
}


header {
	width: 100%;
	position: fixed;
	top:0;
	z-index:999;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	overflow: visible;
	background-color: white;
	max-width: 100% !important;
}


.logo {
  width: 400px;
  max-width: 80vw;
  transition: width 0.5s ease, transform 0.5s ease;
}

.small-logo {
  width: 300px;
  transform: translateY(5px);
}

.wp-block-cover {position: relative;}




.entry-content > .wp-block-cover .wp-block-cover__image-background {
  -webkit-mask-image: url('https://ergomanus.de/wp-content/uploads/2025/10/kurve.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 240%;
  -webkit-mask-position: bottom center;
  
  
  mask-image: url('https://ergomanus.de/wp-content/uploads/2025/10/kurve.svg');
  mask-repeat: no-repeat;
  mask-size: 100% 240%;
  mask-position: bottom center;
  mask-mode: alpha;
}




nav a {color:black !important; font-size:1.5em; font-weight: bold; color:#405800 !important;}

.wp-block-cover__inner-container { max-width: 60% !important; margin: auto; width:60% !important;}

.wp-block-cover__inner-container p {margin:0 0 !important; padding:0; font-size:1.2em; color:black; max-width: 100% !important;}




.wp-block-cover__inner-container .wp-block-buttons {margin:1em 0 !important;}

p.h1-like, .wp-block-cover__inner-container h1 {
	font-weight:800;
  font-size: 3em;
  color: #5d7f00 !important;

margin-left: 0 !important;
  margin-right: 0 !important;
padding:0;
font-family: 'ssp_b';
line-height: 1.1em;
margin-bottom: 0.2em;
max-width: 100% !important;
}





h2 {
	font-weight:800;
  font-size: 2.5em;
  color: #405700 !important;
}


h3 {
	font-weight:800;
  font-size: 2.5em;
  color: #405700 !important;
}



.wp-block-button__link {
  display: inline-block;
  background: #5d7f00; /* dein Logo-Grün */
  color: #fff;
  font-weight: 600;
  padding: 0.9em 1.8em;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.wp-block-button__link:hover {
  background: #7ab234;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.wp-block-button__link:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}



.therapien a {font-size:1.3em; text-decoration: none; color: black; font-weight: bold;}

.therapien > div {box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px; border-radius: 5px;}
.therapien > div img {border-radius: 5px;}
.therapien > div > p:nth-child(2) {padding:0 10px !important; margin-top:10px;}
.therapien > div > p:nth-child(3) {padding:0 10px 20px 10px !important;}


.white {background-color: white;}
.grey {background-color: rgba(229, 229, 229, 0.614);}


.center_list {width: fit-content; margin: 2em auto; max-width: 800px;}

.iconrow {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2em 2em;

align-items: start;
}

.iconrow p {
  position: relative;
  padding-left: 2em;
  margin: 0;
  font-size: 1.5em;
  line-height: 1.4;

}

.iconrow p::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #d4a300;
}

/* Icons pro Element */
.iconrow p:first-child::before        { content: "\f4fe"; } /* house-user */
.iconrow p:nth-child(2)::before       { content: "\f6ec"; } /* hiking */
.iconrow p:nth-child(3)::before       { content: "\f058"; } /* check-circle */
.iconrow p:nth-child(4)::before       { content: "\f500"; } /* user-friends */
.iconrow p:nth-child(5)::before       { content: "\f4be"; } /* hand-holding-heart */







.therapy-columns ul {
  list-style: disc;
  margin-left: 1.5em;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.2em;
  padding: 2em 0 0 2em;
}

.benefits p {
  position: relative;
  padding-left: 2em;
  margin: 0;
  font-size: 1.5em;
  min-width:40%;
}

.benefits p::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #2e7d32;
}



.therapy-selector {
  margin-top: 3em;
  text-align: center;
}

.therapy-selector img {
  max-width: 200px;
  margin: 0 auto 1em auto;
  display: block;
  transition: transform 0.3s ease;
}

.therapy-selector a:hover img {
  transform: scale(1.05);
}

.therapy-section h2 {
  color: #2e7d32;
  margin-bottom: 0.5em;
}

.therapy-section ul {
  list-style: disc;
  margin-left: 1.5em;
}

details {
  margin-top: 1em;
  border: 1px solid #d0e3d0;
  border-radius: 8px;
  padding: 1em;
  background: #f9fdf9;
}

details summary {
  font-weight: bold;
  cursor: pointer;
}

details[open] summary {
  color: #2e7d32;
}



.benefits p:nth-child(1)::before { content: "\f4be"; } /* heart-holding */
.benefits p:nth-child(2)::before { content: "\f058"; } /* check-circle */
.benefits p:nth-child(3)::before { content: "\f44b"; } /* running */
.benefits p:nth-child(4)::before { content: "\f004"; } /* heart */
.benefits p:nth-child(5)::before { content: "\f5dc"; } /* brain */
.benefits p:nth-child(6)::before { content: "\f4fe"; } /* house-user */


.orto p:nth-child(1)::before { content: "\f44b"; } /* running */
.orto p:nth-child(2)::before { content: "\f004"; } /* heart */
.orto p:nth-child(3)::before { content: "\f6ec"; } /* hiking */
.orto p:nth-child(4)::before { content: "\f624"; } /* dumbbell */
.orto p:nth-child(5)::before { content: "\f192"; } /* dot-circle */
.orto p:nth-child(6)::before { content: "\f4fe"; } /* house-user */


.paediatrie p:nth-child(1)::before { content: "\f02d"; } /* book-open */
.paediatrie p:nth-child(2)::before { content: "\f44b"; } /* running */
.paediatrie p:nth-child(3)::before { content: "\f004"; } /* heart */
.paediatrie p:nth-child(4)::before { content: "\f5dc"; } /* brain */
.paediatrie p:nth-child(5)::before { content: "\f4fe"; } /* house-user */
.paediatrie p:nth-child(6)::before { content: "\f118"; } /* smile */


.decals > div {
	background-color: white;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}


.decals > div .headline{
font-size:1.5em;
font-weight: bold;
}

.decals .wp-block-cover__inner-container {position: unset;}
.decals .wp-block-cover__inner-container h3 {position: absolute; width:100%; bottom:0; background-color: rgba(255,255,255,0.7); max-width: 100% !important; left:0;
  width: 100% !important;
  padding: 1em !important; text-align: center;}

.decals .wp-block-cover__inner-container h3 {color:black !important; font-weight: bold; font-size:1.5em; box-sizing: border-box;}

.decals .wp-block-cover {position: relative;}

ul.hook {
  list-style: none; /* Standardpunkte weg */
  margin: 0;
  padding: 1em;
  width:fit-content;
  margin: auto;
}

ul.hook li {
  position: relative;
  padding-left: 1.5em; /* Platz für Icon */
  margin-bottom: 0.5em;
}

ul.hook li::before {
  content: "\f00c"; /* Font Awesome Checkmark */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* wichtig für solid icons */
  color: #2ecc71; /* schönes Grün, kann angepasst werden */
  position: absolute;
  left: 0;
  top: 0;
}

.hor_list {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:1em 2em;
}

.hor_list li {
padding:10px;
border:1px solid #2e7d32;
background-color: rgba(255,255,255,0.8);
}

footer {
	background-color: #647e21;
	color:white;
	padding:1em 0 0 0;
	margin-top:0;
}


footer .wp-block-columns .wp-block-column h3 {
color: white !important;
font-size:2em !important
}


footer .footer_legal {
	margin: 1em 0 0 0;
	padding:10px;
	background-color: #3b4d10;
}


footer .footer_legal a {color:white; text-decoration: none; font-size:0.8em; border-bottom:1px solid transparent;}
footer .footer_legal a:hover {border-bottom:1px dotted white;}

@media screen AND (max-width: 1000px) {

	.decals {gap:10px !important}
	.decals > div {padding:5px 5px 20px 5px !important;}
	.decals > div p {padding:5px 20px !important;}
header > div > div {flex-direction: column;}
	header img {width: 400px !important;}

	header div {
		justify-content: center !important;
	}


	.entry-content > .wp-block-cover .wp-block-cover__image-background {
  -webkit-mask-image: url('https://ergomanus.de/wp-content/uploads/2025/10/kurve.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 240%;
  -webkit-mask-position: bottom center;
  mask-image: url('https://ergomanus.de/wp-content/uploads/2025/10/kurve.svg');
  mask-repeat: no-repeat;
  mask-size: 100% 90%;
  mask-position: bottom center;
  mask-mode: alpha;
}






.therapien {display: grid !important; grid-template-columns: 1fr 1fr;}







  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container {
    display: block !important;
  }

  
  .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    display: block !important;
  }

  /* Optional: Desktop-Menü ausblenden */
  .wp-block-navigation__container {
    flex-direction: column;
  }


	#modal-1::after {
		background-image: url('https://ergomanus.de/wp-content/uploads/2025/10/body_bg.png');
		background-size: cover;
		background-position: center;
		width:100%;
		height:100%;
		content:'';
		z-index:-1;
		position: absolute;
		left:0;
		top:0;
		opacity:1;
		filter:brightness(0.5)
		

	}

	#modal-1-content {width:100%;
		justify-content: center;
		align-items: center;
		align-content: center;
		flex-direction: column;
	}


	.wp-block-navigation__responsive-container-close svg {fill: white;}


#modal-1-content ul {justify-content: center !important; align-items: center;}
	#modal-1-content li {text-align: center; align-items: center !important; justify-content: center;}
	#modal-1-content a {color:white !important; font-size: calc(var(--base-font-size) + 0.5em);}
	#modal-1-content ul li ul li a {color:white !important; font-size: calc(var(--base-font-size) + 0.3em);}


}


@media screen AND (max-width: 900px) {
footer > div > div {flex-direction: column; text-align: center;}



.hero > .wp-block-cover__background {background: linear-gradient(90deg,rgb(255,255,255) 0%,rgb(255,255,255) 30%,rgb(255,255,255) 100%) !important;  }
.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60 {opacity: 0.6 !important;}


}


@media screen AND (max-width: 660px) {
	.wp-block-gallery figure {max-width:45% !important;}
	.entry-content > .wp-block-cover .wp-block-cover__image-background {mask-image: none !important;}
	.entry-content > .wp-block-group:nth-child(1) {background-color: white !important;}
	.entry-content {padding:10px !important;}
	.wp-block-cover__inner-container { max-width: 90% !important; margin: auto; width:90% !important;}
	.therapien {display: grid !important; grid-template-columns: 1fr 1fr; gap:10px;}
	.therapien p {font-size:0.8em !important; padding: 0 5px !important;}
.iconrow {grid-template-columns: 1fr; margin:2em auto !important; width: fit-content;}

.wp-block-cover__inner-container h1, p.h1-like {font-size: 2em !important}
h2 {font-size: 1.8em}
h3 {font-size: 1.8em}
}


@media screen AND (max-width: 900px) {
.usernav {
	flex-direction: column;
	gap:0
}
}