/* ==========================================================================
   Hanse Agent – Design-System
   Basis: Gestaltung der Landing Page (DM Sans, Blau #2176ff → Violett #5821ff,
   weiße Karten mit weichem Schatten, Cyan-Akzentlinie, dunkles Navy-Band).
   ========================================================================== */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(../fonts/dm-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(../fonts/dm-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ha-blue: #2176ff;
  --ha-blue-600: #1559e0;
  --ha-violet: #5821ff;
  --ha-cyan: #22d3ee;
  --ha-navy: #0a1630;
  --ha-navy-2: #11234d;
  --ha-ink: #121826;
  --ha-text: #2b3242;
  --ha-muted: #5d667a;
  --ha-line: #e6e8ef;
  --ha-soft: #f4f6fb;
  --ha-white: #fff;
  --ha-green: #12a150;
  --ha-amber: #d98a04;
  --ha-red: #d64545;
  --ha-grad: linear-gradient(120deg, var(--ha-blue) 0%, var(--ha-violet) 100%);
  --ha-grad-soft: linear-gradient(120deg, #e9f1ff 0%, #efe9ff 100%);
  --ha-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 24px -6px rgba(16, 24, 40, .12);
  --ha-shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 48px -12px rgba(33, 72, 160, .22);
  --ha-r: 16px;
  --ha-r-sm: 10px;
  --ha-max: 1180px;
  --ha-gutter: clamp(16px, 4vw, 32px);
  --ha-sec: clamp(64px, 9vw, 120px);
  --ha-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ha-text); font-size: 17px; line-height: 1.65; background: var(--ha-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { color: var(--ha-ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { text-wrap: pretty; }
a { color: var(--ha-blue); text-underline-offset: .2em; }
::selection { background: rgba(33, 118, 255, .18); }
:focus-visible { outline: 3px solid rgba(33, 118, 255, .5); outline-offset: 2px; border-radius: 4px; }
img { border-radius: var(--ha-r); }
#brx-header { z-index: 999; }
.ha-skip { position: absolute; left: -9999px; top: 8px; z-index: 10000; background: var(--ha-white); padding: 8px 14px; border-radius: 8px; }
.ha-skip:focus { left: 8px; }

/* ---------- Layout ---------- */
.ha-section { width: 100%; padding: var(--ha-sec) var(--ha-gutter); position: relative; }
.ha-section > .brxe-container, .ha-wrap { width: 100%; max-width: var(--ha-max); margin-inline: auto; }
.ha-section--soft { background: var(--ha-soft); }
.ha-section--tight { padding-block: calc(var(--ha-sec) * .6); }
.ha-section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(88, 33, 255, .35), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(33, 118, 255, .35), transparent 60%), var(--ha-navy); color: #c9d3ea; }
.ha-section--dark h1, .ha-section--dark h2, .ha-section--dark h3, .ha-section--dark h4 { color: #fff; }
.ha-section--dark::before, .ha-section--dark::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ha-cyan) 30%, var(--ha-blue) 70%, transparent); opacity: .7; }
.ha-section--dark::before { top: 0; } .ha-section--dark::after { bottom: 0; }
.ha-section--grad { background: var(--ha-grad); color: #e8eeff; }
.ha-section--grad h2, .ha-section--grad h3 { color: #fff; }

.ha-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.ha-head--center { margin-inline: auto; text-align: center; }
.ha-head p, .ha-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ha-muted); line-height: 1.6; }
.ha-section--dark .ha-head p, .ha-section--dark .ha-lead { color: #aebbd8; }
.ha-eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ha-blue); margin-bottom: 14px; }
.ha-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--ha-grad); }
.ha-section--dark .ha-eyebrow { color: var(--ha-cyan); }
.ha-gradtext { background: var(--ha-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ha-grid { display: grid; gap: clamp(16px, 2vw, 24px); width: 100%; }
.ha-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ha-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ha-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ha-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; width: 100%; }
.ha-split--rev > :first-child { order: 2; }
@media (max-width: 991px) { .ha-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ha-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ha-split { grid-template-columns: 1fr; } .ha-split--rev > :first-child { order: 0; } }
@media (max-width: 640px) { .ha-grid--2, .ha-grid--3, .ha-grid--4 { grid-template-columns: 1fr; } body { font-size: 16px; } }

/* ---------- Buttons ---------- */
.ha-btn, .ha-actions a { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 24px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s var(--ha-ease), box-shadow .2s var(--ha-ease), background-color .2s, color .2s, border-color .2s; }
.ha-btn--primary, .ha-actions a:first-child { background: var(--ha-grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(33, 118, 255, .7); }
.ha-btn--primary:hover, .ha-actions a:first-child:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(33, 118, 255, .8); color: #fff; }
.ha-btn--ghost, .ha-actions a:not(:first-child) { background: rgba(255, 255, 255, .7); color: var(--ha-ink); border-color: var(--ha-line); }
.ha-btn--ghost:hover, .ha-actions a:not(:first-child):hover { border-color: var(--ha-blue); color: var(--ha-blue); }
.ha-section--dark .ha-actions a:not(:first-child), .ha-hero .ha-actions a:not(:first-child) { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.ha-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.ha-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ha-actions p { margin: 0; }
.ha-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.ha-link::after { content: "→"; transition: transform .2s var(--ha-ease); }
.ha-link:hover::after { transform: translateX(4px); }

/* ---------- Karten ---------- */
.ha-card { background: var(--ha-white); border: 1px solid var(--ha-line); border-radius: var(--ha-r); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--ha-shadow); position: relative; transition: transform .3s var(--ha-ease), box-shadow .3s var(--ha-ease), border-color .3s; height: 100%; }
.ha-card > :last-child { margin-bottom: 0; }
a.ha-card, .ha-card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.ha-card:hover, .ha-card--link:hover { transform: translateY(-4px); box-shadow: var(--ha-shadow-lg); border-color: rgba(33, 118, 255, .35); }
.ha-card h3, .ha-card h4 { margin: 0 0 8px; font-size: 1.15rem; }
.ha-card p { color: var(--ha-muted); font-size: .97rem; margin: 0; }
.ha-card .ha-link { margin-top: auto; padding-top: 16px; }
.ha-card--glass { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; backdrop-filter: blur(8px); }
.ha-card--glass p { color: #aebbd8; }
.ha-card--accent::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: var(--ha-r) var(--ha-r) 0 0; background: var(--ha-grad); }
.ha-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ha-grad-soft); color: var(--ha-blue); margin-bottom: 18px; flex: none; }
.ha-ic svg { width: 26px; height: 26px; }
.ha-card--glass .ha-ic { background: rgba(34, 211, 238, .12); color: var(--ha-cyan); }
.ha-card .ha-tag { position: absolute; top: 18px; right: 18px; }

