:root {
  /* Zentrale Schriftgröße: z. B. 18px statt 16px für 12,5 % größere Texte. */
  --font-size-base: 18px;
  font-size: var(--font-size-base);
  --lagune: #0080c9;
  --indigo: #003c61;
  --second: #23608a;
  --ink: #193b50;
  --muted: #667d8c;
  --line: #dce6ec;
  --bs-primary: #003c61;
  --bs-body-color: #193b50;
  --bs-body-bg: #f4f7f9;
  --bs-border-color: #d5e1e8;
}
body {
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  font-size: 0.9375rem;
  background: #f4f7f9;
  color: var(--ink);
}
a {
  color: var(--second);
}
.container {
  max-width: 1300px;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 23px;
  text-decoration: none;
  color: var(--indigo);
}
.brand-logo {
  display: block;
  width: 140px;
  height: auto;
  flex-shrink: 0;
}
.brand-caption {
  font-size: 0.625rem;
  line-height: 1.7;
  letter-spacing: 2px;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.brand-caption strong {
  font-size: 0.8125rem;
  letter-spacing: 1px;
}
nav {
  display: flex;
  align-self: stretch;
  gap: 28px;
}
nav a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  padding-top: 3px;
  font-weight: 600;
}
nav a.selected {
  color: var(--indigo);
  border-bottom-color: var(--lagune);
}
.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.account > a {
  font-weight: 700;
  text-decoration: none;
  background: #edf5fa;
  padding: 10px 13px;
  border-radius: 50px;
}
.logout {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.8125rem;
}
.header-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8125rem;
}
.main-container {
  padding-top: 42px;
  padding-bottom: 24px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.eyebrow,
.section-kicker {
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 1.7px;
  color: var(--second);
  margin-bottom: 10px;
  text-transform: uppercase;
}
h1 {
  font-size: 2rem;
  letter-spacing: -1px;
  font-weight: 700;
  margin-bottom: 9px;
}
h2 {
  font-size: 1.3125rem;
  font-weight: 650;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
}
h3 {
  font-size: 0.9375rem;
  font-weight: 650;
}
.lead-copy {
  color: var(--muted);
  margin: 0;
  font-size: 0.875rem;
}
.date-chip {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 15px;
  color: var(--muted);
  font-size: 0.75rem;
  background: #fff;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 3px 10px #003c6103;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}
.panel-top h2 {
  margin: 0;
}
.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}
.form-label {
  font-size: 0.8125rem;
  font-weight: 650;
  margin-bottom: 8px;
}
.form-control,
.form-select {
  background-color: #fff;
  min-height: 44px;
  font-size: 0.875rem;
  border-radius: 6px;
  color: var(--ink);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--lagune);
  box-shadow: 0 0 0 3px #0080c920;
}
.form-control::placeholder {
  color: #8798a4;
  font-size: 0.8125rem;
}
.duration-field {
  margin: 26px 0 23px;
}
.duration-field legend {
  font-size: 0.8125rem;
  font-weight: 650;
  margin-bottom: 10px;
}
.duration-options {
  display: flex;
  gap: 9px;
}
.duration-button {
  flex: 1;
  min-width: 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 8px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 650;
}
.duration-button span {
  font-size: 0.6875rem;
  font-weight: 400;
}
.duration-button.active {
  background: #eaf5fc;
  border-color: var(--lagune);
  color: var(--indigo);
  box-shadow: inset 0 0 0 1px var(--lagune);
}
.custom-duration {
  position: relative;
  width: 148px;
}
.custom-duration input {
  height: 100%;
  padding-right: 61px;
  font-size: 1.0625rem;
}
.custom-duration > span {
  position: absolute;
  right: 12px;
  top: 19px;
  color: var(--muted);
  font-size: 0.6875rem;
  pointer-events: none;
}
.form-text {
  font-size: 0.6875rem;
  color: var(--muted);
  margin-top: 9px;
}
.project-field {
  margin-top: 23px;
}
.optional {
  margin-left: 7px;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--muted);
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 24px;
}
.btn {
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 6px;
}
.btn-primary {
  --bs-btn-bg: var(--indigo);
  --bs-btn-border-color: var(--indigo);
  --bs-btn-hover-bg: #23608a;
  --bs-btn-hover-border-color: #23608a;
  --bs-btn-disabled-bg: #23608a;
  --bs-btn-disabled-border-color: #23608a;
}
.btn-outline-primary {
  --bs-btn-color: var(--indigo);
  --bs-btn-border-color: #b5cbd9;
  --bs-btn-hover-bg: var(--indigo);
  --bs-btn-hover-border-color: var(--indigo);
}
.btn-primary span {
  margin-left: 18px;
}
.info-panel {
  background: var(--indigo);
  color: #fff;
  border-radius: 12px;
  padding: 29px 25px;
  align-self: start;
  position: relative;
  overflow: hidden;
}
.info-panel:after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -55px;
  width: 180px;
  height: 180px;
  border: 25px solid #0080c92b;
  border-radius: 50%;
  pointer-events: none;
}
.info-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff60;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-style: italic;
  margin-bottom: 24px;
}
.info-panel h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  max-width: 180px;
}
.info-panel p {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #cfdfeb;
}
.info-panel h3 {
  margin-top: 21px;
}
.info-divider {
  height: 1px;
  background: #ffffff25;
  margin: 24px 0;
}
.history-panel {
  margin-top: 28px;
}
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--ink);
  font-size: 0.8125rem;
  margin-bottom: 0;
}
.table thead th {
  font-size: 0.625rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 10px;
  background: #f6f9fb;
}
.table td,
.table tbody th {
  padding: 17px 10px;
  border-color: #e8eef2;
}
.entry-description {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 5px 0 0;
  max-width: 440px;
  overflow-wrap: anywhere;
}
.edit-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}
.empty-state {
  text-align: center;
  padding: 30px 10px 20px;
  color: var(--muted);
}
.empty-state > span {
  font-size: 1.875rem;
  color: var(--lagune);
}
.empty-state h3 {
  margin-top: 12px;
  color: var(--ink);
}
.empty-state p {
  font-size: 0.8125rem;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  color: #78909f;
  font-size: 0.6875rem;
  margin-top: 29px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.login-panel {
  max-width: 460px;
  margin: 50px auto 80px;
  padding: 36px;
}
.category-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.status-pill {
  background: #e9f6f0;
  border-radius: 20px;
  font-size: 0.6875rem;
  padding: 5px 10px;
  color: #256950;
}
.status-pill.inactive {
  background: #eef1f4;
  color: var(--muted);
}
.total-badge {
  text-align: right;
}
.total-badge span {
  display: block;
  font-size: 0.6875rem;
  color: var(--muted);
}
.total-badge strong {
  font-size: 1.4375rem;
  color: var(--indigo);
}
.report-table tfoot {
  background: #edf5fa;
  font-weight: 700;
}
.report-table tfoot th,
.report-table tfoot td {
  padding: 18px 10px;
}
.report-table tbody th {
  font-weight: 500;
}
.pagination-links {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  margin-top: 15px;
}
.alert {
  font-size: 0.875rem;
}
.small {
  font-size: 0.6875rem;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lagune);
  outline-offset: 3px;
}
@media (max-width: 991px) {
  .entry-layout {
    grid-template-columns: 1fr;
  }
  .info-panel {
    display: none;
  }
  .header-inner {
    gap: 25px;
  }
  .panel {
    padding: 24px;
  }
  .form-actions .small {
    max-width: 160px;
  }
}
@media (max-width: 600px) {
  .header-inner {
    min-height: 78px;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand-logo {
    width: 110px;
  }
  .brand {
    gap: 12px;
  }
  .brand-caption {
    padding-left: 12px;
  }
  .header-note {
    display: none;
  }
  .account {
    gap: 8px;
  }
  .account > a {
    padding: 7px 10px;
  }
  .logout {
    font-size: 0.6875rem;
  }
  nav {
    order: 3;
    flex-basis: 100%;
    gap: 24px;
  }
  nav a {
    padding: 10px 0 5px;
  }
  .main-container {
    padding-top: 26px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .date-chip {
    display: none;
  }
  h1 {
    font-size: 1.6875rem;
  }
  .eyebrow {
    font-size: 0.5625rem;
  }
  .panel {
    padding: 20px 16px;
  }
  .panel-top {
    align-items: flex-start;
  }
  .panel-top > .small {
    max-width: 95px;
    text-align: right;
  }
  .duration-options {
    gap: 6px;
    flex-wrap: wrap;
  }
  .duration-button {
    min-width: 55px;
  }
  .custom-duration {
    width: 100%;
    margin-top: 4px;
  }
  .custom-duration input {
    height: 44px;
  }
  .custom-duration > span {
    top: 15px;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .form-actions .small {
    max-width: 100%;
    margin-bottom: 7px;
  }
  .form-actions > div {
    display: flex;
    gap: 8px;
  }
  .form-actions .btn-primary {
    flex: 1;
  }
  .site-footer {
    gap: 20px;
    font-size: 0.625rem;
  }
  .history-panel {
    padding: 20px 12px;
  }
  .login-panel {
    margin: 24px auto 40px;
  }
}
