/* DonutScale — Redaktion fuer kostenlose Aegypten-Spiele. Grundlayer, Marken-Geometrie, Baender. */

/* Schriften: Google-Fonts-Dateien, vom eigenen Server ausgeliefert */
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-serif-display-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inclusive Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inclusive-sans.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --skala-blatt: #ffffff;
  --skala-bogen: #faf8f6;
  --skala-fuellung: #f1eeea;
  --skala-tinte: #141414;
  --skala-still: #5c5c5c;
  --skala-akzent: #b91c1c;
  --skala-akzent-tief: #8f1414;
  --skala-linie: #e4e0db;

  --skala-schrift-titel: "DM Serif Display", Georgia, "Times New Roman", serif;
  --skala-schrift-text: "Inclusive Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --skala-schrift-marke: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --skala-feld-breite: 1200px;
  --skala-rand: clamp(20px, 5vw, 48px);

  --kappe: 14px;
  --kerb-links: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 46' preserveAspectRatio='none'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M0 0h14v46H0z M0 15a8 8 0 0 1 0 16z'/%3E%3C/svg%3E");
  --kerb-rechts: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 46' preserveAspectRatio='none'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M0 0h14v46H0z M14 15a8 8 0 0 0 0 16z'/%3E%3C/svg%3E");
  --kerb-mitte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='2' height='2' fill='%23000'/%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  background: var(--skala-blatt);
  color: var(--skala-tinte);
  font-family: var(--skala-schrift-text);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--skala-akzent); text-underline-offset: 3px; }
a:hover { color: var(--skala-akzent-tief); }

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

h1, h2, h3, h4 {
  font-family: var(--skala-schrift-titel);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }

.skala-quelle { position: absolute; width: 0; height: 0; overflow: hidden; }
.skala-nurlesen {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skala-sprung {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--skala-tinte); color: #fff; padding: 12px 20px;
  font-family: var(--skala-schrift-marke); font-size: 12px; text-transform: uppercase;
}
.skala-sprung:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- Feld (gemeinsame Breite aller Baender) ---------- */
.skala-feld {
  width: 100%;
  max-width: calc(var(--skala-feld-breite) + var(--skala-rand) * 2);
  margin-inline: auto;
  padding-inline: var(--skala-rand);
}

.skala-band { padding-block: clamp(56px, 8vw, 96px); }
.skala-band--knapp { padding-block: clamp(44px, 6vw, 72px); }
.skala-band--weit { padding-block: clamp(64px, 10vw, 120px); }
.skala-band--bogen { background: var(--skala-bogen); }

/* ---------- Marke: Ticket-Geometrie fuer alle Aktionen ---------- */
.marke,
.spur__pfeil,
.skala-hoch,
.skala-kopf__knopf {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--skala-tinte);
  font-family: var(--skala-schrift-marke);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease;
}

.marke::before,
.spur__pfeil::before,
.skala-hoch::before,
.skala-kopf__knopf::before,
.spur-tile__kennung::before,
.skala-plan__preis::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--skala-fuellung);
  transition: background-color 0.18s ease;
  -webkit-mask-image: var(--kerb-links), var(--kerb-rechts), var(--kerb-mitte);
  -webkit-mask-size: var(--kappe) 100%, var(--kappe) 100%, calc(100% - var(--kappe) * 2) 100%;
  -webkit-mask-position: left center, right center, center;
  -webkit-mask-repeat: no-repeat;
  mask-image: var(--kerb-links), var(--kerb-rechts), var(--kerb-mitte);
  mask-size: var(--kappe) 100%, var(--kappe) 100%, calc(100% - var(--kappe) * 2) 100%;
  mask-position: left center, right center, center;
  mask-repeat: no-repeat;
}

.marke { min-height: 50px; padding: 12px 28px; }
.marke--voll { color: #fff; }
.marke--voll::before { background: var(--skala-akzent); }
.marke--voll:hover::before { background: var(--skala-akzent-tief); }
.marke--ruhig:hover::before { background: #e5e0da; }
.marke--leise::before { background: transparent; }
.marke--leise:hover::before { background: var(--skala-fuellung); }
.marke:active { transform: translateY(1px); }

/* ---------- Kopf ---------- */
.skala-kopf {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--skala-blatt);
}
.skala-kopf--geschoben { box-shadow: 0 1px 0 rgba(20, 20, 20, 0.08); }
.skala-kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.skala-zeichen {
  font-family: var(--skala-schrift-titel);
  font-size: 25px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--skala-tinte);
  text-decoration: none;
  white-space: nowrap;
}
.skala-zeichen__teil { color: var(--skala-akzent); }

