/* Berufsfinder. Dieselbe ruhige Linie wie die Startseite: hell, Marineblau,
   Systemschrift. Dunkel ist eigens gewählt, nicht umgedreht. */

:root {
  color-scheme: light;
  --grund: #f4f5f7;
  --flaeche: #ffffff;
  --flaeche-2: #f8f9fb;
  --linie: #e3e6ea;
  --linie-stark: #c8d0da;
  --schrift: #16202c;
  --leise: #5c6875;
  --sehr-leise: #8a95a1;
  --akzent: #1f3a5f;
  --akzent-hell: #eef2f7;
  --du: #2a78d6;          /* Datenreihe 1: du */
  --du-flaeche: rgba(42, 120, 214, .16);
  --andere: #eb6834;      /* Datenreihe 2: Vergleichsperson */
  --andere-flaeche: rgba(235, 104, 52, .12);
  --gut: #1b7f4d;
  --hinweis: #9a5b00;
  --hinweis-hell: #fff6e6;
  --radius: 12px;
  --breit: 1080px;
  --schatten: 0 1px 2px rgba(16, 24, 40, .04), 0 2px 8px rgba(16, 24, 40, .04);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --grund: #14181d;
    --flaeche: #1b2027;
    --flaeche-2: #20262e;
    --linie: #2b323b;
    --linie-stark: #3b4450;
    --schrift: #e9edf2;
    --leise: #a4afbb;
    --sehr-leise: #7c8794;
    --akzent: #9cc1f0;
    --akzent-hell: #1f2a38;
    --du: #3987e5;
    --du-flaeche: rgba(57, 135, 229, .22);
    --andere: #d95926;
    --andere-flaeche: rgba(217, 89, 38, .16);
    --gut: #4cc38a;
    --hinweis: #f0b35a;
    --hinweis-hell: #2c2416;
    --schatten: none;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  background: var(--grund);
  color: var(--schrift);
  font: 400 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* --- Kopf und Fuß ---------------------------------------------------------- */

.kopf, .fuss { width: 100%; max-width: var(--breit); }

.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 8px;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--schrift);
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
}

.zeichen {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: #1f3a5f;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.kopf-titel { color: var(--leise); font-size: 14px; }

.fuss {
  margin-top: auto;
  padding: 28px 0 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--sehr-leise);
  font-size: 13px;
}
.fuss nav { display: flex; gap: 18px; }
.fuss a { color: inherit; text-decoration: none; }
.fuss a:hover { color: var(--schrift); }

.schirm { width: 100%; max-width: var(--breit); }

.ohnejs { color: var(--leise); text-align: center; padding: 40px 0; }

/* --- Knöpfe ---------------------------------------------------------------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--linie-stark);
  border-radius: 10px;
  background: var(--flaeche);
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.knopf:hover { border-color: var(--akzent); }
.knopf:active { transform: translateY(1px); }
.knopf:disabled { opacity: .45; cursor: default; transform: none; }
.knopf.haupt { background: #1f3a5f; border-color: #1f3a5f; color: #fff; }
.knopf.haupt:hover { background: #274a78; }
.knopf.klein { min-height: 38px; padding: 0 14px; font-size: 14px; font-weight: 500; }
.knopf:focus-visible, .wahl:focus-visible, .stufe:focus-visible, .chip:focus-visible, .punkt:focus-visible {
  outline: 2px solid var(--du);
  outline-offset: 2px;
}

/* --- Start ----------------------------------------------------------------- */

.start {
  max-width: 640px;
  margin: 8vh auto 0;
}

.ueber {
  margin: 0 0 6px;
  color: var(--du);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.start h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
}

.eckdaten {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.eckdaten li {
  padding: 6px 12px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--leise);
  font-size: 14px;
}
.eckdaten b { color: var(--schrift); }

.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }

.vorschau {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  color: var(--leise);
  font-size: 14px;
}
.vorschau li { display: flex; align-items: center; gap: 8px; }
.vorschau span {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--akzent-hell);
  color: var(--akzent);
  font-size: 12px;
  font-weight: 700;
}

/* --- Fragen ---------------------------------------------------------------- */

#frage { max-width: 720px; }

.fortschritt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 0;
}
.zurueck {
  width: 38px; height: 38px;
  flex: none;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--flaeche);
  cursor: pointer;
}
.zurueck:disabled { opacity: .35; cursor: default; }
.leiste {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--linie);
  overflow: hidden;
}
.fuellung {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--du);
  transition: width .25s ease;
}
.zaehler { color: var(--leise); font-size: 13px; font-variant-numeric: tabular-nums; min-width: 48px; text-align: right; }

