/*
* =================================================================================================
* Schriftarten
* =================================================================================================
*/

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans'), local('OpenSans'), url(fonts/OpenSans-Regular.woff2) format('woff2'), url(fonts/OpenSans-Regular.ttf) format('truetype');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 500;
	src: local('Open Sans'), local('OpenSans'), url(fonts/OpenSans-Medium.woff2) format('woff2'), url(fonts/OpenSans-Medium.ttf) format('truetype');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	src: local('Open Sans'), local('OpenSans'), url(fonts/OpenSans-SemiBold.woff2) format('woff2'), url(fonts/OpenSans-SemiBold.ttf) format('truetype');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: local('Open Sans'), local('OpenSans'), url(fonts/OpenSans-Bold.woff2) format('woff2'), url(fonts/OpenSans-Bold.ttf) format('truetype');
}

@font-face {
	font-family: 'Vollkorn';
	font-style: normal;
	font-weight: 400;
	src: local('Vollkorn'), local('Vollkorn'), url(fonts/Vollkorn-Regular.woff2) format('woff2'), url(fonts/Vollkorn-Regular.ttf) format('truetype');
}

/*
* =================================================================================================
* Farben
* =================================================================================================
*/

:root {
	--state-opened: #43a047;
	--state-notice: #ffa000;
	--state-closed: #bd2203;
}

/*
* =================================================================================================
* Allgemeines
* =================================================================================================
*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
}

ul {
	list-style-type: none;
}

a {
	color: var(--color-link);
	text-decoration: none;
}

a[href^="mailto:"], a[href^="tel:"] {
	font-weight: 500;
}

/*
* =================================================================================================
* Grundgerüst
* =================================================================================================
*/

body {
	min-width: 320px;
	font-size: 12pt;
	font-family: "Open Sans", Verdana, Tahoma;
	color: var(--text-primary);
	background-color: var(--color-body);
}

#header {
	width: 100%;
	height: 120px;
	padding-top: 23px;
	background-color: var(--color-primary);
}

#logo {
	color: var(--text-light-primary);
	font-family: Vollkorn;
	text-align: center;
	white-space: nowrap;
	line-height: 1.25;
}

#logo > .business {
	font-size: 14pt;
	text-shadow: 2px 2px 2px rgba( 0, 0, 0, 0.12 );
}

#logo > .company {
	font-size: 36pt;
	text-shadow: 2px 2px 2px rgba( 0, 0, 0, 0.18 );
}

/* -- Hauptmenü / Hamburger -- */

nav {
	position: fixed;
	top: 65px;
	left: 15px;
	max-height: 0;
	width: calc( 100vw - 30px );
	height: calc( 100vh - 80px );
	background-color: var(--color-background-lucent);
    transition: max-height 0.2s ease-in;
	border-radius: 10px;
	overflow: auto;
}

.hamburger {
	position: fixed;
	top: 8px;
	right: 8px;
	cursor: pointer;
	padding: 23px 12px;
	opacity: 0.7;
	z-index: 1002;
}

.burger-bun {
	position: relative;
	display: block;
	width: 24px;
	height: 3px;
	background: var(--color-secondary);
	border-radius: 3px;
}

.burger-bun::before, .burger-bun::after{
	content: '';
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	background: var(--color-secondary);
	transition: all 0.2s ease-in-out;
	border-radius: 3px;
}

.burger-bun::before {
	top: 7px;
}

.burger-bun::after {
	top: -7px;
}

#burger-state {
	display: none;
}

#burger-state:checked ~ nav {
	max-height: 100%;
	box-shadow: 0 0 5px 2px rgba( 0, 0, 0, 0.38 );
	z-index: 1002;
}

#burger-state:checked ~ .hamburger .burger-bun {
	background: transparent;
}

#burger-state:checked ~ .hamburger .burger-bun::before {
	top: 0;
	transform: rotate(-45deg);
}

#burger-state:checked ~ .hamburger .burger-bun::after {
	top: 0;
	transform: rotate(45deg);
}

.headroom {
    will-change: transform;
    transition: transform 0.2s linear;
}

