/*
 * Pharma-Portal – ruhig und sachlich.
 *
 * Grau als Grundton, Orange nur als Akzent (Hauptknopf, aktiver Reiter).
 * Kopf und Fuß in Graphit, das Logo darauf weiß. Flächen werden mit feinen Linien
 * getrennt, nicht mit Schatten; ein Radius für Karten, ein kleinerer für
 * Knöpfe und Felder. Ein Hauptknopf, ein Nebenknopf, ein Textknopf.
 *
 * Das Kreuz aus dem SoftAid-Logo steht als <symbol id="kreuz"> in
 * pharma.html und wird in Kopf, Fuß, Chat und im Hintergrund benutzt;
 * daneben steht die Wortmarke „SOFTAID“ (.wortmarke) als Schrift.
 * Kopf und Fuß sind spiegelgleich aufgebaut: links – Mitte – rechts.
 * Hell und dunkel folgen der Einstellung des Geräts.
 */
:root {
  --hg: #f4f4f3;
  --flaeche: #ffffff;
  --flaeche-2: #f8f8f7;
  --fuell: rgba(0, 0, 0, .04);
  --fuell-stark: rgba(0, 0, 0, .07);
  --text: #1f2023;
  --text-2: #5f6168;
  --text-3: #8a8c92;
  --linie: #e6e6e4;
  --rand: #d4d4d2;
  --akzent: #f28c28;    --akzent-hover: #e57b14;    --auf-akzent: #1f2023;
  --akzent-tint: rgba(242, 140, 40, .14);
  --link: #b04a09;
  --fokus: rgba(242, 140, 40, .45);
  --logo: #ee7a1a;
  --graphit: #25262b;   --auf-graphit: #ffffff;     --auf-graphit-2: #b4b6bd;
  --gruen: #1d7a37;     --gruen-tint: rgba(29, 122, 55, .1);
  --orange: #a84c00;    --orange-tint: rgba(242, 140, 40, .14);
  --blau: #285f9e;      --blau-tint: rgba(40, 95, 158, .1);
  --rot: #c4121f;       --rot-tint: rgba(196, 18, 31, .08);
  --blase-ihr: #e9e9e6;
  --r: 0;
  --r-klein: 0;
  --feld-hoehe: 42px;
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --hg: #141416;
    --flaeche: #1c1d20;
    --flaeche-2: #18191b;
    --fuell: rgba(255, 255, 255, .06);
    --fuell-stark: rgba(255, 255, 255, .1);
    --text: #f1f1f2;
    --text-2: #a6a8ae;
    --text-3: #83858b;
    --linie: #2c2d31;
    --rand: #3a3b40;
    --akzent: #ff8a3d;    --akzent-hover: #ffa364;    --auf-akzent: #1a0e05;
    --akzent-tint: rgba(255, 138, 61, .16);
    --link: #ff9a52;
    --fokus: rgba(255, 138, 61, .5);
    --logo: #ff8a3d;
    --graphit: #1b1c1f;
    --gruen: #3ccf6a;     --gruen-tint: rgba(60, 207, 106, .14);
    --orange: #ffa64d;    --orange-tint: rgba(255, 166, 77, .15);
    --blau: #6aa8f0;      --blau-tint: rgba(106, 168, 240, .15);
    --rot: #ff6b61;       --rot-tint: rgba(255, 107, 97, .14);
    --blase-ihr: rgba(255, 255, 255, .1);
  }
}

/* --- Grundlagen ---------------------------------------------------------------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font: 16px/1.5 var(--schrift); letter-spacing: -.008em;
  color: var(--text); background: var(--hg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; color: var(--text); letter-spacing: -.015em; }
h1 { font-size: 1.85rem; line-height: 1.2; font-weight: 650; }
h2 { font-size: 1.08rem; line-height: 1.35; font-weight: 600; }
h3 { font-size: .95rem; line-height: 1.4; font-weight: 600; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fokus); outline-offset: 2px; }
.breite { width: min(100% - 3rem, 1080px); margin-inline: auto; }
main { flex: 1; padding: 0 0 4rem; position: relative; z-index: 1; }
.laden { color: var(--text-2); padding-top: 4rem; text-align: center; }
.versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Wortmarke: „SOFTAID“ wie im Logo, neben dem Kreuz ------------------------------ */
.wortmarke {
  font-family: "Gill Sans", "Gill Sans MT", "Gill Sans Nova", Seravek, Lato, var(--schrift);
  font-weight: 400; text-transform: uppercase; letter-spacing: .07em; line-height: 1; white-space: nowrap;
}
.wortmarke sup { font-size: .4em; letter-spacing: 0; margin-left: .12em; vertical-align: top; position: relative; top: -.1em; }

