
body {
	height: 100% !important; /* needed for skrollr bugfix https://github.com/Prinzhorn/skrollr/issues/347 */

	font-family: "BunueloCleanPro", Helvetica, Arial, sans-serif;
	font-size: 20px;
}

a, a:hover, a:focus {
	color: #d8433d;
}

.custom--row-content .col > *:first-child,
.custom--row-content .col-md > *:first-child,
.custom--row-content .col-md-6 > *:first-child
{
	margin-top: 0;
}

/* Headlines */

h1, .h1 {
	font-family: "BebasNeue", Helvetica, Arial, sans-serif;
	font-size: 54px;
}

h2, .h2 {
	/* margin: 0.75em 0 0.6em 0; */
	margin: 0.75em 0 0.6em 0;
	font-size: 46px;
	/* line-height: 0.9; */
	line-height: 1;
}

h3, .h3 {
	margin: 0.8em 0 0.65em 0;
	font-size: 36px;
	line-height: 1.1;
}

h4, .h4 {
	margin: 0.85em 0 0.7em 0;
	font-size: 28px;
	line-height: 1.3;
}

h5, .h5 {
	margin: 0.9em 0 0.79em 0;
	font-weight: bold;
	font-size: 24px;
	line-height: 1.4;
}

h6, .h6 {
	margin: 0.95em 0 0.8em 0;
	font-weight: bold;
	font-size: 20px;
	line-height: 1.5;
}

.quote {
	margin: 0.75em 0 0.6em 0;
	font-style: italic;
	color: #d8433d;
	font-size: 46px;
	line-height: 0.9;
	text-align: center;
}

.custom--h-red,
.custom--h-black,
.custom--h-white
{
	display: block;
	margin-right: 0.3em;
	margin-left: 0.3em;
	font-family: "BebasNeue", Helvetica, Arial, sans-serif;
	line-height: 1.6;
	/* line-height: 1.84; */ /* + 15 % */
	text-transform: uppercase;
	letter-spacing: 0.04em; /*0.1em; arbitrary - should be 15% */
}
.custom--h-red > *,
.custom--h-black > *,
.custom--h-white > *
{
	display: inline;
	padding-top: 0.09em;
	padding-bottom: 0.01em;
	box-decoration-break: clone;
	outline: none;
	color: inherit;
	text-decoration: none;
}
.custom--h-red
{
	color: #fff;
}
.custom--h-black
{
	color: #fff;
}
.custom--h-white
{
	color: #000;
}
.custom--h-red > *
{
	background: #d8433d;
	box-shadow: 0.3em 0 0 #d8433d, -0.3em 0 0 #d8433d;
}
.custom--h-black > *,
.frontpage .custom--header-background h1.custom--h-red > *,
.frontpage .custom--header-background .h1.custom--h-red > *
{
	background: #000;
	box-shadow: 0.3em 0 0 #000, -0.3em 0 0 #000;
}
.custom--h-white > *
{
	background: #fff;
	box-shadow: 0.3em 0 0 #fff, -0.3em 0 0 #fff;
}

span.custom--h-red,
span.custom--h-black,
span.custom--h-white
{
	display: inline-block;
	font-size: 28px;
}

.card-title
{
	/*margin-top: 4px;*/
	font-size: 28px;
}
.custom--card-subtitle
{
	font-size: 20px;
}

ol,
ul
{
	margin: 1em 0; /* 20/20 0 */
	padding: 0 0 0 1.6em; /* 0 0 0 32/20 */
}
li
{
	margin: 0 0 0.3em 0; /* 0 0 6/20 0 */
	padding: 0 0 0 0.2em; /* 0 0 0 4/20 */
}

/* Custom Bootstrap */

.list-group-item
{
	padding: 0.25rem 0;
	margin-bottom: -1px;
	background-color: inherit;
	border: inherit;
}
/*
.list-group-item:last-child .custom--h-red > *
{
	background: #000;
	box-shadow: 0.3em 0 0 #000, -0.3em 0 0 #000;
}
*/

.card-columns {
	-webkit-column-count: 4;
	column-count: 4;
	-webkit-column-gap: 0rem;
	column-gap: 0rem;
}

.card {
	border: inherit;
	border-radius: inherit;
	display: flex !important;
}

.card-columns .card {
	margin-bottom: 0;
}

.card-group .card {
	-webkit-flex: 0 0 25%;
	-ms-flex: 0 0 25%;
	flex: 0 0 25%;
	margin-bottom: 0;
}