.skala-kopf__weg { display: flex; align-items: center; gap: 22px; }
.skala-kopf__liste { display: flex; align-items: center; gap: 22px; list-style: none; }
.skala-kopf__glied a {
  font-family: var(--skala-schrift-marke);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--skala-tinte);
  text-decoration: none;
  padding: 6px 0;
  display: inline-block;
}
.skala-kopf__glied a:hover { color: var(--skala-akzent); }

.skala-kopf__knopf { display: none; width: 52px; height: 50px; --kappe: 12px; }
.skala-kopf__knopf svg { width: 20px; height: 20px; }
.skala-kopf__knopf .skala-kopf__x { display: none; }
.skala-kopf__knopf[aria-expanded="true"] .skala-kopf__x { display: block; }
.skala-kopf__knopf[aria-expanded="true"] .skala-kopf__balken { display: none; }

/* ---------- Lede (Auftakt) ---------- */
.skala-lede { padding-block: clamp(48px, 7vw, 92px) clamp(40px, 6vw, 76px); text-align: center; }
.skala-lede__marke,
.skala-augenbraue {
  font-family: var(--skala-schrift-marke);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--skala-still);
  margin: 0 0 22px;
}
.skala-lede__titel {
  font-size: clamp(42px, 7.4vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0 auto 24px;
  max-width: 17ch;
}
.skala-lede__titel em { font-style: normal; color: var(--skala-akzent); }
.skala-lede__text {
  max-width: 62ch;
  margin: 0 auto 32px;
  color: var(--skala-still);
  font-size: 17px;
}
.skala-lede__tasten { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.skala-schau { margin-top: clamp(40px, 6vw, 70px); }
.skala-schau__reihe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 20px);
  list-style: none;
}
.skala-schau__feld { width: clamp(52px, 7vw, 76px); }
.skala-schau__feld img { width: 100%; height: auto; border-radius: 10px; }
.skala-schau__notiz {
  font-family: var(--skala-schrift-marke);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--skala-still);
  margin: 26px 0 0;
}

/* ---------- Ueberschriften der Baender ---------- */
.skala-titel {
  font-size: clamp(30px, 4.2vw, 48px);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 20ch;
}
.skala-titel--mitte { margin-inline: auto; text-align: center; }
.skala-vorwort { max-width: 60ch; color: var(--skala-still); }
.skala-vorwort--mitte { margin-inline: auto; text-align: center; }

