/* =============================================================================
   INTERVECTOR — Corporate Design & Websites, München
   main.css

   Satz      Archivo Variable (Omnibus-Type), IBM Plex Mono (Bold Monday)
   Raster    12 Spalten, Rinne 24 px, Satzspiegel max. 1440 px
   Farbe     Papier / Tinte / ein Signal
   Hinweis   Keine Rundungen, keine Schatten, keine Verläufe.
   ========================================================================== */


/* -----------------------------------------------------------------------------
   00  Schriften — lokal gehostet (kein Google-Fonts-Request, DSGVO-konform)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/plexmono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/plexmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* -----------------------------------------------------------------------------
   01  Marken-Token
   -------------------------------------------------------------------------- */

:root {
  color-scheme: dark;

  /* Markenfarben: Grund #231F20, Schrift #F7F0F5, Signal #00FFFF.
     Entnommen der Bildmarke — mehr Werte gibt es nicht. */
  --paper:      #231F20;   /* Grund    */
  --paper-sunk: #2A2526;   /* Fläche   */
  --paper-deep: #322C2E;
  --ink:        #F7F0F5;   /* Schrift  */
  --ink-80:     rgba(247, 240, 245, 0.80);
  --ink-60:     rgba(247, 240, 245, 0.58);
  --ink-40:     rgba(247, 240, 245, 0.40);
  --rule:       rgba(247, 240, 245, 0.22);
  --rule-soft:  rgba(247, 240, 245, 0.11);
  --signal:     #00FFFF;   /* Signal   */
  --on-signal:  #231F20;   /* Schrift auf Signalflächen */
  --field:      #1A1718;

  /* Satz */
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Raster */
  --cols: 12;
  --gut: 24px;
  --margin: 40px;
  --measure: 1440px;

  /* Rhythmus — 8-px-Basis */
  --s1: 8px;   --s2: 16px;  --s3: 24px;  --s4: 32px;
  --s5: 48px;  --s6: 64px;  --s7: 96px;  --s8: 128px;

  --bar: 46px;              /* Höhe der Laufleiste */
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (max-width: 900px) {
  :root { --gut: 16px; --margin: 20px; }
}

/* Keine Hellfassung. Das reine Cyan der Marke erreicht auf hellem Grund nur
   1,1 : 1 und wäre damit unlesbar. Die Marke steht auf ihrem eigenen Grund. */


/* -----------------------------------------------------------------------------
   02  Grundlage
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + var(--s4));
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
::selection { background: var(--signal); color: var(--on-signal); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

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

.skip {
  position: absolute;
  left: var(--margin); top: -200px;
  z-index: 400;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px;
  font-family: var(--mono); font-size: 0.75rem;
  transition: top 0.2s;
}
.skip:focus { top: 8px; }


/* -----------------------------------------------------------------------------
   03  Raster
   -------------------------------------------------------------------------- */

.sheet {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--margin);
}

.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: var(--s4);
}

/* Spaltenspannen — Mobil: alles volle Breite */
[class*="col-"] { grid-column: 1 / -1; }

@media (min-width: 760px) {
  /* Start zurücksetzen, damit .at-* ihn allein bestimmt */
  [class*="col-"] { grid-column-start: auto; grid-column-end: auto; }

  .col-2  { grid-column-end: span 2; }
  .col-3  { grid-column-end: span 3; }
  .col-4  { grid-column-end: span 4; }
  .col-5  { grid-column-end: span 5; }
  .col-6  { grid-column-end: span 6; }
  .col-7  { grid-column-end: span 7; }
  .col-8  { grid-column-end: span 8; }
  .col-9  { grid-column-end: span 9; }
  .col-10 { grid-column-end: span 10; }
  .col-12 { grid-column-end: span 12; }

  .at-2  { grid-column-start: 2; }
  .at-3  { grid-column-start: 3; }
  .at-4  { grid-column-start: 4; }
  .at-5  { grid-column-start: 5; }
  .at-6  { grid-column-start: 6; }
  .at-7  { grid-column-start: 7; }
  .at-8  { grid-column-start: 8; }
}

