/* konform zu CSS3 - copyright 2021 Gerrit Hecht, Gerrit@Squap.de, Squap.de - alle Rechte vorbehalten - erstellt am: 20. Juli 2021 */

/* Normalisierung */

	* {
		margin: 0;
		padding: 0;
		border: 0;
	}
	a,
	button {
		text-decoration: none;
		color: inherit;
	}
	button {
		font: inherit;
		background: transparent;
		cursor: pointer;
	}
	div {
		position: relative;
	}
	ul {
		list-style: none;
	}
	table {
		border-collapse: collapse;
	}
	main { /* IE9-11 Unterstützung */
		display: block;
	}
	i::after {
		content: "\A0";
	}

	
/* Animationen */

	a,
	a::after,
	button,
	button::after,
	nav li,
	#einBlender,
	#einBlender img,
	#einBlender span,
	#nachOben::before {
		-webkit-transition: 0.5s; /* Safari 3.1 to 6.0 */
		transition: 0.5s;
	}

@media (max-width: 65.25em) {
	nav li a,
	nav li {
		-webkit-transition: 0s; /* Safari 3.1 to 6.0 */
		transition: 0s;
	}
	#navText,
	#navText::after,
	#navLinien,
	#navLinien::before,
	#navLinien::after,
	.menueOffen nav li a,
	.menueOffen nav li {
		-webkit-transition: 0.5s; /* Safari 3.1 to 6.0 */
		transition: 0.5s;
	}
}


/* Schrift, Zeilenhöhe, Schriftgrößen und -schnitte, Worttrennungen */

	/* open-sans-regular - latin */
	@font-face {
	  font-family: 'Open Sans';
	  font-style: normal;
	  font-weight: 400;
	  src: local('Open Sans Regular'), local('OpenSans-Regular'),
		   url('fonts/open-sans-v17-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		   url('fonts/open-sans-v17-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
	}
	/* charm-regular - latin */
	@font-face {
	  font-family: 'Charm';
	  font-style: normal;
	  font-weight: 400;
	  src: local('Charm Regular'), local('Charm-Regular'),
		   url('fonts/charm-v4-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		   url('fonts/charm-v4-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
	}

	body {
		font-size: 80%; /* 100% = 1em = 16px; skalierbar von 70 bis 200 */
		line-height: 1.6;
		font-family: 'Open Sans', sans-serif;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto; 
	}
	h1, #logo span {
		line-height: 1;
	}
	h1, #logo span,
	aside.zitat {
		font-family: 'Charm', cursive;
	}
	h1, h2, #logo span,
	aside.zitat,
	.index .index,
	.aktuell .aktuell,
	.therapie .therapie,
	.angebot .angebot,
	.ueber .ueber,
	.kontakt .kontakt,
	.impressum .impressum,
	.datenschutz .datenschutz,
	.fehlt .fehlt {
		-webkit-hyphens: none;
		-ms-hyphens: none;
		hyphens: none;
	}
	aside.zitat i,
	footer li > * {
		white-space: nowrap;
	}

	a,
	button,
	#logo span {
		font-weight: bold;
	}
	
	h1, #logo span,
	.index .index,
	.aktuell .aktuell,
	.therapie .therapie,
	.angebot .angebot,
	.ueber .ueber,
	.kontakt .kontakt,
	.impressum .impressum,
	.datenschutz .datenschutz,
	.fehlt .fehlt {
		font-size: 3.1em;
	}
	aside.zitat {
		font-size: 2.2em;
	}
	h2 {
		font-size: 1.8em;
	}
	h3 {
		font-size: 1.5em;
	}
	nav li,
	#einBlender {
		font-size: 1.4em;
	}
	main p,
	main li {
		font-size: 1.3em;
	}
	main li li {
		font-size: 1em;
	}
	footer ul {
		font-size: 1.1em;
	}