/* ---------- Spur: waagerechte Karten-Lauffläche ---------- */
.spur__kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.spur__steuer { display: flex; gap: 10px; }
.spur__pfeil { width: 50px; height: 50px; --kappe: 12px; }
.spur__pfeil:hover::before { background: #e5e0da; }
.spur__pfeil svg { width: 18px; height: 18px; }
.spur__pfeil[disabled] { opacity: 0.35; cursor: default; }

.spur__rahmen { width: 100%; }
.spur__gleis {
  display: flex;
  gap: 20px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  padding: 2px 0 26px;
  scrollbar-color: var(--skala-linie) transparent;
  scrollbar-width: thin;
}
.spur-tile {
  flex: 0 0 clamp(258px, 76vw, 330px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.spur-tile__bild {
  aspect-ratio: 68 / 43;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--skala-fuellung);
}
.spur-tile__bild img { width: 100%; height: 100%; object-fit: cover; }
.spur-tile__kopf { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; }
.spur-tile__zeichen { width: 46px; height: 46px; border-radius: 9px; flex: none; }
.spur-tile__kennung {
  position: relative;
  z-index: 0;
  --kappe: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 14px;
  font-family: var(--skala-schrift-marke);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--skala-still);
}
.spur-tile__name { font-size: 23px; letter-spacing: -0.025em; margin: 4px 0 6px; }
.spur-tile__haus {
  font-family: var(--skala-schrift-marke);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--skala-still);
  margin: 0 0 12px;
}
.spur-tile__text { font-size: 14.5px; color: var(--skala-still); margin-bottom: 16px; flex: 1 1 auto; }
.spur-tile__fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Sterne ---------- */
.skala-wert { position: relative; display: inline-flex; align-items: center; gap: 9px; }
.skala-sterne { position: relative; display: inline-block; width: 84px; height: 16px; line-height: 0; }
.skala-sterne__lage { width: 84px; height: 16px; display: block; color: var(--skala-linie); }
.skala-sterne__voll {
  position: absolute;
  inset: 0;
  overflow: hidden;
  line-height: 0;
}
.skala-sterne__voll .skala-sterne__lage { color: var(--skala-akzent); }
.skala-sterne--w38 .skala-sterne__voll { width: 76%; }
.skala-sterne--w39 .skala-sterne__voll { width: 78%; }
.skala-sterne--w40 .skala-sterne__voll { width: 80%; }
.skala-sterne--w41 .skala-sterne__voll { width: 82%; }
.skala-sterne--w42 .skala-sterne__voll { width: 84%; }
.skala-sterne--w43 .skala-sterne__voll { width: 86%; }
.skala-sterne--w44 .skala-sterne__voll { width: 88%; }
.skala-sterne--w45 .skala-sterne__voll { width: 90%; }
.skala-sterne--w46 .skala-sterne__voll { width: 92%; }
.skala-sterne--w49 .skala-sterne__voll { width: 98%; }
.skala-wert__zahl {
  font-family: var(--skala-schrift-marke);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Neuzugaenge ---------- */
.skala-lauf { list-style: none; width: 100%; }
.skala-lauf__glied { padding: 22px 0; display: grid; gap: 6px 32px; }
.skala-lauf__glied + .skala-lauf__glied { border-top: 1px solid var(--skala-linie); }
.skala-lauf__stempel {
  font-family: var(--skala-schrift-marke);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--skala-still);
}
.skala-lauf__titel { font-size: 21px; letter-spacing: -0.02em; }
.skala-lauf__text { color: var(--skala-still); font-size: 15px; margin: 0; }

/* ---------- Auflage: Vergleichstabelle ---------- */
.auflage-rolle { width: 100%; overflow-x: auto; }
.auflage {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
  min-width: 720px;
}
.auflage caption {
  text-align: left;
  font-family: var(--skala-schrift-marke);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--skala-still);
  padding-bottom: 18px;
}
.auflage th, .auflage td { padding: 15px 18px; vertical-align: top; }
.auflage thead th {
  font-family: var(--skala-schrift-marke);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--skala-still);
  border-bottom: 1px solid var(--skala-tinte);
  white-space: nowrap;
}
.auflage-row:nth-child(odd) { background: var(--skala-bogen); }
.auflage-row__kopf {
  font-family: var(--skala-schrift-text);
  font-weight: 600;
  font-size: 15px;
  color: var(--skala-tinte);
}
.auflage-row__cell { color: var(--skala-still); }
.auflage-row__cell--ja { color: var(--skala-tinte); display: flex; align-items: center; gap: 8px; }
.auflage-row__cell svg { width: 15px; height: 15px; color: var(--skala-akzent); flex: none; }
.auflage-notiz { max-width: 66ch; color: var(--skala-still); font-size: 14.5px; margin-top: 22px; }

/* ---------- Plaene ---------- */
.skala-plan__paar { display: grid; gap: 26px; width: 100%; }
.skala-plan__blatt { background: var(--skala-bogen); border-radius: 8px; padding: clamp(26px, 3.4vw, 40px); }
.skala-plan__blatt--plus { background: var(--skala-fuellung); }
.skala-plan__stufe {
  font-family: var(--skala-schrift-marke);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--skala-still);
  margin: 0 0 14px;
}
.skala-plan__preis {
  position: relative;
  z-index: 0;
  --kappe: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 20px;
  margin-bottom: 20px;
  font-family: var(--skala-schrift-titel);
  font-size: 34px;
  letter-spacing: -0.02em;
}
.skala-plan__preis::before { background: var(--skala-blatt); }
.skala-plan__preis span {
  font-family: var(--skala-schrift-marke);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--skala-still);
}
.skala-plan__punkte { list-style: none; margin: 0 0 26px; display: grid; gap: 11px; }
.skala-plan__punkte li { display: flex; gap: 11px; font-size: 15px; color: var(--skala-still); }
.skala-plan__punkte svg { width: 15px; height: 15px; margin-top: 5px; flex: none; color: var(--skala-akzent); }
.skala-plan__hinweis { font-size: 13.5px; color: var(--skala-still); margin: 16px 0 0; max-width: 46ch; }
.skala-plan__klarstellung { max-width: 68ch; color: var(--skala-still); font-size: 15px; margin-top: 34px; }

