/* ============================================================
   FUMOT — Ratgeber: Artikel-Layout und Magazin-Übersicht
   ============================================================ */

/* ============================================================
   Ratgeber & Magazin — Blog-Übersicht und Artikel-Layout
   ============================================================ */

/* Karten-Badge auf dem Bild — siehe components.css */

/* Kopfzeile eines Artikels */
.postmeta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2);
}
.postmeta b { color: var(--blue); font-weight: 500; }
.postmeta .stars { display: inline-flex; gap: 3px; color: var(--accent); }
.postmeta .stars svg { width: 13px; height: 13px; }

/* Großer Aufmacher */
.posthero {
  position: relative; border-radius: var(--r-shell); overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(165deg, var(--blue-tint-2), var(--surface-2));
  aspect-ratio: 21 / 8; display: grid; place-items: center;
}
.posthero img { max-height: 100%; width: auto; object-fit: contain; }
.posthero__note {
  position: absolute; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px);
  display: flex; align-items: baseline; gap: 8px; padding: 12px 20px;
  border-radius: var(--r-inner); background: rgba(15,23,42,.92); color: #fff;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
}
.posthero__note span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 400; }

/* Zweispalten-Layout: Text + Seitenleiste (nur Ratgeber) */
.postlayout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(28px, 3vw, 40px); align-items: start; }
.postaside { position: sticky; top: 116px; display: grid; gap: 14px; }

