/* adlivo wiki: gleiche Grundlage wie adlivo.dev (assets/site/style.css + extras.css), nur dunkel.
   Dieses Blatt ergänzt nur das, was ein Wiki zusätzlich braucht: Seitenleiste, Inhaltsspalte, Verzeichnis, Suche.
   Design-Regeln: _Agenten/30 Design/00 Design-Master.md */
:root { --side: 296px; --tocw: 236px; --gl: linear-gradient(110deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); --gl-b: rgba(255,255,255,.3); --gl-s: 0 22px 54px -26px rgba(5,5,80,.75), inset 0 1px rgba(255,255,255,.28); }
body.pg-wiki { min-height: 100vh; }
.brand { gap: .75rem; } .brand .wk { font: 600 .5em/1 var(--head); letter-spacing: 0; color: var(--dim); margin-left: -.2rem; }
.top { gap: 14px; } .nav { margin-left: 0; }
.iconbtn { width: 52px; height: 52px; display: none; place-items: center; border-radius: 15px; border: 1px solid rgba(220,226,255,.28); background: rgba(10,10,60,.32); color: var(--text); backdrop-filter: blur(18px); }
.searchbtn { flex: 1 1 auto; max-width: 560px; min-width: 0; height: 52px; margin: 0 auto 0 8px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 15px; border: 1px solid rgba(220,226,255,.28); background: rgba(10,10,60,.32); box-shadow: 0 10px 34px rgba(0,0,40,.25), inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(18px) saturate(1.3); color: var(--dim); cursor: text; }
.searchbtn:focus-within { border-color: rgba(255,255,255,.55); box-shadow: 0 0 0 3px rgba(184,170,255,.28), 0 10px 34px rgba(0,0,40,.25); }
.searchbtn input, .herosearch input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: 15px var(--body); }
.searchbtn input::placeholder, .herosearch input::placeholder { color: var(--dim); }
.searchbtn input[type="search"]::-webkit-search-cancel-button, .herosearch input[type="search"]::-webkit-search-cancel-button { display: none; }
kbd { font: 12px var(--body); border: 1px solid var(--line2); border-radius: 6px; padding: 0 7px; color: var(--dim); }
.sx { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--text); font-size: 16px; line-height: 1; }

