/* ==========================================================================
   Harmonica Cheatsheet — Website
   Ein Stylesheet, keine Abhaengigkeiten, keine externen Requests.

   Die Farben kommen aus dem Produkt: Das Orange ist aus der Store-Grafik der App
   gemessen (#F0681A), das Blau ist die Ringfarbe des Grundtons aus der Tabelle
   (#009EE2). Orange gehoert der Marke und den Aktionen, Blau der Information -
   und die Diagramme behalten ihre eigene Farbsprache, damit man sie nicht mit
   Website-Deko verwechselt.
   ========================================================================== */

/* --- Schriften: selbst gehostet. Kein Google-Fonts-Aufruf, also auch keine
       Uebertragung von IP-Adressen an Dritte und kein Cookie-Banner. -------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin.woff2?v=65449f16") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Faustina";
  src: url("../assets/fonts/faustina-latin.woff2?v=c83f5f46") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../assets/fonts/plexmono-400-latin.woff2?v=bb87500e") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Token ---------------------------------------------------------------- */
:root {
  --ground: #0a0907;
  --ground-2: #12100e;
  --ground-3: #191613;
  --hairline: #2a2622;
  --hairline-lit: #3d3730;
  --ink: #f2efea;
  --ink-2: #aaa49b;
  --ink-3: #8a847b;
  --flame: #f0681a;
  --flame-lit: #ff8a45;
  --flame-dim: rgba(240, 104, 26, 0.14);
  --reed: #009ee2;
  --reed-lit: #62c6f2;

  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Faustina", Georgia, "Times New Roman", serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 74rem;
  --prose: 38rem;
  --radius: 4px;
  --step: 1.5rem;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* --- Basis ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 48rem) {
  body { font-size: 1.125rem; }
}

img,
svg { max-width: 100%; }

img { height: auto; }

a {
  color: var(--flame-lit);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(255, 138, 69, 0.45);
  transition: color 0.15s var(--ease), text-decoration-color 0.15s var(--ease);
}

a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--flame-lit);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--flame);
  color: #0a0907;
}

/* --- Typografie ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.034em;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  letter-spacing: -0.028em;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h4 {
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.15em; }

strong { font-weight: 600; }

/* **Betonung ohne Kursive.** Von Faustina liegt hier nur der aufrechte Schnitt; ein `em` wuerde
   der Browser sonst schraeg stellen, und eine gerechnete Schraege sieht bei einer Serifenschrift
   nach Fehler aus. Die Betonung kommt deshalb aus Gewicht und Helligkeit. */
em {
  font-style: normal;
  font-weight: 560;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1.4rem;
  display: block;
}

.eyebrow--flame { color: var(--flame); }

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
}

@media (min-width: 48rem) {
  .lead { font-size: 1.3rem; }
}

.muted { color: var(--ink-2); }

.small {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Tabulatur-Schreibweise: echte Daten, deshalb dicktengleich gesetzt. */
.tab {
  font-family: var(--mono);
  font-size: 0.95em;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--ground-3);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 0.08em 0.4em;
  white-space: nowrap;
}

.deg {
  font-family: var(--mono);
  font-size: 0.95em;
  color: var(--reed-lit);
  white-space: nowrap;
}

/* Die ausgestellte Tab-Zeile auf der Startseite. Sie ist das "Vorher" eines
   Vorher/Nachher und muss deshalb wie ein Zitat gesetzt sein, nicht wie ein
   Absatz - vorher stand sie ohne jede Regel im Fliesstext und ging unter. */
.tabline {
  font-family: var(--mono);
  font-size: clamp(1.35rem, 4.2vw, 2rem);
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: var(--ground-2);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--hairline-lit);
  border-radius: 0 8px 8px 0;
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 3vw, 1.75rem);
  margin: 0 0 1.75rem;
  max-width: var(--prose);
  overflow-x: auto;
  white-space: nowrap;
}

/* --- Layout --------------------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

@media (min-width: 48rem) {
  .wrap { width: min(100% - 5rem, var(--wrap)); }
}

.prose { max-width: var(--prose); }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }

.section + .section { border-top: 1px solid var(--hairline); }

.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.section__head h2 { max-width: 22ch; }

.section__head p { max-width: var(--prose); margin-top: 1rem; }

/* --- Kopfzeile ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  min-height: 4rem;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  flex-shrink: 0;
}

.brand:hover { color: var(--ink); }

.brand__mark {
  flex: 0 0 auto;
  border-radius: 6px;
}

/* Auf schmalen Bildschirmen rutscht die Navigation in eine eigene Zeile, statt zu
   verschwinden: Ohne sie fuehrt vom Handy aus kein Weg von einer Anleitung zur naechsten. */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  order: 3;
  flex-basis: 100%;
  margin-top: -0.5rem;
  padding-bottom: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

