/* Blog-Übersicht und Blog-Artikel (Design-Vorlagen Blog-Uebersicht/Blog-Artikel).
   Farben/Fonts kommen aus basis.css (--farbe-*, --schrift-*); hier nur das Blog-Layout.
   Diagonaler Streifen-Platzhalter (repeating-linear-gradient) für Bildflächen ohne Bild. */

:root { --blog-platzhalter: repeating-linear-gradient(45deg, rgba(0,0,0,.045) 0 9px, transparent 9px 18px); }

/* Hero der Übersicht nutzt .uebersicht-hero (kursuebersicht.css) wie die anderen Übersichtsseiten;
   der Blogpost-Breadcrumb nutzt die Standard-.breadcrumb (basis.css). Kein eigenes Blog-Hero mehr. */

/* ---- Bildfläche (Übersicht und Artikel) ---- */
.blog-bildflaeche { position: relative; background: #F1EEE8; background-image: var(--blog-platzhalter); overflow: hidden; }
.blog-bildflaeche img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
/* KACHELN SCHNEIDEN OBEN AN (Werkbank 357): Köpfe sitzen im oberen Drittel — mittig verlor die
   Mona Lisa den Kopf. Wo das nicht passt, wählt der Beitrag seinen Ausschnitt (Feld „Ausschnitt“). */
.blog-bildflaeche img.ausschnitt--mitte { object-position: 50% 50%; }
.blog-bildflaeche img.ausschnitt--unten { object-position: 50% 85%; }

/* ===== Blog-Übersicht · Fassung 16.10.2026 (Claude Design, vom Inhaber freigegeben; Werkbank 357) =====
   Register im Seitenkopf statt Pillen, Empfehlung als einzige Karte, Regal-Karten ohne Kasten (3:2),
   88 px zwischen den Regalen. Die Spielart .uebersicht-hero--mit-register steht in kursuebersicht.css. */

/* ---- Register: auf der Linie des Seitenkopfs (ersetzt .blog-themen + .pillgruppe) ----
   Die Rubriken sind Wege, keine Filter — deshalb Register statt der Pillen der Kursübersicht.
   Sie stehen IN .uebersicht-hero; dessen Unterkante ist ihre Grundlinie. Die aktive Rubrik
   trägt einen 2-px-Strich in Teal, der die Haarlinie deckt (margin-bottom:-1px). */

.blog-register {
  display: flex; gap: 24px; margin-top: 32px;
  overflow-x: auto; scrollbar-width: none;
  margin-right: -24px; padding-right: 24px;              /* am Telefon bis an den Rand wischbar */
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
          mask-image: linear-gradient(90deg, #000 82%, transparent);   /* zeigt: da geht es weiter */
}
.blog-register::-webkit-scrollbar { display: none; }
.blog-register-eintrag {
  flex: 0 0 auto; display: inline-flex; align-items: baseline;
  padding: 0 0 15px; margin-bottom: -1px; border-bottom: 2px solid transparent;
  font-size: 15px; font-weight: 600; color: #6B665E; text-decoration: none; white-space: nowrap;
}
.blog-register-eintrag:hover { color: var(--farbe-tinte); }
/* Fokus: die EINE Regel in basis.css (:focus-visible, Petrol) — hier kein eigener Umriss. */
.blog-register-eintrag[aria-current] { color: var(--farbe-tinte); border-bottom-color: var(--farbe-teal); }
.blog-register-eintrag small {
  margin-left: 7px; font-family: var(--schrift-mono); font-size: 11px; font-weight: 400; color: #8A8377;
}


/* ---- Empfehlung: bleibt eine Karte (Inhaber 16.10.2026) — die einzige Karte der Seite ---- */
.blog-featured-sektion { padding: 32px 24px 0; }
.blog-featured {
  text-decoration: none; color: inherit; display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--farbe-rand); background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-featured:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -18px rgba(0,0,0,.26); }
.blog-featured-text { padding: 28px 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.blog-badge {
  font-family: var(--schrift-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #22403F; background: var(--farbe-teal-hell); padding: 4px 10px;
}
.blog-meta-mono { font-family: var(--schrift-mono); font-size: 11px; color: #8A8377; letter-spacing: .04em; }
.blog-featured-text h2 { margin: 0; font-size: 28px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.blog-featured-anriss { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: #4A463F; max-width: 30em; }
.blog-lesen { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.blog-lesen-link { font-weight: 700; font-size: 15px; color: var(--farbe-teal); display: inline-flex; align-items: center; }
.blog-lesen-link svg { display: inline-block; margin-left: 6px; overflow: visible; }
.blog-featured-bild { order: -1; min-height: 220px; border-bottom: 1px solid var(--farbe-rand); }  /* Telefon: Bild oben */


/* ---- Regale: eine Rubrik je Regal, drei Beiträge ---- */
.blog-thema { padding: 64px 24px 0; }
.blog-thema:last-of-type { padding-bottom: 80px; }
.blog-thema-kopf {
  /* Telefon: „Alle … ansehen“ unter dem Satz. Ab 700 px rechts, auf der letzten Zeile, direkt über
     dem Trenner (Inhaber 15.10.2026: sonst bezog man es auf das Regal darüber). */
  display: block; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--farbe-rand);
}
.blog-thema-kopf h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.blog-thema-kopf h2 a { color: inherit; text-decoration: none; }
.blog-thema-satz { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: #6B665E; }
.blog-thema-alle {
  display: inline-flex; align-items: center; margin-top: 12px; white-space: nowrap;
  font-weight: 700; font-size: 14px; color: var(--farbe-teal); text-decoration: none;
}
.blog-thema-alle svg { display: inline-block; margin-left: 6px; overflow: visible; }

.blog-karten { display: grid; grid-template-columns: 1fr; gap: 36px; }

/* Die Karte ist kein Kasten mehr: Bild, Zeile, Titel, Anriss — wie in einem Magazin.
   Kein „Lesen“: die ganze Karte ist der Link. */
.blog-karte { display: block; text-decoration: none; color: inherit; }
.blog-karte-bild { aspect-ratio: 3 / 2; margin-bottom: 18px; }
.blog-karte-bild img { outline: 1px solid rgba(26,24,21,.07); outline-offset: -1px; transition: transform .5s ease; }
.blog-karte:hover .blog-karte-bild img { transform: scale(1.025); }
.blog-karte .blog-meta-mono { display: block; margin-bottom: 8px; }
.blog-karte h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.blog-karte:hover h3, .blog-featured:hover h2 {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: var(--farbe-teal-hell);
}
.blog-karte-anriss {
  margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: #6B665E;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.blog-leer { padding: 40px 24px; color: var(--farbe-muted); }


@media (min-width: 700px) {
  .blog-karten { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
  .blog-thema-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .blog-thema-alle { flex: 0 0 auto; margin-top: 0; }
}
@media (min-width: 900px) {
  .blog-register { gap: 34px; margin-top: 48px; margin-right: 0; padding-right: 0;
                   -webkit-mask-image: none; mask-image: none; }
  .blog-featured { grid-template-columns: 1.15fr .85fr; }
  .blog-featured-bild { order: 0; min-height: 360px; border-bottom: none; border-left: 1px solid var(--farbe-rand); }
  .blog-featured-text { padding: 48px 48px 44px; }
  .blog-featured-text h2 { font-size: 36px; }
  .blog-featured-anriss { font-size: 18px; }
  .blog-thema { padding-top: 88px; }
  .blog-thema:last-of-type { padding-bottom: 96px; }
  .blog-thema-kopf { margin-bottom: 32px; }
  .blog-thema-kopf h2 { font-size: 24px; }
  .blog-karten { grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
}
@media (min-width: 1024px) {
  /* Seitenrand wie .uebersicht-hero (kursuebersicht.css): beide springen bei 1024 px auf 56 px. */
  .blog-featured-sektion { padding: 56px 56px 0; }
  .blog-thema { padding-left: 56px; padding-right: 56px; }
}

/* ================= Artikel ================= */
.blog-artikel-hero { padding: 20px 24px 0; text-align: center; }
.blog-artikel-hero .kicker { display: inline-block; margin-bottom: 18px; }
.blog-artikel-hero h1 { margin: 0 auto; max-width: 15em; font-size: 40px; line-height: 1.04; font-weight: 800; letter-spacing: -.02em; }
.blog-artikel-anriss { margin: 22px auto 0; max-width: 30em; font-size: 20px; line-height: 1.5; color: #4a463f; }
.blog-artikel-meta {
  margin-top: 24px; display: flex; gap: 10px; align-items: center; justify-content: center;
  font-family: var(--schrift-mono); font-size: 12px; color: #8A8377; letter-spacing: .03em;
}
.blog-artikel-meta .trenner { opacity: .5; }

.blog-hero-figur { max-width: 1120px; margin: 36px auto 0; padding: 0 24px; }
/* BILDER IM BEITRAG WERDEN NIE BESCHNITTEN (Werkbank 357, Inhaber 15.10.2026: die Mona Lisa ohne
   Kopf). Bis dahin schnitt diese Regel jedes Titelbild auf 2:1 und jedes Textbild auf 16:10 zu —
   29 von 52 Titelbildern verloren mehr als ein Viertel. Jetzt im eigenen Format, höchstens so hoch
   wie der Bildschirm, ein Hochformat steht mittig. Die Höhe reserviert width/height am <img>
   (`bild_masse`) zusammen mit height:auto (CLAUDE.md, Bilder). */
.blog-hero-figur .blog-bildflaeche,
.blog-bild .blog-bildflaeche { background: none; }
.blog-hero-figur .blog-bildflaeche img,
.blog-bild .blog-bildflaeche img { position: static; display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
/* DIE BILDUNTERSCHRIFT BEGINNT AN DER BILDKANTE (Inhaber 15.10.2026: „sie sollte sich am Bild
   ausrichten“). Bild und Unterschrift bekommen dieselbe Höchstbreite: die Breite, die das Bild bei
   voller Höhe (80vh) hat — aus seinem Seitenverhältnis (`--bild-verhaeltnis`, Filter
   `bild_seitenverhaeltnis`). Ein Hochformat steht damit samt Unterschrift mittig. */
.blog-hero-figur .blog-bildflaeche, .blog-hero-figur .blog-figcaption,
.blog-bild .blog-bildflaeche, .blog-bild figcaption {
  max-width: calc(80vh * (var(--bild-verhaeltnis, 16 / 10)));
  margin-left: auto; margin-right: auto;
}
.blog-figcaption { margin-top: 12px; font-family: var(--schrift-mono); font-size: 12px; color: #8A8377; letter-spacing: .02em; }

.blog-lesespalte { max-width: 720px; margin: 0 auto; padding: 44px 24px 12px; }

/* Im Porträt */
.blog-portraet { display: flex; align-items: center; gap: 18px; padding: 18px 20px; margin-bottom: 40px; background: #F4F1EA; border-left: 3px solid var(--farbe-teal); }
.blog-portraet-foto { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: #E7E2D8; background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 6px, transparent 6px 12px); }
.blog-portraet-foto img { width: 100%; height: 100%; object-fit: cover; }
.blog-portraet-label { font-family: var(--schrift-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8A8377; margin-bottom: 4px; }
.blog-portraet-name { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #1A1815; }
.blog-portraet-bezug { font-size: 13px; color: #6B665E; margin-top: 4px; }

/* Fließtext (Markdown-Ausgabe eines Text-Bausteins) */
.blog-fliesstext p { margin: 0 0 26px; font-size: 19px; line-height: 1.78; color: #2c2a24; }
.blog-fliesstext h2 { margin: 44px 0 16px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.blog-fliesstext h3 { margin: 32px 0 12px; font-size: 21px; font-weight: 700; }
.blog-fliesstext ul, .blog-fliesstext ol { margin: 0 0 26px; padding-left: 26px; font-size: 19px; line-height: 1.7; color: #2c2a24; }
.blog-fliesstext li { margin: 0 0 10px; }
.blog-fliesstext li:last-child { margin-bottom: 0; }
/* Aufzählungen im Haus-Stil: dezenter teal Punkt statt Standard-Disc. */
.blog-fliesstext ul { list-style: none; padding-left: 0; }
.blog-fliesstext ul > li { position: relative; padding-left: 28px; }
.blog-fliesstext ul > li::before {
  content: ""; position: absolute; left: 3px; top: 0.66em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--farbe-teal);
}
/* Nummerierte Listen: Ziffern in Mono + Teal (wie die Nummern-Spalten der Seite). */
.blog-fliesstext ol > li::marker { font-family: var(--schrift-mono); font-size: 0.85em; font-weight: 600; color: var(--farbe-teal); }

/* Bild-Baustein (blutet über die Lesespalte hinaus) */
.blog-bild { margin: 36px -24px; }
.blog-bild figcaption { margin-top: 10px; font-family: var(--schrift-mono); font-size: 12px; color: #8A8377; letter-spacing: .02em; }

/* Zitat-Baustein */
.blog-zitat { margin: 40px 0; position: relative; padding: 6px 0 6px 30px; border-left: 3px solid var(--farbe-terrakotta); }
.blog-zitat-zeichen { position: absolute; top: -14px; left: 14px; font-family: var(--schrift-hand); font-size: 60px; line-height: .4; color: var(--farbe-teal-hell); pointer-events: none; }
.blog-zitat blockquote { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 600; color: #211c14; letter-spacing: -.01em; }
.blog-zitat figcaption { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #6B665E; }
.blog-zitat figcaption .strich { width: 24px; height: 2px; background: var(--farbe-terrakotta); flex: 0 0 auto; }

/* Hinweis-Box: EIN dezenter Haus-Kasten. Alle alten CTA-Boxen (verschiedene Inline-Styles) werden
   beim Import zu diesem einen Baustein-Typ vereinheitlicht -- der Look kommt ausschließlich von hier. */
.blog-hinweis {
  margin: 32px 0;
  padding: 20px 24px;
  background: #F4F1EA;
  border: 1px solid var(--farbe-rand);
  border-left: 3px solid var(--farbe-teal);
  border-radius: 4px;
}
.blog-hinweis > :first-child { margin-top: 0; }
.blog-hinweis > :last-child { margin-bottom: 0; }
.blog-hinweis p { margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: #3a362f; }
.blog-hinweis strong { color: #211c14; }
.blog-hinweis a { font-weight: 700; }

/* Verwandte Beiträge */
.blog-verwandt { max-width: 900px; margin: 16px auto 0; padding: 40px 24px 8px; border-top: 1px solid var(--farbe-rand); }
.blog-verwandt-label { font-family: var(--schrift-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7c766b; margin-bottom: 20px; }
.blog-verwandt-liste { display: grid; grid-template-columns: 1fr; gap: 16px; }
.blog-verwandt-karte { text-decoration: none; color: inherit; border: 1px solid var(--farbe-rand); background: #fff; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s ease, transform .15s ease; }
.blog-verwandt-karte:hover { border-color: var(--farbe-teal); transform: translateY(-2px); }
.blog-verwandt-kind { font-family: var(--schrift-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8A8377; }
.blog-verwandt-titel { font-size: 17px; font-weight: 700; line-height: 1.25; }
.blog-verwandt-sub { font-size: 13px; color: #6B665E; }

.blog-zurueck { max-width: 900px; margin: 8px auto 0; padding: 8px 24px 0; }
.blog-zurueck a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--farbe-teal); }

@media (min-width: 700px) { .blog-verwandt-liste { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .blog-artikel-hero { padding-top: 34px; }
  .blog-artikel-hero h1 { font-size: 56px; }
  .blog-hero-figur { padding: 0 40px; }
  .blog-lesespalte { padding: 52px 40px 12px; }
  .blog-bild { margin: 36px -40px; }
  .blog-verwandt, .blog-zurueck { padding-left: 40px; padding-right: 40px; }
}
