/* =========================================================
   1. FONTS
   ========================================================= */


@font-face {
	font-family: 'jak';
	src: url('fonts/PlusJakartaSans-Light.woff2') format('woff2'),
		url('fonts/PlusJakartaSans-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'jak';
	src: url('fonts/PlusJakartaSans-LightItalic.woff2') format('woff2'),
		url('fonts/PlusJakartaSans-LightItalic.woff') format('woff');
	font-weight: 300;
	font-style: italic;
}

@font-face {
	font-family: 'jak';
	src: url('fonts/PlusJakartaSans-Regular.woff2') format('woff2'),
		url('fonts/PlusJakartaSans-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'jak';
	src: url('fonts/PlusJakartaSans-Italic.woff2') format('woff2'),
		url('fonts/PlusJakartaSans-Italic.woff') format('woff');
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: 'jak';
	src: url('fonts/PlusJakartaSans-SemiBold.woff2') format('woff2'),
		url('fonts/PlusJakartaSans-SemiBold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'jak';
	src: url('fonts/PlusJakartaSans-SemiBoldItalic.woff2') format('woff2'),
		url('fonts/PlusJakartaSans-SemiBoldItalic.woff') format('woff');
	font-weight: 700;
	font-style: italic;
}


/* =========================================================
   2. CUSTOM PROPERTIES (ROOT VARIABLES)
   ========================================================= */

:root {
	--red-text: #DC3535;
	--h1-start-size: clamp(2rem, 1.5385rem + 2.0513vw, 2.8rem);
	--h1-start-line: 115%;
	--h2-size: clamp(1.25rem, 1.1rem + 0.67vw, 1.5rem);
	/* 20px → 24px */
	--h2-line: clamp(1.75rem, 1.6rem + 0.67vw, 2rem);
	/* 28px → 32px */
	--h3-size: clamp(1.125rem, 1.05rem + 0.33vw, 1.25rem);
	/* 18px → 20px */
	--h3-line: clamp(1.5rem, 1.4rem + 0.44vw, 1.75rem);
	/* 24px → 28px */
	--user-red-color: #DC3535;
	--grid-min-size: 340px;
	--hundertprozent: 100%;
}

::selection {
  background: #DC3535;
  color: #ffffff;
}


/* =========================================================
   3. BASE / RESET
   ========================================================= */

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	font-family: 'jak', sans-serif;
	margin: 0;
	background: #fff;
	color: #222;
	font-size: 17px;
	line-height: normal;
	width: 100%;
}


/* =========================================================
   4. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

h2 {
	margin-top: 40px;
	font-size: var(--h2-size);
	line-height: var(--h2-line);
	color: var(--red-text);
}

h3 {
	font-size: var(--h3-size);
	line-height: var(--h3-line);
}

p {
	margin-bottom: 1.5em;
}

p.has-background {
	padding: 1.25em 1.275em;
}

ul {
	margin-top: -20px;
	margin-bottom: 30px;
}

/* Liste direkt nach h2 enger an die Überschrift rücken */

h2+ul {
	margin-top: -5px;
}


/* =========================================================
   5. LINKS
   ========================================================= */

a {
	background-color: transparent;
	color: #0044cc;
	transition: all .2s ease-in-out;
}

a:visited {
	color: #0044cc;
}

a:hover,
a:focus,
a:active {
	color: #0044cc;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a[href] {
	overflow-wrap: break-word;
}

/* =========================================================
   6. MEDIA (IMAGES, FIGURES)
   ========================================================= */

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

figure {
	margin: 1em 0;
}


/* =========================================================
   7. FORMS / BUTTONS (BASE)
   ========================================================= */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

.site-main ul {
  list-style: none;
  padding-left: 1.5rem;
}

.site-main ul li {
  position: relative;
  padding-left: 1.4rem;
}

.site-main ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.59em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #DC3535;
  background: transparent; /* nur Rahmen = Ringerl */
}


/* =========================================================
   8. UTILITY / EDITOR COLOR CLASSES
   ========================================================= */

.has-red-heading-background-color {
	background-color: var(--user-red-color);
}

.has-red-heading-color {
	color: var(--user-red-color);
}

.has-white-user-text-color {
	color: #fff;
}


/* =========================================================
   9. LAYOUT: SITE GRID
   ========================================================= */

.site {
	padding: 0 clamp(15px, 3vw, 30px);
	display: grid;
	gap: 120px;
	grid-template-columns: 2fr 1fr;
}

/* Startseite: Header dunkler, kompakter, ohne Branding */

/* .home .site-header {
	position: fixed;
	width: 100%;
	min-height: 75px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	padding: 0;
} */

/* .home .site-branding {
	display: none;
} */

.home .start-container {
	min-height: calc(100svh - 290px);
}

.home .site-header {
	background: rgba(255, 255, 255, 0.9);
}

.home h1 {
	color: var(--red-text);
	font-weight: 400;
	font-size: var(--h1-start-size);
	line-height: var(--h1-start-line);
	margin: 0;
	padding: 25px 15px 25px 25px;
	max-width: 540px;
	background: white;
}

.home h1 em {
	font-weight: 300;
}

.start-100 {
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
}


/* =========================================================
   10. HEADER & BRANDING
   ========================================================= */

.site-header {
	position: fixed;
	width: 100%;
	min-height: 135px;
	background: rgba(255, 255, 255, 0.6);
	box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	padding: 25px 0 0 0;
	z-index: 9;
}

.site-branding {
	padding: 0 0 0 clamp(15px, 3vw, 30px);
	text-transform: uppercase;
}

.site-branding a {
	font-size: 22px;
	color: var(--red-text);
	font-weight: 600;
	text-decoration: none;
}

/* =========================================================
   11. NAVIGATION (DESKTOP)
   ========================================================= */

.nav-wrapper {
	position: fixed;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	min-height: 75px;
	padding: 0 15px;
}

/* Platzhalter, damit Inhalt nicht unter der fixierten Navigation verschwindet */

.nav-space {
	position: relative;
	height: 145px;
	pointer-events: none;
}

.home .nav-space {
	height: 135px;
}

.main-navigation ul {
	list-style: none;
	display: flex;
	padding: 0;
	margin: 0;
	font-size: 18px;
}

.main-navigation ul li a {
	text-decoration: none;
	padding: 0 15px;
	color: #325664;
}

.main-navigation ul li a:hover {
	color: var(--red-text);
	text-decoration: none;
}

.main-navigation ul li.current-menu-item>a {
	color: var(--red-text);
}


/* =========================================================
   12. NAVIGATION (MOBILE) - TRIGGER & OVERLAY
   ========================================================= */

#mobile-navigation-trigger {
	position: fixed;
	z-index: 999;
	right: 10px;
	top: 12px;
	display: none;
}