.karte {
  margin: 4vh 0 0;
  animation: rein .22s ease;
}
@keyframes rein { from { opacity: 0; transform: translateY(6px); } }

.abschnitt {
  margin: 0 0 6px;
  color: var(--du);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.karte h2 {
  margin: 0 0 24px;
  font-size: clamp(21px, 4.2vw, 28px);
  line-height: 1.25;
  letter-spacing: -.01em;
  font-weight: 650;
}

/* Likert: fünf Stufen */
.stufen {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.stufe {
  min-height: 54px;
  padding: 8px 6px;
  border: 1px solid var(--linie-stark);
  border-radius: 10px;
  background: var(--flaeche);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.stufe:hover { border-color: var(--du); }
.stufe.sel { background: var(--du); border-color: var(--du); color: #fff; }

@media (max-width: 559px) {
  .stufen { grid-template-columns: 1fr; gap: 6px; }
  .stufe { min-height: 46px; text-align: left; padding: 0 16px; }
}

/* Paar: zwei Pole, fünf Punkte dazwischen */
.paar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.pol { font-weight: 550; line-height: 1.35; }
.pol.l { text-align: right; }
.punkte { display: flex; align-items: center; gap: 10px; }
.punkt {
  border: 2px solid var(--linie-stark);
  border-radius: 50%;
  background: var(--flaeche);
  cursor: pointer;
  padding: 0;
  transition: border-color .12s, background .12s, transform .12s;
}
.punkt:hover { border-color: var(--du); transform: scale(1.06); }
.punkt.sel { background: var(--du); border-color: var(--du); }
.punkt[data-v="-2"], .punkt[data-v="2"] { width: 46px; height: 46px; }
.punkt[data-v="-1"], .punkt[data-v="1"] { width: 36px; height: 36px; }
.punkt[data-v="0"] { width: 28px; height: 28px; }

@media (max-width: 559px) {
  .paar { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .pol.l { text-align: left; grid-row: 1; grid-column: 1; }
  .pol.r { text-align: right; grid-row: 1; grid-column: 2; }
  .punkte { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; }
}

/* Wahl: eine Antwort */
.wahlen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.wahl {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--linie-stark);
  border-radius: 10px;
  background: var(--flaeche);
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.wahl:hover { border-color: var(--du); }
.wahl.sel { border-color: var(--du); background: var(--du-flaeche); }
.wahl kbd {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border: 1px solid var(--linie);
  border-radius: 6px;
  color: var(--sehr-leise);
  font: 600 12px/1 system-ui, sans-serif;
}
@media (max-width: 559px) {
  .wahlen { grid-template-columns: 1fr; gap: 6px; }
  .wahl { min-height: 44px; padding: 8px 12px; }
  .wahl kbd { display: none; }
}

/* Chips: Fächer und Werte */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  background: var(--flaeche);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.chip:hover { border-color: var(--du); }
.chip.sel { background: var(--du); border-color: var(--du); color: #fff; }
.chip.nein.sel { background: var(--leise); border-color: var(--leise); }
.chip:disabled { opacity: .4; cursor: default; }

.unten {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.unten .anzahl { color: var(--leise); font-size: 14px; font-variant-numeric: tabular-nums; }

/* --- Ergebnis -------------------------------------------------------------- */

#ergebnis { padding-top: 8px; }

.held {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--linie);
}
.held h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.held .pole { margin: 10px 0 0; color: var(--leise); }
.held .pole span + span::before { content: " · "; color: var(--sehr-leise); }
.held .aktionen { display: flex; flex-wrap: wrap; gap: 8px; }

.block { padding: 34px 0 6px; }
.block > h2 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -.01em;
}
.block > .unter { margin: 0 0 18px; color: var(--leise); font-size: 15px; }

.raster2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
@media (max-width: 799px) { .raster2 { grid-template-columns: minmax(0, 1fr); } }

.tafel {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 20px;
  min-width: 0;
}
.tafel h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--leise);
  letter-spacing: .02em;
}

/* Netz */
.netz-rahmen { position: relative; }
.netz { display: block; width: 100%; height: auto; max-width: 440px; margin: 0 auto; overflow: visible; }
.netz .ring { fill: none; stroke: var(--linie); stroke-width: 1; }
.netz .speiche { stroke: var(--linie); stroke-width: 1; }
.netz .beschr { fill: var(--leise); font-size: 12px; }
.netz .beschr.stark { fill: var(--schrift); font-weight: 600; }
.netz .du { fill: var(--du-flaeche); stroke: var(--du); stroke-width: 2; stroke-linejoin: round; }
.netz .andere { fill: var(--andere-flaeche); stroke: var(--andere); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 5 4; }
.netz .ecke { fill: var(--du); stroke: var(--flaeche); stroke-width: 2; }
.netz .treffer { fill: transparent; cursor: default; }
.legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--leise); }
.legende i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.legende .l-du i { background: var(--du); }
.legende .l-andere i { background: var(--andere); }

.tipp {
  position: absolute;
  pointer-events: none;
  padding: 6px 10px;
  border: 1px solid var(--linie);
  border-radius: 8px;
  background: var(--flaeche);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  font-size: 13px;
  white-space: nowrap;
  transform: translate(-50%, -120%);
}
.tipp b { font-variant-numeric: tabular-nums; }

/* Balken */
.balken { display: grid; gap: 10px; }
.balken .zeile { display: grid; grid-template-columns: minmax(0, 14.5em) 1fr 3em; align-items: center; gap: 12px; font-size: 14px; }
.balken .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.balken .spur { height: 10px; background: var(--flaeche-2); border-radius: 0 5px 5px 0; overflow: hidden; }
.balken .wert { height: 100%; background: var(--du); border-radius: 0 4px 4px 0; }
.balken .zahl { text-align: right; font-variant-numeric: tabular-nums; color: var(--leise); }
.balken .zeile.vorn .name { font-weight: 600; }
.balken .zeile.vorn .zahl { color: var(--schrift); font-weight: 600; }
@media (max-width: 479px) { .balken .zeile { grid-template-columns: minmax(0, 8.5em) 1fr 2.6em; gap: 8px; } }

/* Zwei Pole */
.achsen { display: grid; gap: 16px; }
.achse .pole { display: flex; justify-content: space-between; font-size: 14px; color: var(--leise); margin-bottom: 6px; }
.achse .pole .stark { color: var(--schrift); font-weight: 600; }
.achse .spur { position: relative; height: 10px; border-radius: 5px; background: var(--flaeche-2); }
.achse .mitte { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--linie-stark); }
.achse .wert { position: absolute; top: 0; bottom: 0; background: var(--du); }
.achse .wert.links { border-radius: 4px 0 0 4px; }
.achse .wert.rechts { border-radius: 0 4px 4px 0; }
.achse .satz { margin-top: 6px; font-size: 13px; color: var(--leise); font-variant-numeric: tabular-nums; }

