section.m30_home_entry {
	z-index: 2;
}

section.m30_home_entry .m30_untertitel {
	color: #ede8db;
	font-size: 1.5rem;
	font-weight: 600;
}

section.m30_home_entry .m30_titel {
	color: #ede8db;
}

section.m30_home_entry .m30_text_container {
	max-width: 40%;
	margin-top: 49px;
}

section.m30_home_entry .m30_text_container * {
	color: #ede8db;
}

section.m30_home_entry .mM_container {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50% , -50%);
	width: 100%;
	z-index: 4;
}

section.m30_home_entry .m30_links_container {
	margin-top: 70px;
}

section.m30_home_entry .m30_link_container {
	display: flex;
}

section.m30_home_entry .m30_untertitel_container {
	margin-bottom: 8px;
}

section.m30_home_entry .m30_image_container img {
	object-fit: cover;
	object-position: right center;
}

section.m30_home_entry .m30_image_overlay {
	width: 100vw;
	height: 100%;
	background: rgba(31, 31, 31, .7);
	position: absolute;
	left: 0;
	top: 0;
}

/** start Mask **/

section.m30_home_entry.has_mask {
  position: relative;
  /* overflow: hidden; */
}

section.m30_home_entry.has_mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1f1f1f;
  z-index: 3;
  pointer-events: none;

  -webkit-mask-image: url('/wp-content/uploads/2025/10/mask_header_01.png');
  mask-image: url('/wp-content/uploads/2025/10/mask_header_01.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 115% 100%;
  mask-size: 115% 100%;
  -webkit-mask-position: left;
  mask-position: left;

  transition: mask-size 1.5s cubic-bezier(.2,.7,.2,1), 
  -webkit-mask-size 1.5s cubic-bezier(.2,.7,.2,1);
}

section.m30_home_entry.has_mask.revealed::after {
	-webkit-mask-size: 50% 100%;
	mask-size: 50% 100%;
}

/** end Mask **/

section.m30_home_entry .m30_line {
	height: 100%;
	position: absolute;
	top: 0;
	width: 1px;
	background: rgba(237, 232, 219, .3);
	z-index: 10;
}

section.m30_home_entry .m30_line_left {
	left: 50px;
}

section.m30_home_entry .m30_line_right {
	right: 50px;
}

section.m30_home_entry .m30_links_container {
	display: flex;
	gap: 57px;
}

section.m30_home_entry .mobile_image {
	display: none;
}

section.m30_home_entry .m30_image_container video {
	height: 100vh;
}

section.m30_home_entry .m30_text_main {
	padding-top: 102px;
}

/** start Scroll Down */

section.m30_home_entry .m30_scroll_down {
	position: absolute;
	bottom: -25px;
	left: 50%;
	transform: translateX(-50%);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 100;
}

section.m30_home_entry .m30_scroll_down .m30_scroll_down_text {
	color: #ede8db;
	font-weight: 600;
	font-size: .889rem;
	letter-spacing: 2px;
	padding-bottom: 25px;
	transition: all .4s;
	text-transform: uppercase;
}

section.m30_home_entry .m30_scroll_down:hover .m30_scroll_down_text {
	padding-bottom: 15px;
}

section.m30_home_entry .m30_scroll_down .m30_scroll_down_line_top {
	height: 25px;
	width: 1px;
	background: #ede8db;
}

section.m30_home_entry .m30_scroll_down .m30_scroll_down_line_bottom {
	height: 25px;
	width: 1px;
	background: #1f1f1f;
}

/** end Scroll Down */

/** start Sub Page **/

section.m30_home_entry.entry_sub_page {
	background: #1f1f1f;
	max-height: 700px;
}

section.m30_home_entry.entry_sub_page .m30_scroll_down {
	display: none;
}

@media screen and (max-width: 1299px) {
	section.m30_home_entry.entry_sub_page {
		max-height: 400px;
		min-height: unset;
	}
	
	section.m30_home_entry.entry_sub_page .mM_container {
		top: 59%;
	}
}

@media screen and (max-width: 575px) {
	section.m30_home_entry.entry_sub_page {
		max-height: 300px;
		min-height: unset;
	}
}

/** end Sub Page **/

@media screen and (max-width: 1699px) {
	section.m30_home_entry .m30_text_main {
		padding-left: 50px;
	}
	
	section.m30_home_entry.has_mask.revealed::after {
		-webkit-mask-size: 55% 100%;
	  mask-size: 55% 100%;
	}
}