/* Inhaltsverzeichnis */
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-shell); padding: 9px; }
.toc__core { background: #fff; border-radius: var(--r-core); padding: clamp(18px, 1.8vw, 24px); box-shadow: inset 0 1px 1px rgba(255,255,255,.9); }
.toc__h { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.toc a {
  display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: baseline;
  padding: 8px 10px; margin-inline: -10px; border-radius: 10px;
  font-size: .88rem; color: var(--muted); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.toc a i { font-family: var(--font-mono); font-size: 10px; font-style: normal; color: var(--blue); }
.toc a:hover { background: var(--blue-tint-2); color: var(--blue-700); }
.toc a.is-on { background: var(--blue-tint); color: var(--blue-700); font-weight: 500; }

/* Kaufbox in der Seitenleiste */
.buybox { border: 1px solid var(--line); border-radius: var(--r-shell); background: #fff; padding: 9px; box-shadow: var(--sh-1); }
.buybox__core { border-radius: var(--r-core); padding: clamp(18px, 1.8vw, 22px); background: var(--surface); box-shadow: inset 0 1px 1px rgba(255,255,255,.9); }
.buybox__p { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--blue); letter-spacing: -.025em; }
.buybox__old { font-size: .9rem; color: var(--muted-2); text-decoration: line-through; margin-left: 8px; }
.buybox__n { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* Fließtext */
.prose { max-width: 1020px; font-size: 1rem; font-weight: 300; line-height: 1.78; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 17px; }
.prose h2 {
  font-size: clamp(1.28rem, 2vw, 1.72rem); line-height: 1.2; color: var(--ink);
  margin-top: clamp(34px, 4vw, 52px); scroll-margin-top: 120px;
}
.prose h3 { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.3; color: var(--ink); margin-top: 30px; scroll-margin-top: 120px; }
.prose p { margin: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: normal; color: var(--blue); font-weight: 500; }
.prose ul { display: grid; gap: 9px; }
.prose li { padding-left: 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 5px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.prose .lead { color: var(--ink-2); font-size: 1.05rem; }

/* Zitat / Zwischenfazit — ohne Akzentbalken, nur über Einzug + Typografie abgesetzt */
.pullquote {
  padding: 4px 0 4px 22px; margin-block: 30px;
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 500; line-height: 1.5; letter-spacing: -.015em; color: var(--ink);
}

/* Bewertungsbox (Testfazit) */
.verdict {
  display: grid; grid-template-columns: 150px minmax(0,1fr); gap: clamp(20px, 2.6vw, 34px);
  padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-shell);
  background: var(--blue-tint); border: 1px solid #C9E0F5; margin-bottom: 34px;
}
.verdict__score { text-align: center; display: grid; align-content: start; gap: 6px; }
.verdict__n { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.3rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--blue); }
.verdict__n small { font-size: .38em; font-weight: 600; color: var(--blue-700); }
.verdict__l { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.verdict__body h3 { font-size: 1.16rem; margin-bottom: 10px; }
.verdict__body p { font-size: .94rem; font-weight: 300; color: var(--ink-2); line-height: 1.7; }

/* Einzelwertungen als Balken */
.scorebars { display: grid; gap: 11px; margin-top: 18px; }
.scorebar { display: grid; grid-template-columns: 132px minmax(0,1fr) 44px; gap: 14px; align-items: center; font-size: .85rem; }
.scorebar__k { color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.scorebar__track { height: 8px; border-radius: 99px; background: rgba(15,23,42,.09); overflow: hidden; }
.scorebar__fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--blue-400)); width: 0; transition: width 1.1s var(--ease); }
.scorebar__v { font-family: var(--font-mono); font-size: .82rem; color: var(--ink); text-align: right; }

/* Pro & Contra */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block: 30px; }
.pcbox { border: 1px solid var(--line); border-radius: var(--r-inner); background: #fff; padding: clamp(18px, 1.8vw, 24px); }
.pcbox--pro { background: var(--success-tint); border-color: rgba(18,128,92,.24); }
.pcbox--con { background: #FDF2EF; border-color: #F2D8CE; }
.pcbox h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.pcbox--pro h4 { color: var(--success); }
.pcbox--con h4 { color: #B4472B; }
.pcbox li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: .9rem; font-weight: 300; color: var(--ink-2); line-height: 1.55; }
.pcbox li + li { margin-top: 10px; }
.pcbox li span { font-family: var(--font-mono); font-size: .9rem; }
.pcbox--pro li span { color: var(--success); }
.pcbox--con li span { color: #B4472B; }

/* Kleine Daten-Tabelle im Text */
.mtable { width: 100%; border-collapse: collapse; font-size: .9rem; margin-block: 26px; }
.mtable th {
  text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 500; white-space: nowrap;
}
.mtable td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 300; }
.mtable td:first-child { color: var(--muted); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.mtable tbody tr:hover { background: var(--blue-tint-2); }

/* Hinweisbox im Artikel */
.hint {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-inner);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .87rem; font-weight: 300; color: var(--muted); line-height: 1.6; margin-block: 26px;
}
.hint svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--blue); }

/* Autorzeile */
.byline { display: flex; align-items: center; gap: 14px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.byline__av { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; flex: none; }
.byline__t { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.byline__s { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

@media (max-width: 1080px) {
  .postlayout { grid-template-columns: minmax(0, 1fr); }
  .postaside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .posthero { aspect-ratio: 4 / 3; }
  .verdict { grid-template-columns: 1fr; }
  .verdict__score { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; }
  .proscons { grid-template-columns: 1fr; }
  .postaside { grid-template-columns: 1fr; }
  .scorebar { grid-template-columns: 96px minmax(0,1fr) 40px; gap: 10px; }
  .tbl-scroll { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 600px) {
  .mtable { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 520px) {
  .postmeta { gap: 8px 14px; font-size: 10px; }
}

/* ============================================================
   Ratgeber-Übersicht — eigenständiges Magazin-Layout
   ============================================================ */

/* Redaktions-Kopf — oberer Abstand muss die fixe Floating-Navigation (top:18px, ~94px hoch) freihalten */
.masthead { padding-top: clamp(104px, 9.5vw, 128px); }
.masthead__grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .78fr);
  gap: clamp(26px, 3.6vw, 60px); align-items: start;
  padding-block: clamp(28px, 3.6vw, 52px);
}
.masthead__side { border: 1px solid var(--line); border-radius: var(--r-shell); background: var(--surface); padding: 9px; box-shadow: var(--sh-1); }
.masthead__core { background: #fff; border-radius: var(--r-core); padding: clamp(20px, 2vw, 26px); }
.masthead__k {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line);
}
.masthead__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.masthead__stats b {
  display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 600; letter-spacing: -.035em; color: var(--blue); line-height: 1;
}
.masthead__stats span {
  display: block; margin-top: 7px; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
}
.masthead__note {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .86rem; font-weight: 300; line-height: 1.62; color: var(--muted);
}
.masthead__note b { color: var(--ink); font-weight: 500; }

/* Sprungnavi des Pillars — die vier Bereiche des Ratgebers */
.hubnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 34px); }
.hubnav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.hubnav a b { color: var(--blue); font-weight: 600; }
.hubnav a:hover { border-color: var(--blue); background: var(--blue-tint-2); color: var(--blue-700); }

/* Bestenliste */
.ranklist { border: 1px solid var(--line); border-radius: var(--r-shell); background: #fff; padding: 8px; box-shadow: var(--sh-1); }
.rankhead, .rankrow {
  display: grid; grid-template-columns: 46px 58px minmax(0, 1fr) minmax(90px, 210px) 56px 26px;
  gap: clamp(10px, 1.4vw, 20px); align-items: center;
}
.rankhead {
  padding: 12px 16px 12px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-2);
}
.rankrow {
  padding: 13px 16px; text-decoration: none; border-radius: var(--r-inner);
  transition: background-color var(--dur-fast) var(--ease);
}
.rankrow + .rankrow { box-shadow: 0 -1px 0 var(--line); }
.rankrow:hover { background: var(--blue-tint-2); }
.rankrow__n { font-family: var(--font-mono); font-size: .92rem; color: var(--muted-2); }
.rankrow.is-top .rankrow__n { color: var(--blue); font-weight: 600; }
.rankrow__img {
  width: 58px; height: 58px; border-radius: 13px; background: var(--surface);
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
}
.rankrow__img img { max-width: 84%; max-height: 84%; object-fit: contain; }
.rankrow__t {
  display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  letter-spacing: -.018em; color: var(--ink);
}
.rankrow__s {
  display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
}
.rankrow__s em { font-style: normal; color: var(--blue); }
.rankrow__bar { }
.rankrow__v { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; color: var(--ink); text-align: right; }
.rankrow.is-top .rankrow__v { color: var(--blue); font-weight: 600; }
.rankrow__go { color: var(--blue); display: grid; place-items: center; }
.rankrow__go svg, .postrow__go svg, .noterow__go svg { width: 17px; height: 17px; }
.rankfoot {
  display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 16px 10px;
  border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
}

/* Artikel-Index als Zeilenliste */
.postlist { border-top: 1px solid var(--line); }
.postrow {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) 132px 26px;
  gap: clamp(16px, 2vw, 30px); align-items: center;
  padding: clamp(18px, 2.1vw, 26px) 16px; margin-inline: max(-16px, calc(var(--gutter) * -1));
  border-bottom: 1px solid var(--line); border-radius: var(--r-inner);
  text-decoration: none; transition: background-color var(--dur-fast) var(--ease);
}
.postrow:hover { background: var(--blue-tint-2); }
.postrow__n { font-family: var(--font-mono); font-size: .88rem; letter-spacing: .06em; color: var(--muted-2); align-self: start; padding-top: 5px; }
.postrow__meta {
  display: block; margin-bottom: 9px; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2);
}
.postrow__meta em { font-style: normal; color: var(--blue); }
.postrow__t {
  display: block; font-family: var(--font-display); font-size: clamp(1.06rem, 1.55vw, 1.34rem);
  font-weight: 600; letter-spacing: -.022em; line-height: 1.28; color: var(--ink);
}
.postrow:hover .postrow__t { color: var(--blue-700); }
.postrow__x {
  display: block; margin-top: 9px; max-width: 62ch;
  font-size: .9rem; font-weight: 300; line-height: 1.62; color: var(--muted);
}
.postrow__side { text-align: right; display: grid; gap: 9px; justify-items: end; align-content: center; }
.postrow__score {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  letter-spacing: -.03em; color: var(--blue); line-height: 1;
}
.postrow__score small { font-size: .5em; font-weight: 500; color: var(--blue-700); }
.postrow__tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.postrow__go { color: var(--blue); display: grid; place-items: center; }

