/* dannymueller.ch – Stylesheet 2026, Variante "Systemarchitektur" (dunkel) */

@font-face {
  font-family: "Sora";
  src: url("fonts/sora.woff2") format("woff2-variations"), url("fonts/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --grund: #0e1a26;
  --band: #112033;
  --flaeche: #13243a;
  --linie: #22384f;
  --linie-stark: #3b5878;
  --text: #e9eff5;
  --text-weich: #d3dde7;
  --leise: #9db0c3;
  --cyan: #56c7f5;
  --amber: #f2b25c;
  --erp: #7f95ab;

  --mass: 77.5rem;
  --rand: clamp(1rem, 4vw, 2rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 600; }

.skip { position: absolute; left: -999px; top: 0; background: var(--cyan); color: var(--grund); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--grund) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linie); }
.kopf__innen { max-width: var(--mass); margin: 0 auto; padding: .9rem var(--rand); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.kopf__name { display: flex; align-items: center; gap: .75rem; color: var(--text); text-decoration: none; font-weight: 600; }
.kopf__name img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.kopf__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; }
.kopf__nav a { color: var(--leise); text-decoration: none; font-size: .875rem; padding: .3rem 0; }
.kopf__nav a:hover, .kopf__nav a[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--cyan); }

main { max-width: var(--mass); margin: 0 auto; padding: 0 var(--rand); }

