/* Schmitt + Thielmann — Design-System "Raster".
   Eine Datei, keine Token-Ordner: die Variablen stehen oben in :root, darunter
   die Komponenten in Lesereihenfolge der Seite. Quelle ist die DESIGN.md der
   Variante 1 aus st-entwurf-2a, alle Farb- und Maßwerte sind von dort.

   Leitbild ist das Zeichnungsblatt: Papierton mit durchlaufendem 80er-Raster,
   Null Radius, Null Schatten, Trennung ausschließlich über Haarlinien, genau
   ein Akzent (seit 08.10.2026 das Logo-Gruen, vorher Signalorange), getragen vom "+" der Wortmarke. */

/* ---------------------------------------------------------------- Schriften */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/static/fonts/Archivo-300_900-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-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/static/fonts/Archivo-300_900-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/IBMPlexMono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/IBMPlexMono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/IBMPlexMono-500-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/IBMPlexMono-500-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;
}

/* ------------------------------------------------------------------- Tokens */

:root {
  /* Der einzige Akzent der Site. Traeger ist das "+" der Wortmarke. Seit 08.10.2026
     das Gruen aus dem Logo (#177b28, gemessen an Logo_SUT.jpg): Marc wollte die CI-Farbe
     zurueck, und sie haelt AA als Text auf Papier (4,90:1) und Weiss darauf (5,38:1).
     Von Marc am 24.10.2026 bestaetigt, die Orange-Vergleichsvariante ist seitdem raus. */
  --signal: #177b28;

  --papier: #f5f4f1;
  --tinte: #1a1a18;
  --text-lead: #2c2b28;
  --text: #54514b;
  --text-leise: #6e6a63;
  --navigation: #4a4843;
  /* Auf WCAG 2.2 AA gezogen (08.10.2026): label und platzhalter sind kleine Schrift
     und brauchen 4,5:1 auf Papier, offen-grau steht nur in grossen Zahlen (3:1). */
  --label: #726e66;
  --platzhalter: #706e67;
  --offen-grau: #8e8a82;
  --kennung-grau: #d8d4cb;

  --linie: rgba(26, 26, 24, .16);
  --linie-stark: rgba(26, 26, 24, .25);
  /* Kontur bedienbarer Elemente (Knopf, Chip, Eingabefeld): 3:1 gegen Papier. */
  --kontur: rgba(26, 26, 24, .48);
  --rasterlinie: rgba(26, 26, 24, .055);
  --flaeche-band: rgba(255, 255, 255, .66);
  --flaeche-feld: rgba(255, 255, 255, .5);

  --bahn: 1280px;
  /* Seitliches Mass der Bahn. Faellt unter 900px auf 32px, unter 600px auf 20px. */
  --mass: 64px;
  --modul: 80px;

  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

@media (max-width: 900px) { :root { --mass: 32px; } }
@media (max-width: 600px) { :root { --mass: 20px; } }

/* --------------------------------------------------------------------- Basis */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--tinte);
  /* Der Papierton liegt auf dem body, damit das Blatt ueber die 1280er-Bahn
     hinaus weiterlaeuft. Das Raster liegt nur auf der Bahn. */
  background: var(--papier);
  font-synthesis-weight: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--signal); color: #fff; }

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

/* Die Bahn. Traegt das Konstruktionsraster: senkrechte und waagerechte Linien
   alle 80px, darueber eine 320er-Kachel mit einem Kreuz in der Mitte. Das Kreuz
   landet damit auf jeder vierten Rasterkreuzung. */
.st-blatt {
  width: var(--bahn);
  max-width: 100%;
  margin: 0 auto;
  background-color: var(--papier);
  background-image:
    linear-gradient(to right, var(--rasterlinie) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rasterlinie) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cpath d='M151 160h18M160 151v18' stroke='%239e9a90' stroke-width='1.3'/%3E%3C/svg%3E");
  background-size: var(--modul) 100%, 100% var(--modul), 320px 320px;
}

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

.st-skip {
  position: absolute; left: -9999px;
  font-family: var(--mono); font-size: 12px;
  background: var(--signal); color: #fff; padding: 12px 20px;
}
.st-skip:focus { left: 0; top: 0; z-index: 20; }

