

/* Lesbare redaktionelle Links auf hellen Startseitenflächen. */
.home .entry-content .sm-wrap a:not(.wp-element-button) { color: #285333; text-decoration: underline; text-underline-offset: .16em; }
.home .entry-content .sm-wrap a:not(.wp-element-button):hover, .home .entry-content .sm-wrap a:not(.wp-element-button):focus-visible { color: #16351f; text-decoration-thickness: 2px; }

/* Standard-Textlinks auf hellen Seitenflächen */
a { color: #285333; }
a:hover, a:focus { color: #16351f; }
.entry-meta a:any-link, .post-navigation a:any-link { color: #285333; text-decoration: underline; text-underline-offset: .16em; }
.entry-meta a:hover, .post-navigation a:hover { color: #16351f; }
.site-content a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Redaktionelle Bereiche der Startseite */
.home .sm-featureband,.home .sm-dayband,.home .sm-watchband,.home .sm-guideregister {margin:clamp(24px,5vw,64px) 0;padding:clamp(20px,4vw,48px);border-radius:16px;}
.home .sm-featureband {background:#183c30;color:#fff;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center;gap:clamp(20px,4vw,48px)}
.home .sm-featureband figure {margin:0 auto;max-width:290px}.home .sm-featureband img {width:100%;height:auto;display:block;border-radius:10px}.home .sm-featureband :is(h2,p){color:#fff}.home .entry-content .sm-wrap .sm-featureband a:any-link {color:#dcf6bb;text-decoration:underline}.sm-featureband a+p {margin-top:1.4em}
.home .sm-dayband{background:#f6eddf;color:#222d25}.home .sm-duo{display:grid;grid-template-columns:1fr 1fr;gap:2em}.home .sm-duo article{border-top:2px solid #ad8d62;padding-top:1em}.home .sm-watchband{background:#e2ece5;color:#16351f}.home .sm-watchlinks{display:grid;grid-template-columns:repeat(3,1fr);gap:1em}.home .sm-watchlinks a{display:block;padding:.8em 0;border-top:1px solid #718575}.home .sm-guideregister{background:#f1f2ee}.home :is(.sm-guideregister,.sm-measures) summary{cursor:pointer;padding:14px 4px;font-weight:700}.home .sm-guideregister details{border-top:1px solid #adb7ad}.home .sm-measures{padding:0 1em;background:#f1f2ee}.home .sm-measures[open]{padding-bottom:1em}.home .sm-measures dd{margin:0 0 1em}.home .sm-measures dt{font-weight:bold}
@media(max-width:700px){.home .sm-featureband,.home .sm-duo,.home .sm-watchlinks{grid-template-columns:minmax(0,1fr)}.home .sm-featureband figure{max-width:190px}.home .sm-watchlinks{gap:0}}


/* AAWP-Vergleiche auf schmalen Bildschirmen */
.aawp .aawp-tb--mobile .aawp-tb__row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}


/* Strong Monkey: Muster für lange Produktvergleiche */
.sm-wand-toc,.sm-wand-section{border-radius:14px;padding:clamp(16px,3vw,32px);margin-block:1.5rem;color:#183c30;min-width:0}
.sm-wand-toc{background:#183c30;color:#fff;border-top:4px solid #bbdf27}.sm-wand-toc summary{font-weight:700;cursor:pointer}.sm-wand-toc ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:8px 20px;margin:1rem 0 0;padding:0;list-style:none}.sm-wand-toc a:any-link{display:block;color:#e6f6d0;text-decoration:underline;padding:5px 0}
.sm-wand-section{background:#f1f5f0}.sm-wand-section:is(.sm-wand-section-5,.sm-wand-section-8){background:#f7eedf}.sm-wand-section:is(.sm-wand-section-3,.sm-wand-section-4){background:transparent;padding-inline:0}.sm-wand-section-9{background:#e1ece4}.sm-wand-section h2{margin-top:0;scroll-margin-top:4rem}.sm-wand-section :is(p,ul,ol){line-height:1.65}.sm-wand-section a:not(.aawp-button):any-link{color:#285333;text-decoration:underline}.sm-wand-section details{background:#fff;border:1px solid #ccd7ce;border-radius:8px;padding:12px 14px;margin:8px 0}.sm-wand-section summary{cursor:pointer;font-weight:700}.sm-wand-toc :focus-visible,.sm-wand-section :focus-visible{outline:2px solid currentColor;outline-offset:3px}


/* Inhaltsverzeichnis: Kontrast in allen Linkzuständen */
.single-post .entry-content nav.sm-wand-toc a:any-link { color: #fff !important; text-decoration: underline; text-underline-offset: .16em; min-height: 44px; padding-block: 8px; }
.single-post .entry-content nav.sm-wand-toc a:hover { text-decoration-thickness: 2px; }
.single-post .entry-content nav.sm-wand-toc :is(a, summary):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }


/* Gemeinsame Linkfarben für Navigation und neue Inhaltsflächen. */
:root { --sm-link-light-surface: #285333; --sm-link-dark-surface: #fff; }
body .main-navigation .main-nav ul li > a:any-link,
body .main-navigation .menu-bar-items .menu-bar-item > a:any-link {
  color: var(--sm-link-light-surface) !important;
}
body .main-navigation :is(a:hover, a:focus-visible, [aria-current] > a) { text-decoration: underline; text-underline-offset: .18em; }
body .main-navigation :is([class*="current-menu-"] > a, .current-post-ancestor > a, a[aria-current]) { text-decoration: underline; text-underline-offset: .18em; }
.entry-content :is(p,li,figcaption) > a:any-link:not(.aawp-button,.wp-element-button,.button) {
  color: var(--sm-link-color, var(--sm-link-light-surface));
  text-decoration: underline;
  text-underline-offset: .16em;
}
.entry-content :is(.sm-wand-toc,.sm-featureband,.sm-intro,.sm-dark-surface) { --sm-link-color: var(--sm-link-dark-surface); }
body :is(.site-main,.main-navigation,.site-footer) a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.entry-content .sm-intro .sm-actions a[href="#sm-praxis-home"]:any-link { color: #182523 !important; }
.entry-content .sm-intro .sm-actions a[href="#sm-praxis-home"]:focus-visible { outline-color: #fff; }


/* Randbündige Farbflächen des Musterartikels. */
#post-17217 :is(.sm-wand-section,.sm-wand-toc) { border-radius:0; box-shadow:0 0 0 100vmax var(--sm-band); clip-path:inset(0 -100vmax); }
#post-17217 .sm-wand-section { --sm-band:#f1f5f0; }
#post-17217 .sm-wand-section:is(.sm-wand-section-5,.sm-wand-section-8) { --sm-band:#f7eedf; }
#post-17217 .sm-wand-section:is(.sm-wand-section-3,.sm-wand-section-4) { --sm-band:transparent; }
#post-17217 .sm-wand-section-9 { --sm-band:#e1ece4; }
#post-17217 .sm-wand-toc, #post-17217 .sm-wand-section-10 { --sm-band:#183c30; }
#post-17217 .sm-wand-section-10 { background:var(--sm-band);color:#fff;padding-block:clamp(20px,4vw,48px); }
#post-17217 .sm-wand-section-10 h2 { color:#fff; padding-block-start:0; }
#post-17217 .sm-wand-section-10 > p { max-width:72ch; }
#post-17217 .sm-wand-section-10 a:any-link { color:#fff; }
.sm-wand-byline { display:flex;align-items:center;gap:14px;margin:0 0 1.25rem; padding-bottom:1rem;border-bottom:1px solid #a9c3b3; }
.sm-wand-byline img { width:52px;height:52px;object-fit:cover;border-radius:50%;flex:none; }
.sm-wand-byline span { display:block;color:#e5f1e8;font-size:.9em; }


/* Redaktionelle Empfehlungen am Ende des Musterartikels */
#post-17217:has(.sm-related-guides) #nav-below { display:none; }
#post-17217 .sm-related-guides { background:#edf0e8; color:#183c30; padding:clamp(16px,3vw,28px); margin-block:1.5rem; border-radius:12px; }
#post-17217 .sm-related-guides ul { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px;list-style:none;margin:0;padding:0; }
#post-17217 .sm-related-guides li { padding:14px;background:#fff;border-radius:8px; }
#post-17217 .sm-related-guides a:any-link { color:#285333;text-decoration:underline;font-weight:700; }
#post-17217 .sm-related-guides p { margin:.5em 0 0; }


/* Magazinlayout für den Wand-Klimmzugstangen-Ratgeber. */
#post-17217 { --sm-paper:#f7f5ed; --sm-ink:#182b24; --sm-line:#bbc8bc; }
#post-17217 .inside-article { color:var(--sm-ink); }
#post-17217 .featured-image img { width:100%; max-height:clamp(190px,38vw,400px);object-fit:cover;object-position:center 40%;border-radius:0; }
#post-17217 .entry-header, #post-17217 .sm-updated, #post-17217 .entry-content > p { max-width:72ch;margin-inline:auto; }
#post-17217 .entry-title { font-size:clamp(2rem,5vw,4rem);line-height:1.08;letter-spacing:-.045em;text-wrap:balance; }
#post-17217 .entry-content > p:first-of-type { font-size:clamp(1.1rem,2vw,1.3rem);line-height:1.65; }
#post-17217 .sm-wand-toc { --sm-band:#e4ebe3;background:var(--sm-band);color:var(--sm-ink); border-top:1px solid var(--sm-line);border-bottom:1px solid var(--sm-line);padding-block:clamp(18px,3vw,32px); }
#post-17217 .entry-content nav.sm-wand-toc a:any-link { color:#234e38 !important; }
#post-17217 .entry-content nav.sm-wand-toc :is(a,summary):focus-visible { outline-color:#234e38; }
#post-17217 .sm-wand-toc summary { font-size:1.25rem; }
#post-17217 .sm-wand-toc ul { grid-template-columns:repeat(auto-fit,minmax(min(100%,195px),1fr));gap:0 24px; }
#post-17217 .sm-wand-toc li { border-top:1px solid var(--sm-line); }
#post-17217 .sm-wand-section { --sm-band:transparent;background:var(--sm-band);margin-block:0;padding:clamp(28px,5vw,68px) 0; }
#post-17217 .sm-wand-section > :not(.aawp) { max-width:72ch;margin-inline:auto; }
#post-17217 .sm-wand-section > :is(ul,ol) { padding-inline-start:1.5em; }
#post-17217 .sm-wand-section > h2 { font-size:clamp(1.6rem,3.8vw,2.65rem);letter-spacing:-.035em;line-height:1.16;margin-block:0 1.25rem; padding:0;border:0;background:none;text-wrap:balance; }
#post-17217 .sm-wand-section h3 { font-size:clamp(1.18rem,2vw,1.55rem);line-height:1.3; }
#post-17217 .sm-wand-section:is(.sm-wand-section-1,.sm-wand-section-7,.sm-wand-section-9,.sm-wand-section-11) { --sm-band:#edf1eb;background:var(--sm-band); }
#post-17217 .sm-wand-section:is(.sm-wand-section-5,.sm-wand-section-8) { --sm-band:var(--sm-paper);background:var(--sm-band); }
#post-17217 .sm-wand-section-2 > h3 { margin-top:2.25rem;padding-top:1.3rem;border-top:2px solid var(--sm-line); }
#post-17217 .sm-wand-section-2 > .aawp { max-width:72ch;margin:1rem auto 2.5rem; }
#post-17217 .sm-wand-section-9 a[href$=".pdf"] { display:inline-block;padding:8px 14px;border:1px solid #537663;border-radius:6px;background:white;color:#285333; }
#post-17217 .sm-wand-section-10 { --sm-band:#183c30;background:var(--sm-band);color:white; }
#post-17217 .sm-wand-section-10 > h2 { color:white; }
#post-17217 .sm-wand-section-10 > p em { font-style:normal; }
#post-17217 .sm-wand-section-11 details { padding:14px 16px; }
@media(max-width:540px) { #post-17217 .sm-wand-toc ul { grid-template-columns:1fr; } }


/* Tracker-Ratgeber: Lesebreite und Produktboxen */
:is(#post-15115, #post-34798, #post-28746) .sm-magazin .sm-prose-body { width:100%; max-width:1120px; margin-inline:auto; padding-inline:0; box-sizing:border-box; }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin .sm-guide-body > .wp-block-group__inner-container { max-width:none; margin-inline:0; padding:0; }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin :is(.sm-guide-section,.sm-guide-lead) { padding-inline:clamp(16px,2.4vw,32px); }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin .sm-guide-section > .wp-block-group__inner-container { padding-inline:0; }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin :is(.sm-guide-section,.sm-guide-lead) :is(p,li) { max-width:95ch; line-height:1.68; }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin .sm-guide-section :is(h3,h4) { margin-block:1.45em .55em; }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin .aawp-product { padding:clamp(16px,2vw,28px); margin-block:1.5rem; }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin .aawp-product__description { margin-block:.85rem; font-size:1rem; line-height:1.6; }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin .aawp-product__description li + li { margin-block-start:.55em; }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin .aawp-product__footer { padding-block-start:.65rem; }
:is(#post-15115, #post-34798, #post-28746) .sm-magazin .aawp-tb :is(.aawp-tb__data,.aawp-tb__head) { padding:12px 10px; font-size:.9375rem; line-height:1.5; }

/* ---------- B29 Startseite ---------- */
.entry-content .sm-intro .sm-actions a[href="#themen"]:any-link { color: #182523 !important; }
.entry-content .sm-intro .sm-actions a[href="#themen"]:focus-visible { outline-color: #fff; }
.home .sm-trackerband{scroll-margin-top:3rem}
.home .sm-trackerband .sm-tracker-more{font-size:.95rem}
.home .sm-tracker-legend{font-size:1.12rem;font-weight:750;margin:0 0 14px}
.home .sm-tracker-chips{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.home .sm-tracker-chips li{margin:0}
.home .entry-content .sm-wrap .sm-tracker-chips a:any-link{display:inline-block;padding:7px 13px;border:1px solid #a8b797;border-radius:30px;background:#fbfcf8;color:#243928;text-decoration:none;font-weight:650;font-size:.95rem}
.home .entry-content .sm-wrap .sm-tracker-chips a:hover{border-color:#243928}
.home .entry-content .sm-wrap a.sm-tracker-cta:any-link{display:inline-block;margin:0 0 14px;padding:11px 16px;border-radius:4px;background:#243928;color:#fff;font-weight:700;text-decoration:none}
.home .entry-content .sm-wrap a.sm-tracker-cta:hover{box-shadow:inset 0 -3px 0 #bbdf27}
.home .sm-nameband{margin:clamp(24px,5vw,64px) 0;padding:clamp(20px,4vw,48px);border-radius:16px;background:#fff;border:1px solid #d6dccf;border-left:6px solid #bbdf27;color:#17221a}
.home .sm-nameband h2{margin-top:0}
.home .sm-nameband p{max-width:70ch}