@media screen and (max-width: 1599px) {
	section.m30_home_entry .m30_text_main {
		padding-left: 0;
	}
}

@media screen and (max-width: 1499px) {
	section.m30_home_entry .m30_text_main {
		padding-left: 50px;
	}
	
	section.m30_home_entry.has_mask.revealed::after {
		-webkit-mask-size: 60% 100%;
	  mask-size: 60% 100%;
	}
}

@media screen and (max-width: 1399px) {
	section.m30_home_entry .m30_text_main {
		padding-left: 0;
	}
	
	section.m30_home_entry.has_mask.revealed::after {
		-webkit-mask-size: 65% 100%;
	  mask-size: 65% 100%;
	}
	
	section.m30_home_entry .m30_text_container {
		max-width: 60%;
	}
}

@media screen and (max-width: 1299px) {
	section.m30_home_entry .m30_text_main {
		padding-left: 50px;
	}
	
	section.m30_home_entry .m30_titel {
		font-size: 3.767rem;
	}
}

@media screen and (max-width: 1199px) {
	section.m30_home_entry .m30_text_main {
		padding-left: 0;
	}
	
	section.m30_home_entry.has_mask.revealed::after {
		-webkit-mask-size: 70% 100%;
	  mask-size: 70% 100%;
	}
	
	section.m30_home_entry .m30_line {
		display: none;
	}
	
	section.m30_home_entry .m30_text_main {
		padding-top: 76px;
	}
}

@media screen and (max-width: 991px) {
	section.m30_home_entry.has_mask::after {
		transform: none;
		-webkit-mask-position: center bottom;
		mask-position: center bottom;
		-webkit-mask-size: 100% 115%;
		mask-size: 100% 115%;
		-webkit-mask-image: url('/wp-content/uploads/2025/10/mask_header_mobile.png');
		mask-image: url('/wp-content/uploads/2025/10/mask_header_mobile.png');
	}
	
	section.m30_home_entry .m30_image_container video {
		height: 60vh;
	}
	
	section.m30_home_entry.has_mask.revealed::after {
		-webkit-mask-size: 100% 50%;
		mask-size: 100% 50%;
	}
	
	section.m30_home_entry .m30_text_container {
		max-width: 100%;
	}
	
	section.m30_home_entry .m30_links_container {
		gap: 48px;
		margin-top: 40px;
	}
	
	section.m30_home_entry .m30_text_container {
		margin-top: 25px;
	}
	
	section.m30_home_entry .m30_untertitel_container {
		margin-bottom: 0;
	}
	
	section.m30_home_entry .mM_container {
		top: unset;
		bottom: 50px;
		transform: translateX(-50%);
	}
	
	section.m30_home_entry .m30_text_main {
		padding-top: 0;
	}
	
	section.m30_home_entry .m30_scroll_down {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	section.m30_home_entry .m30_titel {
		font-size: 2.767rem;
	}
	
	section.m30_home_entry.has_mask.revealed::after {
		-webkit-mask-size: 100% 55%;
		mask-size: 100% 55%;
	}
	
	section.m30_home_entry {
		min-height: 900px;
	}
	
	section.m30_home_entry .m30_untertitel {
	  font-size: 1.125rem;
	}
}

@media screen and (max-width: 575px) {
	section.m30_home_entry .m30_titel {
		font-size: 1.767rem;
	}
	
	section.m30_home_entry .m30_untertitel {
	  font-size: 1rem;
	}
	
	section.m30_home_entry.has_mask.revealed::after {
		-webkit-mask-size: 100% 60%;
		mask-size: 100% 60%;
	}
	
	section.m30_home_entry .m30_links_container {
		flex-direction: column;
		gap: 15px;
	}
	
	section.m30_home_entry .mobile_image {
		display: block;
	}
	
	section.m30_home_entry .desktop_image {
		display: none;
	}
	
	section.m30_home_entry .m30_image_container video {
		height: 50vh;
	}
}

@media screen and (max-width: 400px) {
	section.m30_home_entry .mM_container {
		bottom: 30px;
	}
	
	section.m30_home_entry br {
		display: none;
	}
}

@media screen and (max-width: 330px) {
	section.m30_home_entry .m30_text_container *,
	section.m30_home_entry .m30_untertitel {
		font-size: .889rem;
	}
	
	section.m30_home_entry .m30_text_container,
	section.m30_home_entry .m30_links_container {
		margin-top: 20px;
	}
}