.band { padding-block: clamp(56px, 7vw, 104px); }
.band--tight { padding-block: clamp(36px, 4.5vw, 64px); }
.band--rule { border-top: 1px solid var(--rule); }
.band--sunk { background: var(--paper-sunk); }

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


/* -----------------------------------------------------------------------------
   04  Satz
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 { font-weight: 600; line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance; }

.t-display {
  font-size: clamp(2.75rem, 8.4vw, 7rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.t-h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 0.98; letter-spacing: -0.038em; }
.t-h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.04; letter-spacing: -0.032em; }
.t-h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.16; letter-spacing: -0.024em; }
.t-h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.018em; }

.t-lead {
  font-size: clamp(1.1rem, 1.55vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.014em;
  max-width: 44ch;
  text-wrap: pretty;
}
.t-body { max-width: 62ch; text-wrap: pretty; }
.t-body + .t-body { margin-top: var(--s2); }
.t-small { font-size: 0.9375rem; line-height: 1.5; }
.t-dim { color: var(--ink-60); }
.t-signal { color: var(--signal); }

.t-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  line-height: 1.3;
}
.t-label--ink { color: var(--ink); }
.t-label--signal { color: var(--signal); }

.t-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--signal);
}

/* Kapitelmarke: 02 ———— Leistungen */
.chapter {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.chapter__no { color: var(--signal); }
.chapter__line { flex: 1 1 auto; height: 1px; background: var(--rule); max-width: 120px; }

.lede {
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.32;
  letter-spacing: -0.026em;
  font-weight: 400;
  max-width: 30ch;
  text-wrap: pretty;
}

/* Marginalie — kleiner Text in der Seitenspalte */
.margin-note {
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink-60);
  border-top: 1px solid var(--ink);
  padding-top: var(--s1);
}


/* -----------------------------------------------------------------------------
   05  Kopf — Impressum-Zeile, Logotype, Index-Navigation
   -------------------------------------------------------------------------- */

.masthead { background: var(--paper); }

.masthead__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  height: 34px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  border-bottom: 1px solid var(--rule-soft);
  white-space: nowrap;
  overflow: hidden;
}
.masthead__meta span { display: inline-flex; align-items: center; gap: 10px; }
.masthead__meta b { font-weight: 400; color: var(--ink); }

.masthead__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: clamp(20px, 3vw, 36px) clamp(14px, 1.6vw, 20px);
}

.logotype { display: inline-flex; align-items: center; gap: 11px; }
.logotype__word {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
.logotype__sign {
  width: clamp(28px, 2.8vw, 36px);
  height: auto;
  aspect-ratio: 1;
  flex: none;
}
.logotype__mark { width: 7px; height: 7px; background: var(--signal); flex: none; }
.logotype__sub {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.masthead__claim {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  text-align: right;
  line-height: 1.7;
}
@media (max-width: 900px) { .masthead__claim { display: none; } }

/* Index-Navigation */
.index-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--s3);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.index-nav__list { display: flex; list-style: none; }
.index-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 11px 20px 11px 0;
  margin-right: 20px;
  font-size: 0.9375rem;
  letter-spacing: -0.014em;
  color: var(--ink-80);
  position: relative;
  transition: color 0.18s;
}
.index-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 20px; bottom: -1px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.index-nav__list a:hover { color: var(--ink); }
.index-nav__list a:hover::after,
.index-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.index-nav__list a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.index-nav__no { font-family: var(--mono); font-size: 0.625rem; color: var(--signal); letter-spacing: 0.06em; }

.index-nav__tools { display: flex; align-items: center; gap: var(--s2); }

.langs { display: flex; align-items: center; }
.langs button {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  padding: 5px 7px;
  color: var(--ink-40);
  transition: color 0.18s;
}
.langs button:hover { color: var(--ink); }
.langs button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.langs span { color: var(--ink-40); font-family: var(--mono); font-size: 0.6875rem; }

