/* ============================================================================
   FAYA · guide.css — gemeinsames Design aller Guides (v5.1, Stand 02.10.2026; v5.2: Titelbild am Handy niedriger)
   ----------------------------------------------------------------------------
   Wird NACH dem Seiten-CSS und typo.css geladen und greift nur, wenn <body>
   die Klasse "g5" trägt. Bausteine:
     .g5-hero     Titelbild (Handy: Vollbild mit Titel im Bild, Desktop: geteilt)
     .g5-meta     Brotkrumen · Lesezeit · Aktualisiert
     .g5-tldr     „Kurz gesagt“ — drei Kernaussagen, Antwort zuerst
     .g5-toc      Inhalts-Chips (Desktop zusätzlich als ruhige Seitenleiste)
     .g5-fig      Bilder im Text (quer 3:2, hoch 4:5)
     .g5-check    Abhak-Listen (Zustand nur lokal im Browser)
     .g5-more     „Weiterlesen“ als Bildkarten
     .ne-card     ruhige Karte zur nächsten Nacht (server.py, Stil in nav.css)
     .g5-cards    Bildkarten-Raster der Guide-Übersicht
   Farben bewusst ruhig: dunkles Warm-Schwarz, Gold nur als feiner Akzent.
   v5.1 (Expertenprüfung Nr. 8): ein Button-System wie auf der Startseite —
   weiße Pill in Satzschreibung, Zweitweg als Outline; Taglines in Inter statt
   Cormorant-Kursiv; Kopfzeile kommt aus nav.css.
   ============================================================================ */

.g5 {
  --g5-bg: #0a0805;
  --g5-card: #15100a;
  --g5-ink: #F5F1E8;
  --g5-t2: rgba(245, 241, 232, .76);
  --g5-t3: rgba(245, 241, 232, .54);
  --g5-t4: rgba(245, 241, 232, .36);
  --g5-line: rgba(240, 216, 168, .12);
  --g5-gold: #C8A96E;
  --g5-gold-l: #E0C490;
  --g5-r: 20px;
  --g5-gutter: 22px;
}
.g5 section[id], .g5 [id^="s-"] { scroll-margin-top: 86px; }

/* ── Lesefortschritt (dünne Linie an der Navigationsleiste) ───────────── */
.g5-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--g5-gold), var(--g5-gold-l));
  transform-origin: 0 50%; transform: scaleX(0); opacity: .85;
}
/* Scroll-Fix (02.10.): Lesefortschritt als scroll-getriebene Animation, wo der Browser sie kann (Safari 26+, Chrome) —
   läuft ohne JavaScript im Compositor. Vorher schrieb guide.js in jedem Scroll-Frame transform (Haupt-Thread-Frame
   pro Frame). Ohne Unterstützung bleibt guide.js zuständig (gleiche Optik). */
@supports (animation-timeline: scroll()) {
  .g5-progress { animation: g5Progress linear both; animation-timeline: scroll(root block); }
  @keyframes g5Progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ── Schutz vor Seiten-CSS (manche Guides stylen figure/figcaption global) ── */
.g5 .g5-hero__media, .g5 .g5-fig { border: 0; border-radius: 0; background: none; box-shadow: none; }
.g5 .g5-hero__media { background: #18120b; }
.g5 .g5-fig { overflow: visible; }
.g5 .g5-hero__media img, .g5 .g5-fig img { transition: none; transform: none; }
.g5 figure.g5-hero__media:hover img, .g5 figure.g5-fig:hover img { transform: none; }
.g5 .g5-hero__media img, .g5 .g5-hero__media video { aspect-ratio: auto; max-width: none; }
.g5 .g5-hero__cap, .g5 .g5-fig figcaption {
  left: auto; bottom: auto; width: auto; height: auto; min-height: 0; text-align: left; text-shadow: none;
}
.g5 .g5-fig figcaption { position: static; padding: 0; background: none; }

/* ── Titelbild ─────────────────────────────────────────────────────────── */
.g5-hero {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "stack" "intro";
  margin: 0; padding: 0; text-align: left;
}
.g5-hero__media {
  grid-area: stack; position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 5; max-height: 80svh; width: 100%;
  background: #18120b;
}
.g5-hero__media img, .g5-hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.g5-hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10, 8, 5, .50) 0%, rgba(10, 8, 5, 0) 17%, rgba(10, 8, 5, 0) 40%,
    rgba(10, 8, 5, .55) 64%, rgba(10, 8, 5, .88) 100%);
}
/* Handy (v5.2): Titelbild niedriger, damit Titel und der Anfang von „Kurz gesagt“ früher kommen —
   höchstens 42 % der Bildschirmhöhe (nie unter 280 px, nie höher als 4:5); Bildausschnitt eher oben.
   Die Brotkrumen stehen am Handy schon in der Metazeile (Guides › Kategorie), die obere Zeile entfällt dort. */
