/* Lehrplan-Bausteine: Fach- und Schwerpunkt-Blöcke, Fach-Karten mit Icon, Zusätze im Lehrer-/Fach-Pop-up.
   Erzeugt von tools/lehrplan.js (Daten: js/lehrplan-daten.js, js/lehrer-daten.js). Farben: --industrial, --creative, --praxis aus style.css */

/* ---------- Schwerpunkt-Markierungen (Pop-up, Karten) */
.sp-tag{display:inline-flex;align-items:center;padding:.22rem .6rem;border-radius:50rem;font-size:.64rem;font-weight:850;letter-spacing:.04em;line-height:1.1;color:#fff;background:#59697a}
.sp-tag.sp-creative{background:var(--creative,#84744e)}.sp-tag.sp-industrial{background:var(--industrial,#006ab2)}.sp-tag.sp-praxis{background:var(--praxis,#fcebc1);color:#2c2517}
.pm-sp{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0 0}
.pm-kurz{margin:0 0 1rem;color:#33424d;line-height:1.7;font-size:1rem}
.pm-themen{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1.2rem;padding:0;list-style:none}
.pm-themen li{padding:.4rem .75rem;border-radius:50rem;background:#f0f5f8;border:1px solid #dde7ec;color:#33424d;font-size:.8rem;font-weight:650}
.pm-notizen{display:grid;gap:.55rem;margin:1rem 0 0;padding:0;list-style:none}
.pm-notizen li{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .6rem;padding:.7rem .9rem;border-radius:1rem;background:#f0f5f8;border-left:4px solid var(--industrial,#006ab2)}
.pm-notizen b{font-size:.85rem;color:#111}.pm-notizen span:not(.sp-tag){flex:1 1 100%;color:#33424d;font-size:.9rem;line-height:1.5}

/* ---------- Fach-Karten (Unterrichtsfächer, Startseite): Kopf mit Icon statt Foto */
.subject-image-icon{display:grid;place-items:center;background:linear-gradient(140deg,#04365c,#006ab2)}
.subject-image-icon .si-ico{display:grid;place-items:center;width:4.6rem;height:4.6rem;border:1.5px solid rgba(255,255,255,.55);border-radius:50%;color:#fff}
.subject-image-icon .si-ico.sp-creative{background:none}
.subject-image-icon:has(.sp-creative){background:linear-gradient(140deg,#3b3324,#84744e)}
.subject-image-icon:has(.sp-praxis){background:linear-gradient(140deg,#5b4a2a,#b69a5d)}
.si-ico .ic{display:block;width:2.1rem;height:2.1rem;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.subject-image-icon .subject-arrow{z-index:2}

/* ---------- Lehrplan-Block */
.lp-sektion{padding:3rem 0 1rem}
.lp-block{display:grid;gap:1.6rem}
.lp-kopf h3{margin:.2rem 0 .6rem;font:700 clamp(2rem,3.6vw,3rem)/1 "Barlow Condensed",sans-serif}
.lp-kopf p{max-width:62ch;margin:0;color:#33424d;line-height:1.7}
.lp-lernen{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}
.lp-lernen article{padding:1.2rem 1.3rem;border-radius:1.2rem;background:#fff;border:1px solid #dde7ec;border-top:4px solid var(--industrial,#006ab2)}
.lp-creative .lp-lernen article{border-top-color:var(--creative,#84744e)}.lp-praxis .lp-lernen article{border-top-color:#d8bd78}
.lp-lernen h4{margin:0 0 .35rem;font-size:1.02rem;font-weight:800;color:#111}.lp-lernen p{margin:0;color:#5b6872;font-size:.9rem;line-height:1.55}
.lp-jahre{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.8rem;margin:0;padding:0;list-style:none}
.lp-jahre li{padding:1.1rem;border-radius:1.1rem;background:#fff;border:1px solid #dde7ec}
.lp-jg{display:block;margin-bottom:.3rem;color:var(--creative,#84744e);font-size:.68rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.lp-jahre b{display:block;margin-bottom:.3rem}.lp-jahre p{margin:0;color:#5b6872;font-size:.86rem;line-height:1.5}

.lp-it{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:1.4rem;align-items:start;padding:1.6rem;border-radius:1.6rem;background:linear-gradient(150deg,#071019,#0d2a41);color:#fff}
.lp-creative .lp-it{background:linear-gradient(150deg,#201a0f,#5a4d30)}.lp-praxis .lp-it{background:linear-gradient(150deg,#2c2517,#7b6636)}
.lp-it .eyebrow{color:#d8bd78}
.lp-it-kopf h3{margin:.2rem 0 .6rem;font:700 clamp(1.8rem,3vw,2.5rem)/1.02 "Barlow Condensed",sans-serif}
.lp-it-kopf p{color:#d3dfe7;line-height:1.65}
.lp-fachknopf{display:inline-flex;align-items:center;margin:.2rem .3rem .2rem 0;padding:.6rem 1rem;border:1px solid rgba(255,255,255,.4);border-radius:50rem;background:rgba(255,255,255,.12);color:#fff;font-size:.85rem;font-weight:750;cursor:pointer;transition:.2s}
.lp-fachknopf:hover,.lp-fachknopf:focus-visible{background:#fff;color:#111;outline:none}
.lp-fb{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.lp-fb article{padding:1rem 1.1rem;border-radius:1.1rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16)}
.lp-fb span{display:inline-grid;place-items:center;width:1.9rem;height:1.9rem;margin-bottom:.4rem;border-radius:50%;background:#fff;color:#111;font:800 .85rem Inter,sans-serif}
.lp-fb h4{margin:0 0 .25rem;font-size:.98rem;font-weight:800;color:#fff}.lp-fb p{margin:0;color:#c3d2dc;font-size:.84rem;line-height:1.5}

.lp-vert{padding:1.4rem 1.6rem;border-radius:1.4rem;background:#f0f5f8;border:1px solid #dde7ec}
.lp-vert p{margin:0 0 .8rem;color:#33424d;line-height:1.65}
.lp-vert .eyebrow{margin:0 0 .4rem}
.lp-vert .lp-fachknopf{background:#fff;color:#111;border-color:#c9d8e0}.lp-vert .lp-fachknopf:hover{background:#111;color:#fff}
.lp-faecher{display:flex;flex-wrap:wrap}

.lp-lehrer-reihe .eyebrow{margin:0 0 .6rem}
.lp-lehrer-liste{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.6rem}
.lp-lehrer{display:flex;align-items:center;gap:.8rem;padding:.6rem .8rem .6rem .6rem;border:1px solid #dde7ec;border-radius:1.2rem;background:#fff;text-align:left;cursor:pointer;transition:.2s}
.lp-lehrer:hover,.lp-lehrer:focus-visible{border-color:var(--industrial,#006ab2);box-shadow:0 .9rem 2rem rgba(11,55,79,.12);transform:translateY(-3px);outline:none}
.lp-lehrer img{width:3.4rem;height:3.4rem;border-radius:50%;object-fit:cover;object-position:center 20%;flex:none}
.lp-lehrer b{display:block;font-size:.92rem;color:#111;line-height:1.25}.lp-lehrer small{display:block;margin-top:.15rem;color:#5b6872;font-size:.76rem;line-height:1.35}

/* ---------- Reiter (Schulführungen) */
.lp-tabs .chips{margin-bottom:1.4rem}
.lp-panel[hidden]{display:none}
.lp-weiter{margin:1.6rem 0 0}

@media(max-width:991.98px){
  .lp-it{grid-template-columns:1fr}
  .lp-lernen{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:575.98px){
  .lp-lernen,.lp-fb{grid-template-columns:1fr}
  .lp-it{padding:1.2rem}
}

/* ---------- Lehrer-/Fach-Fenster (auch auf Seiten ohne seiten.css) und größere Darstellung ---------- */
.pm-close{position:absolute;right:1rem;top:1rem;z-index:5;padding:.7rem;border-radius:50%;background-color:rgba(255,255,255,.9)}
.pm-teacher{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.pm-foto{position:relative;min-height:340px;background:#dfe9ef}
.pm-foto img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 22%}
.pm-info{padding:2rem 2rem 2rem 1.8rem}
.pm-kv{display:inline-flex;padding:.35rem .7rem;border-radius:50rem;background:#dff3ff;color:#00507f;font-size:.7rem;font-weight:850;letter-spacing:.05em;text-decoration:none}
.pm-kv-leer{background:#eee9df;color:#665837}
.pm-info h2{margin:.7rem 0 .2rem;font:700 clamp(2.2rem,4vw,3rem)/.95 "Barlow Condensed",sans-serif}
.pm-funk{margin:0 0 .8rem;color:var(--creative);font-weight:700;font-size:.9rem;line-height:1.45}
.pm-info h3,.pm-h{margin:1.1rem 0 .5rem;color:var(--creative);font-size:.7rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.pm-sprech{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .8rem;margin-top:1.1rem;padding:.8rem 1rem;border-radius:1rem;background:#f0f5f8;font-size:.88rem}
.pm-sprech span span{font-weight:800}
.pm-sprech.heute{background:#fff3cf;box-shadow:inset 0 0 0 2px var(--gold)}
.pm-sprech em{padding:.15rem .55rem;border-radius:50rem;background:var(--gold);color:#201a0c;font-size:.68rem;font-weight:850;font-style:normal;text-transform:uppercase}
.pm-kontakt{display:grid;gap:.4rem;margin-top:1.2rem;justify-items:start}.pm-kontakt small{color:var(--text2)}
.pm-lehrer-liste{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.pm-lehrer{display:grid;grid-template-columns:56px minmax(0,1fr);gap:.7rem;align-items:center;padding:.5rem;border:1px solid var(--linie);border-radius:1rem;background:#f5f9fc;text-align:left;cursor:pointer;transition:.2s}
.pm-lehrer:hover{border-color:var(--industrial);background:#dff3ff}
.pm-lehrer img{width:56px;height:56px;border-radius:.7rem;object-fit:cover;object-position:62% 22%}
.pm-lehrer b{display:block;font:700 1.15rem/1.05 "Barlow Condensed",sans-serif}.pm-lehrer small{color:var(--text2);font-size:.7rem;line-height:1.3}
  .pm-teacher{grid-template-columns:1fr}.pm-foto{min-height:260px}
  .pm-lehrer-liste{grid-template-columns:1fr}
.people-modal .modal-dialog{max-width:min(1080px,94vw)}
.people-modal .modal-content{border-radius:1.6rem}
.pm-teacher{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);min-height:600px}
.pm-foto{min-height:480px}
.pm-info{padding:2.6rem 2.8rem 2.4rem 2.4rem;font-size:1.05rem}
.pm-kv{font-size:.8rem;padding:.4rem .85rem}
.pm-info h2{margin:.8rem 0 .3rem;font-size:clamp(2.6rem,4.6vw,3.9rem);line-height:.98}
.pm-funk{font-size:1.05rem}
.pm-info h3,.pm-h{font-size:.78rem;margin:1.5rem 0 .6rem}
.pm-info .subject-pill{font-size:.95rem;padding:.65rem 1.1rem}
.pm-notizen li{padding:.85rem 1.1rem}.pm-notizen b{font-size:1rem}.pm-notizen span:not(.sp-tag){font-size:1rem}
.pm-sprech{font-size:1rem;padding:1rem 1.2rem}
.pm-kontakt{margin-top:1.5rem}.pm-kontakt .btn{padding:.8rem 1.6rem;font-size:1.02rem}.pm-kontakt small{font-size:.95rem}
.people-modal-header{padding:2.6rem 2.8rem 2rem}
.people-modal-header h2{font-size:clamp(2.6rem,4.4vw,3.6rem)}
.people-modal-body{padding:2.2rem 2.8rem 2.6rem}
.pm-kurz{font-size:1.1rem}
.pm-lehrer-liste{grid-template-columns:repeat(2,minmax(0,1fr))}
.pm-lehrer{grid-template-columns:72px minmax(0,1fr);padding:.65rem}
.pm-lehrer img{width:72px;height:72px}
.pm-lehrer b{font-size:1.35rem}.pm-lehrer small{font-size:.82rem}
@media(max-width:991.98px){
  .pm-teacher{grid-template-columns:1fr;min-height:0}.pm-foto{min-height:340px}
  .pm-info{padding:1.8rem 1.4rem}.people-modal-header{padding:2rem 1.4rem 1.4rem}.people-modal-body{padding:1.6rem 1.4rem 2rem}
  .pm-lehrer-liste{grid-template-columns:1fr}
}

/* ---------- Stundentafeln ---------- */
.lp-tafelbox{margin-top:2rem}
.lp-tafelbox h3{margin:.2rem 0 1rem;font:700 clamp(1.8rem,3vw,2.4rem)/1 "Barlow Condensed",sans-serif}
.lp-tafel .scroll-x{overflow-x:auto;border:1px solid #dde7ec;border-radius:1.2rem;background:#fff}
.lp-tafel table{width:100%;border-collapse:collapse;min-width:560px;font-size:.95rem}
.lp-tafel th,.lp-tafel td{padding:.6rem .8rem;border-bottom:1px solid #e8eff3;text-align:left;vertical-align:middle}
.lp-tafel thead th{background:#0f2a3f;color:#fff;font-size:.78rem;font-weight:800;letter-spacing:.04em;white-space:nowrap}
.lp-tafel thead th small{display:block;font-weight:600;opacity:.7;letter-spacing:0;font-size:.68rem}
.lp-tafel .z{text-align:center;font-variant-numeric:tabular-nums}
.lp-tafel td.leer{color:#b6c3cc}
.lp-tafel td.summe,.lp-tafel .summe{font-weight:800;background:#f4f8fb}
.lp-tafel tr.gruppe th{background:#eaf2f7;color:#00507f;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase}
.lp-tafel tbody th[scope=row]{font-weight:600}
.lp-tafel tbody th small{display:block;margin-top:.15rem;color:#5b6872;font-weight:500;font-size:.76rem;line-height:1.35}
.lp-tafel tr.gesamt th,.lp-tafel tr.gesamt td{background:#0f2a3f;color:#fff;font-weight:800;border-bottom:0}
.lp-tafel-fuss{margin:.7rem .2rem 0;color:#5b6872;font-size:.85rem}
.lp-fachknopf.klein{padding:0;border:0;background:none;color:#006ab2;font-size:inherit;font-weight:700;text-align:left;text-decoration:underline;text-decoration-color:rgba(0,106,178,.3);text-underline-offset:3px}
.lp-fachknopf.klein:hover{background:none;color:#004f86}
/* Wochenstunden im Fach-Fenster */
.pm-std{margin:0 0 1rem}
.pm-std .sp-tag{margin-bottom:.5rem}
.pm-std .scroll-x{overflow-x:auto}
.pm-std table{width:100%;border-collapse:collapse;font-size:.88rem}
.pm-std th,.pm-std td{padding:.4rem .55rem;border-bottom:1px solid #e3ecf1;text-align:center}
.pm-std thead th{font-size:.68rem;color:#5b6872;letter-spacing:.04em;white-space:nowrap}
.pm-std tbody th{text-align:left;font-weight:600}
.pm-std td.leer{color:#b6c3cc}.pm-std td.summe{font-weight:800}

/* ---------- Schwerpunkt-Reiter: laden zum Durchklicken ein (Glanz-Verlauf, Leuchten, kurzes Zittern) ---------- */
.lp-tabs .chips{gap:.65rem}
.lp-tabs .chip{position:relative;padding:.7rem 1.25rem;font-weight:800;border-width:1.5px;transition:transform .2s,box-shadow .25s,border-color .25s}
.lp-tabs .chip:not(.active){background-size:260% 100%;animation:chipGlanz 3.4s linear infinite,chipZittern 7.5s ease-in-out infinite}
.lp-tabs .chip-creative:not(.active){background-image:linear-gradient(110deg,#fff 0%,#f6efd9 38%,#e6d49c 50%,#f6efd9 62%,#fff 100%);border-color:#d8c99a;color:#5d4f2b;box-shadow:0 0 0 0 rgba(168,148,106,.45),0 .35rem 1rem rgba(132,116,78,.18);--glow:168,148,106}
.lp-tabs .chip-industrial:not(.active){background-image:linear-gradient(110deg,#fff 0%,#e3f2ff 38%,#a8d6ff 50%,#e3f2ff 62%,#fff 100%);border-color:#9fcbee;color:#064f85;box-shadow:0 0 0 0 rgba(0,106,178,.4),0 .35rem 1rem rgba(0,106,178,.16);--glow:0,106,178}
.lp-tabs .chip-praxis:not(.active){background-image:linear-gradient(110deg,#fff 0%,#fdf4d8 38%,#f7dc94 50%,#fdf4d8 62%,#fff 100%);border-color:#ecd69a;color:#5b4a14;box-shadow:0 0 0 0 rgba(216,189,120,.5),0 .35rem 1rem rgba(216,189,120,.22);--glow:216,189,120}
.lp-tabs .chip:not(.active):nth-child(2){animation-delay:-.9s,-2.4s}
.lp-tabs .chip:not(.active):nth-child(3){animation-delay:-1.7s,-4.8s}
.lp-tabs .chip:not(.active):hover,.lp-tabs .chip:focus-visible{animation:chipGlanz 1.4s linear infinite;transform:translateY(-3px) scale(1.04);box-shadow:0 .7rem 1.6rem rgba(var(--glow,0,106,178),.35)}
.lp-tabs .chip.active{box-shadow:0 .6rem 1.4rem rgba(0,0,0,.18)}
/* hat jemand schon geklickt, hört das Zittern auf – der Glanz bleibt */
.lp-tabs.bedient .chip:not(.active){animation-name:chipGlanz}
@keyframes chipGlanz{0%{background-position:130% 0}100%{background-position:-130% 0}}
@keyframes chipZittern{0%,86%,100%{transform:none}88%{transform:translateX(-2px) rotate(-1.8deg)}90%{transform:translateX(2px) rotate(1.8deg)}92%{transform:translateX(-2px) rotate(-1.4deg)}94%{transform:translateX(1px) rotate(1deg)}96%{transform:translateX(-1px) rotate(-.5deg)}}
@media(prefers-reduced-motion:reduce){.lp-tabs .chip:not(.active){animation:none}}

/* Lehrplan-Umstellung (js/personen.js): Abzeichen „Lehrplan 2014“ / „Lehrplan ab 2027/28“ an Fächern, eigene Gruppe für den neuen Lehrplan */
.lp-marke{display:inline-flex;align-items:center;margin-left:.45rem;padding:.12rem .5rem;border-radius:50rem;font-size:.62rem;font-weight:800;font-style:normal;letter-spacing:.03em;line-height:1.25;white-space:nowrap;vertical-align:middle;background:#e6edf2;color:#33424d}
.lp-marke.lp-neu{background:#dff3ff;color:#00507f}
.subject-pill .lp-marke{color:#33424d}.subject-pill .lp-marke.lp-neu{color:#00507f}
.subject-pill.is-inline .lp-marke{margin-left:0}
.subject-pill:has(.lp-marke){flex-wrap:wrap;row-gap:.3rem;text-align:left}
.subject-pill.lp-kommt{border-style:dashed}
.subject-pill.is-inline.lp-kommt{background:#fff;border-color:#7fb7da;color:#00507f}
.pm-lp{margin:.55rem 0 0}.pm-lp .lp-marke{margin-left:0;font-size:.7rem}
html.a11y-kontrast .lp-marke{border:1px solid #fff!important}
html.a11y-kontrast .subject-pill.lp-kommt{border-style:dashed!important}
/* IT-Kasten Lehrplan 2014 (tools/lehrplan.js it2014): ein Fach = eine Spalte; bei zwei Fächern der Knopf im jeweiligen Kasten */
.lp-it.lp-it-einzeln{grid-template-columns:minmax(0,1fr)}
.lp-fb article .lp-fachknopf{margin:.75rem 0 0;padding:.45rem .85rem;font-size:.8rem}
