/* /de/glossar */

.gl-head { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 6vw, 80px); }
.gl-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .28; }
.gl-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--nacht) 0%, rgba(11, 31, 51, .82) 55%, rgba(11, 31, 51, .55) 100%); }
.gl-head-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.gl-figure { display: flex; flex-direction: column; }
.gl-figure .num { font-size: clamp(120px, 19vw, 280px); line-height: .78; color: var(--rot); letter-spacing: -.04em; }
.gl-figure span:last-child { font-weight: 800; font-stretch: 112%; font-size: clamp(24px, 2.6vw, 38px); margin-top: 14px; }
.gl-head h1 { font-size: clamp(40px, 5.4vw, 78px); }
.gl-head .lead { margin-top: 16px; }
.gl-head .find { max-width: 620px; margin-top: 28px; }
.gl-head .count-line { margin: 10px 0 0; }
@media (max-width: 900px) {
  .gl-head-grid { grid-template-columns: 1fr; }
  .gl-figure { display: none; }
}

/* sticky A-Z */
.gl-bar .wrap { min-height: 60px; }
.gl-letters { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 3px; margin: -3px; }
.gl-letters::-webkit-scrollbar { display: none; }
.gl-letters a, .gl-letters span { flex: 1 0 34px; min-width: 34px; height: 40px; display: grid; place-items: center; border-radius: var(--r); font-weight: 800; font-stretch: 110%; font-size: 17px; text-decoration: none; }
.gl-letters a:hover { background: var(--tinte); color: #fff; }
.gl-letters a.on { background: var(--rot); color: #fff; }
.gl-letters span, .gl-letters a[aria-disabled="true"] { color: #c3ced8; pointer-events: none; }

/* letter sections */
.gl-list { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(64px, 9vw, 128px); }
.gl-sec { display: grid; grid-template-columns: 2fr 10fr; gap: clamp(16px, 3vw, 48px); border-top: 2px solid var(--tinte); padding: 20px 0 clamp(28px, 4vw, 48px); scroll-margin-top: 56px; }
.gl-sec[hidden] { display: none; }
.gl-letter { position: sticky; top: calc(var(--head-h) + 76px); align-self: start; font-size: clamp(64px, 8vw, 128px); line-height: .8; font-weight: 800; font-stretch: 118%; color: var(--rot); letter-spacing: -.03em; }
.gl-terms { display: grid; }
.term { display: grid; grid-template-columns: 3fr 7fr; gap: 6px clamp(16px, 3vw, 40px); padding: 18px 0 20px; border-top: 1px solid var(--linie); scroll-margin-top: 60px; position: relative; }
.term:first-child { border-top: 0; padding-top: 4px; }
.term[hidden] { display: none; }
.term h3 { font-size: clamp(21px, 1.8vw, 25px); font-stretch: 106%; letter-spacing: -.01em; line-height: 1.2; overflow-wrap: anywhere; }
.term h3 a { text-decoration: none; }
.term h3 a:hover { color: var(--rot); }
.term .def { min-width: 0; font-size: 17px; line-height: 1.65; }
.term .def p:last-child { margin-bottom: 0; }
.term .def a { font-weight: 600; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rel { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 12px; font-size: 14px; color: var(--granit); }
.rel a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: var(--r); background: var(--eis); color: var(--tinte); text-decoration: none; font-weight: 600; }
.rel a:hover { background: var(--tinte); color: #fff; }
.rel .plain { padding: 0 2px; }

/* the term a search or link points to */
.term.hit::before { content: ""; position: absolute; left: calc(var(--gut) * -.5); top: 14px; bottom: 16px; width: 4px; background: var(--rot); border-radius: 2px; }
.term.hit { animation: gl-hit 2.4s var(--ease) both; }
@keyframes gl-hit { 0%, 30% { background: rgba(213, 43, 30, .09); } 100% { background: transparent; } }
.gl-none { padding: 28px 0; border-top: 2px solid var(--tinte); font-size: 19px; }
.gl-none button { border: 0; background: none; padding: 0; }

@media (max-width: 760px) {
  .gl-sec { grid-template-columns: 1fr; gap: 8px; }
  .gl-letter { position: static; font-size: 56px; }
  .term { grid-template-columns: 1fr; }
  .term.hit::before { left: -10px; }
}
