/* Rocket Campus – Rocket-Design (Werte aus rocket_design.py, Hell-Werte wie im Rocket Shop).
   Nur Systemschriften für Text; Montserrat (OFL, liegt im Projekt) nur für den Schriftzug. Nichts wird nachgeladen. */

@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bg: #0F0F0F; --s1: #1A1A1A; --s2: #262626; --ln: #2E2E2E; --ln2: #3A3A3A;
  --tx: #FFFFFF; --tx2: #9A9A9A; --acc: #FF7A00; --acc-hover: #FF9433; --acc-tx: #FF7A00; --logo: #F09828;
  --on: #000000; --ok: #3DDC84; --fehler: #FF5A5A; --fokus: #FF7A00; --feld-rand: #7A7A7A;
  --rund: 14px; --unten: 64px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-modus="dunkel"]) {
    --bg: #F6F5F2; --s1: #FFFFFF; --s2: #EEECE7; --ln: #E3E0D9; --ln2: #CBC7BE;
    --tx: #141416; --tx2: #5B5B62; --acc-tx: #B4430E; --logo: #B4430E; --ok: #17703D; --fehler: #C62828;
    --fokus: #B4430E; --feld-rand: #85817A;
    color-scheme: light;
  }
}
:root[data-modus="hell"] {
  --bg: #F6F5F2; --s1: #FFFFFF; --s2: #EEECE7; --ln: #E3E0D9; --ln2: #CBC7BE;
  --tx: #141416; --tx2: #5B5B62; --acc-tx: #B4430E; --logo: #B4430E; --ok: #17703D; --fehler: #C62828;
  --fokus: #B4430E; --feld-rand: #85817A;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 16px/1.5 var(--schrift); min-height: 100vh; }
a { color: var(--acc-tx); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 .3rem; }
h2 { font-size: 1.05rem; margin: 0; }
.leise { color: var(--tx2); }
.klein { font-size: .85rem; }
.springen { position: absolute; left: -999px; }
.springen:focus { left: 16px; top: 8px; background: var(--acc); color: var(--on); padding: 8px 12px; border-radius: 8px; z-index: 50; }

/* Schriftzug */
.logo { display: inline-flex; gap: .35em; align-items: baseline; text-decoration: none; font-family: "Montserrat", var(--schrift); letter-spacing: .04em; white-space: nowrap; }
.logo-r { font-weight: 700; color: var(--tx); }
.logo-w { font-weight: 400; color: var(--logo); }
.logo-gross { font-size: 1.5rem; margin: 0 0 1.2rem; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: var(--bg); border-bottom: 1px solid var(--ln); }
.kopf .logo { font-size: 1.05rem; }
.reiter-oben { display: none; gap: 4px; flex: 1; }
.reiter-oben a { color: var(--tx2); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; }
.reiter-oben a:hover { color: var(--tx); background: var(--s1); }
.reiter-oben a.aktiv { color: var(--tx); box-shadow: inset 0 -3px 0 var(--acc); border-radius: 10px 10px 0 0; }
.konto-menue { margin-left: auto; position: relative; }
.konto-menue summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.konto-menue summary::-webkit-details-marker { display: none; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--acc); color: var(--on); display: grid; place-items: center; font-weight: 700; }
.konto-name { display: none; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.konto-karte { position: absolute; right: 0; top: calc(100% + 6px); width: min(280px, calc(100vw - 32px)); background: var(--s1);
  border: 1px solid var(--ln); border-radius: var(--rund); padding: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.konto-karte p { margin: 0 0 8px; }
.konto-titel { font-weight: 700; }

/* Inhalt */
.inhalt { max-width: 1040px; margin: 0 auto; padding: 20px 16px calc(var(--unten) + 28px + env(safe-area-inset-bottom)); }
.begruessung { margin-bottom: 18px; }
.begruessung p { margin: 0; }
.karten { display: grid; gap: 14px; grid-template-columns: 1fr; }
.karte { background: var(--s1); border: 1px solid var(--ln); border-radius: var(--rund); padding: 16px; min-width: 0; }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.mehr { text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--ln); }
.liste li:first-child { border-top: 0; padding-top: 0; }
.eq-event { font-weight: 700; margin: 0 0 4px; }
.eq-punkte { margin: 0 0 8px; padding-left: 1.1em; }
.marke { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--s2); }
.marke.warn { background: var(--acc); color: var(--on); }

