/* ==========================================================================
   wiki.animal-office.at – Design angelehnt an www.animal-office.at (The7)
   Schrift: Sora | Akzent: #93c248 | Titel: #262d37 | Text: #777
   ========================================================================== */

:root {
  --accent: #93c248;
  --accent-hover: #89ae43;
  --accent-soft: #f1f7e6;
  --title: #262d37;
  --text: #6f7680;
  --text-strong: #3d434b;
  --bg: #f7f7f7;
  --surface: #ffffff;
  --box: #f4f4f4;
  --line: #e7e8ea;
  --footer-bg: #373d45;
  --footer-line: rgba(255, 255, 255, .12);
  --radius: 10px;
  --radius-pill: 100px;
  --shadow: 0 10px 30px rgba(38, 45, 55, .08);
  --shadow-lg: 0 18px 48px rgba(38, 45, 55, .14);
  --wrap: 1340px;
  --font: "Sora", Helvetica, Arial, Verdana, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--title);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .6em;
  text-wrap: balance;
}

a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-hover); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.wrap--narrow { max-width: 860px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--accent); color: #fff; padding: .5rem 1rem;
  border-radius: 0 0 8px 8px; transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.icon { width: 22px; height: 22px; flex: none; vertical-align: -4px; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }
.icon--lg { width: 34px; height: 34px; color: var(--accent); }

/* --------------------------------------------------------------------------
   Buttons (Pill-Form wie animal-office.at)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .72em 1.7em;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px; line-height: 1.4;
  border: 2px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn--light { background: #fff; color: var(--title); }
.btn--light:hover { color: var(--accent-hover); }
.btn--dark { background: var(--title); color: #fff; }
.btn--dark:hover { background: #191e26; color: #fff; }

/* --------------------------------------------------------------------------
   Topbar + Header
   -------------------------------------------------------------------------- */
.topbar { background: var(--title); color: #cfd3d9; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 1.4rem; }
.topbar a { color: #cfd3d9; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { color: #fff; }

.header {
  background: var(--surface);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(38, 45, 55, .06);
}
.header__inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); min-height: 84px; }
.header__logo { display: inline-flex; align-items: center; gap: .55rem; }
.header__logo img { display: block; }
.header__logo-sub {
  font-weight: 700; font-size: 13px; letter-spacing: .28em;
  color: var(--accent); border-left: 2px solid var(--line); padding-left: .6rem;
}

.nav { margin-left: auto; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: clamp(.4rem, 1.5vw, 1rem); }
.nav__list > li { position: relative; }
.nav__list > li > a {
  display: block; padding: 1.9rem .65rem;
  color: var(--title); font-weight: 600; font-size: 14px;
}
.nav__list > li > a:hover, .nav__list > li > a[aria-current="page"] { color: var(--accent); }
.caret { font-size: 10px; opacity: .55; }

