/* ─────────────────────────────────────────────────────────────
   nowa · Blog
   Nur auf Blogseiten, zusätzlich zu style.css. Farben aus den Tokens dort und aus
   der App (Tinten der Techniken, nowa_tokens.dart); im Dunkelmodus des Systems die
   Nacht-Tokens der App. Für Telefone gelten die Regeln aus der README: keine
   Weichzeichner, keine Mischmodi, keine grossen weichen Schatten, Text nur mit
   2D-translate bewegen. Animationen laufen nur, solange sie zu sehen sind (js/blog.js).
   ───────────────────────────────────────────────────────────── */

:root.blog {
  /* Tinten der Techniken wie in der App: Grundton, Schrift auf hellem Grund, Fläche */
  --t-ruhe: #4F74CD;    --t-ruhe-s: #3862C5;    --t-ruhe-f: #EDF1FA;
  --t-fokus: #63B5EF;   --t-fokus-s: #116BAA;   --t-fokus-f: #EFF8FD;
  --t-schlaf: #1589C2;  --t-schlaf-s: #116D9B;  --t-schlaf-f: #E8F3F9;
  --t-tiefe: #199998;   --t-tiefe-s: #137271;   --t-tiefe-f: #E8F5F5;
  --t-buteyko: #46B9BE; --t-buteyko-s: #297275; --t-buteyko-f: #EDF8F9;
  --t-duett: #8FA3E4;
  /* Tinte des Artikels (setzt die Seite über data-tinte am <body>) */
  --t: var(--t-ruhe); --t-s: var(--t-ruhe-s); --t-f: var(--t-ruhe-f);
  --kugel-innen: rgba(124, 152, 222, 0.95);
  --kugel-aussen: rgba(178, 196, 238, 0.0);
  --karte-blog: rgba(255, 255, 255, 0.66);
  --hinweis: #FBF4E6;
  --hinweis-rand: #E9D3A6;
  --schatten-karte: 0 1px 0 rgba(31, 29, 25, 0.04);
  color-scheme: light;
}
body[data-tinte="fokus"]   { --t: var(--t-fokus);   --t-s: var(--t-fokus-s);   --t-f: var(--t-fokus-f); }
body[data-tinte="schlaf"]  { --t: var(--t-schlaf);  --t-s: var(--t-schlaf-s);  --t-f: var(--t-schlaf-f); }
body[data-tinte="tiefe"]   { --t: var(--t-tiefe);   --t-s: var(--t-tiefe-s);   --t-f: var(--t-tiefe-f); }
body[data-tinte="buteyko"] { --t: var(--t-buteyko); --t-s: var(--t-buteyko-s); --t-f: var(--t-buteyko-f); }
body[data-tinte="duett"]   { --t: var(--t-duett);   --t-s: var(--duett-du);    --t-f: #EEF1FB; }

/* Dunkelmodus: die Nachtfarben der App (nightPaper, nightInk …) */
@media (prefers-color-scheme: dark) {
  :root.blog {
    color-scheme: dark;
    --paper: #191713; --ink: #EDE6DA; --ink-2: #C8BFB0; --ink-3: #A09787; --line: #332E26;
    --night: 1;
    --karte: rgba(255, 255, 255, 0.045); --karte-blog: rgba(255, 255, 255, 0.05);
    --feld: #221F1A; --still: rgba(237, 230, 218, 0.08);
    --accent: #A9BCEC; --indigo: #9EB3E4;
    --t-ruhe: #9EB3E4;    --t-ruhe-s: #A9BCEC;    --t-ruhe-f: #1F2229;
    --t-fokus: #7FC2F2;   --t-fokus-s: #8FCAF4;   --t-fokus-f: #222A2D;
    --t-schlaf: #5CBEED;  --t-schlaf-s: #6CC5EF;  --t-schlaf-f: #192528;
    --t-tiefe: #21C9C8;   --t-tiefe-s: #3FD0CF;   --t-tiefe-f: #192723;
    --t-buteyko: #6EC8CC; --t-buteyko-s: #7DCED1; --t-buteyko-f: #1E2A28;
    --duett-du: #8FA3E4; --duett-partner: #4FC0B4;
    --kugel-innen: rgba(140, 162, 232, 0.9);
    --kugel-aussen: rgba(90, 110, 190, 0.0);
    --hinweis: #2A241A; --hinweis-rand: #5A4A2C;
    --schatten-karte: none;
  }
  .blog .brand img { box-shadow: none; }
}

/* ───────────── Grundgerüst ───────────── */
.sprung { position: absolute; left: -9999px; top: 0; z-index: 50; }
.sprung:focus { left: 16px; top: calc(12px + env(safe-area-inset-top)); padding: 10px 16px; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2px var(--accent); }
.vorschau-hinweis { white-space: nowrap; position: fixed; z-index: 30; left: 50%; bottom: 14px; translate: -50% 0; margin: 0; padding: 6px 14px; border-radius: 999px; background: #E2A64C; color: #1F1D19; font: 700 12px/1.3 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.blog .doc { max-width: 47rem; }
.blog .doc p, .blog .doc ul, .blog .doc ol { text-wrap: pretty; }
.blog .doc h2 { scroll-margin-top: 96px; text-wrap: balance; }
.blog .doc h3 { margin: 34px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.blog .doc ol { padding-left: 1.3em; margin: 14px 0 0; color: var(--ink-2); line-height: 1.7; }
.blog .doc ol li + li { margin-top: 8px; }
.blog .doc strong { color: var(--ink); font-weight: 700; }
.blog .doc a:focus-visible, .blog button:focus-visible, .blog summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.blog .doc__back { margin-bottom: 0; }

.blog .doc .krumen { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 30px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.krumen li + li::before { content: "›"; margin-right: 6px; color: var(--ink-3); }
.blog .doc .krumen a { color: var(--ink-2); text-decoration: none; }
.blog .doc .krumen a:hover { color: var(--accent); }
.blog .doc .krumen li { margin: 0; }

.etikett { margin: 0 0 14px; font-family: var(--f-body); font-weight: 700; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-s); }
.etikett span { color: var(--ink-3); }
.blog .doc h1 { text-wrap: balance; }
.artikel__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 22px 0 0; font-size: 14.5px; color: var(--ink-3); }
.artikel__meta img { width: 30px; height: 30px; border-radius: 50%; }
.blog .doc .artikel__meta a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
.blog .doc .artikel__meta a:hover { color: var(--accent); }

/* Titelbild: das Motiv des Artikels, die Linien ziehen sich einmal selbst */
.held { margin: 30px 0 0; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--t-f) 60%, transparent), var(--t-f)); }
.held__motiv { display: block; width: 100%; height: auto; max-height: 300px; }
.held .zeichnen { stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichnen 2.6s var(--ease-out) 0.3s forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .held .zeichnen { animation: none; stroke-dashoffset: 0; } }

