.cmsGrid > div > p:first-child,
.cmsGrid > span > p:first-child {
	margin-top: 0;
}

h1.cmsHeadline {
	margin-top: 50px;
	color: var(--darkgreen);
}

h2.cmsHeadline {
	font-weight: normal;
	margin-top: 50px;
	color: var(--darkgrey);
}



#content.single-column {
	--content-background: var(--white);
}

.narrow-page {
	--line-height		: 1.5;
	--padding-top		: 10px;
	--padding-bottom	: 50px;
	--page-min: min(100vw, var(--page-width));
	--page-padding: calc((var(--page-min) - var(--narrow-text-width, 600px)) / 2 );

	padding:  var(--padding-top) max(var(--padding-left), var(--page-padding)) var(--padding-bottom);	
	width: var(--page-min);
	max-width: var(--page-min);
	margin-left: auto;
	margin-right: auto;
	background-color: var(--white);
	display: table;
}

.narrow-page div,
.narrow-page span,
.narrow-page p {
	line-height: var(--line-height);
}

.narrow-page .cmsCol > h1:first-child,
.narrow-page .cmsCol > h2:first-child {
	margin-top: 0;
}

.narrow-page .cmsCol {
	padding-bottom: 30px;
}

.narrow-page > h1:first-child {
	margin-top: 10px;
}

.homepage #contentWrapper > .cmsFlexible:not(.page100, .narrow-page) {
	display: block;
	width: var(--page-width);
	max-width: 100vw;
	margin-left: auto;
	margin-right: auto;
}

#liefergebiet {
	/* width: min(100vw, 50%, 300px); */
	display: flex;
	/* justify-content: center; */
}

.bestellannahme img {
	transform: translateY(16px);
}

/* themes */

.theme-grau {
	--theme-background: var(--darkgrey);
	--theme-color: var(--white);
}

.theme-orange {
	--theme-background: var(--orange);
	--theme-color: var(--white);
}

.theme-white {
	--theme-background: var(--white);
	--theme-color: var(--text-color);
}

.theme-white-green {
	--theme-background: var(--white);
	--theme-color: var(--darkgreen);
}

/* slider */

#topslider .swiper-slide-container {
	display: flex;
	align-items: center;
}

#topslider .swiper-slide-container a {
	text-decoration: none;
	width: 100%;
	--y-correction: 6em;
}

#topslider .swiper-slide-container a:not(:has(img + div)) {
	--y-correction: 0em;
}

#topslider .swiper-slide-container > img,
#topslider .swiper-slide-container > a > img {
	object-fit: cover;
	max-width: 100%;
	min-width: 100%;
}

.slide-container {
	display: grid;
	
	--theme-width: 100%;
	--theme-deg: -5deg;
	--theme-start: 80%;
	--theme-divider-width: 10px;
	--theme-divider-color: var(--white);
	--theme-text-max-width: 100%;

	--fontsize-h5: 2em;
	--fontsize-h6: 1.15em;	
	--fontsize-text: 1em;

	font-size: clamp(13px, 1.5vw, 18px);
}

.slide-container > a {
	width: 100%;
	margin-bottom: calc(-1em - var(--y-correction));
}

.slide-container > * {
	grid-row: 1;
	grid-column: 1;
}

.slide-container h5 {
	margin-top: 0;
	margin-bottom: 0.5em;
}

.slide-container h6 {
	margin-top: 0;
	margin-bottom: 0.35em;
}

.slide-container > div,
.text-container {
	display: flex;
	flex-direction: column;
	padding: 1.5em 1.5em 1.5em 1.5em;
	width: var(--theme-width);
	max-height: 100%;
	max-width: 100%;
	grid-row: 2;
	padding-top: var(--y-correction);
	transform: translateY(calc(0em - var(--y-correction)));
	background-image: linear-gradient(var(--theme-deg), var(--theme-background) calc(var(--theme-start) - 0.2%), var(--theme-divider-color) var(--theme-start), var(--theme-divider-color) calc(var(--theme-start) + var(--theme-divider-width)), transparent calc(var(--theme-start) + var(--theme-divider-width) + 0.2%));
	font-size: var(--fontsize-text);
}