.card-group .custom--card-50 {
	-webkit-flex: 0 0 50%;
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
}

.card-img {
	width: 100%;
	border-radius: inherit;
}

.custom--card-img {

	height: 0;
	padding-bottom: 100%;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.custom--card-50 .custom--card-img {
	padding-bottom: 50%;
}

.card .badge {
	position: absolute;
	bottom: 16%;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}

.btn {
	white-space: normal;
	cursor: pointer;
}

.btn-primary
{
	color: #fff;
	background-color: #d8433d;
	border: inherit;
	-webkit-border-radius: inherit;
	-moz-border-radius: inherit;
	border-radius: inherit;
}
.btn-primary:focus,
.btn-primary.focus
{
	box-shadow: inherit;
}
.btn-primary:hover,
.btn-primary:focus
{
	color: #fff;
	background-color: #000;
	border-color: #000;
}
.btn-primary:active,
.btn-primary:focus
{
	color: #fff;
	background-color: #000;
	border-color: #000;
}
.btn-primary:not([disabled]):not(.disabled):active,
.btn-primary:not([disabled]):not(.disabled).active
{
	background-color: #000;
	border-color: #000;
	box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.2);
}

.btn-secondary
{
	color: #fff;
	background-color: #000;
	border: inherit;
	-webkit-border-radius: inherit;
	-moz-border-radius: inherit;
	border-radius: inherit;
}
.btn-secondary:focus,
.btn-secondary.focus
{
	box-shadow: inherit;
}
.btn-secondary:hover,
.btn-secondary:focus
{
	color: #fff;
	background-color: #d8433d;
	border-color: #d8433d;
}
.btn-secondary:not([disabled]):not(.disabled):active,
.btn-secondary:not([disabled]):not(.disabled).active
{
	background-color: #d8433d;
	border-color: #d8433d;
	box-shadow: 0 0 0 0.2rem rgba(216, 67, 61, 0.3);
}

.badge {
	display: block;
	width: 5.5556em; /* 100/18 */
	padding: 1.6667em 0.5556em; /* 30/18 10/18 */
	background: #d8433d;
	border-radius: 50%;
	color: #fff;
	font-weight: bold;
	font-size: 1.125rem; /* 18/16 */
	line-height: 1.2222; /* 22/18 */
	text-align: center;
	white-space: normal;
}

/* CUSTOMS */

/* Container */

.container-fluid
{
	/* padding-right: 0px; */
	/* padding-left: 0px; */
}
.row
{
	margin-right: 0;
	margin-left: 0;
}
.custom--header,
.custom--cards
{
	padding-right: 0px;
	padding-left: 0px;
}
.custom--header-logo-spacing,
.custom--content
{
	max-width: 1440px; /* container-fluid */
}

.custom--content-1 + .custom--cards-container
{
	padding-top: 4%;
}


/* Menu/Overlay */

body
{
	position: relative;
	overflow: hidden;
}
.scroll-frame
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto !important; /* override skrollr inline style */

	-webkit-overflow-scrolling: touch;
}

.menu-button-container
{
	position: fixed; /* absolute */
	z-index: 1120; /* bootstrap popover: 1060 */
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
}
.menu-button-container .container-fluid
{
	/* max-width: 1140px; */ /* container-fluid */
}
.menu-button-container .row
{
	height: 0;
}
.menu-button-container .col
{
	height: 0;
	margin-top: 65px; /* 36+(128/2)-(70/2) */
	margin-top: 60px;
	text-align: right;
}
.menu-button
{
	width: 2em; /* 56/28 */
	margin-right: 15px;
	padding: 0;
	background-color: #000; /* #d8433d */
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 1.75rem; /* 28/16 */
	line-height: 2; /* 56/28 */
	cursor: pointer;
}
.menu-button .zmdi
{
	position: relative;
	top: 0.0714em; /* 2/28 */
}
.menu-button .zmdi-close
{
	display: none;
}
.menu-overlayed .menu-button
{
	background-color: #fff;
	color: #000;
}
.menu-overlayed .menu-button .zmdi-close
{
	display: inline-block;
}
.menu-overlayed .menu-button .zmdi-menu
{
	display: none;
}

.menu-overlay
{
	position: fixed;
	z-index: 1110; /* bootstrap popover: 1060 */
	top: 0;
	left: 0;
	overflow: hidden;
	width: 100%;
	height: 0;
	background: rgba(0, 0, 0, 0.92);

	opacity: 0.0;
	transition: opacity 320ms;
}
.menu-overlayed .menu-overlay
{
	height: 100%;
	opacity: 1.0;
}
.menu-overlay .container-fluid
{
	position: absolute;
	left: 0;
	top: 200px; /* 128+36*2 */
	top: 0;
	bottom: 0;
	width: 100%;
	padding-right: 0;
	padding-left: 0;
}
.menu-overlay .row
{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.menu-overlay .col
{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	padding: 5% 0;
	overflow-y: auto;
}
.menu-overlay .col:before,
.menu-overlay .col::before
{
	content: '\200B';
	display: inline-block;
	height: 100%;
	margin-right: -0.25em; /* Adjusts for spacing */
	vertical-align: middle;
}
.menu-overlay ul
{
	display: inline-block;
	width: 100%;
	padding: 0;
	font-size: 40px;
	line-height: 1.725; /* 1.5 + 15 % */
	font-family: "BebasNeue", Helvetica, Arial, sans-serif;
	vertical-align: middle;
	list-style-type: none;
}
.menu-overlay li
{
	margin: 0;
	padding: 0;
}
.menu-overlay a
{
	display: block;
	padding: 6px 30px 2px 30px;
	transition: 200ms color;
	color: #fff;
	text-align: center;
	text-decoration: none;
}
.menu-overlay a:hover,
.menu-overlay a:focus
{
	color: #d8433d;
}
.menu-overlay .active > a
{
	color: #d8433d;
}

/* Header */

.custom--header {
	overflow: hidden;
}

.custom--header-background {
	min-height: 800px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.custom--header-background .video-background-animation-wrapper
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.custom--header-background .video-background-wrapper,
.custom--header-background .video-background-wrapper .video-js
{
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 100% !important;
	height: 100%  !important;
}
.custom--header-background .video-background-wrapper > div
{
	/* position: relative; */
}
.custom--header-background .video-background-wrapper video
{
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	height: 100%;
	width: 177.77777778vh;
	min-width: 100%;
	min-height: 56.25vw;
	max-width: none;
	margin: 0;
}

.custom--header-logo {
	display: block;
	width: 128px; /* natural: 256 */
	height: 128px; /* natural: 256 */
	width: 102px;
	height: 102px;
	position: absolute;
	z-index: 1130;
	left: 50%;
	top: 36px;
	-webkit-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	background: transparent url(../images/layout/steg-logo.png) no-repeat center center;
	background-size: 100% auto;
}

.custom--header-logo-spacing {
	margin-top: 288px;
	/* margin-bottom: 40px; */
	margin-bottom: 80px;
}

.frontpage .custom--header-logo-spacing {
	margin-bottom: 80px;
}

.custom--header-background .custom--header-logo-spacing {
	margin-top: 600px; /* overwritten by js */
}

.frontpage .custom--header-logo-spacing .custom--h-red,
.frontpage .custom--header-logo-spacing .custom--h-black,
.frontpage .custom--header-logo-spacing .custom--h-white
{
	margin-top: 0;
}

/* Header > Pfeil hinunter */

.custom--header-background.has-arrow-down
{
	position: relative;
}
.custom--header-background.has-arrow-down .custom--header-logo-spacing
{
	margin-bottom: 120px;
}
.arrow-down
{
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: 30px;
	-webkit-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	width: 1.5em; /* 48/32 alt: 60px */
	padding: 0;
	background: #000; /* #d8433d */
	border-radius: 50%;
	border: none;
	color: #fff;
	font-size: 2rem; /* 32/16 alt: 40 */
	line-height: 1.5; /* 48/32 */
	cursor: pointer;
}
.arrow-down .zmdi
{
	position: relative;
	top: 0.03125em; /* 1/32 */
}

/* Header > Pfeil hinunter > Animation */

@-webkit-keyframes bounce
{
	0%
	{
		-webkit-transform: translate(-50%, 0);
	}
	8%
	{
		-webkit-transform: translate(-50%, -25px);
	}
	16%
	{
		-webkit-transform: translate(-50%, 0);
	}
	22%
	{
		-webkit-transform: translate(-50%, -10px);
	}
	28%
	{
		-webkit-transform: translate(-50%, 0);
	}
	100%
	{
		-webkit-transform: translate(-50%, 0);
	}
}
@-moz-keyframes bounce
{
	0%
	{
		transform: translate(-50%, 0);
	}
	8%
	{
		transform: translate(-50%, -25px);
	}
	16%
	{
		transform: translate(-50%, 0);
	}
	22%
	{
		transform: translate(-50%, -10px);
	}
	28%
	{
		transform: translate(-50%, 0);
	}
	100%
	{
		transform: translate(-50%, 0);
	}
}
@-o-keyframes bounce
{
	0%
	{
		transform: translate(-50%, 0);
	}
	8%
	{
		transform: translate(-50%, -25px);
	}
	16%
	{
		transform: translate(-50%, 0);
	}
	22%
	{
		transform: translate(-50%, -10px);
	}
	28%
	{
		transform: translate(-50%, 0);
	}
	100%
	{
		transform: translate(-50%, 0);
	}
}
@keyframes bounce
{
	0%
	{
		-ms-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
	}
	8%
	{
		-ms-transform: translate(-50%, -25px);
		transform: translate(-50%, -25px);
	}
	16%
	{
		-ms-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
	}
	22%
	{
		-ms-transform: translate(-50%, -10px);
		transform: translate(-50%, -10px);
	}
	28%
	{
		-ms-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
	}
	100%
	{
		-ms-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
	}
}
.arrow-down
{
	-webkit-animation: bounce 2000ms ease infinite;
	-moz-animation: bounce 2000ms ease infinite;
	-o-animation: bounce 2000ms ease infinite;
	animation: bounce 2000ms ease infinite;
}

/* Header > Animierte Header-Elemente */

.fade-in-start
{
	opacity: 0;
}
.fade-in-stop
{
	transition: opacity 420ms;
	opacity: 1;
}
.custom--header-background
{
	position: relative;
}
.custom--header-background .container-fluid
{
	position: relative;
	z-index: 1;
}
.custom--header-background.fade-in-start
{
	opacity: 1;
}
.custom--header-background.fade-in-stop
{
	transition: none;
}
.custom--header-background.fade-in-start:after,
.custom--header-background.fade-in-start::after
{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #fff;

	opacity: 1;
}
.custom--header-background.fade-in-stop:after,
.custom--header-background.fade-in-stop::after
{
	transition: opacity 1000ms;
	opacity: 0;
}

/* Content */

.custom--content {
	padding-top: 50px;
	padding-bottom: 50px;
}

.custom--header-no-content + .custom--content {
	margin-top: -90px; /* 40 + 50 */
}

.custom--content h1, .custom--content .h1 {
	margin-bottom: 25px;
}

.custom--tags {
	/* margin-bottom: 25%; */
}

.custom--btn-tag, .custom--btn-more {
	margin-right: 10px;
	margin-bottom: 12px;
}

.section
{
	margin-top: 25%;
}
.projekt-daten
{
	color: #d8433d;
}
.projekt-daten td,
.projekt-daten th
{
	padding: 0 1em 0.5em 0; /* 0 20/20 10/20 0 */
	vertical-align: top;
}
.projekt-daten a:hover,
.projekt-daten a:focus
{
	color: #212529;
	text-decoration: none;
}

.links
{
	padding: 0;
	list-style-type: none;
}
.links li
{
	margin-bottom: 0.5em; /* 10/20 */
	padding: 0;
}
.links a:hover,
.links a:focus
{
	color: #212529;
	text-decoration: none;
}

.custom--row-backlink
{
	margin-top: 2.7em; /* 54/20 */
}
.custom--btn-backlink .zmdi
{
	margin-top: -0.0833em; /* -2/24 */
	padding-right: 0.3333em; /* 8/24 */
	font-size: 1.2em; /* 24/20 */
	line-height: 1; /* 24/24 */
	vertical-align: middle;
}

/* Team */

.custom--team .card
{
	outline: none;
	cursor: pointer;
}
.custom--team .card,
.custom--team .card-group .card:only-child
{
	border-radius: 0;
}
.custom--team .card .card-img
{
	opacity: 1.0;
	filter: grayscale(0);
	transition: opacity 240ms, filter 240ms;
}
.custom--team .card:hover .card-img,
.custom--team .card:focus .card-img
{
	opacity: 0.8;
}
.custom--team .card.active .card-img
{
	opacity: 0.6;
	filter: grayscale(100%);
}
.custom--team .card .card-img-overlay
{
	opacity: 0.0;
	opacity: 1.0;
	transition: opacity 240ms;
}
.custom--team .card .card-img-overlay h3,
.custom--team .card .card-img-overlay p
{
	opacity: 0.0;
	transition: opacity 240ms;
}
.custom--team .card.active .card-img-overlay
{
	opacity: 1.0;
}
.custom--team .card.active .card-img-overlay h3,
.custom--team .card.active .card-img-overlay p
{
	opacity: 1.0;
}
.custom--team h2
{
	font-size: 24px;
	line-height: 1.35;
	font-family: "BebasNeue", Helvetica, Arial, sans-serif;
	bottom: 0px;
	position: absolute;
}
.custom--team h3
{
	margin: 80px 0 0 0;
	font-size: 20px;
	line-height: 1.4;
}
.custom--team p
{
	line-height: 1.4;
}
.custom--team a
{
	color: #000;
}
.custom--team strong
{
	display: inline-block;
	min-width: 2em;
	font-weight: normal;
}

/* skrollr */

.slide
{
	position: relative;
	background: #fff;
	/* border: solid 1px red; */
}
.frontpage .slide
{
	min-height: 100%;
}
.scroll-navigation
{
	position: fixed;
	z-index: 1;
	right: 0;
	top: 50%;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
}
.scroll-navigation a
{
	overflow: hidden;
	display: block;
	width: 14px;
	height: 14px;
	margin: 6px 45px;
	background: #fff;
	border: solid 2px #000; /* #d8433d */
	border-radius: 50%;
}
.scroll-navigation .active
{
	background: #000; /* #d8433d */
}

.mobile .custom--header-background,
.no-skrollr .custom--header-background
{
	background-position: center center !important;
	background-attachment: scroll !important;
}

#ansprechpartner-finder-wrapper-mobile {
	display: none;
}

.select2.select2-container {
	width: 100% !important;
}

@media screen and (max-width: 768px) {
	.select2.select2-container {
		width: 90% !important;
	}
	#ansprechpartner-finder-wrapper-mobile {
		display: block;
	}
	#ansprechpartner-finder-wrapper-desktop {
		display: none;
	}
}