/* ───────────── Kernaussagen, Inhalt, Hinweise ───────────── */
.kern { margin: 36px 0 0; padding: 24px 26px 26px; border-radius: 24px; background: var(--t-f); box-shadow: var(--schatten-karte); }
.kern h2 { margin: 0 !important; font-family: var(--f-body) !important; font-weight: 700 !important; font-size: 11.5px !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: var(--t-s); }
.blog .doc .kern ul { margin: 14px 0 0; padding: 0; list-style: none; }
.blog .doc .kern li { position: relative; padding-left: 22px; color: var(--ink); line-height: 1.55; }
.blog .doc .kern li + li { margin-top: 10px; }
.kern li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--t); }

.toc { margin: 22px 0 0; }
.toc details { border-radius: 20px; background: var(--still); }
.toc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 12px 20px; cursor: pointer; list-style: none; font-family: var(--f-body); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 18px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.toc details[open] summary::after { content: "–"; }
.blog .doc .toc ol { margin: 0; padding: 0 20px 16px 2.4em; }
.blog .doc .toc li { margin: 0; padding: 5px 0; line-height: 1.4; font-size: 15px; }
.blog .doc .toc a { color: var(--ink-2); text-decoration: none; }
.blog .doc .toc a:hover, .blog .doc .toc a[aria-current="true"] { color: var(--accent); }

