:root {
  /* Palette from the website prototype (design/prototyp.html) */
  --clusterwerft-dark:   #142F7C;
  --clusterwerft-light:  #A9BCD6;
  --clusterwerft-orange: #F26B21;
  --bg:                  #F3F1EE;
  --grid:                #E6E5E8;
  --text:                #1D2A4D;
  --text-muted:          #5A6482;
  --font:                'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --card:       #FFFDFB;
  --chip:       #F1F2F5;
  --tint:       #E3E9F4;
  --line:       #DDE1EA;
  --outline:    #B7C3DB;
  --shadow:     5px 5px 0 var(--clusterwerft-dark);
  --shadow-sm:  3px 3px 0 var(--clusterwerft-dark);
  --r:          12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button, input, select { font-family: inherit; }
:focus-visible { outline: 3px solid var(--clusterwerft-orange); outline-offset: 3px; }

/* ---------- Header ---------- */

header {
  background: var(--clusterwerft-dark);
  border-bottom: 4px solid #8FA0C4;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px;
}
.top-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-img {
  height: 28px;
  width: auto;
}
.logo-tagline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  font-size: 22px;
  letter-spacing: -.01em;
  border-left: 2px solid #6F82B3;
  padding-left: 12px;
}
.tagline-pre {
  font-weight: 400;
  color: #C8D2EA;
}
.tagline-name {
  font-weight: 700;
  color: #fff;
  padding-bottom: 2px;
  border-bottom: 3px solid var(--clusterwerft-orange);
}

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-help {
  background: var(--clusterwerft-orange); color: #fff; border: 0; border-radius: 4px;
  padding: 9px 18px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.domain {
  border: 1.5px solid #8FA0C4; border-radius: 999px; padding: 5px 14px;
  font-size: 13px; letter-spacing: .1em; font-weight: 600; color: #C8D2EA;
}
.lang { display: flex; gap: 6px; }
.lang button {
  background: transparent; color: #C8D2EA; border: 1.5px solid #3C5596; border-radius: 4px;
  padding: 4px 10px; font-weight: 700; font-size: 13px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--clusterwerft-light); color: var(--clusterwerft-dark); border-color: var(--clusterwerft-light); }

/* ---------- Main ---------- */

main {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 16px 80px;
}

/* Breadcrumb + section label */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }
.crumbs a { color: var(--clusterwerft-dark); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--clusterwerft-light); }
.crumbs a:hover { border-color: var(--clusterwerft-orange); }
.eyebrow { display: flex; align-items: center; gap: 22px; }
.eyebrow span {
  background: var(--clusterwerft-light); color: #fff; font-weight: 700; letter-spacing: .14em; font-size: 14px;
  padding: 5px 16px; border-radius: 4px; text-transform: uppercase; white-space: nowrap;
}
.eyebrow::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.lede { margin: 18px 0 32px; color: var(--text-muted); font-size: 17px; max-width: 65ch; }

/* Kacheln (start page) */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-bottom: 52px; }
.all-head { margin-bottom: 22px; }
.kachel {
  text-align: left; text-decoration: none; color: var(--text);
  background: var(--card); border: 2px solid var(--clusterwerft-dark); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: transform .12s ease, box-shadow .12s ease;
}
a.kachel:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--clusterwerft-dark); }
.kachel .head { display: flex; gap: 16px; align-items: center; }
.kachel h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.2; font-weight: 700; color: var(--clusterwerft-dark); text-wrap: balance; }
.kachel p { margin: 0; color: var(--text-muted); font-size: 15.5px; }
.kachel .open {
  margin-top: auto; text-align: center; background: var(--clusterwerft-light); color: #fff; font-weight: 700; font-size: 16px;
  border: 2px solid var(--clusterwerft-dark); border-radius: 6px; box-shadow: var(--shadow-sm); padding: 9px;
}
.kachel .open small { font-weight: 500; opacity: .9; }
.kachel.placeholder { border-style: dashed; box-shadow: none; background: transparent; grid-column: 1 / -1; align-items: center; text-align: center; padding: 40px 24px; }