.navigation-list {
	display: none;
}


/* =========================================================
   13. MAIN CONTENT
   ========================================================= */

main {
	display: block;
	margin-top: 10px;
}

main article {
	line-height: 28px;
}


/* =========================================================
   14. ASIDE / SIDEBAR (IMAGE SWAP)
   ========================================================= */

aside {
	margin-top: 40px;
}

aside ul {
	margin: 10px 30px 0 0;
	padding: 0;
	list-style: none;
	position: fixed;
	width: fit-content;
}

aside ul li img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}


/* =========================================================
   15. BACKGROUND IMAGE CROSSFADE (STARTSEITE)
   ========================================================= */

.bg-img {
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 2s ease-in-out;
	z-index: -1;
}

#bg-img-1 {
	z-index: -2;
}

#bg-img-2 {
	z-index: -1;
}


/* =========================================================
   16. START-LOGO (HOMEPAGE HERO)
   ========================================================= */

.start-logo {
	background: rgba(255, 255, 255, .95);
	padding: 40px 70px;
	margin-bottom: 0;
	border-radius: 8px;
}

.start-logo a img {
	max-width: none;
	width: 100%;
}


/* =========================================================
   17. RED BUTTON (GUTENBERG BLOCK)
   ---------------------------------------------------------
   Hinweis: Die Ausgangs-Regel nutzte !important, um den
   gesetzten Textfarbwert vom Link-Default zu überschreiben.
   Hier wird stattdessen die Spezifität durch Anhängen von
   `:link` erhöht — das schlägt den einfachen `a`-Selektor
   und die `a:visited`-Regel und macht !important überflüssig.
   ========================================================= */

