/* Focus: Alatau – own styles on top of style.css (tokens from :root there). Colour only on data: topics and districts. */
.al { --al-flaeche: rgba(255,255,255,.035); --al-rand: var(--line); }
.al .al-sektion { padding: clamp(56px, 7vw, 104px) 0; }
.al .al-sektion--hell { background: var(--navy-850); border-block: 1px solid var(--line); }
.al .al-sektion--eng { padding-top: 32px; }
.al h2 { font-family: var(--font-display); }

/* head: the site's page hero (hero--page) with our own small additions */
.al-hero .hero-lead time { color: var(--gold-light); }
.al-hero-klein { min-height: 0; }
.al-hero-klein .hero-inner { padding-bottom: clamp(36px, 5vw, 64px); }
.al-hero-klein .hero-title-page { font-size: clamp(1.9rem, 4.2vw, 3.3rem); max-width: 980px; margin-left: auto; }
.al-stand { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin: 16px 0 0; }
.al-lauf .ticker-track span { text-transform: none; letter-spacing: .02em; }

.al-zahlen { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.al-zahl a { border-radius: var(--radius); display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 18px 14px; border: 1px solid var(--line);
  background: var(--al-flaeche); color: inherit; text-decoration: none; transition: border-color .2s var(--ease), background .2s var(--ease); }
.al-zahl a:hover, .al-zahl a:focus-visible { border-color: var(--gold); background: var(--surface-hi); }
.al-zahl strong { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; color: var(--gold-light);
  font-variant-numeric: tabular-nums; }
.al-zahl a > span { font-size: .95rem; }
.al-zahl strong span { font: inherit; color: inherit; }
.al-zahl small { color: var(--muted); font-size: .78rem; margin-top: auto; }

/* the menu has one entry more than on the other pages */
.header-actions { flex-shrink: 0; }
.header-actions .btn-sm { white-space: nowrap; }

/* sub navigation */
.al-abstand { height: var(--header-h); }
.al-unternav { position: sticky; top: var(--header-h); z-index: 5; background: rgba(4,18,30,.92); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.al-unternav--fest { position: relative; top: auto; }
.al-unternav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.al-unternav a { padding: 12px 14px; white-space: nowrap; color: var(--muted); text-decoration: none; font-size: .92rem; border-bottom: 2px solid transparent; }
.al-unternav a:hover { color: var(--text); }
.al-unternav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--gold); }
.al-brot { padding: 18px 0 0; font-size: .85rem; color: var(--muted); }
.al-brot a { color: var(--muted); }

