@font-face {
      font-family: 'Space Grotesk';
      src: url('../assets/fonts/space-grotesk-v22-latin-regular.woff2') format('woff2');
      font-weight: 400; font-style: normal; font-display: swap;
    }
    @font-face {
      font-family: 'Space Grotesk';
      src: url('../assets/fonts/space-grotesk-v22-latin-500.woff2') format('woff2');
      font-weight: 500; font-style: normal; font-display: swap;
    }
    @font-face {
      font-family: 'Space Grotesk';
      src: url('../assets/fonts/space-grotesk-v22-latin-700.woff2') format('woff2');
      font-weight: 700; font-style: normal; font-display: swap;
    }
    @font-face {
      font-family: 'Inter';
      src: url('../assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
      font-weight: 400; font-style: normal; font-display: swap;
    }
    @font-face {
      font-family: 'Inter';
      src: url('../assets/fonts/inter-v20-latin-500.woff2') format('woff2');
      font-weight: 500; font-style: normal; font-display: swap;
    }

/* ================================================================
       DESIGN SYSTEM – Wurzelwerk CI
    ================================================================ */
    :root {
      --deep-black:    #0B0F14;
      --dark-graphite: #12181F;
      --brand-green:   #3BA55D;
      --green-light:   #6EDC8C;
      --off-white:     #EAEFF5;
      --blue-accent:   #4DA6FF;
      --muted-grey:    #6B7280;
      --border:        rgba(255,255,255,0.08);
      --card-overlay:  rgba(255,255,255,0.04);
      --shadow-card:   0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.2);
      --glow-green:    0 0 20px rgba(59,165,93,0.3), 0 0 40px rgba(59,165,93,0.1);
      --font-h: 'Space Grotesk', system-ui, sans-serif;
      --font-b: 'Inter', system-ui, sans-serif;
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --sidebar-width: 280px;

      /* Ampelfarben */
      --ampel-red:    #EF4444;
      --ampel-orange: #F97316;
      --ampel-yellow: #EAB308;
      --ampel-green:  #3BA55D;
      --ampel-strong: #6EDC8C;
    }

    /* ================================================================
       LIGHT THEME OVERRIDES
    ================================================================ */
    [data-theme="light"] {
      --deep-black:    #F0F4F8;
      --dark-graphite: #FFFFFF;
      --off-white:     #0D1520;
      --muted-grey:    #6B7280;
      --border:        rgba(0,0,0,0.1);
      --card-overlay:  rgba(0,0,0,0.03);
      --shadow-card:   0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
      --glow-green:    none;
    }

    /* Spezifische Selektoren-Overrides für hardcodierte rgba-Werte */
    [data-theme="light"] body { color: var(--off-white); }
    [data-theme="light"] .nav-link { color: rgba(13,21,32,0.65); }
    [data-theme="light"] .nav-link:hover { color: var(--brand-green); background: rgba(59,165,93,0.08); }
    [data-theme="light"] .nav-link.active { color: var(--brand-green); background: rgba(59,165,93,0.1); }
    [data-theme="light"] .section-header__meta { color: rgba(13,21,32,0.6); }
    [data-theme="light"] .section-header__meta a { color: rgba(13,21,32,0.6); }
    [data-theme="light"] .accordion__trigger { border-color: rgba(0,0,0,0.08); color: rgba(13,21,32,0.85); }
    [data-theme="light"] .accordion__trigger:hover { background: rgba(59,165,93,0.06); border-color: rgba(59,165,93,0.3); }
    [data-theme="light"] .accordion__trigger[open] { border-color: rgba(59,165,93,0.25); background: rgba(59,165,93,0.04); }
    [data-theme="light"] .data-table th { background: rgba(0,0,0,0.04); color: rgba(13,21,32,0.6); border-bottom-color: rgba(0,0,0,0.08); }
    [data-theme="light"] .data-table td { border-bottom-color: rgba(0,0,0,0.06); color: rgba(13,21,32,0.85); }
    [data-theme="light"] .data-table tr:hover td { background: rgba(0,0,0,0.02); }
    [data-theme="light"] .score-circle::before { background: var(--dark-graphite); }
    [data-theme="light"] .pill:not([class*="ampel"]) { background: rgba(0,0,0,0.08); color: rgba(13,21,32,0.65); }
    [data-theme="light"] .report-header { background: linear-gradient(135deg, #FFFFFF 0%, #F0F4F8 100%); }
    [data-theme="light"] .report-header__date { color: rgba(13,21,32,0.6); }
    [data-theme="light"] .report-header__domain { color: rgba(13,21,32,0.7); }
    [data-theme="light"] .score-value { color: var(--off-white); }
    [data-theme="light"] .accordion__box { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
    [data-theme="light"] .accordion__box-label { color: rgba(13,21,32,0.6); }
    [data-theme="light"] .progress-bar { background: rgba(0,0,0,0.1); }
    [data-theme="light"] .massnahmen-table th { background: rgba(0,0,0,0.04); border-bottom-color: rgba(0,0,0,0.08); color: rgba(13,21,32,0.6); }
    [data-theme="light"] .massnahmen-table td { border-bottom-color: rgba(0,0,0,0.05); color: rgba(13,21,32,0.85); }
    [data-theme="light"] .massnahmen-table tr:hover td { background: rgba(0,0,0,0.02); }
    [data-theme="light"] .phase-card__tasks li { color: rgba(13,21,32,0.75); }
    [data-theme="light"] .report-footer { background: var(--dark-graphite); border-top-color: rgba(0,0,0,0.1); }
    [data-theme="light"] .report-footer__logo img { filter: grayscale(1) brightness(0.3); }

    /* --- Kontrast-Fixes Light Mode --- */
    [data-theme="light"] .badge { color: rgba(13,21,32,0.65); background: rgba(0,0,0,0.07); }
    [data-theme="light"] .accordion__box-text { color: rgba(13,21,32,0.75); }
    /* --- Kontrast-Fixes Light Mode — Ergaenzung --- */
    [data-theme="light"] .text-block { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.07); color: rgba(13,21,32,0.8); }
    [data-theme="light"] .text-block p { color: rgba(13,21,32,0.8); }
    [data-theme="light"] .list-styled li { color: rgba(13,21,32,0.8); }
    [data-theme="light"] .phase-card__items li { color: rgba(13,21,32,0.75); }
    [data-theme="light"] .massnahmen-table th { color: rgba(13,21,32,0.6); background: rgba(0,0,0,0.04); }
    [data-theme="light"] .massnahmen-table td { color: rgba(13,21,32,0.85); }
    [data-theme="light"] .massnahmen-table tr:hover td { background: rgba(0,0,0,0.02); }
    [data-theme="light"] .accordion__box { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.07) !important; }
    [data-theme="light"] .accordion__trigger { background: transparent; }
    [data-theme="light"] .data-table th { border-color: rgba(0,0,0,0.08) !important; }
    [data-theme="light"] .data-table td { border-color: rgba(0,0,0,0.06) !important; }
    [data-theme="light"] .score-circle { border-color: rgba(0,0,0,0.08); }
    [data-theme="light"] .pagespeed-circle { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
    [data-theme="light"] .sidebar { border-right-color: rgba(0,0,0,0.1); }
    [data-theme="light"] .phase-card { border-color: rgba(0,0,0,0.08) !important; background: rgba(0,0,0,0.02); }
    [data-theme="light"] .section-header { border-bottom-color: rgba(0,0,0,0.08); }
    [data-theme="light"] .matrix-cell { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); color: rgba(13,21,32,0.65); }
    [data-theme="light"] .cwv-card { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.08); }
    [data-theme="light"] .tab-btn:not(.active) { color: rgba(13,21,32,0.55); }
    [data-theme="light"] .roadmap-item { border-color: rgba(0,0,0,0.07); background: rgba(0,0,0,0.02); }
    [data-theme="light"] .sidebar__nav-label { color: rgba(13,21,32,0.4); }
    [data-theme="light"] .score-card__label { color: rgba(13,21,32,0.65); }
    [data-theme="light"] .score-value__sub { color: rgba(13,21,32,0.45); }
    [data-theme="light"] .progress-bar { background: rgba(0,0,0,0.08); }
    [data-theme="light"] .section-header__meta span { color: rgba(13,21,32,0.55); }
    [data-theme="light"] .summary-text { color: rgba(13,21,32,0.75); }
    [data-theme="light"] .sidebar__score-widget { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); }
    [data-theme="light"] .sidebar__score-label { color: rgba(13,21,32,0.55); }

    /* Theme-Toggle Switch (iOS-Stil) */
    .sidebar__theme-toggle {
      padding: 10px 20px 14px;
      border-bottom: 1px solid var(--border);
    }

    .theme-switch-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      justify-content: center;
      padding: 4px 0;
      user-select: none;
      outline: none;
    }
    .theme-switch-wrap:focus-visible .theme-switch__track {
      outline: 2px solid var(--brand-green);
      outline-offset: 2px;
    }
    .theme-switch__icon { font-size: 15px; line-height: 1; transition: opacity 0.2s; }
    .theme-switch__icon--sun  { opacity: 0.4; }
    .theme-switch__icon--moon { opacity: 1;   }
    [data-theme="light"] .theme-switch__icon--moon { opacity: 0.4; }
    [data-theme="light"] .theme-switch__icon--sun  { opacity: 1;   }

    .theme-switch__track {
      width: 44px;
      height: 24px;
      background: var(--card-overlay);
      border: 1px solid var(--border);
      border-radius: 12px;
      position: relative;
      transition: background 0.25s, border-color 0.25s;
      flex-shrink: 0;
    }
    .theme-switch-wrap:hover .theme-switch__track { border-color: var(--brand-green); }
    [data-theme="light"] .theme-switch__track {
      background: rgba(59,165,93,0.18);
      border-color: var(--brand-green);
    }
    .theme-switch__thumb {
      width: 18px;
      height: 18px;
      background: var(--muted-grey);
      border-radius: 50%;
      position: absolute;
      top: 2px;
      left: 2px;
      transition: transform 0.25s ease, background 0.25s;
    }
    [data-theme="light"] .theme-switch__thumb {
      transform: translateX(20px);
      background: var(--brand-green);
    }

    /* Sanfter Übergang beim Theme-Wechsel */
    body, .sidebar, .report-main, .report-header, .score-card,
    .accordion__item, .accordion__trigger, .data-table, .report-footer {
      transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    /* ================================================================
       RESET & BASE
    ================================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      background: var(--deep-black);
      color: var(--off-white);
      font-family: var(--font-b);
      font-size: 15px;
      line-height: 1.6;
      display: flex;
      min-height: 100vh;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-h);
      font-weight: 700;
      line-height: 1.25;
    }

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

    p { margin-bottom: 0.75em; text-align: justify; hyphens: auto; }
    p:last-child { margin-bottom: 0; }

    ul, ol { padding-left: 1.4em; }
    li { margin-bottom: 0.25em; }

    /* ================================================================
       SIDEBAR
    ================================================================ */
    .sidebar {
      width: var(--sidebar-width);
      min-height: 100vh;
      background: var(--dark-graphite);
      border-right: 1px solid var(--border);
      position: sticky;
      top: 0;
      height: 100vh;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      scrollbar-width: thin;
      scrollbar-color: var(--border) transparent;
    }

    .sidebar__logo {
      padding: 24px 20px 20px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .sidebar__logo img {
      height: 100px;
      width: auto;
    }

    .sidebar__score-widget {
      padding: 20px;
      border-bottom: 1px solid var(--border);
      text-align: center;
    }

    .score-circle {
      width: 88px;
      height: 88px;
      border-radius: 50%;
      background: conic-gradient(var(--brand-green) 0%, var(--dark-graphite) 0%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 10px;
      position: relative;
    }

    .score-circle::before {
      content: '';
      position: absolute;
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: var(--dark-graphite);
    }

    .score-circle__value {
      position: relative;
      z-index: 1;
      font-family: var(--font-h);
      font-size: 20px;
      font-weight: 700;
      color: var(--off-white);
    }

    .score-circle__label {
      font-size: 11px;
      color: var(--muted-grey);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 4px;
    }

    .score-circle__total {
      font-family: var(--font-h);
      font-size: 13px;
      color: var(--brand-green);
      font-weight: 500;
    }

    .sidebar__nav {
      flex: 1;
      padding: 12px 0 20px;
    }

    .sidebar__nav-label {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted-grey);
      padding: 12px 20px 6px;
    }

    .nav-link {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 7px 20px;
      font-size: 12.5px;
      color: rgba(234,239,245,0.6);
      transition: color 0.2s, background 0.2s;
      border-left: 2px solid transparent;
    }

    .nav-link:hover {
      color: var(--off-white);
      background: var(--card-overlay);
    }

    .nav-link.active {
      color: var(--brand-green);
      border-left-color: var(--brand-green);
      background: rgba(59,165,93,0.06);
    }

    .nav-link__num {
      font-size: 10px;
      color: var(--muted-grey);
      font-family: var(--font-h);
      min-width: 18px;
    }

    /* ================================================================
       MAIN CONTENT
    ================================================================ */
    .report-main {
      flex: 1;
      min-width: 0;
      padding: 0 0 80px;
    }

    /* ================================================================
       REPORT HEADER
    ================================================================ */
    .report-header {
      background: var(--dark-graphite);
      border-bottom: 1px solid var(--border);
      padding: 40px 48px;
    }

    .report-header__meta {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .report-header__company {
      font-family: var(--font-h);
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .report-header__domain {
      font-size: 14px;
      color: var(--brand-green);
      margin-bottom: 8px;
    }

    .report-header__tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 11px;
      font-family: var(--font-h);
      font-weight: 500;
      padding: 3px 10px;
      border-radius: 20px;
      border: 1px solid var(--border);
      background: var(--card-overlay);
      color: rgba(234,239,245,0.7);
    }

    .badge--green {
      border-color: rgba(59,165,93,0.4);
      background: rgba(59,165,93,0.08);
      color: var(--brand-green);
    }

    .report-header__analyst {
      text-align: right;
    }

    .report-header__analyst img {
      width: 100px;
      height: 100px;
      border-radius: 0;
      object-fit: contain;
      border: none;
      margin-bottom: 8px;
      display: block;
      margin-left: auto;
    }

    .report-header__analyst-name {
      font-family: var(--font-h);
      font-size: 14px;
      font-weight: 600;
    }

    .report-header__analyst-role {
      font-size: 12px;
      color: var(--muted-grey);
    }

    /* ================================================================
       SECTION COMMON
    ================================================================ */
    .report-section {
      padding: 48px 48px 0;
      border-bottom: 1px solid var(--border);
    }

    .report-section:last-of-type {
      border-bottom: none;
    }

    .section-header {
      margin-bottom: 32px;
    }

    .section-num {
      font-size: 11px;
      font-family: var(--font-h);
      color: var(--brand-green);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-bottom: 6px;
    }

    .section-title {
      font-family: var(--font-h);
      font-size: 22px;
      font-weight: 700;
      color: var(--off-white);
    }

    .section-title--large {
      font-size: 28px;
    }

    .section-subtitle {
      font-size: 14px;
      color: var(--muted-grey);
      margin-top: 6px;
    }

    /* ================================================================
       CARDS & GRID
    ================================================================ */
    .card {
      background: var(--card-overlay);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
      box-shadow: var(--shadow-card);
    }

    .card--highlight {
      border-color: rgba(59,165,93,0.3);
      background: rgba(59,165,93,0.04);
    }

    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

    /* ================================================================
       SCORE CARDS
    ================================================================ */
    .score-cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 12px;
      margin-bottom: 40px;
      align-items: stretch;
    }

    .score-card {
      background: var(--card-overlay);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 16px;
      box-shadow: var(--shadow-card);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .score-card .progress-bar { margin-top: auto; padding-top: 12px; }

    .score-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: var(--muted-grey);
      border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .score-card.ampel--rot::before    { background: var(--ampel-red); }
    .score-card.ampel--orange::before { background: var(--ampel-orange); }
    .score-card.ampel--gelb::before   { background: var(--ampel-yellow); }
    .score-card.ampel--gruen::before  { background: var(--ampel-green); }
    .score-card.ampel--stark::before  { background: var(--ampel-strong); }

    .score-card__label {
      font-family: var(--font-h);
      font-size: 12px;
      font-weight: 500;
      color: var(--muted-grey);
      text-transform: uppercase;
      letter-spacing: 0.07em;
      margin-bottom: 8px;
    }

    .score-value {
      font-family: var(--font-h);
      font-size: 26px;
      font-weight: 700;
      color: var(--off-white);
      line-height: 1;
      margin-bottom: 8px;
    }

    .score-value__sub {
      font-size: 13px;
      font-weight: 400;
      color: var(--muted-grey);
    }

    /* ================================================================
       PILL / BADGE
    ================================================================ */
    .pill {
      display: inline-block;
      font-size: 11px;
      font-family: var(--font-h);
      font-weight: 500;
      padding: 2px 9px;
      border-radius: 20px;
      background: rgba(107,114,128,0.2);
      color: var(--muted-grey);
      margin-bottom: 10px;
    }

    .pill.ampel--rot    { background: rgba(239,68,68,0.15);   color: var(--ampel-red); }
    .pill.ampel--orange { background: rgba(249,115,22,0.15);  color: var(--ampel-orange); }
    .pill.ampel--gelb   { background: rgba(234,179,8,0.15);   color: var(--ampel-yellow); }
    .pill.ampel--gruen  { background: rgba(59,165,93,0.15);   color: var(--ampel-green); }
    .pill.ampel--stark  { background: rgba(110,220,140,0.15); color: var(--ampel-strong); }

    /* ================================================================
       PROGRESS BAR
    ================================================================ */
    .progress-bar {
      height: 4px;
      background: rgba(255,255,255,0.08);
      border-radius: 2px;
      overflow: hidden;
    }

    .progress-bar__fill {
      height: 100%;
      width: 0%;
      border-radius: 2px;
      background: var(--muted-grey);
      transition: width 0.8s ease-out;
    }

    .ampel--rot    .progress-bar__fill { background: var(--ampel-red); }
    .ampel--orange .progress-bar__fill { background: var(--ampel-orange); }
    .ampel--gelb   .progress-bar__fill { background: var(--ampel-yellow); }
    .ampel--gruen  .progress-bar__fill { background: var(--ampel-green); }
    .ampel--stark  .progress-bar__fill { background: var(--ampel-strong); }

    /* ================================================================
       TAB SYSTEM
    ================================================================ */
    .tabs {
      margin-bottom: 32px;
    }

    .tabs__nav {
      display: flex;
      gap: 4px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 24px;
    }

    .tab-btn {
      font-family: var(--font-h);
      font-size: 13px;
      font-weight: 500;
      padding: 8px 18px;
      background: none;
      border: none;
      border-bottom: 2px solid transparent;
      color: var(--muted-grey);
      cursor: pointer;
      transition: color 0.2s;
      margin-bottom: -1px;
    }

    .tab-btn:hover { color: var(--off-white); }

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

    .tab-panel { display: none; }
    .tab-panel.active { display: block; }

    /* ================================================================
       ACCORDION
    ================================================================ */
    .accordion {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 32px;
    }

    .accordion__item {
      background: var(--card-overlay);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .accordion__item[open] {
      border-color: rgba(59,165,93,0.25);
    }

    .accordion__trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px;
      cursor: pointer;
      list-style: none;
      user-select: none;
      gap: 12px;
    }

    .accordion__trigger::-webkit-details-marker { display: none; }

    .accordion__trigger:hover {
      background: rgba(255,255,255,0.02);
    }

    .accordion__trigger-left {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 1;
      min-width: 0;
    }

    .accordion__icon {
      width: 18px;
      height: 18px;
      border-radius: 4px;
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 10px;
      color: var(--muted-grey);
      transition: transform 0.2s;
    }

    .accordion__item[open] .accordion__icon {
      transform: rotate(90deg);
      border-color: var(--brand-green);
      color: var(--brand-green);
    }

    .accordion__trigger-name {
      font-family: var(--font-h);
      font-size: 14px;
      font-weight: 500;
      color: var(--off-white);
    }

    .accordion__body {
      padding: 0 18px 18px;
    }

    .accordion__boxes {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 16px;
    }

    .accordion__box {
      background: rgba(0,0,0,0.2);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 12px;
    }

    .accordion__box-label {
      font-size: 10px;
      font-family: var(--font-h);
      font-weight: 500;
      color: var(--muted-grey);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 6px;
    }

    .accordion__box-text {
      font-size: 13px;
      color: rgba(234,239,245,0.8);
      line-height: 1.5;
      text-align: justify;
      hyphens: auto;
    }

    /* ================================================================
       DATA TABLE
    ================================================================ */
    .data-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      margin-top: 12px;
    }

    .data-table th {
      font-family: var(--font-h);
      font-size: 11px;
      font-weight: 500;
      color: var(--muted-grey);
      text-transform: uppercase;
      letter-spacing: 0.07em;
      text-align: left;
      padding: 7px 12px;
      border-bottom: 1px solid var(--border);
    }

    .data-table td {
      padding: 8px 12px;
      border-bottom: 1px solid rgba(255,255,255,0.04);
      color: rgba(234,239,245,0.85);
      vertical-align: top;
    }

    .data-table tr:last-child td { border-bottom: none; }

    .data-table tr:hover td { background: rgba(255,255,255,0.02); }

    .data-table td:nth-child(3) {
      font-family: var(--font-h);
      font-weight: 600;
      text-align: center;
    }

    /* ================================================================
       CORE WEB VITALS (s11)
    ================================================================ */
    .cwv-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 32px;
    }

    .cwv-card {
      background: var(--card-overlay);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
      text-align: center;
    }

    .cwv-card__metric {
      font-size: 10px;
      font-family: var(--font-h);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted-grey);
      margin-bottom: 10px;
    }

    .cwv-card__value {
      font-family: var(--font-h);
      font-size: 32px;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 4px;
    }

    .cwv-card__unit {
      font-size: 13px;
      font-weight: 400;
      color: var(--muted-grey);
    }

    .cwv-card__threshold {
      font-size: 11px;
      color: var(--muted-grey);
      margin-top: 6px;
    }

    .cwv-card.ampel--rot    .cwv-card__value { color: var(--ampel-red); }
    .cwv-card.ampel--gelb   .cwv-card__value { color: var(--ampel-yellow); }
    .cwv-card.ampel--gruen  .cwv-card__value { color: var(--ampel-green); }
    .cwv-card.ampel--stark  .cwv-card__value { color: var(--ampel-strong); }

    /* PageSpeed Kreise */
    .pagespeed-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 32px;
    }

    .pagespeed-card {
      background: var(--card-overlay);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px;
      text-align: center;
    }

    .pagespeed-card__title {
      font-family: var(--font-h);
      font-size: 13px;
      font-weight: 600;
      color: var(--off-white);
      margin-bottom: 20px;
    }

    .pagespeed-circle {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: conic-gradient(var(--brand-green) 0%, rgba(255,255,255,0.08) 0%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 12px;
      position: relative;
    }

    .pagespeed-circle::before {
      content: '';
      position: absolute;
      width: 76px;
      height: 76px;
      border-radius: 50%;
      background: var(--dark-graphite);
    }

    .pagespeed-circle__score {
      position: relative;
      z-index: 1;
      font-family: var(--font-h);
      font-size: 24px;
      font-weight: 700;
      color: var(--off-white);
    }

    .pagespeed-circle.score-red    { background: conic-gradient(var(--ampel-red)    var(--pct, 0%), rgba(255,255,255,0.08) var(--pct, 0%)); }
    .pagespeed-circle.score-orange { background: conic-gradient(var(--ampel-orange) var(--pct, 0%), rgba(255,255,255,0.08) var(--pct, 0%)); }
    .pagespeed-circle.score-yellow { background: conic-gradient(var(--ampel-yellow) var(--pct, 0%), rgba(255,255,255,0.08) var(--pct, 0%)); }
    .pagespeed-circle.score-green  { background: conic-gradient(var(--ampel-green)  var(--pct, 0%), rgba(255,255,255,0.08) var(--pct, 0%)); }

    /* ================================================================
       IMPACT × AUFWAND MATRIX (s15)
    ================================================================ */
    .impact-matrix-wrap {
      overflow-x: auto;
      margin-bottom: 32px;
    }

    .impact-matrix {
      display: grid;
      grid-template-columns: 80px repeat(3, 1fr);
      grid-template-rows: auto repeat(3, 100px);
      gap: 4px;
      min-width: 520px;
    }

    .matrix-axis-label {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-family: var(--font-h);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted-grey);
      text-align: center;
    }

    .matrix-axis-label--vertical {
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      grid-row: 2 / 5;
      grid-column: 1;
    }

    .matrix-cell {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 8px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
    }

    .matrix-cell--quickwin {
      background: rgba(59,165,93,0.12);
      border-color: rgba(59,165,93,0.3);
    }

    .matrix-cell--top {
      background: rgba(239,68,68,0.1);
      border-color: rgba(239,68,68,0.25);
    }

    .matrix-cell--strategic {
      background: rgba(77,166,255,0.08);
      border-color: rgba(77,166,255,0.2);
    }

    .matrix-cell__label {
      font-size: 10px;
      font-family: var(--font-h);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted-grey);
    }

    .matrix-cell--quickwin .matrix-cell__label { color: var(--brand-green); }
    .matrix-cell--top      .matrix-cell__label { color: var(--ampel-red); }
    .matrix-cell--strategic .matrix-cell__label { color: var(--blue-accent); }

    .matrix-dots {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-top: 4px;
    }

    .matrix-dot {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--brand-green);
      color: var(--deep-black);
      font-size: 10px;
      font-family: var(--font-h);
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Maßnahmen-Tabelle (Quelle für Matrix-Dots) */
    .massnahmen-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      margin-bottom: 16px;
    }

    .massnahmen-table th {
      font-family: var(--font-h);
      font-size: 11px;
      font-weight: 500;
      color: var(--muted-grey);
      text-transform: uppercase;
      letter-spacing: 0.07em;
      text-align: left;
      padding: 8px 12px;
      border-bottom: 1px solid var(--border);
    }

    .massnahmen-table td {
      padding: 9px 12px;
      border-bottom: 1px solid rgba(255,255,255,0.04);
      vertical-align: top;
    }

    .massnahmen-table tr:last-child td { border-bottom: none; }

    .massnahmen-table__num {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--brand-green);
      color: var(--deep-black);
      font-size: 10px;
      font-family: var(--font-h);
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ================================================================
       3-PHASEN ROADMAP (s15)
    ================================================================ */
    .roadmap-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 32px;
    }

    .phase-card {
      background: var(--card-overlay);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      border-left-width: 3px;
      padding: 20px 20px 20px 18px;
    }

    .phase-card--1 { border-left-color: var(--ampel-red); }
    .phase-card--2 { border-left-color: var(--ampel-yellow); }
    .phase-card--3 { border-left-color: var(--brand-green); }

    .phase-card__header {
      margin-bottom: 16px;
    }

    .phase-card__label {
      font-size: 10px;
      font-family: var(--font-h);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 3px;
    }

    .phase-card--1 .phase-card__label { color: var(--ampel-red); }
    .phase-card--2 .phase-card__label { color: var(--ampel-yellow); }
    .phase-card--3 .phase-card__label { color: var(--brand-green); }

    .phase-card__title {
      font-family: var(--font-h);
      font-size: 15px;
      font-weight: 700;
      color: var(--off-white);
    }

    .phase-card__timeframe {
      font-size: 12px;
      color: var(--muted-grey);
      margin-top: 2px;
    }

    .phase-card__items {
      list-style: none;
      padding: 0;
    }

    .phase-card__items li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 13px;
      color: rgba(234,239,245,0.8);
      padding: 5px 0;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .phase-card__items li:last-child { border-bottom: none; }

    .phase-card__items li::before {
      content: '→';
      color: var(--muted-grey);
      flex-shrink: 0;
      margin-top: 1px;
    }

    /* ================================================================
       NARRATIVE SECTIONS (Textboxen)
    ================================================================ */
    .text-block {
      background: var(--card-overlay);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px;
      margin-bottom: 20px;
      font-size: 14px;
      line-height: 1.75;
      color: rgba(234,239,245,0.9);
    }

    .text-block h4 {
      font-family: var(--font-h);
      font-size: 13px;
      font-weight: 600;
      color: var(--brand-green);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 10px;
    }

    .highlight-box {
      background: rgba(59,165,93,0.06);
      border: 1px solid rgba(59,165,93,0.2);
      border-radius: var(--radius-md);
      padding: 16px 20px;
      margin-bottom: 20px;
    }

    .highlight-box--warn {
      background: rgba(234,179,8,0.06);
      border-color: rgba(234,179,8,0.2);
    }

    .highlight-box--danger {
      background: rgba(239,68,68,0.06);
      border-color: rgba(239,68,68,0.2);
    }

    .list-styled {
      list-style: none;
      padding: 0;
      margin-bottom: 20px;
    }

    .list-styled li {
      display: flex;
      gap: 10px;
      padding: 6px 0;
      font-size: 14px;
      color: rgba(234,239,245,0.85);
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .list-styled li:last-child { border-bottom: none; }

    .list-styled__marker {
      color: var(--brand-green);
      font-weight: 700;
      flex-shrink: 0;
    }

    /* ================================================================
       DIVIDER / SPACER
    ================================================================ */
    .divider {
      height: 1px;
      background: var(--border);
      margin: 32px 0;
    }

    .pb-40 { padding-bottom: 40px; }
    .pb-48 { padding-bottom: 48px; }
    .mt-8  { margin-top: 8px; }
    .mt-16 { margin-top: 16px; }
    .mt-24 { margin-top: 24px; }
    .mt-32 { margin-top: 32px; }
    .mb-8  { margin-bottom: 8px; }
    .mb-16 { margin-bottom: 16px; }
    .mb-24 { margin-bottom: 24px; }
    .mb-32 { margin-bottom: 32px; }

    /* ================================================================
       FOOTER
    ================================================================ */
    .report-footer {
      background: var(--dark-graphite);
      border-top: 1px solid var(--border);
      padding: 32px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .report-footer__logo img {
      height: 100px;
      opacity: 0.5;
      filter: grayscale(1);
    }

    .report-footer__info {
      font-size: 12px;
      color: var(--muted-grey);
    }

    .report-footer__contact {
      font-size: 12px;
      color: var(--muted-grey);
      text-align: right;
    }

    .report-footer__contact a {
      color: var(--brand-green);
    }

    /* ================================================================
       MOBILE HAMBURGER BUTTON & OVERLAY
    ================================================================ */
    .mobile-menu-btn {
      display: none;
      position: fixed;
      top: 14px;
      left: 14px;
      z-index: 1001;
      background: var(--dark-graphite);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 8px 10px;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
      box-shadow: var(--shadow-card);
    }
    .mobile-menu-btn__bar {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--off-white);
      border-radius: 2px;
      transition: background 0.2s;
    }
    .mobile-menu-btn:hover .mobile-menu-btn__bar { background: var(--brand-green); }

    .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      z-index: 999;
      backdrop-filter: blur(2px);
    }
    .sidebar-overlay--visible { display: block; }

    /* ================================================================
       RESPONSIVE â€” TABLET & MOBILE
    ================================================================ */
    @media (max-width: 900px) {
      :root { --sidebar-width: 240px; }
    }

    @media (max-width: 768px) {
      body { flex-direction: column; }

      .mobile-menu-btn { display: flex; }

      .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100dvh;
        z-index: 1000;
        transform: translateX(-110%);
        transition: transform 0.3s ease;
        width: min(280px, 85vw);
        box-shadow: 4px 0 32px rgba(0,0,0,0.5);
      }
      .sidebar--open { transform: translateX(0); }

      .report-main {
        padding-top: 48px;
        width: 100%;
        min-width: 0;
      }

      .report-header {
        padding: 20px 16px 24px;
        margin: 0 8px 16px;
      }
      .report-header__meta {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
        text-align: center;
      }
      .report-header__company { text-align: center; }
      .report-header__domain { text-align: center; }
      .report-header__badges { justify-content: center; }
      .report-header__tags {
        flex-direction: column;
        align-items: center;
      }

      .section-content { padding: 20px 16px 28px; }
      .section-header { padding: 18px 16px; }
      .section-header__actions { flex-wrap: wrap; }

      .score-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }

      .cwv-grid { grid-template-columns: 1fr; gap: 12px; }
      .pagespeed-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }

      /* Roadmap: horizontal swipeable */
      .roadmap-grid {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 10px;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
      }
      .phase-card {
        min-width: 240px;
        flex-shrink: 0;
      }

      .massnahmen-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
      .massnahmen-table { min-width: 560px; }

      .matrix-grid { gap: 4px; }
      .matrix-cell { font-size: 10px; padding: 6px 4px; min-height: 56px; }
      .matrix-label { font-size: 9px; }

      .tab-list { gap: 4px; }
      .tab-btn { padding: 7px 10px; font-size: 12px; }

      
      /* FIX: accordion trigger mobile — zentriert, untereinander */
      .accordion__trigger {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 12px 14px;
      }
      .accordion__trigger-left { width: 100%; justify-content: flex-start; }
      .accordion__trigger .pill { align-self: center; }
      .accordion__body { padding: 14px; }

      /* FIX 3: Overflow */
      html, body { overflow-x: hidden; max-width: 100vw; }

      /* FIX 4: grid-2 / grid-3 -> untereinander */
      .grid-2 { grid-template-columns: 1fr; gap: 12px; }
      .grid-3 { grid-template-columns: 1fr; gap: 12px; }

      /* FIX 5: accordion__boxes -> untereinander */
      .accordion__boxes { grid-template-columns: 1fr; gap: 8px; }

      /* FIX 6: pagespeed-grid -> untereinander, groesser */
      .pagespeed-grid { grid-template-columns: 1fr; gap: 16px; }
      .pagespeed-card { max-width: 300px; margin-left: auto; margin-right: auto; }
      .pagespeed-circle { width: 120px; height: 120px; }
      .pagespeed-circle::before { width: 92px; height: 92px; }
      .pagespeed-circle__score { font-size: 28px; }

      /* FIX 7: Footer zentrieren */
      .report-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 16px;
        gap: 12px;
      }
      .report-footer__contact { text-align: center; }
      .report-footer__logo img { height: 100px; width: auto; }

      /* FIX 8: Impact-Matrix scrollbar */
      .impact-matrix-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
      }
    }

    @media (max-width: 480px) {
      .score-grid { grid-template-columns: 1fr; }
      .report-header__title { font-size: clamp(18px, 6vw, 26px); }
      .section-header__title { font-size: clamp(15px, 5vw, 20px); }
      .report-header { margin: 0 4px 12px; }
      .section-content { padding: 12px 10px 20px; }
      .section-header { padding: 14px 10px; }
    }

        /* ================================================================
       PRINT STYLES
    ================================================================ */
    @media print {
      body { display: block; background: white; color: #1a1a1a; }

      .sidebar { display: none !important; }

      .report-main { padding: 0; }

      .report-section { padding: 24px 32px 0; break-inside: avoid; }

      .score-card, .card, .cwv-card, .phase-card, .text-block {
        border: 1px solid #e5e7eb !important;
        background: #f9fafb !important;
        box-shadow: none !important;
      }

      .report-header {
        background: #f3f4f6 !important;
        border-bottom: 1px solid #e5e7eb !important;
      }

      .report-footer {
        background: #f9fafb !important;
        border-top: 1px solid #e5e7eb !important;
      }

      .accordion__item[open] .accordion__body,
      details .accordion__body { display: block !important; }
      details { open: true; }

      .tab-panel { display: block !important; }

      h1, h2, h3 { color: #111 !important; }
      p, td, li { color: #333 !important; }

      .section-num, .score-card__label, .muted-grey { color: #6b7280 !important; }

      .score-value { color: #111 !important; }

      @page { margin: 15mm 12mm; }
    }