/* Stundenglas: CI wie stundenglas.biz (Blau #2563eb, Grün #10b981, Poppins) */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-600.woff2) format('woff2'); }
:root {
  --blau: #2563eb; --blau-dunkel: #1d4ed8; --blau-hell: #eff6ff; --gruen: #10b981; --rot: #ef4444;
  --text: #374151; --grau: #6b7280; --rand: #e5e7eb; --grund: #f3f4f6; --radius: 8px;
  font-family: 'Poppins', system-ui, sans-serif; font-size: 15px; color: var(--text);
}
body { margin: 0; background: var(--grund); }
header { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: .7rem 1.2rem; background: var(--blau); color: #fff; }
.marke { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: 1.1rem; color: #fff; text-decoration: none; }
nav a { margin-left: 1.2rem; color: rgba(255,255,255,.8); text-decoration: none; font-weight: 500; }
nav a[aria-current], nav a:hover { color: #fff; border-bottom: 2px solid #fff; }
main { max-width: 1180px; margin: 0 auto; padding: 1.2rem 1rem; }
h1, h2 { color: #1f2937; font-weight: 600; }
.karte { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.reihe { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
label { display: flex; flex-direction: column; font-size: .8rem; color: var(--grau); gap: .25rem; flex: 1 1 140px; font-weight: 500; }
input, select, textarea, button { font: inherit; padding: .5rem .6rem; border: 1px solid var(--rand); border-radius: 6px; background: #fff; color: var(--text); }
input:focus, select:focus { outline: 2px solid var(--blau); outline-offset: -1px; border-color: var(--blau); }
button { background: var(--blau); color: #fff; border: 0; cursor: pointer; font-weight: 500; }
button:hover { background: var(--blau-dunkel); }
button:disabled { opacity: .45; cursor: default; }
button.gruen { background: var(--gruen); } button.rot { background: var(--rot); }
button.zweit { background: #fff; color: var(--blau); border: 1px solid var(--blau); }
button.leise { background: none; color: var(--grau); padding: 0 .2rem; }
button.leise:hover { color: var(--rot); background: none; }
a { color: var(--blau); }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
th { background: #f9fafb; font-weight: 500; font-size: .8rem; color: var(--grau); text-transform: uppercase; letter-spacing: .03em; }
th, td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--rand); vertical-align: top; }
td.zahl, th.zahl { text-align: right; white-space: nowrap; }
tfoot td { font-weight: 600; background: #f9fafb; }
.meldung { padding: .6rem .9rem; border-radius: var(--radius); background: #ecfdf5; color: #065f46; }
.meldung.fehler { background: #fef2f2; color: #991b1b; }
.klein { font-size: .85rem; color: var(--grau); }
.dauer { display: flex; gap: .4rem; }
.dauer input { flex: 1; min-width: 0; }
#stoppuhr { padding: .3rem .9rem; font-size: 1.3rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
#stoppuhr.laeuft { background: var(--gruen); color: #fff; border-color: var(--gruen); }
.spalten { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .spalten { grid-template-columns: minmax(280px, 1fr) 2fr; } .erfassen { position: sticky; top: 1rem; } }
.spalten .karte { margin-bottom: 0; min-width: 0; }
.erfassen { display: flex; flex-direction: column; gap: .75rem; }
.erfassen label { flex: none; }
.karte h2 { margin: 0 0 .2rem; font-size: 1.1rem; }
.kopfzeile { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.kopfzeile input { width: auto; }
button.breit { width: 100%; padding: .65rem; }
details summary { cursor: pointer; margin-bottom: .4rem; }
tr.aktiv td { background: var(--blau-hell); }
.tabelle { overflow-x: auto; border-radius: var(--radius); }
@media (max-width: 640px) { th, td { padding: .45rem .4rem; } .ausblenden-mobil { display: none; } nav a { margin-left: .7rem; } }