/* Einstieg mit Systemlandschaft */
.held { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding: clamp(3rem, 8vw, 5rem) 0 clamp(3rem, 7vw, 4.5rem); }
.held h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 1.5rem; text-wrap: balance; }
.held__text p { color: #b9c8d6; font-weight: 300; max-width: 34em; margin: 0 0 .9rem; }
.held__text .held__lead { color: var(--text-weich); font-weight: 400; }
.held__lead strong { color: var(--text); font-weight: 600; }
.aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.knopf { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; border: 1px solid var(--linie-stark); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9375rem; font-family: inherit; cursor: pointer; background: none; }
.knopf:hover { border-color: var(--cyan); color: var(--text); }
.knopf--voll { background: var(--cyan); border-color: var(--cyan); color: var(--grund); }
.knopf--voll:hover { background: var(--text); border-color: var(--text); color: var(--grund); }

.architektur { margin: 0; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 20px; padding: clamp(1.25rem, 3vw, 1.75rem); }
.architektur__nutzer { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; }
.architektur__nutzer span { padding: .35rem .9rem; border: 1px solid var(--linie-stark); border-radius: 999px; font-size: .8125rem; color: #b9c8d6; }
.architektur__linie { width: 2px; height: 1.75rem; background: var(--linie-stark); margin: .6rem auto; }
.system { background: var(--grund); border: 1.5px solid var(--erp); border-radius: 14px; padding: 1rem 1.25rem; }
.system p { margin: 0; }
.system__art { font-size: .75rem; font-weight: 600; color: var(--leise); }
.system__name { font-size: 1.1875rem; font-weight: 600; }
.system__inhalt { font-size: .8125rem; color: var(--leise); margin-top: .35rem !important; }
.system__ki { display: inline-block; margin-top: .6rem !important; font-size: .75rem; font-weight: 600; color: var(--grund); background: var(--cyan); border-radius: 999px; padding: .15rem .65rem; }
.system--crm { border-color: var(--cyan); } .system--crm .system__art { color: var(--cyan); }
.module { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.module > li { display: flex; min-width: 0; }
.modul { flex: 1; display: flex; flex-direction: column; gap: .1rem; padding: .55rem .7rem; border: 1px solid var(--linie-stark); border-radius: 10px; background: var(--flaeche); min-width: 0; color: inherit; text-decoration: none; transition: border-color .15s, background-color .15s; }
a.modul:hover, a.modul:focus-visible { border-color: var(--cyan); background: rgba(86, 199, 245, .08); }
.modul strong { font-size: .8125rem; font-weight: 600; color: var(--text); }
.modul span { font-size: .71875rem; line-height: 1.35; color: var(--leise); }
.modul--ki { border-color: var(--cyan); background: rgba(86, 199, 245, .1); }
.modul--ki strong { color: var(--cyan); }
@media (max-width: 480px) { .module { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; } .modul { padding: .5rem .55rem; } .modul strong { font-size: .75rem; } .modul span { font-size: .6875rem; } }
.system--int { border-color: var(--amber); } .system--int .system__art { color: var(--amber); }
.fluss { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: .6rem 0; font-size: .8125rem; color: var(--amber); }
.fluss__linie { width: 2px; height: 2.75rem; background: repeating-linear-gradient(180deg, var(--amber) 0 6px, transparent 6px 11px); }
@media (prefers-reduced-motion: no-preference) {
  .fluss__linie { animation: fliessen 1.2s linear infinite; background-size: 2px 11px; }
  @keyframes fliessen { to { background-position: 0 11px; } }
}

/* Kennzahlen-Band */
.kennzahlen { background: var(--band); border-block: 1px solid var(--linie); margin-inline: calc(50% - 50vw); padding-inline: max(var(--rand), calc(50vw - var(--mass) / 2 + var(--rand))); }
.kennzahlen ul { list-style: none; margin: 0; padding: 3rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.kennzahlen strong { display: block; font-size: clamp(2.2rem, 4vw, 2.75rem); font-weight: 600; color: var(--cyan); letter-spacing: -.03em; line-height: 1.1; }
.kennzahlen span { display: block; margin-top: .3rem; color: #b9c8d6; font-size: .9375rem; }

/* Abschnitte */
.abschnitt { padding: clamp(3.5rem, 8vw, 5rem) 0 1rem; }
.abschnitt > h2 { font-size: clamp(1.75rem, 3.5vw, 2.125rem); letter-spacing: -.02em; margin-bottom: .75rem; }
.abschnitt__lead { color: var(--leise); margin: 0 0 2.25rem; max-width: 40em; }
.abschnitt > h2 + :not(.abschnitt__lead) { margin-top: 2rem; }
.unterkopf { font-size: 1rem; font-weight: 600; color: var(--text); margin: 2.75rem 0 1rem; }

/* Projekte */
.projekte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.projekt { border-top: 1px solid var(--linie); padding: 1.6rem 0 1.9rem; }
.projekt--gross { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto auto 1fr auto; column-gap: 3rem; border-top: 2px solid var(--cyan); }
.projekt--gross .projekt__bereich { grid-column: 1; grid-row: 1; }
.projekt--gross h3 { grid-column: 1; grid-row: 2; }
.projekt--gross > p:not(.projekt__bereich) { grid-column: 2; grid-row: 1 / 4; }
.projekt--gross .tags { grid-column: 2; grid-row: 4; }
.projekt--gross h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.projekt__bereich { margin: 0 0 .4rem; font-size: .8125rem; font-weight: 600; color: var(--amber); }
.projekt h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.projekt > p:not(.projekt__bereich) { margin: 0; color: var(--text-weich); font-weight: 300; }
.tags { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { font-size: .78rem; padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--linie-stark); color: #b9c8d6; }
.tags--gross li { font-size: .875rem; padding: .4rem .9rem; background: var(--flaeche); border-color: var(--linie); color: var(--text-weich); }

/* Werdegang */
.stationen { list-style: none; margin: 0; padding: 0; }
.station { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 2rem; padding: 1.75rem 0; border-top: 1px solid var(--linie); }
.station:last-child { border-bottom: 1px solid var(--linie); }
.station > p { margin: 0; }
.pille { display: inline-block; padding: .2rem .75rem; border-radius: 999px; border: 1px solid var(--linie-stark); color: #b9c8d6; font-size: .8125rem; white-space: nowrap; }
.pille--aktiv { background: var(--cyan); border-color: var(--cyan); color: var(--grund); font-weight: 600; }
.station h3 { font-size: 1.375rem; margin-bottom: .25rem; }
.station__ort { margin: 0 0 .9rem; color: var(--leise); }
.station ul { margin: 0; padding-left: 1.1rem; color: var(--text-weich); font-weight: 300; line-height: 1.7; max-width: 48em; }
.station li::marker { color: var(--cyan); }
.station__resultat { margin: .9rem 0 0; color: var(--amber); font-size: .9375rem; }
.station__kurz span { color: var(--leise); }
.ausbildung { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.ausbildung li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--linie); color: var(--leise); font-size: .9375rem; }
.ausbildung strong { color: var(--text); font-weight: 500; }
.ausbildung__jahr { font-variant-numeric: tabular-nums; }

/* Kompetenzen */
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px; padding: 1.5rem 1.65rem; }
.kachel h3 { font-size: 1.125rem; margin-bottom: .5rem; hyphens: manual; }
.kachel p { margin: 0; color: var(--text-weich); font-weight: 300; }
.kachel--0 h3 { color: var(--cyan); } .kachel--1 h3 { color: var(--amber); }
.werkzeuge { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 3rem; }
.def { margin: 0; }
.def > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--linie); }
.def > div:last-child { border-bottom: 1px solid var(--linie); }
.def dt { color: var(--leise); hyphens: manual; }
.def dd { margin: 0; }

.referenzen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem 3rem; }
.referenzen li { display: flex; flex-direction: column; padding-top: .9rem; border-top: 2px solid var(--linie-stark); }
.referenzen span { color: var(--leise); }
.hinweis { color: var(--leise); font-size: .875rem; margin: 1.5rem 0 0; }

/* Zitate aus Arbeitszeugnissen */
.zitate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 3rem; }
.zitat { margin: 0; padding: .15rem 0 .15rem 1.5rem; border-left: 2px solid var(--linie-stark); display: flex; flex-direction: column; gap: 1rem; }
.zitat blockquote { margin: 0; quotes: "«" "»"; }
:lang(en) .zitat blockquote { quotes: "\201C" "\201D"; }
.zitat blockquote p { margin: 0; color: var(--text-weich); font-weight: 300; font-size: 1.0625rem; line-height: 1.65; }
.zitat blockquote p::before { content: open-quote; }
.zitat blockquote p::after { content: close-quote; }
.zitat figcaption { display: flex; flex-direction: column; font-size: .875rem; margin-top: auto; }
.zitat figcaption strong { color: var(--text); font-weight: 500; }
.zitat figcaption span { color: var(--leise); }
.zitat--gross { grid-column: 1 / -1; border-left-color: var(--cyan); padding-left: clamp(1.25rem, 3vw, 2rem); }
.zitat--gross blockquote p { color: var(--text); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.5; letter-spacing: -.005em; max-width: 52rem; }
.zitat--gross blockquote p::before { color: var(--cyan); }
.zitat--gross blockquote p::after { color: var(--cyan); }

/* Kontakt */
.kontakt { background: var(--band); border-top: 1px solid var(--linie); margin: clamp(3.5rem, 8vw, 5rem) calc(50% - 50vw) 0; padding: clamp(3rem, 7vw, 4.5rem) max(var(--rand), calc(50vw - var(--mass) / 2 + var(--rand))); }
.kontakt__innen { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.kontakt h2 { font-size: clamp(1.75rem, 3.5vw, 2.125rem); letter-spacing: -.02em; margin-bottom: 1.5rem; }
.kontakt .unterkopf { margin-top: 0; }
.kontakt__wege { list-style: none; margin: 0; padding: 0; }
.kontakt__wege li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--linie); font-size: 1.25rem; }
.kontakt__wege span { font-size: .875rem; color: var(--leise); padding-top: .3rem; }
.kontakt address { font-style: normal; }

