/* ////////// WEBFONTS ////////// */
/* cardo-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 400;
  src: url('../Fonts/Cardo/cardo-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cardo-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 700;
  src: url('../Fonts/Cardo/cardo-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../Fonts/OpenSans/open-sans-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../Fonts/OpenSans/open-sans-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ////////// WEBFONTS END ////////// */

:root {
	--color-bck: #0F2D49;
	--color-bck-shadow: #081828;
	--color-bck-light: #F1F6FF;
	--color-text: #ccc;
	--color-headline: #CCBF90;
	--font-headline: 'Cardo';
	--font-text: 'Open Sans';
	--transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0s;
	scroll-padding-top: 60px;
}

/*:root {
	--color-bck: #99A98E;
	--color-bck-shadow: #4A5741;
	--color-bck-light: #4A5741;
	--color-text: #4C514B;
	--color-headline: #927000;
	--font-headline: 'Cardo';
	--font-text: 'Open Sans';
	--transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0s;
	scroll-padding-top: 60px;
}*/

::placeholder {
  color: #F1F6FF!important;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: #F1F6FF!important;
}

html {background-color: var(--color-bck);}

body {
	background-color: var(--color-bck);
	color: var(--color-text);
	font-family: var(--font-text);
}

/* ////////// TEXT ////////// */
h1, h2, h3, h4, h5, h6, .font-headline {
	font-family: var(--font-headline);
	color: var(--color-headline);
}

h1.subheader, h2.subheader, h3.subheader, h4.subheader, h5.subheader, h6.subheader, header .ce-headline-center + .ce-headline-center {filter: brightness(.8);}

div.bg-cover h2 {text-shadow: 0 0 7px black;}

a,
.link {
	font-weight: bold;
	color: var(--color-headline);
	font-family: var(--font-headline);
	text-decoration: none;
	cursor: pointer;
}

p {
	font-family: var(--font-text);
	font-weight: 400;
}

.btn.btn-primary {
	background-color: white;
	font-family: var(--font-headline);
	border-color: white;
	color: var(--color-bck);
	font-weight: bold;
	text-transform: uppercase;
	border-radius: 0;
	padding: 10px 16px;
	transition: var(--transition);
}
.btn.btn-primary:hover {filter: brightness(.8);}

.text-center ul {
	display: inline-block;
	text-align: left;
}
/* ////////// TEXT END ////////// */

/* ////////// STYLES ////////// */
.color-bck { color: var(--color-bck);}

/* /// BACKGROUND /// */
.bg-norepeat {background-repeat: no-repeat;}

.bg-cover {background-size: cover;}

.bg-center {background-position: center center;}

.bg-zoom {
	background-position: center center;
	transition: var(--transition);
	background-size: 100%;
}
.bg-zoom:hover {background-size: 105%;}

.bg-fixed {
	background-attachment: fixed;
}

/* .bg-light */
.bg-light {
	background-color: var(--color-bck-light);
	--color-text: #333333;
	--color-headline: #4A6491;
	color: var(--color-text);
}

.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6, .bg-light .font-headline {color: var(--color-headline);}

/* .bg-dark */
.bg-dark {position: relative;}
.bg-dark::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.5) 100%);
	pointer-events: none;
}

/* /// SPACING /// */
div:has(> header:empty) {display: none;}

.py-container {
	padding-top: 100px;
	padding-bottom: 100px;
}

.container + .container {padding-top: 0!important;}

@media (min-width: 1200px) {
	.container + .container {padding-top: 50px!important;}
}

/* /// FRAMES /// */
.frame-grayscale img,
img.frame-grayscale {filter: grayscale(1)!important;}

/* ////////// CONTENT ////////// */

/* /// NAV /// */
nav.navbar {
	background-color: var(--color-bck);
	box-shadow: 0 2px 3px var(--color-bck-shadow);
}

nav.navbar .dropdown-menu {
	background-color: var(--color-bck);
	border-radius: 0;
	border: none;
	width: 100%;
}

@media (min-width: 1400px) {
	nav.navbar .dropdown-menu {
		box-shadow: 0 2px 3px var(--color-bck-shadow);	
	}
}

nav.navbar .dropdown-menu .dropdown-item {
	color: white;
	padding: 15px;
}

nav.navbar .dropdown-menu .dropdown-item:hover {
	background-color: inherit;
	color: var(--color-headline);
}

#mainNavigation .nav-item .nav-link.active {color: var(--color-headline)!important;}

