/* ==========================================================================
   Recht im Unternehmen – Magazin-Design
   Farbwelt „Tinte & Papier“: Tintenblau, warmes Papier, Siegelrot, Messing.
   Schriften: Systemschriften (keine externen Requests, DSGVO-konform).
   ========================================================================== */

:root {
  /* Grundfarben */
  --ink: #13202f;          /* Tinte – Text, Flächen dunkel */
  --ink-2: #24364b;
  --paper: #f8f5ef;        /* Papier – Seitenhintergrund */
  --paper-2: #efe9de;      /* Papier dunkler – Kästen */
  --white: #fffdf9;
  --rule: #d9d0c1;         /* Linien */
  --muted: #56606d;        /* Sekundärtext (Kontrast ≥ 4.5:1 auf Papier) */
  --accent: #9e2b25;       /* Siegelrot – Akzente, Links-Hover */
  --brass: #c9a45c;        /* Messing – Ornamente (nicht für Text auf Papier) */

  /* Ressortfarben */
  --c-arbeitsrecht: #2e5e8c;
  --c-vertragsrecht: #4f4a8c;
  --c-datenschutz-grundlagen: #2f7166;
  --c-haftung: #9e2b25;
  --c-unternehmenspflichten: #7d5a1b;

  /* Typografie */
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gap: clamp(1rem, 2.4vw, 2rem);
  --radius: 4px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -.01em; }
/* Lange deutsche Komposita sauber umbrechen (lang="de") */
h1, h2, h3, h4, p, li { overflow-wrap: break-word; }
h1, h2, h3, h4 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .7rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Kicker / Meta ---------- */
.kicker {
  display: inline-block;
  font: 700 .74rem/1.2 var(--sans);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cat, var(--accent));
  text-decoration: none;
}
.kicker::before {
  content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .5em;
  background: currentColor; vertical-align: .05em;
}
a.kicker:hover { text-decoration: underline; }
.meta { font: 400 .85rem/1.4 var(--sans); color: var(--muted); }
.meta > * + *::before { content: "·"; margin: 0 .5em; }
[data-cat="arbeitsrecht"] { --cat: var(--c-arbeitsrecht); }
[data-cat="vertragsrecht"] { --cat: var(--c-vertragsrecht); }
[data-cat="datenschutz-grundlagen"] { --cat: var(--c-datenschutz-grundlagen); }
[data-cat="haftung"] { --cat: var(--c-haftung); }
[data-cat="unternehmenspflichten"] { --cat: var(--c-unternehmenspflichten); }

/* ---------- Kopfleiste ---------- */
.topbar { background: var(--ink); color: #cfd6df; font: .8rem/1.4 var(--sans); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--brass); }
.topbar__links { display: flex; gap: 1.25rem; list-style: none; }

/* ---------- Masthead ---------- */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1rem; padding-block: clamp(1rem, 3vw, 1.9rem);
}
.masthead__edition { font: .82rem/1.4 var(--sans); color: var(--muted); }
.masthead__edition strong { display: block; color: var(--ink); font-weight: 600; }
.masthead__cta { justify-self: end; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 52px; height: 52px; flex: none; }
.brand__word { font: 700 clamp(1.6rem, 3.6vw, 2.6rem)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.brand__word em { font-style: italic; font-weight: 400; color: var(--accent); }
.brand__tag {
  display: block; margin-top: .4rem;
  font: 600 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .9rem/1 var(--sans); text-decoration: none;
  padding: .8rem 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--white); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); }
.btn svg { width: 1em; height: 1em; }