#topslider .swiper-slide-container a {
	margin-bottom: calc(0em - var(--y-correction));
}

.slide-container > div > *,
.text-container > * {
	color: var(--theme-color);
	max-width: var(--theme-text-max-width);
}

.slide-container > div:last-child > img,
.text-container:last-child > img {
	margin-top: auto;
	max-width: 100%;
}

.slide-container > div a,
.text-container a {
	color: var(--theme-color);
}

.slider-bild-rechts {
	columns: 1;
} 

.slide-container li {
	position: relative;
	padding-left: 0.7em;
	line-height: 1.6;
}

.slide-container li::before {
	content: '';
	position: absolute;
	left: -0.9em;
	top: 50%;
	transform: translateY(-50%);
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	mask: var(--svg-checkmark) no-repeat 100% 100%;
	mask-size: cover;
	background-color: var(--theme-color);
}


/* accordeon */

.cmsAccordion > input[type="checkbox"] ~ label::before, 
.cmsAccordion > input[type="radio"] ~ label::before {
	top: 0;
}

.cmsAccordion > input[type="checkbox"] ~ div, 
.cmsAccordion > input[type="radio"] ~ div {
	overflow: hidden;
	margin-bottom: 0px;
	transition: all .4s;
}

.cmsAccordion > input[type="checkbox"]:checked ~ div, 
.cmsAccordion > input[type="radio"]:checked ~ div {
	margin-bottom: 40px;
}

.cmsAccordion label {
	font-weight: bold;
}


/* big kachel */

.big-content-kacheln {
	column-gap: 10px;
}

.big-kachel {
	background-color: var(--white);
	border: 1px solid #eee;
	overflow: clip;
	display: flex;
  	flex-direction: column;
}

.big-kachel > *:first-child {
	overflow: clip;
	height: 340px;
	width: auto;
}

.big-kachel > img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.big-kachel-content {
	padding: 30px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.big-kachel-content a {
	padding: 10px 10px 4px 10px;
	display: inline-block;
	color: var(--white);
	background-color: var(--orange);
	text-decoration: none;
	align-self: center;
}

.big-kachel-content h3 {
	--cms-text-align: center;
}

/* blog */

.blog-kachel a,
.blog-kachel a:visited {
	text-decoration: none;
	color: var(--text-color);
}

.blogcontentlink {
	background-color: var(--white);
	border: 1px solid #eee;
	overflow: clip;
	display: flex;
  	flex-direction: column;
	padding-bottom: 30px;
}

.blog .cmsBoxBorder,
.blog .cmsBoxInner {
	all: unset;
}

.blog .cmsBoxInner {
	line-height: 1.5;
}

.blog .cmsImage {
	overflow: clip;
	max-height: 340px;
	width: 100%;
	object-fit: cover;
}

.blog .blogdatum,
.blog h2.cmsHeadline,
.blog-teasertext {
	padding-left: 30px;
	padding-right: 30px;
}

.blog .blogdatum,
.blogcontent .blogdatum {
	font-size: 12px;
}

.blog h2.cmsHeadline {
	margin-top: 20px;
	color: var(--darkgreen);
	font-weight: bold;
}

.blogcontent {
	background-color: var(--white);
}

.blogcontent .cmsHeadline {
	margin-top: 20px;
}

.blogcontent > *:nth-last-child(-n + 2),
#blogcommentform,
#blogcomments {
	display: none;
}

.blog {
	font-size: clamp(13px, 1.5vw, 16px);
}

/* Firmenseite */

.slider-headline {	
	background-color: #0A7143aa;
	color: var(--white);
	padding: 1rem;
	font-size: 3rem;
}

.firmen-icon-container .cmsHeadlineTextImageTile {
	text-align: center;
	--cms-text-align: center;
}

