/* ============================================================
   AktienRenteRechner — Design 2027 (Mockup: Gruen / Navy / Mint)
   Wird NACH cx-ui/*, style.css und site.css geladen.
   1. Tokens   2. Basis   3. Buttons   4. Header + Mega-Menue
   5. Mobile-Menue   6. Suche   7. Hero + Startseiten-Bausteine
   8. Alt-Klassen (Unterseiten)   9. Footer
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --ark-green:        #0b7a4f;
  --ark-green-dark:   #086140;
  --ark-green-mid:    #12a066;
  --ark-mint:         #e6f6ee;
  --ark-mint-2:       #f1faf5;
  --ark-navy:         #0b1d3a;
  --ark-ink:          #1c2b3f;
  --ark-text:         #46556b;
  --ark-line:         #e2ebe6;
  --ark-bg:           #f7faf8;
  --ark-white:        #ffffff;
  --ark-blue:         #5a8fd8;
  --ark-r:            14px;
  --ark-r-lg:         22px;
  --ark-mint-strong:  #d4eee1;
  --ark-mint-line:    #b9e3cd;
  --ark-sh:           0 1px 2px rgba(11,29,58,.04), 0 6px 18px rgba(11,29,58,.06);
  --ark-sh-lg:        0 18px 50px rgba(11,29,58,.14);
  --ark-hd-h:         76px;

  /* CX-UI-Tokens auf die Markenfarbe biegen (wirkt site-weit ueber site.css-Bruecke) */
  --cx-accent:        var(--ark-green);
  --cx-accent-hover:  var(--ark-green-dark);
  --cx-accent-light:  var(--ark-mint);
  --cx-text:          var(--ark-navy);
  --cx-text-mid:      var(--ark-text);
  --cx-bg-alt:        var(--ark-bg);
  --cx-bg-dark:       var(--ark-navy);
  --cx-border:        var(--ark-line);
  --cx-header-h:      var(--ark-hd-h);
  --cx-r-xl:          var(--ark-r-lg);
  --mint:             var(--ark-mint);
  --navy:             var(--ark-navy);
}

/* ---------- 2. Basis ---------- */
body { background: #fff; color: var(--ark-ink); font-family: var(--cx-font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -.025em; }
a { color: var(--ark-green); }
body.ark-lock { overflow: hidden; }
.ark-ic { flex-shrink: 0; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- 3. Buttons ---------- */
.ark-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, box-shadow .15s, transform .1s, border-color .15s; font-family: inherit; }
.ark-btn:active { transform: scale(.98); }
.ark-btn--primary { background: var(--ark-green); color: #fff !important; box-shadow: 0 6px 16px rgba(11,122,79,.28); }
.ark-btn--primary:hover { background: var(--ark-green-dark); }
.ark-btn--ghost { background: #fff; color: var(--ark-navy) !important; border-color: var(--ark-line); }
.ark-btn--ghost:hover { border-color: var(--ark-green); color: var(--ark-green) !important; }
.ark-btn--lg { padding: 17px 30px; font-size: 17px; border-radius: 14px; }
.ark-btn--block { display: flex; width: 100%; }
.ark-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--ark-navy); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.ark-icon-btn:hover { background: var(--ark-mint); }
.ark-icon-btn img { opacity: .8; }

/* ---------- 4. Header + Mega-Menue ---------- */
.ark-hd { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ark-line); height: var(--ark-hd-h); box-shadow: none; transition: box-shadow .2s; }
.ark-hd.is-scrolled { box-shadow: 0 6px 24px rgba(11,29,58,.08); }
.ark-hd-in { display: flex; align-items: center; gap: 22px; max-width: 1360px; height: 100%; margin: 0 auto; padding: 0 28px; }
.ark-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.ark-logo-mark rect { fill: var(--ark-green); }
.ark-logo-mark rect:nth-child(2) { fill: var(--ark-green-mid); }
.ark-logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.ark-logo-name { font-size: 22px; font-weight: 800; color: var(--ark-navy); letter-spacing: -.03em; }
.ark-logo-name span { color: var(--ark-navy); }
.ark-logo-tag { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ark-text); font-weight: 600; margin-top: 4px; }

.ark-nav { flex: 1; min-width: 0; }
.ark-nav-list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.ark-nav-item { position: static; }
.ark-nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--ark-navy); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.ark-nav-link .ark-ic { transition: transform .2s; opacity: .7; }
.ark-nav-link:hover, .ark-nav-item.is-open > .ark-nav-link, .ark-nav-item:focus-within > .ark-nav-link { background: var(--ark-mint); color: var(--ark-green-dark); }
.ark-nav-item.is-active > .ark-nav-link { color: var(--ark-green); box-shadow: inset 0 -2px 0 var(--ark-green); border-radius: 12px 12px 0 0; }
.ark-nav-item.is-open > .ark-nav-link .ark-ic { transform: rotate(180deg); }

.ark-hd-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.ark-hd-cta { margin-left: 8px; padding: 12px 20px; font-size: 15px; }
@media (max-width: 1560px) { .ark-hd-extra--wide, .ark-hd-cta-long { display: none; } }
.ark-burger { display: none; flex-direction: column; gap: 4px; }
.ark-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ark-navy); }

