:root {
      --bg: #1d2429;
      --panel: #293238;
      --panel-2: #3a454c;
      --line: #526068;
      --text: #f3f5f6;
      --muted: #b3bec3;
      --cyan: #f4dc00;
      --cyan-dark: #514900;
      --amber: #f4dc00;
      --amber-dark: #514900;
      --green: #79d7a6;
      --red: #ff927d;
      --shadow: 0 16px 35px rgba(0,0,0,.25);
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      min-height: 100vh;
      background: var(--bg);
      color: var(--text);
      font-family: Inter, "Segoe UI", Arial, sans-serif;
      font-size: 16px;
    }
    button, input, textarea { font: inherit; }
    button { cursor: pointer; }
    .shell { max-width: 1800px; margin: 0 auto; padding: 24px 28px 40px; }
    .brand-lockup { display: flex; align-items: center; gap: 16px; min-width: 0; }
    .logo-frame { width: 160px; height: 110px; border-radius: 12px; background: #fff; border: 1px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto; }
    .logo-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .brand-name { display: none; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 4px; }
    .brand-context { color: var(--cyan); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
    .topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
    .eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
    h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1; margin: 8px 0 10px; letter-spacing: -.04em; }
    .subtitle { color: var(--muted); margin: 0; font-size: clamp(15px, 1.5vw, 20px); }
    .actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
    .clock { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
    .btn { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; color: var(--text); background: var(--panel); transition: .18s ease; }
    .btn:hover, .btn:focus-visible { border-color: var(--cyan); background: var(--panel-2); outline: none; }
    .btn.primary { background: var(--cyan); color: #092128; border-color: var(--cyan); font-weight: 800; }
    .btn.primary:hover, .btn.primary:focus-visible { background: #fff176; }
    .hero-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 24px; }
    .metric { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
    .metric .label { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; }
    .metric .value { font-size: clamp(34px, 4vw, 58px); font-weight: 850; letter-spacing: -.04em; margin-top: 4px; line-height: 1; }
    .metric .note { color: var(--muted); margin-top: 8px; font-size: 14px; }
    .metric.target { border-top: 4px solid var(--amber); }
    .metric.actual { border-top: 4px solid var(--cyan); }
    .metric.delta { border-top: 4px solid var(--green); }
    .metric.delta.negative { border-top-color: var(--red); }
    .positive { color: var(--green); }
    .negative { color: var(--red); }
    .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 30px 0 12px; }
    h2 { font-size: 22px; margin: 0; letter-spacing: -.02em; }
    .section-heading p { color: var(--muted); margin: 0; font-size: 14px; }
    .week-grid { display: grid; grid-template-columns: repeat(5, minmax(210px, 1fr)); gap: 12px; align-items: stretch; }
    .day-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-width: 0; }
    .day-head { padding: 15px 16px; background: var(--panel-2); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
    .day-name { font-weight: 850; font-size: 20px; }
    .day-date { color: var(--muted); font-size: 13px; white-space: nowrap; }
    .day-body { padding: 14px; }
    .info-block { margin-bottom: 16px; }
    .info-title { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 850; margin-bottom: 7px; }
    .count-badge { color: var(--cyan); font-variant-numeric: tabular-nums; }
    ul { list-style: none; padding: 0; margin: 0; }
    li { padding: 8px 9px; background: #10202b; border-left: 3px solid var(--cyan); border-radius: 6px; margin-bottom: 5px; line-height: 1.3; font-size: 14px; }
    .pickup li { border-left-color: var(--amber); }
    .empty { color: #78909a; font-style: italic; padding: 5px 0; font-size: 14px; }
    .throughput { border-top: 1px solid var(--line); padding-top: 13px; }
    .throughput-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 12px; }
    .throughput-row span:first-child { color: var(--muted); }
    .throughput-row strong { font-size: 21px; font-variant-numeric: tabular-nums; }
    .throughput-row.total { margin-top: 3px; padding-top: 10px; border-top: 1px dashed var(--line); }
    .throughput-row.total span:first-child { color: var(--text); font-weight: 800; }
    .throughput-row.total strong { color: var(--cyan); }
    .summary { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
    .summary-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); }
    .summary-cell { padding: 13px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
    .summary-cell:nth-child(4n) { border-right: 0; }
    .summary-head { background: var(--panel-2); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
    .summary-number { text-align: right; font-size: 19px; font-weight: 750; }
    .summary-total { background: #102c36; font-weight: 850; }
    .summary-total .summary-number { color: var(--cyan); font-size: 24px; }
    .legend { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 12px; }
    .legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; background: var(--cyan); }
    .legend .pickup-dot::before { background: var(--amber); }
    .legend .target-dot::before { background: var(--green); }
    .edit-panel { display: none; margin-top: 24px; background: #101f2a; border: 1px solid var(--cyan); border-radius: 16px; padding: 18px; }
    .edit-panel.open { display: block; }
    .edit-panel h2 { margin-bottom: 4px; }
    .edit-help { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
    .edit-global { display: grid; grid-template-columns: 1fr 220px; gap: 12px; margin-bottom: 16px; }
    .edit-days { display: grid; grid-template-columns: repeat(5, minmax(190px, 1fr)); gap: 10px; }
    .edit-day { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
    .edit-day h3 { margin: 0 0 10px; font-size: 16px; }
    label { display: block; color: var(--muted); font-size: 12px; font-weight: 750; margin: 9px 0 4px; }
    input, textarea { width: 100%; color: var(--text); background: #0d1a23; border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; }
    input:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
    textarea { resize: vertical; min-height: 70px; line-height: 1.35; }
    .edit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
    .file-input { display: none; }
    .footer { color: #78909a; font-size: 12px; margin-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    @media (max-width: 1100px) {
      .week-grid { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
      .edit-days { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
    }
    @media (max-width: 680px) {
      .shell { padding: 18px 14px 28px; }
      .topbar { flex-direction: column; }
      .actions { justify-content: flex-start; }
      .hero-grid { grid-template-columns: 1fr; }
      .week-grid, .edit-days, .edit-global { grid-template-columns: 1fr; }
      .summary-grid { grid-template-columns: 1fr 1fr 1fr 1fr; overflow-x: auto; min-width: 650px; }
      .summary { overflow-x: auto; }
    }

/* Große Bildschirme (Hallen-Screen) */
@media (min-width: 1700px) { body { font-size: 18px; } li { font-size: 16px; } }
