/* ==========================================================================
   Werkzeug-Landingpages · /tools/<slug>
   Gemeinsames Enterprise-Designsystem (.sv-*) für Schema-Validator und alle
   übrigen Werkzeuge; die werkzeugspezifischen Ergänzungen stehen am Ende
   unter .td-*. Ruhige Haarlinien, Mono-Labels, dunkle Bühnen, wenig Farbe.
   ========================================================================== */

.sv-page {
    --sv-bg: #f5f7fb;
    --sv-panel: #ffffff;
    --sv-panel-soft: #fafbfe;
    --sv-ink: #0d1a2b;
    --sv-body: #485a72;
    --sv-muted: #5e7087;
    --sv-soft: #8797ab;
    --sv-line: #e2e9f2;
    --sv-line-strong: #cfdae8;
    --sv-blue: #1b5fd0;
    --sv-blue-bright: #2f79e8;
    --sv-blue-soft: #eef4ff;
    --sv-sky: #0b87c4;
    --sv-mint: #0a7d5e;
    --sv-amber: #96600f;
    --sv-rose: #b03b47;
    --sv-shadow: 0 24px 54px -42px #17335c66;
    --sv-ease: cubic-bezier(.22, 1, .36, 1);
    color: var(--sv-ink);
    background: var(--sv-bg);
}

.dark .sv-page {
    --sv-bg: #070f1c;
    --sv-panel: #0d1829;
    --sv-panel-soft: #101d31;
    --sv-ink: #edf4fd;
    --sv-body: #a7b7cb;
    --sv-muted: #93a6bd;
    --sv-soft: #6f829b;
    --sv-line: #1e3048;
    --sv-line-strong: #2b415d;
    --sv-blue: #8cbaff;
    --sv-blue-bright: #9ac5ff;
    --sv-blue-soft: #122743;
    --sv-sky: #7dd3fc;
    --sv-mint: #5fdfb4;
    --sv-amber: #f0c46e;
    --sv-rose: #ff9aa2;
    --sv-shadow: 0 30px 60px -45px #000000;
}

.sv-page *,
.sv-page *::before,
.sv-page *::after { min-width: 0; }

.sv-page a { text-decoration: none; }
.sv-page button,
.sv-page input { font: inherit; }
.sv-page button { border: 0; }
.sv-page ::selection { background: #bfd9ff; color: #08131f; }

.sv-page a:focus-visible,
.sv-page button:focus-visible,
.sv-page summary:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 3px;
    border-radius: 6px;
}