.fuss { border-top: 1px solid var(--linie); background: var(--band); }
.fuss__innen { max-width: var(--mass); margin: 0 auto; padding: 1.25rem var(--rand); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .875rem; color: var(--leise); }
.fuss p { margin: 0; display: flex; gap: 1.25rem; }

/* Login und Dokumente */
.seite { padding: clamp(3rem, 8vw, 5rem) 0; max-width: 46rem; }
.seite h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; margin-bottom: .75rem; }
.seite__lead { color: var(--leise); margin: 0 0 2rem; max-width: 36em; }
.formular { display: grid; gap: 1.1rem; max-width: 24rem; }
.formular label { display: grid; gap: .4rem; font-weight: 600; font-size: .875rem; }
.formular input { font: inherit; font-size: 1rem; padding: .7rem .9rem; min-height: 3rem; border: 1px solid var(--linie-stark); border-radius: 10px; background: var(--flaeche); color: var(--text); }
.formular input:focus-visible { border-color: var(--cyan); outline-offset: 1px; }
.formular button { justify-self: start; }
.meldung { padding: .8rem 1rem; border: 1px solid var(--amber); border-radius: 10px; color: var(--text); background: var(--flaeche); margin: 0 0 1.5rem; max-width: 30rem; }
.dokumente { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.dokumente li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1.5rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--linie); }
.dokumente strong { font-weight: 600; }
.dokumente span { grid-column: 1; color: var(--leise); font-size: .875rem; }
.dokumente a.knopf { grid-row: 1 / span 2; grid-column: 2; }
.dokumente__kopf { margin-top: 3rem; }
.dokumente--gesperrt strong { color: var(--text-weich); font-weight: 500; }
.dokumente .schloss { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: .4rem; font-style: normal; font-size: .8125rem; color: var(--leise); border: 1px solid var(--linie-stark); border-radius: 999px; padding: .2rem .75rem; white-space: nowrap; }
.dokumente .dokumente__fehlt { grid-row: 1 / span 2; grid-column: 2; color: var(--amber); max-width: 16rem; }
.seite .aktionen { margin-top: 1.5rem; }
.abmelden { margin-top: 2rem; }
.abmelden button { background: none; border: 0; padding: 0; color: var(--cyan); text-decoration: underline; font: inherit; cursor: pointer; }

