.Start {
	--ff-c-space: clamp(5px,2vw,20px);
}

.Start .flowform-head.ff-wide {
	background-color: var(--header-background);
	height: 80px;
	box-shadow: 0 0 20px var(--header-shadow);
	position: fixed;
	width: 100%;
	z-index: 5;
	top: 0;
	left: 0;
}

.Start .ff-header-home-link {
    width: 200px;
    height: 80px;
    margin: auto;
    display: block;
}

.Start .flowform-head.ff-wide .ff-header {
	max-width: 1300px;
	box-sizing: border-box;
	
	position: relative;
	margin: auto;
	background: var(--logo-background);
	background-repeat: no-repeat;
	background-size: auto 50%;
	background-position: center;
	height: 100%;
	display: flex;
	justify-content: flex-end;
}

.Start .wp-menu-main-navigation {
	background: #232323;
	line-height: 1.2;
}

.Start .wp-menu-header-links {
	width: 100%;
	max-width: 1140px;
	max-width: 1300px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.Start .wp-menu-main-navigation ul {
	list-style: none;
	padding-left: 0;
	vertical-align: middle;
	display: flex;
	margin: 0;
}

.Start .wp-menu-header-links > ul {
	margin-left: var(--ff-c-space);
	margin-right: var(--ff-c-space);
}

.Start .wp-menu-header-links li {
	flex: 1;
}

.Start .wp-menu-header-links li a {
	display: block;
	color: #FFF;
}

.Start .wp-menu-header-links li:hover > a {
	color: #28a9e1;
}

.Start .wp-menu-header-links > ul > li > a {
	padding: 17px 20px;
	border-left: 1px solid #333;
	color: #FFF;
	font-size: 13px;
	transition: all 0.3s ease;
	font-weight: 300;
	display: block;
	margin: 0px;
	white-space: nowrap;
}

.Start .wp-sub-menu a {
	font-size: 12px;
	line-height: 32px;
	min-width: 100px;
	white-space: nowrap;
}

.Start .wp-sub-menu li {
	position: relative;
	padding: 0 20px;
}

.Start .ff-menu-toggle .ff-i-menu::before {
	content: 'O';
	display: inline-block;
	font-style: normal;
	font-family: 'HypothekeIcons';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale
}
	
.Start + #content {
	margin-top: 80px;
}

header.Start {
	position: relative;
	z-index:10000;
}
	
.Start .ff-menu {
	padding: 20px;
}

.Start .ff-menu-toggle {
	max-height: 40px;
	line-height: 40px;
}

@media screen and (min-width : 1281px) {
	.Start .flowform-head.ff-wide {
		height: 210px;
		padding-top: 20px;
		padding-bottom: 70px;
		transition: all 0.2s ease-in;
		box-sizing: border-box;
	}
	
	.Start .flowform-body.ff-wide {
		margin-top: 200px;
		transition: all 0.2s ease-in;
	}
	
	.Start .wp-menu-main-navigation {
		position: fixed;
		left: 0;
		top: 160px;
		width: 100%;
		transition: all 0.2s ease-in;
	}
		
	.Start.scrolled-down .flowform-head.ff-wide {
		height: 130px;
		padding: 0;
		padding-bottom: 50px;
	}
	
	.Start.scrolled-down .flowform-body.ff-wide {
		margin-top: 80px;
	}	
	
	.Start.scrolled-down .wp-menu-main-navigation {
		top: 80px;
	}
	
	.Start .ff-menu {
		padding: 0;
	}
	
	.Start + #content {
		margin-top: 200px;
	}
	
	.Start .ff-menu-toggle { display: none; }

	.Start .ff-menu-content {
		position: relative;
		z-index: 2;
		display: block;
		top: auto;
		right: auto;
		left: auto;
		background: transparent;
		padding: 0;
		box-shadow: none;
	}
	
	.Start .wp-menu-header-links li:hover > .wp-sub-menu {
		max-height: 400px;
		overflow: visible;
		transition: max-height overflow 0.3s ease-in;
	}

	.Start .wp-menu-header-links > ul > li:last-child > a {
		border-right: 1px solid #333;
	}
	
	.Start .wp-menu-header-links > ul > li > a {
		position: relative;
		padding-right: 40px;
	}
	
	.Start .wp-sub-menu .wp-menu-item-has-children::after,
	.Start .wp-menu-header-links > ul > .wp-menu-item-has-children > a::after {
	    position: absolute;
		right: 20px;
		top: 0;
		color: #FFF;
		
	    display: inline-block;
		
		font-size: 14px;
		line-height: 50px;
		content: '\2039';
		transform: rotate(-90deg);
		z-index: 1;
		transition: all 0.2s ease-in;
	}
	
	.Start .wp-menu-header-links > ul > li:hover > a::after {
		color: #28a9e1;
		top: 5px;
	}
	
	.Start .wp-sub-menu .wp-menu-item-has-children:hover::after {
		color: #28a9e1;
		right: 15px;
	}
	
	.Start .wp-menu-header-links .wp-sub-menu {
	    position: absolute;
	    z-index: 1;
		
		max-height: 0;
		overflow: hidden;
		display: block;
		transition: max-height 0.1s ease-out;
	}
	
	.Start .wp-sub-menu .wp-menu-item-has-children::after {
		position: absolute;
		right: 20px;
		top: 0;
		line-height: 32px;
		transform: rotate(180deg);
	}
	
	.Start .wp-sub-menu li {
	    background: #232323;
		border-left: 1px solid #333;
		border-right: 1px solid #333;
		border-bottom: 1px solid #333;
	}
	
	.Start .wp-sub-menu .wp-sub-menu {
	    position: absolute;
	    top: -1px;
	    left: 100%;
	}
}

