/* Batten Glossar – Archiv. Farben/Fonts aus dem Theme (bc.css). */

.glossar-archive {
	margin-bottom: 50px;
}

@media screen and (min-width: 768px) {
	.glossar-archive { margin-bottom: 100px; }
}

@media screen and (min-width: 1200px) {
	.glossar-archive { margin-bottom: 200px; }
}

.glossar-archive > .headline--1 {
	margin-bottom: .6em;
}

/* --- A–Z Index --------------------------------------------------------- */
.glossar-index {
	position: sticky;
	top: 56px;
	z-index: 2; /* unter dem fixen Header (z-index:3), damit das Menü-Dropdown oben liegt */
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 12px 0;
	margin-bottom: 30px;
	background-color: #fff;
}

@media screen and (min-width: 768px) { .glossar-index { top: 84px; } }
@media screen and (min-width: 1024px) { .glossar-index { top: 100px; } }

.glossar-index__letter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-family: "GothaProBol", sans-serif;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	border-radius: 8px;
	transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

a.glossar-index__letter {
	color: #C00000;
	background-color: #f9f8f0;
}

a.glossar-index__letter:hover,
a.glossar-index__letter:focus {
	color: #fff;
	background-color: #C00000;
}

.glossar-index__letter--empty {
	color: #adadad;
	cursor: default;
}

/* --- Buchstaben-Gruppen ------------------------------------------------ */
.glossar-group {
	scroll-margin-top: 100px;
	padding-top: 24px;
	border-top: 2px solid #e0e0e0;
	margin-bottom: 40px;
}

@media screen and (min-width: 1024px) {
	.glossar-group {
		scroll-margin-top: 150px;
		display: grid;
		grid-template-columns: 120px 1fr;
		gap: 30px;
		align-items: start;
	}
}

.glossar-group__letter {
	font-family: "GothaProBol", sans-serif;
	font-size: 56px;
	line-height: 1;
	color: #C00000;
	margin-bottom: 16px;
}

@media screen and (min-width: 1024px) {
	.glossar-group__letter {
		font-size: 64px;
		margin-bottom: 0;
		position: sticky;
		top: 160px;
	}
}

.glossar-group__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.glossar-group__item {
	margin: 0;
	border-bottom: 1px solid #e0e0e0;
}

.glossar-group__item::before {
	content: none; /* Theme-Bullet (li::before) entfernen */
}

.glossar-group__item:last-child {
	border-bottom: 0;
}

.glossar-group__item a {
	display: block;
	padding: 14px 0;
	font-family: "GothaProMed", sans-serif;
	font-size: 20px;
	color: #222;
	text-decoration: none;
	transition: color .15s ease-in-out, padding-left .15s ease-in-out;
}

.glossar-group__item a:hover,
.glossar-group__item a:focus {
	color: #C00000;
	padding-left: 8px;
}

/* --- FAQ im Single: erbt Theme-Accordion, nur etwas Abstand ------------ */
.glossar-faq {
	margin-top: 40px;
}

.glossar-faq > .headline--2 {
	margin-bottom: 24px;
}

/* --- Call to Action (Single) ------------------------------------------- */
.glossar-cta {
	margin-top: 40px;
	padding: 32px 24px;
	background-color: #f9f8f0;
	border-radius: 16px;
	text-align: center;
}

@media screen and (min-width: 768px) {
	.glossar-cta { padding: 56px 40px; }
}

.glossar-cta__inner {
	max-width: 680px;
	margin: 0 auto;
}

.glossar-cta > .glossar-cta__inner > .headline--2 {
	margin-bottom: .4em;
}

.glossar-cta__text {
	margin: 0 auto 28px;
	font-size: 20px;
}
