/* Projekt-Werkstatt – schlichtes eigenes CSS, keine externen Schriften */
:root {
  --blau: #1f5fa8; --blau-hell: #e8f1fc; --text: #1d2733; --grau: #5b6673; --linie: #d5dbe3;
  --grund: #f6f7f9; --weiss: #fff; --gruen: #137a55; --gruen-hell: #e4f6ef; --rot: #b3261e; --rot-hell: #fbeae8;
  --gelb-hell: #fff7d6; --gelb: #8a6100;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--text);
  background: var(--grund); line-height: 1.45; font-size: 16px; display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--blau); }
code { font-family: Consolas, "Courier New", monospace; background: var(--blau-hell); padding: 0 4px; border-radius: 4px; }
h1 { font-size: 1.6rem; margin: 0 0 .3rem; } h2 { font-size: 1.2rem; margin: 0 0 .6rem; }

.kopf { display: flex; align-items: center; gap: 1.2rem; padding: .6rem 1.2rem; background: var(--weiss);
  border-bottom: 3px solid var(--blau); flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.logo { height: 44px; width: auto; }
.logo-gross { max-height: 90px; max-width: 100%; display: block; margin: 0 auto 1rem; }
.nav { display: flex; gap: .3rem; flex-wrap: wrap; }
.nav a, .nav-bald { padding: .4rem .8rem; border-radius: 6px; text-decoration: none; color: var(--text); font-weight: 600; }
.nav a:hover { background: var(--blau-hell); }
.nav a.aktiv { background: var(--blau); color: #fff; }
.nav-bald { color: #a3abb5; cursor: default; }
.wer { margin-left: auto; color: var(--grau); font-size: .9rem; }
.abmelden { margin: 0; }

.inhalt { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.2rem 3rem; }
.fuss { text-align: center; color: var(--grau); font-size: .8rem; padding: 1rem; border-top: 1px solid var(--linie); background: var(--weiss); }

.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: 10px; padding: 1.2rem 1.4rem; margin: 1rem 0; }
.karte.schmal { max-width: 420px; margin: 2rem auto; }
.karte.schritt { border-left: 6px solid var(--blau); }
.leise { color: var(--grau); }

.formular { display: flex; flex-direction: column; gap: .8rem; }
.formular.zeile { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.formular label { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; font-size: .95rem; }
.formular label.haken { flex-direction: row; align-items: center; font-weight: 400; }
input, select, textarea { font: inherit; padding: .5rem .6rem; border: 1px solid var(--linie); border-radius: 6px; background: #fff; min-width: 12rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blau); outline-offset: 1px; }
.knopf { display: inline-block; font: inherit; font-weight: 600; padding: .5rem 1rem; border-radius: 6px; border: 1px solid var(--blau);
  background: var(--blau); color: #fff; cursor: pointer; text-decoration: none; }
.knopf:hover { filter: brightness(1.1); }
.knopf.leise { background: #fff; color: var(--blau); }

.meldung { padding: .7rem 1rem; border-radius: 8px; margin: .6rem 0; border: 1px solid; }
.meldung.ok { background: var(--gruen-hell); border-color: #9ad9bf; color: var(--gruen); }
.meldung.fehler { background: var(--rot-hell); border-color: #eeb3ad; color: var(--rot); }
.meldung.hinweis { background: var(--gelb-hell); border-color: #ecd36a; color: var(--gelb); }

.tabelle { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.tabelle th, .tabelle td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { font-size: .85rem; color: var(--grau); }
.tabelle.klein { font-size: .85rem; background: var(--weiss); }
.tabelle tr.gesperrt td { color: #a3abb5; }
.aktionen { display: flex; gap: .3rem; flex-wrap: wrap; }
.aktionen form { margin: 0; }
.aktionen .knopf { padding: .25rem .6rem; font-size: .85rem; }

.zettel-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.zettel { border: 2px dashed var(--grau); border-radius: 8px; padding: 1rem; background: #fff; display: flex; flex-direction: column; gap: .3rem; }
.zettel-kopf { font-weight: 700; }
@media print {
  .kopf, .fuss, .nicht-drucken { display: none; }
  body { background: #fff; } .inhalt { padding: 0; max-width: none; }
  .zettel { break-inside: avoid; }
}

/* Gruppe */
.knopfreihe { display: flex; gap: .5rem; flex-wrap: wrap; }
.leise-karte { background: #fbfcfd; }
.ablauf li { margin: .3rem 0; }
.ampel { list-style: none; padding: 0; margin: .4rem 0; }
.ampel li { display: flex; gap: .6rem; align-items: flex-start; padding: .45rem .6rem; border-radius: 6px; margin: .3rem 0; }
.ampel .punkt { flex: 0 0 .8rem; height: .8rem; border-radius: 50%; margin-top: .35rem; }
.ampel .ok { background: var(--gruen-hell); } .ampel .ok .punkt { background: var(--gruen); }
.ampel .warnung { background: var(--gelb-hell); } .ampel .warnung .punkt { background: #d29b00; }
.ampel .fehler { background: var(--rot-hell); } .ampel .fehler .punkt { background: var(--rot); }
.ampel .hinweis { background: var(--blau-hell); } .ampel .hinweis .punkt { background: var(--blau); }
.zaehler { font-weight: 600; } .zaehler.zu-viele { color: var(--rot); }
.dateiliste td { vertical-align: middle; }
input.haken { min-width: 0; width: 1.3rem; height: 1.3rem; }
.marke-neu { background: var(--gelb-hell); color: var(--gelb); border: 1px solid #ecd36a; border-radius: 4px; padding: 0 5px; font-size: .8rem; font-weight: 700; }
.starttext { white-space: pre-wrap; background: var(--grund); border: 1px solid var(--linie); border-radius: 8px; padding: 1rem; font-family: inherit; font-size: .95rem; }
.werkzeugleiste { margin-bottom: .6rem; }
.umschalter { display: flex; gap: .3rem; }
.rahmen { background: #e9ecf0; border: 1px solid var(--linie); border-radius: 10px; padding: .8rem; display: flex; justify-content: center; }
.rahmen iframe { border: 0; background: #fff; width: 100%; height: 75vh; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.rahmen.smartphone iframe { width: 390px; height: 760px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; align-items: start; }
.kachel { margin: 0; }
.copilot { font-weight: 700; padding: .4rem .6rem; border-radius: 6px; }
.copilot.ja { background: var(--gruen-hell); color: var(--gruen); }
.copilot.einmal { background: var(--blau-hell); color: var(--blau); }
.copilot.nie { background: var(--rot-hell); color: var(--rot); }
.ablage input[type=file] { border: 2px dashed var(--linie); padding: 1rem; width: 100%; background: var(--grund); }
.materialliste { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.materialliste li { display: flex; gap: .6rem; align-items: center; border: 1px solid var(--linie); border-radius: 8px; padding: .5rem; flex-wrap: wrap; }
.materialliste li.inaktiv { opacity: .55; }
.vorschaubild { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; border: 1px solid var(--linie); }
.materialtext { display: flex; flex-direction: column; flex: 1; min-width: 10rem; gap: .1rem; }
.materialtext code { overflow-wrap: anywhere; }
.status { font-size: .85rem; color: var(--grau); }
.bildzeile { font-size: .8rem; color: var(--grau); }
.materialknoepfe { display: flex; gap: .3rem; flex-wrap: wrap; }
.materialknoepfe form { margin: 0; }
.knopf.klein { padding: .2rem .5rem; font-size: .8rem; }

/* Lehrkraft */
.klassenkopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.lieferung { border-top: 1px solid var(--linie); padding: .7rem 0; }
.lieferung-kopf { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.marke-art { font-size: .78rem; font-weight: 700; border-radius: 4px; padding: 0 6px; background: var(--blau-hell); color: var(--blau); }
.marke-art.arbeitsstand, .marke-art.interview, .marke-art.feedbackrunde { background: var(--gelb-hell); color: var(--gelb); }
.marke-art.final { background: var(--gruen-hell); color: var(--gruen); }
.diff { font-family: Consolas, "Courier New", monospace; font-size: .8rem; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.diff .plus, td.plus { color: var(--gruen); } .diff .plus { background: var(--gruen-hell); display: inline-block; width: 100%; }
.diff .minus, td.minus { color: var(--rot); } .diff .minus { background: var(--rot-hell); display: inline-block; width: 100%; }
.diff .kopf { color: var(--blau); font-weight: 700; }