.icon {
  flex: none; width: 56px; height: 56px; border: 2px solid var(--clusterwerft-dark); border-radius: 10px; background: #fff;
  box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: 25px; font-weight: 700; color: var(--clusterwerft-dark);
}
.tag {
  display: inline-block; background: var(--chip); border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px;
  font-size: 11.5px; letter-spacing: .1em; font-weight: 600; text-transform: uppercase; color: var(--text-muted);
}
.tag.problem { background: #FDECE2; border-color: #F6C3A3; color: #B2470C; }
.tag.howto   { background: var(--tint); border-color: #C7D3E8; color: var(--clusterwerft-dark); }

/* Block page */
.cat-head { display: flex; gap: 18px; align-items: center; margin-bottom: 28px; }
.cat-head h1 { margin: 0; font-size: 32px; line-height: 1.15; color: var(--clusterwerft-dark); text-wrap: balance; }
.cat-head p { margin: 4px 0 0; color: var(--text-muted); }

/* Search + filters */
.search {
  display: flex; background: var(--card); border: 2px solid var(--clusterwerft-dark); border-radius: var(--r);
  box-shadow: var(--shadow-sm); margin-bottom: 20px; position: relative; z-index: 5;
}
.search label.q { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 18px; min-width: 0; color: var(--text-muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; padding: 14px 0; color: var(--text); outline: none; }
.search input::placeholder { color: #8A93AD; }

/* App dropdown */
.apps { position: relative; display: flex; border-left: 2px solid var(--clusterwerft-dark); }
.apps > button {
  display: flex; align-items: center; gap: 10px; min-width: 210px; height: 100%; padding: 0 16px 0 18px;
  background: var(--tint); border: 0; border-radius: 0 calc(var(--r) - 2px) calc(var(--r) - 2px) 0;
  color: var(--clusterwerft-dark); font-weight: 700; font-size: 15px; cursor: pointer; text-align: left;
}
.apps > button:hover { background: #D6DFEF; }
.apps .app-ico { width: 22px; text-align: center; flex: none; }
.apps .app-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apps .caret { font-size: 13px; transition: transform .12s ease; }
.apps > button[aria-expanded="true"] .caret { transform: rotate(180deg); }
.apps ul {
  position: absolute; top: calc(100% + 8px); right: -2px; min-width: calc(100% + 4px); max-height: 380px; overflow-y: auto;
  list-style: none; padding: 6px; background: var(--card); border: 2px solid var(--clusterwerft-dark);
  border-radius: 10px; box-shadow: var(--shadow); outline: none;
}
.apps li {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px;
  font-weight: 600; font-size: 15px; color: var(--text); cursor: pointer; border: 1.5px solid transparent;
}
.apps li:first-child { margin-bottom: 4px; }
.apps li.active { background: #F7F8FB; border-color: var(--outline); }
.apps li[aria-selected="true"] { background: var(--tint); border-color: var(--clusterwerft-dark); color: var(--clusterwerft-dark); box-shadow: 2px 2px 0 var(--clusterwerft-dark); }
.apps li.none { color: var(--text-muted); }
.apps .app-count {
  min-width: 26px; padding: 0 6px; border-radius: 4px; background: var(--chip); border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; color: var(--text-muted); text-align: center; font-variant-numeric: tabular-nums;
}
.apps li[aria-selected="true"] .app-count { background: #fff; border-color: var(--outline); color: var(--clusterwerft-dark); }

.facets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row .lbl { font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--text-muted); text-transform: uppercase; width: 64px; }
.chip { background: var(--card); border: 1.5px solid var(--outline); border-radius: 6px; padding: 5px 14px; font-weight: 600; font-size: 14px; color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--clusterwerft-dark); }
.chip[aria-pressed="true"] { background: var(--tint); border-color: var(--clusterwerft-dark); color: var(--clusterwerft-dark); box-shadow: 2px 2px 0 var(--clusterwerft-dark); }
.seg { display: inline-flex; border: 1.5px solid var(--outline); border-radius: 6px; overflow: hidden; background: var(--card); }
.seg button { border: 0; background: transparent; padding: 5px 14px; font-weight: 600; font-size: 14px; color: var(--text); cursor: pointer; }
.seg button + button { border-left: 1.5px solid var(--outline); }
.seg button[aria-pressed="true"] { background: var(--tint); color: var(--clusterwerft-dark); }

/* Ordered article list */
.list { background: var(--card); border: 2px solid var(--clusterwerft-dark); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.list-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 22px; background: var(--chip);
  border-bottom: 1.5px solid var(--line); font-size: 12.5px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; color: var(--text-muted);
}
.list ol, .list ul { list-style: none; }
.list li + li { border-top: 1.5px solid var(--line); }
.art { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 22px; color: var(--text); text-decoration: none; }
.art:hover { background: #F7F8FB; }
.art:hover .go { color: var(--clusterwerft-orange); }
.num {
  width: 36px; height: 36px; border: 1.5px solid var(--outline); border-radius: 8px; display: grid; place-items: center;
  font-weight: 700; color: var(--clusterwerft-dark); font-variant-numeric: tabular-nums; background: #fff;
}
.art.plain { grid-template-columns: minmax(0, 1fr) auto; }
.art h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.meta { display: flex; gap: 6px; flex-wrap: wrap; }
.go { font-weight: 700; font-size: 14px; color: var(--clusterwerft-dark); white-space: nowrap; }
.empty { padding: 56px 24px; text-align: center; color: var(--text-muted); }
.empty b { display: block; font-size: 18px; color: var(--text); margin-bottom: 10px; }
mark { background: #FFE0C9; color: inherit; border-radius: 2px; }

/* Article page */
.doc { background: var(--card); border: 2px solid var(--clusterwerft-dark); border-radius: var(--r); box-shadow: var(--shadow); padding: 36px 40px; }
.doc .head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.doc h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.15; color: var(--clusterwerft-dark); text-wrap: balance; }
.callout { margin-top: 26px; border: 1.5px solid #F6B893; border-left: 5px solid var(--clusterwerft-orange); background: #FFF6F0; border-radius: 8px; padding: 14px 18px; }
.callout b { color: #B2470C; }
.doc .foot {
  margin-top: 32px; padding-top: 18px; border-top: 1.5px solid var(--line);
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--text-muted); font-size: 14px;
}
.btn {
  background: var(--clusterwerft-light); color: #fff; border: 2px solid var(--clusterwerft-dark); box-shadow: var(--shadow-sm);
  border-radius: 6px; padding: 8px 18px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none;
}
.btn.alt { background: var(--clusterwerft-orange); }
.btn.ghost { background: var(--card); color: var(--clusterwerft-dark); }
/* Previous / next: compact, at the top and bottom inside the article box */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pager.p-top { margin: -12px 0 22px; padding-bottom: 14px; border-bottom: 1.5px solid var(--line); }
.pager.p-bottom { margin-top: 18px; padding-top: 14px; border-top: 1.5px solid var(--line); }
.pager a {
  display: inline-flex; align-items: center; gap: 6px; max-width: 42%; min-width: 0; background: var(--tint);
  border: 1.5px solid var(--clusterwerft-dark); box-shadow: 2px 2px 0 var(--clusterwerft-dark); border-radius: 6px;
  padding: 4px 10px; text-decoration: none; color: var(--clusterwerft-dark); font-weight: 700; font-size: 13px;
}
.pager a:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--clusterwerft-dark); }
.pager a span { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pager .pos { font-weight: 700; font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.loading { color: var(--text-muted); text-align: center; padding: 48px 0; }

/* ---------- Article content (HTML imported from the previous wiki) ---------- */

.article-body { font-size: 16px; line-height: 1.6; }
.article-body section { padding: 0; margin-top: 36px; }
.article-body section:first-of-type { margin-top: 28px; }
.article-body h2 { font-size: 23px; line-height: 1.25; font-weight: 700; color: var(--clusterwerft-dark); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.article-body h3 { font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--clusterwerft-dark); margin-bottom: 8px; }
.article-body p { margin-bottom: 12px; max-width: 75ch; }
.article-body ul, .article-body ol:not(.steps):not(.legende) { margin: 0 0 12px 22px; max-width: 75ch; }
.article-body li { margin-bottom: 4px; }
.article-body a { color: var(--clusterwerft-dark); font-weight: 600; text-decoration: underline; text-decoration-color: var(--clusterwerft-light); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--clusterwerft-orange); }
.article-body b, .article-body strong { font-weight: 600; color: var(--text); }
.article-body .tagline { font-size: 21px; font-weight: 700; color: var(--clusterwerft-dark); margin-bottom: 6px; }
.article-body .lede { font-size: 18px; color: var(--text-muted); }
.article-body .muted { color: var(--text-muted); }
.article-body .kicker { color: var(--text-muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.article-body p:last-child, .article-body ul:last-child { margin-bottom: 0; }

/* Cards, boxes, warnings */
.article-body .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.article-body .card { background: #fff; border: 1.5px solid var(--outline); border-radius: 10px; padding: 20px 22px; }
.article-body .box { background: #FFF6F0; border: 1.5px solid #F6B893; border-radius: 10px; padding: 20px 22px; margin: 16px 0; }
.article-body .num { display: block; font-size: 26px; font-weight: 700; color: var(--clusterwerft-dark); margin-bottom: 4px; }
.article-body .warn { border: 1.5px solid var(--outline); border-left: 5px solid var(--clusterwerft-dark); background: var(--tint); border-radius: 8px; padding: 14px 18px; margin: 18px 0; }
.article-body .warn strong { color: var(--clusterwerft-dark); }

/* Numbered steps */
.article-body ol.steps { counter-reset: step; list-style: none; margin: 20px 0 0; }
.article-body ol.steps > li { position: relative; padding: 0 0 28px 52px; }
.article-body ol.steps > li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border: 1.5px solid var(--clusterwerft-dark); border-radius: 8px; background: var(--tint);
  color: var(--clusterwerft-dark); display: grid; place-items: center; font-weight: 700; font-size: 15px; box-shadow: 2px 2px 0 var(--clusterwerft-dark);
}
.article-body ol.steps > li.einschub::before { content: none; }
.article-body ol.steps > li.einschub { border-left: 3px solid var(--line); margin-left: 16px; padding-left: 34px; }

/* Screenshots with numbered legend */
.article-body figure { margin: 18px 0; }
.article-body figure img { width: 100%; height: auto; display: block; border: 1.5px solid var(--outline); border-radius: 10px; background: #fff; }
.article-body figure.narrow { max-width: 640px; }
.article-body figcaption { color: var(--text-muted); font-size: 15px; margin-top: 10px; }
.article-body figcaption b { color: var(--clusterwerft-dark); }
.article-body .legende { list-style: none; counter-reset: m; margin: 8px 0 0; }
.article-body .legende li { counter-increment: m; position: relative; padding: 0 0 6px 32px; color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.article-body .legende li::before {
  content: counter(m); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--clusterwerft-orange); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center;
}
.article-body .legende b { color: var(--clusterwerft-dark); }
.article-body .legende.manuell { counter-reset: none; }
.article-body .legende.manuell li { padding-left: 44px; }
.article-body .legende.manuell li::before { content: none; }
.article-body .marke {
  position: absolute; left: 0; top: 1px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--clusterwerft-orange);
  color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center;
}
.article-body .bildpaar { display: grid; grid-template-columns: 1.9fr 1fr; gap: 48px; align-items: start; margin: 18px 0; }
.article-body .bildpaar figure { margin: 0; }
.article-body .bildwrap { position: relative; }
.article-body .pfeil { position: absolute; top: 85.4%; right: -46px; transform: translateY(-50%); color: var(--clusterwerft-orange); line-height: 0; }

/* Tables */
.article-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.article-body th { background: var(--chip); color: var(--clusterwerft-dark); font-weight: 700; text-align: left; }
.article-body th, .article-body td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body tr:last-child td { border-bottom: 0; }
.article-body .ja, .article-body .nein { font-weight: 700; }
.article-body .ja { color: #1F7A3D; }
.article-body .nein { color: #A3341F; }

/* Code, keys, menu paths, address bar */
.article-body code, .article-body pre { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 14px; }
.article-body code { background: var(--chip); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; color: var(--clusterwerft-dark); }
.article-body pre { background: var(--clusterwerft-dark); color: #EAF1FA; border-radius: 8px; padding: 16px 20px; overflow-x: auto; margin: 14px 0; line-height: 1.6; }
.article-body pre code { background: none; border: 0; padding: 0; color: inherit; }
.article-body pre .c { color: var(--clusterwerft-light); }
.article-body pre .o { color: var(--clusterwerft-orange); }
.article-body pre .hl { display: block; background: rgba(255, 105, 12, .22); box-shadow: inset 3px 0 0 var(--clusterwerft-orange); margin: 0 -20px; padding: 0 20px 0 17px; }
.article-body .legend { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 15px; margin: -6px 0 14px; }
.article-body .legend i { width: 14px; height: 14px; border-radius: 3px; background: rgba(255, 105, 12, .22); box-shadow: inset 3px 0 0 var(--clusterwerft-orange); display: inline-block; flex: none; }
.article-body .k, .article-body .pfad span {
  background: var(--chip); border: 1px solid var(--outline); border-radius: 4px; padding: 0 6px;
  color: var(--clusterwerft-dark); font-weight: 600; font-size: .92em; white-space: nowrap;
}
.article-body .pfad { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 2px 0; }
.article-body .pfad span + span::before { content: "\203A"; color: var(--text-muted); font-weight: 400; margin-right: 6px; }
.article-body .urlbar {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--outline); border-radius: 999px;
  padding: 8px 16px; margin: 14px 0; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 15px; overflow-x: auto;
}
.article-body .urlbar svg { flex: none; }
.article-body .urlbar .host, .article-body .urlbar .rest { color: var(--text-muted); }
.article-body .urlbar mark { background: #FFE0C9; border: 1px solid #F6B893; border-radius: 4px; padding: 0 5px; color: var(--clusterwerft-dark); font-weight: 700; }
.article-body .urlbar .cap { margin-left: auto; padding-left: 16px; font-family: var(--font); font-size: 13px; color: var(--text-muted); white-space: nowrap; }

/* Choice cards (recommended / alternative / not recommended) */
.article-body .wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 20px; }
.article-body .wahl > div { background: #fff; border: 1.5px solid var(--outline); border-radius: 10px; padding: 0 22px 22px; display: flex; flex-direction: column; overflow: hidden; }
.article-body .wahl .stufe { margin: 0 -22px 16px; padding: 8px 22px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.article-body .wahl .standard { border-color: var(--clusterwerft-dark); box-shadow: var(--shadow-sm); }
.article-body .wahl .standard .stufe { background: var(--clusterwerft-dark); color: #fff; }
.article-body .wahl .alternative .stufe { background: #FFF6F0; color: #B2470C; border-bottom: 1px solid #F6B893; }
.article-body .wahl .abraten .stufe { background: var(--chip); color: var(--text-muted); border-bottom: 1px solid var(--line); }
.article-body .wahl ul { margin-top: 10px; }
.article-body .wahl p.schluss { margin-top: auto; padding-top: 14px; margin-bottom: 0; }

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 2px solid rgba(6, 49, 128, 0.1);
}
footer strong {
  color: var(--clusterwerft-dark);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .article-body .bildpaar { grid-template-columns: 1fr; gap: 20px; }
  .article-body .pfeil { display: none; }
}
@media (max-width: 640px) {
  main { padding-block: 28px 60px; }
  .logo-img { height: 22px; }
  .logo-tagline { font-size: 18px; padding-left: 10px; }
  .cats { grid-template-columns: 1fr; gap: 20px; }
  .art { grid-template-columns: 36px minmax(0, 1fr); padding: 14px 16px; }
  .art.plain { grid-template-columns: 1fr; }
  .pager a span { display: none; }
  .domain { display: none; }
  .go { display: none; }
  .doc { padding: 22px; }
  .article-body ol.steps > li { padding-left: 46px; }
  .article-body table { display: block; overflow-x: auto; }
  .doc h1, .cat-head h1 { font-size: 24px; }
  .row .lbl { width: 100%; }
}
@media (max-width: 460px) {
  .search { flex-direction: column; }
  .apps { border-left: 0; border-top: 2px solid var(--clusterwerft-dark); }
  .apps > button { width: 100%; padding: 12px 16px 12px 18px; border-radius: 0 0 calc(var(--r) - 2px) calc(var(--r) - 2px); }
  .apps ul { left: -2px; right: -2px; }
  .doc .head .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
