/* InvoiceFlow — Stil der Informationsseiten (/start und /ueber)
 *
 * Uebernommen aus dem XDOMEA Aussonderungstool (dev.imtb.de/aussonderungstool),
 * reduziert auf die Bausteine, die diese zwei Seiten brauchen, plus einen
 * Doku-Block fuer /ueber. Die Farben und die Typo-Skala stehen in
 * imtb-tokens.css und werden hier nicht neu definiert.
 *
 * Diese Datei gilt NICHT fuer die Anwendung selbst — base.html bringt sein
 * eigenes, aelteres Farbschema mit. Wer beides vereinheitlichen will, tut das
 * als eigenen Umbau und nicht hier.
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");
@import url("imtb-tokens.css");

/* Drei Statusfarben, die der Token-Satz nicht kennt. Sie tragen im
   Status-Lexikon Bedeutung und sind keine Dekoration. */
:root {
  --warnung: #E65100;
  --gut:     #2E7D32;
  --fehler:  #C62828;
  --warnung-flaeche: #FDF0E6;
  --gut-flaeche:     #E9F2EA;
  --fehler-flaeche:  #F8E9E9;
  --achtung-flaeche: #FDF6F0;
  --achtung-rand:    #F2D9C4;
  --linie:           rgba(33,36,52,.10);
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  /* Die Inline-SVGs beider Seiten setzen ihre Schrift ueber var(--sans) und
     var(--mono). Ohne diese zwei Zeilen faellt der Diagrammtext still auf die
     Browser-Standardschrift zurueck — ohne Fehlermeldung im Log. */
  --sans: var(--font-sans);
  --mono: var(--font-mono);
}

/* ===== reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
:focus-visible { outline: 2px solid var(--imtb-akzent-rot); outline-offset: 3px; }

/* ===== layout primitives ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(33,36,52,.06);
}
.site-header__inner {
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  color: var(--imtb-akzent-rot);
  letter-spacing: -.01em;
}
.brand__logo { height: 28px; width: auto; display: block; }
.brand__divider { width: 1px; height: 22px; background: var(--imtb-sand-grau); opacity: .6; }
.brand__tool { font-size: 14px; font-weight: 600; color: var(--imtb-anthrazit); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 14px; color: var(--imtb-grau-mittel);
  font-weight: 500; transition: color var(--dur-fast) var(--ease-standard);
}
.nav a:hover { color: var(--imtb-nachtblau); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px;
  background: var(--imtb-nachtblau); color: white;
  border-radius: 4px; font-size: 14px; font-weight: 600;
  transition: background var(--dur-fast) var(--ease-standard);
}
.header-cta:hover { background: #2b2f43; }
.header-login {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  color: var(--imtb-nachtblau); font-size: 14px; font-weight: 600;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(60,64,88,.22);
  transition: background var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-fast) var(--ease-standard);
}
.header-login:hover { background: rgba(60,64,88,.06); box-shadow: inset 0 0 0 1px rgba(60,64,88,.40); }
@media (max-width: 880px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .brand__divider, .brand__tool { display: none; }
  .header-cta { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 4px;
  font-weight: 600; font-size: 15px;
  transition: background var(--dur-fast) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--imtb-akzent-rot); color: white; }
.btn--primary:hover { background: var(--imtb-dunkel-rot); }
.btn--dark { background: var(--imtb-nachtblau); color: white; }
.btn--dark:hover { background: #2b2f43; }
.btn--ghost {
  background: transparent; color: var(--imtb-nachtblau);
  box-shadow: inset 0 0 0 1px rgba(60,64,88,.22);
}
.btn--ghost:hover { background: rgba(60,64,88,.06); }
.btn--ghost-light {
  background: transparent; color: white;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.30);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.08); }
.btn--lg { height: 54px; font-size: 16px; padding: 0 26px; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(60,64,88,.78) 0%, rgba(60,64,88,.92) 60%, rgba(60,64,88,.98) 100%),
    url("hero-cloud.jpg") center / cover no-repeat,
    var(--imtb-nachtblau);
  color: white;
  padding: 96px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    url("hero-pattern.svg") center / cover no-repeat,
    radial-gradient(60% 50% at 78% 30%, rgba(228,82,59,.18), transparent 65%),
    radial-gradient(50% 40% at 15% 85%, rgba(235,225,206,.08), transparent 70%);
  pointer-events: none;
  opacity: .55;
}
.hero__inner { position: relative; max-width: 780px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.78); font-weight: 600;
  padding: 6px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
}
.hero__eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--imtb-akzent-rot);
  box-shadow: 0 0 0 0 rgba(228,82,59,.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(228,82,59,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(228,82,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(228,82,59,0); }
}
@media (prefers-reduced-motion: reduce) { .hero__eyebrow .pulse { animation: none; } }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
}
.hero__sub {
  margin: 26px 0 0;
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 56ch;
}
.hero__ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; align-items: center; }
.hero__ctas__sub { font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: .02em; }
.hero__trust { display: flex; gap: 22px; margin-top: 44px; flex-wrap: wrap; }
.hero__trust__item {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: 13px;
}
.hero__trust__item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== generic section ===== */
section { scroll-margin-top: 80px; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--dark {
  background:
    linear-gradient(180deg, rgba(60,64,88,.88) 0%, rgba(60,64,88,.97) 100%),
    url("hero-cloud.jpg") center / cover no-repeat,
    var(--imtb-nachtblau);
  color: white;
  position: relative;
}
.section--sand { background: var(--imtb-sand); }
.section__head { margin-bottom: 48px; max-width: 760px; }
.eyebrow-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--imtb-akzent-rot); font-weight: 700;
}
.eyebrow-tag .bar { width: 24px; height: 2px; background: currentColor; }
.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--imtb-nachtblau);
  margin: 16px 0 0;
}
.section--dark h2 { color: white; }
.section__sub {
  margin-top: 18px;
  font-size: 18px; color: var(--imtb-grau-mittel);
  line-height: 1.55; max-width: 60ch;
}
.section--dark .section__sub { color: rgba(255,255,255,.72); }