/* Werte */
.wertliste { display: flex; flex-wrap: wrap; gap: 8px; }
.wertliste span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--akzent-hell);
  color: var(--akzent);
  font-weight: 600;
  font-size: 14px;
}

/* Weg-Empfehlung */
.weg-empf .sieger { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 4px; }
.weg-empf .warum { margin: 0 0 16px; color: var(--leise); font-size: 15px; }
.hinweisbox {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--hinweis-hell);
  color: var(--schrift);
  font-size: 14px;
}

/* Berufskarten */
.berufe { display: grid; gap: 14px; }
.beruf {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 20px 22px;
}
.beruf .oben { display: flex; align-items: flex-start; gap: 16px; }
.beruf .rang {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--akzent-hell);
  color: var(--akzent);
  font-weight: 700;
}
.beruf .kern { flex: 1; min-width: 0; }
.beruf h3 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.beruf .branche { color: var(--sehr-leise); font-size: 13px; }
.beruf .kurz { margin: 6px 0 0; color: var(--leise); }
.beruf .pz { flex: none; text-align: right; }
.beruf .pz b { display: block; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.beruf .pz span { font-size: 12px; color: var(--sehr-leise); }

.gruende { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.gruende li {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--linie);
  font-size: 13px;
  color: var(--leise);
}
.gruende li::before { content: "✓ "; color: var(--gut); font-weight: 700; }

.eckwerte { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0 0; font-size: 14px; color: var(--leise); }
.eckwerte b { color: var(--schrift); font-weight: 600; }

/* Weg als Zeitstrahl */
.pfad {
  display: flex;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}
.pfad li {
  position: relative;
  flex: 1 0 128px;
  min-width: 128px;
  padding: 26px 10px 0 0;
  font-size: 13.5px;
  line-height: 1.35;
}
.pfad li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--flaeche);
  border: 2px solid var(--du);
  z-index: 1;
}
.pfad li::after {
  content: "";
  position: absolute;
  left: 12px; right: 0; top: 11px;
  height: 2px;
  background: var(--linie-stark);
}
.pfad li:last-child::after { display: none; }
.pfad li:last-child::before { background: var(--du); }
.pfad li.da::before { background: var(--gut); border-color: var(--gut); }
.pfad li.fehlt::before { border-color: var(--hinweis); border-style: dashed; }
.pfad .was { display: block; font-weight: 550; }
.pfad .dauer { display: block; color: var(--sehr-leise); font-size: 12.5px; margin-top: 2px; }
.pfad .eur { color: var(--gut); font-weight: 600; }
.pfad li.fehlt .was { color: var(--hinweis); }