.hinweis { margin: 28px 0 0; padding: 18px 20px 18px 54px; position: relative; border-radius: 20px; background: var(--hinweis); box-shadow: inset 0 0 0 1px var(--hinweis-rand); }
.hinweis::before { content: "i"; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--f-body); color: var(--paper); background: #A8743A; }
.blog .doc .hinweis p { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.blog .doc .hinweis p + p { margin-top: 8px; }
.hinweis b { font-weight: 700; }

.merke { margin: 30px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--t); }
.blog .doc .merke p { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); }

/* Quellenverweise im Text: hochgestellte Nummer */
.blog .doc sup.q { font-size: 0.7em; line-height: 0; margin-left: 1px; }
.blog .doc sup.q a { text-decoration: none; padding: 0 2px; border-radius: 4px; color: var(--t-s); font-weight: 700; }
.blog .doc sup.q a:hover { background: var(--t-f); }

/* Tabelle */
.tabelle { margin: 26px 0 0; overflow-x: auto; border-radius: 18px; background: var(--karte-blog); box-shadow: var(--schatten-karte); }
.tabelle table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.tabelle th, .tabelle td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.tabelle th { font-family: var(--f-body); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle td b { color: var(--ink); }

/* Fragen am Ende: offen lesbar, kein Aufklappen nötig */
.fragen dt { margin: 26px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.35; color: var(--ink); }
.fragen dd { margin: 8px 0 0; color: var(--ink-2); line-height: 1.7; }

/* ───────────── Animierte Erklärungen ───────────── */
.anim { margin: 34px 0 0; padding: 22px 22px 18px; border-radius: 26px; background: var(--karte-blog); box-shadow: var(--schatten-karte); }
.anim--breit { margin-left: -12px; margin-right: -12px; }
.anim__buehne { position: relative; }
.anim__buehne svg { display: block; width: 100%; height: auto; overflow: visible; }
.anim figcaption { margin: 14px 2px 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
.anim figcaption b { color: var(--ink-2); }
.anim__steuer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.anim__knopf {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 22px; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; line-height: 1; color: var(--ink);
  background: linear-gradient(rgba(53, 67, 101, var(--night)), rgba(53, 67, 101, var(--night))), var(--marke);
  box-shadow: 0 calc(4px * var(--licht)) 14px rgba(143, 163, 228, 0.28);
  transition: transform 120ms ease-out;
}
.anim__knopf:active { transform: scale(0.985); }
.anim__knopf--still { background: var(--still); box-shadow: none; }
.anim__knopf svg { width: 14px; height: 14px; fill: currentColor; }
.anim__status { font-size: 14px; color: var(--ink-3); }
.anim__schritte { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; }
.blog .doc .anim__schritte li { position: relative; margin: 0; padding: 8px 0 8px 36px; color: var(--ink-3); line-height: 1.5; font-size: 15px; transition: color 0.5s; }
.anim__schritte li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--f-body); color: var(--ink-3); background: var(--still); transition: background-color 0.5s, color 0.5s; }
.blog .doc .anim__schritte li.is-on { color: var(--ink); }
.anim__schritte li.is-on::before { color: var(--paper); background: var(--t); }

/* Zeichnungen: Linien, Flächen und Schrift in den Farben der Seite (auch nachts) */
.anim .linie { fill: none; stroke: var(--t); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.anim .linie--fein { stroke-width: 2; }
.anim .linie--leise { stroke: var(--ink-3); opacity: 0.5; }
.anim .linie--zweit { stroke: var(--duett-partner); }
.anim .linie--puls { stroke: var(--ink-2); stroke-width: 2; }
.anim .grundlinie { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 5; fill: none; }
.anim .flaeche { fill: var(--t); opacity: 0.12; }
.anim .punkt { fill: var(--t); }
.anim .punkt--leise { fill: var(--ink-3); opacity: 0.45; }
.anim .marke circle { fill: var(--paper); stroke: var(--t); stroke-width: 2; }
.anim .marke text { font: 700 15px var(--f-body); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.anim .beschrift { font: 700 13px var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--ink-3); }
.anim .wert { font: 600 22px var(--f-display); fill: var(--ink); }

/* Schritte im Bild: ausgeblendet, bis ihr Schritt dran ist (js/blog.js setzt data-schritt am <figure>) */
.anim [data-s] { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease-out); }
.anim [data-s].is-on { opacity: 1; }
.anim .zieh { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset 1.6s var(--ease-out), opacity 0.6s; }
.anim .zieh.is-on { stroke-dashoffset: 0; }