@media (max-width: 699px) {
  .g5 .g5-hero__media { aspect-ratio: auto; max-height: none; height: 125vw; height: max(280px, min(42vh, 125vw)); height: max(280px, min(42svh, 125vw)); }
  .g5 .g5-hero__media img { object-position: 50% 32%; }
  .g5 .crumbs { display: none; }
}
/* Handy/Tablet: das Foto läuft weich in den Seitenhintergrund aus — keine Kante */
@media (max-width: 1023px) {
  .g5 .g5-hero__media {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
    background: transparent;
  }
}
.g5 .g5-hero__cap {
  position: absolute; z-index: 2; top: 12px; right: 12px; max-width: calc(100% - 24px);
  padding: 5px 11px; border-radius: 999px;
  background: rgba(10, 8, 5, .6);   /* ohne backdrop-filter (Scroll-Fix 02.10.: Blur über dem Titelbild kostete jeden Scroll-Frame) */
  color: rgba(245, 241, 232, .86); font-size: 10.5px; line-height: 1.35; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g5-hero__head {
  grid-area: stack; align-self: end; position: relative; z-index: 2;
  width: 100%; max-width: 820px; margin: 0 auto; padding: 0 var(--g5-gutter) 4px;
}
.g5 .g5-hero .eyebrow {
  display: block; margin: 0 0 12px; color: var(--g5-gold-l); text-align: left;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}
.g5 .g5-hero h1 {
  font-family: var(--tp-sans, 'Inter', sans-serif); font-weight: 500;
  font-size: clamp(34px, 9.6vw, 46px); line-height: 1.05; letter-spacing: -.026em;
  color: #fff; -webkit-text-fill-color: #fff; background: none; text-transform: none;
  text-align: left; text-wrap: balance; margin: 0;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .38);
}
.g5 .g5-hero h1 .g { -webkit-text-fill-color: var(--g5-gold-l); color: var(--g5-gold-l); background: none; }
.g5-hero__intro {
  grid-area: intro; width: 100%; max-width: 820px; margin: 0 auto;
  padding: 14px var(--g5-gutter) 0;
}
.g5 .g5-hero .lede, .g5 .g5-hero .hero-sub {
  margin: 0; max-width: 640px; text-align: left; color: var(--g5-t2);
  font-size: var(--tp-lede, 17px); line-height: 1.6;
}
/* Tagline unter dem Intro: ein ruhiger Satz in Inter (Cormorant nur für echte Zitate) */
.g5 .g5-hero .kicker, .g5 .kicker {
  margin: 14px 0 0; text-align: left; color: var(--g5-ink);
  font-family: var(--tp-sans, 'Inter', sans-serif); font-style: normal; font-weight: 500;
  font-size: 17px; line-height: 1.45; letter-spacing: -.01em; max-width: 640px;
}

/* Brotkrumen · Lesezeit · Aktualisiert */
.g5 .g5-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px;
  margin: 18px 0 0; padding: 0; font-size: 12.5px; line-height: 1.4; color: var(--g5-t3);
}
.g5 .g5-meta a { color: var(--g5-t2); text-decoration: none; }
.g5 .g5-meta a:hover, .g5 .g5-meta a:focus-visible { color: var(--g5-gold-l); }
.g5-meta__grp { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.g5-meta__sep { color: var(--g5-t4); }
.g5-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--g5-t4); }
.g5-meta time { color: inherit; }

