/**** Layout-Einstellungen ****/
#termine {
	max-width: 1200px;
	width: 100%;
	margin: 110px auto 0 auto;
	padding-right: 20px!important;
}

#page {
	align-self: auto;
	background-image: url("/wp-content/uploads/2024/08/background.webp");
	background-position-x: right;
	background-position-y: 0px;
	background-repeat: no-repeat;
	background-size: 600px 790px;
	overflow-wrap: break-word;
}

figure#background-image {
	position: relative;
	right: 0;
	height: auto;
}

.willkommen:before {
	display: block;
	content: "";
	border-block-end: 0;
	flex-grow: 1;
	border-block-start: 1px solid #a43d21;
}

.willkommen {
	display: flex;
	align-items: center;
	padding-top: 100px;
}

.willkommen-text {
	color: #a43d21;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.3em;
	letter-spacing: 2px;
	width: 90%;
	margin-left: 10px;
}


img.wp-image-1059 {
	border: 2px solid #dddddd;
}

.entry-content {
	padding: 0 10px;
}


h1.wp-block-heading {
	padding-top: 10%;
}

h2.termine {
	padding-top:28px;
}

h2.partner {
	padding-top:28px;
}

h3.wp-block-heading {
  font-size: 1.3rem;
  margin-bottom: -16px!important;
}


/**** Responsive ****/

@media (max-width: 1400px) {
	#page {
		background-size: 550px 760px;
	}
}

@media (max-width: 1250px) {
	#page {
		background-size: 500px 760px;
	}
}

@media (max-width: 1180px) {
	#page {
		background-size: 480px 760px;
	}
	figure#background-image {
		max-width: 480px;
		width: 100%;
	}
}

@media (max-width: 1150px) {
	#page {
		background-size: 400px 760px;
	}
	figure#background-image {
		max-width: 400px;
		width: 100%;
		right:20px!important;
	}

}

@media (max-width: 1110px) {
	#page {
		background-size: 400px 700px;
	}

	.wp-block-columns .wp-block-column.spalte-links {
		flex-basis: 60%!important;
	}
	.wp-block-columns .wp-block-column.spalte-rechts {
		flex-basis: 40%!important;
	}
}

@media (max-width: 1070px) {
	#page {
		background-size: 350px 700px;
	}
}


@media (max-width: 1020px) {
	#page {
		background-size: 300px 750px;
	}
}

@media (max-width: 974px) {
	#page {
		background-size: 300px 780px;
	}
}

@media (max-width: 921px) {
	#page {
		background-size: 300px 630px;
	}

	.ast-header-search {
		display: none!important;
	}

	.site-above-footer-wrap {
		margin-top: 40px;
	}
}

@media (max-width: 781px) {
	#page {
		background-size: 300px 760px;
	}
	.wp-block-columns .wp-block-column.spalte-links {
		flex-basis: 40%!important;
		padding-right: 12px;
	}
}

@media (max-width: 690px) {
	#page {
		background-size: 300px 800px;
	}
}

@media (max-width: 640px) {
	#page {
		background-size: 240px 560px;
	}
	figure#background-image {
		max-width: 400px;
		width: 100%;
		margin: 0 auto 20px 20px;
	  }

	.wp-block-columns .wp-block-column.spalte-links {
		flex-basis:100%!important;
		order: 1;
		margin-top:40px;
	}
	
	.willkommen {
		padding-top: 0;
	}
	
	.wp-block-columns .wp-block-column.spalte-rechts {
		flex-basis:100%!important;
		order: 0;
	}

	h1.wp-block-heading {
		margin-top: -6.5%!important;
	}

	footer#colophon {
		margin: 0 auto auto auto!important;
	}
}

@media (max-width: 440px) {
	#page {
		background-size: 200px 480px;
	}
	figure#background-image {
		max-width: 320px;
	  }
}

@media (max-width: 380px) {
	#page {
		background-size: 200px 430px;
	}
	figure#background-image {
		max-width: 280px;
	}
}