/* Mono-Label. Jede gemessene oder katalogisierte Angabe steht im Mono. */
.st-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--label);
}

.st-kennung {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--label);
}

/* -------------------------------------------------------------------- Abschnitte */

.st-innen { padding-left: var(--mass); padding-right: var(--mass); }

/* Die Linien-statt-Luft-Regel: zwei Abschnitte trennt eine Haarlinie, nicht
   doppelter Abstand. */
.st-linie-oben { border-top: 1px solid var(--linie); }
.st-linie-unten { border-bottom: 1px solid var(--linie); }

.st-abschnitt { padding-top: 64px; padding-bottom: 80px; }
.st-abschnitt--knapp { padding-top: 44px; padding-bottom: 56px; }

/* Aufgehelltes Band. Zwei Stufen halbtransparenten Weiss sind die einzige
   Tiefe, die dieses System kennt; das Raster bleibt sichtbar durch. */
.st-band {
  background: var(--flaeche-band);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  padding: 64px var(--mass);
}

.st-rubrik {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
}

.st-trenner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.st-trenner__link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--signal);
}
.st-trenner__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------------ Kopfzeile */

.st-kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px var(--mass);
  border-bottom: 1px solid var(--linie);
}

.st-marke {
  display: flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .03em;
}
.st-marke__plus { color: var(--signal); padding: 0 7px; font-weight: 700; }
/* Bildmarke aus dem Logo vor der Wortmarke. Die Wortmarke bleibt Text, damit der
   Name lesbar und auffindbar ist; die Bildmarke ist das Wiedererkennungszeichen. */
.st-marke, .st-fuss__marke { align-items: center; gap: 14px; }
.st-logo { display: block; height: 34px; width: auto; flex: none; }
.st-fuss__marke .st-logo { height: 26px; }
@media (max-width: 520px) { .st-marke { font-size: 16px; gap: 10px; } .st-marke .st-logo { height: 28px; } }

.st-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navigation);
}
.st-nav a:hover { color: var(--tinte); }
.st-nav a[aria-current] { color: var(--signal); }

@media (max-width: 700px) {
  .st-kopf { padding-top: 18px; padding-bottom: 18px; }
  .st-nav { gap: 16px; font-size: 11px; width: 100%; }
}
/* Sechs Eintraege passen am Telefon nicht in eine Zeile. Statt eines einzelnen
   umgebrochenen Worts zwei saubere Dreierreihen. */
@media (max-width: 520px) {
  .st-nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 12px 24px; }
}

/* ---------------------------------------------------------------------- Titelei */

.st-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 30px;
}
.st-meta__plus { color: var(--signal); }

/* Display. 118px auf der Startseite, per clamp bis zum Telefon gestaffelt. */
.st-display {
  font-size: clamp(46px, 9.2vw, 118px);
  line-height: .88;
  font-weight: 800;
  letter-spacing: -.038em;
  font-stretch: 94%;
  max-width: 15ch;
  text-wrap: balance;
}

.st-h1 {
  font-size: clamp(40px, 7.6vw, 96px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.038em;
  font-stretch: 96%;
  text-wrap: balance;
}
.st-h1--projekt { font-size: clamp(34px, 6.4vw, 76px); line-height: .95; max-width: 18ch; }

.st-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  max-width: 46ch;
}
.st-lead--gross {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--text-lead);
  max-width: 40ch;
}

.st-fliess { font-size: 16px; line-height: 1.72; color: var(--text); max-width: 62ch; }
.st-fliess p + p { margin-top: 1.1em; }
.st-fliess strong { font-weight: 700; color: var(--tinte); }

.st-titelei {
  padding-top: 72px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--linie);
}
.st-titelei__fuss {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 44px;
}

@media (max-width: 700px) { .st-titelei { padding-top: 44px; } }

/* Titelei mit Leitbild (Startseite, seit 25.10.2026): Text auf 7/12, Bild auf 5/12,
   Unterkanten buendig. Die Displayzeile wird dafuer kleiner gestaffelt, sonst traegt
   die linke Spalte ihre drei Zeilen nicht. Unter 900px steht das Bild unter dem Text. */
