/* CONTENT BLÖCKE FRONTEND */

article > section {
	margin: 180px 0 0 0;
}
article > section.topts-no-margin-top,
article > section:first-child {
	margin-top: 0;
}
article > section:last-child {
	margin-bottom: 0;
}
section.text-text .restrain,
section.lebensnah .restrain,
section.bild-text .restrain,
section.text .restrain {
	width: 1156px;
	max-width: 100%;
	margin:0 auto;
}
section.text .restrain > div {
	width: 862px;
	max-width: 100%;
	padding-left:08.47%;
}
section.text {
	padding-top:122px;
}
.fliesstext h1 {
	margin-bottom: 0.4em;
}
form .is-p,
.fliesstext h2,
.fliesstext h3,
.fliesstext h4,
.fliesstext h5,
.fliesstext h6,
.fliesstext p,
.fliesstext ul {
	margin-bottom: 0.9em;
}
.fliesstext p.no-margin-bottom,
.fliesstext h4,
.fliesstext h5,
.fliesstext h6 {
	margin-bottom: 0;
}
.topts-more-spacing .fliesstext p,
.topts-more-spacing .fliesstext ul {
	margin-bottom: 1.2em;
}
.topts-more-spacing .fliesstext h1 {
  margin-bottom: 0.7em;
}
.topts-more-spacing .fliesstext h2 {
  margin-bottom: 0.6em;
}
.topts-more-spacing .fliesstext h2:not(:first-child) {
  margin-top: 1.9em;
}
.fliesstext h2 + h1 {
    margin-top: -0.4em;
}
.fliesstext h1 + h2 {
    margin-top: -0.3em;
}
.fliesstext ul.bigger, 
.fliesstext .bigger li {
	font-size: 20px;
}
.fliesstext li {
	position: relative;
	padding-left:1.15em;
	margin-bottom: 1.2em;
}
.fliesstext ul.tight-li li {
	margin-bottom: 0.3em;
}

.fliesstext ul.bigger li {
	margin-bottom: 0.5em;
}
.fliesstext li:before {
	background: #e1b500;
	content:"";
	position: absolute;
	top: 0.6em;
	left:0;
	width: 0.35em;
	height: 0.35em;
	border-radius: 50%;
}
.fliesstext li p {
	margin-top: 0.6em;
}
.fliesstext *:last-child {
	margin-bottom: 0 !important;
}




/* HINTERGRUND */
section {
	position: relative;
}
section > * {
	z-index:2;
	position: relative;
}
section.text-text .spalte.layout-transparent-floral,
section.text-text .spalte.layout-beige,
section.text-text .spalte.layout-beige-floral,
section.text-text .spalte.layout-rosa,
section.text-text .spalte.layout-rosa-floral {
	padding-top: 57px;
	padding-bottom: 57px;
	position: relative;
	min-height: 407px;
}
section.text-text.has-layout-transparent-floral {
	padding-top: 80px;
}
section.text-text .spalte.layout-beige:before,
section.text-text .spalte.layout-beige-floral:before,
section.text-text .spalte.layout-rosa:before,
section.text-text .spalte.layout-rosa-floral:before,
section.layout-beige-floral:before,
section.layout-beige:before,
section.layout-rosa:before,
section.layout-rosa-floral:before {
	content:"";
	display: block;
	position: absolute;
	z-index:1;
	top:0;
	left:0;
	width: calc(960px + (100vw - 1156px)/2);
	height: 662px;
	max-height: 100%;
	max-width: 100%;
	background-color: #f2dfdf;
}
section.text-text .spalte.layout-beige:before,
section.text-text .spalte.layout-beige-floral:before,
section.layout-beige:before,
section.layout-beige-floral:before {
  background-color: #eae8e2;
}
section.text-text .spalte.layout-beige:before,
section.text-text .spalte.layout-beige-floral:before,
section.text-text .spalte.layout-rosa:before,
section.text-text .spalte.layout-rosa-floral:before {
	width: calc(100% + (100vw - 1156px)/2);
	max-width:100vw;
}