.headroom--pinned {
    transform: translateY( 0% );
	background-color: var(--headroom-background);
	box-shadow: 0 0 5px 1px rgba( 0, 0, 0, 0.54 );
	border-radius: 50%;
	opacity: 1;
}

.headroom--pinned .burger-bun {
	opacity: 0.7;
}

.headroom--unpinned {
    transform: translateY( -100% );
}

.headroom--top {
	background-color: transparent;
	box-shadow: unset;
	opacity: 0.7;
}

.headroom--top .burger-bun {
	opacity: 1;
}

/* -- Menüpunkte -- */

nav ul li a {
	display: block;
	text-align: center;
	padding: 25px;
	color: var(--menu-color);
	letter-spacing: 1px;
	opacity: 0.7;
}

nav ul li a.menuactive {
	color: var(--menu-active);
	font-weight: 600;
}

nav ul li a.menuactive,
nav ul li a:not(.menuactive):hover {
	opacity: 1;
}

/* -- Seiteninhalte -- */

a.page {
	display: block;
	max-width: 576px;
	padding: 8px 12px;
	margin: 24px 16px;
	color: var(--text-light-primary);
	font-size: 14pt;
	font-weight: 600;
	text-align: center;
	letter-spacing: 1px;
	font-variant: small-caps;
	background-color: var(--color-link);
	border-radius: 50px;
}

main {
	margin-bottom: 74px;
}

#details h2 {
	display: none;
}

#content {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 15px;
}

#content > iframe {
	width: 100%;
	height: calc( 100vh - 284px );
	border: 1px solid rgba( 0, 0, 0, 0.24 );
}

#content .highlight {
	font-weight: 500;
}

#slider-desktop {
	display: none;
}

#additives-legend {
	font-size: 11pt;
}

#socialshareprivacy {
	margin: 0 15px;
}

#copyright {
	display: none;
}

/* -- Back to Top -- */

#back-to-top {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	right: 20px;
	bottom: 100px;
	width: 48px;
	height: 48px;
	color: var(--menu-color);
	cursor: pointer;
	font-size: 22pt;
	background-color: var(--color-background-lucent);
	border: 1px solid rgba( 0, 0, 0, 0.24 );
	box-shadow: 2px 2px 5px 1px rgba( 0, 0, 0, 0.24 );
	transition: opacity 0.2s ease-in-out;
	border-radius: 50%;
	z-index: 1001;
	opacity: 0;
}

#back-to-top.usable {
	opacity: 0.9;
}

#back-to-top.usable:hover {
	background-color: var(--color-panel);
	opacity: 1;
}

/* -- Small ------------------------------------------------------------------------------------ */

@media screen and (min-width: 575.98px) {
	a.page {
		width: 516px;
		margin: 24px auto;
	}
	
	#slider-mobile {
		display: none;
	}
	
	#slider-desktop {
		display: block;
	}
}

/* -- Medium -- */

@media screen and (min-width: 767.98px) {
	body {
		font-size: 11pt;
		background-repeat: repeat-x;
		background-position: left top;
	}

    #header {
		position: relative;
		height: 240px;
		padding-top: 0;
		background-repeat: no-repeat;
		background-position-x: right 450px;
		background-position-y: 10px;
		background-color: transparent;
	}

    #logo {
		position: absolute;
		top: 80px;
		right: 150px;
		color: var(--color-secondary);
		text-align: left;
	}

    #logo > .business {
		margin-left: 5px;
	}

    /* -- Hauptmenü / Hamburger -- */

    nav {
		position: absolute;
		top: unset;
		left: unset;
		right: 12px;
		bottom: 0;
		width: unset;
		height: auto;
		max-height: none;
		background-color: transparent;
		overflow: auto;
		border-radius: 0;
	}

    .hamburger {
		display: none;
	}

    /* -- Menüpunkte -- */

    nav ul li {
		display: inline;
	}

	nav ul li a {
		display: inline-block;
		width: 180px;
		color: var(--menu-color);
		font-size: 10pt;
		font-weight: 500;
		text-shadow: 1px 1px 2px rgba( 0, 0, 0, 0.18 );
		padding: 12px 0;
		margin-right: 5px;
		background-color: var(--menu-background);
		border-top-left-radius: 12px;
		border-top-right-radius: 12px;
		opacity: 1;
	}

    nav ul li a.menuactive {
		color: var(--menu-color);
		font-weight: 700;
		background-color: var(--menu-active);
	}

	nav ul li a:not(.menuactive):hover {
		color: var(--menu-color);
		background-color: var(--menu-hover);
	}

	nav ul li:last-child a {
		margin-right: 0;
	}

    /* -- Seiteninhalte -- */
	
	a.page {
		font-size: 12pt;
	}

	#sidebar {
		position: relative;
	}

    #content {
		background-color: var(--color-body);
	}

    #content > iframe {
		height: calc( 100vh - 345px );
    }

	#content .highlight {
		font-weight: 600;
	}
}

/* -- Large ------------------------------------------------------------------------------------ */

@media screen and (min-width: 991.98px) {
	body {
		font-size: 10pt;
	}
	
	#header {
		max-width: 992px;
		margin: 0 auto;
		background-position-x: 260px;
	}
	
	#logo {
		top: 65px;
		left: 560px;
		right: unset;
	}
	
	#logo > .company {
		font-size: 46pt;
	}
	
	/* -- Hauptmenü / Hamburger -- */
	
	nav {
		left: 266px;
		right: unset;
		bottom: 6px;
		z-index: 99;
	}
	
	/* -- Menüpunkte -- */
	
	nav ul li a {
		width: 170px;
	}
	
	/* -- Seiteninhalte -- */
	
	a.page {
		width: 200px;
		margin: 16px 8px 8px;
		font-size: 11pt;
		font-variant: normal;
		border: 0;
		border-radius: 4px;
		background-color: var(--sidebar-highlight);
	}
	
	main {
		display: flex;
		max-width: 992px;
		margin: 0 auto 50px;
	}
	
	#sidebar {
		flex-basis: 225px;
		height: auto;
		margin-left: 10px;
	}

	#contact {
		height: 155px;
		background-color: var(--sidebar-highlight);
	}
	
	#details h2 {
		display: block;
	}
	
	#content {
		position: relative;
		top: -6px;
		flex: 1;
		padding: 25px;
		margin-right: 10px;
		background-color: var(--color-background);
		box-shadow: 0px 2px 4px 1px rgba( 0, 0, 0, 0.24 );
	}

	#content:before, #content:after {
		content: "";
		position: absolute;
		top: 0;
		border-style: solid;
		border-width: 3px;
		border-color: transparent;
	}
	
	#content:before {
		left: -6px;
		border-bottom-color: var(--color-top-corners);
		border-right-color: var(--color-top-corners);
		
	}
	
	#content:after {
		right: -6px;
		border-bottom-color: var(--color-top-corners);
		border-left-color: var(--color-top-corners);
	}
	
	#content > iframe {
		height: 700px;
	}
	
	#copyright {
		display: block;
		position: relative;
		top: 36px;
		width: 250px;
		margin: 0 auto;
		font-size: 9pt;
		color: var(--text-light-primary);
		text-align: center;
		padding: 12px 0;
		background-color: var(--copyright-highlight);
	}
	
	#copyright:before, #copyright:after {
		content: "";
		position: absolute;
		bottom: 0;
		border-style: solid;
		border-width: 6px 4px 5px 4px;
		border-color: transparent;
	}
	
	#copyright:before {
		left: -8px;
		border-top-color: var(--color-bottom-corners);
		border-right-color: var(--color-bottom-corners);
		
	}
	
	#copyright:after {
		right: -8px;
		border-top-color: var(--color-bottom-corners);
		border-left-color: var(--color-bottom-corners);
	}

	/* -- Back to Top -- */

	#back-to-top {
		bottom: 20px;
	}
}

/* -- Extra large ------------------------------------------------------------------------------ */

@media screen and (min-width: 1199.98px) {
	#header {
		max-width: 1200px;
		background-position-x: 290px;
	}
	
	#logo {
		left: 650px;
	}
	
	/* -- Menüpunkte -- */
	
	nav ul li a {
		width: 222px;
	}
	
	/* -- Seiteninhalte -- */
	
	main {
		max-width: 1200px;
	}
}

