/* ============================================================
   pages.css — Combined subpage styles
   Generated from: webdesign.css, barrierefreiheit.css,
   analytics-cms.css, software-ki.css, beratung.css,
   webdesign-goerlitz.css, webdesign-bautzen.css,
   webdesign-zittau.css, webdesign-loebau.css
   ============================================================ */

/* ============================================================
   1. WEBDESIGN
   ============================================================ */
    /* ── Typewriter ─────────────────────────────────────────────── */
    .typewriter-wrap {
      display: inline-flex;
      align-items: center;
      gap: 0;
      font-family: var(--font-mono);
      font-size: clamp(0.85rem, 1.5vw, 1.05rem);
      font-weight: 500;
      color: var(--accent);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      border-radius: var(--radius-sm);
      padding: 0.45rem 0.9rem;
      margin-bottom: 1.75rem;
      letter-spacing: 0.03em;
      min-height: 2.2em;
    }
    .typewriter-text {
      display: inline-block;
      min-width: 1ch;
    }
    .typewriter-cursor {
      display: inline-block;
      width: 2px;
      height: 1.1em;
      background: var(--accent);
      margin-left: 2px;
      vertical-align: middle;
      animation: blink 1s step-end infinite;
    }
    @keyframes blink {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0; }
    }

    /* ── Force 2×2 card grid ────────────────────────────────────── */
    .cards-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    @media (max-width: 640px) {
      .cards-grid { grid-template-columns: 1fr; }
    }

    /* ── Hero visual panel ──────────────────────────────────────── */
    .hero-visual {
      position: static;
      transform: none;
      width: 100%;
      pointer-events: none;
      z-index: 0;
    }
    .hero-code-window {
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(26,102,255,0.08);
    }
    .hero-code-bar {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 0.75rem 1rem;
      background: #161b22;
      border-bottom: 1px solid var(--border);
    }
    .hero-code-dot {
      width: 11px; height: 11px;
      border-radius: 50%;
    }
    .hero-code-dot:nth-child(1) { background: #ff5f57; }
    .hero-code-dot:nth-child(2) { background: #ffbd2e; }
    .hero-code-dot:nth-child(3) { background: #28c840; }
    .hero-code-bar span {
      margin-left: auto;
      font-family: var(--font-mono);
      font-size: 0.7rem;
      color: var(--text-muted);
    }
    .hero-code-body {
      padding: 1.25rem 1.5rem;
      font-family: var(--font-mono);
      font-size: 0.78rem;
      line-height: 1.9;
      color: var(--text-muted);
    }
    .hero-code-body .c-tag    { color: #7dd3fc; }
    .hero-code-body .c-attr   { color: #86efac; }
    .hero-code-body .c-val    { color: #fca5a5; }
    .hero-code-body .c-num    { color: #c4b5fd; }
    .hero-code-body .c-cm     { color: #475569; }
    .hero-code-body .c-kw     { color: var(--primary-light); }

    /* Metric badges below code window */
    .hero-metrics {
      display: flex;
      gap: 0.6rem;
      margin-top: 0.9rem;
      flex-wrap: wrap;
    }
    .hero-metric {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.35rem 0.75rem;
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
    }
    .hero-metric .dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .hero-metric.good { color: var(--success); border-color: rgba(81,207,102,0.25); }
    .hero-metric.good .dot { background: var(--success); box-shadow: 0 0 6px var(--success); }
    .hero-metric.blue { color: var(--accent); border-color: var(--border-blue); }
    .hero-metric.blue .dot { background: var(--primary-light); box-shadow: 0 0 6px var(--primary); }

    /* ── Hero 2-col grid collapses on smaller screens ───────────── */
    @media (max-width: 900px) {
      .hero-visual-col { display: none; }
      .hero .container {
        grid-template-columns: 1fr !important;
        padding-top: 6rem !important;
      }
    }

    /* ── Comparison table wrapper ───────────────────────────────── */
    .comparison-outer {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
    }
    .comparison-header-row {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      gap: 0;
      background: #0d1117;
      border-bottom: 1px solid var(--border);
    }
    .comparison-header-cell {
      padding: 1rem 1.25rem;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    .comparison-header-cell.lira-col {
      color: var(--primary-light);
      border-left: 2px solid var(--primary);
      background: rgba(26,102,255,0.06);
    }
    .comparison-row {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      border-bottom: 1px solid var(--border);
      transition: background 0.15s;
    }
    .comparison-row:last-child { border-bottom: none; }
    .comparison-row:hover { background: rgba(255,255,255,0.02); }
    .comparison-cell {
      padding: 0.9rem 1.25rem;
      font-size: 0.88rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .comparison-cell.label-col {
      font-weight: 600;
      color: var(--text-white);
      font-size: 0.85rem;
    }
    .comparison-cell.bad-col  { color: var(--danger); }
    .comparison-cell.good-col {
      color: var(--success);
      font-weight: 600;
      border-left: 2px solid var(--primary);
      background: rgba(26,102,255,0.04);
    }
    .comparison-cell svg { width: 15px; height: 15px; flex-shrink: 0; }

    /* ── Trust bar dividers ─────────────────────────────────────── */
    .trust-divider {
      width: 1px;
      height: 24px;
      background: var(--border);
    }
    @media (max-width: 640px) {
      .trust-divider { display: none; }
    }

    /* ── Feature cards with bullet lists ───────────────────────── */
    .feature-card-list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-top: 1rem;
    }
    .feature-card-item {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .feature-card-item::before {
      content: '';
      display: block;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--primary-light);
      margin-top: 0.45em;
      flex-shrink: 0;
    }

    /* ── Process layout (2-col on desktop) ──────────────────────── */
    .process-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 4vw, 4rem);
      align-items: start;
    }
    @media (max-width: 768px) {
      .process-grid { grid-template-columns: 1fr; }
    }

    /* ── Comparison table responsive ───────────────────────────── */
    @media (max-width: 600px) {
      .comparison-header-row,
      .comparison-row {
        grid-template-columns: 1.2fr 1fr 1fr;
      }
      .comparison-cell { padding: 0.75rem 0.75rem; font-size: 0.8rem; }
      .comparison-header-cell { padding: 0.75rem 0.75rem; font-size: 0.65rem; }
    }

/* ============================================================
   2. BARRIEREFREIHEIT
   ============================================================ */
    /* ── Hero two-column layout ────────────────────────────────── */
    .hero .container { width: 100%; }
    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
      gap: clamp(2rem, 5vw, 5rem);
      align-items: center;
      width: 100%;
    }
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; }
      .hero-inner .hero-visual { display: none; }
    }
    .hero-inner .hero-visual {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ── Contrast Checker Widget ─────────────────────────────── */
    .contrast-widget {
      background: linear-gradient(160deg, #141c2e 0%, #0d1117 100%);
      border: 1px solid rgba(26,102,255,0.25);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      box-shadow: 0 24px 64px rgba(0,0,0,0.5);
      position: relative;
      overflow: hidden;
    }
    .contrast-widget::before {
      content: '';
      position: absolute;
      top: -40px; right: -40px;
      width: 160px; height: 160px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(26,102,255,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .widget-title {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .widget-title::before {
      content: '';
      display: inline-block;
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 8px var(--success);
    }
    .color-inputs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }
    .color-input-group {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }
    .color-input-label {
      font-size: 0.72rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .color-input-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 0.4rem 0.6rem;
      transition: border-color 0.2s;
    }
    .color-input-row:focus-within {
      border-color: rgba(26,102,255,0.4);
    }
    .color-swatch {
      width: 20px; height: 20px;
      border-radius: 4px;
      border: none;
      padding: 0;
      cursor: pointer;
      flex-shrink: 0;
      -webkit-appearance: none;
      appearance: none;
      background: none;
    }
    .color-swatch::-webkit-color-swatch-wrapper { padding: 0; border-radius: 3px; }
    .color-swatch::-webkit-color-swatch { border: none; border-radius: 3px; }
    .color-hex-input {
      background: none;
      border: none;
      outline: none;
      color: var(--text-white);
      font-family: var(--font-mono);
      font-size: 0.8rem;
      width: 100%;
      letter-spacing: 0.05em;
    }
    .preview-area {
      border-radius: var(--radius-sm);
      padding: 1rem;
      margin-bottom: 1rem;
      transition: background 0.3s, color 0.3s;
      position: relative;
    }
    .preview-text-large {
      font-size: 1.05rem;
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 0.25rem;
    }
    .preview-text-small {
      font-size: 0.8rem;
      opacity: 0.85;
    }
    .widget-action {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .btn-check {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.6rem 1.25rem;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: var(--radius-pill);
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
      flex-shrink: 0;
    }
    .btn-check:hover {
      background: var(--primary-light);
      transform: translateY(-1px);
    }
    .contrast-result {
      flex: 1;
      font-family: var(--font-mono);
      font-size: 0.78rem;
      min-height: 1.2em;
      transition: opacity 0.3s;
    }
    .contrast-result.pass { color: var(--success); }
    .contrast-result.fail { color: var(--danger); }
    .contrast-result.warn { color: var(--warning); }
    .wcag-badges {
      display: flex;
      gap: 0.5rem;
      margin-top: 0.75rem;
      flex-wrap: wrap;
    }
    .wcag-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-pill);
      font-size: 0.68rem;
      font-family: var(--font-mono);
      font-weight: 600;
      letter-spacing: 0.04em;
      border: 1px solid;
      transition: background 0.3s, border-color 0.3s, color 0.3s;
    }
    .wcag-badge.pass-badge {
      background: rgba(81,207,102,0.12);
      border-color: rgba(81,207,102,0.3);
      color: var(--success);
    }
    .wcag-badge.fail-badge {
      background: rgba(255,107,107,0.1);
      border-color: rgba(255,107,107,0.25);
      color: var(--danger);
    }
    .wcag-badge.neutral-badge {
      background: rgba(100,116,139,0.1);
      border-color: rgba(100,116,139,0.2);
      color: var(--text-muted);
    }

    /* ── POUR principle cards ────────────────────────────────── */
    .pour-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.25rem;
    }
    .pour-card {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.75rem;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }
    .pour-card:hover {
      border-color: var(--border-blue);
      transform: translateY(-4px);
      box-shadow: var(--shadow-card);
    }
    .pour-letter {
      font-family: var(--font-mono);
      font-size: 3rem;
      font-weight: 900;
      line-height: 1.15;
      letter-spacing: -0.04em;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      padding-bottom: 0.05em;
      margin-bottom: 0.75rem;
      display: block;
    }
    .pour-card h3 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }
    .pour-card p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ── Service cards with detail list ─────────────────────── */
    .service-card {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 2rem;
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }
    .service-card:hover {
      border-color: var(--border-blue);
      transform: translateY(-4px);
      box-shadow: var(--shadow-card);
    }
    .service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
    .service-card .card-desc {
      font-size: 0.875rem;
      color: var(--text-muted);
      margin-bottom: 1.25rem;
      line-height: 1.65;
    }
    .service-detail-list {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }
    .service-detail-item {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-size: 0.83rem;
      color: var(--text-muted);
    }
    .service-detail-item::before {
      content: '→';
      color: var(--primary-light);
      font-family: var(--font-mono);
      flex-shrink: 0;
      margin-top: 1px;
    }
    .service-price {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      margin-top: 1.25rem;
      padding: 0.3rem 0.8rem;
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      border-radius: var(--radius-pill);
      font-family: var(--font-mono);
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--accent);
    }

    /* ── Process section two-column layout ──────────────────── */
    .process-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2.5rem, 6vw, 6rem);
      align-items: start;
    }
    .process-intro h2 {
      font-size: clamp(1.75rem, 3.5vw, 2.5rem);
      margin-bottom: 1rem;
    }
    .process-intro p {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 2rem;
    }

    /* ── Urgency warning box ─────────────────────────────────── */
    .bfsg-warning {
      background: rgba(255,212,59,0.06);
      border: 1px solid rgba(255,212,59,0.2);
      border-radius: var(--radius-md);
      padding: 1.25rem 1.5rem;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      margin-bottom: 2rem;
    }
    .bfsg-warning-icon {
      font-size: 1.2rem;
      flex-shrink: 0;
      line-height: 1.5;
    }
    .bfsg-warning p {
      font-size: 0.875rem;
      color: var(--text-gray);
      line-height: 1.65;
      margin: 0;
    }
    .bfsg-warning strong {
      color: var(--warning);
    }

    /* ── Centered section headers ────────────────────────────── */
    .section-header.centered {
      text-align: center;
      align-items: center;
    }
    .section-header.centered .section-label {
      justify-content: center;
    }

    /* ── WCAG Accessibility Checker ──────────────────────────── */
    .a11y-checker {
      background: linear-gradient(160deg, #141c2e 0%, #0d1117 100%);
      border: 1px solid rgba(26,102,255,0.2);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .a11y-checker-header {
      padding: 2rem 2rem 1.5rem;
      border-bottom: 1px solid var(--border);
    }
    .a11y-checker-title {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 1.25rem;
    }
    .a11y-checker-title .dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 10px var(--success);
      flex-shrink: 0;
    }
    .a11y-checker-title h3 {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
    }
    .a11y-input-row {
      display: flex;
      gap: 0.75rem;
      align-items: stretch;
      flex-wrap: wrap;
    }
    .a11y-url-input {
      flex: 1;
      min-width: 200px;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 0.7rem 1rem;
      color: var(--text-white);
      font-family: var(--font-mono);
      font-size: 0.82rem;
      outline: none;
      transition: border-color 0.2s;
    }
    .a11y-url-input:focus {
      border-color: rgba(26,102,255,0.45);
    }
    .a11y-url-input::placeholder {
      color: var(--text-muted);
    }
    .a11y-mode-group {
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }
    .a11y-mode-btn {
      padding: 0.5rem 0.9rem;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.04);
      color: var(--text-muted);
      font-size: 0.76rem;
      font-weight: 600;
      transition: all 0.2s;
      cursor: pointer;
      white-space: nowrap;
    }
    .a11y-mode-btn:hover, .a11y-mode-btn.is-active {
      border-color: rgba(26,102,255,0.4);
      background: var(--primary-glow);
      color: var(--accent);
    }
    .a11y-run-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.7rem 1.4rem;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: var(--radius-sm);
      font-size: 0.83rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .a11y-run-btn:hover {
      background: var(--primary-light);
      transform: translateY(-1px);
    }
    .a11y-run-btn:disabled {
      opacity: 0.55;
      cursor: not-allowed;
      transform: none;
    }

    /* Progress bar */
    .a11y-progress-wrap {
      padding: 1.25rem 2rem;
      border-bottom: 1px solid var(--border);
      display: none;
    }
    .a11y-progress-wrap.is-visible { display: block; }
    .a11y-progress-label {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
      display: flex;
      justify-content: space-between;
    }
    .a11y-progress-bar-track {
      height: 4px;
      background: rgba(255,255,255,0.06);
      border-radius: 9999px;
      overflow: hidden;
    }
    .a11y-progress-bar-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
      border-radius: 9999px;
      transition: width 0.3s ease;
    }

    /* Results area */
    .a11y-results {
      padding: 0 2rem 2rem;
      display: none;
    }
    .a11y-results.is-visible { display: block; }
    .a11y-summary-bar {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      padding: 1rem 0 1.25rem;
      border-bottom: 1px solid var(--border);
      margin-bottom: 1.25rem;
      flex-wrap: wrap;
    }
    .a11y-summary-stat {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.82rem;
      font-family: var(--font-mono);
    }
    .a11y-summary-stat .stat-num {
      font-size: 1.2rem;
      font-weight: 800;
      line-height: 1;
    }
    .a11y-summary-stat.s-pass .stat-num { color: var(--success); }
    .a11y-summary-stat.s-fail .stat-num { color: var(--danger); }
    .a11y-summary-stat.s-warn .stat-num { color: var(--warning); }
    .a11y-summary-stat .stat-label { color: var(--text-muted); }
    .a11y-score-badge {
      margin-left: auto;
      padding: 0.3rem 0.85rem;
      border-radius: var(--radius-pill);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.05em;
    }
    .a11y-score-badge.score-good {
      background: rgba(81,207,102,0.12);
      border: 1px solid rgba(81,207,102,0.3);
      color: var(--success);
    }
    .a11y-score-badge.score-bad {
      background: rgba(255,107,107,0.1);
      border: 1px solid rgba(255,107,107,0.25);
      color: var(--danger);
    }

    /* Category + check items */
    .a11y-category {
      margin-bottom: 1rem;
    }
    .a11y-category-label {
      font-size: 0.68rem;
      font-family: var(--font-mono);
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
      padding: 0.3rem 0;
      margin-bottom: 0.35rem;
      border-bottom: 1px solid var(--border);
    }
    .a11y-check-item {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 0.6rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.03);
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .a11y-check-item.is-shown {
      opacity: 1;
      transform: translateY(0);
    }
    .a11y-check-icon {
      width: 20px; height: 20px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 800;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .a11y-check-icon.icon-pass {
      background: rgba(81,207,102,0.15);
      color: var(--success);
      border: 1px solid rgba(81,207,102,0.3);
    }
    .a11y-check-icon.icon-fail {
      background: rgba(255,107,107,0.12);
      color: var(--danger);
      border: 1px solid rgba(255,107,107,0.25);
    }
    .a11y-check-icon.icon-warn {
      background: rgba(255,212,59,0.1);
      color: var(--warning);
      border: 1px solid rgba(255,212,59,0.25);
    }
    .a11y-check-body {
      flex: 1;
      min-width: 0;
    }
    .a11y-check-name {
      font-size: 0.83rem;
      font-weight: 600;
      color: var(--text-white);
      line-height: 1.35;
    }
    .a11y-check-desc {
      font-size: 0.76rem;
      color: var(--text-muted);
      line-height: 1.55;
      margin-top: 0.15rem;
    }
    .a11y-check-badge {
      flex-shrink: 0;
      padding: 0.15rem 0.55rem;
      border-radius: var(--radius-pill);
      font-size: 0.65rem;
      font-family: var(--font-mono);
      font-weight: 700;
      letter-spacing: 0.03em;
      margin-top: 2px;
    }
    .a11y-check-badge.badge-pass {
      background: rgba(81,207,102,0.12);
      color: var(--success);
      border: 1px solid rgba(81,207,102,0.25);
    }
    .a11y-check-badge.badge-fail {
      background: rgba(255,107,107,0.1);
      color: var(--danger);
      border: 1px solid rgba(255,107,107,0.22);
    }
    .a11y-check-badge.badge-warn {
      background: rgba(255,212,59,0.08);
      color: var(--warning);
      border: 1px solid rgba(255,212,59,0.22);
    }

    /* Responsive adjustments ──────────────────────────────── */
    @media (max-width: 1024px) {
      .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
      }
      .process-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
      }
    }
    @media (max-width: 768px) {
      .pour-grid {
        grid-template-columns: 1fr 1fr;
      }
      .color-inputs {
        grid-template-columns: 1fr;
      }
      .widget-action {
        flex-direction: column;
        align-items: flex-start;
      }
    }
    @media (max-width: 480px) {
      .pour-grid {
        grid-template-columns: 1fr;
      }
    }