section.text-text .spalte.layout-rosa-floral:before,
section.layout-rosa-floral:before,
section.text-text .spalte.layout-beige-floral.beige-floral-2:before,
section.layout-beige-floral.beige-floral-2:before {
	background-image: url('./img/floral-1-white.svg');
	background-size: 384px 407px;
	background-repeat: no-repeat;
	background-position: 60% 60%;
}
section.text-text .spalte.layout-beige-floral:before,
section.layout-beige-floral:before,
section.text-text .spalte.layout-rosa-floral.rosa-floral-2:before,
section.layout-rosa-floral.rosa-floral-2:before {
	background-image: url('./img/floral-2-white.svg');
	background-size: 231px 435px;
	background-repeat: no-repeat;
	background-position: 60% 50%;
}
section.text-text .spalte-1.layout-beige:before,
section.text-text .spalte-1.layout-beige-floral:before,
section.text-text .spalte-1.layout-rosa:before,
section.text-text .spalte-1.layout-rosa-floral:before,
section.layout-pos-rechts:before {
	right:0;
	left: auto;
}
section.layout-length-lang:before {
	width: calc(1176px + (100vw - 1156px)/2);
}
section.layout-length-lang.layout-beige-floral.layout-pos-links:before,
section.layout-length-lang.layout-rosa-floral.layout-pos-links:before {
    background-position: calc(100% - 40px) 22px ;
}
section.layout-length-lang.layout-beige-floral.layout-pos-rechts:before,
section.layout-length-lang.layout-rosa-floral.layout-pos-rechts:before {
    background-position: 80% 22px ;
}
section.layout-length-full:before {
	width: 100vw;
	background-size: 278px 524px !important;
}
section.layout-length-full.layout-beige-floral.layout-pos-links:before,
section.layout-length-full.layout-rosa-floral.layout-pos-links:before {
    background-position: calc( 820px + 0.5 * (100vw - 1156px) ) 50%;
}
section.text-text .spalte.layout-transparent-floral:before {
	content:"";
	display: block;
	position: absolute;
	z-index:1;
	top:-80px;
	right:-52px;
	width: 384px;
	height: 407px;
}
section.text-text .spalte.layout-transparent-floral {
	/* ueber andere boxen legen, die vllt. einen hintergrund haben! */
	z-index:3;
}
section.text-text .spalte.layout-transparent-floral:before,
section.layout-transparent-floral .restrain {
	background-image: url('./img/floral-1.svg');
	background-size: 384px 407px;
	background-repeat: no-repeat;
	background-position: center center;
}
section.layout-transparent-floral.layout-pos-rechts  .restrain {
	background-position: center right;
}
section.layout-transparent-floral.layout-pos-links  .restrain {
	background-position: center left;
}
section.text-text .spalte.layout-transparent-floral:before {
	background-size: contain;
}




section.bild-text .restrain {
	display: flex;
	justify-content:space-between;
	padding: 48px 0;
	align-items: center;
	flex-wrap: nowrap;
}

section.bild-text.align-unten .restrain {
	align-items: flex-end;
}
section.bild-text.align-oben .restrain {
	align-items: flex-start;
}
section.bild-text.align-unten .restrain .text {
	padding-bottom: 60px;
}
section.bild-text.align-oben .restrain .text {
	padding-top: 60px;
}
section.bild-text.align-oben.align-oben-nopad .restrain .text {
	padding-top: 0;
}

section.bild-text.layout-beige-floral:before,
section.bild-text.layout-beige:before,
section.bild-text.layout-rosa:before,
section.bild-text.layout-rosa-floral:before {
  height: 100% !important;
}
section.bild-text .text {
	order: 1;
	flex: 0 0 49.13%;
	padding-left:08.47%;
}
section.bild-text .img {
	order: 2;
	flex: 0 0 49.13%; /* 6 spalten */
}
section.bild-text.order-bild-links .text {
	order: 2;
	/* flex: 0 0 57.61%; */
	padding-left:0;
	padding-right: 16.95%;
}
section.bild-text.order-bild-links .img {
	order: 1;
	/* flex: 0 0 33.91%;*/
}
section.bild-text.isize-7 .img {
	flex: 0 0 55.36%;
}
section.bild-text.isize-7 .text {
	flex: 0 0 40.65%;
	padding-right:0;
}
section.bild-text.isize-5 .img {
	flex: 0 0 42.38%;
}
section.bild-text.isize-4 .img {
	flex: 0 0 33.91%;
}
section.bild-text.isize-4 .text {
	flex: 0 0 57.61%;
}


section.lebensnah {
	margin: 43px 0 112px 0;
}
section.lebensnah .restrain {
	min-height: 407px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 50px;
}
article > section.lebensnah + section {
	margin-top: 112px;
}
section.lebensnah .text {
	width:43%;
	margin: 0 auto;
	text-align:center;
}
section.lebensnah .img {
	margin-bottom: 10px;
}
section.lebensnah .img img {
	margin: 0 auto;
}
section.lebensnah .text {
	transform: translateX(7%);
}
section.lebensnah .img {
	transform: translateX(-6%);
}



section.text-text {
	overflow:hidden;
}
section.text-text .text {
	position: relative;
	z-index: 2;
}
section.text-text .restrain {
	display: flex;
	align-items: center;
	justify-content:space-between;
	flex-wrap:nowrap;
}
section.text-text .spalte-1 {
	flex: 0 0 50.86%;
	padding-right: 6%;
}
section.text-text .spalte-2 {
	flex: 0 0 49.14%;
	padding-left: 06.74%;
}
section.text-text.ratio-7zu5 .spalte-2,
section.text-text.ratio-5zu7 .spalte-1 {
	flex: 0 0 42.38%;
}
section.text-text.ratio-7zu5 .spalte-1,
section.text-text.ratio-5zu7 .spalte-2 {
	flex: 0 0 57.62%;
}
section.text-text.ratio-7zu5 .spalte-1,
section.text-text.ratio-5zu7 .spalte-1 {
	padding-right: 01.73%;
}