/* Tablet und Handy */
@media (max-width: 900px) {
  .held, .kontakt__innen, .werkzeuge { grid-template-columns: minmax(0, 1fr); }
  .kennzahlen ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projekte, .ausbildung, .zitate { grid-template-columns: minmax(0, 1fr); }
  .projekt--gross { display: block; }
  .projekt--gross > p:not(.projekt__bereich) { margin-top: .6rem; }
}
@media (max-width: 640px) {
  .station { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .kacheln { grid-template-columns: minmax(0, 1fr); }
  .def > div, .ausbildung li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .kontakt__wege li { grid-template-columns: minmax(0, 1fr); gap: .1rem; font-size: 1.0625rem; }
  .dokumente li { grid-template-columns: minmax(0, 1fr); }
  .dokumente a.knopf, .dokumente .schloss, .dokumente .dokumente__fehlt { grid-row: auto; grid-column: 1; justify-self: start; margin-top: .5rem; }
}

@media print {
  .kopf, .aktionen, .fuss, .skip { display: none; }
  body { background: #fff; color: #000; }
}

/* ===== Ergänzungen 2026-10: Sprache, Formulare, Fallstudien, Verwaltung ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kopf__sprache { border: 1px solid var(--linie-stark); border-radius: 999px; padding: .2rem .8rem !important; }
.kopf__sprache:hover { border-color: var(--cyan); box-shadow: none !important; }

.projekt__fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 1rem; }
.projekt__fuss .tags { margin: 0; }
.projekt--gross .projekt__fuss { grid-column: 2; grid-row: 4; }
.projekt__link { font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.projekt__link::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translateY(-.1em); }

/* Formulare */
.formular--breit { max-width: 40rem; }
.formular__zeile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.formular textarea, .formular select { font: inherit; font-size: 1rem; padding: .7rem .9rem; border: 1px solid var(--linie-stark); border-radius: 10px; background: var(--flaeche); color: var(--text); resize: vertical; }
.formular textarea:focus-visible, .formular select:focus-visible { border-color: var(--cyan); outline-offset: 1px; }
.formular__hinweis { margin: 0; font-size: .8125rem; color: var(--leise); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bestaetigung { padding: .9rem 1.1rem; border: 1px solid var(--cyan); border-radius: 12px; background: var(--flaeche); color: var(--text); max-width: 40rem; }
.kontakt .formular input, .kontakt .formular textarea { background: var(--grund); }
.kontakt__lead { color: var(--leise); margin: -.75rem 0 1.5rem; }
.kontakt__innen > div:last-child .kontakt__wege { margin-bottom: 2rem; }
.kontakt__wert { font-size: inherit !important; color: var(--text) !important; padding: 0 !important; }
.zurueck { margin-top: 2rem; }

/* Textseiten */
.text h2 { font-size: 1.25rem; margin: 2.2rem 0 .6rem; }
.text p { color: var(--text-weich); font-weight: 300; max-width: 42em; margin: 0 0 .9rem; }

/* Fallstudien */
.fall { padding: clamp(2.5rem, 7vw, 4.5rem) 0 2rem; max-width: 60rem; }
.fall__zurueck { margin: 0 0 2rem; font-size: .9375rem; }
.fall__zurueck a::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .5em; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg) translateY(-.1em); }
.fall h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 1.25rem; text-wrap: balance; }
.fall__lead { font-size: 1.1875rem; color: var(--text-weich); font-weight: 300; max-width: 40em; margin: 0; }
.fall__rolle { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem; margin: 1.1rem 0 0; font-size: .9375rem; color: var(--text-weich); }
.fall__rolle span { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); }
.fall__bild { margin: 2.5rem 0 0; }
.fall__bild img { border-radius: 14px; border: 1px solid var(--linie); }
.fall__bild figcaption { color: var(--leise); font-size: .875rem; margin-top: .6rem; }
.fall__teile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3.5rem; margin-top: 3.5rem; }
.fall__teile h2, .fall__ergebnis h2, .fall__weitere h2 { font-size: 1.375rem; margin-bottom: 1rem; padding-top: 1rem; border-top: 2px solid var(--cyan); }
.fall__teile section:nth-child(2) h2 { border-top-color: var(--amber); }
.fall__teile p, .fall__teile li { color: var(--text-weich); font-weight: 300; }
.fall__teile p { margin: 0 0 .9rem; }
.fall__teile ul { margin: 0; padding-left: 1.1rem; line-height: 1.7; }
.fall__teile li { margin-bottom: .35rem; }
.fall__teile li::marker { color: var(--amber); }
.fall__ergebnis { margin-top: 3.5rem; }
.ergebnisse { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.ergebnisse li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 1.1rem 1.25rem; }
.ergebnisse strong { display: block; font-size: 1.9rem; font-weight: 600; color: var(--cyan); letter-spacing: -.02em; line-height: 1.15; }
.ergebnisse span { display: block; color: var(--text-weich); font-size: .9375rem; margin-top: .3rem; }
.ergebnisse--text span { margin: 0; }
.fall__cta { margin-top: 3.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; padding: 1.75rem 2rem; border-radius: 18px; background: var(--band); border: 1px solid var(--linie); }
.fall__cta h2 { font-size: 1.375rem; margin-bottom: .3rem; }
.fall__cta p { margin: 0; color: var(--leise); }
.fall__weitere { margin-top: 3.5rem; }
.fall__weitere ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.fall__weitere a { display: block; padding: 1rem 0; border-top: 1px solid var(--linie); color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.125rem; }
.fall__weitere a span { display: block; font-size: .8125rem; color: var(--amber); font-weight: 600; margin-bottom: .2rem; }
.fall__weitere a:hover { color: var(--cyan); }