@media (max-width: 65.25em) {
	#logo span ~ #logo span {
		font-size: 2.2em;
	}
	.index .index,
	.aktuell .aktuell,
	.therapie .therapie,
	.angebot .angebot,
	.ueber .ueber,
	.kontakt .kontakt,
	.impressum .impressum,
	.datenschutz .datenschutz,
	.fehlt .fehlt {
		font-size: 2.6em;
	}
	aside.zitat {
		font-size: 1.9em;
	}
	nav li {
		font-size: 0;
	}
	#navText,
	.menueOffen nav li {
		font-size: 1.4em;
	}
}
@media (max-width: 38.5em) {
	body {
		font-size: 70%;
	}
}

	
/* Hintergründe, Schriften und Rahmen */

	body {
		background: rgba(144, 173, 213, 1); /* #90add5 hellblau Hintergrund */
	}
	footer {
		background: url(bilder/fuss.jpg) center 0;
		background-size: cover;
	}
	#logo {
		background: url(bilder/logo2.png) 50% top no-repeat;
		background-size: 7em auto;
	}
	
	article {
		background-image: linear-gradient(transparent 0, transparent calc(100% - 2.5em), rgba(255, 255, 255, 0.5) 100%); /* #ffffff weiß Hintergrund */
	}
	article:last-of-type {
		background-image: none;
	}
	nav {
		background-image: linear-gradient(rgba(255, 255, 255, 0.5) 0, transparent 2.5em); /* #ffffff weiß Hintergrund */
	}
	.index .index,
	.aktuell .aktuell,
	.therapie .therapie,
	.angebot .angebot,
	.ueber .ueber,
	.kontakt .kontakt,
	.impressum .impressum,
	.datenschutz .datenschutz,
	.fehlt .fehlt {
		background-image: linear-gradient(rgba(255, 255, 255, 0.5) 0, transparent 100%); /* #ffffff weiß Hintergrund */
	}
	nav li a:hover::after {
		background-color: rgba(255, 255, 255, 1); /* #ffffff weiß Hintergrund */
	}
	h1, h2, #logo span,
	footer,
	nav li a:hover,
	.index .index,
	.aktuell .aktuell,
	.therapie .therapie,
	.angebot .angebot,
	.ueber .ueber,
	.kontakt .kontakt,
	.impressum .impressum,
	.datenschutz .datenschutz,
	.fehlt .fehlt {
		color: rgba(255, 255, 255, 1); /* #ffffff weiß Schrift */
	}
	#nachOben::before {
		border-color: transparent transparent rgba(255, 255, 255, 1) transparent; /* #ffffff weiß Rahmen */
	}

	
	a::after {
		background-color: rgba(160, 32, 48, 1); /* #a02030 himbeer Hintergrund */
	}
	article p.kurs,
	nav li,
	a:hover,
	button:hover,
	aside.zitat {
		color: rgba(160, 32, 48, 1); /* #a02030 himbeer Schrift */
	}
	#nachOben:hover::before {
		border-color: transparent transparent rgba(160, 32, 48, 1) transparent; /* #a02030 himbeer Rahmen */
	}

	article {
		color: rgba(0, 0, 0, 1); /* #000000 schwarz Schrift */
	}

@media (max-width: 65.25em) {
	body {
		/* background: rgba(200, 255, 255, 1); test */
	}
	
	nav li {
		background-image: linear-gradient(rgba(255, 255, 255, 0.1) 0, transparent 2.5em); /* #ffffff weiß Hintergrund */
	}
	#navText::after,
	#navSchalter:hover #navLinien,
	#navSchalter:hover #navLinien::before,
	#navSchalter:hover #navLinien::after {
		background-color: rgba(255, 255, 255, 1); /* #ffffff weiß Hintergrund */
	}
	#navSchalter:hover #navText {
		color: rgba(255, 255, 255, 1); /* #ffffff weiß Schrift */
	}

	#navLinien,
	#navLinien::before,
	#navLinien::after {
		background-color: rgba(160, 32, 48, 1); /* #a02030 himbeer Hintergrund */
	}
	#navText,
	.menueOffen nav li {
		color: rgba(160, 32, 48, 1); /* #a02030 himbeer Schrift */
	}

	.menueOffen #navLinien,
	.menueOffen #navSchalter:hover #navLinien {
		background: transparent; /* transparent Hintergrund */
	}
	nav li {
		color: transparent; /* transparent Schrift */
	}
}
@media (max-width: 46.5em) {
	body {
		/* background: rgba(255, 200, 200, 1); test */
	}
}
@media (max-width: 38.5em) {
	body {
		/* background: rgba(255, 200, 255, 1); test */
	}
}
@media (max-width: 32.5em) {
	body {
		/* background: rgba(200, 200, 255, 1); test */
	}
}


/* Schatten */

	h1, #logo span,
	.index .index,
	.aktuell .aktuell,
	.therapie .therapie,
	.angebot .angebot,
	.ueber .ueber,
	.kontakt .kontakt,
	.impressum .impressum,
	.datenschutz .datenschutz,
	.fehlt .fehlt {
		text-shadow: 0.1em 0.1em 0.1em rgba(46, 61, 73, 0.8);
	}
	.bildAbsatz img {
		box-shadow: 0.5em 0.5em 0.5em rgba(46, 61, 73, 0.2);
	}
 
	