@media (min-width: 60rem) {
  .site-nav {
    order: 0;
    flex-basis: auto;
    gap: 1.5rem;
    margin-top: 0;
    padding-bottom: 0;
    overflow: visible;
  }
}

.site-nav a {
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  padding-block: 0.5rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }

.lang-switch {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  border: 1px solid var(--hairline-lit);
  border-radius: var(--radius);
  padding: 0.35rem 0.55rem;
  white-space: nowrap;
}

.lang-switch:hover { color: var(--ink); border-color: var(--ink-3); }

/* --- Knoepfe -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease),
    color 0.15s var(--ease);
}

.btn--primary {
  background: var(--flame);
  color: #14100c;
}

.btn--primary:hover { background: var(--flame-lit); color: #14100c; }

.btn--ghost {
  border-color: var(--hairline-lit);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover { border-color: var(--ink-3); color: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* --- Hero ----------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }

.hero__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

@media (min-width: 62rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
  }
}

/* **Auf dem Telefon kommt die Karte vor dem Verkaufstext.** Wer die Seite auf einem
   Handy oeffnet, soll das Diagramm sehen, bevor er scrollt - es ist das Produkt. Die
   Reihenfolge wird deshalb umgestellt: Ueberschrift, Karte, dann Beschreibung und Knopf.
   `display: contents` loest dafuer das Zweispalten-Raster auf, ohne das Markup zu
   verbiegen. */
@media (max-width: 47.99rem) {
  .hero { padding-block: 1.75rem 1.25rem; }
  .hero > .wrap { display: flex; flex-direction: column; }
  .hero__grid { display: contents; }
  .hero__grid > div:first-child { order: 1; }
  .map { order: 2; margin-top: 1.5rem; }
  .hero__aside { order: 3; margin-top: 1.75rem; }
  .hero .eyebrow { margin-bottom: 0.8rem; }
  .hero .btn-row { margin-top: 1.25rem; }
}

/* Die Ueberschrift war auf einem 412px-Telefon so gross, dass sie allein einen halben
   Bildschirm fuellte. */
@media (max-width: 47.99rem) {
  .hero h1 { font-size: 2.15rem; line-height: 1.02; max-width: none; }
  .hero .lead { font-size: 1.0625rem; }
  .btn { min-height: 2.75rem; padding: 0.7rem 1.15rem; font-size: 0.95rem; }
}

.hero h1 { max-width: 15ch; }

.hero__aside { max-width: var(--prose); }

.hero__aside .lead { margin-bottom: 0; }

/* --- Die Karte: das Diagramm mit seiner Funktionsleiste ------------------- */
.map {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Siehe die Anmerkung oben am Hero: auf dem Telefon zaehlt jeder Pixel, den das
   Diagramm frueher anfaengt. Diese Regel muss hinter der obigen stehen, sonst
   gewinnt bei gleicher Spezifitaet die spaetere. */
@media (max-width: 47.99rem) {
  .map { margin-top: 1.75rem; }
}

.sheet {
  background: #fff;
  border-radius: 10px;
  padding: clamp(0.35rem, 1.5vw, 1rem);
}

.sheet > svg,
.sheet > img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Die Bedienleiste der Karte -------------------------------------------------------- */
/* Ohne JavaScript ist sie ausgeblendet; das Diagramm bleibt dann ein lesbares Bild. */
.controls[hidden] { display: none; }

.controls {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem 1.1rem;
  background: var(--ground-2);
  border: 1px solid var(--hairline);
  border-radius: 8px;
}

.controls__hint {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 0.9rem;
}

.controls__hint::before {
  content: "↓";
  color: var(--flame);
  margin-right: 0.6em;
}

.controls__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  align-items: flex-end;
}

.field { display: grid; gap: 0.35rem; }

.field__label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field select {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--ground-3);
  border: 1px solid var(--hairline-lit);
  border-radius: var(--radius);
  padding: 0.6rem 0.7rem;
  min-height: 2.75rem;
  min-width: 7.5rem;
  cursor: pointer;
}

.field select:hover { border-color: var(--ink-3); }

.toggle { display: flex; }

.toggle button {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  background: var(--ground-3);
  color: var(--ink-2);
  border: 1px solid var(--hairline-lit);
  cursor: pointer;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.toggle button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.toggle button:last-child { border-radius: 0 var(--radius) var(--radius) 0; margin-left: -1px; }
.toggle button:hover { color: var(--ink); }

.toggle button[aria-pressed="true"] {
  background: var(--flame-dim);
  border-color: var(--flame);
  color: var(--flame-lit);
  position: relative;
  z-index: 1;
}

.scales {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}

.scale {
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  min-height: 2.5rem;
  padding: 0.55rem 0.8rem;
  background: var(--ground-3);
  color: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease),
    background-color 0.15s var(--ease);
}

