/* artikel-plus.css – Aufwertung der Ratgeberartikel ab 15.11.2026 (Bilder, Lesefortschritt, ruhige Bewegung).
   Der Artikeltext bleibt unverändert. Bewegung nur bei prefers-reduced-motion:no-preference. */

/* Weitere Ratgeber: Karten mit Vorschaubild statt Textliste */
.weiter ul{grid-template-columns:repeat(auto-fill,minmax(15.5rem,1fr));gap:1rem}
.weiter a{padding:0;border-radius:18px;overflow:hidden;height:100%;background:var(--karte);box-shadow:0 14px 30px -24px rgba(7,40,34,.55);
  transition:border-color 160ms ease,transform 260ms var(--ease-out)}
.weiter a img{width:100%;height:auto;aspect-ratio:800/420;object-fit:cover;transition:transform 500ms var(--ease-out)}
.weiter .wt{display:block;padding:.85rem 1rem 1rem}
.weiter .wt > span{display:block;margin-top:.25rem}
@media (hover:hover) and (pointer:fine){.weiter a:hover{transform:translateY(-3px)}.weiter a:hover img{transform:scale(1.04)}}

/* Buchkasten: das Cover steht als Buch auf einer hellen Bühne */
.cta-buch img{width:7.2rem;border-radius:4px 7px 7px 4px;transform:rotate(-4deg);box-shadow:-3px 0 0 rgba(7,40,34,.35),0 16px 22px -12px rgba(7,40,34,.6);margin:.3rem .5rem .3rem .4rem;
  transition:transform 400ms var(--ease-out)}
@media (hover:hover) and (pointer:fine){.cta-buch:hover img{transform:rotate(0)}}

/* E-Book-Kasten mit Cover */
.e90-box{overflow:hidden}
.e90-cover{float:right;width:6.2rem;height:auto;margin:.2rem 0 .6rem 1rem;border-radius:4px 7px 7px 4px;transform:rotate(4deg);box-shadow:0 16px 22px -12px rgba(7,40,34,.6)}
@media (max-width:26rem){.e90-cover{width:5rem}}

/* Titelbild: weicher Schatten, damit es als Bild und nicht als Fläche wirkt */
.titelbild img{border-radius:18px;box-shadow:0 22px 40px -28px rgba(7,40,34,.6)}

@media (prefers-reduced-motion:no-preference){
  /* Lesefortschritt: goldene Linie am oberen Rand, wächst mit dem Scrollen */
  @supports (animation-timeline:scroll()){
    body:has(main.article article)::before{content:"";position:fixed;inset:0 0 auto 0;height:3px;background:var(--gold);transform-origin:left;transform:scaleX(0);z-index:40;
      animation:lesefortschritt linear both;animation-timeline:scroll(root)}
    @keyframes lesefortschritt{to{transform:scaleX(1)}}
  }
  /* Auftakt: Titelbild öffnet sich und kommt zur Ruhe */
  .los .titelbild img{animation:titel-auf 900ms var(--ease-out) both}
  @keyframes titel-auf{from{clip-path:inset(0 0 100% 0);transform:scale(1.08)}to{clip-path:inset(0);transform:none}}

  /* Tabellen und Kästen steigen ruhig ein, wenn sie ins Bild kommen */
  main.article .tabelle,main.article .leadbox,main.article .check-box,main.article .cta-box,main.article .kapitel-hinweis{transition:opacity 500ms ease,transform 700ms var(--ease-out)}
  main.article .tabelle.wartet,main.article .leadbox.wartet,main.article .check-box.wartet,main.article .cta-box.wartet,main.article .kapitel-hinweis.wartet{opacity:0;transform:translateY(1rem)}
  /* Cover richten sich dabei auf */
  .cta-buch.wartet img{transform:rotate(-12deg) translateY(.6rem)}
  .e90-cover{transition:transform 800ms 150ms var(--ease-out)}
  .e90-box.wartet .e90-cover{transform:rotate(12deg) translateY(.6rem)}
  /* Reels und Vorschaukarten öffnen sich von oben */
  main.article .rg-reel,main.article .weiter li{transition:clip-path 800ms var(--ease-out)}
  main.article .rg-reel.wartet,main.article .weiter li.wartet{clip-path:inset(0 0 100% 0 round 18px)}
  main.article .rg-reel,main.article .weiter li{clip-path:inset(0 0 0 0 round 18px)}
}
@media print{body:has(main.article article)::before{display:none}}

/* Ratgeber-Übersicht: Symbol vor den Themenüberschriften (16.11.2026) */
h2.mit-sym{display:flex;align-items:center;gap:.7rem}
h2.mit-sym img{width:3.4rem;height:3.4rem;flex:none;margin-left:-.3rem}