/* Panels */
.ark-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; padding-top: 6px; z-index: 5; }
.ark-nav-item:not(.is-mega) { position: relative; }
.ark-nav-item:not(.is-mega) > .ark-panel { right: auto; min-width: 280px; }
.ark-nav-item:not(.is-mega) > .ark-panel--c2 { min-width: 540px; }
.ark-panel-in { background: #fff; border: 1px solid var(--ark-line); border-radius: var(--ark-r-lg); box-shadow: var(--ark-sh-lg); padding: 14px; }
.is-mega > .ark-panel { max-width: 1304px; margin: 0 auto; }
.is-mega .ark-panel-in { padding: 30px 32px 28px; }
@media (hover: hover) { .ark-nav-item.has-panel:hover > .ark-panel { display: block; } }
.ark-nav-item.has-panel:focus-within > .ark-panel, .ark-nav-item.is-open > .ark-panel { display: block; }
.ark-panel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ark-panel-col { padding: 0 22px; border-left: 1px solid var(--ark-line); }
.ark-panel-col:first-child { padding-left: 0; border-left: 0; }
.ark-panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ark-panel-head strong { font-size: 18px; color: var(--ark-navy); line-height: 1.2; }
.ark-ico-box { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ark-mint); color: var(--ark-green); flex-shrink: 0; }
.ark-panel-list { display: grid; gap: 2px; }
.ark-panel--c2 .ark-panel-list { grid-template-columns: 1fr 1fr; column-gap: 10px; }
.ark-panel-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ark-ink); text-decoration: none; transition: background .12s, color .12s; }
.ark-panel-link .ark-ic { opacity: 0; transform: translateX(-4px); transition: all .15s; color: var(--ark-green); }
.ark-panel-link:hover { background: var(--ark-mint); color: var(--ark-green-dark); }
.ark-panel-link:hover .ark-ic { opacity: 1; transform: none; }
.ark-panel-col .ark-panel-link { padding-left: 4px; padding-right: 4px; }

.ark-promo { display: flex; align-items: center; gap: 22px; margin-top: 22px; padding: 22px 28px; border-radius: var(--ark-r); background: var(--ark-mint-2); border: 1px solid var(--ark-line); }
.ark-promo-ic { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--ark-mint); color: var(--ark-green); flex-shrink: 0; }
.ark-promo-txt { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.ark-promo-txt strong { font-size: 22px; color: var(--ark-green-dark); letter-spacing: -.02em; }
.ark-promo-txt span { font-size: 15px; color: var(--ark-text); }
.ark-promo-list { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--ark-line); display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ark-ink); }
.ark-promo-list li { display: flex; align-items: center; gap: 9px; }
.ark-promo-list .ark-ic { color: var(--ark-green); }

/* Kompakter bei mittleren Breiten */
@media (max-width: 1280px) {
  .ark-hd-in { gap: 12px; padding: 0 20px; }
  .ark-nav-link { padding: 10px 9px; font-size: 14px; }
  .ark-hd-extra { display: none; }
  .ark-logo-tag { display: none; }
}
@media (max-width: 1260px) {
  .ark-nav, .ark-hd-cta, .ark-hd-extra { display: none !important; }
  .ark-burger { display: inline-flex; }
  .ark-hd { height: 64px; }
  :root { --ark-hd-h: 64px; }
  .ark-hd-in { padding: 0 16px; }
  .ark-logo-name { font-size: 19px; }
}

/* ---------- 5. Mobile-Menue ---------- */
.ark-ovl { display: none; position: fixed; inset: 0; background: rgba(11,29,58,.5); backdrop-filter: blur(2px); z-index: 99990; }
.ark-ovl.is-vis { display: block; }
.ark-mobile { display: none; position: fixed; inset: 0; z-index: 99999; background: #fff; flex-direction: column; overflow: hidden; }
.ark-mobile.is-open { display: flex; animation: arkIn .22s ease-out; }
@keyframes arkIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ark-m-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; flex-shrink: 0; }
.ark-m-body { flex: 1; overflow-y: auto; padding: 4px 18px 28px; display: flex; flex-direction: column; gap: 14px; }
.ark-m-search { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; background: var(--ark-bg); border: 1px solid var(--ark-line); border-radius: 14px; color: var(--ark-text); font-size: 15px; font-family: inherit; cursor: pointer; text-align: left; }
.ark-m-nav { display: flex; flex-direction: column; gap: 2px; }
.ark-m-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 14px; border: 0; border-radius: 14px; background: transparent; color: var(--ark-navy); font: 700 17px/1.2 var(--cx-font); text-decoration: none; cursor: pointer; text-align: left; }
.ark-m-lbl { flex: 1; }
.ark-m-ic { color: var(--ark-navy); display: inline-flex; }
.ark-m-toggle > .ark-ic:last-child { transition: transform .2s; opacity: .6; }
.ark-m-acc.is-open { background: var(--ark-mint); border-radius: 16px; padding-bottom: 6px; }
.ark-m-acc.is-open > .ark-m-toggle > .ark-ic:last-child { transform: rotate(180deg); }
.ark-m-acc.is-open > .ark-m-toggle .ark-m-ic { color: var(--ark-green); }
.ark-m-sub { display: none; padding: 0 8px; }
.ark-m-acc.is-open > .ark-m-sub { display: block; }
.ark-m-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ark-ink); text-decoration: none; }
.ark-m-link:hover { background: rgba(255,255,255,.7); }
.ark-m-link .ark-ic { color: var(--ark-green); opacity: .7; }
.ark-m-link--all { color: var(--ark-green-dark); font-weight: 700; }

