/* notery-Website im Design der App: Layout „Ruhig“, Farbwelt „notery“, Manrope. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(fonts/manrope.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(fonts/manrope-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrainsmono-normal.woff2) format("woff2"); }

:root {
  --canvas: #f5f2ea;
  --paper: #ffffff;
  --paper-2: #faf8f3;
  --rule: #e5e0d5;
  --rule-soft: #eeeae1;
  --ink: #10201e;
  --ink-soft: #2f4440;
  --ink-muted: #52655f;
  --ink-faint: #6c7c77;
  --accent: #0b7a72;
  --accent-700: #08605a;
  --accent-soft: #d8efec;
  --accent-50: #ecf7f5;
  --accent-ring: rgba(11, 122, 114, .18);
  --on-accent: #ffffff;
  --nora: #0b7a72;
  --nora-50: #ecf6f5;
  --sie: #86198f;
  --sie-50: #f8eef9;
  --on-sie: #ffffff;
  --green: #2e6a46;
  --urgent: #c0261b;
  --word: #1f4e8c;
  --schatten: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 40px -24px rgba(15, 23, 42, .28);

  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --dok: Georgia, "Times New Roman", serif;
  --breite: 1240px;
  --weich: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #0b1220; --paper: #111a2b; --paper-2: #152036; --rule: #1f2b40; --rule-soft: #18233a;
    --ink: #e8eef8; --ink-soft: #bcc8da; --ink-muted: #8e9bb2; --ink-faint: #8a96ad;
    --accent: #2ec4b6; --accent-700: #6fdacf; --accent-soft: rgba(46,196,182,.16); --accent-50: rgba(46,196,182,.10); --accent-ring: rgba(46,196,182,.3); --on-accent: #0b1220;
    --nora: #2ec4b6; --nora-50: rgba(46,196,182,.10); --sie: #e7a3ef; --sie-50: rgba(231,163,239,.10); --on-sie: #1a0b1c; --green: #6fcf97; --urgent: #f87171; --word: #2b5797;
    --schatten: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -24px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #0b1220; --paper: #111a2b; --paper-2: #152036; --rule: #1f2b40; --rule-soft: #18233a;
  --ink: #e8eef8; --ink-soft: #bcc8da; --ink-muted: #8e9bb2; --ink-faint: #8a96ad;
  --accent: #2ec4b6; --accent-700: #6fdacf; --accent-soft: rgba(46,196,182,.16); --accent-50: rgba(46,196,182,.10); --accent-ring: rgba(46,196,182,.3); --on-accent: #0b1220;
  --nora: #2ec4b6; --nora-50: rgba(46,196,182,.10); --sie: #e7a3ef; --sie-50: rgba(231,163,239,.10); --on-sie: #1a0b1c; --green: #6fcf97; --urgent: #f87171; --word: #2b5797;
  --schatten: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -24px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 60; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.logo-dunkel { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-hell { display: none; } :root:not([data-theme="light"]) .logo-dunkel { display: block; } }
:root[data-theme="dark"] .logo-hell { display: none; }
:root[data-theme="dark"] .logo-dunkel { display: block; }
.az { font-family: var(--mono); font-size: .86em; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.rahmen { max-width: var(--breite); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Punkte, Laufanzeige */
.punkt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); flex: none; }
.punkt-nora { background: var(--nora); }
.punkt-sie { background: var(--sie); }
.punkt-gruen { background: var(--green); }
.hops { display: inline-flex; gap: 3px; }
.hops i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: hops 1.1s infinite ease-in-out; }
.hops i:nth-child(2) { animation-delay: .15s; }
.hops i:nth-child(3) { animation-delay: .3s; }
@keyframes hops { 0%, 70%, 100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-4px); opacity: 1; } }
.lauf { display: inline-flex; align-items: center; gap: 8px; color: var(--nora); font-weight: 600; font-size: 13.5px; }

/* Knöpfe wie in der App */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent); font: 650 15.5px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .1s; white-space: nowrap;
}
.knopf:hover { background: var(--accent-700); border-color: var(--accent-700); }
.knopf:active { transform: scale(.97); }
.knopf:disabled { opacity: .6; cursor: progress; }
.knopf-zweit { background: var(--paper); color: var(--ink); border-color: var(--rule); }
.knopf-zweit:hover { background: var(--paper-2); border-color: var(--rule); }
.knopf-klein { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.knopf-mini { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; pointer-events: none; }

/* Kopfzeile wie TopBar */
.kopf { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.kopf-in { max-width: 1440px; margin: 0 auto; height: 56px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 28px; }
.marke img { height: 24px; width: auto; }
.reiter { display: flex; gap: 4px; flex: 1; }
.reiter a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--ink-soft); padding: 7px 10px; border-radius: 8px; transition: color .15s, background .15s; }
.reiter a:hover { color: var(--ink); background: var(--paper-2); }
.reiter a.aktiv { color: var(--ink); font-weight: 700; }

/* Erster Bildschirm */
.start { padding: clamp(40px, 6vw, 80px) 0 0; }
.start-raster { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 750; line-height: 1.02; letter-spacing: -.03em; }
h1 span { display: block; color: var(--accent); }
.nora-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 22px 0 18px; font-size: 14.5px; color: var(--ink-soft); }
.nora-zeile b { color: var(--nora); font-weight: 700; margin-right: 2px; }
.nora-zeile span { color: var(--ink-faint); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-soft); max-width: 36em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.arbeitet-mit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 26px; margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; padding-bottom: 6px; border-top: 1px solid var(--rule); }
.arbeitet-mit > span { font-size: 13px; font-weight: 600; color: var(--ink-faint); }
.arbeitet-mit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.arbeitet-mit li { font-size: 16px; font-weight: 650; color: var(--ink-soft); }

/* App-Fenster */
.app { position: relative; background: var(--canvas); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--schatten); overflow: hidden; }
.app-leiste { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 16px; background: var(--paper); border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; }
.app-leiste img { height: 15px; width: auto; margin-right: 6px; }
.app-leiste b, .app-leiste span.an { color: var(--ink); font-weight: 750; }
.app-leiste em { margin-left: auto; font-style: normal; color: var(--ink-faint); border: 1px solid var(--rule); border-radius: 8px; padding: 5px 10px; font-size: 12px; }
.app-inhalt { padding: 18px 20px 20px; }
.krume { font-size: 12.5px; color: var(--ink-muted); }
.krume .az { color: var(--ink); background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.akte-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 4px; }
.akte-kopf h2 { font-size: 22px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.status-zeile { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-soft); }
.status-zeile span { color: var(--ink-faint); }
.tabs-mini { display: flex; gap: 16px; margin: 14px 0; padding-bottom: 8px; border-bottom: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; }
.tabs-mini b { color: var(--ink); font-weight: 750; }
.zahl { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font: 700 10.5px/1 var(--font); font-style: normal; margin-left: 3px; vertical-align: 1px; }
.karte { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; }
.karte-kopf { display: flex; align-items: baseline; gap: 8px; padding: 14px 18px 10px; }
.karte-kopf b { font-size: 15.5px; font-weight: 700; }
.karte-kopf span { font-size: 13px; color: var(--ink-faint); }

/* Erster Bildschirm: Als Nächstes */
.lz-liste { list-style: none; margin: 0; padding: 0 18px; }
.lz-liste li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule-soft); min-height: 52px; }
.lz-liste b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.lz-liste small { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; transition: opacity .3s; }
.kreis { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--green); background: var(--green); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.kreis svg { width: 16px; height: 16px; }
.kreis path { fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 0; transition: stroke-dashoffset .4s var(--weich) .1s; }
.laufzettel.laeuft .lz-liste li:not(.ab) .kreis { background: transparent; border-color: var(--rule); }
.laufzettel.laeuft .lz-liste li:not(.ab) .kreis path { stroke-dashoffset: 16; }
.laufzettel.laeuft .lz-liste li:not(.ab) small { opacity: .35; }
.lz-lauf { padding: 4px 18px 14px; display: flex; }
.freigabe { margin: 4px 14px 14px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--sie) 55%, var(--rule)); background: var(--sie-50); display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: opacity .4s var(--weich), transform .4s var(--weich); }
.freigabe b { display: block; font-size: 14.5px; color: var(--sie); }
.freigabe small { display: block; font-size: 12.5px; color: var(--ink-soft); }
.laufzettel .freigabe.weg { opacity: 0; transform: translateY(8px); }
.nochmal-link { position: absolute; right: 12px; top: 8px; z-index: 2; background: var(--paper); border: 0; color: var(--ink-muted); font: 500 12px/1 var(--font); cursor: pointer; padding: 8px 6px; display: none; }
.laufzettel.gezeichnet .nochmal-link { display: block; }
.nochmal-link:hover { color: var(--accent); }