/* --- Kopfleiste: Logo links, Bereiche mittig, Nummer rechts ------------------------ */
.leiste { position: sticky; top: 0; z-index: 20; background: var(--graphit); color: var(--auf-graphit); }
.leiste-inhalt { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; height: 64px; }
.marke { grid-column: 1; display: flex; align-items: center; gap: .65rem; color: var(--auf-graphit); justify-self: start; }
.marke:hover { text-decoration: none; }
.marke-kreuz { flex: none; width: 30px; height: 30px; color: var(--auf-graphit); }
.marke .wortmarke { font-size: 1.32rem; }
.marke-trenner { flex: none; width: 1px; height: 28px; margin: 0 .2rem; background: rgba(255, 255, 255, .25); }
.marke-text { display: flex; flex-direction: column; font-size: .86rem; font-weight: 600; line-height: 1.25; }
.marke-text small { font-size: .76rem; font-weight: 400; color: var(--auf-graphit-2); }
.navigation { grid-column: 2; }
.leiste-rechts { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: .75rem; }
.telefon {
  display: inline-flex; align-items: center; gap: .45rem; height: 34px; padding: 0 .8rem;
  border-radius: var(--r-klein); border: 1px solid rgba(255, 255, 255, .22); color: var(--auf-graphit);
  font-size: .87rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.telefon svg { color: var(--logo); }
.telefon:hover { text-decoration: none; border-color: var(--logo); }
.profil {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); color: var(--auf-graphit); font-size: .78rem; font-weight: 600;
}
.profil:hover { text-decoration: none; background: rgba(255, 255, 255, .2); }
.profil.mit-bild { background: none; overflow: hidden; }

/* Bereiche: Textreiter, der aktive mit orangem Strich */
.navigation { display: flex; align-self: stretch; gap: 1.6rem; }
.navigation a {
  position: relative; display: inline-flex; align-items: center; gap: .4rem; height: 100%;
  color: var(--auf-graphit-2); font-size: .9rem; font-weight: 500; white-space: nowrap;
}
.navigation a:hover { color: var(--auf-graphit); text-decoration: none; }
.navigation a.aktiv { color: var(--auf-graphit); }
.navigation a.aktiv::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--logo); }
.zahl {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--akzent); color: var(--auf-akzent);
  font-size: .7rem; font-weight: 700; display: inline-grid; place-items: center; letter-spacing: 0;
}