/* ---------- 6. Suche ---------- */
.ark-search { display: none; position: fixed; inset: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); z-index: 999999; overflow-y: auto; }
.ark-search.is-open { display: flex; flex-direction: column; }
.srch-wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 20px 16px; }
.srch-bar { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--ark-green); padding-bottom: 12px; }
.srch-bar .ark-ic { color: var(--ark-text); }
#srchInput { flex: 1; border: 0; outline: 0; font-size: 18px; font-family: inherit; color: var(--ark-navy); background: transparent; min-width: 0; }
.srch-close { width: 36px; height: 36px; border: 0; background: var(--ark-mint); border-radius: 10px; cursor: pointer; font-size: 20px; color: var(--ark-green-dark); }
#srchResults { margin-top: 20px; }
.srch-cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ark-text); padding: 12px 0 6px; }
.srch-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: inherit; }
.srch-item:hover, .srch-item.active { background: var(--ark-mint); }
.srch-item-title { font-size: 15px; font-weight: 600; color: var(--ark-navy); }
.srch-item-desc { font-size: 13px; color: var(--ark-text); line-height: 1.4; }
.srch-empty { text-align: center; padding: 40px 20px; color: var(--ark-text); }
.srch-hint { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.srch-hint a { font-size: 13px; color: var(--ark-ink); text-decoration: none; padding: 6px 12px; background: var(--ark-bg); border: 1px solid var(--ark-line); border-radius: 99px; }
.srch-hint a:hover { background: var(--ark-mint); color: var(--ark-green-dark); }

/* ---------- 7. Hero + Startseiten-Bausteine ---------- */
.ark-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.ark-hero { position: relative; overflow: hidden; padding: 64px 0 56px; background:
    radial-gradient(900px 420px at 88% 6%, rgba(18,160,102,.16), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(90,143,216,.10), transparent 60%),
    linear-gradient(180deg, #fbfdfc, #f1f8f4); }
.ark-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.ark-eyebrow { display: inline-block; padding: 8px 16px; border-radius: 99px; background: var(--ark-mint); color: var(--ark-green-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ark-countdown { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; font-size: 14px; color: var(--ark-text); }
.ark-countdown strong { color: var(--ark-green-dark); font-size: 16px; }
.ark-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; margin: 22px 0 20px; color: var(--ark-navy); text-align: left; }
.ark-hero h1 em { display: block; font-style: normal; color: var(--ark-green); }
.ark-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ark-text); max-width: 560px; margin: 0 0 30px; }
.ark-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.ark-trust-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; gap: 12px 30px; margin-top: 36px; }
.ark-trust-item { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ark-text); line-height: 1.35; }
.ark-trust-item strong { display: block; font-size: 14.5px; color: var(--ark-navy); }
.ark-trust-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ark-mint); color: var(--ark-green); flex-shrink: 0; }