.st-titelei--bild {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: end;
}
.st-titelei--bild .st-display { font-size: clamp(46px, 6.6vw, 96px); }
.st-titelei--bild .st-titelei__fuss { flex-direction: column; align-items: flex-start; gap: 24px; }
.st-titelei__bild { min-width: 0; }
.st-leitbild { margin: 0; }
.st-leitbild__bild { position: relative; }
.st-leitbild__bild .st-foto { height: clamp(260px, 34vw, 460px); filter: none; }
.st-leitbild__legende {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.st-leitbild__link { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.st-leitbild__name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.st-leitbild__link:hover .st-leitbild__name { color: var(--signal); }
.st-leitbild__legende .st-bildnachweis { margin-top: 0; }

/* Am Telefon kommt das Bild direkt nach dem Claim, vor Lead und Knopf, damit es
   noch im ersten Bildschirm anschneidet. */
@media (max-width: 900px) {
  .st-titelei--bild { grid-template-columns: 1fr; gap: 0; }
  .st-titelei--bild .st-titelei__text { display: contents; }
  .st-titelei--bild .st-titelei__bild { order: 1; margin-top: 32px; }
  .st-titelei--bild .st-titelei__fuss { order: 2; margin-top: 28px; }
  .st-titelei--bild .st-display { font-size: clamp(46px, 9.2vw, 96px); }
  .st-leitbild__bild .st-foto { height: clamp(220px, 56vw, 420px); }
}

/* --------------------------------------------------------------------- Knopf */

.st-knopf {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--signal);
  color: #fff;
  padding: 15px 26px;
  display: inline-block;
  border: 1px solid var(--signal);
}
.st-knopf:hover { background: var(--tinte); border-color: var(--tinte); }

.st-knopf--leise {
  background: transparent;
  color: var(--tinte);
  border-color: var(--kontur);
}
.st-knopf--leise:hover { background: var(--tinte); color: #fff; }

.st-a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--signal);
}
.st-a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------------ Kennzahlen */

.st-zahlen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-left: var(--mass);
  padding-right: var(--mass);
  border-bottom: 1px solid var(--linie);
}
.st-zahlen > * {
  padding: 44px 0 46px;
  border-right: 1px solid var(--linie);
}
.st-zahlen > * + * { padding-left: 40px; }
.st-zahlen > *:last-child { border-right: 0; }

.st-zahl {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.st-zahl--signal { color: var(--signal); }
/* Unbestaetigte Werte stehen sichtbar als "Offen", nie als geratene Zahl. */
.st-zahl--offen { color: var(--offen-grau); }
.st-zahl__label { margin-top: 12px; }

@media (max-width: 900px) {
  .st-zahlen { grid-template-columns: repeat(2, 1fr); }
  .st-zahlen > * { padding: 28px 0 30px; }
  .st-zahlen > *:nth-child(2n) { border-right: 0; padding-left: 24px; }
  .st-zahlen > *:nth-child(3) { padding-left: 0; border-top: 1px solid var(--linie); }
  .st-zahlen > *:nth-child(4) { border-top: 1px solid var(--linie); }
}

/* ---------------------------------------------------------------------- Bilder */

/* Bilder sitzen im Raster auf 3/4 und 2/3, nie randlos. Durchgehend
   object-fit:cover und saturate(.85); nur das Leitbild der Startseite laeuft ungefiltert. */
.st-foto {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.85);
  background: var(--flaeche-feld);
}

/* Wechselnde Leitbilder: alle im selben Rasterfeld, nur das aktive ist sichtbar.
   Die Hoehe ergibt sich aus dem hoechsten, damit beim Wechsel nichts springt. */
.st-wechsel { display: grid; }
.st-wechsel__bild {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.st-wechsel__knopf {
  margin-top: 14px;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
}
.st-wechsel__knopf:hover, .st-wechsel__knopf:focus-visible { color: var(--tinte); text-decoration: underline; }
.st-wechsel__bild.ist-aktiv {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s ease, visibility 0s;
}

/* Quellenangabe unter dem Bild. Acht Projekte duerfen nur mit ihr gezeigt
   werden, deshalb sitzt sie am Bild und nicht irgendwo gesammelt. */
.st-bildnachweis {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--label);
  margin-top: 10px;
  display: block;
}

