/* ==========================================================================
   app-v3.css — Neugestaltung 28.11.2026 ("Anschlagtafel")
   ==========================================================================

   Vom Inhaber freigegeben am 28.11.2026 (Entwurf bi-entwurf.html).

   IDEE   Eine oeffentliche Anschlagtafel des Bitcoin-Netzes: Zahlen hängen
          als Zettel, die letzten Bloecke stehen als Wuerfel in einer Kette.
   FARBE  Nacht #15110b, Papier #f7f1e3 / #ede4cf, Bitcoin-Orange #f7931a,
          Gelb #ffd24a, Petrol #2ec4b6, Rot #ff5a4e.
   SCHRIFT Sora 800 fuer Ueberschriften und grosse Zahlen, Source Sans 3 fuer
          den Text, Ziffern immer gleich breit (tabular-nums).
   BAUTEILE Karten mit Tintenrand, Akkordeons mit +/−-Quadrat, das
          Vertrauensband in Orange.

   SEIT 02.12.2026 ("INTJ", vom Inhaber freigegeben) gelten drei Regeln, und
   sie sind hier an der Quelle umgesetzt, nicht als Schicht obendrauf:
   1. Nichts steht schraeg. Kein rotate, kein Sprung per translate.
   2. Es gibt genau einen Schatten, var(--schatten) = 4px 4px 0 var(--schlag),
      und nur an dem, was man bedient: Beitragskarten, Entscheidungsweg,
      Rundbrief, Rechner-Kaesten, Autorenkasten, Kontaktformular, Knoepfe.
      Beim Ueberfahren drueckt er sich auf 2 px ein. Reine Auskunft
      (Kennzahlen, Tabellen, Hinweise, Lage-Bloecke, "Kurz gesagt",
      Akkordeons) ist flach. Auf Nacht-Flaechen ist der Schatten #000.
   3. Farbe traegt Bedeutung: Orange = Bitcoin, Kurs, Hauptaktion, Auswahl;
      Gruen/Rot (--ja/--nein) = hoch/runter, ja/nein; --acht = Vorsicht.
      Petrol und Gelb sind keine Schmuckfarben mehr. --teal und --gelb
      bleiben nur, wo sie Bildinhalt oder Lesbarkeit sind: als Flaeche der
      gezeichneten Kopfbilder (Stil C) und Gelb als Verweisfarbe auf Nacht.
      Die Zettelfarben (--zettel-*) und --rot sind geloescht.

   WIE: Diese Datei kommt als LETZTE (schriften.css → app.css → app-v2.css →
   app-v3.css) und ueberschreibt nur Werte und Bauteile. app.css und
   app-v2.css bleiben unangetastet -- wer die Neugestaltung zuruecknehmen
   will, nimmt diese Datei aus dem Kopf.

   THEMEN: dieselben drei Zustaende wie in app.css (README, "Die drei
   Themenzustaende"). Jede Farbe steht zuerst im hellen :root; Kopf, Fuss,
   Netz-Band und Buehne bleiben in beiden Themen Nacht.
   ========================================================================== */

/* --- Farben und Schriften: hell ------------------------------------------ */
:root {
  --nacht: #15110b;
  --nacht-2: #211b12;
  --nacht-linie: #3a3122;
  --nacht-text: #f7f1e3;
  --nacht-matt: #c9bfa9;
  --orange: #f7931a;
  --gelb: #ffd24a;
  --teal: #2ec4b6;

  /* Rand und Schatten der Karten. Im Hellen Tinte, im Dunkeln ein
     Braunton (Rand) und Schwarz (Schatten) -- Tinte auf Nacht saehe man
     nicht. */
  --tusche: #15110b;
  --schlag: #15110b;

  --grund: #f7f1e3;
  --karte: #fffdf8;
  --karte-2: #ede4cf;
  --linie: #d6c9ad;
  --linie-weich: #e6dcc6;
  --text: #15110b;
  --text-2: #4f4839;
  --text-3: #625a49; /* 6,0:1 auf #f7f1e3 */
  --btc: #9a4c00; /* 5,6:1 auf Papier; Orange als Schrift nur abgedunkelt */
  --btc-bg: #ffe9c9;
  --btc-linie: #f0c98f;
  --btc-text: #15110b;
  --schweber: #fffdf8;
  --schweber-rand: #15110b;
  --radius: 12px;
  --radius-s: 8px;
  --schatten: 4px 4px 0 var(--schlag);
  --schatten-ein: 2px 2px 0 var(--schlag);

  --ink: #15110b;
  --ink-2: #211b12;
  --ink-text: #f7f1e3;
  --ink-text-2: #c9bfa9;
  --ink-linie: #3a3122;
  --ink-btc: #f7931a;

  --raster: transparent;

  --disp: "Sora", "Segoe UI", system-ui, sans-serif;
  --sans: "Source Sans 3", system-ui, "Segoe UI", sans-serif;
}

