/* ═══════════════════════════════════════════════════════════════
   harst — Designsystem
   Eine Quelle für alle Seiten. Regeln, die nicht gebrochen werden:

     · 2 Schriften   Cabinet Grotesk (Display) + Switzer (Text)
     · 1 Linienstärke  1px für Zeilen, 2px nur für Sektionsgrenzen
     · 0 Radien        keine abgerundeten Ecken
     · 0 Schatten
     · 1 Akzentfarbe   Rot, sparsam
   ═══════════════════════════════════════════════════════════════ */

/* ── SCHRIFTEN (selbstgehostet, Fontshare — frei auch kommerziell) ── */
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --f-display: "Cabinet Grotesk", "Helvetica Neue", sans-serif;
  --f-text: "Switzer", "Helvetica Neue", sans-serif;

  --ink:    #14120f;
  --paper:  #ffffff;
  --rule:   #e7e5e0;
  --muted:  #6e6b64;
  --red:    #ff5a3c;

  --pad: clamp(20px, 4vw, 64px);
  --gap: clamp(16px, 2vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-text); font-weight: 400; font-size: 17px; line-height: 1.55;
  background: var(--paper); color: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: "ss01";
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ── RASTER ── */
.wrap { max-width: 2240px; margin: 0 auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.mark { grid-column: 1 / 3; }
.main { grid-column: 3 / 13; }
.rule-top { }

/* ── TYPO-SKALA (bewusst wenige Stufen, große Sprünge) ── */
.t-display { font-family: var(--f-display); font-weight: 800; font-size: clamp(50px, 10.4vw, 240px); line-height: 0.84; letter-spacing: -0.035em; }
.t-h2      { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 5vw, 78px);   line-height: 0.98; letter-spacing: -0.03em; }
.t-h3      { font-family: var(--f-text);    font-weight: 600; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.35; letter-spacing: -0.004em; }
.t-meta    { font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.t-lead    { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45; color: var(--muted); max-width: 42ch; }
.t-body    { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.num       { font-family: var(--f-display); font-weight: 500; font-size: 12px; letter-spacing: 0.04em; color: var(--red); font-variant-numeric: tabular-nums; }

/* ── NAVIGATION ── */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 24px; }
.logo { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: -0.045em; }
.logo i { color: var(--red); font-style: normal; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; padding-block: 4px; border-bottom: 1px solid transparent; transition: border-color 0.18s; }
.nav-links a:hover { border-bottom-color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-cta { font-size: 13px; font-weight: 600; padding: 9px 16px; background: var(--ink); color: var(--paper); transition: background 0.18s; }
.nav-cta:hover { background: var(--red); }
.burger { display: none; width: 34px; height: 30px; border: 1px solid var(--rule); background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
.burger span:nth-child(1) { top: 11px; } .burger span:nth-child(2) { bottom: 11px; }
.mnav { display: none; position: fixed; inset: 62px 0 0; z-index: 49; background: var(--paper); padding: var(--pad); flex-direction: column; gap: 2px; }
.mnav.open { display: flex; }
.mnav a { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 9vw, 52px); letter-spacing: -0.03em; padding-block: 10px; border-bottom: 1px solid var(--rule); }

/* ── HERO ── */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 72px); }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.hero-h1 { margin-top: clamp(28px, 4.5vw, 60px); }
.hero-h1 span { display: block; overflow: hidden; }
.hero-h1 b { display: block; font-weight: inherit; transform: translateY(100%); animation: rise 0.9s var(--ease) forwards; }
.hero-h1 span:nth-child(2) b { animation-delay: 0.08s; }
.hero-h1 span:nth-child(3) b { animation-delay: 0.16s; }
@keyframes rise { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-h1 b { transform: none; animation: none; } }
.hero-h1 em { font-style: normal; color: var(--red); }
.hero-foot { margin-top: clamp(34px, 5vw, 68px); padding-top: 22px; border-top: 1px solid var(--rule); align-items: start; row-gap: 30px; }
.hero-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 22px; font-size: 14px; font-weight: 600; border: 1px solid var(--ink); transition: background 0.18s, color 0.18s; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Definitionsliste ersetzt das erfundene Diagramm */
.deflist { grid-column: 8 / 13; }
.deflist div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding-block: 13px; border-top: 1px solid var(--rule); }
.deflist div:last-child { border-bottom: 1px solid var(--rule); }
.deflist dt { font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.deflist dd { font-size: 13px; color: var(--muted); text-align: right; }

/* ── SEKTIONEN ── */
.sec { position: relative; padding-block: clamp(58px, 8.5vw, 148px) clamp(52px, 7.5vw, 128px); }
.rule-top::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
                    width: 100vw; height: 2px; background: var(--ink); }