/* Gerüst */
.shell { position: relative; z-index: 2; display: grid; grid-template-columns: var(--side) minmax(0, 1fr) var(--tocw); gap: 22px; max-width: 1560px; margin: 0 auto; padding: 14px clamp(16px, 3vw, 40px) 40px; align-items: start; }
.shell:not(:has(.toc)) { grid-template-columns: var(--side) minmax(0, 1fr); }
.side, .toc { position: sticky; top: calc(var(--top) + 6px); max-height: calc(100vh - var(--top) - 24px); overflow: auto; padding: 22px 16px; border: 1px solid var(--gl-b); border-radius: 24px; background: var(--gl); backdrop-filter: blur(14px); box-shadow: var(--gl-s); }
.main { min-width: 0; }
.side-h { font: 600 12.5px var(--body); letter-spacing: .04em; color: var(--accent); margin: 22px 10px 8px; }
.side-h:first-child { margin-top: 0; }
.side ul, .toc ul { list-style: none; margin: 0; padding: 0; }
.side a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; border: 1px solid transparent; color: var(--text); font-size: 14.5px; line-height: 1.4; }
.side a:hover { background: rgba(255,255,255,.08); }
.side a.on { background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.1)); border-color: rgba(255,255,255,.4); box-shadow: 0 0 18px -6px rgba(184,170,255,.8), inset 0 1px rgba(255,255,255,.35); }
.side .num, .chapters .num { min-width: 22px; font: 500 13px var(--body); font-variant-numeric: tabular-nums; color: var(--accent); }
.side-ic { width: 20px; height: 20px; border-radius: 6px; flex: none; }
.toc a { display: block; padding: 5px 0 5px 12px; font-size: 13.5px; line-height: 1.4; color: var(--dim); border-left: 1px solid var(--line); }
.toc a:hover, .toc a.on { color: #fff; border-left-color: var(--accent); }
.toc .l3 a { padding-left: 26px; font-size: 13px; }

/* Inhalt */
.doc { padding: clamp(24px, 3.6vw, 52px); border: 1px solid var(--gl-b); border-radius: 28px; background: var(--gl); backdrop-filter: blur(12px); box-shadow: var(--gl-s); }
.eyebrow { font: 500 13px var(--body); letter-spacing: .04em; color: var(--accent); margin: 0 0 10px; }
.eyebrow a { color: inherit; }
.doc > h1, .main > h1 { font-size: clamp(34px, 4.2vw, 56px); margin: 0 0 22px; }
.doc h2 { font-size: clamp(25px, 2.6vw, 34px); margin: 2.1em 0 .5em; padding-top: .6em; border-top: 1px solid var(--line); line-height: 1.15; }
.doc h2:first-of-type { border-top: 0; margin-top: 1.4em; padding-top: 0; }
.doc h3 { font: 600 18px/1.3 var(--head); letter-spacing: -.01em; color: var(--accent); margin: 1.8em 0 .5em; }
.doc p, .doc li { color: rgba(248,247,244,.9); max-width: 74ch; }
.doc ul, .doc ol { padding-left: 1.3em; } .doc li { margin: .3em 0; } .doc li::marker { color: var(--accent); }
.doc strong { color: #fff; font-weight: 600; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(184,170,255,.4); } .doc a:hover { text-decoration-color: var(--accent); }
.doc code { font: .9em ui-monospace, Consolas, monospace; padding: 1px 7px; border-radius: 7px; background: rgba(255,255,255,.1); }
.lead { font-size: 20px; line-height: 1.55; color: var(--text); max-width: 640px; margin-top: 0; }
.doc img { display: block; max-width: 100%; height: auto; margin: 1.4em 0; padding: 8px; border: 1px solid var(--gl-b); border-radius: 16px; background: var(--gl); cursor: zoom-in; box-sizing: content-box; }
.doc img[src*="/ax5-travel/"], .doc img[src*="/ax5-card/"] { width: auto; max-height: 620px; }
.tablewrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.05); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 12.5px var(--body); color: var(--accent); background: rgba(255,255,255,.06); }
tr:last-child td { border-bottom: 0; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--line2); vertical-align: -3px; margin-right: 8px; }
.h1-ic { width: 46px; height: 46px; border-radius: 12px; vertical-align: -9px; margin-right: 14px; }
.chapters { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.chapters a { display: flex; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.06); color: var(--text); }
.chapters a:hover { background: rgba(255,255,255,.12); }
.btn { margin: 8px 0 26px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.pager a { display: block; padding: 16px 20px; border: 1px solid var(--gl-b); border-radius: 18px; background: var(--gl); backdrop-filter: blur(12px); color: var(--text); line-height: 1.35; }
.pager a:hover { background: rgba(255,255,255,.14); }
.pager small { display: block; font: 500 12.5px var(--body); color: var(--accent); margin-bottom: 4px; }
.pager .next { text-align: right; }

/* Startseite */
.hero { padding: 40px 0 8px; max-width: 860px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 72px); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; min-height: 190px; border: 1px solid var(--gl-b); border-radius: 24px; background: var(--gl); backdrop-filter: blur(12px); box-shadow: var(--gl-s); color: var(--text); }
a.card:hover { background: rgba(255,255,255,.14); }
.card h3 { font: 600 28px/1.15 var(--head); letter-spacing: -.02em; margin: 6px 0 0; }
.card p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.5; }
.card-ic { width: 52px; height: 52px; border-radius: 13px; margin-bottom: 6px; object-fit: cover; }
.card-k { font: 500 13px var(--body); color: var(--accent); }
.card-go { margin-top: auto; font: 500 14px var(--body); color: var(--accent); }
.card.soon { border-style: dashed; justify-content: center; background: transparent; box-shadow: none; }