/* Abschnitte */
.abschnitt { padding: clamp(72px, 9vw, 120px) 0 0; }
.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: 28px; }
.abschnitt h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 750; letter-spacing: -.025em; line-height: 1.08; }
.zwei { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.zwei h2 { margin-bottom: 18px; }
.text { color: var(--ink-muted); margin-top: 14px; max-width: 36em; }
.zwei .knopf { margin-top: 24px; }

/* Listen wie DataRow */
.liste { overflow: hidden; }
.liste-kopf { display: grid; grid-template-columns: 210px minmax(0, 1fr) 90px; gap: 16px; padding: 10px 22px; background: var(--paper-2); border-bottom: 1px solid var(--rule); font-size: 12.5px; font-weight: 600; color: var(--ink-muted); }
.aufbau .liste-kopf, .aufbau .zeile-link, .ds-liste .zeile-link { grid-template-columns: 170px minmax(0, 1fr); }
.zeile-link { display: grid; grid-template-columns: 210px minmax(0, 1fr) 90px; gap: 16px; align-items: baseline; padding: 15px 22px; border-bottom: 1px solid var(--rule-soft); text-decoration: none; min-height: 58px; transition: background .15s; }
.zeile-link:last-child { border-bottom: 0; }
.zeile-link b { font-size: 15.5px; font-weight: 700; }
.zeile-link > span { color: var(--ink-soft); font-size: 15px; }
.zeile-link em { font-style: normal; font-size: 13.5px; font-weight: 650; color: var(--accent); text-align: right; white-space: nowrap; }
a.zeile-link:hover { background: var(--accent-50); }
.zeile-link.still em { color: var(--ink-faint); font-weight: 500; }
.zeile-link.hervor b { color: var(--nora); }

/* Abläufe: Tabs wie im Vorgang */
.register { display: flex; gap: 22px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.register::-webkit-scrollbar { display: none; }
.register button { flex: none; position: relative; border: 0; background: none; padding: 10px 0 12px; font: 500 15.5px/1.2 var(--font); color: var(--ink-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.register button .nr { display: none; }
.register button .hk { width: 15px; height: 15px; color: var(--green); display: none; }
.register button.gesehen .hk { display: inline-block; }
.register button:hover { color: var(--ink); }
.register button[aria-selected="true"] { color: var(--ink); font-weight: 750; }
.register button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.app-gross .app-leiste span[data-nav].an { color: var(--ink); font-weight: 750; }
.buehne { position: relative; height: 580px; overflow: hidden; }
.buehne-fuss { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; margin-top: 18px; align-items: start; }
.fuss-l { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.buehne-fuss p:not(.fuss-l) { font-size: 15px; color: var(--ink-soft); }
.fuss-aktion { display: grid; gap: 8px; justify-items: end; }
.beispiel { font-size: 12px; color: var(--ink-faint); }

/* Szenen */
.sz { position: absolute; inset: 0; padding: 20px; display: grid; gap: 16px; font-size: 14px; line-height: 1.45; }
.sz [data-s] { opacity: 0; transform: translateY(6px); transition: opacity .45s var(--weich), transform .45s var(--weich); }
.sz [data-s].an { opacity: 1; transform: none; }
.sz.sofort, .sz.sofort * { transition: none !important; }
.fenster { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.fenster-kopf { display: flex; align-items: center; gap: 10px; padding: 13px 16px 10px; font-size: 13px; color: var(--ink-faint); }
.fenster-kopf .pkt { display: none; }
.fenster-kopf b { color: var(--ink); font-size: 15px; font-weight: 700; }
.fenster-kopf .rechts { margin-left: auto; }
.fenster-inhalt { padding: 0 16px 14px; flex: 1; min-height: 0; overflow: hidden; }
.feld-l { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); }
.feld-w { font-weight: 500; color: var(--ink); }
.zeile { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule-soft); align-items: baseline; }
.marke-ok { color: var(--green); font-weight: 650; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); }
.chip-gruen { color: var(--green); }
.chip-gruen::before { background: var(--green); }
.chip-warn { color: var(--sie); }
.chip-warn::before { background: var(--sie); }
.mini { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; font: 650 13px/1 var(--font); border: 1px solid var(--rule); background: var(--paper); color: var(--ink); transition: transform .1s, background .15s; }
.mini.voll { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.mini.gedrueckt { transform: scale(.95); background: var(--accent-700); border-color: var(--accent-700); color: var(--on-accent); }
.nora-z { width: 20px; height: 20px; border-radius: 6px; background: var(--nora); color: #fff; display: inline-grid; place-items: center; font: 800 11px/1 var(--font); flex: none; }
.zeiger { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 6; pointer-events: none; transition: transform .8s var(--weich), opacity .3s; opacity: 0; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.zeiger.sicht { opacity: 1; }
.zeiger.klick::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent); animation: klick .5s ease-out; }
@keyframes klick { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Abschlussmeldung wie ein Hinweis der App */
.sz .stempel { position: absolute; left: auto !important; top: auto !important; right: 18px !important; bottom: 18px !important; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 12px 30px -12px rgba(15,23,42,.35); font-size: 14px; transform: none; }
.sz .stempel::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.sz .stempel b { font-weight: 700; }
.sz .stempel span { color: var(--ink-muted); }
.stempel.weg { opacity: 0; pointer-events: none; }
.sz .stempel.weg { transform: translateY(10px); }
.stempel.drueck { animation: melden .45s var(--weich) both; }
@keyframes melden { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Szene 1 */
.s1 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.ablage { border: 1.5px dashed var(--rule); border-radius: 12px; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--ink-muted); background: var(--paper); transition: border-color .3s, background .3s; }
.ablage.heiss { border-color: var(--accent); background: var(--accent-50); }
.ablage p { max-width: 16em; font-size: 14px; }
.ablage b { color: var(--ink); }
.datei { position: absolute; left: 34px; top: 34px; width: 210px; padding: 12px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 26px -14px rgba(15,23,42,.4); display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; z-index: 4; transition: transform 1s var(--weich), opacity .4s; font-size: 12.5px; color: var(--ink-muted); }
.datei .pdf { width: 28px; height: 34px; border-radius: 4px; background: var(--urgent); position: relative; }
.datei .pdf::after { content: "PDF"; position: absolute; inset: auto 0 6px; text-align: center; color: #fff; font: 800 8px/1 var(--font); }
.datei b { display: block; font-weight: 650; color: var(--ink); word-break: break-word; }

/* Szene 2 */
.s2 { grid-template-columns: minmax(0, 1fr) 260px; }
.wb-flaeche { position: relative; min-height: 420px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; }
.wb-flaeche svg.linien { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wb-flaeche svg.linien path { fill: none; stroke: var(--rule); stroke-width: 1.5; stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset .8s var(--weich); }
.wb-flaeche svg.linien path.an { stroke-dashoffset: 0; stroke: var(--ink-faint); }
.knoten { position: absolute; width: 160px; transform: translateX(-50%); margin-top: 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; z-index: 2; }
.knoten b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.knoten .unter { color: var(--ink-muted); display: flex; justify-content: space-between; gap: 6px; margin-top: 3px; align-items: center; }
.knoten .unter .chip::before { display: none; }
.knoten .ant { font-family: var(--mono); font-size: 12px; color: var(--ink); }
.knoten .durch { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--nora); }
.knoten.wb { border-color: var(--nora); box-shadow: 0 0 0 1px var(--nora); }
.rechte-spalte { display: grid; gap: 12px; align-content: start; }
.anfrage, .ergebnis { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 14px; }
.anfrage { border-color: color-mix(in srgb, var(--nora) 40%, var(--rule)); background: var(--nora-50); }
.anfrage p { margin: 6px 0 10px; color: var(--ink-soft); font-size: 13.5px; }
.ergebnis ol { margin: 6px 0 0; padding-left: 18px; }
.ergebnis li { margin: 3px 0; }

/* Szene 3: Word */
.s3 { grid-template-columns: minmax(0, 1fr) 240px; padding: 0; gap: 0; }
.word { display: flex; flex-direction: column; min-width: 0; background: #e8ebef; }
.word-band { background: var(--word); color: #fff; padding: 8px 14px; font-size: 12.5px; display: flex; gap: 14px; align-items: center; }
.word-band b { font-weight: 650; }
.word-band span { opacity: .75; }
.word-seite-rahmen { flex: 1; overflow: hidden; padding: 18px 22px 0; }
.word-seite { background: #fff; color: #111; max-width: 600px; margin: 0 auto; padding: 30px 42px 40px; min-height: 100%; box-shadow: 0 1px 3px rgba(0,0,0,.15); font: 400 13.5px/1.58 var(--dok); }
.word-seite h4 { font: 700 16px/1.3 var(--dok); text-align: center; margin: 0 0 4px; }
.word-seite .zentriert { text-align: center; margin-bottom: 12px; color: #333; }
.word-seite p { margin: 0 0 8px; }
.ph { font-family: var(--mono); font-size: 11.5px; background: #d8efec; color: #08605a; border-radius: 4px; padding: 1px 4px; white-space: nowrap; transition: background .4s, color .4s; }
.ph.wert { padding: 0 2px; font: inherit; background: #e9f5ef; color: inherit; white-space: normal; }
.ph.fertig { background: transparent; padding: 0; }
.addin { border-left: 1px solid var(--rule); background: var(--paper); display: flex; flex-direction: column; min-width: 0; }
.addin-kopf { padding: 12px 14px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: 8px; }
.addin-kopf img { height: 15px; width: auto; }
.addin-inhalt { padding: 14px; display: grid; gap: 12px; align-content: start; font-size: 13px; }
.zaehler { font-size: 40px; font-weight: 750; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.zaehler small { font-size: 16px; color: var(--ink-faint); font-weight: 600; }
.balken { height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.balken i { display: block; height: 100%; width: 0; background: var(--nora); transition: width .4s var(--weich); }

/* Szene 4: Outlook */
.s4 { padding: 0; gap: 0; grid-template-columns: 200px minmax(0, 1fr) 250px; background: var(--paper); }
.ol-liste { background: var(--paper-2); border-right: 1px solid var(--rule); font-size: 12.5px; }
.ol-liste .ol-k { padding: 12px 12px 8px; font-weight: 700; color: var(--ink); }
.ol-mail { padding: 10px 12px; border-bottom: 1px solid var(--rule-soft); color: var(--ink-muted); }
.ol-mail b { display: block; color: var(--ink); font-weight: 650; }
.ol-mail.aktiv { background: var(--paper); }
.ol-mail.aktiv b { color: var(--accent); }
.ol-lesen { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ol-lesen h5 { font: 700 17px/1.3 var(--font); margin: 0; }
.ol-von { font-size: 12.5px; color: var(--ink-muted); }
.ol-text { color: var(--ink-soft); font-size: 13.5px; }
.anhang { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--rule); border-radius: 8px; padding: 6px 10px; font-size: 12.5px; width: max-content; max-width: 100%; }
.anhang .pdf { width: 12px; height: 15px; border-radius: 2px; background: var(--urgent); }
.antwort { margin-top: auto; border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; font-size: 13px; min-height: 120px; color: var(--ink); white-space: pre-wrap; }
.antwort .cursor { display: inline-block; width: 1.5px; height: 1em; background: var(--ink); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ol-addin { border-left: 1px solid var(--rule); background: var(--paper); display: flex; flex-direction: column; }

/* Szene 5 */
.s5 { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.satzung { font: 400 13.5px/1.6 var(--dok); color: var(--ink); }
.satzung h6 { font: 700 13.5px/1.3 var(--dok); margin: 10px 0 4px; }
.satzung p { margin: 0 0 7px; }
.mark { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--nora) 24%, transparent) 55%); background-size: 0% 100%; background-repeat: no-repeat; transition: background-size .9s var(--weich); }
.mark.an { background-size: 100% 100%; }
.randvermerke { display: grid; gap: 10px; align-content: start; }
.vermerk { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }
.vermerk.frage { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.vermerk .fund { display: block; margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--nora); }
.vorschlag { background: var(--sie-50); border: 1.5px solid color-mix(in srgb, var(--sie) 50%, var(--rule)); border-radius: 10px; padding: 12px; }
.vorschlag p { margin-bottom: 10px; font-size: 13.5px; }
.vorschlag > p:first-child b { color: var(--sie); }

/* Szene 6 */
.s6 { grid-template-columns: 300px minmax(0, 1fr); }
.s6 .zeile { grid-template-columns: 96px minmax(0, 1fr); }
.kosten-tab { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.kosten-tab th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-muted); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--rule); }
.kosten-tab td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: baseline; }
.kosten-tab td.b, .kosten-tab th.b { text-align: right; padding-right: 0; font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kosten-tab td.mono { font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.kosten-tab tr.summe td { border-top: 1px solid var(--ink-faint); font-weight: 700; }
.kosten-tab tr.gesamt td { font-size: 16px; font-weight: 750; border-bottom: 0; }
.kosten-tab tr.gesamt td.b { font-size: 14px; }

/* Szene 7 */
.s7 { grid-template-columns: minmax(0, 1fr) 280px; }
.zeitstrahl { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.zeitstrahl li { display: grid; grid-template-columns: 10px 50px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--rule-soft); font-size: 13.5px; }
.zeitstrahl li:last-child { border-bottom: 0; }
.zeitstrahl li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sie); }
.zeitstrahl li.erl::before { background: var(--green); }
.zeitstrahl .d { font-family: var(--mono); font-size: 12.5px; color: var(--ink-muted); }
.wv { font-size: 12px; font-weight: 650; color: var(--sie); white-space: nowrap; }

/* Nora-Regeln */
.regeln { padding: 6px 0; }
.regel { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--rule-soft); }
.regel:last-child { border-bottom: 0; }
.regel-nr { width: 28px; height: 28px; border-radius: 8px; background: var(--nora-50); color: var(--nora); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.regel b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.regel p { color: var(--ink-soft); font-size: 15px; }

/* Datenschutz */
.segment { display: inline-flex; gap: 2px; padding: 3px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 11px; margin-bottom: 16px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segment::-webkit-scrollbar { display: none; }
.segment button { flex: none; border: 1px solid transparent; background: transparent; color: var(--ink-soft); font: 600 14.5px/1 var(--font); padding: 10px 14px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.segment button small { font-size: 12px; font-weight: 600; color: var(--ink-faint); }
.segment button[aria-selected="true"] { background: var(--paper); color: var(--accent); box-shadow: 0 1px 2px rgba(15,23,42,.08); border-color: var(--rule); }
.ds-karte { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); overflow: hidden; }
.ds-bild { padding: 24px; border-right: 1px solid var(--rule); min-width: 0; }
.ds-svg { width: 100%; height: auto; display: block; }
.ds-svg text { font: 500 14px var(--font); fill: var(--ink); }
.ds-svg .haus { fill: var(--paper-2); stroke: var(--rule); stroke-width: 1.5; }
.ds-svg .haus-t { font: 750 17px var(--font); }
.ds-svg .srv { fill: var(--paper); stroke: var(--rule); stroke-width: 1.5; }
.ds-svg .srv-an { stroke: var(--nora); stroke-dasharray: 5 4; }
.ds-svg .srv-b { font: 700 14.5px var(--font); }
.ds-svg .klein { font: 500 12.5px var(--font); fill: var(--ink-muted); }
.ds-svg .tor { fill: var(--nora); }
.ds-svg .tor-t { font: 700 14px var(--font); fill: var(--paper); }
.ds-svg .aussen { fill: var(--paper); stroke: var(--ink-faint); stroke-width: 1.5; }
.ds-svg .draht { stroke: var(--nora); stroke-width: 2; fill: none; stroke-dasharray: 5 5; }
.ds-svg .draht.lebt { animation: fliess 1s linear infinite; }
.ds-svg .nein { stroke: var(--urgent); stroke-width: 3; stroke-linecap: round; }
.ds-svg g, .ds-svg path { transition: opacity .4s; }
@keyframes fliess { to { stroke-dashoffset: -20; } }
.schwaerzung { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 10px; font-size: 15px; line-height: 1.8; }
.sw-l { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-muted); margin-bottom: 4px; line-height: 1.4; }
.sw { position: relative; }
.sw::after { content: ""; position: absolute; left: -2px; right: -2px; top: 3px; bottom: 2px; background: var(--ink); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--weich); }
.sw.schwarz::after { transform: scaleX(1); }
.sw.ersetzt { font-family: var(--mono); font-size: 13px; color: var(--nora); background: var(--nora-50); padding: 1px 5px; border-radius: 4px; }
.ds-text { padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ds-status { display: none; }
.ds-text h3 { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.ds-text p { color: var(--ink-soft); }
.ds-punkte { list-style: none; margin: 6px 0 0; padding: 0; }
.ds-punkte li { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--rule-soft); font-size: 15px; }
.ds-punkte li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; transform: translateY(-2px); }
.ds-liste { margin-top: 16px; }

/* Formular */
.formular { position: relative; padding: 22px; display: grid; gap: 16px; }
.feld { border: 0; margin: 0; padding: 0; display: grid; gap: 7px; min-width: 0; }
.feld label, .feld legend { font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 0; }
.feld legend { margin-bottom: 7px; }
.leise { color: var(--ink-faint); font-weight: 500; }
.feld input:not([type="radio"]), .feld textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 15.5px/1.4 var(--font); outline: none; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.feld input::placeholder, .feld textarea::placeholder { color: var(--ink-faint); }
.feld input:focus, .feld textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.feld input[aria-invalid="true"] { border-color: var(--urgent); }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--rule); border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); cursor: pointer; }
.wahl label:has(input:checked) { border-color: var(--accent); background: var(--accent-50); color: var(--accent); font-weight: 650; }
.wahl input { accent-color: var(--accent); margin: 0; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.meldung { font-size: 14.5px; color: var(--ink-soft); }
.meldung.fehler { color: var(--urgent); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.bestaetigt { position: absolute; right: 18px; top: 18px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 30px -12px rgba(15,23,42,.3); font-size: 14px; }
.bestaetigt span { color: var(--ink-muted); }

/* Fuß */
.fuss { margin-top: clamp(80px, 10vw, 130px); background: var(--paper); border-top: 1px solid var(--rule); padding: 40px 0 calc(36px + env(safe-area-inset-bottom, 0px)); }
.fuss-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; }
.fuss img { height: 22px; width: auto; margin-bottom: 10px; }
.fuss p { color: var(--ink-muted); font-size: 14.5px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.fuss nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 14.5px; }
.fuss nav a:hover { color: var(--accent); }
.fuss .fuss-klein { grid-column: 1 / -1; font-size: 13px; color: var(--ink-faint); border-top: 1px solid var(--rule-soft); padding-top: 18px; }

/* Anpassung */
@media (max-width: 1000px) {
  .start-raster, .abschnitt-kopf, .zwei { grid-template-columns: minmax(0, 1fr); }
  .ds-karte { grid-template-columns: minmax(0, 1fr); }
  .ds-bild { border-right: 0; border-bottom: 1px solid var(--rule); }
  .buehne-fuss { grid-template-columns: minmax(0, 1fr); }
  .fuss-aktion { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: start; gap: 14px; }
}
@media (max-width: 760px) {
  .reiter { display: none; }
  .kopf-in { justify-content: space-between; }
  .weg-schmal { display: none; }
  .liste-kopf { display: none; }
  .zeile-link, .aufbau .zeile-link, .ds-liste .zeile-link { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 14px 18px; }
  .zeile-link em { text-align: left; }
  .buehne { height: auto; min-height: 520px; }
  .sz { position: relative; inset: auto; padding: 14px; }
  .s1, .s2, .s5, .s6, .s7 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: min-content; }
  .s2 .rechte-spalte { order: -1; }
  .s3, .s4 { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .s3 .addin, .s4 .ol-liste { display: none; }
  .s4 .ol-addin { border-left: 0; border-top: 1px solid var(--rule); }
  .word-seite-rahmen { max-height: 520px; padding: 12px 10px 0; }
  .word-seite { padding: 22px 18px; }
  .ablage { min-height: 120px; }
  .s6 .fenster-inhalt { overflow-x: auto; }
  .zeitstrahl li { grid-template-columns: 10px 46px minmax(0, 1fr); }
  .zeitstrahl li .wv { grid-column: 3; }
  .sz .stempel { position: relative; right: auto !important; bottom: auto !important; margin-top: 4px; }
  .sz .stempel.weg { display: none; }
  .knoten { width: auto; margin-top: 10px; }
  .regel { padding: 14px 16px; }
  .fuss-in { grid-template-columns: minmax(0, 1fr); }
  .bestaetigt { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
h1 { font-size: clamp(40px, 4.7vw, 66px); }
.nochmal-link { position: static; margin: -4px 20px 14px auto; background: none; }
@media (min-width: 761px) { .s1 { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); } }

/* Heute (Startbereich) */
.heute .karte + .karte { margin-top: 12px; }
.nacht .kreis { background: var(--nora); border-color: var(--nora); }
.nora-wer { color: var(--nora); font-weight: 700; }
.heute .status-zeile { min-height: 24px; margin-bottom: 14px; }
.hz-fakten { color: var(--ink-soft) !important; transition: opacity .4s; }
.hz-fakten span { color: var(--ink-faint); }
.heute.laeuft:not(.zusammengefasst) .hz-fakten { display: none; }
.heute.zusammengefasst .lauf, .heute:not(.laeuft) .lauf { display: none; }
.zahl-sie { background: var(--sie); color: var(--on-sie); transition: transform .25s var(--weich); }
.zahl-sie.hupf { transform: scale(1.25); }
.wartet-liste { list-style: none; margin: 0; padding: 0 18px 4px; }
.wartet-liste li { border-top: 1px solid var(--rule-soft); transition: opacity .45s var(--weich), transform .45s var(--weich); }
.wartet-liste a { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; min-height: 52px; text-decoration: none; }
.wartet-liste b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.wartet-liste small { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.wartet-liste em { font-style: normal; font-size: 13px; font-weight: 650; color: var(--accent); }
.wartet-liste a:hover b { color: var(--accent); }
.heute.laeuft .wartet-liste li.weg { opacity: 0; transform: translateY(6px); }

/* Statusleiste der Bühne: wer ist am Zug */
.app-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; min-height: 58px; padding: 10px 16px; background: var(--paper); border-top: 1px solid var(--rule); font-size: 14px; transition: background .3s; }
.as-zustand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; color: var(--ink-soft); }
.as-zustand b { color: var(--ink); font-weight: 700; }
.app-status.am-zug { background: var(--sie-50); }
.app-status.am-zug .as-zustand b { color: var(--sie); }
.as-bilanz { font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
.as-bilanz b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.as-bilanz .n { color: var(--nora); } .as-bilanz .s { color: var(--sie); }
.knopf-sie { background: var(--sie); border-color: var(--sie); color: var(--on-sie); height: 36px; font-size: 14px; }
.knopf-sie:hover { background: color-mix(in srgb, var(--sie) 85%, var(--ink)); border-color: color-mix(in srgb, var(--sie) 85%, var(--ink)); }
button.mini { cursor: pointer; }
.mini.ihr-zug { background: var(--sie); border-color: var(--sie); color: var(--on-sie); animation: ihrzug 1.6s ease-in-out infinite; }
@keyframes ihrzug { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sie) 45%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--sie) 0%, transparent); } }
.app-status.fertig .as-zustand b { color: var(--green); }

/* Selbst ausprobieren */
.probe { margin-top: 16px; padding: 22px; }
.probe-kopf { display: grid; gap: 4px; margin-bottom: 16px; }
.probe-kopf h3 { font-size: 17px; font-weight: 700; }
.probe-kopf p { color: var(--ink-soft); font-size: 15px; max-width: 46em; }
.probe-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .7fr); gap: 16px; }
.probe-feld { display: grid; gap: 6px; align-content: start; min-width: 0; }
.probe textarea { width: 100%; min-height: 168px; resize: vertical; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; font: 400 15px/1.7 var(--font); color: var(--ink); background: var(--paper); }
.probe textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.probe-aus { min-height: 168px; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; background: var(--paper-2); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.probe-aus .ph-t, .probe-schl code { font-family: var(--mono); font-size: 12.5px; color: var(--nora); background: var(--nora-50); padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
.probe-aus .ph-t { animation: phNeu .4s var(--weich); }
@keyframes phNeu { from { opacity: 0; } to { opacity: 1; } }
.probe-schl { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule); border-radius: 10px; min-height: 168px; }
.probe-schl li { display: grid; gap: 2px; padding: 8px 12px; border-top: 1px solid var(--rule-soft); font-size: 13.5px; overflow-wrap: anywhere; }
.probe-schl li:first-child { border-top: 0; }
.probe-schl code { justify-self: start; }
.probe-schl .leer { color: var(--ink-faint); }
.probe-hinweis { margin-top: 12px; font-size: 13px; color: var(--ink-muted); }
@media (max-width: 1000px) { .probe-raster { grid-template-columns: minmax(0, 1fr); } .probe-aus, .probe-schl { min-height: 0; } }
@media (max-width: 760px) { .probe { padding: 16px; } .as-bilanz { white-space: normal; } }

/* Kapitel und Abläufe */
.kapitel { margin-bottom: 14px; }
.register .kz { font-size: 12px; font-weight: 650; color: var(--ink-faint); background: var(--paper-2); border-radius: 9px; padding: 2px 7px; }
.register button[aria-selected="true"] .kz { color: var(--ink); }
.register button.gesehen .kz { display: none; }
.ablauf-wahl { display: flex; width: max-content; }
.ablauf-wahl button .hk { display: none; width: 14px; height: 14px; color: var(--green); }
.ablauf-wahl button.gesehen .hk { display: inline-block; }

/* Neue Abläufe */
.sz-zw { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sz-1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.beh-zeile { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule-soft); align-items: baseline; }
.beh-zeile b { font-weight: 600; }
.beh-zeile small { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.suchfeld { position: relative; min-height: 46px; border: 1px solid var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); border-radius: 10px; padding: 12px 14px; background: var(--paper); font-size: 15px; }
.suchfeld.klein { min-height: 40px; padding: 9px 12px; font-size: 14px; flex: 1; min-width: 0; }
.suchfeld .platzhalter { color: var(--ink-faint); }
.tipp:empty { display: none; }
.cursor { display: inline-block; width: 1.5px; height: 1.05em; background: var(--accent); vertical-align: -2px; margin-left: 1px; }
.vorschlaege { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 4; list-style: none; margin: 0; padding: 4px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--schatten); }
.vorschlaege li { padding: 9px 10px; border-radius: 7px; font-size: 13.5px; color: var(--ink-soft); }
.vorschlaege li b { color: var(--ink); font-weight: 650; }
.vorschlaege li.an { background: var(--accent-50); }
.nora-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nora-schritte li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.nora-schritte li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--nora) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.haken-zeile { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; padding-top: 12px; }
.haken-zeile b { display: block; font-weight: 650; }
.haken-zeile small { display: block; font-size: 12.5px; color: var(--ink-muted); }
.kasten { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--rule); display: grid; place-items: center; color: transparent; background: var(--paper); margin-top: 1px; }
.kasten svg { width: 13px; height: 13px; }
.kasten.an { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.dok-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.dok-liste li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.diff { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.diff li { display: flex; gap: 8px; padding: 6px 10px; border-radius: 7px; }
.diff li span { font-family: var(--mono); font-weight: 600; }
.diff .plus { background: color-mix(in srgb, var(--green) 10%, transparent); }
.diff .plus span { color: var(--green); }
.diff .minus { background: color-mix(in srgb, var(--urgent) 8%, transparent); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--urgent) 60%, transparent); }
.diff .minus span { color: var(--urgent); text-decoration: none; }
.filter-zeile { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.treffer-liste { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.treffer { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--rule-soft); font-size: 13.5px; transition: opacity .35s, background .2s; }
.treffer:first-child { border-top: 0; }
.treffer span:last-child { color: var(--ink-muted); }
.treffer-liste .mehr { padding: 9px 14px; border-top: 1px solid var(--rule-soft); color: var(--ink-faint); font-size: 13px; }
.treffer-liste.gefiltert .treffer:not(.weber), .treffer-liste.gefiltert .mehr { display: none; }
.treffer.ihr-zug { cursor: pointer; background: var(--sie-50); box-shadow: inset 3px 0 0 var(--sie); }
.treffer.gedrueckt { background: var(--accent-50); box-shadow: none; }
.treffer.aus { opacity: .4; }
.gl { transition: background .3s; }
.gl.an { background: #fff3a8; }
.gl.weg { text-decoration: line-through; color: #b42318; background: transparent; }
.gl-neu { display: none; color: #1a7f37; font-weight: 600; }
.gl-neu.an { display: inline; }
.hinweis-k { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; }
.hinweis-k p { color: var(--ink-soft); }
.hinweis-k small { font-family: var(--mono); font-size: 11.5px; color: var(--nora); }
.hinweis-k.recht { border-color: color-mix(in srgb, var(--nora) 40%, var(--rule)); background: var(--nora-50); }
.auswahl { margin-top: 4px; border: 1px solid var(--rule); border-radius: 9px; padding: 9px 12px; background: var(--paper); }
.zwei-sp { width: 100%; border-collapse: collapse; font: 400 13px/1.5 var(--dok); }
.zwei-sp th { font: 600 12px/1 var(--font); color: var(--ink-muted); text-align: left; padding: 6px 10px 8px; }
.zwei-sp td { vertical-align: top; padding: 9px 10px; border-top: 1px solid var(--rule-soft); width: 50%; }
.zwei-sp td + td { border-left: 1px solid var(--rule-soft); color: var(--ink-soft); }
.zwei-sp tr:last-child td { font-style: italic; color: var(--ink-muted); }
.wahl-reihe { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.wahl-reihe span { border: 1px solid var(--rule); border-radius: 8px; padding: 7px 10px; font-size: 13px; }
.wahl-reihe span.an { border-color: var(--accent); background: var(--accent-50); color: var(--accent); font-weight: 650; }
.seite-klein { background: #fff; color: #111; border: 1px solid var(--rule); border-radius: 4px; padding: 18px 20px; font: 400 12.5px/1.55 var(--dok); display: grid; gap: 12px; }
.vermerk-bg { border-top: 1px solid #ddd; padding-top: 10px; display: grid; gap: 6px; }
.vermerk-bg .sig { font-family: var(--font); font-size: 12px; color: #1a7f37; font-weight: 650; }

/* Geräte */
.geraet-szene { align-items: center; }
.tablet { justify-self: center; width: min(100%, 420px); aspect-ratio: 4 / 3.1; max-height: 100%; padding: 14px; border-radius: 26px; background: #1b2232; box-shadow: var(--schatten); }
.tablet-schirm { height: 100%; border-radius: 12px; background: #fff; color: #10201e; padding: 16px 18px; display: grid; gap: 9px; align-content: start; overflow: hidden; font-size: 13px; position: relative; }
.handy { justify-self: center; width: 250px; height: 500px; max-height: 100%; padding: 10px; border-radius: 38px; background: #1b2232; box-shadow: var(--schatten); }
.handy-schirm { height: 100%; border-radius: 30px; background: #f4f7fb; color: #10201e; padding: 30px 14px 14px; display: grid; gap: 10px; align-content: start; overflow: hidden; font-size: 13px; position: relative; }
.handy-schirm::before { content: ""; position: absolute; top: 10px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #1b2232; }
.tablet-schirm .feld-l, .handy-schirm .feld-l { color: #52655f; }
.mf-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mf-kopf b { font-size: 16px; }
.mf-kopf span { font-size: 11.5px; color: #52655f; }
.mf-schritte { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11.5px; color: #8a96ad; }
.mf-schritte li.an { color: #0b7a72; font-weight: 650; }
.mf-feld { display: grid; gap: 3px; }
.mf-wert { min-height: 34px; border: 1px solid #e5e0d5; border-radius: 8px; padding: 7px 10px; }
.mf-senden { justify-self: start; margin-top: 4px; }
.mf-dank { position: absolute; inset: auto 14px 14px; padding: 10px 12px; border-radius: 10px; background: #ecf6f5; color: #0f766e; font-size: 12.5px; }
.hp-gruss { font-size: 17px; font-weight: 750; }
.hp-karte { background: #fff; border: 1px solid #e5e0d5; border-radius: 14px; padding: 12px; display: grid; gap: 8px; }
.hp-karte small { color: #52655f; font-size: 12px; margin-top: -6px; }
.hp-unterschrift { position: relative; height: 62px; border: 1px dashed #c3ccd9; border-radius: 10px; }
.hp-unterschrift svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hp-unterschrift path { fill: none; stroke: #10201e; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.3s ease-in-out; }
.hp-unterschrift span { position: absolute; left: 10px; bottom: 4px; font-size: 10.5px; color: #8a96ad; }
.hp-karte.zeichnet path, .hp-karte.fertig path { stroke-dashoffset: 0; }
.hp-ok { display: none; color: #2e6a46; font-weight: 650; font-size: 12.5px; }
.hp-karte.fertig .hp-ok { display: block; }
.hp-karte.fertig .mini, .hp-karte.fertig .hp-wege { display: none; }
.hp-karte .mini { justify-self: start; }
.hp-wege { display: grid; gap: 4px; }
.hp-wege span { border: 1px solid #e5e0d5; border-radius: 8px; padding: 6px 9px; font-size: 12px; }
.hp-wege span.an { border-color: #0b7a72; color: #0b7a72; font-weight: 650; background: #ecf7f5; }
@media (max-width: 760px) {
  .sz-zw, .sz-1 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: min-content; }
  .beh-zeile, .treffer { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .handy { height: 470px; }
  .tablet { aspect-ratio: auto; }
  .mf-dank { position: static; }
}
@media (max-width: 760px) {
  .sz.pl .addin { display: flex; border-left: 0; border-top: 1px solid var(--rule); }
  .sz.pl .word-seite-rahmen { max-height: 300px; }
}
.tablet { aspect-ratio: auto; max-height: none; }
.tablet-schirm { height: auto; min-height: 300px; }
.mf-dank { position: static; }
.mf-dank:not(.an) { display: none; }
.sz.sofort .mf-dank.an, .mf-dank.an { display: block; }
.tablet-schirm:has(.mf-dank.an) .mf-senden { display: none; }

/* Unterwegs */
.uw-raster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.uw-text h2 { margin-bottom: 14px; }
.uw-liste { margin-top: 24px; }
.uw-liste .zeile-link { grid-template-columns: 130px minmax(0, 1fr); }
.uw-geraete { position: relative; min-height: 520px; }
.uw-tablet { position: absolute; left: 0; top: 10px; width: min(88%, 560px); padding: 16px; border-radius: 30px; }
.uw-tablet .tablet-schirm { min-height: 380px; gap: 8px; }
.uw-handy { position: absolute; right: 0; bottom: 0; width: 230px; height: 470px; }
.uw-app { font-size: 12.5px; }
.uw-leiste { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #e5e0d5; color: #52655f; }
.uw-leiste img { height: 13px; width: auto; display: block; }
.uw-leiste .logo-dunkel { display: none !important; }
.uw-leiste .logo-hell { display: block !important; }
.uw-uhr { margin-left: auto; font-weight: 650; color: #10201e; }
.uw-krume { font-size: 11px; color: #52655f; }
.uw-titel { font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.uw-status { display: flex; align-items: center; gap: 6px; color: #2f4440; }
.uw-tabs { display: flex; gap: 14px; border-bottom: 1px solid #e5e0d5; color: #52655f; font-size: 12px; }
.uw-tabs b { color: #10201e; border-bottom: 2px solid #10201e; padding-bottom: 5px; }
.uw-karten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.uw-k { border: 1px solid #e5e0d5; border-radius: 10px; padding: 9px 10px; display: grid; gap: 3px; background: #fff; }
.uw-k.breit { grid-column: 1 / -1; background: #ecf6f5; border-color: #b9dcd8; }
.uw-k em { font-style: normal; font-size: 11px; color: #2e6a46; font-weight: 650; margin-left: 4px; }
.uw-gross { font-size: 20px; font-weight: 750; margin-top: 4px; }
.uw-nora { display: flex; align-items: center; gap: 6px; color: #0f766e; font-weight: 600; font-size: 12px; }
.uw-wartet { gap: 0; padding: 10px 12px 4px; }
.uw-wk { display: flex; align-items: center; gap: 6px; padding-bottom: 6px; }
.uw-zeile { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid #eeeae1; }
.uw-zeile b { display: block; font-size: 12.5px; }
.uw-zeile small { display: block; font-size: 11px; color: #52655f; }
.uw-knopf { height: 28px; padding: 0 10px; font-size: 12px; background: #86198f; border-color: #86198f; color: #fff; }
.uw-erl { display: none; color: #2e6a46; font-weight: 700; font-size: 12px; }
.uw-zeile.fertig .uw-knopf { display: none; }
.uw-zeile.fertig .uw-erl { display: inline; }
.uw-zeile.fertig b { color: #52655f; }
.uw-frag { margin-top: auto; border: 1px solid #e5e0d5; border-radius: 20px; padding: 9px 14px; color: #6c7c77; background: #fff; }
.uw-handy .handy-schirm { display: flex; flex-direction: column; }
.uw-finger { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(15, 23, 42, .18); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(0,0,0,.2); left: 60%; top: 80%; opacity: 0; transition: left .9s var(--weich), top .9s var(--weich), opacity .3s, transform .15s; pointer-events: none; }
.uw-finger.sicht { opacity: 1; }
.uw-finger.tipp { transform: scale(.8); }
@media (max-width: 1000px) { .uw-raster { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .uw-geraete { min-height: 0; display: grid; gap: 16px; justify-items: center; }
  .uw-tablet, .uw-handy { position: relative; left: auto; top: auto; right: auto; bottom: auto; }
  .uw-tablet { width: 100%; }
  .uw-karten { grid-template-columns: minmax(0, 1fr); }
  .uw-liste .zeile-link { grid-template-columns: minmax(0, 1fr); }
}

/* Mandanten informiert */
.ereignisse { list-style: none; margin: 0; padding: 0; display: grid; }
.ereignisse li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule-soft); }
.ereignisse li:first-child { border-top: 0; }
.ereignisse b { display: block; font-weight: 600; }
.ereignisse small { display: block; margin-top: 3px; color: var(--ink-muted); font-size: 12.5px; }
.ereignisse .mono { color: var(--ink-muted); font-size: 12.5px; padding-top: 1px; }
.hp-mitteilung { position: absolute; left: 8px; right: 8px; top: 34px; z-index: 3; background: rgba(255,255,255,.96); border: 1px solid #e5e0d5; border-radius: 14px; padding: 9px 11px; box-shadow: 0 10px 24px -10px rgba(15,23,42,.35); font-size: 12px; display: grid; gap: 1px; transform: translateY(-120%); opacity: 0; transition: transform .45s var(--weich), opacity .3s; }
.hp-mitteilung.an { transform: none; opacity: 1; }
.hp-mitteilung span { color: #2f4440; }
.hp-stand { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 0; }
.hp-stand li { position: relative; padding: 0 0 12px 22px; border-left: 2px solid #e5e0d5; margin-left: 6px; }
.hp-stand li:last-child { border-left-color: transparent; }
.hp-stand li::before { content: ""; position: absolute; left: -8px; top: 1px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #c3ccd9; transition: background .3s, border-color .3s; }
.hp-stand li.ok::before { background: #2e6a46; border-color: #2e6a46; }
.hp-stand li.jetzt::before { border-color: #0b7a72; background: #d8efec; }
.hp-stand b { display: block; font-size: 12.5px; }
.hp-stand small { display: block; font-size: 11px; color: #52655f; }
.hp-karte.klein { padding: 9px 11px; gap: 2px; }
.hp-karte.klein small { margin-top: 0; }
.uw-zeile > span:first-child { min-width: 0; }
.uw-zeile .mini.voll.uw-knopf, .uw-zeile .uw-erl { flex: none; }
.mini.voll.uw-knopf { background: #86198f; border-color: #86198f; color: #fff; height: 26px; padding: 0 9px; font-size: 11.5px; }

/* wB-Grafik */
.wbg-szene { grid-template-columns: minmax(0, 1fr) 272px; }
.wbg-flaeche { display: grid; place-items: center; padding: 10px; min-height: 0; }
.wbg { width: 100%; height: 100%; max-height: 520px; overflow: visible; }
.wbg .wbg-box { fill: var(--paper); stroke: var(--rule); stroke-width: 1.2; transition: stroke .4s, fill .4s; }
.wbg .wbg-n { font: 700 13px var(--font); fill: var(--ink); }
.wbg .wbg-u { font: 500 11.5px var(--font); fill: var(--ink-muted); }
.wbg .wbg-chip { font: 650 11px var(--font); fill: var(--ink-soft); }
.wbg .wbg-av { fill: var(--paper-2); stroke: var(--rule); transition: fill .4s, stroke .4s; }
.wbg .wbg-avt { font: 750 12px var(--font); fill: var(--ink-soft); transition: fill .4s; }
.wbg .wbg-durch { font: 700 12px var(--font); fill: var(--nora); opacity: 0; transition: opacity .4s; }
.wbg .wbg-p.wb .wbg-box { stroke: var(--nora); stroke-width: 2; fill: var(--nora-50); }
.wbg .wbg-p.wb .wbg-av { fill: var(--nora); stroke: var(--nora); }
.wbg .wbg-p.wb .wbg-avt { fill: #fff; }
.wbg .wbg-p.wb .wbg-durch { opacity: 1; }
.wbg .wbg-linie { fill: none; stroke: var(--ink-faint); stroke-width: 1.4; opacity: .55; }
.wbg .wbg-weg { fill: none; stroke: var(--nora); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset .9s var(--weich); }
.wbg .wbg-weg.an { stroke-dashoffset: 0; }
.wbg .wbg-weg.zwei { stroke: color-mix(in srgb, var(--nora) 70%, var(--accent)); }
.wbg .wbg-pille { fill: var(--paper); stroke: var(--rule); }
.wbg .wbg-pt { font: 500 11px var(--mono); fill: var(--ink); }
.sz .wbg [data-s] { transform: none; }
.anfrage.zu { display: none; }
.wbg-balken { display: grid; gap: 10px; }
.wbg-zeile { display: grid; gap: 4px; }
.wbg-kopf { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.wbg-kopf b { font-weight: 650; }
.wbg-bahn { position: relative; height: 10px; border-radius: 5px; background: var(--paper-2); }
.wbg-bahn i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 5px; background: var(--nora); transition: width 1s var(--weich) .2s; }
.wbg-balken.an .wbg-bahn i { width: var(--w); }
.wbg-bahn em { position: absolute; left: 25%; top: -4px; bottom: -4px; width: 0; border-left: 2px dashed var(--sie); }
.wbg-zeile small { font: 500 11.5px var(--mono); color: var(--ink-muted); }
.wbg-schwelle { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sie); font-weight: 600; }
.wbg-schwelle::before { content: ""; width: 0; height: 12px; border-left: 2px dashed var(--sie); }
.hp-seite { background: #fff; border: 1px solid #e5e0d5; border-radius: 8px; padding: 10px; display: grid; gap: 5px; font-size: 11.5px; }
.hp-seite b { font-size: 12px; }
.hp-seite span { color: #52655f; font-size: 10.5px; }
.hp-seite table { border-collapse: collapse; font-size: 11.5px; }
.hp-seite td { border-top: 1px solid #eeeae1; padding: 4px 0; }
.hp-seite td + td { text-align: right; font-family: var(--mono); }
.hp-seite i { display: block; height: 5px; border-radius: 3px; background: #eeeae1; }
.hp-seite i.kurz { width: 60%; }
.hp-wahl { display: grid; gap: 6px; }
.hp-wahl .mini { justify-content: center; font-size: 12px; height: auto; min-height: 32px; padding: 6px 10px; text-align: center; }
.wp-ok { display: block; }
.wp-ok[hidden] { display: none; }
.kopf-hinweis { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--rule); border-left: 3px solid var(--sie); border-radius: 8px; background: var(--paper); }
.kopf-hinweis b { font-weight: 650; }
@media (max-width: 760px) {
  .wbg-szene { grid-template-columns: minmax(0, 1fr); }
  .wbg-szene .rechte-spalte { order: 0; }
  .wbg { max-height: none; }
}
@media (max-width: 760px) {
  .wbg-flaeche { display: block; overflow-x: auto; padding: 10px 6px; -webkit-overflow-scrolling: touch; }
  .wbg { width: 600px; max-width: none; height: auto; }
}

/* Inhalt als Weg durch die Akte (v9) */
.weg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.weg::before { content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 2px; background: linear-gradient(90deg, var(--accent) 0%, var(--rule) 100%); }
.weg-k { display: grid; grid-template-rows: auto 1fr; gap: 14px; min-width: 0; position: relative; }
.weg-kopf { display: grid; gap: 4px; }
.weg-nr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--accent); color: var(--accent); font-weight: 750; font-size: 14px; margin-bottom: 10px; position: relative; }
.weg-kopf h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.weg-zahl { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }
.weg-k ul { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; align-content: start; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; }
.weg-k a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none; transition: background .15s; position: relative; }
.weg-k a b { font-size: 14.5px; font-weight: 700; }
.weg-k a span { font-size: 13.5px; color: var(--ink-muted); line-height: 1.45; }
.weg-k a::after { content: "→"; position: absolute; right: 10px; top: 10px; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .2s var(--weich); }
.weg-k a:hover { background: var(--accent-50); }
.weg-k a:hover::after { opacity: 1; transform: none; }
.weg-k a:hover b { color: var(--accent); }
.weg-immer { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; }
.weg-immer b { font-weight: 700; margin-right: 6px; }
.weg-immer span { border: 1px solid var(--rule); background: var(--paper); border-radius: 999px; padding: 4px 11px; color: var(--ink-soft); }
@media (max-width: 1100px) {
  .weg { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .weg::before { left: 14px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent) 0%, var(--rule) 100%); }
  .weg-k { grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: auto; column-gap: 16px; row-gap: 10px; padding-bottom: 24px; }
  .weg-kopf { display: contents; }
  .weg-nr { grid-column: 1; grid-row: 1; margin: 0; }
  .weg-kopf h3 { grid-column: 2; grid-row: 1; align-self: center; }
  .weg-zahl { display: none; }
  .weg-k ul { grid-column: 2; grid-row: 2; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* Akte aus E-Mail */
.s4.mk { grid-template-columns: 180px minmax(0, 1fr) 380px; }
.mk-anh { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-pdf { width: 14px; height: 18px; border: 1.5px solid var(--ink-soft); border-radius: 1px; }
.mk-start { display: grid; gap: 8px; }
.mk-breit { width: 100%; justify-content: center; padding: 9px 12px; font-size: 13px; }
.mk-klein { font-size: 12px; color: var(--ink-muted); line-height: 1.45; margin: 0; }
.mk-vorschlag { display: grid; gap: 10px; border: 1px solid color-mix(in srgb, var(--nora) 35%, var(--rule)); background: var(--nora-50); border-radius: 10px; padding: 12px; }
.mk-vk { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.mk-f { display: grid; gap: 3px; }
.mk-w { border: 1px solid var(--rule); background: var(--paper); border-radius: 7px; padding: 6px 9px; font-weight: 600; font-size: 12.5px; }
.mk-t { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.mk-bet { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mk-bet li { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; background: var(--paper); border: 1px solid var(--rule-soft); border-radius: 7px; padding: 5px 9px; }
.mk-bet li span { color: var(--ink-muted); }
.mk-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-fertig { display: grid; gap: 3px; font-size: 13px; }
.mk-fertig span { color: var(--ink-muted); font-size: 12.5px; }
.mk-link { color: var(--accent); font-weight: 650; font-size: 12.5px; margin-top: 4px; }
.mk-danach { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-soft); }
.mk-danach li { display: flex; gap: 7px; align-items: center; }
.mk-danach .ok { color: var(--green); display: inline-flex; width: 14px; }
.mk-danach .ok svg { width: 14px; height: 14px; }
@media (max-width: 1000px) { .s4.mk { grid-template-columns: minmax(0, 1fr); } }
.mk-bet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mk-bet li { flex-direction: column; gap: 0; }
.mk-zu { display: none; }
.mk-vorschlag.zu .mk-f { display: none; }
.mk-vorschlag.zu .mk-zu { display: block; }
.mk .addin-inhalt { gap: 10px; }
.mk-vorschlag { gap: 8px; }

/* wB-Kette wie in der App (KetteGraph), im Website-Design */
.wbt { display: flex; flex-direction: column; align-items: center; min-width: max-content; margin: 0 auto; --linie: color-mix(in srgb, var(--ink-muted) 55%, transparent); }
.wbt-kinder { display: flex; justify-content: center; align-items: flex-start; position: relative; }
.wbt-kinder > .wbt-node { padding: 14px 10px 0; position: relative; }
.wbt-kinder > .wbt-node::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--linie); transition: background .5s; }
.wbt-kinder > .wbt-node:first-child::before { left: 50%; }
.wbt-kinder > .wbt-node:last-child::before { right: 50%; }
.wbt-kinder > .wbt-node:only-child::before { display: none; }
.wbt-kinder > .wbt-node::after { content: ""; position: absolute; top: 0; left: 50%; margin-left: -1px; width: 2px; height: 14px; background: var(--linie); transition: background .5s; }
.wbt-branch { width: 2px; height: 16px; background: var(--linie); margin: 0 auto; transition: background .5s; }
.wbt-node { display: flex; flex-direction: column; align-items: center; position: relative; }
.wbt-kante { position: relative; display: flex; justify-content: center; padding: 0 0 8px; }
.wbt-kante::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; margin-left: -1px; width: 2px; background: var(--linie); transition: background .5s; }
.wbt-anteil { position: relative; z-index: 1; background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 1px 10px; font: 500 11px var(--mono); color: var(--ink-soft); white-space: nowrap; transition: border-color .5s, color .5s; }
.wbt-box { position: relative; width: 196px; min-height: 76px; padding: 14px 12px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 22px -12px rgba(15, 23, 42, .16); transition: border-color .5s, box-shadow .5s; }
.wbt-box .nb-name { font-size: 13px; font-weight: 650; line-height: 1.25; color: var(--ink); letter-spacing: -.005em; }
.wbt-box .nb-type { font-size: 11.5px; color: var(--ink-muted); }
.wbt-box.target { width: 236px; background: var(--ink); border-color: var(--ink); }
.wbt-box.target .nb-name { color: var(--paper); font-size: 14px; }
.wbt-box.target .nb-type { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.wbt-box.np { background: var(--accent-soft); border-color: var(--accent); }
.wbt-box.np .nb-type { color: var(--accent); }
.wbt-box.komplementaer { background: var(--accent-50); border-color: var(--accent); border-style: dashed; }
.wbt-badge { position: absolute; top: 6px; right: 6px; background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 750; padding: 1px 6px; border-radius: 4px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--weich); }
.wbt-box .nb-wb-effektiv { font-size: 11.5px; font-weight: 700; color: var(--accent); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s; }
.wbt-node.wb > .wbt-box { border-width: 2px; box-shadow: 0 0 0 4px var(--accent-soft), 0 10px 28px -12px var(--accent-ring); }
.wbt-node.wb > .wbt-box .wbt-badge { opacity: 1; transform: none; }
.wbt-node.wb > .wbt-box .nb-wb-effektiv { max-height: 20px; opacity: 1; }
.wbt-branch.pfad, .wbt-node.pfad::after, .wbt-node.pfad > .wbt-kante::before { background: var(--accent); }
.wbt-node.pfad > .wbt-kante .wbt-anteil { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.wbg-flaeche .wbt { padding: 6px 0 10px; }
@media (max-width: 1000px) {
  .wbg-flaeche .wbt { transform-origin: top left; }
}
@media (max-width: 760px) {
  .wbg-flaeche .wbt { min-width: 0; width: 100%; align-items: stretch; padding: 4px 2px 8px; }
  .wbt-branch { display: none; }
  .wbt-node { align-items: stretch; }
  .wbt-kinder { flex-direction: column; align-items: stretch; margin-left: 14px; padding-left: 14px; border-left: 2px solid var(--linie); }
  .wbt-kinder > .wbt-node { padding: 12px 0 0; }
  .wbt-kinder > .wbt-node::before, .wbt-kinder > .wbt-node::after, .wbt-kante::before { display: none; }
  .wbt-kante { justify-content: flex-start; padding: 0 0 5px; }
  .wbt-box, .wbt-box.target { width: auto; min-height: 0; text-align: left; align-items: flex-start; padding: 10px 44px 10px 12px; }
}
@media (max-width: 760px) { .wbg-flaeche { overflow: visible; } }

/* Grundbuch aus der Adresse */
.ad-links { display: grid; gap: 12px; align-content: start; overflow: visible; }
.ad-karte { display: grid; gap: 2px; }
.ad-vk { display: flex; align-items: center; gap: 7px; font-size: 13px; margin: 0 0 4px; }
.ad-karte .haken-zeile { padding-top: 8px; }
.ad-knoepfe { display: flex; gap: 6px; padding-top: 12px; }
.ad-karte .lauf { margin-top: 12px; }
.ad-leer { color: var(--ink-faint); font-style: italic; }
.ad-pdf { margin-top: 12px; font-size: 12.5px; color: var(--ink-muted); }

/* Testakte */
.ta-app .app-leiste span.an { color: var(--ink); font-weight: 700; }
.ta { background: var(--canvas); padding: 20px 22px 22px; display: grid; gap: 14px; min-width: 0; }
.ta-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ta-krume { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }
.ta-kopf h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.ta-kopf p { color: var(--ink-muted); font-size: 14px; }
.ta-kopf-r { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.ta-termin { font-weight: 650; }
.ta-nora { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); flex-wrap: wrap; }
.ta-nora b { color: var(--nora); font-weight: 700; }
.ta-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.ta-tabs::-webkit-scrollbar { display: none; }
.ta-tabs button { appearance: none; border: 0; background: none; font: 600 14px var(--font); color: var(--ink-muted); padding: 10px 0 11px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ta-tabs button:hover { color: var(--ink); }
.ta-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.ta-z { font-style: normal; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: inline-grid; place-items: center; padding: 0 5px; background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--rule); }
.ta-z.sie { background: var(--sie); color: var(--on-sie); border-color: var(--sie); }
.ta-inhalt { min-height: 380px; animation: taEin .3s var(--weich); }
@keyframes taEin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ta-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ta-spalte { display: grid; gap: 14px; }
.ta-karte { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; min-width: 0; }
.ta-karte > header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.ta-karte h4 { margin: 0; font-size: 15px; font-weight: 700; }
.ta-karte > header span { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }
.ta-zeile { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule-soft); font-size: 13.5px; align-items: baseline; }
.ta-liste, .ta-doks, .ta-freigaben, .ta-schritte { list-style: none; margin: 0; padding: 0; }
.ta-li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--rule-soft); font-size: 13.5px; }
.ta-li:first-child, .ta-doks li:first-child, .ta-freigaben li:first-child { border-top: 0; }
.ta-li b, .ta-doks b, .ta-freigaben b { display: block; font-weight: 650; }
.ta-li span, .ta-doks span, .ta-freigaben span { color: var(--ink-muted); font-size: 12.5px; }
.ta-li em, .ta-doks em { font-style: normal; font-size: 12px; font-weight: 650; color: var(--ink-faint); white-space: nowrap; }
.punkt-gruen { background: var(--green); }
.punkt-sie { background: var(--sie); }
.ta-schritte li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 8px 0; position: relative; font-size: 13.5px; }
.ta-schritte li::before { content: ""; position: absolute; left: 10px; top: 32px; bottom: -6px; width: 2px; background: var(--rule); }
.ta-schritte li:last-child::before { display: none; }
.ta-schritte li.ok::before { background: var(--green); }
.ta-sp { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rule); background: var(--paper); display: grid; place-items: center; position: relative; z-index: 1; }
.ta-sp svg { width: 12px; height: 12px; }
.ta-schritte li.ok .ta-sp { background: var(--green); border-color: var(--green); color: #fff; }
.ta-schritte li.jetzt .ta-sp { border-color: var(--sie); box-shadow: 0 0 0 3px var(--sie-50); }
.ta-schritte b { display: block; font-weight: 650; }
.ta-schritte li span { color: var(--ink-muted); font-size: 12.5px; }
.ta-schritte li.spaeter b { color: var(--ink-muted); }
.ta-freigaben li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule-soft); flex-wrap: wrap; }
.ta-freigaben li > div:first-child { flex: 1 1 320px; min-width: 0; }
.ta-knoepfe { display: flex; gap: 6px; }
.ta-knoepfe .mini { cursor: pointer; }
.mini.voll.ihr { background: var(--sie); border-color: var(--sie); color: var(--on-sie); }
.ta-freigaben em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; }
.ta-freigaben em svg { width: 14px; height: 14px; }
.ta-freigaben li.erledigt b { color: var(--ink-muted); }
.ta-fuss { margin-top: 10px; font-size: 12.5px; color: var(--ink-muted); }
.ta-personen { display: grid; gap: 8px; }
.ta-person { border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.ta-person summary { list-style: none; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; cursor: pointer; }
.ta-person summary::-webkit-details-marker { display: none; }
.ta-person summary b { display: block; font-size: 13.5px; }
.ta-person summary span:not(.ta-av):not(.chip) { font-size: 12.5px; color: var(--ink-muted); }
.ta-person summary em { font-style: normal; }
.ta-person[open] summary { border-bottom: 1px solid var(--rule-soft); }
.ta-av { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 750; font-size: 12.5px; display: grid; place-items: center; }
.ta-pd { padding: 4px 12px 8px; }
.ta-pd .ta-zeile { grid-template-columns: 110px minmax(0, 1fr); }
.ta-doks li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule-soft); font-size: 13.5px; }
.ta-dok { width: 18px; height: 22px; border: 1.5px solid var(--ink-faint); border-radius: 2px; position: relative; }
.ta-dok::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 1.5px; background: var(--ink-faint); box-shadow: 0 4px 0 var(--ink-faint), 0 8px 0 var(--ink-faint); }
.ta-leer { color: var(--ink-muted); font-size: 14px; max-width: 60ch; }
.ta-frage { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 18px; display: grid; gap: 10px; }
.ta-frage-k { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ta-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ta-chip { appearance: none; border: 1px solid var(--rule); background: var(--paper-2); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 13px var(--font); cursor: pointer; text-align: left; }
.ta-chip:hover { border-color: var(--nora); }
.ta-chip.an { border-color: var(--nora); background: var(--nora-50); color: var(--nora); }
.ta-antwort:empty { display: none; }
.ta-antwort { border-left: 3px solid var(--nora); padding: 4px 0 4px 12px; display: grid; gap: 4px; }
.ta-a { font-size: 14px; color: var(--ink-soft); max-width: 75ch; }
.ta-q { font-size: 12px; color: var(--ink-faint); font-weight: 600; }
.ta-hinweis { margin-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-muted); }
@media (max-width: 860px) {
  .ta { padding: 16px 14px; }
  .ta-raster { grid-template-columns: minmax(0, 1fr); }
  .ta-kopf h3 { font-size: 20px; }
  .ta-zeile, .ta-pd .ta-zeile { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ta-li { grid-template-columns: 8px minmax(0, 1fr); }
  .ta-li em { grid-column: 2; }
  .ta-tabs { gap: 18px; }
}
.ta-freigaben em { font-size: 13px; }
/* Testakte, Ausbau */
.ta-zeit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px dashed var(--rule); }
.ta-zeit-w { display: inline-flex; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.ta-zeit-w button { appearance: none; border: 0; background: none; border-radius: 8px; padding: 6px 12px; font: 600 13px var(--font); color: var(--ink-muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline; }
.ta-zeit-w button b { font-family: var(--mono); font-weight: 500; font-size: 12px; }
.ta-zeit-w button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.ta-zeit-w button[aria-pressed="true"] b { color: var(--accent); }
.ta-klein { font-size: 12px; color: var(--ink-muted); margin-top: 8px; }
.ta-vor { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ta-vor li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 7px 0; font-size: 13.5px; }
.ta-vor b { display: block; font-weight: 650; }
.ta-vor li span { font-size: 12.5px; color: var(--ink-muted); }
.ta-vh { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--rule); display: grid; place-items: center; }
.ta-vh svg { width: 12px; height: 12px; }
.ta-vor li.ok .ta-vh { background: var(--green); border-color: var(--green); color: #fff; }
.ta-karte.ta-gruen { border-color: color-mix(in srgb, var(--green) 45%, var(--rule)); }
.ta-journal { list-style: none; margin: 0; padding: 0; display: grid; }
.ta-journal li { display: grid; grid-template-columns: 52px 82px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--rule-soft); font-size: 13px; align-items: baseline; }
.ta-journal li:first-child { border-top: 0; }
.ta-journal .mono { font-size: 11.5px; color: var(--ink-faint); }
.ta-journal b { font-weight: 650; font-size: 12.5px; }
.ta-journal b.nora { color: var(--nora); }
.ta-journal b.sie { color: var(--sie); }
.ta-journal span:last-child { color: var(--ink-soft); }
.ta-freigaben small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--nora); font-weight: 600; margin-top: 4px; }
.ta-wb-l { margin: 12px 0 6px; }
.ta-wb { overflow-x: auto; background: var(--paper-2); border: 1px solid var(--rule-soft); border-radius: 10px; padding: 12px 6px; }
.ta-wb .wbt { zoom: .72; }
.ta-wb .wbt-anteil { background: var(--paper-2); }
.ta-doks li { display: block; padding: 0; border-top: 1px solid var(--rule-soft); }
.ta-dokzeile { appearance: none; border: 0; background: none; width: 100%; text-align: left; font: inherit; color: inherit; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 6px; border-radius: 8px; cursor: pointer; }
.ta-dokzeile:hover { background: var(--accent-50); }
.ta-doks li.auf .ta-dokzeile b { color: var(--accent); }
.ta-vorschau { padding: 4px 6px 14px 40px; }
.ta-blatt { background: #fff; color: #1b1b1b; border: 1px solid var(--rule); border-radius: 6px; padding: 16px 18px; font: 13px/1.55 var(--dok); box-shadow: var(--schatten); max-width: 640px; }
.ta-blatt p { margin: 0 0 8px; }
.ta-blatt .ta-bk { font: 700 12.5px var(--font); color: #333; margin-bottom: 8px; }
.ta-blatt table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ta-blatt td, .ta-blatt th { border-top: 1px solid #e5e5e5; padding: 5px 6px; text-align: left; vertical-align: top; }
.ta-blatt mark { background: color-mix(in srgb, #0b7a72 14%, #fff); color: inherit; border-radius: 3px; padding: 0 2px; }
.ta-blatt .ta-klein { color: #666; font-family: var(--font); }
.ta-mails { display: grid; gap: 8px; }
.ta-mail { border: 1px solid var(--rule); border-radius: 10px; }
.ta-mail summary { list-style: none; display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 14px; cursor: pointer; font-size: 13.5px; }
.ta-mail summary::-webkit-details-marker { display: none; }
.ta-mail summary b { display: block; font-weight: 650; }
.ta-mail summary span { font-size: 12.5px; color: var(--ink-muted); }
.ta-md { padding: 0 14px 14px 34px; display: grid; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.ta-entwurf { border-left: 3px solid var(--nora); background: var(--nora-50); border-radius: 0 8px 8px 0; padding: 10px 12px; display: grid; gap: 6px; justify-items: start; }
.ta-entwurf .feld-l { display: flex; gap: 6px; align-items: center; color: var(--nora); }
.ta-portal { background: var(--paper-2); border-radius: 10px; padding: 16px; display: grid; gap: 6px; }
.ta-pk { font-weight: 700; font-size: 15px; }
.ta-pst { color: var(--ink-muted); font-size: 13px; }
.ta-pl { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-faint); }
.ta-pl li { border-top: 3px solid var(--rule); padding-top: 6px; }
.ta-pl li.ok { border-color: var(--green); color: var(--ink-soft); }
.ta-pl li.jetzt { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) {
  .ta-journal li { grid-template-columns: 46px minmax(0, 1fr); }
  .ta-journal li span:last-child { grid-column: 2; }
  .ta-vorschau { padding-left: 6px; }
  .ta-zeit-w button { padding: 6px 9px; }
  .ta-zeit-w button span { display: none; }
}
@media (max-width: 760px) {
  .ta-wb .wbt { zoom: 1; min-width: 0; width: 100%; align-items: stretch; }
  .ta-wb { padding: 8px; }
}
