:root {
  --brand-primary: #0b3d5c;
  --brand-accent: #f5a623;
  --brand-blue: #0077a8;
  --brand-text: #1a2e3b;
  --brand-text-muted: #4a6274;
  --brand-bg: #f0f4f7;
  --brand-surface: #ffffff;
  --brand-border: #c8d4dc;
  --brand-success: #1b7f4a;
  --brand-danger: #c0392b;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 61, 92, 0.08);
  font-family: "Roboto", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--brand-bg);
  color: var(--brand-text);
  line-height: 1.5;
}

a {
  color: var(--brand-blue);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.hero {
  background: linear-gradient(135deg, #0b3d5c 0%, #0077a8 100%);
  color: #fff;
  padding: 32px 20px 40px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero img {
  height: 44px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.hero p {
  margin: 0;
  opacity: 0.92;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.card h2,
.card h3 {
  margin: 0 0 12px;
  color: var(--brand-primary);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
}

.btn-accent {
  background: var(--brand-accent);
  color: #1a2e3b;
}

.btn-secondary {
  background: #e8eef2;
  color: var(--brand-primary);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.toolbar select,
.toolbar input,
.form-field input,
.form-field select {
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brand-primary);
}

.form-field small {
  display: block;
  color: var(--brand-text-muted);
  margin-top: 4px;
}

.req {
  color: var(--brand-danger);
  font-weight: 700;
}

.form-field input.invalid {
  border-color: var(--brand-danger);
  background: #fff5f5;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.15);
}

.prefilled {
  background: #eef6fb;
  border: 1px dashed var(--brand-blue);
}

.prefilled input {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  width: 100%;
}

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-filled {
  background: #dff5ea;
  color: var(--brand-success);
}

.status-pending {
  background: #fff3d9;
  color: #9a6700;
}

.status-urlaub {
  background: #e8eef2;
  color: #456;
}

.status-krank {
  background: #fde8e8;
  color: var(--brand-danger);
}

.status-feiertag {
  background: #eef3ff;
  color: #2c4a7c;
}

.status-seminar {
  background: #f3eef8;
  color: #5a3d7a;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  border-bottom: 1px solid var(--brand-border);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f7fafc;
  color: var(--brand-primary);
  position: sticky;
  top: 0;
  z-index: 1;
}

.table-wrap {
  overflow: auto;
  max-height: 70vh;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.highlight-row:hover {
  background: #f7fbff;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--brand-border);
}

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

.note {
  color: var(--brand-text-muted);
  font-size: 0.92rem;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.alert-success {
  background: #dff5ea;
  color: var(--brand-success);
}

.alert-info {
  background: #eef6fb;
  color: var(--brand-primary);
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tab {
  border: 1px solid var(--brand-border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.tab.active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 4px;
  border-radius: 50%;
  border: 1px solid var(--brand-blue);
  background: #eef6fb;
  color: var(--brand-blue);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: help;
  vertical-align: middle;
  padding: 0;
  line-height: 1;
}

.info-tip:hover,
.info-tip:focus {
  background: var(--brand-blue);
  color: #fff;
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 1.35rem;
  }
}