/* Das Eckkreuz: ein "+" in der Akzentfarbe, 9px ueber die Bildecke hinausgesetzt.
   Liest sich als Passermarke und bindet das Bild ans Raster. */
.st-passer::before, .st-passer::after {
  content: "+";
  position: absolute;
  color: var(--signal);
  font-size: 18px;
  line-height: 1;
}
.st-passer::before { top: -9px; left: -9px; }
.st-passer::after { bottom: -9px; right: -9px; }
.st-passer--vier .st-passer__ecke {
  position: absolute; color: var(--signal); font-size: 18px; line-height: 1;
}
.st-passer--vier .st-passer__ecke:nth-of-type(1) { top: -9px; right: -9px; }
.st-passer--vier .st-passer__ecke:nth-of-type(2) { bottom: -9px; left: -9px; }

/* Projektseite: das Bild behaelt sein Seitenverhaeltnis, statt als Streifen
   beschnitten zu werden (Marc, 28.08.: Ausschnitt bei Kureck). Hochformate und
   fast quadratische Aufnahmen werden schmaler, nicht abgeschnitten; die Eckkreuze
   sitzen am Bild, nicht an der Bahn. */
.st-projektbild { position: relative; width: fit-content; max-width: 100%; }
.st-projektbild .st-foto {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 720px);
}

/* ------------------------------------------------------------------ Leistungen */

.st-leistungen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}
.st-leistung__titel {
  font-size: 19px;
  font-weight: 700;
  margin-top: 18px;
  letter-spacing: -.015em;
  display: block;
}
.st-leistung__text { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--text-leise); }
a.st-leistung:hover .st-leistung__titel { color: var(--signal); }

@media (max-width: 900px) { .st-leistungen { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 520px) { .st-leistungen { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- Projektkacheln */

/* Startseite: 6 Spalten. Leitprojekt auf 4 (2/3), die uebrigen auf 2 (1/3). */
.st-teaser {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px 24px;
}
.st-teaser__gross { grid-column: span 4; }
.st-teaser__klein { grid-column: span 2; }
/* Obere Reihe 300px, untere 240px — nicht nach Spaltenbreite, sondern nach Reihe,
   damit die Bildunterkanten einer Reihe auf einer Linie liegen. */
.st-teaser .st-kachel__flaeche { height: 240px; }
.st-teaser > :nth-child(-n+2) .st-kachel__flaeche { height: 300px; }
.st-teaser--sechs > :nth-child(3) .st-kachel__flaeche { height: 300px; }

@media (max-width: 900px) {
  .st-teaser { grid-template-columns: repeat(2, 1fr); }
  .st-teaser__gross, .st-teaser__klein { grid-column: span 2; }
  .st-teaser .st-kachel__flaeche,
  .st-teaser > :nth-child(-n+2) .st-kachel__flaeche,
  .st-teaser--sechs > :nth-child(3) .st-kachel__flaeche { height: 240px; }
}
@media (max-width: 620px) {
  .st-teaser { grid-template-columns: 1fr; }
}

/* Uebersicht und Kategorie: 3 Spalten, alle Kacheln gleich hoch. */
.st-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 24px;
}
.st-raster .st-kachel__flaeche { height: 250px; }

@media (max-width: 900px) { .st-raster { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (max-width: 620px) { .st-raster { grid-template-columns: 1fr; } }

.st-kachel { display: block; }
/* filter.js blendet ueber das hidden-Attribut aus. Ohne diese Zeile gewinnt
   das display:block der Kachel gegen das display:none des Browser-Stylesheets,
   und der Filter tut sichtbar nichts. */
[hidden] { display: none !important; }
.st-kachel__flaeche { display: block; position: relative; }
.st-kachel__zeile {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label);
  margin-top: 12px;
}
.st-kachel__titel {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-top: 4px;
  display: block;
  text-wrap: pretty;
}
.st-kachel:hover .st-kachel__titel { color: var(--signal); }
.st-kachel:hover .st-foto { filter: saturate(1); }

/* Projekte ohne verwertbares Foto bekommen ein gleichrangiges Kennungsfeld,
   keinen Notbehelf: leeres Feld auf dem Blatt, Kontur statt Kante. */
.st-kennungsfeld {
  width: 100%;
  border: 1px solid var(--linie-stark);
  background: var(--flaeche-feld);
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-kennungsfeld { flex-direction: column; gap: 8px; }
/* Foto angekuendigt: Schraffur wie eine Flaeche im Plan, die noch gefuellt wird. */
.st-kennungsfeld--folgt {
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, var(--linie) 11px 12px),
    var(--flaeche-feld);
}
.st-kennungsfeld small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--label);
}
.st-kennungsfeld > span {
  font-size: 86px;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--kennung-grau);
}