.sec-head { margin-bottom: clamp(38px, 5vw, 72px); }
.mark-label { display: block; margin-top: 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.11em;
              text-transform: uppercase; color: var(--ink); }
.num { display: block; }
.sec-head .t-h2 { margin-top: 10px; }
.sec-head .t-lead { margin-top: 14px; }

/* Zeilen statt Karten — das ist der Kernumbau */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1.15fr) auto; gap: var(--gap);
       align-items: start; padding-block: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--rule); }
.row-title { transition: color 0.18s; }
.row-tags { font-size: 13px; color: var(--muted); white-space: nowrap; }
a.row:hover .row-title { color: var(--red); }

.rows-cat .row { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.15fr) auto; }
.more { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; padding-top: 22px; }
.more span { font-size: 14px; color: var(--muted); }

/* Arbeiten — ein Projekt pro Zeile, Name groß */
.work { display: grid; grid-template-columns: 150px minmax(0,1fr) auto auto; gap: var(--gap); align-items: center;
        padding-block: clamp(22px, 3vw, 42px); border-bottom: 1px solid var(--rule); }
.work-name { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 5vw, 68px); letter-spacing: -0.035em; line-height: 1; transition: color 0.18s, transform 0.3s var(--ease); }
.work:hover .work-name { color: var(--red); transform: translateX(10px); }
.work-metric { font-family: var(--f-display); font-weight: 700; font-size: clamp(17px, 1.7vw, 23px); white-space: nowrap; }
.work-metric small { display: block; font-family: var(--f-text); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.work-go { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Konfigurator */
.kf { align-items: start; row-gap: 40px; }
.kf-opts { grid-column: 1 / 8; }
.kf-out  { grid-column: 9 / 13; position: sticky; top: 92px; max-height: calc(100vh - 112px); overflow-y: auto;
           overscroll-behavior: contain; border-top: 2px solid var(--ink); padding-top: 18px; }
.kf-step { padding-block: 20px; border-bottom: 1px solid var(--rule); }
.kf-step:first-child { border-top: 1px solid var(--rule); }
.kf-opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; margin-top: 4px; cursor: pointer; background: none; border: none; text-align: left; font-size: 15px; font-weight: 500; transition: color 0.15s; }
.kf-box { width: 13px; height: 13px; border: 1px solid var(--ink); flex-shrink: 0; transition: background 0.15s, border-color 0.15s; }
.kf-opt[aria-pressed="true"] .kf-box { background: var(--red); border-color: var(--red); }
.kf-opt:hover { color: var(--red); }
.kf-list { display: flex; flex-wrap: wrap; column-gap: 30px; margin-top: 6px; }
.kf-weeks { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 4.6vw, 62px); letter-spacing: -0.035em; line-height: 1; margin-block: 6px 4px; }
.kf-weeks span { font-family: var(--f-text); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--muted); }
.kf-focus { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.6; }
.kf-note { font-size: 12px; color: var(--muted); margin-top: 16px; }
.kf-cta { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.kf-cta:hover { color: var(--red); border-color: var(--red); }
.kf-price { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 4.6vw, 62px); letter-spacing: -0.035em; line-height: 1; margin-block: 8px 4px; }
.kf-price small { font-family: var(--f-text); font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--muted); margin-right: 6px; vertical-align: 0.35em; }
.kf-vat { font-size: 12px; color: var(--muted); }
.kf-lines { margin-top: 22px; border-top: 1px solid var(--rule); }
.kf-line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.kf-line span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.kf-line.is-free span:last-child { color: var(--muted); }
.kf-block { margin-top: 20px; }
.kf-block ul { list-style: none; margin-top: 7px; }
.kf-block li { font-size: 13px; line-height: 1.55; color: var(--muted); padding-left: 15px; position: relative; }
.kf-block li::before { content: "·"; position: absolute; left: 4px; }
.kf-hint { margin-top: 22px; border-left: 2px solid var(--red); padding: 2px 0 2px 15px; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.kf-hint a { border-bottom: 1px solid var(--red); }
.kf-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.kf-actions .btn { padding: 11px 18px; cursor: pointer; }
.kf-monthly { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--ink); }
.kf-price-sm { font-size: clamp(25px, 2.9vw, 38px); margin-block: 6px 2px; }
.kf-empty { font-size: 13px; color: var(--muted); margin-top: 8px; }
.kf-step-note { font-size: 12px; color: var(--muted); margin-top: 5px; }
.kf-draft { margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--red); }