.red-button a:hover,
.red-button a:hover:link,
.red-button a:hover:visited {
	background-color: rgba(222, 222, 222, .6);
	color: #000;
}

.red-button a:visited {
	color: #fff;
}


/* =========================================================
   18. JOB- & NEWS-BOXEN
   ========================================================= */

.job-container,
.news-container {
	background: #f2f2f2;
	padding: 25px;
	margin-bottom: 50px;
}

.job-container h2,
.news-container h2 {
	margin-top: 0;
}

.job-container h3,
.news-container h3 {
	margin-bottom: 5px;
	color: var(--red-text);
}

.job-container ul,
.news-container ul {
	margin: 0;
	padding-left: 19px;
}

.news-container h2 {
	text-transform: uppercase;
}

.news-container h3 {
	margin-bottom: -15px;
}

.news-container p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   19. FOOTER
   ========================================================= */

/* Platzhalter, damit Inhalt nicht unter dem fixen Footer endet */


.facts-start-footer sup {
	font-size: 11px;
	line-height: 0;
}

.footer-dist {
	height: 100px;
	width: 100%;
	position: relative;
	margin-top: 50px;
	pointer-events: none;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px;
	padding: 0 30px;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-top: 1px solid #DDDDDD;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-logo-container {
	display: flex;
	gap: 50px;
}

footer a,
footer a:hover,
footer a:visited {
	color: #000;
	text-decoration: none;
}

footer img {
	max-height: 50px;
	width: auto;
}

/* Startseite-Template: kein Footer + kein Footer-Abstand */
.page-template-page-start .footer-dist,
.page-template-page-start footer {
	display: none;
}


/* =========================================================
   20. MEDIA QUERIES
   ========================================================= */

/* ---- bis 1365px: Navi-Schrift etwas kleiner ---- */
@media only screen and (max-width: 1365px) {
	.main-navigation ul {
		font-size: 16px;
	}
}

/* ---- bis 1220px: Nav-Wrapper umbrechen ---- */
@media only screen and (max-width: 1220px) {
	.nav-wrapper {
		justify-content: center;
		flex-direction: column;
		align-items: flex-start;
		line-height: 28px;
	}
}

/* ---- bis 1150px: Sidebar-Spalte kollabiert ---- */
@media only screen and (max-width: 1150px) {
	.site {
		gap: 0;
		grid-template-columns: 2fr 0fr;
	}
}

