section.m17_accordion {
	padding-bottom: 68px;
}

section.m17_accordion .m17_akkordeon_item_head{
	display: flex;
    justify-content: space-between;
	cursor:pointer;
	padding:25px 30px;
	box-shadow: 10px 10px 40px 2px rgba(37,63,95,.1);
	-webkit-transition: background-color .4s;
    -moz-transition:    background-color .4s;
    -ms-transition:     background-color .4s;
    -o-transition:      background-color .4s;
    transition:         background-color .4s;
}

section.m17_accordion .m17_akkordeon_item{
	margin-bottom:20px;
}

section.m17_accordion .m17_akkordeon_item:last-child{
	margin-bottom:0;
}

.m17_akkordeon_title_container{
	text-align:center;
	margin-bottom:50px;
}

section.m17_accordion .m17_akkordeon_item.active .m17_akkordeon_item_head{
	-webkit-transition: all .4s;
    -moz-transition:    all .4s;
    -ms-transition:     all .4s;
    -o-transition:      all .4s;
    transition:         all .4s;   
}

section.m17_accordion .m17_akkordeon_item_head p{
	margin:0;
}

section.m17_accordion .m17_akkordeon_item_content{
	display:none;
	overflow:hidden;
}

section.m17_accordion .m17_akkordeon_item_content_main{
	padding:25px 30px;
}

section.m17_accordion .m17_akkordeon_item_head_icon{
	width:10px;

	transform:rotate(0deg);
    -ms-transform:rotate(0deg);
    -webkit-transform:rotate(0deg);

    -webkit-transition: transform .4s;
    -moz-transition:    transform .4s;
    -ms-transition:     transform .4s;
    -o-transition:      transform .4s;
    transition:         transform .4s;
}

section.m17_accordion .m17_akkordeon_item.active .m17_akkordeon_item_head_icon{
	transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    -webkit-transform:rotate(-90deg);

    -webkit-transition: transform .4s;
    -moz-transition:    transform .4s;
    -ms-transition:     transform .4s;
    -o-transition:      transform .4s;
    transition:         transform .4s;
}

section.m17_accordion .m17_akkordeon_item_head_icon_container {
	padding-right: 35px;
}


/** Main **/

section.m17_accordion .m1_link_container a {
	background: #111d2b;
	border-radius: 7px;
	font-weight: 400;
	text-transform: none;
	transition: background .4s;
	padding: 17px 30px 15px 32px;
	color: #fff !important;
}

section.m17_accordion .m1_link_container a:hover {
  background: #0096fe;
  box-shadow: none;
}

section.m17_accordion .m1_link_container,
section.m17_accordion .m1_link_container:hover {
	box-shadow: none;
}

section.m17_accordion .m1_link_container a svg {
	fill: #fff !important;
}

section.m17_accordion .m17_akkordeon_title_container {
	text-align: unset;
	margin-bottom: 38px;
}

section.m17_accordion .m17_akkordeon_title_container h3 {
	color: #111d2b;
}

section.m17_accordion .m17_text {
	color: #253f5f;
	/* width: 50%; */
	margin-top: 15px;
}

section.m17_accordion .m17_content {
	display: flex;
	margin-bottom: 86px;
}

section.m17_accordion .m17_akkordeon_items .m17_akkordeon_item {
	border-top: 1px solid #ada89e;
	margin-bottom: 0;
	padding-bottom: 19px;
}

section.m17_accordion .m17_akkordeon_items .m17_akkordeon_item.active {
	background: #615e57;
}

section.m17_accordion .m17_akkordeon_items .m17_akkordeon_item:last-child {
	border-bottom: 1px solid #ada89e;
}

section.m17_accordion .m17_akkordeon_item_head {
	padding: 15px 0 0 0;
	box-shadow: unset;
	background-color: transparent;
}

section.m17_accordion .m17_akkordeon_item_head_icon_container svg {
	margin-left: 0;
	fill: #615e57;
	transition: transform .4s, fill .4s;
	width: 24px;
	transform: rotate(90deg);
	max-width: unset;
}

section.m17_accordion .m17_akkordeon_item_head_icon_container:hover svg,
section.m17_accordion .m17_akkordeon_item:hover .m17_akkordeon_item_head_icon_container svg {
	fill: #615e57;
	transform: rotate(-90deg);
}