.nav__dropdown {
  position: absolute; top: 100%; left: 50%; translate: -50% 0;
  min-width: 300px; list-style: none; margin: 0; padding: .6rem;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover .nav__dropdown,
.has-dropdown:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .8rem; border-radius: 7px;
  color: var(--text-strong); font-size: 14px; font-weight: 400;
}
.nav__dropdown a:hover { background: var(--accent-soft); color: var(--title); }
.nav__dropdown .icon { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: .9rem; }
.search-toggle {
  background: none; border: 0; cursor: pointer; color: var(--title);
  padding: .5rem; border-radius: 50%; display: grid; place-items: center;
  transition: color .18s ease, background .18s ease;
}
.search-toggle:hover { color: var(--accent); background: var(--accent-soft); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.burger span {
  display: block; width: 24px; height: 2px; background: var(--title);
  margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Suche-Overlay */
.search-overlay {
  position: sticky; top: 84px; z-index: 99;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.search-overlay__inner { padding-block: 1.2rem; }
.search-overlay form, .hero__search {
  display: flex; gap: .6rem;
}
.search-overlay input[type="search"], .hero__search input[type="search"] {
  flex: 1; min-width: 0;
  font: inherit; font-size: 16px;
  padding: .8em 1.3em;
  border: 2px solid var(--line); border-radius: var(--radius-pill);
  background: var(--surface); color: var(--title);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.search-overlay input[type="search"]:focus, .hero__search input[type="search"]:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.search-results-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .4rem; }
.search-results-list a {
  display: block; padding: .7rem 1rem; border-radius: 8px;
  background: var(--box); color: var(--text-strong);
}
.search-results-list a:hover { background: var(--accent-soft); }
.search-results-list strong { color: var(--title); display: block; font-size: 15px; }
.search-results-list em { font-style: normal; font-size: 12.5px; color: var(--accent-hover); }
.search-results-list span { display: block; font-size: 13.5px; }
.search-results-list mark { background: color-mix(in srgb, var(--accent) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.muted { color: #9aa0a8; }

/* --------------------------------------------------------------------------
   Hero (Startseite)
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(147, 194, 72, .28), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(147, 194, 72, .16), transparent 55%),
    linear-gradient(150deg, #262d37 0%, #313a47 55%, #2a3722 100%);
  color: #e8eaee;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero__inner { max-width: 900px; }
.hero__kicker {
  text-transform: uppercase; letter-spacing: .32em; font-size: 12.5px;
  color: var(--accent); font-weight: 600; margin: 0 0 1rem;
}
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08;
  margin-bottom: .4em; text-transform: uppercase;
}
.hero h1 .accent { color: var(--accent); }
.hero__lead { font-size: clamp(1rem, 2vw, 1.15rem); max-width: 640px; margin-bottom: 2rem; }
.hero__search { max-width: 640px; }
.hero__search input[type="search"] { border-color: transparent; }
.hero__results { max-width: 640px; }
.hero__quicklinks { margin-top: 1.4rem; font-size: 14px; color: #aab0b9; }
.hero__quicklinks a {
  color: #fff; background: rgba(255, 255, 255, .1);
  padding: .28em .95em; border-radius: var(--radius-pill); margin-left: .45em;
  display: inline-block; transition: background .18s ease;
}
.hero__quicklinks a:hover { background: var(--accent); }

/* --------------------------------------------------------------------------
   Sektionen / Karten
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 2.6rem; }
.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  text-transform: uppercase; letter-spacing: .02em;
}
.section__title::after {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--accent); border-radius: 2px; margin-top: .5rem;
}
.section__lead { font-size: 1.02rem; }

.cat-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.cat-card {
  display: flex; flex-direction: column; gap: .5rem; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.3rem;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); color: var(--text); }
.cat-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: .4rem;
}
.cat-card__icon .icon { width: 26px; height: 26px; }
.cat-card strong { color: var(--title); font-size: 1.05rem; font-weight: 700; }
.cat-card__desc { font-size: 13.5px; line-height: 1.6; }
.cat-card__count { margin-top: auto; padding-top: .6rem; color: var(--accent); font-weight: 600; font-size: 13.5px; }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.link-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.link-list a {
  display: flex; align-items: center; gap: .9rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem 1.1rem; color: var(--text);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.link-list a:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateX(4px); }
.link-list .icon { color: var(--accent); }
.link-list strong { display: block; color: var(--title); font-size: 14.5px; font-weight: 600; }
.link-list em { font-style: normal; font-size: 12.5px; }

.contactband { background: var(--accent); color: #fff; padding-block: clamp(2.5rem, 5vw, 3.8rem); }
.contactband__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; }
.contactband h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.contactband p { margin: 0; }
.contactband__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: .65rem 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .3rem; color: #b6bac0; }
.breadcrumbs li[aria-current] { color: var(--text-strong); font-weight: 600; }

/* --------------------------------------------------------------------------
   Layout: Sidebar + Artikel
   -------------------------------------------------------------------------- */
.layout {
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
  padding-block: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}

.sidebar { position: sticky; top: 104px; max-height: calc(100dvh - 124px); overflow: auto; scrollbar-width: thin; }
.sidebar__group {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: .55rem; overflow: hidden;
}
.sidebar__group summary {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .95rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 13.5px; color: var(--title);
  transition: background .15s ease;
}
.sidebar__group summary::-webkit-details-marker { display: none; }
.sidebar__group summary::after { content: "›"; margin-left: auto; color: #b6bac0; transition: rotate .18s ease; }
.sidebar__group[open] summary::after { rotate: 90deg; }
.sidebar__group summary:hover { background: var(--accent-soft); }
.sidebar__group summary .icon { color: var(--accent); }
.sidebar__group ul { list-style: none; margin: 0; padding: .2rem .55rem .6rem; border-top: 1px solid var(--line); }
.sidebar__group li a {
  display: block; padding: .34rem .7rem; border-radius: 6px;
  font-size: 13px; color: var(--text);
}
.sidebar__group li a:hover { background: var(--accent-soft); color: var(--title); }
.sidebar__group li a.is-active { background: var(--accent); color: #fff; font-weight: 600; }
.sidebar__index { font-weight: 600; }
.sidebar__more a { color: var(--accent); font-weight: 600; }

/* Artikel */
.article {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  box-shadow: var(--shadow);
  min-width: 0;
}
.article__kicker {
  margin: 0 0 .5rem; font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em;
}
.article__kicker a { color: var(--accent); }
.article__header { border-bottom: 1px solid var(--line); padding-bottom: 1.3rem; margin-bottom: 1.8rem; }
.article__header h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0;
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.article__lead { font-size: 1.05rem; margin: .8rem 0 0; }

.badge {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-pill); padding: .2em .95em; vertical-align: middle;
}
.badge--archive { background: #9aa0a8; }

/* Inhalts-Typografie */
.article__content h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  margin: 2.2em 0 .7em; padding-top: .4em;
}
.article__content h2:not(:first-child) { border-top: 1px solid var(--line); padding-top: 1.1em; }
.article__content h3 { font-size: 1.13rem; margin: 1.8em 0 .55em; }
.article__content h4 { font-size: 1rem; margin: 1.5em 0 .5em; }
.article__content p { margin: 0 0 1.1em; }
.article__content strong { color: var(--text-strong); font-weight: 600; }
.article__content ul, .article__content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.article__content li { margin-bottom: .35em; }
.article__content li::marker { color: var(--accent); font-weight: 600; }
.article__content blockquote {
  margin: 1.4em 0; padding: 1em 1.4em;
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-strong);
}
.article__content blockquote p:last-child { margin: 0; }
.article__content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article__content code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em; background: var(--box); border: 1px solid var(--line);
  border-radius: 5px; padding: .12em .4em; color: var(--text-strong);
}

.anchor { margin-left: .45rem; font-size: .75em; color: #c3c7cc; opacity: 0; transition: opacity .15s ease; }
h2:hover .anchor, h3:hover .anchor, h4:hover .anchor { opacity: 1; }
.anchor:hover { color: var(--accent); }

/* Tabellen */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: var(--radius); border: 1px solid var(--line); }
.article__content table { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--surface); }
.article__content th {
  background: var(--title); color: #fff; text-align: left;
  padding: .65em .9em; font-weight: 600; white-space: nowrap;
}
.article__content td { padding: .58em .9em; border-top: 1px solid var(--line); vertical-align: top; }
.article__content tbody tr:nth-child(even) { background: var(--bg); }
.article__content tbody tr:hover { background: var(--accent-soft); }

/* Bilder */
.wiki-figure { margin: 1.6em 0; text-align: center; }
.wiki-figure img {
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); cursor: zoom-in; background: #fff;
}
.wiki-figure figcaption { font-size: 13px; color: #9aa0a8; margin-top: .55rem; }
li > .wiki-figure { margin: .5em 0; text-align: left; }

/* Inhaltsverzeichnis */
.toc {
  background: var(--box); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.3rem; margin-bottom: 1.8rem; font-size: 14px;
}
.toc__title { margin: 0 0 .4rem; font-weight: 700; color: var(--title); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.toc li { margin-bottom: .25rem; break-inside: avoid; }
.toc a { color: var(--text-strong); }
.toc a:hover { color: var(--accent); }

/* Pager */
.pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.pager__link {
  display: block; padding: .9rem 1.2rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); transition: border-color .18s ease, background .18s ease;
}
.pager__link:hover { border-color: var(--accent); background: var(--accent-soft); }
.pager__link span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.pager__link strong { display: block; color: var(--title); font-size: 14.5px; }
.pager__link--next { text-align: right; }

/* Hilfe-Box */
.article__help {
  margin-top: 2.6rem; padding: 1.6rem 1.8rem;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius);
}
.article__help h2 { font-size: 1.15rem; margin-bottom: .2em; }
.article__help p { margin: 0 0 .6em; }
.article__help-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* Kategorie-Übersichten */
.card-list {
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.card {
  display: flex; flex-direction: column; gap: .35rem; height: 100%;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.25rem; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.card strong { color: var(--title); font-size: 15px; font-weight: 600; }
.card span { font-size: 13px; line-height: 1.55; }
.card__more { font-style: normal; margin-top: auto; padding-top: .4rem; color: var(--accent); font-weight: 600; font-size: 13px; }
.card--slim { padding: .85rem 1.1rem; }
.update-group h2 { font-size: 1.25rem; margin: 1.8em 0 .8em; display: flex; align-items: center; gap: .7rem; }
.update-group:first-child h2 { margin-top: 0; }

/* Sitemap */
.sitemap-group { margin-bottom: 2rem; }
.sitemap-group h2 { font-size: 1.2rem; }
.sitemap-list { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: 2.5rem; }
.sitemap-list li { margin-bottom: .3rem; break-inside: avoid; font-size: 14.5px; }
.sitemap-list a { color: var(--text-strong); }
.sitemap-list a:hover { color: var(--accent); }

.search-page-results { margin-top: 1.5rem; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 92dvh;
}
.lightbox::backdrop { background: rgba(20, 24, 30, .82); backdrop-filter: blur(3px); }
.lightbox img { border-radius: var(--radius); max-height: 88dvh; width: auto; max-width: 100%; display: block; margin-inline: auto; }
.lightbox__close {
  position: absolute; top: .4rem; right: .4rem;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(38, 45, 55, .75); color: #fff; font-size: 17px;
}

/* --------------------------------------------------------------------------
   Footer (dunkel, wie animal-office.at)
   -------------------------------------------------------------------------- */
.footer { background: var(--footer-bg); color: #b9bec6; font-size: 14px; margin-top: 0; }
.footer a { color: #dfe3e8; }
.footer a:hover { color: var(--accent); }
.footer__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
}
.footer__title {
  color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 1.2rem; padding-bottom: .7rem; border-bottom: 1px solid var(--footer-line);
  position: relative;
}
.footer__title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 42px; height: 2px; background: var(--accent);
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__list strong { color: #e8ebee; font-weight: 600; }
.footer__list .icon { color: var(--accent); margin-right: .35rem; }
.footer__list--links a { display: inline-block; padding-block: .1rem; }
.footer__logo { margin-top: 1.6rem; opacity: .9; }
.footer__bottom { border-top: 1px solid var(--footer-line); }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.1rem; font-size: 13px;
}
.footer__bottom p { margin: 0; }
.footer__totop { font-weight: 600; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: 260px minmax(0, 1fr); }
  .header__cta { display: none; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; top: 0; z-index: 150;
    background: var(--surface);
    margin: 0; padding: 6.5rem 1.6rem 2rem;
    transform: translateX(100%); transition: transform .25s ease;
    overflow: auto;
  }
  body.menu-open .nav { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list > li > a { padding: .9rem .2rem; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__dropdown {
    position: static; translate: none; transform: none;
    opacity: 1; visibility: visible; box-shadow: none; border: 0;
    padding: 0 0 .5rem .5rem; min-width: 0;
  }
  .burger { display: block; z-index: 160; position: relative; }
  .search-overlay { top: 0; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; order: 2; }
  .toc ul { columns: 1; }
  .sitemap-list { columns: 2; }
  .pager { grid-template-columns: 1fr; }
  .pager__link--next { text-align: left; }
}

@media (max-width: 560px) {
  .topbar__site { display: none; }
  .hero__search { flex-direction: column; }
  .sitemap-list { columns: 1; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
}

/* Druckansicht */
@media print {
  .topbar, .header, .search-overlay, .sidebar, .breadcrumbs,
  .pager, .article__help, .footer, .hero__search { display: none !important; }
  body { background: #fff; color: #222; }
  .article { border: 0; box-shadow: none; padding: 0; }
  .layout { display: block; }
  a { color: inherit; text-decoration: underline; }
}