/* Methodik als nummerierte Schritte */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--r-shell); background: #fff;
  overflow: hidden; box-shadow: var(--sh-1);
}
.step { padding: clamp(20px, 2.1vw, 30px); border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; }
.step__n {
  font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 700;
  letter-spacing: -.05em; line-height: 1; color: var(--blue-400); margin-bottom: 16px;
}
.step__t { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; letter-spacing: -.018em; margin-bottom: 10px; }
.step__d { font-size: .88rem; font-weight: 300; line-height: 1.62; color: var(--muted); }
.step__k {
  display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--blue);
  background: var(--blue-tint); border-radius: var(--r-pill); padding: 5px 11px;
}

/* Grundlagen als kompakte Zeilen */
.notelist { display: grid; gap: 12px; }
.noterow {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 26px; gap: 16px; align-items: center;
  padding: 17px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-inner); text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.noterow:hover { border-color: var(--blue); background: var(--blue-tint-2); }
.noterow__ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue-tint);
  color: var(--blue); display: grid; place-items: center;
}
.noterow__ico svg { width: 20px; height: 20px; }
.noterow__t { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -.018em; color: var(--ink); }
.noterow__d { display: block; font-size: .86rem; font-weight: 300; color: var(--muted); margin-top: 5px; }
.noterow__go { color: var(--blue); display: grid; place-items: center; }