/* Formatierung */

	/* Allgemein */

	body {
		min-width: 25em;
		max-width: 130em;
		margin: 0 auto;
	}
	
	a,
	button {
		display: inline-block;
		position: relative;
	}
	a::after,
	button::after {
		content: " ";
		display: block;
		position: absolute;
		width: 0;
		margin-left: 50%;
		height: 0.125em;
	}
	a:hover::after,
	button:hover::after {
		width: 100%;
		margin-left: 0;
	}


	
	/* Kopf */
	
	#logo {
		display: -webkit-flex;  /* Safari */
		-webkit-justify-content: space-around;  /* Safari 6.1+ */
		-webkit-flex-wrap: wrap;  /* Safari 6.1+ */
		-webkit-align-content: flex-start;  /* Safari 6.1+ */
		display: flex;
		justify-content: space-around;
		flex-wrap: wrap;
		align-content: flex-start;
		margin-top: 1.5em;
		margin-bottom: 4em;
	}
	#logo span {
		display: block;
		text-align: center;
	}
	#logo span:nth-of-type(1) {
		width: 100%;
		margin-bottom: 1em;
	}
	#logo span:nth-of-type(2) {
		padding-right: 12%;
	}
	#logo span:nth-of-type(3) {
		padding-left: 12%;
	}
	#logo span:nth-of-type(4) {
		width: 100%;
	}
	
@media (max-width: 38.5em) {
	#logo span:nth-of-type(1) {
		margin-bottom: 0.5em;
	}
	#logo span:nth-of-type(2),
	#logo span:nth-of-type(3) {
		width: 100%;
		padding: 0;
	}
}
	
	
	/* Einblender */
	
	#einBlender {
		position: absolute;
		z-index: 2;
		right: 0em;
		top: 16.3em;
		padding: 0.9em 0.7em 0.7em 0.8em;
		border-top-left-radius: 0.5em;
		background-image: linear-gradient(rgba(255, 255, 255, 0.5) 0, transparent 2.5em); /* #ffffff weiß Hintergrund */
	}
	#einBlender:hover::after {
		width: calc(100% - 1.4em);
	}
	#einBlender img {
		display: inline-block;
		width: 2em;
		margin-bottom: -0.2em;
		margin-left: 0.5em;
	}
	#einBlender img:nth-of-type(2) {
		position: absolute;
		right: 0.7em;
		opacity: 0;
	}
	#einBlender:hover img:nth-of-type(2) {
		opacity: 1;
	}
	
@media (max-width: 65.25em) {
	#einBlender {
		left:  0;
		right: auto;
		top: auto;
		border-top-left-radius: 0;
		background-image: linear-gradient(rgba(255, 255, 255, 1) 0, rgba(144, 173, 213, 1) 2.5em); /* #ffffff weiß-hellblau Hintergrund */
	}
}

	
	/* Navigations-Schalter */

	#navSchalter {
		display: none;
	}

@media (max-width: 65.25em) {
	#navSchalter {
		display: block;
		padding: 1.5em 0 1.2em;
		width: 100%;
	}
	
	#navText {
		display: inline-block;
		position: relative;
	}

	#navLinien,
	#navLinien::before,
	#navLinien::after {
		display: inline-block;
		width: 1.5em;
		height: 0.25em;
		border-radius: 0.375em;
	}
	#navLinien {
		position: relative;
		margin-right: 0.5em;
		top: -0.5em;
	}
	#navLinien::before {
		content: " ";
		position: absolute;
		top: 0.5em;
		left: 0em;
	}
	#navLinien::after {
		content: " ";
		position: absolute;
		top: -0.5em;
		left: 0em;
	}
	
	.menueOffen #navLinien::before {
		-webkit-transform: rotate3d(0, 0, 1, 45deg);
		transform: rotate3d(0, 0, 1, 45deg);
		top: 0;
	}
	.menueOffen #navLinien::after {
		-webkit-transform: rotate3d(0, 0, 1, -45deg);
		transform: rotate3d(0, 0, 1, -45deg);
		top: 0;
	}
}


	/* Menü */
	
	nav {
		text-align: center;
	}
	nav ul {
		display: -webkit-flex;  /* Safari */
		-webkit-justify-content: space-around;  /* Safari 6.1+ */
		-webkit-flex-wrap: wrap;  /* Safari 6.1+ */
		display: flex;
		justify-content: space-around;
		flex-wrap: wrap;
		margin: 0 auto;
	}
	nav li {
		display: inline-block;
		padding: 0.6em 0 0.3em;
	}
	nav li a {
		padding: 0.5em 0;
		position: relative;
	}
	nav li a img {
		position: absolute;
		top: 0;
		right: -2.1em;
		height: 2.8em;
		border-radius: 0.2em;
	}
	nav li.impressum,
	nav li.datenschutz,
	nav li.fehlt {
		display: none;
	}
	.impressum nav li.impressum,
	.datenschutz nav li.datenschutz,
	.fehlt nav li.fehlt {
		display: inline-block;
	}
	.index .index,
	.aktuell .aktuell,
	.therapie .therapie,
	.angebot .angebot,
	.ueber .ueber,
	.kontakt .kontakt,
	.impressum .impressum,
	.datenschutz .datenschutz,
	.fehlt .fehlt {
		order: 9;
		width: 100%;
		padding: 0.15em 0 0.25em;
	}
	.index li.index a:hover::after,
	.aktuell li.aktuell a:hover::after,
	.therapie li.therapie a:hover::after,
	.angebot li.angebot a:hover::after,
	.ueber li.ueber a:hover::after,
	.kontakt li.kontakt a:hover::after,
	.impressum li.impressum a:hover::after,
	.datenschutz li.datenschutz a:hover::after,
	.fehlt li.fehlt a:hover::after {
		width: 0;
	}
	
