/* howshopsgrow Website-Vorschau — Ergänzung zu design-v2.css.
   (1) Vorschau-Rahmen statt Demo-Dunkel-Chrome.
   (2) Styles für datengetriebene Bausteine (Hero-Bild, Inline-Figur, Listen,
       h3, code), die im Demo-HTML nicht vorkamen.
   (3) Responsive: festes Desktop-Layout (240|1fr|240) unter 760px -> eine Spalte.
   Keine Farb-/Typo-Änderung am Design. */

/* (1) Vorschau-Rahmen: helle Seite, zentriert bis 1280px, kein Demo-Dunkel */
body.hsg-preview{background:#fff;color:#111;padding:0;margin:0}
.hsg-preview .P{max-width:1280px;margin:0 auto;background:#fff}

/* (2) Hero als echtes Bild */
.a-hero.a-hero-img{display:block}
.a-hero.a-hero-img img{width:100%;height:100%;object-fit:cover;display:block}
.a-hero .hero-credit{position:absolute;right:0;bottom:0;background:rgba(17,17,17,.78);
  color:#fff;font-size:12px;padding:3px 8px}
.a-hero.a-hero-fallback{display:flex;align-items:flex-end}

/* Titelblock (Label, H1, Vorspann, Meta) auf volle Bildbreite statt Mittelspalte —
   links bündig und gleich breit wie das Hero-Bild (Rahmenbreite, 40px Rand). */
.hsg-preview .a-title{grid-template-columns:minmax(0,1fr);gap:0}
.hsg-preview .a-title .in{grid-column:1}
.hsg-preview .a-title .dek{max-width:none}

/* (2) Inline-Figur im Fließtext */
.art .a-fig{margin:30px 0 8px}
.art .a-fig img{width:100%;height:auto;display:block}
.art .a-fig .cap2{margin-top:8px}
.art .a-fig .credit{color:var(--grey)}

/* (2) Eingebettete SVG-Grafik: Sand-Fläche, eckig, scharf */
.art .a-gfx{background:var(--soft);padding:22px 24px;margin:30px 0 8px}
.art .a-gfx svg.gfx{width:100%;height:auto;display:block}

/* (2) Listen, Zwischenüberschrift, Code im Fließtext */
.art h3{font-size:22px;line-height:1.25;margin-top:30px}
/* Saubere Listen: echter Marker + Hängeeinzug (Folgezeilen bündig unter dem Text) */
.art ul.lst{list-style:none;margin:18px 0 6px;padding:0}
.art ul.lst li{position:relative;padding-left:26px;font-size:19px;line-height:1.62;color:var(--ink2);margin:10px 0}
.art ul.lst li::before{content:"";position:absolute;left:4px;top:11px;width:7px;height:7px;background:var(--ink)}
.art ol.lst{list-style:none;counter-reset:lst;margin:18px 0 6px;padding:0}
.art ol.lst li{position:relative;counter-increment:lst;padding-left:38px;font-size:19px;line-height:1.62;color:var(--ink2);margin:10px 0}
.art ol.lst li::before{content:counter(lst) ".";position:absolute;left:0;top:0;min-width:28px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.art ul.lst li>strong:first-child,.art ol.lst li>strong:first-child{color:var(--ink)}
.art code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.92em;
  background:var(--soft);padding:1px 6px;border:1px solid var(--line)}
.art .cap2{font-size:15px;color:var(--grey);margin-top:10px}
.art .nlhint{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;
  justify-content:space-between;background:var(--soft);padding:14px 18px;margin-top:24px;font-size:16px}

/* Muster (aus design-tokens.css übernommen, da die Token-Datei nicht geladen wird).
   Variablen --a (Grund) und --b (Muster) je Element setzen. Für Abwechslung ohne
   Fotos: jedes Kapitel hat ein eigenes Muster (siehe Renderer HUB_PATTERN). */
.muster-streifen{background:repeating-linear-gradient(90deg,var(--a) 0 14px,var(--b) 14px 22px);background-size:56px 100%}
.muster-punkte{background:radial-gradient(var(--b) 6px,transparent 6.5px) 0 0/28px 28px,var(--a)}
.muster-karo{background:conic-gradient(var(--a) 25%,var(--b) 0 50%,var(--a) 0 75%,var(--b) 0) 0 0/28px 28px}
.muster-diagonal{background:repeating-linear-gradient(-45deg,var(--a) 0 12px,var(--b) 12px 20px);background-size:56px 56px}

/* Dezente Hover-Animation: das Muster „läuft" (nahtlos je Musterbreite). */
@keyframes hsgRun56{to{background-position:56px 0}}
@keyframes hsgRun28{to{background-position:28px 0}}
.hsg-preview .card:hover .muster-streifen,
.hsg-preview .card:hover .muster-diagonal{animation:hsgRun56 1.3s linear infinite}
.hsg-preview .card:hover .muster-punkte,
.hsg-preview .card:hover .muster-karo{animation:hsgRun28 1.3s linear infinite}

/* Startseite: Aufmacher (hervorgehobener Beitrag mit Bild und Schlagzeile) */
.start-lead-wrap{margin:28px 40px 0}
.start-lead{position:relative;display:block;overflow:hidden;min-height:440px;color:#fff}
.start-lead.has-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.start-lead.has-img:hover img{transform:scale(1.04)}
.start-lead .ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(17,17,17,.84) 0%,rgba(17,17,17,.22) 52%,rgba(17,17,17,0) 100%)}
.start-lead.no-img{background:var(--ink)}
.start-lead .tx{position:absolute;left:36px;right:36px;bottom:34px;max-width:780px}
.start-lead .tag{margin-bottom:14px}
.start-lead h2{font-size:48px;line-height:1.06;letter-spacing:-.012em;text-wrap:balance}
.start-lead p{font-size:21px;line-height:1.4;margin-top:14px;max-width:640px;color:#f1f1f1}
.start-lead .lead-cta{display:inline-block;margin-top:18px;font-weight:600;font-size:18px}
.start-lead:hover h2{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}

/* Haftungsausschluss im Footer (Blog, keine Rechtsberatung, ohne Gewähr) */
.hsg-preview .foot .foot-legal{color:#9a9a9a;font-size:14px;line-height:1.55;max-width:900px;margin:0 0 4px}

/* (2a) SVG-Grafikkachel als Bildalternative (Grund = Kapitelfarbe aus .vis) */
.hsg-preview .vis-gfx svg{width:100%;height:100%;display:block}

/* (2a) Startseite: Kapitel-Teaser (Überschrift trägt die Kapitelfarbe) */
.hsg-preview .hub-sec-h{display:inline-block;border-bottom:5px solid var(--c);padding-bottom:3px}
.hsg-preview .hub-sec .sec-h{align-items:center}

/* (2a) Hub-Seite: Pillar-Aufmacher (Überblick groß, Bild + Text) */
.hsg-preview .hub-feat-sec{padding-top:40px}
.hsg-preview .hub-feat{display:grid;grid-template-columns:1.1fr .9fr;background:var(--ink);color:#fff;min-height:360px;overflow:hidden}
.hsg-preview .hub-feat .hf-img{position:relative;overflow:hidden;background:var(--c)}
.hsg-preview .hub-feat .hf-img img{width:100%;height:100%;object-fit:cover}
.hsg-preview .hub-feat .hf-img>*{transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.hsg-preview .hub-feat:hover .hf-img>*{transform:scale(1.04)}
.hsg-preview .hub-feat .hf-tx{padding:40px;display:flex;flex-direction:column;justify-content:center;border-top:6px solid var(--c)}
.hsg-preview .hub-feat .hf-tx h2{font-size:38px;line-height:1.1;margin-top:14px;color:#fff}
.hsg-preview .hub-feat:hover .hf-tx h2{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.hsg-preview .hub-feat .hf-tx p{font-size:19px;line-height:1.45;margin-top:14px;color:#e8e8e8;max-width:46ch}
.hsg-preview .hub-feat .hf-tx .lead-cta{margin-top:18px;font-weight:600;font-size:18px;color:#fff}
@media (max-width:760px){
  .hsg-preview .hub-feat{grid-template-columns:minmax(0,1fr)}
  .hsg-preview .hub-feat .hf-img{min-height:200px}
  .hsg-preview .hub-feat .hf-tx{padding:24px}
  .hsg-preview .hub-feat .hf-tx h2{font-size:28px}
}

/* (2b) Nebenseiten: Glossar, Suche, Über (begehbar über Nav-Suche + Footer) */
.hsg-preview .a-grid.simple{grid-template-columns:minmax(0,760px);justify-content:center}
/* Suche: Eingabefeld + Leermeldung */
.hsg-preview .s-box{margin-bottom:30px}
.hsg-preview .s-input{width:100%;font:inherit;font-size:21px;line-height:1.2;padding:16px 20px;border:2px solid var(--ink);background:#fff;color:var(--ink)}
.hsg-preview .s-input:focus{outline:3px solid var(--lime);outline-offset:0}
.hsg-preview .s-empty{margin-top:26px;font-size:20px;color:var(--grey)}
/* Glossar: alphabetische Gruppen */
.hsg-preview .gl-grp{margin-bottom:44px}
.hsg-preview .gl-letter{font-size:40px;line-height:1;padding-bottom:10px;border-bottom:3px solid var(--ink);margin-bottom:22px}
.hsg-preview .gl-dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 40px;margin:0}
.hsg-preview .gl-item dt{font-weight:700;font-size:20px;color:var(--ink)}
.hsg-preview .gl-item dd{margin:6px 0 0;font-size:17px;line-height:1.5;color:var(--grey)}
.hsg-preview .gl-item dd .lnk{display:block;margin-top:8px;color:var(--ink);font-weight:600}
/* Footer-Links (Glossar/Über/Impressum/Datenschutz) */
.hsg-preview .foot-links span:last-child{display:flex;gap:18px;flex-wrap:wrap}
.hsg-preview .foot-links a{color:#bdbdbd;cursor:pointer}
.hsg-preview .foot-links a:hover{color:#fff;text-decoration:underline}

/* (3) Responsive: Tablet/Phone */
@media (max-width:980px){
  .hsg-preview .head{padding:0 24px}
  .hsg-preview .nav{gap:16px;font-size:16px}
}
@media (max-width:760px){
  .hsg-preview .head{height:auto;padding:14px 18px;gap:10px;flex-wrap:wrap}
  .hsg-preview .nav{display:none}
  .hsg-preview .crumb{padding:12px 18px}
  .hsg-preview .a-title{grid-template-columns:minmax(0,1fr);padding:16px 18px 0;gap:0}
  .hsg-preview .a-title .in{grid-column:1}
  .hsg-preview .a-title h1{font-size:32px;margin-top:12px}
  .hsg-preview .a-title .dek{font-size:18px;margin-top:14px}
  .hsg-preview .a-meta{font-size:15px;gap:8px 16px}
  .hsg-preview .a-hero{margin:24px 18px 0;height:240px}
  .hsg-preview .a-grid{grid-template-columns:minmax(0,1fr);padding:32px 18px 0;gap:0}
  .hsg-preview .toc{display:none}
  .hsg-preview .art{max-width:100%}
  .hsg-preview .art h2{font-size:26px;margin-top:40px}
  .hsg-preview .art p.t{font-size:17px}
  .hsg-preview .art .kurz p{font-size:18px}
  .hsg-preview .aside{margin-top:40px}
  /* Vergleichstabelle: horizontal scrollbar statt überlaufen */
  .hsg-preview .tbl{display:block;overflow-x:auto}
  .hsg-preview .tbl .tr{min-width:560px}
  .hsg-preview .steps .step{grid-template-columns:auto 1fr}
  .hsg-preview .nlb{grid-template-columns:minmax(0,1fr)}
  .hsg-preview .nlb .side{display:none}
  .hsg-preview .nlb h2{font-size:30px}
  .hsg-preview .more3{grid-template-columns:minmax(0,1fr)}
  /* Abschnittskopf stapeln: "Alle N Beiträge"-Link unter die große Überschrift */
  .hsg-preview .sec-h{flex-direction:column;align-items:flex-start;gap:10px}
  .hsg-preview .start-lead-wrap{margin:20px 18px 0}
  .hsg-preview .start-lead{min-height:300px}
  .hsg-preview .start-lead .tx{left:18px;right:18px;bottom:20px}
  .hsg-preview .start-lead h2{font-size:28px}
  .hsg-preview .start-lead p{font-size:17px}
  .hsg-preview .foot .bot{flex-direction:column;gap:8px;align-items:flex-start}
  /* Glossar-Tooltip unter dem Begriff einpassen */
  .hsg-preview .gl:hover::after{width:min(300px,86vw)}
  /* Nebenseiten einspaltig */
  .hsg-preview .a-grid.simple{grid-template-columns:minmax(0,1fr);padding:32px 18px 0}
  .hsg-preview .gl-dl{grid-template-columns:minmax(0,1fr)}
  .hsg-preview .s-input{font-size:18px;padding:14px 16px}
}

/* Links im Artikeltext sichtbar machen: unterstrichen (Barrierefreiheit + Auffälligkeit).
   design-v2.css setzt global a{text-decoration:none}, dadurch sahen Fließtext-Links wie
   normaler Text aus. Hier nur Artikelinhalt (Absätze, Listen, Tabellen, Quellen);
   Fußnoten-Ziffern, Navigation, TOC, Breadcrumb und Ghost-/Button-Links bleiben unberührt. */
.hsg-preview .art p a,
.hsg-preview .art li a,
.hsg-preview .art .tbl a,
.hsg-preview .art .src-list a{
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:1px;
}
.hsg-preview .art .fn a{text-decoration:none}
.hsg-preview .art p a:hover,
.hsg-preview .art li a:hover,
.hsg-preview .art .tbl a:hover,
.hsg-preview .art .src-list a:hover{
  text-decoration-thickness:2px;
  text-decoration-color:var(--lime);
}

/* === Angereicherte Grafik-Bausteine (Blog-OS-Vorschau; gespiegelt aus den Eigendesigns) === */
.hsg-preview .art .infobox{margin:22px 0;border:1px solid var(--line);border-radius:14px;background:var(--soft);padding:16px 18px}
.hsg-preview .art .infobox .ib-h{display:flex;align-items:center;gap:9px;font-weight:700;color:var(--ink);margin-bottom:8px}
.hsg-preview .art .infobox .ib-h i{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--ink);color:#fff;font-style:normal;font-size:13px;flex:none}
.hsg-preview .art .infobox ul{margin:0;padding-left:0;list-style:none}
.hsg-preview .art .infobox li{position:relative;padding-left:20px;margin:5px 0}
.hsg-preview .art .infobox li:before{content:"";position:absolute;left:4px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.hsg-preview .art .statrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:22px 0}
.hsg-preview .art .statrow .stat{border:1px solid var(--line);border-left:3px solid var(--ink);border-radius:10px;padding:12px 14px;background:#fff}
.hsg-preview .art .statrow .stat .v{font-size:19px;font-weight:800;color:var(--ink);line-height:1.25}
.hsg-preview .art .statrow .stat .k{font-size:13px;color:var(--grey);margin-top:3px}
.hsg-preview .art .pull{margin:24px 0;padding:6px 0 6px 20px;border-left:4px solid var(--ink);font-size:20px;font-weight:700;line-height:1.35;color:var(--ink)}
.hsg-preview .art .dodont{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}
@media(max-width:560px){.hsg-preview .art .dodont{grid-template-columns:1fr}}
.hsg-preview .art .dodont .dd-col{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff}
.hsg-preview .art .dodont .dd-col h4{margin:0 0 6px;display:flex;align-items:center;gap:7px;font-size:14px}
.hsg-preview .art .dodont .dd-col .m{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;color:#fff;font-size:12px;flex:none}
.hsg-preview .art .dodont .do .m{background:#1a7f46}
.hsg-preview .art .dodont .dont .m{background:var(--tomato)}
.hsg-preview .art .dodont ul{margin:0;padding-left:18px}
.hsg-preview .art .dodont li{margin:4px 0}
.hsg-preview .art .decide{margin:22px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.hsg-preview .art .decide .dh{background:var(--soft);padding:10px 14px;font-weight:700;color:var(--ink);border-bottom:1px solid var(--line)}
.hsg-preview .art .decide .dr{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line)}
.hsg-preview .art .decide .dr:last-child{border-bottom:none}
.hsg-preview .art .decide .cond{color:var(--ink2)}
.hsg-preview .art .decide .arr{color:var(--blue);font-weight:700}
.hsg-preview .art .decide .rec{font-weight:600;color:var(--ink)}
@media(max-width:560px){.hsg-preview .art .decide .dr{grid-template-columns:1fr;gap:4px}.hsg-preview .art .decide .arr{display:none}}
.hsg-preview .art .shot{margin:24px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.hsg-preview .art .shot .shot-top{display:flex;align-items:center;gap:10px;padding:9px 13px;background:var(--soft);border-bottom:1px solid var(--line)}
.hsg-preview .art .shot .shot-dots{display:inline-flex;gap:5px;flex:none}
.hsg-preview .art .shot .shot-dots i{width:9px;height:9px;border-radius:50%;background:#d8d4cc}
.hsg-preview .art .shot .shot-path{font-family:ui-monospace,Menlo,monospace;font-size:12.5px;color:var(--grey);background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hsg-preview .art .shot img{display:block;width:100%;height:auto}
.hsg-preview .art .shot .shot-ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:190px;margin:14px;border:2px dashed var(--line);border-radius:12px;color:var(--grey);font-weight:600;font-size:14px;background:var(--soft)}
.hsg-preview .art .shot .shot-ph .shot-ic{font-size:28px;opacity:.5}
.hsg-preview .art .shot .shot-cap{padding:11px 15px 14px;font-size:14px;color:var(--grey);border-top:1px solid var(--line)}
.hsg-preview .art .shot .shot-cap:before{content:"Screenshot · ";color:var(--ink);font-weight:700}