@media screen and (max-width : 500px) {
	.Start .ff-menu-content {
		width: 100vw;
	}
}

@media screen and (max-width : 1280px) {
	.Start .flowform-head.ff-wide {
		height: 80px;
		padding: 0px 0;
	}
	
	.Start .flowform-body.ff-wide {
		margin-top: 80px;
	}
	
	.Start .ff-menu {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 5;
	}
	
	.Start .ff-menu-content {
		top: 80px;
		padding: 10px 0;
		right: 0;
	}

	.Start .ff-menu-content::before {
		right: 22px;
	}
	
	.Start .flowform-head.ff-wide .ff-header {
		background-position: left center;
    	margin-left: 30px;
	}

	.Start .ff-header-home-link {
		margin-left: -30px;
	}

	.Start .wp-menu-main-navigation {
		max-height: calc(100vh - 100px);
		overflow: auto;
		background: transparent;
	}

	.Start .wp-menu-main-navigation ul {
		flex-direction: column;
		margin-left: 0;
		margin-right: 0;
	}
	
	.Start .wp-menu-header-links > ul > li > a {
		position: relative;
		border-top: 1px dotted #fff;
		border-left: none;
		border-right: none;
		font-size: 14px;
	}
	
	.Start .wp-menu-header-links > ul > li:first-child > a {
		border-top: none;
	}
	
	.Start .wp-menu-header-links > ul > li:last-child > a {
	    border-right: none;
	}
	
	.Start .wp-menu-header-links > ul > li > a::after {
		position: absolute;
		z-index: 1;
		top: 0;
		right: 0;
		height: 50px;
		width: 50px;
		margin: 0;
	}
	
	.Start .wp-menu-header-links > ul > li > a::after {
		/*
		transform-origin: center;
		text-align: center;
		line-height: 50px;
		*/
		display: none;
	}
	
	.Start .wp-menu-header-links .wp-sub-menu {
		display: flex;
		flex-direction: column;
	}
	
	.Start .wp-sub-menu li {
		flex: 1;
		border: 0 none;
		background: transparent;
	}
}

.ff-menu-start,
.ff-menu-meta {
	position: fixed;
	top: 25px;
	left: 50%;
	z-index: 5;
	max-width: 1260px;
	transform: translateX(-50%);
	width: 100%;
	height: 0;
	font-size: 14px;
	text-align: right;
	font-size: 16px;
	padding-right: 20px;
}

.ff-menu-meta {
	transform: translateX(-50%);
}

body.Start .ff-menu-meta {
	line-height: 28px;
}

.ff-menu-meta a.active {
	font-weight: bold;
}

.ff-menu-meta a::after {
	content: '|';
	margin-left: 5px;
	font-weight: normal;
}

.ff-menu-meta a:last-child::after {
	display: none;
}

.ff-menu-meta a.ff-menu-login::before {
	content: 'h';
	margin-right: 5px;
	font-family: 'HypothekeIcons';
}

.ff-menu-start {
	visibility: hidden;
	pointer-events: none;
}

.app-start-now-button {
	display: block;
}

.ff-menu-start-short,
.ff-menu-start-long {
    transform: translateY(-7px);
    display: inline-block;
	opacity: 0;
	transition: opacity 1s ease-in;
}