section.map {
	margin-top: 70px;	
}

section.map iframe {
	display: block;
	border:0; margin:0;padding:0;
	width:100%;
	height: 350px;
}






@media (max-width: 1160px) {
	section.text-text .spalte-2,
	section.bild-text.isize-7.order-bild-links .text {
		padding-right: 16px;
	}
	section.text-text .spalte-1 {
		padding-left: 16px;
	}
	section.text-text .spalte.layout-beige::before, section.text-text .spalte.layout-beige-floral::before, section.text-text .spalte.layout-rosa::before, section.text-text .spalte.layout-rosa-floral::before {
		width: 100%;
		max-width: 100%;
	}

}
@media (max-width: 1060px) {
  section.layout-length-full.layout-beige-floral.layout-pos-links::before, section.layout-length-full.layout-rosa-floral.layout-pos-links::before {
    background-position: calc( 100% - 20px ) 50%;
  }
}

@media (max-width: 900px) {
	section.text-text .spalte.layout-beige::before, section.text-text .spalte.layout-beige-floral::before, section.text-text .spalte.layout-rosa::before, section.text-text .spalte.layout-rosa-floral::before, section.layout-beige-floral::before, section.layout-beige::before, section.layout-rosa::before, section.layout-rosa-floral::before {
			width: 100%;
		max-width: 100%;
	}
	section.bild-text .text {
		padding-left:16px;
	}
	section.bild-text.order-bild-links .text {
		padding-right: 16px;
	}
	section.lebensnah .text {
      width: 65%;
	}
}
@media (max-width: 700px) {
	.fliesstext h2, .fliesstext h3 {
		margin-bottom: 0.7em;
	}
	article > section.bild-text:first-child .fliesstext h1 + h2 {
		margin-top: 0;
	}
	article > section {
    	margin-top: 100px;
	}
	section.text-text .restrain,
	section.bild-text .restrain {
		display: block;
		padding: 0 !important;
	}
	section.bild-text.layout-rosa-floral .restrain,
	section.bild-text.layout-beige-floral .restrain {
		padding-bottom: 40px !important;
	}
	section.bild-text {
		padding: 20px 16px 40px 16px;
	}
	section.bild-text .img {
		margin-bottom: 14px;
	}
	section.text .restrain > div,
	section.bild-text .text,
	section.text-text .spalte-2, section.bild-text.isize-7.order-bild-links .text,
	section.bild-text.order-bild-links .text {
		padding-right:0;
		padding-left:0;
	}
	section.text,
	section.lebensnah {
		padding-left: 16px;
		padding-right: 16px;
	}
	section.lebensnah .img, section.lebensnah .text {
		transform: none;
		width:100%;
	}
	article > section:not(:first-child) h1 {
		 font-size: 30px;
 		 line-height: 1.25;
	}
	section h1 {
		word-break:break-word;
	}
	section.text-text .spalte {
		padding: 20px 16px !important;
		min-height: 0px;
	}
	section.text-text .spalte.layout-beige, section.text-text .spalte.layout-beige-floral, section.text-text .spalte.layout-rosa, section.text-text .spalte.layout-rosa-floral {
		padding-top: 35px !important;
		padding-bottom: 35px !important;
	}
	section.layout-transparent-floral.layout-pos-rechts .restrain {
		background-position: top right;
	}
	section.text-text .spalte.layout-transparent-floral::before {
		top: -55px;
		right: 5px;
		width: 157px;
		height: 166px;
	}
	section.text-text.has-layout-transparent-floral {
    	padding-top: 55px;
	}
	section.layout-beige-floral::before, section.layout-rosa-floral::before {
    	background-position: 100% 100% !important;
		background-position: right 12px bottom 8px !important;
	}
	section.layout-beige-floral::before {
		background-size: 177px 280px;
	}
	section.text-text .spalte.layout-transparent-floral::before, section.layout-transparent-floral .restrain,
	section.layout-rosa-floral::before {
		background-size: 157px 166px;
	}
	section.lebensnah {
      margin: 88px 0 56px 0;
    }
	article > section.lebensnah + section {
		margin-top: 56px;
	}
	section.lebensnah .restrain {
		min-height: 0;
		padding-top: 80px;
	}
	.home article > section.bild-text:first-child {
		padding-bottom:0;
	}
	article > section.bild-text:first-child .img {
   		margin-bottom: 28px;
		/* width: calc(100% + 16px);*/
	}
	article > section.bild-text:first-child::before {
		height: calc( 94vw + 132px ) !important;
	}
	section.bild-text.align-unten .restrain .text {
    	padding-bottom: 0;
	}
	/*section.bild-text .fliesstext h1 + h2 {
   	 	margin-top: -0.4em;
	}*/
}
@media (max-width: 409px) {
	article > section.bild-text:first-child::before {
		height: calc( 94vw + 174px ) !important;
	}
}
