@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --navy: #0E3A78;
  --navy-dunkel: #0A2C5C;
  --rot: #D72828;
  --weiss: #FFFFFF;
  --bg-tint: #E6ECF3;
  --text: #1A1A1A;
  --grau: #667085;
  --rand: #E0E5EE;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  margin: 0;
  color: var(--text);
  background: var(--bg-tint);
}

h1, h2, h3 { font-weight: 600; color: var(--navy); margin: 0 0 8px; }

.app-header {
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.app-header img { width: 32px; height: 32px; border-radius: 8px; }
.app-header .marke { font-weight: 700; font-size: 1.05em; letter-spacing: 0.02em; }
.app-header .marke small { display: block; font-weight: 400; font-size: 0.7em; opacity: 0.8; letter-spacing: 0.08em; }
.app-header a.zurueck { color: white; text-decoration: none; font-size: 1.3em; margin-right: 4px; }

.inhalt { max-width: 720px; margin: 0 auto; padding: 16px 16px 90px; }

.karte {
  background: white; border-radius: 14px; padding: 16px 18px;
  margin-bottom: 14px; box-shadow: 0 1px 3px rgba(14,58,120,0.08);
  border: 1px solid var(--rand);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px; border-radius: 10px; border: none; font-family: inherit;
  font-weight: 600; font-size: 0.95em; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--rot); color: white; }
.btn-primary:disabled { background: #C9A4A4; cursor: wait; }
.btn-navy { background: var(--navy); color: white; }
.btn-outline { background: white; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-rot { background: white; color: var(--rot); border: 1.5px solid var(--rot); }

.pill {
  display: inline-block; padding: 3px 11px; border-radius: 20px;
  font-size: 0.78em; font-weight: 600; color: white;
}
.pill-a1 { background: #4C9A5A; }
.pill-a2 { background: #E0982F; }
.pill-b1 { background: var(--rot); }
.pill-test { background: #C9962B; }
.pill-status { background: #9AA5B8; }
.pill-status.bearbeitet { background: #E0982F; }
.pill-status.abgeschlossen { background: #2E7D32; }

input[type=text], input[type=password], textarea {
  font-family: inherit;
}