/* Ansicht aus dem Dashboard */
.vorschau-leiste { background: #fbe9d8; color: #1f2023; }
.vorschau-inhalt { display: flex; align-items: center; gap: .75rem; min-height: 46px; padding: .4rem 0; }
.vorschau-inhalt p { flex: 1; margin: 0; font-size: .87rem; line-height: 1.4; }
.vorschau-zusatz { color: #5f6168; }
.vorschau-punkt { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--logo); }
.vorschau-inhalt .knopf { flex: none; background: #fff; color: #1f2023; border-color: #d4d4d2; }

/* --- Knöpfe ---------------------------------------------------------------------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: var(--feld-hoehe); padding: 0 1.1rem; border: 1px solid transparent; border-radius: var(--r-klein);
  background: var(--akzent); color: var(--auf-akzent); font-size: .94rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s;
}
.knopf:hover { background: var(--akzent-hover); text-decoration: none; }
.knopf:disabled { opacity: .5; cursor: default; }
.knopf.zweit { background: var(--flaeche); color: var(--text); border-color: var(--rand); }
.knopf.zweit:hover { background: var(--flaeche-2); border-color: var(--text-3); }
.knopf.klein { min-height: 32px; padding: 0 .75rem; font-size: .85rem; }
.knopf.breit { width: 100%; }
.text-knopf { border: 0; background: none; padding: .25rem 0; color: var(--link); font-size: .92rem; cursor: pointer; white-space: nowrap; }
.text-knopf:hover { text-decoration: underline; }
.text-knopf:disabled { opacity: .45; cursor: default; text-decoration: none; }
.text-knopf.fett { font-weight: 600; }
.text-knopf.mittig { display: block; margin: .25rem auto 0; }
.code-feld { letter-spacing: .25em; font-variant-numeric: tabular-nums; }
.symbol-knopf { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: var(--r-klein); background: none; color: var(--text-2); cursor: pointer; }
.symbol-knopf:hover { background: var(--fuell-stark); color: var(--text); }
.symbol-knopf.gefahr:hover { background: var(--rot-tint); color: var(--rot); }
.symbol-knopf:disabled { opacity: .4; cursor: default; }

/* --- Seitenkopf ------------------------------------------------------------------ */
.seitenkopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 2.5rem 0 1.5rem; }
.kurs-kopf { padding-top: .75rem; }
.ueber { margin: 0 0 .3rem; font-size: .92rem; color: var(--text-2); }
.ueber:empty { display: none; }
.unterzeile { margin: .5rem auto 0; max-width: 32rem; font-size: 1rem; color: var(--text-2); text-align: center; }
.unterzeile.links { margin: .4rem 0 0; text-align: left; max-width: 46rem; display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; }
.seiten-hinweis { margin: .4rem 0 0; color: var(--text-2); }
.zurueck { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.75rem; font-size: .92rem; }
.zurueck svg { width: 8px; height: 14px; }

/* --- Karten, Listen, Hinweise ------------------------------------------------------ */
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); padding: 1.25rem 1.5rem; min-width: 0; }
.karte > h2 { margin-bottom: .9rem; }
.karte-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.kopf-aktionen { display: flex; gap: 1.1rem; }
.zaehler { margin: .1rem 0 0; font-size: .87rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hinweis { margin: 0 0 1rem; font-size: .9rem; color: var(--text-2); }
.fussnote { margin: 1rem 0 0; font-size: .87rem; color: var(--text-2); text-align: center; }
.fussnote.links { text-align: left; }
.leer { margin: 0; padding: 1.25rem 0; color: var(--text-2); font-size: .93rem; }
.leer.mittig { text-align: center; }

.meldung { margin: 0; padding: .6rem .8rem; border-radius: var(--r-klein); font-size: .9rem; }
.meldung.fehler { background: var(--rot-tint); color: var(--rot); }
.meldung.erfolg { background: var(--gruen-tint); color: var(--gruen); }

/* Status: kleine Marke, Farbe nur als Hinweis */
.status { display: inline-flex; align-items: center; padding: .12rem .5rem; border-radius: 0; font-size: .78rem; font-weight: 600; white-space: nowrap; background: var(--fuell-stark); color: var(--text-2); }
.status:empty { display: none; }
.status.geplant, .status.rechnung-geschickt { background: var(--orange-tint); color: var(--orange); }
.status.durchgefuehrt, .status.rechnung-bezahlt, .status.anfrage-uebernommen { background: var(--gruen-tint); color: var(--gruen); }
.status.anfrage, .status.angebot, .status.sonstiges, .status.anfrage-neu, .status.anfrage-in_bearbeitung { background: var(--blau-tint); color: var(--blau); }
.status.abgelehnt, .status.anfrage-abgesagt { background: var(--rot-tint); color: var(--rot); }

/* Rechnungsadresse fehlt: kleiner roter Punkt am Profil oben rechts */
.profil-rahmen { position: relative; display: inline-flex; }
.rot-punkt { position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: #e5242f; box-shadow: 0 0 0 2px var(--graphit); pointer-events: none; }
.rot-punkt[hidden] { display: none; }

/* --- Formulare: Beschriftung über dem Feld, überall gleich hoch ------------------- */
.formular { display: grid; gap: 1.1rem; }
.formular > h2 { margin: 0; }
.formular .hinweis { margin: -.5rem 0 0; }
.feldgruppe { display: grid; gap: .9rem; }
.feld { display: grid; gap: .3rem; min-width: 0; }
.feld > span:first-child { font-size: .85rem; font-weight: 500; color: var(--text); }
.feld input, .feld textarea {
  width: 100%; min-width: 0; height: var(--feld-hoehe); padding: 0 .75rem;
  border: 1px solid var(--rand); border-radius: var(--r-klein); background: var(--flaeche); font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.feld textarea { height: auto; min-height: 5.5rem; padding: .6rem .75rem; resize: vertical; line-height: 1.45; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-tint); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
.feld-paar { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .5rem; min-width: 0; }
.feld-mit-knopf { position: relative; display: flex; align-items: center; gap: .5rem; min-width: 0; }
.feld-mit-knopf input[name] { flex: 1; min-width: 0; }
.kalender-knopf { flex: none; width: var(--feld-hoehe); height: var(--feld-hoehe); border: 1px solid var(--rand); border-radius: var(--r-klein); display: grid; place-items: center; background: var(--flaeche); color: var(--text-2); cursor: pointer; }
.kalender-knopf:hover { border-color: var(--text-3); color: var(--text); }
.feld .datum-unsichtbar { position: absolute; right: 0; bottom: 0; width: var(--feld-hoehe); height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.gruppen-titel { margin: .4rem 0 -.3rem; font-size: .95rem; font-weight: 600; color: var(--text); }
.formular > h2 + .gruppen-titel { margin-top: 0; }
.zustimmung { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .88rem; color: var(--text-2); cursor: pointer; }
.zustimmung input { width: 17px; height: 17px; margin: .15rem 0 0; accent-color: var(--akzent); }

/* --- Anmelden, Passwort, Bestätigung ------------------------------------------------ */
.einzeln { max-width: 25rem; margin: 0 auto; padding-top: clamp(2.5rem, 8vh, 5rem); text-align: center; }
.einzeln .karte { margin-top: 1.75rem; padding: 1.5rem; text-align: left; }
.einzeln .karte + .karte { margin-top: 1rem; }
.einzeln > .knopf { margin-top: 1.5rem; }
.einzeln .formular > .knopf.breit { margin-top: .2rem; }

/* Logo groß über der Überschrift: Kreuz und Wortmarke wie im SoftAid-Logo */
.logo-gross { display: inline-flex; align-items: flex-end; gap: .7rem; margin: 0 auto 1.6rem; color: var(--text); }
.logo-kreuz { flex: none; width: 58px; height: 58px; color: var(--text); }
.logo-gross .wortmarke { font-size: 2.05rem; margin-bottom: .1rem; }

/* Anmelden: Karte mit Titel, Felder mit Symbol, darunter drei gleiche Punkte */
.einzeln.anmelden { max-width: 27rem; }
.karte-titel { margin: 0; font-size: 1.15rem; text-align: center; }
.einzeln .karte { padding: 1.75rem; }
.feld-huelle { position: relative; display: block; }
.feld-symbol {
  position: absolute; left: .8rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
  fill: none; stroke: var(--text-3); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
  transition: stroke .15s;
}
.feld .feld-symbol + input { height: 46px; padding-left: 2.6rem; }
.feld-huelle:focus-within .feld-symbol { stroke: var(--akzent); }
.feld .feld-huelle.mit-auge input { padding-right: 2.9rem; }
.auge {
  position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 36px; height: 36px;
  display: grid; place-items: center; border: 0; border-radius: var(--r-klein); background: none; color: var(--text-3); cursor: pointer;
}
.auge:hover { color: var(--text); background: var(--fuell); }
.auge svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.einzeln .formular > .knopf.breit { min-height: 46px; font-size: 1rem; }

.vertrauen {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  margin: 2.25rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--linie);
}
.vertrauen li { display: flex; flex-direction: column; align-items: center; gap: .55rem; font-size: .8rem; line-height: 1.35; color: var(--text-2); text-align: center; }
.vertrauen a { color: inherit; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vertrauen a:hover { color: var(--link); }
.vertrauen-symbol { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--akzent-tint); color: var(--orange); }
.vertrauen-symbol svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.symbol { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.1rem; font-size: 1.3rem; font-weight: 700; }
.symbol svg { width: 22px; height: 22px; }
.symbol.warnung { background: var(--orange-tint); color: var(--orange); }
.symbol.erfolg { background: var(--gruen-tint); color: var(--gruen); }
.neu-hier { margin: 1.25rem 0 0; font-size: .92rem; color: var(--text-2); }
.neu-hier a { font-weight: 600; }

/* --- Registrieren ------------------------------------------------------------------- */
.reg { padding-top: 2.5rem; }
.reg-kopf { max-width: 40rem; }
.reg-fuehrung { margin: .6rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--text-2); }
.reg-raster { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: 2rem 3rem; align-items: start; margin-top: 2rem; }
.reg-formular { position: sticky; top: 5rem; }
.reg-zwischen { margin: 2.25rem 0 .9rem; font-size: 1.08rem; }
.reg-sprung { display: none; margin-top: 1.25rem; }

/* Aufnahmen aus dem Portal: schlichter Rahmen */
.laptop { border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); padding: .5rem; }
.laptop-bildschirm { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 5px; background: var(--flaeche-2); }
.laptop-bildschirm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .35s; }
.laptop-bildschirm img.aktiv { opacity: 1; }