/* Schleifen: laufen nur mit .is-playing (sichtbar und nicht pausiert) */
.anim .loop { animation-play-state: paused; }
.anim.is-playing .loop { animation-play-state: running; }

/* Atemkugel zum Mitmachen (wie die Übung in der App: weiche Kugel, Phase, Restzeit) */
.atem { display: grid; justify-items: center; gap: 4px; padding: 6px 0 2px; text-align: center; }
.atem__feld { position: relative; width: min(64vw, 260px); aspect-ratio: 1; display: grid; place-items: center; }
.atem__kugel {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 52%, var(--kugel-innen) 0%, color-mix(in srgb, var(--kugel-innen) 70%, transparent) 38%, var(--kugel-aussen) 70%);
  transform: scale(0.5); will-change: transform;
}
.atem__ring { position: absolute; inset: 6%; width: 88%; height: 88%; transform: rotate(-90deg); }
.atem__ring circle { fill: none; stroke-width: 2.5; }
.atem__ring .grund { stroke: var(--line); }
.atem__ring .lauf { stroke: var(--t); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; opacity: 0; transition: opacity 0.4s; }
.is-running .atem__ring .lauf { opacity: 1; }
.atem__phase { margin: 14px 0 0 !important; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink) !important; min-height: 1.2em; }
.atem__unter { margin: 4px 0 0 !important; font-size: 15px; color: var(--ink-2) !important; min-height: 1.6em; }
.atem__zahl { position: relative; font-family: var(--f-display); font-weight: 600; font-size: 2.2rem; color: var(--ink); opacity: 0.9; }
.atem__balken { display: flex; gap: 4px; width: min(100%, 22rem); margin-top: 16px; }
.atem__balken span { position: relative; height: 6px; border-radius: 3px; background: var(--still); overflow: hidden; }
.atem__balken span i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--t); }
.atem__rest { margin: 10px 0 0 !important; font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: var(--ink-3) !important; }