/* -- Extra extra large ------------------------------------------------------------------------ */

@media screen and (min-width: 1399.98px) {
	#header {
		max-width: 1400px;
		background-position-x: 350px;
	}
	
	#logo {
		left: 750px;
	}
	
	/* -- Menüpunkte -- */
	
	nav ul li a {
		width: 272px;
	}
	
	/* -- Seiteninhalte -- */
	
	main {
		max-width: 1400px;
	}

	#welcome {
		max-width: 900px;
	}
}

/*
* =================================================================================================
* Seiteninhalte
* =================================================================================================
*/

h1 {
	color: var(--heading1-color);
	font-size: 14pt;
	font-weight: 600;
	padding: 0 10px;
	margin: 10px 0;
}

h2 {
	color: var(--heading2-color);
	font-weight: 600;
	font-size: inherit;
	padding: 10px 15px;
	background-color: var(--heading2-background);
}

h3 {
	color: var(--heading3-color);
	font-size: inherit;
	margin: 5px 0;
}

div.imageright {
	float: right;
}

p.text,
ul.unorderedlist {
	line-height: 1.65;
}

ul.unorderedlist {
	list-style-type: square;
	padding-left: 25px;
}

p.text {
	padding: 0 10px;
	text-align: justify;
	margin-bottom: 10px;
}

p.text.left {
	text-align: left;
}

p.text.right {
	text-align: right;
}

.announcement {
	padding: 8px;
	line-height: 1.65;
	margin-bottom: 20px;
	text-align: justify;
	border: 3px solid var(--announcement-border);
	background-color: var(--announcement-background);
	box-shadow: 0 0 5px 1px rgba( 0, 0, 0, 0.18 );
	border-radius: 8px;
}

.announcement > h4 {
	font-size: 1.1em;
	margin-bottom: 8px;
}

.announcement.bold > h4 {
	color: var(--announcement-highlight);
}

.announcement.bold {
	border-color: var(--announcement-highlight);
}

.announcement.bold .highlight {
	font-weight: 700 !important;
}

hr.horizontalline {
	color: var(--color-secondary);
	border-width: 1px 0 0 0;
	box-shadow: 0px 1px 0px 0px rgba( 0, 0, 0, 0.2 );
}

/*
* =================================================================================================
* Icons
* =================================================================================================
*/

.ib::before,
.ibc::before {
	display: inline-block;
	height: 1em;
	width: 1em;
	vertical-align: -.125em;
	content: '';
}