/* Verwaltung */
.admin .admin__main { padding-block: 2rem 4rem; }
.admin h1 { font-size: 2rem; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.admin .bestaetigung, .admin .meldung { margin-bottom: 1.5rem; max-width: none; }
.kennzahlen-admin { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; }
.kennzahlen-admin li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 1rem 1.2rem; }
.kennzahlen-admin strong { display: block; font-size: 2rem; color: var(--cyan); font-weight: 600; line-height: 1.1; }
.kennzahlen-admin span { color: var(--leise); font-size: .875rem; }
.reiter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.reiter a { padding: .45rem 1rem; border: 1px solid var(--linie-stark); border-radius: 999px; text-decoration: none; color: var(--text-weich); font-size: .875rem; }
.reiter a[aria-current] { background: var(--cyan); border-color: var(--cyan); color: var(--grund); font-weight: 600; }
.tabelle { overflow-x: auto; border: 1px solid var(--linie); border-radius: 12px; margin-bottom: 1.5rem; }
.tabelle table { border-collapse: collapse; width: 100%; font-size: .875rem; min-width: 40rem; }
.tabelle th, .tabelle td { text-align: left; padding: .6rem .85rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { background: var(--band); color: var(--leise); font-weight: 600; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle tr.inaktiv td { color: var(--leise); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.knopfreihe form { display: flex; gap: .3rem; align-items: center; margin: 0; }
.admin button:not(.knopf), .loeschen button { font: inherit; font-size: .8125rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--linie-stark); background: none; color: var(--text); cursor: pointer; }
.admin button:not(.knopf):hover { border-color: var(--cyan); }
.admin label small, .editor small, .auswahl small { display: block; color: var(--leise); font-size: .78rem; font-weight: 400; }
.editor { display: grid; gap: .25rem; margin-bottom: 1.5rem; }
.editor__kopf, .editor__zeile { display: grid; grid-template-columns: 14rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.editor__kopf { color: var(--leise); font-size: .8125rem; font-weight: 600; padding-bottom: .3rem; border-bottom: 1px solid var(--linie); }
.editor__zeile { padding: .7rem 0; border-bottom: 1px solid var(--linie); }
.editor__zeile--einzeln > div:last-child { grid-column: 2 / -1; }
.editor__label label { font-weight: 600; font-size: .9375rem; }
.editor input, .editor textarea, .editor select { width: 100%; font: inherit; font-size: .9375rem; padding: .55rem .7rem; border: 1px solid var(--linie-stark); border-radius: 8px; background: var(--flaeche); color: var(--text); }
.editor textarea { resize: vertical; line-height: 1.5; }
.loeschen { display: flex; gap: .75rem; align-items: center; margin-top: .5rem; color: var(--leise); }
.auswahl { border: 1px solid var(--linie); border-radius: 10px; padding: .8rem 1rem; display: grid; gap: .4rem; font-weight: 400 !important; }
.auswahl legend { font-weight: 600; font-size: .875rem; padding: 0 .3rem; }
.auswahl label { display: flex !important; gap: .5rem; align-items: center; font-weight: 400 !important; }
.zugangsdaten { border: 1px solid var(--cyan); border-radius: 14px; padding: 1.2rem 1.4rem; margin-bottom: 2rem; background: var(--flaeche); }
.zugangsdaten .unterkopf { margin-top: 0; }
.zugangsdaten textarea { width: 100%; font: inherit; font-size: .9375rem; padding: .7rem; border-radius: 8px; border: 1px solid var(--linie-stark); background: var(--grund); color: var(--text); }
.nachrichten { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.nachrichten li { border: 1px solid var(--linie); border-radius: 12px; padding: 1rem 1.2rem; }
.nachrichten li.ungelesen { border-color: var(--cyan); }
.nachrichten__kopf { margin: 0 0 .5rem; font-size: .875rem; color: var(--leise); }
.nachrichten__kopf strong { color: var(--text); }
.nachrichten__text { margin: 0 0 .8rem; color: var(--text-weich); }
.verlauf { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding: .5rem; border: 1px solid var(--linie); border-radius: 12px; margin-bottom: 2rem; }
.verlauf span { flex: 1; min-width: 3px; background: var(--cyan); border-radius: 3px 3px 0 0; }
.spalten-admin { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 0 2.5rem; }
.balken { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .875rem; }
.balken li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 3rem; gap: .6rem; align-items: center; }
.balken li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.balken li > span:last-child { text-align: right; color: var(--leise); font-variant-numeric: tabular-nums; }
.balken__spur { height: .6rem; background: var(--flaeche); border-radius: 999px; overflow: hidden; }
.balken__spur span { display: block; height: 100%; background: var(--cyan); border-radius: 999px; }
.warnung { color: var(--amber); }

@media (max-width: 900px) {
  .fall__teile { grid-template-columns: minmax(0, 1fr); }
  .projekt--gross .projekt__fuss { grid-column: auto; grid-row: auto; }
  .editor__kopf { display: none; }
  .editor__zeile { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .editor__zeile--einzeln > div:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .formular__zeile { grid-template-columns: minmax(0, 1fr); }
  .fall__cta { padding: 1.4rem; }
}
.formular input[type="checkbox"], .formular input[type="radio"] { min-height: 0; width: auto; padding: 0; accent-color: var(--cyan); }
.formular label.auswahl { display: flex; flex-direction: row; align-items: center; gap: .65rem; font-size: .9375rem; }
.formular label.auswahl input { flex: none; width: 1.1rem; height: 1.1rem; }
.ergebnisse--lang strong { font-size: 1.3rem; }


/* ===== Ergänzungen 2026-10b: Projektfilter, Referenzen, Arbeitsweise ===== */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: -.75rem 0 1.75rem; }
.filter[hidden] { display: none; }
.filter button { font: inherit; font-size: .875rem; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--linie-stark); background: none; color: var(--text-weich); cursor: pointer; }
.filter button:hover { border-color: var(--cyan); }
.filter button span { margin-left: .4rem; color: var(--leise); font-variant-numeric: tabular-nums; }
.filter button[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--grund); font-weight: 600; }
.filter button[aria-pressed="true"] span { color: var(--grund); opacity: .7; }
.projekte > li[hidden] { display: none !important; }
.projekte__mehr { display: none; margin: 1.5rem 0 0; }

.referenzen__kopf { margin-top: 3rem; }

/* Arbeitsweise */
.vorgehen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.vorgehen li { border-top: 2px solid var(--linie-stark); padding-top: 1rem; }
.vorgehen li:first-child { border-top-color: var(--cyan); }
.vorgehen__nr { display: block; font-size: .8125rem; font-weight: 600; color: var(--cyan); font-variant-numeric: tabular-nums; margin-bottom: .35rem; }
.vorgehen h3 { font-size: 1.0625rem; margin-bottom: .4rem; }
.vorgehen p { margin: 0; color: var(--text-weich); font-weight: 300; font-size: .9375rem; }
.kette { list-style: none; margin: 0 0 1.75rem; padding: 0 1.6rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.9rem; }
.kette li { position: relative; padding: .45rem .95rem; border: 1px solid var(--linie-stark); border-radius: 10px; background: var(--flaeche); font-size: .875rem; font-weight: 500; }
.kette li:not(:last-child)::after { content: "→"; position: absolute; right: -1.45rem; top: 50%; transform: translateY(-52%); color: var(--amber); }
.kette__ziel { border-color: var(--cyan) !important; color: var(--cyan); }
.staerken { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.staerken li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 1.1rem 1.3rem; }
.staerken strong { display: block; font-weight: 600; margin-bottom: .3rem; }
.staerken p { margin: 0; color: var(--text-weich); font-weight: 300; font-size: .9375rem; }
.staerken + .unterkopf, .vorgehen + .unterkopf { margin-top: 2.75rem; }
.grundsaetze { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 3rem; }
.grundsaetze strong { display: block; font-weight: 600; margin-bottom: .3rem; }
.grundsaetze p { margin: 0; color: var(--text-weich); font-weight: 300; font-size: .9375rem; }
.geleitet .ausbildung__jahr { white-space: nowrap; }
.vn__lead { color: var(--leise); margin: -.4rem 0 1.25rem; max-width: 46em; font-size: .9375rem; }
.vn { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.vn th, .vn td { text-align: left; vertical-align: top; padding: .8rem 1rem .8rem 0; border-top: 1px solid var(--linie); }
.vn thead th { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--leise); border-top: 0; padding-top: 0; }
.vn tbody th { font-weight: 600; width: 22%; }
.vn td { color: var(--leise); width: 39%; }
.vn td + td { color: var(--text-weich); }
.vn td + td::before { content: "→ "; color: var(--cyan); }
.vn tbody tr:last-child > * { border-bottom: 1px solid var(--linie); }

@media (max-width: 900px) {
  .vorgehen { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vorgehen li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: .5rem; padding: 1rem 0; border-top-width: 1px; }
  .vorgehen li:first-child { border-top-width: 2px; }
  .vorgehen__nr { grid-row: 1 / span 2; margin: .15rem 0 0; }
  .grundsaetze { grid-template-columns: minmax(0, 1fr); }
  .staerken { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .staerken { grid-template-columns: minmax(0, 1fr); }
  .projekte--gekuerzt > li:nth-child(n+5) { display: none; }
  .projekte__mehr:not([hidden]) { display: block; }
  .filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--rand) * -1); padding: 0 var(--rand) .25rem; scrollbar-width: none; }
  .filter button { flex: none; }
  .vn thead { display: none; }
  .vn, .vn tbody, .vn tr, .vn th, .vn td, .vn tbody th { display: block; width: auto; }
  .vn tr { border-top: 1px solid var(--linie); padding: .8rem 0; }
  .vn tbody tr:last-child { border-bottom: 1px solid var(--linie); }
  .vn th, .vn td, .vn tbody tr:last-child > * { border: 0; padding: .1rem 0; }
  .vn td::before, .vn td + td::before { content: attr(data-label) ": "; color: var(--leise); font-weight: 600; font-size: .8125rem; }
}