/* ---------- Hauptnavigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 239, .96);
  border-bottom: 3px double var(--ink);
  backdrop-filter: saturate(1.2) blur(6px);
}
.nav .wrap { display: flex; align-items: center; gap: 1rem; min-height: 3.4rem; }
.nav__mini { display: none; width: 30px; height: 30px; flex: none; }
.nav__list { display: flex; gap: clamp(.6rem, 2vw, 1.9rem); list-style: none; flex: 1; justify-content: center; }
.nav__list a {
  display: block; padding: 1rem 0 .85rem; text-decoration: none;
  font: 600 .93rem/1 var(--sans); border-bottom: 3px solid transparent; margin-bottom: -3px;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cat, var(--accent)); }
.nav__search { display: flex; align-items: center; }
.nav__search input {
  width: 12rem; font: .9rem var(--sans); padding: .5rem .75rem .5rem 2rem;
  border: 1px solid var(--rule); border-radius: 99px; background: var(--white) no-repeat .65rem 50% / 1rem
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356606d' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
}
.nav__toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink);
}
.nav__toggle svg { width: 28px; height: 28px; }
.nav.is-stuck .nav__mini { display: block; }

/* ---------- Seitentitel (H1 Startseite) ---------- */
.intro { padding-block: clamp(1.1rem, 2.4vw, 1.6rem) 0; }
.intro__h1 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 400; max-width: 92ch; color: var(--ink-2); }
.intro__h1 strong { font-weight: 700; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(1.8rem, 4.5vw, 3.2rem); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-top: 2px solid var(--ink); padding-top: .7rem; margin-bottom: 1.6rem;
}
.section-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.section-head a { font: 600 .88rem var(--sans); text-decoration: none; white-space: nowrap; }
.section-head a:hover { text-decoration: underline; }

/* ---------- Teaser (Artikelkarten) ---------- */
.teaser { position: relative; display: flex; flex-direction: column; gap: .6rem; }
.teaser__media { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 16 / 9; }
.teaser__media picture { display: block; height: 100%; }
.teaser__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.teaser:hover .teaser__media img { transform: scale(1.03); }
.teaser__title { font-size: 1.22rem; }
.teaser__title a { text-decoration: none; }
/* ganze Karte klickbar, Link bleibt die Überschrift (SEO/Barrierefreiheit) */
.teaser__title a::after { content: ""; position: absolute; inset: 0; }
.teaser:hover .teaser__title a { color: var(--accent); }
.teaser__dek { color: var(--muted); font-size: .97rem; margin: 0; }
.teaser .kicker { position: relative; z-index: 1; }