.scale:hover { color: var(--ink); border-color: var(--hairline-lit); }

.scale[aria-pressed="true"] {
  background: var(--flame-dim);
  border-color: var(--flame);
  color: var(--flame-lit);
}

.map__caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 66ch;
  min-height: 3.2em;
}

.map__caption b { color: var(--ink); font-weight: 600; }

/* Sobald das Skript laeuft, sind die Felder anfassbar - genau wie in der App. */
.map--live .harp-diagram .c { cursor: pointer; }

/* Der Zeigefinger allein sagt niemandem, dass hier etwas passiert. Auf Geraeten
   mit echtem Zeiger bekommt das Feld unter der Maus deshalb die Ringfarbe des
   Grundtons als Kontur - CSS schlaegt das Praesentationsattribut im SVG.
   `hover: hover` haelt das von Touch fern, wo ein Hover-Zustand kleben bliebe. */
@media (hover: hover) {
  .map--live .harp-diagram .c:hover .cell {
    stroke: var(--reed);
    stroke-width: 5;
  }
}

.harp-diagram .cell,
.harp-diagram .ring,
.harp-diagram .diamond,
.harp-diagram .ovl,
.harp-diagram .harp-title {
  transition: fill 0.18s var(--ease), stroke 0.18s var(--ease), opacity 0.18s var(--ease);
}

/* --- Abbildungen ---------------------------------------------------------- */
figure {
  margin: clamp(2rem, 4vw, 3rem) 0;
}

figcaption {
  margin-top: 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}

figcaption b { color: var(--ink); font-weight: 600; }

/* --- Karten und Raster ---------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 44rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--ground-2);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.card h3 { margin-bottom: 0.6rem; }

.card p:last-child { margin-bottom: 0; }

.card__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--flame);
  display: block;
  margin-bottom: 0.9rem;
}

/* --- Merkmalliste --------------------------------------------------------- */
.specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

@media (min-width: 44rem) {
  .specs { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}

.specs li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.specs dfn,
.specs b {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-style: normal;
  font-weight: 400;
  padding-top: 0.2em;
}

.specs span { color: var(--ink); }

/* --- Frage-und-Antwort ---------------------------------------------------- */
.qa {
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.qa:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }

.qa h3 {
  color: var(--ink);
  margin-bottom: 0.55rem;
}

.qa p { color: var(--ink-2); max-width: 62ch; }

.qa p:last-child { margin-bottom: 0; }

.qa strong { color: var(--ink); }

/* --- Hinweiskasten -------------------------------------------------------- */
.note {
  border-left: 2px solid var(--flame);
  padding: 0.15rem 0 0.15rem 1.25rem;
  margin: 2rem 0;
  max-width: var(--prose);
}

.note p:last-child { margin-bottom: 0; }

.note__title {
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}

/* --- Uebung --------------------------------------------------------------- */
.drill {
  background: var(--ground-2);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--reed);
  border-radius: 0 8px 8px 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  margin: 2.5rem 0;
  max-width: var(--prose);
}

.drill h3 { margin-bottom: 0.75rem; }

.drill ol { margin: 0; padding-left: 1.2rem; }

.drill li { margin-bottom: 0.5rem; }

.drill li:last-child { margin-bottom: 0; }

/* --- Play-Karte ----------------------------------------------------------- */
.store {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  background: var(--ground-2);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.store__icon {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  flex: 0 0 auto;
}

.store__body { flex: 1 1 18rem; }

.store__body h3 { margin-bottom: 0.4rem; }

.store__price {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 1.1rem;
}

/* Der Preis stand bisher genau so gross wie der Satz, in dem er steht. Bei einer
   kostenpflichtigen App ist das keine Bescheidenheit, sondern Verstecken: Wer den
   Betrag nicht findet, klickt nicht auf "Kaufen". */
.store__price b {
  color: var(--ink);
  font-weight: 500;
  font-size: 1.45em;
  letter-spacing: -0.02em;
}

.store--inline {
  margin-block: clamp(2.5rem, 5vw, 3.5rem);
}

/* --- Weiterlesen ---------------------------------------------------------- */
.related {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.related li { border-bottom: 1px solid var(--hairline); }

.related a {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 0;
  text-decoration: none;
  color: var(--ink);
}

.related a:hover .related__title { color: var(--flame-lit); }

.related__title {
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  transition: color 0.15s var(--ease);
}

.related__desc { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; }

/* --- Artikelkopf ---------------------------------------------------------- */
.article-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }

.article-head h1 { max-width: 20ch; font-size: clamp(2.1rem, 5vw, 3.6rem); }

.article-head .lead { margin-top: 1.5rem; max-width: var(--prose); }

.byline {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}

.byline a { color: var(--ink-2); }

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 1.75rem;
}

