@charset 'UTF-8';

/* ------------------------------------------------------------------ */
/* Fonts                                                              */
/* ------------------------------------------------------------------ */

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/open-sans-v17-latin_latin-ext-300.woff2') format('woff2'),
	     url('../fonts/open-sans-v17-latin_latin-ext-300.woff') format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/open-sans-v17-latin_latin-ext-300italic.woff2') format('woff2'),
	     url('../fonts/open-sans-v17-latin_latin-ext-300italic.woff') format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/open-sans-v17-latin_latin-ext-700.woff2') format('woff2'),
	     url('../fonts/open-sans-v17-latin_latin-ext-700.woff') format('woff');
}

/* ------------------------------------------------------------------ */
/* Bootstrap-Variablen                                                */
/* ------------------------------------------------------------------ */

:root {
	--mw-bg: #191d23;
	--mw-main-bg: #20242a;
	--mw-box-bg: rgba(44, 47, 52, 0.95);
	--mw-red: #D7523E;
	--mw-red-hover: #E7624E;
	--mw-blue: #3F608C;
	--mw-blue-hover: #4F709C;
	--mw-line: rgba(255, 255, 255, 0.1);
	--mw-gutter: 25px;

	--bs-body-bg: var(--mw-bg);
	--bs-body-color: #979797;
	--bs-body-font-family: 'Open Sans', sans-serif;
	--bs-body-font-size: 10pt;
	--bs-body-font-weight: 300;
	/* als Laenge (nicht Faktor), damit wie im alten Theme ueberall 23.33px vererbt werden */
	--bs-body-line-height: 1.75em;
	--bs-heading-color: #fff;
	--bs-link-color: #fff;
	--bs-link-color-rgb: 255, 255, 255;
	--bs-link-hover-color: #fff;
	--bs-link-hover-color-rgb: 255, 255, 255;
	--bs-border-radius: 6px;
}

/* ------------------------------------------------------------------ */
/* Basis (entspricht dem Reset + style.css)                           */
/* ------------------------------------------------------------------ */

a {
	color: #fff;
	text-decoration: underline;
}

a:hover {
	color: #fff;
	text-decoration: none;
}

strong {
	font-weight: 700;
}

/* skel setzte einen kompletten Reset: b und small erben Groesse/Gewicht */
b {
	font-weight: inherit;
}

small {
	font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	margin-top: 0;
	line-height: 1.2;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
	color: #fff;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
	font-weight: 300;
}

h1, h4, h5, h6 {
	font-size: 1em;
	line-height: 1.75;
}

/* Zeilenhoehe wie im alten Theme (23.33px bei 20px Schrift) */
h2 {
	font-size: 1.5em;
	line-height: 1.1667;
	margin: 0 0 1.5em 0;
}

h3 {
	font-size: 1em;
	line-height: 1.75;
	margin: 0 0 1em 0;
}

p, ul, ol, dl, table {
	margin-top: 0;
	margin-bottom: 2em;
}

ul, ol {
	list-style: none;
	padding-left: 0;
}

section,
article {
	margin-bottom: 2em;
}

section > :last-child,
article > :last-child,
section:last-child,
article:last-child {
	margin-bottom: 0;
}

img {
	max-width: 100%;
	height: auto;
}

.image {
	display: inline-block;
}

.image img {
	display: block;
	width: 100%;
	border-radius: 6px;
}

.image.full {
	display: block;
	width: 100%;
	margin: 0;
}

.image.left {
	float: left;
	margin: 0 2.5em 2.5em 0;
}

.image.fit {
	display: block;
	width: 100%;
	margin: 0 0 2em 0;
}

ul.style1 {
	list-style: disc;
	padding-left: 1em;
}

ul.style2 p,
ul.style3 p,
ul.contact p {
	margin-bottom: 0;
}

ul.style2 li {
	border-top: solid 1px var(--mw-line);
	padding-top: 0.725em;
	margin-top: 0.725em;
}

ul.style3 li {
	position: relative;
	border-top: solid 1px var(--mw-line);
	padding: 1.5em 0 0 0;
	margin-top: 1.5em;
}