/* --- Dunkel: warmes Nachtpapier ------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tusche: #5c4c33;
    --schlag: #000000;
    /* app.css setzt --schatten im Dunkeln weich; hier bleibt es der eine. */
    --schatten: 4px 4px 0 var(--schlag);
    --schatten-ein: 2px 2px 0 var(--schlag);
    --grund: #261e14;
    --karte: #31271a;
    --karte-2: #3a2e1f;
    --linie: #4a3d29;
    --linie-weich: #3f3222;
    --text: #f3ead8;
    --text-2: #d0c5ad;
    --text-3: #b3a68b;
    --btc: #ffa93a;
    --btc-bg: #3a2810;
    --btc-linie: #6a4a1c;
    --btc-text: #15110b;
    --schweber: #3a2e1f;
    --schweber-rand: #8a7656;
    --ink: #15110b;
    --ink-2: #211b12;
    --ink-text: #f7f1e3;
    --ink-text-2: #c9bfa9;
    --ink-linie: #3a3122;
    --raster: transparent;
  }
}
:root[data-theme="dark"] {
  --tusche: #5c4c33;
  --schlag: #000000;
  --schatten: 4px 4px 0 var(--schlag);
  --schatten-ein: 2px 2px 0 var(--schlag);
  --grund: #261e14;
  --karte: #31271a;
  --karte-2: #3a2e1f;
  --linie: #4a3d29;
  --linie-weich: #3f3222;
  --text: #f3ead8;
  --text-2: #d0c5ad;
  --text-3: #b3a68b;
  --btc: #ffa93a;
  --btc-bg: #3a2810;
  --btc-linie: #6a4a1c;
  --btc-text: #15110b;
  --schweber: #3a2e1f;
  --schweber-rand: #8a7656;
  --ink: #15110b;
  --ink-2: #211b12;
  --ink-text: #f7f1e3;
  --ink-text-2: #c9bfa9;
  --ink-linie: #3a3122;
  --raster: transparent;
}
html[data-theme="dark"] {
  --ink: #15110b;
  --ink-2: #211b12;
  --ink-text: #f7f1e3;
  --ink-text-2: #c9bfa9;
  --ink-linie: #3a3122;
}