@media (max-width: 65.25em) {
	nav li {
		display: block;
		width: 100%;
		padding: 0;
	}
	nav li a img {
		height: 2.5em;
	}
}

	
	/* Inhalt allgemein */
	
	aside.zitat {
		text-align: center;
		padding: 0 3em;
	}
	aside.zitat span {
		display: inline-block;
	}

	article {
		padding: 4em 2em 5em;
	}
	.kontakt article,
	.aktuell article {
		min-height: 30em;
	}
	article > h2 {
		max-width: 44.4em;
		margin: 0 auto 1.5em;
	}
	article > h2.absatz {
		margin-top: 2em;
	}
	article > div {
		max-width: 80em;
		margin: 0 auto;
	}
	article > p {
		max-width: 61.5em;
		margin: 0 auto;
	}
	
	.bildAbsatz {
		float: right;
		margin: 0.5em 0.5em 1.4em 4em;
		max-width: 45%;
	}
	.bildAbsatz.pufferRechts {
		margin-right: 5em;
	}
	.bildAbsatz.bildLinks {
		float: left;
		margin: 0.5em 4em 1.4em 0;
	}
	.bildAbsatz img {
		border-radius: 0.4em;
		width: 100%;
		max-height: 35em;
	}
	.kontakt .bildAbsatz img,
	.aktuell .bildAbsatz img {
		max-height: 27em;
	}
	
	article h3 {
		margin-top: 1em;
	}

	article p {
		padding-bottom: 1em;
	}
	article ul + p {
		margin-top: 1em;
	}
	article p.kurs {
		margin-top: 3em;
	}
	article p span {
		text-decoration: underline;
	}
	
	article ul {
		list-style: disc;
		padding-bottom: 0.5em;
	}
	article ul li {
		margin-left: 1em;
		margin-bottom: 0.5em;
	}
	article ul li li:first-of-type{
		margin-top: 0.5em;
	}

@media (max-width: 65.25em) {
	.bildAbsatz.pufferRechts {
		margin-right: 0.5em;
	}
}
@media (max-width: 32.5em) {
	article {
		padding: 3em 1.3em 3.5em;
	}
	.bildAbsatz,
	.bildAbsatz.bildLinks {
		float: none;
		margin: 1em auto 3em;
		padding: 0 1.3em;
		max-width: 100%;
		text-align: center;
	}
	.bildAbsatz img {
		width: auto;
		max-width: 100%;
		max-height: 35em;
	}
}
@media (max-width: 26em) {
	aside.zitat span {
		display: inline;
	}
}

	/* Fuß */
	
	footer {
		padding: 0 2em;
	}

	footer ul {
		display: -webkit-flex;  /* Safari */
		-webkit-justify-content: space-between;  /* Safari 6.1+ */
		-webkit-flex-wrap: wrap;  /* Safari 6.1+ */
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		margin: 0 auto;
		max-width: 73em;
	}
	footer li {
		display: inline-block;
	}
	footer li > * {
		display: inline-block;
		padding: 1.5em 0;
	}

	#nachOben::before {
		content: " ";
		display: block;
		position: absolute;
		margin-left: -0.75em;
		border-width: 0.75em;
		border-style: solid;
	}
	#nachOben::before {
		bottom: 100%;
		right: 1.7em;
		opacity: 0;
	}
	.gescrollt #nachOben::before {
		opacity: 1;
	}

@media (max-width: 32.5em) {
	footer {
		padding: 0 1.3em 1em;
	}
	footer li {
		width: 50%;
	}
	footer li:nth-of-type(1) {
		order: 1;
	}
	footer li:nth-of-type(2) {
		order: 3;
	}
	footer li:nth-of-type(3) {
		order: 4;
		text-align: right;
	}
	footer li:nth-of-type(4) {
		order: 2;
		text-align: right;
	}
	footer li > * {
		padding: 1em 0 0;
	}
}