section.m17_accordion .m17_akkordeon_item.active .m17_akkordeon_item_head_icon_container svg {
	transform: rotate(-90deg);
	fill: #ede8db;
}

section.m17_accordion .m17_akkordeon_item_head_beschriftung {
	width: calc(100% - 41px - 10px);
}

section.m17_accordion .m17_akkordeon_item_head_beschriftung p {
	transition: color .4s;
	font-weight: 600;
}

section.m17_accordion .m17_akkordeon_item:hover .m17_akkordeon_item_head_beschriftung p {
	color: #615e57;
}

section.m17_accordion .m17_akkordeon_item.active .m17_akkordeon_item_head_beschriftung p {
	color: #ede8db;
}

section.m17_accordion .m17_counter p {
	color: #615e57;
	transition: color .4s;
}

section.m17_accordion .m17_counter {
	padding-right: 67px;
	padding-left: 0;
	transition: all .4s;
}

section.m17_accordion .m17_akkordeon_item.active .m17_counter {
	padding-right: 36px;
	padding-left: 33px;
}

section.m17_accordion .m17_akkordeon_item.active .m17_counter p {
	color: #ede8db;
}

section.m17_accordion .m17_akkordeon_item_content_main {
	padding: 10px 41px 0 85px;
}

section.m17_accordion .m17_akkordeon_item_content_main p {
	margin-bottom: 0;
	color: #ede8db;
}

section.m17_accordion .m17_bild_akkordeon_container {
	display: flex;
	gap: 150px;
	justify-content: space-between;
}

section.m17_accordion .m17_img_container {
	width: 50%;
}

section.m17_accordion .m17_img {
	width: 50%;
	padding-right: 104px;
}

section.m17_accordion .m17_text {
	margin-top: 23px;
}

section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_1 {
	object-fit: cover;
	height: 722px;
	max-width: 686px;
	border-right: 30px solid #ada89e;
	border-top: 30px solid #ada89e;
}

section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_2 {
	height: 100%;
	object-fit: cover;
	max-width: 419px;
	width: auto;
	max-height: 700px;
	height: auto;
	border-left: 31px solid #ede8db;
	border-top: 31px solid #ede8db;
}

section.m17_accordion .m17_akkordoen_bild_item .m17_bild_1_border_top {
	height: 30px !important;
	width: 30px;
	background: #ede8db;
	position: absolute;
	left: 0;
	top: 0;
}

section.m17_accordion .m17_akkordoen_bild_item .m17_bild_1_container {
	position: relative;
	z-index: 1;
}

section.m17_accordion .m17_akkordoen_bild_item .m17_bild_2_container {
	display: flex;
	justify-content: flex-end;
	margin-top: -173px;
	position: relative;
	z-index: 2;
}

section.m17_accordion .m17_akkordoen_bild_item {
	opacity: 0;
	transition: all .4s ease;
	width: 100%;
	height: 0;
}

section.m17_accordion .m17_akkordoen_bild_item.active,
section.m17_accordion .m17_akkordoen_bild_item.active * {
	opacity: 1;
	height: auto;
	transition: all .4s ease;
}

section.m17_accordion .m17_akkordoen_bild_item:not(.active) * {
	height: 0 !important;
}

section.m17_accordion .m17_content_container {
	width: 50%;
	padding-bottom: 80px;
}

section.m17_accordion .m17_titel_container {
	padding-top: 61px;
}

section.m17_accordion .mM_title_horizontal {
	top: 62px;
}

section.m17_accordion .m17_akkordeon_items {
	margin-top: 69px;
}

section.m17_accordion:after {
	content: '';
	width: calc(50% - (150px / 2));
	height: 67px;
	position: absolute;
	left: 0;
	bottom: 0;
	background: #f6f4ed;
}

section.m17_accordion .mM_container {
	position: relative;
	z-index: 2;
}

section.m17_accordion .m17_akkordoen_bild_item,
section.m17_accordion .m17_akkordoen_bild_item * {
	pointer-events: none;
}

section.m17_accordion .button.primary .mM_button_text {
	background: #ede8db;
	color: #1f1f1f;
}

section.m17_accordion .button.primary svg {
	fill: #1f1f1f;
}