/* Liefergebiet */
.liefergebiet-wochentage .cmsHeadlineTextImageTile {
	text-align: center;
	--cms-text-align: center;
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
}

@media screen and (min-width: 768px) {
	.slide-container {	
		--theme-width: 100%;
		--theme-deg: -70deg;
		--theme-start: 48%;
		--theme-divider-width: 18px;
		--theme-divider-color: var(--white);
		--theme-text-max-width: 48%;
	}

	.slide-container > * {
		grid-row: 1;
	}

	.swiper-slide-container > a,
	#topslider .swiper-slide-container a {
		margin-bottom: 0;
	}

	.slide-container > div,
	.text-container {
		padding-right: 0;
  		padding-top: 1.5em;
  		transform: none;
		grid-row: 1;
		background-image: linear-gradient(var(--theme-deg), transparent calc(var(--theme-start) - 0.1%), var(--theme-divider-color) var(--theme-start), var(--theme-divider-color) calc(var(--theme-start) + var(--theme-divider-width)), var(--theme-background) calc(var(--theme-start) + var(--theme-divider-width) + 0.1%));
	}

	.slide-container > div:last-child > img,
	.text-container:last-child > img {
		max-width: calc((var(--theme-text-max-width) / 2) - 40px);
	}

}


/* benefitbar */

#benefitbar-wrapper {
	background-color: var(--white);
	padding-top: 20px;
	padding-bottom: 20px;
}

#benefitbar {
	--cms-column-gap: 50px;
	--cms-row-gap: 30px;
	grid-template-columns: 1fr 1fr;	
}

#benefitbar > .cmsHeadlineTextImage {
	display: grid;
	grid-template-areas:
		'image' 
		'head'
		'text';
	row-gap: 10px;
	column-gap: 20px;
	justify-items: center;
	--cms-text-align: center;
	grid-template-rows: 55px auto auto;
}

#benefitbar .cmsImage {
	grid-area: image;
	align-self: center;
}

#benefitbar .cmsHeadline {
	grid-area: head;
	--fontsize-h3: 16px;
  	margin: 0;
}

#benefitbar .cmsText {
	grid-area: text;
}

@media screen and (min-width: 600px) {
	#benefitbar {
		grid-template-columns: 1fr 1fr;
	}

	#benefitbar > .cmsHeadlineTextImage {
		grid-template-areas:
			'image head' 
			'image text';
		grid-template-columns: max(20%, 60px) 1fr;
		justify-items: start;
		--cms-text-align: left;
		grid-template-rows: auto auto;
	}
}

@media screen and (min-width: 800px) {
	#benefitbar {
		--cms-column-gap: 10px;
	}
}

@media screen and (min-width: 1180px) {
	#benefitbar {
		--cms-column-gap: 50px;
	}
}


/* Kachel */

.kachel {
	--theme-width: 100%;
	--theme-deg: 0deg;
	--theme-start: 80%;
	--theme-divider-width: 10px;
	--theme-divider-color: var(--white);
	--theme-text-max-width: 100%;

	--fontsize-h5: 2em;
	--fontsize-h6: 1.15em;	
	--fontsize-text: 1em;

	font-size: clamp(13px, 1.5vw, 18px);
}

.kachel .bild-rechts {
	flex-direction: row-reverse;
} 

.kachel li {
	list-style: none;
	position: relative;
	padding-left: 0.7em;
	line-height: 1.6;
}

.kachel li::before {
	content: '';
	position: absolute;
	left: -0.9em;
	top: 50%;
	transform: translateY(-50%);
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	mask: var(--svg-checkmark) no-repeat 100% 100%;
	mask-size: cover;
	background-color: var(--theme-color);
}

.kachel h4,
.produkte h4 {
	margin-top: 4em;
	margin-bottom: 0.5em;
	font-size: 14px;
	text-transform: uppercase;
	color: var(--grey);
}

.kachel h5 {
	margin-top: 0;
	margin-bottom: 0.5em;
}