/* ===== Werkstatt (Beiträge) ===== */
.werkstatt h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; margin-bottom: .75rem; }
.werkstatt .meldung { margin: 0 0 1.5rem; }
.beitraege { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.25rem; }
.beitrag-karte { position: relative; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px; padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; transition: border-color .15s; }
.beitrag-karte:hover, .beitrag-karte:focus-within { border-color: var(--cyan); }
.beitrag-karte--entwurf { border-style: dashed; }
.beitrag-karte h2, .beitrag-karte h3 { font-size: 1.1875rem; line-height: 1.3; margin: 0; }
.beitrag-karte h2 a, .beitrag-karte h3 a { color: var(--text); text-decoration: none; }
.beitrag-karte h2 a::after, .beitrag-karte h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.beitrag-karte > p { margin: 0; color: var(--text-weich); font-weight: 300; font-size: .9375rem; }
.beitrag-karte > .beitrag-karte__meta { color: var(--leise); font-weight: 400; font-size: .8125rem; }
.beitrag-karte__meta strong { color: var(--amber); font-weight: 600; }
.beitrag-karte .tags { margin-top: auto; padding-top: .35rem; }
.werkstatt__mehr { margin: 1.5rem 0 0; }
.filter--links a { font-size: .875rem; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--linie-stark); color: var(--text-weich); text-decoration: none; }
.filter--links a:hover { border-color: var(--cyan); }
.filter--links a span { margin-left: .4rem; color: var(--leise); }
.filter--links a[aria-current="page"] { background: var(--cyan); border-color: var(--cyan); color: var(--grund); font-weight: 600; }
.filter--links a[aria-current="page"] span { color: var(--grund); opacity: .7; }

.beitrag { padding: clamp(2.5rem, 7vw, 4.5rem) 0 2rem; max-width: 46rem; }
.beitrag h1 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 1.1rem; text-wrap: balance; }
.beitrag .meldung { margin: 0 0 1.5rem; }
.beitrag__meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0 0 .9rem; color: var(--leise); font-size: .875rem; }
.beitrag__tag { color: var(--amber); font-weight: 600; }
.beitrag__text { margin-top: 2.25rem; color: var(--text-weich); font-weight: 300; line-height: 1.75; }
.beitrag__text h2 { font-size: 1.375rem; line-height: 1.3; color: var(--text); margin: 2.4rem 0 .75rem; }
.beitrag__text h3 { font-size: 1.125rem; color: var(--text); margin: 1.8rem 0 .5rem; }
.beitrag__text p { margin: 0 0 1rem; }
.beitrag__text ul, .beitrag__text ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.beitrag__text li { margin-bottom: .4rem; }
.beitrag__text li::marker { color: var(--cyan); }
.beitrag__text strong { color: var(--text); font-weight: 600; }
.beitrag__text a { color: var(--cyan); }
.beitrag__text code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 6px; padding: .05em .35em; }
.beitrag__text pre.code { position: relative; margin: 0 0 1.4rem; padding: 1.15rem 1.25rem; background: #0a141e; border: 1px solid var(--linie); border-radius: 12px; overflow-x: auto; line-height: 1.55; }
.beitrag__text pre.code code { background: none; border: 0; padding: 0; font-size: .8125rem; color: #d3dde7; white-space: pre; }
.beitrag__text pre.code[data-sprache]::before { content: attr(data-sprache); position: absolute; top: .45rem; right: .8rem; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.beitrag__text blockquote { margin: 0 0 1.2rem; padding: .25rem 0 .25rem 1.1rem; border-left: 2px solid var(--amber); }
.beitrag__text blockquote p:last-child { margin-bottom: 0; }
.beitrag__fall { margin: 2.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--linie); color: var(--text-weich); }
@media (max-width: 640px) {
  .beitraege { grid-template-columns: minmax(0, 1fr); }
  .beitrag__text pre.code { margin-inline: calc(var(--rand) * -1); border-radius: 0; border-inline: 0; }
}