.burger {
  display: none;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 0;
}
.burger i { display: block; width: 18px; height: 8px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transition: transform 0.25s var(--ease); }
.burger[aria-expanded="true"] i { transform: rotate(90deg); }

@media (max-width: 900px) {
  .index-nav__list { display: none; }
  .burger { display: inline-flex; }
}

/* Laufleiste — erscheint beim Scrollen */
.runbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--bar);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-101%);
  transition: transform 0.32s var(--ease);
}
.runbar.is-on { transform: none; }
.runbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  height: 100%;
}
.runbar__left { display: flex; align-items: baseline; gap: var(--s3); min-width: 0; }
.runbar__word { font-weight: 700; letter-spacing: -0.04em; font-size: 1.0625rem; }
.runbar__here {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.runbar__here b { color: var(--signal); font-weight: 400; }
.runbar__right { display: flex; align-items: center; gap: var(--s2); }
.runbar__progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  background: var(--signal);
  width: 0;
}
@media (max-width: 560px) { .runbar__here { display: none; } }

/* Vollbild-Navigation (mobil) */
.sheet-nav {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--paper);
  padding: 0 var(--margin) var(--s5);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, visibility 0.22s;
  overflow-y: auto;
}
.sheet-nav.is-open { opacity: 1; visibility: visible; }

.sheet-nav__bar {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  height: 64px;
  margin-bottom: var(--s4);
}
.sheet-nav__close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 0;
}
.sheet-nav__close i {
  display: block;
  width: 18px; height: 18px;
  position: relative;
}
.sheet-nav__close i::before,
.sheet-nav__close i::after {
  content: "";
  position: absolute;
  top: 8px; left: 0;
  width: 18px; height: 1.5px;
  background: var(--ink);
}
.sheet-nav__close i::before { transform: rotate(45deg); }
.sheet-nav__close i::after  { transform: rotate(-45deg); }

.sheet-nav__link {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.6rem, 7vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.sheet-nav__link:first-of-type { border-top: 1px solid var(--ink); }
.sheet-nav__no { font-family: var(--mono); font-size: 0.6875rem; color: var(--signal); letter-spacing: 0.08em; }
.sheet-nav__foot {
  margin-top: auto;
  padding-top: var(--s5);
  display: grid;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0;
}
.sheet-nav__foot a { border-bottom: 1px solid var(--rule); justify-self: start; }
.sheet-nav__foot span { color: var(--ink-60); }


/* -----------------------------------------------------------------------------
   06  Aufmacher
   -------------------------------------------------------------------------- */

.opener { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.opener__title { margin-top: var(--s3); }
.opener__title em { font-style: normal; color: var(--ink-40); }
.opener__lead { margin-top: var(--s4); }

.opener__aside { display: flex; flex-direction: column; gap: var(--s3); }

.stamp {
  border: 1px solid var(--ink);
  padding: var(--s2) var(--s2) var(--s2) var(--s2);
  display: grid;
  gap: 4px;
}
.stamp dt { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60); }
.stamp dd { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.02em; }
.stamp dd + dt { margin-top: var(--s2); }

.live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live i { width: 7px; height: 7px; background: var(--signal); flex: none; animation: blink 2.4s steps(1, end) infinite; }
@keyframes blink { 0%, 62% { opacity: 1; } 63%, 100% { opacity: 0.25; } }


/* -----------------------------------------------------------------------------
   07  Schaltflächen und Verweise
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.btn span.arrow { transition: transform 0.28s var(--ease); }
.btn:hover span.arrow { transform: translateX(5px); }

.btn--plain { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--plain:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

.go {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s, color 0.2s, gap 0.28s var(--ease);
}
.go:hover { color: var(--signal); border-color: var(--signal); gap: 15px; }

.link-u { border-bottom: 1px solid var(--rule); transition: border-color 0.2s, color 0.2s; }
.link-u:hover { color: var(--signal); border-color: var(--signal); }


/* -----------------------------------------------------------------------------
   08  Verzeichnis — Leistungen als nummerierte Liste, nicht als Kartenraster
   -------------------------------------------------------------------------- */

.register { border-top: 2px solid var(--ink); }

.entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s2);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-left 0.4s var(--ease);
}
.entry::before {
  content: "";
  position: absolute;
  inset: 0 0 -1px 0;
  background: var(--paper-sunk);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
a.entry:hover { padding-left: var(--s2); }
a.entry:hover::before { opacity: 1; }

.entry__no { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--signal); }
.entry__title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); }
.entry__arrow { color: var(--ink-40); transition: transform 0.3s var(--ease), color 0.2s; }
a.entry:hover .entry__arrow { transform: translate(4px, -4px); color: var(--signal); }
.entry__desc { color: var(--ink-60); max-width: 48ch; }
.entry__keys { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-60); }
.entry__keys li { list-style: none; }
.entry__keys li:not(:last-child)::after { content: " /"; color: var(--ink-40); }