/* ---- bis 768px: Mobile-Layout ---- */
@media only screen and (max-width: 768px) {

	body,
	button,
	input,
	select,
	optgroup,
	textarea {
		font-size: 16px;
	}

	h1 {
		line-height: 38px;
	}

	main {
		margin-top: 50px;
	}

	.widget-area {
		display: none;
	}

	.site-header {
		min-height: 78px;
	}

	.home .site-header {
		background: rgba(255, 255, 255, 0.9);
	}

	.site-branding a {
		font-size: 20px;
	}

	.nav-wrapper {
		display: none;
	}

	.nav-space {
		height: 55px;
	}

	.start-logo {
		padding: 20px 20px 12px 20px;
	}

	/* ---- Mobile Navigation: Trigger sichtbar ---- */
	#mobile-navigation-trigger {
		display: block;
	}

	/* ---- Mobile Navigation: Fullscreen-Overlay ---- */
	.navigation-list {
		height: 100vh;
		width: 100vw;
		background: #000;
		color: #fff;
		position: fixed;
		z-index: 998;
		opacity: 0;
		transition: all .2s ease-in-out;
		margin-top: 100px;
		display: flex;
		justify-content: center;
		align-items: center;
		pointer-events: none;
	}

	.navigation-list.is-open {
		opacity: 1;
		margin-top: 0;
		pointer-events: all;
	}

	.navigation-list>nav ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: block;
	}

	.navigation-list>nav ul li a {
		list-style: none;
		font-weight: 500;
		font-size: 17px;
		letter-spacing: 0.1em;
		text-align: center;
		color: #fff;
		text-decoration: none;
		text-transform: uppercase;
		margin-bottom: 30px;
		display: block;
	}

	.navigation-list nav div ul li.current_page_item a {
		color: var(--red-text);
		text-decoration: none;
	}

	/* ---- Hamburger-Icon ---- */
	.hamburger {
		padding: 15px 15px;
		display: inline-block;
		cursor: pointer;
		transition-property: opacity, filter;
		transition-duration: 0.15s;
		transition-timing-function: linear;
		font: inherit;
		color: inherit;
		text-transform: none;
		background-color: transparent;
		border: 0;
		margin: 0;
		overflow: visible;
	}

	.hamburger-box {
		width: 40px;
		height: 24px;
		display: inline-block;
		position: relative;
	}

	.hamburger-inner {
		display: block;
		top: 50%;
		margin-top: -2px;
	}

	.hamburger-inner,
	.hamburger-inner::before,
	.hamburger-inner::after {
		width: 40px;
		height: 4px;
		background-color: var(--red-text);
		border-radius: 4px;
		position: absolute;
		transition-property: transform;
		transition-duration: 0.15s;
		transition-timing-function: ease;
	}

	.hamburger-inner::before,
	.hamburger-inner::after {
		content: "";
		display: block;
	}

	.hamburger-inner::before {
		top: -10px;
	}

	.hamburger-inner::after {
		bottom: -10px;
		top: auto;
	}

	.hamburger.is-active .hamburger-inner {
		background-color: transparent !important;
	}

	.hamburger.is-active .hamburger-inner::before {
		transform: translateY(10px) rotate(45deg);
	}

	.hamburger.is-active .hamburger-inner::after {
		transform: translateY(-10px) rotate(-45deg);
	}

	.footer-dist {
		height: 130px;
	}

	footer {
		height: auto;
		padding: 10px 20px 12px;
		flex-wrap: wrap;
		align-items: center;
		gap: 4px;
	}

	/* Zeile 2: Copyright + Datenschutz */
	.footer-copy,
	.footer-legal {
		order: 1;
		flex: 1 0 auto;
		font-size: 12px;
	}

	.footer-legal {
		text-align: right;
	}

	/* Zeile 1: Logos */
	.footer-logo-container {
		width: 100%;
		justify-content: space-between;
		gap: 16px;
		padding-top: 9px;
		padding-bottom: 13px;
	}

}

@keyframes statFade1 {
	0% {
		opacity: 0;
	}

	4% {
		opacity: 1;
	}

	21% {
		opacity: 1;
	}

	25%,
	100% {
		opacity: 0;
	}
}

@keyframes statFade2 {

	0%,
	25% {
		opacity: 0;
	}

	29% {
		opacity: 1;
	}

	46% {
		opacity: 1;
	}

	50%,
	100% {
		opacity: 0;
	}
}

@keyframes statFade3 {

	0%,
	50% {
		opacity: 0;
	}

	54% {
		opacity: 1;
	}

	71% {
		opacity: 1;
	}

	75%,
	100% {
		opacity: 0;
	}
}

@keyframes statFade4 {

	0%,
	75% {
		opacity: 0;
	}

	79% {
		opacity: 1;
	}

	96% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@media (max-width: 575.98px) {

	#gspb_row-id-gsbp-a0afd55 .gspb_row__content {
		position: relative;
		height: 56px;
		overflow: hidden;
	}

	#gspb_row-id-gsbp-a0afd55 .gspb_row__col--3 {
		position: absolute;
		top: 50%;
		left: 0;
		right: 0;
		transform: translateY(-50%);
		opacity: 0;
		animation-duration: 22s;
		animation-iteration-count: infinite;
		text-align: center;
	}

	#gspb_col-id-gsbp-4931850 {
		animation-name: statFade1;
	}

	#gspb_col-id-gsbp-74b1b1e {
		animation-name: statFade2;
	}

	#gspb_col-id-gsbp-d3220a5 {
		animation-name: statFade3;
	}

	#gspb_col-id-gsbp-1a04a32 {
		animation-name: statFade4;
	}
}