@media (min-width: 700px) {
  .g5-hero__media { aspect-ratio: 16 / 10; max-height: 72vh; }
  .g5 .g5-hero h1 { font-size: clamp(40px, 6.2vw, 54px); }
}
/* Desktop: geteiltes Titelbild — Text links, Bild rechts, kein Text auf dem Foto */
@media (min-width: 1024px) {
  .g5-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    grid-template-areas: "head media" "intro media";
    grid-template-rows: auto 1fr;
    column-gap: 56px; max-width: 1180px; margin: 34px auto 0; padding: 0 32px;
  }
  .g5-hero__media {
    grid-area: media; aspect-ratio: 5 / 4; max-height: none; border-radius: 26px;
    border: 1px solid var(--g5-line); align-self: start;
    box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
  }
  .g5-hero__media::after { background: linear-gradient(180deg, rgba(10, 8, 5, .22) 0%, rgba(10, 8, 5, 0) 26%); }
  .g5-hero__head { grid-area: head; align-self: end; padding: 24px 0 0; max-width: none; margin: 0; }
  .g5-hero__intro { grid-area: intro; padding: 18px 0 0; max-width: none; margin: 0; }
  .g5 .g5-hero h1 { font-size: clamp(44px, 4.4vw, 60px); text-shadow: none; }
  .g5 .g5-hero .eyebrow { text-shadow: none; color: var(--g5-gold); }
}

/* ── Kurz gesagt ───────────────────────────────────────────────────────── */
.g5-tldr {
  position: relative; margin: 30px 0 6px; padding: 20px 20px 18px;
  border-radius: var(--g5-r); border: 1px solid rgba(224, 196, 144, .24);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(224, 196, 144, .13), rgba(224, 196, 144, 0) 60%),
    linear-gradient(160deg, #18120a, rgba(21, 16, 8, .55));
}
.g5 .g5-tldr__label {
  display: flex; align-items: center; gap: 9px; margin: 0 0 14px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--g5-gold);
}
.g5-tldr__label::before {
  content: ""; width: 16px; height: 1px; background: currentColor; opacity: .8;
}
.g5-tldr ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: g5t; }
.g5 .g5-tldr li {
  position: relative; padding-left: 36px; counter-increment: g5t;
  color: var(--g5-ink); font-size: 15.5px; line-height: 1.55;
}
.g5 .g5-tldr li::before {
  content: counter(g5t); position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--g5-gold-l); background: rgba(224, 196, 144, .12); border: 1px solid rgba(224, 196, 144, .4);
}
.g5 .g5-tldr li b { font-weight: 600; color: var(--g5-gold-l); }

/* ── Inhalts-Chips ─────────────────────────────────────────────────────── */
.g5-toc { margin: 22px 0 4px; }
.g5 .g5-toc__label {
  margin: 0 0 10px; font-size: 10.5px; font-weight: 500; letter-spacing: .3em;
  text-transform: uppercase; color: var(--g5-t3);
}
.g5-toc__list {
  display: flex; gap: 8px; margin: 0 calc(var(--g5-gutter) * -1); padding: 2px var(--g5-gutter) 6px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--g5-gutter), #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--g5-gutter), #000 calc(100% - 34px), transparent 100%);
}
.g5-toc__list::-webkit-scrollbar { display: none; }
.g5-toc__list a {
  flex: none; scroll-snap-align: start; max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--g5-line);
  background: rgba(255, 255, 255, .025); color: var(--g5-t2); font-size: 13px; line-height: 1.2;
  text-decoration: none; transition: color .2s, border-color .2s, background .2s;
}
.g5-toc__list a:hover, .g5-toc__list a:focus-visible {
  color: var(--g5-gold-l); border-color: rgba(224, 196, 144, .38); background: rgba(224, 196, 144, .06);
}
@media (min-width: 700px) {
  .g5-toc__list { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
}

/* Seitenleiste auf großen Bildschirmen (von guide.js gebaut) */
.g5-rail {
  position: fixed; z-index: 20; top: 112px; width: 210px;
  left: max(24px, calc(50% - 410px - 250px));
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.g5-rail.is-on { opacity: 1; transform: none; pointer-events: auto; }
.g5 .g5-rail__label {
  margin: 0 0 12px; font-size: 10px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--g5-t4);
}
.g5-rail a {
  display: block; position: relative; padding: 6px 0 6px 14px; color: var(--g5-t3);
  font-size: 13px; line-height: 1.35; text-decoration: none; border-left: 1px solid var(--g5-line);
  transition: color .2s, border-color .2s;
}
.g5-rail a:hover { color: var(--g5-ink); }
.g5-rail a.is-active { color: var(--g5-gold-l); border-left-color: var(--g5-gold); }
@media (max-width: 1279px) { .g5-rail { display: none; } }

/* ── Bilder im Text ────────────────────────────────────────────────────── */
.g5-fig { margin: 26px 0 6px; }
.g5-fig img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 18px; background: #18120b; border: 1px solid var(--g5-line);
}
.g5-fig--p img { aspect-ratio: 4 / 5; }
.g5 .g5-fig figcaption { margin: 11px 2px 0; font-size: 13.5px; line-height: 1.5; color: var(--g5-t2); }
.g5 .g5-fig figcaption small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--g5-t4); letter-spacing: .01em; }
.g5-fig figcaption small a { color: inherit; text-decoration: underline; text-decoration-color: rgba(245, 241, 232, .2); text-underline-offset: 2px; }
@media (min-width: 700px) {
  .g5-fig--p { max-width: 460px; }
}
@media (min-width: 1024px) {
  .g5-fig:not(.g5-fig--p) { width: min(980px, calc(100vw - 96px)); position: relative; left: 50%; transform: translateX(-50%); }
  .g5-fig:not(.g5-fig--p) figcaption { max-width: 776px; margin-left: auto; margin-right: auto; }
}