/* Zahlen */
.stats { border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(22px, 3vw, 38px) var(--gap) clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--rule); }
.stat + .stat { border-left: 1px solid var(--rule); padding-left: var(--gap); }
.stat-val { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4vw, 56px); letter-spacing: -0.035em; line-height: 1; }
.stat-lab { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Stimmen — als Zitate, nicht als Karten */
.quote { padding-block: clamp(26px, 3.4vw, 46px); border-bottom: 1px solid var(--rule); }

.quote p { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2.5vw, 34px); line-height: 1.22; letter-spacing: -0.02em; max-width: 24ch; }
.quote footer { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Kontakt — Unterstrich-Felder statt Kästen */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px var(--gap); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  border: none; border-bottom: 1px solid var(--ink); background: none; padding: 9px 0; font-size: 16px;
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 9px) 18px, calc(100% - 4px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.contact-side p + p { margin-top: 16px; }
.mail { font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 2vw, 27px); letter-spacing: -0.02em; border-bottom: 1px solid var(--rule); }
.mail:hover { color: var(--red); border-color: var(--red); }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding-block: clamp(40px, 5vw, 70px) 26px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px var(--gap); }
.foot-col p { font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); margin-bottom: 13px; }
.foot-col a { display: block; font-size: 14px; padding-block: 4px; color: var(--muted); transition: color 0.15s; }
.foot-col a:hover { color: var(--ink); }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--muted); }
.foot-bot a { margin-left: 20px; }
.foot-bot a:hover { color: var(--ink); }

/* ── RESPONSIV ── */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .mark, .main, .deflist, .kf-opts, .kf-out { grid-column: 1 / -1; }
  .mark { margin-bottom: 12px; }
  .deflist { margin-top: 30px; }
  .kf-out { position: static; max-height: none; overflow: visible; margin-top: 32px; }
  .row { grid-template-columns: 44px 1fr; row-gap: 9px; }
  .row > * { grid-column: 2; }
  .row > .num { grid-column: 1; grid-row: 1; }
  .rows-cat .row { grid-template-columns: 1fr; }
  .rows-cat .row > * { grid-column: 1; }
  .work { grid-template-columns: 1fr; row-gap: 10px; }
  .work-metric, .work-go { grid-column: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--rule); padding-left: var(--gap); }
  .form-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; } }

/* ── BLOG-ÜBERSICHT ── */
.filter { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 13px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.filter button { font-size: 13px; font-weight: 600; padding: 6px 13px; border: 1px solid transparent; background: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-label { font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); align-self: center; margin-right: 10px; }

.blog-lead { display: block; padding-block: clamp(26px, 3.4vw, 50px); border-bottom: 1px solid var(--rule); }
.blog-lead-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 62px); letter-spacing: -0.03em; line-height: 1.0; margin-block: 13px 15px; max-width: 20ch; transition: color 0.18s; }
.blog-lead:hover .blog-lead-title { color: var(--red); }
.blog-lead .t-lead { max-width: 54ch; }
.blog-metaline { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.blog-empty { padding-block: 40px; font-size: 15px; color: var(--muted); }

/* ── ARTIKEL ──
   Gleiche Regeln wie überall: keine Radien, keine Schatten,
   Haarlinien für Zeilen, 2px nur für Sektionsgrenzen.        */
.art-header { padding-top: clamp(30px, 4vw, 56px); padding-bottom: clamp(30px, 4vw, 56px); }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.art-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 6.2vw, 108px); line-height: 0.92; letter-spacing: -0.035em; margin-top: clamp(24px, 3.4vw, 48px); max-width: 17ch; }
.art-lead { font-size: clamp(18px, 1.8vw, 25px); line-height: 1.42; color: var(--muted); max-width: 44ch; margin-top: clamp(22px, 2.6vw, 36px); }