@media (max-width: 639px) {
  .pfad { flex-direction: column; overflow: visible; }
  .pfad li { flex: none; min-width: 0; padding: 0 0 14px 26px; }
  .pfad li::before { top: 3px; }
  .pfad li::after { left: 5px; right: auto; top: 17px; bottom: 0; width: 2px; height: auto; }
}

/* Geheimtipps kompakt */
.selten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.selten .beruf { padding: 18px; display: flex; flex-direction: column; }
.selten .beruf h3 { font-size: 17px; }
.selten .pfad { flex-direction: column; overflow: visible; margin-top: 14px; }
.selten .pfad li { flex: none; min-width: 0; padding: 0 0 10px 24px; }
.selten .pfad li::before { top: 3px; }
.selten .pfad li::after { left: 5px; right: auto; top: 17px; bottom: 0; width: 2px; height: auto; }

/* Bekannte Menschen */
.leute { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.mensch {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  text-align: left;
  cursor: pointer;
  transition: border-color .12s;
}
.mensch:hover { border-color: var(--andere); }
.mensch.sel { border-color: var(--andere); box-shadow: 0 0 0 1px var(--andere); }
.mensch .zeile1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mensch h3 { margin: 0; font-size: 17px; }
.mensch .pz { flex: none; white-space: nowrap; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mensch .rolle { color: var(--sehr-leise); font-size: 13px; }
.mensch .weg { color: var(--leise); font-size: 14px; line-height: 1.45; }
.mensch .staerken { display: flex; flex-wrap: wrap; gap: 6px; }
.mensch .staerken span { font-size: 12.5px; padding: 2px 9px; border-radius: 999px; background: var(--andere-flaeche); }
.mensch .an { font-size: 13px; color: var(--andere); font-weight: 600; }

/* Alle Berufe */
details.alle { margin-top: 4px; }
details.alle > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--linie-stark);
  border-radius: 10px;
  background: var(--flaeche);
  font-weight: 600;
}
details.alle > summary::-webkit-details-marker { display: none; }
details.alle > summary::after { content: "▾"; color: var(--leise); }
details.alle[open] > summary::after { content: "▴"; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.filter input, .filter select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--linie-stark);
  border-radius: 10px;
  background: var(--flaeche);
  color: var(--schrift);
  font: inherit;
  font-size: 15px;
}
.filter input { flex: 1 1 200px; }
.liste { display: grid; gap: 6px; }
.liste details {
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--flaeche);
}
.liste summary {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}
.liste summary::-webkit-details-marker { display: none; }
.liste summary .nr { color: var(--sehr-leise); font-variant-numeric: tabular-nums; font-size: 14px; }
.liste summary .n { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste summary .n small { color: var(--sehr-leise); font-weight: 400; margin-left: 6px; }
.liste summary .p { font-variant-numeric: tabular-nums; font-weight: 600; }
.liste .innen { padding: 0 14px 16px; }
.liste .innen .beruf { border: 0; box-shadow: none; padding: 0; }
.leer { color: var(--leise); padding: 10px 0; }

.ende {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 36px 0 10px;
  margin-top: 30px;
  border-top: 1px solid var(--linie);
}

.meldung {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 10px;
  background: #1f3a5f;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
  z-index: 10;
}

/* --- Druck: das Ergebnis als Blatt ----------------------------------------- */

@media print {
  :root { --grund: #fff; --flaeche: #fff; --schatten: none; }
  body { padding: 0; }
  .kopf, .fuss, .aktionen, .ende, details.alle, .meldung { display: none !important; }
  .block, .beruf, .mensch, .tafel { break-inside: avoid; }
  .pfad { overflow: visible; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, .karte { transition: none !important; animation: none !important; }
}