/* --- Grundlage ------------------------------------------------------------ */
html,
body {
  overflow-x: clip;
}
body {
  background: var(--grund);
  background-image: none;
  font-family: var(--sans);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
h1,
h2,
h3,
.prosa h2,
.prosa h3 {
  font-family: var(--disp);
  font-weight: 800;
  letter-spacing: -0.025em;
}
h1 {
  line-height: 1.06;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
::selection {
  background: var(--gelb);
  color: #15110b;
}

/* Kleine Beschriftungen: Satzschreibung statt Versalien, Sans statt Mono. */
.kz-label,
.tafel-kopf h3,
.marke-klein,
.kurzgesagt b,
.fuss-spalte b,
.rubrik-kicker,
.start-kicker,
.tabelle-rahmen th,
.lage-tabelle th,
.kachel i,
.kurs-kopfzeile,
.markt-kopf,
.ressort,
.netzrail-kopf h2,
.einstieg-frage {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
}

/* Zahlen: Sora mit gleich breiten Ziffern statt Mono. Adressen, Hashes und
   Code bleiben in Mono -- dort muss jedes Zeichen gleich breit sein. */
.kz-wert,
.lage-zahl,
.markt-zahl,
.block-hoehe,
.laufband-wert,
.laufband-wert .zahl,
.kurschip b,
.preis,
.delta,
.artikel-meta,
.ln-zahlen b {
  font-family: var(--disp);
  font-variant-numeric: tabular-nums;
}
.artikel-meta,
.block-hoehe small,
.laufband-wert,
.kz-neben {
  font-family: var(--sans);
}

/* --- Kopf: Nacht, der Aufkleber als Marke --------------------------------- */
.kopf-dunkel,
.laufband {
  background: var(--nacht);
}
.kopf-dunkel {
  border-bottom: 3px solid var(--nacht);
}
.laufband {
  border-bottom: 1px solid var(--nacht-linie);
}
.logo-dunkel svg.marke-aufkleber {
  width: 32px;
  height: 32px;
  color: inherit;
}
.kopfrahmen.schmal .logo-dunkel svg.marke-aufkleber {
  width: 26px;
  height: 26px;
}
.logo-dunkel .wort {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.logo-dunkel i {
  color: var(--nacht-text);
}
.knopf-rundbrief,
.knopf-voll.knopf-rundbrief {
  background: var(--orange);
  color: #15110b;
  border: 2px solid #000;
  border-radius: 6px;
  box-shadow: 4px 4px 0 #000;
  font-weight: 700;
  transition: box-shadow 0.12s;
}
/* Knoepfe druecken sich ein (4 auf 2 px), statt zu springen. */
.knopf-rundbrief:hover {
  background: var(--orange);
  color: #15110b;
  box-shadow: 2px 2px 0 #000;
}

/* --- Fuss: Nacht, ueber die volle Breite ---------------------------------- */
.fuss-dunkel {
  background: var(--nacht);
  color: var(--nacht-matt);
  box-shadow: 0 0 0 100vmax var(--nacht);
  clip-path: inset(0 -100vmax -100vmax);
  border-radius: 0;
  margin-top: 64px;
}
.fuss-dunkel a {
  color: var(--nacht-text);
}
.fuss-dunkel a:hover {
  color: var(--gelb);
}
.fuss-spalte b {
  color: var(--orange);
  font-family: var(--disp);
  font-weight: 800;
  font-size: 0.95rem;
}
.fuss-marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fuss-marke svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

/* --- Knoepfe ------------------------------------------------------------- */
.wahl,
.brief-senden,
.kontakt-senden,
button.wahl {
  border: 2px solid var(--tusche);
  border-radius: 6px;
  box-shadow: var(--schatten);
  font-weight: 700;
  transition:
    box-shadow 0.12s,
    background-color 0.12s;
}
.wahl:hover,
.brief-senden:hover,
.kontakt-senden:hover {
  box-shadow: var(--schatten-ein);
}
.brief-senden,
.kontakt-senden,
.brief-senden:hover,
.kontakt-senden:hover {
  background: var(--orange);
  color: #15110b;
}
/* Gewaehlt: eingedrueckt, Orange als Rand und Grund statt als Schatten. */
.wahl.aktiv,
.wahl[aria-pressed="true"],
.wahl[aria-checked="true"] {
  background: var(--btc-bg);
  border-color: var(--btc);
  box-shadow: var(--schatten-ein);
}
@media (prefers-reduced-motion: reduce) {
  .wahl,
  .brief-senden,
  .knopf-rundbrief,
  .artikel-karte,
  .rechner-gitter .rechner,
  .werkzeug-zeile,
  .glossar-chips a {
    transition: none;
  }
}

/* Eingabefelder */
.adr-feld,
input[type="number"],
input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  border: 2px solid var(--tusche);
  border-radius: 6px;
  background: var(--karte);
  color: var(--text);
}
.adr-feld:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--tusche);
  box-shadow: none;
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* --- Karten -------------------------------------------------------------- */
.karte,
.weg,
.lage-block,
.tabelle-rahmen,
.brief,
.autor,
.werkzeug,
.kontaktform {
  background: var(--karte);
  border: 2px solid var(--tusche);
  border-radius: var(--radius);
  box-shadow: none;
}
/* Der eine Schatten: nur, was man bedient. Eine .karte zaehlt dazu, sobald
   Eingabefelder oder Knoepfe in ihr stehen (Rechner-Kaesten). */
.weg,
.brief,
.autor,
.kontaktform,
.karte:has(input, select, textarea, button) {
  box-shadow: var(--schatten);
}
.tabelle-rahmen th {
  font-weight: 700;
  color: var(--text-2);
  background: var(--karte-2);
}

/* Hinweise: flach auf Kartengrund. Die Bedeutung traegt die linke Linie:
   Gruen = in Ordnung, Rot = Warnung, --acht = Vorsicht, sonst Tusche. */
.hinweis {
  border: 2px solid var(--tusche);
  border-left-width: 6px;
  border-radius: 10px;
  box-shadow: none;
  background: var(--karte);
  color: var(--text);
}
.hinweis.gut {
  background: var(--karte);
  border-color: var(--tusche);
  border-left-color: var(--ja);
}
.hinweis.warn {
  background: var(--karte);
  border-color: var(--tusche);
  border-left-color: var(--nein);
}
.hinweis.acht {
  background: var(--karte);
  border-color: var(--tusche);
  border-left-color: var(--acht);
}

/* Beitragskarten (Magazin, Rubriken, Weiterlesen, Startseite) */
.artikel-karte {
  background: var(--karte);
  border: 2px solid var(--tusche);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  overflow: hidden;
  transition: box-shadow 0.12s;
}
.artikel-karte:hover {
  box-shadow: var(--schatten-ein);
  border-color: var(--tusche);
}
.artikel-karte .kopfbild {
  border-bottom: 2px solid var(--tusche);
  border-radius: 0;
  margin: 0;
}
.artikel-karte b,
.artikel-karte h2,
.artikel-karte h3 {
  font-family: var(--disp);
  font-weight: 800;
  letter-spacing: -0.015em;
}

/* Rubrikmarke ueber dem Titel: gerade, als Umriss */
.marke-klein {
  display: inline-block;
  padding: 2px 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
a.marke-klein:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #15110b;
}

/* --- Akkordeons ------------------------------------------------------------
   Jedes <details> der Seite: flache Karte mit Tintenrand, rechts ein
   Quadrat im Umriss mit + oder −. Die Navigationsgruppen im Kopf sind auch
   <details>, aber mit eigener Klasse -- die bleiben unberuehrt. */
details:not(.nav-gruppe):not([class*="nav"]) {
  background: var(--karte);
  border: 2px solid var(--tusche);
  border-radius: 10px;
  box-shadow: none;
  margin: 0 0 14px;
}
details:not(.nav-gruppe):not([class*="nav"]) > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 14px 58px 14px 18px;
  font-weight: 700;
  min-height: 52px;
}
details:not(.nav-gruppe):not([class*="nav"]) > summary::-webkit-details-marker {
  display: none;
}
details:not(.nav-gruppe):not([class*="nav"]) > summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--text);
  border: 2px solid currentColor;
  border-radius: 6px;
  font-family: var(--disp);
  font-weight: 800;
  line-height: 1;
}
details[open]:not(.nav-gruppe):not([class*="nav"]) > summary::after {
  content: "\2212";
}
details:not(.nav-gruppe):not([class*="nav"]) > :not(summary) {
  margin-left: 18px;
  margin-right: 18px;
}
details:not(.nav-gruppe):not([class*="nav"]) > :last-child:not(summary) {
  margin-bottom: 16px;
}