ul.contact li {
	position: relative;
	border-top: solid 1px var(--mw-line);
	padding: 1.25em 0 0 2.75em;
	margin-top: 1.25em;
}

ul.contact li > .bi {
	position: absolute;
	left: 0;
	top: 1.1em;
	color: #fff;
	font-size: 1.1em;
	line-height: 1.75;
}

ul.style2 li:first-child,
ul.style3 li:first-child,
ul.contact li:first-child {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}

ul.contact li:first-child > .bi {
	top: -0.1em;
}

.timestamp {
	font-size: 0.8em;
	display: block;
	opacity: 0.5;
	margin: 0.25em 0 0 0;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                            */
/* ------------------------------------------------------------------ */

.button,
.bigbutton {
	position: relative;
	display: inline-block;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.05em;
	transition: background-color .25s ease-in-out;
}

.button {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
	padding: 1em 2em 1em 1.5em;
	font-size: 1.05em;
	line-height: 1.6667;
}

.button:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}

.button > .bi {
	margin-right: 1em;
	font-size: 1.25em;
	line-height: 1;
	vertical-align: -0.15em;
}

.bigbutton {
	background: #32353a;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
	padding: 0.85em 1.75em 0.85em 1em;
	font-size: 1.5em;
}

.bigbutton:hover {
	color: #fff;
	background: #2d3238;
}

.bigbutton > .bi {
	position: relative;
	top: 0.1em;
	margin-right: 0.65em;
}

.bigbutton.style1 { background: var(--mw-red); }
.bigbutton.style1:hover { background: var(--mw-red-hover); }
.bigbutton.style2 { background: var(--mw-blue); }
.bigbutton.style2:hover { background: var(--mw-blue-hover); }

/* ------------------------------------------------------------------ */
/* Boxen                                                              */
/* ------------------------------------------------------------------ */

.box {
	background: var(--mw-box-bg);
	border-radius: 6px;
	padding: 3em 2em;
	overflow: hidden;
}

.box header {
	margin-bottom: 2em;
}

.box header h2 {
	margin-bottom: 0.5em;
}

.box footer {
	clear: both;
}

.box section,
.box article {
	border-bottom: solid 1px var(--mw-line);
	padding-bottom: 2em;
	margin-bottom: 2em;
}

.box section:last-of-type,
.box article:last-of-type {
	border-bottom: 0 !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.box.style1,
.box.style2,
.box.style3,
.box.style4 {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.75);
}

.box.style1 { background: var(--mw-red); }
.box.style2 { background: var(--mw-blue); }
.box.style3 { background: #ffcf00; }
.box.style4 { background: #4ea800; }

.box.style3 h2,
.box.style3 p {
	text-decoration: none;
	color: #000;
}

.box.cta p {
	color: #c9c9c9;
}

.box.features .button {
	margin-top: 2em;
}

/* ------------------------------------------------------------------ */
/* Grid: skel-Gutter auf Bootstrap uebertragen                        */
/* ------------------------------------------------------------------ */

.container {
	--bs-gutter-x: calc(var(--mw-gutter) * 2);
	max-width: calc(1200px + var(--mw-gutter) * 2);
}

.row {
	--bs-gutter-x: var(--mw-gutter);
	--bs-gutter-y: var(--mw-gutter);
}

/* skel: Abstand zwischen aufeinanderfolgenden Zeilen (.row + .row > *) */
.row + .row {
	margin-top: 0;
}

/* ------------------------------------------------------------------ */
/* Header / Hero                                                      */
/* ------------------------------------------------------------------ */

#header-wrapper {
	position: relative;
	overflow: hidden;
	height: 13em;
	background-color: var(--mw-main-bg);
}

.homepage #header-wrapper {
	height: auto;
}

#header-wrapper > .container {
	position: relative;
	z-index: 1;
}

/* Hintergrund-Slideshow (ersetzt jquery.backstretch) */
.hero-slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-slides > div {
	position: absolute;
	inset: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0;
	transition: opacity 750ms ease-in-out;
}

.hero-slides > div.is-active {
	opacity: 1;
}

#header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--mw-box-bg);
	border-radius: 6px;
	margin-top: 3em;
	height: 7em;
	padding: 0 2.5em;
}