/* Suche */
body.searching .main > :not(#live) { display: none !important; }
body.searching .toc { visibility: hidden; }
.live { padding: clamp(22px, 3vw, 40px); border: 1px solid var(--gl-b); border-radius: 28px; background: var(--gl); backdrop-filter: blur(12px); box-shadow: var(--gl-s); }
.live[hidden] { display: none; }
.live-h h2 { font-size: 26px; margin: 0 0 18px; } .live-h .q { color: var(--accent); }
.live-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.live-list a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.06); color: var(--text); }
.live-list a:hover, .live-list a:focus { background: rgba(255,255,255,.14); outline: 0; }
.live-list .r-g { display: block; font-size: 12.5px; color: var(--accent); }
.live-list .r-t { display: block; font: 600 16px/1.35 var(--head); margin: 3px 0 4px; }
.live-list .r-x { display: block; font-size: 14px; line-height: 1.55; color: var(--dim); }
.live mark { background: rgba(184,170,255,.3); color: #fff; border-radius: 3px; padding: 0 1px; }
.live-none { color: var(--dim); }
.zoom { position: fixed; inset: 0; z-index: 120; background: rgba(8,8,60,.82); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 18px; border: 1px solid var(--gl-b); }
*::-webkit-scrollbar { width: 10px; height: 10px; } *::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); border-radius: 10px; border: 2px solid transparent; background-clip: content-box; }
.scrim { display: none; }
.foot { position: relative; z-index: 2; }

@media (max-width: 1240px) { .shell, .shell:not(:has(.toc)) { grid-template-columns: var(--side) minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 960px) {
  .iconbtn.menu { display: grid; }
  .top { gap: 10px; } .brand .wk { display: none; } .brand { padding-right: .7rem; }
  .searchbtn { margin: 0; } .searchbtn kbd { display: none; }
  .shell, .shell:not(:has(.toc)) { display: block; padding-top: 6px; }
  .side { position: fixed; z-index: 80; top: calc(var(--top) + 4px); left: 12px; bottom: 84px; width: min(320px, calc(100vw - 24px)); max-height: none; background: rgba(22,24,130,.94); transform: translateX(-112%); transition: transform .25s; }
  body.nav-open .side { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(8,8,60,.5); }
  .pager { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .brand span:not(.wk) { display: none; } .brand { padding: 0 .4rem; } .doc { padding: 22px 18px; border-radius: 22px; } .hero h1 { font-size: 36px; } }

/* Große Bildschirme: die ganze Seite wächst gleichmäßig mit, etwas zurückhaltender als auf adlivo.dev */
@media (min-width: 1600px) { :root { --z: 1.08; } }
@media (min-width: 1920px) { :root { --z: 1.2; } }
@media (min-width: 2400px) { :root { --z: 1.45; } }
@media (min-width: 3000px) { :root { --z: 1.8; } }
main.main { zoom: 1; }
.shell { zoom: var(--z); }
.side, .toc { max-height: calc((100vh - 24px) / var(--z) - var(--top)); }
.hero, .app-hero { min-height: 0; }

/* Startseite: zentriert, ohne Seitenleiste, Karten direkt unter dem kurzen Einstieg */
.shell.nohub { display: block; max-width: 1180px; }
.iconbtn.menu.nomenu { display: none !important; }
.hero.home { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: none; padding: clamp(18px, 3.4vh, 44px) 0 6px; gap: 0; }
.hero.home .eyebrow { margin: 18px 0 8px; font-size: 13px; }
.hero.home h1 { font-size: clamp(32px, 4.2vw, 56px); max-width: 17ch; margin: 0 auto; min-height: 0; }
.hero.home .lead { margin: 14px auto 0; font-size: 17px; color: var(--dim); max-width: 46ch; }
.gts { display: flex; justify-content: center; gap: clamp(12px, 2vw, 22px); }
.gt { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 25%; border: 1px solid rgba(255,255,255,.4); background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.07)); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -16px rgba(5,5,80,.8), inset 0 1px rgba(255,255,255,.4); animation: gtfloat 5.2s ease-in-out infinite; animation-delay: calc(var(--k) * -1.1s); transition: transform .25s, background .25s; }
.gt img { width: 62%; height: 62%; border-radius: 22%; display: block; }
.gt:hover { background: linear-gradient(145deg, rgba(255,255,255,.34), rgba(255,255,255,.12)); transform: translateY(-4px) scale(1.04); animation-play-state: paused; }
@keyframes gtfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .gt { animation: none; } }
.shell.nohub .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 22px; }
.shell.nohub .card { min-height: 0; }
@media (max-width: 560px) { .gt { width: 58px; height: 58px; } .hero.home h1 { font-size: 30px; } }
body .hero, body .hero.home { min-height: 0 !important; justify-content: flex-start; }
.shell.nohub .card.soon { display: none; }
.shell.nohub .card { text-align: left; }

