/* Gemeinsame Basis aller Entwuerfe: Schrift, Reset, Umschaltleiste. */
@font-face { font-family: "Jost"; src: url("/schrift/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/schrift/jost-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
:root {
  /* CI Eisenbahn Campus, aus dem Logo gemessen */
  --ec-orange: #f7a600;
  --ec-orange-dunkel: #c98500;
  --ec-anthrazit: #585856;
  --ec-grau-hell: #c0c0c0;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Jost", "Futura PT", Futura, system-ui, sans-serif; font-size: 18px; line-height: 1.55; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ec-orange); outline-offset: 3px; }
.nur-screenreader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Umschaltleiste zwischen den Entwuerfen (vor dem Livegang entfernen) */
.umschalter-rahmen { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: calc(100vw - 16px); }
.umschalter { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(28,28,27,.92); box-shadow: 0 6px 24px rgba(0,0,0,.25); font: 500 14px/1 "Jost", system-ui, sans-serif; }
.umschalter a { color: #e9e9e7; text-decoration: none; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.umschalter a:hover { background: rgba(255,255,255,.1); }
.umschalter a[aria-current="page"] { background: var(--ec-orange); color: #1c1c1b; }
.umschalter-unter { font-size: 13px; background: rgba(28,28,27,.82); }
.umschalter-unter a { padding: 7px 12px; }
@media (max-width: 520px) { .umschalter-rahmen { bottom: 10px; } .umschalter { font-size: 13px; } .umschalter a { padding: 8px 10px; } .umschalter .lang { display: none; } .umschalter-unter a { padding: 6px 9px; } }

/* Kursstart-Zusaetze aus der Kursstart-Zentrale (Varianten duerfen ueberschreiben) */
.ks-plaetze { display: inline-block; margin-left: .3em; padding: .05em .6em; border-radius: 999px; font-size: .78em; font-weight: 600; line-height: 1.5; white-space: nowrap; vertical-align: .08em; background: var(--ec-orange); color: #1c1c1b; }
.ks-plaetze-ausgebucht { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .85; }
.ks-zeile-anfrage, .ks-zelle-anfrage, .ks-zelle-aus { opacity: .75; }