.select2.select2-container .select2-selection {
	border: 1px solid black;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	height: 34px;
	margin-bottom: 15px;
	outline: none !important;
	transition: all .15s ease-in-out;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
	color: #333;
	line-height: 32px;
	padding-right: 33px;
	height: 100%;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
	background: black;
	border-left: 1px solid black;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	height: 32px;
	width: 33px;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0 0 0 0;
}

.select2.select2-container .select2-selection .select2-selection__arrow b {
	border-color: white transparent transparent transparent;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent white transparent;
}

.select2.select2-container .select2-selection .select2-selection__clear {
	margin-right: 12px;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
	background: #f8f8f8;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
	-webkit-border-radius: 0 3px 0 0;
	-moz-border-radius: 0 3px 0 0;
	border-radius: 0 3px 0 0;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
	border: 1px solid #34495e;
}

.select2.select2-container .select2-selection--multiple {
	height: auto;
	min-height: 34px;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
	margin-top: 0;
	height: 32px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
	display: block;
	padding: 0 4px;
	line-height: 29px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
	background-color: #f8f8f8;
	border: 1px solid #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 4px 4px 0 0;
	padding: 0 6px 0 22px;
	height: 24px;
	line-height: 24px;
	font-size: 12px;
	position: relative;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
	position: absolute;
	top: 0;
	left: 0;
	height: 22px;
	width: 22px;
	margin: 0;
	text-align: center;
	color: #e74c3c;
	font-weight: bold;
	font-size: 16px;
}