/* ===== Karten (Drei Bereiche) ===== */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  background: white; border: 1px solid rgba(33,36,52,.08);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative; overflow: hidden;
}
.trust-card__icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--imtb-sand);
  display: flex; align-items: center; justify-content: center;
  color: var(--imtb-nachtblau); margin-bottom: 22px;
}
.trust-card h3 {
  font-size: 19px; font-weight: 700; color: var(--imtb-nachtblau);
  margin: 0 0 10px; letter-spacing: -0.01em;
}
.trust-card p {
  font-size: 14px; line-height: 1.6; color: var(--imtb-grau-mittel);
  margin: 0;
}

/* ===== Ablaufdiagramm ===== */
.ablauf { margin: 0; }
.ablauf figcaption {
  margin-top: 20px;
  font-size: 13px; color: var(--imtb-grau-mittel);
  line-height: 1.6; max-width: 74ch;
}
.ablauf__rahmen { overflow-x: auto; }
.ablauf__rahmen svg { min-width: 720px; }

/* ===== Abschluss-CTA ===== */
.final-cta { padding: 88px 0; }
.final-cta h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1;
  letter-spacing: -0.02em; color: white; margin: 0;
}
.final-cta p {
  margin: 20px 0 0; font-size: 17px; line-height: 1.6;
  color: rgba(255,255,255,.75); max-width: 56ch;
}
.final-cta p a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.final-cta__ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; align-items: center; }
.final-cta__sub {
  font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: .02em;
  align-self: center;
}

/* ===== FOOTER ===== */
.footer {
  background: #1e2130; color: rgba(255,255,255,.6);
  padding: 56px 0 32px; font-size: 14px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__tagline {
  margin-top: 18px; font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.55); max-width: 320px;
}
.footer h5 {
  color: white; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 16px; font-weight: 700;
}
.footer__col a, .footer__col button {
  display: block; padding: 4px 0; color: rgba(255,255,255,.6);
  text-align: left; font-size: 14px;
  transition: color var(--dur-fast) var(--ease-standard);
}
.footer__col a:hover, .footer__col button:hover { color: white; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 13px; color: rgba(255,255,255,.45);
  flex-wrap: wrap; gap: 10px;
}

