:root {
        --brand: #1ca67f;
        --mint: #23d9a5;
        --bg-deep: #f5f7f6;
        --bg-mid: #ffffff;
        --glass: rgb(0 0 0 / 4%);
        --glass-border: rgb(0 0 0 / 8%);
        --text: #0f1412;
        --text-muted: #6b7280;
        --card: #ffffff;
        --card-text: #0f1412;
        --card-muted: #4a5753;
        --radius: 16px;
        --shadow: 0 4px 24px rgb(0 0 0 / 8%);
        --space-xs: 0.4rem;
        --space-sm: 0.6rem;
        --space-md: 1rem;
        --space-lg: 1.35rem;
        --space-xl: 1.85rem;
        /* --content-max: 1040px; */
        --content-max: 1024px;
        --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
        --dur: 0.28s;
        --header-mint: 35 217 165;
        --type-sm: 0.875rem;
        --type-md: 0.875rem;
        --type-btn: 0.9375rem;
        --type-h2: 1.125rem;
        --type-h1: 1.375rem;
        --type-score-num: 1.75rem;
      }

      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }

      html {
        scroll-padding-top: 3.75rem;
      }

      body {
        margin: 0;
        font-family: Inter, system-ui, sans-serif;
        font-size: var(--type-md);
        line-height: 1.55;
        color: var(--text);
        background: #f5f7f6;
        min-height: 100vh;
        overflow-x: hidden;
      }

      a {
        color: var(--brand);
        text-decoration: none;
      }

      a:hover {
        text-decoration: underline;
      }

      .skip {
        position: absolute;
        left: -9999px;
        top: 0;
        padding: 0.75rem 1rem;
        background: #000;
        color: #fff;
        font-size: var(--type-md);
        z-index: 999;
      }

      .skip:focus {
        left: 1rem;
        top: 1rem;
      }

      .wrap {
        width: min(100% - 1.25rem, var(--content-max));
        margin: 0 auto;
        padding: var(--space-sm) 0 var(--space-lg);
        margin-top: 12px;
      }

      .breadcrumb {
        margin: 0 0 var(--space-sm);
        font-size: var(--type-sm);
        line-height: 1.4;
        letter-spacing: 0.02em;
        color: #9ca3af;
      }

      .breadcrumb a {
        color: var(--brand);
        text-decoration: none;
        transition: color var(--dur) var(--ease-out);
      }

      .breadcrumb a:hover {
        color: var(--mint);
        text-decoration: underline;
      }

      .breadcrumb-sep {
        display: inline-block;
        padding: 0 0.4rem;
        color: #d1d5db;
        font-weight: 400;
        user-select: none;
      }

      .breadcrumb-current {
        color: #0f1412;
        font-weight: 600;
      }

      /* —— Header: zwei Karten (Profil + Score) —— */
      .hero-glass {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        animation: heroIn 0.55s var(--ease-out) both;
      }

      @keyframes heroIn {
        from {
          opacity: 0;
          transform: translateY(12px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .hero-two-cards {
        display: grid;
        gap: var(--space-md);
        grid-template-columns: 1fr;
        min-width: 0;
      }

      @media (min-width: 900px) {
        .hero-two-cards {
          grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
          align-items: stretch;
        }
      }

      .header-card {
        position: relative;
        border-radius: 20px;
        padding: 1.5rem 1.5rem 1.35rem;
        background: #ffffff;
        border: 1px solid rgb(28 166 127 / 22%);
        box-shadow: 0 4px 24px rgb(0 0 0 / 8%), 0 0 0 1px rgb(28 166 127 / 6%);
        overflow: hidden;
        min-width: 0;
      }

      .header-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(
          90deg,
          rgb(var(--header-mint) / 55%),
          #23d9a5,
          rgb(28 166 127 / 90%)
        );
        opacity: 1;
      }

      .header-card--score {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
      }

      .header-profile-row {
        display: flex;
        gap: var(--space-md);
        align-items: flex-start;
        min-width: 0;
      }

      /* Quadratisches Unternehmenslogo */
      .header-company-logo {
        width: 5.25rem;
        height: 5.25rem;
        aspect-ratio: 1;
        border-radius: 16px;
        background: linear-gradient(145deg, #fff 0%, #e8e8e8 100%);
        border: 2px solid rgb(35 217 165 / 28%);
        box-shadow: 0 0 0 1px rgb(35 217 165 / 12%), 0 6px 20px rgb(0 0 0 / 10%);
        display: grid;
        place-items: center;
        font-size: var(--type-sm);
        font-weight: 800;
        color: #c41e3a;
        text-align: center;
        line-height: 1.15;
        flex-shrink: 0;
        padding: 0.35rem;
        box-sizing: border-box;
      }

      @media (min-width: 640px) {
        .header-company-logo {
          width: 6rem;
          height: 6rem;
        }
      }

      .header-profile-text {
        min-width: 0;
        flex: 1;
      }

      .header-profile-text h1 {
        margin: 0 0 0.4rem;
        font-size: var(--type-h1);
        font-weight: 800;
        letter-spacing: -0.035em;
        line-height: 1.15;
        color: #0f1412;
      }

      /* Label / Badge über der H1 */
      .header-profile-role {
        display: inline-flex;
        align-items: center;
        margin: 0 0 0.45rem;
        padding: 0.28rem 0.7rem;
        border-radius: 999px;
        width: fit-content;
        max-width: 100%;
        font-size: var(--type-sm);
        font-weight: 600;
        letter-spacing: 0.03em;
        line-height: 1.25;
        color: #127a5c;
        background: rgb(var(--header-mint) / 12%);
        border: 1px solid rgb(var(--header-mint) / 30%);
      }

      .header-profile-address {
        margin: 0;
        font-size: var(--type-md);
        line-height: 1.55;
        letter-spacing: 0.01em;
        color: #6b7280;
        max-width: 44ch;
      }

      .header-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-top: 1rem;
        justify-content: flex-start;
      }

      .header-tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        min-height: 34px;
        padding: 0.25rem 0.65rem;
        border-radius: 999px;
        font-size: var(--type-sm);
        font-weight: 600;
        letter-spacing: 0.03em;
        color: #127a5c;
        background: rgb(var(--header-mint) / 10%);
        border: 1px solid rgb(var(--header-mint) / 25%);
        cursor: pointer;
        font-family: inherit;
        transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
      }

      .header-tag svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        opacity: 0.95;
      }

      .header-tag .header-tag-icon-stroke {
        stroke: currentColor;
      }

      .header-tag:hover {
        background: rgb(var(--header-mint) / 18%);
        border-color: rgb(var(--header-mint) / 42%);
      }

      .header-tag:focus-visible {
        outline: 2px solid var(--mint);
        outline-offset: 2px;
      }

      .header-actions-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
        margin-top: 1.25rem;
      }

      @media (max-width: 520px) {
        .header-actions-row {
          grid-template-columns: 1fr;
        }
      }

      .btn-header-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        min-height: 48px;
        padding: 0 1rem;
        border-radius: 12px;
        border: none;
        font-size: var(--type-btn);
        font-weight: 700;
        font-family: inherit;
        color: #fff;
        cursor: pointer;
        text-decoration: none;
        background: linear-gradient(95deg, #148060 0%, var(--brand) 42%, #1cad88 78%, var(--mint) 100%);
        box-shadow: 0 4px 22px rgb(28 166 127 / 38%);
        transition: filter var(--dur) var(--ease-out), transform 0.2s var(--ease-out);
      }

      .btn-header-primary:hover {
        filter: brightness(1.06);
        text-decoration: none;
      }

      .btn-header-primary:active {
        transform: scale(0.99);
      }

      .btn-header-primary:focus-visible {
        outline: 2px solid var(--mint);
        outline-offset: 3px;
      }

      .btn-header-primary svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
      }

      .btn-header-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        min-height: 48px;
        padding: 0 1rem;
        border-radius: 12px;
        border: 1px solid rgb(var(--header-mint) / 35%);
        font-size: var(--type-btn);
        font-weight: 600;
        font-family: inherit;
        color: #127a5c;
        background: rgb(var(--header-mint) / 8%);
        cursor: pointer;
        text-decoration: none;
        transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
      }

      .btn-header-secondary:hover {
        background: rgb(var(--header-mint) / 15%);
        border-color: rgb(var(--header-mint) / 50%);
        text-decoration: none;
      }

      .btn-header-secondary:focus-visible {
        outline: 2px solid var(--mint);
        outline-offset: 3px;
      }

      .btn-header-secondary svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
      }

      button.btn-header-secondary {
        appearance: none;
        -webkit-appearance: none;
        border-style: solid;
      }

      .header-card-stats {
        margin-top: 1.25rem;
        padding-top: 1.1rem;
        border-top: 1px solid rgb(var(--header-mint) / 18%);
      }

      .header-stats-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.65rem 0.85rem;
        font-size: var(--type-sm);
        line-height: 1.4;
      }

      .header-stat-part {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        min-width: 0;
        color: #9ca3af;
      }

      .header-stat-part svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        color: var(--brand);
        opacity: 0.95;
      }

      .header-stat-label {
        font-weight: 500;
        letter-spacing: 0.03em;
      }

      .header-stat-val {
        color: #0f1412;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
      }

      .header-stat-divider {
        color: #d1d5db;
        font-weight: 300;
        user-select: none;
        padding: 0 0.1rem;
      }

      @media (max-width: 520px) {
        .header-stats-row {
          flex-direction: column;
          gap: 0.5rem;
        }

        .header-stat-divider {
          display: none;
        }
      }

      /* Score-Panel (rechte Karte): Ring oben, Text darunter */
      .score-panel {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
        padding: 0.1rem 0 0;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
      }

      .score-ring-wrap {
        position: relative;
        width: 132px;
        height: 132px;
        flex-shrink: 0;
      }

      @media (min-width: 640px) {
        .score-ring-wrap {
          width: 148px;
          height: 148px;
        }
      }

      .score-ring-svg {
        width: 100%;
        height: 100%;
        display: block;
        filter: drop-shadow(0 0 12px rgb(var(--header-mint) / 30%));
      }

      .score-ring-arc {
        animation: scoreRingDraw 1.05s var(--ease-out) 0.15s both;
      }

      @keyframes scoreRingDraw {
        from {
          stroke-dashoffset: 100;
        }
        to {
          stroke-dashoffset: 28.6;
        }
      }

      .score-ring-center {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        pointer-events: none;
      }

      .score-hero-num {
        font-size: var(--type-score-num);
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 0.95;
        color: #0f1412;
        font-variant-numeric: tabular-nums;
      }

      .score-panel__aside {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.28rem;
        min-width: 0;
        width: 100%;
        text-align: center;
      }

      .score-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.28rem;
        width: 100%;
      }

      .score-stack-line {
        margin: 0;
        font-size: var(--type-sm);
        line-height: 1.25;
        letter-spacing: 0.02em;
        font-weight: 500;
        color: #9ca3af;
      }

      .score-tier-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0.22rem 0.55rem;
        border-radius: 6px;
        font-size: var(--type-sm);
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #127a5c;
        background: rgb(var(--header-mint) / 12%);
        border: 1px solid rgb(var(--header-mint) / 35%);
      }

      .score-stack-link {
        margin: 0.12rem 0 0;
        font-size: var(--type-sm);
        font-weight: 600;
        letter-spacing: 0.02em;
        color: var(--brand);
        text-decoration: none;
        align-self: center;
      }

      .score-stack-link:hover {
        text-decoration: underline;
      }

      .score-stack-link:focus-visible {
        outline: 2px solid var(--mint);
        outline-offset: 3px;
        border-radius: 4px;
      }

      .btn-score-dossier {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        margin-top: 0.65rem;
        width: 100%;
        max-width: 17.5rem;
        padding: 0.55rem 0.9rem;
        border-radius: 10px;
        font-size: var(--type-sm);
        font-weight: 600;
        font-family: inherit;
        line-height: 1.2;
        color: #127a5c;
        background: rgb(var(--header-mint) / 10%);
        border: 1px solid rgb(var(--header-mint) / 35%);
        text-decoration: none;
        cursor: pointer;
        transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
          filter var(--dur) var(--ease-out);
      }

      .btn-score-dossier:hover {
        background: rgb(var(--header-mint) / 18%);
        text-decoration: none;
        filter: brightness(1.05);
      }

      .btn-score-dossier:focus-visible {
        outline: 2px solid var(--mint);
        outline-offset: 3px;
      }

      .btn-score-dossier__ico {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
      }

      .btn-score-dossier__spinner {
        animation: sdxSpin 0.9s linear infinite;
      }

      @keyframes sdxSpin {
        to { transform: rotate(360deg); }
      }

      .btn-score-dossier.is-downloading {
        opacity: 0.75;
        pointer-events: none;
      }

      @keyframes barGrowScore {
        from {
          transform: scaleX(0.08);
        }
        to {
          transform: scaleX(1);
        }
      }

      /* —— Tabs (Pills + sticky) —— */
      .tabs-wrap {
        position: sticky;
        top: 0;
        z-index: 50;
        margin: var(--space-md) 0 var(--space-sm);
        padding: 0.55rem 0;
        min-width: 0;
        max-width: 100%;
        /* background: #f5f7f6; */
        /* border-bottom: 1px solid #e5e7eb; */
        /* box-shadow: 0 2px 8px rgba(0,0,0,0.06); */
      }

      .tabs-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        height: 100%;
        background: linear-gradient(to right, transparent, #f5f7f6);
        pointer-events: none;
        z-index: 1;
      }

      .tabs-scroll {
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        user-select: none;
      }

      .tabs-scroll::-webkit-scrollbar {
        display: none;
      }

      .tabs-scroll.is-dragging {
        cursor: grabbing;
      }

      .tabs-scroll.is-dragging .tabs__link {
        pointer-events: none;
      }

      .tabs {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.4rem;
        margin: 0;
        padding: 5px;
        width: max-content;
        max-width: none;
      }

      .tabs__link {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.32rem 0.65rem;
        border-radius: 999px;
        font-size: var(--type-sm);
        font-weight: 600;
        letter-spacing: 0.02em;
        line-height: 1.25;
        color: #6b7280;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        cursor: pointer;
        transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
          color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
      }

      .tabs__ico {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        opacity: 0.88;
      }

      .tabs__link:hover {
        color: #0f1412;
        background: #f5f7f6;
        border-color: #d1d5db;
        text-decoration: none;
      }

      .tabs__link:focus-visible {
        outline: 2px solid var(--mint);
        outline-offset: 2px;
      }

      .tabs__link[aria-current="true"] {
        color: #127a5c;
        /* background: rgb(var(--header-mint) / 12%); */
        border-color: rgb(var(--header-mint) / 40%);
        box-shadow: 0 0 0 1px rgb(var(--header-mint) / 10%);
      }

      .tabs__link[aria-current="true"] .tabs__ico {
        opacity: 1;
        color: var(--brand);
      }

      /* —— Bento —— */
      .bento {
        display: grid;
        gap: var(--space-sm);
        grid-template-columns: 1fr;
      }

      @media (min-width: 1100px) {
        .bento {
          grid-template-columns: 1fr 1.05fr 0.95fr;
          align-items: start;
          gap: var(--space-md);
        }
      }

      .col {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
      }

      .bento-full {
        grid-column: 1 / -1;
      }

      /* Kurzfassung: volle Breite, kompakt, Mint-Akzent */
      .card--kurzfassung {
        position: relative;
        overflow: hidden;
        padding: var(--space-sm) var(--space-md);
        background: linear-gradient(165deg, rgb(35 217 165 / 8%) 0%, #ffffff 50%, #fafcfb 100%);
        border: 1px solid rgb(28 166 127 / 20%);
        box-shadow: 0 6px 28px rgb(28 166 127 / 8%), var(--shadow);
      }

      @media (min-width: 640px) {
        .card--kurzfassung {
          padding: var(--space-md);
        }
      }

      .card--kurzfassung::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(
          90deg,
          rgb(var(--header-mint) / 55%),
          #23d9a5,
          rgb(28 166 127 / 90%)
        );
      }

      .card--kurzfassung::after {
        content: "";
        position: absolute;
        inset: -35% -15% auto 55%;
        height: 88px;
        background: linear-gradient(
          105deg,
          transparent 0%,
          rgb(35 217 165 / 6%) 45%,
          transparent 70%
        );
        animation: kurzfassSheen 7s ease-in-out infinite;
        pointer-events: none;
      }

      @keyframes kurzfassSheen {
        0%,
        100% {
          opacity: 0.35;
          transform: translateX(-12%) rotate(0deg);
        }
        50% {
          opacity: 0.85;
          transform: translateX(8%) rotate(0.5deg);
        }
      }

      @media (prefers-reduced-motion: reduce) {
        .card--kurzfassung::after {
          animation: none;
          opacity: 0.4;
        }
      }

      .kurzfass-head {
        position: relative;
        z-index: 1;
        margin-bottom: 0.65rem;
      }

      .card--kurzfassung .kurzfass-head h2 {
        margin: 0 0 0.35rem;
      }

      .kurzfass-lead {
        margin: 0;
        max-width: 70ch;
        font-size: var(--type-md);
        line-height: 1.45;
        color: var(--card-muted);
        font-weight: 500;
      }

      .kurzfass-grid {
        position: relative;
        z-index: 1;
        display: grid;
        gap: 0.65rem;
        margin-bottom: 0;
      }

      @media (min-width: 900px) {
        .kurzfass-grid {
          grid-template-columns: repeat(3, minmax(0, 1fr));
          align-items: stretch;
        }
      }

      .kurzfass-block {
        display: flex;
        gap: 0.55rem;
        min-width: 0;
        padding: 0.65rem 0.75rem;
        border-radius: 12px;
        background: rgb(255 255 255 / 96%);
        border: 1px solid rgb(28 166 127 / 12%);
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 85%), 0 2px 10px rgb(15 20 18 / 4%);
        align-items: flex-start;
      }

      .kurzfass-block .prose {
        margin: 0;
        line-height: 1.5;
      }

      .kurzfass-block .prose strong:first-of-type {
        display: block;
        margin-bottom: 0.25rem;
        font-size: var(--type-sm);
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--brand);
      }

      .kurzfass-ico {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: rgb(35 217 165 / 12%);
        border: 1px solid rgb(28 166 127 / 18%);
        color: var(--brand);
      }

      .kurzfass-ico svg {
        width: 19px;
        height: 19px;
      }

      /* FAQ: Akkordeon, volle Breite */
      .faq-list {
        margin-top: 0.25rem;
      }

      .faq-item {
        border-bottom: 1px solid #eef1f0;
      }

      .faq-item:last-of-type {
        border-bottom: none;
      }

      .faq-q {
        cursor: pointer;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.6rem 0;
        font-size: var(--type-md);
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--card-text);
      }

      .faq-q::-webkit-details-marker {
        display: none;
      }

      .faq-q::after {
        content: "";
        flex-shrink: 0;
        width: 1.1rem;
        height: 1.1rem;
        border-right: 2px solid var(--brand);
        border-bottom: 2px solid var(--brand);
        transform: rotate(45deg) translate(-2px, -2px);
        opacity: 0.75;
        transition: transform var(--dur) var(--ease-out);
      }

      .faq-item[open] .faq-q::after {
        transform: rotate(225deg) translate(-2px, -2px);
      }

      .faq-q:focus-visible {
        outline: 2px solid var(--brand);
        outline-offset: 2px;
        border-radius: 6px;
      }

      .faq-a {
        margin: 0;
        padding: 0 0 0.65rem;
      }

      .card {
        background: var(--card);
        color: var(--card-text);
        border-radius: var(--radius);
        padding: var(--space-sm) var(--space-md);
        box-shadow: var(--shadow);
        border: 1px solid rgb(15 20 18 / 6%);
        animation: cardIn 0.45s var(--ease-out) both;
        transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
      }

      .card:nth-child(1) {
        animation-delay: 0.05s;
      }

      .card:nth-child(2) {
        animation-delay: 0.1s;
      }

      .card:nth-child(3) {
        animation-delay: 0.14s;
      }

      .metric-stack .card {
        animation-delay: 0s;
      }

      .metric-stack .card:nth-child(1) {
        animation-delay: 0.06s;
      }

      .metric-stack .card:nth-child(2) {
        animation-delay: 0.1s;
      }

      .metric-stack .card:nth-child(3) {
        animation-delay: 0.14s;
      }

      .metric-stack .card:nth-child(n + 4) {
        animation-delay: 0.18s;
      }

      @keyframes cardIn {
        from {
          opacity: 0;
          transform: translateY(10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @media (hover: hover) and (pointer: fine) {
        .card:hover {
          box-shadow: 0 8px 32px rgb(0 0 0 / 10%);
        }
      }

      /* Profil-Karte (erste Inhalts-Card) */
      .card--profile {
        padding: var(--space-md);
        background: linear-gradient(180deg, #ffffff 0%, #fafcfb 100%);
      }

      .profile-card__top {
        display: flex;
        gap: var(--space-sm);
        align-items: center;
        margin-bottom: var(--space-sm);
        padding-bottom: var(--space-sm);
        border-bottom: 1px solid #eef1f0;
      }

      @media (max-width: 479px) {
        .profile-card__top {
          flex-direction: column;
          align-items: flex-start;
        }
      }

      .profile-eyebrow {
        margin: 0 0 0.25rem;
        font-size: var(--type-sm);
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--brand);
      }

      .card h2.profile-name {
        margin: 0 0 var(--space-sm);
        font-weight: 800;
        letter-spacing: -0.03em;
        color: var(--card-text);
      }

      .profile-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        list-style: none;
        margin: 0;
        padding: 0;
      }

      .chip {
        display: inline-flex;
        align-items: center;
        padding: 0.3rem 0.65rem;
        font-size: var(--type-sm);
        font-weight: 600;
        color: var(--brand-muted, #127a5c);
        background: rgb(35 217 165 / 12%);
        /* border-radius: 999px; */
        border-radius: 10px;
        border: 1px solid rgb(28 166 127 / 18%);
      }

      .profile-meta-mini {
        display: grid;
        gap: 0.5rem;
        margin-top: var(--space-sm);
        font-size: var(--type-md);
        color: var(--card-muted);
      }

      @media (min-width: 520px) {
        .profile-meta-mini {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      .card h2,
      .card h3 {
        margin: 0 0 0.5rem;
        font-weight: 700;
        letter-spacing: -0.02em;
      }

      .card h2 {
        font-size: var(--type-h2);
      }

      .card h3 {
        font-size: var(--type-md);
        margin-top: 0.75rem;
      }

      .card p,
      .card .prose {
        margin: 0;
        font-size: var(--type-md);
        color: var(--card-muted);
        line-height: 1.55;
      }

      .card p + p {
        margin-top: 0.5rem;
      }

      .kv {
        font-size: var(--type-md);
      }

      .kv dt {
        color: var(--card-muted);
        font-weight: 500;
        margin-top: 0.5rem;
      }

      .kv dt:first-child {
        margin-top: 0;
      }

      .kv dd {
        margin: 0.15rem 0 0;
        font-weight: 600;
        color: var(--card-text);
      }

      /* Fortschritt — Mini-Card, kräftigere Balken */
      .bar-metric {
        margin-bottom: 0.55rem;
        padding: 0.75rem 0.85rem 0.8rem;
        border-radius: 12px;
        background: linear-gradient(180deg, #fbfbfb 0%, #f5f5f7 100%);
        border: 1px solid rgb(0 0 0 / 5%);
        box-shadow:
          0 1px 2px rgb(0 0 0 / 4%),
          0 4px 12px rgb(0 0 0 / 3%);
      }

      .bar-metric + .bar-metric {
        margin-top: 0.35rem;
      }

      .bar-label {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.65rem;
        margin-bottom: 0.55rem;
        font-size: 0.8125rem;
        font-weight: 500;
        letter-spacing: -0.01em;
        color: #6e6e73;
      }

      .bar-label span:first-child {
        line-height: 1.3;
      }

      .bar-label span:last-child {
        flex-shrink: 0;
        font-size: 1rem;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        letter-spacing: -0.02em;
        color: #1d1d1f;
      }

      .bar-track {
        --bar-h: 14px;
        height: var(--bar-h);
        min-height: var(--bar-h);
        max-height: var(--bar-h);
        border-radius: 999px;
        background: linear-gradient(180deg, #ececee 0%, #dddde3 100%);
        border: 1px solid rgb(0 0 0 / 7%);
        box-shadow:
          inset 0 1px 2px rgb(0 0 0 / 10%),
          inset 0 -1px 0 rgb(255 255 255 / 35%);
        overflow: hidden;
        box-sizing: border-box;
      }

      .bar-fill {
        display: block;
        height: 100%;
        min-height: 0;
        border-radius: inherit;
        background: linear-gradient(
          180deg,
          rgb(55 210 165) 0%,
          var(--brand) 38%,
          #117a5c 100%
        );
        background-size: 100% 100%;
        box-shadow:
          inset 0 1px 0 rgb(255 255 255 / 42%),
          inset 0 -1px 0 rgb(0 0 0 / 12%);
        transform-origin: left center;
        animation: barGrowScore 0.85s var(--ease-out) 0.12s both;
      }

      .metric-stack .card {
        margin-bottom: 0;
      }

      .mini-table {
        width: 100%;
        font-size: var(--type-sm);
        border-collapse: collapse;
        margin-top: 0.5rem;
      }

      .mini-table th,
      .mini-table td {
        text-align: left;
        padding: 0.35rem 0.25rem;
        border-bottom: 1px solid #eef1f0;
      }

      .mini-table th {
        color: var(--card-muted);
        font-weight: 500;
        width: 48%;
      }

      /* Network diagram */
      .net-svg {
        width: 100%;
        height: auto;
        max-height: 220px;
      }

      .net-svg text {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
        text-rendering: geometricPrecision;
      }

      .net-svg .net-hub__name {
        font-size: 8.25px;
        font-weight: 700;
        letter-spacing: 0.04em;
        fill: #0f1412;
      }

      .net-svg .net-hub__meta {
        font-size: 6.75px;
        font-weight: 600;
        letter-spacing: 0.08em;
        fill: #5c6b66;
      }

      .net-svg .net-sat__label {
        font-size: 7.25px;
        font-weight: 600;
        letter-spacing: 0.06em;
        fill: #2a3a35;
      }

      .net-section-lead {
        max-width: 52ch;
        color: var(--card-muted);
        font-size: var(--type-sm);
        line-height: 1.45;
      }

      /* Nachrichten (Medien-Teaser) */
      .card--news .news-section-lead {
        margin-bottom: 1rem;
        max-width: 60ch;
      }

      .news-tabs-bar {
        display: flex;
        gap: 0.25rem;
        margin-bottom: 1.25rem;
        border-bottom: 1px solid rgb(15 20 18 / 12%);
        padding-bottom: 0;
      }

      .news-tab-btn {
        padding: 0.45rem 1rem;
        font-size: var(--type-sm);
        font-weight: 600;
        font-family: inherit;
        color: var(--card-muted);
        background: none;
        border: none;
        border-bottom: 2px solid transparent;
        margin-bottom: -1px;
        cursor: pointer;
        transition: color 0.18s, border-color 0.18s;
      }

      .news-tab-btn.is-active {
        color: var(--brand);
        border-bottom-color: var(--brand);
      }

      .news-tab-btn:hover:not(.is-active) {
        color: var(--card-text);
      }

      .card--news .news-tab-pane {
        display: none;
      }

      .card--news .news-tab-pane.is-active {
        display: block;
      }

      .news-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }

      .news-item {
        padding: 1rem 1.1rem;
        background: #fafcfb;
        border: 1px solid rgb(15 20 18 / 8%);
        border-radius: 10px;
        transition: border-color 0.18s;
      }

      .news-item:hover {
        border-color: rgb(var(--header-mint) / 40%);
      }

      .news-item__date {
        display: block;
        font-size: 0.75rem;
        color: var(--card-muted);
        margin-bottom: 0.3rem;
      }

      .news-item__title {
        margin: 0 0 0.35rem;
        font-size: var(--type-sm);
        font-weight: 600;
        line-height: 1.4;
      }

      .news-item__title a {
        color: var(--card-text);
        text-decoration: none;
      }

      .news-item__title a:hover {
        color: var(--brand);
      }

      .news-item__excerpt {
        margin: 0;
        font-size: 0.8125rem;
        color: var(--card-muted);
        line-height: 1.5;
      }

      .news-pagination {
        margin-top: 1.25rem;
      }

      .news-pagination .page-numbers {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 2rem;
        height: 2rem;
        padding: 0 0.5rem;
        margin: 0 0.15rem;
        font-size: var(--type-sm);
        font-weight: 500;
        border-radius: 6px;
        cursor: pointer;
        color: var(--card-text);
        background: #f5f7f6;
        border: 1px solid #e5e7eb;
        transition: background 0.15s, border-color 0.15s;
      }

      .news-pagination .page-numbers li::marker {
        display: none;
        content: "";
      }

      .news-pagination .page-numbers.current {
        background: rgb(var(--header-mint) / 12%);
        border-color: rgb(var(--header-mint) / 40%);
        color: var(--brand);
        cursor: default;
      }

      .news-pagination .page-numbers:hover:not(.current) {
        background: rgb(var(--header-mint) / 8%);
        border-color: rgb(var(--header-mint) / 28%);
      }

      .news-empty {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 4.5rem;
        margin: 0;
        padding: 1.25rem 1rem;
        text-align: center;
        font-size: var(--type-sm);
        font-weight: 500;
        color: var(--card-muted);
        background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
        border: 1px dashed rgb(15 20 18 / 12%);
        border-radius: 12px;
      }

      .news-empty p {
        margin: 0;
      }

      /* Mehrstufige Dialoge (Kontakt / Hinweis) */
      .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

      .modal {
        position: fixed;
        inset: 0;
        z-index: 300;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.22s var(--ease-out), visibility 0.22s;
      }

      .modal.is-open {
        opacity: 1;
        visibility: visible;
      }

      .modal__backdrop {
        position: absolute;
        inset: 0;
        background: rgb(0 0 0 / 40%);
        cursor: pointer;
      }

      .modal__panel {
        position: relative;
        z-index: 1;
        width: min(100%, 440px);
        max-height: min(90vh, 620px);
        overflow-y: auto;
        margin: auto;
        padding: 1.35rem 1.4rem 1.25rem;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 24px 64px rgb(0 0 0 / 16%), 0 0 0 1px rgb(15 20 18 / 6%);
        color: var(--card-text);
      }

      .modal__close {
        position: absolute;
        top: 0.65rem;
        right: 0.65rem;
        width: 2.25rem;
        height: 2.25rem;
        display: grid;
        place-items: center;
        border: none;
        border-radius: 8px;
        background: rgb(0 0 0 / 5%);
        color: var(--card-muted);
        font-size: 1.35rem;
        line-height: 1;
        cursor: pointer;
        transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
      }

      .modal__close:hover {
        background: rgb(0 0 0 / 8%);
        color: var(--card-text);
      }

      .modal__close:focus-visible {
        outline: 2px solid var(--brand);
        outline-offset: 2px;
      }

      .modal__title {
        margin: 0 2rem 0.35rem 0;
        font-size: var(--type-h2);
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--card-text);
      }

      .modal__progress {
        height: 3px;
        border-radius: 999px;
        background: #e8eceb;
        margin-bottom: 1rem;
        overflow: hidden;
      }

      .modal__progress-bar {
        height: 100%;
        width: 33.33%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--brand), var(--mint));
        transition: width 0.25s var(--ease-out);
      }

      .modal__step-label {
        margin: 0 0 0.85rem;
        font-size: var(--type-sm);
        font-weight: 600;
        color: var(--card-muted);
      }

      .modal__pane {
        display: none;
      }

      .modal__pane.is-active {
        display: block;
      }

      .modal__lead {
        margin: 0 0 0.65rem;
        font-size: var(--type-md);
        font-weight: 600;
        color: var(--card-text);
      }

      .modal__fieldset {
        margin: 0;
        padding: 0;
        border: none;
      }

      .modal-option {
        display: flex;
        align-items: flex-start;
        gap: 0.55rem;
        margin-bottom: 0.45rem;
        padding: 0.55rem 0.65rem;
        border-radius: 10px;
        border: 1px solid rgb(15 20 18 / 10%);
        background: #fafcfb;
        cursor: pointer;
        transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
      }

      .modal-option:hover {
        border-color: rgb(28 166 127 / 35%);
        background: rgb(35 217 165 / 6%);
      }

      .modal-option:has(input:checked) {
        border-color: rgb(28 166 127 / 55%);
        background: rgb(35 217 165 / 10%);
      }

      .modal-option input {
        margin: 0.2rem 0 0;
        flex-shrink: 0;
        accent-color: var(--brand);
      }

      .modal-option span {
        font-size: var(--type-sm);
        line-height: 1.4;
        color: var(--card-text);
      }

      .modal__textarea,
      .modal__input {
        width: 100%;
        margin: 0 0 0.65rem;
        padding: 0.55rem 0.65rem;
        font-size: var(--type-md);
        font-family: inherit;
        border: 1px solid rgb(15 20 18 / 12%);
        border-radius: 10px;
        background: #fff;
        color: var(--card-text);
        box-sizing: border-box;
      }

      .modal__textarea {
        min-height: 7rem;
        resize: vertical;
      }

      .modal__textarea:focus-visible,
      .modal__input:focus-visible {
        outline: 2px solid var(--brand);
        outline-offset: 2px;
        border-color: rgb(28 166 127 / 45%);
      }

      .modal__label {
        display: block;
        margin: 0 0 0.3rem;
        font-size: var(--type-sm);
        font-weight: 600;
        color: var(--card-muted);
      }

      .modal__hint {
        margin: -0.45rem 0 0.55rem;
        font-size: 0.8125rem;
        color: var(--card-muted);
      }

      .modal__hint--block {
        margin: 0 0 0.65rem;
        line-height: 1.45;
      }

      .modal__footer {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-end;
        margin-top: 1rem;
        padding-top: 0.85rem;
        border-top: 1px solid #eef1f0;
      }

      .modal__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 1rem;
        border-radius: 10px;
        font-size: var(--type-btn);
        font-weight: 600;
        font-family: inherit;
        cursor: pointer;
        border: 1px solid transparent;
        transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
          color var(--dur) var(--ease-out);
      }

      .modal__btn--ghost {
        color: var(--card-muted);
        background: transparent;
        border-color: rgb(15 20 18 / 12%);
      }

      .modal__btn--ghost:hover {
        background: #f5f5f7;
        color: var(--card-text);
      }

      .modal__btn--primary {
        color: #fff;
        background: linear-gradient(95deg, #148060 0%, var(--brand) 50%, #1cad88 100%);
        border-color: transparent;
        box-shadow: 0 4px 16px rgb(28 166 127 / 28%);
      }

      .modal__btn--primary:hover {
        filter: brightness(1.05);
      }

      .modal__btn:focus-visible {
        outline: 2px solid var(--brand);
        outline-offset: 2px;
      }

      .modal__err {
        display: none;
        margin: 0 0 0.5rem;
        font-size: var(--type-sm);
        font-weight: 600;
        color: #b42318;
      }

      .modal__err.is-visible {
        display: block;
      }

      /* Newsletter + footer */
      .nl {
        margin-top: var(--space-lg);
        padding: var(--space-sm) var(--space-md);
        border-radius: var(--radius);
        background: linear-gradient(135deg, #f0fdf9 0%, #e6faf4 100%);
        border: 1px solid rgb(28 166 127 / 20%);
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        align-items: center;
        justify-content: space-between;
      }

      .nl label {
        font-size: var(--type-md);
        font-weight: 600;
        color: #0f1412;
      }

      .nl-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        flex: 1;
        min-width: 200px;
        justify-content: flex-end;
      }

      .nl input {
        flex: 1;
        min-width: 180px;
        min-height: 44px;
        padding: 0 0.85rem;
        border-radius: 10px;
        border: 1px solid #d1fae5;
        background: #ffffff;
        color: #0f1412;
        font: inherit;
      }

      .nl input::placeholder {
        color: #9ca3af;
      }

      .nl .btn-sub {
        min-height: 44px;
        padding: 0 1.25rem;
        border-radius: 10px;
        border: none;
        background: linear-gradient(180deg, var(--brand), #159670);
        color: #fff;
        font-size: var(--type-btn);
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        transition: filter var(--dur) var(--ease-out), transform 0.2s var(--ease-out);
      }

      .nl .btn-sub:hover {
        filter: brightness(1.06);
      }

      .nl .btn-sub:focus-visible {
        outline: 2px solid var(--mint);
        outline-offset: 3px;
      }

      .nl .btn-sub:active {
        transform: scale(0.98);
      }

      .social {
        display: flex;
        gap: 0.65rem;
      }

      .social a {
        display: grid;
        place-items: center;
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: #f5f7f6;
        border: 1px solid #e5e7eb;
        cursor: pointer;
        transition: background var(--dur) var(--ease-out);
      }

      .social a:hover {
        background: #eef1f0;
      }

      .social a:focus-visible {
        outline: 2px solid var(--mint);
        outline-offset: 3px;
      }

      .social svg {
        width: 18px;
        height: 18px;
        fill: #6b7280;
      }

      .card h3.profile-section-title {
        margin: var(--space-md) 0 var(--space-xs);
        font-size: var(--type-h2);
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--card-text);
      }

      .profile-meta-mini strong {
        display: block;
        font-size: var(--type-sm);
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--card-muted);
        margin-bottom: 0.2rem;
      }

      @media (prefers-reduced-motion: reduce) {
        .hero-glass,
        .card,
        .score-ring-arc,
        .bar-fill {
          animation: none !important;
        }

        .btn-header-primary:active,
        .nl .btn-sub:active {
          transform: none;
        }
      }

      /* ── Network graph light mode ─────────────────────────────── */
      #network-graph {
        height: 320px;
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        overflow: hidden;
      }

      #network-graph svg {
        cursor: move;
        background: #ffffff;
      }

      #network-graph .node .ring {
        fill: transparent !important;
        stroke: none !important;
      }

      #network-graph .relationship .overlay {
        opacity: 0;
      }

      #network-graph .node .outline {
        fill: #1CA67F !important;
        stroke: none !important;
        cursor: default;
      }

      #network-graph .node-highlighted .outline {
        fill: #23D9A5 !important;
      }

      #network-graph .relationship .outline,
      #network-graph .relationship .text {
        fill: #1CA67F !important;
      }

      #network-node-info {
        display: none;
        position: absolute;
        padding: 10px 16px;
        border-radius: 8px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        box-shadow: 0 4px 12px rgba(0,0,0,0.10);
        color: #0f1412;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.5;
        text-align: center;
        pointer-events: none;
        z-index: 9999;
      }

      #network-node-info .sub {
        font-weight: 500;
        font-size: 12px;
        color: #6b7280;
        margin-top: 2px;
      }