.ib::before {
	background: currentColor;
	mask-image: var(--url);
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-image: var(--url);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.ibc::before {
	background-image: var(--url);
	background-size: contain;
	background-position: 50% 50%;
	background-repeat:no-repeat;
}

/* Html: <i class="ib mdi-phone"></i> */
.mdi-phone {
	--url: url('data:image/svg+xml,%3csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3e%3cpath d=%22M6.62 10.79c1.44 2.83 3.76 5.15 6.59 6.59l2.2-2.2c.28-.28.67-.36 1.02-.25c1.12.37 2.32.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57c.11.35.03.74-.25 1.02l-2.2 2.2z%22 fill=%22currentColor%22/%3e%3c/svg%3e');
}

/* Html: <i class="ib mdi-chevron-up"></i> */
.mdi-chevron-up {
	--url: url('data:image/svg+xml,%3csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3e%3cpath d=%22M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6l1.41 1.41z%22 fill=%22currentColor%22/%3e%3c/svg%3e');
}

/* Html: <i class="ib mdi-chevron-down"></i> */
.mdi-chevron-down {
	--url: url('data:image/svg+xml,%3csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3e%3cpath d=%22M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6l1.41-1.42z%22 fill=%22currentColor%22/%3e%3c/svg%3e');
}

/* Html: <i class="ib mdi-rice"></i> */
.mdi-rice {
	--url: url('data:image/svg+xml,%3csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3e%3cpath d=%22M22 11h-2.3c-.3-1.1-.8-2.2-1.5-3l3.4-5.4l-1.7-1.1l-3.2 5.1c-.4-.3-.7-.5-1.2-.7l.9-3.6l-1.9-.5l-.8 3.4c-.6-.1-1.1-.2-1.7-.2c-3.7 0-6.8 2.6-7.7 6H2c0 4.1 2.5 7.6 6 9.2V22h8v-1.8c3.5-1.6 6-5.1 6-9.2M12 7c2.6 0 4.8 1.7 5.6 4H6.4c.8-2.3 3-4 5.6-4z%22 fill=%22currentColor%22/%3e%3c/svg%3e');
}

/* Html: <i class="ib mdi-clock-outline"></i> */
.mdi-clock-outline {
	--url: url('data:image/svg+xml,%3csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3e%3cpath d=%22M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7h1.5z%22 fill=%22currentColor%22/%3e%3c/svg%3e');
}

/* Html: <i class="ib mdi-clock-alert-outline"></i> */
.mdi-clock-alert-outline {
	--url: url('data:image/svg+xml,%3csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3e%3cpath d=%22M11 7v6l5.2 3.1l.8-1.2l-4.5-2.7V7H11m9 5v6h2v-6h-2m0 8v2h2v-2h-2m-2 0c-1.7 1.3-3.7 2-6 2c-5.5 0-10-4.5-10-10S6.5 2 12 2c4.8 0 8.9 3.4 9.8 8h-2.1c-.9-3.4-4-6-7.7-6c-4.4 0-8 3.6-8 8s3.6 8 8 8c2.4 0 4.5-1.1 6-2.7V20z%22 fill=%22currentColor%22/%3e%3c/svg%3e');
}

/* Html: <i class="ib mdi-fax"></i> */
.mdi-fax {
	--url: url('data:image/svg+xml,%3csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3e%3cpath d=%22M11 6h5v2h-5V6M8 9V3h11v6a3 3 0 0 1 3 3v6h-3v3H8v-3H7V9h1m2-4v4h7V5h-7m0 10v4h7v-4h-7m9-4a1 1 0 0 0-1 1a1 1 0 0 0 1 1a1 1 0 0 0 1-1a1 1 0 0 0-1-1M4 9h1a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2z%22 fill=%22currentColor%22/%3e%3c/svg%3e');
}

/* Html: <i class="ib mdi-car"></i> */
.mdi-car{
	--url: url('data:image/svg+xml,%3csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3e%3cpath d=%22M5 11l1.5-4.5h11L19 11m-1.5 5a1.5 1.5 0 0 1-1.5-1.5a1.5 1.5 0 0 1 1.5-1.5a1.5 1.5 0 0 1 1.5 1.5a1.5 1.5 0 0 1-1.5 1.5m-11 0A1.5 1.5 0 0 1 5 14.5A1.5 1.5 0 0 1 6.5 13A1.5 1.5 0 0 1 8 14.5A1.5 1.5 0 0 1 6.5 16M18.92 6c-.2-.58-.76-1-1.42-1h-11c-.66 0-1.22.42-1.42 1L3 12v8a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1h12v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-8l-2.08-6z%22 fill=%22currentColor%22/%3e%3c/svg%3e');
}

/*
* =================================================================================================
* Mozilo-Elemente
* =================================================================================================
*/

/* [bild|...] */
span.imagesubtitle {
	margin: 3px 3px;
	text-align: justify;
	font-size: 87%;
}

/* [bildlinks|...] */
span.leftcontentimage {
	float: left;
	margin: 6px 20px 10px 0px;
	border: 1px solid #000000;
}

/*
img.leftcontentimage {
}
*/

/* [bildrechts|...] */
span.rightcontentimage {
	float: right;
	margin: 6px 0px 10px 20px;
	border: 1px solid #000000;
}

/*
img.rightcontentimage {
}
*/

/* [zentriert|...] */
.aligncenter {
	text-align: center;
}

/* [links|...] */
.alignleft {
	text-align: left;
}

/* [rechts|...] */
.alignright {
	text-align: right;
}
/* [block|...] */
.alignjustify {
	text-align: justify;
}

div.tableofcontents li.blind {
	list-style-type: none;
	list-style-image: none;
}

fieldset#searchfieldset {
	border: none;
	margin: 0px;
	padding: 0px;
}