/* ── Abhak-Listen ──────────────────────────────────────────────────────── */
.g5 ul.g5-check { list-style: none; }
.g5 ul.g5-check > li { padding-left: 40px !important; position: relative; transition: color .2s; }
.g5 ul.g5-check > li::before { display: none !important; }
.g5-chk {
  position: absolute; left: 0; top: 1px; width: 26px; height: 26px; padding: 0; cursor: pointer;
  border-radius: 50%; border: 1.5px solid rgba(224, 196, 144, .5); background: transparent;
  display: grid; place-items: center; transition: background .2s, border-color .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.g5-chk::after {
  content: ""; width: 10px; height: 6px; margin-top: -2px; border: 2px solid #20160a; border-top: 0; border-right: 0;
  transform: rotate(-45deg) scale(.6); opacity: 0; transition: opacity .2s, transform .2s;
}
.g5-chk:active { transform: scale(.92); }
.g5-chk:focus-visible { outline: 2px solid var(--g5-gold-l); outline-offset: 2px; }
.g5 ul.g5-check > li.is-done .g5-chk { background: linear-gradient(180deg, #F0D8A8, var(--g5-gold)); border-color: var(--g5-gold); }
.g5 ul.g5-check > li.is-done .g5-chk::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.g5 ul.g5-check > li.is-done { color: var(--g5-t3); }
.g5-check__bar {
  display: flex; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 12.5px; color: var(--g5-t3);
}
.g5-check__bar button {
  font: inherit; color: var(--g5-t3); background: none; border: 0; padding: 4px 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245, 241, 232, .25);
}
.g5-check__bar button:hover { color: var(--g5-gold-l); }
.g5 .g5-check__hint {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: 10.5px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--g5-gold);
}

/* ── Nächste Nacht: Karte (.ne-card, nav.css) — Abstände im Guide ────────── */
.g5 > .ne-card { padding: 8px var(--g5-gutter) 0; margin-top: 10px; }
.g5 .wrap > .ne-card { margin-top: 18px; }
.g5 .ne-line a { color: var(--g5-gold-l); text-decoration: none; }
.g5 .ne-line a:hover { text-decoration: underline; }

/* ── Buttons: ein System (weiße Pill, Satzschreibung; Zweitweg als Outline) ── */
.g5 .btn, .g5 .btn-solid, .g5 .btn-ghost, .g5 .cta .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--tp-sans, 'Inter', sans-serif); font-weight: 500; font-size: 16px;
  letter-spacing: 0; text-transform: none; line-height: 1;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), background .2s, border-color .2s;
}
.g5 .btn-solid, .g5 .btn:not(.btn-ghost) { background: #fff; color: #000; border: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.g5 .btn-solid:hover, .g5 .btn:not(.btn-ghost):hover { background: #fff; transform: translateY(-1px); box-shadow: 0 12px 34px rgba(0, 0, 0, .4); }
.g5 .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.g5 .btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .5); }
.g5 .btn:active { transform: scale(.97); }
.g5 .cta h2 { color: var(--g5-ink); }

/* ── Weiterlesen ───────────────────────────────────────────────────────── */
.g5-more { max-width: 1180px; margin: 0 auto; padding: 42px 0 8px; }
.g5-more__head { max-width: 820px; margin: 0 auto; padding: 0 var(--g5-gutter); }
.g5 .g5-more h2 {
  margin: 0 0 4px; font-size: var(--tp-h2, 26px); font-weight: 500; letter-spacing: -.012em; line-height: 1.2; color: var(--g5-ink);
}
.g5 .g5-more__sub { margin: 0 0 18px; font-size: 14.5px; color: var(--g5-t3); }
.g5-more__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 2px var(--g5-gutter) 10px; scroll-padding: 0 var(--g5-gutter);
}
.g5-more__row::-webkit-scrollbar { display: none; }
@media (min-width: 700px) {
  .g5-more__row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; max-width: 1060px; margin: 0 auto; padding: 0 var(--g5-gutter); }
}