/* Inhaltsverzeichnis im Beitrag */
.inhalt-liste {
  margin-bottom: 26px !important;
}
.inhalt-liste ol {
  margin-top: 0;
  padding-left: 1.4em;
  display: grid;
  gap: 6px;
}
.inhalt-liste a {
  color: var(--text);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.inhalt-liste a:hover {
  color: var(--btc);
}

/* --- Beitrag: Buehne in Nacht ------------------------------------------- */
.buehne {
  position: relative;
  background: var(--nacht);
  color: var(--nacht-text);
  box-shadow: 0 0 0 100vmax var(--nacht);
  clip-path: inset(0 -100vmax);
  padding: 34px 0 38px;
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px 28px;
  align-items: center;
}
.buehne .artikel-kopf {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
  margin: 0;
  border: 0;
}
.buehne .kopfbild {
  grid-column: 2;
  grid-row: 1;
  --kb-raster: rgba(247, 241, 227, 0.1);
  margin: 0;
  aspect-ratio: 1;
  border: 2px solid var(--nacht-text);
  border-radius: 10px;
  background-color: var(--nacht-2);
  color: var(--nacht-text);
}
.buehne .kopfbild svg {
  height: 64%;
}
.buehne h1 {
  color: #fff;
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 3rem);
}
.buehne .artikel-kopf > h1:first-child {
  margin-top: 0;
}
.buehne .artikel-meta {
  color: var(--nacht-matt);
  font-size: 0.9rem;
}
.buehne a:not(.marke-klein) {
  color: var(--gelb);
}
.buehne .marke-klein {
  color: var(--nacht-text);
}
.buehne + .artikel-kopf,
.buehne > .artikel-kopf:only-child {
  grid-column: 1 / -1;
}
.buehne:not(:has(.kopfbild)) {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 600px) {
  .buehne {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 14px;
    padding: 24px 0 28px;
  }
  .buehne .kopfbild {
    align-self: start;
  }
}

/* "Kurz gesagt": flache Karte, die Marke gerade und im Umriss */
.kurzgesagt {
  background: var(--karte);
  border: 2px solid var(--tusche);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 20px 22px;
  position: relative;
}
.kurzgesagt b {
  display: inline-block;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text);
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 4px;
  padding: 1px 9px;
  margin-bottom: 10px;
}
.kurzgesagt p {
  font-size: 1.06rem;
}