@media (max-width: 991.9px) {
	#mainNavigation {margin-top: 20px;}
	
	#mainNavigation .nav-item:not(:last-of-type) {border-bottom: 1px solid var(--color-bck-shadow);}
	
	#mainNavigation .nav-item .nav-link {line-height: 2.5;}
}

@media (min-width: 992px) {
	nav.navbar a.nav-link {
		padding-left: 18px!important;
		padding-right: 18px!important;
	}
}

 /* /// HEADER /// */
body > header:empty {margin-top: 156px;}

.header {
	object-position: center center;
	height: 100vh;
}

.header h2,
.header p {color: white;}

.header h1 {font-size: 3.4rem;}

.header h2 {font-size: 2.75rem;}

.header p {font-size: 1.75rem;}

.header .btn.btn-primary {
	background-color: var(--color-bck);
	border-color: var(--color-bck);
	color: white;
}

.header video,
.header img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.6);
}

.header:has(div.header-content:empty) img,
.header:has(div.header-content:empty) video {
	filter: brightness(1);
}

main .header:has(div.header-content:empty),
main .header:has(div.header-content:empty) {
	max-height: 40vw;
}

.header .header-content {z-index: 1;}

@media (max-width: 575.9px) {
	.header h1 {font-size: 3rem;}

	.header h2 {font-size: 2.25rem;}

	.header p {font-size: 1rem;}
	}

/*.frame-grayscale {filter: grayscale(1)!important;}*/

/* /// FORM /// */
.form-label {display: none;}

/* .form-control */
.form-control {
	--color-bck: rgba(89,119,147,1.00);
	border-radius: 0;
	border: none;
	background-color: var(--color-bck);
	margin-bottom: 20px;
	padding: 10px;
}

textarea.form-control {min-height: 160px;}

/* .form-check */
.form-check {padding-left: 0;}

.form-check .add-on.form-check-label input {margin-right: 8px;}

input.form-control {color: white;}
input.form-control:focus {color: var(--color-bck);}

label.form-check-label span {
	padding-left: 8px;
	padding-right: 20px;
}

div.input.checkbox > div {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

form h2 {
	margin: 40px 0 10px;
}

/* .btn-group */
.form-navigation .btn-group {margin: 30px auto 0 auto;}

/* /// REFERENZEN /// */
.ratio .z-1 {position: inherit;}

.ratio .z-1 * {margin-bottom: 0;}

/* /// NEWS /// */
.news .swiper .card {
	border: none;
	background-color: var(--color-bck-light);
	--color-text: #333333;
	--color-headline: #4A6491;
}
.news .swiper .card:hover {transition: var(--transition)!important;}

.news .swiper .card::before {background-color: var(--color-headline)!important;}

.news .swiper .card:hover img {transform: scale(1.1)!important;}

.news .swiper .card .card-title {color: var(--color-headline);}
.news .swiper .card .news-teaser p {
	font-family: var(--font-text);
	color: var(--color-text);
	font-size: var(--bs-body-font-size);
}

/* .news-list-view */
.news-list-view .list-group-item:not(:last-of-type) .news-list-item {
	border-bottom: 1px solid var(--color-bck-shadow);
	padding-bottom: 3rem;
	margin-bottom: 3rem!important;
}

.news-list-view .list-group-item .news-list-item .lead {font-size: 1rem;}

/* .news-single */
.news.news-single .lead p {
	font-size: 1rem;
	font-weight: bold;
}

.news.news-single .border-bottom {border-color: var(--color-bck-shadow)!important;}

/* /// KUNDENSTIMMEN /// */
/* .kundenstimme-toggle */
.kundenstimme-toggle {display: inline-block;}

@media (max-width: 767.9px) {
	.lot-d-none:last-of-type {display: none!important;}
}	

/* /// FOOTER /// */
footer {
	padding: 60px 0;
	background-color: var(--color-bck-shadow);
}

footer #toTopButton {
    border-radius: 50%;
    padding: 13px 15px 15px;
    background-color: transparent;
    border: solid 2px var(--color-headline);
	position: fixed; 
	bottom: 20px; 
	right: 20px; 
	z-index: 1000;
}

@media (max-width: 991.9px) {
	footer {
		padding-bottom: 100px;
	}
	
    footer #toTopButton {
        transform: translateX(50%);
        bottom: 10px; /* Höhe im Footer */
		position: inherit;
    }
}

footer #toTopButton img {
    width: 20px;
    height: 20px;
}

footer ul {
	padding-left: 1.2rem;
	list-style-type: disclosure-closed;
}
footer ul li {line-height: 2;}

footer a {
	color: var(--color-text);
	font-family: var(--font-text);
}
/* ////////// CONTENT END ////////// */