/* /ratgeber/glossar/ — page layout only (tokens from theme.css; no new colours, sizes, radii or shadows) */

/* 1 · Hero: lead + call, then the A–Z bar as a row of big keys */
.gl-hero .hero__inner { display: grid; gap: var(--s-6); }
.gl-hero .hero__lead { max-width: 56ch; }
.gl-hero .az-bar { margin-top: 0; gap: .45rem; }
.gl-hero .az-bar a, .gl-hero .az-bar__off { min-width: 3rem; height: 3.25rem; border-radius: var(--r-md); font-size: var(--fs-lg); }

/* 2 · Schloss oder Zylinder: text left, sticky notch photo right */
.gl-unterschied .section__head { margin-bottom: 0; }
.gl-unterschied__media { width: 100%; }
@media (min-width: 56em) {
	.gl-unterschied__split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; }
	.gl-unterschied__media { position: sticky; top: calc(var(--header-real, var(--header-h)) + 1.5rem); }
}

/* 3 · Begriffe: dictionary pairs — term left, definition + see-also right */
.gl-begriffe .section__head .lead { max-width: 60ch; }
.gl-begriffe .glossary { gap: var(--s-6); }
.gl-begriffe .glossary__list { gap: var(--s-4); }
.gl-begriffe .glossary__entry { display: grid; gap: var(--s-2) var(--s-5); padding: var(--s-5); }
.gl-begriffe .glossary__term {
	font-family: var(--f-display); font-weight: 700; font-size: var(--fs-lg); line-height: 1.1; letter-spacing: .01em;
	color: var(--c-heading); overflow-wrap: break-word; hyphens: auto;
}
.gl-begriffe .glossary__entry dd { max-width: 68ch; margin: 0; }
.gl-begriffe .glossary__see { padding-top: var(--s-2); border-top: 1px dashed var(--c-line); font-size: var(--fs-sm); color: var(--c-text-muted); }
@media (min-width: 64em) {
	.gl-begriffe .glossary__entry { grid-template-columns: minmax(14rem, .3fr) minmax(0, 1fr); align-items: start; }
	.gl-begriffe .glossary__term { grid-row: 1 / span 2; }
	.gl-begriffe .glossary__entry dd { grid-column: 2; }
}

/* 4 · Verwechslungen: table under a split head */
.gl-verwechslungen .section__head--split { align-items: end; }
.gl-verwechslungen .section__head .lead { max-width: 44ch; }
.gl-verwechslungen .compare-table tbody th { width: 17%; font-size: var(--fs-md); }
.gl-verwechslungen .compare-table td:nth-child(2) { width: 17%; font-size: var(--fs-md); }

/* 5 · Weiter (night): router cards + call strip */
.gl-weiter .section__head { max-width: 46rem; }
.gl-weiter__grid .router-card { align-items: start; align-content: start; }
.gl-weiter__call { margin-top: var(--s-7); }
.gl-weiter .callstrip__text { margin-top: var(--s-2); }
.gl-weiter .callstrip__title a { text-decoration-color: var(--c-amber); text-decoration-thickness: .08em; text-underline-offset: .2em; }

/* 6 · FAQ: aside on the right (DOM order stays aside first) */
.gl-faq .faq { max-width: none; }
@media (min-width: 64em) {
	.gl-faq__layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
	.gl-faq__layout .faq-layout__aside { order: 2; }
}