/* Bildkarte (Weiterlesen + Übersicht) */
.g5-card {
  position: relative; display: flex; flex-direction: column; scroll-snap-align: start;
  color: inherit; text-decoration: none; border-radius: var(--g5-r); overflow: hidden;
  background: var(--g5-card); border: 1px solid var(--g5-line);
  transition: border-color .25s, transform .3s cubic-bezier(.2, .7, .2, 1);
}
.g5-card:hover { border-color: rgba(224, 196, 144, .34); transform: translateY(-2px); }
.g5-card:focus-visible { outline: 2px solid var(--g5-gold-l); outline-offset: 2px; }
.g5-card__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #18120b; }
.g5 picture.g5-pic { display: contents; }
.g5-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.g5-card:hover .g5-card__img img { transform: scale(1.035); }
.g5-card__body { display: block; padding: 13px 15px 16px; }
.g5-card__cat { display: block; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(200, 169, 110, .85); }
.g5-card__title { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--g5-ink); }
.g5-card__desc { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.5; color: var(--g5-t3); }
.g5-card__tag {
  position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px;
  font-size: 9.5px; font-weight: 600; font-style: normal; letter-spacing: .2em; text-transform: uppercase;
  color: #000; background: rgba(255, 255, 255, .92);
}

/* ── Guide-Übersicht: Themen als Bildkarten ────────────────────────────── */
.g5 .g5-hero .jump { justify-content: flex-start; margin: 22px 0 0; max-width: none; }
.g5 .g5-hero .jump a { background: rgba(255, 255, 255, .025); }
@media (min-width: 1024px) {
  .g5-index .wrap { max-width: 1180px; padding: 0 32px; }
  .g5-index .wrap section h2, .g5-index .wrap section .sub { max-width: 820px; }
}
.g5-cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 12px;
  margin: 0 calc(var(--g5-gutter) * -1); padding: 2px var(--g5-gutter) 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 0 var(--g5-gutter);
}
.g5-cards::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .g5-cards { grid-auto-columns: 42%; } }
@media (min-width: 900px) {
  .g5-cards { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px; }
}
@media (min-width: 1180px) { .g5-index .g5-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Die Karten tragen die alte Klasse .g (Textknoten bleiben identisch) — alte Kachel-Optik neutralisieren */
.g5 .g5-cards a.g {
  padding: 0; background: var(--g5-card); border-radius: var(--g5-r); display: flex; flex-direction: column;
}
.g5 .g5-cards a.g:hover { background: var(--g5-card); }
.g5 .g5-cards a.g > b { display: block; margin: 13px 15px 0; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--g5-ink); }
.g5 .g5-cards a.g > span:not(.g5-card__img) { display: block; margin: 5px 15px 16px; font-size: 13.5px; line-height: 1.5; color: var(--g5-t3); }
.g5 .g5-cards a.g { position: relative; }
.g5 .g5-cards a.g > i {
  position: absolute; z-index: 2; top: 10px; left: 10px; margin: 0; padding: 4px 9px; border-radius: 999px;
  font-size: 9.5px; font-weight: 600; font-style: normal; letter-spacing: .2em; text-transform: uppercase;
  color: #000; background: rgba(255, 255, 255, .92);
}
.g5 .g5-cards a.g > span.g5-card__img { margin: 0; }
.g5-section-count { font-variant-numeric: tabular-nums; color: var(--g5-t4); font-weight: 400; }

/* Wer weniger Bewegung möchte, bekommt keine */
@media (prefers-reduced-motion: reduce) {
  .g5-card, .g5-card__img img, .g5-rail, .g5 .btn { transition: none !important; }
  .g5-card:hover, .g5 .btn:hover { transform: none; }
  .g5-card:hover .g5-card__img img { transform: none; }
}

/* v5.2: „Sag mir Bescheid“ im Abschluss passender Guides (Golden Mask, Open Air) — gleiche Höhe wie die Buttons */
.g5 .cta .remind-btn { height: 48px; padding: 0 22px; font-size: 16px; }