/* Knöpfe und Formulare */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0;
  border-radius: 12px; background: var(--acc); color: var(--on); font: 700 1rem var(--schrift); text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--acc-hover); }
.knopf-zweit { background: var(--s2); color: var(--tx); width: 100%; margin: 6px 0 10px; }
.knopf-zweit:hover { background: var(--ln2); }
.formular { display: grid; gap: 6px; margin: 16px 0; }
.formular label { font-weight: 600; margin-top: 8px; }
.formular input { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--feld-rand); background: var(--bg);
  color: var(--tx); font: 1rem var(--schrift); width: 100%; }
.formular .knopf { margin-top: 14px; }
.code-feld { letter-spacing: .3em; font-size: 1.3rem !important; text-align: center; }
.hinweis { padding: 10px 14px; border-radius: 12px; margin: 12px 0; border: 1px solid var(--ln); }
.hinweis.fehler { border-color: var(--fehler); color: var(--fehler); }
.hinweis.ok { border-color: var(--ok); color: var(--ok); }

/* Anmeldeseite */
.anmeldeseite .inhalt { min-height: 100vh; display: grid; place-items: center; padding-bottom: 28px; }
.anmelde-karte { width: 100%; max-width: 420px; background: var(--s1); border: 1px solid var(--ln); border-radius: 18px; padding: 28px 22px; }

/* Offline-Balken */
.offline-balken { position: sticky; top: 0; z-index: 30; background: var(--acc); color: var(--on); padding: 8px 16px; text-align: center; font-size: .92rem; }

/* Reiter unten (Handy) */
.reiter-unten { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; background: var(--s1); border-top: 1px solid var(--ln);
  padding-bottom: env(safe-area-inset-bottom); }
.reiter-unten a { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 4px; min-height: var(--unten);
  color: var(--tx2); text-decoration: none; font-size: .78rem; font-weight: 600; }
.reiter-unten a.aktiv { color: var(--acc-tx); }

@media (min-width: 760px) {
  .reiter-oben { display: flex; }
  .reiter-unten { display: none; }
  .konto-name { display: inline; }
  .inhalt { padding: 28px 24px 40px; }
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Glocke ---------- */
.glocke { position: relative; margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--tx); }
.glocke:hover { background: var(--s1); }
.glocke-zahl { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--acc); color: var(--on); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.glocke + .konto-menue { margin-left: 0; }