/* Quick-Check Karte */
.ark-card { background: #fff; border: 1px solid var(--ark-line); border-radius: var(--ark-r-lg); box-shadow: var(--ark-sh-lg); padding: 26px 28px; }
.ark-qc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.ark-qc-head h2 { font-size: 20px; margin: 0; display: flex; align-items: center; gap: 10px; }
.ark-pill { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--ark-mint); color: var(--ark-green-dark); font-size: 13px; font-weight: 700; }
.ark-qc-note { font-size: 12px; color: var(--ark-text); }
.ark-qc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.ark-field { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--ark-line); border-radius: 14px; background: #fff; }
.ark-field label { font-size: 12.5px; font-weight: 600; color: var(--ark-text); }
.ark-field select { border: 0; outline: 0; background: transparent; font: 700 15px var(--cx-font); color: var(--ark-navy); padding: 0; width: 100%; cursor: pointer; }
.ark-result { padding: 20px 22px; border-radius: var(--ark-r); background: linear-gradient(135deg, var(--ark-mint), var(--ark-mint-2)); border: 1px solid #cfe9db; }
.ark-result-label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ark-green-dark); }
.ark-result-val { font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; color: var(--ark-green-dark); line-height: 1.1; margin: 4px 0; }
.ark-result-sub { font-size: 14px; color: var(--ark-text); }
.ark-result-compound { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #b5d9c4; font-size: 13.5px; color: var(--ark-text); line-height: 1.5; }
.ark-result-compound strong { color: var(--ark-green-dark); }
.ark-card-link { display: block; text-align: center; margin-top: 16px; font-weight: 700; font-size: 14.5px; text-decoration: none; }

/* Sektionen */
.ark-section { padding: 72px 0; }
.ark-section--alt { background: var(--ark-bg); }
.ark-section--mint { background: var(--ark-mint-2); }
.ark-section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ark-section-head .ark-kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ark-green); }
.ark-section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; margin: 10px 0 10px; }
.ark-section-head p { color: var(--ark-text); font-size: 1.05rem; margin: 0; }
.ark-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding: 14px 0; }
.ark-chips-label { font-size: 13px; font-weight: 700; color: var(--ark-text); margin-right: 6px; }
.ark-chip { display: inline-block; padding: 7px 15px; border-radius: 99px; background: #fff; border: 1px solid var(--ark-line); font-size: 13.5px; font-weight: 600; color: var(--ark-ink); text-decoration: none; transition: all .15s; }
.ark-chip:hover { background: var(--ark-green); border-color: var(--ark-green); color: #fff; }
.ark-chips-bar { background: #fff; border-bottom: 1px solid var(--ark-line); }

.ark-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.ark-feature { background: #fff; border: 1px solid var(--ark-line); border-radius: var(--ark-r-lg); padding: 28px; box-shadow: var(--ark-sh); display: flex; flex-direction: column; gap: 6px; }
.ark-feature-num { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--ark-green); line-height: 1.1; }
.ark-feature strong { font-size: 1.05rem; color: var(--ark-navy); }
.ark-feature p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ark-text); }
.ark-center { text-align: center; margin-top: 30px; }

/* ---------- 8. Alt-Klassen (Unterseiten, ohne Markup-Umbau) ---------- */
.hero { background: linear-gradient(180deg, #fbfdfc, #eaf6ef) !important; color: var(--ark-navy) !important; }
.hero::before, .hero::after { display: none !important; }
.hero h1, .hero h2, .hero p { color: var(--ark-navy) !important; }
.hero h1 em { font-style: normal; color: var(--ark-green); }
.hero-badge { background: var(--ark-mint) !important; border: 0 !important; color: var(--ark-green-dark) !important; letter-spacing: .07em; text-transform: uppercase; font-size: 12px !important; }
.hero .btn-primary { background: var(--ark-green) !important; color: #fff !important; }

.page-header, .rd-hero, .rd-hero[class] { background: linear-gradient(135deg, #f3faf6 0%, #e3f3ea 100%) !important; background-image: linear-gradient(135deg, #f3faf6 0%, #e3f3ea 100%) !important; color: var(--ark-navy) !important; border-bottom: 1px solid var(--ark-line); }
.page-header h1, .rd-hero h1 { color: var(--ark-navy) !important; }
.page-header p, .rd-hero p, .page-header .breadcrumb, .page-header .breadcrumb a, .rd-hero .breadcrumb, .rd-hero .breadcrumb a { color: var(--ark-text) !important; }
.page-header .breadcrumb a:hover, .rd-hero .breadcrumb a:hover { color: var(--ark-green) !important; }

.btn { border-radius: 12px; }
.btn-primary { background: var(--ark-green); border-color: var(--ark-green); color: #fff; box-shadow: 0 6px 16px rgba(11,122,79,.22); }
.btn-primary:hover { background: var(--ark-green-dark); }
.card, [class*="-card"] { border-radius: var(--ark-r-lg); }
.card { border-color: var(--ark-line); box-shadow: var(--ark-sh); }
.content-section { padding-top: 64px; padding-bottom: 64px; }
input:focus, select:focus, textarea:focus { outline-color: var(--ark-green); border-color: var(--ark-green); }
.data-table th { background: var(--ark-mint); color: var(--ark-green-dark); }
.info-box, .key-facts, .tip-box { border-radius: var(--ark-r); }



/* Weitere Seiten-Heros (News, Kategorien, Events) = gleiche helle Optik wie .page-header */
.news-hero, .cat-hero, .page-hero, .ev-hero { background: linear-gradient(135deg, #f3faf6 0%, #e3f3ea 100%) !important; color: var(--ark-navy) !important; border-bottom: 1px solid var(--ark-line); }
.news-hero h1, .cat-hero h1, .page-hero h1, .ev-hero h1 { color: var(--ark-navy) !important; }
.news-hero p, .cat-hero p, .page-hero p, .ev-hero p, .news-hero a, .cat-hero a, .page-hero a, .ev-hero a, .hero-subtitle { color: var(--ark-text) !important; }

/* ---------- 8b. Seiten-Bausteine (ersetzen frueheres Inline-Styling) ---------- */
.bg-white  { background: var(--cx-white); }
.bg-tint   { background: var(--ark-mint-2); }
.bg-soft   { background: var(--ark-bg); }
.sub-title { font-size: 17px; margin-bottom: 16px; color: var(--cx-text-mid); }
.u-mt-8  { margin-top: 8px; }
.u-mt-16 { margin-top: 16px; }
.u-mb-8  { margin-bottom: 8px; }
.info-box--accent { background: var(--ark-mint-2); border-left: 4px solid var(--cx-accent); }
.info-box--warn   { background: #fef3cd; border-color: #ffc107; }
.fine-print    { color: var(--cx-text-light); font-size: .9rem; margin-top: 32px; }
.text-xs-muted  { font-size: 12px; color: var(--cx-text-light); }
.text-sm-muted  { font-size: 13px; color: var(--cx-text-light); }
.text-2xs-muted { font-size: 11px; color: var(--cx-text-light); }
.text-sm-loose  { font-size: 13px; line-height: 1.7; }
.text-md-strong { font-size: 14px; font-weight: 700; }
.label-strong   { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.card-title-lg  { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.icon-lg        { font-size: 28px; margin-bottom: 12px; }
.lead-muted     { color: var(--cx-text-light); font-size: 14px; margin-bottom: 20px; }
.mono-xs        { font-family: monospace; font-size: 12px; }
.cell-pad       { padding: 10px 14px; }
.fw-700         { font-weight: 700; }
.ta-right       { text-align: right; }
.is-pos         { color: var(--green-pos, #15803d); }
.is-neg         { color: var(--red-neg, #b91c1c); }
.is-pos-strong  { color: var(--green-pos, #15803d); font-weight: 700; }
.is-neg-strong  { color: var(--red-neg, #b91c1c); font-weight: 700; }

/* ---------- 9. Footer ---------- */
.site-footer, footer.site-footer { background: var(--ark-navy); }
.ark-ft { margin-bottom: 24px; }
.ark-logo--light .ark-logo-name, .ark-logo--light .ark-logo-name span { color: #fff; }
.ark-logo--light .ark-logo-tag { color: rgba(255,255,255,.6); }
.ark-logo--light .ark-logo-mark rect { fill: #5fd9a0; }
.ark-ft .footer-newsletter { background: linear-gradient(135deg, rgba(95,217,160,.16), rgba(95,217,160,.05)); border: 1px solid rgba(95,217,160,.25); border-radius: var(--ark-r-lg); }
.ark-ft .footer-newsletter-form button { background: var(--ark-green-mid); color: #fff; border-radius: 12px; font-weight: 700; }
.ark-ft .footer-newsletter-form button:hover { background: var(--ark-green); }
.ark-ft .footer-newsletter-form input[type="email"] { border-radius: 12px; }
.ark-ft .footer-col h4 { color: #fff; letter-spacing: .02em; }
.ark-ft .footer-col a:hover, .ark-ft .footer-legal a:hover { color: #5fd9a0; }

/* ---------- Responsive Startseite ---------- */
@media (max-width: 980px) {
  .ark-hero { padding: 40px 0 36px; }
  .ark-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .ark-trust-row { grid-template-columns: 1fr; }
  .ark-section { padding: 48px 0; }
}
@media (max-width: 560px) {
  .ark-container { padding: 0 16px; }
  .ark-qc-fields { grid-template-columns: 1fr; }
  .ark-card { padding: 20px 18px; }
  .ark-cta-row .ark-btn { width: 100%; }
}

/* Kurs-Kacheln (News, per JS gerendert) */
.kpi-tile { border-radius: 10px; padding: 12px; text-align: center; }
.kpi-tile.is-up { background: rgba(16,185,129,.06); }
.kpi-tile.is-down { background: rgba(239,68,68,.06); }
.kpi-chg { font-size: 11px; font-weight: 600; }
.kpi-tile.is-up .kpi-chg { color: #10b981; }
.kpi-tile.is-down .kpi-chg { color: #ef4444; }
.chk-lg { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--cx-accent); }
.is-hidden { display: none !important; }
.is-warn { color: var(--orange, #d97706); }
.tip-help { cursor: help; border-bottom: 1px dotted #94a3b8; }
.btn-xs-top { margin-top: 4px; font-size: 11px; padding: 3px 8px; }

/* News: Kategorie-Badges + Filter-Pills */
.cat-badge--morning-briefing { background: #ecfdf5; color: #10b981; }
.cat-badge--etf, .cat-badge--depot, .cat-badge--steuern { background: var(--ark-mint-2); color: var(--ark-green); }
.cat-badge--rente { background: var(--ark-mint-strong); color: var(--ark-green-dark); }
.cat-badge--politik { background: #fdf2f8; color: #be185d; }
.cat-badge--news { background: #f1f5f9; color: #64748b; }
.news-pill { padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; text-decoration: none; background: var(--cx-border-light); color: var(--cx-text-mid); }
.news-pill.is-active { background: var(--cx-accent); color: #fff; }

/* Daten-Farben als Klassen (Charts-Legenden, Parteien, Kategorien) */
.bg-hex-009ee0{background:#009ee0}.fg-hex-009ee0{color:#009ee0}.bl-hex-009ee0{border-left:3px solid #009ee0}
.bg-hex-06b6d4{background:#06b6d4}.fg-hex-06b6d4{color:#06b6d4}.bl-hex-06b6d4{border-left:3px solid #06b6d4}
.bg-hex-0b7a4f{background:#0b7a4f}.fg-hex-0b7a4f{color:#0b7a4f}.bl-hex-0b7a4f{border-left:3px solid #0b7a4f}
.bg-hex-0e7490{background:#0e7490}.fg-hex-0e7490{color:#0e7490}.bl-hex-0e7490{border-left:3px solid #0e7490}
.bg-hex-10b981{background:#10b981}.fg-hex-10b981{color:#10b981}.bl-hex-10b981{border-left:3px solid #10b981}
.bg-hex-14b8a6{background:#14b8a6}.fg-hex-14b8a6{color:#14b8a6}.bl-hex-14b8a6{border-left:3px solid #14b8a6}
.bg-hex-1fa12d{background:#1fa12d}.fg-hex-1fa12d{color:#1fa12d}.bl-hex-1fa12d{border-left:3px solid #1fa12d}
.bg-hex-2d2d2d{background:#2d2d2d}.fg-hex-2d2d2d{color:#2d2d2d}.bl-hex-2d2d2d{border-left:3px solid #2d2d2d}
.bg-hex-64748b{background:#64748b}.fg-hex-64748b{color:#64748b}.bl-hex-64748b{border-left:3px solid #64748b}
.bg-hex-78716c{background:#78716c}.fg-hex-78716c{color:#78716c}.bl-hex-78716c{border-left:3px solid #78716c}
.bg-hex-7b2d8b{background:#7b2d8b}.fg-hex-7b2d8b{color:#7b2d8b}.bl-hex-7b2d8b{border-left:3px solid #7b2d8b}
.bg-hex-84cc16{background:#84cc16}.fg-hex-84cc16{color:#84cc16}.bl-hex-84cc16{border-left:3px solid #84cc16}
.bg-hex-94a3b8{background:#94a3b8}.fg-hex-94a3b8{color:#94a3b8}.bl-hex-94a3b8{border-left:3px solid #94a3b8}
.bg-hex-a6003c{background:#a6003c}.fg-hex-a6003c{color:#a6003c}.bl-hex-a6003c{border-left:3px solid #a6003c}
.bg-hex-b45309{background:#b45309}.fg-hex-b45309{color:#b45309}.bl-hex-b45309{border-left:3px solid #b45309}
.bg-hex-b9e3cd{background:#b9e3cd}.fg-hex-b9e3cd{color:#b9e3cd}.bl-hex-b9e3cd{border-left:3px solid #b9e3cd}
.bg-hex-be185d{background:#be185d}.fg-hex-be185d{color:#be185d}.bl-hex-be185d{border-left:3px solid #be185d}
.bg-hex-d4a800{background:#d4a800}.fg-hex-d4a800{color:#d4a800}.bl-hex-d4a800{border-left:3px solid #d4a800}
.bg-hex-d4eee1{background:#d4eee1}.fg-hex-d4eee1{color:#d4eee1}.bl-hex-d4eee1{border-left:3px solid #d4eee1}
.bg-hex-dbeafe{background:#dbeafe}.fg-hex-dbeafe{color:#dbeafe}.bl-hex-dbeafe{border-left:3px solid #dbeafe}
.bg-hex-e2e8f0{background:#e2e8f0}.fg-hex-e2e8f0{color:#e2e8f0}.bl-hex-e2e8f0{border-left:3px solid #e2e8f0}
.bg-hex-e3000f{background:#e3000f}.fg-hex-e3000f{color:#e3000f}.bl-hex-e3000f{border-left:3px solid #e3000f}
.bg-hex-e3f2fd{background:#e3f2fd}.fg-hex-e3f2fd{color:#e3f2fd}.bl-hex-e3f2fd{border-left:3px solid #e3f2fd}
.bg-hex-e8eaf6{background:#e8eaf6}.fg-hex-e8eaf6{color:#e8eaf6}.bl-hex-e8eaf6{border-left:3px solid #e8eaf6}
.bg-hex-e8f0fe{background:#e8f0fe}.fg-hex-e8f0fe{color:#e8f0fe}.bl-hex-e8f0fe{border-left:3px solid #e8f0fe}
.bg-hex-e8f5e9{background:#e8f5e9}.fg-hex-e8f5e9{color:#e8f5e9}.bl-hex-e8f5e9{border-left:3px solid #e8f5e9}
.bg-hex-ec4899{background:#ec4899}.fg-hex-ec4899{color:#ec4899}.bl-hex-ec4899{border-left:3px solid #ec4899}
.bg-hex-ecfdf5{background:#ecfdf5}.fg-hex-ecfdf5{color:#ecfdf5}.bl-hex-ecfdf5{border-left:3px solid #ecfdf5}
.bg-hex-ef4444{background:#ef4444}.fg-hex-ef4444{color:#ef4444}.bl-hex-ef4444{border-left:3px solid #ef4444}
.bg-hex-eff6ff{background:#eff6ff}.fg-hex-eff6ff{color:#eff6ff}.bl-hex-eff6ff{border-left:3px solid #eff6ff}
.bg-hex-f0fdf4{background:#f0fdf4}.fg-hex-f0fdf4{color:#f0fdf4}.bl-hex-f0fdf4{border-left:3px solid #f0fdf4}
.bg-hex-f1f5f9{background:#f1f5f9}.fg-hex-f1f5f9{color:#f1f5f9}.bl-hex-f1f5f9{border-left:3px solid #f1f5f9}
.bg-hex-f3e5f5{background:#f3e5f5}.fg-hex-f3e5f5{color:#f3e5f5}.bl-hex-f3e5f5{border-left:3px solid #f3e5f5}
.bg-hex-f59e0b{background:#f59e0b}.fg-hex-f59e0b{color:#f59e0b}.bl-hex-f59e0b{border-left:3px solid #f59e0b}
.bg-hex-f5f5f5{background:#f5f5f5}.fg-hex-f5f5f5{color:#f5f5f5}.bl-hex-f5f5f5{border-left:3px solid #f5f5f5}
.bg-hex-f97316{background:#f97316}.fg-hex-f97316{color:#f97316}.bl-hex-f97316{border-left:3px solid #f97316}
.bg-hex-fbe9e7{background:#fbe9e7}.fg-hex-fbe9e7{color:#fbe9e7}.bl-hex-fbe9e7{border-left:3px solid #fbe9e7}
.bg-hex-fce4ec{background:#fce4ec}.fg-hex-fce4ec{color:#fce4ec}.bl-hex-fce4ec{border-left:3px solid #fce4ec}
.bg-hex-fdf2f8{background:#fdf2f8}.fg-hex-fdf2f8{color:#fdf2f8}.bl-hex-fdf2f8{border-left:3px solid #fdf2f8}
.bg-hex-fff3e0{background:#fff3e0}.fg-hex-fff3e0{color:#fff3e0}.bl-hex-fff3e0{border-left:3px solid #fff3e0}
.bg-hex-fff7ed{background:#fff7ed}.fg-hex-fff7ed{color:#fff7ed}.bl-hex-fff7ed{border-left:3px solid #fff7ed}
.bg-hex-fff8e1{background:#fff8e1}.fg-hex-fff8e1{color:#fff8e1}.bl-hex-fff8e1{border-left:3px solid #fff8e1}
.fg-up{color:#10b981}.fg-down{color:#ef4444}
.w-0{width:0%}
.w-1{width:1%}
.w-2{width:2%}
.w-3{width:3%}
.w-4{width:4%}
.w-5{width:5%}
.w-6{width:6%}
.w-7{width:7%}
.w-8{width:8%}
.w-9{width:9%}
.w-10{width:10%}
.w-11{width:11%}
.w-12{width:12%}
.w-13{width:13%}
.w-14{width:14%}
.w-15{width:15%}
.w-16{width:16%}
.w-17{width:17%}
.w-18{width:18%}
.w-19{width:19%}
.w-20{width:20%}
.w-21{width:21%}
.w-22{width:22%}
.w-23{width:23%}
.w-24{width:24%}
.w-25{width:25%}
.w-26{width:26%}
.w-27{width:27%}
.w-28{width:28%}
.w-29{width:29%}
.w-30{width:30%}
.w-31{width:31%}
.w-32{width:32%}
.w-33{width:33%}
.w-34{width:34%}
.w-35{width:35%}
.w-36{width:36%}
.w-37{width:37%}
.w-38{width:38%}
.w-39{width:39%}
.w-40{width:40%}
.w-41{width:41%}
.w-42{width:42%}
.w-43{width:43%}
.w-44{width:44%}
.w-45{width:45%}
.w-46{width:46%}
.w-47{width:47%}
.w-48{width:48%}
.w-49{width:49%}
.w-50{width:50%}
.w-51{width:51%}
.w-52{width:52%}
.w-53{width:53%}
.w-54{width:54%}
.w-55{width:55%}
.w-56{width:56%}
.w-57{width:57%}
.w-58{width:58%}
.w-59{width:59%}
.w-60{width:60%}
.w-61{width:61%}
.w-62{width:62%}
.w-63{width:63%}
.w-64{width:64%}
.w-65{width:65%}
.w-66{width:66%}
.w-67{width:67%}
.w-68{width:68%}
.w-69{width:69%}
.w-70{width:70%}
.w-71{width:71%}
.w-72{width:72%}
.w-73{width:73%}
.w-74{width:74%}
.w-75{width:75%}
.w-76{width:76%}
.w-77{width:77%}
.w-78{width:78%}
.w-79{width:79%}
.w-80{width:80%}
.w-81{width:81%}
.w-82{width:82%}
.w-83{width:83%}
.w-84{width:84%}
.w-85{width:85%}
.w-86{width:86%}
.w-87{width:87%}
.w-88{width:88%}
.w-89{width:89%}
.w-90{width:90%}
.w-91{width:91%}
.w-92{width:92%}
.w-93{width:93%}
.w-94{width:94%}
.w-95{width:95%}
.w-96{width:96%}
.w-97{width:97%}
.w-98{width:98%}
.w-99{width:99%}
.w-100{width:100%}
.h-0{height:0%}
.h-1{height:1%}
.h-2{height:2%}
.h-3{height:3%}
.h-4{height:4%}
.h-5{height:5%}
.h-6{height:6%}
.h-7{height:7%}
.h-8{height:8%}
.h-9{height:9%}
.h-10{height:10%}
.h-11{height:11%}
.h-12{height:12%}
.h-13{height:13%}
.h-14{height:14%}
.h-15{height:15%}
.h-16{height:16%}
.h-17{height:17%}
.h-18{height:18%}
.h-19{height:19%}
.h-20{height:20%}
.h-21{height:21%}
.h-22{height:22%}
.h-23{height:23%}
.h-24{height:24%}
.h-25{height:25%}
.h-26{height:26%}
.h-27{height:27%}
.h-28{height:28%}
.h-29{height:29%}
.h-30{height:30%}
.h-31{height:31%}
.h-32{height:32%}
.h-33{height:33%}
.h-34{height:34%}
.h-35{height:35%}
.h-36{height:36%}
.h-37{height:37%}
.h-38{height:38%}
.h-39{height:39%}
.h-40{height:40%}
.h-41{height:41%}
.h-42{height:42%}
.h-43{height:43%}
.h-44{height:44%}
.h-45{height:45%}
.h-46{height:46%}
.h-47{height:47%}
.h-48{height:48%}
.h-49{height:49%}
.h-50{height:50%}
.h-51{height:51%}
.h-52{height:52%}
.h-53{height:53%}
.h-54{height:54%}
.h-55{height:55%}
.h-56{height:56%}
.h-57{height:57%}
.h-58{height:58%}
.h-59{height:59%}
.h-60{height:60%}
.h-61{height:61%}
.h-62{height:62%}
.h-63{height:63%}
.h-64{height:64%}
.h-65{height:65%}
.h-66{height:66%}
.h-67{height:67%}
.h-68{height:68%}
.h-69{height:69%}
.h-70{height:70%}
.h-71{height:71%}
.h-72{height:72%}
.h-73{height:73%}
.h-74{height:74%}
.h-75{height:75%}
.h-76{height:76%}
.h-77{height:77%}
.h-78{height:78%}
.h-79{height:79%}
.h-80{height:80%}
.h-81{height:81%}
.h-82{height:82%}
.h-83{height:83%}
.h-84{height:84%}
.h-85{height:85%}
.h-86{height:86%}
.h-87{height:87%}
.h-88{height:88%}
.h-89{height:89%}
.h-90{height:90%}
.h-91{height:91%}
.h-92{height:92%}
.h-93{height:93%}
.h-94{height:94%}
.h-95{height:95%}
.h-96{height:96%}
.h-97{height:97%}
.h-98{height:98%}
.h-99{height:99%}
.h-100{height:100%}
.card-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}

/* Vergleichs-Karten + Admin-Bausteine */
.vg-card { border: 1px solid var(--cx-border); border-radius: 12px; padding: 24px; margin-bottom: 20px; background: #fff; position: relative; }
.vg-row { border: 1px solid var(--cx-border-dark); border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; background: #fff; position: relative; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.vg-card.is-highlight, .vg-row.is-highlight { border: 2px solid var(--cx-accent); }
.vg-badge { position: absolute; top: -10px; left: 16px; background: var(--cx-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 10px; }
.vg-btn { display: inline-block; padding: 8px 18px; background: var(--cx-accent); color: #fff; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; margin-top: 4px; }
.range-tab { padding: 4px 12px; background: var(--ark-bg); color: var(--ark-navy); border: 1px solid var(--ark-line); border-radius: 4px; font-size: 12px; text-decoration: none; }
.range-tab.is-active { background: var(--cx-accent); color: #fff; border-color: var(--cx-accent); }
.chart-cols > * { align-self: stretch; justify-content: flex-end; }
.chart-bar { width: 100%; background: var(--cx-accent); border-radius: 3px 3px 0 0; }
.progress-fill { height: 100%; background: var(--cx-accent); border-radius: 3px; }
.net-tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.net-tag--awin { background: var(--cx-accent-light); color: var(--cx-accent); }
.net-tag--other { background: #ecfdf5; color: var(--cx-accent); }

/* aus footer.php ausgelagert */
.goog-te-banner-frame{display:none!important}.skiptranslate{display:none!important}body{top:0!important}
.share-bar{display:flex;align-items:center;gap:8px;margin-top:14px;flex-wrap:wrap}
    .share-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600;text-decoration:none;border:1.5px solid var(--gray-200);color:var(--gray-600);background:#fff;cursor:pointer;transition:all .15s;white-space:nowrap}
    .share-btn:hover{border-color:var(--primary);color:var(--primary)}
    .share-btn svg{flex-shrink:0}
    .share-btn.copied{border-color:#10b981;color:#10b981}

/* ---------- Startseite nach Mockup: Quick-Check-Karte, Chart, Tool-Karten, Hero-Deko ---------- */
.ark-hero::before, .ark-hero::after { content: ''; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(2px); }
.ark-hero::before { width: 640px; height: 640px; right: -140px; top: -120px; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.9) 0%, rgba(120,214,170,.28) 38%, rgba(18,160,102,.10) 62%, transparent 72%); }
.ark-hero::after { width: 420px; height: 420px; right: 220px; bottom: -170px; background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.8), rgba(150,200,235,.22) 50%, transparent 70%); }
.ark-hero-grid { position: relative; z-index: 1; }
.ark-qc-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ark-stepper { display: flex; align-items: center; gap: 6px; }
.ark-stepper input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font: 700 17px var(--cx-font); color: var(--ark-navy); padding: 0; -moz-appearance: textfield; }
.ark-stepper input::-webkit-outer-spin-button, .ark-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ark-stepper-unit { font: 700 17px var(--cx-font); color: var(--ark-navy); flex-shrink: 0; margin-right: auto; }
.ark-stepper button { width: 26px; height: 26px; flex-shrink: 0; border: 0; border-radius: 8px; background: var(--ark-mint); color: var(--ark-green-dark); font: 700 16px/1 var(--cx-font); cursor: pointer; }
.ark-stepper button:hover { background: var(--ark-mint-strong); }
.ark-result--split { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ark-result-line { display: flex; align-items: baseline; gap: 8px; }
.ark-result-pre { font-size: 1.3rem; font-weight: 700; color: var(--ark-navy); }
.ark-result-side { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.7); font-size: 13px; line-height: 1.35; color: var(--ark-text); flex-shrink: 0; }
.ark-chart { margin-top: 18px; }
.ark-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; font-size: 15px; }
.ark-legend { font-size: 11.5px; color: var(--ark-text); display: inline-flex; align-items: center; gap: 6px; }
.ark-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 6px; }
.ark-dot--green { background: var(--ark-green-mid); }
.ark-dot--blue { background: var(--ark-blue); }
.ark-chart-svg svg { width: 100%; height: auto; display: block; }
.ark-grid { stroke: var(--ark-line); stroke-width: 1; stroke-dasharray: 3 4; }
.ark-axis { font: 10.5px var(--cx-font); fill: var(--ark-text); }
.ark-area { fill: rgba(18,160,102,.10); }
.ark-line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.ark-line--green { stroke: var(--ark-green-mid); }
.ark-line--blue { stroke: var(--ark-blue); }
.ark-pt--green { fill: #fff; stroke: var(--ark-green-mid); stroke-width: 2; }
.ark-pt--blue { fill: #fff; stroke: var(--ark-blue); stroke-width: 2; }
.ark-tag { font: 700 11.5px var(--cx-font); }
.ark-tag--green { fill: var(--ark-green-dark); }
.ark-tag--blue { fill: #4a78b8; }
.ark-chart-note { font-size: 11.5px; color: var(--ark-text); text-align: right; margin-top: 4px; }
.ark-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ark-tool { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: #fff; border: 1px solid var(--ark-line); border-radius: var(--ark-r-lg); box-shadow: var(--ark-sh); text-decoration: none; color: var(--ark-text); transition: transform .15s, box-shadow .15s, border-color .15s; }
.ark-tool:hover { transform: translateY(-3px); border-color: var(--ark-mint-line); box-shadow: var(--ark-sh-lg); }
.ark-tool-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ark-mint); color: var(--ark-green); }
.ark-tool-body { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.55; }
.ark-tool-body strong { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; color: var(--ark-navy); }
.ark-tool-body strong .ark-ic { color: var(--ark-green); }
.ark-tool-pill { align-self: flex-start; margin-top: auto; padding: 6px 14px; }
@media (max-width: 980px) { .ark-tool-grid { grid-template-columns: 1fr; } .ark-hero::before { opacity: .6; } }
@media (max-width: 560px) { .ark-qc-fields--3 { grid-template-columns: 1fr 1fr; } .ark-result--split { flex-direction: column; align-items: flex-start; } }
.ark-stepper input { flex: 0 0 auto; width: 3.1ch; text-align: right; }
.ark-stepper-unit { margin-left: 2px; }
.ark-result-val { white-space: nowrap; font-size: clamp(2rem, 3.2vw, 2.6rem); }
.ark-result-pre { font-size: 1.1rem; }
.ark-result-main { min-width: 0; }
.ark-result-side { padding: 8px 12px; font-size: 12.5px; }
.ark-tag { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.ark-stepper { gap: 4px; }
.ark-stepper input { font-size: 16px; width: 2.9ch; }
.ark-stepper-unit { font-size: 14px; }
.ark-stepper button { width: 24px; height: 24px; }
.ark-qc-fields--3 .ark-field { padding: 12px 12px; }
.ark-stepper-unit { font-size: 13px; }
.ark-stepper { gap: 3px; }
.ark-section-head { max-width: 900px; }