@media (min-width: 880px) {
  .entry {
    grid-template-columns: 56px minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
    gap: var(--gut);
    align-items: start;
  }
  .entry__no { padding-top: 7px; }
  .entry__keys { flex-direction: column; gap: 5px; }
  .entry__keys li:not(:last-child)::after { content: ""; }
  /* Einträge ohne Stichwortspalte dürfen breiter laufen */
  .entry:not(:has(.entry__keys li)) { grid-template-columns: 56px minmax(0, 4fr) minmax(0, 8fr); }
  .entry:not(:has(.entry__keys li)) .entry__desc { max-width: 66ch; }
}


/* -----------------------------------------------------------------------------
   09  Kennzahlen — gesetzte Tabelle, keine Kacheln
   -------------------------------------------------------------------------- */

.figures { width: 100%; border-collapse: collapse; text-align: left; }
.figures caption { text-align: left; padding-bottom: var(--s2); }
.figures th, .figures td { padding: var(--s2) var(--s2) var(--s2) 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.figures thead th { border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60); font-weight: 400; }
.figures tbody th { font-weight: 400; color: var(--ink-80); }
.figures .num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  padding-right: 0;
}
.figures tbody tr:last-child th, .figures tbody tr:last-child td { border-bottom: 0; }

/* Große Kennzahlen in einer Reihe, durch Linien getrennt */
.keyfigures { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
@media (min-width: 880px) { .keyfigures { grid-template-columns: repeat(4, 1fr); } }
.keyfig { padding: var(--s3) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.keyfig:last-child { border-right: 0; }
@media (max-width: 879px) { .keyfig:nth-child(2n) { border-right: 0; } }
.keyfig__v { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.keyfig__k { margin-top: var(--s2); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); }


/* -----------------------------------------------------------------------------
   10  Tafeln — Arbeiten und Spezimen
   -------------------------------------------------------------------------- */

.plate { display: grid; gap: var(--s2); }
.plate__frame {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--paper-sunk);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.plate__frame > img,
.plate__frame > svg,
.plate__frame > picture { width: 100%; height: 100%; display: block; }
.plate__frame > img,
.plate__frame > picture > img { object-fit: cover; width: 100%; height: 100%; }
.plate--tall .plate__frame { aspect-ratio: 3 / 4; }
.plate--wide .plate__frame { aspect-ratio: 16 / 9; }
.plate--land .plate__frame { aspect-ratio: 3 / 2; }
.plate--port .plate__frame { aspect-ratio: 2 / 3; }
.plate--45   .plate__frame { aspect-ratio: 4 / 5; }
.plate--plain .plate__frame { background: var(--paper); }

/* Hochformate und Plakate werden eingepasst, nicht beschnitten */
.plate--fit .plate__frame { background: var(--paper); padding: var(--s3); }
.plate--fit .plate__frame > picture > img { object-fit: contain; }

.plate__cap { display: flex; gap: var(--s2); align-items: baseline; }
.plate__no { font-family: var(--mono); font-size: 0.6875rem; color: var(--signal); flex: none; letter-spacing: 0.08em; }
.plate__text { display: grid; gap: 3px; }
.plate__title { font-weight: 500; letter-spacing: -0.018em; }
.plate__meta { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--ink-60); }
.plate__desc { margin-top: 6px; line-height: 1.45; }

a.plate .plate__frame { transition: border-color 0.25s; }
a.plate:hover .plate__frame { border-color: var(--ink); }
a.plate:hover .plate__title { color: var(--signal); }


/* -----------------------------------------------------------------------------
   10b  Vergleich — Vorher / Nachher mit laufender Trennlinie
   -------------------------------------------------------------------------- */

.compare { display: grid; gap: var(--s2); }

.compare__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  background: var(--paper-sunk);
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;          /* senkrecht scrollen bleibt möglich */
  user-select: none;
  -webkit-user-select: none;
}
.compare__frame:has(.compare__range:focus-visible) {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.compare__layer { position: absolute; inset: 0; }
.compare__layer--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__layer img { width: 100%; height: 100%; object-fit: cover; display: block; }

.compare__tag {
  position: absolute;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 5px 10px;
  pointer-events: none;
}
.compare__tag--l { left: 12px; }
.compare__tag--r { right: 12px; }

.compare__bar {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--signal);
  pointer-events: none;
}
.compare__grip {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 46px; height: 46px;
  background: var(--signal);
  display: grid;
  grid-auto-flow: column;
  align-content: center;
  justify-content: center;
  gap: 7px;
}
.compare__grip i {
  width: 0; height: 0;
  border-block: 5px solid transparent;
}
.compare__grip i:first-child { border-right: 7px solid var(--on-signal); }
.compare__grip i:last-child  { border-left: 7px solid var(--on-signal); }

