/* Hardware-Journal – Kind-Template „cassiopeia_hwj2“ (Cassiopeia, Joomla 5/6) – Stylesheet 2.4.0, konsolidiert 12.11.2026
   Dunkel ist Standard, hell über <html data-theme="light"> (Umschalter in js/user.js). Alle Schriften lokal (keine Anfrage an Google).

   Konsolidiert ohne Optikänderung (Bericht: reports/css-konsolidierung.md). Je Selektor und Kontext steht möglichst eine Regel;
   es gilt der bisher wirksame Wert, überschriebene und tote Regeln sind entfernt. Breakpoint-Regeln stehen am Ende ihres Bausteins.
   WICHTIG beim Bearbeiten: Die Reihenfolge ist kaskadenrelevant, wo gleich spezifische Selektoren dieselbe Eigenschaft setzen.
   Regeln, die deshalb hinter einem späteren Abschnitt stehen müssen, sind dort als „Fortsetzung aus Abschnitt …“ markiert –
   nicht nach oben verschieben, ohne die Kaskade zu prüfen.

   Inhalt
    1  Schriften und Farb-Tokens (dunkel = Standard, hell über html[data-theme="light"], modusfeste Kopf-Tokens)
    2  Grundlage: Seite, Typografie, Links, Fokus, Bedienelemente, Bootstrap-Flächen im Dunkelmodus (übergreifende Regeln)
       Fortsetzungen (Kaskade) in Abschnitt 4, 5, 6, 8, 9
    3  Seitenraster, Modulflächen, Abschnittstitel, Werbeplätze
       Fortsetzungen (Kaskade) in Abschnitt 6, 8, 10
    4  Formulare, Login/Konto, Suche, Newsletter
       Fortsetzungen (Kaskade) in Abschnitt 7, 8, 9
    5  Artikel: Rahmen, Kopf, Protokollzeile, Fließtext, Inhaltsverzeichnis, Blättern
       Fortsetzungen (Kaskade) in Abschnitt 6, 8, 9
    6  Kopf: Logo, Hauptmenü, Untermenüs, Suche im Kopf, Social-Links, Hell/Dunkel-Umschalter
       Fortsetzungen (Kaskade) in Abschnitt 8, 9
    7  Fuß, 404, Cookie-Hinweis, Lightbox
       Fortsetzungen (Kaskade) in Abschnitt 8, 9
    8  Karten und Listen: Aufmacher, Startseiten-Teaser, Seitenleiste, Listenzeilen, Rubrik-Auswahl, Seitenzahlen
       Fortsetzungen (Kaskade) in Abschnitt 9
    9  Artikel-Bausteine: Tabellen (Datenblatt, Kaufbox, Alt-Fazit, Team), Messwerte, Fazit/Plakette, Alt-Fazitbox, Aufklapper, Galerie, Redaktionsbausteine, Diskussion, Altinhalt
       Fortsetzungen (Kaskade) in Abschnitt 10
   10  Forum (Kunena) */

/* ========================================================================================================================
   1  Schriften und Farb-Tokens (dunkel = Standard, hell über html[data-theme="light"], modusfeste Kopf-Tokens)
   ======================================================================================================================== */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }
/* 2.4.8: metrisch angepasste Ersatzschriften (Arial, mit fontTools aus den woff2 gemessen) – bis die Webschrift geladen ist, belegt der Text
   denselben Platz → kein Neuumbruch/Layoutsprung beim Schrifttausch (Lighthouse: „Web font loaded“ ≈ 0,1 CLS). */
@font-face { font-family: "Source Sans 3 Ersatz"; font-weight: 300 500; src: local("Arial"), local("ArialMT");
  size-adjust: 92.9%; ascent-override: 110.2%; descent-override: 43%; line-gap-override: 0%; }
@font-face { font-family: "Source Sans 3 Ersatz"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 92.3%; ascent-override: 111%; descent-override: 43.3%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Semi Condensed Ersatz"; font-weight: 300 900; src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 83.2%; ascent-override: 120.2%; descent-override: 24%; line-gap-override: 0%; }

:root {
  color-scheme: dark; --hwj-ad-a: #1b1f25; --hwj-ad-b: #20252c; --hwj-ad-line: #3a414b; --hwj-ad-text: #8590a0; --hwj-scrim: rgba(8, 10, 14, .9);
  --hwj-body: "Source Sans 3", "Source Sans 3 Ersatz", "Segoe UI", Arial, sans-serif; --cassiopeia-color-primary: var(--hwj-steel); --cassiopeia-color-link: var(--hwj-link);
  --cassiopeia-color-hover: var(--hwj-link-hover); --cassiopeia-font-family-body: var(--hwj-body);
  --cassiopeia-font-family-headings: var(--hwj-display); --body-bg: var(--hwj-paper); --body-color: var(--hwj-text);
  --body-font-family: var(--hwj-body); --emphasis-color: var(--hwj-ink); --secondary-color: var(--hwj-muted); --secondary-bg: var(--hwj-surface-2);
  --tertiary-bg: var(--hwj-surface); --border-color: var(--hwj-line); --link-color: var(--hwj-link); --link-hover-color: var(--hwj-link-hover);
  --heading-color: var(--hwj-ink); --hwj-display: "Barlow Semi Condensed", "Barlow Semi Condensed Ersatz", "Arial Narrow", Arial, sans-serif; --hwj-head: #121417;
  --hwj-head-2: #1a1d21; --hwj-paper: #121417; --hwj-surface: #1a1d21; --hwj-surface-2: #22262b; --hwj-media: #22262b; --hwj-line: #2e333a;
  --hwj-line-strong: #3d434b; --hwj-ink: #f4f6f8; --hwj-text: #d4d9df; --hwj-soft: #b9c1ca; --hwj-muted: #9aa4af; --hwj-silver: #c4cbd3;
  --hwj-silver-deep: #8b949f; --hwj-steel: #4a6aa0; --hwj-steel-strong: #5b7fae; --hwj-steel-mark: #5b7fae; --hwj-link: #8fb0d8;
  --hwj-link-hover: #c3d6ee; --hwj-ice: #8fb0d8; --hwj-gold: #d8b26c; --hwj-gold-text: #e3c58f; --hwj-test: #d8b26c; --hwj-test-text: #e3c58f;
  --hwj-deal: #5fbb86; --hwj-deal-text: #5fbb86; --hwj-contra: #d48a7c; --hwj-radius: 4px; --r-0: 0; --r-img: 2px; --r-ctl: 3px; --r-plate: 4px;
  --hwj-max: 1200px; --hwj-cut: 12deg; --cassiopeia-font-weight-headings: 600;
}
:root[data-theme="light"] {
  color-scheme: light; --hwj-ad-a: #f7f8fa; --hwj-ad-b: #eef1f5; --hwj-ad-line: #c3ccd6; --hwj-ad-text: #7d8894; --hwj-head: #121417;
  --hwj-head-2: #1a1d21; --hwj-paper: #eceef1; --hwj-surface: #ffffff; --hwj-surface-2: #f4f6f8; --hwj-media: #e3e7ec; --hwj-line: #d3d9df;
  --hwj-line-strong: #b5bdc6; --hwj-ink: #14181d; --hwj-text: #2a3038; --hwj-soft: #3d4550; --hwj-muted: #5b6571; --hwj-silver: #6d7782;
  --hwj-silver-deep: #4d5560; --hwj-steel: #4a6aa0; --hwj-steel-strong: #3b5a8c; --hwj-steel-mark: #3f6494; --hwj-link: #2d4f7e;
  --hwj-link-hover: #3f6494; --hwj-ice: #2d4f7e; --hwj-gold: #c7a25b; --hwj-gold-text: #8a6420; --hwj-test: #c7a25b; --hwj-test-text: #8a6420;
  --hwj-deal: #2a7a4a; --hwj-deal-text: #2a7a4a; --hwj-contra: #a84a37;
}
/* M-A/M-B/M-D: Kopf, Footer, Cookie-Hinweis bleiben in beiden Modi Graphit → eigene, modusfeste Tokens */
:root, :root[data-theme="light"] {
  --hwj-head-bg: #121417; --hwj-head-ink: #f4f6f8; --hwj-head-text: #d4d9df; --hwj-head-muted: #9aa4af; --hwj-head-line: #3d434b;
  --hwj-head-field: #22262b; --hwj-head-silver: #c4cbd3; --hwj-head-steel: #4a6aa0;
}

/* ========================================================================================================================
   2  Grundlage: Seite, Typografie, Links, Fokus, Bedienelemente, Bootstrap-Flächen im Dunkelmodus (übergreifende Regeln)
   ======================================================================================================================== */

html { scroll-padding-top: 90px; background: var(--hwj-paper); }
html, body.site { overflow-x: hidden; overflow-x: clip; }   /* 2.9.7: clip statt hidden – hidden macht html/body zum Scroll-Container und hebt position: sticky am Kopf auf */
body.site { background: var(--hwj-paper); color: var(--hwj-text); font-family: var(--hwj-body); font-size: 1.0625rem; line-height: 1.6; }
a { color: var(--hwj-link); text-underline-offset: .18em; }
a:hover { color: var(--hwj-steel); }
:focus-visible { border-radius: 4px; outline: 2px solid var(--hwj-steel-mark); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--hwj-ink); }
body.itemid-435:not(:has(.com-content-article__body *)) .mod-breadcrumbs__wrapper,
body.itemid-435:not(:has(.com-content-article__body *)) .card:has(.mod-breadcrumbs), body.com_kunena .card:has(.mod-breadcrumbs) {
  display: none !important;
}
.readmore .btn, .btn-primary { background: var(--hwj-steel); border-color: var(--hwj-steel); }
.table {
  --table-color: var(--hwj-text); --table-bg: transparent; --table-border-color: var(--hwj-line); --table-striped-bg: rgba(127,140,160,.08);
  --table-striped-color: var(--hwj-text); --table-hover-bg: rgba(127,140,160,.12); --table-hover-color: var(--hwj-ink);
}
:root[data-theme="light"] mark { background: #fff1a8; }
:root:not([data-theme="light"]) :is(.btn-outline-primary, .btn-outline-secondary):hover {
  background: var(--hwj-steel); border-color: var(--hwj-steel); color: #fff;
}
:root:not([data-theme="light"]) .text-muted, :root:not([data-theme="light"]) .breadcrumb-item.active,
:root:not([data-theme="light"]) .mod-breadcrumbs .active {
  color: var(--hwj-muted);
}
/* Typografie: Mischschreibung, Tabellenziffern, keine Deko-Versalien */
body { font-size: 1.0625rem; }
h1, h2, h3, h4, .page-header h1, .page-header h2 { font-family: var(--hwj-display); font-weight: 600; letter-spacing: 0; text-transform: none; }
time, .hwj-meta, .hwj-card__date, table, .hwj-plate, .hwj-toc__pos { font-variant-numeric: lining-nums tabular-nums; }
/* Keine Schatten, Radien je Komponente */
.card, .hwj-card, .hwj-card article, .main-top.card, .main-bottom.card, .sidebar-right.card, .container-bottom-a .card, .container-component > main,
.hwj-toc, .hwj-pagenav__link, .btn, .form-control {
  box-shadow: none !important;
}
.btn, .form-control, input, select, textarea { border-radius: var(--r-ctl) !important; }
div[style*="text-align:center"]:has(> a[href*="/credits"]) { margin-top: 1.5rem; font-size: .75rem; }
div[style*="text-align:center"]:has(> a[href*="/credits"]) a { color: var(--hwj-muted); }
/* Systemmeldungen (falsches Passwort usw.): Core setzt weißen Grund mit grauer Schrift → im Dunkelmodus unlesbar */
joomla-alert { background-color: var(--hwj-surface) !important; color: var(--hwj-text) !important; border-radius: var(--r-img, 4px); }
a.btn.jmodedit:hover, a.btn.jmodedit:focus-visible { opacity: 1; }
/* S-H: Aufmacher „neueste Tests“ auch mobil (alte Regel blendete alle top-a-Module aus, gemeint war nur der Superbanner) */
@media (max-width: 767.98px) {
  .container-top-a .card.hwj-hero, .container-top-a .card:has(.hwj-hero) { display: block !important; }
}
@media (max-width: 640px) {
  body.site { font-size: 1rem; }
}

/* ========================================================================================================================
   3  Seitenraster, Modulflächen, Abschnittstitel, Werbeplätze
   ======================================================================================================================== */

.site-grid { max-width: var(--hwj-max); margin-inline: auto; padding-inline: 16px; column-gap: 2rem; }
/* Werbeplätze
   Live: nur Platz reservieren (keine Layout-Sprünge). Gestreifter Platzhalter + Beschriftung NUR im Spiegel
   (Klasse .hwj-mirror setzt user.js bei localhost) – sonst läge der Text live über echten Anzeigen. */
.container-banner { margin: 1.25rem auto 0; margin-inline: max(16px, calc((100% - var(--hwj-max)) / 2 + 16px)); }
.container-banner, ins.adsbygoogle, .sidebar-right.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.mod-articles-items)):not(:has(.klatest-items)):not(:has(form)),
.main-bottom.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.mod-articles-items)) {
  position: relative; min-height: 96px; box-shadow: none;
}
.sidebar-right.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.mod-articles-items)):not(:has(.klatest-items)):not(:has(form)) { min-height: 250px; }
ins.adsbygoogle { display: block; min-height: 120px; margin: 1.5rem 0; }
.hwj-mirror .container-banner, .hwj-mirror ins.adsbygoogle,
.hwj-mirror .sidebar-right.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.mod-articles-items)):not(:has(.klatest-items)):not(:has(form)),
.hwj-mirror .main-bottom.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.mod-articles-items)) {
  border: 1px dashed var(--hwj-ad-line); border-radius: var(--hwj-radius);
  background: repeating-linear-gradient(135deg, var(--hwj-ad-a) 0 12px, var(--hwj-ad-b) 12px 24px);
}
.hwj-mirror .container-banner::before, .hwj-mirror ins.adsbygoogle::after,
.hwj-mirror .sidebar-right.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.mod-articles-items)):not(:has(.klatest-items)):not(:has(form))::after,
.hwj-mirror .main-bottom.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.mod-articles-items))::after {
  content: "Anzeige – im Spiegel blockiert"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem;
  color: var(--hwj-ad-text); pointer-events: none; text-align: center; padding: 0 .5rem;
}
.hwj-mirror .container-banner::before { content: "Anzeige (Leaderboard) – im Spiegel blockiert"; }
/* Aufmacher-Slider */
.container-top-a { margin-top: 1.25rem; }
.container-top-a .card, .container-top-a .moduletable { background: transparent; border: 0; box-shadow: none; padding: 0; }
.container-top-a .n2-section-smartslider { border-radius: 14px; overflow: hidden; }
.n2-section-smartslider [class*="n2-font-"], .n2-section-smartslider .n2-ss-layer { font-family: var(--hwj-display) !important; }
/* 2.8.7 Startseiten-Slider: Anriss + Knopf in der Fließtext-Schrift (Ebenen-Klasse hwj-slide-text, slider-hauptbeitraege.json) */
.n2-section-smartslider .n2-ss-layer.hwj-slide-text, .n2-section-smartslider .hwj-slide-text, .n2-section-smartslider .hwj-slide-text * { font-family: var(--hwj-body) !important; }
/* Module: Flächen + Abschnittstitel */
/* Abschnitte: 2-px-Silberregel über dem Titel statt Verlaufslinie daneben; Module ohne Kasten */
.main-top.card, .main-bottom.card, .sidebar-right.card, .container-bottom-a .card {
  padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; background: none !important; border: 0 !important; border-radius: 0 !important;
  padding-inline: 0;
}
.card > .card-header, .moduletable > h3 {
  display: flex; align-items: center; gap: .75rem; font-family: var(--hwj-display); font-weight: 500; font-size: 1.3rem; text-transform: none;
  letter-spacing: .01em; color: var(--hwj-ink); background: transparent; border: 0; padding: 0; margin: 0 0 1rem;
}
.card > .card-header::after { flex: 1; height: 2px; background: linear-gradient(90deg, var(--hwj-steel), transparent); }
.card > .card-body { padding: 0; }
/* Dunkel: Bootstrap-/Fremdflächen angleichen */
.card, .moduletable { --card-bg: var(--hwj-surface); --card-color: var(--hwj-text); --card-border-color: var(--hwj-line); color: var(--hwj-text); }
/* Mobil: feste Werbeformate dürfen die Seite nicht verbreitern
   (DFP-Leaderboard ist fest 728×90 → ohne Begrenzung rendert das Handy die Seite 761 px breit und verkleinert alles).
   Empfehlung live: für < 768 px ein mobiles Format (320×50/300×250) per Size-Mapping ausliefern. */
.container-banner, .mod-custom, .sidebar-right.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle), .main-bottom.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle) { max-width: 100%; overflow: hidden; }
[id^="div-gpt-ad"], .mod-custom iframe, .container-banner iframe { max-width: 100%; }
/* Superbanner (top-a, fest min-width 1184 px) als Werbeplatz kennzeichnen; feste Mindestbreiten aufheben */
[id^="div-gpt-ad"] { min-width: 0 !important; }
.container-top-a .card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.n2-section-smartslider)) { position: relative; min-height: 90px; }
.hwj-mirror .container-top-a .card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.n2-section-smartslider)) {
  border: 1px dashed var(--hwj-ad-line); border-radius: var(--hwj-radius);
  background: repeating-linear-gradient(135deg, var(--hwj-ad-a) 0 12px, var(--hwj-ad-b) 12px 24px);
}
.hwj-mirror .container-top-a .card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.n2-section-smartslider))::after {
  content: "Anzeige (Superbanner) – im Spiegel blockiert"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem;
  color: var(--hwj-ad-text);
}
.site-grid > *, .container-banner { min-width: 0; }
/* Banner liegt im Seitengrid: an der Inhaltsspalte ausrichten statt an der vollen Breite */
.site-grid > .container-banner { grid-column: main-start / main-end; margin-inline: 0; max-width: none; width: auto; }
.card > .card-header::after, .card-header::after { content: none; display: none; }
.main-top.card > .card-body, .main-bottom.card > .card-body, .sidebar-right.card > .card-body { padding-inline: 0; }
/* Werbeplätze live: „Anzeige“-Label über dem Leaderboard (Spiegel-Schraffur bleibt .hwj-mirror) */
html:not(.hwj-mirror) .container-banner { margin-top: 1.6rem; }
html:not(.hwj-mirror) .container-banner::before {
  content: "Anzeige"; position: absolute; top: -1.25rem; left: 0; font-size: .78rem; letter-spacing: .02em; color: var(--hwj-muted);
}
.hwj-mirror .container-banner, .hwj-mirror ins.adsbygoogle { border-radius: 0 !important; }
.hwj-mirror .sidebar-right.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.mod-articles-items)):not(:has(.klatest-items)):not(:has(form)) {
  background: repeating-linear-gradient(135deg, var(--hwj-ad-a) 0 12px, var(--hwj-ad-b) 12px 24px) !important;
  border: 1px dashed var(--hwj-ad-line) !important; padding-inline: 1rem !important;
}
/* S-D: Werbeplatz-Kopf in der Sidebar nicht wie Redaktionsmodul (keine Silberregel, kleines Label) */
.sidebar-right.card:has(script, [id^="div-gpt-ad"], ins.adsbygoogle):not(:has(.mod-articles-items)):not(:has(.klatest-items)):not(:has(form)) > .card-header {
  border-top: 0 !important; font-family: var(--hwj-body); font-weight: 400; font-size: .78rem; letter-spacing: .02em;
  color: var(--hwj-muted); padding: 0 0 .3rem !important;
}
/* In-Content-Anzeige nach dem 2. Absatz (Override default.php): Luft wie ein Absatz */
.hwj-ad-incontent { margin: 1.5rem 0; }
.main-top .mod-custom :is(p, span, a, strong, div)[style] {
  color: inherit !important; font-family: inherit !important; font-size: inherit !important; text-align: left !important; margin-left: 0 !important;
  padding-left: 0 !important;
}
.main-top .mod-custom a[style*="color"] { color: var(--hwj-link) !important; }
.main-top .mod-custom font { color: inherit !important; font-family: inherit !important; font-size: inherit !important; }
.main-top .mod-custom > p:first-child img {
  display: block; width: auto; max-width: min(320px, 100%); height: auto; padding: .75rem 1rem; background: #fff; border-radius: var(--r-plate);
}
.main-top .mod-custom > p:nth-child(2) { font-size: 1.05rem; }
.main-top .mod-custom > p:nth-child(2) > span:first-child > span:first-child {
  display: block; font-family: var(--hwj-display) !important; font-size: 1.3rem !important; font-weight: 600; color: var(--hwj-ink) !important;
  margin-bottom: .2rem;
}
.main-top .mod-custom > p:nth-child(2) br + br { display: none; }
.main-top .mod-custom p:has(> br:only-child), .main-top .mod-custom p:empty { display: none; }
.main-top .mod-custom :is(h1, h2, h3) a { color: var(--hwj-ink) !important; text-decoration: none !important; }
.main-top .mod-custom :is(h1, h2, h3) a:hover { color: var(--hwj-link) !important; }
.main-top .mod-custom :is(h1, h2, h3) + p img, .main-top .mod-custom p img[style*="float"] { max-width: 180px; height: auto; border-radius: var(--r-img); }
/* Feinschliff 4: Startseite verdichten (Design M4, Sam „viel Info, wenig Platz“)
   Seitenleiste 320 px statt 25 % (262 px) → Testtitel brechen nicht mehr 4–5-zeilig um; Listen kompakter. */
@media (min-width: 992px) {
  body.has-sidebar-right .site-grid { grid-template-columns: [full-start] 0 [main-start] repeat(3, minmax(0, 1fr)) 320px [main-end] 0 [full-end]; }
  /* S6 – letzter Block der Seitenleiste läuft mit */
  .container-sidebar-right > :last-child { top: 1rem; }
  .container-sidebar-right > :has(#mod-custom148) { order: 10; position: sticky; top: 1rem; }
}
@media (max-width: 991.98px) {
  .container-banner { min-height: 70px; max-width: calc(100% - 32px); }
}
/* Skyscraper (160×600) und 160er-Microsites passen mobil nicht → ausblenden; 300×250 bleibt */
@media (max-width: 767.98px) {
  .sidebar-right.card:has(#div-gpt-ad-1486036338274-3), .sidebar-right.card:has(#div-gpt-ad-1486036338274-4),
  .sidebar-right.card:has(iframe[width="160"]) {
    display: none;
  }
}
@media (max-width: 640px) {
  .container-top-a .card:not(:has(.n2-ss-slider:not([style*="display: none"]))) { display: none; }
}

/* ========================================================================================================================
   4  Formulare, Login/Konto, Suche, Newsletter
   ======================================================================================================================== */

/* ---------- Suche */
.com-finder .result__title a, .com-finder .result-title a { text-decoration: none; color: var(--hwj-ink); font-family: var(--hwj-display); font-size: 1.2rem; }
.com-finder .result__date, .com-finder .result-date, .com-finder .result__taxonomy { color: var(--hwj-muted); font-size: .85rem; }
.com-finder mark, .com-finder .highlight { padding: 0; }
.com-finder .result__item, .com-finder li.result { padding: 1rem 0; border-top: 1px solid var(--hwj-line); }
.com-finder__form input[type="text"], .com-finder__form input#q { flex: 1 1 auto; min-width: 0; width: 100%; }
.com-finder__form .input-group > .awesomplete > input, .com-finder__form .input-group > input { width: 100%; }

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Buttons site-weit: Stahl mit Lichtkante; sekundär Haarlinie */
.btn-primary, .btn-secondary:not(.mm-toggler), #kunena .btn-primary, .acym_module .btn, .hwj-404__search .btn {
  background: var(--hwj-steel) !important; border: 1px solid var(--hwj-steel) !important; color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14) !important; font-weight: 600; border-radius: var(--r-ctl) !important;
}
.btn-primary:hover, #kunena .btn-primary:hover { background: var(--hwj-steel-strong) !important; border-color: var(--hwj-steel-strong) !important; }

/* ---------- Suche */
/* S-F (Teil): Suchtreffer – Hervorhebung ohne Gelb */
.com-finder mark, .com-finder .highlight, :root[data-theme="light"] .com-finder mark {
  background: transparent; color: var(--hwj-ink); font-weight: 600;
}

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.btn-outline-primary, .btn-outline-secondary, #kunena .btn-outline-primary {
  background: none !important; border: 1px solid var(--hwj-line-strong) !important; color: var(--hwj-text) !important;
  border-radius: var(--r-ctl) !important;
}
.btn-outline-primary:hover, .btn-outline-secondary:hover { border-color: var(--hwj-silver) !important; color: var(--hwj-ink) !important; }