/* Fliesstext */
.prosa {
  font-size: 1.06rem;
  line-height: 1.68;
}
.prosa h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.15;
}
.prosa h3 {
  font-size: 1.2rem;
}
.prosa a {
  color: var(--btc);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prosa blockquote {
  border-left: 4px solid var(--orange);
  background: var(--karte-2);
  border-radius: 0 8px 8px 0;
}
.prosa code {
  background: var(--karte-2);
  border: 1px solid var(--linie);
}
.anker {
  color: var(--btc);
}

/* Autorenbox: Karte, Marke = Aufkleber */
.autor,
.artikel-ende .autor {
  background: var(--karte);
  border: 2px solid var(--tusche);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 20px 22px;
}
.artikel-ende .autor-marke {
  width: 40px;
  height: 40px;
}
.autor-marke {
  background: url("/favicon.svg") center / contain no-repeat;
  -webkit-mask: none;
  mask: none;
}
.autor b {
  font-family: var(--disp);
  font-weight: 800;
}

.anlage-hinweis {
  border-left: 4px solid var(--orange);
  padding-left: 14px;
}
.werkzeug-zeile {
  background: var(--karte);
  border: 2px solid var(--tusche);
  border-radius: var(--radius);
  box-shadow: none;
  transition: background-color 0.12s;
}
.werkzeug-zeile:hover {
  background: var(--karte-2);
  border-color: var(--tusche);
}
.wz-los {
  background: var(--orange);
  color: #15110b;
  border: 2px solid var(--tusche);
  border-radius: 6px;
  font-weight: 700;
}

/* --- Rundbrief ------------------------------------------------------------ */
/* Auf der Startseite steht der Kasten als Nacht-Karte, wie im Entwurf. */
.huelle > .brief {
  --karte: var(--nacht);
  --karte-2: var(--nacht-2);
  --text: var(--nacht-text);
  --text-2: var(--nacht-matt);
  --text-3: var(--nacht-matt);
  --linie: var(--nacht-linie);
  --tusche: var(--nacht-text);
  --btc: #ffa93a;
  background: var(--nacht);
  color: var(--nacht-text);
  border: 3px solid var(--nacht-text);
  border-radius: 16px;
  margin-top: 64px;
}
.huelle > .brief h2 {
  color: #fff;
}
.huelle > .brief .adr-feld {
  background: var(--nacht-2);
  color: var(--nacht-text);
  border-color: var(--nacht-text);
}
.huelle > .brief .adr-feld::placeholder {
  color: #a89d86;
}
.huelle > .brief a {
  color: var(--gelb);
}
.huelle > .brief .brief-senden {
  border-color: #000;
  box-shadow: 4px 4px 0 #000;
}
.huelle > .brief .brief-senden:hover {
  box-shadow: 2px 2px 0 #000;
}
.brief h2 {
  font-family: var(--disp);
  font-weight: 800;
}

/* --- Rubriken- und Datenseiten -------------------------------------------- */
.rubrik h2,
.lage-kopf h1,
.kopfzeile-neu h2 {
  font-family: var(--disp);
  font-weight: 800;
}
.rubrik {
  border-bottom-color: var(--tusche);
}
.lage-block {
  padding: 22px;
}

/* ==========================================================================
   STARTSEITE
   ========================================================================== */

/* Aufmacher: links Titel und Wegwahl, rechts die Tafel */
.start-kopf.weg-kopf {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  padding: 44px 0 48px;
}
.start-links {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.start-kopf h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  line-height: 1.02;
}
.start-lead {
  color: var(--text-2);
}
.start-wer {
  color: var(--text-2);
}
.start-wer a {
  color: var(--text);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}

.weg {
  border-width: 3px;
  padding: 20px 22px 22px;
}
.weg > h2 {
  font-size: 1.25rem;
}
.weg-knopf {
  min-height: 40px;
  border: 2px solid var(--tusche);
  border-radius: 999px;
  background: var(--karte);
  font-weight: 700;
  padding: 0 15px;
}
.weg-knopf:hover {
  border-color: var(--tusche);
  background: var(--btc-bg);
}
.weg-knopf[aria-selected="true"] {
  background: var(--text);
  color: var(--grund);
  border-color: var(--text);
}
.weg-schritte li::before {
  border: 2px solid var(--tusche);
  background: var(--karte);
  font-weight: 700;
}
.weg-schritte li:first-child::before {
  background: var(--orange);
  border-color: var(--tusche);
  color: #15110b;
}
.weg-schritte li:not(:last-child)::after {
  background: var(--tusche);
  opacity: 0.35;
}
.weg-schritte a {
  color: var(--text);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.weg-schritte a:hover {
  color: var(--btc);
}

/* Die Tafel: dunkles Ticket, flach, in beiden Themen Nacht */
.start-tafel {
  --karte: var(--nacht-2);
  --karte-2: var(--nacht-2);
  --linie: var(--nacht-linie);
  --text: var(--nacht-text);
  --text-2: var(--nacht-matt);
  --text-3: var(--nacht-matt);
  --btc: #ffa93a;
  --tusche: var(--nacht-linie);
  --ja: #57d894;
  --nein: #ff8b7d;
  position: relative;
  background: var(--nacht);
  color: var(--nacht-text);
  border: 2px solid #000;
  border-radius: 14px;
  box-shadow: none;
  padding: 26px 20px 18px;
  margin-top: 6px;
}
.start-tafel::before {
  content: "Gerade eben";
  position: absolute;
  top: -16px;
  right: 18px;
  padding: 2px 10px;
  /* Zustand statt Aufkleber: Gruen heisst "frisch", wie bei --ja. */
  background: var(--nacht-2);
  color: var(--ja);
  border: 1.5px solid currentColor;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
}
.start-tafel .kennzahlen.start-zahlen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.start-tafel .karte {
  background: var(--nacht-2);
  border: 2px solid var(--nacht-linie);
  border-radius: 10px;
  box-shadow: none;
  padding: 12px 14px;
  min-width: 0;
}
.start-tafel .karte:first-child {
  grid-column: 1 / -1;
}
.start-tafel .karte:first-child .kz-wert {
  font-size: clamp(2.2rem, 4.4vw, 3rem);
  color: var(--orange);
}
.start-tafel .kz-label {
  color: var(--nacht-matt);
  font-weight: 600;
  font-size: 0.85rem;
}
.start-tafel .kz-wert {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--nacht-text);
}
.start-tafel .kz-wert.hell {
  color: var(--gelb);
}
.start-tafel .kz-wert small,
.start-tafel .kz-wert span,
.start-tafel .kz-wert i {
  font-family: var(--sans);
}
.start-tafel .kz-neben {
  color: var(--nacht-matt);
  font-size: 0.85rem;
}
.start-tafel .quellenzeile {
  color: var(--nacht-matt);
  margin: 14px 2px 0;
  font-size: 0.85rem;
}
.start-tafel a {
  color: var(--gelb);
}
/* Die letzte Kachel bekam in app-v2 bei ungerader Zahl die volle Breite --
   in der Tafel steht der Kurs schon allein oben, der Rest geht in Paaren. */
.start-tafel .start-zahlen > .karte:last-child:nth-child(odd) {
  grid-column: auto;
}
@media (max-width: 900px) {
  .start-kopf.weg-kopf {
    grid-template-columns: minmax(0, 1fr);
    width: auto;
  }
  .start-links {
    display: contents;
  }
  .start-text {
    order: 1;
  }
  .start-tafel {
    order: 2;
    margin-top: 14px;
  }
  .weg {
    order: 3;
  }
}
@media (max-width: 380px) {
  .start-tafel {
    padding: 24px 12px 14px;
  }
  .start-tafel .kennzahlen.start-zahlen {
    gap: 8px;
  }
  .start-tafel .karte {
    padding: 10px;
  }
  .start-tafel .kz-wert {
    font-size: 1.25rem;
  }
}

/* Vertrauensband: gerade, in Orange, ueber die volle Breite */
.vertrauen {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none;
}
.vertrauen-punkte {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 34px;
  padding: 12px 0;
  /* Auch das Element selbst traegt Orange -- sonst sehen Pruefwerkzeuge
     (axe) hinter der Schrift nur den Grund der Seite. */
  background: var(--orange);
  border: 0;
  margin: 0 0 26px;
}
/* Das Band selbst: ueber die volle Fensterbreite, mit Tintenkanten oben und
   unten. Seitlich schneidet html { overflow-x: clip } ab. */
.vertrauen-punkte::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -100vmax;
  right: -100vmax;
  background: var(--orange);
  border-block: 3px solid #15110b;
}
.vertrauen-punkte a {
  color: #15110b;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 4px 0;
}
.vertrauen-punkte a:hover,
.vertrauen-punkte a:focus-visible {
  color: #15110b;
  text-decoration: underline;
  background: none;
}
.vertrauen-punkte a:focus-visible {
  outline-color: #15110b;
}
.vertrauen-punkte svg,
.vertrauen-punkte a:hover svg {
  color: #15110b;
  stroke: #15110b;
}
.vertrauen-fuss,
.spenden-zeile {
  text-align: center;
  color: var(--text-2);
  font-size: 0.92rem;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}