/* ============================================================
   3. ANALYTICS-CMS
   ============================================================ */
    /* ── Analytics Widget (Hero) ────────────────────────── */
    .analytics-widget {
      background: linear-gradient(160deg, #141c2e 0%, #0d1117 100%);
      border: 1px solid rgba(26,102,255,0.25);
      border-radius: 20px;
      padding: 1.5rem 1.75rem;
      max-width: 420px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(26,102,255,0.08);
    }
    .analytics-widget::before {
      content: '';
      position: absolute;
      top: -40px; right: -40px;
      width: 150px; height: 150px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(26,102,255,0.15) 0%, transparent 70%);
      pointer-events: none;
    }
    .widget-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.25rem;
    }
    .widget-title {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    .widget-live-dot {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      color: var(--success);
    }
    .widget-live-dot::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 6px var(--success);
      animation: pulse-dot 2s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--success); }
      50% { opacity: 0.5; box-shadow: 0 0 12px var(--success); }
    }
    .widget-stats {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .widget-stat {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.85rem 1rem;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 10px;
      transition: border-color 0.3s;
    }
    .widget-stat:hover { border-color: rgba(26,102,255,0.2); }
    .widget-stat-label {
      font-size: 0.78rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .widget-stat-label svg {
      width: 14px; height: 14px;
      color: var(--primary);
    }
    .widget-stat-val {
      font-family: var(--font-mono);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-white);
      letter-spacing: -0.02em;
    }
    .widget-bar-wrap {
      margin-top: 1.25rem;
      padding-top: 1.25rem;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .widget-bar-label {
      display: flex;
      justify-content: space-between;
      font-size: 0.72rem;
      color: var(--text-muted);
      font-family: var(--font-mono);
      margin-bottom: 0.5rem;
    }
    .widget-bar-track {
      height: 5px;
      background: rgba(255,255,255,0.06);
      border-radius: 9999px;
      overflow: hidden;
    }
    .widget-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
      border-radius: 9999px;
      width: 0%;
      transition: width 1.6s cubic-bezier(0.4,0,0.2,1);
    }

    /* ── Hero layout (two-col on desktop) ──────────────── */
    .hero-inner {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: clamp(2rem, 5vw, 5rem);
      align-items: center;
      width: 100%;
    }
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; }
      .analytics-widget { max-width: 100%; }
    }

    /* ── CMS Features list ──────────────────────────────── */
    .cms-features-list {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .cms-feature-row {
      display: grid;
      grid-template-columns: 3rem 1fr;
      gap: 1.25rem;
      align-items: flex-start;
      padding: 1.5rem 0;
      border-bottom: 1px solid var(--border);
    }
    .cms-feature-row:last-child { border-bottom: none; }
    .cms-feature-icon {
      width: 44px; height: 44px;
      border-radius: var(--radius-sm);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .cms-feature-icon svg { width: 20px; height: 20px; color: var(--primary); }
    .cms-feature-body h4 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 0.35rem;
    }
    .cms-feature-body p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ── Why not GA4 section ────────────────────────────── */
    .ga4-comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
    }
    @media (max-width: 640px) {
      .ga4-comparison { grid-template-columns: 1fr; }
    }
    .ga4-col {
      border-radius: var(--radius-md);
      padding: 1.75rem;
    }
    .ga4-col-bad {
      background: rgba(255,107,107,0.04);
      border: 1px solid rgba(255,107,107,0.2);
    }
    .ga4-col-good {
      background: rgba(81,207,102,0.04);
      border: 1px solid rgba(81,207,102,0.2);
    }
    .ga4-col h3 {
      font-size: 1rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .ga4-col-bad h3 { color: var(--danger); }
    .ga4-col-good h3 { color: var(--success); }
    .ga4-col h3 svg { width: 18px; height: 18px; flex-shrink: 0; }
    .ga4-point {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-size: 0.875rem;
      color: var(--text-muted);
      padding: 0.45rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .ga4-point:last-child { border-bottom: none; }
    .ga4-point svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
    .ga4-col-bad .ga4-point svg { color: var(--danger); }
    .ga4-col-good .ga4-point svg { color: var(--success); }

    /* ── Analytics data table wrapper ──────────────────── */
    .analytics-table-wrap {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      overflow-x: auto;
    }
    @media (max-width: 767px) {
      .analytics-table-wrap { border-radius: var(--radius-sm); }
      .analytics-table-wrap .data-table { min-width: 520px; }
    }

    /* ── Process two-col ────────────────────────────────── */
    .process-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 5vw, 5rem);
      align-items: start;
    }
    @media (max-width: 768px) {
      .process-grid { grid-template-columns: 1fr; }
    }