.app-start-now-button,
.app-start-now-button:hover,
.ff-menu-start-short,
.ff-menu-start-long {
	background-color: var(--button-special-background);
	color: var(--button-special-color);
	text-decoration: none;
}

.app-start-now-button {
	transition: all 0.1s ease-in;
}

.app-start-now-button:hover {
	background-color: var(--button-secondary-hover-background);
}


.app-start-now-button::before,
.ff-menu-start-short::before,
.ff-menu-start-long::before {
	content: 'V';
	font-family: 'HypothekeIcons';
	margin-right: 10px;
	display: inline-block;
	transform: translateY(1px);
}

.app-start-now-button,
.ff-menu-start-long {
	padding: 10px 15px;
	border-radius: 20px;
    font-size: 16px;
    line-height: 18px;
}

.ff-menu-start-short {
	display: none;
	padding: 5px 7px;
	font-size: 12px;
	transform: translateY(-4px);
    width: 100px;
    line-height: 16px;
    text-align: left;
	padding-left: 40px;
	border-radius: 0;
}

.ff-menu-start-short::before {
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	font-size: 15px;
	line-height: 42px;
	width: 40px;
}

header.Start.scrolled-down .ff-menu-start {
	visibility: visible;
	pointer-events: all;
}

header.Start.scrolled-down .ff-menu-start-short,
header.Start.scrolled-down .ff-menu-start-long {
	opacity: 1;
}

header.Start.scrolled-down .ff-menu-start a {
	animation: ff-start-pulse 2s 10 ease-in-out;
}

header.Start.scrolled-down .ff-menu-login {
	display: none;
}

@keyframes ff-start-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(58, 138, 228, 0.8);
  }
  70% {
      box-shadow: 0 0 0 20px rgba(58, 138, 228, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(58, 138, 228, 0);
  }
}

@media screen and (max-width : 1280px) {
	.ff-menu-start {
		padding-right: 150px;
	}

	.ff-menu-login {
		padding-right: 40px;
	}

	.ff-menu-meta {
		font-size: smaller;
	}
}

@media screen and (max-width : 600px) {
	.ff-menu-start-long {
		display: none;
	}

	.ff-menu-start {
		padding-right: 120px;
	}

	.ff-menu-start-short {
		display: inline-block;
	}
}

.ff-menu-side-teaser {
    position: fixed;
	z-index: 10;
    right: 0;
    top: 350px;
    transform: translateY(-50%);
    width: 200px;
    height: 75px;
    background-color: #FFF;
    color: var(--button-special-background);
    box-shadow: 15px 0 20px var(--header-shadow);
	padding: 10px;
	box-sizing: border-box;
    font-size: 14px;
    line-height: 16px;
}

.ff-menu-side-teaser a {
	display: flex;
	flex-direction: row;
}

.ff-menu-side-teaser.ff-menu-zins-update a::before {
	content: 'n';
	font-size: 30px;
	line-height: 36px;
	margin-right: 10px;
	font-family: 'HypothekeIcons';
}

.ff-menu-side-teaser a {
    color: var(--button-special-background);
	padding: 10px;
	text-decoration: none;
}

.promo-footer-meta {
	color: var(--text-color);
	background-color: var(--box-background);
	box-shadow: 0 0 20px gray;
	line-height: 1.2;
}

.promo-footer-meta-content {
	max-width: 1140px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.promo-footer-meta address {
	font-style: normal;
}

.promo-footer-meta h4 {
	font-weight: bold;
	color: var(--highlight-color);
	margin-bottom: 10px;
}

.promo-footer-meta .ff-info-text {
	font-size: 14px;
}

.promo-footer-meta .ff-legal-text {
	margin-top: 20px;
	font-size: 10px;
}

@media screen and (max-width : 1280px) {
	.promo-footer-meta .ff-col {
	    min-width: 320px;
	}
	
	.promo-footer-meta .ff-col {
		position: relative;
	}

	.promo-footer-meta iframe {
		position: absolute;
		right: 10px;
		max-width: 50%;
		top: 10px;
	}
}

.ff-legal-links {
	white-space: nowrap;
}

.Start .wp-menu-header-links > ul > li {
	position: relative;
}

.Start .wp-menu-header-links > ul > li > a.wp-menu-header-sticker-jobs {
    position: absolute;
    display: block;
    border: 0;
    top: -30px;
	right: 0px;
    background-image: url(/img/jobs-sticker.svg);
    font-size: 0;
    line-height: 0;
    color: transparent;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
}

.Start .wp-menu-header-links > ul > .wp-menu-item-has-children > a.wp-menu-header-sticker-jobs::after {
	content: '';
}