.vertrauen-fuss {
  margin-top: 6px;
}
.vertrauen .spenden-zeile a,
.vertrauen-fuss a {
  color: var(--btc);
}

/* Netz-Band: Nacht, Bloecke als Wuerfel in einer Kette */
.netz-band {
  --karte: var(--nacht-2);
  --karte-2: var(--nacht-2);
  --linie: var(--nacht-linie);
  --linie-weich: var(--nacht-linie);
  --text: var(--nacht-text);
  --text-2: var(--nacht-matt);
  --text-3: #b3a88f;
  --btc: #ffa93a;
  --tusche: var(--nacht-linie);
  background: var(--nacht);
  box-shadow: 0 0 0 100vmax var(--nacht);
  clip-path: inset(0 -100vmax);
  margin-top: 46px;
  padding: 72px 0 64px;
}
.netz-band::before {
  display: none;
}
.netz-band h2 {
  color: #fff;
}
.netz-band a {
  color: var(--gelb);
}
.bloecke {
  gap: 18px;
}
.wuerfel {
  border: 2px solid var(--nacht-text);
  border-radius: 6px;
  box-shadow: none;
  background: var(--nacht-2);
  overflow: visible;
}
.wuerfel i {
  border-radius: 2px;
}
/* Die Kette: ein Glied zwischen zwei Wuerfeln */
.block-wuerfel {
  position: relative;
}
.block-wuerfel:not(:last-child) .wuerfel::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 50%;
  width: 16px;
  height: 4px;
  background: var(--nacht-text);
}
.wuerfel b {
  background: #15110b;
  color: #f7f1e3;
  font-weight: 700;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
}
.block-wuerfel[data-warte] .wuerfel b {
  background: transparent;
  color: var(--nacht-matt);
}
.block-hoehe {
  color: var(--nacht-text);
  font-weight: 700;
}
.block-hoehe small {
  color: var(--nacht-matt);
}
@media (max-width: 900px) {
  .block-wuerfel:nth-child(3n) .wuerfel::after {
    display: none;
  }
}
@media (max-width: 480px) {
  .bloecke {
    gap: 14px;
  }
  .block-wuerfel:not(:last-child) .wuerfel::after {
    right: -17px;
    width: 12px;
  }
}

.netz-band .tafeln .karte {
  background: var(--nacht-2);
  border: 2px solid var(--nacht-linie);
  box-shadow: none;
}
.netz-band .tafel-kopf h3 {
  color: var(--nacht-matt);
  font-size: 0.9rem;
  font-weight: 600;
}
.netz-band .kz-wert,
.ln-zahlen b {
  font-family: var(--disp);
  font-weight: 800;
  color: #fff;
}
.balken {
  background: var(--nacht-linie);
  border-radius: 4px;
}
.balken i {
  background: var(--orange);
  border-radius: 4px;
}
.netz-band .lage-verweis {
  background: var(--nacht-2);
  border: 2px solid var(--nacht-linie);
  border-radius: 10px;
  color: var(--nacht-matt);
}

/* Die Treppe aus Pixeln unter dem Netz-Band */
.netz-band::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -23px;
  width: 100vw;
  height: 24px;
  translate: -50% 0;
  background: var(--nacht);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v8h-80v8h-80v-8h-80v12h-80v-6h-80v10h-80v-10h-80v8h-80V4h-80v10h-80v-6h-80v8h-80v-10h-80v14h-80v-8h-80v10h-80z'/%3E%3C/svg%3E")
    0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v8h-80v8h-80v-8h-80v12h-80v-6h-80v10h-80v-10h-80v8h-80V4h-80v10h-80v-6h-80v8h-80v-10h-80v14h-80v-8h-80v10h-80z'/%3E%3C/svg%3E")
    0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
.netz-band {
  clip-path: inset(0 -100vmax -24px);
}

/* Glossar-Chips */
.glossar-chips a {
  border: 2px solid var(--tusche);
  border-radius: 999px;
  background: var(--karte);
  font-weight: 600;
  min-height: 42px;
  transition: background-color 0.12s;
}
.glossar-chips a:hover {
  background: var(--btc-bg);
  color: var(--text);
  border-color: var(--tusche);
}
.rubrik-mehr {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--tusche);
  border-radius: 6px;
  background: var(--karte);
  color: var(--text);
  box-shadow: var(--schatten);
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  transition: box-shadow 0.12s;
}
.rubrik-mehr:hover {
  background: var(--karte);
  color: var(--text);
  box-shadow: var(--schatten-ein);
}

/* Getoente Abschnitte: Papier 2 ueber die volle Breite */
.abschnitt-neu.abschnitt-getoent {
  border-image: none;
  background: var(--karte-2);
  box-shadow: 0 0 0 100vmax var(--karte-2);
  clip-path: inset(0 -100vmax);
}

/* Rechner */
.start-rechner {
  border-width: 3px;
}
.start-rechner h2 {
  font-size: 1.2rem;
}
.sr-ergebnis > div {
  background: var(--karte-2);
  border: 2px solid var(--tusche);
  border-radius: 8px;
  padding: 10px 12px;
}
.sr-ergebnis dd {
  font-family: var(--disp);
  font-weight: 800;
}
/* Die Werkzeuge als kompakte Liste statt als Kachelwand: ein Rahmen, je
   Werkzeug eine Zeile aus Zeichen, Name und einem Satz. */
