/* ============================================================
   Schriften – selbst gehostet (SIL OFL 1.1, Lizenzen in assets/fonts/)
   Nur Latin-Subset und nur die tatsächlich verwendeten Schnitte.
   Kursiv wird – wie zuvor – vom Browser aus Inter Tight 400 erzeugt.
   Inter 600 deckt auch <b>/<strong> (700) ab.
   ============================================================ */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-tight-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-tight-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}


/* ============================================================
   Meine Anwälte München – Design System
   Editorial & seriös, Rot-akzentuiert, viel Weißraum
   ============================================================ */

:root {
  /* Brand */
  --red: #C8102E;
  --red-deep: #A00C24;
  --red-soft: #E6394F;

  /* Neutrals */
  --ink: #141414;
  --ink-60: #5a5a5a;
  --ink-40: #8a8a8a;
  --ink-20: #c8c8c8;
  --ink-10: #e5e3df;
  --paper: #f5f3ee;
  --paper-2: #efede7;
  --cream: #ebe2d0;
  --cream-deep: #e3d6bb;
  --white: #ffffff;

  /* Type */
  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --col: min(1400px, 92vw);
  --gutter: clamp(16px, 2vw, 32px);
  --radius: 2px;
  --radius-lg: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
/* Der Off-Canvas-Drawer parkt geschlossen rechts außerhalb des Viewports und
   vergrößert dadurch die Scrollbreite. clip statt hidden: clip erzeugt keinen
   Scroll-Container und lässt position:sticky (Filterleiste) unberührt. */
html { overflow-x: clip; }

body {
  font-family: var(--f-body);
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--ink { color: var(--ink-60); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.h-display {
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.h1 { font-size: clamp(40px, 5.5vw, 84px); font-weight: 500; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 4vw, 60px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; }
.h3 { font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }

.lede { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; color: var(--ink-60); max-width: 60ch; text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.6; color: var(--ink-60); }
.small { font-size: 13px; line-height: 1.5; color: var(--ink-60); }

/* ---------- Layout helpers ---------- */
.wrap { width: var(--col); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 160px); }
.section--tight { padding-block: clamp(60px, 7vw, 100px); }
.section--dark { background: var(--ink); color: var(--white); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--red { background: var(--red); color: var(--white); }

.rule { height: 1px; background: var(--ink-10); border: 0; margin: 0; }

.grid { display: grid; gap: var(--gutter); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-12 { grid-template-columns: repeat(12, 1fr); }
@media (max-width: 900px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .g-12 { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Duotone image (rot) ---------- */
.duotone {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.duotone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: lighten;
  opacity: 0.95;
}
.duotone::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--red);
  mix-blend-mode: multiply;
  z-index: 1;
}
.duotone::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(200,16,46,0.15) 0%, rgba(20,20,20,0.55) 100%);
  z-index: 2;
  pointer-events: none;
}
.duotone > * { position: relative; z-index: 3; }

.duotone--subtle img { mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05) brightness(1.1); }

/* ---------- Placeholder image ---------- */
.ph {
  background:
    repeating-linear-gradient(135deg,
      rgba(0,0,0,0.04) 0 12px,
      rgba(0,0,0,0.02) 12px 24px),
    var(--ink-10);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-40);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  aspect-ratio: 4 / 5;
}
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--tall { aspect-ratio: 3 / 4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--red); }
.btn--red { background: var(--red); }
.btn--red:hover { background: var(--ink); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--light:hover { background: var(--red); color: var(--white); }

.btn .arrow {
  width: 14px; height: 10px;
  display: inline-block;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.btn .arrow::before {
  content: ""; position: absolute;
  top: 50%; left: 0; right: 0; height: 1.5px;
  background: currentColor; transform: translateY(-50%);
}
.btn .arrow::after {
  content: ""; position: absolute;
  top: 50%; right: 0; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translate(0,-50%) rotate(45deg);
}
.btn:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link:hover { color: var(--red); border-color: var(--red); gap: 14px; }
.link--on-dark { color: var(--white); border-color: rgba(255,255,255,0.4); }
.link--on-dark:hover { color: var(--red-soft); border-color: var(--red-soft); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 243, 238, 0);
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  padding-block: 28px;
}
.nav {
  background: #ffffff;
  border-bottom: 1px solid var(--ink-10);
}
.nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--ink-10);
  padding-block: 16px;
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__logo img { height: 60px; width: auto; transition: height 0.4s var(--ease); }
.nav--scrolled .nav__logo img { height: 46px; }

