html {
	font-size: small;
}

header {
	height: 10rem;
	padding: 0;
	position: relative;
}

header #header-background {
	z-index: -10;
}

header #header-content {
	padding: 1rem 25px 3rem 25px;
	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header nav {
	margin: -3rem 0 0 0;
	padding: 4rem 0 0 0;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #8f8576;
	display: block;
	z-index: -1;
	transform: translate3d(0, -100%, 0);
	opacity: 0;
	transition: transform 0.5s, opacity 0.5s;
}
header nav.show {
	transform: none;
	opacity: initial;
}

header #header-background {
	z-index: 10;
}

header nav > ul {
	flex-direction: column;
	margin: 0;
	font-size: 1.2rem;
}

header nav > ul > li {
	margin: 0;
}

header nav > ul > li > a {
	color: #fff;
	padding: 1rem 25px;
	background: transparent;
}
header nav > ul > li > ul a {
	color: #fff;
	background: transparent;
	padding: 0.2em 25px;
}

header nav > ul > li > a::after {
	content: '›';
	position: absolute;
	right: 25px;
	top: 0;
	height: 1.4em;
	font-size: 2rem;
	font-family: sans-serif;
	font-weight: normal;
	transform-origin: center center;
	transition: transform 0.2s;
}
header nav > ul > li.open > a::after {
	transform: rotate3d(0, 0, 1, 90deg);
}

header #nav-button {
	width: 2.5rem;
	height: 2.4rem;
	display: block;
	background: transparent;
	appearance: none;
	border: none;
	outline: none;
	font-weight: bold;
	font-size: 1.7rem;
	line-height: 2;
	margin: -0.8rem 0 0 -0.5rem;
	padding: 0;
	transition: transform 0.5s;
}

header #nav-button::after {
	content: '☰';
}
header #nav-button.open {
	transform: rotate3d(0, 0, 1, -90deg);
}

header nav > ul > li > ul {
	background: #5b554b;
	position: static;
	visibility: initial;
	opacity: initial;
	box-shadow: none;
	width: initial;
	transform: none;
	transition: max-height 0.3s, padding 0.3s;
	overflow: hidden;
	font-size: inherit;
	max-height: 0;
	padding: 0;
}
header nav > ul > li.open > ul {
	max-height: 15em;
	padding: 1.1em 0 0.5em 0;
}

nav > ul > li > ul a:hover {
	background-color: transparent;
}

nav li#fefco-katalog {
	position: initial;
	background-image: none;
	margin-top: 1rem;
}

nav li#fefco-katalog > a {
	color: #fff;
	padding: 1rem 25px;
	transform: none;
	text-align: initial;
}

nav li#fefco-katalog > a > span {
	display: initial;
	color: #fff
	;
	height: initial;
}

#logo img {
	height: 2.5rem;
}

.smartphone-only {
	display: initial;
}

footer {
	height: 9rem;
	padding: 0 25px;
	background-image: url('../assets/karton-footer-smartphone.png');
}

footer nav {
	position: relative;
}

footer nav > ul {
	font-size: 0.7rem;
	justify-content: space-between;
	flex-grow: 1;
}

nav > ul > li#einsu {
	display: none;
}

nav > ul > li#einsu-smartphone {
	display: block;
	position: absolute;
	bottom: 2rem;
	right: -1rem;
}
nav li#einsu-smartphone > a > img {
	height: 2rem;
	width: auto;
}

article.text {
	flex-direction: column;
	padding: 0 0 4rem 0;
}
article.text.flush {
	padding-top: 0;
}

article aside {
	margin: 0;
	width: 100%;
}

article section {
	margin: 3rem 25px 0 25px;
	width: auto;
}

article.centered {
	max-width: none;
	margin: 0 25px;
}

article.fefco {
	position: relative;
	padding: 7rem 25px 4rem 25px;
	flex-grow: 1;
	align-self: start;
}

article.fefco section {
	margin: 0.7rem 0;
}

article.fefco section:first-of-type ul {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	gap: 1px;
	background-color: #000;
}

article.fefco section:first-of-type ul li {
	margin: 0;
	padding: 0;
	flex-grow: 1;
	
}

article.fefco section:first-of-type ul li a {
	display: block;
	background-color: hsl(212deg, 83%, 12%);
	color: #fff;
	text-decoration: none;
	text-align: center;
	line-height: 3rem;
	padding-top: 1.7rem;
}

article.fefco section:first-of-type ul li a > span:first-of-type {
	display: none;
}

.desktop-only {
	display: none;
}

article.fefco form {
	display: flex;
	margin: 0;
}

article.fefco form input {
	flex-grow: 1;
	display: block;
	border: none;
	margin: 0 1rem 0 0;
	padding: 0;
	font-size: 1rem;
}

article.fefco form input::placeholder {
	color: inherit;
}

article.fefco section.fefco-katalog ul li {
	width: 100%;
}

article.fefco section.fefco-katalog.detail ul li a {
	padding: 0.5rem;
}

article.fefco img.fefco-preview.desktop-only {
	display: none;
}

article.fefco img.fefco-preview.smartphone-only {
	float: right;
	margin: 0 0 1rem 2rem;
	display: block;
}

article.fefco section.fefco-katalog.detail ul li {
	width: 50%;
}

article.fefco section.fefco-katalog ul li a > div:first-of-type {
	margin: -0.5rem -1rem 1rem -1rem;
	width: calc(100% + 2 * 1rem);
}