/* ---------- Seitenkopf, Umschalter, Filter ---------- */
.seitenkopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.seitenkopf p { margin: 0; max-width: 60ch; }
.akzent { color: var(--acc-tx); }
.umschalter { display: inline-flex; background: var(--s1); border: 1px solid var(--ln); border-radius: 12px; padding: 3px; max-width: 100%; overflow-x: auto; }
.umschalter a { padding: 8px 14px; border-radius: 9px; color: var(--tx2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.umschalter a.aktiv { background: var(--s2); color: var(--tx); }
.filterzeile { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 0 0 14px; }
.filterzeile select, .formular select { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--feld-rand);
  background: var(--bg); color: var(--tx); font: 1rem var(--schrift); max-width: 100%; }
.haken { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.haken input { width: 20px; height: 20px; accent-color: var(--acc); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.knopf-klein { min-height: 40px; padding: 0 14px; font-size: .92rem; }
.abstand-oben { margin-top: 22px; }
.klein-titel { font-size: .95rem; margin: 18px 0 6px; }

/* ---------- Liste der Bögen ---------- */
.fb-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fb-zeile { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; background: var(--s1); border: 1px solid var(--ln);
  border-radius: var(--rund); color: var(--tx); text-decoration: none; text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.fb-zeile:hover { border-color: var(--ln2); transform: translateY(-1px); }
.fb-zeile.neu { border-color: var(--acc); }
.fb-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.fb-titel { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-marken { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pfeil { color: var(--tx2); font-size: 1.4rem; line-height: 1; }
.marke.rs { background: transparent; border: 1px solid var(--acc); color: var(--acc-tx); }
.marke.ok { background: transparent; border: 1px solid var(--ln2); color: var(--tx2); }
.note-kreis { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
  border: 3px solid var(--ln2); }
.note-5, .note-4 { border-color: var(--acc); color: var(--acc-tx); }
.note-3 { border-color: var(--logo); }
.knopf-zeile { appearance: none; }
.punkt { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ln2); }
.punkt.an { background: var(--acc); }
.person-zeile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--s1); border: 1px solid var(--ln); border-radius: var(--rund); flex-wrap: wrap; }
.nr-form { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.nr-form input { width: 64px; min-height: 40px; text-align: center; border-radius: 10px; border: 1px solid var(--feld-rand); background: var(--bg); color: var(--tx); font: 700 1rem var(--schrift); }

/* ---------- Leere Zustände ---------- */
.leer-karte { text-align: center; padding: 40px 20px; background: var(--s1); border: 1px dashed var(--ln2); border-radius: 18px; }
.leer-karte h2 { margin-bottom: 6px; }
.leer-karte p { margin: 0 auto; max-width: 46ch; }
.leer-symbol { font-size: 2.2rem; color: var(--acc); margin-bottom: 6px !important; }

/* ---------- Feedbackbogen ---------- */
.vorschau-balken { background: var(--acc); color: var(--on); padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; font-size: .95rem; }
.zurueck { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; margin-bottom: 6px; }
.bogen { background: var(--s1); border: 1px solid var(--ln); border-radius: 20px; overflow: hidden; }
.bogen-kopf { display: flex; gap: 18px; align-items: center; padding: 22px 18px; background:
  radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 60%), var(--s1); border-bottom: 1px solid var(--ln); }
.bogen-titel { min-width: 0; }
.bogen-titel h1 { font-size: 1.4rem; overflow-wrap: anywhere; }
.bogen-titel p { margin: 0; }
.ueberzeile { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.note-gross { flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  border: 5px solid var(--ln2); background: var(--bg); }
.note-gross.note-5, .note-gross.note-4 { border-color: var(--acc); box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc) 18%, transparent); }
.note-zahl { font: 800 2.4rem/1 "Montserrat", var(--schrift); }
.note-von { font-size: .75rem; color: var(--tx2); }
.bogen-teil { padding: 18px; border-bottom: 1px solid var(--ln); }
.bogen-teil h2 { margin-bottom: 10px; }
.fliesstext { margin: 0; max-width: 65ch; }
.hinweis-karte { margin: 16px 18px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--acc);
  background: color-mix(in srgb, var(--acc) 10%, transparent); }
.hinweis-karte p { margin: 4px 0 0; }
.noten { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.noten li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ln); }
.noten li:first-child { border-top: 0; }
.sterne { display: inline-flex; gap: 3px; flex: none; }
.stern { width: 20px; height: 20px; color: var(--ln2); }
.stern.an { color: var(--acc); }
.tipp { background: color-mix(in srgb, var(--logo) 7%, transparent); }
.beispiele { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.beispiel { margin: 0; }
.beispiel img, .beispiel-platz { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: var(--s2); display: grid; place-items: center; color: var(--tx2); }
.beispiel figcaption { font-size: .78rem; color: var(--tx2); margin-top: 4px; overflow-wrap: anywhere; }
.bogen-fuss { padding: 14px 18px; margin: 0; }
.formular-reihe { max-width: 520px; }

@media (min-width: 760px) {
  .bogen-kopf { padding: 28px; gap: 24px; }
  .bogen-teil { padding: 22px 28px; }
  .bogen-titel h1 { font-size: 1.8rem; }
  .noten { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .noten li:nth-child(2) { border-top: 0; }
}
@media (max-width: 420px) {
  .fb-marken { display: none; }
  .note-gross { width: 76px; height: 76px; }
  .note-zahl { font-size: 2rem; }
}

/* ---------- Meine Events ---------- */
.termine { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.termin { display: flex; gap: 14px; padding: 16px; background: var(--s1); border: 1px solid var(--ln); border-radius: var(--rund); }
.termin-heute { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 15%, transparent); }
.termin-datum { flex: none; width: 58px; display: grid; justify-items: center; align-content: start; padding: 8px 0; border-radius: 12px;
  background: var(--s2); line-height: 1.1; }
.termin-heute .termin-datum { background: var(--acc); color: var(--on); }
.t-wtag, .t-monat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.t-tag { font: 800 1.6rem/1.15 "Montserrat", var(--schrift); }
.termin-inhalt { min-width: 0; flex: 1; }
.termin-inhalt h2 { font-size: 1.1rem; overflow-wrap: anywhere; }
.termin-inhalt p { margin: 2px 0; }
.termin-ober { margin: 0 0 2px !important; }
.termin-marken { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.mit-dabei { margin: 8px 0; }
.koepfe { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.koepfe li { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; }
.klein-avatar { width: 24px; height: 24px; font-size: .75rem; }
.termin-hinweis { padding: 8px 10px; border-left: 3px solid var(--acc); background: var(--s2); border-radius: 0 8px 8px 0; margin: 8px 0 !important; }
.termin-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.knopf-zweit-inline { background: var(--s2); color: var(--tx); }
.knopf-zweit-inline:hover { background: var(--ln2); }
/* Rocket Campus – Teil 2: Guide, Onboarding, Verwaltung, Events, Profil, Tour (gleiche Variablen wie campus.css) */

.abstand-unten { margin-bottom: 16px; }
.link-knopf { background: none; border: 0; padding: 6px 4px; color: var(--acc-tx); font: inherit; cursor: pointer; text-decoration: underline; min-height: 40px; }
.link-knopf:disabled { color: var(--tx2); cursor: default; text-decoration: none; }
.fehler-text { color: var(--fehler) !important; }
.knopf-hell { background: var(--on); color: #fff; }
.knopf-gross { min-height: 56px; padding: 0 32px; font-size: 1.1rem; }
.inline-form { display: inline; }
.ok-zeile { color: var(--ok); font-weight: 700; margin: 0; }
.ansicht-balken { position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 16px; background: var(--acc); color: var(--on); }
.menue-links { list-style: none; margin: 4px 0 8px; padding: 0; }
.menue-links a { display: block; padding: 8px 0; text-decoration: none; color: var(--tx); border-top: 1px solid var(--ln); }
.menue-links li:first-child a { border-top: 0; }
.formular textarea, .suchzeile input, .kategorie-zeile input, .kategorie-zeile select, .personen-form input, .personen-form select {
  border-radius: 12px; border: 1px solid var(--feld-rand); background: var(--bg); color: var(--tx); font: 1rem var(--schrift); }
.formular textarea { padding: 12px 14px; width: 100%; resize: vertical; line-height: 1.5; }
.zahl-feld { width: 64px; text-align: center; }

/* Guide */
.suchzeile { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.suchzeile input { flex: 1 1 220px; min-height: 48px; padding: 0 14px; }
.suchzeile select { min-height: 48px; }
.gruppe-titel { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tx2); margin: 22px 0 10px; }
.guide-karten { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.guide-karte { display: grid; gap: 6px; height: 100%; padding: 16px; background: var(--s1); border: 1px solid var(--ln); border-radius: var(--rund);
  color: var(--tx); text-decoration: none; transition: border-color .15s, transform .15s; }
.guide-karte:hover { border-color: var(--acc); transform: translateY(-1px); }
.guide-karte.gesperrt { opacity: .55; }
.guide-kopf { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.guide-titel { font-weight: 700; }
.artikel { background: var(--s1); border: 1px solid var(--ln); border-radius: 20px; padding: 22px 18px; }
.artikel-kopf h1 { overflow-wrap: anywhere; }
.fliesstext-gross { font-size: 1.04rem; line-height: 1.65; max-width: 70ch; }
.fliesstext-gross h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.fliesstext-gross h4 { font-size: 1.05rem; margin: 1.2em 0 .3em; }
.fliesstext-gross ul, .fliesstext-gross ol { padding-left: 1.3em; }
.fliesstext-gross li { margin: .25em 0; }
.bildreihe { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 16px 0; }
.bildreihe img { width: 100%; border-radius: 12px; display: block; }
.beispiel-block, .anhang-block { margin-top: 22px; }
.so-nicht img { outline: 3px solid var(--fehler); outline-offset: -3px; }
.beispiele.mini { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 420px; }
.beispiele.mini img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.artikel-fuss { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--ln); }
.fragen { margin-top: 26px; }
.frage-karte { background: var(--s1); border: 1px solid var(--ln); border-radius: var(--rund); padding: 14px; margin-bottom: 10px; }
.frage-karte p { margin: 0 0 6px; }
.frage-text { font-weight: 600; }
.antwort { margin-top: 8px; padding: 10px 12px; border-left: 3px solid var(--acc); background: var(--s2); border-radius: 0 10px 10px 0; }
.antwort p { margin: 0; }
.frage-form summary { list-style: none; cursor: pointer; display: inline-flex; }
.frage-form summary::-webkit-details-marker { display: none; }
.haken-reihe, .haken-gruppe { display: flex; flex-wrap: wrap; gap: 4px 16px; border: 0; padding: 0; margin: 6px 0; }
.haken-gruppe legend { font-weight: 600; margin-bottom: 4px; }

/* Onboarding */
.fortschritt-karte { display: grid; gap: 12px; background: var(--s1); border: 1px solid var(--ln); border-radius: 18px; padding: 18px; margin-bottom: 18px; }
.fortschritt-zahl strong { font: 800 1.8rem "Montserrat", var(--schrift); color: var(--acc-tx); }
.balken { height: 10px; background: var(--s2); border-radius: 99px; overflow: hidden; }
.balken span { display: block; height: 100%; background: linear-gradient(90deg, var(--acc), var(--acc-hover)); border-radius: 99px; transition: width .4s; }
.klein-balken { height: 6px; margin-top: 4px; }
.schritte { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.schritt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--s1); border: 1px solid var(--ln); border-radius: var(--rund); }
.schritt-punkt { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--s2); }
.schritt-erledigt .schritt-punkt { background: var(--ok); color: #000; }
.schritt-offen { border-color: var(--acc); }
.schritt-offen .schritt-punkt { background: var(--acc); color: var(--on); }
.schritt-gesperrt { opacity: .55; }
.schritt-titel { flex: 1; font-weight: 600; color: var(--tx); }
a.schritt-titel { text-decoration: none; }
.knopf-gruppe { display: flex; gap: 2px; }
.feier .leer-symbol { font-size: 3rem; }

/* Verwaltung */
.verwaltung-nav { margin-bottom: 18px; flex-wrap: nowrap; }
.kennzahlen { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kennzahl { display: grid; gap: 2px; padding: 16px; background: var(--s1); border: 1px solid var(--ln); border-radius: var(--rund); color: var(--tx); text-decoration: none; }
.kennzahl strong { font: 800 1.8rem "Montserrat", var(--schrift); }
.kennzahl span { color: var(--tx2); font-size: .9rem; }
.kennzahl.warn { border-color: var(--acc); }
.kennzahl.warn strong { color: var(--acc-tx); }
.kategorie-zeile, .personen-form, .release-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kategorie-zeile input, .kategorie-zeile select, .personen-form input, .personen-form select { min-height: 40px; padding: 0 10px; }
.kategorie-zeile input:not(.zahl-feld) { flex: 1 1 200px; }
.editor-raster { display: grid; gap: 18px; }
.editor-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.werkzeugleiste { display: flex; flex-wrap: wrap; gap: 4px; }
.werkzeugleiste button { min-height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--ln2); background: var(--s2); color: var(--tx); font: .9rem var(--schrift); cursor: pointer; }
.werkzeugleiste button:hover { border-color: var(--acc); }
.anhang-raster { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.anhang-raster li { display: grid; gap: 4px; padding: 8px; background: var(--s2); border-radius: 12px; }
.anhang-raster img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.anhang-symbol { font-size: 2rem; text-align: center; padding: 14px 0; }
.release-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.release-zeile { padding: 14px; background: var(--s1); border: 1px solid var(--ln); border-radius: var(--rund); }
.release-zeile.raus { opacity: .6; border-style: dashed; }
.release-kopf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.release-zeile p { margin: 6px 0; }
.release-aktionen { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 16px; }
.vergleich del { background: color-mix(in srgb, var(--fehler) 25%, transparent); text-decoration: line-through; }
.vergleich ins { background: color-mix(in srgb, var(--ok) 25%, transparent); text-decoration: none; }
.vergleich-text { line-height: 1.6; }
.tabelle-huelle { overflow-x: auto; border: 1px solid var(--ln); border-radius: var(--rund); }
.tabelle { width: 100%; border-collapse: collapse; min-width: 640px; }
.tabelle th, .tabelle td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ln); vertical-align: top; }
.tabelle th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tx2); background: var(--s1); }
.bericht { padding: 12px; background: var(--s2); border-radius: 12px; }
.verwalter-werkzeug { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--ln2); }

/* Events: Detail, Wetter, Prüfungen */
.termin-link { color: var(--tx); text-decoration: none; }
.termin-link:hover { color: var(--acc-tx); }
.erstes-mal { color: var(--logo); margin: 4px 0 !important; }
.wetter-kurz { margin: 6px 0 !important; }
.event-kopf { margin-bottom: 16px; }
.event-kopf h1 { overflow-wrap: anywhere; }
.tage-raster { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tag-karte p { margin: 4px 0; }
.wetter { margin: 10px 0; padding: 10px; background: var(--s2); border-radius: 12px; }
.wetter-kopf { margin: 0 0 6px !important; }
.wetter-stunden { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0 0 4px; overflow-x: auto; }
.wetter-stunden li { display: grid; justify-items: center; min-width: 42px; }
.wetter-hinweis { color: var(--acc-tx); font-weight: 600; margin: 6px 0 0 !important; }
.pruefungen { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pruefung { background: var(--s1); border: 1px solid var(--ln); border-radius: var(--rund); }
.pruefung.ohne-guide { border-style: dashed; }
.pruefung summary { list-style: none; display: flex; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; }
.pruefung summary::-webkit-details-marker { display: none; }
.pruefung[open] summary { border-bottom: 1px solid var(--ln); }
.pruefung-zeit { flex: none; width: 48px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pruefung-name { flex: 1; display: grid; min-width: 0; overflow-wrap: anywhere; }
.pruefung-inhalt { padding: 12px 14px; }
.pruefung-inhalt p { margin: 4px 0; }

/* Profil, Abzeichen */
.profil-kopf { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.profil-kopf p { margin: 0; }
.avatar-gross { width: 72px; height: 72px; font-size: 1.8rem; }
.abzeichen { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.orden { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 10px; border-radius: 18px;
  background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%), var(--s1); border: 1px solid var(--ln); }
.orden-symbol { font-size: 2rem; }
.orden-jahre { border-color: var(--logo); }

/* Pop-up, Willkommen, Tour */
.modal-huelle { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .6); }
.modal { width: 100%; max-width: 460px; max-height: 85vh; overflow: auto; background: var(--s1); border: 1px solid var(--ln); border-radius: 20px; padding: 22px; }
.modal-liste { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; gap: 8px; }
.modal-liste li { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.willkommen { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; overflow: auto;
  background: radial-gradient(110% 80% at 50% 0%, color-mix(in srgb, #FF7A00 30%, #0F0F0F), #0F0F0F 70%); color: #fff; }
.willkommen-inhalt { max-width: 560px; text-align: center; animation: einblenden .6s ease-out both; }
.willkommen-text { text-align: left; font-size: 1.05rem; line-height: 1.6; margin: 0 0 22px; color: #EDEDED; }
.willkommen .logo-r { color: #fff; }
.rakete { font-size: 3.4rem; animation: abheben 2.4s ease-in-out infinite; }
@keyframes einblenden { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes abheben { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-10px) rotate(-8deg); } }
.tour-licht { position: fixed; z-index: 71; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .65), 0 0 0 3px var(--acc); pointer-events: none; transition: all .3s; }
.tour-schritt { position: fixed; z-index: 72; left: 16px; right: 16px; bottom: calc(var(--unten) + 20px); max-width: 420px; margin: 0 auto;
  background: var(--s1); border: 1px solid var(--acc); border-radius: 18px; padding: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.tour-schritt h3 { margin: 0 0 6px; }
.tour-schritt p { margin: 0 0 12px; }
.tour-knoepfe { display: flex; justify-content: space-between; align-items: center; }

@media (min-width: 760px) {
  .editor-raster { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
  .editor-knoepfe { grid-column: 1 / -1; }
  .artikel { padding: 32px; }
  .tour-schritt { left: auto; right: 24px; bottom: 24px; margin: 0; }
}

[hidden] { display: none !important; }

/* Startseite, Erinnerung */
.start-onboarding { text-decoration: none; color: var(--tx); border-color: var(--acc); }
.start-termin { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ln); color: var(--tx); text-decoration: none; }
.start-termin:first-of-type { border-top: 0; padding-top: 0; }
.start-termin .termin-datum { width: 50px; }
.start-termin.termin-heute { box-shadow: none; }
.erinnerung { position: fixed; z-index: 65; left: 16px; right: 16px; top: calc(12px + env(safe-area-inset-top)); max-width: 480px; margin: 0 auto; padding: 12px 14px; border-radius: 14px; background: var(--acc); color: var(--on); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.erinnerung .link-knopf { color: var(--on); }

/* Zeitplan-Foto: Liste der angekommenen Dateien */
.zeilen { list-style: none; margin: 0 0 10px; padding: 0; }
.zeilen li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ln); overflow-wrap: anywhere; }
.zeilen li:last-child { border-bottom: 0; }

/* Feedback-Bogen Fassung 2: Gruppen, Fokus, Erklärseite */
.noten-gruppe { font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--tx2); margin: 14px 0 4px; }
.noten-fokus { background: color-mix(in srgb, var(--acc) 10%, transparent); border-radius: 8px; padding-left: 8px !important; padding-right: 8px !important; }
.fokus-karte { display: block; text-decoration: none; color: inherit; }
.fokus-karte .klein { display: block; margin-top: 4px; }
.bogen-liste { margin: 0; }
.bogen-liste > div { padding: 10px 0; border-bottom: 1px solid var(--ln); }
.bogen-liste > div:last-child { border-bottom: 0; }
.bogen-liste dt { font-weight: 700; }
.bogen-liste dd { margin: 4px 0 0; line-height: 1.5; }

/* Feedback: Zahl am Reiter, Bestätigen am Ende */
.reiter-zahl { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--acc); color: var(--on); font-size: .72rem; font-weight: 700; margin-left: 4px; }
.reiter-unten a { position: relative; }
.reiter-zahl.unten { position: absolute; top: 2px; left: 50%; margin-left: 6px; }
.knopf-reihe { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.bestaetigen textarea { width: 100%; box-sizing: border-box; margin: 6px 0 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--ln2);
  background: var(--s2); color: var(--tx); font: inherit; resize: vertical; }
.bestaetigen .knopf { width: 100%; }

/* Feedback im Team: kurz vor dem Besuch */
.vorbereitung p { margin: 6px 0; }
.vorbereitung .unterzeile { margin-top: 12px; }
.kurzliste { margin: 4px 0 0; padding-left: 18px; line-height: 1.5; }
.kurzliste li { margin: 2px 0; }

/* Bogen-Baukasten (Verwaltung) */
.baukasten { display: grid; gap: 14px; margin: 14px 0; }
.bk-abschnitt-kopf, .bk-kopf { display: flex; align-items: center; gap: 6px; }
.bk-abschnitt-titel { flex: 1; min-width: 0; font-size: 1.1rem; font-weight: 700; }
.bk-abschnitt-titel, .bk-beschreibung, .bk-eingabe input, .bk-eingabe textarea, .bk-eingabe select, .bk-optionen input {
  min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--feld-rand, var(--ln2)); background: var(--bg); color: var(--tx); font: inherit; box-sizing: border-box; }
.bk-beschreibung { width: 100%; margin: 8px 0; }
.bk-fragen { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.bk-frage { border: 1px solid var(--ln); border-radius: 12px; background: var(--s2); }
.bk-frage.offen { border-color: var(--acc); }
.bk-kopf { padding: 4px 6px; }
.bk-auf { flex: 1; min-width: 0; text-align: left; background: none; border: 0; color: var(--tx); font: inherit; padding: 10px 6px; cursor: pointer; overflow-wrap: anywhere; }
.bk-frage-titel { font-weight: 600; }
.bk-griff { cursor: grab; color: var(--tx2); padding: 0 6px; user-select: none; letter-spacing: -2px; }
.bk-mini { min-width: 36px; min-height: 36px; border-radius: 8px; border: 1px solid var(--ln2); background: var(--s1); color: var(--tx); cursor: pointer; }
.bk-mini:hover { border-color: var(--acc); }
.bk-inhalt { padding: 4px 14px 14px; display: grid; gap: 4px; }
.bk-eingabe { display: grid; gap: 4px; margin-top: 6px; }
.bk-eingabe label, .bk-unter { font-weight: 600; font-size: .9rem; margin: 6px 0 0; }
.bk-optionen { margin: 4px 0 8px; padding-left: 22px; display: grid; gap: 6px; }
.bk-optionen li { display: flex; gap: 6px; align-items: center; }
.bk-optionen input { flex: 1; min-width: 0; }
.bk-loeschen { justify-self: start; margin-top: 8px; }
.bk-ende { min-height: 10px; border-radius: 8px; }
.wird-gezogen { opacity: .45; }
.ziel { outline: 2px dashed var(--acc); outline-offset: 2px; }
.baukasten-leiste { position: sticky; bottom: 70px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px;
  background: var(--s1); border: 1px solid var(--ln); border-radius: 14px; }
.baukasten-status { flex: 1; min-width: 120px; }
@media (min-width: 900px) { .baukasten-leiste { bottom: 12px; } }
.bogen-vorschau fieldset { border: 1px solid var(--ln); border-radius: 12px; margin: 0 0 12px; padding: 10px 14px; }
.bogen-vorschau legend { font-weight: 700; padding: 0 6px; }
.vorschau-feld { padding: 10px 0; border-bottom: 1px solid var(--ln); display: grid; gap: 4px; }
.vorschau-feld:last-child { border-bottom: 0; }
.vorschau-feld textarea, .vorschau-feld select { width: 100%; box-sizing: border-box; border-radius: 10px; padding: 8px; background: var(--bg); color: var(--tx2); border: 1px solid var(--ln2); }
.vorschau-optionen { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.vorschau-sterne .stern { opacity: .5; }
.klein-sterne svg { width: 14px; height: 14px; }
.noten-antwort { text-align: right; max-width: 60%; }

/* Verwaltung: Bereiche in drei Gruppen, alles sichtbar, kein seitliches Schieben */
.vw-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.vw-gruppe { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding: 10px; background: var(--s1); border: 1px solid var(--ln); border-radius: 14px; }
.vw-titel { flex: 0 0 100%; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--tx2); font-weight: 700; margin: 0 0 2px 4px; }
.vw-gruppe a { padding: 8px 12px; border-radius: 9px; color: var(--tx); text-decoration: none; font-weight: 600; background: var(--s2); min-height: 20px; }
.vw-gruppe a:hover { outline: 1px solid var(--acc); }
.vw-gruppe a.aktiv { background: var(--acc); color: var(--on); }
@media (max-width: 720px) {
  .vw-nav { grid-template-columns: 1fr; gap: 6px; }
  .vw-gruppe { padding: 8px; gap: 4px; }
  .vw-gruppe a { flex: 1 1 calc(50% - 4px); text-align: center; padding: 8px 4px; font-size: .9rem; }
  .baukasten-leiste { flex-wrap: nowrap; gap: 6px; padding: 8px; }
  .baukasten-leiste .knopf { flex: 1 1 0; min-height: 44px; padding: 0 8px; font-size: .9rem; }
  .baukasten-status { position: absolute; left: 12px; top: -22px; min-width: 0; }
}
.baukasten-status:empty { display: none; }

/* Suche oben (Fehlercodes, Guide) – Max 08.11. */
.kopf-suche { display: none; margin-left: auto; }
.kopf-suche input { width: 190px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--feld-rand); background: var(--s1); color: var(--tx); font: inherit; font-size: .9rem; }
.kopf-suche input:focus { width: 240px; outline: 2px solid var(--fokus); }
.kopf-lupe { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--tx); }
.kopf-suche + .kopf-lupe + .glocke, .kopf-lupe + .glocke { margin-left: 0; }
@media (min-width: 1000px) { .kopf-suche { display: block; } .kopf-lupe { display: none; } .kopf-suche ~ .glocke { margin-left: 0; } }

/* Aufsteller & Werbeschilder je Event – Max 08.11. */
.aufsteller-fotos { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.aufsteller-fotos li { display: flex; flex-direction: column; gap: 6px; }
.aufsteller-fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--ln); background: var(--s2); }
.aufsteller-werkzeug { display: flex; gap: 12px; flex-wrap: wrap; }
.aufsteller-werkzeug form { display: inline; }
.aufsteller-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.aufsteller-form input[name="notiz"] { flex: 1 1 240px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--feld-rand); background: var(--s1); color: var(--tx); font: inherit; }

/* Probetag (Recruiting) im Event – Max 08.11. */
.probetag { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-bottom: 16px; }
