/* Version 1.2.3 */

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden; /* wichtig, damit body nicht selbst scrollt */
}

body {
	display: flex;
	flex-direction: column;
}

#loadingOverlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.85);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.scroll-container {
  height: 100vh;
  overflow-y: auto;
  padding-right: 1rem;
}

.header {
	flex: 0 0 auto;
}

.main-scroll-container {
	flex: 1 1 auto;
	overflow-y: auto;
	padding-bottom: 140px; /* Höhe des Footers berücksichtigen */
}

.footer {
	flex: 0 0 auto;
}

h1 {
	font-size: 1.25rem;
}

h4 {
	font-size: 1rem;
}

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

.logo-footer {
	max-width: 240px;
	height: auto;
	padding-bottom: 1.5em;
}

.footer-nav {
	font-size: 0.8rem;
}

@media screen and (min-width: 992px) {
	h1 {
		font-size: 2.5rem;
	}
	h4 {
		font-size: 1.625rem;
	}
	.img-logo {
		max-width: 120px;
	}
	.logo-footer {
		max-height: 120px;
		height: auto;
		padding-bottom: 0;
	}
	.footer-nav {
		font-size: 1rem;
	}
}
