/* AK86 2026 – Ratgeber (inc/ratgeber.php). Kopf und Kapitel wie die Projektseiten: Text direkt im Licht, Trennung über feine Linien, keine dunklen Flächen */
body.single-post { --main: #BA1424; --sec: #50BBB8; --acc: #50BBB8; --rg-akz: #fff; }
html.lightmode body.single-post { --acc: #1d7f7c; --rg-akz: #BA1424; }
/* Kopf: Das Beitragsbild ist dunkel, darum steht alles darauf in beiden Modi hell und das Bild läuft erst ganz unten aus */
.hero:has(.hero-img) .hero-in, .hero:has(.hero-img) .scrollcue { color: var(--static-white); }
.hero:has(.hero-img) .h1-sub { color: var(--static-seccolor); }
.hero:has(.hero-img) .kick, .hero:has(.hero-img) .facts dt { color: var(--static-seccolor); }
.hero:has(.hero-img) .facts { border-color: rgba(255,255,255,.3); }
.hero:has(.hero-img) .facts > div { border-color: rgba(255,255,255,.3); }
.hero .hero-img { height: 100svh; -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); }
.hero .hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,12,.86) 0%, rgba(10,10,12,.58) 34%, rgba(10,10,12,.18) 68%, rgba(10,10,12,.28) 100%); }
.hero .facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* Einstieg */
.rg-start { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 110px); align-items: start; margin: 0 var(--gut); }
.rg-lead { font-weight: 700; font-size: clamp(21px, 2.1vw, 38px); line-height: 1.24; letter-spacing: -.012em; }
.rg-lead p { margin: 0 0 .8em; }
.rg-lead p:last-child { margin-bottom: 0; }
.rg-inhalt b { display: block; padding-bottom: 12px; font: 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.rg-inhalt ol { margin: 0; padding: 0; list-style: none; counter-reset: i; border-top: 1px solid var(--line); }
.rg-inhalt li { counter-increment: i; border-bottom: 1px solid var(--line); }
.rg-inhalt a { display: flex; gap: 12px; padding: 11px 0; font-size: 15px; line-height: 1.3; text-decoration: none; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.rg-inhalt a::before { content: counter(i, decimal-leading-zero); flex: none; font: 12px/1.6 var(--f-mono); color: var(--acc); }
.rg-inhalt a:hover { transform: translateX(6px); }

/* Kapitel */
.rg-kap { margin-top: clamp(50px, 9vh, 120px); scroll-margin-top: 90px; }
.rg-kap .panel > h3 { max-width: 34ch; margin: 1.4em 0 .5em; font-size: clamp(24px, 2.3vw, 42px); line-height: 1.08; letter-spacing: -.015em; }
.rg-kap p { font-size: clamp(17px, 1.25vw, 21px); line-height: 1.5; margin: 0 0 1em; }
.rg-kap ul { max-width: 72ch; margin: 0 0 1.2em; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rg-kap ul > li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.15vw, 19px); line-height: 1.42; }
.rg-kap ul strong { display: inline; }

/* Signale: nebeneinander, nur eine Linie darüber */
.rg-karten { display: grid; grid-template-columns: repeat(var(--sp, 3), minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 44px) clamp(20px, 3vw, 56px); margin: clamp(26px, 3vw, 44px) 0; }
.rg-karte { padding-top: 14px; border-top: 1px solid var(--line); }
.rg-karte h4 { margin: 0 0 8px; font-size: clamp(18px, 1.4vw, 24px); line-height: 1.15; letter-spacing: -.01em; }
.rg-karte span { display: block; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.45; color: var(--gridcolor-86); }

/* Zitat: große Schrift, keine Fläche */
.rg-zitat { margin: clamp(46px, 7vw, 110px) 0 0; }
.rg-zitat span { display: block; max-width: 19em; word-break: normal; overflow-wrap: normal; hyphens: none; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; font-size: clamp(30px, 5vw, 92px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; }
.rg-zitat footer { margin-top: 18px; font: 13px var(--f-mono); color: var(--acc); }

/* Kästen aus dem Beitrag: volle Farbe wie live */
.ak86-solid { margin: clamp(26px, 3.4vw, 48px) 0; padding: clamp(24px, 3.4vw, 54px); }
.ak86-solid-tip { color: #141413; background: var(--static-seccolor); }
.ak86-solid-warning { color: var(--static-white); background: var(--static-maincolor); }
.ak86-solid-tag { margin-bottom: 12px; font: 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.ak86-solid-headline { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; font-size: clamp(24px, 3.2vw, 60px); line-height: 1; letter-spacing: -.025em; text-transform: uppercase; }
.ak86-solid-sub { max-width: 62ch; margin-top: 14px; font-size: clamp(15.5px, 1.15vw, 19px); line-height: 1.45; }
.ak86-solid p { margin: 0; color: inherit; font-size: inherit; }

/* Aufruf zwischendurch: nur Linien */
.rg-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 30px; margin-top: clamp(20px, 3vw, 40px); padding: clamp(10px, 1.2vw, 16px) 0; border-block: 1px solid var(--line); }
.rg-cta > div { flex: 1 1 300px; min-width: 0; }
.rg-cta h3 { margin: 0 0 6px; font-size: clamp(24px, 2.3vw, 42px); line-height: 1.08; letter-spacing: -.015em; }
.rg-cta span { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.42; }
.rg-cta .rb span { font-size: 17px; line-height: .86; }

/* Preisstufen: dasselbe feine Glas wie „Rahmen“ auf den Projektseiten */
.rg-preise { display: grid; grid-template-columns: repeat(var(--sp, 3), minmax(0, 1fr)); gap: 12px; margin: clamp(22px, 2.6vw, 36px) 0; }
.rg-preis { display: flex; flex-direction: column; padding: clamp(20px, 2vw, 34px); background-color: rgba(var(--gridcolor-rgb),.08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background-color .35s; }
.rg-preis:hover { background-color: rgba(var(--gridcolor-rgb),.15); }
.rg-preis h4 { margin: 0 0 18px; font: 400 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(var(--gridcolor-rgb),.75); }
.rg-preis b { margin-bottom: 16px; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; font-size: clamp(27px, 2.7vw, 52px); line-height: .96; letter-spacing: -.03em; color: var(--rg-akz); }
.rg-preis span { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.45; }

/* Checkliste: Zeilen statt Kästen */
.rg-stand { position: sticky; top: clamp(76px, 10vh, 96px); z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 18px 0 26px; padding: 10px 12px; font: 13px var(--f-mono); background-color: rgba(var(--gridcolor-rgb),.08); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.rg-stand-b { flex: 1 1 120px; display: block; height: 4px; background: rgba(var(--gridcolor-rgb),.2); }
.rg-stand-b i { display: block; width: 0; height: 100%; background: var(--acc); transition: width .3s cubic-bezier(.2,.8,.2,1); }
.rg-stand button { padding: 4px 9px; font: inherit; color: inherit; background: none; border: 1px solid rgba(var(--gridcolor-rgb),.4); border-radius: 0; cursor: pointer; }
.rg-stand button:hover { border-color: var(--acc); }
.fertig .rg-stand-t { color: var(--acc); font-weight: 600; }
.rg-listen-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 4vw, 70px) clamp(24px, 5vw, 90px); align-items: start; }
.rg-liste { min-width: 0; margin: 0; padding: 0; border: 0; }
.rg-liste legend { padding: 0 0 12px; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; font-size: clamp(21px, 2vw, 34px); line-height: 1.05; letter-spacing: -.02em; }
.rg-kap .rg-liste ul { max-width: none; margin: 0; }
.rg-kap .rg-liste ul > li { padding: 0; }
.rg-haken { display: flex; gap: 14px; padding: 12px 4px 12px 0; cursor: pointer; }
.rg-haken input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid rgba(var(--gridcolor-rgb),.6); border-radius: 0; background: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.rg-haken:hover input { border-color: var(--acc); }
.rg-haken input:checked { border-color: var(--static-seccolor); background: var(--static-seccolor) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23141413' stroke-width='3'/%3E%3C/svg%3E") center / 80% no-repeat; }
.rg-haken input:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.rg-haken b { display: block; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.25; }
.rg-haken small { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.4; color: var(--gridcolor-86); }
.rg-haken:has(input:checked) span { opacity: .55; }
.rg-haken:has(input:checked) b { text-decoration: line-through; }

/* Ende */
/* Passende Leistung am Ende (06.11.2026): ohne Bild, darum niedriger als der Projekt-Block */
.rg-leistung { margin-top: clamp(70px, 12vh, 150px); min-height: 46vh; }
.rg-leistung .kick { display: block; }
.cta .ct-lead { max-width: 62ch; margin: 0 0 clamp(28px, 4vw, 56px); font-size: clamp(17px, 1.3vw, 22px); line-height: 1.45; }

@media (max-width: 1000px) {
  .rg-start, .rg-listen-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .rg-karten, .rg-preise { grid-template-columns: minmax(0, 1fr); }
  .rg-cta .rb { margin: 0 auto; }
  .rg-stand { top: calc(var(--abh, 0px) + 66px); }
}