.art-body { max-width: 68ch; padding-bottom: clamp(56px, 8vw, 120px); }
.art-body h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(25px, 2.9vw, 40px); line-height: 1.05; letter-spacing: -0.028em; margin-top: clamp(48px, 5.5vw, 84px); margin-bottom: 18px; }
.art-body h3 { font-family: var(--f-text); font-weight: 600; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.35; margin-top: 38px; margin-bottom: 12px; }
.art-body p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.66; margin-bottom: 20px; }
.art-body ul, .art-body ol { margin-bottom: 22px; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.art-body li { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; }
.art-body strong { font-weight: 600; }
.art-body em { font-style: italic; }
.art-body a { border-bottom: 1px solid var(--red); transition: color 0.15s; }
.art-body a:hover { color: var(--red); }
.art-divider { border: none; border-top: 1px solid var(--rule); margin-block: clamp(38px, 4.5vw, 62px); }

/* Merksatz: Linie statt Kasten */
.art-highlight { margin-block: 32px; padding-left: 20px; border-left: 2px solid var(--red); }
.art-highlight p { margin-bottom: 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }
.art-highlight-label { font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* Code */
.art-body code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.87em; background: rgba(20,18,15,0.06); padding: 2px 5px; }
.art-code { position: relative; background: var(--ink); padding: 32px 20px 18px; margin-block: 26px; }
.art-code::before { content: attr(data-label); position: absolute; top: 11px; left: 21px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.art-code--error::before { color: var(--red); }
.art-code pre { margin: 0; overflow-x: auto; padding-bottom: 3px; }
.art-body .art-code code { display: block; font-size: 13px; line-height: 1.7; white-space: pre; background: none; padding: 0; color: rgba(255,255,255,0.88); }
.art-body .art-code--error code { color: #ff9c85; }

/* Tabellen */
.art-table-wrap { overflow-x: auto; margin-block: 28px; }
.art-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.art-table th { font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; text-align: left; color: var(--muted); padding: 11px 14px 11px 0; border-bottom: 2px solid var(--ink); }
.art-table td { font-size: 15px; line-height: 1.55; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.art-table tr:last-child td { border-bottom: none; }
.art-body .art-table code { font-size: 12.5px; }

/* Bilder */
.art-figure { margin-block: 34px; }
.art-figure > img { display: block; width: 100%; height: auto; }
.art-figure figcaption { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 11px; }
.art-compare .cmp { position: relative; overflow: hidden; line-height: 0; background: var(--ink); }
.art-compare .cmp img { display: block; width: 100%; height: auto; }
.art-compare .cmp-over { position: absolute; top: 0; left: 0; height: 100%; clip-path: inset(0 50% 0 0); }
.art-compare .cmp-tag { position: absolute; top: 11px; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; padding: 5px 10px; background: var(--ink); color: var(--paper); pointer-events: none; }
.art-compare .cmp-tag-l { left: 11px; }
.art-compare .cmp-tag-r { right: 11px; }
.art-compare .cmp-range { position: absolute; top: 0; left: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.art-compare .cmp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 900px; }
.art-compare .cmp-range::-moz-range-thumb { width: 48px; height: 900px; border: none; }
.art-compare .cmp-handle { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4; width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.art-compare .cmp-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--paper); border: 1px solid var(--ink); }
.art-compare .cmp-range:focus-visible ~ .cmp-handle .cmp-grip { outline: 3px solid var(--red); }

/* Abschluss-CTA */
.art-cta { margin-top: clamp(48px, 6vw, 88px); padding-top: 26px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; flex-wrap: wrap; }
.art-cta-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.025em; line-height: 1.05; }
.art-cta-sub { font-size: 15px; color: var(--muted); margin-top: 8px; max-width: 40ch; }
.art-body .art-cta-btn { border-bottom: none; display: inline-block; padding: 13px 22px; font-size: 14px; font-weight: 600; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); transition: background 0.18s; white-space: nowrap; }
.art-body .art-cta-btn:hover { background: var(--red); border-color: var(--red); color: var(--paper); }

@media (max-width: 1000px) {
  .art-code { padding: 30px 15px 15px; }
  .art-body .art-code code { font-size: 12px; }
}

/* Lesefortschritt auf Artikelseiten */
.progress { position: fixed; top: 62px; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; }
.nav-links a.ist-aktiv { border-bottom-color: var(--ink); }

/* ── RECHTSTEXTE ── */
.rechts { max-width: 74ch; padding-top: clamp(30px,4vw,56px); padding-bottom: clamp(56px,8vw,120px); }
.rechts p { font-size: clamp(15px,1.1vw,17px); line-height: 1.68; color: var(--muted); margin-bottom: 15px; max-width: 68ch; }
.rechts strong { color: var(--ink); font-weight: 600; }
.rechts a { border-bottom: 1px solid var(--red); }
.rechts a:hover { color: var(--red); }
.rechts ul { margin: 0 0 18px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.rechts li { font-size: clamp(15px,1.1vw,17px); line-height: 1.6; color: var(--muted); }
.rechts-block { padding-block: 16px; border-bottom: 1px solid var(--rule); }
.rechts-block:first-of-type { border-top: 1px solid var(--rule); margin-top: 26px; }

/* ── FORMULAR-RÜCKMELDUNG ── */
.feld-fehler { font-size: 12.5px; color: var(--red); margin-top: 5px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: var(--red); }
.form-status { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; margin-top: 14px; padding-left: 13px; border-left: 2px solid var(--rule); max-width: 46ch; }
.form-status.ist-gut { border-left-color: var(--ink); font-weight: 600; }
.form-status.ist-fehler { border-left-color: var(--red); }
.form-status.ist-laeuft { color: var(--muted); }

/* Sprachumschalter */
.nav-lang { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 4px 2px; border-bottom: 1px solid var(--rule); transition: border-color 0.18s, color 0.18s; }
.nav-lang:hover { border-bottom-color: var(--ink); color: var(--red); }