.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0; height: 1.5px;
  background: var(--red);
  transition: right 0.35s var(--ease);
}
.nav__link:hover { color: var(--red); }
.nav__link:hover::after { right: 0; }
.nav__link.is-active { color: var(--red); }
.nav__link.is-active::after { right: 0; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s var(--ease);
}
.nav__phone:hover { background: var(--ink); }
.nav__phone span {
  white-space: nowrap;
}
.nav__phone .dot {
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* ---------- Mobile-Navigation: Hamburger + Off-Canvas-Drawer ----------
   Markup und Verdrahtung entstehen in shared.js aus der bereits vorhandenen
   .nav__links-Reihe — dadurch stimmen Reihenfolge, relative Pfade (auch in
   /blog/) und der is-active-Zustand auf jeder Seite automatisch, ohne dass
   sechzehn Dateien denselben Block doppelt führen. */
.nav__burger {
  display: none;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease);
}
.nav__burger:hover { border-color: var(--ink); }
.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__backdrop {
  position: fixed; inset: 0;
  z-index: 110;
  background: rgba(20, 20, 20, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.nav__backdrop.is-open { opacity: 1; pointer-events: auto; }

.nav__drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 120;
  width: min(360px, 86vw);
  padding: 28px var(--gutter) 40px;
  background: var(--white);
  border-left: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  /* visibility verzögert schalten, damit der Drawer im geschlossenen Zustand
     nicht fokussierbar ist, die Slide-Animation aber sichtbar bleibt */
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.nav__drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.4s var(--ease), visibility 0s;
}
.nav__drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--ink-10);
}
.nav__drawer-label {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-40);
}
.nav__drawer-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink-10);
  border-radius: var(--radius);
  font-size: 22px; line-height: 1;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__drawer-close:hover { border-color: var(--ink); color: var(--red); }
.nav__drawer .nav__link {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding-block: 16px;
  border-bottom: 1px solid var(--ink-10);
}
.nav__drawer .nav__link::after { display: none; }
.nav__drawer-foot {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 12px;
}
.nav__drawer .nav__phone,
.nav__drawer .btn { justify-content: center; }
body.nav-is-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  /* Ohne die Linkreihe verteilt space-between den Termin-Button in die Mitte.
     margin-left:auto sammelt den Freiraum davor — Logo links, Button und
     Burger stehen rechts als Paar beieinander. */
  .nav__row { gap: 12px; }
  .nav__row .nav__phone {
    margin-left: auto;
    padding: 10px 14px;
    font-size: 13px;
  }
}
/* Ganz schmal muss der Platz für Logo + Button + Burger nebeneinander reichen;
   alle drei rücken zusammen, statt dass eines davon verschwindet. */
@media (max-width: 560px) {
  .nav { padding-block: 16px; }
  .nav--scrolled { padding-block: 12px; }
  .nav__logo img { height: 40px; }
  .nav--scrolled .nav__logo img { height: 36px; }
  .nav__row { gap: 8px; }
  /* Kompakter in der Breite, aber min-height 44px: Touch-Ziele sollen die
     44×44-Marke halten, auch wenn die Beschriftung kleiner wird. */
  .nav__row .nav__phone { padding: 9px 12px; font-size: 12px; min-height: 44px; }
  .nav__burger { width: 44px; height: 44px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--red);
  color: var(--white);
  padding-block: 80px 32px;
}
.footer a { color: rgba(255,255,255,0.75); transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer__brand h3 {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 14ch;
  color: var(--white);
}
.footer__col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin: 0 0 20px 0;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.footer__bottom ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}
/* Zweispaltig bleiben unter 560px rund 120px je Spalte — darin passen weder
   "Rechtsgebiete" noch "Zivilrecht allgemein", der Footer schob die ganze
   Seite über den Rand. Einspaltig ist die volle Breite verfügbar. */
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .footer { padding-block: 56px 32px; }
}


/* ---------- Utilities ---------- */
.mono { font-family: var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
.text-red { color: var(--red); }
.text-white { color: var(--white); }
.text-mute { color: var(--ink-60); }
.bg-red { background: var(--red); color: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.align-center { text-align: center; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-s { gap: 12px; }
.gap-m { gap: 24px; }
.gap-l { gap: 48px; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 64px; }
.mt-xl { margin-top: 96px; }

/* numbered index */
.idx {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-40);
  letter-spacing: 0.1em;
}

/* red accent bar */
.redbar {
  display: inline-block;
  width: 40px; height: 3px;
  background: var(--red);
  margin-bottom: 20px;
}

/* ::selection */
::selection { background: var(--red); color: var(--white); }

/* Blog */

.post {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border-top: 2px solid var(--ink);
  padding: 32px 32px 28px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.5s var(--ease), border-top-color 0.3s var(--ease);
}
.post:hover { transform: translateY(-4px); border-top-color: var(--red); }
.post:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* Wasserzeichen: liegt bewusst HINTER der Meta-Zeile (z-index 0 gegen 1) —
   sonst gewinnt das positionierte § gegen den statischen Datums-Span und
   überlagert Datum und Kategorie. Zusätzlich etwas tiefer gesetzt und
   abgeschwächt, damit die Meta-Zeile auch beim Hover lesbar bleibt. */
.post__mark {
  position: absolute;
  top: 52px;
  right: 32px;
  z-index: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 0.8;
  color: var(--ink-10);
  opacity: 0.7;
  pointer-events: none;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.post:hover .post__mark { color: var(--red); opacity: 0.1; }
/* Alle Textebenen der Karte über das Wasserzeichen heben — statische Elemente
   verlieren sonst gegen jedes positionierte Geschwister, unabhängig von der
   Reihenfolge im DOM. */
.post__meta, .post__title, .post__excerpt, .post__more { position: relative; z-index: 1; }

.post__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.post__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
}
.post__cat::before {
  content: "";
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
}
.post__date { color: var(--ink-40); }

.post__title {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
}

.post__excerpt {
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-60);
  margin: 0 0 28px;
  flex: 1;
}

.post__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--ink-10);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s var(--ease), gap 0.3s var(--ease);
}
.post__more::after { content: "→"; transition: transform 0.3s var(--ease); }
.post:hover .post__more { color: var(--red); gap: 12px; }
.post:hover .post__more::after { transform: translateX(4px); }

