@font-face {
  font-family: Intro;
  src: url(assets/fonts/intro-Light.otf);
}

:root{
  --primary:#0099FF;
  --danger:#F82828;
  --gray:#D9D9D9;
  --white:#FFF;
  --radius:18px;
  --shadow:0 8px 24px rgba(0,0,0,.08);
}

*{
  box-sizing:border-box
}

html, body, #app{
  height:100%
}

body{
  margin:0;
  font-family: 'intro', sans-serif;
  background:#f7f8fa;
  color:#111
}

h1, h2, h3{
  font-weight:700;
  margin:0 0 12px
}

.container{
  max-width:980px;
  margin:0 auto;
  padding:24px
}

.card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:clamp(16px,3vw,28px)
}

.btn{
  border:0;
  border-radius:14px;
  padding:12px 20px;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(0,153,255,.25)
}

.btn--ghost{
  background: var(--danger);
  color: var(--white);
  border:1px solid var(--gray);
  box-shadow:none
}

.input, .select{
  width:100%;
  border:1px solid var(--gray);
  border-radius:12px;
  padding:12px 14px;
  font-size:16px;
  background:#fff
}

.row{
  display:grid;
  gap:16px
}

.row--2{
  grid-template-columns:1fr 1fr
}

@media (max-width:720px){
  .row--2{
    grid-template-columns:1fr
  }
}

.nav{
  background:#fff;
  border-bottom:1px solid var(--gray)
}

.nav__inner{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  height:auto;
  min-height:64px;
  padding:10px 20px;
  max-width:1080px;
  margin:0 auto;
  flex-wrap:wrap
}

/* Link-Leiste links */
.nav__links{
  display:flex;
  gap:8px;
  flex-wrap:wrap
}

.nav a{
  color:#111;                /* inaktiv schwarz */
  text-decoration:none;
  font-weight:700;
  padding:8px 12px;
  border-radius:10px
}

/* aktive Seite: Primär-Blau */
.nav a.router-link-active{
  background:#eef6ff;
  color:var(--primary)
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef6ff
}

.err{
  color:var(--danger)
}

/* Hinweisleisten (Erfolg/Info/Fehler) */
.notice{
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:12px;
  padding:12px 14px;
  border:1px solid var(--gray);
  background:#fff;
  box-shadow:var(--shadow);
  margin:12px 0
}
.notice--success{
  border-color:#b7e4c7;
  background:#e9f7ef
}

table{
  width:100%;
  border-collapse:collapse
}

th, td{
  border:1px solid var(--gray);
  padding:10px
}

thead tr{
  background:#eef6ff
}

/* feine Anpassungen & Responsive Header-Abstände */
.section-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:12px
}

/* Bereich für rechte Header-Aktionen, damit der Button nicht „ins Feld rutscht“ */
.header-actions{
  margin-left:auto;
  padding-top:6px;          /* etwas Luft nach oben */
  margin-bottom:6px         /* Abstand nach unten zum nächsten Block */
}

.kpi{
  font-size:28px;
  margin:12px 0 0
}

.person-card{
  border-left:6px solid var(--primary)
}

/* Tabellen mobil scrollbar machen */
.table-wrap{
  overflow:auto
}

/* styles.css – Zusatz für Notizenliste in Projekt-Kacheln */
.note-list{
  margin:8px 0 0;
  padding-left:18px;        /* leichte Einrückung */
}
.note-list li{
  margin:4px 0;
  line-height:1.35;
}
