/* ==========================================================
   BSZ Campus Waldkirchen – Kopfleiste, Lehrkräfte-Bereich
   Wird NACH style.css geladen.
   ========================================================== */
:root { --top: 84px; --bsz-gelb: #EBD43C; }

/* Kopfleiste weiß, damit das BSZ-Logo wirkt */
.top { background: #fff; color: var(--ink); border-bottom: 4px solid var(--bsz-gelb); box-shadow: 0 2px 10px rgba(22,40,58,.08); gap: 20px; }
.brand { color: var(--navy); gap: 16px; }
.bsz-logo { height: 62px; width: auto; display: block; flex: none; }
.bsz-trenner { width: 2px; height: 46px; background: var(--line); transform: skewX(-16deg); flex: none; }
.bt b { color: var(--navy); }
.bt small { color: var(--ink-3); }
.bsz-adresse {
  font-style: normal; display: flex; flex-direction: column; line-height: 1.35; font-size: 12.5px; color: var(--ink-2);
  padding-left: 18px; border-left: 1px solid var(--line-2); white-space: nowrap;
}
.bsz-adresse b { font-size: 13px; color: var(--ink); font-weight: 700; }
.bsz-adresse a { color: var(--blue-2); text-decoration: none; }
.bsz-adresse a:hover { text-decoration: underline; }
.topsearch { background: var(--bg); border-color: var(--line); color: var(--ink-3); }
.topsearch input { color: var(--ink); }
.topsearch input::placeholder { color: var(--ink-3); }
.topsearch:focus-within { background: #fff; }
.who { color: var(--ink); }
.avatar { color: #fff; }
.iconbtn { color: var(--ink-3); }
.iconbtn:hover { color: var(--navy); background: var(--bg); }
.burger span { background: var(--navy); }

/* Anmeldeseite */
.bsz-eyebrow { color: var(--bsz-gelb); margin: 6px 0 -6px; }
.login-art::after { border-color: rgba(235,212,60,.16); }

/* Fußzeile mit Slogan */
.bsz-fuss { margin-left: var(--side); padding: 18px clamp(16px,3vw,40px) 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; color: var(--ink-3); font-size: 13px; border-top: 1px solid var(--line); background: #fff; }
.bsz-fuss img { height: 34px; width: auto; }
.bsz-fuss.bare { margin-left: 0; }

/* Allgemein */
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row input { height: 34px; padding: 0 10px; font-size: 14px; width: 150px; }
.stack-form { display: flex; flex-direction: column; gap: 14px; }
.bar.ok span { background: linear-gradient(90deg, #5fae8a, var(--ok)); }
.warn-t { color: var(--orange-ink); font-weight: 600; }

/* Klassen-Übersicht */
.klassen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.klassen-grid .panel { margin: 0; }
.klasse { display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--bsz-gelb); }
.klasse.archiv { border-top-color: var(--line); opacity: .85; }
.klasse-kopf { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.klasse-kopf h3 { margin: 0; font-size: 21px; }
.klasse-kopf h3 a { color: var(--navy); text-decoration: none; }
.klasse-kopf h3 a:hover { text-decoration: underline; }
.klasse-zahl { display: flex; flex-direction: column; align-items: center; background: var(--blue-soft); border-radius: 10px; padding: 6px 14px; line-height: 1.1; }
.klasse-zahl b { font: 700 24px var(--f-head); color: var(--navy); }
.klasse-zahl small { font-size: 12px; color: var(--ink-3); }
.klasse-werte { display: grid; gap: 10px; }
.klasse-werte > div { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.klasse-werte .sub { grid-column: 1 / -1; font-size: 13px; }
.klasse-werte b { font: 700 16px var(--f-head); color: var(--navy); min-width: 44px; text-align: right; }
.klasse-info { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-2); }
.klasse-act form { display: inline; }
.archiv-liste { margin-top: 24px; }
.archiv-liste summary { font-weight: 600; cursor: pointer; margin-bottom: 12px; }

/* Zugangszettel */
.bsz-slip-h { flex-direction: row !important; align-items: center; gap: 10px; border-bottom-color: var(--bsz-gelb) !important; }
.bsz-slip-h img { height: 34px; width: auto; }
.bsz-slip-h > span { display: flex; flex-direction: column; }

/* Mittlere Breiten: Adresse kompakter, ab Tablet ausblenden */
@media (max-width: 1400px) { .bsz-adresse span:last-child { display: none; } }
@media (max-width: 1180px) { .bsz-adresse { display: none; } }
@media (max-width: 900px) {
  :root { --top: 66px; }
  .bsz-logo { height: 46px; }
  .bsz-trenner, .bt { display: none; }
  .bsz-fuss { margin-left: 0; }
  .klassen-grid { grid-template-columns: 1fr; }
}