.ha-tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ha-grad-soft); color: var(--ha-blue-600); }
.ha-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ha-list li { position: relative; padding-left: 30px; }
.ha-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--ha-grad) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E"); }
.ha-list li::after { content: ""; position: absolute; left: 5px; top: calc(.35em + 5px); width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.ha-list--x li::before { background: #e9ecf3; }
.ha-list--x li::after { border: 0; width: 10px; height: 2px; left: 4px; top: calc(.35em + 8px); background: var(--ha-muted); transform: none; }
.ha-section--dark .ha-list li { color: #d5ddef; }

/* ---------- Hero ---------- */
.ha-hero { position: relative; overflow: hidden; padding: clamp(120px, 14vw, 170px) var(--ha-gutter) clamp(72px, 9vw, 120px); background: var(--ha-navy); color: #c9d3ea; isolation: isolate; }
.ha-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ha-hero-img, none) center/cover no-repeat; opacity: .28; }
.ha-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 600px at 80% 20%, rgba(88, 33, 255, .45), transparent 60%), radial-gradient(800px 600px at 10% 90%, rgba(33, 118, 255, .5), transparent 60%), linear-gradient(180deg, rgba(10, 22, 48, .55), rgba(10, 22, 48, .92)); }
.ha-hero > .brxe-container { max-width: var(--ha-max); width: 100%; margin-inline: auto; }
.ha-hero h1 { color: #fff; margin: 0 0 20px; }
.ha-hero .ha-lead { color: #c3cee8; max-width: 600px; }
.ha-hero .ha-eyebrow { color: var(--ha-cyan); }
.ha-hero--page { padding-bottom: clamp(56px, 7vw, 88px); }
.ha-hero--page h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.ha-crumbs { font-size: .85rem; color: #93a3c6; margin-bottom: 18px; }
.ha-crumbs a { color: #c3cee8; text-decoration: none; }
.ha-crumbs a:hover { color: #fff; }
.ha-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: .9rem; color: #9fb0d4; }
.ha-trust span { display: inline-flex; align-items: center; gap: 8px; }
.ha-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ha-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .18); }

/* Hero-Szene „Chaos → Struktur“ */
.ha-scene { position: relative; width: 100%; aspect-ratio: 5 / 4; container-type: inline-size; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; backdrop-filter: blur(4px); }
.ha-scene-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 6cqw 6cqw; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
.ha-scene-label { position: absolute; top: 4cqw; font-size: clamp(10px, 2.3cqw, 13px); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #8fa2cc; }
.ha-scene-label--in { left: 5cqw; } .ha-scene-label--out { right: 5cqw; }
.ha-scene-core { position: absolute; left: 50%; top: 50%; width: 22cqw; height: 22cqw; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--ha-grad); color: #fff; font-weight: 700; font-size: clamp(11px, 2.6cqw, 15px); line-height: 1.15; box-shadow: 0 0 0 1.6cqw rgba(33, 118, 255, .18), 0 0 60px rgba(88, 33, 255, .6); z-index: 3; }
.ha-scene-core svg { width: 7cqw; height: 7cqw; display: block; margin: 0 auto 2px; }
.ha-scene-core::before, .ha-scene-core::after { content: ""; position: absolute; inset: -4cqw; border-radius: 50%; border: 1px solid rgba(34, 211, 238, .45); animation: ha-pulse 3s var(--ha-ease) infinite; }
.ha-scene-core::after { animation-delay: 1.5s; }
@keyframes ha-pulse { 0% { transform: scale(.75); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.ha-scene-lanes { position: absolute; right: 4cqw; top: 14cqw; bottom: 6cqw; width: 26cqw; display: flex; flex-direction: column; justify-content: space-between; z-index: 2; }
.ha-lane { height: 13cqw; border-radius: 3cqw; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; gap: 2cqw; padding: 0 3cqw; color: #dbe4f7; font-size: clamp(10px, 2.4cqw, 14px); font-weight: 600; position: relative; overflow: hidden; }
.ha-lane svg { width: 4.5cqw; height: 4.5cqw; color: var(--ha-cyan); flex: none; }
.ha-lane i { position: absolute; right: 2.5cqw; top: 50%; translate: 0 -50%; font-style: normal; font-size: clamp(9px, 2cqw, 12px); color: #7f93bd; font-variant-numeric: tabular-nums; }
.ha-lane.is-hit { animation: ha-lane-hit .6s var(--ha-ease); }
@keyframes ha-lane-hit { 40% { background: rgba(34, 211, 238, .18); border-color: rgba(34, 211, 238, .6); } }
.ha-chip { position: absolute; left: 0; top: 0; z-index: 4; width: 9cqw; height: 9cqw; border-radius: 2.4cqw; display: grid; place-items: center; background: #fff; color: var(--ha-blue); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); will-change: transform, opacity; }
.ha-chip svg { width: 5cqw; height: 5cqw; }
.ha-chip--sorted { background: rgba(34, 211, 238, .95); color: var(--ha-navy); width: 6cqw; height: 6cqw; border-radius: 50%; }
.ha-chip--sorted svg { width: 3.6cqw; height: 3.6cqw; }
.ha-scene-check { position: absolute; left: 50%; bottom: 7cqw; translate: -50% 0; display: inline-flex; align-items: center; gap: 1.6cqw; padding: 1.4cqw 3cqw; border-radius: 999px; background: rgba(18, 161, 80, .16); border: 1px solid rgba(46, 204, 113, .45); color: #b8f5cf; font-size: clamp(10px, 2.3cqw, 13px); font-weight: 600; z-index: 3; white-space: nowrap; }
.ha-scene-check svg { width: 3.4cqw; height: 3.4cqw; }
.ha-scene-check.is-ping { animation: ha-ping .8s var(--ha-ease); }
@keyframes ha-ping { 30% { transform: scale(1.08); background: rgba(18, 161, 80, .35); } }

/* ---------- Ablauf / Pipeline ---------- */
.ha-flow { --n: 4; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: flow; }
.ha-flow::before { content: ""; position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 31px; height: 2px; background: var(--ha-line); }
.ha-flow::after { content: ""; position: absolute; left: calc(50% / var(--n)); top: 31px; height: 2px; width: calc((100% - 100% / var(--n)) * var(--prog, 0)); background: var(--ha-grad); transition: width .6s var(--ha-ease); }
.ha-flow li { position: relative; z-index: 1; text-align: center; counter-increment: flow; }
.ha-flow-dot { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--ha-white); border: 2px solid var(--ha-line); color: var(--ha-muted); transition: all .45s var(--ha-ease); }
.ha-flow-dot svg { width: 26px; height: 26px; }
.ha-flow li.is-on .ha-flow-dot { border-color: transparent; background: var(--ha-grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(33, 118, 255, .7); transform: scale(1.06); }
.ha-flow li.is-human .ha-flow-dot { border-style: dashed; border-color: var(--ha-green); color: var(--ha-green); }
.ha-flow li.is-human.is-on .ha-flow-dot { background: var(--ha-green); color: #fff; border-style: solid; box-shadow: 0 10px 24px -8px rgba(18, 161, 80, .7); }
.ha-flow strong { display: block; color: var(--ha-ink); font-size: .98rem; line-height: 1.3; }
.ha-flow small { display: block; color: var(--ha-muted); font-size: .85rem; margin-top: 4px; line-height: 1.4; }
.ha-flow .ha-flow-who { display: inline-block; margin-top: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--ha-grad-soft); color: var(--ha-blue-600); }
.ha-flow li.is-human .ha-flow-who { background: rgba(18, 161, 80, .12); color: var(--ha-green); }
.ha-section--dark .ha-flow-dot { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #93a3c6; }
.ha-section--dark .ha-flow::before { background: rgba(255, 255, 255, .15); }
.ha-section--dark .ha-flow strong { color: #fff; } .ha-section--dark .ha-flow small { color: #aebbd8; }
@media (max-width: 760px) {
  .ha-flow { grid-template-columns: 1fr; gap: 0; }
  .ha-flow::before, .ha-flow::after { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
  .ha-flow::after { height: calc((100% - 64px) * var(--prog, 0)); bottom: auto; }
  .ha-flow li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: left; padding-bottom: 18px; align-items: start; }
  .ha-flow-dot { margin: 0; grid-row: span 3; }
  .ha-flow .ha-flow-who { justify-self: start; }
}

/* ---------- Timeline (Einführung) ---------- */
.ha-timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 0; max-width: 820px; }
.ha-timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--ha-line); }
.ha-timeline::after { content: ""; position: absolute; left: 27px; top: 8px; width: 2px; height: var(--tl, 0); background: var(--ha-grad); transition: height .15s linear; }
.ha-timeline li { position: relative; padding: 0 0 36px 84px; }
.ha-timeline li:last-child { padding-bottom: 0; }
.ha-timeline-n { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; background: var(--ha-white); border: 2px solid var(--ha-line); color: var(--ha-muted); transition: all .45s var(--ha-ease); }
.ha-timeline li.is-on .ha-timeline-n { background: var(--ha-grad); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -8px rgba(33, 118, 255, .7); }
.ha-timeline h3 { margin: 12px 0 6px; font-size: 1.25rem; }
.ha-timeline p { margin: 0; color: var(--ha-muted); }
.ha-timeline .ha-tag { margin-top: 10px; }
.ha-section--dark .ha-timeline::before { background: rgba(255, 255, 255, .15); }
.ha-section--dark .ha-timeline-n { background: var(--ha-navy-2); border-color: rgba(255, 255, 255, .2); color: #93a3c6; }
.ha-section--dark .ha-timeline p { color: #aebbd8; }

/* ---------- Vergleich Chatbot / RPA / Agent ---------- */
.ha-compare { background: var(--ha-white); border: 1px solid var(--ha-line); border-radius: 20px; box-shadow: var(--ha-shadow-lg); overflow: hidden; }
.ha-compare-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ha-soft); padding: 6px; gap: 6px; }
.ha-compare-tabs button { font: inherit; font-weight: 600; padding: 12px 8px; border: 0; border-radius: 12px; background: transparent; color: var(--ha-muted); cursor: pointer; transition: all .25s var(--ha-ease); }
.ha-compare-tabs button[aria-selected="true"] { background: var(--ha-white); color: var(--ha-ink); box-shadow: var(--ha-shadow); }
.ha-compare-tabs button[aria-selected="true"][data-k="agent"] { background: var(--ha-grad); color: #fff; }
.ha-compare-body { padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); }
.ha-compare-body p { color: var(--ha-muted); margin: 0 0 12px; }
.ha-compare-body h3 { margin: 0 0 10px; }
.ha-bars { display: grid; gap: 14px; align-content: start; }
.ha-bar span { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 600; color: var(--ha-ink); margin-bottom: 6px; }
.ha-bar span em { font-style: normal; color: var(--ha-muted); font-weight: 500; }
.ha-bar b { display: block; height: 8px; border-radius: 99px; background: var(--ha-soft); overflow: hidden; }
.ha-bar b i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--ha-grad); transition: width .7s var(--ha-ease); }
.ha-compare-ex { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--ha-soft); font-size: .93rem; }
.ha-compare-ex strong { color: var(--ha-ink); }
@media (max-width: 760px) { .ha-compare-body { grid-template-columns: 1fr; } .ha-compare-tabs button { font-size: .88rem; } }

/* ---------- Zahlen / Statistiken ---------- */
.ha-stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; }
.ha-stat { padding: 24px; border-radius: var(--ha-r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.ha-stat strong { display: block; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; color: #fff; letter-spacing: -.03em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.ha-stat span { color: #aebbd8; font-size: .95rem; }
.ha-stat small { display: block; margin-top: 8px; color: #7f93bd; font-size: .78rem; }
.ha-section:not(.ha-section--dark) .ha-stat { background: var(--ha-white); border-color: var(--ha-line); box-shadow: var(--ha-shadow); }
.ha-section:not(.ha-section--dark) .ha-stat strong { color: var(--ha-ink); }
.ha-section:not(.ha-section--dark) .ha-stat span { color: var(--ha-muted); }
@media (max-width: 760px) { .ha-stats { grid-template-columns: 1fr; } }

/* ---------- Teaser zum Rechner ---------- */
.ha-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--ha-grad); color: #e8eeff; position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--ha-shadow-lg); }
.ha-teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 100% 0%, rgba(34, 211, 238, .35), transparent 60%), radial-gradient(400px 300px at 0% 100%, rgba(10, 22, 48, .4), transparent 60%); }
.ha-teaser h2, .ha-teaser h3 { color: #fff; margin: 0 0 12px; }
.ha-teaser p { margin: 0; color: #dfe7ff; }
.ha-teaser .ha-btn--primary { background: #fff; color: var(--ha-blue-600); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); margin-top: 24px; }
.ha-teaser-box { background: rgba(10, 22, 48, .28); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 22px; backdrop-filter: blur(8px); }
.ha-teaser-box small { display: block; color: #c8d4f5; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 14px; }
.ha-teaser-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.ha-teaser-row:first-of-type { border-top: 0; }
.ha-teaser-row span { color: #dfe7ff; font-size: .95rem; }
.ha-teaser-row strong { color: #fff; font-size: 1.2rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .ha-teaser { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.ha-faq { display: grid; gap: 12px; max-width: 860px; }
.ha-faq--center { margin-inline: auto; }
.ha-faq details { background: var(--ha-white); border: 1px solid var(--ha-line); border-radius: 14px; transition: box-shadow .25s, border-color .25s; }
.ha-faq details[open] { box-shadow: var(--ha-shadow); border-color: rgba(33, 118, 255, .35); }
.ha-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; color: var(--ha-ink); position: relative; font-size: 1.05rem; }
.ha-faq summary::-webkit-details-marker { display: none; }
.ha-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--ha-grad-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232176ff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s var(--ha-ease); }
.ha-faq details[open] summary::after { transform: rotate(45deg); }
.ha-faq .ha-faq-a { padding: 0 22px 20px; color: var(--ha-muted); }
.ha-faq .ha-faq-a p { margin: 0 0 .8em; } .ha-faq .ha-faq-a p:last-child { margin: 0; }

/* ---------- CTA-Band zum Rechner ---------- */
.ha-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 3.2vw, 36px) clamp(24px, 3.6vw, 44px); border-radius: 20px; background: var(--ha-navy); color: #c9d3ea; position: relative; overflow: hidden; isolation: isolate; }
.ha-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 240px at 100% 50%, rgba(88, 33, 255, .55), transparent 70%), radial-gradient(400px 240px at 0% 0%, rgba(33, 118, 255, .4), transparent 70%); }
.ha-cta strong { display: block; color: #fff; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.25; margin-bottom: 4px; letter-spacing: -.02em; }
.ha-cta p { margin: 0; color: #aebbd8; }

/* ---------- Fließtext (Ratgeber, Rechtliches, Content-Blöcke) ---------- */
.ha-prose { max-width: 760px; font-size: 1.07rem; line-height: 1.75; }
.ha-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2em 0 .6em; }
.ha-prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.ha-prose ul, .ha-prose ol { padding-left: 1.3em; } .ha-prose li { margin: .35em 0; }
.ha-prose li::marker { color: var(--ha-blue); }
.ha-prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--ha-blue); background: var(--ha-soft); border-radius: 0 12px 12px 0; }
.ha-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.ha-prose th, .ha-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ha-line); }
.ha-prose > :first-child { margin-top: 0; }
.ha-note { padding: 18px 22px; border-radius: 14px; background: var(--ha-grad-soft); border: 1px solid rgba(33, 118, 255, .2); color: var(--ha-text); }
.ha-note strong { color: var(--ha-ink); }

/* ---------- Header & Navigation (Bricks) ---------- */
#brx-header.ha-header, .ha-header { position: fixed; top: 0; left: 0; right: 0; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.ha-header > .brxe-container { max-width: var(--ha-max); margin-inline: auto; padding: 18px var(--ha-gutter); display: flex; flex-direction: row; align-items: center; justify-content: space-between; }
.ha-header .brxe-logo img, .ha-header .brxe-image img { height: 30px; width: auto; border-radius: 0; }
.ha-header .bricks-nav-menu > li > a { color: #e3e9f7; font-weight: 600; font-size: .97rem; }
.ha-header .bricks-nav-menu > li > a:hover, .ha-header .bricks-nav-menu > li.current-menu-item > a, .ha-header .bricks-nav-menu > li.current-menu-ancestor > a { color: #fff; }
.ha-header .bricks-nav-menu { gap: 28px; }
.ha-header .bricks-nav-menu > li.current-menu-item > a, .ha-header .bricks-nav-menu > li.current-menu-ancestor > a { box-shadow: inset 0 -2px 0 var(--ha-cyan); }
.ha-header .bricks-nav-menu .menu-item-ha-cta > a { padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); box-shadow: none !important; }
.ha-header .bricks-mobile-menu-toggle { color: #fff; }
body.ha-scrolled .ha-header, body.ha-light-header .ha-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 rgba(16, 24, 40, .06), 0 8px 24px -16px rgba(16, 24, 40, .25); }
body.ha-scrolled .ha-header > .brxe-container { padding-block: 12px; }
body.ha-scrolled .ha-header .bricks-nav-menu > li > a, body.ha-light-header .ha-header .bricks-nav-menu > li > a { color: var(--ha-text); }
body.ha-scrolled .ha-header .bricks-nav-menu > li > a:hover, body.ha-light-header .ha-header .bricks-nav-menu > li > a:hover { color: var(--ha-blue); }
body.ha-scrolled .ha-header .bricks-nav-menu .menu-item-ha-cta > a, body.ha-light-header .ha-header .bricks-nav-menu .menu-item-ha-cta > a { background: var(--ha-grad); color: #fff; border-color: transparent; }
body.ha-scrolled .ha-header .bricks-mobile-menu-toggle, body.ha-light-header .ha-header .bricks-mobile-menu-toggle { color: var(--ha-ink); }
.ha-header .ha-logo-light { display: block; } .ha-header .ha-logo-dark { display: none; }
body.ha-scrolled .ha-header .ha-logo-light, body.ha-light-header .ha-header .ha-logo-light { display: none; }
body.ha-scrolled .ha-header .ha-logo-dark, body.ha-light-header .ha-header .ha-logo-dark { display: block; }
.ha-header .bricks-mobile-menu-wrapper { background: var(--ha-navy); }
.ha-header .bricks-mobile-menu > li > a { color: #fff; font-size: 1.15rem; font-weight: 600; padding: 12px 24px; }
.ha-header .bricks-mobile-menu-overlay { background: rgba(10, 22, 48, .6); }
body.admin-bar .ha-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ha-header { top: 46px; } }

/* ---------- Footer ---------- */
.ha-footer { background: var(--ha-navy); color: #93a3c6; padding: clamp(56px, 7vw, 88px) var(--ha-gutter) 28px; font-size: .95rem; position: relative; }
.ha-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ha-cyan) 30%, var(--ha-blue) 70%, transparent); opacity: .6; }
.ha-footer > .brxe-container { max-width: var(--ha-max); margin-inline: auto; }
.ha-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; width: 100%; }
.ha-footer h4, .ha-footer .ha-footer-h { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.ha-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ha-footer a { color: #c3cee8; text-decoration: none; }
.ha-footer a:hover { color: #fff; }
.ha-footer p { margin: 0 0 12px; max-width: 340px; }
.ha-footer img { height: 28px; width: auto; border-radius: 0; margin-bottom: 16px; }
.ha-footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; width: 100%; }
@media (max-width: 860px) { .ha-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ha-footer-grid { grid-template-columns: 1fr; } }

/* ---------- Rechner ---------- */
.ha-rechner { --pad: clamp(20px, 3.4vw, 44px); background: var(--ha-white); border-radius: 24px; border: 1px solid var(--ha-line); box-shadow: var(--ha-shadow-lg); overflow: hidden; scroll-margin-top: 90px; }
.ha-r-head { padding: 18px var(--pad) 0; background: var(--ha-soft); border-bottom: 1px solid var(--ha-line); }
.ha-r-steps { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0 0 16px; counter-reset: s; }
.ha-r-steps li { flex: 1; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--ha-muted); }
.ha-r-steps li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ha-white); border: 1.5px solid var(--ha-line); font-size: .85rem; flex: none; transition: all .3s var(--ha-ease); }
.ha-r-steps li.is-active { color: var(--ha-ink); }
.ha-r-steps li.is-active span { background: var(--ha-grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -6px rgba(33, 118, 255, .7); }
.ha-r-steps li.is-done span { background: var(--ha-blue); color: #fff; border-color: transparent; }
.ha-r-progress { height: 3px; margin: 0 calc(var(--pad) * -1); background: transparent; }
.ha-r-progress i { display: block; height: 100%; width: 0; background: var(--ha-grad); transition: width .6s var(--ha-ease); }
.ha-r-body { padding: var(--pad); }
.ha-r-body.is-in > * { animation: ha-in .5s var(--ha-ease) both; }
.ha-r-body.is-in > *:nth-child(2) { animation-delay: .04s; } .ha-r-body.is-in > *:nth-child(3) { animation-delay: .08s; } .ha-r-body.is-in > *:nth-child(4) { animation-delay: .12s; } .ha-r-body.is-in > *:nth-child(n+5) { animation-delay: .16s; }
@keyframes ha-in { from { opacity: 0; transform: translateY(12px); } }
.ha-r-title { margin: 0 0 6px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.ha-r-lead { color: var(--ha-muted); margin: 0 0 28px; }
.ha-r-field { border: 0; padding: 0; margin: 0 0 28px; }
.ha-r-field legend, .ha-r-field > label { display: flex; justify-content: space-between; align-items: baseline; width: 100%; font-weight: 700; color: var(--ha-ink); margin-bottom: 12px; padding: 0; }
.ha-r-field output { font-size: 1.4rem; color: var(--ha-blue); font-variant-numeric: tabular-nums; }
.ha-r-hint { font-size: .87rem; color: var(--ha-muted); margin: 10px 0 0; }
.ha-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ha-pill input { position: absolute; opacity: 0; pointer-events: none; }
.ha-pill span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ha-line); background: var(--ha-white); font-weight: 500; font-size: .95rem; cursor: pointer; transition: all .2s var(--ha-ease); }
.ha-pill span:hover { border-color: var(--ha-blue); }
.ha-pill input:checked + span { background: var(--ha-grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -8px rgba(33, 118, 255, .8); }
.ha-pill input:focus-visible + span { outline: 3px solid rgba(33, 118, 255, .45); outline-offset: 2px; }
.ha-rechner input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--ha-blue), var(--ha-violet)) 0/var(--p, 50%) 100% no-repeat, var(--ha-soft); outline-offset: 6px; }
.ha-rechner input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--ha-blue); box-shadow: 0 4px 12px rgba(33, 118, 255, .35); cursor: grab; }
.ha-rechner input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ha-blue); box-shadow: 0 4px 12px rgba(33, 118, 255, .35); cursor: grab; }
.ha-r-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ha-line); }
.ha-r-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ha-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .ha-tiles { grid-template-columns: 1fr; } }
.ha-tile { border: 1.5px solid var(--ha-line); border-radius: 14px; background: var(--ha-white); transition: border-color .25s, box-shadow .25s, background-color .25s; }
.ha-tile.is-on { border-color: var(--ha-blue); box-shadow: 0 8px 24px -14px rgba(33, 118, 255, .7); background: linear-gradient(180deg, #f6f9ff, #fff); }
.ha-tile-toggle { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 8px; align-items: center; padding: 16px; cursor: pointer; border-radius: 14px; }
.ha-tile-toggle:focus-visible { outline: 3px solid rgba(33, 118, 255, .45); outline-offset: 2px; }
.ha-tile-ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ha-soft); color: var(--ha-blue); transition: all .25s; }
.ha-tile-ic svg { width: 22px; height: 22px; }
.ha-tile.is-on .ha-tile-ic { background: var(--ha-grad); color: #fff; }
.ha-tile-txt strong { display: block; color: var(--ha-ink); font-size: 1rem; line-height: 1.3; }
.ha-tile-txt small { display: block; color: var(--ha-muted); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.ha-tile-check { grid-column: 3; grid-row: 1; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--ha-line); display: grid; place-items: center; color: transparent; transition: all .2s; justify-self: end; }
.ha-tile-check svg { width: 16px; height: 16px; }
.ha-tile.is-on .ha-tile-check { background: var(--ha-blue); border-color: var(--ha-blue); color: #fff; }
.ha-tile .ha-badge { grid-column: 2 / 4; justify-self: start; }
.ha-tile-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s var(--ha-ease), opacity .3s, padding .35s; }
.ha-tile.is-on .ha-tile-in { max-height: 140px; opacity: 1; padding: 0 16px 16px; }
.ha-tile-in label { font-size: .8rem; font-weight: 600; color: var(--ha-muted); display: grid; gap: 6px; }
.ha-tile-in input { font: inherit; font-size: 1rem; font-weight: 600; color: var(--ha-ink); width: 100%; padding: 10px 12px; border: 1.5px solid var(--ha-line); border-radius: 10px; background: #fff; box-sizing: border-box; }
.ha-tile-in input:focus { border-color: var(--ha-blue); outline: none; box-shadow: 0 0 0 3px rgba(33, 118, 255, .15); }
.ha-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ha-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ha-badge--hoch { background: rgba(18, 161, 80, .1); color: var(--ha-green); }
.ha-badge--mittel { background: rgba(33, 118, 255, .1); color: var(--ha-blue-600); }
.ha-badge--niedrig { background: rgba(217, 138, 4, .12); color: #a86a00; }
.ha-r-sum { margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: var(--ha-soft); color: var(--ha-muted); font-size: .95rem; }
.ha-r-sum-n { font-weight: 700; color: var(--ha-ink); font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.ha-r-res-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.ha-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ha-soft); border: 1px solid var(--ha-line); }
.ha-seg button { font: inherit; font-size: .9rem; font-weight: 600; border: 0; background: transparent; color: var(--ha-muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .25s var(--ha-ease); }
.ha-seg button[aria-pressed="true"] { background: var(--ha-white); color: var(--ha-ink); box-shadow: var(--ha-shadow); }
.ha-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .ha-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ha-kpis { grid-template-columns: 1fr; } }
.ha-kpi { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--ha-line); background: var(--ha-white); display: flex; flex-direction: column; gap: 4px; }
.ha-kpi-l { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ha-muted); }
.ha-kpi-v { font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.15; color: var(--ha-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ha-kpi-s { font-size: .82rem; color: var(--ha-muted); }
.ha-kpi.is-accent { background: var(--ha-grad); border-color: transparent; }
.ha-kpi.is-accent .ha-kpi-l, .ha-kpi.is-accent .ha-kpi-s { color: #dfe7ff; } .ha-kpi.is-accent .ha-kpi-v { color: #fff; }
.ha-kpi.is-pos .ha-kpi-v { color: var(--ha-green); }
.ha-kpi.is-neg .ha-kpi-v { color: var(--ha-amber); }
.ha-r-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; margin-top: 12px; }
@media (max-width: 860px) { .ha-r-grid { grid-template-columns: 1fr; } }
.ha-r-card { margin: 0; padding: 20px; border-radius: 14px; border: 1px solid var(--ha-line); background: var(--ha-white); }
.ha-r-card-t, .ha-chart figcaption strong { display: block; color: var(--ha-ink); font-size: 1rem; margin-bottom: 4px; }
.ha-chart figcaption span { display: block; color: var(--ha-muted); font-size: .8rem; margin-bottom: 10px; }
.ha-chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.ha-chart-axis text { font-size: 11px; fill: var(--ha-muted); font-family: inherit; }
.ha-chart-zero { stroke: #c8cede; stroke-dasharray: 4 4; }
.ha-chart-band { fill: url(#ha-g-line); opacity: .12; }
.ha-chart-line { fill: none; stroke: url(#ha-g-line); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ha-r-body.is-in .ha-chart-line { animation: ha-draw 1.4s .2s var(--ha-ease) both; }
.ha-r-body.is-in .ha-chart-band { animation: ha-fade .8s .3s both; }
.ha-chart-be line { stroke: var(--ha-green); stroke-dasharray: 3 3; }
.ha-chart-be circle { fill: #fff; stroke: var(--ha-green); stroke-width: 3; }
.ha-chart-be text { font-size: 11px; font-weight: 700; fill: var(--ha-green); font-family: inherit; }
.ha-r-body.is-in .ha-chart-be { animation: ha-fade .4s both; animation-delay: calc(.3s + var(--d) * 1.3s); }
@keyframes ha-draw { from { stroke-dashoffset: 1; } }
@keyframes ha-fade { from { opacity: 0; } }
.ha-rank { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ha-rank li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--ha-soft); }
.ha-r-body.is-in .ha-rank li { animation: ha-in .5s var(--ha-ease) both; animation-delay: calc(.3s + var(--i) * .08s); }
.ha-rank li:first-child { background: var(--ha-grad-soft); }
.ha-rank-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 700; color: var(--ha-blue); font-size: .9rem; }
.ha-rank li:first-child .ha-rank-n { background: var(--ha-grad); color: #fff; }
.ha-rank-l { font-weight: 600; color: var(--ha-ink); font-size: .95rem; line-height: 1.3; }
.ha-rank-l a { color: inherit; text-decoration-color: rgba(33, 118, 255, .4); }
.ha-rank-l small { display: block; color: var(--ha-muted); font-weight: 500; font-size: .8rem; }
.ha-r-verdict { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; padding: 18px 20px; border-radius: 14px; background: rgba(18, 161, 80, .07); border: 1px solid rgba(18, 161, 80, .25); }
.ha-r-verdict.is-warn { background: rgba(217, 138, 4, .07); border-color: rgba(217, 138, 4, .3); }
.ha-r-verdict p { margin: 0; color: var(--ha-text); }
.ha-r-verdict-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ha-green); color: #fff; }
.ha-r-verdict.is-warn .ha-r-verdict-ic { background: var(--ha-amber); }
.ha-r-verdict-ic svg { width: 18px; height: 18px; }
.ha-r-details { margin-top: 12px; border: 1px solid var(--ha-line); border-radius: 14px; }
.ha-r-details summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ha-ink); }
.ha-r-details[open] summary { border-bottom: 1px solid var(--ha-line); }
.ha-table-wrap { overflow-x: auto; }
.ha-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.ha-table th, .ha-table td { text-align: left; padding: 10px 18px; border-bottom: 1px solid var(--ha-line); white-space: nowrap; }
.ha-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ha-muted); }
.ha-table td small { display: block; color: var(--ha-muted); font-size: .75rem; }
.ha-table-sum td { color: var(--ha-muted); }
.ha-r-assume { margin: 0; padding: 14px 18px 16px 36px; font-size: .9rem; color: var(--ha-muted); display: grid; gap: 6px; }
.ha-r-disclaimer { margin: 16px 0 0; font-size: .85rem; color: var(--ha-muted); }
.ha-r-body.is-static * { animation: none !important; }

/* ---------- Scroll-Reveal ---------- */
.ha-js .ha-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ha-ease), transform .7s var(--ha-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.ha-js .ha-reveal.is-in { opacity: 1; transform: none; }
.ha-js .ha-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ha-ease), transform .6s var(--ha-ease); }
.ha-js .ha-stagger.is-in > * { opacity: 1; transform: none; }
.ha-js .ha-stagger.is-in > :nth-child(2) { transition-delay: .08s; } .ha-js .ha-stagger.is-in > :nth-child(3) { transition-delay: .16s; } .ha-js .ha-stagger.is-in > :nth-child(4) { transition-delay: .24s; } .ha-js .ha-stagger.is-in > :nth-child(5) { transition-delay: .32s; } .ha-js .ha-stagger.is-in > :nth-child(6) { transition-delay: .4s; } .ha-js .ha-stagger.is-in > :nth-child(n+7) { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .ha-js .ha-reveal, .ha-js .ha-stagger > * { opacity: 1; transform: none; transition: none; }
  .ha-scene-core::before, .ha-scene-core::after { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Druck (Rechner-Ergebnis) ---------- */
@media print {
  #brx-header, #brx-footer, .ha-r-nav, .ha-seg, .ha-hero, .ha-cta, .ha-section:not(.ha-section--rechner) { display: none !important; }
  .ha-rechner { box-shadow: none; border: 0; }
  .ha-r-head { display: none; }
  .ha-r-details { break-inside: avoid; } .ha-r-details > *:not(summary) { display: block !important; }
  body { font-size: 12px; }
}

/* ---------- Ergänzungen ---------- */
.ha-stretch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.ha-card--link { cursor: pointer; }
.ha-card--link:hover { transform: translateY(-4px); box-shadow: var(--ha-shadow-lg); border-color: rgba(33, 118, 255, .35); }
.ha-card--link > div:last-child { margin-top: auto; }
.ha-split-a, .ha-split-b { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.ha-split img { width: 100%; height: auto; box-shadow: var(--ha-shadow-lg); }
.ha-split .brxe-image { width: 100%; }
.ha-head > :last-child, .ha-split-a > :last-child { margin-bottom: 0; }
.ha-head h1, .ha-head h2 { margin: 0 0 14px; }
.ha-section--overlap { padding-top: 0; margin-top: calc(var(--ha-sec) * -.55); z-index: 2; }
.ha-hero--tool { padding-bottom: calc(var(--ha-sec) * .55 + 56px); }
.ha-hero-text { max-width: 820px; }
.ha-stack > * + * { margin-top: clamp(20px, 3vw, 32px); }
.ha-mt { margin-top: clamp(32px, 5vw, 56px); }
.ha-center { text-align: center; align-items: center; }
.ha-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ha-chips span { padding: 10px 16px; border-radius: 999px; background: var(--ha-white); border: 1px solid var(--ha-line); font-weight: 600; font-size: .95rem; color: var(--ha-ink); box-shadow: var(--ha-shadow); }
.ha-levels .ha-card .ha-tag { position: static; margin-bottom: 12px; }
.ha-card.is-reco { border-color: rgba(33, 118, 255, .45); box-shadow: var(--ha-shadow-lg); }
.ha-post-img { width: calc(100% + 2 * clamp(20px, 2.4vw, 28px)); max-width: none; margin: calc(-1 * clamp(20px, 2.4vw, 28px)) calc(-1 * clamp(20px, 2.4vw, 28px)) 18px; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--ha-r) var(--ha-r) 0 0; }
.ha-post .ha-tag { position: static; align-self: flex-start; margin-bottom: 10px; }
.ha-hero .brxe-image img, .ha-hero img { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.ha-kicker-num { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.ha-calcbox { padding: 22px 24px; border-radius: 16px; background: var(--ha-white); border: 1px solid var(--ha-line); box-shadow: var(--ha-shadow); font-variant-numeric: tabular-nums; }
.ha-calcbox dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; margin: 0; }
.ha-calcbox dt { color: var(--ha-muted); } .ha-calcbox dd { margin: 0; font-weight: 700; color: var(--ha-ink); text-align: right; }
.ha-calcbox dd.is-total { color: var(--ha-blue); font-size: 1.2rem; }
.ha-calcbox dt.is-total { color: var(--ha-ink); font-weight: 700; padding-top: 10px; border-top: 1px solid var(--ha-line); }
.ha-calcbox dd.is-total { padding-top: 10px; border-top: 1px solid var(--ha-line); }
.ha-calcbox small { display: block; margin-top: 12px; color: var(--ha-muted); font-size: .82rem; }
.ha-formula { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; color: var(--ha-ink); padding: 18px 22px; border-radius: 14px; background: var(--ha-grad-soft); border: 1px solid rgba(33,118,255,.2); }

/* ---------- Wortmarke ---------- */
.ha-logo { display: inline-flex; align-items: baseline; font-size: 1.6rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; text-decoration: none; color: #fff; transition: color .3s; }
.ha-logo b { font-weight: 700; background: linear-gradient(120deg, #22d3ee, var(--ha-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.ha-scrolled .ha-header .ha-logo, body.ha-light-header .ha-header .ha-logo { color: var(--ha-ink); }
body.ha-scrolled .ha-header .ha-logo b, body.ha-light-header .ha-header .ha-logo b { background-image: var(--ha-grad); }
.ha-footer .ha-logo { margin-bottom: 18px; }
.ha-header .brxe-nav-menu { margin-left: auto; }

/* ---------- Korrekturen nach Sichtprüfung ---------- */
.ha-compare-body[hidden] { display: none !important; }
.ha-split-a, .ha-split-b, .ha-head, .ha-card, .ha-hero-text { gap: 16px; }
.ha-split-a > *, .ha-split-b > *, .ha-head > *, .ha-card > *, .ha-hero-text > * { margin-top: 0; margin-bottom: 0; }
.ha-card { display: flex; flex-direction: column; align-items: flex-start; }
.ha-card > .ha-ic { margin-bottom: 4px; }
.ha-card > .brxe-text-basic:has(.ha-stretch) { margin-top: auto; padding-top: 4px; }
.ha-card .ha-link { padding-top: 0; }
.ha-split-a .ha-eyebrow, .ha-head .ha-eyebrow { margin-bottom: -4px; }
.ha-hero .ha-actions { margin-top: 12px; }
.ha-split-a .ha-actions { margin-top: 8px; }
.ha-split-a h2, .ha-head h2 { margin: 0; }
.ha-card .ha-list { margin-top: 4px; }
.ha-chips { justify-content: center; }
.ha-footer-bottom { flex-direction: row; align-items: center; }
.ha-footer-bottom > * { margin: 0; }
.ha-footer-grid > * { min-width: 0; }
.ha-teaser-row strong span { font-size: inherit; }

/* ---------- Rechner mobil ---------- */
.ha-rechner { max-width: 100%; min-width: 0; }
.ha-section--rechner > .brxe-container { min-width: 0; }
@media (max-width: 600px) {
  .ha-r-steps li { font-size: 0; flex: 0 0 auto; }
  .ha-r-steps li span { font-size: .85rem; }
  .ha-r-steps li.is-active { font-size: .9rem; flex: 1; }
  .ha-r-steps { justify-content: space-between; }
  .ha-rank li { grid-template-columns: 30px 1fr; }
  .ha-rank li .ha-badge { grid-column: 2; justify-self: start; }
  .ha-seg { width: 100%; } .ha-seg button { flex: 1; padding: 8px 10px; }
  .ha-r-nav { flex-direction: column-reverse; align-items: stretch; }
  .ha-r-nav > span:empty { display: none; }
  .ha-r-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .ha-chart-axis text { font-size: 15px; }
}
.ha-header > .brxe-container, .ha-footer > .brxe-container, .ha-section > .brxe-container, .ha-hero > .brxe-container { width: 100%; max-width: var(--ha-max); }
.ha-header > .brxe-container { max-width: calc(var(--ha-max) + 2 * var(--ha-gutter)); }
.ha-header .brxe-nav-menu .bricks-mobile-menu-wrapper { background: radial-gradient(500px 400px at 100% 0, rgba(88,33,255,.4), transparent 60%), var(--ha-navy); padding-top: 72px; }
.ha-header .brxe-nav-menu .bricks-mobile-menu > li > a { padding: 14px 28px; }
.ha-header .brxe-nav-menu .bricks-mobile-menu .menu-item-ha-cta > a { margin: 16px 28px 0; padding: 12px 22px; border-radius: 999px; background: var(--ha-grad); display: inline-block; }
/* ---------- Ratgeber-Beitrag ---------- */
.ha-article { max-width: 760px; margin-inline: auto; }
.ha-article .brxe-post-content > p:first-child { font-size: 1.2rem; color: var(--ha-text); }
.ha-article .ha-further { margin-top: 2.5em; }
.ha-article-img img { width: 100%; aspect-ratio: 16/8; object-fit: cover; box-shadow: var(--ha-shadow-lg); }
.ha-article-img { max-width: 960px; margin: 0 auto clamp(32px, 5vw, 56px); width: 100%; }
img.ha-article-img { width: 100%; max-width: 960px; margin: 0 auto clamp(32px, 5vw, 56px); aspect-ratio: 16/8; object-fit: cover; box-shadow: var(--ha-shadow-lg); display: block; }

/* ---------- Barrierefreiheit & Stabilität ---------- */
a { color: var(--ha-blue-600); }
.ha-link { color: var(--ha-blue-600); }
.ha-section--dark .ha-link, .ha-hero .ha-link { color: var(--ha-cyan); }
.ha-crumbs a { text-decoration: underline; text-decoration-color: rgba(195, 206, 232, .4); }
.ha-pill span { color: var(--ha-text); }
.ha-rechner { min-height: 620px; }
@media (max-width: 600px) { .ha-rechner { min-height: 980px; } }
.ha-r-disclaimer a, .ha-prose a, .ha-faq-a a, .ha-note a { text-decoration: underline; }
.ha-hero:has(+ .ha-section--overlap) { padding-bottom: calc(var(--ha-sec) * .55 + 64px); }

/* ---------- Fallbeispiele ---------- */
.ha-fiction { font-size: .9rem; padding: 14px 18px; border-radius: 12px; background: rgba(217, 138, 4, .08); border: 1px solid rgba(217, 138, 4, .3); color: var(--ha-text); }
.ha-prose .ha-fiction { margin: 0 0 2em; }
.ha-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 2em 0; border: 1px solid var(--ha-line); border-radius: 16px; overflow: hidden; background: var(--ha-white); box-shadow: var(--ha-shadow); }
.ha-facts div { padding: 16px 18px; border-right: 1px solid var(--ha-line); border-bottom: 1px solid var(--ha-line); margin: -1px -1px 0 0; }
.ha-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ha-muted); }
.ha-facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ha-ink); line-height: 1.35; font-size: .98rem; }
.ha-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 2em 0; }
.ha-numbers > div { padding: 18px; border-radius: 14px; background: var(--ha-soft); border: 1px solid var(--ha-line); }
.ha-numbers small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ha-muted); }
.ha-numbers s { color: var(--ha-muted); font-size: .95rem; }
.ha-numbers strong { display: block; font-size: 1.6rem; line-height: 1.1; letter-spacing: -.02em; color: var(--ha-green); margin-top: 4px; font-variant-numeric: tabular-nums; }
.ha-numbers span { display: block; font-size: .85rem; color: var(--ha-muted); margin-top: 4px; line-height: 1.4; }
@media (max-width: 640px) { .ha-numbers { grid-template-columns: 1fr; } }
.ha-quote { margin: 2.2em 0; padding: 0 0 0 28px; border: 0; border-left: 4px solid; border-image: var(--ha-grad) 1; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; font-weight: 600; letter-spacing: -.01em; color: var(--ha-ink); background: none; }
.ha-prose .ha-quote { background: none; border-radius: 0; }
.ha-quote cite { display: block; margin-top: 10px; font-size: .9rem; font-style: normal; font-weight: 500; color: var(--ha-muted); }
.ha-interview { margin: 2em 0; display: grid; gap: 18px; }
.ha-interview .q { font-weight: 700; color: var(--ha-ink); margin: 0; display: flex; gap: 12px; }
.ha-interview .a { margin: 0; display: flex; gap: 12px; }
.ha-interview .q::before, .ha-interview .a::before { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; margin-top: -4px; }
.ha-interview .q::before { content: "HA"; background: var(--ha-soft); color: var(--ha-blue-600); border: 1px solid var(--ha-line); }
.ha-interview .a::before { content: attr(data-who); background: var(--ha-grad); color: #fff; }
.ha-prose figure { margin: 2em 0; }
.ha-prose figure img { width: 100%; height: auto; border-radius: var(--ha-r); box-shadow: var(--ha-shadow-lg); }
.ha-prose figcaption { font-size: .82rem; color: var(--ha-muted); margin-top: 8px; }
.ha-prose .ha-flow { margin: 2em 0; padding: 0; }
.ha-prose .ha-flow li { margin: 0; }
.ha-prose .ha-flow li::marker { content: none; }

/* Chat-Mockup */
.ha-chat { max-width: 420px; margin: 2em auto; border-radius: 26px; overflow: hidden; background: #efeae2; border: 8px solid var(--ha-navy); box-shadow: var(--ha-shadow-lg); font-size: .93rem; }
.ha-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ha-navy); color: #fff; }
.ha-chat-head strong { display: block; font-size: .95rem; line-height: 1.2; }
.ha-chat-head small { display: block; color: #9fb0d4; font-size: .78rem; }
.ha-chat-av { width: 36px; height: 36px; border-radius: 50%; background: var(--ha-grad); display: grid; place-items: center; flex: none; }
.ha-chat-av svg { width: 20px; height: 20px; }
.ha-prose .ha-chat-body, .ha-chat-body { list-style: none; margin: 0; padding: 16px 12px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.ha-chat-body li { max-width: 82%; padding: 8px 12px; border-radius: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); margin: 0; }
.ha-chat-body li::marker { content: none; }
.ha-chat-body .is-in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; color: #111; }
.ha-chat-body .is-out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; color: #111; }
.ha-chat-body .is-note { align-self: center; max-width: 92%; display: flex; gap: 6px; align-items: center; font-size: .78rem; background: rgba(255,255,255,.75); color: var(--ha-muted); border-radius: 999px; padding: 5px 12px; box-shadow: none; }
.ha-chat-body .is-note svg { width: 14px; height: 14px; color: var(--ha-green); flex: none; }
.ha-js .ha-chat-body li { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s var(--ha-ease), transform .35s var(--ha-ease); }
.ha-js .ha-chat-body li.is-shown { opacity: 1; transform: none; }
.ha-chat-typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #d9fdd3; }
.ha-chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: #5b8a54; animation: ha-typing 1s infinite; }
.ha-chat-typing i:nth-child(2) { animation-delay: .15s; } .ha-chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ha-typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ha-js .ha-chat-body li { opacity: 1; transform: none; } }
.ha-prose figure img { aspect-ratio: 16/10; object-fit: cover; }
.ha-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .ha-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ha-quote, .ha-quote * { font-family: inherit; }
.ha-quote cite { text-transform: none; letter-spacing: 0; }
.ha-prose a.ha-btn { text-decoration: none; color: #fff; }
.ha-prose .ha-chat { margin: 2.2em auto; }