/* deadlines */
.al-ringe { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.al-ring { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; position: relative; }
.al-ring svg { width: 112px; height: 112px; transform: rotate(-90deg); }
.al-ring circle { fill: none; stroke-width: 7; }
.al-ring-bahn { stroke: var(--line-strong); }
.al-ring-wert { stroke: var(--gold); stroke-linecap: round; transition: stroke-dasharray 1.2s var(--ease); }
.al-ring-zahl { position: absolute; left: 0; top: 0; width: 112px; height: 112px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; line-height: 1.05; }
.al-ring-zahl strong { font-family: var(--font-display); font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.al-ring-zahl span { font-size: .75rem; color: var(--muted); }
.al-ring p { margin: 0; font-size: .95rem; }
.al-ring time { font-family: var(--font-display); color: var(--gold-light); }
.al-ok { color: #3fbf7f; }

/* story cards */
.al-lage { display: grid; gap: 16px; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
.al-lage .al-karte--gross { grid-row: span 2; }
.al-karte { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  padding: 20px 22px; height: 100%; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.al-karte::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--c), transparent 80%); }
.al-karte:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 18px 40px -24px rgba(0,0,0,.8); }
.al-karte--gross { padding: clamp(24px, 3vw, 36px); background: radial-gradient(600px 300px at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%), linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.012)); }
.al-karte { display: flex; flex-direction: column; }
.al-karte .al-marken { margin-top: auto; }
.al-karte h3 { font-size: 1.12rem; line-height: 1.35; margin: 4px 0 8px; }
.al-karte--gross h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.al-karte h3 a { color: var(--text); text-decoration: none; }
.al-karte h3 a:hover { color: var(--gold-light); }
.al-karte p { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.al-datum { font-size: .8rem !important; margin: 0 !important; }
.al-pruef { color: #ff7a9a; font-weight: 600; }
.al-marken { display: flex; flex-wrap: wrap; gap: 6px; font-size: .74rem; }
.al-marken > span, .al-bezirk { border-radius: 999px; font-weight: 700; padding: 3px 10px; border: 1px solid var(--line-strong); color: var(--muted); }
.al-thema { color: var(--c) !important; border-color: color-mix(in srgb, var(--c) 55%, transparent) !important; }
.al-bezirk { color: var(--c) !important; text-decoration: none; }
.al-bezirk--genannt { border: 1px solid var(--c) !important; background: color-mix(in srgb, var(--c) 14%, transparent); }
.al-bezirk--abgeleitet { border: 1px dashed var(--c) !important; }
.al-art--offiziell { color: var(--gold-light) !important; border-color: var(--gold-deep) !important; }

.al-ticker-box { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(6, 24, 38, 0.5); padding: 18px 20px; }
.al-ticker-box h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.al-ticker { list-style: none; margin: 0 0 16px; padding: 0; }
.al-ticker li { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); align-items: baseline; }
.al-ticker time { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.al-ticker a { color: var(--text); text-decoration: none; }
.al-ticker a:hover { color: var(--gold-light); }
.al-ticker .al-art { border-radius: 999px; font-size: .72rem; padding: 2px 9px; border: 1px solid var(--line-strong); color: var(--muted); }

/* district map: the site's picker component (.hb, as the industrial map of the Kazakhstan page) with our four districts */
.al-hb .hb-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.al-hbmap { aspect-ratio: 560 / 720; max-height: 760px; }
.al-bzland { fill: var(--f); fill-opacity: .86; stroke: rgba(4, 18, 30, .85); stroke-width: 1.4; stroke-linejoin: round; cursor: pointer;
  transition: fill-opacity .35s ease, filter .35s ease; }
.al-bzland:hover, .al-bzland.is-active { fill-opacity: 1; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 55%, transparent)); }
.al-hb[data-active] .al-bzland:not(.is-active) { fill-opacity: .72; }
.al-hb .al-pin svg.al-sym { position: static; inset: auto; width: 1em; height: 1em; margin: 0; }
/* dots as on the official map: white with a ring; the name only on hover or when selected */
.al-hb .al-pin { transform: translate(-50%, -50%); flex-direction: column; gap: 6px; }
.al-hb .al-pin i { width: 18px; height: 18px; background: #fff; border: 4px solid var(--c); box-shadow: 0 0 0 3px rgba(255,255,255,.55), 0 0 14px rgba(0,0,0,.5); }
.al-hb .al-pin > span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(4, 18, 30, .92); color: #fff;
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); font-size: .78rem; transition: opacity .25s ease, transform .25s ease; }
.al-hb .al-pin:hover > span, .al-hb .al-pin:focus-visible > span, .al-hb .al-pin.is-active > span { opacity: 1; transform: translateX(-50%); }
.al-hb .al-pin.is-active span { background: rgba(4, 18, 30, .92); color: #fff; }
.al-ortpin { position: absolute; left: var(--x); top: var(--y); transform: translate(-6px, -50%); display: flex; align-items: center; gap: 7px;
  padding: 2px 8px 2px 0; font-size: 0.72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.al-ortpin i { width: 10px; height: 10px; border-radius: 50%; background: var(--text); border: 2px solid var(--navy-900); box-shadow: 0 0 0 1px rgba(233,241,248,.4); }
.al-ortpin--see { color: var(--blue-soft); transform: translate(-100%, -50%); padding: 0; }
.al-tafel { border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 9%, transparent), rgba(6, 24, 38, 0.5) 60%); padding: clamp(20px, 2.6vw, 30px); }
.al-tafel h3 { color: #fff; }
.al-tafel > p { color: var(--muted); }
.al-tafel .al-tafel-zahl { margin: 16px 0 6px; color: var(--text); }
.al-tafel-zahl strong { font: 300 2.3rem var(--font-display); color: var(--c); margin-right: 6px; vertical-align: -5px; }
.al-tafel-liste { list-style: none; margin: 0 0 18px; padding: 0; }
.al-tafel-liste li { border-top: 1px solid var(--line); padding: 9px 0; }
.al-tafel-liste a { color: var(--text); text-decoration: none; display: block; }
.al-tafel-liste a:hover { color: var(--gold-light); }
.al-tafel-liste small { color: var(--muted); font-size: .78rem; }
.al-tafel .cta-back { margin: 0; text-align: left; justify-content: flex-start; display: flex; }
.al-klein { color: var(--muted); font-size: .8rem; }

/* timeline */
.al-zeitband { list-style: none; margin: 0 0 24px; padding: 26px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr);
  gap: 14px; overflow-x: auto; position: relative; border-top: 2px solid var(--line-strong); }