/* Startseite mit mehr Luft: der Einstieg füllt den ersten Bildschirm, die Fußzeile erscheint erst beim Weiterscrollen */
.shell.nohub { min-height: calc(100vh / var(--z) - var(--top)); display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(40px, 8vh, 110px); }
.hero.home { padding: 0 0 4px; }
.hero.home .eyebrow { margin: 0 0 14px; font-size: 14px; }
.hero.home h1 { font-size: clamp(36px, 4.8vw, 66px); max-width: 18ch; }
.hero.home .lead { margin-top: 18px; font-size: 19px; }
.shell.nohub .cards { margin-top: clamp(30px, 6vh, 64px); gap: 20px; width: 100%; }
.shell.nohub .card { padding: 26px; }
.shell.nohub { width: 100%; padding-top: 24px; } .shell.nohub .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1000px) { .shell.nohub .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .shell.nohub .cards { grid-template-columns: 1fr; } }

/* Symmetrie (Tabellenschema): Kopfzeile und Inhalt teilen sich dieselben Spalten. Links Seitenleiste = Marke, Mitte Artikel = Suche (gleiche Breite und Mitte), rechts Verzeichnis = Navigation und Sprache. */
:root { --side: 300px; --tocw: 300px; --gap: 22px; --pad: clamp(16px, 3vw, 40px); }
.top { display: grid; grid-template-columns: var(--side) minmax(0, 1fr) var(--tocw); column-gap: var(--gap); align-items: center; max-width: 1560px; margin: 0 auto; padding: 0 var(--pad); }
.top .brand { justify-self: start; }
.top .searchbtn { grid-column: 2; justify-self: stretch; max-width: none; margin: 0; }
.top .top-r { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; }
.top .nav { margin: 0; gap: 1.2rem; padding: 0 1.1rem; }
@media (min-width: 961px) { .top .nav a:first-child { display: none; } }
@media (max-width: 1240px) and (min-width: 961px) { .top { grid-template-columns: auto minmax(0, 1fr) auto; } .top .top-r { grid-column: 3; } }
@media (max-width: 960px) { .top { display: flex; } .top .iconbtn.menu { display: grid; } .top .top-r { margin-left: auto; } .top .searchbtn { flex: 1 1 auto; } }
.top .iconbtn.menu { display: none; }
.shell { column-gap: var(--gap); padding-left: var(--pad); padding-right: var(--pad); }

/* Kopfzeile spiegelbildlich: links die Marke des Wikis über der Seitenleiste, rechts adlivo.dev mit Logo über dem Verzeichnis, jeweils so breit wie die Karte darunter */
.top .brand { justify-self: stretch; width: auto; justify-content: center; }
.top .top-r { justify-self: stretch; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }
.top .top-r .brand-r { min-width: 0; }
@media (min-width: 961px) { .top .nav { display: none; } }
@media (max-width: 1240px) and (min-width: 961px) { .top .brand { justify-self: start; } .top .top-r { justify-self: end; grid-template-columns: auto auto; } }
@media (max-width: 960px) { .top .brand-r { display: none; } .top .top-r { display: flex; } .top .brand { width: auto; } }
/* Bilder reservieren ihren Platz schon vor dem Laden (Breite und Höhe aus dem Bild), damit beim Wechsel zwischen den Tools nichts springt */
.doc img[src*="/ax5-travel/"], .doc img[src*="/ax5-card/"] { height: 620px; width: auto; max-width: 100%; max-height: none; }