/* Quadrat-Atmung: Weg, aktive Seite, laufender Punkt */
.quadrat { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.quadrat__weg { fill: none; stroke: var(--line); stroke-width: 2.5; stroke-linejoin: round; }
.quadrat__seite { stroke: var(--t); stroke-width: 3.5; stroke-linecap: round; opacity: 0; transition: opacity 0.4s; }
.quadrat__seite.is-on { opacity: 1; }
.quadrat__punkt { fill: var(--t); }
.atem:has(.quadrat) .atem__kugel { inset: 22%; }
/* Nacht: dunkle Karte, gedimmte Kugel, gedämpfte Schrift (für Artikel über die Nacht, hell wie dunkel gleich) */
.anim.atem--nacht { background: #12141B; box-shadow: none; --t: #6F8FD8; --line: #2A2E3D; --kugel-innen: rgba(104, 128, 204, 0.75); --kugel-aussen: rgba(60, 80, 150, 0); }
.atem--nacht .atem__kugel { opacity: 0.55; }
.blog .doc .atem--nacht .atem__phase { color: #C9CFDF !important; }
.blog .doc .atem--nacht .atem__unter, .blog .doc .atem--nacht .atem__rest, .atem--nacht .anim__status, .atem--nacht .atem__zahl { color: #8A90A3 !important; }
.atem--nacht figcaption { color: #8A90A3; }

/* Wahlhilfe: Knöpfe wie Chips, darunter die passende Antwort */
.wahl { margin: 30px 0 0; padding: 22px 22px 20px; border-radius: 26px; background: var(--karte-blog); box-shadow: var(--schatten-karte); }
.wahl__frage { margin: 0 !important; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--ink) !important; }
.wahl__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wahl__knopf { min-height: 44px; padding: 9px 16px; border: 0; border-radius: 22px; cursor: pointer; background: var(--still); color: var(--ink-2); font: 700 14.5px/1.2 var(--f-body); transition: background-color 0.2s, color 0.2s; }
.wahl__knopf[aria-pressed="true"] { color: var(--ink); background: linear-gradient(rgba(53, 67, 101, var(--night)), rgba(53, 67, 101, var(--night))), var(--marke); }
.wahl__feld { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.blog .doc .wahl__feld p { margin: 0; }
.blog .doc .wahl__feld p + p { margin-top: 8px; }
.wahl__tipp { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--ink) !important; }

/* Stoppuhr (Kontrollpause) und Atemtempo: grosse Zahl in der ruhenden Kugel */
.uhr { width: min(52vw, 210px); }
.uhr .atem__zahl { font-size: 3.4rem; letter-spacing: -0.03em; }
.aenderungen { font-size: 14px; color: var(--ink-3); }

/* ───────────── Ende des Artikels ───────────── */
.quellen { margin-top: 64px; padding-top: 10px; border-top: 1px solid var(--line); }
.quellen h2 { font-size: 1.2rem !important; }
.blog .doc .quellen ol { font-size: 14.5px; line-height: 1.6; }
.blog .doc .quellen li { scroll-margin-top: 100px; }
.blog .doc .quellen li:target { background: var(--t-f); border-radius: 8px; }
.quellen .q-art { color: var(--ink-3); }
.quellen__stand { margin-top: 18px !important; font-size: 14px; color: var(--ink-3) !important; }

.autor { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; margin-top: 44px; padding: 22px 24px; border-radius: 24px; background: var(--karte-blog); box-shadow: var(--schatten-karte); }
.autor img { width: 64px; height: 64px; border-radius: 50%; }
/* Autorenseite: Foto neben Name und Einleitung */
.profil { display: grid; gap: 26px; }
.profil__foto { display: block; width: min(300px, 80vw); height: auto; border-radius: 28px; background: var(--karte-blog); box-shadow: var(--schatten-karte); }
@media (min-width: 760px) {
  .profil { grid-template-columns: 250px 1fr; gap: 40px; align-items: center; }
  .profil__foto { width: 100%; }
}
.profil__foto--rund { border-radius: 50%; width: min(240px, 64vw); }
@media (min-width: 760px) { .profil__foto--rund { width: 100%; } }
.blog .doc .autor p { margin: 0; font-size: 15px; line-height: 1.6; }
.blog .doc .autor p + p { margin-top: 8px; }
.autor__name { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem !important; color: var(--ink) !important; }

.ruf { position: relative; margin-top: 44px; padding: 34px 26px 30px; border-radius: 28px; text-align: center; overflow: hidden; background: var(--t-f); }
.ruf h2 { margin: 0 !important; font-size: clamp(1.4rem, 4.6vw, 1.9rem) !important; text-wrap: balance; }
.blog .doc .ruf p { max-width: 30rem; margin-left: auto; margin-right: auto; }
.ruf .signup__form { margin-top: 22px; }
.ruf .fineprint { margin: 18px auto 0; max-width: 30rem; font-size: 12.5px; }
.ruf__stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.ruf__stores img { height: 44px; width: auto; }
.blog .doc .ruf__stores a { text-decoration: none; }
.signup__done, .signup__error { text-align: center; }

.verwandt { margin-top: 64px; }
.verwandt h2 { margin-top: 0 !important; }
.blog .doc .karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 16px; margin-top: 22px; padding: 0; list-style: none; }
.blog .doc .karten li { margin: 0; }
.karte {
  display: flex; flex-direction: column; height: 100%; padding: 18px 20px 20px; border-radius: 22px;
  background: var(--karte-blog); box-shadow: var(--schatten-karte); transition: transform 240ms var(--ease-out), background-color 240ms;
}
.blog .doc a.karte, .blog a.karte { text-decoration: none; color: inherit; }
.karte:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--karte-blog), var(--t-f) 60%); }
.karte__motiv { display: block; width: 100%; height: auto; margin: -4px 0 12px; border-radius: 14px; background: var(--t-f); }
.karte__etikett { font-family: var(--f-body); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-s); }
.karte__titel { margin: 8px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.karte__text { margin: 8px 0 0 !important; font-size: 14.5px !important; line-height: 1.55 !important; color: var(--ink-3) !important; }
.karte__zeit { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--ink-3); }
.karte[data-tinte="fokus"]   { --t: var(--t-fokus);   --t-s: var(--t-fokus-s);   --t-f: var(--t-fokus-f); }
.karte[data-tinte="schlaf"]  { --t: var(--t-schlaf);  --t-s: var(--t-schlaf-s);  --t-f: var(--t-schlaf-f); }
.karte[data-tinte="tiefe"]   { --t: var(--t-tiefe);   --t-s: var(--t-tiefe-s);   --t-f: var(--t-tiefe-f); }
.karte[data-tinte="buteyko"] { --t: var(--t-buteyko); --t-s: var(--t-buteyko-s); --t-f: var(--t-buteyko-f); }
.karte[data-tinte="duett"]   { --t: var(--t-duett);   --t-s: var(--duett-du);    --t-f: #EEF1FB; }
@media (prefers-color-scheme: dark) { .karte[data-tinte="duett"], body[data-tinte="duett"] { --t-f: #1F2229; } }

/* ───────────── Übersicht ───────────── */
.blog .doc.uebersicht { max-width: 72rem; }
.uebersicht__kopf { max-width: 46rem; }
.uebersicht__intro { margin: 22px 0 0 !important; font-size: 1.15rem; line-height: 1.6; }
.uebersicht__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0 !important; font-size: 14.5px; }
.thema { margin-top: 64px; }
.thema > h2 { margin: 0 !important; }
.thema > p { max-width: 46rem; }
.blog .doc.uebersicht .karten { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 18px; }

/* ───────────── Weitere Seiten (Autor, Arbeitsweise) ───────────── */
.person { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; }
.person img { width: 88px; height: 88px; border-radius: 50%; }
.stand { margin-top: 40px !important; font-size: 14px; color: var(--ink-3) !important; }

/* Breite Bildschirme: Inhaltsverzeichnis links neben dem Text, mitlaufend */
@media (min-width: 1320px) {
  .artikel__koerper { position: relative; }
  .toc { position: absolute; top: 0; bottom: 0; right: calc(100% + 36px); width: 220px; margin: 0; }
  .toc details { position: sticky; top: 104px; background: none; }
  .toc summary { padding: 0 0 10px; min-height: 0; cursor: default; pointer-events: none; }
  .toc summary::after, .toc details[open] summary::after { content: none; }
  .blog .doc .toc ol { padding: 0 0 0 1.4em; }
  .blog .doc .toc li { font-size: 14px; }
}

@media (max-width: 860px) {
  .blog .doc { padding-top: calc(104px + env(safe-area-inset-top)); }
  .anim { padding: 18px 16px 14px; border-radius: 22px; }
  .anim--breit { margin-left: 0; margin-right: 0; }
  .kern { padding: 20px 20px 22px; }
  .autor { grid-template-columns: 48px 1fr; padding: 18px; }
  .autor img { width: 48px; height: 48px; }
  .ruf { padding: 28px 18px 24px; }
  .thema { margin-top: 48px; }
}

/* Weniger Bewegung: nichts zieht, nichts gleitet; Schritte stehen sofort da */
@media (prefers-reduced-motion: reduce) {
  .anim [data-s], .anim .zieh { transition: none; }
  .anim .loop { animation: none !important; }
  .karte { transition: none; }
  .karte:hover { transform: none; }
  .atem__kugel { will-change: auto; }
}
