#header {
	float: left;
	clear: both;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	padding-top: 15px;
	transition: top 0.3s ease;
}

#header.fixed {
	position: fixed;
	top: -100px;
}

#header > .rahmen {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: stretch;
}

#header.scrolled {
	background: var(--farbe4);
	position: fixed;
	top: 0;
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
	padding: 15px 0;
	transition: top 0.6s ease;
}

#header.mobile {
	background: var(--farbe4) !important;
	position: fixed !important;
	top: 0 !important;
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.1) !important;
	padding: 15px 0 !important;
}

#header.fixed .logo img {
	display: none;
}

#header.fixed.scrolled .logo img, #header.mobile .logo img {
	display: block;
}