/* ============ 21Layer — Blog ============
   Ergaenzt legal.css (Leiste, Kopf, Footer) und case.css (Artikelkarte,
   CTA, „Passende Anwendungen“). Werte wie dort: Newsreader fuer Ueberschriften,
   Schibsted Grotesk fuer Text, --ink #16242a, --muted #5f6e70, Akzent ueber
   --accent/--accent-deep/--tint am <body>. Die Seiten erzeugt tools/blog. */

/* ---------- Uebersicht ---------- */
/* Kopf wie bei Impressum und Datenschutz, aber mit dem leichten Stein der
   Startseite statt des 2,3-MB-Marmors. */
.blog-held { height: clamp(320px, 44vh, 500px); background-image: url("/assets/stone-dark.webp"); }
.blog-held__seite { display: block; margin-top: 10px; font-size: 0.42em; letter-spacing: 0.02em; color: rgba(233, 239, 236, 0.7); }

.blog-liste {
  --ink: #16242a; --muted: #5f6e70; --faint: #97a2a3; --line: #e2e4e1;
  background: var(--paper);
  padding: clamp(48px, 8vh, 96px) clamp(18px, 4vw, 56px) clamp(64px, 10vh, 128px);
}
.blog-raster {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(18px, 2vw, 28px);
}
.blog-karte {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(20, 40, 44, 0.04);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.blog-karte:hover, .blog-karte:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(var(--tint), 0.35);
  box-shadow: 0 22px 44px -28px rgba(var(--tint), 0.55), 0 2px 6px rgba(20, 40, 44, 0.05);
}
.blog-karte:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.blog-karte__bild { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9ece9; }
.blog-karte__bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.blog-karte:hover .blog-karte__bild img { transform: scale(1.03); }
.blog-karte__bild--leer { background: radial-gradient(120% 120% at 100% 0%, rgba(var(--tint), 0.22), rgba(var(--tint), 0.06) 60%), #eef0ee; }
.blog-karte__text { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 26px); flex: 1; }
.blog-karte__datum { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.blog-karte__titel { font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: clamp(1.22rem, 1.5vw, 1.4rem); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.blog-karte__teaser { font-size: 0.95rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.blog-karte__mehr { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 500; color: var(--accent-deep); }
.blog-karte__mehr span { display: inline-block; transition: transform 0.35s var(--ease); }
.blog-karte:hover .blog-karte__mehr span { transform: translateX(3px); }

/* Der neueste Beitrag auf Seite 1 bekommt die ganze Breite, Bild und Text
   nebeneinander. */
@media (min-width: 900px) {
  .blog-karte--top { grid-column: 1 / -1; flex-direction: row; }
  .blog-karte--top .blog-karte__bild { flex: 0 0 56%; aspect-ratio: auto; min-height: 340px; }
  .blog-karte--top .blog-karte__text { justify-content: center; padding: clamp(28px, 3vw, 48px); }
  .blog-karte--top .blog-karte__titel { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.12; }
  .blog-karte--top .blog-karte__teaser { font-size: 1.02rem; }
}

.blog-seiten { max-width: 1240px; margin: clamp(36px, 5vh, 56px) auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.blog-seiten__nrn { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.blog-seiten__nr, .blog-seiten__pfeil { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 100px; font-size: 14px; color: var(--ink); text-decoration: none; }
.blog-seiten__pfeil { min-width: 110px; white-space: nowrap; }
.blog-seiten a.blog-seiten__nr, .blog-seiten a.blog-seiten__pfeil { border: 1px solid var(--line); background: #fff; transition: border-color 0.3s var(--ease); }
.blog-seiten a:hover { border-color: rgba(var(--tint), 0.5); }
.blog-seiten__nr[aria-current] { background: var(--accent-deep); color: #fff; }
/* Format-Etikett: Orientierung, keine Kategorie. */
.blog-format { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.blog-karte__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.blog-karte__meta .blog-format::after { content: "·"; margin-left: 10px; color: var(--faint); }

/* Seite 1: neuester Artikel, „Zum Einstieg“, „Alle Artikel“. */
.blog-abschnitt { max-width: 1240px; margin: clamp(44px, 6vh, 72px) auto 18px; font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: clamp(1.45rem, 2vw, 1.8rem); letter-spacing: -0.01em; color: var(--ink); }
.blog-einstieg__raster { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.blog-einstieg__karte {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 24px;
  background: rgba(var(--tint), 0.06); border: 1px solid rgba(var(--tint), 0.18); border-radius: 16px;
  color: var(--ink); text-decoration: none;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.blog-einstieg__karte:hover { border-color: rgba(var(--tint), 0.45); background: rgba(var(--tint), 0.09); }
.blog-einstieg__karte:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.blog-einstieg__titel { font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: 1.22rem; line-height: 1.25; text-wrap: balance; }
.blog-einstieg__txt { font-size: 0.92rem; line-height: 1.55; color: var(--muted); }

.blog-leer { max-width: 760px; margin: 0 auto; text-align: center; font-family: "Newsreader", Georgia, serif; font-size: 1.3rem; color: var(--muted); }

/* ---------- Artikel ---------- */
.blog-main .case-doc, .blog-main .cs-more { max-width: 1040px; }
.blog-kopfzeile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0 0 18px; }
.blog-zurueck { display: inline-flex; gap: 0.4em; font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; }
.blog-zurueck:hover { color: var(--accent-deep); }
.blog-meta { letter-spacing: 0.04em; }
.blog-lede { max-width: 62ch; }
.blog-cover { margin: 0; border-bottom: 1px solid var(--line); background: #e9ece9; }
.blog-cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }

.blog-text { max-width: 800px; color: var(--ink); }
.blog-text > * + * { margin-top: 1.05em; }
.blog-text p, .blog-text li { font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.75; text-wrap: pretty; }
.blog-text h2 { font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.2; letter-spacing: -0.015em; margin-top: 1.9em; text-wrap: balance; }
.blog-text h3 { font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: clamp(1.2rem, 1.6vw, 1.38rem); line-height: 1.25; margin-top: 1.6em; }
.blog-text h4 { font-size: 1.02rem; font-weight: 600; margin-top: 1.4em; }
.blog-text h2 + *, .blog-text h3 + *, .blog-text h4 + * { margin-top: 0.6em; }
.blog-text a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.blog-text a:hover { text-decoration-thickness: 2px; }
.blog-text strong { font-weight: 600; }
.blog-text ul, .blog-text ol { padding-left: 0; }
.blog-text ul { list-style: none; }
.blog-text ul > li { position: relative; padding-left: 26px; }
.blog-text ul > li + li, .blog-text ol > li + li { margin-top: 0.5em; }
/* Kreis wie in den Fallstudien, mittig zur ersten Zeile (Zeilenhoehe 1,75). */
.blog-text ul > li::before { content: ""; position: absolute; left: 2px; top: calc(0.875em - 5px); width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent); box-sizing: border-box; }
.blog-text ol { list-style: decimal; padding-left: 1.4em; }
.blog-text ol > li::marker { color: var(--accent-deep); font-weight: 600; }
.blog-text blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); font-family: "Newsreader", Georgia, serif; font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--muted); }
.blog-text picture { display: block; }
.blog-text img { display: block; max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(20, 40, 44, 0.06); }
.blog-text figure { margin: 1.6em 0; }
.blog-text figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.blog-text hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.blog-text code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: #f1f3f1; border-radius: 6px; padding: 0.12em 0.4em; }
.blog-text pre { overflow-x: auto; background: #f1f3f1; border-radius: 12px; padding: 16px 18px; }
.blog-text pre code { background: none; padding: 0; }
.blog-text table { width: 100%; border-collapse: collapse; font-size: 0.96rem; display: block; overflow-x: auto; }
.blog-text th, .blog-text td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.blog-text th { font-weight: 600; }
@media (max-width: 600px) {
  /* Auf dem Handy passen drei Spalten nur mit kleinerer Schrift, engeren
     Abständen und Silbentrennung; sonst verschwindet die letzte Spalte. */
  .blog-text table { font-size: 0.82rem; }
  .blog-text th, .blog-text td { padding: 8px 6px; hyphens: auto; overflow-wrap: break-word; }
  .blog-text th:first-child, .blog-text td:first-child { padding-left: 0; }
}
.blog-text .blog-video { display: inline-flex; align-items: center; gap: 0.5em; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--line); text-decoration: none; font-size: 0.95rem; }
.blog-text .blog-video::before { content: "▶"; font-size: 0.8em; color: var(--accent-deep); }
.blog-text h2[id], .blog-faq h2 { scroll-margin-top: 110px; }
.blog-autor a { color: inherit; }

/* Erklaergrafiken (SVG aus blog/grafiken/): ohne Schatten, auf hellem Grund. */
.blog-text img.blog-grafik { width: 100%; border-radius: 14px; background: #f6f7f5; box-shadow: 0 0 0 1px rgba(20, 40, 44, 0.06); }

/* Das Wichtigste in Kürze */
.blog-text .blog-kurz { margin: 0 0 2em; padding: 22px 26px; border-radius: 16px; background: rgba(var(--tint), 0.07); border: 1px solid rgba(var(--tint), 0.22); }
.blog-kurz__titel { margin: 0; font-size: 11.5px !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.blog-text .blog-kurz ul { margin-top: 12px; }
.blog-text .blog-kurz li { font-size: 1rem; line-height: 1.6; }

/* Abbildungen mit Unterschrift */
.blog-text .blog-abb { margin: 2em 0; }
.blog-text .blog-abb figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Autorenkasten */
.blog-text .blog-autorkasten { display: flex; gap: 18px; align-items: flex-start; margin-top: 2.4em; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fbfbfa; }
.blog-text .blog-autorkasten__bild { flex: none; width: 72px; height: 72px; max-width: none; border-radius: 50%; object-fit: cover; box-shadow: none; }
.blog-autorkasten__bild--initialen { display: grid; place-items: center; background: var(--accent-deep); color: #fff; font-weight: 600; font-size: 1.3rem; letter-spacing: 0.02em; }
.blog-autorkasten__text { min-width: 0; }
.blog-text .blog-autorkasten__name { margin: 0; font-weight: 600; font-size: 1.05rem; }
.blog-autorkasten__name span { display: block; font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.blog-text .blog-autorkasten__bio { margin-top: 8px; font-size: 0.95rem; color: var(--muted); }
.blog-text .blog-autorkasten__link { display: inline-block; margin-top: 8px; font-size: 0.92rem; }
.blog-text .blog-autorkasten__entstehung { margin-top: 10px; font-size: 0.82rem; line-height: 1.5; color: var(--faint, #97a2a3); }
/* Handy: Kreis klein neben Name und Titel, Bio darunter in voller Breite. */
@media (max-width: 600px) {
  .blog-text .blog-autorkasten { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: center; padding: 18px; }
  .blog-autorkasten__text { display: contents; }
  .blog-text .blog-autorkasten__bild { width: 52px; height: 52px; }
  .blog-autorkasten__bild--initialen { font-size: 1.05rem; }
  .blog-text .blog-autorkasten__bio, .blog-text .blog-autorkasten__link, .blog-text .blog-autorkasten__entstehung { grid-column: 1 / -1; }
  .blog-text .blog-autorkasten__bio { margin-top: 14px; }
}

/* Inhaltsverzeichnis */
.blog-text .blog-toc { margin: 0 0 2em; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fbfbfa; }
.blog-toc__titel { margin: 0; font-size: 11.5px !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint, #97a2a3); }
.blog-text .blog-toc ol { margin-top: 10px; padding-left: 1.3em; }
.blog-text .blog-toc li { font-size: 0.98rem; line-height: 1.5; }
.blog-text .blog-toc li + li { margin-top: 0.35em; }
.blog-text .blog-toc a { text-decoration: none; color: var(--ink); }
.blog-text .blog-toc a:hover { color: var(--accent-deep); text-decoration: underline; }

/* Haeufige Fragen */
.blog-text .blog-faq { margin-top: 2.4em; }
.blog-faq__eintrag { border-bottom: 1px solid var(--line); }
.blog-faq__eintrag:first-of-type { border-top: 1px solid var(--line); margin-top: 0.9em; }
.blog-faq__eintrag summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font-weight: 600; font-size: 1.05rem; line-height: 1.45; }
.blog-faq__eintrag summary::-webkit-details-marker { display: none; }
.blog-faq__eintrag summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--accent-deep); font-weight: 500; transition: transform 0.3s var(--ease); }
.blog-faq__eintrag[open] summary::after { transform: rotate(45deg); }
.blog-faq__eintrag summary:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 4px; border-radius: 6px; }
.blog-faq__antwort { padding: 0 0 20px; }
.blog-faq__antwort > * + * { margin-top: 0.8em; }

/* Quellen */
.blog-text .blog-quellen { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.blog-text .blog-quellen h2 { margin-top: 0; font-family: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint, #97a2a3); }
.blog-text .blog-quellen li { font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.blog-text .blog-quellen li + li { margin-top: 0.35em; }
.blog-text .blog-quellen span { color: var(--faint, #97a2a3); }

/* Weiterlesen (andere Artikel) */
.blog-verwandt { max-width: 1040px; margin: clamp(40px, 6vh, 64px) auto 0; }
.blog-verwandt__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 18px; }
.blog-verwandt__karte { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.blog-verwandt__karte:hover { border-color: rgba(var(--tint), 0.4); transform: translateY(-2px); }
.blog-verwandt__karte:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.blog-verwandt__karte .blog-format { font-size: 10.5px; }
.blog-verwandt__titel { font-family: "Newsreader", Georgia, serif; font-size: 1.2rem; font-weight: 500; line-height: 1.25; text-wrap: balance; }
.blog-verwandt__txt { font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.blog-verwandt__mehr { margin-top: auto; font-size: 13.5px; font-weight: 500; color: var(--accent-deep); }

/* ---------- Handy: Schrift eine Stufe kleiner, Text etwas breiter ---------- */
@media (max-width: 600px) {
  .blog-doc .cs-detail__hero { padding: 32px 20px 24px; }
  .blog-doc .cs-body { padding: 24px 20px 36px; }
  .blog-kopf .cs-detail__type { font-size: 1.65rem; line-height: 1.12; }
  .blog-kopf .blog-meta { font-size: 12px; }
  .blog-kopf .blog-lede { margin-top: 18px; font-size: 1.02rem; line-height: 1.45; }
  .blog-text p, .blog-text li { font-size: 0.94rem; line-height: 1.7; }
  .blog-text h2 { font-size: 1.35rem; }
  .blog-text h3 { font-size: 1.12rem; }
  .blog-text h4 { font-size: 0.96rem; }
  .blog-text blockquote { font-size: 1.06rem; padding-left: 18px; }
  .blog-text .blog-kurz li { font-size: 0.94rem; line-height: 1.6; }
  .blog-text .blog-toc li { font-size: 0.9rem; }
  .blog-faq__eintrag summary { padding: 15px 0; font-size: 0.97rem; }
  .blog-text .blog-autorkasten__name { font-size: 0.98rem; }
  .blog-text .blog-autorkasten__bio { font-size: 0.88rem; }
  .blog-text .blog-quellen li { font-size: 0.85rem; }
  .blog-cta .cs-cta__txt { font-size: 1.02rem; }
  .blog-karte__titel { font-size: 1.12rem; }
  .blog-karte__teaser { font-size: 0.9rem; }
  .blog-einstieg__titel { font-size: 1.1rem; }
  .blog-einstieg__txt, .blog-verwandt__txt { font-size: 0.86rem; }
  .blog-verwandt__titel { font-size: 1.08rem; }
  .blog-abschnitt { font-size: 1.3rem; }
}

/* ---------- Entwurf: Freigabeleiste ---------- */
.blog-entwurf {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 70;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  width: max-content; max-width: calc(100% - 24px);
  padding: 10px 10px 10px 18px; border-radius: 100px;
  background: rgba(12, 20, 22, 0.88); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  font-size: 13.5px;
}
.blog-entwurf__btn { font: inherit; font-weight: 600; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: #fff; border-radius: 100px; padding: 8px 16px; }
.blog-entwurf__btn--los { background: #fff; color: #0c1416; border-color: #fff; }
.blog-entwurf__btn:hover { filter: brightness(1.1); }
/* Änderungswunsch: Feld klappt über der Leiste auf (ohne JavaScript). */
.blog-entwurf__aendern { position: static; }
.blog-entwurf__aendern > summary { list-style: none; display: inline-block; }
.blog-entwurf__aendern > summary::-webkit-details-marker { display: none; }
.blog-entwurf__aendern[open] > summary { background: rgba(255, 255, 255, 0.16); }
.blog-entwurf__feld {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%);
  width: min(560px, calc(100vw - 24px)); box-sizing: border-box;
  display: grid; gap: 10px; padding: 16px; border-radius: 18px;
  background: rgba(12, 20, 22, 0.94); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.blog-entwurf__feld label { font-weight: 600; }
.blog-entwurf__feld textarea {
  font: inherit; font-size: 15px; line-height: 1.5; color: #16242a; background: #fff;
  border: 0; border-radius: 12px; padding: 10px 12px; resize: vertical; min-height: 110px;
}
.blog-entwurf__feld textarea:focus { outline: 2px solid #7fc4c8; outline-offset: 2px; }
.blog-entwurf__feld .blog-entwurf__btn { justify-self: end; }
.blog-entwurf__fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.blog-entwurf__feld .blog-entwurf__haken { display: flex; align-items: flex-start; gap: 10px; flex: 1 1 260px; font-weight: 500; cursor: pointer; }
.blog-entwurf__haken input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #7fc4c8; cursor: pointer; }
.blog-entwurf__haken small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 600px) {
  .blog-entwurf { border-radius: 22px; padding: 12px; gap: 8px; }
  .blog-entwurf__txt { width: 100%; text-align: center; }
}
.blog-ist-entwurf .footer { padding-bottom: 96px; }

@media (prefers-reduced-motion: reduce) {
  .blog-karte, .blog-karte__bild img, .blog-karte__mehr span { transition: none; }
  .blog-karte:hover { transform: none; }
  .blog-karte:hover .blog-karte__bild img { transform: none; }
  .blog-verwandt__karte, .blog-faq__eintrag summary::after { transition: none; }
  .blog-verwandt__karte:hover { transform: none; }
}

/* ---------- Animierte UI-Titelbilder (tools/blog/grafiken/titel.js) ----------
   Grundzustand = fertiges Bild (fuer reduzierte Bewegung und das statische
   Vorschaubild). Alle Animationen laufen im Takt --T, jede Zeile mit eigener
   Verzoegerung --d. Nur opacity und transform, kein JavaScript. */
.tb { --T: 10s; --d: 0s; display: block; width: 100%; height: auto; font-family: "Schibsted Grotesk", system-ui, sans-serif; }
.tb--ruhig { --T: 14s; }
/* Eigene Schrift am <text> (z. B. Newsreader für große Zahlen) hat Vorrang. */
.tb text:not([font-family]) { font-family: inherit; }
.tb-st-a { stop-color: var(--accent); }
.tb-ebene { fill: #fdfdfc; stroke: rgba(var(--tint), 0.16); }
.tb-fenster { fill: #fcfcfb; stroke: rgba(var(--tint), 0.2); }
.tb-karte { fill: #fff; stroke: #e8e9e6; }
.tb-linie { stroke: #e8e9e6; }
.tb-linie2 { stroke: #eef0ee; }
.tb-spur { fill: #e8e9e6; }
.tb-kreis { fill: rgba(var(--tint), 0.12); }
.tb-knoten { fill: #fff; stroke: #dfe2df; stroke-width: 2; }
.tb-blase { fill: rgba(var(--tint), 0.08); stroke: rgba(var(--tint), 0.22); }
.tb-hell { fill: rgba(var(--tint), 0.06); opacity: 0; }
.tb-chip-a { fill: rgb(230, 241, 242); fill: color-mix(in srgb, var(--accent) 12%, #fff); stroke: rgba(var(--tint), 0.24); }
.tb-chip-grau { fill: #f1f2ef; stroke: #e2e4e1; }
.tb-f-a { fill: var(--accent); }
.tb-f-leise { fill: #8b9799; }
.tb-flaeche { fill: rgba(var(--tint), 0.08); }
.tb-kurve { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.tb-haken { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.tb-ring { fill: #fff; stroke: var(--accent); stroke-width: 2.5; }
.tb-strich { fill: #c9cfcd; }
.tb-spalte { fill: #f6f7f5; stroke: #eceeeb; }
.tb-spalte--a { fill: rgba(var(--tint), 0.07); stroke: rgba(var(--tint), 0.2); }
.tb-symbol { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.tb-tipp { fill: #aab4b5; }
.tb-kopf, .tb-label { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; fill: #97a2a3; }
.tb-label { font-size: 13px; }
.tb-chip { font-size: 15px; font-weight: 600; }
.tb-kuerzel { font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }
.tb-t1 { font-size: 22px; font-weight: 600; fill: #16242a; letter-spacing: -0.01em; }
.tb-t1--klein { font-size: 19px; }
.tb-t2 { font-size: 16px; fill: #7d8a8c; }
.tb-t2--klein { font-size: 15px; }
.tb-t2--blase { font-size: 18px; fill: #16242a; }
.tb-gross { font-size: 42px; font-weight: 600; letter-spacing: -0.02em; fill: #16242a; }
.tb-alt { opacity: 0; }
.tb-balken { transform-box: fill-box; transform-origin: left center; }
.tb-zeile, .tb-neu, .tb-punkt { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .tb-zeile { animation: tb-ein var(--T) var(--d) infinite both cubic-bezier(0.22, 1, 0.36, 1); }
  .tb-alt { animation: tb-alt var(--T) var(--d) infinite both; }
  .tb-neu { animation: tb-neu var(--T) var(--d) infinite both cubic-bezier(0.22, 1, 0.36, 1); }
  .tb-hell { animation: tb-hell var(--T) var(--d) infinite both; }
  .tb-balken { animation: tb-balken var(--T) var(--d) infinite both cubic-bezier(0.65, 0, 0.35, 1); }
  .tb-kurve { animation: tb-kurve var(--T) var(--d) infinite both cubic-bezier(0.65, 0, 0.35, 1); }
  .tb-flaeche { animation: tb-flaeche var(--T) var(--d) infinite both; }
  .tb-punkt { animation: tb-neu var(--T) var(--d) infinite both; }
  .tb-puls { animation: tb-puls 2.4s infinite ease-in-out; }
  .tb-tipp { animation: tb-tipp 1.2s infinite ease-in-out; }
  .tb--ruhig .tb-zeile { animation-name: tb-ein-ruhig; }
  /* Fuer frei gestaltete Titelbilder (tb--frei): */
  .tb-schweben { animation: tb-schweben 8s var(--d) infinite ease-in-out both; }
  .tb-fluss { animation: tb-fluss 2.6s linear infinite; }
  .tb-dreh { animation: tb-dreh 40s linear infinite; }
}
.tb-schweben, .tb-dreh { transform-box: fill-box; transform-origin: center; }
.tb-fluss { stroke-dasharray: 6 10; }
@keyframes tb-schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes tb-fluss { to { stroke-dashoffset: -32; } }
@keyframes tb-dreh { to { transform: rotate(360deg); } }
@keyframes tb-ein { 0% { opacity: 0; transform: translateY(14px); } 7%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes tb-ein-ruhig { 0% { opacity: 0; } 8%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes tb-alt { 0%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes tb-neu { 0%, 31% { opacity: 0; transform: scale(0.92); } 36%, 100% { opacity: 1; transform: none; } }
@keyframes tb-hell { 0%, 31% { opacity: 0; } 38%, 60% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes tb-balken { 0%, 8% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
@keyframes tb-kurve { 0%, 6% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes tb-flaeche { 0%, 30% { opacity: 0; } 48%, 100% { opacity: 1; } }
@keyframes tb-puls { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes tb-tipp { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.blog-cover--ui { background: #eef1ef; }
.blog-cover--ui .tb { max-height: 560px; }