/* ===== Legal-Modal (Impressum / Datenschutz) ===== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(33,36,52,.62);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  animation: fadeIn 240ms var(--ease-standard);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-backdrop[hidden] { display: none; }
.modal {
  background: white;
  width: 100%; max-width: 760px;
  max-height: 90vh;
  border-radius: 8px;
  display: grid; grid-template-rows: auto 1fr;
  overflow: hidden;
  animation: slideUp 280ms var(--ease-standard);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal { animation: none; }
}
.modal__head {
  padding: 22px 28px; border-bottom: 1px solid rgba(33,36,52,.08);
  display: flex; align-items: center; justify-content: space-between;
}
.modal__title { font-size: 18px; font-weight: 700; color: var(--imtb-nachtblau); }
.modal__close { color: var(--imtb-grau-mittel); line-height: 1; padding: 4px; }
.modal__close:hover { color: var(--imtb-anthrazit); }
.modal__body { padding: 28px; overflow-y: auto; min-height: 0; }
.legal-body { font-size: 14px; line-height: 1.65; color: var(--imtb-anthrazit); }
.legal-body .legal-meta {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--imtb-grau-mittel); font-weight: 600; margin-bottom: 20px;
}
.legal-body h3 {
  font-size: 16px; font-weight: 700; color: var(--imtb-nachtblau);
  margin: 24px 0 8px; letter-spacing: -.01em;
}
.legal-body > :first-child { margin-top: 0; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 12px; font-size: inherit; line-height: inherit; color: inherit; }
.legal-body strong { color: var(--imtb-nachtblau); }
.legal-body ul { margin: 8px 0 14px; padding-left: 20px; }
.legal-body li { margin-bottom: 7px; }
.legal-body a {
  color: var(--imtb-akzent-rot); text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--imtb-dunkel-rot); }
.legal-body .pruefhinweis {
  background: var(--achtung-flaeche);
  border: 1px solid var(--achtung-rand);
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0 0 20px;
  font-size: 13px; line-height: 1.6;
}

/* =====================================================================
 * DOKU (/ueber)
 *
 * Das Geruest der internen Doku, unveraendert in Aufbau und Verhalten —
 * getauscht sind Farben, Schriften und Maße gegen die IMTB-Tokens. Alles
 * hier haengt an `.doku`, damit die Landingpage nichts davon abbekommt:
 * beide Seiten laden dieselbe Datei.
 * ===================================================================== */

.doku { font-size: 0.9375rem; line-height: 1.68; }
.doku a { color: var(--imtb-akzent-rot); }
.doku a:hover { color: var(--imtb-dunkel-rot); }

.doku h1, .doku h2, .doku h3, .doku h4 {
  line-height: 1.25; letter-spacing: -.012em; margin: 0;
  font-family: var(--font-display);
  color: var(--imtb-nachtblau);
}
.doku h1 { font-size: 1.9rem; font-weight: 800; }
.doku h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .85rem; }
.doku h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin: 2rem 0 .6rem; }
.doku h4 { font-size: .9375rem; font-weight: 600; letter-spacing: 0; margin: 1.5rem 0 .4rem; font-family: var(--font-sans); }
.doku p { margin: 0 0 .9rem; max-width: 74ch; font-size: inherit; line-height: inherit; }
.doku p:last-child { margin-bottom: 0; }
.doku ul, .doku ol { margin: 0 0 .9rem; padding-left: 1.35rem; max-width: 74ch; }
.doku li { margin-bottom: .35rem; }
.doku li:last-child { margin-bottom: 0; }
.doku strong { font-weight: 600; color: var(--imtb-nachtblau); }
.doku code {
  font-family: var(--font-mono); font-size: .85em; font-variant-numeric: tabular-nums;
  background: var(--imtb-sand); padding: .1em .38em; border-radius: 3px;
  color: var(--imtb-nachtblau);
}

/* ---------- Rahmen ---------- */
.rahmen {
  max-width: 1240px; margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 3vw, 2rem) 4rem;
  display: grid; grid-template-columns: 224px minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .rahmen { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Inhaltsverzeichnis ---------- */
.toc { position: sticky; top: 5rem; font-size: .875rem; }
@media (max-width: 900px) {
  .toc {
    position: static; border: 1px solid var(--linie); border-radius: 8px;
    padding: 1.25rem; background: var(--imtb-sand);
  }
}
.toc p {
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--imtb-grau-mittel); margin: 0 0 .75rem; max-width: none;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; max-width: none; }
.toc li { margin: 0; counter-increment: t; }
.toc a {
  display: block; padding: .3rem 0 .3rem 1.65rem;
  color: var(--imtb-grau-mittel); position: relative;
  border-left: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease-standard);
}
.toc a::before {
  content: counter(t, decimal-leading-zero); position: absolute; left: .5rem;
  font-family: var(--font-mono); font-size: .6875rem;
  color: var(--imtb-sand-grau); top: .45rem;
}
.toc a:hover { color: var(--imtb-anthrazit); border-left-color: var(--imtb-sand-grau); }
.toc a.aktiv {
  color: var(--imtb-nachtblau); font-weight: 600;
  border-left-color: var(--imtb-akzent-rot);
}
.toc a.aktiv::before { color: var(--imtb-akzent-rot); }

