/* ==========================================================================
   WSF – Württembergische Spiralsiebfabrik GmbH
   Design „Premium Blau“ – statische Website, keine externen Schriften/Dienste
   ========================================================================== */
:root {
  --fg: #0d1b26;          /* Text */
  --fg-2: #5b6874;        /* Nebentext */
  --line: #d6dde3;
  --bg: #fff;
  --bg-2: #f0f4f7;
  --blue: #0080c9;        /* Logo-Blau */
  --blue-d: #006aa6;
  --navy: #0a2a43;
  --navy-2: #0f3554;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-d: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --max: 1360px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-d); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--fg); }
.in { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
svg { fill: currentColor; }

/* ---------------------------------------------------------------- Kopfzeile */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.hd .in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo img { display: block; width: 168px; height: auto; }
.mn { display: flex; align-items: center; gap: 40px; }
.mn > ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.mn > ul > li { position: relative; display: flex; align-items: center; }
.mn > ul > li > a { color: var(--fg); text-decoration: none; font-size: 15px; padding: 24px 0; position: relative; }
.mn > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.mn > ul > li > a:hover::after, .mn > ul > li.on > a::after { transform: scaleX(1); }
.sub-toggle { border: 0; background: none; color: var(--fg-2); width: 24px; height: 24px; padding: 0; margin-left: 2px; cursor: pointer; display: grid; place-items: center; }
.sub-toggle svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 300px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(13, 27, 38, .12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.sub a { display: block; padding: 9px 18px; color: var(--fg); text-decoration: none; font-size: 15px; }
.sub a:hover, .sub a[aria-current] { color: var(--blue-d); background: var(--bg-2); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.lg { display: flex; gap: 14px; font-size: 14px; }
.lg a { color: var(--fg-2); text-decoration: none; }
.lg a[aria-current] { color: var(--fg); font-weight: 600; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 12px; width: 18px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease), background .3s; content: ""; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; } .nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .mn { position: fixed; inset: 72px 0 auto 0; max-height: calc(100vh - 72px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 20px; padding: 12px clamp(20px, 4vw, 64px) 28px; display: none; box-shadow: 0 18px 40px rgba(13, 27, 38, .12); }
  .mn.open { display: flex; }
  .mn > ul { flex-direction: column; gap: 0; }
  .mn > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .mn > ul > li > a { flex: 1; padding: 14px 0; font-size: 16px; }
  .mn > ul > li > a::after { display: none; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub { position: static; min-width: 0; width: 100%; border: 0; box-shadow: none; padding: 0 0 10px 12px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
}

/* ---------------------------------------------------------------- Bildwechsel (wie alte Bildleiste) */
.band { position: relative; background: var(--navy); overflow: hidden; }
.slides { position: relative; aspect-ratio: 1280 / 350; }
.band-home .slides { aspect-ratio: 1280 / 440; min-height: 440px; }
.band-default .slides { aspect-ratio: auto; height: clamp(220px, 22vw, 320px); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s var(--ease), transform 8s linear; }
.slides img.act { opacity: 1; transform: scale(1); }
.slides .slide-link { position: absolute; inset: 0; pointer-events: none; }
.slides .slide-link:has(img.act) { pointer-events: auto; }
.band-default::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 42, 67, .82) 0%, rgba(10, 42, 67, .45) 40%, rgba(10, 42, 67, .1) 75%); pointer-events: none; }
.band-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(24px, 3vw, 40px); }
.band-title h1 { color: #fff; margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); max-width: 24em; }
.band-title h1 { opacity: 0; transform: translateY(12px); animation: up .9s var(--ease) .15s forwards; }
@keyframes up { to { opacity: 1; transform: none; } }
.prog { position: absolute; z-index: 3; right: clamp(20px, 4vw, 64px); bottom: clamp(24px, 3vw, 40px); display: flex; gap: 8px; }
.prog button { width: 42px; height: 2px; padding: 0; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; position: relative; overflow: hidden; }
.prog button::before { content: ""; position: absolute; inset: -12px 0; }
.prog button span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.prog button.act span { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------------------------------------------------------------- Inhalt */
.sec { padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 8vw, 120px); }
.prose { max-width: 980px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .5em; }
.prose h2 strong, .prose h3 strong { font-weight: inherit; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; max-width: 78ch; }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--blue); }
.prose img { display: block; margin: 1.2em 0; }
.prose p > img { margin: 0; }
.prose .center { text-align: center; margin-left: auto; margin-right: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose .lead { color: var(--fg-2); font-size: 17px; }

/* Startseite: zentrierter Artikel wie auf der alten Seite */
.prose.home { margin: 0 auto; max-width: 860px; text-align: center; }
.prose.home h2 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); margin: 0 0 .3em; }
.prose.home h3 { font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--blue); margin: 0 0 2em; }
.prose.home p { color: var(--fg-2); margin-left: auto; margin-right: auto; }
.prose.home a { color: var(--blue-d); }