/* ---------- Login, Konto, Newsletter */
/* Newsletter (AcyMailing) */
:is(.acym_module, .acymailing_module) :is(input[type="text"], input[type="email"]) {
  width: 100%; max-width: none; border-radius: 8px; padding: .5rem .7rem;
}
/* Newsletter (AcyMailing) */
.acym_module table.acym_form { width: 100%; border-collapse: collapse; }
.acym_module table.acym_form td { display: block; padding: 0 0 .6rem; }
.acym_module :is(input[type="text"], input[type="email"]) {
  height: 44px; border: 1px solid var(--hwj-line) !important; background: var(--hwj-surface-2) !important; color: var(--hwj-text);
  box-shadow: none;
}
.acym_module :is(input[type="text"], input[type="email"]):focus {
  border-color: var(--hwj-link) !important; outline: 2px solid color-mix(in srgb, var(--hwj-link) 35%, transparent);
}
.acym_module .acysubbuttons .btn { width: 100%; padding: .65rem 1.2rem; }
/* S9 – Login kompakt */
.com-users-login { max-width: 26rem; margin-inline: auto; }
.com-users-login .com-users-login__options { margin-top: 1.25rem; }
/* K-G: Login – Hilfslinks als schlichte Textlinks unter dem Formular, Anmelden-Knopf in Formularbreite */
.com-users-login__options.list-group {
  display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--hwj-line); border-radius: 0;
}
.com-users-login__options .list-group-item:hover { text-decoration: underline; }
.com-users-login__submit .btn-primary { width: 100%; }
:is(.com-users-registration, .com-users-reset, .com-users-remind) :is(h1, .page-header h1) {
  font-family: var(--hwj-display); font-size: 1.9rem; margin-bottom: .75rem;
}
:is(.com-users-registration, .com-users-reset, .com-users-remind) fieldset {
  border: 0; padding: 1rem 0 0; margin: 0 0 1.25rem; border-top: 0 !important; padding-top: 0 !important;
}
:is(.com-users-registration, .com-users-reset, .com-users-remind) legend {
  font-family: var(--hwj-display); font-weight: 600; float: none; padding: 0; display: block; width: 100% !important; padding-top: .8rem !important;
  margin-bottom: .75rem; border-top: 2px solid var(--hwj-silver); font-size: 1.35rem !important;
}
:is(.com-users-registration, .com-users-reset, .com-users-remind) :is(input.form-control, input[type="text"], input[type="email"], input[type="password"]) {
  border: 1px solid var(--hwj-line-strong) !important; background: var(--hwj-surface) !important; color: var(--hwj-text) !important;
}
:is(.com-users-registration, .com-users-reset, .com-users-remind) .btn-primary { width: 100%; }
/* Passwort/Benutzername vergessen: Joomla setzt die Erklärung als <legend> und keine Überschrift → Erklärung als Text, Titel per CSS */
:is(.com-users-reset, .com-users-remind) fieldset { background: transparent !important; }
:is(.com-users-reset, .com-users-remind) legend {
  font-family: inherit !important; font-size: 1rem !important; font-weight: 400 !important; color: var(--hwj-text); line-height: 1.6;
}
:is(.com-users-reset, .com-users-remind)::before {
  display: block; font-family: var(--hwj-display); font-size: 1.9rem; font-weight: 600; color: var(--hwj-ink); margin-bottom: .5rem;
}
.com-users-reset:not(:has(h1))::before { content: "Passwort zurücksetzen"; }
.com-users-remind:not(:has(h1))::before { content: "Benutzername vergessen"; }
/* QA Kann-Paket (v1/v2) */
/* v2 K1: Login – Hilfslinks ohne Balken, Formular als Karte mit Innenabstand, alle Felder mit Rahmen */
.com-users-login form, .com-users-login fieldset { background: transparent; }
.com-users-login :is(input.form-control, input[type="text"], input[type="password"]) {
  border: 1px solid var(--hwj-line-strong) !important; background: var(--hwj-bg, var(--hwj-surface-2)) !important; color: var(--hwj-text);
}
/* Hilfslinks unter dem Login: die allgemeine Dunkelmodus-Regel für .list-group-item (spezifischer) malte graue Balken → übersteuern */
html:root .com-users-login__options.list-group { flex-direction: row; }
html:root .com-users-login__options .list-group-item { background: none !important; width: auto; }
/* Sam 11.11.: Formulare (Passwort/Benutzername vergessen, Registrieren, Profil) als Karte mit Innenabstand – wie die Login-Karte */
html:root :is(.com-users-registration, .com-users-reset, .com-users-remind, .com-users-profile__edit) form {
  padding: 1.5rem 1.5rem .75rem; border: 1px solid var(--hwj-line); border-top: 2px solid var(--hwj-silver); border-radius: var(--r-plate, 4px);
  background: var(--hwj-surface-2) !important;
}
html:root :is(.com-users-registration, .com-users-reset, .com-users-remind, .com-users-profile__edit) form fieldset:first-of-type legend {
  border-top: 0 !important; padding-top: 0 !important;
}
html:root :is(.com-users-registration, .com-users-reset, .com-users-remind, .com-users-profile__edit) form fieldset + fieldset legend {
  border-top: 1px solid var(--hwj-line) !important; padding-top: 1.25rem !important;
}
html:root :is(.com-users-registration, .com-users-reset, .com-users-remind, .com-users-profile__edit) .control-group { margin-bottom: 1.1rem; }
html:root :is(.com-users-registration, .com-users-reset, .com-users-remind, .com-users-profile__edit) :is(input.form-control, input[type="text"], input[type="email"], input[type="password"]) {
  background: var(--hwj-bg, var(--hwj-surface)) !important;
}
html:root :is(.com-users-registration, .com-users-reset, .com-users-remind, .com-users-profile__edit) .page-header { border: 0; margin-bottom: .75rem; }
html:root :is(.com-users-registration, .com-users-reset, .com-users-remind) [class*="__submit"] { margin: 1.25rem 0 .75rem; }

/* ========================================================================================================================
   5  Artikel: Rahmen, Kopf, Protokollzeile, Fließtext, Inhaltsverzeichnis, Blättern
   ======================================================================================================================== */

.mod-breadcrumbs { background: transparent; padding: 0; margin: 0; font-size: .88rem; color: var(--hwj-muted); }
.mod-breadcrumbs .mod-breadcrumbs__here { display: none; }
/* Artikel */
.container-component > main {
  padding: 2rem clamp(1.1rem, 4vw, 3rem) 2.5rem; margin-bottom: 1.5rem; background: none; border: 0;
  border-radius: 0 !important; padding-inline: 0 !important;
}
.com-content-article > .page-header:has(+ .page-header) h1, .com-content-article > .page-header:has(+ .page-header) h2 {
  font-family: var(--hwj-body); font-size: .85rem; font-weight: 700; color: var(--hwj-link); margin: 0; border-left: 3px solid var(--hwj-steel);
  padding-left: .5rem; line-height: 1.1;
}
.com-content-article .page-header h1, .com-content-article .page-header h2, .item-page h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; color: var(--hwj-ink); margin: 0 0 .75rem;
}
.com-content-article .article-info { padding: 0 0 1rem; border-bottom: 1px solid var(--hwj-line); }
.com-content-article .article-info .article-info-term { display: none; }
.com-content-article .tags { margin-bottom: 1.25rem; }
.com-content-article .tags .btn, .com-content-article .tags a {
  background: var(--hwj-paper); color: var(--hwj-link); border: 1px solid var(--hwj-line); border-radius: 999px; font-size: .82rem; font-weight: 600;
  padding: .2rem .7rem;
}
.com-content-article__body, .item-page [itemprop="articleBody"] { font-size: 1.12rem; line-height: 1.72; color: var(--hwj-text); overflow-wrap: anywhere; }
.com-content-article__body h2, .com-content-article__body h3 { line-height: 1.2; }
/* Kapitel-Übersicht (Override plg_content_pagebreak/toc) */
/* Inhaltsverzeichnis & Seitennavigation als Protokoll-Block */
.hwj-toc {
  margin: 0 0 1.75rem; max-width: 74ch; background: none; border: 0 !important; border-radius: 0 !important;
  border-top: 2px solid var(--hwj-silver) !important; border-bottom: 1px solid var(--hwj-line) !important; padding: .2rem 0 .6rem;
}
.hwj-toc summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 1.1rem; cursor: pointer; list-style: none;
  font-family: var(--hwj-display); font-weight: 600;
}
.hwj-toc summary::-webkit-details-marker { display: none; }
.hwj-toc__label { font-family: var(--hwj-display); font-size: 1.15rem; color: var(--hwj-ink); }
.hwj-toc__label::after { content: " ▾"; font-size: .8em; color: var(--hwj-steel); }
.hwj-toc[open] .hwj-toc__label::after { content: " ▴"; }
.hwj-toc__pos { font-size: .88rem; }
.hwj-toc__list { margin: 0; padding: 0 1.1rem 1rem 2.6rem; columns: 2 18rem; column-gap: 2rem; }
.hwj-toc__list li { break-inside: avoid; padding: .2rem 0; font-size: .97rem; border: 0; }
.hwj-toc__list a { color: var(--hwj-text); text-decoration: none; }
.hwj-pagenav__link.is-next {
  grid-column: 2; text-align: right; background: var(--hwj-steel) !important; border-color: var(--hwj-steel) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14) !important; color: #fff;
}
.hwj-pagenav__link:hover { border-color: var(--hwj-steel); }
.hwj-pagenav__link.is-next:hover { background: var(--hwj-link); }
.hwj-pagenav__dir { font-size: .8rem; color: var(--hwj-muted); }
/* M-J: Seitennavigation mobil einspaltig, keine Wortbrüche; Folgeseiten-Link volle Breite */
.hwj-pagenav__title {
  font-family: var(--hwj-display); font-size: 1.12rem; line-height: 1.25; color: var(--hwj-ink); overflow-wrap: normal; word-break: normal;
  hyphens: auto;
}
.hwj-pagenav__link.is-next .hwj-pagenav__dir { color: #dbe7f4; }
.hwj-pagenav__link.is-next .hwj-pagenav__title { color: #fff; }
.hwj-pagenav__link.is-prev .hwj-pagenav__dir::before { content: "‹ "; }
.hwj-pagenav__link.is-next .hwj-pagenav__dir::after { content: " ›"; }
.com-content-article__body iframe { max-width: 100%; }
.article-info-term, .com-content-category-blog .article-info > dt { display: none; }
.com-content-article__body :is(td, th) { padding: .4rem .6rem; }
body.itemid-1218 .container-component > main:not(:has(.com-content-article__body *)) { display: none; }
/* SEO-Override Artikel: Rubrik als Dachzeile statt H1 */
/* Rubrik-Marke über Artikelüberschriften größer (Sam: „Wie wir testen“ wirkte winzig neben der H1) */
.com-content-article .hwj-kicker {
  margin: 0 0 .35rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--hwj-display); font-weight: 600;
  color: var(--hwj-link); font-size: 1.02rem; margin-bottom: .2rem;
}
.com-content-article__body h2[itemprop="name"] { margin: .35rem 0; font-family: var(--hwj-body); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.com-content-article__body h2[itemprop="name"] em { font-style: normal; }
.com-content-article__body h2[itemprop="name"] a { text-decoration: none; border-bottom: 1px solid currentColor; }
/* K3 – fett gesetzte Einzeiler im Altbestand als Zwischenüberschrift */
/* Zwischentitel der Redaktion = Absatz, der NUR aus Fettschrift besteht. :only-child ignoriert Text → traf auch Fettes mitten im Satz
   (Deals: „Ersparnis von <strong>124 Euro</strong>. …“). Markierung jetzt per user.js (Textvergleich) → .hwj-subhead */
.com-content-article__body p.hwj-subhead > strong, .com-content-article__body p.hwj-subhead > span > strong {
  display: block; font-family: var(--hwj-display); font-weight: 500; font-size: 1.3rem; line-height: 1.25; margin-top: 1.4rem; color: var(--hwj-ink);
}
.com-content-article__body h2 { font-size: 1.6rem; margin: 2.25rem 0 .6rem; }
.com-content-article__body h2::after, .com-content-article__body h3::after { content: none !important; }
body.itemid-435 .container-component > main:not(:has(.com-content-article__body *)) { display: none; }
/* Tags im Artikel: Haarlinien-Rechteck */
.com-content-article .tags a {
  background: none !important; border: 1px solid var(--hwj-line-strong) !important; border-radius: var(--r-ctl) !important;
  color: var(--hwj-muted) !important; font-weight: 500;
}
.hwj-toc__list li.is-active a, .hwj-toc__list li.is-active { color: var(--hwj-ink); font-weight: 700; }
.hwj-toc__list li::marker, .hwj-toc__list li::before { color: var(--hwj-silver-deep); font-variant-numeric: tabular-nums; }
.hwj-pagenav__link { border-radius: var(--r-ctl) !important; border: 1px solid var(--hwj-line-strong) !important; background: none !important; }
.com-content-article .article-info dd { margin: 0; }
.com-content-article .article-info .published { order: -1; font-variant-numeric: tabular-nums; }
.com-content-article .hwj-kicker--test { color: var(--hwj-gold-text); }
.com-content-article .hwj-kicker--test::before {
  content: ""; width: 10px; height: 12px; background: var(--hwj-gold); clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);
}
/* S-I: aktiver Eintrag im Inhaltsverzeichnis ohne „Cursor“-Strich zwischen Nummer und Titel */
.hwj-toc__list li.is-active, .hwj-toc__list li.is-active a { box-shadow: none; }
.hwj-toc__list li.is-active::marker { color: var(--hwj-ink); font-weight: 700; }
.hwj-toc__list li.is-active a {
  text-decoration: underline; text-decoration-color: var(--hwj-silver); text-decoration-thickness: 2px; text-underline-offset: .25em;
}
.hwj-pagestrip__all { margin-left: .5rem; font-size: .9rem; }
.hwj-pagestrip__end { margin-left: auto; font-family: var(--hwj-display); font-weight: 600; font-size: .95rem; white-space: nowrap; }
/* Listenpunkte mit <p> darin (neuer Editor, 22 Artikel): kein Absatzabstand je Punkt */
.com-content-article__body li > p { margin: 0; }
/* QA S1: leere Alt-Absätze (<p>&nbsp;</p>) – per user.js markiert; eine Folge schrumpft auf eine halbe Zeile */
.com-content-article__body p.hwj-empty { margin: 0; height: .75rem; overflow: hidden; }
.com-content-article__body p.hwj-empty + p.hwj-empty { display: none; }
.com-content-article__body p:has(> img[src*="balken-about-us"]:only-child), .com-content-article__body p:has(span img[src*="balken-about-us"]) {
  display: none;
}
/* Menü-Seitenüberschrift über dem Beitragstitel (z. B. „Wie wir testen“) wie die Rubrik-Marke: lesbar groß, ohne Alt-Balken */
.com-content-article > .page-header:has(+ .page-header) :is(h1, h2) {
  font-family: var(--hwj-display) !important; font-size: 1.02rem !important; font-weight: 600 !important; border-left: 0 !important;
  padding-left: 0 !important;
}
/* v1 K2: leere Listenpunkte */
.com-content-article__body li:empty, .com-content-article__body li.hwj-empty-li { display: none; }
/* Brotkrumen bündig mit Inhalt und Überschrift (Bootstrap-Einzug 16px wirkte wie Versatz; Sam 11.11. „Über uns“) */
html:root .mod-breadcrumbs { padding-left: 0 !important; }
/* Hörproben: {play}…{/play} (Flash) → <audio controls> (convert-content-legacy.php, 11.11.2026) */
.com-content-article__body audio { display: block; width: min(100%, 26rem); height: 2.5rem; margin: .5rem 0 1rem; color-scheme: light dark; }
@media (max-width: 991.98px) {
  .container-component > main { padding: 1.25rem 1rem 1.5rem; }
}
@media (max-width: 767.98px) {
  .com-content-article__body h2[itemprop="name"] { font-size: 1rem; }
}
@media (max-width: 640px) {
  .hwj-pagenav__link.is-next { grid-column: 1; }
  .com-content-article__body { font-size: 1.05rem; }
  .container-component > main { padding: 1.1rem .95rem 1.4rem; }
  .com-content-article .page-header h1, .com-content-article .page-header h2 { font-size: 1.75rem; }
}
.com-content-article .page-header h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); line-height: 1.12; letter-spacing: -.005em; }
@media (max-width: 640px) {
  .hwj-toc__list { columns: 1; padding-left: 2.2rem; }
}
@media (max-width: 575.98px) {
  .hwj-pagenav { grid-template-columns: 1fr !important; }
  .hwj-pagenav > span:empty { display: none; }
  .hwj-pagenav__link, .hwj-pagenav__link.is-next { grid-column: 1; width: 100%; }
  .hwj-pagestrip__label { display: none; }
  .hwj-pagestrip__end { margin-left: 0; flex-basis: 100%; margin-top: .3rem; }
}

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.readmore .btn:hover, .btn-primary:hover { background: var(--hwj-link); border-color: var(--hwj-link); }
/* Buttons, die Bootstrap dunkelblau auf Dunkel zeichnet (Kunena-Diskussion, Kunena-Suche, Login) */
:root:not([data-theme="light"]) :is(.btn-outline-primary, .btn-link, .btn-outline-secondary) {
  color: var(--hwj-link); border-color: #46607e; background: transparent;
}

.com-content-article .article-info .createdby { color: var(--hwj-text); }

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
:root:not([data-theme="light"]) .dropdown-item { color: var(--hwj-text); }

/* ========================================================================================================================
   6  Kopf: Logo, Hauptmenü, Untermenüs, Suche im Kopf, Social-Links, Hell/Dunkel-Umschalter
   ======================================================================================================================== */