/* ---------------------------------------------------------------- Suche, Chips */

.st-suche {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--tinte);
  padding-bottom: 8px;
  width: 300px;
  max-width: 100%;
}
.st-feld {
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--tinte);
  width: 100%;
  padding: 0;
}
.st-feld::placeholder { color: var(--platzhalter); }
.st-feld:focus { outline: none; }
.st-suche:focus-within { border-bottom-color: var(--signal); }
.st-treffer { font-family: var(--mono); font-size: 11.5px; color: var(--label); white-space: nowrap; }

.st-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.st-chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--kontur);
  /* Deckend, nicht transparent: sonst laufen die Rasterlinien durch die Schrift
     und der Chip liest sich wie durchgestrichener Text. */
  background: var(--papier);
  color: var(--navigation);
  cursor: pointer;
}
.st-chip:hover { border-color: var(--tinte); color: var(--tinte); }
.st-chip[aria-current] {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

/* -------------------------------------------------------------- Brotkrume, Nav */

.st-brotkrume {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label);
}
.st-brotkrume a:hover { color: var(--tinte); }
.st-brotkrume span { color: var(--signal); padding: 0 4px; }

.st-blaettern {
  margin-top: 64px;
  border-top: 1px solid var(--linie);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label);
}
.st-blaettern a:hover { color: var(--tinte); }
.st-blaettern .st-a:hover { color: var(--signal); }

/* ------------------------------------------------------------------ Datenblatt */

/* Die 2px-Ankerkante setzt die Tabelle als eigenes Dokument im Dokument ab. */
.st-datenblatt { border-top: 2px solid var(--tinte); padding-top: 20px; }
.st-datenblatt__zeile {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--linie);
  font-size: 14.5px;
}
.st-datenblatt__wert { font-weight: 600; text-align: right; }

.st-zweispalt {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
}
.st-zweispalt--gleich { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

@media (max-width: 860px) {
  .st-zweispalt, .st-zweispalt--gleich { grid-template-columns: 1fr; gap: 40px; }
}

/* ------------------------------------------------------------ Offen-Vermerk */

/* Quieter als ein Kasten: eine Fussnote im Mono mit Signalstrich links.
   Steht nur noch dort, wo eine Zahl oder eine Aussage unbestaetigt ist. */
.st-vermerk {
  border-left: 2px solid var(--signal);
  padding: 2px 0 2px 14px;
  margin-top: 28px;
  max-width: 62ch;
}
.st-vermerk__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal);
}
.st-vermerk__text { font-size: 13.5px; line-height: 1.6; color: var(--text-leise); margin-top: 4px; }

/* ------------------------------------------------------------- Listen, Phasen */

.st-lph { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; background: var(--linie); }
.st-lph > * {
  background: var(--flaeche-feld);
  padding: 22px 12px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--label);
}
.st-lph > .st-lph--an { color: var(--tinte); background: var(--flaeche-band); }
.st-lph > .st-lph--an::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--signal);
  margin: 10px auto 0;
  width: 22px;
}

@media (max-width: 800px) { .st-lph { grid-template-columns: repeat(4, 1fr); } }