section.m17_accordion .button.primary .mM_button_icon {
	border-color: #615e57;
}

section.m17_accordion .button.primary:hover .mM_button_icon {
	border-color: rgba(173, 168, 158, .5);
}

section.m17_accordion .m17_links_container {
	margin-top: 71px;
}

section.m17_accordion .m17_img_container .m17_akkordoen_bild_item:not(.active) {
	display: none;
}

@media screen and (max-width: 1699px) {
	section.m17_accordion .m17_img_container {
		padding-right: 50px;
	}
}

@media screen and (max-width: 1599px) {
	section.m17_accordion .m17_img_container {
		padding-right: 0;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_1 {
		height: 660px;
		max-width: 500px;
	}
}

@media screen and (max-width: 1499px) {
	section.m17_accordion .m17_img_container {
		padding-right: 50px;
	}
}

@media screen and (max-width: 1399px) {
	section.m17_accordion .m17_img_container {
		padding-right: 0;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_2 {
		max-width: 70%;
	}
}

@media screen and (max-width: 1299px) {
	section.m17_accordion .m17_img_container {
		padding-right: 50px;
	}
}

@media screen and (max-width: 1199px) {
	section.m17_accordion .m17_bild_akkordeon_container {
		gap: 60px;
	}
	
	section.m17_accordion .m17_img_container {
		padding-right: 0;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_1 {
		max-width: calc(100% - 30px);
	}
}

@media screen and (max-width: 991px) {
	section.m17_accordion .m17_bild_akkordeon_container {
		flex-direction: column;
	}
	
	section.m17_accordion .m17_content_container {
		padding-bottom: 0;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_1 {
		max-width: calc(100% - 94px);
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_2 {
		max-width: 60%;
	}
	
	section.m17_accordion .m17_img_container {
		padding-bottom: 67px;
	}
	
	section.m17_accordion .m17_bild_akkordeon_container {
		gap: 72px;
	}
	
	section.m17_accordion .m17_img_container,
	section.m17_accordion .m17_content_container {
		width: 100%;
	}
	
	section.m17_accordion .m17_titel_container {
		padding-top: 0;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img {
		width: 100%;
	}
	
	section.m17_accordion .m17_img {
		width: 100%;
		padding-right: 0;
		padding-top: 65px;
	}
	
	section.m17_accordion .m17_akkordeon_items {
		width: 100%;
	}
	
	section.m17_accordion .m17_content {
		flex-direction: column;
	}
	
	section.m17_accordion .m17_akkordeon_title_link_container {
		width: 100%;
	}
	
	section.m17_accordion .m17_text {
		width: 100%;
		padding-top: 35px;
	}
	
	section.m17_accordion .m17_content {
		margin-bottom: 25px;
	}
	
	section.m17_accordion:after {
		width: 50%;
	}
	
	section.m17_accordion .m17_links_container {
		margin-top: 31px;
	}
}

@media screen and (max-width: 767px) {
	section.m17_accordion {
		padding-bottom: 59px;
	}
}

@media screen and (max-width: 575px) {
	section.m17_accordion .m17_akkordeon_item_head_beschriftung p {
		font-size: 1rem;
	}
	
	section.m17_accordion .m17_counter {
		padding-right: 37px;
	}
	
	section.m17_accordion .m17_akkordeon_item.active .m17_counter {
		padding-right: 16px;
		padding-left: 13px;
	}
	
	section.m17_accordion .m17_text {
		margin-top: 0;
	}
	
	section.m17_accordion .m17_akkordeon_item_content_main {
		padding: 10px 41px 0 44px;
	}
	
	section.m17_accordion .m1_link_container a {
		padding: 17px 25px 15px 27px;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_1 {
		max-width: calc(100% - 30px);
		height: auto;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_2 {
		max-width: 85%;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item .m17_bild_2_container {
		margin-top: -95px;
	}
}

@media screen and (max-width: 375px) {
	section.m17_accordion .m17_akkordoen_bild_item .m17_bild_2_container {
		margin-top: -60px;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item .m17_bild_1_border_top {
		height: 15px;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_1 {
		border-right-width: 15px;
		border-top-width: 15px;
	}
	
	section.m17_accordion .m17_akkordoen_bild_item img.m17_bild_2 {
		border-left-width: 15px;
		border-top-width: 15px;
	}
}