/* Marken-Kapseln: Zeichen links bündig mit den Symbolen der Seitenleiste darunter, Zusatz (wiki, .dev) dicht am Namen, rechts passend verkleinert */
.top .brand { gap: .65rem; font-size: 1.6rem; justify-content: flex-start; padding: 0 .85rem 0 17px; }
.top .brand .wk { font: 600 .5em/1 var(--head); letter-spacing: 0; margin-left: -.5rem; color: var(--dim); }
.top .brand-r { justify-content: center; font-size: 1.4rem; gap: .5rem; padding: 0 .65rem 0 .4rem; }
.top .brand-r img { width: 34px; height: 34px; }
.top .brand-r .wk { margin-left: -.42rem; font-size: .56em; }
@media (max-width: 960px) { .top .brand { padding: 0 .85rem 0 .4rem; font-size: 1.5rem; } }

/* Marken-Kapseln, Feinschliff: Zusatz (wiki, .dev) in gleicher Schrift und Größe wie der Name, nur gedämpft; Zeichen links bündig mit den Symbolen der Seitenleiste */
:root { --side: 312px; --tocw: 312px; --lx: 21px; }
.side, .toc { padding-left: 12px; padding-right: 12px; }
.side a { padding-left: 8px; padding-right: 8px; }
.side-h { margin-left: 8px; margin-right: 8px; }
.top .brand, .top .brand-r { font-size: 1.3rem; gap: .6rem; padding: 0 .8rem 0 var(--lx); justify-content: flex-start; }
.top .brand img, .top .brand-r img { width: 38px; height: 38px; }
.top .brand .wk, .top .brand-r .wk { font: inherit; letter-spacing: inherit; color: var(--dim); margin-left: -.6rem; }
.top .brand .wk { margin-left: -.18rem; }
.top .seg button { width: 42px; }
.top .brand-r .wk { margin-left: -.8rem; }