.rechner-gitter {
  display: block;
  border: 2px solid var(--tusche);
  border-radius: 10px;
  background: var(--karte);
  overflow: hidden;
}
.rechner-gitter .rechner {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0 14px;
  align-items: center;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--linie);
  border-radius: 0;
  background: none;
  transition: background-color 0.12s;
}
.rechner-gitter .rechner:last-child {
  border-bottom: 0;
}
.rechner-gitter .rechner > span:last-child {
  display: grid;
  grid-template-columns: minmax(8em, 10em) minmax(0, 1fr);
  gap: 2px 14px;
  align-items: baseline;
}
.rechner-gitter .rechner:hover {
  background: var(--karte-2);
}
@media (max-width: 560px) {
  .rechner-gitter .rechner > span:last-child {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Das Zeichen folgt --text: im Dunkeln stand es sonst Tinte auf Nacht. */
.rechner-zeichen {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  margin-top: 0;
  border: 1.5px solid var(--linie);
  border-radius: 8px;
  background: none;
  color: var(--text);
}
.rechner-zeichen svg {
  stroke: currentColor;
}
.rechner-gitter .rechner b {
  font-family: var(--disp);
  font-weight: 800;
}

/* Fragen: Zeilen im Stil der Akkordeons, mit Pfeil statt Plus -- es sind
   Verweise auf Beitraege, keine aufklappbaren Antworten. */
.fragen-neu {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.fragen-neu .kopfzeile-neu {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.fragen-liste {
  border-top: 0;
  display: grid;
  gap: 12px;
}
.fragen-liste a {
  position: relative;
  min-height: 56px;
  padding: 12px 58px 12px 18px;
  background: var(--karte);
  border: 2px solid var(--tusche);
  border-radius: 10px;
  font-weight: 700;
}
.fragen-liste a::after {
  content: "\2192";
  position: absolute;
  right: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--text);
  border: 2px solid currentColor;
  border-radius: 6px;
  font-weight: 800;
}
.fragen-liste a:hover {
  color: var(--text);
  background: var(--btc-bg);
}

/* Nachpruefbar statt ueberzeugend: drei flache Notizen, gerade, ohne
   Klebestreifen, oben eine 4-px-Linie in Tusche */
.arbeit {
  gap: 28px;
  margin-top: 10px;
}
.arbeit li {
  position: relative;
  background: var(--karte);
  border: 2px solid var(--tusche);
  border-top-width: 4px;
  padding: 18px 18px 16px;
}
.arbeit b {
  font-family: var(--disp);
  font-weight: 800;
}
.arbeit li > span:last-child {
  color: var(--text);
}
.arbeit .pfad-zeichen {
  background: var(--karte);
  color: var(--text);
  border: 2px solid var(--tusche);
}
.fragen-neu .kopfzeile-neu,
.abschnitt-getoent .kopfzeile-neu:has(#arbeit-titel) {
  max-width: none;
}
#arbeit-titel {
  text-align: center;
  width: 100%;
}
.hinweis-neu a {
  color: var(--btc);
}

/* ==========================================================================
   Glossar, Werkzeugseiten, Datenseiten: was ueber die Tokens hinaus noch
   eine Hand braucht.
   ========================================================================== */
.glossar-zeile,
.reg-zeile {
  border-color: var(--linie);
}
.reg-zeichen {
  border: 2px solid var(--tusche);
  border-radius: 8px;
  background: var(--karte);
  color: var(--text);
}
/* Die anderen Werkzeuge unter einem Rechner: dieselbe kompakte Liste wie
   .rechner-gitter auf der Startseite. */
.werkzeuge {
  display: block;
  border: 2px solid var(--tusche);
  border-radius: 10px;
  background: var(--karte);
  overflow: hidden;
}
.werkzeug {
  display: grid;
  grid-template-columns: minmax(8em, 12em) minmax(0, 1fr);
  gap: 2px 14px;
  align-items: baseline;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--linie);
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: background-color 0.12s;
}
.werkzeug:last-child {
  border-bottom: 0;
}
.werkzeug span {
  margin-top: 0;
}
.werkzeug:hover {
  background: var(--karte-2);
}
@media (max-width: 560px) {
  .werkzeug {
    grid-template-columns: minmax(0, 1fr);
  }
}
.werkzeug b {
  font-family: var(--disp);
  font-weight: 800;
}

/* Abstaende zwischen den Karten. */
.lage-block {
  margin-top: 30px;
  padding: 22px;
}
div.rechner {
  gap: 24px;
}
.eingabe-spalte,
.ergebnis-spalte {
  gap: 18px;
}
/* Die Wahl in einem Rechner-Kasten ist flach: der Kasten traegt den
   Schatten. Nur der Knopf, der ein Formular abschickt, behaelt ihn. */
.eingabe-spalte .wahl,
.ergebnis-spalte .wahl,
.wahlfeld .wahl,
.karte .wahl:not(.kontakt-senden):not(.brief-senden) {
  box-shadow: none;
}

/* --- Seitenkoepfe in Nacht -------------------------------------------------
   Glossar, Datenseiten, Werkzeuge, Magazin und Rubriken: der erste Block mit
   der h1 steht auf derselben Nacht-Buehne wie der Kopf eines Beitrags. */
.huelle > .lage-kopf:first-child,
.huelle > .abschnitt:first-child:has(> h1) {
  --text: var(--nacht-text);
  --text-2: var(--nacht-matt);
  --text-3: var(--nacht-matt);
  --btc: #ffa93a;
  --linie: var(--nacht-linie);
  background: var(--nacht);
  color: var(--nacht-text);
  box-shadow: 0 0 0 100vmax var(--nacht);
  clip-path: inset(0 -100vmax);
  margin: 0 0 34px;
  padding: 30px 0 34px;
}
.huelle > .lage-kopf:first-child h1,
.huelle > .abschnitt:first-child:has(> h1) h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.06;
}
.huelle > .lage-kopf:first-child p,
.huelle > .abschnitt:first-child:has(> h1) p {
  color: var(--nacht-matt);
}
.huelle > .lage-kopf:first-child a:not(.marke-klein),
.huelle > .abschnitt:first-child:has(> h1) a:not(.marke-klein) {
  color: var(--gelb);
}
.huelle > .lage-kopf:first-child .marke-klein,
.huelle > .abschnitt:first-child:has(> h1) .marke-klein {
  color: var(--nacht-text);
}
/* Knoepfe im Nacht-Kopf (404, 410): der Grund kam aus dem hellen Thema,
   die Schrift aus der Nacht -- Sand auf Papier, 1,6:1. Jetzt beides Nacht. */