/* Bedienelement: unsichtbar, aber fokussierbar und für Screenreader ein Regler */
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 1px; height: 100%; }
.compare__range::-moz-range-thumb { width: 1px; height: 100%; border: 0; }

.compare__cap { display: flex; gap: var(--s2); align-items: baseline; }

.compare__legend { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.compare__legend li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--s2);
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.compare__legend b { font-family: var(--mono); font-size: 0.6875rem; font-weight: 400; color: var(--signal); }

@media (max-width: 759px) {
  .compare__grip { width: 40px; height: 40px; }
  .compare__tag { font-size: 0.5625rem; bottom: 8px; }
  .compare__tag--l { left: 8px; }
  .compare__tag--r { right: 8px; }
}


/* -----------------------------------------------------------------------------
   11  Ablauf
   -------------------------------------------------------------------------- */

.phases { border-top: 2px solid var(--ink); counter-reset: ph; }
.phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s1);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--rule);
}
.phase__no { font-family: var(--mono); font-size: 0.6875rem; color: var(--signal); letter-spacing: 0.1em; }
.phase__desc { color: var(--ink-60); }
.phase__out { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-60); letter-spacing: 0.02em; }
@media (min-width: 880px) {
  .phase { grid-template-columns: 56px minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: var(--gut); align-items: baseline; }
}


/* -----------------------------------------------------------------------------
   12  Zitat
   -------------------------------------------------------------------------- */

.pull { border-top: 2px solid var(--ink); padding-top: var(--s3); }
.pull p {
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.pull footer { margin-top: var(--s3); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); }

.voice { border-top: 1px solid var(--ink); padding-top: var(--s2); display: grid; gap: var(--s2); }
.voice p { letter-spacing: -0.012em; }
.voice footer { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--ink-60); line-height: 1.6; }
.voice footer b { display: block; font-weight: 400; color: var(--ink); }


/* -----------------------------------------------------------------------------
   13  Formular
   -------------------------------------------------------------------------- */