/* ============================================================
   4. SOFTWARE-KI
   ============================================================ */
    /* ── AI Chat Widget ──────────────────────────────────── */
    .chat-widget {
      background: linear-gradient(160deg, #141c2e 0%, #0d1117 100%);
      border: 1px solid rgba(26,102,255,0.25);
      border-radius: 20px;
      padding: 1.25rem;
      width: 100%;
      position: relative;
      overflow: hidden;
      box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(26,102,255,0.08);
    }
    .chat-widget::before {
      content: '';
      position: absolute;
      bottom: -40px; right: -40px;
      width: 160px; height: 160px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(26,102,255,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .chat-header {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      margin-bottom: 1rem;
    }
    .chat-avatar {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .chat-avatar svg { width: 16px; height: 16px; color: #fff; }
    .chat-header-info { flex: 1; }
    .chat-header-name {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--text-white);
      font-family: var(--font-mono);
    }
    .chat-header-status {
      font-size: 0.68rem;
      color: var(--success);
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }
    .chat-header-status::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--success);
    }
    .chat-messages {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      height: 260px;
      overflow-y: auto;
      scroll-behavior: smooth;
    }
    .chat-messages::-webkit-scrollbar { width: 4px; }
    .chat-messages::-webkit-scrollbar-track { background: transparent; }
    .chat-messages::-webkit-scrollbar-thumb { background: rgba(26,102,255,0.3); border-radius: 2px; }
    @media (max-width: 767px) {
      .chat-messages { height: 200px; }
    }
    .chat-bubble {
      max-width: 85%;
      padding: 0.7rem 0.95rem;
      border-radius: 14px;
      font-size: 0.83rem;
      line-height: 1.5;
    }
    .chat-bubble-user {
      background: var(--primary);
      color: #fff;
      align-self: flex-end;
      border-bottom-right-radius: 4px;
    }
    .chat-bubble-ai {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      color: var(--text-gray);
      align-self: flex-start;
      border-bottom-left-radius: 4px;
    }
    .chat-typing {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 0.7rem 0.95rem;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 14px;
      border-bottom-left-radius: 4px;
      align-self: flex-start;
    }
    .chat-typing span {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--text-muted);
      animation: chat-bounce 1.2s ease-in-out infinite;
    }
    .chat-typing span:nth-child(2) { animation-delay: 0.2s; }
    .chat-typing span:nth-child(3) { animation-delay: 0.4s; }
    @keyframes chat-bounce {
      0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
      40% { transform: translateY(-5px); opacity: 1; }
    }
    .chat-cursor {
      display: inline-block;
      width: 2px;
      height: 0.9em;
      background: var(--primary-light);
      margin-left: 1px;
      vertical-align: text-bottom;
      animation: blink 0.8s step-end infinite;
    }
    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }
    .chat-footer {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255,255,255,0.06);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.72rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
    }
    .chat-footer svg { width: 13px; height: 13px; color: var(--primary); flex-shrink: 0; }

    /* ── Hero two-col ────────────────────────────────────── */
    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 380px;
      gap: clamp(2rem, 5vw, 4rem);
      align-items: center;
      width: 100%;
    }
    @media (max-width: 1100px) {

    }
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; }
      .chat-widget { width: 100%; max-width: 100%; }
    }

    /* ── KI Use Cases table ──────────────────────────────── */
    .ki-table-wrap {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
    }
    .ki-table-row {
      display: grid;
      grid-template-columns: 2.5rem 1fr 1fr;
      gap: 1.25rem;
      padding: 1.25rem 1.5rem;
      border-bottom: 1px solid var(--border);
      align-items: start;
      transition: background 0.2s;
    }
    .ki-table-row:last-child { border-bottom: none; }
    .ki-table-row:hover { background: rgba(255,255,255,0.02); }
    @media (max-width: 640px) {
      .ki-table-row { grid-template-columns: 2.5rem 1fr; }
      .ki-table-row .ki-col-3 { display: none; }
    }
    .ki-row-icon {
      width: 36px; height: 36px;
      border-radius: var(--radius-sm);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .ki-row-icon svg { width: 17px; height: 17px; color: var(--primary); }
    .ki-col-2 h4 {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 0.3rem;
    }
    .ki-col-2 p { font-size: 0.83rem; color: var(--text-muted); }
    .ki-col-3 {
      font-size: 0.82rem;
      color: var(--text-muted);
      padding-top: 0.2rem;
    }
    .ki-col-3 strong { color: var(--success); font-weight: 600; display: block; margin-bottom: 0.25rem; }
    .ki-table-header {
      display: grid;
      grid-template-columns: 2.5rem 1fr 1fr;
      gap: 1.25rem;
      padding: 0.75rem 1.5rem;
      border-bottom: 1px solid var(--border);
      background: rgba(255,255,255,0.02);
    }
    @media (max-width: 640px) {
      .ki-table-header { grid-template-columns: 2.5rem 1fr; }
      .ki-table-header .ki-col-3 { display: none; }
    }
    .ki-table-header span {
      font-size: 0.72rem;
      font-family: var(--font-mono);
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--text-muted);
    }

    /* ── Tech Stack cards ────────────────────────────────── */
    .tech-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem;
    }
    @media (max-width: 600px) {
      .tech-grid { grid-template-columns: 1fr; }
    }
    .tech-card {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.75rem;
      transition: border-color 0.3s, transform 0.3s;
    }
    .tech-card:hover {
      border-color: var(--border-blue);
      transform: translateY(-3px);
    }
    .tech-card-icon {
      width: 44px; height: 44px;
      border-radius: var(--radius-sm);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
    }
    .tech-card-icon svg { width: 22px; height: 22px; color: var(--primary); }
    .tech-card h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 0.5rem;
    }
    .tech-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
    .tech-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
    .tech-tag {
      font-size: 0.68rem;
      font-family: var(--font-mono);
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-pill);
      background: rgba(26,102,255,0.12);
      border: 1px solid rgba(26,102,255,0.2);
      color: var(--accent);
    }

    /* ── Process step number pulse ──────────────────────── */
    @keyframes step-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(26,102,255,0.5); }
      50% { box-shadow: 0 0 0 8px rgba(26,102,255,0); }
    }
    .process-step.visible .step-num {
      animation: step-pulse 2s ease-in-out infinite;
    }

    /* ── Custom software section ─────────────────────────── */
    .software-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 5vw, 5rem);
      align-items: start;
    }
    @media (max-width: 768px) {
      .software-split { grid-template-columns: 1fr; }
    }
    .project-list { display: flex; flex-direction: column; gap: 0.5rem; }
    .project-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 1rem;
      background: rgba(255,255,255,0.02);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 0.875rem;
      color: var(--text-gray);
      transition: border-color 0.2s, background 0.2s;
    }
    .project-item:hover { border-color: var(--border-blue); background: rgba(26,102,255,0.04); }
    .project-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ============================================================
   5. BERATUNG
   ============================================================ */
    /* ── Roadmap Flow ───────────────────────────────────── */
    .roadmap-flow {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
      position: relative;
    }
    .roadmap-flow::before {
      content: '';
      position: absolute;
      top: 3.5rem;
      left: 2rem;
      right: 2rem;
      height: 2px;
      background: linear-gradient(90deg, var(--primary) 0%, rgba(26,102,255,0.3) 100%);
      z-index: 0;
    }
    .roadmap-step {
      position: relative;
      z-index: 1;
      padding: 0 0.75rem;
      text-align: center;
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34,1.4,0.64,1);
    }
    .roadmap-step.is-visible {
      opacity: 1;
      transform: translateY(0);
    }
    .roadmap-step.reveal-delay-1.is-visible { transition-delay: 0.0s; }
    .roadmap-step.reveal-delay-2.is-visible { transition-delay: 0.12s; }
    .roadmap-step.reveal-delay-3.is-visible { transition-delay: 0.24s; }
    .roadmap-step.reveal-delay-4.is-visible { transition-delay: 0.36s; }
    .roadmap-step.reveal-delay-5.is-visible { transition-delay: 0.48s; }
    .roadmap-num {
      width: 48px; height: 48px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 2px solid var(--primary);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-mono);
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--primary-light);
      margin: 0 auto 1rem;
      position: relative;
      box-shadow: 0 0 20px rgba(26,102,255,0.3);
    }
    .roadmap-step-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.25rem 1rem;
      margin-top: 1rem;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.3s;
    }
    .roadmap-step-card:hover {
      border-color: var(--border-blue);
      transform: translateY(-3px);
    }
    .roadmap-step-card::before {
      content: attr(data-phase);
      position: absolute;
      bottom: -0.75rem;
      right: 0.5rem;
      font-family: var(--font-mono);
      font-size: 3.5rem;
      font-weight: 800;
      color: rgba(26,102,255,0.05);
      line-height: 1;
      pointer-events: none;
    }
    .roadmap-icon {
      width: 36px; height: 36px;
      border-radius: var(--radius-sm);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 0.75rem;
    }
    .roadmap-icon svg { width: 18px; height: 18px; color: var(--primary); }
    .roadmap-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 0.6rem;
    }
    .roadmap-items {
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.5;
      text-align: left;
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .roadmap-items li {
      padding-left: 0.9em;
      position: relative;
      margin-bottom: 0.25rem;
    }
    .roadmap-items li::before {
      content: '›';
      position: absolute;
      left: 0;
      color: var(--primary);
      font-weight: 700;
    }

    /* ── Beratungsthemen rows ───────────────────────────── */
    .themen-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .thema-row {
      display: flex;
      align-items: flex-start;
      gap: 0.85rem;
      padding: 1.25rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      transition: border-color 0.3s, transform 0.3s;
    }
    .thema-row:hover {
      border-color: var(--border-blue);
      transform: translateY(-2px);
    }
    .thema-icon {
      width: 38px; height: 38px;
      border-radius: var(--radius-sm);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .thema-icon svg { width: 18px; height: 18px; color: var(--primary); }
    .thema-text strong {
      display: block;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 0.2rem;
    }
    .thema-text span { font-size: 0.82rem; color: var(--text-muted); }

    /* ── Why-cards section ──────────────────────────────── */
    .why-card {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 2rem;
      position: relative;
      overflow: hidden;
    }
    .why-card::before {
      content: attr(data-number);
      position: absolute;
      top: -0.5rem;
      right: 1rem;
      font-family: var(--font-mono);
      font-size: 4.5rem;
      font-weight: 800;
      color: rgba(26,102,255,0.06);
      line-height: 1;
      pointer-events: none;
    }
    .why-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
    .why-card p { font-size: 0.9rem; color: var(--text-muted); }

    @media (max-width: 768px) {
      .themen-grid { grid-template-columns: 1fr; }
      .roadmap-flow { grid-template-columns: 1fr; gap: 0; }
      .roadmap-flow::before { display: none; }
      .roadmap-step {
        display: flex; gap: 1rem; text-align: left; opacity: 1; transform: none;
        position: relative;
        padding-bottom: 1.5rem;
      }
      .roadmap-step:last-child { padding-bottom: 0; }
      /* Vertical connecting line between steps */
      .roadmap-step::after {
        content: '';
        position: absolute;
        left: 23px; /* center of .roadmap-num (48px wide / 2 - 1px) */
        top: 48px;  /* below the num circle */
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, rgba(26,102,255,0.6) 0%, rgba(26,102,255,0.1) 100%);
        z-index: 0;
      }
      .roadmap-step:last-child::after { display: none; }
      .roadmap-num { flex-shrink: 0; margin: 0; position: relative; z-index: 1; }
      .roadmap-step-card { margin-top: 0; flex: 1; }
      .roadmap-icon { margin: 0 0 0.5rem; }
    }

/* ============================================================
   6. WEBDESIGN-GOERLITZ
   ============================================================ */
    /* ── Location hero badge ─────────────────────────────────── */
    .location-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      border-radius: var(--radius-pill);
      padding: 0.4rem 1rem;
      font-size: 0.85rem;
      font-family: var(--font-mono);
      color: var(--accent);
      margin-bottom: 1.5rem;
      letter-spacing: 0.04em;
    }
    .location-hero-badge .badge-icon {
      font-size: 0.9rem;
      line-height: 1;
    }

    /* ── Bridge visual (hero decoration) ────────────────────── */
    .bridge-visual {
      width: clamp(260px, 36vw, 480px);
      pointer-events: none;
      z-index: 0;
      animation: bridge-float 7s ease-in-out infinite;
      flex-shrink: 0;
    }
    @keyframes bridge-float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-12px); }
    }
    .bridge-visual-inner {
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(26,102,255,0.08);
      padding: 1.5rem;
    }
    .bridge-visual-label {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .bridge-visual-label::before {
      content: '';
      display: block;
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 8px var(--success);
      flex-shrink: 0;
    }
    .bridge-svg-wrap {
      width: 100%;
    }
    .bridge-metrics {
      display: flex;
      gap: 0.6rem;
      margin-top: 1rem;
      flex-wrap: wrap;
    }
    .bridge-metric {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.35rem 0.75rem;
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
    }
    .bridge-metric .dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .bridge-metric.de { color: var(--accent); border-color: var(--border-blue); }
    .bridge-metric.de .dot { background: var(--primary-light); box-shadow: 0 0 6px var(--primary); }
    .bridge-metric.pl { color: var(--success); border-color: rgba(81,207,102,0.25); }
    .bridge-metric.pl .dot { background: var(--success); box-shadow: 0 0 6px var(--success); }
    .bridge-metric.bridge { color: var(--warning); border-color: rgba(255,212,59,0.25); }
    .bridge-metric.bridge .dot { background: var(--warning); box-shadow: 0 0 6px var(--warning); }

    /* ── Two-column hero flex layout ────────────────────────── */
    .geo-hero-row {
      display: flex;
      align-items: center;
      gap: clamp(2rem, 5vw, 4rem);
    }
    .geo-hero-row .hero-content {
      flex: 1;
      max-width: none;
    }

    /* ── Hide bridge visual on smaller screens ───────────────── */
    @media (max-width: 1024px) {
      .bridge-visual { display: none; }
    }

    /* ── Region info cards (Why Görlitz section) ─────────────── */
    .region-cards {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .region-card {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.25rem 1.5rem;
      transition: border-color 0.3s;
    }
    .region-card:hover { border-color: var(--border-blue); }
    .region-card-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 0.35rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .region-card-title span {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--accent);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      border-radius: var(--radius-sm);
      padding: 0.15rem 0.5rem;
      font-weight: 600;
    }
    .region-card p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ── Process steps layout (single column on this page) ────── */
    .process-steps-single {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 4vw, 4rem);
    }
    @media (max-width: 768px) {
      .process-steps-single { grid-template-columns: 1fr; }
    }

    /* ── Hero stat row tweaks for text values ────────────────── */
    .hero-stat-num.stat-text {
      font-size: 1.1rem;
      letter-spacing: -0.01em;
    }