/* Kopf: eine Zeile, fixiert */
.container-header {
  position: sticky; top: 0; z-index: 1020; display: flex; flex-wrap: wrap; align-items: center; column-gap: 2rem;
  padding-inline: max(16px, calc((100% - var(--hwj-max)) / 2 + 16px)); background: var(--hwj-head); border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--hwj-steel) 0%, var(--hwj-ice) 45%, transparent 100%) 1; box-shadow: 0 6px 18px rgba(10, 14, 20, .28);
}
.container-header > .grid-child { max-width: none; width: auto; margin: 0; padding: 0; }
.container-header .navbar-brand { margin: 0; padding: .5rem 0; }
/* Logo auf dunklem Kopf besser lesbar (Original für hellen Grund gestaltet) */
.container-header .brand-logo img {
  width: auto; max-height: none; display: block; filter: brightness(1.35) contrast(1.05) drop-shadow(0 0 1px rgba(255, 255, 255, .35)); height: 60px;
}
.container-header .site-description { display: none; }
.container-header .container-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 0; padding: 0; }
.container-header nav.navbar { padding: 0; }
.container-header .metismenu > li { display: flex; align-items: center; position: relative; }
.container-header .metismenu > li > a, .container-header .metismenu > li > span, .container-header .metismenu > li > button.mm-toggler-link {
  font-family: var(--hwj-display); font-weight: 500; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; padding: 1.25rem .8rem;
  text-decoration: none; background: none; box-shadow: inset 0 -3px 0 transparent; transition: color .15s, box-shadow .15s;
  color: var(--hwj-head-text) !important;
}
.container-header .metismenu > li > .mm-toggler { padding: 0 .3rem 0 0; background: none; border: 0; color: var(--hwj-head-muted); }
.container-header .metismenu > li::after { display: none; }
.container-header .metismenu > li > .mm-toggler::after {
  content: ""; display: block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px); position: static; margin: 0 auto;
}
.container-header .metismenu > li > .mm-toggler[aria-expanded="true"]::after { transform: rotate(-135deg); }
.container-header .metismenu.mod-menu .mm-collapse {
  position: absolute; top: 100%; left: 0; min-width: 250px; z-index: 30; padding: .4rem 0; box-shadow: 0 14px 30px rgba(10, 14, 20, .22);
}
.container-header .metismenu.mod-menu .mm-collapse a {
  display: block; padding: .45rem 1.1rem; font-family: var(--hwj-body); text-transform: none; letter-spacing: 0; white-space: normal;
  overflow: visible; text-overflow: clip; line-height: 1.3;
}
.container-header .container-search { margin: 0; flex: 0 0 230px; }
.container-header .container-search .mod-finder { display: flex; }
.container-header .container-search .mod-finder label { display: none; }
.container-header .container-search .mod-finder .input-group { flex-wrap: nowrap; }
.container-header .container-search .mod-finder input { padding-left: 1rem; border-radius: var(--r-ctl) 0 0 var(--r-ctl) !important; }
.container-header .container-search .mod-finder .btn {
  border-radius: 0 999px 999px 0; background: var(--hwj-head-steel) !important; border-color: var(--hwj-head-steel) !important;
  color: #fff !important;
}
.hwj-theme-toggle:hover { border-color: var(--hwj-ice); }
.hwj-theme-toggle__icon { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset -5px -2px 0 0 #e6ebf1; }
:root[data-theme="light"] .hwj-theme-toggle__icon { box-shadow: none; background: #f5c542; outline: 3px dotted #f5c54280; outline-offset: 2px; }
.container-header .container-search .mod-finder, .container-header .container-search .mod-finder .input-group,
.container-header .container-search form {
  width: 100%;
}
.hwj-social li { margin: 0; }
.hwj-social a { width: 40px; height: 40px; border: 1px solid #3a4048; display: grid; place-items: center; }
.container-header .container-search .moduletable:not(:has(*)) { display: none; }
.container-header .mod-finder__search .btn {
  height: auto; display: inline-flex; align-items: center; gap: .35rem; margin: 0 !important; border-radius: 0 var(--r-ctl) var(--r-ctl) 0 !important;
}
.container-header .metismenu > li > a, .container-header .metismenu > li > span {
  text-transform: none; font-family: var(--hwj-display); font-weight: 500; letter-spacing: .01em; font-size: .98rem;
}
.hwj-social a, .hwj-theme-toggle {
  border-radius: var(--r-ctl) !important; background: var(--hwj-head-2) !important; color: var(--hwj-head-text) !important;
  border-color: var(--hwj-head-line) !important;
}
.container-header .metismenu > li > a:hover, .container-header .metismenu > li.active > a, .container-header .metismenu > li.current > a,
.container-header .metismenu > li.active > span {
  color: var(--hwj-head-ink) !important; box-shadow: inset 0 -2px 0 var(--hwj-head-silver) !important;
}
.container-header .container-search .mod-finder input, .container-header .container-search .mod-finder input[type="search"],
.container-header .container-search .mod-finder input[type="text"] {
  background: var(--hwj-head-field) !important; color: var(--hwj-head-ink) !important; border: 1px solid var(--hwj-head-line) !important;
}
.container-header .container-search .mod-finder input::placeholder { color: var(--hwj-head-muted); opacity: 1; }
.container-header .navbar-toggler { color: var(--hwj-head-ink); border-color: var(--hwj-head-line) !important; }
.container-header .metismenu.mod-menu .mm-collapse a:hover { background: var(--hwj-surface-2) !important; color: var(--hwj-ink) !important; }
/* Konto-Seiten ohne eigenen Menüpunkt: „Startseite“ im Hauptmenü nicht als aktiv markieren */
body:is(.view-login, .view-registration, .view-reset, .view-remind, .com_tags) .container-header .metismenu > li.current > a {
  box-shadow: none !important; color: inherit !important;
}
body:is(.view-login, .view-registration, .view-reset, .view-remind, .com_tags) .container-header .metismenu > li.current > a::after {
  display: none;
}
/* Kopf Desktop: Logo | Menü | Suche | Umschalter in EINER Zeile (Cassiopeia verteilt Menüpunkte sonst über volle Breite) */
@media (min-width: 992px) {
  .container-header .container-nav { flex-wrap: nowrap; min-width: 0; }
  .container-header nav.navbar { flex: 1 1 auto; min-width: 0; }
  .container-header .metismenu { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: auto; }
}
.container-header .mod-finder__search { display: flex; align-items: stretch; flex-wrap: nowrap; width: 100%; }
@media (min-width: 992px) {
  .container-header .metismenu > li { flex: 0 0 auto; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .15s; }
  .container-header .metismenu > li > a, .container-header .metismenu > li > span { padding-inline: .62rem; }
  .container-header > .grid-child.container-nav { flex: 1 1 0; }
}
.container-header .mod-finder__search .awesomplete { flex: 1 1 auto; min-width: 0; }
@media (min-width: 992px) {
  .container-header .metismenu > li.metismenu-item { padding: 0; margin: 0; }
  .container-header .metismenu > li > .mm-toggler { width: 18px; padding: 0; margin-right: .2rem; margin-left: -.5rem; }
}
/* Untermenü-Einträge: kein Abschneiden, kompakte Zeilen */
.container-header .metismenu .mm-collapse > li { padding: 0; margin: 0; border: 0; }
/* Desktop: Untermenüs öffnen bei Hover/Fokus (wie Live-Seite); viele Unterpunkte → mehrspaltiges Panel */
@media (min-width: 992px) {
  .container-header .metismenu > li > ul.mm-collapse { display: none; height: auto; }
  .container-header .metismenu > li:hover > ul.mm-collapse, .container-header .metismenu > li:focus-within > ul.mm-collapse,
  .container-header .metismenu > li > ul.mm-collapse.mm-show {
    display: grid !important; grid-template-columns: 1fr; padding: .6rem; gap: 0 .5rem; border-top: 3px solid var(--hwj-steel);
    border-radius: 0 0 12px 12px; box-shadow: 0 22px 40px rgba(0,0,0,.45);
  }
  .container-header .metismenu > li > ul.mm-collapse:has(> li:nth-child(9)) { grid-template-columns: repeat(2, minmax(200px, 1fr)); }
  .container-header .metismenu > li:nth-last-child(-n+3) > ul.mm-collapse { left: auto; right: 0; }
  .container-header .metismenu.mod-menu .mm-collapse a { border-radius: 6px; padding: .5rem .8rem; }
  .container-header .metismenu > li > .mm-toggler::after {
    flex: 0 0 auto; box-sizing: content-box; width: 6px; height: 6px; min-height: 6px; border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) translateY(-2px);
  }
  .container-header .metismenu > li:hover > .mm-toggler::after { transform: rotate(-135deg) !important; }
  .container-header .metismenu > li > ul.mm-collapse:has(> li:nth-child(15)) { grid-template-columns: repeat(3, minmax(205px, 1fr)); }
  /* Feinschliff 6 (unabhängige Design-Kritik 10.11.)
     M2: Menü bei 1366 px nicht mehr unter der Suche abgeschnitten (Social-Icons kamen dazu) */
  .container-header .container-search { flex: 0 1 170px; min-width: 140px; }
  .container-header .hwj-social { gap: .25rem; }
  .container-header .hwj-social a, .container-header .hwj-theme-toggle { width: 34px; height: 34px; }
  .container-header .mod-finder__search .btn { font-size: 0; gap: 0; padding-inline: .7rem; }
  /* 2.2.1 (aus HiFi 1.0.1): EIN Strich unter dem Hauptmenüpunkt inkl. Pfeil – vorher Text und Pfeil getrennt unterstrichen (Doppelstrich) */
  /* :is() hebt die Spezifität über „li.active > a:hover … !important“ (Z. ~1131) */
  .container-header .metismenu > li:is(*, .active, .current) > :is(a, span, button, .mm-toggler):is(*, :hover, :focus) { box-shadow: none !important; }
  .container-header .metismenu > li:hover, .container-header .metismenu > li.active, .container-header .metismenu > li.current {
    box-shadow: inset 0 -2px 0 var(--hwj-head-silver) !important;
  }
}
@media (min-width: 992px) and (max-width: 1279.98px) {
  .container-header .metismenu > li > a, .container-header .metismenu > li > span { padding-inline: .45rem; }
  /* 992–1279 px (kleine Laptops/Tablet quer): Suche in eine zweite Kopfzeile, sonst überdeckt sie das Menü */
  .container-header .container-nav { flex-wrap: wrap; row-gap: .4rem; }
  .container-header .container-search { order: 9; flex: 1 1 100%; max-width: none; min-width: 0; }
}
@media (max-width: 991.98px) {
  .container-header .container-nav { flex-wrap: wrap; flex-basis: 100%; }
  .container-header .metismenu > li > a { box-shadow: none; flex: 1; padding: .85rem .1rem; }
  .container-header .metismenu.mod-menu .mm-collapse { position: static; box-shadow: none; }
  .container-header > .grid-child:first-child { flex: 1 1 auto; }
  .container-header > .grid-child.container-nav { display: contents; }
  .container-header .hwj-theme-toggle { order: 2; }
  .container-header nav.navbar { order: 3; position: static; }
  .container-header .navbar-toggler { margin: 0; width: 46px; padding: 0; display: grid; place-items: center; border-radius: 10px; height: 42px; }
  .container-header .container-search { order: 4; flex: 1 1 100%; padding: .45rem 0 0; }
  .container-header .navbar-collapse {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 1030; padding: .25rem 16px 1rem; max-height: 75vh; overflow-y: auto;
  }
  .container-header .metismenu > li {
    display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #2b3139; border-bottom-color: var(--hwj-head-line);
  }
  .container-header .metismenu > li > ul.mm-collapse {
    flex-basis: 100%; position: static; border-radius: 8px; margin: 0 0 .6rem; background: #1a1d21; border-color: var(--hwj-head-line);
  }
  /* Mobil: lange Unterlisten zweispaltig statt endloser Liste */
  .container-header .metismenu > li > ul.mm-collapse.mm-show { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .35rem; }
  .container-header .metismenu.mod-menu .mm-collapse a { font-size: .95rem; border-radius: 6px; padding: .55rem .6rem; }
  .container-header .hwj-social { order: 2; }
  .container-header .hwj-social a, .container-header .hwj-theme-toggle { width: 42px; height: 42px; }
  .container-header .brand-logo img { height: 50px; }
  .container-header .container-search .mod-finder input, .container-header .mod-finder__search .btn { height: 44px; }
  .container-header .metismenu.mod-menu .mm-collapse a:hover { background: #22262b !important; color: var(--hwj-head-ink) !important; }
}
@media (max-width: 380px) {
  .container-header .hwj-social { display: none; }
}

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Breadcrumbs */
.container-breadcrumbs, .card:has(> .card-body > .mod-breadcrumbs__wrapper) { background: transparent; border: 0; padding: 0; margin: 0 0 .75rem; }
joomla-alert .alert-message, joomla-alert .alert-wrapper, joomla-alert .alert-message * { color: var(--hwj-text) !important; }

/* ---------- Fortsetzung aus Abschnitt 3 (Seitenraster) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
@media (max-width: 991.98px) {
  .container-banner { margin-inline: 16px; width: auto; }
}

/* ---------- Fortsetzung aus Abschnitt 5 (Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.com-content-article > .page-header:has(+ .page-header) { margin: 0 0 .35rem; }

/* ========================================================================================================================
   7  Fuß, 404, Cookie-Hinweis, Lightbox
   ======================================================================================================================== */

/* ---------- Cookie-Hinweis (Altmodul) */
/* Alter Cookie-Hinweis (J3-Modul mod_responsive_eu_cookie_alert) – nur optisch angepasst.
   Fachlich ist er KEINE Einwilligung (siehe docs/ALTLASTEN.md); live durch eine Consent-Lösung ersetzen. */
/* S12 – Alt-Cookie-Hinweis deckend (wird live durch CCM19 ersetzt) */
/* M-D + S-E: Cookie-Hinweis (Alt-Modul) auf Kopf-Tokens, Bedienelemente mit Control-Radius, Inhalt im Seitenraster */
.eupopup-container {
  text-align: left !important; font-family: var(--hwj-body); opacity: 1 !important; background: var(--hwj-head-bg) !important;
  color: var(--hwj-head-text) !important; border-top: 1px solid var(--hwj-head-line) !important; box-shadow: none !important;
  padding: 1rem max(16px, calc((100vw - var(--hwj-max)) / 2 + 16px)) !important;
}
.eupopup-container .eupopup-head { font-family: var(--hwj-display); font-size: 1.1rem; }
.eupopup-container .eupopup-body { font-size: .92rem; max-width: 80ch; }
.eupopup-container .eupopup-buttons { padding: .5rem 0 0; }
.eupopup-container .eupopup-button {
  display: inline-block; margin: 0 .5rem 0 0; padding: .4rem 1rem; font-size: .9rem;
  text-decoration: none; border-radius: var(--r-ctl) !important; font-weight: 600;
}
.eupopup-container .eupopup-closebutton {
  font-size: 1.2rem; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #45505c;
  text-decoration: none;
}
.eupopup-container .eupopup-button_1 {
  background: var(--hwj-head-steel) !important; color: #fff !important; border: 1px solid var(--hwj-head-steel);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

/* ---------- Fortsetzung aus Abschnitt 4 (Formulare / Login, Konto, Newsletter) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.com-users-login__options :is(a, .list-group-item, .list-group-item-action) { background: none; box-shadow: none; }

/* ---------- Lightbox (JCE MediaBox) */
/* v2 K4: Lightbox (JCE MediaBox) dunkel statt weißer Standardrahmen */
.wf-mediabox-overlay { background-color: #0b0d10 !important; }
.wf-mediabox-container, .wf-mediabox-nav, .wf-mediabox-caption, .wf-mediabox-body:after, .wf-mediabox-content-item > figure > figcaption {
  background: #16191d !important; color: #d6dce3 !important;
}
.wf-mediabox-close, .wf-mediabox-prev, .wf-mediabox-next, .wf-mediabox-caption :is(h4, p) a, .wf-mediabox-numbers { color: #d6dce3 !important; }
.wf-mediabox-numbers button.active { background: #3a5680 !important; border-color: #16191d !important; }
.wf-mediabox-numbers button.wf-mediabox-focus { border-color: #16191d !important; }

/* ---------- Fuß */
/* Fuß */
.container-footer { margin-top: 2.5rem; padding-block: 1.75rem 2.25rem; font-size: .92rem; }
/* Fuß: an der Inhaltsflucht ausrichten */
.container-footer .grid-child { max-width: var(--hwj-max); padding-inline: 16px; margin-inline: auto; }
.container-footer .mod-menu, .container-footer ul.nav { display: flex; flex-flow: row wrap; gap: .4rem 1.6rem; list-style: none; padding: 0; margin: 0; }
.container-footer .mod-menu li.divider, .container-footer .mod-menu .separator { display: none; }
.container-footer a { color: #dbe3ec; text-decoration: none; }
.back-to-top-link { background: var(--hwj-steel); border-color: var(--hwj-steel); border-radius: var(--r-ctl) !important; }
.back-to-top-link .icon-arrow-up::before {
  content: ""; display: block; width: 12px; height: 12px; border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: translateY(3px) rotate(45deg);
}
/* S1 – ein Raster: Footer, Forum, Videos auf derselben Containerbreite wie alles andere */
.container-footer > .grid-child { max-width: var(--hwj-max); margin-inline: auto; padding-inline: 16px; width: 100%; }
.hwj-footer__brand p { margin: .9rem 0 0; color: var(--hwj-muted); font-size: .92rem; max-width: 34ch; }
.hwj-footer ul { list-style: none; margin: 0; padding: 0; }
.hwj-footer li { margin: .3rem 0; }
.hwj-footer a { color: var(--hwj-text); text-decoration: none; }
.container-footer .hwj-footer__head { color: #f4f6f8; }
.container-footer .hwj-footer__legal { border-top-color: #2e333a; }
@media (max-width: 767.98px) {
  .hwj-footer__brand { grid-column: 1 / -1; }
}

/* ---------- 404 */
/* 404 / Fehlerseite */
body.error .container-component > main, .error-page main, #errorPage { padding: 2rem clamp(1rem, 4vw, 3rem); }
/* 404 als Messwert */
.hwj-404__code {
  margin: 0; font-family: var(--hwj-display); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--hwj-silver-deep);
  opacity: 1; font-weight: 700; font-variant-numeric: tabular-nums;
}
.hwj-404 h1 { margin: .3rem 0 .6rem; }

/* ========================================================================================================================
   8  Karten und Listen: Aufmacher, Startseiten-Teaser, Seitenleiste, Listenzeilen, Rubrik-Auswahl, Seitenzahlen
   ======================================================================================================================== */

/* ---------- Karten */
.main-top.card.hwj-teaser { background: transparent; border: 0; padding: 0; }
/* Artikel-Karten (Override mod_articles) */
/* Karten: kein Kasten – Haarlinien bilden das Blatt */
.hwj-cards {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  column-gap: 24px !important; row-gap: 0 !important;
}
.hwj-card article { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.hwj-card__media { display: block; aspect-ratio: 16 / 9; background: var(--hwj-media); overflow: hidden; }
.hwj-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hwj-card article:hover .hwj-card__media img { transform: scale(1.03); }
.hwj-card__body { display: flex; flex-direction: column; gap: .3rem; padding: .7rem 0 0 !important; background: none !important; }  /* nötig: neutralisiert Aufmacher-Verlauf (css-compare 2.4.4) */
.hwj-card__cat { align-self: flex-start; line-height: 1.1; }
.hwj-card__cat[href^="/testberichte"] { border-color: var(--hwj-test); }
.hwj-card__cat[href^="/deals"] { border-color: var(--hwj-deal); }
.hwj-card .mod-articles-title { margin: 0; }
.hwj-card .mod-articles-title a { color: var(--hwj-ink); text-decoration: none; }
.hwj-card .mod-articles-title a:hover { color: var(--hwj-link); text-decoration: underline; }
.hwj-card__excerpt {
  margin: .15rem 0 0; font-size: .95rem; line-height: 1.5; color: var(--hwj-soft); display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
/* Startseite „Aktuelle News“: Aufmacher, vier Karten, dann Kurzmeldungen */
.hwj-teaser .hwj-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; }
/* Aufmacher „Aktuelle News“ (Lead): zweispaltig Bild | Textfeld, kein Text auf dem Bild */
.hwj-teaser .hwj-card:first-child { grid-column: 1 / -1; padding-top: 0; border-top: 0 !important; }
.hwj-teaser .hwj-card:first-child article { position: relative; border-radius: 14px; }
.hwj-teaser .hwj-card:first-child.has-image .hwj-card__body {
  position: absolute; inset: auto 0 0 0; padding: 4rem 1.75rem 1.5rem; gap: .5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 14, .72) 40%, var(--hwj-scrim) 100%);
}
.hwj-teaser .hwj-card:first-child.has-image .mod-articles-title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.12; font-weight: 500; }
.hwj-teaser .hwj-card:first-child.has-image .mod-articles-title a, .hwj-teaser .hwj-card:first-child.has-image .hwj-card__excerpt { color: #fff; }
.hwj-teaser .hwj-card:first-child.has-image .hwj-card__date { color: #c9d4e0; }
.hwj-teaser .hwj-card:first-child.has-image .hwj-card__cat { color: var(--hwj-ice); border-color: var(--hwj-ice); }
.hwj-teaser .hwj-card:first-child .hwj-card__excerpt { max-width: 62ch; -webkit-line-clamp: 2; }
.hwj-teaser .hwj-card:nth-child(n+2):nth-child(-n+5) .mod-articles-title { font-size: 1.2rem; }
.hwj-teaser .hwj-card:nth-child(n+6) { grid-column: 1 / -1; }
.hwj-teaser .hwj-card:nth-child(n+6) article { flex-direction: row; gap: 1rem; align-items: flex-start; border-radius: 0; background: transparent; }
.hwj-teaser .hwj-card:nth-child(n+6) .hwj-card__media { flex: 0 0 168px; border-radius: 8px; flex-basis: 150px; }
/* Sidebar: kompakte Liste mit Vorschaubild */
.sidebar-right .hwj-cards { display: block; }
.sidebar-right .hwj-card + .hwj-card { border-top: 1px solid var(--hwj-line); }
.sidebar-right .hwj-card article { flex-direction: row; align-items: center; gap: .8rem; border-radius: 0; }
.sidebar-right .hwj-card__media { flex: 0 0 92px; border-radius: 6px; flex-basis: 84px; }
.sidebar-right .hwj-card__body { padding: 0; gap: .15rem; min-width: 0; }
/* Sidebar: lange Titel umbrechen statt abschneiden */
.sidebar-right .hwj-card .mod-articles-title {
  font-family: var(--hwj-body); font-weight: 600; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; hyphens: auto; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-right .hwj-card__cat { font-size: .72rem; }
.sidebar-right .hwj-card__excerpt { display: none; }
/* Kunena „Letzte Forumbeiträge“ */
.sidebar-right .klatest-items { list-style: none; padding: 0; margin: 0; }
.sidebar-right .klatest-items > li { padding: .6rem 0; border-bottom: 1px solid var(--hwj-line); font-size: .92rem; line-height: 1.35; }
.sidebar-right .klatest-items > li:last-child { border-bottom: 0; }
.sidebar-right .klatest-items a { text-decoration: none; }
.sidebar-right .klatest-items .klatest-subject a, .sidebar-right .klatest-items > li > a:first-child { font-weight: 600; color: var(--hwj-ink); }
.sidebar-right .klatest-items .klatest-subject a:hover { color: var(--hwj-link); text-decoration: underline; }
/* Menü-Module in der Sidebar (Kategorieauswahl) */
.sidebar-right .mod-menu { gap: 0; }
.sidebar-right .mod-menu > li > a { display: block; padding: .4rem 0; color: var(--hwj-text); text-decoration: none; border-bottom: 1px solid var(--hwj-line); }
.sidebar-right .mod-menu > li:last-child > a { border-bottom: 0; }
.sidebar-right .mod-menu > li > a:hover, .sidebar-right .mod-menu > li.active > a { color: var(--hwj-link); }
.hwj-card .hwj-card__body { padding: .9rem 1.05rem 1.1rem; }
.sidebar-right .hwj-card .hwj-card__body, .hwj-teaser .hwj-card:nth-child(n+6) .hwj-card__body { padding: 0; }
.hwj-videos .hwj-card__media { position: relative; }
.hwj-videos .hwj-card__media::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; translate: -50% -50%; border-radius: 50%;
  background: rgba(10,14,20,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat;
  border: 2px solid rgba(255,255,255,.85); transition: background-color .15s;
}
.hwj-videos .hwj-card article:hover .hwj-card__media::after { background-color: var(--hwj-steel); }
.hwj-teaser .hwj-card:nth-child(n+2):nth-child(-n+5) .hwj-card__excerpt { -webkit-line-clamp: 2; }
.hwj-teaser .hwj-card:nth-child(n+6) .hwj-card__excerpt { -webkit-line-clamp: 1; }
.hwj-hero .hwj-card article { height: 100%; }
.hwj-hero .hwj-card__media { border-radius: 0; position: relative; inset: auto; display: block; aspect-ratio: 16 / 9; }
.hwj-hero .hwj-card__media::after {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,12,18,.94) 0%, rgba(8,12,18,.62) 42%, rgba(8,12,18,0) 75%);
  content: none;
}
.hwj-hero .hwj-card__body {
  left: 0; right: 0; bottom: 0; z-index: 1; position: static; pointer-events: auto; padding: .7rem 0 0;
  background: none;
}
.hwj-hero .hwj-card__body a { pointer-events: auto; }
.hwj-hero .hwj-card:first-child .mod-articles-title { max-width: 28ch; }
.hwj-hero .hwj-card:first-child .hwj-card__excerpt { max-width: 60ch; -webkit-line-clamp: 2; }
/* S5 – Lead-Karte „Aktuelle News“: kräftigerer Verlauf, damit Text nicht über Bildschrift liegt */
.hwj-teaser .hwj-card:first-child .hwj-card__media::after {
  background: linear-gradient(to top, rgba(8,12,18,.94) 0%, rgba(8,12,18,.6) 45%, rgba(8,12,18,0) 75%); content: none;
}
.hwj-card__cat::before, .hwj-row__cat::before { content: none; }
.hwj-card__cat[href^="/testberichte"], .hwj-row__cat[href^="/testberichte"] { color: var(--hwj-gold-text) !important; }
.hwj-card__cat[href^="/testberichte"]::before, .hwj-row__cat[href^="/testberichte"]::before {
  content: "" !important; display: inline-block; width: 10px; height: 12px; background: var(--hwj-gold);
  clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);
}
.hwj-card__cat[href^="/deals"], .hwj-row__cat[href^="/deals"] { color: var(--hwj-deal) !important; }
.hwj-card, .hwj-card article { background: none; border: 0 !important; border-radius: 0 !important; }
.hwj-card__media, .hwj-card__media img, .hwj-row__media, .hwj-row__media img { border-radius: var(--r-img) !important; }
.hwj-card__media:empty, .hwj-card.no-image .hwj-card__body { background: none; }
.hwj-teaser .hwj-card:first-child :is(.mod-articles-title a, .hwj-card__date, .hwj-card__excerpt) { color: inherit; text-shadow: none; }
.hwj-teaser .hwj-card:first-child .mod-articles-title a { color: var(--hwj-ink) !important; }
/* Startseiten-Aufmacher Tests (hwj-hero): Lead mit Schnitt-Kante (nur hier, weil es Tests sind) + zwei Karten */
.hwj-hero .hwj-cards, .card.hwj-hero .hwj-cards { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 0 24px !important; }
.hwj-hero .hwj-card { position: static; min-height: 0; overflow: visible; border-radius: 0 !important; }
.hwj-hero .hwj-card:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 0; padding-top: 0; border-top: 0 !important; }
.hwj-hero .hwj-card:first-child article { display: grid; background: var(--hwj-surface) !important; }
.hwj-hero .hwj-card:first-child .hwj-card__media::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 30px; z-index: 1;
  background: linear-gradient(calc(90deg + var(--hwj-cut)), transparent calc(50% - 1px), var(--hwj-silver) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}
.hwj-hero .mod-articles-title a, .hwj-hero .hwj-card__date { color: var(--hwj-ink) !important; }
.hwj-hero .hwj-card__date { color: var(--hwj-muted) !important; }
.hwj-hero .hwj-card__cat { color: var(--hwj-gold-text); }
/* Prüfstand – Korrekturen nach Sichtprüfung 1 */
.hwj-teaser .hwj-card:first-child article, .hwj-hero .hwj-card:first-child article { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hwj-teaser .hwj-card:first-child .hwj-card__media, .hwj-hero .hwj-card__media { overflow: hidden; min-width: 0; width: 100%; }
/* 1 – Kleine Plakette auf Test-Karten/-Zeilen (Award aus Feld hwj-award, Altbestand per scripts/awards-from-images.php) */
.hwj-card__media, .hwj-row__media { position: relative; }
.sidebar-right .hwj-card__kicker { min-height: 18px; }
.sidebar-right .hwj-plate--mini { height: 18px; }
.sidebar-right .hwj-award-mini { height: 18px; }
@media (max-width: 767.98px) {
  .hwj-hero .hwj-card:first-child .hwj-card__media::before { content: none; }
  .hwj-teaser .hwj-card:first-child article, .hwj-hero .hwj-card:first-child article { grid-template-columns: minmax(0, 1fr) !important; }
  .hwj-hero .hwj-cards, .card.hwj-hero .hwj-cards { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 640px) {
  .hwj-teaser .hwj-cards { grid-template-columns: 1fr; gap: 1.1rem; }
}
/* Video-Galerie (/videos) */
.hwj-videos .hwj-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.hwj-teaser .hwj-cards { row-gap: 1.1rem; }
@media (max-width: 640px) {
  .hwj-teaser .hwj-card:nth-child(n+6) .hwj-card__excerpt { display: none; }
  .hwj-teaser .hwj-card:first-child.has-image .hwj-card__body { position: static; padding: .8rem 0 .2rem; background: none; }
  .hwj-teaser .hwj-card:first-child.has-image .mod-articles-title a { color: var(--hwj-ink); }
  .hwj-teaser .hwj-card:first-child.has-image .hwj-card__excerpt { color: var(--hwj-soft); }
  .hwj-teaser .hwj-card:first-child.has-image .hwj-card__date { color: var(--hwj-muted); }
  .hwj-teaser .hwj-card:first-child.has-image .hwj-card__cat { color: var(--hwj-link); border-color: var(--hwj-steel); }
  .hwj-teaser .hwj-card:first-child .hwj-card__media { border-radius: 12px; }
  .hwj-teaser .hwj-card:first-child.has-image .mod-articles-title { font-size: 1.65rem; }
}
@media (max-width: 575.98px) {
  .hwj-teaser .hwj-card:nth-child(n+4) .hwj-card__media { flex: 0 0 104px; aspect-ratio: 1 / 1; }
}
/* 2.12.1: Bild bleibt 16:10 und oben bündig – vorher height:100% → wuchs mit der Textspalte (AdSense-Auto-Anzeige 300×600 im Text → Bild ~1.000 px hoch) */
.hwj-teaser .hwj-card:first-child .hwj-card__media { position: relative; inset: auto; aspect-ratio: 16 / 10; height: auto; align-self: start; }
.hwj-hero .hwj-card:first-child .hwj-card__media { aspect-ratio: auto; min-height: 300px; clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); }
@media (max-width: 767.98px) {
  .hwj-hero .hwj-card:first-child .hwj-card__media { min-height: 0; aspect-ratio: 16 / 9; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%); }
}
@media (max-width: 575.98px) {
  .hwj-teaser .hwj-card:nth-child(n+4) .hwj-card__body { padding: 0; }
  .hwj-teaser .hwj-card:nth-child(n+4) .hwj-card__excerpt { display: none; }
  .hwj-teaser .hwj-card:nth-child(n+4) .mod-articles-title { font-size: 1rem; }
}
.hwj-teaser .hwj-card:first-child .mod-articles-title { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); }
.hwj-hero .hwj-card:first-child .mod-articles-title { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); }
@media (max-width: 767.98px) {
  .hwj-hero .hwj-card:not(:first-child) .mod-articles-title { font-size: 1.02rem; }
  .hwj-hero .hwj-card:first-child .mod-articles-title { font-size: 1.4rem; }
}
/* Review v4 S-2: mobil alle Kartenmodule außer dem Aufmacher ab Karte 2 als Zeilen (Seiten waren 11–12k px lang) */
@media (max-width: 575.98px) {
  .hwj-cards:not(.hwj-hero .hwj-cards, .sidebar-right .hwj-cards) .hwj-card:nth-child(n+2) article {
    display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 .8rem; align-items: start;
  }
  .hwj-cards:not(.hwj-hero .hwj-cards, .sidebar-right .hwj-cards) .hwj-card:nth-child(n+2) .hwj-card__media { aspect-ratio: 16 / 9; }
  .hwj-cards:not(.hwj-hero .hwj-cards, .sidebar-right .hwj-cards) .hwj-card:nth-child(n+2) .hwj-card__body { padding: 0 !important; }
  .hwj-cards:not(.hwj-hero .hwj-cards, .sidebar-right .hwj-cards) .hwj-card:nth-child(n+2) .mod-articles-title { font-size: 1.02rem; }
  .hwj-cards:not(.hwj-hero .hwj-cards, .sidebar-right .hwj-cards) .hwj-card:nth-child(n+2) .hwj-card__excerpt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hwj-card__media img { transition: none; }
  .hwj-card article:hover .hwj-card__media img { transform: none; }
}

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
:root:not([data-theme="light"]) :is(.bg-white, .bg-light, .navbar-light, .list-group-item, .dropdown-menu, .modal-content, .popover, .well) {
  background-color: var(--hwj-surface-2) !important; color: var(--hwj-text); border-color: var(--hwj-line);
}
/* S4/S5 – Startseiten-Aufmacher (Modul hwj-hero): 1 großer Test + 2 kleine, Text auf dunklem Verlauf statt Blaukasten */
.top-a.hwj-hero, .container-top-a .card:has(.hwj-hero) { background: none; border: 0; padding: 0; box-shadow: none; }
/* M5: mobil keine umflossenen Bilder (sonst Ein-Wort-Zeilen neben dem Bild) */
@media (max-width: 575.98px) {
  .com-content-article__body img[style*="float"], .com-content-article__body img[align],
  .com-content-article__body :is(.float-end, .float-start, .pull-right, .pull-left), :is(.item-image, .blog-item .item-image).float-end,
  :is(.item-image, .blog-item .item-image).float-start {
    float: none !important; display: block; height: auto !important; margin: 0 0 1rem !important;
  }
}

/* ---------- Karten */
.hwj-hero .hwj-cards, .card.hwj-hero .hwj-cards { display: grid; }
.hwj-teaser .hwj-card:first-child .hwj-card__media img, .hwj-hero .hwj-card__media img {
  position: static; width: 100%; height: 100%; object-fit: cover;
}

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
@media (max-width: 575.98px) {
  /* 2.4.8: Bilder NICHT auf width:auto – das überstimmt width/height-Attribute, die Größe ist erst nach dem Laden bekannt → Layoutsprung
     (Lighthouse Testbericht mobil CLS 0,40). Bilder behalten ihre Attributbreite, begrenzt auf 100 %. */
  .com-content-article__body img[style*="float"], .com-content-article__body img[align],
  .com-content-article__body img:is(.float-end, .float-start, .pull-right, .pull-left) { max-width: 100% !important; }
  .com-content-article__body :is(.float-end, .float-start, .pull-right, .pull-left):not(img), :is(.item-image, .blog-item .item-image).float-end,
  :is(.item-image, .blog-item .item-image).float-start {
    width: auto !important; max-width: 100% !important;
  }
}

/* ---------- Fortsetzung aus Abschnitt 3 (Seitenraster) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
@media (min-width: 992px) {
  .container-sidebar-right > :last-child { position: static; }
}

/* ---------- Fortsetzung aus Abschnitt 5 (Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.com-content-article__body img { max-width: 100%; height: auto; border-radius: 8px; }
.pagenavcounter { display: none; }
/* 2.6.0 Kunde K12: VG-Wort-Zählpixel – lädt weiter (Zählung), zeigt aber nie seinen Alt-Text (URL), wenn es blockiert ist
   (Adblocker, Testsystem-CSP). Kein display:none, damit der Abruf sicher erfolgt; der Absatz darum nimmt keinen Platz ein. */
img[src*="vgwort.de"] { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip-path: inset(50%);
  color: transparent; font-size: 0; border: 0; }
p:has(> img[src*="vgwort.de"]:only-child) { margin: 0; height: 0; overflow: hidden; }

/* ---------- Karten */
/* Rubrik-Marker: nur Text, Farbe aus den Siegeln; Tests mit Schnitt-Glyphe */
.hwj-card__cat, .hwj-row__cat {
  display: inline-flex; align-items: center; gap: .4rem; padding: 0; border: 0 !important; background: none;
  border-radius: 0 !important; font-family: var(--hwj-display); font-weight: 600; font-size: .82rem; letter-spacing: .01em; text-transform: none;
  text-decoration: none; color: var(--hwj-link);
}
.hwj-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .9rem; margin: 0; }
/* Award-Marke in der Rubrik-Zeile statt Reiter am Bildrand (Review v4, Vorschlag A): Stahlband, 12°-Silberschnitt, Graphitfeld */
.hwj-card__kicker, .hwj-row__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin: 0; min-width: 0; min-height: 20px; }
/* Award-Grafiken (austauschbar: images/awards/neu/<award>.webp bzw. <award>-mini.webp, hwj_award_img) */
.hwj-award-mini { display: inline-block; height: 20px; width: auto; vertical-align: middle; }

/* ---------- Fortsetzung aus Abschnitt 3 (Seitenraster) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Werbelast (M-E), ohne Anzeigen zu streichen: Seitenleiste – der letzte Anzeigenplatz (300×600) läuft beim Lesen mit
   (vorher klebte der Newsletter-Kasten). Newsletter rückt vor die Anzeigen; Reihenfolge der Anzeigen bleibt. */
@media (min-width: 992px) {
  .container-sidebar-right { display: flex; flex-direction: column; }
}

/* ---------- Fortsetzung aus Abschnitt 5 (Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-toc__list a:hover { color: var(--hwj-link); text-decoration: underline; }

/* ---------- Fortsetzung aus Abschnitt 4 (Formulare / Login, Konto, Newsletter) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
:is(.acym_module, .acymailing_module) :is(.button, .btn, input[type="submit"], button) {
  background: var(--hwj-steel); color: #fff; border: 0; border-radius: 999px; padding: .5rem 1.2rem;
}

/* ---------- Karten */
/* Karten: Text nicht bündig an der Bildkante, sondern mit Innenabstand in der Kartenfläche */
.hwj-card.has-image article, .hwj-card.no-image article { border: 1px solid var(--hwj-line); }
.hwj-teaser .hwj-card:first-child article, .hwj-teaser .hwj-card:nth-child(n+6) article, .sidebar-right .hwj-card article { border: 0; }
.hwj-card article:hover { border-color: color-mix(in srgb, var(--hwj-steel) 60%, var(--hwj-line)); }
.sidebar-right .hwj-card article { padding: .55rem 0; }

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Funktionstest 11.11.: Frontend-Bearbeitungs-Symbole (nur angemeldete Redakteure) überdeckten Navigation/Werbefläche → klein, dezent, bei Hover voll */
a.btn.jmodedit {
  width: 1.6rem; height: 1.6rem; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem;
  opacity: .35; background: var(--hwj-surface-2) !important; border: 1px solid var(--hwj-line) !important; border-radius: 3px; z-index: 5;
  transition: opacity .15s;
}

/* ---------- Fortsetzung aus Abschnitt 3 (Seitenraster) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Hersteller-Köpfe mit handgebauter Testliste (LG): Titel als Listentitel statt Riesenlink, Bild rechts klein, Haarlinie dazwischen */
.main-top .mod-custom :is(h1, h2, h3) {
  font-family: var(--hwj-display) !important; font-size: 1.2rem !important; line-height: 1.3; margin: 1.25rem 0 .35rem; padding-top: 1rem;
  border-top: 1px solid var(--hwj-line);
}

/* ---------- Fortsetzung aus Abschnitt 5 (Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Blättern (Override plg_content_pagebreak/navigation) */
/* S13 – Seitennavigation; Diskussion als Block */
.hwj-pagenav { display: grid; margin: 2.25rem 0 0; max-width: none; grid-template-columns: 1fr 1fr; margin-top: 1.75rem; }
.hwj-pagenav__link { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1.1rem; text-decoration: none; }
.hwj-pagenav__link.is-next * { color: #fff !important; }
.com-content-article .article-info [class*="icon-"] { display: none; }
/* Seitenleiste unter „Vorherige/Nächste Seite“: direkt zu jeder Seite, auch ans Ende (Sam 10.11.: „man kann nicht ans Ende springen“) */
.hwj-pagestrip { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .9rem 0 0; max-width: 74ch; font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) {
  .com-content-article__body :is(.float-end, .float-start, .pull-right, .pull-left) img {
    width: auto !important; max-width: 100% !important; height: auto !important;
  }
  .hwj-pagestrip { gap: .25rem; }
}

/* ---------- Fortsetzung aus Abschnitt 6 (Kopf) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Hell/Dunkel-Umschalter (js/user.js) */
.hwj-theme-toggle { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid #3a4048; display: grid; place-items: center; cursor: pointer; }
.hwj-social a:hover, .hwj-social a:focus-visible { border-color: var(--hwj-ice); color: #fff; }
.container-header .metismenu.mod-menu .mm-collapse a { color: var(--hwj-text); }
/* Pfeil sauber zeichnen (war zum Strich gestaucht) */
@media (min-width: 992px) {
  .container-header .metismenu > li > .mm-toggler { display: flex; align-items: center; justify-content: center; align-self: stretch; }
  .container-header .mod-finder__search .btn .icon-search, .container-header .mod-finder__search .btn [class*="icon-"] { font-size: 1rem; }
}
/* Mobil-Kopf (mobile first): Zeile 1 Logo | Hell/Dunkel | Menü, Zeile 2 Suche */
@media (max-width: 991.98px) {
  .container-header { position: relative; display: flex; flex-wrap: wrap; align-items: center; column-gap: .5rem; padding: .35rem 16px .6rem; }
}

/* ---------- Fortsetzung aus Abschnitt 3 (Seitenraster) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
@media (max-width: 991.98px) {
  .site-grid { padding-inline: 12px; column-gap: 0; }
}

/* ---------- Fortsetzung aus Abschnitt 6 (Kopf) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
@media (max-width: 991.98px) {
  .container-header .metismenu > li > .mm-toggler { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; }
}

/* ---------- Karten */
.hwj-teaser .hwj-card:nth-child(n+6) article { padding-top: .85rem; }
/* K1 – Startseite mobil: nach drei Karten kompakte Zeilen */
@media (max-width: 575.98px) {
  .hwj-teaser .hwj-card:nth-child(n+4) article { flex-direction: row; gap: .8rem; align-items: flex-start; }
}
.hwj-teaser .hwj-card:first-child article { display: grid; gap: 0; background: var(--hwj-surface) !important; }
@media (max-width: 767.98px) {
  .hwj-hero .hwj-card:not(:first-child) article { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 .8rem; align-items: start; }
}

/* ---------- Fortsetzung aus Abschnitt 6 (Kopf) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.container-header .mod-finder__search .awesomplete input { width: 100%; max-width: none; }
@media (max-width: 991.98px) {
  .container-header nav.navbar { padding: 0; margin: 0; align-self: center; }
  .container-header .navbar-collapse {
    background: var(--hwj-head-bg) !important; box-shadow: none !important; border-bottom: 1px solid var(--hwj-head-line) !important;
  }
  .container-header .metismenu.mod-menu .mm-collapse a { color: var(--hwj-head-text) !important; }
}

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / Cookie-Hinweis (Altmodul)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.eupopup-container .eupopup-head { color: var(--hwj-head-ink); font-weight: 600; }
.eupopup-container .eupopup-body { color: var(--hwj-head-text); }
.eupopup-container .eupopup-button_2 { background: none; color: var(--hwj-head-ink); border: 1px solid #5d6672; }
.eupopup-container .eupopup-closebutton {
  border-radius: var(--r-ctl) !important; color: var(--hwj-head-text); border-color: var(--hwj-head-line) !important;
}

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / Fuß) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.container-footer a:hover { color: #fff; text-decoration: underline; }
.hwj-footer__logo img { height: 64px; width: auto; }
.hwj-footer a:hover { color: var(--hwj-link); text-decoration: underline; }

/* ---------- Karten */
.hwj-hero .mod-articles-title a, .hwj-hero .hwj-card__date, .hwj-hero .hwj-card__excerpt { color: #fff; text-decoration: none; }

/* ---------- Fortsetzung aus Abschnitt 5 (Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
a.hwj-pagestrip__num:hover { border-color: var(--hwj-steel); color: var(--hwj-link); }

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / Fuß) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.container-footer .hwj-footer a { color: #d4d9df; }
.container-footer .hwj-footer a:hover { color: #c3d6ee; }
.container-footer .hwj-footer__brand p, .container-footer .hwj-footer__legal { color: #9aa4af; }

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / 404) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-404__search { display: flex; gap: .5rem; margin: 1.25rem 0; max-width: 34rem; }

/* ---------- Listenzeilen, Kategorie-Blog */
/* Kategorie-Blog (Rubrikseiten) */
.com-content-category-blog__item, .blog-item { border-bottom: 1px solid var(--hwj-line); padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
.blog-item .item-image img, .com-content-category-blog__item .item-image img { border-radius: 10px; }
.blog-item h2, .com-content-category-blog__item h2 { font-size: 1.45rem; line-height: 1.2; }
.blog-item h2 a, .com-content-category-blog__item h2 a { color: var(--hwj-ink); text-decoration: none; }
.blog-item h2 a:hover { color: var(--hwj-link); text-decoration: underline; }
.pagination .page-item.active .page-link { background: var(--hwj-steel); border-color: var(--hwj-steel); color: #fff; }   /* 2.6.0 Kunde K1: Ziffer war Linkfarbe auf Stahlblau */
.pagination .page-link { color: var(--hwj-link); }
.pagination { flex-wrap: wrap; gap: .25rem; }
.com-content-category-blog .category-desc, .com-content-category-blog > .page-header, .blog > .page-header { margin-bottom: 1.25rem; }
/* Listenzeile (Kategorie-Blogs, Override blog_item.php) */
.com-content-category-blog .blog-items { display: block !important; }
.com-content-category-blog .blog-item { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.blog-item:first-child .hwj-row { border-top: 0; padding-top: .25rem; }
.hwj-row.no-image { grid-template-columns: minmax(0, 1fr); }
.hwj-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hwj-row__body { min-width: 0; }
.hwj-row__title { margin: .15rem 0 .3rem; line-height: 1.25; font-family: var(--hwj-display); font-weight: 600; font-size: 1.2rem; }
.hwj-row__title a { color: var(--hwj-ink); text-decoration: none; }
.hwj-row__title a:hover { color: var(--hwj-link); }
/* K6/K7 – Video-Kennzeichnung auf Listenbildern */
.hwj-row__media.is-video::after {
  content: ""; position: absolute; left: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.hwj-row__media { aspect-ratio: 16 / 9; }
.hwj-meta .hwj-row__author { color: var(--hwj-text); }
/* K-3: Forum-Zähler-Glyphe als SVG-Maske (schärfer als clip-path-Rahmen) */
.hwj-replies::before {
  content: ""; border-radius: 2px; position: relative; width: 12px; height: 12px; border: 0; clip-path: none; background: currentColor; top: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hwj-meta:has(.hwj-replies) { grid-template-columns: 6.2rem max-content max-content; }
.hwj-rubriken > summary::-webkit-details-marker { display: none; }
.hwj-rubriken__count::after {
  content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s;
}
.hwj-rubriken[open] .hwj-rubriken__count::after { transform: translateY(1px) rotate(-135deg); }
.hwj-rubriken > summary:hover .hwj-rubriken__current { color: var(--hwj-link); }
.hwj-rubriken__list li { border-top: 1px solid var(--hwj-line); }
.hwj-rubriken__list a { display: block; padding: .45rem 0; color: var(--hwj-text); text-decoration: none; font-size: .95rem; }
.hwj-rubriken__list a:hover { color: var(--hwj-link); }
.hwj-rubriken__list a[aria-current] { color: var(--hwj-ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--hwj-silver); padding-left: .6rem; }
.hwj-rubriken__list .is-all a { font-weight: 600; color: var(--hwj-link); }
/* Rubrik-Seiten mobil: Teaserbild nicht neben dem Text quetschen */
@media (max-width: 640px) {
  :is(.blog-item, .com-content-category-blog__item) :is(.item-image, .float-start, .float-end, .pull-left, .pull-right, figure) {
    float: none !important; max-width: 100% !important; margin: 0 0 .75rem !important; width: auto !important;
  }
  /* M-G: Bilder mobil nicht umfließen lassen – aber kleine Bilder (Logos) nicht aufblasen */
  :is(.blog-item, .com-content-category-blog__item) img { width: auto !important; max-width: 100% !important; height: auto !important; }
}
@media (max-width: 575.98px) {
  .hwj-row__media { aspect-ratio: 16 / 9; }
  .hwj-meta:has(.hwj-replies) { grid-template-columns: 5.6rem max-content; }
}
.hwj-meta:has(.hwj-deal-old) { grid-template-columns: 6.2rem max-content max-content; }
@media (max-width: 575.98px) {
  .hwj-meta .hwj-replies { grid-column: 2; }
  /* K-F: mobile Zeilentitel kleiner, höchstens drei Zeilen */
  .hwj-row__title {
    font-size: 1.05rem !important; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .hwj-meta:has(.hwj-deal-old) { grid-template-columns: 5.6rem max-content; }
  .hwj-meta .hwj-deal-old { grid-column: 1 / -1; }
  .pagination .page-link { min-width: 2rem; padding-inline: .35rem; }
  .pagination .page-item:first-child, .pagination .page-item:last-child { display: none; }
  .hwj-rubriken__list a { padding: .55rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hwj-rubriken__count::after { transition: none; }
}

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.form-control, .form-select, .inputbox, input[type="text"], input[type="email"], input[type="password"], input[type="search"], textarea, select {
  background-color: var(--hwj-surface-2); color: var(--hwj-ink); border-color: var(--hwj-line);
}

/* ---------- Listenzeilen, Kategorie-Blog */
/* Rubrik-Auswahl (ersetzt die Chip-Wand .hwj-subnav) */
.hwj-rubriken { margin: 0 0 1.25rem; border-top: 2px solid var(--hwj-silver); border-bottom: 1px solid var(--hwj-line); }

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
mark, .highlight { background: rgba(168, 198, 232, .28); color: inherit; padding: 0 .1em; border-radius: 2px; }

/* ---------- Listenzeilen, Kategorie-Blog */
/* Listenzeile = Protokollzeile (Datum als führende Spalte) */
.hwj-row {
  display: grid; gap: 1.1rem; padding: 1rem 0; border-top: 1px solid var(--hwj-line); border-top-color: var(--hwj-line);
  grid-template-columns: 168px minmax(0, 1fr);
}
.hwj-row__media { display: block; overflow: hidden; background: var(--hwj-surface-2); }
.hwj-row__meta { margin: 0 0 .35rem; font-size: .82rem; color: var(--hwj-muted); display: flex; gap: .6rem; flex-wrap: wrap; }
.hwj-row__excerpt {
  margin: 0; font-size: .95rem; color: var(--hwj-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hwj-meta { display: grid; grid-template-columns: 6.2rem 1fr; gap: 0 1rem; color: var(--hwj-muted); font-size: .85rem; }
/* 2 – Forum-Zähler in der Protokollzeile (nur > 0) */
.hwj-replies {
  display: inline-flex; align-items: center; gap: .3rem; color: var(--hwj-muted); font-size: .85rem; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* S-K: ältere Deals mit Texthinweis (keine Dämpfung: nur 22 Deals, sonst wirkt die Seite tot) */
.hwj-deal-old { color: var(--hwj-muted); font-size: .8rem; white-space: nowrap; }
.hwj-rubriken__label { font-size: .8rem; color: var(--hwj-muted); }
.hwj-rubriken__current { font-family: var(--hwj-display); font-weight: 700; font-size: 1.1rem; color: var(--hwj-ink); }
.hwj-rubriken__count {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: var(--hwj-link);
  white-space: nowrap;
}
.hwj-rubriken__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.5rem; margin: 0; padding: .25rem 0 .9rem; list-style: none; }
@media (max-width: 991.98px) {
  .hwj-rubriken__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .hwj-row { gap: .8rem; grid-template-columns: 96px minmax(0, 1fr); }
  .hwj-row__excerpt { display: none; }
  .hwj-meta { grid-template-columns: 5.6rem 1fr; }
  .hwj-rubriken__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
}

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
:root:not([data-theme="light"]) :is(.btn-secondary, .btn-light, .input-password-toggle, .btn.btn-light) {
  background: var(--hwj-surface-2); color: var(--hwj-ink); border-color: var(--hwj-line);
}
:root:not([data-theme="light"]) .form-control:focus { border-color: var(--hwj-ice); box-shadow: 0 0 0 3px rgba(168, 198, 232, .25); }
:root:not([data-theme="light"]) .dropdown-item:hover { background: var(--hwj-surface); color: var(--hwj-ink); }

/* ---------- Fortsetzung aus Abschnitt 3 (Seitenraster) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.main-top.card > .card-header, .main-bottom.card > .card-header, .sidebar-right.card > .card-header, .container-bottom-a .card > .card-header,
.hwj-section-title {
  background: none; border: 0 !important; padding: .55rem 0 .6rem; margin: 0 0 .25rem;
  border-top: 2px solid var(--hwj-silver) !important; font-family: var(--hwj-display); font-weight: 600; font-size: 1.15rem; color: var(--hwj-ink);
}

/* ---------- Fortsetzung aus Abschnitt 4 (Formulare / Suche) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* S7 – Suchergebnisse */
.com-finder__results-list { padding-left: 0; list-style: none; }
.com-finder__form .input-group > .awesomplete { flex: 1 1 auto; display: block; min-width: 0; }

/* ---------- Fortsetzung aus Abschnitt 4 (Formulare / Login, Konto, Newsletter) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-login-hint { color: var(--hwj-muted); margin-top: -.25rem; }
/* S2: Registrieren / Passwort / Benutzername vergessen wie die Login-Karte */
:is(.com-users-registration, .com-users-reset, .com-users-remind) { max-width: 34rem; margin-inline: auto; }
.com-users-login__form, .com-users-login form.form-validate {
  padding: 1.25rem; border: 1px solid var(--hwj-line); border-top: 2px solid var(--hwj-silver); border-radius: var(--r-plate);
  background: var(--hwj-surface) !important;
}

/* ---------- Fortsetzung aus Abschnitt 5 (Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-toc__pos { color: var(--hwj-muted); }
.hwj-pagenav { border-top: 1px solid var(--hwj-line-strong); padding-top: 1rem; gap: 1rem; }
/* Artikel-Protokollzeile: Datum zuerst, keine Icons, keine Vorsätze (Sprach-Override) */
.com-content-article .article-info { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: .4rem 0 1rem; font-size: .9rem; color: var(--hwj-muted); }
.hwj-pagestrip__label { margin-right: .3rem; font-size: .85rem; color: var(--hwj-muted); }
.hwj-pagestrip__num {
  display: inline-grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding: 0 .4rem; border: 1px solid var(--hwj-line);
  border-radius: var(--r-ctl); font-family: var(--hwj-display); font-weight: 600; color: var(--hwj-ink); text-decoration: none;
}
.hwj-pagestrip__gap { padding: 0 .15rem; color: var(--hwj-muted); }
@media (max-width: 575.98px) {
  .hwj-pagestrip__num { min-width: 2.1rem; padding: 0 .25rem; }
}

/* ---------- Fortsetzung aus Abschnitt 6 (Kopf) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Feinschliff 5 (Sam-Review mobil 10.11.)
   Kopf: Social-Links, gleich hohe Knöpfe, Suche bündig, größeres Logo; Linklisten im Text; Werbung mobil; Newsletter; Nach-oben-Knopf */
.hwj-social { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; flex: 0 0 auto; }

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / Lightbox (JCE MediaBox)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.wf-mediabox-container { border: 1px solid #2e333a; border-radius: 4px; }

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / Fuß) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Nach-oben-Knopf: Pfeil per CSS (Icon-Schrift fehlt) */
.back-to-top-link { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; }

/* ---------- Fortsetzung aus Abschnitt 3 (Seitenraster) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* S-A: ein Raster für alle Seiten. Das Grid schrumpfte mit dem Inhalt (Forum 1119 px, Videos 969 px statt 1200) und der
   Spaltenabstand neben den leeren Randspalten rückte den Inhalt 32 px gegenüber Logo/Footer ein. Jetzt: volle Breite,
   Hauptbereich exakt an der Kopf-/Fußkante (Kopf-Innenkante = max-width 1200 − 2 × 16 px). */
@media (min-width: 992px) {
  .site-grid { width: 100%; box-sizing: border-box; max-width: calc(var(--hwj-max) + 4rem - 32px); padding-inline: 0; }
}

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / Fuß) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* S11 – Magazin-Footer (Modul hwj-footer) */
.hwj-footer { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem 2.5rem; padding: 2.5rem 0 1.5rem; text-align: left; }

/* ---------- Listenzeilen, Kategorie-Blog */
/* K-5: Kategorie-Pagination mobil einzeilig */
@media (max-width: 575.98px) {
  .pagination { gap: .2rem; flex-wrap: wrap; }
}

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / Fuß) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-footer__head { margin: 0 0 .6rem; font-family: var(--hwj-display); font-size: 1rem; color: var(--hwj-ink); }
.hwj-footer__legal {
  grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--hwj-line); font-size: .82rem; color: var(--hwj-muted);
}
/* Footer: Graphit-Band in beiden Modi */
.container-footer { background: var(--hwj-head) !important; border-top: 1px solid var(--hwj-line-strong) !important; color: #d4d9df; }
@media (max-width: 767.98px) {
  .hwj-footer { grid-template-columns: 1fr 1fr; }
}

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / 404) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
:root:not([data-theme="light"]) :is(.error .btn, .btn-primary) { color: #fff; }
/* S10 – 404 */
.hwj-404 { max-width: 46rem; padding: 2rem 0 1rem; }
.hwj-404__search input {
  flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 .9rem; border: 1px solid var(--hwj-line); border-radius: 8px;
  background: var(--hwj-surface-2); color: var(--hwj-text);
}
.hwj-404__links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: 0 0 2rem; }

/* ---------- Fortsetzung aus Abschnitt 8 (Karten und Listen / Karten) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-hero .mod-articles-title { margin: .2rem 0 .25rem; font-size: 1.15rem; line-height: 1.2; }
.hwj-card { padding-block: 16px; border-top: 1px solid var(--hwj-line) !important; }
.hwj-card .mod-articles-title { font-family: var(--hwj-display); font-weight: 600; font-size: 1.1rem; line-height: 1.25; }

/* ---------- Fortsetzung aus Abschnitt 3 (Seitenraster) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* QA v2 M1: Hersteller-Köpfe (mod_custom in main-top, Redaktions-HTML aus J3) – Inline-Farben/-Schriften/-Einzüge neutralisieren,
   Logo auf neutraler Kachel, Markenkacheln als Reihe, Text in Lesebreite. Inhalt der Redaktion bleibt unverändert. */
.main-top .mod-custom { max-width: 74ch; color: var(--hwj-text); line-height: 1.6; }

/* ---------- Fortsetzung aus Abschnitt 4 (Formulare / Suche) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* v2 K6: Suchfeld auf Suchseiten in voller Spaltenbreite */
.com-finder__form .form-inline, .com-finder__form .input-group, .com-finder__form fieldset { max-width: 40rem; width: 100%; }

/* ---------- Fortsetzung aus Abschnitt 8 (Karten und Listen / Karten) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-card__date { color: var(--hwj-muted); font-size: .85rem; }

/* ========================================================================================================================
   9  Artikel-Bausteine: Tabellen (Datenblatt, Kaufbox, Alt-Fazit, Team), Messwerte, Fazit/Plakette, Alt-Fazitbox, Aufklapper, Galerie, Redaktionsbausteine, Diskussion, Altinhalt
   ======================================================================================================================== */

/* ---------- Diskussion zum Artikel */
/* M-H: Diskussionsblock als eine Einheit (Umbau per user.js: Forum-Button in den Block, Hinweiszeile) */
.kunenadiscuss {
  flex-wrap: wrap; align-items: center; display: grid; grid-template-columns: 1fr; gap: .5rem; padding: 1rem 1.25rem;
  margin: 2.25rem 0 1rem; border: 1px solid var(--hwj-line-strong) !important; border-top: 2px solid var(--hwj-silver) !important;
  border-radius: 0 !important; background: none;
}
.kunenadiscuss .kdiscuss-title { flex: 1 1 100%; }
.com-content-article .kunenadiscuss ~ a.btn-outline-primary { margin-top: .75rem; background: var(--hwj-steel); border-color: var(--hwj-steel); color: #fff; }
.com-content-article .kunenadiscuss ~ a.btn.btn-outline-primary {
  background: var(--hwj-steel) !important; border-color: var(--hwj-steel) !important; color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14) !important;
}
.kunenadiscuss .kdiscuss-title h3 { margin: 0; font-family: var(--hwj-display); font-weight: 600; font-size: 1.2rem; color: var(--hwj-ink); }
.kunenadiscuss .hwj-discuss__actions .btn { margin: 0; }
.kunenadiscuss .hwj-discuss__go {
  background: var(--hwj-steel) !important; border: 1px solid var(--hwj-steel) !important; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14) !important;
}
.kunenadiscuss .hwj-discuss__go:hover { background: var(--hwj-steel-strong) !important; border-color: var(--hwj-steel-strong) !important; }

/* ---------- Galerie (Embla) */
.hwj-gallery .wf-icon-zoom-image { display: none !important; }
.hwj-gallery:focus { outline: none; }
.hwj-gallery:focus-visible { outline: 2px solid var(--hwj-link); outline-offset: 4px; border-radius: 8px; }
.hwj-gallery:not(.is-built) br { display: none; }
.hwj-gallery:not(.is-built) img { height: min(420px, 60vw); width: auto; max-width: none; scroll-snap-align: start; }
/* Bühne */
.hwj-gallery__stage { position: relative; background: var(--hwj-gallery-bg); border-radius: 8px; overflow: hidden; }
.hwj-gallery__viewport {
  overflow: hidden; width: 100%; aspect-ratio: var(--hwj-gallery-ratio, 3 / 2); max-height: min(700px, 75vh); touch-action: pan-y pinch-zoom;
}
.hwj-gallery__track { display: flex; height: 100%; }
.hwj-gallery:not(.is-ready) .hwj-gallery__track { transition: transform .3s ease; }
.hwj-gallery__slide { flex: 0 0 100%; min-width: 0; height: 100%; }
.hwj-gallery__slide a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: zoom-in; }
/* Bedienelemente auf der Bühne */
.hwj-gallery__arrow, .hwj-gallery__zoom {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; transition: background-color .15s, opacity .15s, color .15s;
}
.hwj-gallery__arrow { top: 50%; width: 46px; height: 46px; margin-top: -23px; }
.hwj-gallery__arrow--prev { left: 12px; }
.hwj-gallery__arrow--next { right: 12px; }
.hwj-gallery__zoom { top: 10px; right: 10px; width: 38px; height: 38px; }
.hwj-gallery svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hwj-gallery__zoom svg { width: 20px; height: 20px; stroke-width: 2.2; }
.hwj-gallery__arrow:focus-visible, .hwj-gallery__zoom:focus-visible, .hwj-gallery__thumb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hwj-gallery__arrow:disabled { opacity: 0; pointer-events: none; }
/* Vorschauleiste */
.hwj-gallery__thumbs {
  position: relative; display: flex; gap: 6px; margin-top: 8px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin;
  scrollbar-color: var(--hwj-line-strong) transparent;
}
.hwj-gallery__thumb {
  flex: 0 0 auto; width: 112px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden;
  background: var(--hwj-media); opacity: .55; cursor: pointer; transition: opacity .15s, border-color .15s;
}
.hwj-gallery__thumb:hover { opacity: .9; }
.hwj-gallery__thumb.is-active { border-color: var(--hwj-link); opacity: 1; }
@media (max-width: 575.98px) {
  .hwj-gallery__arrow { width: 38px; height: 38px; margin-top: -19px; }
  .hwj-gallery__arrow--prev { left: 6px; }
  .hwj-gallery__arrow--next { right: 6px; }
  .hwj-gallery__thumb { width: 76px; height: 50px; }
}
@media (hover: hover) {
  .hwj-gallery__arrow, .hwj-gallery__zoom { opacity: .75; }
  .hwj-gallery__stage:hover .hwj-gallery__arrow:not(:disabled), .hwj-gallery__stage:hover .hwj-gallery__zoom, .hwj-gallery__arrow:focus-visible,
  .hwj-gallery__zoom:focus-visible {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hwj-gallery__track, .hwj-gallery__thumb, .hwj-gallery__arrow { transition: none !important; }
}

/* ---------- Fazit-/Wertungsbox, Plakette */
.hwj-verdict__head {
  flex-wrap: wrap; position: relative; min-height: 64px; margin: 0 !important; padding: .9rem 1.25rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; border-radius: var(--r-plate) var(--r-plate) 0 0;
}
.hwj-verdict__title { margin: 0; font-family: var(--hwj-display); color: #fff !important; font-size: 1.25rem !important; }
.hwj-verdict__score {
  display: inline-flex; align-items: baseline; gap: .1rem; padding: .3rem .8rem; border-radius: 999px; background: var(--hwj-steel); color: #fff;
  font-family: var(--hwj-display);
}
.hwj-verdict__num { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.hwj-verdict__max { font-size: .95rem; opacity: .85; }
.hwj-verdict__award { padding: .3rem .8rem; border-radius: 999px; border: 1px solid currentColor; font-weight: 600; font-size: .9rem; color: var(--hwj-link); }
.hwj-verdict__award--gold { color: #d4a537; }
.hwj-verdict__award--silber { color: #a9b4c0; }
.hwj-verdict__award--bronze { color: #c47f45; }
.hwj-verdict__lists {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0 1.25rem 1.1rem; gap: .75rem 2rem !important;
  margin-top: .25rem;
}
.hwj-verdict__col h3 { font-family: var(--hwj-display); margin: 0 0 .4rem; font-size: 1rem !important; color: var(--hwj-ink); }
.hwj-verdict__col ul { list-style: none; margin: 0; padding: 0; }
.hwj-verdict__col li { position: relative; margin: .3rem 0; padding-left: 1.5rem !important; }
.hwj-verdict__col--pro li::before { position: absolute; left: 0; content: "+" !important; font-family: var(--hwj-display); font-weight: 700; }
.hwj-verdict__col--contra li::before {
  position: absolute; left: 0; content: "−" !important; color: var(--hwj-contra) !important; font-family: var(--hwj-display); font-weight: 700;
}
.hwj-verdict__price {
  font-size: .9rem; color: var(--hwj-muted); display: flex; justify-content: space-between; margin: 0 !important; padding: .7rem 1.25rem;
  border-top: 1px solid var(--hwj-line); font-variant-numeric: tabular-nums;
}
/* Wertungs-Plakette (Signatur) */
.hwj-plate {
  position: relative; display: inline-grid; align-content: end; justify-items: center; gap: .1rem; width: 72px; height: 90px; padding: 0 0 .55rem;
  border: 1px solid var(--hwj-silver-deep); border-radius: var(--r-plate); color: #f4f6f8; font-family: var(--hwj-display); font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important; flex: 0 0 auto;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px), linear-gradient(168deg, #4b6b97 0 36%, #3a5680 36% calc(45% - 1px), #c4cbd3 calc(45% - 1px) calc(45% + 1px), #16191d calc(45% + 1px) 70%, #0d0f12) !important;
}
.hwj-plate__num { font-size: 2.1rem; line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.hwj-plate__num small { font-size: .42em; color: #8b949f; font-weight: 600; margin-left: 1px; }
.hwj-plate__award {
  font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
  background: linear-gradient(180deg, #eceff2, #9aa3ad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hwj-plate--gold .hwj-plate__award { background-image: linear-gradient(180deg, #f3d9a8, #c89b4e); }
.hwj-plate--platin .hwj-plate__award { background-image: linear-gradient(180deg, #ffffff, #c7ced6); }
.hwj-plate--preis-leistung .hwj-plate__award { background-image: linear-gradient(180deg, #8fdca8, #2f8a4f); }
.hwj-plate--empfehlung .hwj-plate__award { background-image: linear-gradient(180deg, #a9c6ea, #5b7fae); }
.hwj-plate--innovation .hwj-plate__award { background-image: linear-gradient(180deg, #f3e49a, #c9b23e); }
.hwj-plate--bronze .hwj-plate__award { background-image: linear-gradient(180deg, #e8b98f, #a8693b); }
/* Fazit-Box: Stahlband-Kopf mit Plakette, Körper als Protokoll */
.hwj-verdict {
  padding: 0 !important; border: 1px solid var(--hwj-line-strong) !important; border-left-width: 1px !important;
  border-radius: var(--r-plate) !important; background: var(--hwj-surface) !important; overflow: visible; margin: 2.25rem 0 1.75rem !important;
}
.hwj-verdict__text { padding: 1.1rem 1.25rem 0; margin: 0 0 1rem !important; font-size: 1.05rem; color: var(--hwj-text); max-width: calc(100% - 112px); }
/* S-J: Fazit-Plakette größer, Bürstung dezenter */
.hwj-plate--lg { width: 88px; height: 110px; }
.hwj-verdict__head, :root[data-theme="light"] .hwj-verdict__head {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px), #3a5680 !important;
}
.hwj-verdict__head .hwj-plate { margin-bottom: -1.5rem; }
/* Review v4 Kann-Punkte */
/* K-1: Pro/Contra einheitlich grün/rot (Sam mochte die alte Ampel; gilt für Feld-Fazitbox und Altbestand-Box) */
.hwj-verdict__col--pro li::before { color: var(--hwj-deal-text) !important; }
.hwj-verdict__seal { display: block; width: 88px; height: auto; margin-bottom: -2rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.hwj-verdict__head .hwj-plate:has(+ .hwj-verdict__seal) { margin-left: auto; }
@media (max-width: 575.98px) {
  .hwj-verdict__seal { width: 72px; }
}

/* ---------- Fortsetzung aus Abschnitt 5 (Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.com-content-article__body h3 { font-size: 1.25rem; margin: 2rem 0 .5rem; }

/* ---------- Fortsetzung aus Abschnitt 7 (Fuß / Lightbox (JCE MediaBox)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.wf-mediabox, .wf-mediabox * { font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif; }

/* ---------- Fortsetzung aus Abschnitt 5 (Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-page-title { margin: .5rem 0 1rem; font-family: var(--hwj-display); font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); line-height: 1.12; }

/* ---------- Fortsetzung aus Abschnitt 8 (Karten und Listen / Karten) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-plate--mini {
  position: static; display: inline-flex; align-items: center; width: auto; height: 20px; padding: 0 .5rem 0 1.05rem; gap: 0; vertical-align: middle;
  flex: 0 0 auto; border: 1px solid var(--hwj-silver-deep); border-radius: var(--r-ctl);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px), linear-gradient(102deg, #4b6b97 0 .45rem, #3a5680 .45rem calc(.75rem - 1px), #c4cbd3 calc(.75rem - 1px) calc(.75rem + 1px), #16191d calc(.75rem + 1px) 100%) !important;
}

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Galerie (Embla)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-gallery__count {
  position: absolute; z-index: 2; top: 10px; left: 10px; padding: .15rem .6rem; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff;
  font: 600 .8125rem/1.5 var(--hwj-body); font-variant-numeric: tabular-nums; letter-spacing: .02em; pointer-events: none;
}

/* ---------- Altbestand-Fazitbox (.custom-fazit) */
/* Altbestand-Fazitbox (.custom-fazit, 307 Tests 2015–2026): das J3-Template stellte sie als Kasten mit Pro | Contra | Bild
   nebeneinander dar (Pro grün, Contra rot). Ohne diese Regeln standen die Listen nur untereinander. Jetzt in der Sprache der
   Fazit-Box (Kopfleiste Stahlblau, Graphit-Fläche, +/− Marker); Inline-Schriften der Redaktion werden neutralisiert. */
.custom-fazit {
  margin: 2.25rem 0 1.75rem; border: 1px solid var(--hwj-line-strong); border-radius: var(--r-plate); background: var(--hwj-surface);
  overflow: hidden;
}
.custom-fazit span[style], .custom-fazit p[style], .custom-fazit div[style], .custom-fazit li[style] {
  font-family: inherit !important; font-size: inherit !important; text-align: left !important;
}
.custom-fazit-title {
  padding: .85rem 1.25rem .8rem; background: repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px), #3a5680;
  color: #fff;
}
.custom-fazit-title p, .custom-fazit-title-text {
  margin: 0; font-family: var(--hwj-display); font-size: 1.25rem; font-weight: 700; font-style: normal;
  line-height: 1.25; color: #fff;
}
.custom-fazit-title em, .custom-fazit-title strong { font-style: normal; }
.custom-fazit-teaser-text { display: block; margin-top: .25rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.custom-fazit-links { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; padding: .6rem 1.25rem; border-bottom: 1px solid var(--hwj-line); font-size: .92rem; }
.custom-fazit-bewertung {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .9fr); gap: 1rem 2rem; padding: 1rem 1.25rem 1.1rem;
  align-items: start;
}
.custom-fazit-bewertung > div { float: none; width: auto; }
.custom-fazit-bewertung br { display: none; }
.custom-fazit-bewertung-pro-text, .custom-fazit-bewertung-contra-text {
  display: block; margin: 0 0 .4rem; font-family: var(--hwj-display); font-weight: 700; font-size: 1rem; color: var(--hwj-ink);
}
.custom-fazit-bewertung ul { list-style: none; margin: 0; padding: 0; }
.custom-fazit-bewertung li { position: relative; padding-left: 1.5rem; margin: .3rem 0; line-height: 1.4; }
.custom-fazit-bewertung-pro li::before {
  content: "+"; position: absolute; left: 0; font-family: var(--hwj-display); font-weight: 700; color: var(--hwj-deal-text);
}
.custom-fazit-bewertung-contra li::before {
  content: "−"; position: absolute; left: 0; font-family: var(--hwj-display); font-weight: 700; color: var(--hwj-contra);
}
.custom-fazit-bewertung-bild img { display: block; width: 100%; height: auto; border: 0; border-radius: var(--r-ctl); }
/* Review v4 S-3: Altbestand-Fazitbox – lange Pro-Liste links, rechts Bild und darunter Contra (keine leere Bildspalte mehr) */
@media (min-width: 768px) {
  .custom-fazit-bewertung {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "pro bild" "pro contra" "pro ."; grid-template-rows: auto auto 1fr;
  }
  .custom-fazit-bewertung-pro { grid-area: pro; }
  .custom-fazit-bewertung-contra { grid-area: contra; }
  .custom-fazit-bewertung-bild { grid-area: bild; }
  .custom-fazit-bewertung-bild img { max-width: 340px; }
}
@media (max-width: 767.98px) {
  .custom-fazit-bewertung { grid-template-columns: minmax(0, 1fr); }
  .custom-fazit-bewertung-bild { order: -1; }
  .custom-fazit-bewertung-bild img { max-width: 420px; }
}

/* ---------- Messwert-/Eckdaten-Kacheln */
/* Messwert-Kasten (Baustein für die Redaktion: <div class="hwj-measure"><div><span class="l">Helligkeit SDR</span><b>742</b><i>cd/m²</i></div>…</div>) */
.hwj-measure {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 2px solid var(--hwj-silver);
  border-bottom: 1px solid var(--hwj-line); margin: 1.5rem 0;
}
.hwj-measure > div { padding: .8rem 1rem; border-left: 1px solid var(--hwj-line); }
.hwj-measure > div:first-child { border-left: 0; }
.hwj-measure .l { display: block; font-size: .78rem; font-weight: 600; color: var(--hwj-muted); }
.hwj-measure b {
  font-family: var(--hwj-display); font-weight: 700; font-size: 2rem; color: var(--hwj-ink); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.hwj-measure i { font-style: normal; font-size: .9rem; color: var(--hwj-silver-deep); margin-left: .25rem; }
.hwj-measure__caption { margin: 1.5rem 0 .2rem; font-family: var(--hwj-display); font-weight: 600; font-size: .9rem; color: var(--hwj-muted); }
.hwj-measure__caption + .hwj-measure { margin-top: 0; }
.hwj-measure--deal .is-key b { color: var(--hwj-deal-text); font-size: 1.5rem; }
.hwj-measure--deal .is-old b { color: var(--hwj-muted); text-decoration: line-through; text-decoration-thickness: 1px; font-weight: 600; }
/* K-2: Eckdaten-Kacheln und Datenblatt als ein Block */
.hwj-measure--spec { border-bottom: 0; margin-bottom: 0; }
.hwj-measure--spec + table { margin-top: 0; }
@media (max-width: 575.98px) {
  .hwj-measure { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hwj-measure > div { padding: .6rem .5rem; }
  .hwj-measure b { font-size: 1.45rem; }
}
/* Deal-Eckdaten als Kacheln (per user.js aus „Label: Wert“-Listen) */
.hwj-measure--deal b { font-size: 1.25rem; line-height: 1.2; }
@media (max-width: 575.98px) {
  .hwj-measure--deal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hwj-measure--deal > div:nth-child(odd) { border-left: 0; }
  .hwj-measure--deal > div:nth-child(n+3) { border-top: 1px solid var(--hwj-line); }
}

/* ---------- Fortsetzung aus Abschnitt 8 (Karten und Listen / Karten) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-card__meta .hwj-replies { font-size: .82rem; }

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Diskussion zum Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.kunenadiscuss .kdiscuss-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.kunenadiscuss .hwj-discuss__count { color: var(--hwj-muted); font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kunenadiscuss .hwj-discuss__hint { margin: 0; color: var(--hwj-text); font-size: .98rem; }
.kunenadiscuss .hwj-discuss__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .35rem; }

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Galerie (Embla)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Hardware-Galerie (Embla, user.js; aus HiFi 1.0.3) – Aufbau wie Fotorama (Bühne, Vorschauleiste darunter, Rahmen am aktiven Bild), dazu runde Pfeile,
   Zähler, Vergrößern-Knopf, einheitlich dunkle Bühne in beiden Modi (Fotos wirken auf Dunkel), Seitenverhältnis aus dem ersten Bild */
.hwj-gallery { margin: 1.25rem 0; --hwj-gallery-bg: #0e0e0e; --hwj-gallery-accent: #a8c6e8; }

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Fazit-/Wertungsbox, Plakette) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-plate--lg .hwj-plate__num { font-size: 2.6rem; }

/* ---------- Messwert-/Eckdaten-Kacheln */
.hwj-measure .s { display: block; font-size: .78rem; color: var(--hwj-muted); margin-top: .15rem; }

/* ---------- Fortsetzung aus Abschnitt 4 (Formulare / Suche) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.com-finder__results .hwj-noresults { margin-top: 1.5rem; }

/* ---------- Fortsetzung aus Abschnitt 4 (Formulare / Login, Konto, Newsletter) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.com-users-login__options .list-group-item {
  border: 0 !important; padding: 0; background: none; color: var(--hwj-link) !important; font-size: .92rem;
}

/* ---------- Fortsetzung aus Abschnitt 5 (Artikel) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-pagestrip__num.is-current { background: var(--hwj-steel); border-color: var(--hwj-steel); color: #fff; }
.com-content-article__body .hwj-h-as-p { font-family: inherit; font-size: 1.05rem; font-weight: 400; line-height: 1.7; }

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Galerie (Embla)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* ohne JavaScript: waagerecht scrollbare Bildreihe */
.hwj-gallery:not(.is-built) { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; align-items: center; }
.hwj-gallery__arrow:hover, .hwj-gallery__zoom:hover, .hwj-gallery__arrow:focus-visible, .hwj-gallery__zoom:focus-visible {
  background: var(--hwj-gallery-accent); color: #0e0e0e;
}

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Fazit-/Wertungsbox, Plakette) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-plate--mini .hwj-plate__award { font-size: .72rem; letter-spacing: .05em; }

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Altbestand-Fazitbox (.custom-fazit)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.custom-fazit-links:empty, .custom-fazit-links > div:empty { display: none; }

/* ---------- Fortsetzung aus Abschnitt 4 (Formulare / Suche) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Suchfeld: Awesomplete umhüllt das Feld mit einem schmalen Inline-Block → Hülle und Feld auf volle Breite */
.com-finder__form .input-group { display: flex; flex-wrap: nowrap; width: 100%; max-width: 40rem; }

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Altbestand-Fazitbox (.custom-fazit)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.custom-fazit-bewertung-contra-text .custom-fazit-bewertung-contra-text { margin: 0; }

/* ---------- Aufklapper ({slide} → details) */
/* QA S2: Alt-Aufklappbereiche {slide} → <details class="hwj-slide"> (Override article/default.php) */
.hwj-slide { margin: 1.25rem 0; border-top: 1px solid var(--hwj-line); border-bottom: 1px solid var(--hwj-line); }
.hwj-slide > summary {
  display: flex; align-items: center; gap: .6rem; padding: .7rem 0; cursor: pointer; list-style: none; font-family: var(--hwj-display);
  font-weight: 600; font-size: 1.05rem; color: var(--hwj-ink);
}
.hwj-slide > summary::-webkit-details-marker { display: none; }
.hwj-slide > summary::before {
  content: ""; width: .55rem; height: .55rem; border-right: 2px solid var(--hwj-link); border-bottom: 2px solid var(--hwj-link);
  transform: rotate(-45deg); transition: transform .15s; flex: 0 0 auto;
}
.hwj-slide[open] > summary::before { transform: rotate(45deg); }
.hwj-slide > summary:hover { color: var(--hwj-link); }
.hwj-slide__body { padding: 0 0 1rem; }
@media (prefers-reduced-motion: reduce) {
  .hwj-slide > summary::before { transition: none; }
}

/* ---------- Fortsetzung aus Abschnitt 8 (Karten und Listen / Listenzeilen, Kategorie-Blog) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-rubriken > summary { display: flex; align-items: baseline; gap: .75rem; padding: .7rem 0; cursor: pointer; list-style: none; }

/* ---------- Redaktionsbausteine (Einleitung, Kaufbox, Hinweis) */
/* 2.4.0: Redaktionsbausteine (Vorlagen im Editor, docs/PLAN-NACHARBEIT.md P4) – Einleitung, Messtabelle-Kopf, Kaufbox, Hinweis.
   Markup: media/vorlagen/*.html; Editor-Ansicht: media/css/editor.css. */
.com-content-article__body .hwj-lead { font-size: 1.12rem; color: var(--hwj-ink); line-height: 1.65; }
.com-content-article__body .hwj-kaufbox {
  border: 1px solid var(--hwj-line); border-top: 2px solid var(--hwj-silver); background: var(--hwj-surface); padding: .9rem 1.1rem;
  margin: 1.75rem 0;
}
.com-content-article__body .hwj-kaufbox p { margin: .15rem 0; }
.com-content-article__body .hwj-kaufbox__produkt { font-family: var(--hwj-display); font-weight: 700; color: var(--hwj-ink); }
.com-content-article__body .hwj-kaufbox__preis {
  font-family: var(--hwj-display); font-size: 1.35rem; font-weight: 700; color: var(--hwj-ink); font-variant-numeric: tabular-nums;
}
.com-content-article__body .hwj-kaufbox__links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem !important; }
.com-content-article__body a.hwj-kaufbox__btn {
  display: inline-block; padding: .45rem .95rem; border-radius: var(--r-img, 4px); background: var(--hwj-link); color: var(--hwj-paper);
  font-weight: 600; text-decoration: none;
}
.com-content-article__body a.hwj-kaufbox__btn:is(:hover, :focus-visible) { background: var(--hwj-ink); color: var(--hwj-paper); }
.com-content-article__body .hwj-hinweis { border-left: 4px solid var(--hwj-link); background: var(--hwj-surface-2); padding: .7rem 1.1rem; margin: 1.75rem 0; }
.com-content-article__body .hwj-hinweis p { margin: .3rem 0; }

/* ---------- Tabellen im Artikel */
/* M7 – Alt-Preis-/Kaufbox: nichts abschneiden; S14 – Datenblatt-Tabellen lesbar */
/* Datenblatt (Alt-Tabellen im Text) */
/* Datenblatt dichter (Sam 11.11.: neu passte nur ein Drittel der Zeilen auf den Bildschirm). Ursache: Artikel-Zeilenhöhe 1,8
   und großzügige Zellen; mobil wurde jede Zeile in Label + Wert gestapelt. Jetzt: Zeilenhöhe 1,4, knappe Zellen, leichtes
   Zebra zur Orientierung, mobil zweispaltig (Label | Wert) wie im Original. */
.com-content-article__body table {
  display: block; overflow-x: auto; max-width: 100% !important; height: auto !important; border-collapse: collapse;
  font-variant-numeric: tabular-nums; width: 100% !important; border: 0 !important; border-top: 2px solid var(--hwj-silver) !important;
  border-bottom: 1px solid var(--hwj-line) !important; line-height: 1.4; font-size: .95rem;
}
:root:not([data-theme="light"]) .com-content-article__body table :is(td, th) { border-color: var(--hwj-line) !important; }
:root:not([data-theme="light"]) .com-content-article__body :is(table, td, th) { border-color: var(--hwj-line) !important; }
.com-content-article__body table tr, .com-content-article__body table td { height: auto !important; }
.com-content-article__body table td, .com-content-article__body table th {
  vertical-align: middle; overflow: visible; border: 0 !important; border-bottom: 1px solid var(--hwj-line) !important; background: none !important;
  text-align: left !important; padding: .3rem .7rem !important;
}
.com-content-article__body table td:first-child { width: 32%; font-weight: 600; hyphens: manual; overflow-wrap: normal; }
.com-content-article__body table td:not(:first-child) { color: var(--hwj-text); overflow-wrap: anywhere; }
.com-content-article__body table td[colspan], .com-content-article__body table tr:has(> td:only-child) td {
  font-family: var(--hwj-display); font-weight: 600; background: var(--hwj-surface-2) !important; padding-top: .5rem !important;
  padding-bottom: .45rem !important;
}
.com-content-article__body table td:has(> img:only-child), .com-content-article__body table td:has(> a > img:only-child) {
  width: auto; text-align: center !important;
}
/* M-C: Datenblatt – Abschnittszeilen in beiden Modi lesbar, leere Trennzeilen weg, stattdessen Silberregel */
.com-content-article__body table td[colspan], .com-content-article__body table tr:has(> td:only-child) td,
.com-content-article__body table td[colspan] *, .com-content-article__body table tr:has(> td:only-child) td * {
  color: var(--hwj-ink) !important;
}
.com-content-article__body table tr.hwj-tr-gap { display: none; }
.com-content-article__body table tr.hwj-tr-gap + tr > td { border-top: 2px solid var(--hwj-silver) !important; }
/* S-C: handgebaute Kaufboxen (nur Tabellen mit Kaufen-Grafik; Datenblätter haben auch Affiliate-Links!) leicht angleichen – Inhalt der Redaktion bleibt.
   Preis in Textfarbe statt Signalrot, volle Spaltenbreite, Flächen im Graphit-Ton statt #dbdbdb. */
.com-content-article__body table:has(img[src*="aufen-Button"], img[src*="aufen_Button"]) {
  width: 100% !important; border: 1px solid var(--hwj-line-strong) !important; border-top: 2px solid var(--hwj-silver) !important;
  table-layout: fixed; display: table !important; height: auto !important;
}
/* K-6: Kaufbox als Protokollzeile (Bild | Name + Preis rechtsbündig) */
.com-content-article__body table:has(img[src*="aufen-Button"], img[src*="aufen_Button"]) td {
  background: var(--hwj-surface) !important; color: var(--hwj-text) !important; font-weight: 400; width: 50% !important; vertical-align: middle;
}
.com-content-article__body table:has(img[src*="aufen-Button"], img[src*="aufen_Button"]) :is([style*="color: #ff0000"], [style*="color: #f00"], [style*="color: red"]) {
  color: var(--hwj-ink) !important; font-family: var(--hwj-display); font-size: 1.35rem !important; font-variant-numeric: tabular-nums;
}
.com-content-article__body table:has(img[src*="aufen-Button"], img[src*="aufen_Button"]) img:not([src*="aufen"]) {
  background: #fff; padding: 6px; border-radius: var(--r-img);
}
/* S-C Nachtrag: Dunkelmodus-Rotkorrektur (#ff7a7a) ist spezifischer → höher gewichten; feste td-Breiten aus dem Redaktions-HTML aufheben */
html:root .com-content-article__body table:has(img[src*="aufen-Button"], img[src*="aufen_Button"]) :is([style*="color: #ff0000"], [style*="color: #f00"], [style*="color: red"]) {
  color: var(--hwj-ink) !important;
}
.com-content-article__body table:has(img[src*="aufen-Button"], img[src*="aufen_Button"]) tr + tr td { border-top: 1px solid var(--hwj-line) !important; }
.com-content-article__body table:has(img[src*="aufen-Button"], img[src*="aufen_Button"]) td:last-child { text-align: right !important; }
/* QA-Durchklick M3: Inline-Farben aus dem Alteditor in Tabellen machten Datenblätter unlesbar (#313131 dunkel auf dunkel;
   weiße Kopfschrift auf ersetztem, hellem Hintergrund). In Tabellen gilt jetzt immer die Schriftfarbe des Designs –
   Hintergrund und Schrift werden gemeinsam neutralisiert. Außerhalb von Tabellen im Dunkelmodus alle sehr dunklen Grautöne. */
.com-content-article__body table :is(td, th, span, font, p, strong, b, div)[style*="color"] { color: inherit !important; }
.com-content-article__body table font[color] { color: inherit !important; }
.com-content-article__body table.hwj-fazit-alt td {
  background: transparent !important; color: inherit !important; width: auto !important; font-weight: inherit !important; vertical-align: top;
  font-size: inherit !important;
}
.com-content-article__body table.hwj-fazit-alt td.hwj-pro-h, .com-content-article__body table.hwj-fazit-alt td.hwj-contra-h {
  font-family: var(--hwj-display); font-weight: 700 !important; font-size: 1rem !important;
}
.com-content-article__body table.hwj-fazit-alt td.hwj-pro-h, .com-content-article__body table.hwj-fazit-alt td.hwj-pro-h * {
  color: var(--hwj-deal-text) !important;
}
.com-content-article__body table.hwj-fazit-alt td.hwj-contra-h, .com-content-article__body table.hwj-fazit-alt td.hwj-contra-h * {
  color: var(--hwj-contra) !important;
}
.com-content-article__body table.hwj-fazit-alt tr:first-child td {
  background: var(--hwj-surface-2) !important; font-family: var(--hwj-display); font-weight: 700 !important; color: var(--hwj-ink) !important;
}
.com-content-article__body table.hwj-fazit-alt td :is(span, font, strong, b)[style*="color"] { color: inherit !important; }
.com-content-article__body table td:first-child { font-size: .85rem; color: var(--hwj-soft, var(--hwj-muted)) !important; }
.com-content-article__body table:not(.hwj-fazit-alt):not(:has(img)) tr:nth-child(even) > td { background: rgba(127, 140, 160, .06) !important; }
.com-content-article__body table td p { margin: 0; }
/* Über uns: Personen als Karten mit Innenabstand statt bündig an der Kante */
.com-content-article__body table.hwj-team {
  display: block; width: 100% !important; border: 0 !important; margin: 1.5rem 0; font-size: 1rem; line-height: 1.6; border-top: 0 !important;
}
.com-content-article__body table.hwj-team tbody, .com-content-article__body table.hwj-team tr {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 0 1.5rem;
}
.com-content-article__body table.hwj-team tbody { display: block; }
.com-content-article__body table.hwj-team td {
  display: block; width: auto !important; border: 0 !important; background: transparent !important; color: var(--hwj-text) !important;
  font-weight: 400 !important; font-size: inherit !important; text-align: left !important; padding: .75rem 0 !important;
}
.com-content-article__body table.hwj-team td:first-child { color: var(--hwj-muted) !important; font-size: .85rem !important; }
.com-content-article__body table.hwj-team td:first-child img {
  display: block; width: 120px; height: auto; border-radius: var(--r-img); border: 0 !important; margin-bottom: .5rem;
}
.com-content-article__body table.hwj-team td:first-child strong { font-weight: inherit; }
.com-content-article__body table.hwj-team td:not(:first-child) > p:first-child strong {
  font-family: var(--hwj-display); font-size: 1.2rem; color: var(--hwj-ink);
}
.com-content-article__body table.hwj-team p { margin: 0 0 .6rem; text-align: left !important; }
/* Über uns: Personenkarten ohne Fläche, nur Linie (wie alle Redaktionsmodule) */
.com-content-article__body table.hwj-team, .com-content-article__body table.hwj-team :is(tbody, tr, td) { background: transparent !important; }
/* v2 K3: Fließtext-Tabellen (lange Texte in der 1. Spalte) nicht als Datenblatt setzen – Markierung per user.js */
.com-content-article__body table.hwj-plain-table td {
  background: transparent !important; color: inherit !important; width: auto !important; font-weight: inherit !important;
  font-size: inherit !important; vertical-align: top;
}
.com-content-article__body table.hwj-team tr {
  background: var(--hwj-surface) !important; border: 1px solid var(--hwj-line); border-radius: var(--r-img, 4px); padding: .5rem 1.25rem;
  margin: 0 0 1rem;
}
/* Über uns: Zellen ohne eigenen Grund – die Karte (tr) trägt die Fläche */
/* Zellen tragen per Inline-Stil einen Grund (Dunkel-Regel für [style*=background] → surface-2, sehr spezifisch) → Karte in derselben Fläche */
html:root .com-content-article__body table.hwj-team tr { background: var(--hwj-surface-2) !important; }
html:root .com-content-article__body table.hwj-team tr:last-child { margin-bottom: 0; }
/* auch mobil: vielspaltige Tabellen (z. B. PWM-Messreihe 4249) wurden dort rechts abgeschnitten statt gescrollt */
.com-content-article__body table.hwj-table-scroll:not(.hwj-team) { display: block !important; overflow-x: auto; }
.com-content-article__body table.hwj-messtabelle th {
  background: var(--hwj-surface-2); color: var(--hwj-ink); font-family: var(--hwj-display); font-weight: 600; text-align: left; padding: .4rem .7rem;
  border-bottom: 1px solid var(--hwj-line);
}
/* 2.3.2: Datentabellen auf volle Spaltenbreite (Sam 12.11.: „Monitor im Überblick“ war nur so breit wie der längste Eintrag,
   die Eckdaten darüber volle Breite). Ursache: table{display:block} fürs Querscrollen – die Zeilen bilden dann eine anonyme
   Innentabelle in Inhaltsbreite (88 von 175 Tabellen der Stichprobe). Ab 576 px echte Tabelle; nur Tabellen, die wirklich
   breiter als die Spalte sind, bekommen per user.js .hwj-table-scroll (Block + Querscrollen). Mobil bleibt das Layout, nur zu breite Tabellen scrollen jetzt statt abgeschnitten zu werden. */
@media (min-width: 576px) {
  .com-content-article__body table:not(.hwj-team) { display: table !important; }
}
@media (max-width: 575.98px) {
  .com-content-article__body table { display: block; overflow-x: auto; }
  .com-content-article__body table td { min-width: 7rem; }
  .com-content-article__body table:not(:has(img)) td {
    width: auto !important; display: table-cell; padding: .3rem .45rem !important; border-bottom: 1px solid var(--hwj-line) !important; min-width: 0;
  }
  .com-content-article__body table:not(:has(img)) { display: table; width: 100% !important; font-size: .88rem; }
  .com-content-article__body table:not(:has(img)) tr { display: table-row; border: 0; padding: 0; }
  .com-content-article__body table:not(:has(img)) td:first-child { width: 38% !important; font-size: .8rem; }
  .com-content-article__body table.hwj-team tr { grid-template-columns: 96px minmax(0, 1fr); gap: 0 1rem; }
  .com-content-article__body table.hwj-team td:first-child img { width: 88px; }
}

/* ---------- Fortsetzung aus Abschnitt 2 (Grundlage) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
joomla-alert .alert-message { font-size: 1rem; line-height: 1.5; }

/* ---------- Altinhalt-Korrekturen */
:root:not([data-theme="light"]) .com-content-article__body :is([style*="background-color: #fff"], [style*="background-color: #FFF"], [style*="background-color: rgb(255, 255, 255)"], [style*="background: #fff"], [style*="background-color: white"]) {
  background-color: transparent !important;
}
.com-content-article__body iframe[src*="youtube"], .com-content-article__body iframe[src*="youtube-nocookie"] {
  width: 100%; height: auto; aspect-ratio: 16 / 9;
}
/* Artikel-/Blog-Inhalte aus dem alten Editor: Inline-Hintergründe (Tabellen, Kaufboxen, Adressblöcke) und Schriften */
:root:not([data-theme="light"]) :is(.com-content-article__body, .blog-item, .com-content-category-blog__item, .item-content) :is([style*="background"], [bgcolor]):not(img):not(ins) {
  background-color: var(--hwj-surface-2) !important; background-image: none !important; color: var(--hwj-text) !important;
  border-color: var(--hwj-line) !important;
}
:root:not([data-theme="light"]) :is(.com-content-article__body, .blog-item, .com-content-category-blog__item) :is([style*="color: #f00"], [style*="color: #ff0000"], [style*="color: red"], [style*="color: rgb(255, 0, 0)"]) {
  color: #ff7a7a !important;
}
/* Über uns: Personenkarten statt Datenblatt-Optik; 4-px-Trennbalken (Bild auf Alt-Domain) entfällt – die Karte hat eine eigene Linie */
.com-content-article__body img[src*="balken-about-us"] { display: none; }
.com-content-article__body :is(h2, h3)[style*="padding-left"] { padding-left: 0 !important; }
/* S3: Platzhalterfoto „Bild folgt“ (weißes Bild) im Dunkelmodus als dunkle Kachel */
:root:not([data-theme="light"]) .com-content-article__body img[src*="redakteur_bilder/nopic"] { filter: invert(.9) hue-rotate(180deg); opacity: .8; }
/* S5: Impressum-Anschrift (Bild aus J3, Spamschutz) als bewusste helle Karte statt nackter weißer Fleck */
.com-content-article__body img[src*="/images/adrs"] { padding: .6rem .8rem; background: #fff; border-radius: var(--r-plate); box-sizing: content-box; }
/* 2.3.1: Reste der Browser-Erweiterung „Simple Translate“ (beim Kopieren in 20 Artikel geraten: grauer 22-px-Knopf + leerer
   300×200-Kasten, auch live sichtbar) – ausblenden, Artikeltext bleibt unverändert (Altmarkup-Audit 11.11.2026) */
.com-content-article__body [class^="simple-translate"], .com-content-article__body [class*=" simple-translate"] { display: none !important; }

/* ---------- Fortsetzung aus Abschnitt 8 (Karten und Listen / Karten) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-teaser .hwj-card:first-child .hwj-card__body {
  position: static !important; padding: 1.25rem 1.4rem !important; display: flex; flex-direction: column; justify-content: center;
  background: none;
}

/* ---------- Fortsetzung aus Abschnitt 6 (Kopf) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
/* Aufgeklappte Untermenüs im Kopf: Fläche folgt dem Modus, Text ebenso (lesbar in beiden) */
.container-header .metismenu.mod-menu .mm-collapse {
  background: var(--hwj-surface) !important; border: 1px solid var(--hwj-line-strong); border-radius: var(--r-ctl) !important;
}

/* ---------- Fortsetzung aus Abschnitt 8 (Karten und Listen / Karten) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-teaser .hwj-card:first-child .hwj-card__excerpt { color: var(--hwj-text) !important; }
.hwj-hero .hwj-card:first-child .hwj-card__body { padding: 1.5rem 1.6rem !important; display: flex; flex-direction: column; justify-content: center; }
.hwj-hero .hwj-card:first-child .hwj-card__excerpt { display: block; color: var(--hwj-text); }

/* ---------- Altinhalt-Korrekturen */
:root:not([data-theme="light"]) .com-content-article__body :is([style*="color: #0"], [style*="color: #1"], [style*="color: #2"], [style*="color: #3"], [style*="color: #4"], [style*="color:#0"], [style*="color:#1"], [style*="color:#2"], [style*="color:#3"], [style*="color:#4"], [style*="color: rgb(51"], [style*="color: rgb(68"]) {
  color: inherit !important;
}
/* S6: helle Inline-Grautöne aus dem Alteditor im Hellmodus lesbar */
:root[data-theme="light"] .com-content-article__body :is([style*="color: #9"], [style*="color: #a"], [style*="color: #b"], [style*="color: #c"], [style*="color: #d"], [style*="color:#9"], [style*="color:#a"], [style*="color:#b"], [style*="color:#c"], [style*="color: silver"], [style*="color: rgb(153"], [style*="color: rgb(170"], [style*="color: rgb(187"], [style*="color: rgb(204"]) {
  color: var(--hwj-soft) !important;
}

/* ---------- Fortsetzung aus Abschnitt 8 (Karten und Listen / Karten) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.hwj-hero .hwj-card:not(:first-child) .hwj-card__excerpt { display: none; }
@media (max-width: 767.98px) {
  .hwj-hero .hwj-card:not(:first-child) .hwj-card__body { padding: 0 !important; }
}

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Galerie (Embla)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.com-content-article__body .hwj-gallery img { border-radius: 0; }

/* ========================================================================================================================
   10  Forum (Kunena)
   ======================================================================================================================== */

/* Forum (Kunena Aurelia) */
#kunena .btn-primary, #kunena .btn-outline-primary:hover { background: var(--hwj-steel); border-color: var(--hwj-steel); color: #fff; }
#kunena a { color: var(--hwj-link); text-decoration: none; }
#kunena .table thead th, #kunena .kblock .card-header, #kunena .card-header {
  background: var(--hwj-head-2); color: #fff; font-family: var(--hwj-display); font-weight: 500;
}
#kunena .table {
  background: var(--hwj-surface); --bs-table-bg: transparent; --bs-table-color: var(--hwj-text); --bs-table-striped-color: var(--hwj-text);
  --bs-table-striped-bg: rgba(127, 140, 160, .06);
}
/* Kunena (Aurelia) dunkel */
:root:not([data-theme="light"]) #kunena { --body-bg: var(--hwj-surface); }
:root:not([data-theme="light"]) #kunena .table, :root:not([data-theme="light"]) #kunena .card, :root:not([data-theme="light"]) #kunena .kmessage,
:root:not([data-theme="light"]) #kunena .list-group-item {
  background: var(--hwj-surface); color: var(--hwj-text); border-color: var(--hwj-line);
}
:root:not([data-theme="light"]) #kunena .kmsg, :root:not([data-theme="light"]) #kunena .kmessage-body,
:root:not([data-theme="light"]) #kunena .badger-left {
  color: var(--hwj-text);
}
:root:not([data-theme="light"]) #kunena .text-muted, :root:not([data-theme="light"]) #kunena small { color: var(--hwj-muted) !important; }
:root:not([data-theme="light"]) #kunena blockquote, :root:not([data-theme="light"]) #kunena .kmsgtext-quote {
  background: var(--hwj-surface-2); color: var(--hwj-soft); border-color: var(--hwj-line);
}
/* Forum: volle Breite (Tabellen brauchen Platz), Joomla-Breadcrumb aus (Kunena hat eigene) */
body.com_kunena .container-sidebar-right { display: none; }
body.com_kunena .site-grid > .container-component { grid-column: main-start / main-end; }
body.com_kunena .container-breadcrumbs { display: none; }
:root:not([data-theme="light"]) #kunena :is(.navbar, nav.navbar, .klist-actions, .kfrontend, .card-footer, .table-light, .bg-body-tertiary) {
  background-color: var(--hwj-surface-2) !important; color: var(--hwj-text); border-color: var(--hwj-line);
}
#kunena :is(thead th, thead td, .table > thead > tr > *) { background: var(--hwj-head-2) !important; color: #fff !important; }
:root[data-theme="light"] #kunena .card-header { background: var(--hwj-head-2); color: #fff; }
:root:not([data-theme="light"]) #kunena :is(.kmsgtext-quote, .bbcode_quote, blockquote, .kmsg blockquote) {
  background: var(--hwj-surface-2) !important; border-left: 3px solid var(--hwj-steel); color: var(--hwj-soft);
}
#kunena :is(.pagination .page-link) { min-width: 36px; min-height: 36px; display: grid; place-items: center; }
#kunena .kcontenttablerow td, #kunena .table td { vertical-align: middle; }
body.com_kunena #kunena, body.com_kunena #kunena .container, body.com_kunena #kunena .container-fluid { max-width: none; padding-inline: 0; margin-inline: 0; }
/* S8 – Forum integrieren statt nur umfärben */
body.com_kunena .mod-breadcrumbs__wrapper { display: none; }
#kunena { font-family: var(--hwj-body); }
#kunena .kmsg a, #kunena .kmsgtext a { text-decoration: underline; }
#kunena a:hover { text-decoration: underline; }
#kunena .navbar.bg-light { box-shadow: none !important; }
#kunena .navbar.bg-light .nav-link, #kunena .navbar.bg-light .navbar-brand { color: var(--hwj-text) !important; }
#kunena .mykmsg-header { background: var(--hwj-surface-2) !important; color: var(--hwj-text) !important; border-bottom: 1px solid var(--hwj-line); }
#kunena .mykmsg-header a { color: var(--hwj-link) !important; }
#kunena .message-published, #kunena .kmsg { font-family: var(--hwj-body); box-shadow: none !important; }
#kunena .kmsg img[src^="http://"] { min-height: 3rem; min-width: 8rem; background: var(--hwj-surface-2); }
/* Forum: Zeilen statt Boxen */
#kunena .card, #kunena .kblock { border-radius: 0 !important; border-color: var(--hwj-line) !important; }
#kunena .table td, #kunena .table th { border-color: var(--hwj-line) !important; }
#kunena .card-header, #kunena .table thead th {
  background: none !important; /* nötig gegen #kunena :is(thead th …) (css-compare 2.4.4) */ color: var(--hwj-ink) !important; border-top: 2px solid var(--hwj-silver) !important; font-family: var(--hwj-display);
  font-weight: 600;
}
#kunena .card-header a, #kunena .table thead th a { color: var(--hwj-ink) !important; }
/* M-F + S-B (Teil): Kunena-Leiste ohne Kasten, Burger in beiden Modi sichtbar, keine Schatten */
#kunena *, #kunena .shadow-lg, #kunena .shadow, #kunena .shadow-sm { box-shadow: none !important; }
#kunena nav.navbar, #kunena .navbar.bg-light {
  background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--hwj-line) !important; border-radius: 0 !important;
  padding-inline: 0 !important;
}
#kunena nav.navbar > .container-fluid { padding-inline: 0; }
#kunena .navbar .nav-link { color: var(--hwj-text) !important; font-family: var(--hwj-display); font-weight: 500; }
#kunena .navbar .nav-link.active, #kunena .navbar .active > .nav-link {
  color: var(--hwj-ink) !important; box-shadow: inset 0 -2px 0 var(--hwj-silver) !important;
}
#kunena .navbar-toggler { border: 1px solid var(--hwj-line-strong) !important; border-radius: var(--r-ctl) !important; padding: .35rem .5rem; }
#kunena .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23d4d9df' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
:root[data-theme="light"] #kunena .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232a3038' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
#kunena .offcanvas { background: var(--hwj-surface) !important; color: var(--hwj-text); }
#kunena .offcanvas .btn-close { filter: none; }
:root:not([data-theme="light"]) #kunena .offcanvas .btn-close { filter: invert(1) grayscale(1); }
#kunena .pagination .page-link {
  background: transparent !important; border: 1px solid var(--hwj-line-strong) !important; color: var(--hwj-text) !important;
  border-radius: var(--r-ctl) !important; margin: 0 2px;
}
#kunena .pagination .page-item.active .page-link { background: var(--hwj-steel) !important; border-color: var(--hwj-steel) !important; color: #fff !important; }
#kunena .pagination .page-item.disabled .page-link { color: var(--hwj-muted) !important; opacity: .6; }
#kunena img[alt^="[img"] {
  display: inline-block; width: auto; min-width: 0; min-height: 0; padding: .3rem .6rem; font-size: .8rem; color: var(--hwj-muted);
  border: 1px dashed var(--hwj-line-strong); background: none;
}
/* M-F Nachtrag: ältere Dunkelmodus-Regel (:root:not(light) #kunena :is(.navbar…)) ist spezifischer → hier höher gewichten */
html:root #kunena nav.navbar.navbar.navbar {
  background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--hwj-line) !important; border-radius: 0 !important;
  box-shadow: none !important;
}
/* Kunena strukturell (Review v3 S8 / v4 „bekannt“), nur CSS – Kunena-Updates bleiben unproblematisch */
/* Statistik- und Wer-ist-online-Kästen: Haarlinien statt Schatten-Box */
#kunena .kfrontend {
  box-shadow: none !important; border: 0 !important; border-top: 2px solid var(--hwj-silver) !important; border-radius: 0 !important;
  background: transparent !important;
}
#kunena .kfrontend .shadow-lg, #kunena .kfrontend .card-body { box-shadow: none !important; background: transparent !important; }
#kunena .kfrontend .card-header { background: transparent !important; border: 0; padding-inline: 0; font-family: var(--hwj-display); font-size: 1.15rem; }
#kunena .kfrontend .card-header a { color: var(--hwj-ink); text-decoration: none; }
#kunena .kfrontend .btn-toolbar .btn { border-color: var(--hwj-line) !important; background: transparent !important; color: var(--hwj-muted) !important; }
/* (entfernt 11.11.: Namen in Kategorie-Kopf weiß – Aktuell/Kategorie wirkten dadurch verschieden; jetzt überall Link-/Rangfarbe) */
/* „Powered by Kunena“: bleibt (Credit), aber als leise Fußzeile */
#kunena div[style*="text-align:center"]:has(> a[href*="/credits"]) { margin-top: 1.5rem; font-size: .75rem; color: var(--hwj-muted); }
#kunena div[style*="text-align:center"]:has(> a[href*="/credits"]) a { color: var(--hwj-muted) !important; }
/* Nachtrag: ältere Dunkelmodus-Regel (:root:not(...) #kunena .kfrontend) ist spezifischer → höher gewichten; „Powered by“ liegt außerhalb #kunena */
html:root #kunena .kfrontend.kfrontend, html:root #kunena .kfrontend .card-header { background: transparent !important; }
/* QA v2 M4: Forum-Suche – Bootstrap-Akkordeon und Mehrfachauswahl im Design statt grellweißer Flächen */
#kunena .accordion {
  --bs-accordion-bg: transparent; --bs-accordion-color: var(--hwj-text); --bs-accordion-border-color: var(--hwj-line);
  --bs-accordion-btn-bg: var(--hwj-surface-2); --bs-accordion-btn-color: var(--hwj-ink); --bs-accordion-active-bg: var(--hwj-surface-2);
  --bs-accordion-active-color: var(--hwj-ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 2px var(--hwj-steel-mark, var(--hwj-steel));
}
#kunena .accordion-button {
  background: var(--hwj-surface-2) !important; color: var(--hwj-ink) !important; font-family: var(--hwj-display); font-weight: 600;
  box-shadow: none !important;
}
#kunena .accordion-button::after { filter: invert(.8); }
html[data-theme="light"] #kunena .accordion-button::after { filter: none; }
#kunena .accordion-item { background: transparent !important; border-color: var(--hwj-line) !important; }
#kunena :is(select, select[multiple], .form-select, input.form-control, .form-control) {
  background-color: var(--hwj-surface) !important; color: var(--hwj-text) !important; border-color: var(--hwj-line-strong) !important;
}
#kunena select[multiple] option:checked { background: var(--hwj-steel); color: #fff; }
#kunena .accordion-body :is(h2, h3, h4, legend) {
  font-family: var(--hwj-display); font-size: 1rem !important; font-weight: 600; color: var(--hwj-ink); margin: .75rem 0 .35rem;
}
#kunena select option { background: var(--hwj-surface); color: var(--hwj-text); }
#kunena select[multiple] { background-image: none !important; }
#kunena :is(.kmsgtext-article, .kmsgtext, .kmsg) :is(p, span, div, font, em, i)[style] {
  font-family: inherit !important; font-size: inherit !important; text-align: left !important; font-style: normal !important;
  color: inherit !important;
}
#kunena .kmsg .readon { display: inline-block; margin-top: .5rem; font-weight: 600; }
/* v2 K2: Kunena-Zebratabellen (Credits u. a.) im Design */
#kunena .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(127, 140, 160, .06) !important; --bs-table-bg-type: rgba(127, 140, 160, .06) !important;
  color: var(--hwj-text) !important;
}
#kunena .kpost-user-avatar a:has(> .kavatar) { display: inline-block; }
#kunena :is(.badge.bg-secondary, .badge.bg-info, .kwho-offline .badge, .badge-offline, .badge.bg-light) {
  background: var(--hwj-surface-2) !important; color: var(--hwj-soft) !important; border: 1px solid var(--hwj-line); font-weight: 600;
}
#kunena .kpost-user-icons, #kunena .profilebox { position: relative; }
/* Forum: Namen überall gleich (Benutzer = Linkfarbe, Admin = Kunena-Rangfarbe) */
#kunena a.kwho-user { color: var(--hwj-link, var(--hwj-accent)) !important; }
/* Forum: Kategorie-Sprungauswahl – Breite nach Inhalt statt abgeschnittener Spalte */
#kunena .selector.col-3 { flex: 0 0 auto !important; width: auto !important; max-width: 100%; }
#kunena select#catid { width: auto !important; min-width: 16rem; max-width: min(100%, 30rem) !important; padding-right: 2.5rem; cursor: pointer; }
#kunena select#catid option { padding: .3rem .5rem; }
/* Forum: Willkommensbox der Kategorie (Kunena: h1.alert-info, heller Kasten) → ruhiger Hinweis im Seitenstil */
#kunena .alert.alert-info {
  background: var(--hwj-surface-2) !important; color: var(--hwj-text) !important; border: 0 !important;
  border-left: 3px solid var(--hwj-accent) !important; border-radius: 0 !important; font-size: 1.05rem !important;
  padding: .85rem 3rem .85rem 1rem !important; margin: 1.5rem 0 1rem;
}
#kunena .alert.alert-info .btn-close { filter: none; opacity: .6; top: 50%; transform: translateY(-50%); padding: .75rem; }
html:root:not([data-theme="light"]) #kunena .alert.alert-info .btn-close { filter: invert(1) grayscale(1); }
/* Forum-Auswahl: Pfeil sichtbar (Kunena entfernt das Hintergrundbild) */
#kunena select#catid, #kunena select#sel {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2393a0b4' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important; background-position: right .75rem center !important; background-size: 14px 10px !important;
}
/* Sam 11.11.: Themenlisten (Kategorie + Aktuell) einheitlich – Seitenleiste und Suche gleich hoch, Abstand zur Tabelle, kleine Seitenzahlen kompakt */
#kunena .pagination .page-link, #kunena .pagination li > a { min-height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; }
#kunena .input-group > :is(.form-control, .btn) { height: 2.5rem; min-height: 2.5rem; }
#kunena .pagination li.disabled > a:not(.page-link), #kunena .pagination li > a.disabled {
  border: 0 !important; background: none !important; padding: 0 .35rem; color: var(--hwj-muted) !important; box-shadow: none !important;
}
#kunena :is(#categoryactions, #ktopicsform) { margin-top: 1rem; }
#kunena .pagination.pagination-small { margin: .4rem 0 0; }
#kunena .pagination.pagination-small .pagination { margin: 0; gap: .25rem; flex-wrap: wrap; }
#kunena .pagination.pagination-small .page-link, #kunena .pagination.pagination-small li > a {
  min-height: 1.6rem; min-width: 1.6rem; padding: 0 .4rem !important; font-size: .8rem; line-height: 1;
}
#kunena tr.kcontenttablespacer { display: none; }
#kunena ul.pagination { margin-top: 0 !important; margin-bottom: 0; }
/* Aktuell: Rahmen-Div trug eine zweite Silberlinie über dem Tabellenkopf → nur die Kopflinie wie in den Kategorien */
html:root #kunena .kfrontend.kfrontend:has(#ktopicsform) { border-top: 0 !important; margin-top: 1.25rem !important; clear: both; }
html:root #kunena .kfrontend:has(#ktopicsform) #ktopicsform { margin-top: 0; padding-top: 1.25rem; }
@media (min-width: 992px) {
  body.com_kunena .site-grid > .container-component, body.com_kunena #kunena { width: 100%; max-width: none; }
  #kunena .container, #kunena > .container-fluid { max-width: none; padding-inline: 0; }
}
/* QA v2 Sollte-Paket */
/* S1: Redaktions-Beiträge im Forum (Artikel-Bot): Inline-Schrift/Blocksatz neutralisieren, Anriss als ruhiges Zitat */
#kunena .kmsgtext-article {
  padding: .2rem 0 .2rem 1rem; border: 0 !important; border-left: 3px solid var(--hwj-steel) !important; background: transparent !important;
}
/* S8: Forum-Statistik – Balken in Stahl, Zahl immer lesbar (Mindestbreite), mobil kompakte Zeilen */
#kunena .progress { height: 1.4rem; background: var(--hwj-surface-2) !important; border-radius: var(--r-ctl); overflow: visible; }
#kunena .progress-bar {
  background: var(--hwj-steel) !important; color: #fff; min-width: 3.2rem; justify-content: center; font-variant-numeric: tabular-nums;
  font-size: .82rem; border-radius: var(--r-ctl);
}
#kunena .kmsgtext-article { font-size: 1rem; line-height: 1.6; }
/* v1 K3: Forum-Avatare und Online/Offline-Kennzeichen */
#kunena .kavatar, #kunena img.kavatar, #kunena .kpost-user-avatar img {
  max-width: 96px !important; height: auto !important; border-radius: var(--r-img); border: 1px solid var(--hwj-line) !important;
}
@media (max-width: 767.98px) {
  #kunena .container, #kunena .row, #kunena [class*="col-"] { padding-left: 6px !important; padding-right: 6px !important; }
  #kunena .table td { padding: .5rem .4rem; }
}
/* Themenliste mobil: Titel + EINE Protokollzeile (Rubrik bzw. letzter Beitrag) statt fünf Zeilen */
@media (max-width: 575.98px) {
  #kunena tr.category .started { font-size: 0; line-height: 0; margin-top: .2rem; }
  #kunena tr.category .started > :not(.ktopic-category), #kunena tr.category .started br { display: none; }
  #kunena tr.category .started .ktopic-category { font-size: .8rem; line-height: 1.4; color: var(--hwj-muted); }
  #kunena tr.category #klastpostphone { font-size: .8rem; line-height: 1.4; color: var(--hwj-muted); margin-top: .15rem; }
  #kunena tr.category #klastpostphone br { display: none; }
  #kunena tr.category #klastpostphone a { color: var(--hwj-muted); }
  #kunena tr.category .topictitle { font-family: var(--hwj-display); font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
}
#kunena .alert.alert-info b { font-family: var(--hwj-display); font-weight: 700; color: var(--hwj-ink); }
@media (max-width: 575.98px) {
  #kunena table:has(.progress) thead { display: none; }
  #kunena table:has(.progress) tr {
    display: grid; grid-template-columns: 2rem minmax(0, 1fr) 5.5rem; align-items: center; gap: 0 .5rem; padding: .35rem 0;
    border-bottom: 1px solid var(--hwj-line);
  }
  #kunena table:has(.progress) td { display: block; padding: 0 !important; border: 0 !important; }
}

/* ---------- Fortsetzung aus Abschnitt 3 (Seitenraster) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
.main-top .mod-custom img[src*="brandpage"] {
  display: inline-block; max-width: 175px; height: auto; border: 1px solid var(--hwj-line) !important; border-radius: var(--r-img);
  margin: 0 .4rem .4rem 0; vertical-align: top;
}
@media (max-width: 575.98px) {
  .main-top .mod-custom img[src*="brandpage"] { max-width: calc(50% - .4rem); }
}

/* ---------- Fortsetzung aus Abschnitt 9 (Artikel-Bausteine / Galerie (Embla)) – Kaskade: steht nach gleich spezifischen Regeln weiter oben */
:root .hwj-gallery__slide img {
  display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border-radius: 0; user-select: none; -webkit-user-drag: none;
}
:root .hwj-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; pointer-events: none; }