/* Smartphone und Tablet: Marke mittig, links Menü und Suche, rechts ein kompakter Sprachknopf; gleiche Ränder links und rechts; keine untere Leiste */
@media (max-width: 960px) {
  .top { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 8px; padding: 0 16px; max-width: none; }
  .top .iconbtn.menu { display: grid; grid-column: 1; grid-row: 1; justify-self: start; width: 44px; height: 44px; border-radius: 14px; }
  .top .searchbtn { grid-column: 1; grid-row: 1; justify-self: start; margin: 0 0 0 52px; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 14px; cursor: pointer; }
  .top .searchbtn input, .top .searchbtn kbd, .top .searchbtn .sx { display: none; }
  .top .brand { grid-column: 2; justify-self: center; width: auto; height: 48px; padding: 0 .8rem 0 .4rem; justify-content: center; font-size: 1.1rem; gap: .5rem; }
  .top .brand img { width: 34px; height: 34px; }
  .top .brand .wk { margin-left: -.35rem; }
  .top .top-r { grid-column: 3; justify-self: end; display: flex; }
  .top .nav, .top .brand-r { display: none; }
  .top .seg { height: 44px; padding: 0; gap: 0; border-radius: 14px; }
  .top .seg button { width: 44px; height: 42px; margin: 0; }
  .top .seg button.on { display: none; }
  .top .seg button:not(.on) { background: transparent; border-color: transparent; color: #fff; font-weight: 600; }
  .top .searchbtn.open { position: fixed; z-index: 90; left: 16px; right: 16px; top: 14px; width: auto; height: 52px; margin: 0; padding: 0 16px; justify-content: flex-start; background: rgba(20,22,130,.94); }
  .top .searchbtn.open input { display: block; } .top .searchbtn.open .sx:not([hidden]) { display: block; }
  .side { bottom: 16px; }
  .foot { padding-bottom: 40px; }
}
@media (max-width: 560px) { .top .brand .wk { display: none; } }

/* Smartphone und Tablet, Runde 2: die Suche steht als ganzes Feld in der Mitte (Menü links, Sprachknopf rechts, gleich breit); das Menü liegt sichtbar über dem Inhalt */
.side-brand { display: none; }
@media (max-width: 960px) {
  .top { grid-template-columns: 44px minmax(0, 1fr) 44px; column-gap: 10px; }
  .top .brand { display: none; }
  .top .iconbtn.menu { grid-column: 1; }
  .top .searchbtn { grid-column: 2; justify-self: center; width: 100%; max-width: 620px; height: 44px; margin: 0; padding: 0 14px; justify-content: flex-start; border-radius: 14px; cursor: text; }
  .top .searchbtn input { display: block; font-size: 15px; } .top .searchbtn .sx:not([hidden]) { display: block; } .top .searchbtn kbd { display: none; }
  .top .top-r { grid-column: 3; }
  .shell, .shell:not(:has(.toc)) { z-index: auto; }
  .scrim { z-index: 45; }
  body.nav-open .scrim { z-index: 45; background: rgba(8,8,60,.45); }
  .side { z-index: 80; background: rgba(28,30,150,.97); backdrop-filter: blur(18px); }
  .side-brand { display: flex; align-items: center; gap: .6rem; padding: 4px 8px 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font: 400 1.3rem/1 "Iceland", sans-serif; letter-spacing: .08em; color: #f8f7f4; }
  .side-brand img { width: 38px; height: 38px; }
  .side-brand .wk { font: inherit; letter-spacing: inherit; color: var(--dim); margin-left: -.2rem; }
}
@media (max-width: 560px) { .top .searchbtn { padding: 0 12px; } }
@media (max-width: 960px) { .top .seg button { width: 42px; } .top .top-r { width: 44px; } }

/* Runde 3: Ränder von Kopfzeile und Inhalt sind auf Handy und Tablet identisch; auf der Startseite füllt das Zeichen (Link zur Wiki-Startseite) die Lücke links */
.brand-m { display: none; }
@media (max-width: 960px) {
  .top { padding: 0 var(--pad); }
  body:has(.shell.nohub) .brand-m { display: grid; grid-column: 1; grid-row: 1; justify-self: start; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgba(220,226,255,.28); background: rgba(10,10,60,.32); backdrop-filter: blur(18px); box-shadow: inset 0 1px rgba(255,255,255,.12); }
  .brand-m img { width: 34px; height: 34px; display: block; }
}
.shell.nohub .card, .shell.nohub .card h3, .shell.nohub .card p { text-align: left; align-items: flex-start; } .shell.nohub .card h3 { align-self: stretch; }
@media (max-width: 960px) { body:has(.shell.nohub) .brand-m { border: 0; background: none; box-shadow: none; backdrop-filter: none; } .brand-m img { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(123,95,255,.26)); } }

/* Handy: Karten kompakter. Symbol links, daneben Titel und Seitenzahl, darunter der Satz (Titel rückt nach oben) */
@media (max-width: 700px) {
  .shell.nohub a.card { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: center; padding: 20px; min-height: 0; }
  .shell.nohub a.card .card-ic { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .shell.nohub a.card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 26px; align-self: end; }
  .shell.nohub a.card .card-k { grid-column: 2; grid-row: 2; align-self: start; margin-top: 2px; }
  .shell.nohub a.card p { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
  .shell.nohub a.card .card-go { grid-column: 1 / -1; grid-row: 4; margin-top: 10px; }
  .shell.nohub .cards { gap: 14px; }
}
.nw { white-space: nowrap; }
