/* SIM Führungsfeedback – gemeinsame Grundlagen. Farben aus dem SIM-Auftritt (sim-automation.de). */
@font-face { font-family: Roboto; src: url(../fonts/roboto-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Roboto; src: url(../fonts/roboto-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Roboto; src: url(../fonts/roboto-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --petrol: #007882;
  --petrol-dark: #00565e;
  --petrol-deep: #0b3a3f;
  --petrol-tint: #e5f1f2;
  --petrol-wash: #f2f8f8;
  --orange: #ff6b30;
  --orange-ink: #b84313;
  --orange-tint: #fff0e9;
  --ink: #17282b;
  --muted: #4d6367;
  --faint: #7d9093;
  --line: #d3dfe0;
  --line-soft: #e6eeee;
  --bg: #f4f7f7;
  --surface: #ffffff;
  --gruen: #2f8a4f;
  --gelb: #d9a400;
  --ampel-orange: #ff6b30;
  --rot: #c4372c;
  --radius: 6px;
  --shadow: 0 1px 2px rgb(11 58 63 / 0.06), 0 4px 14px rgb(11 58 63 / 0.06);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.5 Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--petrol); color: #fff; }
h1, h2, h3 { line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--petrol-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.btn {
  appearance: none; border: 1px solid transparent; border-radius: var(--radius);
  font: 500 1rem/1 Roboto, system-ui, sans-serif; letter-spacing: 0.01em;
  min-height: 48px; padding: 0 1.4rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
  text-decoration: none;
}
.btn-primary { background: var(--petrol); color: #fff; box-shadow: 0 1px 2px rgb(0 86 94 / 0.25); }
.btn-primary:hover { background: var(--petrol-dark); color: #fff; }
.btn-primary:active { background: var(--petrol-deep); }
.btn-ghost { background: transparent; color: var(--petrol-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--petrol); background: var(--petrol-wash); }
.btn[disabled], .btn[aria-busy='true'] { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

.brandbar {
  background: var(--surface); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 clamp(16px, 4vw, 40px); min-height: 60px;
}
.brandbar img { height: 26px; width: auto; display: block; }
.brandbar .tag { font-size: 0.8125rem; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }
