/* ===== Zusätzliches CSS aus dem Customizer (Etappe 3, 17.11.2026): wörtlich übernommen, steht bewusst am Anfang, damit die Reihenfolge wie bisher bleibt ===== */
html,
body,
.site,
.site-content,
.site-main,
.main,
#main,
#content,
.site-header,
.entry,
.entry-content,
.site-footer,
.footer-widgets,
footer {
    background: #000 !important;
    background-image: none !important;
}

body,
.site-header *,
.entry *,
.site-footer *,
.footer-widgets * {
    color: #d3d3d3 !important;
}

.site-footer,
.footer-widgets,
footer {
    border: none !important;
    box-shadow: none !important;
}

a:hover,
a:focus {
    color: #f0f0f0 !important;
}
html,
body,
.site,
.site-content,
.site-footer,
footer {
    background: #000 !important;
    background-image: none !important;
    box-shadow: none !important;
    border-top: none !important;
}
#title-info,
.title-info {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

.site-title,
#site-logo,
.custom-logo-link {
    float: none !important;
    display: inline-block !important;
    margin: 0 auto !important;
}
/* Zentriert das Hauptmenü im Theme Tracks */
.menu-primary-items {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.menu-primary-items > li {
  float: none !important;
  display: inline-block;
}
/* Entfernt den automatischen Website-Titel im Footer */
.site-footer h3,
.site-footer .site-title {
  display: none !important;
}
/* Schriftgröße der Hauptmenü-Links anpassen */
.menu-primary-items a,
.menu-primary-items li a {
  font-size: 20px !important; /* Gewünschte Größe eintragen */
}

/* --- Barrierefreiheit (03.10.2026) --- */
/* Creations: aktiver Filterknopf lesbar (".entry *" erzwingt sonst hellgraue Schrift auf weissem Grund) */
.entry .digifro-tab-btn.is-active { color: #000 !important; }
/* Sichtbarer Fokus bei Tastaturbedienung */
a:focus-visible, button:focus-visible { outline: 2px solid #e9bf3a !important; outline-offset: 3px; }
/* Mobiles Menue (unter 50em): groessere Tippflaechen */
@media (max-width: 49.99em) { .menu-primary-items a { display: inline-block; padding-block: 7px; } }

/* Handy: Hauptmenue-Punkte untereinander statt umbrechend nebeneinander, mit kleinerem Abstand (16.10.2026) */
@media (max-width: 49.99em) {
  .menu-primary-items { flex-direction: column; flex-wrap: nowrap; }
  .menu-primary-items > li { width: 100%; }
  .menu-primary-items > li > a { margin-block: 8px !important; }
}

/* ===== Schriftskala (Etappe 2, 17.11.2026): sechs Größen, nichts unter 13,5 px, Fließtext 16 bis 18 px =====
   1 Beschriftung, 2 Kleintext, 3 Fließtext, 4 Zwischenüberschrift, 5 Überschrift, 6 Titel. Größere Überschriften behalten ihr clamp(). */
:root{--dgf-fs-1:13.5px;--dgf-fs-2:15px;--dgf-fs-3:17px;--dgf-fs-4:21px;--dgf-fs-5:28px;--dgf-fs-6:36px}
@media (max-width:640px){:root{--dgf-fs-3:16px;--dgf-fs-4:19px;--dgf-fs-5:24px;--dgf-fs-6:30px}}

/* Alle ".dgf"-Regeln gelten nur für Seiten, deren Wurzel zusätzlich .dgf-s trägt (die Bau-Skripte setzen es; Vorabansichten und ältere Blöcke mit .dgf bleiben unberührt).
   digifro-design: gemeinsames Seiten-CSS für digifro.com. Quelle der Wahrheit; die Bau-Skripte in
   docs/Weiterentwicklung/2026-10-02_Schlagzeug_12_Stems/quellen/ lesen diese Datei nur für die lokale Vorschau. */

/* ===== Forschung und Beiträge: Grundlage, Variablen (aus build_forschung.CSS) ===== */
.dgf:where(.dgf-s) { --bg: #000000; --surface: #0b0b0b; --surface-2: #131313; --fg: #d3d3d3; --fg-strong: #f2f2f2; --muted: #8f8f8f;
  --faint: #4a4a4a; --rule: #262626; --hot: #e9bf3a; --warm-surface: #15120a; --warm-line: #5a4718;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); }

/* ===== Seitenrahmen, Sprungmarken, Werk im Rahmen, Überschriften (aus wp_extra.css) ===== */
/* ---- WordPress (Theme "Tracks", digifro.com) ----
   Alles ist auf .dgf begrenzt. Das Theme färbt jeden Text in .entry per !important hellgrau
   (".entry * { color: #d3d3d3 !important }"), deshalb tragen die Farben hier ebenfalls !important.
   Raleway liefert die Website selbst aus (400 und 700), keine externen Schriften. */

/* Ausbruch aus der schmalen Inhaltsspalte des Themes (bis 1240px, mittig) */
.dgf:where(.dgf-s) {
  width: min(1240px, calc(100vw - 64px));
  margin-left: calc(50% - min(620px, 50vw - 32px));
  margin-block: 0 2em;
  font-family: "Raleway", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--dgf-fs-3); line-height: 1.6; color: var(--fg) !important;
  -webkit-text-size-adjust: 100%;
  hyphens: manual; -webkit-hyphens: manual;  /* keine automatische Trennung, wie auf den übrigen Seiten */
}
.dgf:where(.dgf-s) *, .dgf:where(.dgf-s) *::before, .dgf:where(.dgf-s) *::after { box-sizing: border-box; }

/* Theme-Vorgaben neutralisieren, die sonst durchschlagen */
.dgf:where(.dgf-s) p, .dgf:where(.dgf-s) ul, .dgf:where(.dgf-s) ol, .dgf:where(.dgf-s) figure, .dgf:where(.dgf-s) table, .dgf:where(.dgf-s) hr { margin: 0; }
/* Theme: blockquote mit grauem Balken links und Innenabstand -- die Zitate hier sind Überschriften */
.dgf:where(.dgf-s) blockquote { margin: 0; padding: 0; border: 0; quotes: none; }
.dgf:where(.dgf-s) ul, .dgf:where(.dgf-s) ol { padding: 0; }
.dgf:where(.dgf-s) th, .dgf:where(.dgf-s) td { border: 0; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.dgf:where(.dgf-s) h2, .dgf:where(.dgf-s) h3 { padding: 0; }
.dgf:where(.dgf-s) svg { overflow: visible; }

/* Sprungmarken als Outline-Buttons wie auf digifro.com */
.dgf:where(.dgf-s) .jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-block: 4px 0; margin: 0; list-style: none; }
.dgf:where(.dgf-s) .jump a {
  display: inline-block; text-decoration: none; border: 2px solid var(--faint); border-radius: 999px;
  padding: 8px 18px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg) !important; background: transparent;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--ease-out), border-color 160ms ease, color 160ms ease;
}
.dgf:where(.dgf-s) .jump a:active { transform: scale(0.97); }
.dgf:where(.dgf-s) .jump a:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .dgf:where(.dgf-s) .jump a:hover { border-color: var(--fg); color: var(--fg-strong) !important; }
}

/* Werk im Rahmen wie die Bilder auf digifro.com ("art-frame") */
.dgf:where(.dgf-s) .work { width: min(1000px, 100%); margin: 10px auto 0; display: grid; gap: 10px; }
.dgf:where(.dgf-s) .frame { border: 2px solid #333333; padding: 6px; background: #585858; border-radius: 6px; line-height: 0; }
.dgf:where(.dgf-s) .frame img {
  display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 2048 / 1002;
  background: #f4f3ef; border-radius: 2px; border: 0; outline: 0;
}
/* Einmaliges "Einreiben" von links nach rechts: die Zeitachse des Bildes, beim ersten Laden */
@media (prefers-reduced-motion: no-preference) {
  .dgf:where(.dgf-s) .frame img { animation: dgf-rub 1400ms var(--ease-in-out) 150ms both; }
}
@media (prefers-reduced-motion: reduce) {
  .dgf:where(.dgf-s) .frame img { animation: dgf-fade 300ms ease both; }
}
@keyframes dgf-rub { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes dgf-fade { from { opacity: 0; } to { opacity: 1; } }

/* Seitliches Wischen in Ablaufbild und Tabelle nicht als "Zurück" werten */
.dgf:where(.dgf-s) .diagram, .dgf:where(.dgf-s) .table-wrap { overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }

.dgf:where(.dgf-s) .dgf-foot {
  margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: var(--dgf-fs-1); color: var(--muted) !important; letter-spacing: .03em;
}
.dgf:where(.dgf-s) .dgf-foot p { max-width: 70ch; }
.dgf:where(.dgf-s) .work figcaption {
  display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap;
  font-size: var(--dgf-fs-1); color: var(--muted) !important; letter-spacing: .06em; line-height: 1.5;
}
.dgf:where(.dgf-s) .work figcaption b { color: var(--fg-strong) !important; font-weight: 700; letter-spacing: .12em; }
/* Handy: in der Spalte des Themes bleiben (dessen Seitenrand reicht), Sprungmarken kompakter */
@media (max-width: 700px) {
  .dgf:where(.dgf-s) { width: auto; margin-left: 0; }
  .dgf:where(.dgf-s) .jump { gap: 8px; }
  .dgf:where(.dgf-s) .listen-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dgf:where(.dgf-s) .station { padding: 10px; }
  .dgf:where(.dgf-s) .jump a { padding: 7px 13px; font-size: var(--dgf-fs-1); letter-spacing: .08em; }
}

/* Überschriften wie auf "Über das Projekt" (Theme Tracks: h2 2.25em, Regular, normale Schreibung, linksbündig).
   Entscheidung des Künstlers 03.10.2026; die kurze Linie unter der Überschrift entfällt dafür. */
.dgf:where(.dgf-s) h2 {
  font-size: var(--dgf-fs-6); line-height: 1.34; font-weight: 400; letter-spacing: normal; text-transform: none;
  text-align: left; margin: 0 0 14px;
}
.dgf:where(.dgf-s) .h2-rule { display: none; }
.dgf:where(.dgf-s) .intro { text-align: left; margin: 0 0 28px; }
.dgf:where(.dgf-s) .step h3 { font-size: var(--dgf-fs-5); line-height: 1.3; font-weight: 400; letter-spacing: normal; text-transform: none; }
@media (max-width: 480px) { .dgf:where(.dgf-s) h2 { font-size: var(--dgf-fs-5); } .dgf:where(.dgf-s) .step h3 { font-size: var(--dgf-fs-4); } }

/* ===== Forschung: Seite und Aufklappfenster (aus build_forschung.CSS_FORSCHUNG) ===== */
/* ---- Seite "Forschung" ---- */
.dgf:where(.dgf-s) .fo-intro { max-width: 72ch; margin: 22px auto 0; text-align: center; font-style: italic; font-size: var(--dgf-fs-2); color: var(--fg) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .fo-thema { text-align: center; }
.dgf:where(.dgf-s) .fo-kopf { justify-content: center; }
.dgf:where(.dgf-s) .fo-thema h2 { text-align: center; }
.dgf:where(.dgf-s) .fo-thema > p { margin: 0 auto 14px; text-align: center; }
.dgf:where(.dgf-s) .fo-liste, .dgf:where(.dgf-s) .fo-tech { text-align: left; }
.dgf:where(.dgf-s) .fo-liste { margin-inline: auto; }
.dgf:where(.dgf-s) .fo-steuerung { display: flex; justify-content: center; margin: 0 0 20px; }
.dgf:where(.dgf-s) .fo-btn { appearance: none; -webkit-appearance: none; cursor: pointer; font: inherit; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg) !important; background: transparent; border: 2px solid var(--faint); border-radius: 999px;
  padding: 8px 20px; min-height: 44px; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform 160ms var(--ease-out), border-color 160ms ease, color 160ms ease; }
.dgf:where(.dgf-s) .fo-btn:active { transform: scale(0.97); }
.dgf:where(.dgf-s) .fo-btn:focus-visible, .dgf:where(.dgf-s) .fo-kachel:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
.dgf:where(.dgf-s) .fo-btn[hidden] { display: none; }
.dgf:where(.dgf-s) .fo-wand { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.dgf:where(.dgf-s) .fo-kachel { display: block; padding: 4px; border: 2px solid #333333; background: #585858; border-radius: 6px; line-height: 0; cursor: zoom-in;
  text-decoration: none; transition: transform 160ms var(--ease-out); }
.dgf:where(.dgf-s) .fo-kachel:active { transform: scale(0.98); }
.dgf:where(.dgf-s) .fo-kachel img { display: block; width: 100%; height: auto; border-radius: 2px; background: #f4f3ef; border: 0; }
.dgf:where(.dgf-s) .fo-dialog { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; color: var(--fg) !important; }
.dgf:where(.dgf-s) .fo-dialog::backdrop { background: rgba(0, 0, 0, .9); }
.dgf:where(.dgf-s) .fo-dialog-in { display: grid; gap: 12px; justify-items: center; }
.dgf:where(.dgf-s) .fo-dialog img { display: block; max-width: 92vw; max-height: calc(96vh - 80px); width: auto; height: auto; border: 2px solid #333333; border-radius: 4px;
  background: #f4f3ef; }
.dgf:where(.dgf-s) .fo-dialog-leiste { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; }
.dgf:where(.dgf-s) .fo-dialog-cap { font-size: var(--dgf-fs-1); letter-spacing: .08em; color: var(--muted) !important; min-width: 8em; text-align: center; }
.dgf:where(.dgf-s) .fo-instr-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; text-align: left; }
.dgf:where(.dgf-s) .fo-instr { border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); padding: 12px 12px 14px; }
.dgf:where(.dgf-s) .fo-instr-kopf { display: grid; grid-template-columns: 14px 1fr; gap: 0 10px; align-items: start; }
.dgf:where(.dgf-s) .fo-punkt { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; grid-row: span 2; border: 1px solid #4a4a4a; }
.dgf:where(.dgf-s) .fo-instr b { font-size: var(--dgf-fs-2); color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .fo-instr small { font-size: var(--dgf-fs-1); line-height: 1.4; color: var(--muted) !important; }
.dgf:where(.dgf-s) .fo-proben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.dgf:where(.dgf-s) .fo-proben img, .dgf:where(.dgf-s) .fo-weg-bilder img { display: block; width: 100%; height: auto; border-radius: 3px; background: #f4f3ef; border: 0; }
.dgf:where(.dgf-s) .fo-weg { margin: 0 0 24px; text-align: left; }
.dgf:where(.dgf-s) .fo-weg > b { display: block; margin: 0 0 8px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .fo-weg-bilder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.dgf:where(.dgf-s) .fo-weg-bilder figure { margin: 0; display: grid; gap: 4px; }
.dgf:where(.dgf-s) .fo-weg-bilder img { aspect-ratio: 4 / 3; object-fit: contain; }
.dgf:where(.dgf-s) .fo-weg-bilder figcaption { font-size: var(--dgf-fs-1); line-height: 1.4; letter-spacing: .04em; color: var(--muted) !important; }
.dgf:where(.dgf-s) .fo-hinweis { max-width: 72ch; margin: 12px auto 0; text-align: center; font-size: var(--dgf-fs-1); line-height: 1.55;
  color: var(--muted) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .fo-kopf-leiste { display: grid; justify-items: center; gap: 18px; padding-block: 8px 0; }
.dgf:where(.dgf-s) .fo-thema { padding-top: 64px; scroll-margin-top: 24px; }
.dgf:where(.dgf-s) .fo-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 10px; }
.dgf:where(.dgf-s) .fo-nr { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; color: var(--muted) !important; }
.dgf:where(.dgf-s) .fo-chip { display: inline-block; border: 1px solid var(--warm-line); background: var(--warm-surface); border-radius: 999px;
  padding: 4px 12px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s) .fo-thema h2 { margin: 0 0 16px; }
.dgf:where(.dgf-s) .fo-thema > p, .dgf:where(.dgf-s) .fo-tech-body > p { max-width: 74ch; text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .fo-tech-body > p { margin: 0 0 14px; text-align: left; }
.dgf:where(.dgf-s) .fo-thema p b, .dgf:where(.dgf-s) .fo-tech-body b { color: var(--fg-strong) !important; font-weight: 700; }
.dgf:where(.dgf-s) .fo-thema > p a { color: var(--fg-strong) !important; text-decoration: underline; text-underline-offset: 3px; }
.dgf:where(.dgf-s) .fo-thema > p.fo-label { margin: 30px auto 12px; text-align: center; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted) !important; }
.dgf:where(.dgf-s) .fo-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; list-style: none; margin: 0; padding: 0; }
.dgf:where(.dgf-s) .fo-video { display: grid; gap: 8px; margin: 0; align-content: start; }
.dgf:where(.dgf-s) .fo-frame { border: 2px solid #333333; padding: 6px; background: #585858; border-radius: 6px; line-height: 0; }
.dgf:where(.dgf-s) .fo-frame video, .dgf:where(.dgf-s) .fo-frame img { display: block; width: 100%; height: auto; border-radius: 2px; background: #f4f3ef; border: 0; outline: 0; }
.dgf:where(.dgf-s) .fo-video figcaption, .dgf:where(.dgf-s) .fo-bild figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px;
  font-size: var(--dgf-fs-1); line-height: 1.5; letter-spacing: .05em; color: var(--muted) !important; }
.dgf:where(.dgf-s) .fo-video figcaption b, .dgf:where(.dgf-s) .fo-bild figcaption b { font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .fo-regler { font-variant-numeric: tabular-nums; color: var(--fg) !important; }
.dgf:where(.dgf-s) .fo-bild { margin: 0; display: grid; gap: 8px; }
.dgf:where(.dgf-s) .fo-liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; max-width: 74ch; }
.dgf:where(.dgf-s) .fo-liste li { position: relative; padding-left: 20px; text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .fo-liste li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--hot); }
.dgf:where(.dgf-s) .fo-tech { margin: 26px 0 0; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); }
.dgf:where(.dgf-s) .fo-tech > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px;
  padding: 12px 18px; cursor: pointer; list-style: none; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fg-strong) !important; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  user-select: none; -webkit-user-select: none; }
.dgf:where(.dgf-s) .fo-tech > summary::-webkit-details-marker { display: none; }
.dgf:where(.dgf-s) .fo-tech > summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border: 2px solid var(--faint); border-radius: 50%; font-size: var(--dgf-fs-3); line-height: 1; letter-spacing: 0; color: var(--fg) !important;
  transition: transform 200ms var(--ease-out), border-color 160ms ease; }
.dgf:where(.dgf-s) .fo-tech[open] > summary::after { content: "\2212"; }
.dgf:where(.dgf-s) .fo-tech > summary:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 8px; }
.dgf:where(.dgf-s) .fo-tech-body { padding: 6px 18px 20px; border-top: 1px solid var(--rule); }
.dgf:where(.dgf-s) .fo-tech-body h3 { margin: 22px 0 8px; padding: 0; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; line-height: 1.4; color: var(--muted) !important; }
.dgf:where(.dgf-s) .fo-tabelle { overflow-x: auto; margin: 6px 0 14px; border: 1px solid var(--rule); border-radius: 8px; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; }
.dgf:where(.dgf-s) .fo-tabelle table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--dgf-fs-2); }
.dgf:where(.dgf-s) .fo-tabelle th, .dgf:where(.dgf-s) .fo-tabelle td { text-align: left; vertical-align: top; padding: 10px 14px; border: 0;
  border-bottom: 1px solid var(--rule); line-height: 1.5; color: var(--fg) !important; }
.dgf:where(.dgf-s) .fo-tabelle th { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--surface-2);
  color: var(--muted) !important; }
.dgf:where(.dgf-s) .fo-tabelle tbody tr:last-child td { border-bottom: 0; }
.dgf:where(.dgf-s) .fo-tabelle td:first-child { color: var(--fg-strong) !important; white-space: nowrap; }
.dgf:where(.dgf-s) .fo-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.dgf:where(.dgf-s) .fo-karte { border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); padding: 16px 18px 18px; }
.dgf:where(.dgf-s) .fo-karte h3 { margin: 0 0 6px; padding: 0; font-size: var(--dgf-fs-4); line-height: 1.35; font-weight: 400; letter-spacing: normal;
  text-transform: none; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .fo-karte p { margin: 0; font-size: var(--dgf-fs-2); text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .fo-weiter { margin-top: 44px; text-align: center; }
.dgf:where(.dgf-s) .fo-weiter p { margin: 0 0 14px; font-size: var(--dgf-fs-2); color: var(--muted) !important; }
@media (hover: hover) and (pointer: fine) { .dgf:where(.dgf-s) .fo-tech > summary:hover::after { border-color: var(--fg); } }
@media (max-width: 960px) { .dgf:where(.dgf-s) .fo-instr-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .dgf:where(.dgf-s) .fo-videos, .dgf:where(.dgf-s) .fo-karten, .dgf:where(.dgf-s) .fo-instr-liste { grid-template-columns: 1fr; }
  .dgf:where(.dgf-s) .fo-weg-bilder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dgf:where(.dgf-s) .fo-wand { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .dgf:where(.dgf-s) .fo-kachel { padding: 2px; border-width: 1px; }
  .dgf:where(.dgf-s) .fo-thema { padding-top: 52px; }
  .dgf:where(.dgf-s) .fo-tech > summary { padding-inline: 14px; letter-spacing: .1em; }
  .dgf:where(.dgf-s) .fo-tech-body { padding-inline: 14px; }
  .dgf:where(.dgf-s) .fo-tabelle { overflow: visible; }
  .dgf:where(.dgf-s) .fo-tabelle table, .dgf:where(.dgf-s) .fo-tabelle tbody, .dgf:where(.dgf-s) .fo-tabelle tr, .dgf:where(.dgf-s) .fo-tabelle td { display: block; min-width: 0; width: 100%; }
  .dgf:where(.dgf-s) .fo-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dgf:where(.dgf-s) .fo-tabelle tr { padding: 10px 14px; border-bottom: 1px solid var(--rule); }
  .dgf:where(.dgf-s) .fo-tabelle tbody tr:last-child { border-bottom: 0; }
  .dgf:where(.dgf-s) .fo-tabelle td { padding: 3px 0; border: 0; white-space: normal !important; }
  .dgf:where(.dgf-s) .fo-tabelle td::before { content: attr(data-l); display: block; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--muted) !important; }
  .dgf:where(.dgf-s) .fo-tabelle td:first-child::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dgf:where(.dgf-s) .fo-tech > summary::after { transition: none; } }

/* ===== Forschung: Kasten Vertiefung (aus build_forschung.CSS_KASTEN) ===== */
/* ---- Kasten "Vertiefung" (Entwurf) ---- */
.dgf:where(.dgf-s) .fo-vertiefung { margin: 34px auto 0; max-width: 980px; text-align: left; }
.dgf:where(.dgf-s) .fo-vertiefung > b { display: block; margin: 0 0 10px; text-align: center; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s) .fo-beitrag { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: center; overflow: hidden; isolation: isolate;
  padding: 22px 24px; border: 1px solid var(--warm-line); border-radius: 12px; background: var(--warm-surface); text-decoration: none;
  transition: transform 160ms var(--ease-out), border-color 160ms ease; -webkit-tap-highlight-color: transparent; }
.dgf:where(.dgf-s) .fo-beitrag:active { transform: scale(0.99); }
.dgf:where(.dgf-s) .fo-beitrag:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
.dgf:where(.dgf-s) .fo-beitrag-text { display: grid; gap: 10px; justify-items: start; }
.dgf:where(.dgf-s) .fo-beitrag-text h3 { margin: 0; padding: 0; font-size: var(--dgf-fs-5); line-height: 1.25; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .fo-beitrag-text p { margin: 0; font-size: var(--dgf-fs-2); line-height: 1.6; text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .fo-beitrag-text .fo-btn { margin-top: 6px; pointer-events: none; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .fo-beitrag-bilder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dgf:where(.dgf-s) .fo-beitrag-bilder img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 3px; background: #f4f3ef; border: 0; }
@media (hover: hover) and (pointer: fine) { .dgf:where(.dgf-s) .fo-beitrag:hover { border-color: var(--hot); } }
@media (max-width: 760px) { .dgf:where(.dgf-s) .fo-beitrag { grid-template-columns: 1fr; padding: 18px 16px; } .dgf:where(.dgf-s) .fo-beitrag-text h3 { font-size: var(--dgf-fs-4); } }

/* ===== Beitrag Layout als Bild (aus beitrag_layout.CSS_BL) ===== */
/* ---- Beitrag "Das Layout als Bild" ---- */
.dgf:where(.dgf-s) .bl-hero { position: relative; overflow: hidden; border: 1px solid var(--rule); border-radius: 12px; background: #000; isolation: isolate; }
.dgf:where(.dgf-s) .bl-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.9); }
.dgf:where(.dgf-s) .bl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 38%, rgba(0,0,0,.18) 0%, rgba(0,0,0,.78) 64%, #000 100%); }
.dgf:where(.dgf-s) .bl-hero-in { display: grid; justify-items: center; gap: 16px; padding: clamp(36px, 6vw, 72px) clamp(18px, 4vw, 48px) clamp(28px, 4vw, 44px); text-align: center; }
.dgf:where(.dgf-s) .bl-hero .fo-kopf { justify-content: center; margin: 0; }
.dgf:where(.dgf-s) .bl-hero h1, .dgf:where(.dgf-s) .bl-hero h2.bl-name { margin: 0; padding: 0; font-size: clamp(30px, 5.2vw, 52px); font-weight: 400; line-height: 1.15; letter-spacing: .01em;
  color: var(--fg-strong) !important; text-wrap: balance; }
.dgf:where(.dgf-s) .bl-lead { max-width: 62ch; margin: 0; font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--fg) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .bl-zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 980px; margin: 12px 0 0; padding: 0; list-style: none; }
.dgf:where(.dgf-s) .bl-zahl { border: 1px solid var(--warm-line); background: rgba(21,18,10,.82); border-radius: 10px; padding: 14px 12px 14px; display: grid; gap: 4px; }
.dgf:where(.dgf-s) .bl-zahl b { font-size: clamp(22px, 3vw, 31px); font-weight: 700; line-height: 1.1; letter-spacing: .01em; color: var(--hot) !important; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s) .bl-zahl span { font-size: var(--dgf-fs-1); line-height: 1.45; letter-spacing: .04em; color: var(--muted) !important; }
.dgf:where(.dgf-s) .bl-meta { margin: 0; font-size: var(--dgf-fs-1); letter-spacing: .08em; color: var(--muted) !important; }
.dgf:where(.dgf-s) .bl-satz { max-width: 74ch; margin: 0 auto 16px; text-align: left; text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .bl-sec { padding-top: 64px; scroll-margin-top: 24px; }
.dgf:where(.dgf-s) .bl-sec > h2 { margin: 0 0 16px; text-align: center; }
.dgf:where(.dgf-s) .bl-sec > .fo-kopf { justify-content: center; }
.dgf:where(.dgf-s) .bl-sec > p { max-width: 74ch; margin: 0 auto 14px; text-align: left; text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .bl-sec p b, .dgf:where(.dgf-s) .bl-sec li b { color: var(--fg-strong) !important; font-weight: 700; }
.dgf:where(.dgf-s) .bl-sec .fo-liste { margin-inline: auto; }
.dgf:where(.dgf-s) .bl-gross { margin: 8px 0 0; display: grid; gap: 8px; }
.dgf:where(.dgf-s) .bl-gross .fo-frame { padding: 6px; }
.dgf:where(.dgf-s) .bl-vergleich { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 8px 0 0; padding: 0; }
.dgf:where(.dgf-s) .bl-vergleich figure, .dgf:where(.dgf-s) .bl-streu figure { margin: 0; display: grid; gap: 8px; align-content: start; }
.dgf:where(.dgf-s) .bl-vergleich .fo-frame, .dgf:where(.dgf-s) .bl-streu .fo-frame { padding: 4px; }
.dgf:where(.dgf-s) .bl-vergleich img, .dgf:where(.dgf-s) .bl-streu img { aspect-ratio: 16 / 9; object-fit: contain; }
.dgf:where(.dgf-s) .bl-vergleich figcaption, .dgf:where(.dgf-s) .bl-streu figcaption, .dgf:where(.dgf-s) .bl-gross figcaption { font-size: var(--dgf-fs-1); line-height: 1.5; letter-spacing: .04em; color: var(--muted) !important; }
.dgf:where(.dgf-s) .bl-vergleich figcaption b, .dgf:where(.dgf-s) .bl-streu figcaption b, .dgf:where(.dgf-s) .bl-gross figcaption b { display: block; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bl-streu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 8px 0 0; padding: 0; }
.dgf:where(.dgf-s) .bl-chart { margin: 8px auto 0; max-width: 760px; border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); padding: 14px 12px 10px; }
.dgf:where(.dgf-s) .bl-svg { display: block; width: 100%; height: auto; font-family: "Raleway", "Segoe UI", Arial, sans-serif; }
.dgf:where(.dgf-s) .bl-erk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: erk; }
.dgf:where(.dgf-s) .bl-erk li { counter-increment: erk; position: relative; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); padding: 16px 18px 18px 62px; }
.dgf:where(.dgf-s) .bl-erk li::before { content: counter(erk); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--warm-line); background: var(--warm-surface); font-size: var(--dgf-fs-2); font-weight: 700; color: var(--hot) !important; }
.dgf:where(.dgf-s) .bl-erk h3 { margin: 0 0 6px; padding: 0; font-size: var(--dgf-fs-3); line-height: 1.35; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bl-erk p { margin: 0; font-size: var(--dgf-fs-2); text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .bl-wand { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 8px 0 0; padding: 0; }
.dgf:where(.dgf-s) .bl-kachel { position: relative; display: block; padding: 4px; border: 2px solid #333333; background: #585858; border-radius: 6px; line-height: 0; cursor: zoom-in; text-decoration: none; transition: transform 160ms var(--ease-out); }
.dgf:where(.dgf-s) .bl-kachel:active { transform: scale(0.98); }
.dgf:where(.dgf-s) .bl-kachel:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
.dgf:where(.dgf-s) .bl-kachel img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 2px; background: #f4f3ef; border: 0; }
.dgf:where(.dgf-s) .bl-kachel span { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,.72); font-size: var(--dgf-fs-1); line-height: 1.6; font-weight: 700;
  letter-spacing: .1em; color: #f2f2f2 !important; }
.dgf:where(.dgf-s) .bl-wand-leiste { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 18px; }
.dgf:where(.dgf-s) .bl-wand-leiste button[aria-pressed="true"] { background: var(--hot); border-color: var(--hot); color: #000 !important; }
.dgf:where(.dgf-s) .bl-wand li[hidden] { display: none; }
.dgf:where(.dgf-s) .bl-links { margin-top: 44px; text-align: center; }
.dgf:where(.dgf-s) .bl-links p { margin: 0 0 14px; font-size: var(--dgf-fs-2); color: var(--muted) !important; }
.dgf:where(.dgf-s) .bl-nachweis { max-width: 74ch; margin: 18px auto 0; text-align: center; font-size: var(--dgf-fs-1); line-height: 1.55; color: var(--muted) !important; text-wrap: pretty; }
@media (max-width: 960px) { .dgf:where(.dgf-s) .bl-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dgf:where(.dgf-s) .bl-vergleich, .dgf:where(.dgf-s) .bl-streu { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .dgf:where(.dgf-s) .bl-erk { grid-template-columns: 1fr; }
  .dgf:where(.dgf-s) .bl-wand { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .dgf:where(.dgf-s) .bl-sec { padding-top: 52px; }
  .dgf:where(.dgf-s) .bl-kachel { padding: 2px; border-width: 1px; }
  .dgf:where(.dgf-s) .bl-hero-in { padding-inline: 14px; }
  .dgf:where(.dgf-s) .bl-chart { padding: 10px 6px 6px; }
}
@media (max-width: 420px) { .dgf:where(.dgf-s) .bl-zahlen { grid-template-columns: 1fr 1fr; gap: 8px; } .dgf:where(.dgf-s) .bl-zahl { padding: 10px 8px; } }

/* ===== Beitraege: Kopf, Übersicht, Zeitstrahl (aus beitraege.CSS_OV) ===== */
/* ---- Forschung als Reihe von Beitraegen ---- */
.dgf:where(.dgf-s) .ov-krumen { margin: 0 0 14px; font-size: var(--dgf-fs-1); letter-spacing: .08em; color: var(--muted) !important; text-align: center; }
.dgf:where(.dgf-s) .ov-krumen a { color: var(--fg) !important; text-decoration: underline; text-underline-offset: 3px; }
.dgf:where(.dgf-s) .ov-text { padding-top: 56px; }
.dgf:where(.dgf-s) .ov-weiter { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 14px; align-items: center; }
.dgf:where(.dgf-s) .ov-weiter a { display: grid; gap: 2px; text-decoration: none; color: var(--fg) !important; }
.dgf:where(.dgf-s) .ov-weiter a small { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s) .ov-weiter a b { font-size: var(--dgf-fs-2); font-weight: 400; color: var(--fg-strong) !important; text-wrap: balance; }
.dgf:where(.dgf-s) .ov-weiter .ov-r { text-align: right; }
.dgf:where(.dgf-s) .ov-weiter .ov-mitte { text-align: center; }
.dgf:where(.dgf-s) .ov-chip { display: inline-block; border: 1px solid var(--warm-line); background: var(--warm-surface); border-radius: 999px; padding: 3px 11px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s) .ov-datum { font-size: var(--dgf-fs-1); letter-spacing: .06em; color: var(--muted) !important; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s) .ov-nr { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; color: var(--muted) !important; }
.dgf:where(.dgf-s) .ov-bild { display: block; position: relative; overflow: hidden; border-radius: 8px; background: #111; }
.dgf:where(.dgf-s) .ov-bild img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform 420ms var(--ease-out), opacity 200ms ease; }
.dgf:where(.dgf-s) .ov-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72) 100%); }
.dgf:where(.dgf-s) .ov-lesen { display: inline-block; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .ov-lesen::after { content: " \2192"; color: var(--hot) !important; }
@media (hover: hover) and (pointer: fine) { .dgf:where(.dgf-s) a:hover .ov-bild img { transform: scale(1.04); opacity: .9; } }
.dgf:where(.dgf-s) .ov-leiste { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; }
.dgf:where(.dgf-s) .ov-leiste button[aria-pressed="true"] { background: var(--hot); border-color: var(--hot); color: #000 !important; }

/* A Timeline */
.dgf:where(.dgf-s) .ov-zeit { position: relative; list-style: none; margin: 40px auto 0; padding: 0; max-width: 1020px; }
.dgf:where(.dgf-s) .ov-zeit::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; margin-left: -1px; background: linear-gradient(180deg, var(--warm-line), var(--rule) 40%, var(--rule)); }
.dgf:where(.dgf-s) .ov-z-monat { position: relative; z-index: 1; margin: 0 0 22px; text-align: center; }
.dgf:where(.dgf-s) .ov-z-monat h2 { margin: 0 !important; padding: 0; font-size: inherit !important; line-height: inherit !important; font-weight: inherit; }
.dgf:where(.dgf-s) .ov-z-monat span { display: inline-block; padding: 6px 18px; border: 1px solid var(--warm-line); border-radius: 999px; background: #000; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s) .ov-z-eintrag { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; margin: 0 0 34px; }
.dgf:where(.dgf-s) .ov-z-eintrag::before { content: ""; position: absolute; left: 50%; top: 22px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #000; border: 3px solid var(--hot); z-index: 1; }
.dgf:where(.dgf-s) .ov-z-karte { display: grid; gap: 10px; align-content: start; padding: 14px 14px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--fg) !important; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.dgf:where(.dgf-s) .ov-z-karte:active { transform: scale(0.99); }
.dgf:where(.dgf-s) .ov-z-karte:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
.dgf:where(.dgf-s) .ov-z-karte .ov-bild { aspect-ratio: 16 / 7; }
.dgf:where(.dgf-s) .ov-z-karte h3 { margin: 0; padding: 0; font-size: var(--dgf-fs-4); line-height: 1.3; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .ov-z-karte p { margin: 0; font-size: var(--dgf-fs-2); line-height: 1.6; text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .ov-z-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.dgf:where(.dgf-s) .ov-z-eintrag.ov-li .ov-z-karte { grid-column: 1; }
.dgf:where(.dgf-s) .ov-z-eintrag.ov-li .ov-z-tag { grid-column: 2; text-align: left; }
.dgf:where(.dgf-s) .ov-z-eintrag.ov-re .ov-z-karte { grid-column: 2; grid-row: 1; }
.dgf:where(.dgf-s) .ov-z-eintrag.ov-re .ov-z-tag { grid-column: 1; grid-row: 1; text-align: right; }
.dgf:where(.dgf-s) .ov-z-tag { padding-top: 14px; display: grid; gap: 2px; align-content: start; }
.dgf:where(.dgf-s) .ov-z-tag b { font-size: var(--dgf-fs-5); font-weight: 400; line-height: 1.1; color: var(--fg-strong) !important; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s) .ov-z-tag span { font-size: var(--dgf-fs-1); letter-spacing: .06em; color: var(--muted) !important; }
@media (hover: hover) and (pointer: fine) { .dgf:where(.dgf-s) .ov-z-karte:hover { border-color: var(--hot); } }
@media (max-width: 820px) {
  .dgf:where(.dgf-s) .ov-zeit::before { left: 12px; }
  .dgf:where(.dgf-s) .ov-z-monat { text-align: left; padding-left: 36px; }
  .dgf:where(.dgf-s) .ov-z-eintrag { grid-template-columns: 1fr; padding-left: 36px; margin-bottom: 26px; }
  .dgf:where(.dgf-s) .ov-z-eintrag::before { left: 12px; }
  .dgf:where(.dgf-s) .ov-z-eintrag .ov-z-karte, .dgf:where(.dgf-s) .ov-z-eintrag.ov-li .ov-z-karte, .dgf:where(.dgf-s) .ov-z-eintrag.ov-re .ov-z-karte { grid-column: 1; grid-row: 2; }
  .dgf:where(.dgf-s) .ov-z-eintrag .ov-z-tag, .dgf:where(.dgf-s) .ov-z-eintrag.ov-li .ov-z-tag, .dgf:where(.dgf-s) .ov-z-eintrag.ov-re .ov-z-tag { grid-column: 1; grid-row: 1; text-align: left; padding: 0 0 8px; display: flex; gap: 10px; align-items: baseline; }
  .dgf:where(.dgf-s) .ov-z-tag b { font-size: var(--dgf-fs-4); }
}

/* B Karten */
.dgf:where(.dgf-s) .ov-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 26px 0 0; padding: 0; }
.dgf:where(.dgf-s) .ov-karten li[hidden] { display: none; }
.dgf:where(.dgf-s) .ov-k { display: grid; grid-template-rows: auto 1fr; height: 100%; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); overflow: hidden; text-decoration: none; color: var(--fg) !important; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.dgf:where(.dgf-s) .ov-k:active { transform: scale(0.99); }
.dgf:where(.dgf-s) .ov-k:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
.dgf:where(.dgf-s) .ov-k .ov-bild { aspect-ratio: 16 / 9; border-radius: 0; }
.dgf:where(.dgf-s) .ov-k-text { display: grid; gap: 10px; align-content: start; padding: 16px 18px 20px; }
.dgf:where(.dgf-s) .ov-k-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dgf:where(.dgf-s) .ov-k h3 { margin: 0; padding: 0; font-size: var(--dgf-fs-4); line-height: 1.3; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--fg-strong) !important; text-wrap: balance; }
.dgf:where(.dgf-s) .ov-k p { margin: 0; font-size: var(--dgf-fs-2); line-height: 1.6; text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .ov-k-fuss { margin-top: 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
@media (hover: hover) and (pointer: fine) { .dgf:where(.dgf-s) .ov-k:hover { border-color: var(--hot); } }
@media (max-width: 980px) { .dgf:where(.dgf-s) .ov-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .dgf:where(.dgf-s) .ov-karten { grid-template-columns: 1fr; } }

/* Ansicht Karten, Status, Steuerung (drei Vorschlaege) */
.dgf:where(.dgf-s) .ov-z-eintrag[hidden], .dgf:where(.dgf-s) .ov-z-monat[hidden], .dgf:where(.dgf-s) .ov-karten li[hidden], .dgf:where(.dgf-s) .ov-steuer[hidden], .dgf:where(.dgf-s) .ov-leer[hidden] { display: none; }
.dgf:where(.dgf-s) .ov-ansicht[data-ansicht="karten"] .ov-zeit-wrap { display: none; }
.dgf:where(.dgf-s) .ov-ansicht:not([data-ansicht="karten"]) .ov-karten-wrap { display: none; }
.dgf:where(.dgf-s) .ov-steuer { max-width: 1020px; margin: 30px auto 0; }
.dgf:where(.dgf-s) .ov-leer { max-width: 54ch; margin: 36px auto 0; text-align: center; font-size: var(--dgf-fs-2); line-height: 1.6; color: var(--muted) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .ov-steuer button { appearance: none; -webkit-appearance: none; margin: 0; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.dgf:where(.dgf-s) .ov-steuer button:focus-visible, .dgf:where(.dgf-s) .ov-status:focus-visible, .dgf:where(.dgf-s) .ov-menue > summary:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
/* 1 Textleiste */
.dgf:where(.dgf-s) .ov-s1 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 28px; font-size: var(--dgf-fs-1); letter-spacing: .06em; color: var(--muted) !important; }
.dgf:where(.dgf-s) .ov-t-gruppe { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 9px; }
.dgf:where(.dgf-s) .ov-t-label { margin-right: 2px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s) .ov-s1 button { min-height: 38px; padding: 8px 1px; border: 0; background: none; font-size: var(--dgf-fs-1); letter-spacing: .06em; color: var(--muted) !important;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 2px; transition: color 160ms ease, text-decoration-color 160ms ease; }
.dgf:where(.dgf-s) .ov-s1 button[aria-pressed="true"] { color: var(--fg-strong) !important; text-decoration-color: var(--hot); }
@media (hover: hover) and (pointer: fine) { .dgf:where(.dgf-s) .ov-s1 button:hover { color: var(--fg-strong) !important; } }
/* 2 Symbole */
.dgf:where(.dgf-s) .ov-s2 { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.dgf:where(.dgf-s) .ov-i-gruppe { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 2px; }
.dgf:where(.dgf-s) .ov-s2 button { width: 38px; height: 34px; padding: 0; border: 0; border-radius: 999px; display: grid; place-items: center; background: transparent; color: var(--muted) !important; transition: background-color 160ms ease, color 160ms ease; }
.dgf:where(.dgf-s) .ov-s2 button[aria-pressed="true"] { background: var(--surface-2); color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .ov-s2 button svg { display: block; overflow: visible; }
.dgf:where(.dgf-s) .ov-i-status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s) .ov-status { appearance: none; -webkit-appearance: none; min-height: 36px; margin: 0; padding: 6px 30px 6px 14px; border: 1px solid var(--rule); border-radius: 999px; font: inherit; font-size: var(--dgf-fs-1); letter-spacing: .04em; text-transform: none; cursor: pointer;
  color: var(--fg) !important; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238f8f8f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; }
.dgf:where(.dgf-s) .ov-status option { background: #111111; color: #d3d3d3; }
/* 3 Menue */
.dgf:where(.dgf-s) .ov-s3 { display: flex; justify-content: center; }
.dgf:where(.dgf-s) .ov-menue { position: relative; }
.dgf:where(.dgf-s) .ov-menue > summary { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 2px; list-style: none; cursor: pointer; user-select: none; -webkit-user-select: none;
  font-size: var(--dgf-fs-1); letter-spacing: .06em; color: var(--muted) !important; -webkit-tap-highlight-color: transparent; }
.dgf:where(.dgf-s) .ov-menue > summary::-webkit-details-marker { display: none; }
.dgf:where(.dgf-s) .ov-menue > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 160ms var(--ease-out); }
.dgf:where(.dgf-s) .ov-menue[open] > summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.dgf:where(.dgf-s) .ov-m-stand { color: var(--hot) !important; }
.dgf:where(.dgf-s) .ov-m-stand:empty { display: none; }
.dgf:where(.dgf-s) .ov-menue-in { position: absolute; left: 50%; transform: translateX(-50%); top: 100%; z-index: 6; display: grid; gap: 14px; min-width: min(360px, 88vw); padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); box-shadow: 0 16px 36px rgba(0,0,0,.6); }
.dgf:where(.dgf-s) .ov-m-zeile { display: grid; gap: 7px; }
.dgf:where(.dgf-s) .ov-m-t { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s) .ov-m-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dgf:where(.dgf-s) .ov-menue button { min-height: 36px; padding: 5px 13px; border: 1px solid var(--faint); border-radius: 999px; background: transparent; font-size: var(--dgf-fs-1); letter-spacing: .04em; color: var(--fg) !important; transition: background-color 160ms ease, border-color 160ms ease; }
.dgf:where(.dgf-s) .ov-menue button[aria-pressed="true"] { background: var(--hot); border-color: var(--hot); color: #000 !important; }
@media (max-width: 560px) { .dgf:where(.dgf-s) .ov-s1 { justify-content: flex-start; } .dgf:where(.dgf-s) .ov-s2 { justify-content: space-between; } .dgf:where(.dgf-s) .ov-i-status > span { display: none; } }
/* Auswahlseite und Leiste nur in der Vorschau */

/* ===== Beitraege: Infoboxen und Grafiken (aus beitrag_optik.CSS_BO) ===== */
/* ---- Optik der Beitraege (beitrag_optik.py) ---- */
.dgf:where(.dgf-s) .bo-text { text-align: left; }
.dgf:where(.dgf-s) .bo-text > p, .dgf:where(.dgf-s) .bo-text > .fo-liste, .dgf:where(.dgf-s) .bo-text > p.bo-lead { max-width: 720px; margin: 0 auto 16px; text-align: left; }
.dgf:where(.dgf-s) .bo-text > p.fo-label { max-width: none; text-align: center; margin: 46px auto 14px; }
.dgf:where(.dgf-s) .bo-text > p.bo-lead { font-size: clamp(17px, 2vw, 19px); line-height: 1.65; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bo-text > p.bo-lead::first-letter { float: left; font-size: 3.3em; line-height: .86; padding: 6px 10px 0 0; font-weight: 700; color: var(--hot) !important; }
.dgf:where(.dgf-s) .bo-text > .fo-tech { max-width: 980px; margin: 44px auto 0; }
.dgf:where(.dgf-s) .bo-block { max-width: 980px; margin: 38px auto 40px; }
.dgf:where(.dgf-s) .bo-block-schmal { max-width: 820px; }
.dgf:where(.dgf-s) .bo-frage, .dgf:where(.dgf-s) .bo-notiz { position: relative; max-width: 760px; margin: 34px auto; padding: 22px 26px 22px 30px; border-radius: 12px;
  border: 1px solid var(--warm-line); background: linear-gradient(135deg, #1b160a 0%, #0f0d07 100%); }
.dgf:where(.dgf-s) .bo-frage::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--hot); }
.dgf:where(.dgf-s) .bo-frage p { margin: 0; font-size: clamp(17px, 2.1vw, 20px); line-height: 1.6; color: var(--fg-strong) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .bo-notiz { border-color: var(--rule); background: var(--surface); }
.dgf:where(.dgf-s) .bo-notiz p { margin: 0; font-size: var(--dgf-fs-2); color: var(--fg) !important; }
.dgf:where(.dgf-s) .bo-etikett { display: block; margin: 0 0 8px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s) .bo-notiz .bo-etikett { color: var(--muted) !important; }
.dgf:where(.dgf-s) .bo-ic { flex: none; display: block; color: var(--hot) !important; }
.dgf:where(.dgf-s) .bo-kasten { border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); overflow: hidden; }
.dgf:where(.dgf-s) .bo-kasten + .bo-kasten { margin-top: 16px; }
.dgf:where(.dgf-s) .bo-kasten-kopf { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--rule); background: var(--surface-2); }
.dgf:where(.dgf-s) .bo-kasten-kopf b { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bo-kasten-in { padding: 20px 20px 22px; }
.dgf:where(.dgf-s) .bo-kasten-in > p { margin: 0 0 12px; font-size: var(--dgf-fs-2); color: var(--fg) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .bo-kasten-in > p:last-child { margin-bottom: 0; }
.dgf:where(.dgf-s) .bo-paar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.dgf:where(.dgf-s) .bo-paar .bo-kasten + .bo-kasten { margin-top: 0; }
.dgf:where(.dgf-s) .bo-svg { display: block; width: 100%; height: auto; }
.dgf:where(.dgf-s) .bo-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.dgf:where(.dgf-s) .bo-scroll .bo-svg { min-width: 560px; }
.dgf:where(.dgf-s) .bo-zahlpaar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 10px; }
.dgf:where(.dgf-s) .bo-zahlpaar b { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; line-height: 1.1; color: var(--hot) !important; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s) .bo-zahlpaar s { font-size: var(--dgf-fs-4); color: var(--muted) !important; text-decoration-thickness: 1px; }
.dgf:where(.dgf-s) .bo-zahlpaar span { font-size: var(--dgf-fs-1); letter-spacing: .04em; color: var(--muted) !important; }
/* Schritte */
.dgf:where(.dgf-s) .bo-schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; counter-reset: bo; }
.dgf:where(.dgf-s) .bo-schritte li { counter-increment: bo; position: relative; display: grid; gap: 6px; align-content: start; padding: 46px 14px 16px; border: 1px solid var(--rule); border-radius: 10px; background: #070707; }
.dgf:where(.dgf-s) .bo-schritte li::before { content: counter(bo); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--warm-line); background: var(--warm-surface); font-size: var(--dgf-fs-1); font-weight: 700; color: var(--hot) !important; }
.dgf:where(.dgf-s) .bo-schritte li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 24px; width: 8px; height: 8px; border-top: 1.5px solid var(--faint); border-right: 1.5px solid var(--faint); transform: rotate(45deg); }
.dgf:where(.dgf-s) .bo-schritte b { font-size: var(--dgf-fs-2); font-weight: 700; line-height: 1.35; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bo-schritte span { font-size: var(--dgf-fs-1); line-height: 1.55; color: var(--fg) !important; text-wrap: pretty; }
/* Karten */
.dgf:where(.dgf-s) .bo-karten { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dgf:where(.dgf-s) .bo-k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dgf:where(.dgf-s) .bo-k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dgf:where(.dgf-s) .bo-karte { display: grid; gap: 8px; align-content: start; padding: 18px 18px 20px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); }
.dgf:where(.dgf-s) .bo-karte b { font-size: var(--dgf-fs-3); font-weight: 400; line-height: 1.3; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bo-karte span { font-size: var(--dgf-fs-2); line-height: 1.55; color: var(--fg) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .bo-trenn { margin: 12px 0 0; text-align: center; font-size: var(--dgf-fs-1); letter-spacing: .08em; color: var(--muted) !important; }
/* Stufen (Ausnahme) */
.dgf:where(.dgf-s) .bo-stufen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dgf:where(.dgf-s) .bo-stufe { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 18px 20px; border-radius: 12px; border: 1px solid var(--warm-line); }
.dgf:where(.dgf-s) .bo-stufe:nth-child(1) { background: #0d0b06; }
.dgf:where(.dgf-s) .bo-stufe:nth-child(2) { background: #1a150a; }
.dgf:where(.dgf-s) .bo-stufe:nth-child(3) { background: #2c230d; border-color: var(--hot); }
.dgf:where(.dgf-s) .bo-stufe:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--hot); border-right: 1.5px solid var(--hot); transform: translateY(-50%) rotate(45deg); }
.dgf:where(.dgf-s) .bo-stufen-achse { display: flex; justify-content: space-between; margin: 10px 2px 0; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s) .bo-stufe em { font-style: normal; font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1; color: var(--hot) !important; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s) .bo-stufe b { font-size: var(--dgf-fs-3); font-weight: 700; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bo-stufe span { font-size: var(--dgf-fs-1); line-height: 1.5; color: var(--fg) !important; }
/* Bilder */
.dgf:where(.dgf-s) .bo-reihe { display: grid; gap: 14px; }
.dgf:where(.dgf-s) .bo-r2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dgf:where(.dgf-s) .bo-r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dgf:where(.dgf-s) .bo-r4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dgf:where(.dgf-s) .bo-fig { margin: 0; display: grid; gap: 8px; align-content: start; }
.dgf:where(.dgf-s) .bo-fig .fo-frame { padding: 4px; }
.dgf:where(.dgf-s) .bo-r2 .bo-fig img, .dgf:where(.dgf-s) .bo-r3 .bo-fig img, .dgf:where(.dgf-s) .bo-r4 .bo-fig img { aspect-ratio: 16 / 9; object-fit: contain; }
.dgf:where(.dgf-s) .bo-hoch .bo-fig img { aspect-ratio: auto; }
/* Skala Compliance */
.dgf:where(.dgf-s) .bo-skala-bar { display: flex; height: 18px; border-radius: 4px; overflow: hidden; }
.dgf:where(.dgf-s) .bo-skala-bar i { display: block; height: 100%; }
.dgf:where(.dgf-s) .bo-skala-marken { position: relative; height: 22px; margin: 4px 0 10px; }
.dgf:where(.dgf-s) .bo-skala-marken span { position: absolute; top: 0; transform: translateX(-50%); font-size: var(--dgf-fs-1); color: var(--muted) !important; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s) .bo-skala-marken span:first-child { transform: none; }
.dgf:where(.dgf-s) .bo-skala-marken span:last-child { transform: translateX(-100%); }
.dgf:where(.dgf-s) .bo-skala-leg { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.dgf:where(.dgf-s) .bo-skala-leg li { display: flex; align-items: center; gap: 8px; font-size: var(--dgf-fs-1); color: var(--fg) !important; }
.dgf:where(.dgf-s) .bo-skala-leg i { flex: none; width: 12px; height: 12px; border-radius: 3px; }
.dgf:where(.dgf-s) .bo-skala p { margin: 0; font-size: var(--dgf-fs-1); line-height: 1.55; color: var(--muted) !important; }
.dgf:where(.dgf-s) .bo-fig figcaption { font-size: var(--dgf-fs-1); line-height: 1.5; letter-spacing: .04em; color: var(--muted) !important; }
.dgf:where(.dgf-s) .bo-fig figcaption b { display: block; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bo-unter { max-width: 70ch; margin: 12px auto 0; text-align: center; font-size: var(--dgf-fs-1); line-height: 1.55; color: var(--muted) !important; text-wrap: pretty; }
/* Balken */
.dgf:where(.dgf-s) .bo-balken { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dgf:where(.dgf-s) .bo-balken li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 3.2em; align-items: center; gap: 12px; }
.dgf:where(.dgf-s) .bo-b-name { font-size: var(--dgf-fs-1); color: var(--fg) !important; }
.dgf:where(.dgf-s) .bo-b-spur { height: 14px; border-radius: 7px; background: #151515; overflow: hidden; }
.dgf:where(.dgf-s) .bo-b-spur i { display: block; height: 100%; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.dgf:where(.dgf-s) .bo-b-wert { font-size: var(--dgf-fs-2); font-weight: 700; text-align: right; color: var(--fg-strong) !important; font-variant-numeric: tabular-nums; }
/* Regler */
.dgf:where(.dgf-s) .bo-regler-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.dgf:where(.dgf-s) .bo-regler { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 18px; align-items: center; }
.dgf:where(.dgf-s) .bo-regler div { display: grid; gap: 2px; }
.dgf:where(.dgf-s) .bo-regler div b { font-size: var(--dgf-fs-3); color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bo-regler small { font-size: var(--dgf-fs-1); line-height: 1.4; color: var(--muted) !important; }
.dgf:where(.dgf-s) .bo-regler ol { position: relative; list-style: none; margin: 0; padding: 0 0 22px; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.dgf:where(.dgf-s) .bo-regler ol::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 7px; height: 2px; background: linear-gradient(90deg, var(--warm-line), var(--hot)); }
.dgf:where(.dgf-s) .bo-regler ol[style="--n:3"]::before { left: 16.6%; right: 16.6%; }
.dgf:where(.dgf-s) .bo-regler li { position: relative; display: grid; justify-items: center; gap: 8px; }
.dgf:where(.dgf-s) .bo-regler li i { width: 16px; height: 16px; border-radius: 50%; background: #000; border: 3px solid var(--hot); z-index: 1; }
.dgf:where(.dgf-s) .bo-regler li span { font-size: var(--dgf-fs-1); font-weight: 700; color: var(--fg-strong) !important; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s) .bo-formel { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); text-align: center; font-size: var(--dgf-fs-1); color: var(--muted) !important; }
.dgf:where(.dgf-s) .bo-formel b { margin-right: 6px; font-size: var(--dgf-fs-3); color: var(--hot) !important; }
/* Spektrum */
.dgf:where(.dgf-s) .bo-spektrum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, 2fr) minmax(0, 1fr); align-items: center; gap: 14px; }
.dgf:where(.dgf-s) .bo-spektrum > span { font-size: var(--dgf-fs-1); line-height: 1.45; color: var(--fg) !important; }
.dgf:where(.dgf-s) .bo-sp-l { text-align: right; }
.dgf:where(.dgf-s) .bo-sp-bar { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #3d6cc9, #e9bf3a 50%, #d4443a); }
.dgf:where(.dgf-s) .bo-sp-mitte { grid-column: 1 / -1; text-align: center; font-size: var(--dgf-fs-1) !important; letter-spacing: .06em; color: var(--muted) !important; }
/* Matrix */
.dgf:where(.dgf-s) .bo-matrix { overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.dgf:where(.dgf-s) .bo-matrix table { width: 100%; min-width: 640px; border-collapse: collapse; margin: 0; table-layout: fixed; }
.dgf:where(.dgf-s) .bo-matrix th, .dgf:where(.dgf-s) .bo-matrix td { padding: 8px; border: 0; border-bottom: 1px solid var(--rule); text-align: center; vertical-align: middle; }
.dgf:where(.dgf-s) .bo-matrix thead th { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; color: var(--muted) !important; background: var(--surface-2); }
.dgf:where(.dgf-s) .bo-matrix tbody th { width: 7.5em; text-align: left; font-size: var(--dgf-fs-2); font-weight: 700; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bo-matrix thead td { width: 7.5em; background: var(--surface-2); }
.dgf:where(.dgf-s) .bo-matrix tbody tr:last-child th, .dgf:where(.dgf-s) .bo-matrix tbody tr:last-child td { border-bottom: 0; }
.dgf:where(.dgf-s) .bo-m-zelle { display: block; padding: 9px 0; border: 1px dashed var(--faint); border-radius: 6px; font-size: var(--dgf-fs-1); letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s) .bo-ampel { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.dgf:where(.dgf-s) .bo-ampel li { display: flex; align-items: baseline; gap: 8px; font-size: var(--dgf-fs-1); line-height: 1.5; color: var(--fg) !important; }
.dgf:where(.dgf-s) .bo-ampel i { flex: none; width: 11px; height: 11px; border-radius: 50%; transform: translateY(1px); }
.dgf:where(.dgf-s) .bo-ampel b { color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .bo-gruen { background: #3f9a5b; } .dgf:where(.dgf-s) .bo-gelb { background: #e9bf3a; } .dgf:where(.dgf-s) .bo-rot { background: #d4443a; }
/* Status-Liste */
.dgf:where(.dgf-s) .bo-status { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dgf:where(.dgf-s) .bo-status li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 8px; background: #070707; }
.dgf:where(.dgf-s) .bo-status li span { font-size: var(--dgf-fs-2); line-height: 1.45; color: var(--fg) !important; }
.dgf:where(.dgf-s) .bo-status li small { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; white-space: nowrap; }
.dgf:where(.dgf-s) .bo-status li.bo-fertig small { color: var(--hot) !important; }
.dgf:where(.dgf-s) .bo-status li .bo-ic { width: 20px; height: 20px; }
.dgf:where(.dgf-s) .bo-status li.bo-offen .bo-ic { color: var(--faint) !important; }
.dgf:where(.dgf-s) .bo-fortschritt { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.dgf:where(.dgf-s) .bo-fortschritt span { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.dgf:where(.dgf-s) .bo-fortschritt span i { height: 8px; border-radius: 4px; background: #1e1e1e; }
.dgf:where(.dgf-s) .bo-fortschritt span i.an { background: var(--hot); }
.dgf:where(.dgf-s) .bo-fortschritt b { font-size: var(--dgf-fs-1); letter-spacing: .06em; color: var(--fg-strong) !important; white-space: nowrap; }
.dgf:where(.dgf-s) .bo-knopf { display: flex; justify-content: center; margin-top: 20px; }
.dgf:where(.dgf-s) .bo-knopf a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--hot); background: var(--hot); text-decoration: none;
  font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #000 !important; transition: transform 160ms var(--ease-out); }
.dgf:where(.dgf-s) .bo-knopf a:active { transform: scale(0.97); }
.dgf:where(.dgf-s) .bo-knopf a:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
@media (max-width: 860px) {
  .dgf:where(.dgf-s) .bo-k3, .dgf:where(.dgf-s) .bo-k4, .dgf:where(.dgf-s) .bo-r4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dgf:where(.dgf-s) .bo-paar { grid-template-columns: 1fr; }
  .dgf:where(.dgf-s) .bo-regler { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 620px) {
  .dgf:where(.dgf-s) .bo-k3, .dgf:where(.dgf-s) .bo-k4, .dgf:where(.dgf-s) .bo-r3, .dgf:where(.dgf-s) .bo-r2 { grid-template-columns: 1fr; }
  .dgf:where(.dgf-s) .bo-stufen { grid-template-columns: 1fr; }
  .dgf:where(.dgf-s) .bo-stufe:not(:last-child)::after { right: 50%; top: auto; bottom: -10px; transform: translateX(50%) rotate(135deg); }
  .dgf:where(.dgf-s) .bo-schritte li:not(:last-child)::after { display: none; }
  .dgf:where(.dgf-s) .bo-frage, .dgf:where(.dgf-s) .bo-notiz { padding: 18px 18px 18px 22px; }
  .dgf:where(.dgf-s) .bo-kasten-in { padding: 16px 14px 18px; }
  .dgf:where(.dgf-s) .bo-balken li { grid-template-columns: 7.5em minmax(0, 1fr) 2.6em; gap: 8px; }
  .dgf:where(.dgf-s) .bo-spektrum { grid-template-columns: 1fr; text-align: center; }
  .dgf:where(.dgf-s) .bo-sp-l { text-align: center; }
  .dgf:where(.dgf-s) .bo-text > p.bo-lead::first-letter { font-size: 2.8em; }
}

/* ===== Über den Künstler (aus build_kuenstler.CSS_KU) ===== */
/* ---- Seite "Über den Künstler" ---- */
.dgf:where(.dgf-s) .ku-portrait { max-width: 280px; margin: 8px auto 24px; }
.dgf:where(.dgf-s) .ku-portrait .fo-frame { padding: 4px; }
.dgf:where(.dgf-s) .ku-zitat { max-width: 62ch; margin: 28px auto 8px; padding: 0 0 0 20px; border-left: 2px solid var(--hot); font-size: clamp(18px, 2.4vw, 22px); line-height: 1.5;
  text-align: left; color: var(--fg-strong) !important; text-wrap: balance; }
.dgf:where(.dgf-s) .ku-zitat + figcaption { max-width: 62ch; margin: 0 auto 16px; padding-left: 22px; font-size: var(--dgf-fs-1); letter-spacing: .06em; color: var(--muted) !important; text-align: left; }
.dgf:where(.dgf-s) .ku-zeit { list-style: none; max-width: 74ch; margin: 8px auto 0; padding: 0; display: grid; gap: 0; }
.dgf:where(.dgf-s) .ku-zeit li { position: relative; display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.dgf:where(.dgf-s) .ku-zeit li::before { content: none; }
.dgf:where(.dgf-s) .ku-zeit b { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s) .ku-zeit span { color: var(--fg) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .ku-papier { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 8px 0 0; padding: 0; }
.dgf:where(.dgf-s) .ku-papier li::before { content: none; }
.dgf:where(.dgf-s) .ku-papier figure { margin: 0; }
.dgf:where(.dgf-s) .ku-papier .fo-frame { padding: 4px; }
.dgf:where(.dgf-s) .ku-papier img { aspect-ratio: 3 / 4; object-fit: cover; }
.dgf:where(.dgf-s) .ku-guiro { position: relative; display: inline-block; border-bottom: 1px dashed var(--hot); cursor: help; color: var(--fg-strong) !important; outline: none; }
.dgf:where(.dgf-s) .ku-guiro:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; border-radius: 2px; }
.dgf:where(.dgf-s) .ku-guiro-bild { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 20; width: min(300px, 78vw); transform: translateX(-50%) translateY(4px);
  display: grid; gap: 6px; padding: 6px; border: 2px solid #333333; border-radius: 8px; background: #111111; box-shadow: 0 10px 30px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms; }
.dgf:where(.dgf-s) .ku-guiro-bild img { display: block; width: 100%; height: auto; border-radius: 4px; background: #f4f3ef; }
.dgf:where(.dgf-s) .ku-guiro-bild small { font-size: var(--dgf-fs-1); line-height: 1.45; letter-spacing: .03em; color: var(--muted) !important; white-space: normal; }
.dgf:where(.dgf-s) .ku-guiro:focus .ku-guiro-bild, .dgf:where(.dgf-s) .ku-guiro:focus-within .ku-guiro-bild { opacity: 1; visibility: visible; transform: translateX(-50%); transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) { .dgf:where(.dgf-s) .ku-guiro:hover .ku-guiro-bild { opacity: 1; visibility: visible; transform: translateX(-50%); transition-delay: 0s; } }
@media (prefers-reduced-motion: reduce) { .dgf:where(.dgf-s) .ku-guiro-bild { transition: none; } }
@media (max-width: 760px) { .dgf:where(.dgf-s) .ku-guiro-bild { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: min(320px, calc(100vw - 32px)); } }
@media (max-width: 760px) { .dgf:where(.dgf-s) .ku-zeit li { grid-template-columns: 1fr; gap: 4px; } .dgf:where(.dgf-s) .ku-papier { grid-template-columns: 1fr 1fr; } }

/* ===== Beitrag Person (aus beitrag_person.CSS_BPE) ===== */
.dgf:where(.dgf-s) .bpe-fig{margin:18px 0}.dgf:where(.dgf-s) .bpe-fig img{width:100%;height:auto;display:block;border-radius:6px}
.dgf:where(.dgf-s) .bpe-fig figcaption{font-size:var(--dgf-fs-1);margin-top:6px;opacity:.85}
.dgf:where(.dgf-s) .bpe-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:18px 0}
.dgf:where(.dgf-s) .bpe-grid .bpe-fig{margin:0}
.dgf:where(.dgf-s) .bpe-karte{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;align-items:start;margin:18px 0}
.dgf:where(.dgf-s) .bpe-karte table{width:100%;border-collapse:collapse;font-size:var(--dgf-fs-2)}.dgf:where(.dgf-s) .bpe-karte td{padding:5px 6px;border-bottom:1px solid rgba(255,255,255,.15)}
.dgf:where(.dgf-s) .bpe-ki{display:inline-block;font-size:var(--dgf-fs-1);letter-spacing:.08em;border:1px solid rgba(255,255,255,.4);padding:2px 8px;border-radius:12px}
@media (max-width:640px){.dgf:where(.dgf-s) .bpe-karte{grid-template-columns:1fr}}

/* ===== Vom Song zum Bild und Die Werkstatt (aus web_template.html/werkstatt_template.html, ab jetzt hier pflegen; Seitenwurzel trägt .dgf-ws) ===== */
.dgf.dgf-ws { --bg: #000000; --surface: #18191c; --surface-2: #1d1e22; --fg: #d3d3d3; --fg-strong: #f2f2f2; --muted: #8f8f8f; --faint: #4a4a4a; --rule: #282a2e; --hot: #e9bf3a; --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --warm-surface: #15120a; --warm-line: #5a4718; --c-yellow: #e9bf3a; --c-orange: #e8823a; --c-red: #d4443a; --c-blue: #3d6cc9; --c-brown: #8b5a3c; --c-black: #1c1c1c; --c-gray: #8f8f8f; --c-green: #3f9a5b; --c-violet: #8a57c9; --c-burgundy: #7d1f35; --c-turquoise: #1fa5a8; --c-pink: #e0648f; --mono: "IBM Plex Mono", Consolas, "Courier New", monospace; --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --mono: "Raleway", "Segoe UI", Arial, sans-serif;}
.dgf:where(.dgf-s):where(.dgf-ws) .crumbs a:hover, .dgf:where(.dgf-s):where(.dgf-ws) .crumbs a:focus-visible { color: var(--fg-strong) !important; border-color: var(--faint); }
.dgf:where(.dgf-s):where(.dgf-ws) .hero { text-align: center; padding-block: 40px 16px; display: grid; justify-items: center; gap: 22px; }
.dgf:where(.dgf-s):where(.dgf-ws) .lede { font-style: italic; font-size: var(--dgf-fs-2); color: var(--fg) !important; max-width: 60ch; margin: 0; text-wrap: balance; }
.dgf:where(.dgf-s):where(.dgf-ws) section { padding-block: 52px 8px; }
.dgf:where(.dgf-s):where(.dgf-ws) h2 { font-weight: 700; text-transform: uppercase; text-align: center; font-size: clamp(22px, 3.2vw, 32px); letter-spacing: .1em; margin: 0; color: var(--fg) !important; text-wrap: balance; }
.dgf:where(.dgf-s):where(.dgf-ws) .h2-rule { width: 40px; height: 3px; background: var(--faint); border: 0; margin: 16px auto 18px; }
.dgf:where(.dgf-s):where(.dgf-ws) .intro { text-align: center; color: var(--muted) !important; max-width: 66ch; margin: 0 auto 28px; font-size: var(--dgf-fs-2); text-wrap: pretty; }
.dgf:where(.dgf-s):where(.dgf-ws) .intro b { color: var(--fg-strong) !important; font-weight: 400; }
.dgf:where(.dgf-s):where(.dgf-ws) .diagram { overflow-x: auto; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 8px; }
.dgf:where(.dgf-s):where(.dgf-ws) .diagram svg { display: block; width: 100%; min-width: 1060px; height: auto; }
.dgf:where(.dgf-s):where(.dgf-ws) .scroll-hint { display: none; text-align: center; font-size: var(--dgf-fs-1); color: var(--muted) !important; margin-top: 8px; }
@media (max-width: 1060px) {.dgf:where(.dgf-s):where(.dgf-ws) .scroll-hint { display: block; }}
.dgf:where(.dgf-s):where(.dgf-ws) svg text { font-family: var(--font); }
.dgf:where(.dgf-s):where(.dgf-ws) .lane { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .22em; fill: var(--muted); }
.dgf:where(.dgf-s):where(.dgf-ws) .lane-rule { stroke: var(--rule); stroke-width: 1; }
.dgf:where(.dgf-s):where(.dgf-ws) .box { fill: var(--surface); stroke: var(--faint); stroke-width: 1; }
.dgf:where(.dgf-s):where(.dgf-ws) .box-key { fill: var(--surface-2); stroke: var(--fg); stroke-width: 1.2; }
.dgf:where(.dgf-s):where(.dgf-ws) .box-studio { fill: var(--surface); stroke: url(#dgf-gInstrV); stroke-width: 2; }
.dgf:where(.dgf-s):where(.dgf-ws) .box-dim { fill: var(--bg); stroke: var(--faint); stroke-width: 1; stroke-dasharray: 4 4; }
.dgf:where(.dgf-s):where(.dgf-ws) .box-hot { fill: var(--surface-2); stroke: var(--hot); stroke-width: 1.4; }
.dgf:where(.dgf-s):where(.dgf-ws) .t-title { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .13em; fill: var(--fg-strong); }
.dgf:where(.dgf-s):where(.dgf-ws) .t-big { font-size: var(--dgf-fs-4); font-weight: 700; letter-spacing: .1em; fill: var(--fg-strong); }
.dgf:where(.dgf-s):where(.dgf-ws) .t-line { font-size: var(--dgf-fs-1); fill: var(--fg); }
.dgf:where(.dgf-s):where(.dgf-ws) .t-sub { font-size: var(--dgf-fs-1); fill: var(--muted); }
.dgf:where(.dgf-s):where(.dgf-ws) .t-tag { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; fill: var(--muted); }
.dgf:where(.dgf-s):where(.dgf-ws) .t-hot { fill: var(--hot); }
.dgf:where(.dgf-s):where(.dgf-ws) .t-group { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .2em; fill: var(--muted); }
.dgf:where(.dgf-s):where(.dgf-ws) .t-item { font-size: var(--dgf-fs-1); fill: var(--fg); }
.dgf:where(.dgf-s):where(.dgf-ws) .t-item-strong { font-size: var(--dgf-fs-1); fill: var(--fg-strong); font-weight: 400; }
.dgf:where(.dgf-s):where(.dgf-ws) .t-note { font-size: var(--dgf-fs-1); fill: var(--muted); font-style: italic; }
.dgf:where(.dgf-s):where(.dgf-ws) .flow { fill: none; stroke: var(--faint); stroke-width: 1.3; }
.dgf:where(.dgf-s):where(.dgf-ws) .flow-img { fill: none; stroke: var(--fg-strong); stroke-width: 1.6; }
.dgf:where(.dgf-s):where(.dgf-ws) .flow-local { fill: none; stroke: var(--fg); stroke-width: 1.4; stroke-dasharray: 5 4; }
.dgf:where(.dgf-s):where(.dgf-ws) .flow-core { fill: none; stroke: url(#dgf-gInstr); stroke-width: 4.5; stroke-linecap: round; }
.dgf:where(.dgf-s):where(.dgf-ws) .flow-read { fill: none; stroke: var(--muted); stroke-width: 1.3; stroke-dasharray: 2 4; stroke-linecap: round; }
.dgf:where(.dgf-s):where(.dgf-ws) .flow-loop { fill: none; stroke: var(--hot); stroke-width: 1.6; stroke-dasharray: 6 4; }
.dgf:where(.dgf-s):where(.dgf-ws) .arrow-dim { fill: var(--faint); }
.dgf:where(.dgf-s):where(.dgf-ws) .arrow-lit { fill: var(--fg-strong); }
.dgf:where(.dgf-s):where(.dgf-ws) .arrow-hot { fill: var(--hot); }
.dgf:where(.dgf-s):where(.dgf-ws) .arrow-read { fill: var(--muted); }
.dgf:where(.dgf-s):where(.dgf-ws) .dash { stroke: var(--faint); stroke-width: 1; }
.dgf:where(.dgf-s):where(.dgf-ws) .chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 18px; }
.dgf:where(.dgf-s):where(.dgf-ws) .chip { display: grid; grid-template-columns: 14px 1fr; gap: 2px 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--rule); background: var(--surface); min-width: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) .chip i { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; grid-row: span 2; border: 1px solid transparent; }
.dgf:where(.dgf-s):where(.dgf-ws) .chip b { font-weight: 700; font-size: var(--dgf-fs-1); color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .chip small { font-size: var(--dgf-fs-1); color: var(--muted) !important; line-height: 1.4; }
.dgf:where(.dgf-s):where(.dgf-ws) .sub-label { text-align: center; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted) !important; margin: 8px 0 12px; }
.dgf:where(.dgf-s):where(.dgf-ws) .table-wrap { overflow-x: auto; border: 1px solid var(--rule); margin-top: 28px; }
.dgf:where(.dgf-s):where(.dgf-ws) table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: var(--dgf-fs-2); }
.dgf:where(.dgf-s):where(.dgf-ws) th, .dgf:where(.dgf-s):where(.dgf-ws) td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.dgf:where(.dgf-s):where(.dgf-ws) th { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; background: var(--surface); }
.dgf:where(.dgf-s):where(.dgf-ws) tbody tr:last-child td { border-bottom: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) td:first-child { color: var(--fg-strong) !important; font-weight: 400; width: 24%; }
.dgf:where(.dgf-s):where(.dgf-ws) td .src { display: block; font-size: var(--dgf-fs-1); color: var(--muted) !important; font-weight: 400; margin-top: 2px; letter-spacing: .02em; }
.dgf:where(.dgf-s):where(.dgf-ws) td em { color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .pill { display: inline-block; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--faint); color: var(--muted) !important; margin-left: 6px; vertical-align: 1px; }
.dgf:where(.dgf-s):where(.dgf-ws) .steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: step; border-top: 1px solid var(--rule); }
.dgf:where(.dgf-s):where(.dgf-ws) .step { counter-increment: step; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 22px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.dgf:where(.dgf-s):where(.dgf-ws) .step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: var(--dgf-fs-5); font-weight: 400; color: var(--faint) !important; line-height: 1; padding-top: 2px; }
.dgf:where(.dgf-s):where(.dgf-ws) .step-body { display: grid; gap: 14px; min-width: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) .step h3 { margin: 0; font-size: var(--dgf-fs-2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .step p { margin: 0; max-width: 74ch; }
.dgf:where(.dgf-s):where(.dgf-ws) .step .detail { color: var(--muted) !important; font-size: var(--dgf-fs-2); }
@media (max-width: 560px) {.dgf:where(.dgf-s):where(.dgf-ws) .step { grid-template-columns: 1fr; gap: 10px; } .dgf:where(.dgf-s):where(.dgf-ws) .step::before { font-size: var(--dgf-fs-4); }}
.dgf:where(.dgf-s):where(.dgf-ws) .mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.dgf:where(.dgf-s):where(.dgf-ws) .mini-1 { grid-template-columns: 1fr; }
.dgf:where(.dgf-s):where(.dgf-ws) .mini > div { border: 1px solid var(--rule); background: var(--surface); padding: 12px 14px; min-width: 0; font-size: var(--dgf-fs-1); color: var(--muted) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .mini b { display: block; color: var(--fg-strong) !important; font-weight: 700; font-size: var(--dgf-fs-1); letter-spacing: .04em; margin-bottom: 2px; }
.dgf:where(.dgf-s):where(.dgf-ws) .cost { display: inline-block; font-style: normal; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--faint); color: var(--fg) !important; padding: 1px 6px; margin-left: 4px; vertical-align: 1px; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen { border: 1px solid var(--faint); background: var(--surface-2); padding: 16px 18px 18px; display: grid; gap: 14px; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen-head b { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen-head span { font-size: var(--dgf-fs-2); font-weight: 700; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) {.dgf:where(.dgf-s):where(.dgf-ws) .listen-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }}
.dgf:where(.dgf-s):where(.dgf-ws) .station.extra { border-style: dashed; }
.dgf:where(.dgf-s):where(.dgf-ws) .station { display: grid; gap: 3px; align-content: start; padding: 12px; border: 1px solid var(--rule); background: var(--bg); min-width: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) .station svg { width: 34px; height: 34px; fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 4px; }
.dgf:where(.dgf-s):where(.dgf-ws) .station b { color: var(--fg-strong) !important; font-size: var(--dgf-fs-2); font-weight: 700; }
.dgf:where(.dgf-s):where(.dgf-ws) .station span { color: var(--muted) !important; font-size: var(--dgf-fs-1); line-height: 1.45; }
.dgf:where(.dgf-s):where(.dgf-ws) .station em { font-style: normal; font-size: var(--dgf-fs-1); color: var(--hot) !important; line-height: 1.4; }
.dgf:where(.dgf-s):where(.dgf-ws) .station em::before { content: "→ "; }
.dgf:where(.dgf-s):where(.dgf-ws) .setup { display: grid; gap: 12px; border: 1px solid var(--warm-line); background: var(--warm-surface); padding: 14px 18px; }
.dgf:where(.dgf-s):where(.dgf-ws) .setup > b { display: block; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .setup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 20px; }
.dgf:where(.dgf-s):where(.dgf-ws) .setup li { margin: 0; display: grid; gap: 2px; align-content: start; min-width: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) .setup li b { color: var(--fg-strong) !important; font-size: var(--dgf-fs-2); font-weight: 700; }
.dgf:where(.dgf-s):where(.dgf-ws) .setup li span { color: var(--muted) !important; font-size: var(--dgf-fs-1); line-height: 1.45; }
.dgf:where(.dgf-s):where(.dgf-ws) .setup-hint { margin: 0; font-size: var(--dgf-fs-1); color: var(--muted) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .fmts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dgf:where(.dgf-s):where(.dgf-ws) .fmts svg { width: 64px; height: 64px; margin-bottom: 6px; display: block; }
.dgf:where(.dgf-s):where(.dgf-ws) .fmts rect { fill: var(--bg); stroke: var(--hot); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dgf:where(.dgf-s):where(.dgf-ws) .fmts li span { font-variant-numeric: lining-nums tabular-nums; }
.dgf:where(.dgf-s):where(.dgf-ws) .drums { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dgf:where(.dgf-s):where(.dgf-ws) .drums .dots { display: flex; gap: 5px; margin-bottom: 6px; }
.dgf:where(.dgf-s):where(.dgf-ws) .drums .dots i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--faint); display: block; }
@media (max-width: 560px) {.dgf:where(.dgf-s):where(.dgf-ws) .fmts { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
.dgf:where(.dgf-s):where(.dgf-ws) .note { border: 1px solid var(--faint); background: var(--surface); padding: 14px 18px; font-size: var(--dgf-fs-2); color: var(--fg) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .note b { color: var(--hot) !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: var(--dgf-fs-1); display: block; margin-bottom: 4px; }
.dgf:where(.dgf-s):where(.dgf-ws) .tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.dgf:where(.dgf-s):where(.dgf-ws) .tier { border: 1px solid var(--rule); background: var(--surface); padding: 14px; min-width: 0; display: grid; gap: 4px; align-content: start; }
.dgf:where(.dgf-s):where(.dgf-ws) .tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dgf:where(.dgf-s):where(.dgf-ws) .tier-head b { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .pct { font-family: var(--mono); font-size: var(--dgf-fs-5); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s):where(.dgf-ws) .t1 .pct { color: var(--fg) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .t2 .pct { color: var(--c-orange) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .t3 .pct { color: var(--c-red) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .tier-kind { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .tier ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.dgf:where(.dgf-s):where(.dgf-ws) .tier li { font-size: var(--dgf-fs-1); color: var(--fg) !important; padding-left: 14px; position: relative; }
.dgf:where(.dgf-s):where(.dgf-ws) .tier li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 1px; background: var(--muted); }
.dgf:where(.dgf-s):where(.dgf-ws) .grades { border: 1px solid var(--faint); background: var(--surface-2); padding: 16px 18px; display: grid; gap: 10px; }
.dgf:where(.dgf-s):where(.dgf-ws) .grades-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 2px; }
.dgf:where(.dgf-s):where(.dgf-ws) .grades-head b { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .grades-head span { font-size: var(--dgf-fs-1); color: var(--muted) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .grade { display: grid; grid-template-columns: 96px minmax(0, 1fr) 82px; gap: 12px; align-items: center; }
.dgf:where(.dgf-s):where(.dgf-ws) .grade b { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .06em; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .grade > span { font-family: var(--mono); font-size: var(--dgf-fs-1); color: var(--muted) !important; text-align: right; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s):where(.dgf-ws) .track { position: relative; height: 10px; background: var(--rule); }
.dgf:where(.dgf-s):where(.dgf-ws) .track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--faint); }
.dgf:where(.dgf-s):where(.dgf-ws) .track i { position: absolute; top: 0; bottom: 0; min-width: 4px; }
.dgf:where(.dgf-s):where(.dgf-ws) .g-pure .track i { background: var(--hot); }
.dgf:where(.dgf-s):where(.dgf-ws) .g-pure b { color: var(--hot) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .g-exc .track i { background: var(--fg-strong); }
.dgf:where(.dgf-s):where(.dgf-ws) .g-str .track i { background: #a9a9a9; }
.dgf:where(.dgf-s):where(.dgf-ws) .g-std .track i { background: #737373; }
.dgf:where(.dgf-s):where(.dgf-ws) .g-inv .track i { background: #454545; }
.dgf:where(.dgf-s):where(.dgf-ws) .grades-example { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); font-size: var(--dgf-fs-1); color: var(--fg) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .grades-example span { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; margin-right: 10px; }
.dgf:where(.dgf-s):where(.dgf-ws) .grades-example b { color: var(--hot) !important; font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) {.dgf:where(.dgf-s):where(.dgf-ws) .grade { grid-template-columns: 84px minmax(0, 1fr) 64px; gap: 8px; }}
@media (max-width: 560px) {}
.dgf:where(.dgf-s):where(.dgf-ws) .evolve { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.dgf:where(.dgf-s):where(.dgf-ws) .evo { margin: 0; border: 1px solid var(--rule); background: var(--surface); min-width: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.dgf:where(.dgf-s):where(.dgf-ws) .evo-img { aspect-ratio: 2 / 1; background: #efede8; overflow: hidden; }
.dgf:where(.dgf-s):where(.dgf-ws) .evo-img img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
.dgf:where(.dgf-s):where(.dgf-ws) .evo figcaption { display: grid; gap: 4px; align-content: start; padding: 14px 16px 16px; }
.dgf:where(.dgf-s):where(.dgf-ws) .evo-work { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .evo b { font-size: var(--dgf-fs-2); font-weight: 700; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .evo figcaption > span:not(.evo-work) { font-size: var(--dgf-fs-2); color: var(--fg) !important; line-height: 1.5; }
.dgf:where(.dgf-s):where(.dgf-ws) .evo em { font-style: normal; font-size: var(--dgf-fs-1); color: var(--hot) !important; margin-top: 4px; }
.dgf:where(.dgf-s):where(.dgf-ws) .duty { display: grid; gap: 10px; }
.dgf:where(.dgf-s):where(.dgf-ws) .duty + .duty { padding-top: 16px; border-top: 1px solid var(--rule); }
.dgf:where(.dgf-s):where(.dgf-ws) .duty-head { display: flex; align-items: center; gap: 10px; }
.dgf:where(.dgf-s):where(.dgf-ws) .duty-head i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--hot); color: var(--hot) !important; font-size: var(--dgf-fs-1); font-weight: 700; flex-shrink: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) .duty-head span { font-size: var(--dgf-fs-2); font-weight: 700; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .duty-text { font-size: var(--dgf-fs-2); color: var(--muted) !important; max-width: 74ch; margin: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen .reads { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen .read { background: var(--bg); padding: 12px 14px; gap: 3px; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen .read h3 { font-size: var(--dgf-fs-1); }
.dgf:where(.dgf-s):where(.dgf-ws) .listen .read p { font-size: var(--dgf-fs-1); color: var(--muted) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen .read .use { font-size: var(--dgf-fs-1); color: var(--hot) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .listen .read .use::before { content: "→ "; color: var(--hot) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .box-strong { stroke-width: 2.2; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-link { cursor: pointer; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-link:focus { outline: none; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-link:focus-visible .box-hot { stroke: var(--fg-strong); }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-loopbox { fill: none; stroke: var(--hot); stroke-width: 1; stroke-dasharray: 4 3; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-ret { fill: none; stroke: var(--hot); stroke-width: 1.3; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-step { fill: none; stroke: var(--faint); stroke-width: 1.2; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-panel { fill: #141413; stroke: var(--hot); stroke-width: 1.2; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-ig { fill: none; stroke: var(--hot); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dgf:where(.dgf-s):where(.dgf-ws) .t-wsl { font-size: var(--dgf-fs-1); font-weight: 700; fill: var(--fg-strong); letter-spacing: .02em; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-pop { opacity: 0; pointer-events: none; transform: translateX(10px) scale(.97); transform-box: view-box; transform-origin: 884px 860px; transition: opacity 160ms var(--ease-out), transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {.dgf:where(.dgf-s):where(.dgf-ws) .ws-link:hover .box-hot { stroke-width: 2.8; } .dgf:where(.dgf-s):where(.dgf-ws) .ws-link:hover .ws-pop { opacity: 1; transform: none; }}
.dgf:where(.dgf-s):where(.dgf-ws) .ws-link:focus-visible .ws-pop { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {.dgf:where(.dgf-s):where(.dgf-ws) .ws-pop { transform: none; transition: opacity 120ms ease; }}
.dgf:where(.dgf-s):where(.dgf-ws) .step-body.core { border: 1px solid var(--warm-line); border-radius: 8px; padding: 22px 24px; background: radial-gradient(120% 90% at 18% 0%, rgba(233,191,58,.16), rgba(233,191,58,0) 60%), var(--surface); }
.dgf:where(.dgf-s):where(.dgf-ws) .core-quote { margin: 0; font-size: clamp(26px, 4vw, 38px); font-weight: 700; line-height: 1.15; color: var(--fg-strong) !important; text-wrap: balance; }
.dgf:where(.dgf-s):where(.dgf-ws) .core-foot { color: var(--hot) !important; font-weight: 700; font-size: var(--dgf-fs-2); }
.dgf:where(.dgf-s):where(.dgf-ws) .core-link { justify-self: start; display: inline-block; text-decoration: none; border: 2px solid var(--hot); border-radius: 999px; padding: 8px 18px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hot) !important; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease; }
.dgf:where(.dgf-s):where(.dgf-ws) .core-link:active { transform: scale(0.97); }
.dgf:where(.dgf-s):where(.dgf-ws) .core-link:focus-visible { outline: 2px solid var(--fg-strong); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {.dgf:where(.dgf-s):where(.dgf-ws) .core-link:hover { background-color: var(--hot); color: #000 !important; }}
.dgf:where(.dgf-s):where(.dgf-ws) .reads { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; }
.dgf:where(.dgf-s):where(.dgf-ws) .read { border: 1px solid var(--rule); background: var(--surface); padding: 18px 20px; min-width: 0; display: grid; gap: 6px; align-content: start; }
.dgf:where(.dgf-s):where(.dgf-ws) .read h3 { margin: 0; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .read p { margin: 0; font-size: var(--dgf-fs-2); }
.dgf:where(.dgf-s):where(.dgf-ws) .read .use { color: var(--muted) !important; font-size: var(--dgf-fs-1); }
.dgf:where(.dgf-s):where(.dgf-ws) .read .use::before { content: "→ "; color: var(--hot) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .evo, .dgf:where(.dgf-s):where(.dgf-ws) .chip, .dgf:where(.dgf-s):where(.dgf-ws) .mini > div, .dgf:where(.dgf-s):where(.dgf-ws) .station, .dgf:where(.dgf-s):where(.dgf-ws) .tier, .dgf:where(.dgf-s):where(.dgf-ws) .listen, .dgf:where(.dgf-s):where(.dgf-ws) .setup, .dgf:where(.dgf-s):where(.dgf-ws) .note, .dgf:where(.dgf-s):where(.dgf-ws) .grades, .dgf:where(.dgf-s):where(.dgf-ws) .table-wrap, .dgf:where(.dgf-s):where(.dgf-ws) .read, .dgf:where(.dgf-s):where(.dgf-ws) .ws-card, .dgf:where(.dgf-s):where(.dgf-ws) .ws-rail a, .dgf:where(.dgf-s):where(.dgf-ws) .ws-note { border-radius: 8px; }
.dgf:where(.dgf-s):where(.dgf-ws) .table-wrap table { border-radius: 8px; }
.dgf:where(.dgf-s):where(.dgf-ws) .step::before { font-weight: 700; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s):where(.dgf-ws) .intro, .dgf:where(.dgf-s):where(.dgf-ws) .step p, .dgf:where(.dgf-s):where(.dgf-ws) .read p, .dgf:where(.dgf-s):where(.dgf-ws) .ws-card p { text-wrap: pretty; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-media { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px 32px; align-items: start; }
@media (max-width: 800px) {.dgf:where(.dgf-s):where(.dgf-ws) .ws-media { grid-template-columns: 1fr; }}
@media (min-width: 801px) {.dgf:where(.dgf-s):where(.dgf-ws) .ws-media.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } .dgf:where(.dgf-s):where(.dgf-ws) .ws-media.flip .ws-media-quote { order: -1; }}
.dgf:where(.dgf-s):where(.dgf-ws) .ws-media-text { display: grid; gap: 14px; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-media-text p { margin: 0; font-size: var(--dgf-fs-3); line-height: 1.65; max-width: 66ch; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-media-quote { margin: 0; display: grid; gap: 10px; border: 1px solid var(--warm-line); background: var(--warm-surface); border-radius: 8px; padding: 22px 24px; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-media-quote blockquote { margin: 0; font-size: var(--dgf-fs-4); line-height: 1.45; font-weight: 700; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-media-quote figcaption { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-loopwrap { max-width: 640px; margin: 0 auto 24px; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-loop { display: block; width: 100%; height: auto; overflow: visible; }
.dgf:where(.dgf-s):where(.dgf-ws) .lp-node { fill: var(--bg); stroke: var(--hot); stroke-width: 1.4; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-loop a:focus-visible .lp-node { stroke: var(--fg-strong); stroke-width: 2.4; }
.dgf:where(.dgf-s):where(.dgf-ws) .lp-ico { fill: none; stroke: var(--hot); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dgf:where(.dgf-s):where(.dgf-ws) .lp-track { fill: none; stroke: var(--rule); stroke-width: 10; opacity: .7; }
.dgf:where(.dgf-s):where(.dgf-ws) .lp-arc, .dgf:where(.dgf-s):where(.dgf-ws) .lp-exit { fill: none; stroke: var(--hot); stroke-width: 1.8; stroke-linecap: round; }
.dgf:where(.dgf-s):where(.dgf-ws) .lp-exit { stroke: var(--fg); }
.dgf:where(.dgf-s):where(.dgf-ws) .lp-head { fill: var(--hot); }
.dgf:where(.dgf-s):where(.dgf-ws) .lp-lbl { font-size: var(--dgf-fs-2); font-weight: 700; fill: var(--fg-strong); }
.dgf:where(.dgf-s):where(.dgf-ws) .lp-c { font-size: var(--dgf-fs-2); font-style: italic; fill: var(--muted); }
.dgf:where(.dgf-s):where(.dgf-ws) .lp-free { font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .12em; fill: var(--fg); }
@media (min-width: 900px) {.dgf:where(.dgf-s):where(.dgf-ws) .ws-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
.dgf:where(.dgf-s):where(.dgf-ws) .ws-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; display: grid; }
.dgf:where(.dgf-s):where(.dgf-ws) :where(li).ws-step { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 0 20px; padding-bottom: 18px; scroll-margin-top: 24px; }
.dgf:where(.dgf-s):where(.dgf-ws) :where(li).ws-step:last-child { padding-bottom: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) :where(li).ws-step::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: linear-gradient(var(--hot), var(--warm-line)); }
.dgf:where(.dgf-s):where(.dgf-ws) :where(li).ws-step:last-child::before { display: none; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-dot { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--hot); background: var(--bg); display: grid; place-items: center; font-size: var(--dgf-fs-3); font-weight: 700; color: var(--hot) !important; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-step-body { border: 1px solid var(--rule); background: var(--surface); border-radius: 8px; padding: 16px 20px 18px; display: grid; gap: 6px; min-width: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-step-head { display: flex; align-items: center; gap: 12px; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-step-head .ws-ico { width: 30px; height: 30px; flex-shrink: 0; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-step h3 { margin: 0; font-size: var(--dgf-fs-3); font-weight: 700; letter-spacing: .02em; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-step p { margin: 0; font-size: var(--dgf-fs-2); color: var(--fg) !important; max-width: 62ch; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-step p a { color: var(--hot) !important; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) {.dgf:where(.dgf-s):where(.dgf-ws) :where(li).ws-step { grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px; } .dgf:where(.dgf-s):where(.dgf-ws) .ws-dot { width: 36px; height: 36px; font-size: var(--dgf-fs-2); } .dgf:where(.dgf-s):where(.dgf-ws) .ws-step::before { left: 17px; top: 36px; }}
.dgf:where(.dgf-s):where(.dgf-ws) .ws-hero { background: radial-gradient(70% 60% at 50% 30%, rgba(233,191,58,.14), rgba(233,191,58,0) 70%); }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-ico { width: 30px; height: 30px; fill: none; stroke: var(--hot); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; align-items: start; align-content: start; border: 1px solid var(--rule); background: var(--surface); border-radius: 8px; padding: 20px 20px 22px; scroll-margin-top: 24px; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-card .ws-ico { width: 44px; height: 44px; grid-row: span 2; stroke-width: 1.4; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-card h3 { margin: 0; font-size: var(--dgf-fs-2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-card p { margin: 0; font-size: var(--dgf-fs-2); color: var(--fg) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-card p a { color: var(--hot) !important; text-decoration: underline; text-underline-offset: 3px; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-note { margin: 28px auto 0; max-width: 900px; display: grid; gap: 10px; border: 1px solid var(--warm-line); background: var(--warm-surface); border-radius: 8px; padding: 22px 26px; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-note b { color: var(--hot) !important; font-size: var(--dgf-fs-2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-note p { margin: 0; font-size: var(--dgf-fs-3); line-height: 1.6; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-end { display: grid; justify-items: center; gap: 18px; text-align: center; padding-block: 56px 8px; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-end blockquote { margin: 0; font-size: clamp(28px, 4.4vw, 44px); font-weight: 700; line-height: 1.12; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-back { display: inline-block; text-decoration: none; border: 2px solid var(--hot); border-radius: 999px; padding: 9px 20px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hot) !important; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease; }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-back:active { transform: scale(0.97); }
.dgf:where(.dgf-s):where(.dgf-ws) .ws-back:focus-visible { outline: 2px solid var(--fg-strong); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {.dgf:where(.dgf-s):where(.dgf-ws) .ws-back:hover { background-color: var(--hot); color: #000 !important; }}

/* ===== Vom Song zum Bild und Die Werkstatt: Überschriften wie im Seitenrahmen (die Forschungsseiten setzen sie weiter oben anders) ===== */
.dgf:where(.dgf-s):where(.dgf-ws) h2 {
  font-size: var(--dgf-fs-6); line-height: 1.34; font-weight: 400; letter-spacing: normal; text-transform: none;
  text-align: left; margin: 0 0 14px;
}
.dgf:where(.dgf-s):where(.dgf-ws) .intro { text-align: left; margin: 0 0 28px; }
.dgf:where(.dgf-s):where(.dgf-ws) .step h3 { font-size: var(--dgf-fs-5); line-height: 1.3; font-weight: 400; letter-spacing: normal; text-transform: none; }
@media (max-width: 480px) { .dgf:where(.dgf-s):where(.dgf-ws) h2 { font-size: var(--dgf-fs-5); } .dgf:where(.dgf-s):where(.dgf-ws) .step h3 { font-size: var(--dgf-fs-4); } }

/* ===== Vom Song zum Bild und Die Werkstatt: Handy wie im Seitenrahmen (Abschnitt „Seitenrahmen“ steht weiter oben und verliert sonst gegen die Seitenregeln) ===== */
@media (max-width: 700px) {
  .dgf:where(.dgf-s):where(.dgf-ws) { width: auto; margin-left: 0; }
  .dgf:where(.dgf-s):where(.dgf-ws) .jump { gap: 8px; }
  .dgf:where(.dgf-s):where(.dgf-ws) .listen-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dgf:where(.dgf-s):where(.dgf-ws) .station { padding: 10px; }
  .dgf:where(.dgf-s):where(.dgf-ws) .jump a { padding: 7px 13px; font-size: var(--dgf-fs-1); letter-spacing: .08em; }
}

/* ===== Startseite und Werke: Bereichskarten (aus build_ueber.WEGE_CSS) ===== */
.dgf-wege{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:56px 0 40px;padding:0;list-style:none;text-align:left}
.dgf-wege.drei{grid-template-columns:1fr;gap:12px}
.dgf-wege li{margin:0;padding:0}
.dgf-wege li::before{content:none}
.dgf-wege a{display:flex;flex-direction:column;gap:6px;height:100%;box-sizing:border-box;padding:22px 24px 20px;border:1px solid #3a3a3a;border-radius:8px;background:#0e0e0f;text-decoration:none!important;touch-action:manipulation;transition:border-color 160ms ease,background-color 160ms ease,transform 160ms cubic-bezier(.23,1,.32,1)}
.dgf-wege .txt{display:flex;flex-direction:column;gap:6px;min-width:0}
.dgf-wege .primary a{border-color:#8a8a8a}
.dgf-wege .k{font-size:var(--dgf-fs-1);line-height:1.4;letter-spacing:.14em;text-transform:uppercase;color:#e9bf3a!important}
.dgf-wege .t{font-size:var(--dgf-fs-4);line-height:1.3;color:#f0f0f0!important}
.dgf-wege .d{font-size:var(--dgf-fs-2);line-height:1.55;color:#a9a9a9!important}
.dgf-wege .go{margin-top:auto;padding-top:10px;font-size:var(--dgf-fs-2);color:#d3d3d3!important}
.dgf-wege a:active{transform:scale(.98)}
@media (hover:hover) and (pointer:fine){.dgf-wege a:hover{border-color:#e9bf3a;background:#141416}.dgf-wege a:hover .go{color:#e9bf3a!important}}
.dgf-wege.drei a{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding:18px 24px}
.dgf-wege.drei .go{margin:0;padding:0;white-space:nowrap}
@media (max-width:640px){.dgf-wege.drei a{flex-direction:column;align-items:flex-start;gap:6px}.dgf-wege.drei .go{padding-top:10px}}
@media (max-width:640px){.dgf-wege{grid-template-columns:1fr;margin-top:40px}}
@media (prefers-reduced-motion:reduce){.dgf-wege a{transition:none}.dgf-wege a:active{transform:none}}
@media (min-width:641px){.dgf-wege.m24{margin-top:24px}.dgf-wege.m16{margin-top:16px}}
/* Startseite: die Beschreibung bleibt grau, wie bisher (die allgemeine Regel mit hellerem Grau, SITE_CSS, greift dort wegen der Reihenfolge nicht; bewusst so übernommen, Etappe 2 entscheidet) */
.dgf-wege.st .d{color:#a9a9a9!important}

/* ===== Über das Projekt: Farbpalette (aus build_ueber.PAL_CSS) ===== */
.dgf-pal{margin:8px 0 4px}
.dgf-pal .g{font-size:var(--dgf-fs-1);line-height:1.4;letter-spacing:.14em;text-transform:uppercase;color:#a9a9a9!important;margin:24px 0 12px}
.dgf-pal ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px;list-style:none;margin:0;padding:0}
.dgf-pal ul.vier{grid-template-columns:repeat(4,minmax(0,1fr))}
.dgf-pal li{margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.dgf-pal li::before{content:none}
.dgf-pal i{display:block;height:56px;margin-bottom:6px;border-radius:6px;border:1px solid rgba(255,255,255,.08)}
.dgf-pal b{font-weight:400;font-size:var(--dgf-fs-3);line-height:1.35;color:#f0f0f0!important}
.dgf-pal small{font-size:var(--dgf-fs-1);line-height:1.4;color:#a9a9a9!important}
@media (max-width:640px){.dgf-pal ul,.dgf-pal ul.vier{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== Startseite: Bildunterschrift und Drei Schritte (aus build_ueber.HERO_CSS) ===== */
.dgf-cap{display:block;max-width:760px;margin:20px auto 0;padding:14px 20px 12px;text-align:center;text-decoration:none!important;border-radius:8px;border:1px solid transparent;touch-action:manipulation;transition:border-color 160ms ease,background-color 160ms ease}
.dgf-cap .k{display:block;font-size:var(--dgf-fs-1);line-height:1.4;letter-spacing:.14em;text-transform:uppercase;color:#e9bf3a!important}
.dgf-cap .t{display:block;margin-top:6px;font-size:var(--dgf-fs-2);line-height:1.6;color:#d3d3d3!important}
.dgf-cap .go{display:inline-block;margin-top:8px;font-size:var(--dgf-fs-2);color:#f0f0f0!important;border-bottom:1px solid #e9bf3a}
@media (hover:hover) and (pointer:fine){.dgf-cap:hover{border-color:#3a3a3a;background:#0e0e0f}.dgf-cap:hover .go{color:#e9bf3a!important}}
.dgf-flow-k{margin:40px 0 12px!important;text-align:center;font-size:var(--dgf-fs-1)!important;font-weight:400!important;line-height:1.4!important;letter-spacing:.14em;text-transform:uppercase;color:#a9a9a9!important}
.dgf-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0 0 8px;padding:0;list-style:none;text-align:left}
.dgf-flow li{position:relative;display:flex;flex-direction:column;gap:6px;margin:0;padding:16px 18px 18px;border:1px solid #3a3a3a;border-radius:8px;background:#0e0e0f}
.dgf-flow li::before{content:none}
.dgf-flow li+li::after{content:'\2192';position:absolute;left:-26px;top:42px;width:24px;text-align:center;font-size:var(--dgf-fs-4);line-height:1;color:#e9bf3a}
.dgf-flow svg{display:block;width:100%;height:auto;margin-bottom:6px;border-radius:4px}
.dgf-flow .n{font-size:var(--dgf-fs-1);line-height:1.4;letter-spacing:.14em;text-transform:uppercase;color:#e9bf3a!important}
.dgf-flow .h{font-size:var(--dgf-fs-3);line-height:1.3;color:#f0f0f0!important}
.dgf-flow .d{font-size:var(--dgf-fs-2);line-height:1.55;color:#a9a9a9!important}
@media (max-width:640px){.dgf-flow{grid-template-columns:1fr;gap:30px}.dgf-flow li+li::after{content:'\2193';left:calc(50% - 12px);top:-30px}}
@media (prefers-reduced-motion:reduce){.dgf-cap{transition:none}}
.dgf-tip{cursor:help;border-bottom:1px dotted #e9bf3a;outline-offset:2px}
.dgf-flow .dgf-tt{position:absolute;z-index:20;left:0;right:0;bottom:calc(100% + 8px);width:auto;padding:10px 12px;border:1px solid #3a3a3a;border-radius:6px;background:#0e0e0f;font-size:var(--dgf-fs-1);font-weight:400;line-height:1.5;letter-spacing:0;text-transform:none;text-align:left;color:#d3d3d3!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 140ms ease}
.dgf-flow li:has(.dgf-tip:hover) .dgf-tt,.dgf-flow li:has(.dgf-tip:focus) .dgf-tt{opacity:1;visibility:visible}
@media (prefers-reduced-motion:reduce){.dgf-tt{transition:none!important}}

/* ===== Werke: Reiter und Galerie (aus build_ueber.TAB_CSS) ===== */
.digifro-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:.6rem;margin:1rem 0 1rem}
.digifro-tab-btn{background:transparent;border:1px solid #999;color:#eee;padding:.65rem 1.1rem;text-transform:uppercase;letter-spacing:.05em;font-size:.85rem;cursor:pointer;border-radius:2px;transition:background .2s,color .2s;font-family:inherit;touch-action:manipulation}
.digifro-tab-btn .n{margin-left:.45em;opacity:.65;font-size:.85em;font-variant-numeric:tabular-nums}
.digifro-tab-btn.is-active{background:#fff;color:#000;border-color:#fff}
.entry .digifro-tab-btn.is-active,.entry .digifro-tab-btn.is-active .n{color:#000!important}
@media (hover:hover) and (pointer:fine){.digifro-tab-btn:hover{background:#fff;border-color:#fff}.entry .digifro-tab-btn:hover,.entry .digifro-tab-btn:hover .n{color:#000!important}}
.digifro-stil-hinweis{text-align:center;font-size:var(--dgf-fs-2);margin:0 0 2.5rem}
.digifro-quiz-hinweis{text-align:center;font-size:var(--dgf-fs-1);opacity:.8;max-width:40rem;margin:-1.75rem auto 2.5rem}
.digifro-tab-lora{border-style:dashed;margin-left:.6rem}
.digifro-lora-hinweis{max-width:46rem;margin:0 auto 2rem!important;padding:1rem 1.25rem;border:1px dashed #999;border-radius:2px;text-align:center;font-size:var(--dgf-fs-2);line-height:1.55}
.digifro-lora-hinweis strong{letter-spacing:.04em}
@supports (height:100dvh){.fg-panel,.fg-panel-open .fg-panel{height:100dvh!important;max-height:100dvh}}
html.dgf-unlock,html.dgf-unlock body{overflow:auto!important;position:static!important;touch-action:auto!important;height:auto!important}
.digifro-tab-panel{display:none}
.digifro-tab-panel.is-active{display:block}
@media (max-width:640px){.digifro-tabs{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:1fr}.digifro-tab-btn{padding:.75rem .5rem}.digifro-tab-lora{margin-left:0;grid-column:1/-1}}

/* ===== Versionshistorie (aus build_versionshistorie.CSS_VH) ===== */
/* ---- Seite "Versionshistorie" ---- */
.dgf:where(.dgf-s) .vh-intro { max-width: 72ch; margin: 22px auto 0; text-align: center; font-style: italic; font-size: var(--dgf-fs-2); color: var(--fg) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .vh-stand { margin: 18px 0 0; text-align: center; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hot) !important; }
.dgf:where(.dgf-s):where(.dgf-vh) nav { margin: 22px 0 0; }
.dgf:where(.dgf-s) .vh-abschnitt { padding-top: 56px; scroll-margin-top: 24px; }
.dgf:where(.dgf-s) .vh-abschnitt > h2 { margin: 0 0 22px; text-align: center; }
.dgf:where(.dgf-s) .vh-liste { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 14px; }
.dgf:where(.dgf-s) .vh-eintrag { border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); padding: 16px 20px 18px; text-align: left; }
.dgf:where(.dgf-s) .vh-eintrag h3 { margin: 0 0 4px; padding: 0; font-size: var(--dgf-fs-4); line-height: 1.35; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--fg-strong) !important; }
.dgf:where(.dgf-s) .vh-eintrag h3 span { color: var(--hot) !important; }
.dgf:where(.dgf-s) .vh-zeit { margin: 0 0 10px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; }
.dgf:where(.dgf-s) .vh-lead { margin: 0 0 10px; font-size: var(--dgf-fs-2); color: var(--fg) !important; text-wrap: pretty; }
.dgf:where(.dgf-s) .vh-punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dgf:where(.dgf-s) .vh-punkte li { position: relative; padding-left: 20px; font-size: var(--dgf-fs-2); text-wrap: pretty; color: var(--fg) !important; }
.dgf:where(.dgf-s) .vh-punkte li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--hot); }
.dgf:where(.dgf-s) .vh-punkte li b { margin-right: 6px; font-size: var(--dgf-fs-1); font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--muted) !important; }
.dgf:where(.dgf-s) .vh-weiter { margin-top: 44px; text-align: center; }
@media (max-width: 760px) { .dgf:where(.dgf-s) .vh-abschnitt { padding-top: 44px; } .dgf:where(.dgf-s) .vh-eintrag { padding: 14px 16px 16px; } }


/* ===== Etappe 6 (17.11.2026): Bewegung und Lesbarkeit aus den Klickdummies. Alles nur unter .dgf-s; ohne Skript (kein .dgf-js) bleibt jede Seite wie sie war. ===== */
:root{--dgf-aus:cubic-bezier(0.16,1,0.3,1)}
.lesebalken{position:fixed;z-index:40;inset:0 0 auto 0;height:3px;background:#e9bf3a;transform-origin:left;transform:scaleX(var(--lese,0));pointer-events:none}
.dgf-js .dgf:where(.dgf-s) [data-ein]{opacity:0;transform:translateY(14px);transition:opacity .6s var(--dgf-aus),transform .6s var(--dgf-aus);transition-delay:calc(var(--i,0)*70ms)}
.dgf-js .dgf:where(.dgf-s) [data-ein].da{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.dgf-js .dgf:where(.dgf-s) [data-ein]{opacity:1;transform:none;transition:none}}

/* ===== Bewegung und Lesbarkeit: gemeinsam (aus Klickdummy G_CSS) ===== */
/* Bilder wischen sich frei, Kästen und Zahlen blenden ein */
.dgf-js .dgf:where(.dgf-s) .g-bild { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--dgf-aus); }
.dgf-js .dgf:where(.dgf-s) .g-bild.da { clip-path: inset(0); }
.dgf-js .dgf:where(.dgf-s) [data-ein].g-bild { opacity: 1; transform: none; }
/* Kopfbild eines Beitrags zieht langsam auf */
@keyframes g-auf { from { transform: scale(1.08); opacity: 0.5; } }
.dgf:where(.dgf-s) .bl-hero img, .dgf:where(.dgf-s) .bl-hero-in > img { animation: g-auf 2.2s var(--dgf-aus) both; }
.dgf:where(.dgf-s) .bl-hero { overflow: hidden; }
/* Vor und Zurück am Ende eines Beitrags */
.g-weiter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; width: min(100% - 2.4rem, 70rem); margin: 5rem auto 0; padding-top: 1.6rem; border-top: 1px solid #555; }
.g-weiter a { display: grid; gap: 0.3rem; align-content: start; padding: 0.8rem 0.4rem; text-decoration: none; color: var(--fg); background: linear-gradient(var(--hot), var(--hot)) left bottom / 0 1px no-repeat; transition: background-size 0.6s var(--dgf-aus); }
.g-weiter a:hover, .g-weiter a:focus-visible { background-size: 100% 1px; }
.g-weiter a:last-child { text-align: right; }
.g-weiter b { color: var(--hot); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.g-weiter span { font-size: 1.15rem; color: #fff; line-height: 1.35; }
.g-weiter .mitte { align-self: center; text-align: center; padding: 0.8rem 1rem; }
@media (max-width: 40rem) {
  .g-weiter { grid-template-columns: 1fr; }
  .g-weiter a:last-child, .g-weiter .mitte { text-align: left; padding-left: 0.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dgf-js .dgf:where(.dgf-s) .g-bild { clip-path: none; }
  .dgf:where(.dgf-s) .bl-hero img, .dgf:where(.dgf-s) .bl-hero-in > img { animation: none; }
}

/* ===== Vom Song zum Bild: Sprungmenü, Dimensionen, Ablauf (aus Klickdummy V_CSS) ===== */
/* Sprungmenü bleibt stehen und zeigt, wo man ist */
.dgf:where(.dgf-s):where(.dgf-vsb) > nav { position: sticky; top: 0; z-index: 30; margin-inline: -1.2rem; padding: 0.5rem 1.2rem; background: rgb(0 0 0 / 0.92); border-bottom: 1px solid var(--rule); }
.dgf:where(.dgf-s):where(.dgf-vsb) > nav .jump { padding: 0; gap: 0.3rem 0.4rem; }
.dgf:where(.dgf-s):where(.dgf-vsb) > nav .jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.9rem; border-radius: 99px; font-size: 0.92rem; transition: background-color 0.25s, color 0.25s; }
.dgf:where(.dgf-s):where(.dgf-vsb) > nav .jump a[aria-current] { background: var(--hot); color: #000 !important; border-color: var(--hot); }
.dgf:where(.dgf-s):where(.dgf-vsb) section { scroll-margin-top: 4rem; padding-block: 5.5rem 1rem; }

/* Lesbarkeit: größer, heller, kürzere Zeilen, linksbündig */
.dgf:where(.dgf-s):where(.dgf-vsb) .lede { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; max-width: 40ch; }
.dgf:where(.dgf-s):where(.dgf-vsb) .intro { font-size: 1.08rem; line-height: 1.7; max-width: 62ch; text-align: left; color: #d2d2d2 !important; }
.dgf:where(.dgf-s):where(.dgf-vsb) .chip b { font-size: 0.98rem; }
.dgf:where(.dgf-s):where(.dgf-vsb) .chip small { font-size: 0.9rem; line-height: 1.45; }
.dgf:where(.dgf-s):where(.dgf-vsb) table { font-size: 1rem; }
.dgf:where(.dgf-s):where(.dgf-vsb) td { padding: 1rem 1rem; line-height: 1.55; }
.dgf:where(.dgf-s):where(.dgf-vsb) td .src { font-size: 0.86rem; }
.dgf:where(.dgf-s):where(.dgf-vsb) tbody tr { transition: background-color 0.2s; }
.dgf:where(.dgf-s):where(.dgf-vsb) tbody tr:hover { background: #111214; }
.dgf:where(.dgf-s):where(.dgf-vsb) .step-body > p { font-size: 1.06rem; line-height: 1.7; max-width: 62ch; }
.dgf:where(.dgf-s):where(.dgf-vsb) .step-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.dgf:where(.dgf-s):where(.dgf-vsb) .read h3 { font-size: 1.02rem; }
.dgf:where(.dgf-s):where(.dgf-vsb) .read p, .dgf:where(.dgf-s):where(.dgf-vsb) .station span { font-size: 0.92rem !important; line-height: 1.5; }
.dgf:where(.dgf-s):where(.dgf-vsb) .use, .dgf:where(.dgf-s):where(.dgf-vsb) .station em { font-size: 0.92rem !important; line-height: 1.5; }
.dgf:where(.dgf-s):where(.dgf-vsb) .duty-text, .dgf:where(.dgf-s):where(.dgf-vsb) .note, .dgf:where(.dgf-s):where(.dgf-vsb) .mini > div, .dgf:where(.dgf-s):where(.dgf-vsb) .tier li, .dgf:where(.dgf-s):where(.dgf-vsb) figcaption { font-size: 0.98rem; line-height: 1.6; }
.dgf:where(.dgf-s):where(.dgf-vsb) .setup-hint, .dgf:where(.dgf-s):where(.dgf-vsb) .fmts span, .dgf:where(.dgf-s):where(.dgf-vsb) .drums span { font-size: 0.92rem; }

/* Drei Dimensionen als kleine Zeichnungen */
.dim { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 62ch; margin: 0.4rem auto 2.8rem; padding: 0; list-style: none; }
.dim svg { display: block; width: 100%; height: auto; background: #f3f0e8; border-radius: 4px; }
.dim b { display: block; margin-top: 0.7rem; font-size: 1.05rem; font-weight: 500; color: #fff; }
.dim span { color: var(--hot); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.d-zeit rect { transform-box: fill-box; transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--dgf-aus) 0.2s; }
.da .d-zeit rect { transform: none; }
.d-fl rect { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.9s var(--dgf-aus); transition-delay: calc(var(--n) * 160ms + 200ms); }
.da .d-fl rect { transform: none; }
.d-dr line { stroke: #2f6fd0; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 0.7s var(--dgf-aus); transition-delay: calc(var(--n) * 55ms + 200ms); }
.da .d-dr line { stroke-dashoffset: 0; }

/* Ablaufbild: Kerndaten und Iterationsschleife fließen */
.dgf:where(.dgf-s):where(.dgf-vsb) .diagram .flow-core { stroke-dasharray: 16 7; animation: v-fliess 1.4s linear infinite; }
.dgf:where(.dgf-s):where(.dgf-vsb) .diagram .flow-loop { animation: v-fliess 2.4s linear infinite reverse; }
@keyframes v-fliess { to { stroke-dashoffset: -46; } }

/* Schritte: die aktive Nummer leuchtet */
.dgf:where(.dgf-s):where(.dgf-vsb) .step::before { transition: color 0.5s, font-size 0.5s var(--dgf-aus); }
.dgf:where(.dgf-s):where(.dgf-vsb) .step.aktiv::before { color: var(--hot) !important; font-size: 2.6rem; }
.dgf:where(.dgf-s):where(.dgf-vsb) .grade .track i { transform-origin: left; }
.dgf-js .dgf:where(.dgf-s):where(.dgf-vsb) .grades .track i { transform: scaleX(0); transition: transform 1.2s var(--dgf-aus); }
.dgf-js .dgf:where(.dgf-s):where(.dgf-vsb) .grades.da .track i { transform: none; }
.dgf-js .dgf:where(.dgf-s):where(.dgf-vsb) .grades.da .grade:nth-child(3) .track i { transition-delay: 0.12s; }
.dgf-js .dgf:where(.dgf-s):where(.dgf-vsb) .grades.da .grade:nth-child(4) .track i { transition-delay: 0.24s; }
.dgf-js .dgf:where(.dgf-s):where(.dgf-vsb) .grades.da .grade:nth-child(5) .track i { transition-delay: 0.36s; }
.dgf-js .dgf:where(.dgf-s):where(.dgf-vsb) .grades.da .grade:nth-child(6) .track i { transition-delay: 0.48s; }
.dgf-js .dgf:where(.dgf-s):where(.dgf-vsb) figure[data-ein] img { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--dgf-aus); }
.dgf-js .dgf:where(.dgf-s):where(.dgf-vsb) figure[data-ein].da img { clip-path: inset(0); }
.dgf-js .dgf:where(.dgf-s):where(.dgf-vsb) figure[data-ein] { transform: none; }

@media (max-width: 700px) {
  .dgf:where(.dgf-s):where(.dgf-vsb) { font-size: 16px; }
  .dgf:where(.dgf-s):where(.dgf-vsb) > nav { overflow-x: auto; }
  .dgf:where(.dgf-s):where(.dgf-vsb) > nav .jump { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
  .dim { grid-template-columns: 1fr; }
  .dim li { display: grid; grid-template-columns: 7rem 1fr; gap: 0 1rem; align-items: center; }
  .dim li svg { grid-row: span 2; }
  .dim b { margin-top: 0; align-self: end; }
  .dim span { align-self: start; }
  .dgf:where(.dgf-s):where(.dgf-vsb) .step.aktiv::before { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dgf:where(.dgf-s):where(.dgf-vsb) .diagram .flow-core, .dgf:where(.dgf-s):where(.dgf-vsb) .diagram .flow-loop { animation: none; }
}

/* ===== Forschung: Zeitstrahl (aus Klickdummy F_CSS) ===== */
.dgf:where(.dgf-s) .fo-intro { font-size: clamp(1.12rem, 1.8vw, 1.35rem); line-height: 1.6; max-width: 52ch; }
.dgf:where(.dgf-s) .fo-hinweis { font-size: 0.98rem; line-height: 1.6; max-width: 60ch; margin-top: 1.2rem; }
.dgf:where(.dgf-s) .ov-menue summary { font-size: 1rem; min-height: 44px; }
.dgf:where(.dgf-s) .ov-z-karte h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; }
.dgf:where(.dgf-s) .ov-z-karte p { font-size: 1.04rem; line-height: 1.65; }
.dgf:where(.dgf-s) .ov-z-tag b { font-size: 1.6rem; }
.dgf:where(.dgf-s) .ov-z-tag span, .dgf:where(.dgf-s) .ov-nr, .dgf:where(.dgf-s) .ov-chip, .dgf:where(.dgf-s) .ov-lesen { font-size: 0.82rem; }
.dgf:where(.dgf-s) .ov-z-monat { position: sticky; top: 0.6rem; z-index: 3; }
.dgf:where(.dgf-s) .ov-ansicht { overflow-x: clip; }

/* Der Zeitstrahl füllt sich beim Scrollen mit Gold */
.dgf:where(.dgf-s) .ov-zeit::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; margin-left: -1px; height: calc(var(--zeit, 0) * (100% - 12px)); background: var(--hot); }
.dgf:where(.dgf-s) .ov-z-eintrag::before { transition: background-color 0.5s, scale 0.6s var(--dgf-aus), box-shadow 0.6s; }
.dgf-js .dgf:where(.dgf-s) .ov-z-eintrag:not(.da)::before { scale: 0.55; border-color: #6a5a22; }
.dgf:where(.dgf-s) .ov-z-eintrag.da::before { background: var(--hot); }

/* Karten kommen von ihrer Seite, das Bild wischt sich frei */
.dgf-js .dgf:where(.dgf-s) .ov-z-eintrag .ov-z-karte { opacity: 0; transform: translateX(var(--von, 46px)); transition: opacity 0.7s, transform 0.9s var(--dgf-aus), border-color 160ms ease; }
.dgf-js .dgf:where(.dgf-s) .ov-z-eintrag.ov-li .ov-z-karte { --von: -46px; }
.dgf-js .dgf:where(.dgf-s) .ov-z-eintrag.da .ov-z-karte { opacity: 1; transform: none; }
.dgf-js .dgf:where(.dgf-s) .ov-z-eintrag .ov-z-tag { opacity: 0; transition: opacity 0.7s 0.25s; }
.dgf-js .dgf:where(.dgf-s) .ov-z-eintrag.da .ov-z-tag { opacity: 1; }
.dgf-js .dgf:where(.dgf-s) .ov-z-eintrag .ov-bild img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--dgf-aus) 0.2s, transform 0.6s var(--dgf-aus), opacity 0.3s; }
.dgf-js .dgf:where(.dgf-s) .ov-z-eintrag.da .ov-bild img { clip-path: inset(0); }
.dgf:where(.dgf-s) .ov-lesen { transition: letter-spacing 0.4s var(--dgf-aus); }
.dgf:where(.dgf-s) a:hover .ov-lesen { letter-spacing: 0.2em; }
@media (max-width: 820px) {
  .dgf:where(.dgf-s) .ov-zeit::after { left: 12px; }
  .dgf-js .dgf:where(.dgf-s) .ov-z-eintrag .ov-z-karte, .dgf-js .dgf:where(.dgf-s) .ov-z-eintrag.ov-li .ov-z-karte { --von: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .dgf-js .dgf:where(.dgf-s) .ov-z-eintrag .ov-z-karte, .dgf-js .dgf:where(.dgf-s) .ov-z-eintrag .ov-z-tag { opacity: 1; transform: none; }
  .dgf-js .dgf:where(.dgf-s) .ov-z-eintrag .ov-bild img { clip-path: none; }
}

/* ===== Werkstatt (aus Klickdummy WS_CSS) ===== */
.dgf:where(.dgf-s) .lp-arc { stroke-dasharray: 10 8; animation: ws-lauf 1.6s linear infinite; }
@keyframes ws-lauf { to { stroke-dashoffset: -36; } }
.dgf:where(.dgf-s) .ws-step.da .ws-dot { animation: ws-punkt 0.9s var(--dgf-aus) both; }
@keyframes ws-punkt { from { scale: 0.3; opacity: 0; } }
.dgf:where(.dgf-s) .ws-card { transition: transform 0.5s var(--dgf-aus), border-color 0.25s; }
.dgf:where(.dgf-s) .ws-card:hover { transform: translateY(-5px); border-color: var(--hot); }
@media (prefers-reduced-motion: reduce) { .dgf:where(.dgf-s) .lp-arc { animation: none; } }

/* ===== Versionshistorie (aus Klickdummy VH_CSS) ===== */
.dgf:where(.dgf-s) .vh-eintrag h3 { color: var(--hot) !important; font-variant-numeric: tabular-nums; }
.dgf:where(.dgf-s) .vh-punkte li { line-height: 1.65; max-width: 70ch; }
.dgf:where(.dgf-s) .vh-intro { max-width: 60ch; }

/* Etappe 6 (17.11.2026): Instrumente mit ihrer Textur (Vom Song zum Bild) */
.dgf:where(.dgf-vsb) .chip.mit-tex{grid-template-columns:5.2rem 14px 1fr;align-items:center;padding:.7rem .9rem .7rem .7rem}
.dgf:where(.dgf-vsb) .chip.mit-tex .feld{grid-column:1;grid-row:1 / span 2;display:grid;place-items:center;width:5.2rem;height:4.4rem;background:#f3f0e8;border-radius:3px;overflow:hidden}
.dgf:where(.dgf-vsb) .chip.mit-tex .feld img{max-width:88%;max-height:88%;width:auto;height:auto;transition:transform .6s var(--dgf-aus)}
.dgf:where(.dgf-vsb) .chip.mit-tex:hover .feld img{transform:scale(1.18) rotate(-3deg)}
.dgf:where(.dgf-vsb) .chip.mit-tex>i{grid-column:2;grid-row:1;align-self:end;margin-bottom:.35rem}
.dgf:where(.dgf-vsb) .chip.mit-tex>b{grid-column:3;grid-row:1;align-self:end}
.dgf:where(.dgf-vsb) .chip.mit-tex>small{grid-column:2 / 4;grid-row:2;align-self:start}
@media (prefers-reduced-motion:reduce){.dgf:where(.dgf-vsb) .chip.mit-tex .feld img{transition:none}.dgf:where(.dgf-vsb) .chip.mit-tex:hover .feld img{transform:none}}

/* ---- Etappe 6 (17.11.2026): Impressum lesbarer, Handy-Menü, Fehlerseite ---- */
/* Impressum und Datenschutz (Seite 131): nur Darstellung, der Text bleibt unverändert */
.page-id-131 .entry-content { font-size: 1.06rem; line-height: 1.75; overflow-wrap: anywhere; }
.page-id-131 .entry-content p, .page-id-131 .entry-content li { color: #dedede !important; max-width: 46rem; }
.page-id-131 .entry-content p { margin: 0 0 1.1em; }
.page-id-131 .entry-content li { margin-bottom: .8em; }
.page-id-131 .entry-content h2 { margin: 3.5rem 0 1.2rem; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.page-id-131 .entry-content h2:first-child { margin-top: 0; }
.page-id-131 .entry-content h3 { margin: 2rem 0 .8rem; line-height: 1.3; }
.page-id-131 .entry-content strong { color: #f2f2f2 !important; }
/* Handy-Menü: Schrift heller und größer, aktuelle Seite in Gold, gut treffbare Zeilen */
@media (max-width: 49.99em) {
  body #menu-primary-items > li > a { opacity: 1; font-size: 1.05rem; color: #e6e6e6 !important; padding-block: 10px; }
  body #menu-primary-items > li.current-menu-item > a, body #menu-primary-items > li.current-page-ancestor > a, body #menu-primary-items > li.current_page_item > a { color: #e9bf3a !important; }
  body #menu-primary-items > li > a:focus-visible { outline: 2px solid #e9bf3a; outline-offset: 4px; }
}
/* Fehlerseite (404) */
.dgf-404 { text-align: center; padding: 1rem 0 2rem; }
.dgf-404 .z { margin: 0; font-size: clamp(4.5rem, 16vw, 9rem); font-weight: 700; line-height: 1; letter-spacing: .04em; color: #e9bf3a !important; }
.dgf-404 .t { margin: .6rem auto 0; max-width: 28ch; font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.3; color: #f2f2f2 !important; text-wrap: balance; }
.dgf-404 .u { margin: 1rem auto 0; max-width: 46ch; color: #c8c8c8 !important; line-height: 1.7; }
.dgf-404 ul { list-style: none; margin: 2.2rem auto 0; padding: 0; max-width: 34rem; text-align: left; border-top: 1px solid #444; }
.dgf-404 li { margin: 0; border-bottom: 1px solid #333; }
.dgf-404 li a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem .4rem; text-decoration: none; color: #f2f2f2 !important; background: linear-gradient(#e9bf3a, #e9bf3a) left bottom / 0 1px no-repeat; transition: background-size .5s cubic-bezier(.2, .7, .2, 1), padding .4s; }
.dgf-404 li a:hover, .dgf-404 li a:focus-visible { background-size: 100% 1px; padding-left: 1rem; }
.dgf-404 li a span { color: #e9bf3a !important; }
.dgf-404 .s { margin-top: 2.2rem; }
@media (prefers-reduced-motion: reduce) { .dgf-404 li a { transition: none; } }

/* Handy quer (17.11.2026): iOS vergrößert Schrift beim Drehen auf Texte, nicht aber auf Bilder; das hält sie fest */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Handy: bei geöffnetem Hauptmenü blendet sich die Sprungleiste (Vom Song zum Bild) aus, statt das Menü zu überlagern */
body.dgf-menu-offen .dgf:where(.dgf-s):where(.dgf-vsb) > nav { visibility: hidden; }
