/* 116 – Tabelle · die Seite als Tabellenkalkulation: Zellen, Formelleiste, Tabellenblätter */
:root {
  --rn: 46px;
  --cols: var(--rn) repeat(8, minmax(0, 1fr));
  --line: #e1e4e8;
  --line-2: #c9ced5;
  --hd: #f3f4f6;
  --hd-t: #5a616d;
  --ink: #1c2027;
  --ink-2: #474e5a;
  --go: #0e8a5f;
  --go-d: #0a6b49;
  --go-l: #e0f2e9;
  --go-m: #bfe3d0;
  --hi: #fff3bf;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --app-h: 158px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--app-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; padding-bottom: 42px; background: #fff; color: var(--ink); font: 400 15.5px/1.5 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font: inherit; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
abbr { text-decoration: none; }
:focus-visible { outline: 2px solid var(--go); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--go); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- Programmkopf ---------- */
.app { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line-2), 0 4px 10px rgba(20,30,40,.05); }
.app__bar { display: flex; align-items: center; gap: 22px; height: 58px; padding: 0 16px 0 12px; }
.logo { display: block; flex: none; }
.logo img { width: 52px; height: auto; aspect-ratio: 1510 / 1300; }
.file { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.file__ico { grid-row: 1 / 3; width: 26px; height: 30px; border-radius: 4px; background: var(--go) linear-gradient(transparent 9px, rgba(255,255,255,.55) 9px 10.5px, transparent 10.5px 16px, rgba(255,255,255,.55) 16px 17.5px, transparent 17.5px 23px, rgba(255,255,255,.55) 23px 24.5px, transparent 24.5px), var(--go); position: relative; }
.file__ico::after { content: ''; position: absolute; left: 9px; top: 6px; bottom: 4px; width: 1.5px; background: rgba(255,255,255,.55); }
.file__name { font-weight: 600; font-size: 15px; }
.file__state { font-size: 12px; color: var(--hd-t); }
.menu { display: none; }
.nav { display: flex; align-items: center; gap: 20px; flex: 1; }
.nav__list { display: flex; gap: 2px; margin-left: 8px; }
.nav__list a { display: block; padding: 6px 11px; border-radius: 6px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav__list a:hover { background: #eef0f3; }
.nav__end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.tel { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.tel svg { width: 16px; height: 16px; fill: var(--go); }
.tel:hover { background: var(--go-l); }
.lang { display: grid; place-items: center; min-width: 44px; height: 34px; padding: 0 10px; border-radius: 17px; background: var(--go); color: #fff; font: 600 13px/1 var(--mono); text-decoration: none; }
.lang:hover { background: var(--go-d); }

.tools { display: flex; align-items: center; gap: 4px; height: 38px; margin: 0 10px 6px; padding: 0 12px; border-radius: 19px; background: #eef1f4; color: #3c434e; }
.tb { display: grid; place-items: center; width: 28px; height: 26px; border-radius: 5px; font: 700 14px/1 var(--sans); }
.tb--i { font-style: italic; font-family: var(--mono); }
.tb--u { text-decoration: underline; }
.tb--txt { width: auto; padding: 0 6px; font: 500 13px/1 var(--mono); }
.tb--al { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
.tb--al i { display: block; width: 14px; height: 1.6px; background: currentColor; }
.tb--al i:nth-child(2) { width: 9px; }
.tb--alc { align-items: center; }
.tb--chart { display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 6px; }
.tb--chart i { width: 4px; background: var(--go); }
.tb--chart i:nth-child(1) { height: 7px; } .tb--chart i:nth-child(2) { height: 13px; } .tb--chart i:nth-child(3) { height: 10px; }
.tb--fill { position: relative; }
.tb--fill::after { content: ''; width: 14px; height: 14px; border: 1.6px solid currentColor; border-radius: 2px; box-shadow: inset 0 -4px 0 var(--hi); }
.sep { width: 1px; height: 20px; margin: 0 6px; background: #c7ccd3; }
.tools__font { margin-left: auto; padding: 4px 10px; border-radius: 5px; background: #fff; font: 500 12px/1 var(--mono); color: var(--hd-t); box-shadow: inset 0 0 0 1px var(--line-2); }

.fx { display: grid; grid-template-columns: 94px 44px 1fr; align-items: stretch; height: 34px; border-top: 1px solid var(--line-2); }
.fx__ref { display: flex; align-items: center; padding: 0 12px; border-right: 1px solid var(--line-2); font: 500 13px/1 var(--mono); color: var(--ink); }
.fx__sym { display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line-2); font: 600 14px/1 var(--mono); color: var(--hd-t); }
.fx__sym i { font-style: italic; }
.fx__val { display: flex; align-items: center; padding: 0 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 14px/1 var(--mono); color: var(--ink); }
.fx__val.is-f { color: var(--go-d); font-weight: 500; }
.cols { display: grid; grid-template-columns: var(--cols); height: 26px; background: var(--hd); border-top: 1px solid var(--line-2); }
.cols span { display: grid; place-items: center; border-right: 1px solid var(--line-2); font: 500 12px/1 var(--sans); color: var(--hd-t); }
.cols__corner { background: linear-gradient(135deg, transparent 60%, #bcc2ca 60% 66%, transparent 66%) no-repeat right 4px bottom 4px / 12px 12px; }
.cols span.on { background: #dcefe5; color: var(--go-d); box-shadow: inset 0 -2px 0 var(--go); }

/* ---------- Tabellenblatt ---------- */
.sheet { counter-reset: r; outline: none; }
.row { position: relative; display: grid; grid-template-columns: var(--cols); counter-increment: r; min-height: 34px; border-bottom: 1px solid var(--line);
  background: #fff linear-gradient(90deg, var(--line) 1px, transparent 1px) var(--rn) 0 / calc((100% - var(--rn)) / 8) 100% repeat-x; }
.row::before { content: counter(r); grid-column: 1; grid-row: 1 / 99; display: flex; justify-content: center; padding-top: 9px; background: var(--hd); border-right: 1px solid var(--line-2); font: 500 12px/1 var(--sans); color: var(--hd-t); }
.row.on::before { background: #dcefe5; color: var(--go-d); box-shadow: inset -2px 0 0 var(--go); }
.c { position: relative; grid-row: 1; min-width: 0; padding: 7px 10px; background: #fff; border-right: 1px solid var(--line); overflow-wrap: break-word; }
.js .c { cursor: cell; }
.c a { cursor: pointer; }
.c.is-sel { z-index: 4; outline: 2px solid var(--go); outline-offset: -1px; background-color: rgba(14,138,95,.06); }
.c.is-sel::after { content: ''; position: absolute; right: -4px; bottom: -4px; width: 7px; height: 7px; background: var(--go); border: 1.5px solid #fff; }
.sheet:focus-visible .c.is-sel { outline-width: 3px; }
.row--empty { min-height: 34px; }
.c--mono { font: 400 13px/1.8 var(--mono); }
.c--muted { color: var(--hd-t); }
.c--wrap { font-size: 16.5px; color: var(--ink-2); }

/* Hero */
.hero .row:first-child { min-height: 40px; }
.kicker { padding-top: 10px; font-weight: 600; font-size: 14px; color: var(--go-d); }
.row--h1 h1 { padding: 18px 12px 22px; font-weight: 700; font-size: clamp(36px, 3.7vw, 56px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.lead { padding: 14px 12px; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); }
.row--cta .c { display: flex; align-items: center; padding: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn--go { background: var(--go); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.btn--go:hover { background: var(--go-d); }
.btn--link { padding-inline: 4px; color: var(--go-d); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.btn--link:hover { color: var(--ink); }
.avail { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 3px var(--go-l); }

/* eingefügte Objekte (Bild, Diagramm) */
.c--anchor { padding: 0; background: transparent; border-right: 0; }
.obj { position: absolute; z-index: 5; top: 14px; left: 14px; right: 14px; margin: 0; background: #fff; box-shadow: 0 0 0 1px rgba(20,30,40,.12), 0 8px 24px rgba(20,30,40,.14); }
.obj img { width: 100%; }
.obj--photo { outline: 2px solid var(--go); outline-offset: 0; }
.obj__h { position: absolute; width: 9px; height: 9px; background: #fff; border: 2px solid var(--go); border-radius: 50%; }
.obj__h--tl { left: -5px; top: -5px; } .obj__h--tr { right: -5px; top: -5px; } .obj__h--bl { left: -5px; bottom: -5px; } .obj__h--br { right: -5px; bottom: -5px; }
.obj__cap { position: absolute; left: -2px; top: -24px; padding: 4px 8px; border-radius: 4px 4px 0 0; background: var(--go); color: #fff; font: 500 11.5px/1.2 var(--mono); }
.obj--portrait { right: auto; width: min(calc(100% - 28px), 360px); top: 22px; }
.obj--portrait { outline: 0; }
.obj--portrait .obj__h { display: none; }
.obj--portrait .obj__cap { background: #5a616d; }

/* Abschnittstitel */
.row--title { min-height: 64px; margin-top: 0; }
.row--title h2, .row--title h1 { padding: 16px 12px 14px; font-weight: 700; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; letter-spacing: -.02em; }
.c--tag { display: flex; align-items: center; padding: 0 10px; font: 600 11.5px/1.25 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--go-d); background: var(--go-l); }
.c--tag-y { background: var(--hi); color: #6a4f00; }
.blk { scroll-margin-top: calc(var(--app-h) + 8px); }
.blk + .blk .row--title { border-top: 2px solid var(--line-2); }
.row--th { min-height: 30px; background-color: #f1f3f5; }
.row--th .c { display: flex; align-items: center; background: #f1f3f5; font: 600 11.5px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--hd-t); }
.c--num { font: 500 13px/1.9 var(--mono); color: var(--hd-t); text-align: center; }
.rows h3 { font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.rows p { color: var(--ink-2); hyphens: auto; }
.rows .row { min-height: 54px; }
.rows .c { padding-block: 12px; }
.c--ok { display: flex; align-items: center; gap: 8px; margin: 6px; padding: 6px 10px !important; align-self: start; border-radius: 4px; background: var(--go-l); color: var(--go-d); font-weight: 600; font-size: 13.5px; border-right: 0; }
.c--ok::before { content: ''; flex: none; width: 10px; height: 5px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

/* Kennzahlen mit Datenbalken */
.stats .row { min-height: 78px; }
.c--big { display: flex; align-items: center; padding: 10px 14px !important; font: 700 34px/1 var(--mono); letter-spacing: -.03em; color: var(--go-d); background: linear-gradient(90deg, var(--go-m) var(--p, 100%), #fff var(--p, 100%)); white-space: nowrap; }
.stats .row:nth-child(1) .c--big { --p: 100%; }
.stats .row:nth-child(2) .c--big { --p: 16%; }
.stats .row:nth-child(3) .c--big { --p: 71%; }
.c--lbl { display: flex; align-items: center; font-weight: 500; font-size: 16px; }
.obj--chart { top: 10px; right: 14px; padding: 0 0 12px; box-shadow: 0 0 0 1px var(--line-2), 0 8px 24px rgba(20,30,40,.1); }
.obj__title { padding: 8px 14px; border-bottom: 1px solid var(--line); font: 600 12.5px/1.2 var(--sans); color: var(--hd-t); }
.charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 12px 0; }
.ch { margin: 0; text-align: center; }
.ch svg { display: block; width: 100%; max-height: 118px; }
.ch figcaption { margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--hd-t); }
.ch-axis path { fill: none; stroke: #9aa1ab; stroke-width: 1; }
.ch-grid path { fill: none; stroke: var(--line); stroke-width: 1; }
.ch-bar { fill: var(--go); }
.ch-bar--off { fill: #c9ced5; }
.ch-plus { stroke: var(--go); stroke-width: 3; stroke-linecap: round; }
.ch-ring { fill: none; stroke: var(--line); stroke-width: 10; }
.ch-ring--on { stroke: var(--go); stroke-dasharray: 188.5 188.5; transform: rotate(-90deg); transform-origin: 60px 42px; }
.ch-big { font: 700 24px var(--mono); fill: var(--ink); }
.ch-t { font: 600 10px var(--mono); fill: var(--ink-2); }
.ch-ax { font: 500 8.5px var(--sans); fill: var(--hd-t); }

/* Beispielroute */
.row--sub { min-height: 40px; }
.c--note { display: flex; align-items: center; font-style: italic; color: var(--ink-2); }
.note-mark { position: absolute; right: 0; top: 0; width: 0; height: 0; border-top: 9px solid var(--go); border-left: 9px solid transparent; }
.c--code { font: 600 15px/1.5 var(--mono); letter-spacing: .04em; }
.mode { display: inline-block; width: 18px; height: 14px; margin-right: 9px; vertical-align: -2px; background: var(--go); }
.mode--fly { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M0 9.6 6 8 10 1h3l-2 7h6l2.6-3H22l-1.4 4.6L22 14h-2.4L17 11h-6l2 6h-3L6 11 0 10z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M0 9.6 6 8 10 1h3l-2 7h6l2.6-3H22l-1.4 4.6L22 14h-2.4L17 11h-6l2 6h-3L6 11 0 10z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mode--car { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M2 12V8l2-1 3-5h10l3 5 2 1v4h-2a2.5 2.5 0 0 0-5 0H9a2.5 2.5 0 0 0-5 0z'/%3E%3Ccircle cx='6.5' cy='13' r='2'/%3E%3Ccircle cx='17.5' cy='13' r='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M2 12V8l2-1 3-5h10l3 5 2 1v4h-2a2.5 2.5 0 0 0-5 0H9a2.5 2.5 0 0 0-5 0z'/%3E%3Ccircle cx='6.5' cy='13' r='2'/%3E%3Ccircle cx='17.5' cy='13' r='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.c--spark { padding-inline: 16px; }
.c--spark::before { content: ''; position: absolute; left: 16px; right: 16px; top: 50%; height: 1px; background: var(--line-2); }
.c--spark i { position: absolute; top: 50%; height: 6px; margin-top: -3px; left: calc(16px + (100% - 32px) * var(--a) / 7); width: calc((100% - 32px) * (var(--b) - var(--a)) / 7); border-radius: 3px; background: var(--go); }
.c--spark i.dash { background: repeating-linear-gradient(90deg, var(--go) 0 6px, transparent 6px 10px); }
.c--spark i.back { height: 2px; margin-top: 5px; background: var(--go-m); }
.c--spark i::before, .c--spark i::after { content: ''; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #fff; border: 2px solid var(--go); }
.c--spark i::before { left: -4px; } .c--spark i::after { right: -4px; }
.row--sum { border-top: 3px double #9aa1ab; min-height: 50px; }
.c--sumlbl { display: grid; place-items: center; font: 600 18px/1 var(--mono); color: var(--hd-t); }
.c--total { display: flex; align-items: center; font: 700 19px/1.3 var(--mono); letter-spacing: .03em; color: var(--go-d); background: var(--go-l); }
.row--sum .c--wrap { font-size: 14.5px; }

/* Leistungen */
.c--3 { display: flex; justify-content: space-around; }
.c--checks { display: flex; justify-content: space-around; align-items: flex-start; padding-top: 15px !important; }
.c--checks i { position: relative; width: 18px; height: 18px; border-radius: 4px; background: var(--go); }
.c--checks i::after { content: ''; position: absolute; left: 5px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Ablauf – Gantt */
.c--ph { justify-content: center; font-family: var(--mono) !important; }
.c--bar { background: transparent; }
.c--bar i { position: absolute; left: 0; right: -1px; top: 16px; height: 18px; background: var(--go); border-radius: 0; }
.gantt .row:nth-child(1) .c--bar i { left: 8px; border-radius: 4px 0 0 4px; background: #57b48c; }
.gantt .row:nth-child(2) .c--bar i { background: #2f9f72; }
.gantt .row:nth-child(3) .c--bar i { background: var(--go); }
.c--bar-end i { right: 8px !important; border-radius: 0 4px 4px 0; background: var(--go-d) !important; }

/* Über uns */
.about__text { padding-block: 14px !important; }
.feats .row { min-height: 40px; }
.feats .c { padding-block: 9px; font-weight: 500; }
.c--tick { display: grid; place-items: center; }
.c--tick i { width: 12px; height: 7px; margin-top: -3px; border-left: 2.4px solid var(--go); border-bottom: 2.4px solid var(--go); transform: rotate(-45deg); }

/* Kontakt */
.kv .row { min-height: 44px; }
.c--key { display: flex; align-items: center; background: var(--hd); font-weight: 600; font-size: 13px; color: var(--ink-2); }
.kv dd { display: flex; flex-direction: column; justify-content: center; font-size: 16px; }
.kv dd.c--muted { font-size: 14px; }
.kv a { color: var(--go-d); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 500; }
.kv a:hover { color: var(--ink); }
.row--heat .c--h { display: grid; place-items: center; margin: 4px 0; font: 500 12.5px/1 var(--mono); color: var(--hd-t); background: #f1f3f5; }
.row--heat .c--h.on { background: var(--go); color: #fff; }
.row--heat .c--h.on:nth-child(odd) { background: #12976a; }

/* Fuß + Blattregister */
.foot { border-top: 1px solid var(--line-2); background: var(--hd); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 36px; align-items: center; padding: 34px 24px 34px calc(var(--rn) + 12px); }
.logo--foot { padding: 8px 10px; background: #fff; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.logo--foot img { width: 70px; }
.foot__brand { font-weight: 600; }
.foot__addr p + p { font-size: 14px; color: var(--hd-t); }
.foot__addr a { text-decoration: none; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14.5px; font-weight: 500; }
.foot__nav a { text-decoration: none; padding: 3px 0; }
.foot__nav a:hover { color: var(--go-d); text-decoration: underline; }
.foot__copy { grid-column: 2 / -1; font-size: 13px; color: var(--hd-t); }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: stretch; height: 42px; padding-left: 276px; background: #eef0f3; box-shadow: 0 -1px 0 var(--line-2); }
.tabs__tools { position: absolute; left: 0; top: 0; bottom: 0; display: none; }
.tab { display: flex; align-items: center; padding: 0 20px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); border-right: 1px solid var(--line-2); }
.tab:first-of-type { border-left: 1px solid var(--line-2); }
.tab:hover { background: #e3e6ea; }
.tab.on { background: #fff; color: var(--go-d); font-weight: 600; box-shadow: inset 0 -3px 0 var(--go); }
.tabs__sum { display: flex; align-items: center; gap: 18px; margin-left: auto; padding: 0 18px; font: 500 12.5px/1 var(--mono); color: var(--hd-t); }
.tabs__state::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--go); }

/* ---------- Rechtsseiten ---------- */
.sheet--legal .row--doc .c--doc { padding: 26px 24px 40px; }
.back { display: inline-block; font-weight: 600; color: var(--go-d); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.legal-body { max-width: 70ch; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.legal-body h2 { margin: 36px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--ink); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body ul { margin: 0 0 13px; }
.legal-body li { position: relative; padding-left: 22px; margin-bottom: 7px; }
.legal-body li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; background: var(--go); }
.legal-body a { color: var(--go-d); font-weight: 500; text-decoration-thickness: 1.5px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body .legal-note { padding: 12px 16px; background: var(--hi); border-left: 3px solid #d6a900; color: #4a3a00; }
.legal-body .legal-address { padding: 14px 18px; background: var(--hd); border-left: 3px solid var(--go); }
.sheet--legal .row--title h1 { hyphens: auto; overflow-wrap: break-word; }

/* ---------- Responsiv ---------- */
@media (max-width: 1240px) {
  .file__state { display: none; }
  .nav__list a { padding: 6px 8px; }
  .tools__font { display: none; }
}
@media (max-width: 1100px) {
  .file { display: none; }
  .row--h1 h1 { font-size: 38px; }
}
@media (max-width: 860px) {
  :root { --app-h: 0px; }
  body { padding-bottom: 0; background: #eef0f3; font-size: 16px; }
  .app { position: relative; }
  .app__bar { height: 64px; }
  .tools, .cols { display: none; }
  .menu { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 42px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
  .menu__ico { display: grid; gap: 3px; width: 18px; }
  .menu__ico i { height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .top-open .menu__ico i:nth-child(1), .app.open .menu__ico i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .app.open .menu__ico i:nth-child(2) { opacity: 0; }
  .app.open .menu__ico i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .nav { position: absolute; left: 10px; right: 10px; top: 60px; z-index: 50; display: none; flex-direction: column; align-items: stretch; gap: 10px; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 16px 32px rgba(20,30,40,.18); }
  .js .app.open .nav, html:not(.js) .nav { display: flex; }
  html:not(.js) .nav { position: static; margin: 0 10px 10px; }
  html:not(.js) .app__bar { flex-wrap: wrap; height: auto; padding-block: 8px; }
  html:not(.js) .menu { display: none; }
  .nav__list { flex-direction: column; margin: 0; }
  .nav__list a { padding: 12px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__end { margin: 0; justify-content: space-between; }
  .fx { grid-template-columns: 70px 36px 1fr; }

  /* Kartenansicht */
  .sheet { padding: 10px 10px 4px; }
  .blk { margin-bottom: 12px; padding: 6px 4px 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
  .blk + .blk .row--title { border-top: 0; }
  .row, .rows .row { display: block; min-height: 0; border: 0; background: none; }
  .row::before { display: none; }
  .row--empty, .row--th { display: none; }
  .c { display: block; border: 0; padding: 6px 12px; }
  .row > .c, .row > dt, .row > dd { grid-column: auto !important; grid-row: auto !important; }
  .c.avail { display: flex; }
  .stats .row > .c--anchor { grid-column: 1 / -1 !important; }
  .route .row.row--th { display: none; }
  .row--heat .c--key { grid-column: 1 / -1 !important; }
  .c--tick { display: grid !important; }
  .row--h1 h1 { padding-top: 8px; font-size: 34px; }
  .row--cta { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .row--cta .c { padding: 0; }
  .c--anchor { padding: 6px 12px; }
  .obj, .obj--portrait { position: relative; inset: auto; width: auto; margin: 30px 2px 8px; }
  .obj--chart { margin-top: 10px; }
  .rows { padding: 2px 8px; }
  .rows .row { position: relative; margin: 8px 0; padding: 6px 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
  .rows .c { padding-block: 4px; }
  .rows .c--num { position: absolute; right: 10px; top: 10px; padding: 0; line-height: 1; }
  .rows h3 { padding-right: 40px; font-size: 17px; }
  .c--ok { display: inline-flex; margin: 6px 12px 4px; }
  .c--checks { justify-content: flex-start; gap: 8px; padding-top: 6px !important; }
  .c--bar { height: 26px; margin: 4px 12px; background: #f1f3f5; border-radius: 4px; }
  .c--bar i { top: 4px; height: 18px; }
  .gantt .row:nth-child(1) .c--bar i { left: 0; right: 75%; }
  .gantt .row:nth-child(2) .c--bar i { left: 25%; right: 50%; }
  .gantt .row:nth-child(3) .c--bar i { left: 50%; right: 25%; }
  .gantt .row:nth-child(4) .c--bar i { left: 75%; right: 0 !important; }
  .stats .row { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; padding: 4px 0; box-shadow: none; }
  .stats .c--anchor { grid-column: 1 / -1; }
  .c--big { min-width: 120px; font-size: 28px; }
  .route .row { display: grid; grid-template-columns: 40px 64px 64px 1fr; align-items: center; padding: 0 4px; border-bottom: 1px solid var(--line); }
  .route .row--sub, .route .row--sum { display: block; border: 0; }
  .route .c { padding: 8px 6px; }
  .c--spark { display: none !important; }
  .c--tag { display: inline-flex; margin: 8px 12px 0; padding: 4px 8px; border-radius: 4px; }
  .row--title h2, .row--title h1 { padding-top: 6px; font-size: 27px; }
  .feats .row { display: flex; align-items: center; margin: 0; box-shadow: none; padding: 0; }
  .feats .c--tick { width: 34px; flex: none; }
  .kv .row { display: grid; grid-template-columns: 1fr; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .kv .c--key { background: none; padding-bottom: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--hd-t); }
  .row--heat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 8px 12px; }
  .row--heat .c--key { grid-column: 1 / -1; padding: 0 0 4px; background: none; font-size: 12px; }
  .row--heat .c--h { margin: 0; padding: 8px 0; }
  .foot__in { grid-template-columns: 1fr; padding: 28px 18px 96px; }
  .logo--foot { justify-self: start; }
  .foot__copy { grid-column: auto; }
  .tabs { position: static; height: auto; padding: 0; overflow-x: auto; }
  .tabs__sum { display: none; }
  .tab { padding: 12px 16px; white-space: nowrap; }
  .sheet--legal .row--doc .c--doc { padding: 10px 12px 24px; }
  .sheet--legal { padding-top: 12px; }
  .sheet--legal > .row { margin: 0 0 4px; padding: 4px; border-radius: 10px; background: #fff; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