.sv-shell {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.sv-page h1,
.sv-page h2,
.sv-page h3,
.sv-page p { overflow-wrap: break-word; }

/* ── Buttons ───────────────────────────────────────────────────────────── */

.sv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1;
    cursor: pointer;
    transition: transform .22s var(--sv-ease), background .22s ease,
                border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.sv-btn:hover { transform: translateY(-1px); }
.sv-btn:active { transform: translateY(0) scale(.985); }

.sv-btn-primary {
    color: #ffffff;
    border-color: #4b8af0;
    background: linear-gradient(135deg, #4c86ed, #2358c4);
    box-shadow: 0 14px 28px -16px #1e5ed4, inset 0 1px #ffffff33;
}

.sv-btn-primary:hover {
    background: linear-gradient(135deg, #5a94fb, #2b64d6);
    box-shadow: 0 18px 32px -16px #1e5ed4, inset 0 1px #ffffff42;
}

.sv-btn-ghost {
    color: #dce9f8;
    border-color: #8db3d938;
    background: #ffffff0a;
}

.sv-btn-ghost:hover {
    color: #ffffff;
    border-color: #a9c9eb5c;
    background: #ffffff14;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.sv-hero {
    position: relative;
    overflow: hidden;
    color: #edf5ff;
    background:
        radial-gradient(ellipse 46% 55% at 84% 10%, #1b4e8a 0, transparent 70%),
        radial-gradient(ellipse 38% 48% at 6% 106%, #0d4a54 0, transparent 72%),
        linear-gradient(122deg, #060d19 0%, #0b1729 54%, #081421 100%);
    border-bottom: 1px solid #27415f;
}

.sv-hero::before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    right: -250px;
    top: -420px;
    border: 1px solid #8db9ed1c;
    border-radius: 50%;
    box-shadow: 0 0 0 40px #8db9ed08, 0 0 0 86px #8db9ed05, 0 0 0 140px #8db9ed03;
    pointer-events: none;
}

.sv-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #78ace54d 34%, #6ee7c04d 70%, transparent);
    pointer-events: none;
}

.sv-hero.vs-band-top { padding-top: 14px; }
.sv-hero-shell { position: relative; z-index: 1; }

.sv-hero-shell::before {
    content: "";
    position: absolute;
    inset: 0 -80px;
    z-index: -1;
    background-image: radial-gradient(circle, #94b8e21f 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 70% 62% at 58% 34%, #000 12%, transparent 78%);
    mask-image: radial-gradient(ellipse 70% 62% at 58% 34%, #000 12%, transparent 78%);
    pointer-events: none;
}

.sv-hero-glow {
    position: absolute;
    z-index: 0;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(62px);
    opacity: .34;
    pointer-events: none;
}

.sv-hero-glow-a {
    top: 4%;
    right: 2%;
    background: radial-gradient(circle, #3f8fe8, transparent 66%);
    animation: sv-aurora 15s ease-in-out infinite alternate;
}

.sv-hero-glow-b {
    bottom: -18%;
    left: 16%;
    background: radial-gradient(circle, #137a6b, transparent 68%);
    animation: sv-aurora 19s ease-in-out 1.2s infinite alternate-reverse;
}

.sv-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 7px;
    color: #8aa3c0;
    font-size: .68rem;
    font-weight: 650;
    letter-spacing: .01em;
}

.sv-breadcrumb a {
    color: #b8cde6;
    transition: color .18s ease;
}

.sv-breadcrumb a:hover { color: #ffffff; }
.sv-breadcrumb svg { flex: 0 0 auto; color: #5f7896; }

.sv-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(370px, .98fr);
    align-items: center;
    gap: clamp(32px, 4.6vw, 58px);
    padding: 30px 0 100px;
}

.sv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #93c5fd;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .62rem;
    font-weight: 750;
    letter-spacing: .18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.sv-live-dot {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 0 4px #6ee7b71f;
}

.sv-live-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid #6ee7b766;
    border-radius: inherit;
    animation: sv-ping 2.8s ease-out infinite;
}

.sv-hero h1 {
    margin: 0;
    color: #f7faff;
    font-size: clamp(2.5rem, 4.9vw, 3.78rem);
    font-weight: 840;
    letter-spacing: -.062em;
    line-height: .97;
    text-wrap: balance;
}

.sv-hero h1 em {
    display: block;
    font-style: normal;
    background: linear-gradient(100deg, #dbeafe 0%, #8fc6ff 44%, #7ee4c2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.sv-hero-lede {
    max-width: 37rem;
    margin: 24px 0 0;
    color: #b4c6db;
    font-size: .95rem;
    line-height: 1.85;
}

.sv-hero .sv-hero-lede code {
    padding: 1px 5px;
    border: 1px solid #8db3dc30;
    border-radius: 4px;
    color: #cfe2f6;
    background: #ffffff0a;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .9em;
}

.sv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.sv-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: #9fb4cb;
    font-size: .63rem;
    font-weight: 650;
}

.sv-hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.sv-hero-facts svg { flex: 0 0 auto; color: #6ee7b7; }

/* ── Hero-Bühne ────────────────────────────────────────────────────────── */

.sv-stage {
    position: relative;
    margin: 0;
    border: 1px solid #8db3dc36;
    border-radius: 20px;
    background: linear-gradient(155deg, #ffffff0c, #ffffff02 58%);
    box-shadow: inset 0 1px #ffffff10, 0 34px 70px -40px #01060f, 0 0 0 1px #060d19;
    overflow: hidden;
}

.sv-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 55% 50% at 72% 18%, #2e79c21f, transparent 70%);
    pointer-events: none;
}

.sv-stage-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 14px;
    border-bottom: 1px solid #8db3dc24;
    background: #ffffff05;
}

.sv-stage-dots { display: inline-flex; gap: 5px; }

.sv-stage-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4f6f94;
}

.sv-stage-dots i:nth-child(2) { background: #6b8db3; }
.sv-stage-dots i:nth-child(3) { background: #6ee7b7aa; }

.sv-stage-title {
    flex: 1;
    overflow: hidden;
    color: #9fb8d3;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .58rem;
    letter-spacing: .06em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-stage-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7ee4c2;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .55rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sv-stage-status .sv-live-dot {
    width: 5px;
    height: 5px;
    box-shadow: none;
}

.sv-stage-status .sv-live-dot::after { display: none; }

.sv-stage-canvas {
    position: relative;
    z-index: 1;
    aspect-ratio: 660 / 420;
}

.sv-stage-canvas svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sv-stage-label {
    fill: #8fb0d3;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .16em;
}

.sv-stage-label.is-dim { fill: #6f8dab; }
.sv-stage-label.is-strong { fill: #cfe4f8; font-size: 8.5px; }

.sv-stage-mono {
    fill: #8fb0d3;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8.5px;
    letter-spacing: .03em;
}

.sv-stage-mono.is-dim { fill: #6f8dab; font-size: 7px; }
.sv-stage-mono.is-mint { fill: #7ee4c2; }
.sv-stage-mono.is-rose { fill: #ff9aa2; }

.sv-stage-orbit {
    transform-box: fill-box;
    transform-origin: center;
}

.sv-stage-arc {
    transform-box: fill-box;
    transform-origin: center;
    opacity: .85;
}

.sv-stage.is-running .sv-stage-orbit { animation: sv-spin 44s linear infinite; }
.sv-stage.is-running .sv-stage-arc { animation: sv-spin 26s linear infinite reverse; }

.sv-route-base {
    fill: none;
    stroke: #8db3dc;
    stroke-opacity: .24;
    stroke-width: 1;
    stroke-dasharray: 2 6;
}

.sv-route-flow {
    fill: none;
    stroke: #b7dcff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 2 46;
    opacity: 0;
}

.sv-stage.is-running .sv-route-flow {
    animation: sv-flow 3.4s linear infinite;
    opacity: 1;
}

.sv-stage.is-running .sv-route-flow.is-delayed { animation-delay: .9s; }

.sv-doc-block .sv-block-bg { transition: fill .3s ease, stroke .3s ease; }

.sv-block-type {
    fill: #d9e9fa;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .03em;
}

.sv-field-dot { fill: #7fb0e0; fill-opacity: .45; }

.sv-field-text {
    fill: #93b2d1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    letter-spacing: .02em;
}

.sv-doc-block.is-focus .sv-field-text { fill: #b6d3ee; }

.sv-scan-line {
    transform-box: fill-box;
    transform-origin: center;
}

.sv-stage.is-running .sv-scan-line { animation: sv-scan 6.4s cubic-bezier(.42, 0, .3, 1) infinite; }

.sv-core-pulse {
    fill: none;
    stroke-width: .9;
    transform-box: fill-box;
    transform-origin: center;
    opacity: .5;
}

.sv-stage.is-running .sv-core-pulse { animation: sv-pulse 3.8s ease-out infinite; }
.sv-stage.is-running .sv-core-pulse.is-delayed { animation-delay: 1.9s; }

.sv-core-hex { transform-box: fill-box; transform-origin: center; }
.sv-stage.is-running .sv-core-hex { animation: sv-breathe 4.4s ease-in-out infinite; }

.sv-report-progress {
    transform-box: fill-box;
    transform-origin: left center;
}

.sv-stage.is-running .sv-report-progress { animation: sv-progress 1.4s var(--sv-ease) .7s both; }

.sv-node-float {
    transform-box: fill-box;
    transform-origin: center;
    opacity: .7;
}

.sv-stage.is-running .sv-node-float { animation: sv-drift 7s ease-in-out infinite; }
.sv-stage.is-running .sv-node-float.is-delayed { animation-delay: 2.4s; }

.sv-stage-caption {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 11px 14px 12px;
    border-top: 1px solid #8db3dc24;
    color: #9fb8d3;
    font-size: .6rem;
    font-weight: 650;
}

.sv-stage-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.sv-stage-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sv-stage-legend i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8bbaf5;
}

.sv-stage-legend i.is-block { background: #6b8db3; }
.sv-stage-legend i.is-valid { background: #7ee4c2; box-shadow: 0 0 0 3px #7ee4c220; }

.sv-stage-meta {
    color: #7f9ab8;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .56rem;
    letter-spacing: .06em;
}

.sv-stage-replay {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    margin-left: auto;
    padding: 0 8px;
    border: 1px solid #8db3dc33;
    border-radius: 7px;
    color: #a9c4df;
    background: #ffffff06;
    font-size: .56rem;
    font-weight: 750;
    letter-spacing: .04em;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.sv-stage-replay:hover {
    color: #ffffff;
    border-color: #8db3dc66;
    background: #ffffff12;
}

.sv-stage-replay svg { transition: transform .6s var(--sv-ease); }
.sv-stage-replay.is-replaying svg { transform: rotate(-360deg); }

/* ── Kennzahlenband ───────────────────────────────────────────────────── */

.sv-metrics {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: -52px;
}

.sv-metric {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 112px;
    padding: 19px 18px;
    border: 1px solid var(--sv-line);
    border-radius: 16px;
    background: var(--sv-panel);
    box-shadow: var(--sv-shadow);
}

.sv-metric-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--sv-line);
    border-radius: 11px;
    color: var(--sv-blue);
    background: linear-gradient(150deg, #2f6fe415, #2f6fe404);
}

.sv-metric-icon.is-mint { color: var(--sv-mint); border-color: #10b98130; background: #10b9810d; }
.sv-metric-icon.is-amber { color: var(--sv-amber); border-color: #f59e0b30; background: #f59e0b0d; }
.sv-metric-icon.is-violet { color: #7455cf; border-color: #8b5cf630; background: #8b5cf60d; }
.dark .sv-metric-icon.is-violet { color: #b79bff; }

.sv-metric-body { min-width: 0; }

.sv-metric-value {
    display: block;
    color: var(--sv-ink);
    font-size: 1.4rem;
    font-weight: 840;
    line-height: 1.05;
    letter-spacing: -.035em;
    font-variant-numeric: tabular-nums;
}

.sv-metric-label {
    display: block;
    margin-top: 4px;
    color: var(--sv-ink);
    font-size: .69rem;
    font-weight: 760;
    line-height: 1.3;
}

.sv-metric-note {
    display: block;
    margin-top: 5px;
    color: var(--sv-muted);
    font-size: .62rem;
    line-height: 1.45;
}

/* ── Abschnitte ───────────────────────────────────────────────────────── */

.sv-section {
    padding-top: clamp(60px, 7vw, 94px);
    scroll-margin-top: 84px;
}

.sv-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--sv-line);
    margin-bottom: 32px;
}

.sv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--sv-blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.3;
    text-transform: uppercase;
}

.sv-kicker::before {
    content: "";
    width: 14px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}

.sv-section h2 {
    margin: 0;
    color: var(--sv-ink);
    font-size: clamp(1.7rem, 2.9vw, 2.35rem);
    font-weight: 820;
    letter-spacing: -.045em;
    line-height: 1.08;
    text-wrap: balance;
}

.sv-section-head .sv-lede {
    max-width: 36rem;
    margin: 0;
    color: var(--sv-muted);
    font-size: .8rem;
    line-height: 1.75;
}

.sv-lede strong { color: var(--sv-body); font-weight: 750; }

.sv-page p code {
    border-color: var(--sv-line);
    color: var(--sv-body);
    background: var(--sv-panel-soft);
}

/* ── Das stille Scheitern ─────────────────────────────────────────────── */

.sv-failure {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(34px, 5vw, 70px);
}

.sv-failure-copy h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); }

.sv-failure-copy p {
    max-width: 33rem;
    margin: 18px 0 0;
    color: var(--sv-body);
    font-size: .86rem;
    line-height: 1.85;
}

.sv-failure-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--sv-muted);
    font-size: .66rem;
    font-weight: 650;
}

.sv-failure-note svg { color: var(--sv-amber); }

.sv-report {
    position: relative;
    border: 1px solid var(--sv-line-strong);
    border-radius: 18px;
    background: var(--sv-panel);
    box-shadow: var(--sv-shadow);
    overflow: hidden;
}

.sv-report::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px #ffffff;
    pointer-events: none;
}

.dark .sv-report::after { box-shadow: inset 0 1px #ffffff0a; }

.sv-report-bar {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid var(--sv-line);
    background: var(--sv-panel-soft);
}

.sv-report-dots { display: inline-flex; gap: 5px; }

.sv-report-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sv-line-strong);
}

.sv-report-dots i:nth-child(3) { background: #e3a5aa; }
.dark .sv-report-dots i:nth-child(3) { background: #7f4750; }

.sv-report-title {
    flex: 1;
    overflow: hidden;
    color: var(--sv-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .57rem;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-report-badge {
    padding: 4px 7px;
    border: 1px solid #ef444440;
    border-radius: 5px;
    color: var(--sv-rose);
    background: #ef44440a;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sv-code {
    padding: 15px 16px 16px;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0, #1b4c8624, transparent 70%),
        #08121f;
    color: #a9c4df;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .63rem;
    line-height: 1.95;
    overflow-x: auto;
    scrollbar-width: thin;
}

.sv-code-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    white-space: pre;
}

.sv-code-line i {
    flex: 0 0 14px;
    color: #3f5a78;
    font-style: normal;
    font-size: .92em;
    text-align: right;
    user-select: none;
}

.sv-code-line span { color: #b8cde6; }
.sv-code-line .sv-code-key { color: #8fc6ff; }
.sv-code-line .sv-code-soft { color: #6f8dab; }

.sv-code-line.is-missing {
    margin: 2px -6px;
    padding: 0 6px;
    border: 1px dashed #ef8a924d;
    border-radius: 5px;
    background: #ef44440f;
}

.sv-code-line.is-missing span { color: #ffb3b8; }

.sv-code-line mark {
    padding: 0 4px;
    border-radius: 3px;
    color: #ffb3b8;
    background: #ef44441f;
    font-size: .86em;
    letter-spacing: .04em;
}

.sv-report-findings {
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

.sv-finding {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--sv-line);
    color: var(--sv-body);
    font-size: .67rem;
    line-height: 1.45;
}

.sv-finding:last-child { border-bottom: 0; }

.sv-finding-dot {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sv-rose);
    box-shadow: 0 0 0 3px #ef444414;
}

.sv-finding.is-warning .sv-finding-dot {
    background: #d99a1a;
    box-shadow: 0 0 0 3px #f59e0b14;
}

.sv-finding strong {
    color: var(--sv-ink);
    font-weight: 750;
}

.sv-finding code {
    padding: 1px 4px;
    border: 1px solid var(--sv-line);
    border-radius: 4px;
    color: var(--sv-body);
    background: var(--sv-panel-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .9em;
}

.sv-finding-tag {
    margin-left: auto;
    padding: 3px 6px;
    border-radius: 4px;
    color: var(--sv-rose);
    background: #ef44440d;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .48rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sv-finding.is-warning .sv-finding-tag {
    color: var(--sv-amber);
    background: #f59e0b0f;
}

.sv-report-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 16px;
    border-top: 1px solid var(--sv-line);
    background: var(--sv-panel-soft);
    color: var(--sv-soft);
    font-size: .58rem;
}

.sv-report-foot b {
    color: var(--sv-ink);
    font-size: .8rem;
    font-weight: 840;
    font-variant-numeric: tabular-nums;
}

.sv-report-foot b small {
    margin-left: 1px;
    color: var(--sv-soft);
    font-size: .62em;
    font-weight: 700;
}

/* ── Typenmatrix ──────────────────────────────────────────────────────── */

.sv-cluster { margin-top: 26px; }
.sv-section-head + .sv-cluster { margin-top: 0; }

.sv-cluster-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 10px;
    margin-bottom: 13px;
    border-bottom: 1px solid var(--sv-line);
}

.sv-cluster-icon {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--sv-line);
    border-radius: 7px;
    color: var(--sv-blue);
    background: var(--sv-panel);
}

.sv-cluster-label {
    color: var(--sv-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sv-cluster-count {
    margin-left: auto;
    color: var(--sv-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .5rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.sv-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sv-type {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 138px;
    padding: 17px 17px 15px;
    border: 1px solid var(--sv-line);
    border-radius: 14px;
    background: var(--sv-panel);
    overflow: hidden;
    transition: transform .3s var(--sv-ease), border-color .3s ease, box-shadow .3s ease;
}

.sv-type::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5f97e3 30%, #6ee7c0 70%, transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.sv-type:hover {
    transform: translateY(-2px);
    border-color: var(--sv-line-strong);
    box-shadow: 0 20px 38px -34px #17335c66;
}

.sv-type:hover::after { opacity: .7; }

.sv-type-top {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sv-type-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--sv-line);
    border-radius: 8px;
    color: var(--sv-soft);
    background: var(--sv-panel-soft);
}

.sv-type-code {
    min-width: 0;
    overflow: hidden;
    color: var(--sv-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: -.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-type-count {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--sv-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .48rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sv-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 13px;
}

.sv-chip {
    padding: 3px 6px;
    border: 1px solid var(--sv-line);
    border-radius: 5px;
    color: var(--sv-body);
    background: var(--sv-panel-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .56rem;
    line-height: 1.4;
    letter-spacing: .01em;
    white-space: nowrap;
}

.sv-type-note {
    margin: 10px 0 0;
    color: var(--sv-muted);
    font-size: .6rem;
    line-height: 1.55;
}

.sv-type-note::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--sv-amber);
    vertical-align: middle;
}

.sv-type-rec {
    margin: auto 0 0;
    padding-top: 11px;
    color: var(--sv-soft);
    font-size: .55rem;
    line-height: 1.5;
}

.sv-type-rec b {
    color: var(--sv-blue);
    font-weight: 750;
    letter-spacing: .02em;
}

.sv-matrix-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 24px 0 0;
    padding: 13px 15px;
    border: 1px solid var(--sv-line);
    border-radius: 11px;
    color: var(--sv-muted);
    background: var(--sv-panel);
    font-size: .65rem;
    line-height: 1.6;
}

.sv-matrix-note svg { flex: 0 0 auto; margin-top: 1px; color: var(--sv-blue); }

/* ── Interaktive Demo ─────────────────────────────────────────────────── */

.sv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.sv-demo {
    position: relative;
    border: 1px solid var(--sv-line-strong);
    border-radius: 20px;
    background: var(--sv-panel);
    box-shadow: var(--sv-shadow);
    overflow: hidden;
}

.sv-demo-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 18px;
    border-bottom: 1px solid var(--sv-line);
    background: var(--sv-panel-soft);
}

.sv-demo-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sv-mint);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sv-demo-live .sv-live-dot {
    width: 5px;
    height: 5px;
    box-shadow: none;
}

.sv-demo-live .sv-live-dot::after { display: none; }

.sv-demo-bar-title {
    flex: 1;
    overflow: hidden;
    color: var(--sv-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .57rem;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-demo-bar-meta {
    color: var(--sv-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .52rem;
    letter-spacing: .08em;
    white-space: nowrap;
}

.sv-demo-body {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: stretch;
}

.sv-demo-editor {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background:
        radial-gradient(ellipse 70% 50% at 100% 0, #1b4c8620, transparent 70%),
        #08121f;
    border-right: 1px solid var(--sv-line);
}

.sv-demo-presets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid #8db3dc1f;
}

.sv-demo-presets > span {
    margin-right: 2px;
    color: #7f97b1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sv-demo-presets button {
    min-height: 25px;
    padding: 0 7px;
    border: 1px solid #8db3dc30;
    border-radius: 6px;
    color: #a9c4df;
    background: #ffffff06;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.sv-demo-presets button:hover {
    color: #ffffff;
    border-color: #8db3dc66;
    background: #ffffff10;
}

.sv-demo-presets button.is-active {
    color: #062019;
    border-color: #7ee4c2;
    background: #7ee4c2;
}

.sv-demo-input {
    display: flex;
    flex: 1;
    padding: 14px 16px;
}

.sv-demo-input textarea {
    flex: 1;
    width: 100%;
    min-height: 330px;
    padding: 0;
    border: 0;
    outline: 0;
    resize: vertical;
    color: #c5dcf5;
    background: transparent;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .68rem;
    line-height: 1.75;
    tab-size: 2;
    caret-color: #7ee4c2;
}

.sv-demo-input textarea::placeholder { color: #5e7893; }

.sv-demo-input textarea:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: -2px;
    border-radius: 4px;
}

.sv-demo-editor-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
    border-top: 1px solid #8db3dc1f;
    color: #7f97b1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .5rem;
    letter-spacing: .05em;
}

.sv-demo-kbd { color: #5e7893; }

.sv-demo-result {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px 18px;
    background: var(--sv-panel);
}

.sv-demo-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--sv-line);
}

.sv-demo-score {
    position: relative;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    color: var(--sv-mint);
}

.sv-demo-score.is-warn { color: #c4870f; }
.dark .sv-demo-score.is-warn { color: #f0c46e; }
.sv-demo-score.is-bad { color: var(--sv-rose); }

.sv-demo-score svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sv-demo-track {
    fill: none;
    stroke: var(--sv-line);
    stroke-width: 4;
}

.sv-demo-arc {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 163.363;
    stroke-dashoffset: 49.009;
    transition: stroke-dashoffset .55s var(--sv-ease);
}

.sv-demo-score-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.sv-demo-score-value strong {
    color: var(--sv-ink);
    font-size: 1.18rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
}

.sv-demo-score-value small {
    color: var(--sv-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .44rem;
    letter-spacing: .04em;
}

.sv-demo-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sv-demo-counts > span {
    padding: 4px 7px;
    border: 1px solid var(--sv-line);
    border-radius: 6px;
    color: var(--sv-muted);
    background: var(--sv-panel-soft);
    font-size: .54rem;
    font-weight: 650;
}

.sv-demo-counts b {
    margin-left: 3px;
    color: var(--sv-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .95em;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.sv-demo-counts .is-error b { color: var(--sv-rose); }
.sv-demo-counts .is-warn b { color: var(--sv-amber); }

.sv-demo-verdict {
    flex: 1 1 100%;
    margin: 0;
    color: var(--sv-body);
    font-size: .67rem;
    line-height: 1.55;
}

.sv-demo-types {
    display: grid;
    gap: 9px;
    max-height: 364px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--sv-line-strong) transparent;
}

.sv-demo-type {
    border: 1px solid var(--sv-line);
    border-radius: 12px;
    background: var(--sv-panel);
    overflow: hidden;
}

.sv-demo-type.is-error { border-left: 3px solid #e0696d; }
.sv-demo-type.is-warn { border-left: 3px solid #d99a1a; }
.sv-demo-type.is-ok { border-left: 3px solid #13ae82; }
.sv-demo-type.is-neutral { border-left: 3px solid var(--sv-line-strong); }

.sv-demo-type-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--sv-line);
    background: var(--sv-panel-soft);
}

.sv-demo-type-index {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 1px solid var(--sv-line);
    border-radius: 6px;
    color: var(--sv-muted);
    background: var(--sv-panel);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .48rem;
    font-weight: 800;
}

.sv-demo-type-id { min-width: 0; }

.sv-demo-type-id strong {
    display: block;
    overflow: hidden;
    color: var(--sv-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .68rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-demo-type-id small {
    display: block;
    margin-top: 2px;
    color: var(--sv-soft);
    font-size: .52rem;
}

.sv-demo-type-badge {
    margin-left: auto;
    padding: 3px 6px;
    border: 1px solid var(--sv-line);
    border-radius: 4px;
    color: var(--sv-soft);
    background: var(--sv-panel);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .46rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sv-demo-type-badge.is-error { color: var(--sv-rose); border-color: #ef444440; background: #ef44440a; }
.sv-demo-type-badge.is-warn { color: var(--sv-amber); border-color: #f59e0b40; background: #f59e0b0a; }
.sv-demo-type-badge.is-ok { color: var(--sv-mint); border-color: #10b98140; background: #10b9810a; }
.sv-demo-type-badge.is-neutral { color: var(--sv-soft); border-color: var(--sv-line); background: var(--sv-panel); }

.sv-demo-type-body {
    display: grid;
    gap: 9px;
    padding: 11px 12px 12px;
}

.sv-demo-fieldrow {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
}

.sv-demo-fieldlabel {
    padding-top: 4px;
    color: var(--sv-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .46rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sv-demo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.sv-field-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 2px 6px;
    border: 1px solid var(--sv-line);
    border-radius: 5px;
    color: var(--sv-body);
    background: var(--sv-panel);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .55rem;
    line-height: 1.5;
}

.sv-field-chip-mark {
    display: grid;
    place-items: center;
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .48rem;
    font-weight: 800;
}

.sv-field-chip-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-field-chip em {
    flex: 0 0 auto;
    font-style: normal;
    font-size: .85em;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .9;
}

.sv-field-chip.is-ok { border-color: #10b9812e; background: #10b98108; color: var(--sv-mint); }
.sv-field-chip.is-ok .sv-field-chip-mark { color: var(--sv-mint); background: #10b9811a; }
.sv-field-chip.is-missing { border-style: dashed; border-color: #ef444455; background: #ef44440a; color: var(--sv-rose); }
.sv-field-chip.is-missing .sv-field-chip-mark { color: var(--sv-rose); background: #ef44441a; }
.sv-field-chip.is-open { border-style: dashed; border-color: #f59e0b4d; background: #f59e0b0a; color: var(--sv-amber); }
.sv-field-chip.is-open .sv-field-chip-mark { color: var(--sv-amber); background: #f59e0b1f; }

.sv-demo-type-note {
    margin: 0;
    color: var(--sv-muted);
    font-size: .62rem;
    line-height: 1.55;
}

.sv-demo-issues {
    display: grid;
    gap: 5px;
    margin: 2px 0 0;
    padding: 8px 0 0;
    border-top: 1px dashed var(--sv-line);
    list-style: none;
}

.sv-demo-issues li {
    position: relative;
    padding-left: 11px;
    color: var(--sv-rose);
    font-size: .6rem;
    line-height: 1.5;
}

.sv-demo-issues li::before {
    content: "";
    position: absolute;
    top: .55em;
    left: 1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.sv-demo-empty {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px dashed var(--sv-line-strong);
    border-radius: 11px;
    background: var(--sv-panel-soft);
}

.sv-demo-empty-icon {
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--sv-line-strong);
    border-radius: 8px;
    color: var(--sv-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .7rem;
    font-weight: 800;
}

.sv-demo-empty-body strong {
    display: block;
    color: var(--sv-ink);
    font-size: .7rem;
    font-weight: 800;
}

.sv-demo-empty-body p {
    margin: 4px 0 0;
    color: var(--sv-muted);
    font-size: .62rem;
    line-height: 1.55;
}

.sv-demo-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 16px 0 0;
    color: var(--sv-muted);
    font-size: .64rem;
    line-height: 1.65;
}

.sv-demo-note svg { flex: 0 0 auto; margin-top: 1px; color: var(--sv-blue); }

.sv-demo-note a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--sv-blue);
    font-weight: 750;
}

.sv-demo-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

.sv-demo-noscript {
    margin: 14px 0 0;
    padding: 12px 14px;
    border: 1px solid var(--sv-line);
    border-radius: 9px;
    color: var(--sv-muted);
    background: var(--sv-panel);
    font-size: .66rem;
}

@media (max-width: 900px) {
    .sv-demo-body { grid-template-columns: minmax(0, 1fr); }
    .sv-demo-editor { border-right: 0; border-bottom: 1px solid var(--sv-line); }
    .sv-demo-input textarea { min-height: 240px; }
    .sv-demo-types { max-height: none; }
}

@media (max-width: 560px) {
    .sv-demo-bar { flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px; }
    .sv-demo-bar-meta { display: none; }
    .sv-demo-presets { padding: 10px 12px; }
    .sv-demo-input { padding: 12px; }
    .sv-demo-result { padding: 14px 12px; }
    .sv-demo-fieldrow { grid-template-columns: minmax(0, 1fr); gap: 5px; }
    .sv-demo-fieldlabel { padding-top: 0; }
    .sv-demo-score { flex-basis: 62px; width: 62px; height: 62px; }
    .sv-demo-score-value strong { font-size: 1.04rem; }
    .sv-demo-type-head { flex-wrap: wrap; }
    .sv-demo-type-badge { margin-left: 33px; }
}

/* ── Prüfungen ────────────────────────────────────────────────────────── */

.sv-checks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.sv-check {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 224px;
    padding: 22px 20px 19px;
    border: 1px solid var(--sv-line);
    border-radius: 16px;
    background: var(--sv-panel);
    overflow: hidden;
    transition: transform .3s var(--sv-ease), border-color .3s ease, box-shadow .3s ease;
}

.sv-check::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -90px;
    top: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, #2f6fe410, transparent 68%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.sv-check::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5f97e3 30%, #6ee7c0 70%, transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.sv-check:hover {
    transform: translateY(-3px);
    border-color: var(--sv-line-strong);
    box-shadow: 0 24px 44px -36px #17335c66;
}

.sv-check:hover::before,
.sv-check:hover::after { opacity: .8; }

.sv-check-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
}

.sv-check-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #4f8bdd33;
    border-radius: 12px;
    color: var(--sv-blue);
    background: linear-gradient(150deg, #2f6fe414, #2f6fe403);
    transition: transform .3s var(--sv-ease), border-color .3s ease;
}

.sv-check:hover .sv-check-icon {
    transform: translateY(-1px) scale(1.04);
    border-color: #4f8bdd66;
}

.sv-check-index {
    color: var(--sv-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .55rem;
    font-weight: 750;
    letter-spacing: .1em;
}

.sv-check h3 {
    margin: 0;
    color: var(--sv-ink);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.3;
}

.sv-check p {
    margin: 9px 0 0;
    color: var(--sv-muted);
    font-size: .73rem;
    line-height: 1.7;
}

.sv-check-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 5px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--sv-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .52rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sv-check-tag::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

/* ── Befund-Bühne (dunkel) ────────────────────────────────────────────── */

.sv-audit-wrap {
    margin-top: clamp(60px, 7vw, 94px);
    padding: clamp(44px, 5vw, 66px) 0 clamp(48px, 5vw, 70px);
    background:
        radial-gradient(ellipse 46% 58% at 92% 4%, #1b4c861f, transparent 70%),
        radial-gradient(ellipse 40% 50% at 4% 100%, #0d5a4d1a, transparent 72%),
        #060d18;
    border-block: 1px solid #1d3149;
    scroll-margin-top: 0;
}

.sv-audit-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: end;
    gap: 36px;
    margin-bottom: 26px;
}

.sv-audit-head .sv-kicker { color: #8fc6ff; }

.sv-audit-head h2 {
    margin: 0;
    color: #f2f7ff;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 820;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.sv-audit-head p {
    margin: 0;
    color: #9db2ca;
    font-size: .8rem;
    line-height: 1.8;
}

.sv-audit {
    position: relative;
    border: 1px solid #8db3dc2b;
    border-radius: 20px;
    background:
        radial-gradient(circle, #92b8e20f 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(160deg, #ffffff06, #ffffff01 60%);
    box-shadow: inset 0 1px #ffffff08, 0 40px 80px -50px #000000;
    overflow: hidden;
}

.sv-audit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 70% at 84% 34%, #2f7bc217, transparent 72%);
    pointer-events: none;
}

.sv-audit-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 13px 20px;
    border-bottom: 1px solid #8db3dc1f;
    color: #8da8c4;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .55rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sv-audit-bar span:last-child { color: #7ee4c2; }

.sv-audit-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(0, .66fr);
}

.sv-audit-report {
    display: grid;
    gap: 11px;
    padding: 20px 22px;
    border-right: 1px solid #8db3dc1f;
}

.sv-audit-block {
    border: 1px solid #8db3dc24;
    border-radius: 12px;
    background: #ffffff04;
    overflow: hidden;
}

.sv-audit-block-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid #8db3dc1a;
}

.sv-audit-index {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: 1px solid #8db3dc2b;
    border-radius: 7px;
    color: #9fc0df;
    background: #ffffff05;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .52rem;
    font-weight: 800;
}

.sv-audit-block-head strong {
    display: block;
    color: #ecf4fe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .01em;
}

.sv-audit-block-head small {
    display: block;
    margin-top: 2px;
    color: #7f97b1;
    font-size: .55rem;
    letter-spacing: .02em;
}

.sv-audit-count {
    margin-left: auto;
    padding: 3px 6px;
    border-radius: 4px;
    color: #ff9aa2;
    background: #ef444414;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .47rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sv-audit-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sv-audit-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 14px;
    border-bottom: 1px solid #8db3dc12;
    color: #a9bfd6;
    font-size: .65rem;
    line-height: 1.5;
}

.sv-audit-list li:last-child { border-bottom: 0; }
.sv-audit-list svg { flex: 0 0 auto; margin-top: 1px; color: #ff9aa2; }
.sv-audit-list li.is-warning svg { color: #f0c46e; }
.sv-audit-list code {
    padding: 0 4px;
    border: 1px solid #8db3dc22;
    border-radius: 3px;
    color: #cfe2f6;
    background: #ffffff06;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .92em;
}

.sv-audit-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px 20px;
    background: radial-gradient(ellipse 80% 60% at 50% 20%, #2f7bc21a, transparent 70%);
}

.sv-gauge {
    position: relative;
    width: min(200px, 100%);
    aspect-ratio: 1;
}

.sv-gauge svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sv-gauge-track {
    fill: none;
    stroke: #16283d;
    stroke-width: 7;
    stroke-linecap: round;
}

.sv-gauge-arc {
    fill: none;
    stroke: url(#svGaugeGrad);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 490.1;
    stroke-dashoffset: 196;
    filter: drop-shadow(0 0 6px #7ee4c255);
}

.sv-js .sv-gauge-arc { stroke-dashoffset: 490.1; }

.sv-js .sv-audit.is-in .sv-gauge-arc {
    animation: sv-gauge 1.8s cubic-bezier(.2, .8, .2, 1) .15s forwards;
}

.sv-gauge-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
}

.sv-gauge-value strong {
    color: #f2f8ff;
    font-size: 2.7rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
}

.sv-gauge-value span {
    color: #7f97b1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .6rem;
    letter-spacing: .06em;
}

.sv-gauge-value small {
    margin-top: 6px;
    color: #8fc6ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .48rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.sv-audit-tally {
    width: 100%;
    max-width: 230px;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #8db3dc1f;
}

.sv-audit-tally li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 2px;
    border-bottom: 1px solid #8db3dc14;
    color: #9db2ca;
    font-size: .62rem;
}

.sv-audit-tally li b {
    margin-left: auto;
    color: #ecf4fe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .66rem;
    font-weight: 750;
}

.sv-audit-tally i {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff9aa2;
}

.sv-audit-tally li.is-warning i { background: #f0c46e; }
.sv-audit-tally li.is-neutral i { background: #8bbaf5; }

.sv-audit-note {
    max-width: 230px;
    margin: 0;
    color: #7f97b1;
    font-size: .56rem;
    line-height: 1.55;
    text-align: center;
}

.sv-audit-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-top: 1px solid #8db3dc1f;
    color: #7f97b1;
    font-size: .6rem;
    line-height: 1.5;
}

.sv-audit-foot svg { flex: 0 0 auto; color: #7ee4c2; }

/* ── Ablauf ───────────────────────────────────────────────────────────── */

.sv-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 32px);
}

.sv-steps::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 38px;
    right: 38px;
    height: 1px;
    background-image: linear-gradient(90deg, #8aa6c455 50%, transparent 50%);
    background-size: 9px 1px;
    animation: sv-march 2.6s linear infinite;
    pointer-events: none;
}

.sv-step {
    position: relative;
    padding-top: 52px;
}

.sv-step-node {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--sv-line-strong);
    border-radius: 50%;
    color: var(--sv-blue);
    background: var(--sv-panel);
    box-shadow: 0 0 0 6px var(--sv-bg);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .62rem;
    font-weight: 800;
}

.sv-step-icon {
    position: absolute;
    top: 10px;
    right: 2px;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--sv-line);
    border-radius: 9px;
    color: var(--sv-soft);
    background: var(--sv-panel);
}

.sv-step h3 {
    margin: 0;
    color: var(--sv-ink);
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: -.015em;
}

.sv-step p {
    margin: 8px 0 0;
    color: var(--sv-muted);
    font-size: .75rem;
    line-height: 1.7;
}

.sv-step p code,
.sv-scope code {
    padding: 1px 5px;
    border: 1px solid var(--sv-line);
    border-radius: 4px;
    color: var(--sv-body);
    background: var(--sv-panel-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .9em;
}

.sv-scope {
    display: grid;
    grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
    gap: 28px;
    margin-top: 38px;
    padding: 25px 26px;
    border: 1px solid var(--sv-line);
    border-radius: 17px;
    background: linear-gradient(150deg, var(--sv-panel), var(--sv-panel-soft));
}

.sv-scope-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sv-scope-head > span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #4f8bdd33;
    border-radius: 10px;
    color: var(--sv-blue);
    background: #2f6fe40d;
}

.sv-scope-head h3 {
    margin: 1px 0 0;
    color: var(--sv-ink);
    font-size: .82rem;
    font-weight: 800;
}

.sv-scope-head p {
    margin: 5px 0 0;
    color: var(--sv-muted);
    font-size: .68rem;
    line-height: 1.6;
}

.sv-scope-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sv-scope-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--sv-muted);
    font-size: .67rem;
    line-height: 1.55;
}

.sv-scope-list svg { flex: 0 0 auto; margin-top: 2px; color: var(--sv-mint); }

/* ── Warum ────────────────────────────────────────────────────────────── */

.sv-why {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(34px, 5vw, 66px);
    align-items: start;
}

.sv-why-copy h2 { font-size: clamp(1.8rem, 3.1vw, 2.45rem); }

.sv-why-copy p {
    margin: 18px 0 0;
    color: var(--sv-body);
    font-size: .85rem;
    line-height: 1.85;
}

.sv-signals {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--sv-line);
}

.sv-signal {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--sv-line);
}

.sv-signal-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--sv-line);
    border-radius: 9px;
    color: var(--sv-blue);
    background: var(--sv-panel);
}

.sv-signal strong {
    display: block;
    color: var(--sv-ink);
    font-size: .76rem;
    font-weight: 800;
}

.sv-signal p {
    margin: 4px 0 0;
    color: var(--sv-muted);
    font-size: .7rem;
    line-height: 1.65;
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.sv-faq { max-width: 880px; }
.sv-faq .sv-section-head { margin-bottom: 12px; }

.sv-faq-item { border-bottom: 1px solid var(--sv-line); }

.sv-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 2px;
    color: var(--sv-ink);
    font-size: .83rem;
    font-weight: 750;
    line-height: 1.45;
    list-style: none;
    cursor: pointer;
}

.sv-faq-item summary::-webkit-details-marker { display: none; }

.sv-faq-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: 1px solid var(--sv-line-strong);
    border-radius: 7px;
    color: var(--sv-muted);
    transition: transform .3s var(--sv-ease), color .2s ease, border-color .2s ease;
}

.sv-faq-item[open] .sv-faq-icon {
    transform: rotate(45deg);
    color: var(--sv-blue);
    border-color: #4f8bdd55;
}

.sv-faq-a {
    max-width: 46rem;
    margin: -4px 0 0;
    padding: 0 52px 22px 2px;
    color: var(--sv-muted);
    font-size: .76rem;
    line-height: 1.8;
}

/* ── Ratgeber & weitere Werkzeuge ─────────────────────────────────────── */

.sv-guides,
.sv-related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.sv-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.sv-guide,
.sv-related-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--sv-line);
    border-radius: 16px;
    background: var(--sv-panel);
    transition: transform .3s var(--sv-ease), border-color .3s ease, box-shadow .3s ease;
}

.sv-guide:hover,
.sv-related-card:hover {
    transform: translateY(-2px);
    border-color: var(--sv-line-strong);
    box-shadow: 0 22px 40px -34px #17335c66;
}

.sv-guide-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sv-blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .53rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.sv-guide h3,
.sv-related-card h3 {
    margin: 11px 0 0;
    color: var(--sv-ink);
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: -.012em;
    line-height: 1.4;
}

.sv-guide p,
.sv-related-card p {
    margin: 8px 0 0;
    color: var(--sv-muted);
    font-size: .7rem;
    line-height: 1.65;
}

.sv-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--sv-muted);
    font-size: .63rem;
    font-weight: 800;
}

.sv-guide:hover .sv-guide-link { color: var(--sv-blue); }

.sv-guide-link svg,
.sv-related-arrow,
.sv-related-icon { transition: transform .25s var(--sv-ease); }

.sv-guide:hover .sv-guide-link svg,
.sv-related-card:hover .sv-related-arrow { transform: translateX(3px); }
.sv-related-card:hover .sv-related-icon { transform: scale(1.05); }

.sv-related-top {
    display: flex;
    align-items: center;
    gap: 11px;
}

.sv-related-top h3 { margin: 0; }

.sv-related-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(150deg, var(--sv-rel-a, #2f79e8), var(--sv-rel-b, #1b4ea3));
}

.sv-related-arrow {
    margin-left: auto;
    color: var(--sv-soft);
}

/* ── Abschluss-CTA ────────────────────────────────────────────────────── */

.sv-cta-wrap { padding-top: clamp(60px, 7vw, 94px); }

.sv-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    align-items: center;
    gap: 32px;
    padding: clamp(30px, 4.4vw, 50px);
    border: 1px solid #2b4a6e;
    border-radius: 22px;
    background:
        radial-gradient(ellipse 42% 80% at 92% 10%, #1c4f8a 0, transparent 68%),
        linear-gradient(122deg, #081422, #0c1b2f 58%, #081720);
    overflow: hidden;
    color: #eef5ff;
}

.sv-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #96bce41f 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 70% 100% at 80% 50%, #000, transparent 74%);
    mask-image: radial-gradient(ellipse 70% 100% at 80% 50%, #000, transparent 74%);
    pointer-events: none;
}

.sv-cta-copy { position: relative; z-index: 1; }
.sv-cta .sv-kicker { color: #8fc6ff; }

.sv-cta h2 {
    margin: 0;
    color: #f5f9ff;
    font-size: clamp(1.65rem, 2.9vw, 2.3rem);
    font-weight: 830;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.sv-cta p {
    max-width: 34rem;
    margin: 14px 0 0;
    color: #a8bdd4;
    font-size: .8rem;
    line-height: 1.75;
}

.sv-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.sv-cta-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin: 18px 0 0;
    color: #829ab4;
    font-size: .6rem;
    font-weight: 650;
}

.sv-cta-note span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sv-cta-note svg { color: #6ee7b7; }

.sv-cta-art {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: 100%;
    max-width: 300px;
}

.sv-cta-art svg {
    display: block;
    width: 100%;
    height: auto;
}

.sv-cta-orbit {
    fill: none;
    stroke: #8db9ed;
    stroke-opacity: .22;
    stroke-width: 1;
    transform-box: fill-box;
    transform-origin: center;
}

.sv-cta.is-running .sv-cta-orbit { animation: sv-spin 40s linear infinite; }
.sv-cta.is-running .sv-cta-orbit.is-rev { animation-direction: reverse; animation-duration: 28s; }

.sv-cta-ring {
    fill: none;
    stroke: url(#svCtaGrad);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 36 250;
}

.sv-cta.is-running .sv-cta-ring { animation: sv-spin 22s linear infinite; }

.sv-cta-node { fill: #0a1525; stroke: #8bbaf5; stroke-width: 1.2; }
.sv-cta-node.is-final { stroke: #7ee4c2; }
.sv-cta-core { fill: #aecfff; }
.sv-cta-core.is-final { fill: #7ee4c2; }

.sv-cta-braces {
    fill: none;
    stroke: #dcecff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Reveal & Bewegung ────────────────────────────────────────────────── */

.sv-js .sv-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s var(--sv-ease), transform .8s var(--sv-ease);
    transition-delay: var(--sv-delay, 0s);
}

.sv-js .sv-reveal.is-in {
    opacity: 1;
    transform: none;
}

@keyframes sv-aurora {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-26px, 22px, 0) scale(1.08); }
}

@keyframes sv-spin { to { transform: rotate(360deg); } }
@keyframes sv-flow { to { stroke-dashoffset: -48; } }
@keyframes sv-progress { from { transform: scaleX(0); } }

@keyframes sv-scan {
    0% { transform: translateY(0); opacity: 0; }
    8% { opacity: .9; }
    88% { opacity: .9; }
    100% { transform: translateY(248px); opacity: 0; }
}

@keyframes sv-pulse {
    0% { opacity: .55; transform: scale(.72); }
    70%, 100% { opacity: 0; transform: scale(1.75); }
}

@keyframes sv-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}

@keyframes sv-ping {
    0% { opacity: .7; transform: scale(.6); }
    72%, 100% { opacity: 0; transform: scale(1.9); }
}

@keyframes sv-drift {
    0%, 100% { transform: translateY(0); opacity: .5; }
    50% { transform: translateY(-7px); opacity: .9; }
}

@keyframes sv-march { to { background-position: 18px 0; } }

@keyframes sv-gauge { to { stroke-dashoffset: 196; } }

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .sv-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .92fr); gap: 30px; }
    .sv-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sv-guides, .sv-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sv-related-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .sv-audit-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .sv-audit-body { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

@media (max-width: 900px) {
    .sv-hero-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 76px; }
    .sv-hero-copy { max-width: 42rem; }
    .sv-stage { max-width: 600px; width: 100%; }
    .sv-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -40px; }
    .sv-failure { grid-template-columns: minmax(0, 1fr); }
    .sv-failure-copy { max-width: 40rem; }
    .sv-report { max-width: 580px; }
    .sv-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sv-audit-body { grid-template-columns: minmax(0, 1fr); }
    .sv-audit-report { border-right: 0; border-bottom: 1px solid #8db3dc1f; }
    .sv-audit-score { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px; }
    .sv-gauge { flex: 0 0 190px; }
    .sv-audit-tally { flex: 1 1 220px; max-width: none; }
    .sv-audit-note { flex: 1 1 100%; max-width: none; text-align: left; }
    .sv-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .sv-steps::before {
        top: 0;
        bottom: 0;
        left: 19px;
        right: auto;
        width: 1px;
        height: auto;
        background-image: linear-gradient(180deg, #8aa6c455 50%, transparent 50%);
        background-size: 1px 9px;
        animation: sv-march-y 2.6s linear infinite;
    }
    .sv-step { padding-top: 0; padding-left: 60px; }
    .sv-step-node { top: 0; left: 0; }
    .sv-step-icon { top: 2px; right: 0; }
    .sv-scope { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .sv-why { grid-template-columns: minmax(0, 1fr); }
    .sv-why-copy { max-width: 40rem; }
    .sv-cta { grid-template-columns: minmax(0, 1fr); }
    .sv-cta-art { display: none; }
}

@keyframes sv-march-y { to { background-position: 0 18px; } }

@media (max-width: 700px) {
    .sv-shell { width: min(100% - 32px, 1200px); }
    .sv-hero.vs-band-top { padding-top: 10px; }
    .sv-hero-grid { padding-top: 22px; padding-bottom: 64px; }
    .sv-hero h1 { font-size: clamp(2.25rem, 9.6vw, 3.1rem); }
    .sv-hero-lede { font-size: .88rem; line-height: 1.8; }
    .sv-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
    .sv-btn { width: 100%; }
    .sv-hero-facts { gap: 7px 14px; font-size: .6rem; }
    .sv-stage-caption { align-items: flex-start; }
    .sv-stage-replay { margin-left: 0; }
    .sv-metrics { gap: 9px; margin-top: -32px; }
    .sv-metric { min-height: 0; padding: 16px 14px; gap: 10px; }
    .sv-metric-icon { flex-basis: 32px; width: 32px; height: 32px; }
    .sv-metric-value { font-size: 1.18rem; }
    .sv-metric-label { font-size: .64rem; }
    .sv-metric-note { font-size: .57rem; }
    .sv-section-head { display: block; margin-bottom: 26px; }
    .sv-section-head .sv-lede { margin-top: 14px; }
    .sv-checks { grid-template-columns: minmax(0, 1fr); }
    .sv-check { min-height: 0; }
    .sv-audit-report { padding: 16px; }
    .sv-audit-score { padding: 20px 16px; }
    .sv-gauge { flex-basis: 160px; }
    .sv-audit-bar { padding: 11px 16px; }
    .sv-audit-foot { padding: 10px 16px; }
    .sv-guides, .sv-related { grid-template-columns: minmax(0, 1fr); }
    .sv-scope { padding: 20px; }
    .sv-scope-list { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .sv-step { padding-left: 52px; }
    .sv-step-icon { display: none; }
    .sv-faq-a { padding-right: 12px; }
    .sv-cta { padding: 26px 20px; border-radius: 18px; }
    .sv-cta-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .sv-types { grid-template-columns: minmax(0, 1fr); }
    .sv-type { min-height: 0; }
    .sv-code { font-size: .58rem; padding: 13px 12px; }
    .sv-code-line { gap: 9px; }
    .sv-finding { flex-wrap: wrap; padding: 10px 13px; }
    .sv-finding-tag { margin-left: 17px; }
    .sv-report-bar { padding: 0 13px; }
}

@media (max-width: 480px) {
    .sv-metrics { grid-template-columns: minmax(0, 1fr); margin-top: -26px; }
    .sv-metric { align-items: center; }
    .sv-stage-caption { font-size: .56rem; }
    .sv-stage-meta { display: none; }
    .sv-audit-score { flex-direction: column; align-items: stretch; }
    .sv-gauge { align-self: center; }
    .sv-audit-block-head { flex-wrap: wrap; }
    .sv-audit-count { margin-left: 36px; }
    .sv-step { padding-left: 48px; }
    .sv-faq-item summary { font-size: .78rem; }
}

/* ══ Gemeinsames Werkzeug-Template (/tools/<slug>) ══════════════════════ */

.td-page .sv-hero {
    background:
        radial-gradient(ellipse 46% 55% at 84% 10%, color-mix(in srgb, var(--td-accent, #3f8fe8) 34%, transparent) 0, transparent 70%),
        radial-gradient(ellipse 38% 48% at 6% 106%, #0d4a54 0, transparent 72%),
        linear-gradient(122deg, #060d19 0%, #0b1729 54%, #081421 100%);
}

.td-page .sv-hero-glow-a {
    background: radial-gradient(circle, var(--td-accent, #3f8fe8), transparent 66%);
}

.td-page .sv-hero h1 {
    font-size: clamp(2.1rem, 3.6vw, 3.05rem);
    line-height: 1.02;
    text-wrap: balance;
}

.td-eyebrow-dot {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--td-accent, #7dd3fc);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--td-accent, #7dd3fc) 16%, transparent),
                0 0 10px color-mix(in srgb, var(--td-accent, #7dd3fc) 65%, transparent);
}

.td-hero-id {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.td-hero-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: #ffffff;
    box-shadow: inset 0 1px #ffffff30,
                0 14px 26px -14px color-mix(in srgb, var(--td-accent, #2f79e8) 80%, transparent);
}

.td-hero-id p {
    margin: 5px 0 0;
    color: #91a7c0;
    font-size: .62rem;
    line-height: 1.5;
}

.td-plan {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border: 1px solid #ffffff26;
    border-radius: 999px;
    color: #edf5ff;
    background: #ffffff0d;
    font-size: .52rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.td-plan::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--td-accent, #7dd3fc);
}

.td-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    align-items: start;
    gap: clamp(30px, 4.6vw, 64px);
}

.td-prose p {
    max-width: 35rem;
    margin: 16px 0 0;
    color: var(--sv-body);
    font-size: .86rem;
    line-height: 1.85;
}

.td-prose p code {
    padding: 1px 5px;
    border: 1px solid var(--sv-line);
    border-radius: 4px;
    color: var(--sv-body);
    background: var(--sv-panel-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .9em;
}

.td-aside {
    padding: 22px;
    border: 1px solid var(--sv-line);
    border-radius: 16px;
    background: linear-gradient(150deg, var(--sv-panel), var(--sv-panel-soft));
}

.td-aside-head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.td-aside-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid color-mix(in srgb, var(--td-accent, #2f79e8) 28%, var(--sv-line));
    border-radius: 11px;
    color: color-mix(in srgb, var(--td-accent, #2f79e8) 72%, #0b1526);
    background: color-mix(in srgb, var(--td-accent, #2f79e8) 7%, var(--sv-panel));
}

.dark .td-aside-icon { color: color-mix(in srgb, var(--td-accent, #2f79e8) 60%, #ffffff); }

.td-aside-head .sv-kicker { margin-bottom: 4px; }

.td-aside-head h3 {
    margin: 0;
    color: var(--sv-ink);
    font-size: .9rem;
    font-weight: 820;
    letter-spacing: -.015em;
}

.td-aside-list {
    margin: 16px 0 0;
    padding: 0;
    border-top: 1px solid var(--sv-line);
}

.td-aside-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--sv-line);
}

.td-aside-list dt {
    color: var(--sv-muted);
    font-size: .6rem;
}

.td-aside-list dd {
    margin: 0;
    color: var(--sv-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .64rem;
    font-weight: 750;
    text-align: right;
}

.td-aside-note {
    margin: 14px 0 0;
    color: var(--sv-muted);
    font-size: .62rem;
    line-height: 1.6;
}

.td-aside-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    color: var(--sv-blue);
    font-size: .64rem;
    font-weight: 800;
    transition: gap .22s var(--sv-ease), color .2s ease;
}

.td-aside-link:hover { gap: 9px; }

.td-checks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.td-check-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid color-mix(in srgb, var(--td-accent, #2f79e8) 28%, var(--sv-line));
    border-radius: 12px;
    color: var(--sv-blue);
    background: color-mix(in srgb, var(--td-accent, #2f79e8) 7%, var(--sv-panel));
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .04em;
    transition: transform .3s var(--sv-ease), border-color .3s ease;
}

.sv-check:hover .td-check-mark {
    transform: translateY(-1px) scale(1.04);
    border-color: color-mix(in srgb, var(--td-accent, #2f79e8) 50%, var(--sv-line));
}

.td-quote {
    position: relative;
    padding: 24px;
    border: 1px solid var(--sv-line);
    border-radius: 16px;
    background:
        radial-gradient(ellipse 70% 60% at 100% 0, color-mix(in srgb, var(--td-accent, #2f79e8) 8%, transparent), transparent 70%),
        linear-gradient(150deg, var(--sv-panel), var(--sv-panel-soft));
    overflow: hidden;
}

.td-quote-mark {
    position: absolute;
    top: 2px;
    right: 18px;
    color: color-mix(in srgb, var(--td-accent, #2f79e8) 22%, transparent);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.td-quote-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid color-mix(in srgb, var(--td-accent, #2f79e8) 26%, var(--sv-line));
    border-radius: 10px;
    color: var(--sv-blue);
    background: color-mix(in srgb, var(--td-accent, #2f79e8) 7%, var(--sv-panel));
}

.td-quote-text {
    margin: 16px 0 0;
    color: var(--sv-ink);
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.65;
    letter-spacing: -.01em;
}

.td-quote-meta {
    display: block;
    margin-top: 12px;
    color: var(--sv-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.td-page .sv-stage-legend i.is-block { box-shadow: 0 0 0 3px #ffffff12; }

@media (max-width: 1080px) {
    .td-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .td-intro { grid-template-columns: minmax(0, 1fr); }
    .td-aside { max-width: 540px; }
    .td-page .sv-hero h1 { font-size: clamp(2.1rem, 5.4vw, 2.9rem); }
}

@media (max-width: 700px) {
    .td-checks { grid-template-columns: minmax(0, 1fr); }
    .td-hero-id { align-items: flex-start; }
    .td-hero-icon { flex-basis: 40px; width: 40px; height: 40px; }
    .td-quote { padding: 20px; }
}

/* Puls-Ringe an den Knoten der generischen Werkzeug-Bühne. */
.sv-node-ping {
    transform-box: fill-box;
    transform-origin: center;
}

.sv-stage.is-running .sv-node-ping {
    animation: sv-node-ping 3.4s ease-out infinite;
}

@keyframes sv-node-ping {
    0%   { transform: scale(.72); opacity: .85; }
    72%,
    100% { transform: scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sv-stage.is-running .sv-node-ping { animation: none; }
}

/* ── Reduzierte Bewegung ──────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .sv-page *,
    .sv-page *::before,
    .sv-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .sv-js .sv-reveal { opacity: 1; transform: none; }
    .sv-gauge-arc { stroke-dashoffset: 196; }
}