.kachel h6 {
	margin-top: 0;
	margin-bottom: 0.35em;
}

.kachel .cmsFlex {
	background-color: var(--theme-background);
	flex-direction: column;
}

.kachel .cmsFlex > * {
	width: 100%;
}

.kachel .cmsFlex > .cmsImage {
	object-fit: cover;
}

.kachel .cmsAnchorFormatted {
	margin-top: 20px;
	position: relative;
	display: inline;
	border: 2px solid var(--theme-color);
	max-width: fit-content;
	text-decoration: none;
	border-radius: var(--border-radius);
	padding: 10px 50px 10px 20px;
}

.kachel .cmsAnchorFormatted::after {
	content: url(img/arrow-right.svg);
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(calc(-50% + 3px));
}

.kachel .text-container {
	padding-right: 1.5em;
	background-image: none;
}

@media screen and (min-width: 768px) {
	.kachel .cmsFlex {
		flex-direction: row;
	}

	.kachel .cmsFlex > * {
		width: 50%;
	}
}


/* produkte */

.produkte .grid {
	display: grid;
	grid-template-areas: 
		'p2 p3'
		'p4 p5';
	grid-template-columns: repeat(2, 1fr);
	column-gap: 10px;
	row-gap: 10px;
}

.produkte .shop-productTile {
	height: 100%;
	width: 100%;
}

.produkte .grid > div > * {
	height: 100%;
	width: 100%;
}

.produkte .grid > div:nth-child(1) {
	display: none;
	grid-area: p1;
	height: 100%;
	width: 100%;
}

.produkte .grid > div:nth-child(2) {
	grid-area: p2;
}

.produkte .grid > div:nth-child(3) {
	grid-area: p3;
}

.produkte .grid > div:nth-child(4) {
	grid-area: p4;
}

.produkte .grid > div:nth-child(5) {
	grid-area: p5;
}


.produkte-bottom {
	background-color: var(--white);
	margin-top: 10px;
	padding: 10px;
	--cms-justify-content: center;
	--cms-align-items: center;
}

.produkte-bottom .cmsFlexColumn {
	flex: 1;
	--cms-justify-content: left;
	--cms-align-items: left;
}

.produkte-bottom .cmsAnchorFormatted {
	flex: 0;
	white-space: nowrap;
	text-decoration: none;
	font-weight: bold;
	padding: 10px;
}

.produkte-bottom .cmsAnchorFormatted::after {
	content: '>';
	font-weight: bold;
	padding-left: 20px;
	color: var(--text-color);
}

.produkte-bottom .cmsHeadline {
	margin: 0;
}

.shop-productTile .image-area {
	aspect-ratio: 1 / 1;
}

.shop-productTile .image-area:hover .image-product img {
	transform: none;
}

.shop-productTile .vegan-icon {
	position: absolute;
	top: 0;
	left: 0;
}

.shop-productTile .productName {
	--fontsize-large: clamp(10px, 4vw, 14px);
	--product-name-padding: 5px;
	text-align: center;
	height: auto;
	background-color: rgba(255, 255, 255, .7);
}

@media screen and (min-width: 512px) {
	.produkte-bottom {
		padding: 20px;
	}

	.produkte .grid {
		grid-template-areas: 
			'p1 p1 p2 p3'
			'p1 p1 p4 p5';
		grid-template-columns: repeat(4, 1fr);
	}

	.produkte .grid > div:nth-child(1) {
		display: block;
	}
}

@media screen and (min-width: 1200px) {	
	.home-cls #contentWrapper {
		margin-top: 20px;
	}

	body[data-id="25"].home-cls #contentWrapper {
		margin-top: 0px;
	}

	.narrow-page > h1:first-child {
		margin-top: 40px;
	}

	.produkte .product,
	.produkte .product-bottom {
		display: none;
	}

	.shop-productTile .tile-wrapper:hover .product {
		display: block;
		width: 100%;
		position: absolute;
		z-index: 2;	
		bottom: 0;
	}
}