/* Tabellen */
.table-wrap { overflow-x: auto; margin: 1.6em 0; -webkit-overflow-scrolling: touch; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
.table-wrap td, .table-wrap th { border-bottom: 1px solid var(--line); padding: 11px 14px; vertical-align: middle; text-align: left; }
.table-wrap tr:first-child td { border-top: 1px solid var(--line); }
.table-wrap td a { display: block; text-decoration: none; font-weight: 600; }
.table-wrap td a:hover { text-decoration: underline; }
.table-wrap td p { margin: .3em 0; }
.table-wrap tr:hover td { background-color: rgba(0, 128, 201, .04); }
.table-wrap + .table-wrap { margin-top: -1.6em; }
.table-wrap + .table-wrap tr:first-child td { border-top: 0; }
.table-wrap.kv table { min-width: 0; }
.table-wrap.kv td:first-child { width: 34%; color: var(--fg-2); }
@media (max-width: 560px) {
  .table-wrap.kv tr, .table-wrap.kv td { display: block; width: 100% !important; }
  .table-wrap.kv td:first-child { border-bottom: 0; padding-bottom: 0; }
}
.media-row { display: grid; gap: 28px; margin: 1.6em 0; align-items: start; }
.media-row.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-row.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-cell > :first-child { margin-top: 0; }
.media-cell img { margin: 0 auto; }
@media (max-width: 760px) { .media-row.cols-2, .media-row.cols-3, .media-row.cols-4 { grid-template-columns: 1fr; } }
.link-list { list-style: none; padding: 0 !important; margin: 1.4em 0 2em !important; max-width: 640px !important; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); margin: 0; }
.link-list a { display: block; padding: 14px 0; color: var(--fg); text-decoration: none; transition: padding .35s var(--ease), color .2s; }
.link-list a:hover { padding-left: 10px; color: var(--blue-d); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: none !important; margin-top: 2em !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 2px; background: var(--blue); color: #fff; border: 1px solid var(--blue); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------------------------------------------------------------- Kreislauf-Grafik */
.grafik { margin: 2.6em auto 2.8em; max-width: 700px; }
.grafik svg { display: block; width: 100%; height: auto; overflow: visible; }
.grafik .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.grafik .core { fill: var(--bg-2); }
.grafik .arc { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.grafik .tip { fill: var(--blue); }
.grafik text { font-family: var(--font-d); font-size: 19px; font-weight: 500; fill: var(--navy); transition: fill .25s; }
.grafik text.subline { font-size: 15px; fill: var(--fg-2); }
.grafik a:hover text, .grafik a:focus text { fill: var(--blue); }
.grafik a:hover text:not(.subline) { text-decoration: underline; }
.grafik .center { font-size: 30px; font-weight: 600; letter-spacing: .06em; fill: var(--navy); }
/* Animation: Pfeile zeichnen sich nacheinander, sobald die Grafik sichtbar wird */
.js .grafik .arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .grafik .tip { opacity: 0; }
.js .grafik.shown .arc { stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease); }
.js .grafik.shown .tip { opacity: 1; transition: opacity .3s var(--ease); }
.js .grafik.shown .a1 { transition-delay: .45s; } .js .grafik.shown .a2 { transition-delay: .9s; } .js .grafik.shown .a3 { transition-delay: 1.35s; }
.js .grafik.shown .tip.a0 { transition-delay: .7s; } .js .grafik.shown .tip.a1 { transition-delay: 1.15s; }
.js .grafik.shown .tip.a2 { transition-delay: 1.6s; } .js .grafik.shown .tip.a3 { transition-delay: 2.05s; }

/* ---------------------------------------------------------------- Spiral-Wiki */
.wiki-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 40px; }
.wiki-tiles .tile { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 28px 28px; transition: background .3s var(--ease); }
.wiki-tiles .tile:hover { background: var(--bg-2); }
.wiki-tiles h2 { font-size: 18px; margin: 0; }
.wiki-tiles h2 a { color: var(--fg); text-decoration: none; }
.wiki-tiles h2 a:hover { color: var(--blue-d); }
.wiki-tiles ul { list-style: none; margin: 12px 0 0; padding: 0; font-size: 15px; }
.wiki-tiles li { margin: 4px 0; }
.wiki-tiles li a { color: var(--fg-2); text-decoration: none; }
.wiki-tiles li a:hover { color: var(--blue-d); text-decoration: underline; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 28px; color: var(--fg); text-decoration: none; font-size: 15px; font-weight: 600; }
.back svg { width: 20px; height: 20px; margin-left: -5px; }
.back:hover { color: var(--blue-d); }
.wiki-desc { margin-bottom: 28px; }
.files { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.file { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ext { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--blue-d); border: 1px solid var(--line); height: 30px; display: grid; place-items: center; }
.file-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.file-title a { color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.file-title a:hover { color: var(--blue-d); text-decoration: underline; }
.lang-badge { font-size: 11px; font-weight: 700; color: var(--fg-2); border: 1px solid var(--line); padding: 0 6px; line-height: 18px; }
.file-actions { display: flex; gap: 8px; }
@media (max-width: 640px) {
  .file { grid-template-columns: 40px minmax(0, 1fr); }
  .file-actions { grid-column: 2; }
}

@media (max-width: 600px) {
  .grafik { margin-left: -8px; margin-right: -8px; }
  .grafik text { font-size: 26px; }
  .grafik text.subline { font-size: 21px; }
  .grafik .center { font-size: 34px; }
  .grafik .lbl-right { transform: translateX(-52px); }
  .grafik .lbl-left { transform: translateX(30px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides img { transition: opacity .01s; transform: none !important; }
  .band-title h1 { animation: none; opacity: 1; transform: none; }
  .prog button.act span { animation: none; transform: scaleX(1); }
  .js .grafik .arc { stroke-dashoffset: 0; transition: none; }
  .js .grafik .tip { opacity: 1; transition: none; }
}
@media print {
  .hd, .ft, .band .prog, .skip-link { display: none !important; }
  .band-default .slides { display: none; }
  .band-title { position: static; } .band-title h1 { color: #000; }
}

/* ================================================================ Entwurf „Premium Blau“ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--fg-2); }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.shown { opacity: 1; transform: none; }
.load { opacity: 0; transform: translateY(14px); animation: up .9s var(--ease) forwards; }
.load.d1 { animation-delay: .15s; } .load.d2 { animation-delay: .3s; } .load.d3 { animation-delay: .45s; }

/* Titelbild Startseite */
.band-home::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 22, 36, .82) 0%, rgba(5, 22, 36, .55) 34%, rgba(5, 22, 36, 0) 64%), linear-gradient(0deg, rgba(5, 22, 36, .5) 0%, rgba(5, 22, 36, 0) 45%); }
.hero-txt { padding-bottom: clamp(36px, 5vw, 64px); }
.hero-txt .kick { color: rgba(255, 255, 255, .78); font-size: 14px; margin: 0 0 10px; }
.band-title.hero-txt h1 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.6rem); line-height: 1.15; margin: 0; max-width: 20em; animation: up .9s var(--ease) .15s forwards; }
.hero-txt .lead { color: rgba(255, 255, 255, .86); font-size: 16px; max-width: 46ch; margin: 14px 0 26px; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-line { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-line:hover { background: transparent; border-color: #fff; color: #fff; }

/* Brotkrumen im Bildband */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0 0 10px; padding: 0; font-size: 13px; }
.crumbs li { color: rgba(255, 255, 255, .72); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: rgba(255, 255, 255, .4); }
.crumbs a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Abschnitte */
.sec.alt { background: var(--bg-2); }
.statement { font-family: var(--font-d); font-size: clamp(1.3rem, 1.05rem + .8vw, 1.75rem); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; color: var(--fg); margin: 0; max-width: 24em; }
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro .txt { color: var(--fg-2); max-width: 62ch; }
.intro .txt p { margin: 0; }
.approach { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.approach .statement { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 500; }
.approach-txt .muted { margin: 18px 0 0; max-width: 46ch; font-size: 15px; }
.approach .grafik { margin: 0; max-width: 640px; justify-self: center; width: 100%; }
.ptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
.ptile { display: block; text-decoration: none; color: var(--fg); }
.ptile-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.ptile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.ptile:hover .ptile-img img { transform: scale(1.045); }
.ptile h3 { font-size: 17px; margin: 16px 0 8px; }
.ptile .ul { font-size: 14px; font-weight: 600; color: var(--blue-d); position: relative; }
.ptile .ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.ptile:hover .ul::after { transform: scaleX(1); }

/* Produktneuheit */
.feature { background: #000; color: #fff; }
.feature .pic { display: block; overflow: hidden; }
.feature .pic img { display: block; width: 100%; aspect-ratio: 1280 / 350; object-fit: cover; transition: transform 1.6s var(--ease); }
.feature .pic:hover img { transform: scale(1.02); }
.feat-txt { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); padding-top: 40px; padding-bottom: 52px; align-items: start; }
.feat-txt .kick { color: rgba(255, 255, 255, .68); font-size: 14px; margin: 0 0 8px; }
.feat-txt h2 { color: #fff; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); margin: 0; }
.feat-txt p { color: rgba(255, 255, 255, .82); font-size: 15px; margin: 0 0 22px; max-width: 60ch; }

/* Stifterverband */
.award-sec { padding: clamp(40px, 5vw, 64px) 0; }
.award { display: flex; align-items: center; gap: 18px; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--fg-2); }
.award svg { flex: 0 0 34px; width: 34px; height: 34px; color: var(--blue); }
.award a { color: var(--fg); text-decoration: none; }
.award a:hover { color: var(--blue-d); text-decoration: underline; }

/* Spiral-Wiki auf der Startseite (dunkel) */
.wiki-home { background: var(--navy); color: #fff; }
.wiki-home h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); margin: 0; }
.wiki-home .muted { color: #a9bfd0; margin: 12px 0 0; max-width: 40ch; }
.wiki-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid #24496a; }
.cats li { border-bottom: 1px solid #24496a; }
.cats a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; color: #fff; text-decoration: none; font-size: 16px; transition: padding .4s var(--ease); }
.cats a:hover { padding-left: 10px; }
.cats span { color: #a9bfd0; font-size: 14px; font-variant-numeric: tabular-nums; }

/* Suche (Startseite und Wiki) */
.wiki-search { margin-top: 28px; }
.search { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--fg-2); padding: 4px 0; transition: border-color .3s; }
.search svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--fg-2); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--fg); padding: 10px 0; outline: 0; }
.search:focus-within { border-color: var(--blue); }
.wiki-home .search { border-color: #a9bfd0; }
.wiki-home .search:focus-within { border-color: #fff; }
.wiki-home .search svg { color: #a9bfd0; }
.wiki-home .search input { color: #fff; }
.wiki-home .search input::placeholder { color: #a9bfd0; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results:not(:empty) { margin-top: 12px; max-height: 420px; overflow-y: auto; }
.search-results li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.search-results li.info { display: block; color: var(--fg-2); border-bottom: 0; }
.search-results a.t { color: var(--fg); text-decoration: none; font-weight: 600; }
.search-results a.t:hover { color: var(--blue-d); text-decoration: underline; }
.search-results a.c { grid-column: 1; font-size: 13px; color: var(--fg-2); text-decoration: none; }
.search-results .x { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 12px; color: var(--fg-2); text-transform: uppercase; }
.wiki-home .search-results li { border-color: #24496a; }
.wiki-home .search-results a.t { color: #fff; }
.wiki-home .search-results a.c, .wiki-home .search-results .x, .wiki-home .search-results li.info { color: #a9bfd0; }
.wiki-head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: start; margin-bottom: 36px; }
.wiki-head .muted { padding-top: 14px; }
.wiki-head .muted { margin: 0; }
.wiki-head .wiki-search { margin: 0; }
.tile-count { margin: 6px 0 0; font-size: 13px; color: var(--fg-2); }
.file-size { font-size: 13px; color: var(--fg-2); white-space: nowrap; }
.file { grid-template-columns: 44px minmax(0, 1fr) auto auto; }

/* Fuß */
.ft { background: #071f33; color: #a9bfd0; font-size: 14px; }
.ft .in { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 32px; padding-top: 64px; padding-bottom: 32px; }
.ft-logo { display: block; width: 170px; height: auto; margin-bottom: 18px; }
.ft p { margin: 0 0 8px; }
.ft h2 { color: #fff; font-size: 14px; font-weight: 600; margin: 4px 0 14px; letter-spacing: 0; }
.ft a { color: #a9bfd0; text-decoration: none; display: block; margin-bottom: 8px; }
.ft p a { display: inline; }
.ft a:hover { color: #fff; }
.ft-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid #1d3c56; padding-top: 22px; margin-top: 24px; }
.ft-bottom a { display: inline; margin: 0; }

@media (max-width: 900px) {
  .intro, .approach, .feat-txt, .wiki-grid, .wiki-head { grid-template-columns: 1fr; }
  .ptiles { grid-template-columns: 1fr; gap: 28px; }
  .ptile-img { aspect-ratio: 16 / 9; }
  .ft .in { grid-template-columns: 1fr 1fr; }
  .file { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .file-actions { grid-column: 2 / -1; }
}
@media (max-width: 600px) {
  .band-home .slides { aspect-ratio: auto; min-height: 520px; }
  .ft .in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .load, .band-title.hero-txt h1 { opacity: 1; transform: none; animation: none; transition: none; }
  .ptile-img img, .feature .pic img { transition: none; }
}
.nw { white-space: nowrap; }