#header h1 {
	font-size: 2.65em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.05em;
	margin: 0;
	line-height: 1;
}

#header h1 a {
	color: #fff;
}

#nav ul {
	display: flex;
	margin: 0;
}

#nav ul li {
	margin-left: 1.5em;
}

#nav ul li a {
	display: inline;
	color: #ccc;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	padding: 0.55em 1.4em;
	border-radius: 6px;
	transition: color .25s ease-in-out;
	outline: 0;
}

#nav ul li a:hover {
	color: #fff;
}

#nav ul li.current_page_item a,
#nav ul li.active a {
	background: var(--mw-main-bg);
	color: #fff;
}

#banner {
	position: relative;
	height: 30em;
	margin-bottom: 8em;
}

#banner .caption {
	position: absolute;
	left: 1.75em;
	bottom: 3em;
}

#banner .caption h2 {
	font-size: 3em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.05em;
	margin-bottom: 0.35em;
	color: var(--mw-blue);
}

#banner .caption p {
	font-size: 1.5em;
	margin: 0;
	color: var(--mw-red);
}

@media (min-width: 992px) {

	/* feste Zeilenhoehe wie im alten Theme, damit die Caption exakt gleich sitzt */
	#banner .caption h2,
	#banner .caption p {
		line-height: calc(10pt * 1.75);
	}
}

/* Mobile Titelleiste + Navigation (ersetzt skel-layers) */
#titleBar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	height: 44px;
	background: var(--mw-box-bg);
}

#titleBar .title {
	display: block;
	text-align: center;
	color: #fff;
	font-size: 1.2em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.05em;
	line-height: 44px;
	text-decoration: none;
}

#titleBar .toggle {
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: url('images/toggle.svg') 8px 15px no-repeat;
	opacity: 0.2;
}

#titleBar .toggle:active,
#titleBar .toggle:focus-visible {
	opacity: 0.75;
}

#navPanel {
	--bs-offcanvas-width: 80%;
	--bs-offcanvas-bg: #10141A;
	--bs-offcanvas-border-width: 0;
	box-shadow: inset -4px 0 5px 0 rgba(0, 0, 0, 0.2);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.9em;
}

#navPanel .link {
	display: block;
	color: #fff;
	text-decoration: none;
	height: 44px;
	line-height: 44px;
	border-top: solid 1px rgba(255, 255, 255, 0.035);
	padding: 0 1em;
}

#navPanel .link:first-child {
	border-top: 0;
}

#navPanel .link.active {
	background: var(--mw-main-bg);
}

/* ------------------------------------------------------------------ */
/* Main / Footer                                                      */
/* ------------------------------------------------------------------ */

#main-wrapper {
	background: var(--mw-main-bg);
	padding: 0 0 4.5em 0;
}

#main {
	/* flow-root verhindert, dass der negative Row-Margin mit #main kollabiert */
	display: flow-root;
	position: relative;
	margin-top: 2em;
}

.homepage #main {
	margin-top: -8.25em;
}

#content .box {
	padding-left: 2.75em;
	padding-right: 2.75em;
}

#footer-wrapper {
	padding: 4.5em 0 0 0;
}

#copyright {
	text-align: center;
	border-top: solid 1px var(--mw-line);
	color: rgba(255, 255, 255, 0.25);
	padding: 4em 0 8em 0;
	margin: 4em 0 0 0;
}

/* ------------------------------------------------------------------ */
/* Responsive Video                                                   */
/* ------------------------------------------------------------------ */

.responsive-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.responsive-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ------------------------------------------------------------------ */
/* Desktop ab 641px (style-desktop.css)                               */
/* ------------------------------------------------------------------ */

