/* Artefakt-Ablage – Farbschema Gymnasium Brügelmannstraße
   Grau #adbdb7 · Gelb #fffabe · Blau #3da4ab · Dunkelgrün #075d08 · Hellgrün #e5ede0 */
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#1f2d29;background:#e5ede0;font-size:16px;line-height:1.45}
a{color:#1f6f75}a:hover{color:#0f4a4f}
h1{margin:0 0 6px;font-size:28px}h2{margin:0 0 10px;font-size:19px}p{margin:0 0 10px}
input,select,button,textarea{font:inherit}
:focus-visible{outline:3px solid #3da4ab;outline-offset:2px}

.kopf{background:#adbdb7;padding:8px 24px}
.kopf-in{max-width:1180px;margin:0 auto;min-height:92px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.marke{display:flex;align-items:center;gap:18px;color:#1f2d29;text-decoration:none}
.marke img{display:block;width:128px;height:75px}
.marke span{display:flex;flex-direction:column}
.marke .trenner{width:2px;height:56px;background:#8a9a94;border-radius:1px}
.marke img.insel{width:88px;height:60px}
@media (max-width:560px){.marke .trenner,.marke img.insel{display:none}}.marke strong{font-size:20px}.marke small{font-size:13px;color:#2f3c38}
.kopf nav{display:flex;gap:6px;flex-wrap:wrap}
.kopf nav a{padding:10px 16px;border-radius:8px;color:#1f2d29;font-weight:600;text-decoration:none}
.kopf nav a.aktiv{background:#fffabe}.kopf nav a:hover{background:#c7d3ce}

.inhalt{max-width:1180px;margin:0 auto;padding:28px 24px;display:flex;flex-direction:column;gap:20px}
.fuss{text-align:center;font-size:13px;color:#4a5753;padding:8px 16px 28px}

.karte{background:#fff;border-radius:14px;padding:24px}
.willkommen{display:block;width:292px;max-width:100%;height:auto;margin:0 auto 18px}
.karte.schmal{max-width:480px;margin:24px auto;width:100%}
.karte.gelb{background:#fffabe}
.karte.erfolg{border:3px solid #075d08}
.karte.lesen{max-width:820px}.karte.lesen h2{margin-top:22px}
.leise{color:#4a5753}.klein-text{font-size:13px}

.zweispaltig{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.zweispaltig>.karte{flex:999 1 540px;min-width:0}
.seite{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:20px}
.raster3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}

.stapel{display:flex;flex-direction:column;gap:8px}
.stapel label,label{font-weight:600}
input[type=text],input[type=password],input[type=search],select,input:not([type]){min-height:46px;padding:0 12px;border:1.5px solid #8a9a94;border-radius:8px;background:#fff;width:100%}
input.datei,input[type=file]{padding:12px;border:2px dashed #adbdb7;border-radius:10px;background:#fafcf9;width:100%}
.praefix{display:flex;border:1.5px solid #8a9a94;border-radius:8px;overflow:hidden;flex-wrap:wrap}
.praefix span{background:#e5ede0;padding:12px;color:#3c4844;font-size:14px;white-space:nowrap}
.praefix input{border:none;flex:1 1 180px;border-radius:0}
details{border-top:1px solid #d5ddd9;padding-top:12px;margin-top:6px}
summary{cursor:pointer;font-weight:600;min-height:32px}
details .raster3{margin-top:12px}
.bestaetigen{display:flex;gap:12px;align-items:flex-start;background:#fffabe;border-radius:10px;padding:14px 16px;font-weight:400;margin-top:8px}
.bestaetigen input{width:22px;height:22px;flex-shrink:0;margin-top:1px}

button,.haupt,.zweit,.leicht,.gefahr{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:9px;font-weight:700;cursor:pointer;text-decoration:none;border:2px solid transparent}
.haupt{background:#075d08;color:#fff}.haupt:hover{background:#054606;color:#fff}
.zweit{background:#fff;color:#075d08;border-color:#075d08}.zweit:hover{background:#e5ede0;color:#075d08}
.leicht{background:#e5ede0;color:#1f2d29}.leicht:hover{background:#d3ddd0}
.gefahr{background:#fff;color:#9b1c1c;border-color:#9b1c1c}.gefahr:hover{background:#fbeaea}
.klein{min-height:40px;padding:0 12px;font-size:14px}
form .haupt{margin-top:8px}

.meldung{border-radius:10px;padding:12px 16px}
.meldung.ok{background:#e5ede0;border-left:4px solid #075d08}
.meldung.fehler{background:#fbeaea;border-left:4px solid #9b1c1c}
.meldung.warnung{background:#fffabe;border-left:4px solid #8a5a00}

.link{background:#fffabe;border-radius:8px;padding:10px 12px;font-family:ui-monospace,Menlo,monospace;font-size:14px;word-break:break-all;margin-bottom:12px}
.link.grau{background:#e5ede0}
.code{font-family:ui-monospace,Menlo,monospace;font-size:13px;background:#e5ede0;padding:1px 6px;border-radius:4px;word-break:break-all}
.code.gross{font-size:20px;letter-spacing:.12em;background:#fff}
.knoepfe{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.qr-zeile{display:flex;gap:16px;align-items:center;margin-bottom:14px}
.qr{width:132px;height:132px;border:6px solid #fff;box-shadow:0 0 0 2px #adbdb7;border-radius:6px;flex-shrink:0}
.balken{height:10px;border-radius:5px;background:#e5ede0;overflow:hidden}.balken span{display:block;height:100%;background:#075d08}
.regeln{margin:0;padding-left:20px}.regeln li{margin-bottom:6px}

.titelzeile{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between}
.speicher{min-width:280px;padding:14px 18px;display:flex;flex-direction:column;gap:8px}
.speicher .zeile{display:flex;justify-content:space-between;gap:12px;font-size:14px}

.tabelle-box{padding:0;overflow-x:auto}
table{width:100%;border-collapse:collapse;min-width:760px}
th{background:#adbdb7;text-align:left;font-size:14px;padding:12px 14px}
td{padding:12px 14px;border-top:1px solid #d5ddd9;vertical-align:top}
td.aktionen{display:flex;gap:6px;flex-wrap:wrap;align-items:flex-start}
td.aktionen form{margin:0}
.mehr{border:none;padding:0;margin:0;position:relative}
.mehr summary{list-style:none;display:inline-flex}.mehr summary::-webkit-details-marker{display:none}
.mehr[open]{flex-basis:100%;display:flex;flex-direction:column;gap:10px;background:#f6f8f5;border-radius:10px;padding:10px}
.marke-status{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:700}
.marke-status.an{background:#075d08;color:#fff}.marke-status.aus{background:#e5ede0;color:#3c4844}
table.pins{min-width:0;margin-bottom:12px}
.protokoll{background:#f6f8f5;border-radius:8px;padding:12px;font-size:13px;max-height:560px;overflow:auto;white-space:pre-wrap}
.hinweise .karte p{margin:6px 0 0}

@media print{.kopf,.fuss,nav,button,.titelzeile,.tabelle-box,.raster3,.meldung{display:none!important}body{background:#fff}.karte{padding:0}}