/* ---------- Inhalt ---------- */
.inhalt > section { padding: 2.75rem 0; border-top: 1px solid var(--linie); }
.inhalt > section:first-child { padding-top: 0; border-top: 0; }
.einstieg h1 { margin-bottom: .75rem; }
.einstieg .stand {
  font-family: var(--font-mono); font-size: .75rem;
  color: var(--imtb-grau-mittel); display: block; margin-bottom: 1.25rem;
}
.einstieg .lead { font-size: 1.0625rem; color: var(--imtb-grau-mittel); max-width: 68ch; }
.doku .eyebrow-kapitel {
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--imtb-akzent-rot); margin: 0 0 .5rem;
}

/* ---------- Kasten ---------- */
.kasten {
  border: 1px solid var(--linie); border-radius: 8px; padding: 1.1rem 1.25rem;
  background: var(--imtb-sand); margin: 1.5rem 0; max-width: 74ch;
}
.kasten h4 { margin-top: 0; }
.kasten p:last-child { margin-bottom: 0; }
.kasten--achtung { background: var(--achtung-flaeche); border-color: var(--achtung-rand); }
.kasten--achtung h4 { color: var(--warnung); }

/* ---------- Tabelle ---------- */
.tabellenrahmen {
  margin: 1.5rem 0; overflow-x: auto;
  border: 1px solid var(--linie); border-radius: 8px;
}
.doku table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
  min-width: 560px; background: #fff;
}
.doku th, .doku td {
  text-align: left; padding: .7rem 1rem;
  border-bottom: 1px solid var(--linie); vertical-align: top;
}
.doku thead th {
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--imtb-grau-mittel); background: var(--imtb-sand); white-space: nowrap;
}
.doku tbody tr:last-child td { border-bottom: 0; }
.doku td:first-child { white-space: nowrap; font-weight: 500; }

/* ---------- Definitionsliste ---------- */
.doku dl { margin: 1.25rem 0; border-top: 1px solid var(--linie); max-width: 74ch; }
.doku dl div {
  display: grid; grid-template-columns: minmax(10rem, 30%) 1fr; gap: .2rem 1.5rem;
  padding: .7rem 0; border-bottom: 1px solid var(--linie);
}
@media (max-width: 600px) { .doku dl div { grid-template-columns: 1fr; } }
.doku dt { font-weight: 600; color: var(--imtb-nachtblau); }
.doku dd { margin: 0; color: var(--imtb-grau-mittel); }

/* ---------- Schritte ---------- */
ol.schritte {
  list-style: none; counter-reset: s; padding: 0; margin: 1.25rem 0; max-width: 74ch;
}
ol.schritte > li {
  counter-increment: s; position: relative; padding: 0 0 1.1rem 2.4rem;
  border-left: 1px solid var(--linie); margin-left: .7rem;
}
ol.schritte > li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.schritte > li::before {
  content: counter(s); position: absolute; left: -.72rem; top: .05rem;
  width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: #fff; border: 1px solid var(--imtb-sand-grau);
  color: var(--imtb-grau-mittel);
  font-family: var(--font-mono); font-size: .6875rem;
  display: grid; place-items: center;
}
ol.schritte b { display: block; font-weight: 600; margin-bottom: .2rem; color: var(--imtb-nachtblau); }

/* ---------- Plaketten ---------- */
/* Vier unterscheidbare Varianten — im Status-Lexikon tragen sie Bedeutung. */
.plakette {
  display: inline-block; padding: .15rem .5rem; border-radius: 4px;
  font-family: var(--font-mono); font-size: .7rem; white-space: nowrap;
  background: var(--imtb-sand); color: var(--imtb-nachtblau);
}
.plakette--warn   { background: var(--warnung-flaeche); color: var(--warnung); }
.plakette--gut    { background: var(--gut-flaeche);     color: var(--gut); }
.plakette--fehler { background: var(--fehler-flaeche);  color: var(--fehler); }

/* ---------- Diagramm ---------- */
.doku figure { margin: 1.75rem 0 0; }
.doku figure svg { display: block; width: 100%; height: auto; }
.doku figcaption {
  margin-top: .85rem; font-size: .8125rem;
  color: var(--imtb-grau-mittel); max-width: 74ch;
}
.doku .diagrammrahmen { overflow-x: auto; }
.doku .diagrammrahmen svg { min-width: 720px; }