/* 2.4.2: Absatz „Klein“ – bewusst kleine Schrift aus dem Altbestand (Bildunterschriften, Messbeschriftungen, Quellen; normalize-content.php
   markSizes) und für neue Artikel über die Stil-Liste. Ersetzt feste Schriftgrößen wie 8 pt. */
.com-content-article__body p.hwj-klein, .blog-item p.hwj-klein { font-size: .85rem; line-height: 1.5; color: var(--hwj-muted); margin-top: -.4rem; }
/* Zwischentitel aus großer Altschrift (markSizes, ohne <strong>) wie die fetten Einzeiler setzen */
.com-content-article__body p.hwj-subhead:not(:has(> strong, > span > strong)) { font-family: var(--hwj-display); font-weight: 500; font-size: 1.3rem; line-height: 1.25; margin-top: 1.4rem; color: var(--hwj-ink); }

/* 2.4.9 Layoutsprung im Kopf (CLS mobil 0,40, gemessen 13.11.): Die Social-Links stehen im HTML in .container-search; user.js setzt sie
   neben den Hell/Dunkel-Umschalter. Mit JCH (JS ans Seitenende) läuft das erst nach dem ersten Bild → Kopf schrumpft um eine Zeile, alles
   darunter springt. Jetzt: .container-search ist nur noch Hülle (display: contents) – Suche und Social-Links sind direkt Flex-Elemente
   und stehen schon vor dem Skript an ihrem Endplatz; die Größen der Suche hängen am <search>-Element. Für den Umschalter wird bis zu
   seinem Einfügen Platz freigehalten. */