/* Funktionen als Liste; die gewählte zeigt ihr Bild oben */
.vorteile-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--linie); }
.vorteile-liste li { border-bottom: 1px solid var(--linie); }
.vorteil {
  width: 100%; display: block; padding: .75rem .9rem .75rem 1rem; border: 0; border-left: 2px solid transparent;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.vorteil:hover { background: var(--fuell); }
.vorteil[aria-current="true"] { border-left-color: var(--logo); background: var(--flaeche); }
.vorteil-text strong { display: block; font-size: .94rem; font-weight: 600; }
.vorteil-text > span { display: block; margin-top: .1rem; font-size: .86rem; line-height: 1.45; color: var(--text-2); }

/* Drei Schritte */
.reg-schritte { list-style: none; counter-reset: schritt; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.reg-schritte li { counter-increment: schritt; padding-top: .8rem; border-top: 2px solid var(--rand); }
.reg-schritte li:first-child { border-top-color: var(--logo); }
.reg-schritte li::before { content: counter(schritt) "."; display: block; margin-bottom: .2rem; font-size: .85rem; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.reg-schritte h3 { margin: 0 0 .2rem; }
.reg-schritte p { margin: 0; font-size: .87rem; line-height: 1.5; color: var(--text-2); }

/* --- Meine Kurse ------------------------------------------------------------------------ */
/* Eine Zeile, alles gleich hoch: Zeitraum links, Suche in der Mitte, Export rechts */
.werkzeug { display: flex; align-items: stretch; gap: .75rem; flex-wrap: wrap; margin-bottom: .75rem; }
.segment { display: inline-flex; border: 1px solid var(--rand); border-radius: var(--r-klein); overflow: hidden; background: var(--flaeche); }
.segment button { padding: 0 .9rem; height: 34px; border: 0; background: none; color: var(--text-2); font-size: .87rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
.segment button + button { border-left: 1px solid var(--rand); }
.segment button:hover { color: var(--text); background: var(--flaeche-2); }
.segment button.aktiv { background: var(--fuell-stark); color: var(--text); font-weight: 600; }
.suche { flex: 1 1 14rem; position: relative; display: flex; align-items: center; }
.suche svg { position: absolute; left: .7rem; color: var(--text-3); pointer-events: none; }
.suche input { width: 100%; height: 36px; padding: 0 .75rem 0 2.1rem; border: 1px solid var(--rand); border-radius: var(--r-klein); background: var(--flaeche); font-size: .92rem; }
.suche input:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-tint); }

/* Liste der Kurse */
.gruppe { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); overflow: hidden; margin: 0; padding: 0; list-style: none; }
.zeile { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: .8rem 1.25rem; color: var(--text); }
.zeile + .zeile, .gruppe > li + li { border-top: 1px solid var(--linie); }
a.zeile:hover { text-decoration: none; background: var(--flaeche-2); }
.zeile.vorbei .kalenderblatt { opacity: .55; }
.zeile-mitte strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zeile-mitte span { display: block; font-size: .87rem; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zeile-rechts { display: flex; align-items: center; gap: .9rem; }
.tn { font-size: .85rem; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pfeil { color: var(--text-3); display: flex; }
.gruppe .leer { padding: 2rem 1.5rem; text-align: center; }

/* Datum als Text: Tag groß, Monat klein */
.kalenderblatt { text-align: center; line-height: 1.1; padding-right: .9rem; border-right: 1px solid var(--linie); }
.kalenderblatt .monat { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
.kalenderblatt .tag { display: block; font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.kalenderblatt.ohne .tag { color: var(--text-3); }

/* Noch keine Kurse */
.noch-keine { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 2.5rem 1.5rem; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); text-align: center; }
.noch-keine strong { font-size: 1.05rem; font-weight: 600; }
.noch-keine > span { color: var(--text-2); font-size: .94rem; max-width: 28rem; }
.noch-keine .knopf { margin-top: .9rem; }

/* Ihre Anfragen */
.abschnitt { margin-top: 2.5rem; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 .75rem; }
.anfrage-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem; padding: .85rem 1.25rem; }
.anfrage-zeile strong { font-weight: 600; overflow-wrap: anywhere; }
.anfrage-zeile .unter { grid-column: 1 / -1; font-size: .86rem; color: var(--text-2); }
.anfrage-zeile .status { justify-self: end; align-self: start; }

/* --- Kursseite ---------------------------------------------------------------------------- */
.raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
/* Zwei gleich breite Spalten, Karten nebeneinander gleich hoch; .ganz geht über die volle Breite */
.kurs-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.kurs-raster > .ganz { grid-column: 1 / -1; }
.kursdaten, .kontakt { display: flex; flex-direction: column; }
.kursdaten [data-k-kalender], .kontakt .knopf { margin-top: auto; }

.status-zeile { display: flex; gap: .5rem; align-items: baseline; }
.status-zeile::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); transform: translateY(-1px); }
.status-zeile.offen::before { background: var(--gruen); }
.druck-kopf { display: none; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste > li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .65rem 0; border-top: 1px solid var(--linie); }
.liste > li:first-child { border-top: 0; }
.personen { border-top: 1px solid var(--linie); }
.nr { min-width: 1.5rem; font-size: .85rem; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.person-name { font-weight: 500; overflow-wrap: anywhere; }
.person-name small { display: block; font-size: .85rem; color: var(--text-2); font-weight: 400; }
.person-aktionen { display: flex; gap: .2rem; opacity: 0; transition: opacity .15s; }
.personen > li:hover .person-aktionen, .person-aktionen:focus-within { opacity: 1; }
@media (hover: none) { .person-aktionen { opacity: 1; } }
.person-bearbeiten { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr auto auto; gap: .5rem; align-items: center; }
.person-bearbeiten input, .neu-zeile input {
  height: 36px; padding: 0 .7rem; border: 1px solid var(--rand); border-radius: var(--r-klein); background: var(--flaeche); font-size: .93rem; min-width: 0; width: 100%;
}
.person-bearbeiten input:focus, .neu-zeile input:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-tint); }
.person-bearbeiten .meldung { grid-column: 1 / -1; }
.neu-zeile { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding-top: .85rem; border-top: 1px solid var(--linie); }
.neu-zeile .knopf { min-height: 36px; }
.neu-zeile .meldung { grid-column: 1 / -1; }