/* ---------- FAQ ---------- */
.skala-frage__liste { width: 100%; }
.skala-frage__stueck { padding: 4px 0; }
.skala-frage__stueck + .skala-frage__stueck { border-top: 1px solid var(--skala-linie); }
.skala-frage__kopf {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--skala-schrift-titel);
  font-size: clamp(19px, 2.2vw, 24px);
  letter-spacing: -0.02em;
  min-height: 48px;
}
.skala-frage__kopf::-webkit-details-marker { display: none; }
.skala-frage__zeichen { flex: none; width: 18px; height: 18px; color: var(--skala-akzent); transition: transform 0.2s ease; }
.skala-frage__stueck[open] .skala-frage__zeichen { transform: rotate(45deg); }
.skala-frage__wort { max-width: 74ch; color: var(--skala-still); font-size: 15.5px; padding-bottom: 22px; }

/* ---------- Stimmen ---------- */
.skala-stimme__saal { display: grid; gap: 22px; width: 100%; }
.skala-stimme__blatt { background: var(--skala-blatt); border-radius: 8px; padding: 26px 28px; }
.skala-stimme__zitat { font-size: 16px; margin: 14px 0 18px; }
.skala-stimme__zitat--gross { font-family: var(--skala-schrift-titel); font-size: clamp(21px, 2.6vw, 27px); line-height: 1.24; letter-spacing: -0.02em; }
.skala-stimme__wer {
  font-family: var(--skala-schrift-marke);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--skala-still);
  font-style: normal;
}
.skala-stimme__wer b { color: var(--skala-tinte); font-weight: 500; }
.skala-stimme__quelle { color: var(--skala-still); font-size: 13.5px; max-width: 70ch; margin-top: 26px; }

/* ---------- Methode ---------- */
.skala-methode__folge { list-style: none; counter-reset: schritt; display: grid; gap: 30px; width: 100%; }
.skala-methode__schritt { counter-increment: schritt; display: grid; gap: 4px 26px; }
.skala-methode__schritt::before {
  content: counter(schritt, decimal-leading-zero);
  font-family: var(--skala-schrift-marke);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--skala-akzent);
}
.skala-methode__marke { font-family: var(--skala-schrift-titel); font-size: 22px; letter-spacing: -0.02em; }
.skala-methode__wort { color: var(--skala-still); font-size: 15px; margin: 0; max-width: 62ch; }

/* ---------- Projekt ---------- */
.skala-projekt__satz { display: grid; gap: 34px; width: 100%; }
.skala-projekt__text { max-width: 62ch; color: var(--skala-still); }
.skala-projekt__akte { list-style: none; display: grid; gap: 14px; }
.skala-projekt__akte div { display: grid; gap: 3px; }
.skala-projekt__akte dt {
  font-family: var(--skala-schrift-marke);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--skala-still);
}
.skala-projekt__akte dd { margin: 0; font-size: 15.5px; }

/* ---------- Fuss ---------- */
.skala-fuss { background: var(--skala-bogen); padding-block: clamp(48px, 6vw, 76px) 34px; }
.skala-fuss__satz { display: grid; gap: 36px; }
.skala-fuss__spalte h2, .skala-fuss__spalte h3 {
  font-family: var(--skala-schrift-marke);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--skala-still);
  margin: 0 0 16px;
}
.skala-fuss__liste { list-style: none; display: grid; gap: 10px; }
.skala-fuss__liste a { color: var(--skala-tinte); text-decoration: none; font-size: 14.5px; }
.skala-fuss__liste a:hover { color: var(--skala-akzent); }
.skala-fuss__wort { color: var(--skala-still); font-size: 14.5px; max-width: 42ch; }
.skala-fuss__unten {
  margin-top: 44px;
  padding-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-family: var(--skala-schrift-marke);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--skala-still);
}