.mag-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.post { grid-column: span 4; }
@media (max-width: 1100px) { .post { grid-column: span 6; } }
@media (max-width: 720px)  { .post { grid-column: span 12; padding: 24px; } }

/* Blog Post — Prose */
.post-hero {
  padding-top: 180px;
  padding-bottom: clamp(48px, 6vw, 80px);
  background: var(--paper);
}
.post-hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--ink-10);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.post-hero__meta a { color: var(--ink-60); }
.post-hero__meta a:hover { color: var(--red); }
.post-hero__date {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.post-hero__title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
}
.post-hero__lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-60);
  max-width: 56ch;
  margin: 28px 0 0;
}

.prose {
  padding-block: clamp(64px, 8vw, 120px);
  background: var(--paper);
}
.prose__body {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-60);
  /* Lange URLs und Komposita (z. B. der brak.de-Link, "Dienstleistungs-
     Informationspflichten-Verordnung") passen auf 320px in keine Zeile und
     schoben die Rechtsseiten über den Rand. */
  overflow-wrap: break-word;
}
.prose__body p { margin: 0 0 1.4em; }
.prose__body p:last-child { margin-bottom: 0; }
.prose__body h2 {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 2em 0 0.6em;
}
.prose__body h3 {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin: 1.6em 0 0.5em;
}
.prose__body ul, .prose__body ol {
  padding-left: 0;
  margin: 0 0 1.4em;
  list-style: none;
  display: grid;
  gap: 8px;
}
.prose__body ul li {
  display: flex;
  gap: 12px;
  line-height: 1.55;
}
.prose__body ul li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px; height: 6px;
  background: var(--red);
  margin-top: 9px;
}
.prose__body ol { counter-reset: prose-ol; }
.prose__body ol li {
  display: flex;
  gap: 12px;
  line-height: 1.55;
  counter-increment: prose-ol;
}
.prose__body ol li::before {
  content: counter(prose-ol, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--red);
  flex: 0 0 auto;
  padding-top: 4px;
}

.post-back {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink-10);
  background: var(--paper);
}

@media (max-width: 900px) {
  .post-hero { padding-top: 130px; }
  .post-hero__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Platzhalter-Porträt (Penninger, bis das Foto da ist). Eine Klasse für team.html
   und index.html, damit er später an einer Stelle ersetzt wird. Fläche in --cream,
   Monogramm in --ink-20: ein Tonwert, keine Aussage. cqw hält das Monogramm bei
   ca. 40 % der Bildbreite, egal ob Karte oder Spalte. */
.portrait-placeholder {
  position: relative;
  width: 100%; height: 100%;
  container-type: inline-size;
  display: grid; place-items: center;
  background: var(--cream);
  transition: transform 0.3s var(--ease);
}
.portrait-placeholder span {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 33cqw;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-20);
  user-select: none;
}
/* team.html: .member__photo trägt --ink als Grund; an den Kanten blitzt er bei
   gebrochenen Pixelwerten als dunkle Linie unter der hellen Fläche durch. */
.member__photo:has(> .portrait-placeholder) { background: var(--cream); }
/* Einzige rote Setzung: Hairline unter dem Monogramm, wie das ::before am .member__label. */
.portrait-placeholder::after {
  content: "";
  position: absolute;
  left: 50%; top: calc(50% + 20cqw);
  width: 8cqw; height: 1px;
  transform: translateX(-50%);
  background: var(--red);
}

/* ============================================================
   Barrierefreiheit: Sprunglink und Fokus-Markierung
   ============================================================ */
.skip-link {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip-link:focus { top: 16px; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.footer :focus-visible,
.section--dark :focus-visible,
.section--red :focus-visible,
.success :focus-visible { outline-color: var(--white); }