.datei-symbol { padding: .1rem .35rem; border: 1px solid var(--rand); border-radius: 4px; color: var(--text-2); font-size: .66rem; font-weight: 700; letter-spacing: .04em; }
.datei-titel { font-weight: 500; overflow-wrap: anywhere; }
.datei-titel small { display: block; font-size: .85rem; color: var(--text-2); font-weight: 400; }

.werte { margin: 0 0 1.1rem; }
.werte > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--linie); font-size: .93rem; }
.werte > div:first-child { border-top: 0; padding-top: 0; }
.werte dt { color: var(--text-2); flex: none; }
.werte dd { margin: 0; text-align: right; font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; }

.kontakt h2 { margin-bottom: .5rem; }
.kontakt-tel { display: block; font-size: 1.25rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.kontakt-mail { display: block; margin: .1rem 0 1rem; font-size: .92rem; overflow-wrap: anywhere; }

/* Zum Kalender hinzufügen */
.kalender-wahl { list-style: none; margin: .5rem 0 0; padding: 0; border: 1px solid var(--linie); border-radius: var(--r-klein); overflow: hidden; }
.kalender-wahl li + li { border-top: 1px solid var(--linie); }
.kalender-wahl a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; color: var(--text); font-size: .9rem; }
.kalender-wahl a:hover { background: var(--flaeche-2); text-decoration: none; }
.kalender-wahl a:focus-visible { outline: 2px solid var(--fokus); outline-offset: -2px; }
.kalender-wahl svg { flex: none; color: var(--text-3); }

