/* wartung.css — „Zwölf Monate Wartung auf einer Tafel.“ (nur diese Seite).
   Richtung Plantafel: cremeweißer Grund, Kobaltblau als Hausfarbe, warmes Rot nur für „überfällig“ (immer mit Wort).
   Hauptdarstellung ist eine Jahres-Stecktafel. Schrift Space Grotesk, Zahlen in Roboto Mono. Die Seite ist bewusst nur hell. */

@font-face { font-family: "Space Grotesk"; src: url("../../schrift/muster/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../../schrift/muster/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url("../../schrift/muster/roboto-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url("../../schrift/muster/roboto-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url("../../schrift/muster/roboto-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root, :root[data-theme="light"] {
  color-scheme: light;
  --flaeche-0: #f6f1e4;          /* Creme */
  --flaeche-1: #fffcf4;          /* Karte */
  --flaeche-2: #ece5d2;
  --linie: #d6ccb4;
  --raster: #e9e1cc;
  --text-1: #121a3a;             /* Tinte, leicht blau */
  --text-2: #3a4161;
  --text-3: #575d78;
  --kobalt: #1f3fb8;
  --kobalt-tief: #13287d;
  --kobalt-hell: #dfe5fa;
  --akzent: #1f3fb8;
  --akzent-text: #18339a;
  --rot: #c8281e;                /* nur für überfällig */
  --rot-text: #a11d14;
  --rot-hell: #fbe4de;
  /* Anlagentypen: Platz 1 bis 7 gehören immer demselben Typ */
  --t1: #1f3fb8; --t2: #0b7d6c; --t3: #d48a00; --t4: #6a3fa0; --t5: #8f5320; --t6: #c0468e; --t7: #2f3b57; --t8: #7a8193;
  --s1: #1f3fb8; --s2: #7d8597;
  --q1: #e3e8fa; --q2: #c3cdf3; --q3: #9caeea; --q4: #6f86dc; --q5: #4562cc; --q6: #2643b3; --q7: #142c86;
  --gut-text: #0b6a5c; --kritisch-text: #a11d14;
  --schatten: 0 1px 0 rgb(20 30 80 / .05), 0 10px 26px -18px rgb(20 30 80 / .45);
  --ziffern: "Roboto Mono", ui-monospace, Consolas, monospace;
  --schrift: "Space Grotesk", system-ui, sans-serif;
}

html { overflow-x: clip; }
body { overflow-x: clip; font-family: var(--schrift); font-weight: 400; font-size: 16px; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2.5px solid var(--kobalt); outline-offset: 2px; border-radius: 3px; }
.knopf:has(input:focus-visible), .w-haken:has(input:focus-visible) { outline: 2.5px solid var(--kobalt); outline-offset: 2px; }
.breite { width: min(100% - 32px, 1600px); }

/* ---------- Kopfleiste und Titel ---------- */
.a-kopf { background: var(--kobalt); border-bottom: 0; }
.a-kopf .a-zurueck { color: #e6eafb; }
.a-kopf .a-zurueck:hover { color: #fff; }
.a-kopf .a-name { color: #fffcf4; font-weight: 700; letter-spacing: .01em; }
.a-kopf :focus-visible { outline-color: #fffcf4; }

.w-kopf { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .95fr); gap: 28px 56px; align-items: end; padding: 46px 0 26px; }
.w-marke { margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.2 var(--ziffern); color: var(--kobalt-tief); letter-spacing: .02em; }
.w-marke::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--kobalt); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .25); }
.a-titel h1 { font-family: var(--schrift); font-weight: 700; font-stretch: normal; font-size: clamp(34px, 5vw, 66px); line-height: 1; letter-spacing: -.03em; max-width: 14ch; margin-bottom: 18px; }
.a-titel p { font-size: 18px; max-width: 56ch; }
.a-titel p.w-marke { font-size: 13px; color: var(--kobalt-tief); }
.a-schild { border-radius: 3px; background: var(--flaeche-1); border: 1px solid var(--linie); }
.a-schild i { background: var(--t3); }
.a-schild.eigen i { background: var(--kobalt); }

/* Kennzahlen als Tafel-Etikett: kobaltblauer Block, Ziffern in Mono */
.w-etikett { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--kobalt-tief); border: 2px solid var(--kobalt-tief); border-radius: 4px; box-shadow: var(--schatten); min-width: 0; }
.w-ez { background: var(--kobalt); color: #fffcf4; padding: 14px 16px 14px; min-width: 0; }
.w-ez dt { font-size: 13px; line-height: 1.3; color: #dfe5fa; }
.w-ez dd { margin: 6px 0 0; font: 600 clamp(24px, 2.4vw, 32px)/1.05 var(--ziffern); letter-spacing: -.02em; white-space: nowrap; }
.w-ez dd small { font: 500 12px/1 var(--schrift); letter-spacing: 0; margin-left: 6px; color: #dfe5fa; }
.w-ez .w-ez-neben { display: block; margin-top: 4px; font: 400 12.5px/1.35 var(--schrift); color: #dfe5fa; white-space: normal; }
.w-ez.rot { background: var(--flaeche-1); color: var(--rot-text); }
.w-ez.rot dt, .w-ez.rot .w-ez-neben, .w-ez.rot dd small { color: var(--text-2); }
.w-ez.breit { grid-column: 1 / -1; }
@media (max-width: 980px) { .w-kopf { grid-template-columns: 1fr; padding-top: 32px; } }

/* ---------- Ablage und Hinweis ---------- */
.ablage { border-radius: 4px; border-color: var(--kobalt); background: var(--flaeche-1); }
.ablage svg { color: var(--kobalt); }
.knopf { border-radius: 4px; font-weight: 600; background: var(--kobalt); }
.knopf.leise { background: var(--flaeche-1); border-color: var(--linie); }
.ablage .vorlage-satz { display: block; margin-top: 6px; color: var(--text-1); }
.ablage .knoepfe { max-width: 330px; }
.ablage .vorlage-knopf { flex: 1 1 100%; border-style: dashed; border-color: var(--kobalt); }
@media (max-width: 720px) { .ablage .knoepfe { max-width: none; } .ablage .vorlage-knopf { flex: 0 1 auto; } }
.w-hinweis { margin: -16px 0 20px; font-size: 14px; color: var(--text-2); max-width: 110ch; }

/* ---------- Abschnitte, Karten, Bedienung ---------- */
.abschnitt { margin-top: 60px; }
.abschnitt.w-erst { margin-top: 18px; }
.abschnitt > h2, .w-tafel-kopf h2 { font-family: var(--schrift); font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 8px; }
.abschnitt > p.unter, .w-tafel-kopf p.unter { max-width: 74ch; margin: 0 0 16px; color: var(--text-2); }
.gitter { gap: 14px; }
.karte { border-radius: 4px; padding: 20px 20px 16px; box-shadow: var(--schatten); border-color: var(--linie); }
.karte-kopf h2 { font-family: var(--schrift); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.karte-kopf .tabelle-knopf { border-radius: 4px; min-height: 36px; }
.einsicht b { font-weight: 700; }
.tipp { border-radius: 4px; font-family: var(--schrift); }
.tipp .t-zeile b { font-family: var(--ziffern); font-weight: 500; }
.tabelle-huelle { border-radius: 4px; }
table.daten td.z { font-family: var(--ziffern); }
.dia svg text { font-family: var(--schrift); }

.w-tafel-kopf { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-end; justify-content: space-between; }
.w-steuer { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 16px; }
.wahl { border-radius: 4px; background: var(--flaeche-2); }
.wahl button { border-radius: 3px; min-height: 40px; font-family: var(--schrift); }
.wahl button[aria-pressed="true"] { background: var(--kobalt); color: #fffcf4; box-shadow: none; }
.w-feld { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.w-feld input { min-height: 42px; padding: 0 10px; border-radius: 4px; border: 1px solid var(--linie); background: var(--flaeche-1); color: var(--text-1); font: 500 14px var(--ziffern); }
.w-regler-zeile { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; margin: 0 0 14px; }
.w-regler { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--text-2); max-width: 100%; }
.w-regler input[type="range"] { width: min(260px, 60vw); accent-color: var(--kobalt); min-height: 32px; }
.w-regler output { font: 600 15px var(--ziffern); color: var(--text-1); min-width: 56px; }
.w-haken { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.w-haken input { width: 18px; height: 18px; accent-color: var(--kobalt); }
.w-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Legende mit Steckern */
.w-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.w-leg li { display: inline-flex; align-items: center; gap: 7px; }
.w-leg .w-st { width: 18px; height: 18px; font-size: 10px; }
.w-lf { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }

/* ---------- Plantafel ---------- */
.w-tafel-karte { border-top: 5px solid var(--kobalt); }
.w-tafel-huelle { position: relative; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--linie); border-radius: 3px; background: var(--flaeche-0); }
.w-tafel { display: grid; grid-template-columns: minmax(176px, 1.3fr) repeat(13, minmax(78px, 1fr)); min-width: 1200px; }
.w-tafel > * { min-width: 0; }
.w-tk { position: sticky; top: 0; padding: 8px 6px 7px; background: var(--kobalt); color: #fffcf4; font: 600 12.5px/1.2 var(--schrift); text-align: center; border-left: 1px solid var(--kobalt-tief); }
.w-tk small { display: block; font: 500 11px/1.2 var(--ziffern); color: #dfe5fa; margin-top: 2px; }
.w-tk.ueber { background: var(--rot); border-left: 0; }
.w-tk.ueber small { color: #ffe3dc; }
.w-tk.ecke { text-align: left; border-left: 0; position: sticky; left: 0; z-index: 3; }
.w-tz { position: sticky; left: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 10px; background: var(--flaeche-1); border-top: 1px solid var(--linie); border-right: 2px solid var(--kobalt); font-weight: 700; font-size: 14px; line-height: 1.2; }
.w-tz small { font: 400 12px/1.25 var(--schrift); color: var(--text-3); }
.w-tz.summe { background: var(--flaeche-2); }
.w-zelle {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-height: 92px; padding: 7px 6px 8px;
  border: 0; border-top: 1px solid var(--linie); border-left: 1px solid var(--raster); background: var(--flaeche-1);
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  background-image: radial-gradient(circle, var(--linie) 1.1px, transparent 1.4px); background-size: 12px 12px; background-position: 3px 3px;
}
.w-zelle:hover { background-color: var(--kobalt-hell); }
.w-zelle[aria-pressed="true"] { box-shadow: inset 0 0 0 2.5px var(--kobalt); background-color: var(--kobalt-hell); z-index: 1; }
.w-zelle.leer { cursor: default; background-image: none; }
.w-zelle.leer:hover { background-color: var(--flaeche-1); }
.w-zelle.ueber { background-color: var(--rot-hell); background-image: none; }
.w-zelle.ueber[aria-pressed="true"] { box-shadow: inset 0 0 0 2.5px var(--rot); }
.w-zelle.ueber.leer { background-color: var(--flaeche-1); }
.w-zelle.summe { background-color: var(--flaeche-2); background-image: none; min-height: 52px; }
.w-zelle.summe.leer { cursor: default; }
.w-zelle.ueberlast .w-zahl::after { content: "voll"; display: block; width: max-content; margin: 4px 0 0; padding: 1px 5px; border: 1.5px solid var(--kobalt-tief); border-radius: 3px; font: 600 10.5px/1.3 var(--schrift); color: var(--kobalt-tief); vertical-align: 2px; letter-spacing: .02em; }
.w-zahl { font: 700 19px/1 var(--ziffern); letter-spacing: -.02em; }
.w-zahl small { font: 500 11px/1 var(--schrift); color: var(--text-3); letter-spacing: 0; margin-left: 4px; }
.w-zelle.ueber .w-zahl { color: var(--rot-text); }
.w-wort { font: 700 12px/1.1 var(--schrift); color: var(--rot-text); }
.w-stecker { display: flex; flex-wrap: wrap; gap: 3px; }
.w-st { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--c, var(--kobalt)); color: #fff; font: 700 8.5px/1 var(--schrift); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .28); flex: none; }
.w-mehr { font: 600 11px/15px var(--ziffern); color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .w-tafel .w-st { animation: w-stecken .35s cubic-bezier(.2,.8,.3,1.3) both; animation-delay: calc(var(--i, 0) * 14ms); }
}
@keyframes w-stecken { from { transform: translateY(-6px) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* Liste unter der Tafel */
.w-detail { margin-top: 14px; }
.w-detail:empty { display: none; }
.w-detail-kopf { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin: 0 0 8px; }
.w-detail-kopf h3 { margin: 0; font-size: 17px; font-weight: 700; }
.w-detail-kopf p { margin: 0; font-size: 14px; color: var(--text-2); }
.w-liste { position: relative; overflow: auto; max-height: 420px; border: 1px solid var(--raster); border-radius: 3px; }
.w-liste table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.w-liste th, .w-liste td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--raster); white-space: nowrap; }
.w-liste th { position: sticky; top: 0; background: var(--flaeche-2); font-weight: 600; color: var(--text-2); z-index: 1; }
.w-liste td.z, .w-liste th.z { text-align: right; font-variant-numeric: tabular-nums; }
.w-liste td .w-st { margin-right: 6px; vertical-align: -3px; }
.w-rot { color: var(--rot-text); font-weight: 700; }
.w-rot::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rot); margin-right: 6px; vertical-align: 1px; }
.w-faellig { color: var(--kobalt-tief); font-weight: 600; }

/* ---------- Touren ---------- */
.w-touren { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.w-tour { background: var(--flaeche-1); border: 1px solid var(--linie); border-radius: 4px; box-shadow: var(--schatten); padding: 0 0 10px; min-width: 0; }
.w-tour-kopf { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 12px 16px 10px; border-bottom: 2px solid var(--kobalt); }
.w-tour.mit-rot .w-tour-kopf { border-bottom-color: var(--rot); }
.w-tour-kopf h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.w-tour-kopf b { font: 700 22px/1 var(--ziffern); }
.w-tour-kopf p { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--text-2); }
.w-tour ul { list-style: none; margin: 0; padding: 4px 16px 0; }
.w-tour li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--raster); font-size: 13.5px; }
.w-tour li:first-child { border-top: 0; }
.w-tour li span.n { overflow-wrap: anywhere; line-height: 1.3; }
.w-tour li span.n small { display: block; color: var(--text-3); font-size: 12px; }
.w-tour li span.d { text-align: right; font-size: 12.5px; white-space: nowrap; }
.w-tour li span.d small { display: block; font-variant-numeric: tabular-nums; color: var(--text-3); font-size: 12px; }
.w-tour .w-st { width: 18px; height: 18px; font-size: 10px; }
.w-tour-mehr { margin: 6px 16px 0; font-size: 13px; color: var(--text-2); }

/* ---------- Balkenlisten (Geld, Verluste, Kandidaten, Tausch) ---------- */
.w-bl { display: grid; }
.w-bz { display: grid; grid-template-columns: minmax(0, var(--nb, 220px)) minmax(60px, 1fr) minmax(var(--wb, 110px), auto); gap: 4px 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--raster); }
.w-bz:first-child { border-top: 0; }
.w-bn { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; display: flex; gap: 8px; align-items: flex-start; }
.w-bn > span { min-width: 0; }
.w-bn small { display: block; font-size: 12px; color: var(--text-3); }
.w-bn .w-st { margin-top: 1px; }
.w-spuren { position: relative; display: grid; gap: 4px; min-width: 0; border-left: 1px solid var(--linie); padding: 2px 0; }
.w-spur { position: relative; height: 14px; }
.w-spur i { position: absolute; left: 0; top: 0; height: 100%; border-radius: 0 2px 2px 0; transform-origin: 0 50%; animation: w-wachsen .7s cubic-bezier(.2,.7,.2,1) both; }
.w-spur i.preis { background: var(--kobalt); }
.w-spur i.arbeit { background: #8ea0e3; }
.w-spur i.material { background: #c9d2f3; border-radius: 0 2px 2px 0; }
.w-spur i.kosten { background: var(--kobalt-tief); }
.w-spur i.mitte { border-radius: 0; }
.w-spur .w-marke-strich { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; background: var(--text-1); border-radius: 1px; }
.w-bw { font: 500 13.5px/1.3 var(--ziffern); text-align: right; white-space: nowrap; }
.w-bw small { display: block; font: 400 12px/1.3 var(--schrift); color: var(--text-3); white-space: normal; }
.w-bw .minus, .w-bw .plus { font-weight: 700; }
.w-tag { display: inline-block; margin-top: 3px; padding: 1px 6px; border: 1.5px solid var(--text-1); border-radius: 3px; font: 700 11px/1.35 var(--schrift); letter-spacing: .02em; color: var(--text-1); }
.w-tag.gut { border-color: var(--gut-text); color: var(--gut-text); }
.w-leer { margin: 6px 0; font-size: 14px; color: var(--text-3); }
@keyframes w-wachsen { from { transform: scaleX(0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .w-spur i { animation: none; } }
@media (max-width: 680px) {
  .w-bz { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .w-bw { text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; white-space: normal; }
  .w-bw small { display: inline; }
  .w-tag { margin-top: 0; }
}

/* ---------- Altersgitter ---------- */
.w-ag { display: grid; grid-template-columns: minmax(110px, auto) repeat(var(--sp, 5), minmax(0, 1fr)); gap: 3px; font-size: 13px; }
.w-ag > div { min-width: 0; }
.w-ag .k { font-size: 12px; color: var(--text-3); text-align: center; padding: 0 2px 4px; line-height: 1.2; }
.w-ag .z { display: flex; align-items: center; gap: 7px; padding-right: 6px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.2; }
.w-ag .c { display: grid; place-items: center; min-height: 34px; border-radius: 3px; font: 600 13px var(--ziffern); }
.w-ag .c.hell { color: var(--text-1); }
.w-ag .c.dunkel { color: #fff; }
.w-ag .c.null { color: var(--text-3); background: var(--flaeche-0); }
@media (max-width: 520px) { .w-ag { grid-template-columns: minmax(84px, auto) repeat(var(--sp, 5), minmax(0, 1fr)); font-size: 12px; } .w-ag .z .w-st { display: none; } }

/* ---------- Auslastung ---------- */
.w-last { position: relative; overflow-x: auto; overscroll-behavior-x: contain; }
.w-lt { display: grid; grid-template-columns: minmax(120px, 160px) repeat(12, minmax(46px, 1fr)); min-width: 820px; column-gap: 4px; }
.w-lt > * { min-width: 0; }
.w-lt .n { position: sticky; left: 0; z-index: 2; background: var(--flaeche-1); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 10px 6px 0; font-weight: 700; font-size: 14px; line-height: 1.2; border-bottom: 1px solid var(--linie); }
.w-lt .n small { font: 400 12px/1.3 var(--schrift); color: var(--text-3); }
.w-lt .s { position: relative; height: 112px; border-bottom: 1px solid var(--linie); }
.w-lt .s .b { position: absolute; left: 12%; right: 12%; bottom: 0; background: var(--kobalt); border-radius: 2px 2px 0 0; transform-origin: 50% 100%; animation: w-hoch .7s cubic-bezier(.2,.7,.2,1) both; }
.w-lt .s .b.ueber { background: repeating-linear-gradient(135deg, var(--kobalt-tief) 0 4px, #4a63cf 4px 8px); }
.w-lt .s .b.weg { background: none; border: 1.5px dashed var(--kobalt); border-bottom: 0; animation: none; }
.w-lt .s .kap { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--text-1); pointer-events: none; }
.w-lt .s .w { position: absolute; left: 0; right: 0; text-align: center; font: 600 11px/1 var(--ziffern); color: var(--text-2); }
.w-lt .s .w.voll { color: var(--kobalt-tief); font-weight: 700; }
.w-lt .m { padding: 6px 0 14px; text-align: center; font-size: 12px; color: var(--text-3); line-height: 1.2; }
.w-lt .m.leer { padding: 0; }
.w-lt .t { position: absolute; inset: 0; cursor: crosshair; }
@keyframes w-hoch { from { transform: scaleY(0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .w-lt .s .b { animation: none; } }
.w-last-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.w-last-leg li { display: inline-flex; align-items: center; gap: 7px; }
.w-last-leg i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; background: var(--kobalt); }
.w-last-leg i.ueber { background: repeating-linear-gradient(135deg, var(--kobalt-tief) 0 3px, #4a63cf 3px 6px); }
.w-last-leg i.kap { height: 0; border-top: 2px dashed var(--text-1); border-radius: 0; background: none; }
.w-last-leg i.weg { background: none; border: 1.5px dashed var(--kobalt); }
.w-vorschlag { margin-top: 14px; }
.w-vorschlag:empty { display: none; }
.w-vorschlag h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.w-vorschlag ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.w-vorschlag li { padding: 10px 12px; background: var(--flaeche-0); border: 1px solid var(--linie); border-left: 4px solid var(--kobalt); border-radius: 3px; font-size: 14px; line-height: 1.4; }
.w-vorschlag li b { font-family: var(--ziffern); font-weight: 600; }
.w-vorschlag li small { display: block; color: var(--text-3); font-size: 12.5px; margin-top: 2px; }

/* ---------- Hinweise ---------- */
.w-qual { display: grid; gap: 0; }
.w-q { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 4px 20px; padding: 10px 0; border-top: 1px solid var(--raster); font-size: 14px; }
.w-q:first-child { border-top: 0; }
.w-q b { font-weight: 700; }
.w-q span { color: var(--text-2); }
.w-q b .zahl { font-family: var(--ziffern); margin-right: 6px; }
@media (max-width: 680px) { .w-q { grid-template-columns: 1fr; } }

/* ---------- Fuß ---------- */
.a-fuss { background: var(--kobalt-tief); border-top: 0; color: #dfe5fa; margin-top: 72px; }
.a-fuss a { color: #fffcf4; }
.a-fuss .zeichen-link { color: #dfe5fa; border-radius: 4px; }
.a-fuss .zeichen-link:hover { color: #fff; background: rgb(255 255 255 / .1); }
.a-fuss :focus-visible { outline-color: #fffcf4; }

.a-titel h1, .abschnitt > h2, .karte-kopf h2 { text-wrap: balance; }
.knopf, .tabelle-knopf { white-space: nowrap; }
.knopf:active, .w-zelle:active { transform: translateY(1px); }

/* Handy: schmalere erste Spalte in Tafel und Auslastung, Hinweis zum Verschieben */
.w-wisch { display: none; margin: 0 0 6px; font-size: 12.5px; color: var(--text-3); }
@media (max-width: 720px) {
  .w-wisch { display: block; }
  .w-tafel { grid-template-columns: 116px repeat(13, 76px); min-width: 0; width: max-content; }
  .w-tz { font-size: 13px; padding: 8px 8px; }
  .w-lt { grid-template-columns: 104px repeat(12, 46px); min-width: 0; width: max-content; }
  .w-lt .n { font-size: 13px; }
}

/* Verweis auf „Datei erkennen lassen“ */
.erkennen-satz { display: block; margin-top: 6px; font-size: 14px; color: var(--text-2); }
.erkennen-satz a { color: var(--akzent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