.select2-container .select2-dropdown {
	background: transparent;
	border: none;
	margin-top: -5px;
}

.select2-container .select2-dropdown .select2-search {
	padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
	outline: none !important;
	border: 1px solid #34495e !important;
	border-bottom: none !important;
	padding: 4px 6px !important;
}

.select2-container .select2-dropdown .select2-results {
	padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {
	background: #fff;
	border: 1px solid #34495e;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
	background-color: #d8433d;
}

/* BREAKPOINTS */

@media only screen and (min-width: 1920px)
{
	.custom--cards .card-img
	{
		height: 475px;
		padding-bottom: 0;
	}
}

@media (min-width: 768px)
{
	/* Header > Headline */

	.custom--header-background h1,
	.custom--header-background .h1
	{
		margin-bottom: 36%;
	}

	/* Content > Rechte Spalte */

	.custom--content > .custom--row-content > .col-md-6:not(:first-child):last-child
	{
		padding-left: 12%;
	}

	/* Startseite > Header (vertikal zentrierte Inhalte) */

	.frontpage .custom--header-background .col-md-6
	{
		display: -webkit-flex;
		display: flex;
		-webkit-align-items: center;
		align-items: center;
	}
	.frontpage .custom--header-background .col-md-6:last-child
	{
		-webkit-justify-content: flex-end;
		justify-content: flex-end;
	}
	.frontpage .custom--header-background .col-md-6 h1,
	.frontpage .custom--header-background .col-md-6 .h1
	{
		margin: 0 0 0.2963em 0; /* 0 0 16/54 0 */
	}
}

@media only screen and (max-width: 991px)
{

	/* Allgemeine Einstellungen */

	h1, .h1 {
		font-size: 2.875rem; /* 46/16 */
	}
	h2, .h2 {
		font-size: 2.25rem; /* 36/16 */
		line-height: 1.1;
	}
	h3, .h3 {
		font-size: 1.8125rem; /* 29/16 */
		line-height: 1.2;
	}
	h4, .h4 {
		font-size: 1.5625rem; /* 25/16 */
		line-height: 1.3;
	}
	h5, .h5 {
		font-size: 1.375rem; /* 22/16 */
		line-height: 1.4;
	}
	h6, .h6 {
		font-size: 1.25rem; /* 20/16 */
	}

	.quote {
		font-size: 36px; /* 28/16 */
		line-height: 1.1;
	}

	/* Custom bootstrap */

	.card-columns {
		-webkit-column-count: 2;
		column-count: 2;
	}
	.card-group .card {
		-webkit-flex: 0 0 50%;
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
	}
	.card-group .custom--card-50 {
		-webkit-flex: 0 0 50%; /* old: 100% */
		-ms-flex: 0 0 50%; /* old: 100% */
		flex: 0 0 50%; /* old: 100% */
	}
	.custom--card-50 .custom--card-img {
		padding-bottom: 100%;
	}
}

@media only screen and (max-width: 1300px) and (min-width: 991px), only screen and (max-width: 800px) and (min-width: 575px)
{
	/* Team */

	.custom--team h3,
	.custom--team p
	{
		margin-bottom: 20px;
		font-size: 16px;
	}
}

@media only screen and (max-width: 767px), only screen and (max-height: 700px)
{
	/* Menu/Overlay */

	.menu-overlay ul
	{
		font-size: 28px;
	}
}

@media only screen and (max-width: 767px)
{
	/* Content */

	.col-md > .custom--tags
	{
		margin-top: 30px;
	}

	.section,
	.custom--row-content .col > .section:first-child,
	.custom--row-content .col-md > .section:first-child,
	.custom--row-content .col-md-6 > .section:first-child
	{
		margin-top: 1.5em; /* 54/36 */
	}
}

@media only screen and (max-width: 575px), only screen and (max-height: 500px)
{
	/* Header */

	.custom--header-logo
	{
		top: 24px;
		width: 86px;
		height: 86px;
	}

	/* Menu/Overlay */

	.menu-button-container .col
	{
		margin-top: 38px;
	}

	.menu-button
	{
		/* width: 2em; */ /* 56/28 */
		/* padding: 0.24em 0 0.2em 0; */
		margin-right: 1px;
	}
	.mobile .menu-button
	{
		margin-right: -4px;
	}
	.menu-overlay ul
	{
		font-size: 24px;
	}

	/* skrollr */

	.mobile .scroll-navigation a
	{
		margin: 10px 45px;
		margin-right: 30px;
		margin-left: 30px;
	}
}

@media only screen and (min-width: 575px)
{
	/* Abstände Hauptüberschriften */

	h1.custom--h-red,
	.h1.custom--h-red,
	h1.custom--h-black,
	.h1.custom--h-black,
	h1.custom--h-white,
	.h1.custom--h-white
	{
		margin-right: 0.22em; /* 0.3 */
		margin-left: 0.22em; /* 0.3 */
	}
	h1.custom--h-red > *,
	.h1.custom--h-red > *,
	h1.custom--h-black > *,
	.h1.custom--h-black > *,
	h1.custom--h-white > *,
	.h1.custom--h-white > *
	{
		padding-top: 0.08em; /* 0.09 */
		padding-bottom: 0.00em; /* 0.01 */
	}
	h1.custom--h-red > *,
	.h1.custom--h-red > *
	{
		box-shadow: 0.22em 0 0 #d8433d, -0.22em 0 0 #d8433d; /* 0.3 -0.3 */
	}
	h1.custom--h-black > *,
	.h1.custom--h-black > *,
	.frontpage .custom--header-background h1.custom--h-red > *,
	.frontpage .custom--header-background .h1.custom--h-red > *
	{
		box-shadow: 0.22em 0 0 #000, -0.22em 0 0 #000; /* 0.3 -0.3 */
	}
	h1.custom--h-white > *,
	.h1.custom--h-white > *
	{ /* 0.09 */
		box-shadow: 0.22em 0 0 #fff, -0.22em 0 0 #fff; /* 0.3 -0.3 */ /* 0.01 */
	}
}

@media only screen and (max-width: 575px)
{
	body {
		font-size: 1rem; /* 16/16 */
	}
	h1, .h1 {
		font-size: 2rem; /* 32/16 */
	}
	h2, .h2 {
		font-size: 1.75rem; /* 28/16 */
		line-height: 1.15;
	}
	h3, .h3 {
		font-size: 1.5rem; /* 24/16 */
		line-height: 1.25;
	}
	h4, .h4 {
		font-size: 1.25rem; /* 20/16 */
		line-height: 1.35;
	}
	h5, .h5 {
		font-size: 1.125rem; /* 18/16 */
		line-height: 1.45;
	}
	h6, .h6 {
		font-size: 1rem; /* 16/16 */
	}

	.quote {
		font-size: 1.75rem; /* 28/16 */
		line-height: 1.15;
	}

	span.custom--h-red,
	span.custom--h-black,
	span.custom--h-white,
	.card-title {
		font-size: 1.5rem; /* 24/16 */
	}
	.custom--card-subtitle {
		font-size: 1.125rem; /* 18/16 */
	}

	.card-columns {
		-webkit-column-count: 1;
		column-count: 1;
	}
	.card-group .card, .card-group .custom--card-50 {
		-webkit-flex: 0 0 100%;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
	}
	.card-group .card .custom--card-img, .card-group .custom--card-50 .custom--card-img {
		padding-bottom: 75%;
	}

	/* Team */

	.custom--team h3
	{
		font-size: 1rem; /* 16/16 */
	}
}

@media only screen and (max-width: 400px)
{
	.custom--cards .card-img
	{
		height: 302px;
		padding-bottom: 0;
	}
	.custom--cards .card-title
	{
		/* margin-top: 8px; */
	}
	.card .badge
	{
		bottom: 24px;
		padding-top: 1.6em
		font-size: 1rem; /* 16/16 */
	}

	/* Team */

	.custom--team .card-img
	{
		height: 302px;
		padding-bottom: 0;
	}
}

/* Druck */

@media print
{
	html, body
	{
		position: static !important;
		overflow: auto !important;
		height: auto !important;
	}
	.scroll-frame
	{
		position: static !important;
		width: auto !important;
		height: auto !important;
		overflow: hidden !important;
	}
	.slide
	{
		opacity: 1 !important;
		min-height: 0 !important;
		transform: none !important;
	}
	.custom--header
	{
		opacity: 1 !important;
		min-height: 0 !important;
		background-attachment: scroll !important;
	}

	.scroll-navigation,
	.arrow-down
	{
		display: none !important;
	}

	.menu-button-container,
	.menu-overlay
	{
		display: none !important;
	}
}

/* Newsbereich */

.news
{
	display: none;
}
.frontpage .news
{
	display: block;
}

.news
{
	position: absolute;
	z-index: 10;
	top: 0;
	left: 5%;
	width: auto;
	max-width: 520px;
	margin-right: 30px;
	padding: 80px 20px 20px 20px;
	background: rgba(0, 0, 0, 0.7);
}
.news *
{
	color: #fff;
}
.news a:hover,
.news a:focus
{
	/* color: #fff; */
	text-decoration: none;
}
.news h2,
.news h3,
.news h4,
.news h5,
.news h6
{
	font-family: "BebasNeue", Helvetica, Arial, sans-serif;
}
@media (max-width: 768px)
{
	.news
	{
		left: 30px;
	}
}
@media (max-width: 592px)
{
	.news
	{
		padding-top: 140px;
	}
}