.form { display: grid; gap: var(--s3); }
.field { display: grid; gap: 7px; }
.field > label { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60); }
.field input, .field textarea {
  width: 100%;
  background: var(--field);
  border: 1px solid var(--rule);
  padding: 12px 14px;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: border-color 0.18s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover { border-color: var(--ink-40); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-40); }
.field--bad input, .field--bad textarea { border-color: var(--signal); }
.field__err { font-family: var(--mono); font-size: 0.6875rem; color: var(--signal); display: none; }
.field--bad .field__err { display: block; }
@media (min-width: 640px) { .form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); } }
.form__note { font-family: var(--mono); font-size: 0.6875rem; line-height: 1.6; color: var(--ink-60); }
.form__state { display: none; border: 1px solid var(--ink); padding: 14px 16px; font-size: 0.9375rem; }
.form__state.is-on { display: block; }
.form__state.is-bad { border-color: var(--signal); color: var(--signal); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* -----------------------------------------------------------------------------
   14  Fuß — Kolophon
   -------------------------------------------------------------------------- */

.colophon { border-top: 2px solid var(--ink); padding-block: var(--s5) var(--s3); }
.colophon h2 { font-family: var(--mono); font-size: 0.625rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-60); margin-bottom: var(--s2); }
.colophon ul { list-style: none; display: grid; gap: 7px; font-size: 0.9375rem; }
.colophon ul a { border-bottom: 1px solid transparent; transition: border-color 0.18s, color 0.18s; }
.colophon ul a:hover { color: var(--signal); border-color: var(--signal); }
.colophon dl { display: grid; gap: 7px; font-family: var(--mono); font-size: 0.6875rem; line-height: 1.5; color: var(--ink-60); }
.colophon dl div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
.colophon dt { color: var(--ink-40); }

.colophon__bottom {
  margin-top: var(--s6);
  padding-top: var(--s2);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px var(--s4);
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
}


/* -----------------------------------------------------------------------------
   15  Rasterauflage — Taste G
   -------------------------------------------------------------------------- */

.raster {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  display: none;
}
.raster.is-on { display: block; }
.raster__in {
  height: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--margin);
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gut);
}
.raster__in i { background: rgba(0, 255, 255, 0.07); border-left: 1px solid rgba(0, 255, 255, 0.30); border-right: 1px solid rgba(0, 255, 255, 0.30); }
.raster__tag {
  position: fixed;
  left: var(--margin); bottom: 16px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  padding: 7px 11px;
}
@media (max-width: 760px) { .raster__in i:nth-child(n+7) { display: none; } }

.hint {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.hint kbd {
  font: inherit;
  border: 1px solid var(--rule);
  padding: 1px 5px;
  margin-inline: 2px;
  color: var(--ink-60);
}


/* -----------------------------------------------------------------------------
   16  Bewegung — zurückhaltend, abschaltbar
   -------------------------------------------------------------------------- */

/* Nur verstecken, wenn Skripte wirklich laufen. Ohne JavaScript — oder wenn
   das Skript blockiert wird — bleibt jeder Inhalt sichtbar. Kein Inline-Skript
   nötig, damit die Content-Security-Policy eng bleiben kann. */
@media (scripting: enabled) {
  .rise { opacity: 0; transform: translateY(10px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
  .rise.is-in { opacity: 1; transform: none; }

  .draw { transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
  .draw.is-in { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rise { opacity: 1 !important; transform: none !important; }
  .draw { transform: none !important; }
}


/* -----------------------------------------------------------------------------
   17  Druck
   -------------------------------------------------------------------------- */

@media print {
  :root { --paper: #FFF; --ink: #000; --signal: #000; --rule: #999; }
  .runbar, .sheet-nav, .raster, .burger, .langs, .skip, .hint { display: none !important; }
  body { font-size: 10.5pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
  .band { padding-block: 18pt; }
  .plate { break-inside: avoid; }
}