/* Feedback der Teilnehmenden – erst nach unserer Freigabe sichtbar */
.feedback-karte summary { position: relative; display: block; padding-right: 2rem; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.feedback-karte summary::-webkit-details-marker { display: none; }
.feedback-karte summary::after { content: ''; position: absolute; right: .3rem; top: .4rem; width: .5rem; height: .5rem; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform .15s; }
.feedback-karte details[open] summary::after { transform: rotate(-135deg); top: .65rem; }
.feedback-karte summary .karte-kopf { margin-bottom: 0; }
.feedback-karte details[open] summary { margin-bottom: .8rem; }
.feedback-gesamt { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; font-size: .93rem; }
.feedback-gesamt-text { color: var(--text-2); }
.feedback-gesamt .sterne { font-size: 1.2rem; }
.feedback-gesamt strong { font-variant-numeric: tabular-nums; }
.feedback-fragen { list-style: none; margin: .8rem 0 0; padding: 0; }
.feedback-fragen > li { display: grid; grid-template-columns: minmax(0, 1fr) auto 2.2rem; align-items: center; gap: .9rem; padding: .6rem 0; border-top: 1px solid var(--linie); font-size: .93rem; }
.feedback-fragen > li:first-child { border-top: 0; }
.feedback-fragen > li.feedback-auswahl { display: block; }
.feedback-option { display: grid; grid-template-columns: minmax(0, 1fr) 7rem 2.2rem; align-items: center; gap: .9rem; padding: .25rem 0 0 .9rem; color: var(--text-2); }
.feedback-balken { height: 6px; border-radius: 3px; background: var(--fuell-stark); overflow: hidden; }
.feedback-balken span { display: block; height: 100%; background: var(--akzent); }
.feedback-wert { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.feedback-zwischen { margin: 1.2rem 0 .4rem; }
.feedback-kommentare { list-style: none; margin: 0; padding: 0; }
.feedback-kommentare li { padding: .65rem .85rem; margin-top: .5rem; border-left: 2px solid var(--rand); background: var(--flaeche-2); white-space: pre-line; overflow-wrap: anywhere; font-size: .93rem; }
.sterne { position: relative; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: .05em; white-space: nowrap; }
.sterne-leer { color: var(--rand); }
.sterne-voll { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--akzent); }

/* --- Kurse anfragen -------------------------------------------------------------------------- */
.anfrage-form, [data-seite="anfrage"] .abschnitt { max-width: 40rem; }
.anfrage-form .knopf { justify-self: start; }
.anfrage-danke { max-width: 40rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding: 1.5rem; }
.anfrage-danke h2:focus { outline: none; }
.anfrage-danke p { margin: 0; color: var(--text-2); }
.anfrage-danke .knopf { margin-top: .9rem; }
.danke-haken { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gruen-tint); color: var(--gruen); }
.danke-haken svg { width: 18px; height: 18px; }

/* --- Nachrichten ------------------------------------------------------------------------------ */
.buero { display: flex; align-items: center; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; padding: .9rem 1.25rem; margin-bottom: 1rem; }
.buero strong { display: block; font-weight: 600; }
.buero span { display: block; font-size: .85rem; color: var(--text-2); }
.buero-person { display: flex; align-items: center; gap: .8rem; }
.buero-person img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--fuell); }

/* Ein Chatfenster: oben der Verlauf, unten das Eingabefeld */
.chat { display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; height: min(72vh, 46rem); min-height: 30rem; }

.verlauf { flex: 1; list-style: none; margin: 0; padding: 1rem 1.25rem; display: flex; flex-direction: column; overflow-y: auto; background: var(--flaeche-2); }
.verlauf-tag { align-self: center; margin: 1rem 0 .4rem; font-size: .75rem; font-weight: 600; color: var(--text-3); }
.verlauf-tag:first-child { margin-top: 0; }
.blase { max-width: min(78%, 34rem); display: flex; flex-direction: column; margin-top: .6rem; }
.blase.folge { margin-top: .2rem; }
.blase.von-ihnen { align-self: flex-end; align-items: flex-end; }
.blase.von-uns { align-self: flex-start; align-items: flex-start; }
.blase-text { margin: 0; padding: .5rem .8rem; border-radius: var(--r); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; line-height: 1.45; }
.von-ihnen .blase-text { background: var(--blase-ihr); color: var(--text); }
.von-uns .blase-text { background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); }
.blase-meta { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--text-3); margin: .2rem .3rem 0; }
/* ✓ gesendet, ✓✓ gelesen */
.haken { flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.haken.gelesen { color: var(--text-2); }
.chat-leer { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: 2rem; text-align: center; background: var(--flaeche-2); }
.chat-leer strong { font-size: 1.02rem; font-weight: 600; }
.chat-leer span:last-child { max-width: 24rem; font-size: .9rem; color: var(--text-2); }
.chat-leer-symbol { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .5rem; background: var(--graphit); }
.chat-leer-symbol svg { width: 28px; height: auto; display: block; color: var(--auf-graphit); }

.schreiben { flex: none; border-top: 1px solid var(--linie); padding: .75rem 1rem .6rem; display: grid; gap: .35rem; background: var(--flaeche); }
.eingabe { display: flex; align-items: flex-end; gap: .5rem; border: 1px solid var(--rand); border-radius: var(--r); padding: .3rem .3rem .3rem .8rem; background: var(--flaeche); transition: border-color .15s, box-shadow .15s; }
.eingabe:focus-within { border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-tint); }
.eingabe textarea { flex: 1; border: 0; background: none; resize: none; overflow: hidden; min-height: 32px; max-height: 12rem; padding: .35rem 0; font-size: .95rem; line-height: 1.4; }
.eingabe textarea:focus { outline: none; }
.senden { width: 32px; height: 32px; flex: none; border: 0; border-radius: var(--r-klein); display: grid; place-items: center; background: var(--akzent); color: var(--auf-akzent); cursor: pointer; }
.senden:disabled { background: var(--fuell-stark); color: var(--text-3); cursor: default; }
.schreiben-hinweis { margin: 0 .2rem; font-size: .72rem; color: var(--text-3); }