.al-zeitband li, .al-zeitleiste li { position: relative; }
.al-zeitband li::before { content: ""; position: absolute; top: -33px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.al-zeitband li.al-zukunft::before { background: var(--navy-900); border: 2px solid var(--gold); }
.al-zeitband time, .al-zeitleiste time { font-family: var(--font-display); color: var(--gold-light); font-size: .95rem; }
.al-zeitband p, .al-zeitleiste p { margin: 4px 0; font-size: .93rem; }
.al-zeitband small, .al-zeitleiste small { color: var(--muted); font-size: .76rem; }
.al-zeitband small a, .al-zeitleiste small a { color: var(--muted); }
.al-heute time { color: #3fbf7f !important; text-transform: uppercase; letter-spacing: .1em; }
.al-zeitband .al-heute::before { background: #3fbf7f; box-shadow: 0 0 0 5px rgba(63,191,127,.2); }
.al-zeitleiste { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--line-strong); max-width: 820px; }
.al-zeitleiste li { padding: 0 0 22px; }
.al-zeitleiste li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.al-zeitleiste li.al-zukunft::before { background: var(--navy-900); border: 2px solid var(--gold); }
.al-zeitleiste .al-heute::before { background: #3fbf7f; box-shadow: 0 0 0 5px rgba(63,191,127,.2); }
.al-zeitleiste a { color: var(--text); }

/* contact */
.al-cta { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.al-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.al-form select { width: 100%; }
.al .field select { padding: 13px 40px 13px 15px; border: 1px solid var(--line-strong); border-radius: 12px; background-color: rgba(4, 18, 30, 0.55);
  color: var(--text); font: inherit; font-size: .95rem; min-height: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
  transition: border-color .25s ease, box-shadow .25s ease; }
.al .field select:hover { border-color: rgba(122, 170, 214, 0.5); }
.al .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.2); }
.al .field select option { background: var(--navy-800); }

/* archive */
.al-filter { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; align-items: end; margin-bottom: 24px; }
.al-filter label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--muted); }
.al-filter input, .al-filter select, .al-form select { border-radius: 12px; background: rgba(4, 18, 30, 0.55); color: var(--text); border: 1px solid var(--line-strong);
  padding: 10px 12px; font: inherit; font-size: .95rem; min-height: 44px; }
.al-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.al-chip { border-radius: 999px; background: transparent; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); color: var(--c); padding: 6px 12px;
  font: inherit; font-size: .85rem; cursor: pointer; min-height: 36px; }
.al-chip[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--text); }
.al-zaehler { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .88rem; }
.al-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.al-liste li[hidden] { display: none; }