@media (min-width: 641px) {

	.box.cta {
		padding-top: 4em;
		padding-bottom: 4em;
	}

	.box.cta h2 {
		font-size: 2.35em;
		letter-spacing: -0.05em;
		margin: 0 0 0.8em 0;
	}

	.box.cta p {
		font-size: 1.75em;
		line-height: 1.35em;
		margin: 0 0 1.25em 0;
	}

	.box.cta section {
		padding-bottom: 3em;
		margin-bottom: 3em;
	}

	.box.main {
		padding-top: 4em;
		padding-bottom: 4em;
	}

	/* Grossbuchstaben: enge Zeilenhoehe wie im Original, aber ohne Ueberlappung bei 2 Zeilen */
	.box.main h2 {
		font-size: 2.35em;
		line-height: 0.9;
		letter-spacing: -0.05em;
		margin: 0 0 0.8em 0;
	}

	.box.post .image {
		width: 10em;
	}

	.box.post p {
		margin-left: 12.5em;
	}
}

/* ------------------------------------------------------------------ */
/* Kompakter Desktop 992-1199px (style-1000px.css)                    */
/* ------------------------------------------------------------------ */

@media (max-width: 1199.98px) {

	:root {
		--mw-gutter: 20px;
	}

	.container {
		max-width: calc(1000px + var(--mw-gutter) * 2);
	}

	.box {
		padding: 2em 1.5em;
	}

	#header-wrapper {
		height: 8em;
	}

	#header {
		height: 5em;
		margin-top: 1.5em;
	}

	#header h1 {
		font-size: 2em;
	}

	#nav ul li {
		margin-left: 0.5em;
	}

	#banner {
		height: 22em;
		margin-bottom: 6em;
	}

	#banner .caption h2 {
		font-size: 2.5em;
	}

	#banner .caption p {
		font-size: 1.35em;
	}

	#main-wrapper {
		padding: 0 0 3.5em 0;
	}

	.homepage #main {
		margin-top: -6em;
	}

	#content .box {
		padding: 3em 2em;
	}

	#footer-wrapper {
		padding: 3.5em 0 0 0;
	}
}

/* ------------------------------------------------------------------ */
/* Unter 992px: Titelleiste statt Header                              */
/* ------------------------------------------------------------------ */

@media (max-width: 991.98px) {

	body {
		padding-top: 44px;
	}

	#header-wrapper {
		display: none;
	}

	.homepage #header-wrapper {
		display: block;
		height: 18em;
	}

	#header-wrapper > .container {
		position: static;
	}

	#banner {
		position: absolute;
		z-index: 1;
		bottom: 0;
		left: 0;
		width: 100%;
		height: auto;
		margin: 0;
		padding: 1.5em 20px;
		text-align: center;
		background: rgba(0, 0, 0, 0.35);
	}

	#banner .caption {
		position: static;
	}

	#banner .caption h2 {
		font-size: 1.2em;
		line-height: inherit;
		margin: 0 0 0.025em 0;
	}

	#banner .caption p {
		font-size: 1em;
	}

	#main,
	.homepage #main {
		margin-top: 2em;
	}
}

/* ------------------------------------------------------------------ */
/* Mobile bis 640px (style-mobile.css)                                */
/* ------------------------------------------------------------------ */

@media (max-width: 640px) {

	:root {
		--mw-gutter: 10px;
		--bs-body-line-height: 1.35em;
		--bs-body-color: #ccc;
	}

	.container {
		--bs-gutter-x: 20px;
	}

	h2 {
		font-size: 1.2em;
	}

	h3, h4, h6 {
		font-size: 1em;
	}

	section,
	article {
		clear: both;
	}

	.image {
		display: block;
		width: 100%;
		margin: 0 0 1.5em 0;
	}

	.image.left {
		width: 30%;
		margin: 0 2em 0.75em 0;
	}

	.box,
	#content .box {
		padding: 2em 10px;
		margin: 0 0 10px 0;
	}

	.box.cta {
		text-align: center;
	}

	.button,
	.bigbutton {
		width: 100%;
		text-align: center;
		padding: 0.75em 0;
		font-size: 1.2em;
	}

	#main-wrapper {
		padding: 10px 0;
	}

	#main,
	.homepage #main {
		margin-top: 0;
	}

	#footer-wrapper {
		padding: 0;
	}

	#footer section {
		padding: 2em 10px;
		border-top: solid 1px var(--mw-line);
		margin: 0;
	}

	#footer .col-lg-6:first-child section {
		border-top: 0;
	}

	#copyright {
		padding: 2em 20px;
		margin: 0;
	}
}
