/* Realschule Beuel – Kontaktdaten prüfen. Navy #26384a, Gelb #f3c218, Grün #6ca644, Lila #7a5aa6 */
:root {
  --navy: #26384a; --text: #26384a; --grau: #5c6773; --hell: #8a94a0; --linie: #e3e7ea; --flaeche: #f6f8f9;
  --gelb: #f3c218; --gruen: #6ca644; --lila: #7a5aa6; --rot: #c0392b; --gelb-hell: #fdf3c4; --gruen-hell: #e8f3df; --rot-hell: #fbe9e7;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--flaeche); line-height: 1.55; }
a { color: var(--navy); }
.sprungmarke { position: absolute; left: -999px; }
.sprungmarke:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 10; }

.kopf { background: #fff; border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: 980px; margin: 0 auto; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke img { height: 44px; width: auto; }
.marke-schule { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hell); font-weight: 600; }
.marke-titel { display: block; font-family: 'Source Serif 4', Georgia, serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); line-height: 1.15; }
.balken { height: 4px; background: linear-gradient(90deg, var(--navy) 0 88%, var(--gelb) 88% 92%, var(--gruen) 92% 96%, var(--lila) 96%); }
.navi { display: flex; gap: 14px; flex-wrap: wrap; font-size: .92rem; }
.navi a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.navi a.aktiv, .navi a:hover { border-bottom-color: var(--gelb); }

.inhalt { max-width: 980px; margin: 0 auto; padding: 26px 18px 40px; }
.inhalt.schmal { max-width: 640px; }
.fuss { max-width: 980px; margin: 0 auto; padding: 16px 18px 30px; font-size: .8rem; color: var(--hell); border-top: 1px solid var(--linie); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.fuss a { color: var(--hell); }

h1 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 1.7rem; line-height: 1.2; margin: 0 0 6px; }
h2 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 1.2rem; margin: 26px 0 8px; }
.ueber { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--hell); font-weight: 600; margin-bottom: 4px; }
.einleitung { color: var(--grau); margin: 0 0 18px; }
p { margin: 0 0 12px; }

.karte { background: #fff; border: 1px solid var(--linie); border-radius: 6px; padding: 18px 20px; margin-bottom: 16px; }
.karte h2 { margin-top: 0; }
.karte.akzent { border-left: 4px solid var(--gelb); }
.karte.gruen { border-left: 4px solid var(--gruen); }
.karte.rot { border-left: 4px solid var(--rot); }
.hinweis { background: var(--gelb-hell); border-radius: 4px; padding: 10px 14px; font-size: .95rem; margin-bottom: 14px; }
.erfolg { background: var(--gruen-hell); border-radius: 4px; padding: 10px 14px; margin-bottom: 14px; }
.fehler { background: var(--rot-hell); color: #7b1d13; border-radius: 4px; padding: 10px 14px; margin-bottom: 14px; }

label { display: block; font-weight: 600; font-size: .9rem; margin: 12px 0 4px; }
label small { font-weight: 400; color: var(--hell); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], input[type=number], select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c9d0d6; border-radius: 4px; background: #fff; color: var(--text);
}
input:focus, select:focus { outline: 2px solid var(--gelb); outline-offset: 1px; border-color: var(--navy); }
.alt { font-size: .85rem; color: var(--hell); margin-top: 3px; }
.alt code { font-family: Consolas, 'Courier New', monospace; font-size: .85rem; }
.zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .zeile { grid-template-columns: 1fr; } }

button, .knopf { font: inherit; font-weight: 600; padding: 11px 20px; border-radius: 4px; border: 1px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .knopf:hover { background: #1a2836; }
button.zweit, .knopf.zweit { background: #fff; color: var(--navy); }
button.zweit:hover, .knopf.zweit:hover { background: var(--flaeche); }
button.gefahr { background: var(--rot); border-color: var(--rot); }
button.verweis { background: none; border: none; color: var(--navy); text-decoration: underline; padding: 0; font-weight: 400; }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
form.inline { display: inline; }

table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
th { background: var(--navy); color: #fff; text-align: left; padding: 8px 10px; font-weight: 600; font-size: .8rem; }
td { padding: 8px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
tr:nth-child(even) td { background: #fbfcfc; }
td .mail { font-family: Consolas, 'Courier New', monospace; font-size: .85rem; overflow-wrap: anywhere; }
td .alt-wert { text-decoration: line-through; color: var(--hell); font-size: .8rem; }
td .neu-wert { color: #2f6b12; font-weight: 600; }
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--linie); border-radius: 6px; }

.marke-status { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.s-offen { background: #eef1f4; color: var(--grau); }
.s-gesehen { background: #e6ecf5; color: #2c4a75; }
.s-ok { background: var(--gruen-hell); color: #2f6b12; }
.s-geaendert { background: var(--gelb-hell); color: #7a5a00; }
.s-wartet { background: #efe6f7; color: #4e3a73; }
.s-gesperrt { background: var(--rot-hell); color: #7b1d13; }
.s-wunsch { background: var(--gelb-hell); color: #7a5a00; }
.s-freigegeben { background: var(--gruen-hell); color: #2f6b12; }
.s-abgelehnt { background: #eef1f4; color: #7b1d13; text-decoration: line-through; }

.wunsch { margin-top: 6px; padding: 6px 8px; border-left: 3px solid var(--gelb); background: var(--gelb-hell); border-radius: 3px; font-size: .85rem; }
.wunsch.wunsch-frei { border-left-color: var(--gruen); background: var(--gruen-hell); }
.wunsch.wunsch-abgelehnt { border-left-color: #c9d0d6; background: #f3f5f7; }
.klein-knopf { padding: 5px 12px; font-size: .8rem; }
button:disabled, .klein-knopf:disabled { opacity: .45; cursor: not-allowed; }

.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 14px 0 20px; }
.kachel { background: #fff; border: 1px solid var(--linie); border-left: 4px solid var(--gruen); border-radius: 4px; padding: 10px 14px; }
.kachel .t { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hell); font-weight: 600; }
.kachel .z { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.kachel.gelb { border-left-color: var(--gelb); } .kachel.lila { border-left-color: var(--lila); } .kachel.rot { border-left-color: var(--rot); } .kachel.navy { border-left-color: var(--navy); }

.code { font-family: Consolas, 'Courier New', monospace; font-size: 1.05rem; letter-spacing: .06em; background: var(--flaeche); padding: 2px 8px; border-radius: 4px; }
.klein { font-size: .85rem; color: var(--grau); }
.rechts { text-align: right; }
details summary { cursor: pointer; font-weight: 600; }
@media print { .kopf, .fuss, .knoepfe, .navi, button { display: none !important; } body { background: #fff; } .inhalt { padding: 0; max-width: none; } }