/* --- Konto ------------------------------------------------------------------------------------- */
.profilbild-karte { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.profilbild-karte h2 { margin: 0 0 .15rem; }
.profilbild-karte .hinweis { margin: 0 0 .7rem; }
.profilbild-karte .meldung { margin-top: .6rem; }
.profilbild { width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--fuell-stark); color: var(--text-2); font-size: 1.25rem; font-weight: 600; }
.profilbild.mit-bild { background: none; overflow: hidden; }
.profil img, .profilbild img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.profilbild-knoepfe { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.profilbild-knoepfe label.knopf { cursor: pointer; }

.rechnungsadresse-karte, .rechnungen-karte { margin-bottom: 1.25rem; scroll-margin-top: 80px; }
.rechnungsadresse-karte.zu { gap: .6rem; }
.rechnungsadresse-karte .feldgruppe, [data-passwort-aendern] .feldgruppe { max-width: 34rem; }
.rechnungsadresse-karte .feldgruppe { grid-template-columns: 8rem minmax(0, 1fr); }
.rechnungsadresse-karte .feld { grid-column: 1 / -1; }
.rechnungsadresse-karte .feld:has(input[name="plz"]), .rechnungsadresse-karte .feld:has(input[name="ort"]) { grid-column: auto; }
.ra-kopf { align-items: center; margin-bottom: 0; }
.ra-knoepfe { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rechnungen-karte .karte-kopf { align-items: center; margin-bottom: 0; }
.zweifaktor-karte { margin-top: 1.25rem; }
.zweifaktor-kopf { align-items: center; margin-bottom: .4rem; }
.zweifaktor-karte h2 { margin: 0; }
.zweifaktor-karte .hinweis { margin: 0; max-width: 40rem; }
.zweifaktor-karte .meldung { margin-top: .8rem; }

/* Schalter: ein Kontrollkästchen mit role="switch", eckig wie die Knöpfe; „An“/„Aus“ steht daneben. */
.schalter { flex: none; position: relative; display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; color: var(--text-2); cursor: pointer; }
.schalter input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.schalter input:disabled { cursor: default; }
.schalter-bahn { position: relative; width: 46px; height: 26px; background: var(--fuell-stark); border: 1px solid var(--rand); transition: background-color .15s, border-color .15s; }
.schalter-bahn::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--flaeche); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .15s; }
.schalter input:checked + .schalter-bahn { background: var(--akzent); border-color: var(--akzent); }
.schalter input:checked + .schalter-bahn::after { transform: translateX(20px); }
.schalter input:focus-visible + .schalter-bahn { box-shadow: 0 0 0 3px var(--akzent-tint); }
.schalter input:disabled + .schalter-bahn { opacity: .5; }
.rechnungen-karte .karte-kopf h2 { margin-bottom: .1rem; }
.rechnungen-karte .hinweis { margin: 0; }
.rechnungen-karte [data-alle-rechnungen] { margin-top: 1rem; }
.rechnungen-karte .liste > li.leer { display: block; }
[data-passwort-aendern] .knopf { justify-self: start; }
.abmelden-knopf { display: block; margin: 2rem 0 0; padding: .3rem 0; border: 0; background: none; color: var(--rot); font-size: .94rem; cursor: pointer; }
.abmelden-knopf:hover { text-decoration: underline; }