/* Aufmacher */
.top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); }
.lead .teaser__title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); letter-spacing: -.02em; }
.lead .teaser__dek { font: 400 1.15rem/1.55 var(--serif); color: var(--ink-2); max-width: 60ch; }
.lead .teaser__media { aspect-ratio: 16 / 9; } /* Aufmacher ist teils Infografik → nicht beschneiden */
.top__side { display: flex; flex-direction: column; gap: 1.5rem; border-left: 1px solid var(--rule); padding-left: var(--gap); }
.top__side .teaser + .teaser { border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.top__side .teaser__title { font-size: 1.3rem; }

/* Kartenreihe */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.grid-4 .teaser__title { font-size: 1.12rem; }

/* ---------- Ressorts ---------- */
.ressorts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ressort { padding: 0 1.25rem 0; border-left: 1px solid var(--rule); }
.ressort:first-child { border-left: 0; padding-left: 0; }
.ressort__icon {
  width: 46px; height: 46px; padding: 9px; border-radius: 50%;
  background: var(--cat); color: var(--white); margin-bottom: .9rem;
}
.ressort__icon svg { width: 100%; height: 100%; }
.ressort h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.ressort h3 a { text-decoration: none; }
.ressort h3 a:hover { color: var(--cat); }
.ressort__desc { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.ressort__list { list-style: none; border-top: 2px solid var(--cat); }
.ressort__list li { border-bottom: 1px solid var(--rule); }
.ressort__list a { display: block; padding: .65rem 0; font: 600 .95rem/1.35 var(--serif); text-decoration: none; }
.ressort__more { display: inline-block; margin-top: .8rem; font: 600 .85rem var(--sans); color: var(--cat); }

/* ---------- Checklisten-Band (dunkel) ---------- */
.band { background: var(--ink); color: #dfe4ea; }
.band .section-head { border-top-color: var(--brass); }
.band .section-head h2, .band a { color: var(--white); }
.band a:hover { color: var(--brass); }
.band__intro { max-width: 60ch; color: #c3cbd5; margin-top: -.6rem; margin-bottom: 1.8rem; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: c; }
.checks li { border-top: 1px solid #3a4b60; padding-top: 1rem; position: relative; }
.checks li::before {
  counter-increment: c; content: counter(c, decimal-leading-zero);
  display: block; font: 700 2.2rem/1 var(--serif); color: var(--brass); margin-bottom: .6rem;
}
.checks .kicker { color: #d9c08c; }
.checks h3 { font-size: 1.12rem; margin: .4rem 0 .5rem; }
.checks h3 a { text-decoration: none; }
.checks h3 a:hover { color: var(--brass); }
.checks p { font-size: .9rem; color: #b9c2cd; margin: 0; }

/* ---------- Redaktion: FAQ + Formular ---------- */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--gap) * 2); }
.desk h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .8rem; }
.desk__lede { color: var(--muted); margin-bottom: 1.6rem; }

.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q { margin: 0; font-size: 1.08rem; }
.faq__btn {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 0; font: 700 1.05rem/1.35 var(--serif); color: var(--ink);
}
.faq__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.faq__btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s; }
.faq__btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { padding: 0 2.2rem 1.1rem 0; color: var(--ink-2); }
.faq__a[hidden] { display: none; }

.form-card { background: var(--white); border: 1px solid var(--rule); padding: 2rem; border-radius: var(--radius); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font: 600 .88rem var(--sans); }
.field input, .field select, .field textarea {
  font: 1rem var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid #b9ae9c; border-radius: var(--radius); padding: .7rem .8rem; width: 100%;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field .error { color: var(--accent); font-size: .85rem; min-height: 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--accent); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: .92rem; }
.form-status.is-error { color: var(--accent); }
.form-success { text-align: left; }
.form-success h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.req { color: var(--accent); }

/* ---------- Fußbereich ---------- */
.footer { background: var(--ink); color: #b9c2cd; font-size: .92rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.footer .wrap { padding-block: 3rem 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: calc(var(--gap) * 1.5); }
.footer .brand { color: var(--white); }
.footer .brand__word { font-size: 1.7rem; }
.footer .brand__word em { color: #e3a39d; }
.footer h2 { font: 700 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .5rem; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--brass); text-decoration: underline; }
.footer__note { max-width: 46ch; margin-top: 1.2rem; }
.footer__bottom { border-top: 1px solid #33455a; margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }

/* ==========================================================================
   Artikelseite
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
.crumbs { font: .84rem var(--sans); color: var(--muted); padding-top: 1.4rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }

.article-head { max-width: 900px; padding-block: 1.4rem 1.8rem; }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.025em; line-height: 1.08; margin: .7rem 0 1.1rem; }
.article-head .dek { font: 400 clamp(1.1rem, 1.8vw, 1.32rem)/1.55 var(--serif); color: var(--ink-2); max-width: 62ch; }
.byline { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.byline__avatar { width: 42px; height: 42px; }
.byline strong { display: block; font: 600 .95rem var(--sans); }

.article-figure { margin: 0 0 2.2rem; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.article-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: calc(var(--gap) * 2); align-items: start; }
.prose { max-width: 70ch; font: 400 1.14rem/1.72 var(--serif); }
.prose > p:first-of-type::first-letter {
  float: left; font: 700 4.2em/.82 var(--serif); color: var(--accent); margin: .06em .1em 0 0;
}
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 2.4rem 0 .9rem; padding-top: .9rem; border-top: 1px solid var(--rule); }
.prose h3 { font-size: 1.28rem; margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); }

.note { font: 400 .95rem/1.6 var(--sans); background: var(--paper-2); border: 1px solid var(--rule); padding: 1rem 1.2rem; margin: 1.6rem 0; border-radius: var(--radius); }
.note strong { display: block; margin-bottom: .2rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.merksatz { margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--ink); color: var(--white); border-radius: var(--radius); font: 700 1.25rem/1.45 var(--serif); position: relative; }
.merksatz::before { content: "Merksatz"; display: block; font: 700 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: .5rem; }

.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.table-wrap table { border-collapse: collapse; width: 100%; font: .92rem/1.45 var(--sans); min-width: 620px; }
.table-wrap caption { text-align: left; font: 600 .85rem var(--sans); padding: .8rem 1rem; color: var(--muted); }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: .75rem 1rem; border-top: 1px solid var(--rule); }
.table-wrap thead th { background: var(--ink); color: var(--white); border-top: 0; font-weight: 600; }
.table-wrap tbody th { font-weight: 600; }

.steps { list-style: none; padding: 0 !important; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: .2rem 0 1rem 3.4rem; border-left: 2px solid var(--rule); margin-left: 1.1rem; }
.steps li:last-child { border-left-color: transparent; }
.steps li::before {
  content: counter(s); position: absolute; left: -1.15rem; top: 0;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: var(--white);
  font: 700 1rem/2.2rem var(--sans); text-align: center;
}
.checklist { list-style: none; padding: 1.2rem 1.4rem !important; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 3px;
  border: 2px solid var(--c-datenschutz-grundlagen);
  background: no-repeat 50% 50% / .8rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7166' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}
.prose .faq { font-family: var(--sans); margin-top: 1rem; }

/* Seitenleiste Artikel */
.aside { position: sticky; top: 4.8rem; display: grid; gap: 1.6rem; font-family: var(--sans); }
.toc h2, .share h2 { font: 700 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.toc ol { list-style: none; border-left: 2px solid var(--rule); }
.toc a { display: block; padding: .38rem 0 .38rem .9rem; margin-left: -2px; border-left: 2px solid transparent; font-size: .88rem; line-height: 1.35; text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--accent); }
.toc a.is-active { border-left-color: var(--accent); color: var(--ink); font-weight: 600; }
.share ul { list-style: none; display: flex; gap: .5rem; }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); background: var(--white); }
.share a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.share svg { width: 18px; height: 18px; }

.publisher-box { display: flex; gap: 1.2rem; align-items: flex-start; margin: 2.8rem 0 0; padding: 1.4rem; background: var(--paper-2); border-radius: var(--radius); font: .95rem/1.55 var(--sans); }
.publisher-box img { width: 56px; height: 56px; flex: none; }
.publisher-box > div, .cat-head > div, .list-row > * { min-width: 0; }
.publisher-box h2 { font-size: 1.15rem; margin-bottom: .3rem; }

/* Kategorieseite */
.cat-head { padding-block: 1.6rem 2rem; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; display: flex; gap: 1.4rem; align-items: center; }
.cat-head .ressort__icon { width: 72px; height: 72px; padding: 15px; margin: 0; flex: none; }
.cat-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
.cat-head p { color: var(--muted); max-width: 62ch; margin: .5rem 0 0; }
.list-row { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: var(--gap); padding-block: 1.6rem; border-bottom: 1px solid var(--rule); }
.list-row .teaser__title { font-size: 1.55rem; }
.pager { display: flex; gap: .4rem; justify-content: center; list-style: none; margin-top: 2.4rem; font: 600 .95rem var(--sans); }
.pager a, .pager span { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; background: var(--white); }
.pager [aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .ressorts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.2rem; }
  .ressort:nth-child(4) { border-left: 0; padding-left: 0; }
  .grid-4, .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__search input { width: 9rem; }
}
@media (max-width: 900px) {
  .top, .desk, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .top__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
  .aside { position: static; order: -1; }
  .aside .share { display: none; }
  .toc { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.2rem; }
  .masthead .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .masthead__edition, .masthead__cta { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .list-row { grid-template-columns: 220px minmax(0, 1fr); }

  /* Mobile Navigation */
  .nav__toggle { display: block; }
  .nav__mini { display: block; }
  .nav__panel {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 3px double var(--ink); padding: .5rem var(--gap) 1.4rem;
    box-shadow: 0 18px 30px -18px rgba(19, 32, 47, .35);
  }
  .nav.is-open .nav__panel { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 1rem 0; border-bottom: 1px solid var(--rule); margin: 0; font-size: 1.05rem; }
  .nav__search { margin-top: 1rem; }
  .nav__search input { width: 100%; padding-block: .8rem; }
}
@media (min-width: 901px) {
  .nav__panel { display: flex; align-items: center; gap: 1.5rem; flex: 1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .footer .brand__word { font-size: 1.35rem; white-space: normal; }
  .footer__grid > * { min-width: 0; }
  .form-card { padding: 1.25rem; }
  .topbar__links { display: none; }
  .brand__mark { width: 40px; height: 40px; }
  .grid-3, .grid-4, .checks, .ressorts { grid-template-columns: 1fr; }
  .ressort { border-left: 0; padding-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .list-row { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 1.06rem; }
}

@media (max-width: 400px) {
  .brand { gap: .6rem; }
  .brand__word { font-size: 1.35rem; }
  .brand__tag { letter-spacing: .14em; }
}

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

@media print {
  .topbar, .nav, .aside, .footer, .progress, .desk { display: none !important; }
  body { background: #fff; }
}