.st-normen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.st-normen__titel { font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.st-normen__text { font-size: 14px; line-height: 1.65; color: var(--text-leise); margin-top: 8px; }

@media (max-width: 900px) { .st-normen { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 520px) { .st-normen { grid-template-columns: 1fr; } }

.st-punkte li {
  padding: 14px 0;
  border-bottom: 1px solid var(--linie);
  font-size: 15.5px;
  line-height: 1.55;
  display: flex;
  gap: 14px;
}
.st-punkte li::before { content: "+"; color: var(--signal); font-weight: 700; }

/* --------------------------------------------------------------------- Personen */

.st-personen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 24px; }
.st-person__feld {
  height: 220px;
  border: 1px solid var(--linie-stark);
  background: var(--flaeche-feld);
  display: flex;
  align-items: center;
  justify-content: center;
}
img.st-person__feld { object-fit: cover; object-position: 50% 22%; border: 0; }
.st-person__initialen {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--kennung-grau);
}
.st-person__name { font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin-top: 12px; }
.st-person__rolle { margin-top: 4px; }

@media (max-width: 800px) { .st-personen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .st-personen { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- Zeitleiste */

.st-zeit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linie); }
.st-zeit > * { background: var(--flaeche-feld); padding: 26px 22px; }
.st-zeit__jahr {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.st-zeit__text { font-size: 14px; line-height: 1.6; color: var(--text-leise); margin-top: 8px; }

@media (max-width: 900px) { .st-zeit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .st-zeit { grid-template-columns: 1fr; } }

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

.st-formular { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.st-formular__weit { grid-column: 1 / -1; }
.st-formular label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--label);
  display: block;
  margin-bottom: 8px;
}
.st-formular input, .st-formular textarea {
  width: 100%;
  border: 1px solid var(--kontur);
  background: var(--flaeche-feld);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--tinte);
  border-radius: 0;
}
.st-formular input:focus, .st-formular textarea:focus {
  outline: none;
  border-color: var(--signal);
}
.st-formular textarea { min-height: 150px; resize: vertical; }

.st-formular fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.st-formular legend {
  font-size: 15px;
  font-weight: 700;
  color: var(--tinte);
  margin-bottom: 12px;
  padding: 0;
}
/* Auswahlfelder der Schnellbewerbung: native Felder, nur in der Akzentfarbe. */
.st-wahl { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.st-wahl legend { width: 100%; }
.st-formular .st-wahl label {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}
.st-wahl input { width: 18px; height: 18px; margin: 0; accent-color: var(--signal); }
.st-formular input[type="file"] { padding: 10px 12px; font-size: 14px; }
.st-formular__hinweis { font-size: 13px; color: var(--text-leise); margin-top: 8px; }
.st-formular__falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-status { border-left: 3px solid var(--signal); padding: 10px 16px; margin-bottom: 24px; background: var(--flaeche-feld); }
.st-status--fehler { border-left-color: var(--tinte); }
.st-knopfreihe { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 700px) { .st-formular { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- Karte */

.st-karte svg { width: 100%; height: auto; display: block; }

/* --------------------------------------------------------------------- Fusszeile */

.st-fuss {
  border-top: 1px solid var(--linie);
  padding: 44px var(--mass);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
  color: var(--label);
}
.st-fuss a:hover { color: var(--tinte); }
.st-fuss__marke {
  display: flex;
  align-items: baseline;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .03em;
  color: var(--tinte);
  margin-bottom: 12px;
}
.st-fuss__titel { color: var(--tinte); display: block; margin-bottom: 6px; }

@media (max-width: 860px) { .st-fuss { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .st-fuss { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- Entwurfsband (nur Demo) */

.st-entwurf {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: #1c1c1b;
  color: #fff;
  padding: 9px 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.st-entwurf span { color: var(--signal); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  /* Ausnahme Leitbilder: eine reine Ueberblendung bewegt nichts, sie aendert nur die
     Deckkraft. Deshalb bleibt sie, langsamer als sonst (Marc am 24.10.2026: "waere
     schoen, wenn wir die weiche Ueberblendung hinbekommen"). */
  .st-wechsel__bild { transition: opacity 2s ease, visibility 0s linear 2s !important; }
  .st-wechsel__bild.ist-aktiv { transition: opacity 2s ease, visibility 0s !important; }
}
