/* Footer - gemeinsame Styles für Login-Seiten, Schülerseite und Lehrerseite.
   Eine Datei statt drei, damit Größe/Verhalten nur an einer Stelle gepflegt werden. */

.footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	background: #F8F8F8;
	border-top: 2px solid #E7E7E7;
	z-index: 40; /* unter Modalen (100) und der Fortschritts-Overlay (9999), über normalem Seiteninhalt */
}

/* Manche Seiten setzen auf #footer zusätzlich eine eigene Breitenbegrenzung
   (container-max/container-fluid) - die ID gewinnt immer und hält den
   Balken über die volle Fensterbreite. */
#footer.container-max,
#footer.container-fluid {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.innerfooter {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 1200px;
	height: auto;
	margin: 0 auto;
	padding: 8px 15px;
	min-height: 40px;
	box-sizing: border-box;
	background: transparent;
	text-align: left;
}

.footertext,
.footerlink {
	float: none;
	width: auto;
	height: auto;
	color: #6c757d;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

.footertext {
	flex: 1 1 auto;
	min-width: 0;
}

.footerlink {
	flex: 0 0 auto;
	display: flex;
}

.footerLinkTxt {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 32px;
	padding: 0 12px;
	border-radius: 4px;
	white-space: nowrap;
	text-decoration: none;
	color: #6c757d !important;
	transition: background-color .2s ease, color .2s ease;
}

.footerLinkTxt:hover {
	background: #E7E7E7;
	color: #333 !important;
}

/* Platz für den fixierten Footer am Seitenende freihalten */
#content {
	padding-bottom: 70px;
}

@media (max-width: 480px) {
	.innerfooter {
		min-height: 34px;
		padding: 6px 10px;
		gap: 8px;
	}

	.footertext,
	.footerlink {
		font-size: 11px;
	}

	.footerLinkTxt {
		height: 28px;
		padding: 0 8px;
	}
}