.breadcrumb a { color: var(--ink-3); text-decoration: none; }

.breadcrumb a:hover { color: var(--ink); }

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb li + li::before { content: "/ "; color: var(--hairline-lit); }

/* Fliesstext eines Artikels */
.article h2 {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 1.1rem;
  max-width: 24ch;
}

.article h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.article p,
.article ul,
.article ol { max-width: var(--prose); }

.article ul,
.article ol { padding-left: 1.2rem; }

.article li { margin-bottom: 0.5rem; }

.article figure { max-width: none; }

/* --- Tabelle im Fliesstext ------------------------------------------------ */
.table-scroll { overflow-x: auto; margin: 2rem 0; }

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 30rem;
  font-size: 0.9375rem;
}

th, td {
  text-align: left;
  padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
  border-bottom-color: var(--hairline-lit);
}

td { color: var(--ink-2); }

td:first-child { color: var(--ink); }

/* **Die Harp-Tabelle: 13 Spalten, die auf kein Telefon passen.** Sie scrollt deshalb waagerecht
   in ihrem eigenen Kasten - und die erste Spalte, die Tonart des Stuecks, bleibt dabei stehen.
   Ohne das scrollt man nach rechts und weiss nicht mehr, in welcher Zeile man liest.

   `position: sticky` braucht einen eigenen Untergrund, sonst scheint die scrollende Tabelle
   durch; die Trennlinie nach rechts kommt als `box-shadow`, weil ein `border` bei
   `border-collapse: collapse` mitscrollen wuerde. */
.harp-picker {
  min-width: 44rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  border-collapse: collapse;
}

.harp-picker caption {
  caption-side: bottom;
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
  text-align: left;
  padding-top: 1rem;
  max-width: var(--prose);
}

.harp-picker th,
.harp-picker td {
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.harp-picker thead th { font-size: 0.65rem; letter-spacing: 0.08em; }

.harp-picker th[scope="row"] {
  position: sticky;
  left: 0;
  background: var(--ground);
  box-shadow: 1px 0 0 var(--hairline);
  text-align: left;
  padding-left: 0;
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.harp-picker td { color: var(--ink-2); }

/* Die vier Positionen, nach denen tatsaechlich gefragt wird. Ohne diese Hervorhebung ist die
   Tabelle 144 gleich aussehende Buchstaben, und die Antwort auf die haeufigste Frage - "zweite
   Position, welche Harp?" - muss man sich suchen. */
.harp-picker .pos-common { background: var(--ground-2); }

.harp-picker td.pos-common { color: var(--ink); }

.harp-picker thead th.pos-common { color: var(--flame); }

/* --- Fusszeile ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 44rem) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.site-footer h2 {
  font-size: 0.7rem;
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin-bottom: 0.45rem; }

.site-footer a { color: var(--ink-2); text-decoration: none; }

.site-footer a:hover { color: var(--ink); text-decoration: underline; }

.colophon {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.875rem;
  color: var(--ink-3);
  max-width: 62ch;
}

/* --- Sprungmarke ---------------------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--flame);
  color: #14100c;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-family: var(--display);
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}

.skip:focus { left: 0; }

/* --- Bewegung ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Druck ---------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .controls, .btn-row { display: none; }
  a { color: #000; }
}

/* ── Teaser-Video ─────────────────────────────────────────────────────────
   Hochformat wie das Short. Bis zum Tipp nur ein lokales Vorschaubild, siehe js/video.js. */
.video { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 760px) { .video { grid-template-columns: 1fr minmax(240px, 320px); } }
.video__player { width: 100%; max-width: 320px; aspect-ratio: 9 / 16; justify-self: center;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--hairline-lit);
  background: radial-gradient(circle at 50% 38%, var(--ground-3), var(--ground) 70%); }
.video__poster { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 1.5rem; text-align: center; color: var(--ink); font-family: var(--display); }
.video__poster:focus-visible { outline: 2px solid var(--reed-lit); outline-offset: -4px; }
.video__icon { width: 96px; height: 96px; border-radius: 22px; }
.video__play { width: 64px; height: 64px; border-radius: 50%; background: var(--flame);
  display: grid; place-items: center; transition: background .2s; }
.video__poster:hover .video__play { background: var(--flame-lit); }
.video__play::before { content: ""; margin-left: 5px; border-style: solid;
  border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #14100c; }
.video__label { font-size: 1.05rem; font-weight: 600; }
.video__note { font-family: var(--body); font-size: .8rem; color: var(--ink-3); max-width: 24ch; }
.video__frame { width: 100%; height: 100%; border: 0; display: block; }