.huelle > .abschnitt:first-child:has(> h1) .wahl {
  background: var(--nacht-2);
  border-color: var(--nacht-text);
  box-shadow: 4px 4px 0 #000;
}
.huelle > .abschnitt:first-child:has(> h1) .wahl:hover {
  box-shadow: 2px 2px 0 #000;
}

/* ==========================================================================
   BEITRAGSBILDER STIL C "Farbfläche" (28.11.2026, build/kopfbild-c.mjs)
   Fläche in der Rubrikfarbe mit Punkten, Motive als Aufkleber; dieselbe
   Sprache wie die Beitragsbilder von cyberscale.dev. Die Bilder sind
   Bildinhalt und von den INTJ-Regeln (02.12.2026) ausgenommen -- nur hier
   werden --teal und --gelb noch als Fläche gebraucht.
   ========================================================================== */
.kopfbild.kopfbild-c {
  --kc-f: var(--orange);
  display: block;
  aspect-ratio: 16 / 7 !important;
  padding: 0 !important;
  background-color: var(--kc-f) !important;
  background-image: radial-gradient(circle, rgba(21, 17, 11, 0.16) 1.8px, transparent 2.4px) !important;
  background-size: 16px 16px !important;
  background-position: 4px 4px !important;
  line-height: 0;
}
.kopfbild-c[data-rubrik="Storage"] { --kc-f: var(--teal); }
.kopfbild-c[data-rubrik="Tools"] { --kc-f: var(--gelb); }
.kopfbild.kopfbild-c svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
}
.kopfbild-c .kc-schatten * {
  fill: #15110b !important;
  stroke: #15110b !important;
}
.artikel-karte.mit-bild:hover .kopfbild-c { background-color: var(--kc-f) !important; }

/* Im Beitragskopf: das Bild als Karte rechts neben dem Titel. */
.buehne:has(.kopfbild-c) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.buehne .kopfbild.kopfbild-c {
  border: 3px solid var(--nacht-text);
  border-radius: 14px;
}
@media (max-width: 760px) {
  .buehne:has(.kopfbild-c) { grid-template-columns: minmax(0, 1fr); }
  .buehne .kopfbild.kopfbild-c {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Weiterlesen-Zeilen (app-v2.css: Kachel links, Text rechts). Die Stil-C-
   Regeln oben erzwingen 16:7 und volle Breite -- in diesen Zeilen lief das
   Bild dadurch quer hinter Titel und Anriss (gemeldet 28.11.2026). Hier
   deshalb eine feste Kachel links, das Motiv mittig darin. */
.weiter-liste .artikel-karte.mit-bild {
  grid-template-columns: 132px minmax(0, 1fr);
}
.weiter-liste .artikel-karte.mit-bild .kopfbild.kopfbild-c {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 132px;
  height: 100%;
  min-height: 104px;
  aspect-ratio: auto !important;
  overflow: hidden;
  border-right: 2px solid var(--tusche);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Das 16:7-Motiv doppelt so breit wie die Kachel und mittig: die leeren
   Raender fallen weg, das Motiv fuellt die Kachel. */
.weiter-liste .artikel-karte.mit-bild .kopfbild.kopfbild-c svg {
  flex: 0 0 auto;
  width: 210% !important;
  max-width: none;
  height: auto !important;
}
@media (max-width: 420px) {
  .weiter-liste .artikel-karte.mit-bild { grid-template-columns: 104px minmax(0, 1fr); }
  .weiter-liste .artikel-karte.mit-bild .kopfbild.kopfbild-c { width: 104px; min-height: 92px; }
}

/* Steuerkalender-Kasten (30.11.2026): derselbe Kasten wie das Notfallblatt,
   aber ohne Vorschaubild -- eine Spalte. */
.notfallblatt.steuerkalender {
  grid-template-columns: 1fr;
}
/* Knopf in vollem Orange mit Nachttext wie "Rundbrief" im Kopf: --btc
   (#9a4c00) mit --btc-text ergibt nur 3,0:1. */
.notfallblatt.steuerkalender .nb-knopf {
  background: var(--orange);
  border-color: var(--nacht);
  color: var(--nacht);
}
.notfallblatt.steuerkalender .nb-knopf::before {
  content: "+";
}
@media (max-width: 560px) {
  .notfallblatt.steuerkalender {
    grid-template-columns: 1fr;
  }
  .notfallblatt.steuerkalender .nb-punkte {
    display: grid;
  }
}