/* ---------- Hinweis (Cookies) ---------- */
.skala-hinweis {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 50;
  width: min(100% - 24px, 880px);
  background: var(--skala-tinte);
  color: #f4f2ef;
  padding: 22px 24px;
  border-radius: 8px;
  display: none;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.skala-hinweis--sichtbar { display: flex; }
.skala-hinweis__wort { font-size: 13.5px; margin: 0; flex: 1 1 320px; color: #ddd9d4; }
.skala-hinweis__wort a { color: #fff; }
.skala-hinweis__tasten { display: flex; gap: 10px; flex-wrap: wrap; }
.skala-hinweis .marke { min-height: 46px; padding: 10px 22px; }
.skala-hinweis .marke--ruhig { color: var(--skala-tinte); }
.skala-hinweis .marke--leise { color: #f4f2ef; }
.skala-hinweis .marke--leise::before { background: #333; }
.skala-hinweis .marke--leise:hover::before { background: #444; }

/* ---------- Nach oben ---------- */
.skala-hoch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 52px;
  height: 52px;
  --kappe: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.skala-hoch::before { background: var(--skala-tinte); }
.skala-hoch { color: #fff; }
.skala-hoch--da { opacity: 1; visibility: visible; }
.skala-hoch svg { width: 18px; height: 18px; }

/* ---------- Rechtsseiten ---------- */
.skala-recht { padding-block: clamp(44px, 6vw, 76px) clamp(56px, 8vw, 96px); }
.skala-recht__titel { font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.03em; margin-bottom: 14px; }
.skala-recht__stempel {
  font-family: var(--skala-schrift-marke);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--skala-still);
  margin-bottom: 34px;
}
.skala-recht__text { max-width: 74ch; }
.skala-recht__text h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.025em; margin: 42px 0 14px; }
.skala-recht__text h3 { font-size: 19px; margin: 28px 0 10px; }
.skala-recht__text p, .skala-recht__text li { color: var(--skala-still); font-size: 15.5px; }
.skala-recht__text ul { padding-left: 20px; margin: 0 0 1.1em; }
.skala-recht__text li { margin-bottom: 7px; }
.skala-recht__zurueck { margin-top: 44px; }

/* ---------- 404 ---------- */
.skala-leer { padding-block: clamp(70px, 12vw, 150px); text-align: center; }
.skala-leer__zahl { font-family: var(--skala-schrift-titel); font-size: clamp(72px, 16vw, 168px); line-height: 0.85; letter-spacing: -0.05em; color: var(--skala-akzent); margin: 0 0 20px; }
.skala-leer__wort { max-width: 52ch; margin: 0 auto 30px; color: var(--skala-still); }

/* ---------- Breiten ---------- */
@media (min-width: 640px) {
  .skala-lauf__glied { grid-template-columns: 150px 1fr; }
  .skala-lauf__stempel { padding-top: 5px; }
  .skala-methode__schritt { grid-template-columns: 54px 1fr; }
  .skala-methode__schritt::before { padding-top: 6px; }
  .skala-methode__marke { grid-column: 2; }
  .skala-methode__wort { grid-column: 2; }
  .skala-stimme__saal { grid-template-columns: repeat(2, 1fr); }
  .skala-stimme__blatt--breit { grid-column: 1 / -1; }
}

@media (min-width: 860px) {
  .skala-plan__paar { grid-template-columns: 1fr 1.08fr; align-items: start; }
  .skala-projekt__satz { grid-template-columns: 1.4fr 1fr; gap: 60px; }
  .skala-fuss__satz { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
  .auflage { min-width: 0; }
}

@media (min-width: 1080px) {
  .skala-stimme__saal { grid-template-columns: repeat(3, 1fr); }
  .skala-stimme__blatt--breit { grid-column: span 2; }
}

@media (max-width: 1079px) {
  .skala-kopf__knopf { display: inline-flex; }
  .skala-kopf__weg {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--skala-blatt);
    padding: 8px var(--skala-rand) 30px;
    display: none;
    box-shadow: 0 12px 20px rgba(20, 20, 20, 0.06);
  }
  .skala-kopf__weg--offen { display: block; }
  .skala-kopf__liste { flex-direction: column; align-items: flex-start; gap: 2px; }
  .skala-kopf__glied { width: 100%; }
  .skala-kopf__glied a { padding: 14px 0; font-size: 13px; width: 100%; }
  .skala-kopf__innen { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Ankerziele unter der klebenden Kopfzeile */
[id] { scroll-margin-top: 104px; }


code, pre { overflow-wrap: anywhere; word-break: break-word; }