.container-header .container-search { display: contents; }
.container-header .container-search > search { margin: 0; flex: 0 0 230px; min-width: 0; }
.container-header .container-search > .mod-custom { display: contents; }
.container-header .container-nav:not(:has(.hwj-theme-toggle))::after { content: ""; flex: 0 0 40px; width: 40px; height: 40px; }
@media (min-width: 992px) {
  .container-header .container-search > search { flex: 0 1 170px; min-width: 140px; }
  .container-header .container-nav:not(:has(.hwj-theme-toggle))::after { flex-basis: 34px; width: 34px; height: 34px; }
}
@media (min-width: 992px) and (max-width: 1279.98px) {
  .container-header .container-search > search { order: 9; flex: 1 1 100%; max-width: none; min-width: 0; }
}
@media (max-width: 991.98px) {
  .container-header .container-search > search { order: 4; flex: 1 1 100%; padding: .45rem 0 0; }
}
@media (max-width: 767.98px) {
  /* Cassiopeia: .container-nav .container-search { margin-top: 1em } – wirkt bei display: contents nicht mehr, daher auf <search> */
  .container-header .container-search > search { margin-top: 1em; }
  .container-header .container-nav:not(:has(.hwj-theme-toggle))::after { order: 2; flex-basis: 42px; width: 42px; height: 42px; }
}
/* 2.4.9 Kapitelübersicht mehrseitiger Artikel: mobil klappt user.js sie zu – mit JCH erst spät (Sprung 0,06). Bis dahin Liste ausblenden. */
@media (max-width: 767.98px) {
  details.hwj-toc[open]:not(.hwj-toc--ready) > :not(summary) { display: none; }
}

