/* ═══════════════════════════════════════════════════════════════════════
   Reponara — Blog (seit 12.11.2026)
   Baut auf css/style.css auf: dieselben Tokens, die Leiste (.nav--fest),
   der Seitenrahmen der Rechtsseiten (.seite) und die Fußzeile (.fuss).
   Hier steht nur, was ein Artikel zusätzlich braucht. Kein JavaScript.
   Seiten erzeugt _bau/blog_bauen.py.
   ═══════════════════════════════════════════════════════════════════════ */

.blog { padding-bottom: var(--abstand); }
.blog .seite__innen { max-width: 760px; }
.blog-nav__link { font-weight: 500; }
/* style.css gibt jedem <section> den Abstand eines Startseiten-Abschnitts. */
.blog section { padding: 0; }

/* Kopf des Artikels */
.blog__pfad { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--leise); margin-bottom: 22px; }
.blog__pfad a { color: var(--neben); }
.blog__pfad a:hover { color: var(--akzent); }
.blog .kicker { margin-bottom: 14px; }
.blog h1 { font-size: clamp(32px, 4.2vw, 50px); text-wrap: balance; hyphens: manual; }
.blog__vorspann { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--neben); }
.blog__angaben { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--linie); font-size: 13.5px; color: var(--leise); }

/* Fließtext */
.blog__text { margin-top: 30px; font-size: 17.5px; line-height: 1.7; }
.blog__text h2, .blog__faq > h2, .blog__weiter > h2 { font-family: var(--schrift-titel); font-size: clamp(23px, 2.4vw, 29px); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; margin-top: 46px; margin-bottom: 12px; color: var(--text); text-wrap: balance; scroll-margin-top: 84px; }
.blog__text h3 { font-family: var(--schrift-titel); font-size: 19px; font-weight: 600; line-height: 1.3; margin-top: 28px; margin-bottom: 6px; color: var(--text); }
.blog__text p { color: var(--neben); }
.blog__text p + p, .blog__text ul + p, .blog__text ol + p, .blog__text .blog-tabelle + p, .blog__text .blog-karte + p { margin-top: 14px; }
.blog__text strong { color: var(--text); font-weight: 600; }
.blog a.blog-link, .blog__text p a, .blog__text li a, .blog__text td a { color: var(--akzent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.blog__text p a:hover, .blog__text li a:hover { color: #803B22; }
.blog__text ul, .blog__text ol { margin: 12px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.blog__text ul > li { position: relative; padding-left: 22px; color: var(--neben); }
.blog__text ul > li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--akzent-hell); }
.blog__text ol { counter-reset: schritt; }
.blog__text ol > li { position: relative; padding-left: 38px; color: var(--neben); counter-increment: schritt; }
.blog__text ol > li::before { content: counter(schritt); position: absolute; left: 0; top: .18em; width: 25px; height: 25px; border-radius: 8px; background: var(--erhoben); color: var(--akzent); font-size: 13px; font-weight: 700; line-height: 25px; text-align: center; }

/* Karte für Merksätze und Checklisten */
.blog-karte { margin: 22px 0 6px; padding: 20px 22px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.blog-karte > p:first-child { font-family: var(--schrift-titel); font-weight: 600; color: var(--text); margin-bottom: 6px; }

/* Tabelle: auf schmalen Schirmen seitlich rollen statt umbrechen */
.blog-tabelle { margin: 20px 0 6px; overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--karte); }
.blog-tabelle table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.blog-tabelle th, .blog-tabelle td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); color: var(--neben); }
.blog-tabelle thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); background: var(--grund-fokus); }
.blog-tabelle tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
.blog-tabelle tr:last-child > * { border-bottom: 0; }
.blog__quelle { margin-top: 10px; font-size: 14px; color: var(--leise); }

/* Fragen: offen lesbar, ohne Aufklappen */
.blog__faq { margin-top: 10px; }
.blog__faq-liste { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.blog__frage { padding: 19px 22px 20px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); }
.blog__frage h3 { font-family: var(--schrift-titel); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--text); margin-bottom: 6px; }
.blog__frage p { font-size: 15.5px; line-height: 1.65; color: var(--neben); }
.blog__frage p a { color: var(--akzent); text-decoration: underline; text-underline-offset: 2px; }

/* Der eine starke Moment je Seite: das Focus-Band mit der Warteliste */
.blog__cta { margin-top: 50px; padding: clamp(26px, 4vw, 38px); border-radius: 20px; background: var(--focus); color: #FBF3EA; box-shadow: var(--schatten-hoch); }
.blog__cta h2 { font-family: var(--schrift-titel); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; margin: 0 0 10px; color: #FFFAF6; }
.blog__cta p { color: rgba(251, 243, 234, .86); font-size: 16.5px; line-height: 1.6; max-width: 560px; }
.blog__cta .pille { margin-top: 22px; background: #FFFAF6; color: var(--akzent); box-shadow: none; }
.blog__cta .pille:hover { background: #fff; }

/* Weitere Artikel und die Übersicht */
.blog__weiter { margin-top: 12px; }
.blog__liste { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.blog__eintrag { display: block; padding: 20px 22px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); transition: border-color .2s, box-shadow .2s, transform .2s; }
.blog__eintrag:hover { border-color: rgba(147, 71, 42, .35); box-shadow: 0 16px 34px -24px rgba(147, 71, 42, .45); transform: translateY(-1px); }
.blog__eintrag h2, .blog__eintrag h3 { font-family: var(--schrift-titel); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 6px; color: var(--text); }
.blog__eintrag p { font-size: 15.5px; line-height: 1.6; color: var(--neben); }
.blog__eintrag span { display: block; margin-top: 10px; font-size: 13px; color: var(--leise); }
.blog--uebersicht .blog__liste { margin-top: 34px; gap: 14px; }
.blog--uebersicht .blog__eintrag h2 { font-size: clamp(20px, 2vw, 23px); }

@media (max-width: 560px) {
  .blog-nav__link { display: none; }
  .blog__text { font-size: 17px; }
  .blog__frage, .blog__eintrag, .blog-karte { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog__eintrag, .blog__eintrag:hover { transition: none; transform: none; }
}
@media print {
  .blog__cta { background: none; color: var(--text); border: 1px solid var(--linie); box-shadow: none; }
  .blog__cta h2, .blog__cta p { color: var(--text); }
}
