/* WINCELO Ratgeber – Übersicht und Artikel (Stand 19.11.2026)
   Nutzt die Design-Tokens aus style.css (--ink, --muted, --cream, --teal). Nur rg-* Klassen. */

/* ---------- Artikel-Kopf ---------- */
.rg-hero{padding:30px 0 34px}
.rg-hero .eyebrow{color:var(--teal);margin-bottom:18px}
.rg-hero .eyebrow a{border-bottom:1px solid #94aaa7}
.wc .rg-hero h1.rg-title{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.04em;line-height:1.05;font-size:clamp(38px,4.7vw,66px);margin:0 0 24px;max-width:1000px;text-transform:none}
.wc .rg-hero h1.rg-title em{color:var(--teal)}
.wc .rg-lead{font-size:19px;line-height:1.62;max-width:780px;color:var(--ink);margin-bottom:0}
.rg-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;font-size:12px;color:var(--muted);margin-top:24px}
.rg-meta .rg-author{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:600}
.rg-meta .rg-author i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;font-style:normal;font-family:Georgia,serif;font-size:15px;font-weight:400}
.rg-meta .rg-author small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.rg-cover{margin:0}
.rg-cover img{width:100%;height:auto!important;aspect-ratio:21/9;object-fit:cover;display:block}
.rg-cover figcaption{font-size:11px;color:var(--muted);margin-top:8px}