/* story page */
.al-artikel-raster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.al-artikel-titel { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 14px 0 10px; }
.al-meta { color: var(--muted); font-size: .85rem; }
.al-kurz { font-size: 1.12rem; line-height: 1.7; }
.al-artikel-haupt h2 { font-size: 1.2rem; margin: 30px 0 10px; }
.al-artikel-rand h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.al-artikel-rand > * + h2 { margin-top: 26px; }
.al-fakten { padding-left: 20px; }
.al-fakten li { margin: 6px 0; }
.al-box { border-radius: var(--radius); border: 1px solid var(--line-strong); padding: 18px 20px; margin: 26px 0; background: var(--al-flaeche); }
.al-box--gold { border-color: var(--gold-deep); background: linear-gradient(135deg, rgba(242,181,29,.08), transparent 70%); }
.al-box h2 { margin-top: 0 !important; color: var(--gold-light); font-size: 1.05rem !important; letter-spacing: 0 !important; text-transform: none !important; }
.al-box a { color: var(--gold-light); }
.al-quellen { list-style: none; margin: 0; padding: 0; }
.al-q, .al-quellen > li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.al-q a { color: var(--text); flex: 1 1 260px; }
.al-q small { color: var(--muted); flex-basis: 100%; }
.al-q .al-art { border-radius: 999px; font-size: .72rem; padding: 2px 9px; border: 1px solid var(--line-strong); color: var(--muted); }
.al-akteure, .al-verwandt { list-style: none; margin: 0; padding: 0; }
.al-akteure li, .al-verwandt li { padding: 8px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.al-akteure span, .al-verwandt time { color: var(--muted); font-size: .85rem; }
.al-verwandt a { color: var(--text); text-decoration: none; }
.al-verwandt a:hover { color: var(--gold-light); }
.al-korrektur { border-left: 3px solid #ff7a9a; padding-left: 12px; }
.al-rechtsblock { scroll-margin-top: calc(var(--header-h) + 60px); }
.al-toc ol { margin: 0; padding-left: 18px; }
.al-toc a { color: var(--text); }
.al-artikel-rand { position: sticky; top: calc(var(--header-h) + 64px); }

.al-hinweis { border-top: 1px solid var(--line); padding: 22px 0 40px; color: var(--muted); font-size: .85rem; }
.al-hinweis p { margin: 4px 0; }
.al-hinweis a { color: var(--gold-light); }
.al-vorschau { position: sticky; top: var(--header-h); z-index: 6; background: #8a1238; color: #fff; text-align: center; padding: 8px 16px;
  font-weight: 600; letter-spacing: .04em; }

@media (max-width: 900px) {
  .al-hero .hero-title-page { margin-left: 0; }
  .al-stand { justify-content: flex-start; }
  .al-lage, .al-cta, .al-artikel-raster, .al-hb .hb-body { grid-template-columns: 1fr; }
  .al-hbmap { max-width: 460px; margin-inline: auto; width: 100%; }
  .al-lage .al-karte--gross { grid-row: auto; }
  .al-filter { grid-template-columns: 1fr 1fr; }
  .al-suche { grid-column: 1 / -1; }
  .al-artikel-rand { position: static; }
}
@media (max-width: 560px) {
  .al-form { grid-template-columns: 1fr; }
  .al-liste { grid-template-columns: 1fr; }
  .al-ticker li { grid-template-columns: 1fr auto; }
  .al-ticker time { grid-column: 1 / -1; }
  .al-ring { grid-template-columns: 96px 1fr; }
  .al-ring svg, .al-ring-zahl { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .al-ring-wert, .al-bzland, .al-zahl a, .al-karte { transition: none; }
}

/* district symbols (circle, triangle, hexagon, square) */
.al-sym { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: var(--c); stroke-width: 3.2; vertical-align: -0.15em; margin-right: 5px; }
.al-sym--golden { stroke: url(#alGold); }
.al-sym--gross { width: 26px; height: 26px; margin-right: 10px; vertical-align: -5px; }
.al-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.al-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the state emblem instead of the word "official"; the word appears on hover or focus */
.al-amtlich { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(242, 181, 29, .55); background: radial-gradient(circle at 30% 25%, rgba(255, 217, 77, .22), rgba(181, 112, 12, .08)); vertical-align: middle; cursor: help; }
.al-amtlich svg { width: 15px; height: 15px; fill: url(#alGold); }
.al-amtlich::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px);
  white-space: nowrap; padding: 5px 10px; border-radius: 8px; background: rgba(4, 18, 30, .95); border: 1px solid rgba(242, 181, 29, .5);
  color: var(--gold-light); font-size: .74rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 10; }
.al-amtlich:hover::after, .al-amtlich:focus-visible::after { opacity: 1; transform: translateX(-50%); }
.al-marken .al-amtlich { padding: 0 !important; border-radius: 50% !important; border-color: rgba(242, 181, 29, .55); }
.al-ticker li { grid-template-columns: 96px 1fr 30px; }

/* hero: the four districts instead of the sun emblem */
.hero-orn.al-zonen { opacity: .95; animation: ornIn 1.8s var(--ease) .2s both; aspect-ratio: 466 / 640; width: min(26vw, 330px);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
.hero-orn.al-zonen img { width: 100%; height: 100%; display: block; }
.al-hero-klein .hero-orn.al-zonen { width: min(18vw, 230px); }
@media (max-width: 1100px) { .hero-orn.al-zonen { opacity: .5; } }
@media (max-width: 620px) { .hero-orn.al-zonen { width: 46vw; opacity: .3; } }

/* horizontal timeline: cards alternate above and below the axis, year marks, today in green; scrolls sideways */
.al-zl { position: relative; margin: 8px 0 28px; }
.al-zl-steuer { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 10px; }
.al-zl-pfeil { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(6, 24, 38, .6); color: var(--text);
  font-size: 1.1rem; cursor: pointer; transition: border-color .25s ease, background .25s ease; }
.al-zl-pfeil:hover { border-color: rgb(var(--acc)); background: rgba(var(--acc), .12); }
.al-zl-spur { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(var(--acc), .5) transparent;
  border: 1px solid var(--line); border-radius: var(--radius-lg); cursor: grab;
  background: linear-gradient(rgba(122, 170, 214, 0.04) 1px, transparent 1px) 0 0 / 100% 40px, rgba(6, 24, 38, 0.55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.al-zl-spur.is-ziehen { cursor: grabbing; scroll-snap-type: none; }
.al-zl-spur:focus-visible { outline: 2px solid rgb(var(--acc)); outline-offset: 3px; }
.al-zl-liste { list-style: none; margin: 0; padding: 0 60px; display: flex; position: relative; height: 500px; width: max-content; }
.al-zl--kompakt .al-zl-liste { height: 400px; }
.al-zl-liste::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: linear-gradient(90deg, rgba(var(--acc), .1), rgba(var(--acc), .7) 15%, rgba(var(--acc), .7) 85%, rgba(var(--acc), .1)); }
.al-zl-p { position: relative; flex: 0 0 230px; scroll-snap-align: center; }
.al-zl-p::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(242, 181, 29, .18), 0 0 14px rgba(242, 181, 29, .6); z-index: 1; }
.al-zl-p::after { content: ""; position: absolute; left: 50%; width: 1px; bottom: 50%; height: 26px; background: rgba(242, 181, 29, .5); }
.al-zl-unten::after { bottom: auto; top: 50%; }
.al-zl-karte { position: absolute; left: 10px; right: 10px; bottom: calc(50% + 26px); padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); transition: border-color .3s ease, transform .3s var(--ease); }
.al-zl-unten .al-zl-karte { bottom: auto; top: calc(50% + 26px); }
.al-zl-karte:hover { border-color: rgba(242, 181, 29, .5); transform: translateY(-2px); }
.al-zl-karte time { font-family: var(--font-display); color: var(--gold-light); font-size: .95rem; }
.al-zl-karte p { margin: 4px 0 6px; font-size: .92rem; line-height: 1.45; }
.al-zl-karte a { color: var(--text); }
.al-zl-karte small { display: block; color: var(--muted); font-size: .74rem; line-height: 1.4; }
.al-zl-karte small a { color: var(--muted); }
.al-zl-ereignis .al-zl-karte { border-color: rgba(242, 181, 29, .35); }
.al-zukunft.al-zl-p::before { background: var(--navy-900); border: 2px solid var(--gold); box-shadow: none; }
.al-zukunft.al-zl-p::after { background: none; border-left: 1px dashed rgba(242, 181, 29, .5); }
.al-zukunft .al-zl-karte { border-style: dashed; background: rgba(6, 24, 38, .4); }
.al-zl-jahr { position: relative; flex: 0 0 96px; }
.al-zl-jahr span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(var(--acc), .5); background: var(--navy-900); color: rgb(var(--acc)); font: 700 .9rem var(--font-display); letter-spacing: .08em; }
.al-zl-heute { position: relative; flex: 0 0 120px; scroll-snap-align: center; }
.al-zl-heute::before { content: ""; position: absolute; left: 50%; top: 14%; bottom: 14%; width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, transparent, #3fbf7f 20%, #3fbf7f 80%, transparent); }
.al-zl-heute span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center;
  padding: 6px 12px; border-radius: 10px; background: var(--navy-900); border: 1px solid #3fbf7f; color: var(--muted); font-size: .72rem; white-space: nowrap;
  box-shadow: 0 0 18px rgba(63, 191, 127, .35); }
.al-zl-heute time { color: #3fbf7f; font: 700 .8rem var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 560px) {
  .al-zl-p { flex-basis: 210px; }
  .al-zl-liste { height: 500px; padding: 0 30px; }
}

/* law & tax: icon boxes as on the service cards */
.al-rk { display: flex; align-items: center; gap: 14px; margin: 34px 0 10px; }
.al-rk h2 { margin: 0 !important; }
.al-icon { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(var(--acc), .45);
  background: linear-gradient(145deg, rgba(var(--acc), .16), rgba(var(--acc), .03)); }
.al-icon svg { width: 24px; height: 24px; fill: none; stroke: rgb(var(--acc)); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.al-icon--klein { width: 30px; height: 30px; border-radius: 8px; margin-right: 10px; }
.al-icon--klein svg { width: 17px; height: 17px; }
.al-toc ol { list-style: none; padding: 0; }
.al-toc li { margin: 0 0 8px; }
.al-toc a { display: flex; align-items: center; text-decoration: none; }
.al-toc a:hover { color: rgb(var(--acc)); }

/* "as of" line under the figures, with its own pulsing dot */
.al-hero .al-stand { margin: 0 0 12px; justify-content: flex-end; font-size: .82rem; }
.al-stand-n::before { content: "·"; margin-right: 10px; }
@media (max-width: 620px) { .al-stand-n { flex-basis: 100%; } .al-stand-n::before { content: none; } }
.al-puls { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 10px #3fbf7f; flex: none; }
.al-puls::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #3fbf7f; animation: sigRing 1.8s ease-out infinite; }
@media (max-width: 900px) { .al-hero .al-stand { justify-content: flex-start; } }

/* methodology */
.al .provides.al-sechs .provide { grid-column: span 2; }
.al-kacheln { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.al-kacheln li { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(var(--acc), .08), rgba(6, 24, 38, .5) 70%); }
.al-kacheln strong { font: 600 clamp(1.8rem, 3.4vw, 2.5rem) var(--font-display); color: var(--gold-light); font-variant-numeric: tabular-nums; line-height: 1.1; }
.al-kacheln span { color: var(--muted); font-size: .92rem; }
.al-kacheln strong span { color: inherit; font-size: inherit; }
.al-zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.al-beispiel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.al-beispiel small { color: var(--muted); }
.al-nichtliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.al-nichtliste li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: rgba(6, 24, 38, .5); }
.al-nicht { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255, 122, 154, .45); background: rgba(255, 122, 154, .08); }
.al-nicht svg { width: 16px; height: 16px; fill: none; stroke: #ff7a9a; stroke-width: 2; stroke-linecap: round; }
.al-quellkarten { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.al-quellkarten a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(6, 24, 38, .5); color: var(--text); text-decoration: none; transition: border-color .25s ease, transform .25s var(--ease); }
.al-quellkarten a:hover { border-color: rgba(var(--acc), .6); transform: translateY(-2px); }
.al-quellkarten small { color: rgb(var(--acc)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
@media (max-width: 900px) {
  .al-zweispaltig { grid-template-columns: 1fr; }
  .al .provides.al-sechs { grid-template-columns: 1fr 1fr; }
  .al .provides.al-sechs .provide { grid-column: auto; }
}
@media (max-width: 560px) { .al .provides.al-sechs { grid-template-columns: 1fr; } }

/* hero glyph as on the other pages, with the four districts: traced, then drawn in gold, then filled one after another in their colour */
.al-glyph .al-hg path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.al-hg-spur { stroke: #ffe68a; stroke-width: 2.6; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: hgDraw 2.2s var(--ease) forwards; }
.al-hg-linie { stroke: url(#alHgGold); stroke-width: 2.6; opacity: 0; animation: alHgLinie 1.2s var(--ease) 3.4s forwards; }
@keyframes alHgLinie { to { opacity: 1; stroke-width: 6; } }
.al-glyph .al-hg .al-hg-farbe { stroke: none; opacity: 0; animation: alHgFarbe 8s ease-in-out infinite; }
@keyframes alHgFarbe { 0% { opacity: 0; } 6%, 16% { opacity: .85; } 25%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .al-hg-spur { display: none; }
  .al-hg-linie { animation: none; opacity: 1; stroke-width: 6; }
  .al-glyph .al-hg .al-hg-farbe { animation: none; }
}

/* introduction (hub 01): text left, profile right */
.al-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 8px; }
.al-intro-text p { font-size: 1.08rem; line-height: 1.7; margin: 0 0 18px; color: var(--text); max-width: 64ch; }
.al-qlink { font-size: .74rem; color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--line-strong); white-space: nowrap; }
.al-qlink:hover, .al-qlink:focus-visible { color: var(--gold-light); border-color: var(--gold); }
.al-steckbrief { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(6, 24, 38, 0.5); padding: 20px 22px 8px; }
.al-steckbrief h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 6px; }
.al-steckbrief dl { margin: 0; }
.al-steckbrief dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.al-steckbrief dl > div:first-child { border-top: 0; }
.al-steckbrief dt { color: var(--muted); font-size: .84rem; }
.al-steckbrief dd { margin: 0; font-size: .95rem; }
.al-steckbrief dd .al-qlink { border: 0; margin-left: 2px; }

/* compact news (hub 02) */
.al-kompakt { list-style: none; margin: 28px 0 22px; padding: 0; border-top: 1px solid var(--line); }
.al-kompakt li { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 18px; padding: 16px 0 16px 14px; border-bottom: 1px solid var(--line);
  align-items: baseline; position: relative; }
.al-kompakt li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--c); opacity: .8; }
.al-kompakt time { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.al-kompakt a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.al-kompakt a:hover, .al-kompakt a:focus-visible { color: var(--gold-light); }
.al-kompakt p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.al-kompakt-marken { display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 900px) {
  .al-intro { grid-template-columns: 1fr; }
  .al-kompakt li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .al-kompakt a { overflow-wrap: anywhere; }
  .al-kompakt time { grid-column: 1 / -1; }
}

/* the glyph sits partly outside on phones (site rule right:-10%); clip sideways only, the KPI bar below stays visible */
.al-hero { overflow-x: clip; }
.al-kompakt .al-amtlich::after, .al-kompakt .al-amtlich:hover::after, .al-kompakt .al-amtlich:focus-visible::after { left: auto; right: 0; translate: none; transform: none; }

/* compact timeline on the hub: smaller cards so nothing is cut at the top or bottom (owner 08.11.2026) */
.al-zl--kompakt .al-zl-liste { height: 380px; }
.al-zl--kompakt .al-zl-p { flex-basis: 200px; }
.al-zl--kompakt .al-zl-karte { padding: 10px 13px; bottom: calc(50% + 20px); }
.al-zl--kompakt .al-zl-unten .al-zl-karte { bottom: auto; top: calc(50% + 20px); }
.al-zl--kompakt .al-zl-p::after { height: 20px; }
.al-zl--kompakt .al-zl-karte time { font-size: .86rem; }
.al-zl--kompakt .al-zl-karte p { font-size: .84rem; line-height: 1.4; margin: 3px 0 4px; }