/* --- Hinweis unten (Toast) ---------------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; z-index: 50; transform: translateX(-50%);
  padding: .65rem 1.1rem; border-radius: var(--r-klein); background: var(--graphit); color: #fff;
  font-size: .9rem; font-weight: 500; animation: einblenden .2s ease;
}
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

/* --- Fuß ------------------------------------------------------------------------------------------ */
.fuss { position: relative; z-index: 1; background: var(--graphit); color: var(--auf-graphit-2); font-size: .88rem; }
.fuss a { color: var(--auf-graphit); }
.fuss a:hover { color: var(--logo); text-decoration: none; }
/* Logo links, Kontakt und Rechtliches rechts daneben (Rechtliches rechtsbündig) */
.fuss-inhalt { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2rem 4.5rem; padding: 2.5rem 0 2rem; }
.fuss-marke { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; text-align: left; }
.fuss-logo { display: flex; align-items: flex-end; gap: .55rem; color: var(--auf-graphit); }
.fuss-logo .marke-kreuz { width: 38px; height: 38px; }
.fuss-logo .wortmarke { font-size: 1.55rem; margin-bottom: .05rem; }
.fuss-marke p { margin: 0; font-size: .82rem; }
.fuss-spalte { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.fuss-spalte.rechts { align-items: flex-end; text-align: right; }
.fuss-spalte h2 { margin: 0 0 .25rem; font-size: .88rem; font-weight: 600; color: var(--auf-graphit); }
.fuss-spalte a { color: var(--auf-graphit-2); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fuss-spalte a:hover { color: var(--auf-graphit); }
.fuss-unten { display: flex; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; padding: .9rem 0 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }
.fuss-unten a { color: var(--auf-graphit-2); }

/* --- Tab-Leiste (nur Handy) ----------------------------------------------------------------------- */
.tableiste { display: none; }

/* --- Schmalere Fenster ------------------------------------------------------------------------------ */
@media (max-width: 900px) {
  .raster, .kurs-raster, .reg-raster { grid-template-columns: minmax(0, 1fr); }
  .reg-formular { position: static; max-width: 32rem; width: 100%; scroll-margin-top: 5rem; }
  .reg-sprung { display: inline-flex; }
  .leiste-inhalt { gap: 1rem; }
  .navigation { gap: 1.1rem; }
}

@media (max-width: 720px) {
  .breite { width: min(100% - 2rem, 1080px); }
  main { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
  h1 { font-size: 1.55rem; }
  .leiste-inhalt { grid-template-columns: 1fr auto; height: 56px; }
  .leiste-rechts { grid-column: 2; }
  .navigation, .profil-rahmen { display: none !important; }
  .marke-trenner, .marke-text { display: none; }
  .marke-kreuz { width: 26px; height: 26px; }
  .marke .wortmarke { font-size: 1.15rem; }
  .logo-kreuz { width: 48px; height: 48px; }
  .logo-gross .wortmarke { font-size: 1.7rem; }
  .einzeln .karte { padding: 1.35rem; }
  .vertrauen { gap: .6rem; }
  .vertrauen li { font-size: .76rem; }
  .vorschau-zusatz { display: none; }
  .seitenkopf { padding: 1.75rem 0 1.1rem; }
  .karte { padding: 1.1rem; }
  .segment { width: 100%; }
  .segment button { flex: 1; padding-inline: .4rem; }
  .zeile { grid-template-columns: 2.8rem minmax(0, 1fr) auto auto; padding: .75rem .9rem; gap: .75rem; }
  .kalenderblatt { padding-right: .7rem; }
  .zeile-rechts .tn { display: none; }
  .anfrage-zeile { padding: .8rem .9rem; }
  .neu-zeile { grid-template-columns: minmax(0, 1fr); }
  .neu-zeile .knopf { justify-self: start; }
  .person-bearbeiten { grid-template-columns: 1fr 1fr; }
  .vorteile-liste { grid-template-columns: 1fr; }
  .reg-schritte { grid-template-columns: 1fr; gap: 1rem; }
  .blase { max-width: 88%; }
  .buero { padding: .85rem 1rem; }
  .chat { height: calc(100dvh - 12rem); min-height: 26rem; padding: 0; }
  .verlauf { padding: .8rem .9rem; }
  .schreiben-hinweis { display: none; }
  .fuss { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .fuss-inhalt { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.75rem 0 1.25rem; }
  .fuss-marke { grid-column: 1 / -1; grid-row: 1; }

  .tableiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    padding: .3rem .5rem calc(.3rem + env(safe-area-inset-bottom));
    background: var(--flaeche); border-top: 1px solid var(--linie);
  }
  .tableiste[hidden] { display: none !important; }
  .tableiste a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .25rem 0; color: var(--text-3); font-size: .66rem; font-weight: 500; }
  .tableiste a:hover { text-decoration: none; }
  .tableiste a.aktiv { color: var(--text); }
  .tableiste a.aktiv svg { color: var(--logo); }
  .tableiste .zahl { position: absolute; top: -2px; left: calc(50% + 4px); }
  .tableiste .rot-punkt { top: 1px; right: auto; left: calc(50% + 6px); box-shadow: 0 0 0 2px var(--flaeche); }
  .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .fuss-inhalt { grid-template-columns: 1fr; }
  .fuss-marke, .fuss-spalte, .fuss-spalte.rechts { align-items: center; text-align: center; }
  .fuss-unten { justify-content: center; }
  .feld-paar { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .feedback-option { grid-template-columns: minmax(0, 1fr) 4rem 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .laptop-bildschirm img, .toast { transition: none; animation: none; }
}

/* --- Drucken: nur die Teilnehmerliste ------------------------------------------------------------------ */
@media print {
  :root { color-scheme: light; --text: #000; --text-2: #444; --linie: #bbb; --flaeche: #fff; --hg: #fff; }
  body { background: #fff; font-size: 11pt; }
  .leiste, .tableiste, .zurueck, .fuss, .nicht-drucken, .neu-zeile, .person-aktionen,
  .status-zeile, .seitenkopf, .fussnote, [data-seite="kurs"] .karte:not(.druckbar) { display: none !important; }
  .kurs-raster { display: block; }
  .karte { border: 0; padding: 0; }
  .druck-kopf { display: block; margin: 0 0 1rem; font-weight: 600; }
  .liste > li { break-inside: avoid; }
}