/* ---------- Layout mit Seitenleiste ---------- */
.rg-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:clamp(40px,6vw,96px);align-items:start;padding:56px 0 100px}
.rg-body{max-width:760px;min-width:0}
.wc .rg-body h2{font-size:clamp(30px,3.1vw,44px);margin:72px 0 22px;scroll-margin-top:24px}
.wc .rg-body h2:first-child{margin-top:0}
.wc .rg-body h3{font-size:23px;margin:38px 0 12px;font-family:Georgia,serif;letter-spacing:-.015em}
.wc .rg-body p,.wc .rg-body li{font-size:17px;line-height:1.78;color:#203540}
.wc .rg-body p{margin-bottom:20px}
.rg-body ul:not([class]),.rg-body ol:not([class]){padding-left:22px;margin:0 0 24px}
.rg-body li{margin-bottom:9px}
.wc .rg-body a:not([class]){text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:#94aaa7}
.wc .rg-body a:not([class]):hover{color:var(--teal)}
.rg-body strong{color:var(--ink)}
.rg-body dfn{font-style:normal;border-bottom:1px dotted var(--teal);cursor:help}

.rg-aside{position:sticky;top:24px;display:grid;gap:26px}
.rg-toc{border-top:2px solid var(--ink);padding-top:14px}
.rg-toc summary{font-size:11px;font-weight:600;letter-spacing:2px;list-style:none;cursor:pointer;display:flex;justify-content:space-between}
.rg-toc summary::-webkit-details-marker{display:none}
.rg-toc ol{list-style:none;padding:0;margin:12px 0 0;counter-reset:toc}
.rg-toc li{counter-increment:toc;border-bottom:1px solid #e3e5df}
.rg-toc a{display:grid;grid-template-columns:28px 1fr;gap:4px;padding:9px 0;font-size:13px;line-height:1.4}
.rg-toc a:before{content:counter(toc,decimal-leading-zero);color:var(--teal);font-size:11px;font-weight:600;padding-top:2px}
.rg-toc a:hover{color:var(--teal)}
.rg-sidecard{background:var(--ink);color:#fff;padding:26px 24px}
.rg-sidecard .eyebrow{color:#9fd3d6;margin-bottom:12px}
.wc .rg-sidecard p{color:#d5e0e4;font-size:14px;line-height:1.6;margin-bottom:18px}
.rg-sidecard strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:22px;line-height:1.25;color:#fff;margin-bottom:10px}
.wc .rg-sidecard .button{background:#fff;color:var(--ink);border-color:#fff;width:100%}
.rg-sidecard .rg-phone{display:block;margin-top:14px;font-size:13px;color:#d5e0e4}

/* ---------- Bausteine im Text ---------- */
.rg-keyfacts{background:var(--cream);border-left:3px solid var(--teal);padding:28px 30px 12px;margin:0 0 44px}
.rg-keyfacts .eyebrow{margin-bottom:14px;color:var(--teal)}
.rg-keyfacts ul{list-style:none;padding:0;margin:0}
.wc .rg-keyfacts li{display:grid;grid-template-columns:22px 1fr;gap:8px;font-size:16px;line-height:1.6;margin-bottom:14px}
.rg-keyfacts li:before{content:"✓";color:var(--teal);font-weight:700}

.rg-fig{margin:34px 0 36px}
.rg-fig img{width:100%;height:auto!important;aspect-ratio:3/2;object-fit:cover;display:block}
.rg-fig.tall img{aspect-ratio:4/3}
.rg-fig figcaption{font-size:12px;color:var(--muted);margin-top:9px;line-height:1.5}
.rg-fig-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:34px 0 36px}
.rg-fig-pair figure{margin:0}
.rg-fig-pair img{width:100%;height:auto!important;aspect-ratio:1/1;object-fit:cover;display:block}
.rg-fig-pair figcaption{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.45}

.rg-note{border:1px solid #dfe3dd;background:#fff;padding:24px 26px 6px;margin:30px 0 34px}
.rg-note .eyebrow{color:var(--teal);margin-bottom:10px}
.wc .rg-note p{font-size:15px;line-height:1.65}
.rg-practice{background:var(--ink);color:#fff;padding:30px 32px 10px;margin:38px 0}
.rg-practice .eyebrow{color:#9fd3d6;margin-bottom:12px}
.wc .rg-practice p{color:#e3ecee;font-size:16px;line-height:1.7}
.wc .rg-practice p.rg-quote{font-family:Georgia,serif;font-size:21px;line-height:1.45;color:#fff}
.rg-legal{background:#f8f3e8;border-left:3px solid #b98941;padding:22px 26px 6px;margin:0 0 40px}
.rg-legal .eyebrow{color:#8a6420;margin-bottom:8px}
.wc .rg-legal p{font-size:14.5px;line-height:1.65;color:#3d3a30}

.rg-table-wrap{overflow-x:auto;margin:28px 0 34px;border:1px solid #e3e5df;background:#fff}
.rg-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5;min-width:560px}
.rg-table caption{caption-side:top;text-align:left;font-size:12px;color:var(--muted);padding:12px 16px 0}
.rg-table th,.rg-table td{padding:13px 16px;border-bottom:1px solid #e9ebe6;text-align:left;vertical-align:top}
.rg-table thead th{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);font-weight:600;background:#f6f6f1}
.rg-table tbody th{font-weight:600;color:var(--ink);width:28%}
.rg-table tr:last-child td,.rg-table tr:last-child th{border-bottom:0}
.rg-table .rg-yes{color:var(--teal);font-weight:600}

.rg-steps{list-style:none;padding:0;margin:30px 0 36px;counter-reset:st;border-left:1px solid #cdd6d2;margin-left:17px}
.rg-steps>li{counter-increment:st;position:relative;padding:0 0 26px 38px}
.rg-steps>li:before{content:counter(st);position:absolute;left:-18px;top:-2px;width:35px;height:35px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-size:16px}
.rg-steps>li:last-child{padding-bottom:0}
.rg-steps h3{margin:2px 0 6px!important;font-size:21px!important}
.wc .rg-steps p{font-size:16px;margin-bottom:8px}
.rg-steps .rg-dur{display:inline-block;font-size:11px;font-weight:600;letter-spacing:1.2px;color:var(--teal);text-transform:uppercase;margin-bottom:6px}

.rg-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:30px 0 36px}
.rg-compare>div{background:#fff;border:1px solid #e3e5df;padding:24px 24px 10px}
.rg-compare h3{margin:0 0 12px!important;font-size:22px!important}
.rg-compare ul{list-style:none;padding:0;margin:0}
.wc .rg-compare li{font-size:15px;line-height:1.55;padding:8px 0;border-top:1px solid #eef0eb;margin:0}
.rg-compare .rg-tag{font-size:11px;font-weight:600;letter-spacing:2px;color:var(--teal);display:block;margin-bottom:6px}

.rg-check{list-style:none;padding:0;margin:22px 0 30px;border-top:1px solid #dfe3dd}
.wc .rg-check li{display:grid;grid-template-columns:24px 1fr;gap:8px;padding:12px 0;border-bottom:1px solid #dfe3dd;margin:0;font-size:16px}
.rg-check li:before{content:"✓";color:var(--teal);font-weight:700}
.rg-check.rg-x li:before{content:"!";color:#b98941}

.rg-svg{margin:30px 0 36px;background:#fff;border:1px solid #e3e5df;padding:18px 18px 10px}
.rg-svg svg{width:100%;height:auto;display:block}
.rg-svg figcaption{font-size:12px;color:var(--muted);margin-top:8px}

/* Balken: Beckeninhalt (eine Datenreihe, Grenzlinie 100 m³) */
.rg-bars{margin:30px 0 14px;background:#fff;border:1px solid #e3e5df;padding:22px 22px 16px}
.rg-bars .rg-bars-title{font-size:13px;font-weight:600;margin:0 0 4px}
.wc .rg-bars .rg-bars-sub{font-size:12px;color:var(--muted);margin:0 0 16px}
.rg-bar{display:grid;grid-template-columns:118px 1fr 74px;gap:12px;align-items:center;padding:5px 0;border-radius:4px}
.rg-bar:hover{background:#f6f6f1}
.rg-bar span{font-size:13px}
.rg-bar b{font-size:13px;font-weight:600;text-align:right}
.rg-track{position:relative;height:16px}
.rg-fill{position:absolute;left:0;top:2px;bottom:2px;background:#008e8b;border-radius:0 4px 4px 0}
.rg-bar.over .rg-fill{background:#b98941}
.rg-limit{position:absolute;top:-6px;bottom:-6px;width:0;border-left:2px dashed var(--ink)}
.rg-bars-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12px;color:var(--muted);margin-top:12px}
.rg-bars-legend i{display:inline-block;width:12px;height:12px;border-radius:2px;vertical-align:-1px;margin-right:6px;background:#008e8b}
.rg-bars-legend i.o{background:#b98941}
.rg-bars-legend i.l{background:none;border-left:2px dashed var(--ink);width:6px;border-radius:0}

/* Bundesländer-Karten */
.rg-states{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:28px 0 36px}
.rg-state{background:#fff;border:1px solid #e3e5df;padding:22px 22px 16px;scroll-margin-top:24px}
.rg-state .rg-abbr{font-family:Georgia,serif;font-size:30px;line-height:1;color:var(--teal);display:block;margin-bottom:6px}
.rg-state h3{margin:0 0 10px!important;font-size:19px!important}
.wc .rg-state p{font-size:14px;line-height:1.55;margin-bottom:10px;color:#2d4048}
.rg-state .rg-norm{font-size:12px;color:var(--muted);border-top:1px solid #eef0eb;padding-top:10px}

/* FAQ mit eigenen Ankern und verwandten Fragen */
.rg-faq details{border-bottom:1px solid #dfe3dd;padding:18px 0;scroll-margin-top:24px}
.rg-faq summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:16px;font-size:17px;line-height:1.45}
.rg-faq summary::-webkit-details-marker{display:none}
.rg-faq summary:after{content:"+";color:var(--teal);font-size:22px;line-height:1}
.rg-faq details[open] summary:after{content:"−"}
.wc .rg-faq details p{margin:12px 0 0;font-size:16px;color:#33474f}
.rg-faq .rg-rel{font-size:13px;color:var(--muted);margin-top:10px}
.rg-faq .rg-rel a{color:var(--ink);border-bottom:1px solid #94aaa7;text-decoration:none!important}
.rg-faq .rg-perma{font-size:12px;color:var(--muted);margin-left:8px;border:0!important;text-decoration:none!important}

.rg-sources{font-size:13px;color:var(--muted);border-top:1px solid #dfe3dd;margin-top:46px;padding-top:20px}
.wc .rg-sources p,.wc .rg-sources li{font-size:13px;line-height:1.6;color:var(--muted)}
.rg-sources ul{padding-left:18px}

.rg-series{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #dfe3dd;border-bottom:1px solid #dfe3dd;padding:18px 0;margin:46px 0 0;font-size:13px}
.rg-series a{font-weight:600}
.rg-series span{display:block;font-size:11px;letter-spacing:1.5px;color:var(--muted);font-weight:600;margin-bottom:4px}

/* Weiterlesen */
.rg-more{background:var(--cream)}
.rg-more .cv-card h3{font-size:24px}

/* ---------- Übersicht (ratgeber.html) ---------- */
.rg-hubhero{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center;padding:34px 0 80px}
.rg-hubhero figure{margin:0}
.rg-hubhero img{width:100%;height:auto!important;aspect-ratio:4/3;object-fit:cover;display:block}
.rg-hubhero figcaption{font-size:11px;color:var(--muted);margin-top:8px}
.rg-hubhero .lead{font-size:18px;line-height:1.6;max-width:540px}
.rg-hubstats{display:flex;flex-wrap:wrap;gap:10px 30px;margin:26px 0 30px;padding:0;list-style:none;font-size:13px}
.rg-hubstats li{border-left:2px solid var(--teal);padding-left:10px}
.rg-hubstats strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:24px}

.rg-phases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rg-phase{background:#fff;border:1px solid #e3e5df;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.rg-phase:hover{border-color:var(--teal);transform:translateY(-2px)}
.rg-phase img{width:100%;height:auto!important;aspect-ratio:4/3;object-fit:cover;display:block}
.rg-phase-body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.rg-phase .rg-num{font-size:11px;font-weight:600;letter-spacing:2px;color:var(--teal)}
.rg-phase h3{font-family:Georgia,serif;font-size:26px;margin:0;letter-spacing:-.02em}
.wc .rg-phase p{font-size:14px;color:var(--muted);margin:0}
.rg-phase ul{list-style:none;padding:0;margin:8px 0 0;font-size:13px;font-weight:600}
.rg-phase li{border-top:1px solid #eef0eb;padding:8px 0}
.rg-phase li a:hover{color:var(--teal)}

.rg-featured{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}
.rg-featured .cv-card:first-child{grid-row:span 2}
.rg-featured+.rg-featured{margin-top:22px}
.rg-featured .cv-card:first-child img{aspect-ratio:16/11}
.rg-featured .cv-card:first-child h3{font-size:34px}
.rg-featured .cv-card:not(:first-child){flex-direction:row}
.rg-featured .cv-card:not(:first-child) img{width:42%;aspect-ratio:auto;height:100%!important;min-height:220px}
/* Herstellerhinweis direkt am Bild, gleiche Optik wie .pr-next-credit */
.rg-phase,.cv-card{position:relative}
.rg-credit{position:absolute;top:10px;right:10px;z-index:1;max-width:calc(100% - 20px);padding:3px 8px;background:rgba(8,30,50,.74);color:#fff;font-size:13px;line-height:1.4;letter-spacing:.02em;pointer-events:none}
.rg-featured .cv-card:not(:first-child) .rg-credit{right:calc(58% + 10px);max-width:calc(42% - 20px)}
.cv-card .rg-credit.rg-credit-l,.rg-phase .rg-credit.rg-credit-l{right:auto;left:10px}
.rg-cardmeta{font-size:12px;color:var(--muted)}

.rg-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}
.rg-cat{background:#fff;border:1px solid #e3e5df;padding:26px 26px 22px;scroll-margin-top:24px;display:flex;flex-direction:column}
.rg-cat .rg-num{font-size:11px;font-weight:600;letter-spacing:2px;color:var(--teal)}
.rg-cat h3{font-family:Georgia,serif;font-size:25px;margin:8px 0 8px;letter-spacing:-.02em}
.wc .rg-cat p{font-size:14px;color:var(--muted);margin-bottom:14px}
.rg-cat ul{list-style:none;padding:0;margin:0 0 12px}
.rg-cat li{border-top:1px solid #eef0eb;padding:9px 0;font-size:14px;display:flex;justify-content:space-between;gap:12px}
.rg-cat li a{font-weight:600}
.rg-cat li a:hover{color:var(--teal)}
.rg-cat li small{color:var(--muted);font-size:11px;letter-spacing:1px;white-space:nowrap}
.rg-cat .text-link{margin-top:auto;align-self:flex-start}

.rg-gloss{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:0 40px;margin:0;padding:0}
.rg-gloss div{border-top:1px solid #dfe3dd;padding:16px 0;scroll-margin-top:24px}
.rg-gloss dt{font-family:Georgia,serif;font-size:20px;margin-bottom:4px}
.rg-gloss dd{margin:0;font-size:14px;line-height:1.6;color:var(--muted)}
.rg-gloss dd a{color:var(--ink);border-bottom:1px solid #94aaa7}

/* Schichtaufbau GFK / Edelstahl (schematisch, nicht maßstäblich) */
.rg-layers{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:30px 0 36px}
.rg-layers figcaption{grid-column:1/-1;font-size:12px;color:var(--muted);line-height:1.5}
.rg-stack{background:#fff;border:1px solid #e3e5df;padding:20px 20px 18px;display:flex;flex-direction:column}
.wc .rg-stack .rg-stack-title{font-family:Georgia,serif;font-size:20px;line-height:1.25;margin:0 0 14px;color:var(--ink)}
.rg-stack-title small{display:block;font-family:inherit;font-size:11px;letter-spacing:.3px;color:var(--muted);margin-top:4px;font-family:Arial,Helvetica,sans-serif}
.rg-water{background:linear-gradient(180deg,#e2f2f3,#c4e3e6);color:#24525a;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;padding:10px 12px}
.rg-layer{background:var(--c,#e6e9e4);min-height:var(--h,36px);padding:8px 12px;display:flex;flex-direction:column;justify-content:center;gap:1px;border-top:1px solid rgba(255,255,255,.7);color:var(--ink)}
.rg-layer b{font-size:13px;line-height:1.3}
.rg-layer small{font-size:11.5px;line-height:1.35;color:#1d2b36}
.rg-layer.dark{color:#fff}
.rg-layer.dark small{color:#fff}
.rg-layer.steel{background:linear-gradient(100deg,#c3cbd0 0%,#f3f5f6 36%,#aab4ba 64%,#e2e7ea 100%)}
.rg-soil{background:repeating-linear-gradient(135deg,#7a6650 0 6px,#6d5a45 6px 12px);color:#fff;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;padding:10px 12px}
.rg-stack-read dl{margin:0;display:grid;gap:14px}
.rg-stack-read dt{font-weight:700;font-size:13px;color:var(--ink);letter-spacing:.2px}
.wc .rg-stack-read dd{margin:3px 0 0;font-size:13.5px;line-height:1.55;color:#36494f}

/* Diagramm-Ergänzungen: Tabellenansicht, Beschriftung zweizeilig */
.rg-bar span small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:1px}
.rg-datatable{margin:0 0 34px}
.rg-datatable summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--teal);list-style:none;display:inline-block;padding:4px 0}
.rg-datatable summary::-webkit-details-marker{display:none}
.rg-datatable summary:before{content:"+ "}
.rg-datatable[open] summary:before{content:"− "}
.rg-datatable .rg-table-wrap{margin:12px 0 0}

/* Lageplan-Skizze mit nummerierter Legende */
.rg-plan svg{max-height:520px}
.rg-swipe{display:none}
.rg-key{list-style:none;padding:0;margin:16px 0 6px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 26px;counter-reset:k}
.wc .rg-body .rg-key li{counter-increment:k;display:grid;grid-template-columns:24px 1fr;gap:9px;font-size:14px;line-height:1.5;color:#2d4048;margin:0}
.rg-key li:before{content:counter(k);width:22px;height:22px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:600;margin-top:1px}
.rg-key b{color:var(--ink)}

/* Schnelle Antworten und Redaktionsgrundsätze (Übersicht) */
.rg-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 44px;list-style:none;padding:0;margin:0;border-top:1px solid #dfe3dd}
.rg-quick li{border-bottom:1px solid #dfe3dd}
.rg-quick a{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0;font-size:16px;font-weight:600;line-height:1.4}
.rg-quick a:after{content:"→";color:var(--teal);font-weight:400}
.rg-quick a:hover{color:var(--teal)}
.rg-quick small{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:4px}
.rg-principles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;list-style:none;padding:0;margin:0}
.rg-principles li{border-top:2px solid #9fd3d6;padding-top:18px}
.rg-principles strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:23px;line-height:1.2;margin-bottom:10px;color:#fff}
.wc .rg-principles p{font-size:14px;line-height:1.65;color:#d5e0e4;margin:0}
.rg-hubhero .button{margin-top:4px}
.rg-more .cv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

/* ---------- Responsiv ---------- */
@media(max-width:1080px){.rg-phases,.rg-principles{grid-template-columns:repeat(2,minmax(0,1fr))}.rg-more .cv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){
 .rg-layout{grid-template-columns:minmax(0,1fr);padding-top:34px}
 .rg-aside{position:static;order:-1}
 .rg-sidecard{display:none}
 .rg-hubhero{grid-template-columns:minmax(0,1fr);gap:34px;padding-bottom:56px}
 .rg-featured{grid-template-columns:minmax(0,1fr)}
 .rg-featured .cv-card:first-child{grid-row:auto}
}
@media(max-width:700px){
 .rg-cover img{aspect-ratio:4/3}
 .wc .rg-lead{font-size:17px}
 .wc .rg-body p,.wc .rg-body li{font-size:16px}
 .rg-compare,.rg-fig-pair,.rg-layers{grid-template-columns:minmax(0,1fr)}
 .rg-phases,.rg-quick,.rg-principles,.rg-more .cv-grid{grid-template-columns:minmax(0,1fr)}
 .rg-featured .cv-card:not(:first-child) .rg-credit{right:10px;max-width:calc(100% - 20px)}.rg-featured .cv-card:not(:first-child){flex-direction:column}
 .rg-featured .cv-card:not(:first-child) img{width:100%;aspect-ratio:3/2;height:auto!important;min-height:0}
 .rg-bar{grid-template-columns:86px 1fr 66px;gap:8px}
 .rg-plan-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -18px;padding:0 18px}
 .rg-plan-scroll svg{min-width:560px}
 .wc .rg-body .rg-plan .rg-swipe{display:block;font-size:13px;line-height:1.4;color:var(--muted);margin:8px 0 0}
 .rg-key{grid-template-columns:minmax(0,1fr)}
 .wc .rg-body .rg-key li{font-size:14px}
 .rg-keyfacts{padding:22px 20px 8px}
 .rg-practice{padding:24px 22px 6px}
 .rg-series{flex-direction:column}
}
/* Tabellen auf dem Handy als Karten (data-label kommt vom Builder) */
@media (max-width:700px){
 .rg-table-wrap{overflow:visible;border:0;background:transparent;margin:24px 0 30px}
 .rg-table{min-width:0;display:block;font-size:14px}
 .rg-table caption{display:block;padding:0 0 12px;font-size:12px}
 .rg-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 .rg-table tbody,.rg-table tr,.rg-table tbody th,.rg-table td{display:block;width:auto}
 .rg-table tr{background:#fff;border:1px solid #e3e5df;margin:0 0 10px}
 .rg-table tbody th{width:auto;padding:14px 16px 4px;border:0;font-size:15px;line-height:1.35}
 .rg-table td{padding:7px 16px;border:0}
 .rg-table td:last-child{padding-bottom:15px}
 .rg-table td[data-label]::before{content:attr(data-label);display:block;font-size:10.5px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:2px}
 .rg-datatable .rg-table tr{margin:0 0 8px}
}
/* Bildnachweise am Seitenende */
.rg-credits{padding:4px 0 36px}
.rg-credits p{font-size:12px;line-height:1.6;color:var(--muted);margin:0;border-top:1px solid #e3e5df;padding-top:16px;max-width:none}
.rg-credits span{font-weight:600;color:var(--ink)}
/* Handy: Lesbarkeit und Tippflächen (QA Runde 3) */
@media (max-width:700px){
 body.wc .eyebrow{font-size:11px;letter-spacing:1.6px}
 .rg-phase li{padding:0}
 .rg-phase li a{display:flex;align-items:center;min-height:44px;padding:10px 0;box-sizing:border-box}
 .rg-body strong>a,.rg-table td a,.rg-table th a,.rg-rel a,.rg-cat li a,.rg-gloss dd a,.rg-series a{padding:5px 0}
 body.wc small,.rg-layer small,.rg-cat li small{font-size:11px}
 .rg-fig figcaption,.rg-cover figcaption,.rg-fig-pair figcaption,.rg-svg figcaption,.rg-hubhero figcaption,.rg-layers figcaption{font-size:13px}
 .rg-credits p{font-size:12px}
}
@media print{.rg-aside,.header,.footer,#anfrage form{display:none!important}.rg-layout{grid-template-columns:1fr}}

/* Baugenehmigung: Hinweis Gemeinde, Prüfstufen, Muster-Anfrage (23.11.2026) */
.rg-alert{display:grid;grid-template-columns:52px minmax(0,1fr);gap:4px 22px;align-items:start;background:var(--ink);color:#fff;border-left:6px solid #9fd3d6;padding:30px 32px 22px;margin:0 0 30px;scroll-margin-top:24px}
.rg-alert>svg{width:52px;height:52px;color:#9fd3d6;margin-top:2px}
.wc .rg-body .rg-alert p.eyebrow{font-size:11px;font-weight:600;letter-spacing:2.1px;line-height:1.5;color:#9fd3d6;margin:0 0 8px}
.wc .rg-body .rg-alert p:not(.eyebrow){color:#e3ecee;font-size:16.5px;line-height:1.68;margin:0 0 12px}
.wc .rg-body .rg-alert p.rg-alert-title{font-family:Georgia,serif;font-size:26px;line-height:1.28;color:#fff;letter-spacing:-.01em}
.wc .rg-body .rg-alert p.rg-alert-cta{margin:16px 0 6px}
.wc .rg-body .rg-alert a.rg-alert-link{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border:1px solid #9fd3d6;color:#fff;font-size:15px;font-weight:600;text-decoration:none}
.wc .rg-body .rg-alert a.rg-alert-link:after{content:"\2192";margin-left:10px}
.wc .rg-body .rg-alert a.rg-alert-link:hover,.wc .rg-body .rg-alert a.rg-alert-link:focus-visible{background:#9fd3d6;color:var(--ink)}
.rg-stufen{list-style:none;padding:0;margin:24px 0 10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.wc .rg-body .rg-stufen li{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e3e5df;border-top:3px solid var(--teal);padding:18px 16px 16px;margin:0;font-size:14.5px;line-height:1.55;color:#2d4048}
.wc .rg-body .rg-stufen li strong{font-family:Georgia,serif;font-size:18px;line-height:1.3;font-weight:400;color:var(--ink)}
.rg-stufe-nr{font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--teal)}
.wc .rg-body .rg-stufen li.rg-stufe-end{background:var(--ink);border-color:var(--ink);border-top-color:#9fd3d6;color:#e3ecee}
.wc .rg-body .rg-stufen li.rg-stufe-end strong{color:#fff}
.wc .rg-body .rg-stufen li.rg-stufe-end .rg-stufe-nr{color:#9fd3d6}
.wc .rg-body .rg-stufen li.rg-stufe-end a{color:#fff;text-decoration:underline;text-decoration-color:#9fd3d6;text-underline-offset:3px}
.wc .rg-body p.rg-src{font-size:12.5px;line-height:1.5;color:var(--muted);margin:0 0 24px}
.rg-wege{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:6px 0 24px}
.rg-weg{background:var(--cream);border-left:3px solid var(--teal);padding:18px 20px 6px}
.wc .rg-body .rg-weg p{font-size:15px;line-height:1.6;margin:0 0 12px}
.wc .rg-body .rg-weg p.rg-weg-titel{font-family:Georgia,serif;font-size:19px;line-height:1.3;color:var(--ink);margin:0 0 6px}
.rg-muster{margin:28px 0 34px}
.wc .rg-body .rg-muster figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 12px}
.rg-badge{display:inline-block;background:#8a6420;color:#fff;font-size:11.5px;font-weight:700;letter-spacing:1.4px;line-height:1;padding:6px 10px}
.rg-letter{background:#fff;border:1px solid #dfe3dd;border-top:4px solid #b98941;box-shadow:0 16px 36px rgba(20,44,53,.08);padding:32px 38px 20px;overflow-wrap:break-word}
.wc .rg-body .rg-letter p{font-size:15.5px;line-height:1.72;color:#22343d;margin:0 0 14px}
.rg-ph{background:#fbefcf;color:#5c4514;border-radius:3px;padding:1px 4px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.rg-muster-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:14px}
.rg-copy{min-height:44px;padding:0 22px;background:var(--ink);color:#fff;border:0;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer}
.rg-copy:hover,.rg-copy:focus-visible{background:var(--teal)}
.rg-copy-state{font-size:14px;color:var(--muted)}
@media(max-width:980px){.rg-stufen{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
.rg-alert{grid-template-columns:1fr;padding:24px 20px 16px;border-left-width:5px}
.rg-alert>svg{width:42px;height:42px}
.wc .rg-body .rg-alert p:not(.eyebrow){font-size:16px}
.wc .rg-body .rg-alert p.rg-alert-title{font-size:23px}
.rg-wege{grid-template-columns:1fr}
.rg-letter{padding:24px 18px 12px}
.wc .rg-body .rg-letter p{font-size:15px}
}
@media(max-width:520px){.rg-stufen{grid-template-columns:1fr}}