@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .masthead__grid { grid-template-columns: 1fr; }
  .rankhead { display: none; }
  .rankrow { grid-template-columns: 38px 50px minmax(0, 1fr) 52px; }
  .rankrow__bar, .rankrow__go { display: none; }
  .rankrow__img { width: 50px; height: 50px; }
  .postrow { grid-template-columns: 40px minmax(0, 1fr) 24px; }
  .postrow__side { display: none; }
}
@media (max-width: 680px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .postrow { grid-template-columns: minmax(0, 1fr); padding-inline: 0; margin-inline: 0; }
  .postrow__n { display: none; }
  .postrow__go { justify-items: start; }
  .noterow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .noterow__ico, .noterow__go { display: none; }
}
@media (max-width: 520px) {
  .masthead__stats { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .rankrow { grid-template-columns: 30px 44px minmax(0, 1fr) 44px; padding-inline: 10px; }
  .rankrow__img { width: 44px; height: 44px; border-radius: 11px; }
  /* Nur das Marken-Logo skalieren (direktes Kindelement). Als Nachfahren-Selektor
     (.footer__brand img) traf diese Regel auch die vier Payment-Logos in .footer__pay
     und blies sie auf 42px hoch → zwei Reihen. Als Kind-Selektor bleibt .footer__pay
     bei der globalen Regel aus components.css — identisch zur Startseite. */
  .footer__brand > img { height: 42px; margin-bottom: 18px; }
}

/* ============================================================
   Original-Guide — Bildfiguren & Prüfschritte (mobil-tauglich)
   ============================================================ */
.prose img { max-width: 100%; height: auto; }

.gfig { margin-block: 24px 28px; }
.gfig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-inner); background: #fff; }
.gfig figcaption { margin-top: 9px; font-size: .82rem; font-weight: 300; color: var(--muted); line-height: 1.55; }
/* Hochformat-Screenshots: Höhe begrenzen, mittig ausrichten */
.gfig--tall img { width: auto; max-width: 100%; max-height: 480px; margin-inline: auto; }

.gpair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block: 24px 28px; }
.gpair .gfig { margin-block: 0; }

.gsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: 24px 28px; }
.gstep { border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface); padding: 12px; display: grid; gap: 9px; align-content: start; }
.gstep__shot { height: 300px; display: grid; place-items: center; background: var(--blue-tint-2); border-radius: 10px; overflow: hidden; }
.gstep__shot img { max-height: 288px; width: auto; max-width: 100%; }
.gstep__n { font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.gstep__t { font-size: .85rem; font-weight: 300; color: var(--ink-2); line-height: 1.5; }
.gstep__t b { color: var(--ink); font-weight: 600; }

/* Slide-Hinweis für die Schritt-Rail (analog .railhint) */
.grailhint { display: none; align-items: center; gap: 8px; margin-top: 2px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

@media (max-width: 860px) {
  .gsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gstep__shot { height: 270px; }
  .gstep__shot img { max-height: 258px; }
}
/* Auf Handys: Prüfschritte nebeneinander wischen statt hoch stapeln */
@media (max-width: 640px) {
  .gsteps {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    /* Wie .pgrid--rail: Y-Achse explizit sperren, sonst kann die Rail selbst
       ~10px vertikal scrollen und verschwindet teils unter der Sticky-Navigation. */
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: var(--gutter);
    padding: 3px var(--gutter) 16px;
    margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
    /* Vertikale Geste bleibt bei der Seite, wird nicht von der Rail geschluckt */
    touch-action: pan-x;
  }
  .gsteps::-webkit-scrollbar { display: none; }
  .gsteps > .gstep {
    flex: 0 0 min(76%, 248px); min-width: 0;
    scroll-snap-align: start;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .gstep__shot { height: auto; min-height: 0; }
  .gstep__shot img { max-height: 250px; }
  .grailhint { display: inline-flex; }
}
@media (max-width: 520px) {
  .gsteps > .gstep { flex: 0 0 min(84%, 232px); }
  .gstep__shot img { max-height: 230px; }
  .gpair { grid-template-columns: minmax(0, 1fr); }
  .gfig--tall img { max-height: 420px; }
}

/* ============================================================
   Blog-Startseite — eigene Akzente (Hero & Aufmacher)
   ============================================================ */

/* Redaktions-Kopf mit dezentem Marken-Glow + Punktraster für Tiefe */
.bloghome {
  position: relative; overflow: hidden;
  background:
    radial-gradient(125% 78% at 88% -10%, var(--blue-tint-2), transparent 58%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}
.bloghome::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(25,100,173,.07) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 68%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 68%);
}
.bloghome .wrap { position: relative; z-index: 1; }
.masthead__main { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.masthead__main .hubnav { margin-top: 6px; }

/* Aufmacher-Karte — groß, horizontal, redaktionell */
.blogfeat {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(20px, 3vw, 40px);
  align-items: stretch; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-shell);
  overflow: hidden; box-shadow: var(--sh-2);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.blogfeat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.blogfeat__media { position: relative; min-height: 0; aspect-ratio: 16 / 10; background: var(--surface); overflow: hidden; display: grid; place-items: center; }
.blogfeat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blogfeat:hover .blogfeat__media img { transform: scale(1.04); }
.blogfeat__body { padding: clamp(22px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 13px; justify-content: center; }
.blogfeat__t {
  font-family: var(--font-display); font-size: clamp(1.32rem, 2.3vw, 1.95rem);
  font-weight: 600; line-height: 1.16; letter-spacing: -.025em; color: var(--ink);
}
.blogfeat__x { font-size: .95rem; font-weight: 300; line-height: 1.65; color: var(--muted); max-width: 54ch; }
.blogfeat .blogcard__more { margin-top: 12px; }

@media (max-width: 820px) {
  .blogfeat { grid-template-columns: 1fr; }
  .blogfeat__media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Icon-Chip für textbasierte Karten (Fragen & Grundlagen) */
.qico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; background: var(--blue-tint); color: var(--blue);
  margin-bottom: 15px;
}
.qico svg { width: 21px; height: 21px; display: block; }



/* ============================================================
   Blog-Archiv ("Alle Blog-Artikel") — kompakte Liste mit Pagination
   ============================================================ */
.bloglist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(13px, 1.5vw, 20px);
}
.blogcard--compact {
  padding: clamp(16px, 1.8vw, 22px);
}
.blogcard--compact .blogcard__body {
  padding: 0;
  gap: 8px;
}
.blogcard--compact .blogcard__t {
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.35;
}
.blogcard--compact .blogcard__x {
  color: var(--ink-2);
  font-size: .92rem;
  line-height: 1.6;
}
.blogcard--compact .blogcard__more {
  margin-top: 2px;
  font-size: .82rem;
}

/* Pager */
.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}
.pager__btn {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .85rem;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.pager__btn:hover { border-color: var(--blue); color: var(--blue); }
.pager__btn.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 720px) {
  .bloglist { grid-template-columns: 1fr; }
  /* Mobil: in der Archiv-Liste nur der Titel */
  .blogcard--compact .blogcard__x,
  .blogcard--compact .blogcard__more { display: none; }
}