/* ===== 2.6.0 Kundenfeedback 16.11.2026 (docs/KUNDENFEEDBACK-2026-11-16.md) =====
   K2: Knopf-Blau aus dem Logo (#4a6aa0, weiße Schrift 5,4:1) – Tokens oben (--hwj-steel, --hwj-head-steel; Hover hell #3b5a8c)
   K11: Inhalt als helle Fläche auf getöntem Seitenhintergrund (wie das alte Design); dunkles Schema: Fläche eine Stufe heller */
.site-grid { background: var(--hwj-surface); padding-block: 1.25rem 2rem; }
@media (min-width: 992px) { .site-grid { padding-inline: 28px; } }

/* K9/K4: Beitragstyp-Etiketten (Test/News/Deal/Video) unten links auf dem Vorschaubild – Award-Marken in Listen dafür aus
   (Template-Parameter hwj_award_marks = 0; Award bleibt im Artikel). Seitenleiste: Bilder zu klein → keine Etiketten.
   Play-Symbol der Rubrikzeilen sitzt dort, wo jetzt die Etiketten stehen → oben links. */
.hwj-types { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; z-index: 2; pointer-events: none; }
.hwj-type { font: 700 .72rem/1 var(--hwj-display); letter-spacing: .04em; text-transform: uppercase; padding: .28rem .45rem; color: #fff; }
.hwj-type--test { background: #8a6420; }   /* weiß 5,6:1 */
.hwj-type--news { background: var(--hwj-steel); }
.hwj-type--deal { background: #2a7a4a; }
.hwj-type--video { background: #b3261e; }
.sidebar-right .hwj-types { display: none; }
.hwj-row__media.is-video::after { left: .5rem; top: .5rem; bottom: auto; }
/* K10: Aufmacher 1 groß + 3 klein (Modul-Anzahl 4 per scripts/kundenfeedback-module.php); ab 768 px Titel im Bild
   (dunkler Verlauf, weiße Schrift), Etiketten dort oben links. Mobil bleiben die kleinen als kompakte Zeilen (Bild + Text daneben). */
.hwj-hero .hwj-cards, .card.hwj-hero .hwj-cards { row-gap: 14px !important; }
@media (min-width: 768px) {
  .hwj-hero .hwj-cards, .card.hwj-hero .hwj-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px !important; }
  .hwj-hero .hwj-card:not(:first-child) article { position: relative; }
  .hwj-hero .hwj-card:not(:first-child) .hwj-card__media { aspect-ratio: 4 / 3; }
  .hwj-hero .hwj-card:not(:first-child) .hwj-card__media::after { content: ""; }
  .hwj-hero .hwj-card:not(:first-child) .hwj-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 .9rem .8rem !important; pointer-events: none; }
  .hwj-hero .hwj-card:not(:first-child) .mod-articles-title { font-size: 1.08rem; line-height: 1.25; margin: .15rem 0 .2rem; }
  .hwj-hero .hwj-card:not(:first-child) .mod-articles-title a { color: #fff !important; }
  .hwj-hero .hwj-card:not(:first-child) .hwj-card__date { color: #d4d9df !important; }
  .hwj-hero .hwj-card:not(:first-child) .hwj-card__cat { color: #e3c58f !important; }
  .hwj-hero .hwj-card:not(:first-child) .hwj-card__excerpt { display: none; }
  .hwj-hero .hwj-card:not(:first-child) .hwj-types { top: 0; bottom: auto; }
}
@media (max-width: 767.98px) { .hwj-hero .hwj-card:not(:first-child) .hwj-types { display: none; } }
/* K6: „Mehr aus dieser Rubrik“ nur unter Artikeln – außerhalb liefert die Vorlage keine Einträge (Kernlayout gibt nur einen
   Zeilenumbruch aus → leere Karte) → ausblenden */
.hwj-related:not(:has(.hwj-card)) { display: none; }

/* ===== 2.7.0 Startseite: Dreier-Leiste Tests | News | Videos unter dem Aufmacher (Kunde, Bild 7/8 im Feedback 16.11.2026)
   Module in Position top-b (Cassiopeia stellt sie ab 992 px nebeneinander), angelegt von scripts/startseite-leisten.php.
   Je Spalte farbige Kopflinie im Ton des Etiketts, kompakte Zeilen: kleines Bild mit Etikett links, Titel rechts. */
.container-top-b { gap: 24px; }
.container-top-b > .hwj-strip { min-width: 0; margin: .25rem 0 1rem; background: transparent; border: 0; box-shadow: none; }
.hwj-strip > .card-header { background: transparent; border: 0; border-bottom: 3px solid var(--hwj-strip, var(--hwj-steel)); padding: 0 0 .45rem;
  font: 600 1.15rem/1.2 var(--hwj-display); color: var(--hwj-ink); }
.hwj-strip > .card-body { padding: 0; }
.hwj-strip--test { --hwj-strip: #8a6420; }
.hwj-strip--news { --hwj-strip: var(--hwj-steel); }
.hwj-strip--video { --hwj-strip: #b3261e; }
.hwj-strip .hwj-cards { display: block; }
.hwj-strip .hwj-card { padding-block: 12px; }
.hwj-strip .hwj-card:first-child { border-top: 0 !important; }
.hwj-strip .hwj-card article { flex-direction: row; align-items: flex-start; gap: .75rem; border: 0; border-radius: 0; background: transparent; }
.hwj-strip .hwj-card__media { position: relative; flex: 0 0 108px; width: 108px; aspect-ratio: 4 / 3; border-radius: 6px; }
.hwj-strip .hwj-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hwj-strip .hwj-card .hwj-card__body { padding: 0; gap: .15rem; min-width: 0; }
.hwj-strip .hwj-card .mod-articles-title { font-family: var(--hwj-body); font-weight: 600; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere;
  hyphens: auto; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hwj-strip .hwj-card__kicker { display: none; }
.hwj-strip .hwj-card__excerpt { display: none; }
.hwj-strip .hwj-card__meta { font-size: .78rem; }
.hwj-strip .hwj-type { font-size: .62rem; padding: .2rem .35rem; }
.hwj-strip--test .hwj-type:not(.hwj-type--test), .hwj-strip--news .hwj-type:not(.hwj-type--news),
.hwj-strip--video .hwj-type:not(.hwj-type--video) { display: none; }   /* je Bild nur das Etikett der Spalte */
/* Spalten unter 992 px untereinander: zwei Zeilen Platz sparen → je Spalte 3 Einträge */
@media (max-width: 991.98px) { .hwj-strip .hwj-card:nth-child(n+4) { display: none; } }

/* ===== 2.8.0 Produktbox „Wo kaufen?“ (Override default_produktbox.php, Felder scripts/create-produktbox-fields.php)
   Kompakte Zeilenliste wie AAWP: # | Vorschau | Produkt | Preis | Knopf. Rahmen/Fläche wie die Fazit-Box (Stil-Nachbar), Knopf in Stahl.
   Mobil (< 576 px) je Produkt ein Block: Bild links, Name/Preis rechts, Knopf in voller Breite darunter. Markup ohne <table>/<p>
   (Datenblatt-Regeln und user.js-Markierungen für Tabellen/Absätze greifen sonst). */
.hwj-produktbox {
  margin: 2rem 0 1.75rem; border: 1px solid var(--hwj-line-strong); border-radius: var(--r-plate); background: var(--hwj-surface);
  overflow: hidden;
}
.com-content-article__body .hwj-produktbox__title {
  margin: 0; padding: .75rem 1.1rem .7rem; font: 600 1.2rem/1.2 var(--hwj-display); color: var(--hwj-ink);
  border-bottom: 2px solid var(--hwj-steel); background: var(--hwj-surface-2);
}
.hwj-produktbox__table {
  display: grid; grid-template-columns: 2rem 80px minmax(0, 1fr) minmax(7.5rem, auto) auto; column-gap: .9rem; font-size: .95rem;
  line-height: 1.35;
}
/* Kopf und Zeilen teilen sich die Spalten der Tabelle (subgrid) → Spalten bündig über alle Zeilen */
.hwj-produktbox__head, .hwj-produktbox__row {
  grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding: .7rem 1.1rem;
}
.hwj-produktbox__head {
  padding-block: .45rem; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--hwj-muted);
  border-bottom: 1px solid var(--hwj-line);
}
.hwj-produktbox__row + .hwj-produktbox__row { border-top: 1px solid var(--hwj-line); }
.hwj-produktbox__nr { font: 600 1.05rem/1 var(--hwj-display); color: var(--hwj-muted); text-align: center; font-variant-numeric: tabular-nums; }
.hwj-produktbox__head .hwj-produktbox__nr { font: inherit; }
.hwj-produktbox__media { display: block; width: 80px; }
.com-content-article__body .hwj-produktbox__media img, .hwj-produktbox__noimg {
  display: block; width: 80px; height: 80px; max-width: none; object-fit: contain; border-radius: var(--r-ctl); background: #fff;
  border: 1px solid var(--hwj-line);
}
.hwj-produktbox__head .hwj-produktbox__media { height: auto; }
.hwj-produktbox__noimg {
  background: repeating-linear-gradient(135deg, var(--hwj-surface-2) 0 6px, var(--hwj-surface) 6px 12px);
}
.hwj-produktbox__name { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; min-width: 0; }
.com-content-article__body .hwj-produktbox__name a {
  color: var(--hwj-ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; hyphens: auto;
}
.com-content-article__body .hwj-produktbox__name a:is(:hover, :focus-visible) { color: var(--hwj-link-hover); text-decoration: underline; }
.hwj-produktbox__label {
  display: inline-block; padding: .1rem .45rem; border: 1px solid var(--hwj-gold); border-radius: var(--r-ctl); color: var(--hwj-gold-text);
  font-size: .72rem; font-weight: 600; letter-spacing: .02em; line-height: 1.3;
}
.hwj-produktbox__price { display: flex; flex-direction: column; gap: .1rem; font-variant-numeric: tabular-nums; }
.hwj-produktbox__amount { font: 700 1.15rem/1.15 var(--hwj-display); color: var(--hwj-ink); white-space: nowrap; }
.hwj-produktbox__stand, .hwj-produktbox__noprice { font-size: .78rem; color: var(--hwj-muted); }
.hwj-produktbox__cta { justify-self: end; }
.com-content-article__body a.hwj-produktbox__btn {
  display: inline-block; padding: .55rem 1rem; border-radius: var(--r-ctl); background: var(--hwj-steel); color: #fff; font-weight: 600;
  line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.com-content-article__body a.hwj-produktbox__btn:is(:hover, :focus-visible) { background: var(--hwj-steel-strong); color: #fff; }
.com-content-article__body a.hwj-produktbox__btn:focus-visible { outline: 2px solid var(--hwj-link); outline-offset: 2px; }
.hwj-produktbox .hwj-aff-note { margin: 0; padding: .6rem 1.1rem .7rem; border-top: 1px solid var(--hwj-line); background: var(--hwj-surface-2); }
@media (max-width: 575.98px) {
  .hwj-produktbox__table { display: block; }
  .hwj-produktbox__head { display: none; }
  .hwj-produktbox__row {
    grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "media name" "media price" "cta cta"; gap: .35rem .8rem;
    padding: .8rem .9rem; align-items: start;
  }
  .hwj-produktbox__nr { display: none; }
  .hwj-produktbox__media { grid-area: media; width: 72px; }
  .com-content-article__body .hwj-produktbox__media img, .hwj-produktbox__noimg { width: 72px; height: 72px; }
  .hwj-produktbox__name { grid-area: name; }
  .hwj-produktbox__price { grid-area: price; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
  .hwj-produktbox__cta { grid-area: cta; justify-self: stretch; margin-top: .4rem; }
  .com-content-article__body a.hwj-produktbox__btn { display: block; width: 100%; white-space: normal; padding-block: .65rem; }
}
/* ===== 2.8.1 Produktbox: Gruppen (Zwischenüberschrift, Nummer je Gruppe neu), Kurzinfo, Amazon-Daten (Creators API):
   Titel aus der API max. 2 Zeilen (voller Titel im title), Preis mit Zeitstempel + „Details“-Pop-up (Amazon-Hinweis). */
.hwj-produktbox__group {
  grid-column: 1 / -1; padding: .55rem 1.1rem .45rem; border-top: 1px solid var(--hwj-line-strong); background: var(--hwj-surface-2);
  font: 600 .95rem/1.25 var(--hwj-display); color: var(--hwj-ink);
}
.hwj-produktbox__head + .hwj-produktbox__group { border-top: 0; }
.hwj-produktbox__group + .hwj-produktbox__row { border-top: 1px solid var(--hwj-line); }
.hwj-produktbox__info { font-size: .82rem; line-height: 1.35; color: var(--hwj-muted); }
.com-content-article__body .hwj-produktbox__name a.hwj-produktbox__apititle {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.hwj-produktbox__stand--amazon { line-height: 1.35; }
.hwj-produktbox__details {
  padding: 0; border: 0; background: none; color: var(--hwj-link); font: inherit; text-decoration: underline; cursor: pointer;
}
.hwj-produktbox__details:is(:hover, :focus-visible) { color: var(--hwj-link-hover); }
.hwj-produktbox__popover {
  max-width: min(26rem, calc(100vw - 2rem)); padding: .9rem 1.1rem; border: 1px solid var(--hwj-line-strong); border-radius: var(--r-plate);
  background: var(--hwj-surface); color: var(--hwj-ink); font-size: .85rem; line-height: 1.45; box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}
.hwj-produktbox__popover::backdrop { background: rgba(0, 0, 0, .25); }
@media (max-width: 575.98px) {
  .hwj-produktbox__group { padding: .55rem .9rem .45rem; }
  .hwj-produktbox__stand--amazon { flex-basis: 100%; }
}
/* Kennzeichnung Partnerlinks (plg_system_hjaffiliate): Sternchen klein/gedämpft, Hinweis klein am Artikelende bzw. in der Box */
.hwj-aff-mark { font-size: .7em; line-height: 0; vertical-align: super; margin-left: .1em; color: var(--hwj-muted); font-weight: 400; }
.hwj-aff-note { margin: 1.5rem 0 .5rem; font-size: .8rem; line-height: 1.45; color: var(--hwj-muted); }

/* ===== 2.8.2 Knopf „Bevorzugte Quelle in Google“ (unter Titel/Datum; Template-Stil hwj_google_source) ===== */
.hwj-gsource { margin: .35rem 0 1rem; }
.hwj-gsource__link { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border: 1px solid var(--hwj-line);
  border-radius: 999px; font-size: .85rem; font-weight: 600; line-height: 1.2; color: var(--hwj-ink); text-decoration: none; background: var(--hwj-surface); }
.hwj-gsource__link:hover, .hwj-gsource__link:focus-visible { border-color: var(--hwj-steel); color: var(--hwj-link); }
.hwj-gsource__icon { color: #e3a008; flex: none; }
.hwj-gsource__sm { display: none; }
@media (max-width: 575.98px) { .hwj-gsource__lg { display: none; } .hwj-gsource__sm { display: inline; } }
@media print { .hwj-gsource { display: none; } }

/* ===== 2.8.6 Sam 18.11.: Datenblatt-Überschrift größer, Messdiagramme (Diagramm-App /diagramme/pub_dia) lesbar =====
   Überschriftzeilen (colspan/einzige Zelle) wirkten in der schmalen Display-Schrift kleiner als die Zeilen darunter. */
.com-content-article__body table td[colspan], .com-content-article__body table tr:has(> td:only-child) td,
.com-content-article__body table td[colspan] *, .com-content-article__body table tr:has(> td:only-child) td * {
  font-size: 1.05rem; letter-spacing: .01em;
}
/* Diagramm: „Angaben in °C“ überlagerte den letzten Balken (Absatzabstand + Zeilenhöhe des Templates im absolut gesetzten <p>) */
#diagram-test .diagram-title, #diagram-test .diagram-unit { margin: 0 !important; line-height: 1.3; }
#diagram-test .diagram-title { padding-top: 14px; color: var(--hwj-ink); }
#diagram-test .diagram-unit { bottom: 10px; left: 0; padding: 0 12px; font-size: .85rem; color: var(--hwj-muted); }
#diagram-test .diagram-inner-container { padding-bottom: 40px; }
/* Umschalter darunter (400 U/min, 600 U/min …) sahen aus wie Fließtext – jetzt als Schaltflächen, aktive hervorgehoben */
#diagram-menu .diagram-menu-ul { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: .9rem 0 .4rem; }
#diagram-menu .diagram-menu-ul li {
  display: inline-block; padding: .25rem .75rem; border: 1px solid var(--hwj-line-strong); border-radius: 999px; font-size: .85rem;
  line-height: 1.4; color: var(--hwj-link); cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s;
}
#diagram-menu .diagram-menu-ul li:hover { background: var(--hwj-surface-2); color: var(--hwj-link-hover); text-decoration: none; }
#diagram-menu .diagram-menu-ul li:focus-visible { outline: 2px solid var(--hwj-link); outline-offset: 2px; }
#diagram-menu .diagram-menu-ul li.is-active,
#diagram-menu .diagram-menu-ul:not(:has(li.is-active)) li:first-child {
  background: var(--hwj-steel); border-color: var(--hwj-steel); color: #fff; cursor: default;
}
@media (prefers-reduced-motion: reduce) { #diagram-menu .diagram-menu-ul li { transition: none; } }

/* 2.8.7 Slider statt Aufmacher: weicht der Aufmacher einem Smart Slider (default_items.php), bleibt nur die leere Modulkarte → ausblenden */
.card.hwj-hero:not(:has(a)) { display: none; }
/* 2.8.7 Startseiten-Slider: Typ-Etiketten (card.php ersetzt hwjtyp-<id>) wie auf den Karten, nur größer und nebeneinander */
.n2-section-smartslider .hwj-types--slider { position: static; flex-direction: row; gap: 4px; pointer-events: auto; }
.n2-section-smartslider .hwj-types--slider .hwj-type { font-size: .9rem; padding: .38rem .6rem; }
.n2-section-smartslider .hwj-slide-typ .n2-ss-button-container, .n2-section-smartslider .hwj-slide-typ a { background: transparent !important; padding: 0 !important; }
/* Platzhalter bis user.js ihn ersetzt hat nicht zeigen */
.n2-section-smartslider .hwj-slide-typ .n2-ss-button-container > a > div:not(:has(.hwj-types)) { visibility: hidden; }
/* Vorschauleiste des Startseiten-Sliders: Titel höchstens 2 Zeilen */
.n2-section-smartslider .n2-thumbnail-dot .n2-ss-caption > div { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 2.8.9 Lightbox (JCE MediaBox): Der Lade-Kreisel steht bei JEDEM Öffnen mindestens die Übergangszeit lang (auch bei Bildern aus dem
   Browser-Cache) → erst nach 0,4 s zeigen. Kurz ladende Bilder öffnen ohne Kreisel; bei langsamem Laden erscheint er wie bisher. */
.wf-mediabox-loading .wf-mediabox-loader:after {
  animation: donut-spin 1.2s linear infinite, hwj-mb-loader-in .01s linear .4s both;
}
@keyframes hwj-mb-loader-in { from { opacity: 0; } to { opacity: 1; } }

/* 2.9.0 – Modulüberschrift als Link (Header-Klasse „hwj-link-<Menüpunkt>“, card.php): sieht aus wie die Überschrift, Pfeil beim Überfahren */
.card-header .hwj-module-link { color: inherit; text-decoration: none; }
.card-header .hwj-module-link::after { content: " ›"; opacity: 0; transition: opacity .15s; }
.card-header .hwj-module-link:hover, .card-header .hwj-module-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.card-header .hwj-module-link:hover::after, .card-header .hwj-module-link:focus-visible::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .card-header .hwj-module-link::after { transition: none; } }

/* 2.9.0 (Generalprobe 19.11.) – Smart Slider ohne Hauptbeiträge hängt ein leeres <div></div> an die Position: kein Platz dafür,
   sonst teilt es sich die Breite mit dem Aufmacher (flex 1 1 0) und quetscht ihn auf die halbe Breite */
.container-top-a > :empty { display: none !important; }

/* 2.9.1 (Wunsch Sam 20.11.) – Startseiten-Slider im hellen Design: Vorschauleiste rechts hell statt fest dunkel (Smart Slider setzt
   #1b1f24 als Hintergrund der Leiste; die Bildunterschriften der Vorschaubilder behalten ihren dunklen Verlauf für die Lesbarkeit) */
:root[data-theme="light"] .container-top-a .nextend-thumbnail .nextend-thumbnail-inner { background-color: var(--hwj-surface) !important; }
:root[data-theme="light"] .container-top-a .n2-section-smartslider { background-color: var(--hwj-surface); }

/* ===== 2.9.2 Startseiten-Leiste: Kopflinien im hellen Design kräftiger (Sam 20.11.2026: Kontrast zu schwach) */
:root[data-theme="light"] .hwj-strip > .card-header { border-bottom-width: 4px; }
:root[data-theme="light"] .hwj-strip--test { --hwj-strip: #7a5410; }
:root[data-theme="light"] .hwj-strip--news { --hwj-strip: #2d4f7e; }
:root[data-theme="light"] .hwj-strip--video { --hwj-strip: #a01d17; }

/* ===== 2.9.3 Nachttest 20.11.2026: großer Aufmacher in „Weitere News“ steht inzwischen NEBEN dem Bild (Text nicht mehr auf dem
   Bild) → Datum in Grundfarbe statt hellem Grau (hell 1,5:1, HW-03); langer Titel mit Silbentrennung statt Bruch mitten im Wort (HW-06). */
.hwj-teaser .hwj-card:first-child.has-image .hwj-card__date { color: var(--hwj-muted); }
.hwj-teaser .hwj-card:first-child .mod-articles-title { hyphens: auto; overflow-wrap: break-word; }

/* ---------- 2.9.4 (Sam 20.11., Handy) */
/* Seitenleiste: Mobil-Regel „Kartenmodule ab Karte 2 als Zeile 104 px“ (Review v4 S-2) griff auch hier – dort sind ALLE Einträge
   Zeilen (84 px), der erste blieb kleiner. Jetzt in der Regel selbst ausgenommen (:not(… .sidebar-right .hwj-cards)). */
/* Mobilmenü, helles Design: Untermenü-Fläche ist hell (Logos der Hersteller brauchen hellen Grund), Schrift war noch die helle
   Kopfschrift (~1,4:1) → Schrift folgt der Fläche wie auf dem Desktop */
@media (max-width: 991.98px) {
  .container-header .metismenu.mod-menu .mm-collapse a { color: var(--hwj-text) !important; }
  .container-header .metismenu.mod-menu .mm-collapse a:hover { background: var(--hwj-surface-2) !important; color: var(--hwj-ink) !important; }
  /* Hersteller: Logo über dem Namen – vorher Logo + Name im Textfluss, „LG Electronics“ brach unter das Logo um (Logo saß oben) */
  .container-header .metismenu.mod-menu .mm-collapse a:has(> img) { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
  .container-header .metismenu.mod-menu .mm-collapse a:has(> img) > img { margin: 0; max-width: 100%; height: auto; }
  .container-header .metismenu.mod-menu .mm-collapse a:has(> img) > .image-title { line-height: 1.2; }
}
/* Herstellerlogos sind für hellen Grund gemacht (Sharkoon/Corsair/LG schwarz) → im dunklen Design auf hellem Feld (Desktop + mobil) */
:root:not([data-theme="light"]) .container-header .metismenu.mod-menu .mm-collapse a > img { background: #f4f6f8; padding: 3px 6px; border-radius: 4px; box-sizing: content-box; margin-right: .55rem; }

/* ---------- 2.9.5 (Sam 20.11.: Forum wie HiFi) */
/* Bereichsköpfe sind jetzt h2 (scripts/patch-kunena7-h1.sh) – Zeilenhöhe wie vorher als h1 */
#kunena .section h2.card-header { line-height: 24px; }
/* Konto-Knopf oben rechts (eingeloggt): Kunena setzt den Avatar 20×20 bzw. ohne Avatar ein 1em-Symbol in Statusfarbe → wirkte wie ein
   Fehler. Jetzt runder Avatar 30 px mit Statusring + Beschriftung „Mein Konto“. */
#kunena .navbar .dropdown-toggle:has(> :is(.green, .yellow, .red, .grey, .none)) { display: inline-flex; align-items: center; gap: .5rem; }
#kunena .navbar .dropdown-toggle:has(> :is(.green, .yellow, .red, .grey, .none))::before {
  content: "Mein Konto"; order: 2; font-family: var(--hwj-display); font-weight: 500; color: var(--hwj-text);
}
#kunena .navbar .dropdown-toggle:has(> :is(.green, .yellow, .red, .grey, .none))::after { order: 3; }
#kunena .navbar .dropdown-toggle > :is(.green, .yellow, .red, .grey, .none) {
  order: 1; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50% !important; overflow: hidden;
  background: var(--hwj-surface-2); color: var(--hwj-ink); object-fit: cover; box-shadow: 0 0 0 2px var(--hwj-surface), 0 0 0 4px var(--hwj-muted) !important;
}
#kunena .navbar .dropdown-toggle > .green { box-shadow: 0 0 0 2px var(--hwj-surface), 0 0 0 4px #2e8540 !important; }
#kunena .navbar .dropdown-toggle > .yellow { box-shadow: 0 0 0 2px var(--hwj-surface), 0 0 0 4px #b8860b !important; }
#kunena .navbar .dropdown-toggle > .red { box-shadow: 0 0 0 2px var(--hwj-surface), 0 0 0 4px #b3261e !important; }
#kunena .navbar .dropdown-toggle > :is(.green, .yellow, .red, .grey, .none) svg { width: 18px; height: 18px; }
#kunena .navbar .dropdown-toggle > :is(.green, .yellow, .red, .grey, .none) img { width: 100%; height: 100%; object-fit: cover; }
/* Knopf selbst: Fläche des Designs statt Bootstrap-btn-light (im dunklen Design hellgrau) */
#kunena .navbar .dropdown-toggle:has(> :is(.green, .yellow, .red, .grey, .none)) {
  background: var(--hwj-surface-2) !important; border: 1px solid var(--hwj-line) !important; color: var(--hwj-text) !important; padding: .3rem .7rem .3rem .45rem;
}

/* ---------- 2.9.6 (Sam 20.11., live): CCM19-Symbol (Zustimmung ändern) verdeckte mobil Inhalt – kleiner, in die Ecke, halbtransparent
   bis zur Berührung. Position setzt CCM19 selbst; scale() wirkt unabhängig davon. Zusätzlich Footer-Link „Cookie-Einstellungen“. */
@media (max-width: 767.98px) {
  .ccm-settings-summoner { transform: scale(.66); transform-origin: left bottom; opacity: .7; transition: opacity .2s; }
  .ccm-settings-summoner:hover, .ccm-settings-summoner:focus-within { opacity: 1; }
}

/* ========================================================================================================================
   2.9.7 (20.11.2026, Kundenwünsche nach Livegang)
   ======================================================================================================================== */
/* Kopf mitlaufen lassen nur per Schalter: Template-Stil → Erweitert → „Fixierter Header“ (stickyHeader, Cassiopeia setzt .position-sticky).
   Vorher stand sticky fest im CSS, wirkte aber wegen overflow-x: hidden an html/body nie. Auf dem Handy klappt das Menü unter dem Kopf auf
   (max. 75vh, scrollbar) – das passt auch mitlaufend. */
.container-header { position: relative; }
.container-header.position-sticky { position: sticky; top: 0; z-index: 1020; }
/* Cassiopeia schaltet sticky unter 992 px mit !important ab – bei eingeschaltetem Schalter auch auf dem Handy mitlaufen lassen */
@media (max-width: 991.98px) { .container-header.position-sticky { position: sticky !important; } }
/* Werbeplätze oben (Leaderboard 728×90, Superbanner) mittig statt links, auch solange die Anzeige schmaler ist als der Platz */
.container-banner [id^="div-gpt-ad"], .container-top-a [id^="div-gpt-ad"] { margin-inline: auto; max-width: 100%; text-align: center; }
.container-banner [id^="div-gpt-ad"] iframe, .container-top-a [id^="div-gpt-ad"] iframe { margin-inline: auto; }
/* Leaderboard: ab 780 px 728×90, darunter fordert der Kopfcode 320×100 oder 320×50 an (leaderboard-mobil.php). Das Modul setzt am Platz
   fest width:728px/height:90px – auf dem Handy daher flexibel, mittig, Platz für 100 px reserviert (kein Sprung beim Laden) */
@media (max-width: 779.98px) {
  .container-banner:has(#div-gpt-ad-1486036338274-0) { min-height: 100px; }
  #div-gpt-ad-1486036338274-0 { width: auto !important; height: auto !important; min-height: 100px; display: flex; justify-content: center; align-items: center; }
}
/* Startseite: „Aktuelle Deals“ als 3. Spalte der Dreier-Reihe (startseite-deals-videos.php) – Farbe wie die Deal-Kennung, nur Deal-Etikett */
.hwj-strip--deal { --hwj-strip: var(--hwj-deal); }
.hwj-strip--deal .hwj-type:not(.hwj-type--deal) { display: none; }
/* Mitlaufender Kopf auf dem Handy kompakt (user.js setzt .hwj-kompakt nach etwas Scrollen): Suche → Lupe, Social-Links aus */
.hwj-search-toggle { display: none; }
@media (max-width: 991.98px) {
  .container-header.hwj-kompakt .hwj-search-toggle {
    order: 2; flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; cursor: pointer;
    background: transparent; color: var(--hwj-head-ink, #fff); border: 1px solid #3a4048; border-radius: var(--r-ctl);
  }
  .container-header.hwj-kompakt .hwj-search-toggle:hover, .container-header.hwj-suche-offen .hwj-search-toggle { border-color: var(--hwj-ice); }
  .container-header.hwj-kompakt:not(.hwj-suche-offen) .container-search > search { display: none; }
  .container-header.hwj-kompakt .hwj-social { display: none; }
}
/* /videos/alle-videos (videos-uebersicht.php, Seitenklasse hwj-video-uebersicht): Schlagwort-Liste als Kacheln wie das Video-Modul,
   mit Play-Symbol, ohne Anriss; Seitenzahlen bleiben darunter */
body.hwj-video-uebersicht .hwj-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 1.25rem; }
body.hwj-video-uebersicht .hwj-row { display: flex; flex-direction: column; gap: .55rem; padding: 0; border: 0; margin: 0; }
body.hwj-video-uebersicht .hwj-row__media { position: relative; display: block; width: 100%; max-width: none; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-img); }
body.hwj-video-uebersicht .hwj-row__media img { width: 100%; height: 100%; object-fit: cover; }
body.hwj-video-uebersicht .hwj-row__media::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%;
  background: rgba(10,14,20,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 24px no-repeat;
  border: 2px solid rgba(255,255,255,.85); transition: background-color .15s;
}
body.hwj-video-uebersicht .hwj-row:hover .hwj-row__media::after { background-color: var(--hwj-steel); }
body.hwj-video-uebersicht .hwj-row__title { font-size: 1.02rem; line-height: 1.3; margin: .1rem 0 .15rem; }
body.hwj-video-uebersicht .hwj-row__excerpt { display: none; }
body.hwj-video-uebersicht .hwj-row__kicker, body.hwj-video-uebersicht .hwj-row__meta { margin: 0; font-size: .85rem; }
@media (max-width: 991.98px) { body.hwj-video-uebersicht .hwj-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .9rem; } }
@media (max-width: 479.98px) { body.hwj-video-uebersicht .hwj-rows { grid-template-columns: minmax(0, 1fr); } }
.hwj-alle-videos { margin: 1.25rem 0 0; text-align: center; }
/* 2.10.0 (Kundenwunsch 20.11.): Kauf-Knopf der Produktbox knalliger – zwischen Rot und dem Lila des alten „HIER KAUFEN“-Knopfs.
   Verlauf Himbeerrot → Lila, weiße Schrift (Kontrast ≥ 4,5:1 an beiden Enden), hell und dunkel gleich (fällt auf beiden Flächen auf). */
.com-content-article__body a.hwj-produktbox__btn {
  background: #d41f58 linear-gradient(135deg, #d41f58 0%, #a3168f 100%); color: #fff; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 2px 6px rgba(163, 22, 143, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.com-content-article__body a.hwj-produktbox__btn:is(:hover, :focus-visible) {
  background: #b81a4c linear-gradient(135deg, #b81a4c 0%, #86107a 100%); color: #fff; box-shadow: 0 3px 10px rgba(163, 22, 143, .38);
}
/* 2.10.1 Streichpreis (Kundenwunsch 20.11.): Vergleichspreis klein und durchgestrichen über dem Preis; Amazon mit Ersparnis in % */
.hwj-produktbox__basis { font-size: .78rem; color: var(--hwj-muted); white-space: nowrap; }
.hwj-produktbox__basis del { text-decoration-thickness: 2px; text-decoration-color: #d41f58; }
.hwj-produktbox__save { margin-left: .3rem; padding: 0 .3rem; border-radius: var(--r-ctl); background: #d41f58; color: #fff; font-weight: 700; font-size: .72rem; }
/* 2.11.0 (23.11., aus HiFi 1.5.0 – dort brachte ein 10. Menüpunkt das Suchfeld über das Menü bzw. den Kopf 992–1200 px zum Umbrechen):
   Desktop-Kopf = Logo | Menü | Lupe | Social | Hell/Dunkel. Die Lupe (user.js) klappt das Suchfeld unter dem Kopf rechts auf.
   Ersetzt die zweite Kopfzeile für die Suche 992–1279 px (Feinschliff 6). Lupe 34 px wie Social/Hell-Dunkel ab 992 px.
   992–1199 px zusätzlich kleiner, Logo flacher, Social-Links aus; breiter nur per .hwj-kopf-eng/-enger (user.js misst). */
@media (min-width: 992px) {
  .container-header .container-nav { flex-wrap: nowrap; gap: .75rem; row-gap: 0; }
  .container-header .hwj-search-toggle {
    display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; padding: 0; cursor: pointer;
    background: var(--hwj-head-2); color: var(--hwj-head-text); border: 1px solid var(--hwj-head-line); border-radius: var(--r-ctl);
  }
  .container-header .hwj-search-toggle:hover, .container-header.hwj-suche-offen .hwj-search-toggle {
    border-color: var(--hwj-head-steel); color: var(--hwj-head-ink);
  }
  .container-header .container-nav > .container-search {
    display: none; position: absolute; top: calc(100% + 3px); right: max(16px, calc((100% - var(--hwj-max)) / 2 + 16px)); z-index: 40;
    width: min(460px, calc(100% - 32px)); min-width: 0; max-width: none; flex: none; order: 0; margin: 0; padding: .75rem; background: var(--hwj-head);
    border: 1px solid var(--hwj-head-line); border-top: 0; border-radius: 0 0 var(--r-ctl) var(--r-ctl); box-shadow: 0 14px 30px rgba(10, 14, 20, .35);
  }
  .container-header.hwj-suche-offen .container-nav > .container-search { display: block; }
  .container-header .container-nav > .container-search > search { display: block; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container-header { column-gap: 1rem; }
  .container-header .brand-logo img { height: 46px; }
  .container-header .hwj-social { display: none; }
  .container-header .metismenu > li > a, .container-header .metismenu > li > span, .container-header .metismenu > li > button.mm-toggler-link {
    padding-inline: .42rem; font-size: .9rem;
  }
}
@media (min-width: 992px) {
  .container-header.hwj-kopf-eng { column-gap: 1rem; }
  .container-header.hwj-kopf-eng .brand-logo img { height: 46px; }
  .container-header.hwj-kopf-eng .hwj-social { display: none; }
  .container-header.hwj-kopf-eng .metismenu > li > a, .container-header.hwj-kopf-eng .metismenu > li > span,
  .container-header.hwj-kopf-eng .metismenu > li > button.mm-toggler-link { padding-inline: .42rem; font-size: .9rem; }
  /* zweite Stufe (noch mehr Menüpunkte / schmales Fenster) */
  .container-header.hwj-kopf-enger .brand-logo img { height: 40px; }
  .container-header.hwj-kopf-enger .container-nav { gap: .5rem; }
  .container-header.hwj-kopf-enger .metismenu > li > a, .container-header.hwj-kopf-enger .metismenu > li > span,
  .container-header.hwj-kopf-enger .metismenu > li > button.mm-toggler-link { padding-inline: .3rem; font-size: .85rem; letter-spacing: 0; }
}
/* 2.11.0 Galerie (Kundenwunsch HiFi + HW, aus HiFi 1.5.1): Vorschaubilder unter der Bühne mittig – auto-Ränder statt
   justify-content: center, damit bei Überlauf der Anfang erreichbar bleibt */
.hwj-gallery__thumbs > .hwj-gallery__thumb:first-child { margin-left: auto; }
.hwj-gallery__thumbs > .hwj-gallery__thumb:last-child { margin-right: auto; }

/* 2.12.2 Layoutsprung Rubrik-Auswahl (CLS mobil 0,045 auf Rubrikseiten, gemessen 26.11.; Übergabe HiFi CLS-Suchzeile): user.js baut
   „Rubrik: … · N Rubriken“ erst nach dem Laden als erstes Element in <main> ein, die Liste rutschte dabei um 74 px nach unten.
   Ein Platzhalter gleicher Höhe hält die Zeile frei, bis die Leiste da ist. Bedingung wie in user.js: Kategorieseite, Hauptmenüpunkt
   aktiv mit ≥ 2 Unterpunkten, nicht unter /intern.
   Review: kein Artikel (statt view-category, sonst fehlte der Platzhalter auf den Hersteller-Seiten = com_tags); Rubrikname einzeilig,
   damit die Leiste auch bei langen Namen („Kopfhörer & Lautsprecher“) auf schmalen Handys 54 px hoch bleibt. */
body:not(:has(.com-content-article)):has(.container-header .metismenu > li.active.parent > ul > li:nth-child(2) > a):not(:has(.container-header .metismenu > li.active.parent > a[href^="/intern"])) .container-component > main:not(:has(> nav > .hwj-rubriken))::before {
  content: ""; display: block; height: 54px; margin: 0 0 1.25rem;
}
.hwj-rubriken:not([open]) { box-sizing: border-box; min-height: 54px; }
.hwj-rubriken > summary .hwj-rubriken__current { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hwj-rubriken > summary .hwj-rubriken__label, .hwj-rubriken > summary .hwj-rubriken__count { flex-shrink: 0; white-space: nowrap; }

/* 2.12.3 Gewinnspiel-Teilnahmebedingungen (Tabelle #rulesGewinnspiel im Beitrag) kleiner – Wunsch Redaktion 01.12.: sie standen in
   Fließtextgröße (16,8 px) unter dem Formular. */
/* 2.12.4 (Hinweis HiFi, live gemessen): fette §-Anfänge (<strong>) standen weiter auf 16,8 px → strong mit, !important wie HiFi */
#rulesGewinnspiel, #rulesGewinnspiel td, #rulesGewinnspiel p, #rulesGewinnspiel span, #rulesGewinnspiel strong { font-size: .8rem !important; line-height: 1.45; }
#rulesGewinnspiel p { margin: 0 0 .35rem; }
#rulesGewinnspiel tr:first-child td, #rulesGewinnspiel tr:first-child strong { font-size: .9rem !important; }