/* ============================================================
   7. WEBDESIGN-BAUTZEN
   ============================================================ */
    /* ── Location hero badge ─────────────────────────────────── */
    .location-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.45rem 1rem;
      border-radius: var(--radius-pill);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      font-family: var(--font-mono);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      color: var(--accent);
      margin-bottom: 1.5rem;
    }

    /* ── Hero visual ─────────────────────────────────────────── */
    .geo-hero-row .hero-visual {
      width: clamp(280px, 38vw, 500px);
      pointer-events: none;
      z-index: 0;
      flex-shrink: 0;
    }

    /* ── Sorbian AI translation window (hero visual) ─────────── */
    .sorb-window {
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(26,102,255,0.08);
    }
    .sorb-window-bar {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 0.75rem 1rem;
      background: #161b22;
      border-bottom: 1px solid var(--border);
    }
    .sorb-dot {
      width: 11px; height: 11px;
      border-radius: 50%;
    }
    .sorb-dot:nth-child(1) { background: #ff5f57; }
    .sorb-dot:nth-child(2) { background: #ffbd2e; }
    .sorb-dot:nth-child(3) { background: #28c840; }
    .sorb-window-title {
      margin-left: auto;
      font-family: var(--font-mono);
      font-size: 0.7rem;
      color: var(--text-muted);
    }
    .sorb-window-body {
      padding: 1.25rem 1.5rem;
    }
    .sorb-section-title {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 0.85rem;
    }
    .sorb-lang-row {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.45rem 0;
      border-bottom: 1px solid var(--border);
      font-family: var(--font-mono);
      font-size: 0.8rem;
    }
    .sorb-lang-tag {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      padding: 0.15rem 0.5rem;
      border-radius: 4px;
      flex-shrink: 0;
    }
    .sorb-lang-tag.de {
      background: rgba(26,102,255,0.15);
      border: 1px solid rgba(26,102,255,0.3);
      color: var(--accent);
    }
    .sorb-lang-tag.hsb {
      background: rgba(81,207,102,0.12);
      border: 1px solid rgba(81,207,102,0.25);
      color: var(--success);
    }
    .sorb-lang-text { color: var(--text-gray); }
    .sorb-lang-row.translated .sorb-lang-text { color: var(--success); }
    .sorb-divider-row {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.6rem 0;
    }
    .sorb-divider-line {
      flex: 1;
      height: 1px;
      background: var(--border);
    }
    .sorb-ki-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.25rem 0.65rem;
      background: rgba(26,102,255,0.12);
      border: 1px solid rgba(26,102,255,0.25);
      border-radius: var(--radius-pill);
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 700;
      color: var(--primary-light);
      white-space: nowrap;
    }
    .sorb-ki-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
    .sorb-window-footer {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0.85rem;
      padding-top: 0.85rem;
      border-top: 1px solid var(--border);
      font-family: var(--font-mono);
      font-size: 0.68rem;
      color: var(--text-muted);
    }
    .sorb-status-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 6px var(--success);
      flex-shrink: 0;
    }

    /* Metric badges below dashboard window */
    .hero-metrics {
      display: flex;
      gap: 0.6rem;
      margin-top: 0.9rem;
      flex-wrap: wrap;
    }
    .hero-metric {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.35rem 0.75rem;
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
    }
    .hero-metric .dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .hero-metric.good { color: var(--success); border-color: rgba(81,207,102,0.25); }
    .hero-metric.good .dot { background: var(--success); box-shadow: 0 0 6px var(--success); }
    .hero-metric.blue { color: var(--accent); border-color: var(--border-blue); }
    .hero-metric.blue .dot { background: var(--primary-light); box-shadow: 0 0 6px var(--primary); }

    /* ── Two-column hero flex layout ────────────────────────── */
    .geo-hero-row {
      display: flex;
      align-items: center;
      gap: clamp(2rem, 5vw, 4rem);
    }
    .geo-hero-row .hero-content {
      flex: 1;
      max-width: none;
    }

    /* ── Hide hero visual on smaller screens ─────────────────── */
    @media (max-width: 1024px) {
      .geo-hero-row .hero-visual { display: none; }
    }

    /* ── Why Bautzen region cards ─────────────────────────────── */
    .region-cards {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .region-card {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.5rem;
      transition: border-color 0.3s, transform 0.3s;
    }
    .region-card:hover {
      border-color: var(--border-blue);
      transform: translateX(4px);
    }
    .region-card h3 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
      color: var(--text-white);
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .region-card h3 svg {
      width: 18px; height: 18px;
      color: var(--primary);
      flex-shrink: 0;
    }
    .region-card p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ── Process steps (single column variant) ───────────────── */
    .process-steps-single {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }
    @media (max-width: 640px) {
      .process-steps-single { grid-template-columns: 1fr; }
    }

    /* ── Trust dividers ──────────────────────────────────────── */
    .trust-divider {
      width: 1px;
      height: 24px;
      background: var(--border);
    }
    @media (max-width: 640px) {
      .trust-divider { display: none; }
    }

    /* ── Intro text column ───────────────────────────────────── */
    .intro-text p {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.8;
      margin-bottom: 1rem;
    }
    .intro-text p:last-child { margin-bottom: 0; }
    .intro-text strong { color: var(--text-gray); }

/* ============================================================
   8. WEBDESIGN-ZITTAU
   ============================================================ */
    /* ── Location hero badge ─────────────────────────────────── */
    .location-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.4rem 1rem;
      border-radius: var(--radius-pill);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.06em;
      color: var(--accent);
      margin-bottom: 1.5rem;
    }

    /* ── hreflang code window ────────────────────────────────── */
    .geo-hero-row .hero-visual {
      width: clamp(280px, 38vw, 520px);
      pointer-events: none;
      z-index: 0;
      flex-shrink: 0;
    }
    .hreflang-window {
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(26,102,255,0.08);
    }
    .hreflang-window-bar {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 0.75rem 1rem;
      background: #161b22;
      border-bottom: 1px solid var(--border);
    }
    .hreflang-window-dot {
      width: 11px; height: 11px;
      border-radius: 50%;
    }
    .hreflang-window-dot:nth-child(1) { background: #ff5f57; }
    .hreflang-window-dot:nth-child(2) { background: #ffbd2e; }
    .hreflang-window-dot:nth-child(3) { background: #28c840; }
    .hreflang-window-bar span {
      margin-left: auto;
      font-family: var(--font-mono);
      font-size: 0.7rem;
      color: var(--text-muted);
    }
    .hreflang-window-body {
      padding: 1.25rem 1.5rem;
      font-family: var(--font-mono);
      font-size: 0.78rem;
      line-height: 1.9;
      color: var(--text-muted);
    }
    .hreflang-window-body .c-tag  { color: #7dd3fc; }
    .hreflang-window-body .c-attr { color: #86efac; }
    .hreflang-window-body .c-val  { color: #fca5a5; }
    .hreflang-window-body .c-cm   { color: #475569; }
    .hreflang-window-body .c-kw   { color: var(--primary-light); }

    /* ── Flag badges below code window ──────────────────────── */
    .flag-badges {
      display: flex;
      gap: 0.6rem;
      margin-top: 0.9rem;
      flex-wrap: wrap;
    }
    .flag-badge {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.35rem 0.8rem;
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--text-gray);
    }
    .flag-badge.active {
      border-color: var(--border-blue);
      color: var(--accent);
    }
    .flag-badge .dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      flex-shrink: 0;
      background: var(--success);
      box-shadow: 0 0 6px var(--success);
    }

    /* ── Two-column flex layout for hero ────────────────────── */
    .geo-hero-row {
      display: flex;
      align-items: center;
      gap: clamp(2rem, 5vw, 4rem);
    }
    .geo-hero-row .hero-content {
      flex: 1;
      max-width: none;
    }

    /* ── Hide hero visual on smaller screens ─────────────────── */
    @media (max-width: 1024px) {
      .geo-hero-row .hero-visual { display: none; }
    }

    /* ── Trust bar dividers ──────────────────────────────────── */
    .trust-divider {
      width: 1px;
      height: 24px;
      background: var(--border);
    }
    @media (max-width: 640px) {
      .trust-divider { display: none; }
    }

    /* ── Why Zittau cards (right column) ─────────────────────── */
    .why-cards {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .why-card {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.4rem 1.6rem;
      transition: border-color 0.3s, transform 0.3s;
    }
    .why-card:hover {
      border-color: var(--border-blue);
      transform: translateY(-3px);
    }
    .why-card-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 0.4rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .why-card-title-icon {
      width: 32px; height: 32px;
      border-radius: var(--radius-sm);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .why-card-title-icon svg { width: 16px; height: 16px; color: var(--primary); }
    .why-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

    /* ── Feature card bullet list ────────────────────────────── */
    .feature-card-list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-top: 1rem;
    }
    .feature-card-item {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .feature-card-item::before {
      content: '';
      display: block;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--primary-light);
      margin-top: 0.45em;
      flex-shrink: 0;
    }

    /* ── Process layout (2-col on desktop) ───────────────────── */
    .process-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 4vw, 4rem);
      align-items: start;
    }
    @media (max-width: 768px) {
      .process-grid { grid-template-columns: 1fr; }
    }

/* ============================================================
   9. WEBDESIGN-LOEBAU
   ============================================================ */
    /* ── Location hero badge ────────────────────────────────────── */
    .location-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.45rem 1.1rem;
      border-radius: var(--radius-pill);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      font-family: var(--font-mono);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      color: var(--accent);
      margin-bottom: 1.5rem;
    }

    /* ── Reach Map container ────────────────────────────────────── */
    .reach-map-wrap {
      width: clamp(280px, 36vw, 480px);
      pointer-events: none;
      z-index: 0;
      flex-shrink: 0;
    }
    .reach-map {
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(26,102,255,0.08);
      padding: 1.5rem 1.25rem 1.25rem;
    }
    .reach-map-bar {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 1.25rem;
    }
    .reach-map-dot-win {
      width: 11px; height: 11px;
      border-radius: 50%;
    }
    .reach-map-dot-win:nth-child(1) { background: #ff5f57; }
    .reach-map-dot-win:nth-child(2) { background: #ffbd2e; }
    .reach-map-dot-win:nth-child(3) { background: #28c840; }
    .reach-map-bar span {
      margin-left: auto;
      font-family: var(--font-mono);
      font-size: 0.7rem;
      color: var(--text-muted);
    }
    .reach-map svg.map-svg {
      width: 100%;
      height: auto;
      display: block;
    }
    .reach-map-legend {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
      flex-wrap: wrap;
    }
    .reach-map-tag {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.3rem 0.65rem;
      background: #0d1117;
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 600;
      color: var(--text-muted);
    }
    .reach-map-tag .dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .reach-map-tag.center { color: var(--primary-light); border-color: var(--border-blue); }
    .reach-map-tag.center .dot { background: var(--primary-light); box-shadow: 0 0 6px var(--primary); }
    .reach-map-tag.outer .dot { background: var(--text-muted); }

    /* ── Two-column flex layout for hero ────────────────────── */
    .geo-hero-row {
      display: flex;
      align-items: center;
      gap: clamp(2rem, 5vw, 4rem);
    }
    .geo-hero-row .hero-content {
      flex: 1;
      max-width: none;
    }

    @media (max-width: 1024px) {
      .reach-map-wrap { display: none; }
    }

    /* ── Trust divider ──────────────────────────────────────────── */
    .trust-divider {
      width: 1px;
      height: 24px;
      background: var(--border);
    }
    @media (max-width: 640px) {
      .trust-divider { display: none; }
    }

    /* ── Info cards (right column of split-2) ───────────────────── */
    .info-cards {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .info-card {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.5rem;
      transition: border-color 0.3s, transform 0.3s;
    }
    .info-card:hover {
      border-color: var(--border-blue);
      transform: translateY(-3px);
    }
    .info-card h4 {
      font-size: 0.95rem;
      color: var(--text-white);
      margin-bottom: 0.45rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .info-card h4::before {
      content: '';
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--primary-light);
      box-shadow: 0 0 6px var(--primary);
      flex-shrink: 0;
    }
    .info-card p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ── Process steps (single column, full-width) ──────────────── */
    .process-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
    }
    .process-item {
      background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.75rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      transition: border-color 0.3s, transform 0.3s;
    }
    .process-item:hover {
      border-color: var(--border-blue);
      transform: translateY(-3px);
    }
    .process-item-num {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: var(--primary-light);
      background: var(--primary-glow);
      border: 1px solid var(--border-blue);
      border-radius: var(--radius-pill);
      padding: 0.25rem 0.65rem;
      width: fit-content;
    }
    .process-item h3 {
      font-size: 1rem;
      color: var(--text-white);
      margin: 0;
    }
    .process-item p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.65;
      margin: 0;
    }

/* ============================================================
   LEGAL PAGES  (impressum.html, datenschutz.html)
   ============================================================ */

.legal-page {
  padding: calc(var(--nav-h, 96px) + 3rem) 0 5rem;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

/* ── Sections ─────────────────────────────────────────────── */

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

.legal-section h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 1rem 0 0.4rem;
}

.legal-section p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0 0.75rem;
}

.legal-section li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.legal-section a {
  color: var(--primary-light, #818cf8);
}

.legal-section a:hover {
  text-decoration: underline;
}

/* ── Info / highlight boxes ───────────────────────────────── */

.legal-info-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.legal-info-box p {
  margin-bottom: 0.3rem;
}

.legal-note {
  background: var(--bg-surface);
  border-left: 3px solid var(--primary-light, #818cf8);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1rem 0;
}

.legal-note h3 {
  margin-top: 0;
  color: var(--primary-light, #818cf8);
}

.legal-highlight {
  background: rgba(99, 102, 241, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.legal-highlight h3 {
  margin-top: 0;
  color: var(--primary-light, #818cf8);
}

.legal-intro {
  background: var(--bg-surface);
  border-left: 3px solid var(--primary-light, #818cf8);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
}

/* ── Footer meta / actions ────────────────────────────────── */

.legal-footer-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-footer-info p {
  margin-bottom: 0.25rem;
}

.legal-actions {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Utility ──────────────────────────────────────────────── */

.highlight-text {
  font-weight: 700;
  color: var(--primary-light, #818cf8);
  font-size: 1.05rem;
}

.external-link {
  color: var(--primary-light, #818cf8);
  word-break: break-all;
}

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

.legal-page .btn-primary,
.legal-page .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.legal-page .btn-primary {
  background: var(--primary, #6366f1);
  color: #fff;
}

.legal-page .btn-primary:hover {
  opacity: 0.85;
  text-decoration: none;
}

.legal-page .btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-surface);
}

.legal-page .btn-secondary:hover {
  border-color: var(--primary-light, #818cf8);
  color: var(--primary-light, #818cf8);
  text-decoration: none;
}

/* ── Rights grid (Datenschutz §2) ────────────────────────── */

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.right-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.right-item h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--primary-light, #818cf8);
}

.right-item h3 i {
  margin-right: 0.4rem;
}

.right-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Data type cards ──────────────────────────────────────── */

.cookie-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.cookie-type {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.cookie-type h4 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--primary-light, #818cf8);
}

.cookie-type h4 i {
  margin-right: 0.35rem;
}

.cookie-type p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.cookie-type ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0;
}

.cookie-type li {
  font-size: 0.835rem;
  margin-bottom: 0.25rem;
}

.cookie-legal {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ── Data processing box ──────────────────────────────────── */

.data-processing-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.data-processing-box h4 {
  margin: 0.75rem 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.data-processing-box h4:first-child {
  margin-top: 0;
}

.data-list,
.feature-list {
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}

.data-list li,
.feature-list li {
  margin-bottom: 0.35rem;
}

/* ── Storage periods ──────────────────────────────────────── */

.storage-periods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.storage-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.storage-item h4 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--primary-light, #818cf8);
}

.storage-item p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--text-muted);
}

/* ── Contact box ──────────────────────────────────────────── */

.contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.25rem 0;
}

.contact-box h3 {
  margin: 0 0 0.75rem;
}

/* ── Privacy contact CTA ──────────────────────────────────── */

.privacy-contact-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.privacy-contact-cta h2 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
