/* Codinat – fünfte Startseite. Eigenständig, mobil zuerst geschrieben.
   Farben und Schrift laut BRANDBOOK.md: Graustufen, ein Blau, Signalfarben nur für Zustände. */

@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- Farben ---------- */

:root {
  color-scheme: dark light;
  --bg: #0b0c0e; --surface: #131417; --alt: #0f1012; --text: #e6e7e9; --mute: #9a9ea6;
  --line: #232528; --line2: #3b3e44; --acc: #6e9bf5; --on-acc: #0b0c0e; --ok: #3ecf8e; --stop: #ff6b5e; --data: #5ee2ff;
  --sans: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pad: 20px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f6f7f8; --surface: #ffffff; --alt: #eceef0; --text: #16181d; --mute: #5b6068;
    --line: #dcdfe3; --line2: #b7bbc1; --acc: #2160cb; --on-acc: #ffffff; --ok: #13805a; --stop: #c4321f; --data: #0891b2;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f8; --surface: #ffffff; --alt: #eceef0; --text: #16181d; --mute: #5b6068;
  --line: #dcdfe3; --line2: #b7bbc1; --acc: #2160cb; --on-acc: #ffffff; --ok: #13805a; --stop: #c4321f; --data: #0891b2;
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Kopfleiste ---------- */

.bar { position: fixed; inset: 0 0 auto; z-index: 30; border-bottom: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s; }
.scrolled .bar { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.bar__in { display: flex; align-items: center; gap: 16px; height: 60px; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.mark { width: 28px; height: 28px; fill: none; stroke-width: 3; stroke-linecap: round; }
.mark__c { stroke: currentColor; }
.mark__l { stroke: var(--acc); }
.mark__d { fill: var(--acc); stroke: none; }
.nav { display: none; }
.bar__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line2); border-radius: 50%; background: transparent; cursor: pointer; }
.theme svg { width: 18px; height: 18px; }
.theme circle { fill: none; stroke: var(--text); stroke-width: 1.6; }
.theme path { fill: var(--text); }
.bar .btn--sm { display: none; }

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

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid var(--acc); border-radius: 8px; background: var(--acc); color: var(--on-acc); font: 600 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform 0.15s, background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line2); }
.btn--block { width: 100%; }
.btn--lg.btn--ghost { font-size: 15.5px; padding: 0 18px; }
@media (min-width: 640px) { .btn--lg.btn--ghost { font-size: 17px; padding: 0 26px; } }
.btn--stop { margin-top: 14px; min-height: 44px; background: var(--text); border-color: var(--text); color: var(--bg); font-size: 15px; }
.btn--stop .off, .btn--stop[aria-pressed="true"] .on { display: none; }
.btn--stop[aria-pressed="true"] { background: transparent; border-color: var(--stop); color: var(--stop); }
.btn--stop[aria-pressed="true"] .off { display: inline; }
@media (hover: hover) {
  .btn:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
  .btn--ghost:hover { background: transparent; color: var(--acc); border-color: var(--acc); }
  .theme:hover { border-color: var(--acc); }
}

/* ---------- Bausteine ---------- */

.tag { display: inline-flex; align-items: center; gap: 9px; font: 500 12.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.flag { display: inline-block; padding: 4px 8px; border: 1px dashed var(--line2); border-radius: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); vertical-align: middle; }
.note { margin: 28px auto 0; max-width: 46em; text-align: center; font: 400 13.5px/1.55 var(--mono); color: var(--mute); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }

/* ---------- Hero ---------- */

.hero { padding: 92px 0 56px; }
.hero__in { display: grid; gap: 40px; }
.hero__text { text-align: center; }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 10.4vw, 80px); line-height: 1; letter-spacing: -0.045em; }
.hero h1 span { display: block; color: var(--acc); }
.hero__lead { margin: 18px auto 0; max-width: 34em; font-size: 17px; color: var(--mute); }
.hero__lead strong { color: var(--text); font-weight: 500; }
.hero__cta { display: grid; gap: 10px; margin-top: 26px; }
.trust { margin-top: 14px; font: 400 12.5px/1.5 var(--mono); color: var(--mute); }
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--mute); }
.proof li { display: inline-flex; align-items: center; gap: 7px; }
.proof li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-2px); }

/* ---------- Die KI-App, in der jeder arbeitet ----------
   Nachempfunden einer Desktop-App für KI-Sessions: Seitenleiste mit Projekten und Sessions,
   Verlauf mit zugeklappten Befehlszeilen, Aufgaben-Karte, Eingabefeld. Ohne fremde Namen,
   Logos oder Farben. Immer dunkel, in Systemschrift – wie ein Bildschirmfoto. */

.duo { display: grid; justify-items: center; width: 100%; max-width: 1180px; margin: 0 auto; }
.win {
  width: 100%; max-width: 480px; container-type: inline-size;
  --w-bg: #1e1e1e; --w-side: #171717; --w-line: #2b2b2b; --w-line2: #383838; --w-text: #ececec; --w-mute: #a1a1a1;
  --w-faint: #6f6f6f; --w-card: #252525; --w-bubble: #2f2f2f; --w-acc: #6e9bf5; --w-ok: #3ecf8e; --w-warn: #f5a524; --w-stop: #ff7a6b;
  --w-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}
.win__owner { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.win__ava { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: var(--bg); font: 700 11px/1 var(--sans); letter-spacing: 0; }
.win__frame { display: flex; height: 440px; border: 1px solid #3a3a3a; border-radius: 12px; background: var(--w-bg); color: var(--w-text); overflow: hidden; font: 400 13.5px/1.5 var(--w-font); -webkit-font-smoothing: antialiased; text-align: left; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 50px 100px -50px rgba(0, 0, 0, 0.9), 0 40px 90px -60px color-mix(in srgb, var(--acc) 55%, transparent); }
.win svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.win__lights { display: inline-flex; gap: 7px; margin-right: 8px; }
.win__lights b { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win__lights b + b { background: #febc2e; }
.win__lights b + b + b { background: #28c840; }

/* Seitenleiste: nur, wenn das Fenster breit genug ist */
.win__side { display: none; flex: none; width: 176px; padding: 10px 8px; background: var(--w-side); border-right: 1px solid var(--w-line); font-size: 12.5px; color: var(--w-mute); overflow: hidden; }
.win__tools { display: flex; align-items: center; gap: 10px; height: 24px; margin: 0 4px 14px; color: var(--w-faint); }
.win__nav { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 7px; color: var(--w-text); font-size: 13px; }
.win__group { display: flex; align-items: center; gap: 4px; margin: 16px 8px 6px; font-size: 11.5px; color: var(--w-faint); }
.win__group svg { width: 11px; height: 11px; }
.win__sessions { display: grid; gap: 1px; }
.win__sessions li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; white-space: nowrap; overflow: hidden; color: #cfcfcf; font-size: 12.5px; }
.win__sessions li span { overflow: hidden; text-overflow: ellipsis; }
.win__sessions .is-on { background: #2a2a2a; color: var(--w-text); }
.win__sessions .w-sub { padding-left: 20px; }
.win__sessions .d { margin-left: auto; order: 2; }
.d { flex: none; width: 7px; height: 7px; border-radius: 50%; background: transparent; }
.d--ok { background: var(--w-ok); }
.d--acc { background: var(--w-acc); }
.d--warn { background: var(--w-warn); }
@container (min-width: 460px) { .win__side { display: block; } .win__lights--main { display: none; } }

/* Hauptbereich */
.win__main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.win__head { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--w-line); font-size: 13.5px; color: var(--w-text); }
.win__title { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; }
.win__title svg { width: 12px; height: 12px; color: var(--w-mute); }
.win__head > svg { margin-left: auto; color: var(--w-mute); }
.win__log { display: flex; flex-direction: column; gap: 11px; flex: 1; padding: 16px 16px 12px; overflow: hidden; justify-content: flex-end; -webkit-mask-image: linear-gradient(transparent 0, #000 40px); mask-image: linear-gradient(transparent 0, #000 40px); }
.win__log > li { flex: none; }
.w-past { color: var(--w-faint); font-size: 12.5px; }
.w-user { align-self: flex-end; max-width: 86%; padding: 8px 13px; border-radius: 16px; background: var(--w-bubble); color: var(--w-text); }
.w-text { color: var(--w-text); }
.w-text--mute { color: var(--w-mute); }
.w-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding-left: 16px; color: var(--w-mute); font-size: 13px; }
.w-row::before { content: ""; position: absolute; left: 1px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: #6b6b6b; }
.w-row:has(.w-tool--ok)::before { background: var(--w-ok); }
.w-row--wait { padding-left: 0; }
.w-row--wait::before { display: none; }
.w-tool { font-weight: 600 !important; color: var(--w-text) !important; }
.w-tool--ok { color: var(--w-ok) !important; }
.w-row b { font-weight: 500; color: #d6d6d6; }
.w-row .w-ok { color: var(--w-ok); }
.w-chev { display: inline-flex; color: var(--w-faint); }
.w-chev svg { width: 12px; height: 12px; }
.w-bg { flex-basis: 100%; margin-top: 2px; padding: 5px 8px; border-left: 2px solid #6e9bf5; border-radius: 0 4px 4px 0; background: rgba(110, 155, 245, 0.08); font-size: 12px; color: #b9cdf7; }
.w-row--wait { gap: 8px; }
.w-spin { width: 13px; height: 13px; border: 1.5px solid #4a4a4a; border-top-color: var(--w-acc); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.w-got { display: none; }
.w-row--wait.is-done .w-wait { display: none; }
.w-row--wait.is-done .w-got { display: inline; }
.w-row--wait.is-done .w-spin { animation: none; border: 0; background: var(--w-ok); }
.w-plan { display: grid; gap: 7px; padding: 11px 13px; border: 1px solid var(--w-line2); border-radius: 12px; background: var(--w-card); }
.w-plan p { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #cfcfcf; }
.w-plan i { position: relative; flex: none; width: 16px; height: 16px; border: 1.5px solid #5a5a5a; border-radius: 50%; }
.w-plan .is-run i { border-top-color: var(--w-acc); animation: spin 0.9s linear infinite; }
.w-plan .is-done { color: var(--w-mute); }
.w-plan .is-done i { border: 0; background: #9a9a9a; animation: none; }
.w-plan .is-done i::after { content: ""; position: absolute; left: 5.5px; top: 3.5px; width: 3.5px; height: 7px; border: solid var(--w-bg); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }

.win__input { display: grid; gap: 10px; margin: 0 12px; padding: 12px 12px 9px 14px; border: 1px solid #3c3c3c; border-radius: 16px; background: #262626; color: var(--w-faint); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03); }
.win__bar { display: flex; align-items: center; gap: 8px; }
.win__mode { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 3px 8px; border-radius: 7px; font-size: 12px; color: var(--w-mute); }
.win__mode svg { width: 11px; height: 11px; }
.win__send { display: grid !important; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e8e8e8; color: #1e1e1e !important; }
.win__send svg { width: 13px; height: 13px; stroke-width: 2; }
.win__field { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__field.is-typing { color: var(--w-text); white-space: normal; }
.win__field.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--w-text); animation: blink 0.9s steps(2, jump-none) infinite; }
.win__plus, .win__send { display: inline-flex; color: var(--w-mute); }
.win__foot { display: flex; align-items: center; justify-content: center; gap: 7px; height: 32px; font-size: 11.5px; color: var(--w-faint); }
.win__foot i { width: 6px; height: 6px; border-radius: 50%; background: var(--w-ok); }
@keyframes blink { 50% { opacity: 0.25; } }

/* Während des Ablaufs: noch nicht Gezeigtes fällt aus dem Verlauf heraus */
.duo.is-playing .win__log [data-seq]:not(.is-in), .duo.is-playing .win__sessions [data-seq]:not(.is-in) { display: none; }
.win__log [data-seq].is-in, .win__sessions [data-seq].is-in { animation: pop 0.35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

/* Codinat zwischen den beiden: senkrecht auf dem Handy, waagrecht ab 1000 px */
.hub { position: relative; display: grid; justify-items: center; align-content: center; gap: 8px; width: 100%; height: 132px; }
.hub__wire { position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(var(--acc) 0 6px, transparent 6px 11px); opacity: 0.8; }
.hub__dot { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 25%, transparent); opacity: 0; }
.hub__dot--back { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.hub__dot.is-in { animation: hub-down 1s var(--ease) both; }
.hub__dot--back.is-in { animation: hub-up 1s var(--ease) both; }
@keyframes hub-down { 0% { opacity: 1; top: 0; } 90% { opacity: 1; } 100% { opacity: 0; top: calc(100% - 12px); } }
@keyframes hub-up { 0% { opacity: 1; top: calc(100% - 12px); } 90% { opacity: 1; } 100% { opacity: 0; top: 0; } }
.hub__node { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--acc); color: var(--on-acc); box-shadow: 0 0 0 6px var(--bg); }
.hub__node svg { width: 28px; height: 28px; }
.hub__label { position: relative; z-index: 1; padding: 3px 8px; border-radius: 6px; background: var(--bg); font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
@media (min-width: 1000px) {
  .duo { grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1fr); align-items: end; }
  .win { max-width: 520px; }
  .win__frame { height: 460px; }
  .hub { height: 460px; align-self: end; }
  .hub__wire { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 2px; transform: translateY(-1px); background: repeating-linear-gradient(90deg, var(--acc) 0 6px, transparent 6px 11px); }
  .hub__dot { top: 50%; left: 0; margin: -6px 0 0; }
  .hub__dot.is-in { animation-name: hub-right; }
  .hub__dot--back.is-in { animation-name: hub-left; }
  @keyframes hub-right { 0% { opacity: 1; left: 0; } 90% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 12px); } }
  @keyframes hub-left { 0% { opacity: 1; left: calc(100% - 12px); } 90% { opacity: 1; } 100% { opacity: 0; left: 0; } }
  .hub__label { position: absolute; top: calc(50% + 36px); white-space: nowrap; font-size: 10px; }
}
@media (max-width: 520px) {
  .win__frame { height: 388px; }
  .win__head { height: 40px; padding: 0 12px; font-size: 13px; }
  .win__log { gap: 9px; padding: 12px 12px 10px; }
  .win__frame { font-size: 13px; }
  .w-row, .w-plan p { font-size: 12.5px; }
  .w-user { padding: 7px 11px; }
  .w-plan { padding: 9px 11px; gap: 6px; }
  .win__input { margin: 0 10px; padding: 9px 12px; }
  .win__foot { height: 28px; }
  .win__owner { margin-bottom: 9px; font-size: 11px; }
  .hub { height: 104px; }
}

/* ---------- Abschnitte ---------- */

.sec { padding: 72px 0; border-top: 1px solid var(--line); }
.sec--alt { background: var(--alt); }
.sec__head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.sec__head h2 { margin-top: 16px; font-size: clamp(30px, 8vw, 56px); }
.sec__head > p:not(.tag) { margin-top: 16px; color: var(--mute); font-size: 17px; text-wrap: balance; }

/* Vorher / Nachher */
.vs { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.vs__card { padding: 24px 20px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.vs__card--yes { border-color: var(--acc); }
.vs__label { margin-bottom: 14px; font: 600 12.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.vs__card--yes .vs__label { color: var(--acc); }
.vs__list { display: grid; gap: 14px; }
.vs__list li { position: relative; padding-left: 30px; font-size: 16px; color: var(--mute); }
.vs__list b { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }
.vs__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; }
.vs__list--no li::before { border: 1.5px solid var(--line2); background: linear-gradient(45deg, transparent 45%, var(--mute) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--mute) 45% 55%, transparent 55%); background-size: 10px 10px; background-position: center; background-repeat: no-repeat; }
.vs__list--yes li::before { background: var(--acc); }
.vs__list--yes li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px; border-left: 2px solid var(--on-acc); border-bottom: 2px solid var(--on-acc); transform: rotate(-45deg); }

/* ---------- Das ganze Büro: fünf Computer, verbunden über Codinat ---------- */

.org { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 12px; max-width: 1120px; margin: 0 auto; padding-top: 4px; }
.org__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.org__wires path { fill: none; stroke-width: 1.6; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.2s var(--ease); }
.org__wires .w-chain { stroke: var(--line2); }
.org__wires .w-group { stroke: var(--acc); stroke-width: 2; }
.org.is-wired .org__wires path { stroke-dashoffset: 0; }
.org.is-wired .org__wires .w-group { stroke-dasharray: 6 6; }
.org__wires circle { opacity: 0; transition: opacity 0.4s; }
.org.is-live .org__wires circle { opacity: 1; }
.pc { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; border: 1px solid #3a3a3a; border-radius: 11px; background: #1e1e1e; color: #ececec; font: 400 12px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9); opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.pc.is-in { opacity: 1; transform: none; }
.pc--top { grid-column: 1 / -1; justify-self: center; width: min(100%, 420px); }
.pc .win__lights { gap: 5px; margin-right: 6px; }
.pc .win__lights b { width: 8px; height: 8px; }
.pc__log { display: grid; gap: 6px; padding: 9px 10px 8px; flex: 1; align-content: end; }
.org__keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 34px; font: 500 12px/1 var(--mono); color: var(--mute); }
.org__keys li { display: inline-flex; align-items: center; gap: 8px; }
.k-chain { width: 22px; height: 2px; background: var(--line2); }
.k-group { width: 22px; height: 0; border-top: 2px dashed var(--acc); }
.k-msg { width: 9px; height: 9px; border-radius: 50%; background: var(--acc); }
@media (max-width: 520px) {
  .pc { font-size: 11.5px; }
}
@media (min-width: 900px) {
  .org { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 84px 18px; }
  .pc--d { order: 3; }
  .pc--c { order: 4; }
  .pc { font-size: 12.5px; }
  .pc--top { width: 440px; }
  .pc__log { min-height: 112px; }
}
@media (prefers-reduced-motion: reduce) { .pc { opacity: 1; transform: none; } .org__wires path { stroke-dashoffset: 0; } }

/* ---------- Geschichten mit festgehaltener Zeichnung ---------- */

.story { position: relative; height: calc(var(--n, 5) * 85svh + 30svh); border-top: 1px solid var(--line); }
.story__pin { position: sticky; top: 0; height: 100svh; overflow: clip; background-color: var(--bg); background-image: radial-gradient(var(--line) 1px, transparent 1.2px); background-size: 26px 26px; }
.story__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
/* Übergang zum ganzen Unternehmen: das Team zoomt heraus, das Netz wächst drumherum ins Bild.
   --zoom läuft beim Scrollen von 0 bis 1 (gesetzt in v5.js). */
.story--grow { --zoom: 0; --ox: 50%; --oy: 40%; }
.story--grow .story__canvas { transform-origin: var(--ox) var(--oy); will-change: transform, opacity; }
#grow { opacity: calc(1 - var(--zoom) * 1.25); transform: scale(calc(1 - var(--zoom) * 0.62)); }
.story__canvas--whole { opacity: calc(var(--zoom) * 1.4 - 0.25); transform: scale(calc(1.9 - var(--zoom) * 0.9)); pointer-events: none; }
.story--grow.is-whole .story__canvas--whole { pointer-events: auto; cursor: grab; }
.story--grow.is-whole #grow { pointer-events: none; }
.story__card { position: absolute; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 2; padding: 16px 18px 18px; border: 1px solid var(--line2); border-radius: 12px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.story--house .story__card { max-height: 42svh; }
/* Phones: the drawing needs the room – the Codinat boxes under the text appear from 640 px on. */
@media (max-width: 639px) { .story .rule { display: none; } }
.rail { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; font: 500 12px/1 var(--mono); color: var(--mute); }
.rail b { color: var(--acc); font-weight: 600; }
.rail span { margin-right: 8px; }
.rail i { flex: 1; max-width: 28px; height: 3px; border-radius: 2px; background: var(--line2); transition: background-color 0.4s; }
.rail i.is-on { background: var(--acc); }
.story__text { display: grid; }
.chap { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.3s; }
.chap.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s 0.1s, transform 0.6s 0.1s var(--ease), visibility 0s; }
.chap h2 { font-size: 23px; letter-spacing: -0.03em; }
.chap p { margin-top: 6px; font-size: 15.5px; line-height: 1.45; color: var(--mute); }
.chap__tag { margin: 0 0 6px !important; font: 600 11px/1 var(--mono) !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc) !important; }

/* Regeln, wie sie in der Codinat-Oberfläche angelegt werden */
.rule { margin-top: 12px; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg); overflow: hidden; }
.rule__head { display: flex; align-items: center; gap: 8px; margin: 0 !important; padding: 7px 10px; border-bottom: 1px solid var(--line); font: 600 12.5px/1 var(--sans) !important; color: var(--text) !important; }
.rule__head span { padding: 3px 6px; border-radius: 5px; background: var(--acc); color: var(--on-acc); font: 600 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.rule dl { display: grid; margin: 0; padding: 4px 10px 6px; }
.rule div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font: 400 12px/1.35 var(--mono); }
.rule div + div { border-top: 1px dashed var(--line); }
.rule dt { color: var(--mute); }
.rule dd { margin: 0; color: var(--text); text-align: right; }

/* ---------- Einrichten ---------- */

.steps { display: grid; gap: 14px; max-width: 1100px; margin: 0 auto; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 22px 24px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.step__no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--acc); color: var(--on-acc); font: 700 17px/1 var(--mono); }
.step h3 { margin-top: 16px; font-size: 23px; }
.step > p:not(.step__demo) { margin-top: 8px; color: var(--mute); font-size: 16px; max-width: 24em; }
.step__demo { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; }
.step__demo code, .okchip, .ways { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px dashed var(--line2); border-radius: 12px; font: 600 15px/1 var(--mono); letter-spacing: 0.06em; }
.step__demo code { color: var(--acc); }
.okchip { border: 1px solid var(--ok); color: var(--ok); }
.ways { font-size: 13px; letter-spacing: 0.04em; }
.ways i { width: 22px; height: 2px; background: var(--text); position: relative; }
.ways i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left: 6px solid var(--text); border-right: 0; }
.ways--group i { background: var(--acc); }
.ways--group i::after { display: none; }

/* ---------- Kontrolle ---------- */

.grid4 { display: grid; gap: 12px; }
.tile { padding: 22px 20px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.tile h3 { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 10px; align-items: start; font-size: 20px; }
.tile h3::before { content: ""; width: 10px; height: 10px; margin-top: calc((1lh - 10px) / 2); border-radius: 3px; background: var(--acc); }
.tile--stop h3::before { background: var(--stop); }
.tile p { margin-top: 8px; color: var(--mute); font-size: 15.5px; }

/* ---------- Fahrplan ---------- */

.road { display: grid; gap: 12px; }
.road__col { padding: 22px 20px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.road__col h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.road__col h3 i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--mute); }
.road__col--done h3 i { background: var(--ok); border-color: var(--ok); }
.road__col--now h3 i { border-color: var(--acc); background: linear-gradient(90deg, var(--acc) 50%, transparent 50%); }
.road__col ul { display: grid; gap: 9px; margin-top: 14px; }
.road__col li { position: relative; padding-left: 18px; font-size: 15.5px; color: var(--mute); }
.road__col li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--line2); }
.road__col--done li { color: var(--text); }
.road__col--done li::before { background: var(--ok); }
.road__col b { color: var(--text); }

/* ---------- Preise ---------- */

.prices { display: grid; gap: 14px; max-width: 920px; margin: 0 auto; }
.price { display: flex; flex-direction: column; padding: 26px 22px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.price--main { border: 2px solid var(--acc); }
#privat { order: -1; }
.final__cta { display: grid; gap: 10px; justify-content: center; }
.price__tag { display: flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc); }
.price__sum { margin-top: 18px; font-size: clamp(38px, 10vw, 56px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.price__sub { margin-top: 10px; color: var(--mute); }
.ticks { display: grid; gap: 10px; margin: 20px 0 24px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 12px; height: 6px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.price .btn { margin-top: auto; }

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

.faq { border-top: 1px solid var(--line2); }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 26px/1 var(--mono); color: var(--acc); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--mute); }

/* ---------- Abschluss und Fuß ---------- */

.final { padding: 80px 0 96px; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 70%); }
.final h2 { max-width: 14em; margin: 0 auto; font-size: clamp(34px, 9vw, 72px); letter-spacing: -0.045em; }
.final p { max-width: 32em; margin: 18px auto 28px; color: var(--mute); }
.foot { padding: 44px 0 110px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.foot__in { display: grid; gap: 28px; }
.foot__in > * { display: grid; align-content: start; gap: 10px; }
.foot__brand p { line-height: 1.5; }
.foot nav p, .foot__in > div:last-child p { font: 600 11.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.foot a:not(.brand) { color: var(--mute); text-decoration: none; }

/* Fester Knopf auf dem Handy */
.dock { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 25; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font: 600 17px/1 var(--sans); text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6); transform: translateY(140%); transition: transform 0.35s var(--ease); }
.show-dock .dock { transform: none; }

/* ---------- Bewegung ---------- */

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

/* ---------- Ab 640 px ---------- */

@media (min-width: 640px) {
  :root { --pad: 32px; }
  .hero__cta { display: flex; justify-content: center; }
  .bar .btn--sm { display: inline-flex; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs__card, .tile, .road__col { padding: 28px 26px; }
  .price { padding: 32px 30px; }
  .story__card { left: 50%; right: auto; width: min(560px, calc(100% - 48px)); transform: translateX(-50%); bottom: 24px; }
  .chap h2 { font-size: 27px; }
  .chap p { font-size: 16.5px; }
  .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Ab 900 px: zwei Spalten, Text neben der Zeichnung ---------- */

@media (min-width: 900px) {
  .dock { display: none; }
  .nav { display: flex; gap: 2px; margin: 0 auto; font-size: 14.5px; }
  .nav a { padding: 8px 13px; border-radius: 999px; color: var(--mute); text-decoration: none; }
  .nav a:hover { color: var(--text); }
  .bar__end { margin-left: 0; }
  .hero { padding: 132px 0 96px; }
  .hero__in { gap: 56px; }
  .hero__text { max-width: 900px; margin: 0 auto; }
  .hero__lead { font-size: 19px; }
  .sec { padding: 120px 0; }
  .sec__head { margin-bottom: 56px; }
  .vs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .road { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prices { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
  .story__card { left: max(32px, calc((100vw - 1200px) / 2 + 32px)); right: auto; top: 50%; bottom: auto; width: 380px; transform: translateY(-50%); padding: 28px 28px 30px; }
  .chap h2 { font-size: clamp(30px, 2.8vw, 40px); }
  .chap p { margin-top: 10px; font-size: 17.5px; }
  .chap__tag { margin-bottom: 10px !important; }
  .rail { margin-bottom: 22px; }
  .btn--stop { margin-top: 20px; }
  .final { padding: 140px 0; }
  .final__cta { display: flex; }
  .foot { padding-bottom: 48px; }
  .foot__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
/* Das Haus wechselt erst ab 1081 px in zwei Spalten (so rechnet tower.js). */
@media (min-width: 900px) and (max-width: 1080px) {
  .story--house .story__card { left: 50%; top: auto; bottom: 24px; width: min(560px, calc(100% - 48px)); transform: translateX(-50%); padding: 18px 22px 20px; max-height: 40svh; }
}
@media (min-width: 1081px) {
  .story--house .story__card { width: min(460px, calc(max(540px, 44vw) - 72px)); max-height: none; }
}
@media (min-width: 1100px) {
  .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(56px, 5.4vw, 80px); }
}

/* ---------- Trust Center (sicherheit.html) ---------- */

.st { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px 5px 8px; border: 1px solid var(--line2); border-radius: 6px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.04em; color: var(--text); white-space: nowrap; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--mute); }
.st--done { border-color: color-mix(in srgb, var(--ok) 45%, var(--line2)); }
.st--done::before { background: var(--ok); border-color: var(--ok); }
.st--now { border-color: color-mix(in srgb, var(--acc) 45%, var(--line2)); }
.st--now::before { border-color: var(--acc); background: linear-gradient(90deg, var(--acc) 50%, transparent 50%); }
.st--plan { color: var(--mute); }
.st--no { color: var(--mute); border-style: dashed; }
.st--no::before { border-style: dashed; }

.thero { padding: 112px 0 56px; background: radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 70%); }
.crumbs { display: flex; gap: 8px; margin-bottom: 22px; font: 400 13px/1 var(--mono); color: var(--mute); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.thero h1 { margin-top: 18px; max-width: 13em; font-size: clamp(40px, 10.5vw, 84px); letter-spacing: -0.05em; line-height: 0.98; }
.thero h1 span { color: var(--acc); }
.lead { margin-top: 22px; max-width: 40em; font-size: 18.5px; color: var(--mute); }
.stamp { margin-top: 14px; font: 400 13px/1.5 var(--mono); color: var(--mute); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 40px; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: var(--line2); }
.facts li { display: grid; gap: 6px; align-content: start; padding: 20px 18px; background: var(--surface); }
.facts b { font-size: 22px; letter-spacing: -0.03em; }
.facts span { font-size: 14px; line-height: 1.45; color: var(--mute); }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.sec__head--left { margin-left: 0; text-align: left; }
.split { display: grid; gap: 16px; }
.kv { margin: 0; border-top: 1px solid var(--line2); }
.kv > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line2); }
.kv dt { font: 500 12px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.kv dd { margin: 0; font-size: 17px; }
.panel { padding: 24px 22px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.panel h3 { font-size: 20px; }
.panel .ticks { margin: 16px 0 0; }
.panel .ticks li { font-size: 15.5px; color: var(--mute); }
.panel__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.panel--soft { background: transparent; }

/* Datenfluss */
.flow { display: grid; gap: 0; }
.flow__node { padding: 22px 20px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.flow__node--hub { border-color: color-mix(in srgb, var(--acc) 55%, var(--line2)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 10%, transparent), 0 24px 60px -30px color-mix(in srgb, var(--acc) 50%, transparent); }
.flow__kicker { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.flow__node h3 { margin-top: 10px; font-size: 21px; }
.flow__node > p:not(.flow__kicker):not(.flow__side) { margin-top: 8px; font-size: 15px; color: var(--mute); }
.flow__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.flow__chips li { padding: 6px 10px; border: 1px solid var(--line2); border-radius: 8px; font: 500 12px/1 var(--mono); }
.flow__side { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line2); font-size: 13.5px; color: var(--mute); }
.flow__side i { display: inline-block; margin-right: 8px; vertical-align: 1px; width: 8px; height: 8px; border-radius: 2px; background: var(--mute); }
.flow__side .st { margin-left: 6px; vertical-align: 1px; }
.flow__side--opt i { background: transparent; border: 1.5px dashed var(--acc); }
.flow__link { position: relative; display: grid; place-items: center; height: 56px; }
.flow__link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--ok); opacity: 0.7; }
.flow__link span { position: relative; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--ok) 50%, var(--line2)); border-radius: 999px; background: var(--bg); font: 500 11.5px/1 var(--mono); color: var(--ok); }
.sec--alt .flow__link span { background: var(--alt); }

/* Tabellen */
.table { border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: var(--surface); }
.table__row { display: grid; gap: 6px; padding: 16px 18px; border-top: 1px solid var(--line); }
.table__row:first-child { border-top: 0; }
.table__row--head { display: none; }
.table__row b { font-size: 16px; }
.table__row > span { font-size: 15px; color: var(--mute); }
.table__row > span:last-child { margin-top: 4px; }

.levels { margin-top: 28px; padding: 24px 22px; border: 1px solid var(--line2); border-radius: 12px; }
.levels h3 { font-size: 22px; }
.levels header p { margin-top: 8px; color: var(--mute); font-size: 15.5px; }
.levels__row { display: grid; gap: 10px; margin-top: 18px; counter-reset: lv; }
.levels__row li { display: grid; gap: 4px; padding: 16px 16px 16px 52px; position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); counter-increment: lv; }
.levels__row li::before { content: counter(lv); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line2); font: 500 12px/1 var(--mono); color: var(--mute); }
.levels__row b { font-size: 17px; }
.levels__row span { font-size: 14.5px; color: var(--mute); }

/* Anbindungen */
.cards3 { display: grid; gap: 12px; }
.card { padding: 22px 20px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__top b { font-size: 19px; letter-spacing: -0.02em; }
.card > p:not(.card__top) { margin-top: 10px; font-size: 15px; color: var(--mute); }

/* Verträge annehmen – Beispiel */
.consent { border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.6); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.consent__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--alt); }
.consent__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.consent__bar i:nth-child(2) { background: #febc2e; }
.consent__bar i:nth-child(3) { background: #28c840; }
.consent__bar span { margin-left: 8px; font-size: 12.5px; color: var(--mute); }
.consent__body { display: grid; gap: 10px; padding: 22px 20px; }
.consent__title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.consent__sub { margin-top: -6px; margin-bottom: 6px; font-size: 13.5px; color: var(--mute); }
.check { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line2); border-radius: 12px; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.check:has(input:checked) { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 7%, transparent); }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acc); }
.check span { display: grid; gap: 3px; }
.check b { font-size: 15px; }
.check small { font-size: 13.5px; line-height: 1.4; color: var(--mute); }
.consent .btn { margin-top: 6px; min-height: 46px; font-family: inherit; font-size: 15px; }
.consent .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.consent__ok { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); font-size: 13.5px; }
.accept h3 { font-size: 20px; }
.accept__list { display: grid; gap: 0; margin: 14px 0 22px; border-left: 2px solid var(--line2); }
.accept__list li { display: grid; gap: 4px; padding: 0 0 18px 20px; position: relative; }
.accept__list li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--acc); }
.sec--alt .accept__list li::before { background: var(--alt); }
.accept__list b { font-size: 17px; }
.accept__list span { font-size: 15px; color: var(--mute); }

@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .cards3 { grid-template-columns: 1fr 1fr; }
  .levels__row { grid-template-columns: repeat(3, 1fr); }
  .table__row { grid-template-columns: 180px 1fr 150px; gap: 20px; align-items: center; }
  .table--4 .table__row { grid-template-columns: 1.2fr 1.2fr 1.4fr 120px; }
  .table__row--head { display: grid; padding: 12px 18px; background: var(--alt); }
  .table__row--head span { font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
  .table__row > span:last-child { margin-top: 0; }
}
@media (min-width: 1000px) {
  .thero { padding: 148px 0 72px; }
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .split--consent { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 56px; }
  .cards3 { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: 1fr 120px 1.2fr 120px 1fr; align-items: center; }
  .flow__link { height: auto; align-self: stretch; }
  .flow__link::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 2px; }
}
.facts--home { margin-top: 0; }
.center { margin-top: 28px; text-align: center; }

/* ---------- Startseite: Kapitel-Link, USP, Für wen, Benachrichtigungen, Gedächtnis ---------- */

.chap__link { display: inline-flex; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--acc); text-decoration: none; }
.chap__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.usp { display: grid; gap: 1px; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: var(--line2); }
.usp__item { padding: 26px 22px; background: var(--surface); }
.usp__no { font: 500 12px/1 var(--mono); color: var(--acc); letter-spacing: 0.08em; }
.usp__item h3 { margin-top: 14px; font-size: 22px; }
.usp__item p { margin-top: 10px; font-size: 15.5px; color: var(--mute); }

.cmp { margin-top: 20px; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: var(--surface); font-size: 14px; }
.cmp__row { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); align-items: center; gap: 8px; padding: 13px 16px; border-top: 1px solid var(--line); }
.cmp__row:first-child { border-top: 0; }
.cmp__row--head { background: var(--alt); font: 500 11px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.cmp__row > span { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; color: var(--mute); font-size: 13px; }
.cmp__row > span:first-child { color: var(--text); font-size: 14px; }
.cmp__row--head .cmp__us { color: var(--acc); }
.cmp i { flex: none; position: relative; width: 18px; height: 18px; border-radius: 50%; }
.cmp i.y { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.cmp i.y::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cmp i.n::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 2px; background: var(--line2); }
.cmp i.p { border: 1.5px solid var(--mute); background: linear-gradient(90deg, var(--mute) 50%, transparent 50%); width: 14px; height: 14px; }

.aud__tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 22px; padding: 4px; border: 1px solid var(--line2); border-radius: 10px; background: var(--surface); overflow-x: auto; }
.aud__tabs button { padding: 10px 18px; border: 0; border-radius: 7px; background: transparent; color: var(--mute); font: 500 15px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.aud__tabs [aria-selected="true"] { background: var(--text); color: var(--bg); }
.aud__panel { display: grid; gap: 22px; padding: 24px 20px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.aud__panel[hidden] { display: none; }
.aud__text h3 { font-size: clamp(22px, 5.5vw, 30px); }
.aud__text > p { margin-top: 12px; color: var(--mute); }
.aud__text .ticks { margin: 18px 0 22px; }
.aud__text .ticks li { font-size: 15.5px; }
.aud__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.aud__more { font-weight: 600; color: var(--acc); text-decoration: none; }

.thread { --t-bg: #1e1e1e; border: 1px solid #3a3a3a; border-radius: 12px; overflow: hidden; background: var(--t-bg); color: #ececec; font: 400 13.5px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9); align-self: start; }
.thread__head { display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-bottom: 1px solid #2e2e2e; background: #191919; font-size: 12.5px; color: #a8a8a8; }
.thread__log { display: grid; gap: 11px; padding: 16px; }
.t-user { justify-self: end; max-width: 86%; padding: 8px 13px; border-radius: 16px; background: #303030; }
.t-text { color: #ececec; }
.t-tool { position: relative; padding-left: 16px; color: #a8a8a8; font-size: 13px; }
.t-tool::before { content: ""; position: absolute; left: 1px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: #6b6b6b; }
.t-tool b { font-weight: 600; color: #ececec; }
.t-tool--ok::before { background: #3ecf8e; }
.t-tool--ok b { color: #3ecf8e; }
.thread code { padding: 1px 5px; border-radius: 5px; background: #2c2c2c; font: 12.5px var(--mono); }

.prefs { display: grid; gap: 10px; max-width: 760px; margin: 0 auto 40px; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 10px; background: var(--surface); }
.prefs__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.prefs__k { font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line2); border-radius: 8px; background: var(--alt); }
.seg span { padding: 6px 11px; border-radius: 6px; font-size: 13.5px; color: var(--mute); }
.seg .is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), 0 0 0 1px var(--line2); }
.ping { display: grid; gap: 36px; }
.ping__col { display: grid; gap: 14px; align-content: start; justify-items: center; }
.ping__col > div { width: 100%; }
.ping__col figcaption { display: flex; align-items: baseline; gap: 8px; font-size: 15px; }
.ping__col figcaption span { color: var(--mute); font-size: 14px; }

/* the coordinator with waiting questions */
.queue { max-width: 380px; border: 1px solid #3a3a3a; border-radius: 10px; overflow: hidden; background: #1e1e1e; color: #ececec; font: 400 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9); }
.queue__head { display: flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px; border-bottom: 1px solid #2e2e2e; background: #191919; font-size: 12px; color: #a8a8a8; }
.queue .win__lights b { width: 9px; height: 9px; }
.queue__list { display: grid; }
.queue__list li { position: relative; display: grid; gap: 2px; padding: 11px 14px 11px 30px; border-bottom: 1px solid #2a2a2a; }
.queue__list li::before { content: ""; position: absolute; left: 13px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: #e5a400; }
.queue__who { font-size: 11.5px; font-weight: 600; color: #a8a8a8; }
.queue__list time { position: absolute; right: 12px; top: 11px; font-size: 11px; color: #777; }
.queue__foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 12px; color: #a8a8a8; }

/* iPhone with a WhatsApp-style chat, drawn like a screenshot */
.iphone { width: 100%; max-width: 318px; padding: 9px; border-radius: 54px; background: linear-gradient(160deg, #3a3a3c, #121214 30%, #121214 70%, #2c2c2e); box-shadow: 0 0 0 1px #48484a, 0 50px 90px -40px rgba(0, 0, 0, 0.9); }
.iphone__screen { position: relative; overflow: hidden; border-radius: 45px; background: #0b141a; color: #e9edef; font: 400 14px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
.ios-bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 6px 26px 0 34px; background: #1f2c33; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.ios-island { position: absolute; left: 50%; top: 10px; width: 96px; height: 28px; margin-left: -48px; border-radius: 16px; background: #000; }
.ios-icons { display: inline-flex; align-items: center; gap: 5px; }
.ios-icons svg { height: 11px; width: auto; fill: currentColor; }
.ios-icons .ios-batt { height: 12px; }
.wa-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 9px 8px; background: #1f2c33; border-bottom: 1px solid #222d34; }
.wa-back { display: inline-flex; align-items: center; gap: 2px; color: #00a884; font-size: 15px; }
.wa-back svg { width: 10px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wa-ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--acc); color: var(--on-acc); }
.wa-ava svg { width: 19px; height: 19px; }
.wa-name { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.wa-name b { font-size: 15px; font-weight: 600; }
.wa-name small { font-size: 11.5px; color: #8696a0; }
.wa-icons { display: inline-flex; gap: 16px; color: #00a884; }
.wa-icons svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.wa-chat { display: grid; gap: 6px; align-content: end; min-height: 372px; padding: 10px 9px 12px; background-color: #0b141a; background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1.2px), radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1.2px); background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px; }
.wa-day { justify-self: center; margin-bottom: 4px; padding: 4px 10px; border-radius: 7px; background: #182229; font-size: 11.5px; color: #8696a0; }
.wa-msg { position: relative; max-width: 88%; padding: 6px 8px 18px 9px; border-radius: 8px; font-size: 13.5px; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.25); }
.wa-msg time { position: absolute; right: 8px; bottom: 4px; display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: #8696a0; }
.wa-msg time svg { width: 15px; height: 10px; fill: none; stroke: #53bdeb; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wa-msg ol { display: grid; gap: 4px; margin: 6px 0 2px; padding-left: 16px; list-style: decimal; }
.wa-msg ol li::marker { color: #8696a0; }
.wa-msg--in { justify-self: start; background: #202c33; border-top-left-radius: 0; }
.wa-msg--in::before { content: ""; position: absolute; left: -7px; top: 0; border-top: 9px solid #202c33; border-left: 8px solid transparent; }
.wa-msg--out { justify-self: end; background: #005c4b; border-top-right-radius: 0; }
.wa-msg--out::before { content: ""; position: absolute; right: -7px; top: 0; border-top: 9px solid #005c4b; border-right: 8px solid transparent; }
.wa-btns { display: grid; margin: 10px -8px -18px -9px; border-top: 1px solid #2f3b43; }
.wa-btns span { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px; color: #53bdeb; font-size: 13.5px; font-weight: 500; }
.wa-btns span + span { border-top: 1px solid #2f3b43; }
.wa-btns svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa-input { display: flex; align-items: center; gap: 9px; padding: 7px 10px 26px; background: #1f2c33; }
.wa-plus { color: #8696a0; font-size: 24px; line-height: 1; }
.wa-field { flex: 1; padding: 7px 12px; border-radius: 12px; background: #2a3942; color: #8696a0; font-size: 13.5px; }
.wa-mic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #00a884; color: #0b141a; }
.wa-mic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ios-home { position: absolute; left: 50%; bottom: 8px; width: 112px; height: 4.5px; margin-left: -56px; border-radius: 3px; background: #e9edef; opacity: 0.85; }

/* team chat in a Slack-like layout, drawn like a screenshot */
.sk { display: grid; grid-template-columns: 138px minmax(0, 1fr); max-width: 460px; border: 1px solid #3b3d42; border-radius: 10px; overflow: hidden; background: #1a1d21; color: #d1d2d3; font: 400 13.5px/1.42 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9); }
.sk__side { padding: 10px 6px; background: #19171d; border-right: 1px solid #2c2d30; font-size: 12px; color: #b9babd; }
.sk__side p { padding: 3px 8px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk__ws { margin-bottom: 8px; font-weight: 800; color: #fff; font-size: 13.5px; }
.sk__sec { margin-top: 8px; font-size: 11.5px; color: #8b8c8f; }
.sk__side .is-on { background: #1164a3; color: #fff; }
.sk__side .is-bold { font-weight: 700; color: #fff; }
.sk__app { display: flex; align-items: center; gap: 6px; }
.sk__app i { width: 8px; height: 8px; border-radius: 50%; background: #2bac76; }
.sk__chan { padding: 10px 14px; border-bottom: 1px solid #2c2d30; font-weight: 800; color: #fff; }
.sk__msg { display: flex; gap: 9px; padding: 12px 14px 14px; }
.sk__ava { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: var(--acc); color: var(--on-acc); }
.sk__ava svg { width: 20px; height: 20px; }
.sk__body { min-width: 0; }
.sk__body > p + p, .sk__body > blockquote, .sk__body > p + blockquote { margin-top: 5px; }
.sk__who { display: flex; align-items: baseline; gap: 6px; }
.sk__who b { color: #fff; font-weight: 800; }
.sk__who span { padding: 0 4px; border-radius: 3px; background: #2c2d30; font-size: 10px; font-weight: 700; color: #ababad; }
.sk__who time { font-size: 11.5px; color: #8b8c8f; }
.sk__body blockquote { margin: 6px 0 0; padding-left: 10px; border-left: 4px solid #545454; color: #d1d2d3; }
.sk__fields { display: flex; gap: 22px; margin-top: 8px !important; }
.sk__fields span { display: grid; font-weight: 700; color: #fff; }
.sk__fields small { font-weight: 400; font-size: 11.5px; color: #8b8c8f; }
.sk__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.sk__btns span { padding: 4px 11px; border: 1px solid #565856; border-radius: 4px; font-weight: 700; font-size: 12.5px; color: #e8e8e8; }
.sk__btns .is-main { background: #007a5a; border-color: #007a5a; color: #fff; }
.sk__thread { display: flex; align-items: center; gap: 4px; margin-top: 10px !important; font-size: 12px; color: #1d9bd1; }
.sk__thread i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: #3f4b5a; color: #fff; font: 700 10px/1 var(--sans); font-style: normal; }

.ping.is-armed .wa-msg, .ping.is-armed .sk__thread, .ping.is-armed .queue__list li { opacity: 0; transform: translateY(6px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.ping.is-armed.is-on .queue__list li, .ping.is-armed.is-on .wa-msg, .ping.is-armed.is-on .sk__thread { opacity: 1; transform: none; }
.ping.is-armed.is-on .queue__list li:nth-child(2) { transition-delay: 0.25s; }
.ping.is-armed.is-on .queue__list li:nth-child(3) { transition-delay: 0.5s; }
.ping.is-armed.is-on .wa-msg:nth-of-type(1) { transition-delay: 1s; }
.ping.is-armed.is-on .wa-msg:nth-of-type(2) { transition-delay: 2.2s; }
.ping.is-armed.is-on .wa-msg:nth-of-type(3) { transition-delay: 2.9s; }
.ping.is-armed.is-on .sk__thread { transition-delay: 2.4s; }

.mem { background: radial-gradient(70% 90% at 80% 50%, color-mix(in srgb, var(--acc) 10%, transparent), transparent 70%); }
.mem__in { display: grid; gap: 36px; align-items: center; }
.mem__text h2 { margin-top: 16px; font-size: clamp(30px, 8vw, 56px); }
.mem__text > p { margin-top: 16px; color: var(--mute); }
.mem__claim { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 20px 0 24px !important; color: var(--text) !important; font-size: 17px; }
.mem__claim b:nth-child(2) { color: var(--acc); }
.mem__stamp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.stack { display: grid; gap: 0; padding: 18px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.stack__layer { padding: 16px; border-radius: 14px; }
.stack__layer--net { border: 1px solid color-mix(in srgb, var(--acc) 50%, var(--line2)); }
.stack__layer--db { border: 1px dashed var(--line2); background: var(--alt); }
.stack__label { font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.stack__nodes, .stack__tables { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stack__nodes li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--line2); border-radius: 999px; font-size: 13.5px; }
.stack__nodes li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.stack__tables li { padding: 9px 12px; border: 1px solid var(--line2); border-radius: 8px; background: var(--surface); font: 500 12px/1 var(--mono); }
.stack__wires { display: flex; justify-content: space-around; height: 44px; padding: 0 18%; }
.stack__wires i { width: 2px; background: repeating-linear-gradient(var(--acc) 0 5px, transparent 5px 9px); background-size: 2px 18px; animation: flow 1.2s linear infinite; }
@keyframes flow { to { background-position: 0 18px; } }
@media (prefers-reduced-motion: reduce) { .stack__wires i { animation: none; } }

@media (min-width: 720px) {
  .usp { grid-template-columns: 1fr 1fr; }
  .aud__panel { padding: 32px; }
}
@media (min-width: 1000px) {
  .usp { grid-template-columns: repeat(4, 1fr); }
  .aud__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; padding: 40px; align-items: center; }
  .ping { grid-template-columns: minmax(0, 1fr) minmax(0, 318px) minmax(0, 1fr); gap: 32px; align-items: center; }
  .mem__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}
@media (max-width: 640px) {
  .cmp__row { grid-template-columns: 1.3fr repeat(3, 1fr); padding: 12px 12px; gap: 6px; }
  .cmp__row > span:first-child { font-size: 13px; }
  .cmp__row > span { font-size: 11.5px; }
  .cmp__row--head { font-size: 9.5px; }
}

/* ---------- Gedächtnis (gedaechtnis.html) ---------- */
.tc .mem__claim { margin-top: 22px !important; }
.stack--big .stack__layer { padding: 20px; }
.cases { display: grid; gap: 16px; }
.case { display: grid; gap: 16px; align-content: start; padding: 22px 20px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.case__tag { font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
.case h3 { font-size: 20px; line-height: 1.2; }
.morph { display: grid; gap: 10px; }
.morph p { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.morph code { padding: 7px 10px; border: 1px dashed var(--line2); border-radius: 8px; font: 12.5px var(--mono); color: var(--mute); }
.morph b { padding: 7px 11px; border: 1px solid color-mix(in srgb, var(--acc) 50%, var(--line2)); border-radius: 8px; font-size: 13.5px; }
.morph span { flex-basis: 100%; font-size: 13px; color: var(--mute); }
.morph__arrow { font-size: 22px; color: var(--acc); }
@media (min-width: 1000px) { .cases { grid-template-columns: repeat(3, 1fr); } }


/* ---------- Auf einen Blick, Hierarchie mit Rechten, zentrale Datenbank ---------- */
.glance__grid { display: grid; gap: 12px; }
.glance__col { display: grid; align-content: start; gap: 18px; padding: 24px 22px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.glance__col--ent { border-color: color-mix(in srgb, var(--acc) 45%, var(--line2)); background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 7%, var(--surface)), var(--surface) 60%); }
.glance__label { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.glance__col--ent .glance__label { color: var(--acc); }
.glance__list { display: grid; }
.glance__list li { display: grid; gap: 3px; padding: 13px 0 13px 28px; border-top: 1px solid var(--line); position: relative; }
.glance__list li:first-child { border-top: 0; padding-top: 0; }
.glance__list li::before { content: ""; position: absolute; left: 3px; top: 19px; width: 11px; height: 5.5px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.glance__list li:first-child::before { top: 6px; }
.glance__list b { font-size: 16.5px; letter-spacing: -0.01em; }
.glance__list span { font-size: 14.5px; color: var(--mute); }
@media (min-width: 900px) { .glance__grid { grid-template-columns: 1.1fr 1fr; gap: 16px; } .glance__col { padding: 30px; } }

.pc__rights { margin: 0 8px 8px; padding: 6px 9px; border-top: 1px solid #2b2b2b; font-size: 10.5px; color: #9a9a9a; }
.pc__rights b { font-weight: 600; color: #d8d8d8; }
.org__keys .k-db { width: 16px; height: 0; border-top: 2px dotted var(--ok); }
.db { position: relative; z-index: 1; grid-column: 1 / -1; order: 10; padding: 16px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.org.is-db .db { opacity: 1; transform: none; }
.db__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.db__name { font-size: 15px; }
.db__name b { font-size: 17px; }
.db__opt { font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
.org__wires .w-db { stroke: var(--ok); stroke-width: 1.6; stroke-dasharray: 2 5 !important; opacity: 0; transition: opacity 0.6s; }
.org.is-db .org__wires .w-db { opacity: 0.9; }
@media (min-width: 900px) {
  .db { padding: 20px 22px; }
  }
@media (prefers-reduced-motion: reduce) { .db { opacity: 1; transform: none; } }
.org__wires .dot-db { opacity: 0 !important; }
.org.is-db.is-live .org__wires .dot-db { opacity: 1 !important; }

/* ---------- Zentrale Datenbank (datenbank.html) ---------- */
.layers { display: grid; gap: 0; margin-bottom: 16px; }
.layers__row { padding: 18px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.layers__row--top { border-color: color-mix(in srgb, var(--acc) 45%, var(--line2)); }
.layers__row--db { border-color: color-mix(in srgb, var(--ok) 45%, var(--line2)); background: linear-gradient(180deg, color-mix(in srgb, var(--ok) 6%, var(--surface)), var(--surface)); }
.layers__label { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.layers__row--db .layers__label { color: var(--ok); }
.layers__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.layers__items li { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 8px; background: var(--alt); font-size: 14px; font-weight: 500; }
.layers__items small { font-size: 12px; font-weight: 400; color: var(--mute); }
.layers__items--src li { font: 500 12.5px/1.2 var(--mono); }
.layers__link { position: relative; display: grid; place-items: center; height: 52px; }
.layers__link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--line2); }
.layers__link span { position: relative; padding: 5px 10px; border: 1px solid var(--line2); border-radius: 6px; background: var(--alt); font: 500 11.5px/1.3 var(--mono); color: var(--mute); text-align: center; }
.cards3--tight { margin-top: 4px; }

/* ---------- XGait als App-Fenster (zentrale Datenbank) ---------- */
.db { padding: 18px; }
.db__lead { max-width: 60em; margin: 8px 0 16px; font-size: 14.5px; color: var(--mute); }
.xgw { --x-bg: #0b1020; --x-side: #080c18; --x-line: #1c2436; --x-line2: #27314a; --x-text: #f2f4f8; --x-mute: #8b95a7; --x-cyan: #5ee2ff; --x-blue: #2d6cff; --x-ok: #34d399; container-type: inline-size; border: 1px solid #2a3350; border-radius: 10px; overflow: hidden; background: var(--x-bg); color: var(--x-text); font: 400 12.5px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; text-align: left; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 50px 100px -50px rgba(0, 0, 0, 0.9), 0 40px 90px -60px rgba(94, 226, 255, 0.35); }
.xgw__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-bottom: 1px solid var(--x-line); background: var(--x-side); }
.xgw__bar .win__lights b { width: 10px; height: 10px; }
.xgw__brand { font-size: 12.5px; color: var(--x-mute); white-space: nowrap; }
.xgw__brand b { color: var(--x-text); letter-spacing: -0.01em; }
.xgw__search { display: none; align-items: center; gap: 7px; flex: 1; max-width: 340px; margin: 0 auto; padding: 5px 10px; border: 1px solid var(--x-line2); border-radius: 6px; color: var(--x-mute); font-size: 12px; }
.xgw__search svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.xgw__user { display: grid; place-items: center; width: 24px; height: 24px; margin-left: auto; border-radius: 50%; background: var(--x-blue); color: #fff; font-size: 10px; font-weight: 700; }
.xgw__body { display: grid; grid-template-columns: minmax(0, 1fr); }
.xgw__side { display: none; padding: 12px 8px; border-right: 1px solid var(--x-line); background: var(--x-side); }
.xgw__side p { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 8px; border-radius: 5px; color: #c9d0dc; white-space: nowrap; }
.xgw__side p span { overflow: hidden; text-overflow: ellipsis; }
.xgw__side small { color: var(--x-mute); font-size: 11px; font-variant-numeric: tabular-nums; }
.xgw__side .xgw__sec { margin-top: 10px; padding-top: 0; font: 600 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--x-mute); }
.xgw__side .xgw__sec:first-child { margin-top: 0; }
.xgw__new { position: relative; padding-left: 18px !important; }
.xgw__new::before { content: ""; position: absolute; left: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--x-cyan); }
.xgw__new em { flex: none; padding: 1px 5px; border: 1px solid #5b4a1f; border-radius: 4px; font-style: normal; font-size: 10px; color: #f5c451; }
.xgw__new em.ok { border-color: #1f4d3d; color: var(--x-ok); }
.xgw__side .is-on { background: #141b2e; color: var(--x-text); }
.xgw__main { display: grid; gap: 12px; align-content: start; padding: 14px; min-width: 0; }
.xgw__head { display: grid; gap: 10px; }
.xgw__head > p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.xgw__head b { font-size: 15px; letter-spacing: -0.01em; }
.xgw__draft { font-size: 11px; color: #f5c451; }
.xgw__tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--x-line); }
.xgw__tabs span { padding: 6px 10px; margin-bottom: -1px; color: var(--x-mute); font-size: 12px; }
.xgw__tabs .is-on { color: var(--x-text); border-bottom: 2px solid var(--x-cyan); }
.xgw__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.xgw__kpis p { display: grid; gap: 1px; padding: 10px 12px; border: 1px solid var(--x-line); border-radius: 7px; background: #0e1428; }
.xgw__kpis small { font-size: 10.5px; color: var(--x-mute); }
.xgw__kpis b { font-size: 17px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.xgw__kpis span { font-size: 10.5px; color: var(--x-mute); }
.xgw__kpis .up { color: var(--x-ok); }
.xgw__grid { display: grid; gap: 8px; }
.xgw__card { padding: 12px; border: 1px solid var(--x-line); border-radius: 7px; background: #0e1428; min-width: 0; }
.xgw__ct { margin-bottom: 10px; font: 600 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--x-mute); }
.xgw__bars { display: grid; gap: 8px; }
.xgw__bars li { display: grid; grid-template-columns: 86px minmax(0, 1fr) 52px; align-items: center; gap: 8px; font-size: 11.5px; color: #c9d0dc; }
.xgw__bars i { height: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--x-blue), var(--x-cyan)); width: calc(var(--v) * 100%); transform-origin: left; }
.xgw__bars b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.xgw__table { width: 100%; border-collapse: collapse; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.xgw__table td { padding: 6px 4px; border-top: 1px solid var(--x-line); color: #c9d0dc; white-space: nowrap; }
.xgw__table tr:first-child td { border-top: 0; }
.xgw__table td:first-child { color: var(--x-mute); font-family: var(--mono); font-size: 11px; }
.xgw__table td:nth-child(3) { text-align: right; }
.xgw__table td:last-child { text-align: right; }
.xgw .s { padding: 1px 6px; border: 1px solid var(--x-line2); border-radius: 4px; font-style: normal; font-size: 10.5px; color: var(--x-mute); }
.xgw .s--ok { border-color: #1f4d3d; color: var(--x-ok); }
.xgw .s--wait { border-color: #5b4a1f; color: #f5c451; }
.xgw__panel { display: grid; gap: 8px; align-content: start; padding: 0 14px 14px; }
.xgw__rights { width: 100%; border-collapse: collapse; font-size: 11px; }
.xgw__rights th { padding: 4px 3px; font-weight: 500; color: var(--x-mute); text-align: center; font-size: 10px; }
.xgw__rights tr th:first-child { text-align: left; color: #c9d0dc; font-size: 11px; }
.xgw__rights td { padding: 5px 3px; border-top: 1px solid var(--x-line); text-align: center; }
.xgw__rights i, .xgw__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; }
.xgw i.rw { background: var(--x-cyan); }
.xgw i.r { border: 1.5px solid var(--x-cyan); background: linear-gradient(90deg, var(--x-cyan) 50%, transparent 50%); }
.xgw i.no { width: 8px; height: 1.5px; border-radius: 0; background: #3a4560; vertical-align: 3px; }
.xgw__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 8px; font-size: 10.5px; color: var(--x-mute); }
.xgw__legend i { margin-left: 6px; }
.xgw__legend i:first-child { margin-left: 0; }
.xgw__apis { display: grid; }
.xgw__apis li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--x-line); font-size: 12px; }
.xgw__apis li:first-child { border-top: 0; padding-top: 0; }
.xgw__apis i { width: 7px; height: 7px; border-radius: 50%; background: var(--x-ok); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15); }
.xgw__apis span { margin-left: auto; font: 400 10.5px var(--mono); color: var(--x-mute); }
@container (min-width: 620px) {
  .xgw__search { display: inline-flex; }
  .xgw__kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xgw__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
@container (min-width: 860px) {
  .xgw__body { grid-template-columns: 190px minmax(0, 1fr) 280px; }
  .xgw__side { display: block; }
  .xgw__panel { padding: 14px 14px 14px 0; }
}
.xgw__log { display: grid; }
.xgw__log li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 8px; padding: 6px 0; border-top: 1px solid var(--x-line); font-size: 11.5px; color: #c9d0dc; }
.xgw__log li:first-child { border-top: 0; padding-top: 0; }
.xgw__log time { grid-row: span 2; font: 400 10.5px/1.6 var(--mono); color: var(--x-mute); }
.xgw__log b { font-weight: 600; color: var(--x-cyan); font-size: 11px; }
.xg-hero { margin-top: 40px; }

/* ---------- Hero: Rückfrage per WhatsApp über Stefans Fenster ---------- */
.win { position: relative; }
.note-ios { position: absolute; z-index: 3; left: 50%; top: 58px; display: flex; gap: 10px; width: min(92%, 340px); padding: 11px 12px; transform: translateX(-50%); border: 0.5px solid rgba(255, 255, 255, 0.14); border-radius: 16px; background: rgba(36, 36, 40, 0.97); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.7); color: #f2f2f7; font: 400 13px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; text-align: left; }
.note-ios__app { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(180deg, #5ff27f, #26b844); }
.note-ios__app svg { width: 20px; height: 20px; fill: #fff; }
.note-ios__body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.note-ios__top { display: flex; justify-content: space-between; font-size: 13px; }
.note-ios__top time { color: rgba(235, 235, 245, 0.6); font-size: 12px; }
.note-ios__btns { display: flex; gap: 6px; margin-top: 8px; }
.note-ios__btns span { flex: 1; padding: 6px 0; border-radius: 9px; background: rgba(255, 255, 255, 0.12); text-align: center; font-size: 12.5px; font-weight: 600; }
.note-ios__via { position: absolute; right: 12px; bottom: -22px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.duo.is-playing .note-ios:not(.is-in) { opacity: 0; transform: translate(-50%, -14px); pointer-events: none; }
.note-ios { transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }

/* ---------- XGait: das Datenbank-Zeichen öffnet sich, das Fenster baut sich auf ---------- */
.db__head { align-items: center; justify-content: flex-start; }
.db__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid color-mix(in srgb, #5ee2ff 40%, var(--line2)); border-radius: 10px; background: color-mix(in srgb, #5ee2ff 7%, var(--surface)); }
.db__icon svg { width: 28px; height: 30px; overflow: visible; fill: none; stroke: #5ee2ff; stroke-width: 2; }
.db__lid { transform-origin: 4px 8px; transform: translateY(calc(var(--open, 1) * -7px)) rotate(calc(var(--open, 1) * -18deg)); transition: transform 0.15s linear; }
.db__name { display: grid; gap: 2px; }
.db__name small { font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.db__opt { margin-left: auto; }
.org .xgw { clip-path: inset(0 0 calc((1 - var(--reveal, 1)) * 100%) 0 round 10px); transform: translateY(calc((1 - var(--reveal, 1)) * 30px)) scale(calc(0.97 + var(--reveal, 1) * 0.03)); transform-origin: top center; }
.xgw .xg-wait { opacity: 0; transform: translateY(4px); }
.xgw .xg-step { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.duo:not(.is-playing) .note-ios { display: none; }


/* ---------- Koordinatoren im Büro: dieselbe Ansicht wie die großen Fenster oben ---------- */
.pc { --w-bg: #1e1e1e; --w-line: #2b2b2b; --w-line2: #383838; --w-text: #ececec; --w-mute: #a1a1a1; --w-faint: #6f6f6f; --w-bubble: #2f2f2f; --w-ok: #3ecf8e; }
.pc__head { display: flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px; border-bottom: 1px solid var(--w-line); white-space: nowrap; overflow: hidden; }
.pc__title { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: 12px; color: var(--w-text); }
.pc__title svg { width: 11px; height: 11px; flex: none; fill: none; stroke: var(--w-mute); stroke-width: 1.6; }
.pc__head em { margin-left: auto; padding-left: 8px; font-style: normal; font: 500 9.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-faint); }
.pc__log { display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; flex: 1; padding: 10px 10px 8px; }
.pc__log .w-user { padding: 5px 10px; border-radius: 12px; font-size: 11.5px; max-width: 92%; }
.pc__log .w-row { font-size: 11px; padding-left: 13px; gap: 3px; }
.pc__log .w-row::before { width: 6px; height: 6px; top: 0.55em; }
.pc__log .w-chev svg { width: 10px; height: 10px; }
.pc__log .w-text { font-size: 11.5px; line-height: 1.4; }
.w-tool--x { color: #5ee2ff !important; }
.w-row:has(.w-tool--x)::before { background: #5ee2ff; }
.pc__in { display: grid; gap: 6px; margin: 0 8px 8px; padding: 7px 8px 6px 10px; border: 1px solid #3c3c3c; border-radius: 11px; background: #262626; color: var(--w-faint); font-size: 11px; }
.pc__bar { display: flex; align-items: center; gap: 6px; }
.pc__mode { margin-left: auto; font-size: 10px; color: var(--w-mute); }
.pc__send { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e8e8e8; }
.pc__send svg { width: 10px; height: 10px; fill: none; stroke: #1e1e1e; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899px) {
  .pc__log .w-row:nth-child(1):not(:last-child) { display: none; }
  .pc__title { font-size: 11px; }
  .pc__head em { display: none; }
}
@media (min-width: 900px) { .pc__log { min-height: 128px; } }

/* ---------- XGait: umschaltbare Ansichten ---------- */
.xgw__tabs button { padding: 6px 10px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--x-mute); font: inherit; font-size: 12px; cursor: pointer; }
.xgw__tabs button:hover { color: var(--x-text); }
.xgw__tabs button.is-on { color: var(--x-text); border-bottom-color: var(--x-cyan); }
.xgw__draft.is-plain { color: var(--x-mute); }
.xgw__view { display: grid; gap: 8px; animation: xg-in 0.35s var(--ease); }
.xgw__view[hidden] { display: none; }
@keyframes xg-in { from { opacity: 0; transform: translateY(4px); } }
.xgw__table--full { border: 1px solid var(--x-line); border-radius: 7px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #0e1428; }
.xgw__table--full th { padding: 7px 8px; border-bottom: 1px solid var(--x-line); background: #111830; color: var(--x-mute); font-weight: 500; font-size: 10.5px; text-align: left; }
.xgw__table--full td { padding: 7px 8px; }
.xgw__table--full tr:nth-child(2) td { border-top: 0; }
.xgw__table--full th:nth-child(4), .xgw__table--full td:nth-child(4), .xgw__table--full th:last-child { text-align: right; }
.xgw__kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.xgw__kanban > div { display: grid; gap: 6px; align-content: start; padding: 10px; border: 1px solid var(--x-line); border-radius: 7px; background: #0e1428; }
.xgw__kanban .xgw__ct { margin-bottom: 2px; }
.xgw__kc { display: grid; gap: 1px; padding: 8px 9px; border: 1px solid var(--x-line2); border-radius: 6px; background: #131a31; font-size: 10.5px; color: var(--x-mute); }
.xgw__kc b { font-size: 11.5px; font-weight: 600; color: var(--x-text); }
.xgw__kc--new { border-color: rgba(94, 226, 255, 0.45); box-shadow: 0 0 0 3px rgba(94, 226, 255, 0.08); }
.xgw__tl { display: grid; gap: 0; padding: 10px 12px; border: 1px solid var(--x-line); border-radius: 7px; background: #0e1428; }
.xgw__tl p { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; height: 30px; border-top: 1px solid var(--x-line); font-size: 11.5px; color: #c9d0dc; }
.xgw__tl p:first-child { border-top: 0; }
.xgw__tlh { grid-template-columns: 112px repeat(4, minmax(0, 1fr)) !important; height: 22px !important; font: 500 10px var(--mono) !important; color: var(--x-mute) !important; }
.xgw__tl i { position: absolute; left: calc(112px + (100% - 112px) * var(--a)); width: calc((100% - 112px) * (var(--b) - var(--a))); height: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--x-blue), var(--x-cyan)); }
.xgw__add { color: var(--x-cyan) !important; }
.xgw__add::before { display: none; }
.xgw__apis .xgw__add i { display: none; }
.xgw__avail { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--x-line2); font-size: 11px; color: var(--x-mute); }
.xgw__avail i { width: 7px; height: 7px; border-radius: 50%; background: #6e9bf5; }
@container (max-width: 520px) { .xgw__kanban { grid-template-columns: 1fr 1fr; } .xgw__kanban > div:last-child { display: none; } .xgw__table--full th:nth-child(3), .xgw__table--full td:nth-child(3) { display: none; } }
@media (max-width: 899px) { .pc__log .w-row { display: block; } .pc__log .w-chev { display: none; } }

/* ---------- Zentrale Datenbank: Teilen, Maske, Portal, Automatiken ---------- */
.xgw__share { display: none; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--x-line2); border-radius: 6px; font-size: 11.5px; color: var(--x-text); }
.xgw__share svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xgw__mask { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 8px; }
.xgw__form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; padding: 12px; border: 1px solid var(--x-line); border-radius: 7px; background: #0e1428; }
.xgw__form .xgw__ct { grid-column: 1 / -1; margin-bottom: 2px; }
.xgw__form label { grid-column: 1 / -1; display: grid; gap: 3px; }
.xgw__form label.half { grid-column: auto; }
.xgw__form span { font-size: 10.5px; color: var(--x-mute); }
.xgw__form i { padding: 7px 9px; border: 1px solid var(--x-line2); border-radius: 5px; background: #131a31; font-style: normal; font-size: 12px; color: var(--x-text); }
.xgw__form i.flow { border-style: dashed; border-color: rgba(245, 196, 81, 0.5); color: #f5c451; }
.xgw__form small { font-size: 9.5px; color: #5d6880; font-family: var(--mono); }
.xgw__palette { display: grid; gap: 5px; align-content: start; padding: 12px 10px; border: 1px dashed var(--x-line2); border-radius: 7px; }
.xgw__palette p:not(.xgw__ct) { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--x-line); border-radius: 5px; background: #0e1428; font-size: 11.5px; color: #c9d0dc; }
.xgw__palette b { display: grid; place-items: center; width: 18px; font-size: 11px; color: var(--x-cyan); }
.xgw__portal { display: grid; gap: 8px; }
.xgw__plink { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--x-line); border-radius: 7px; background: #0e1428; font-size: 12.5px; font-weight: 600; }
.xgw__plink code { padding: 2px 7px; border: 1px solid rgba(94, 226, 255, 0.35); border-radius: 4px; font: 500 10.5px var(--mono); color: var(--x-cyan); }
.xgw__plink em { margin-left: auto; font-style: normal; font-weight: 400; font-size: 11px; color: var(--x-ok); }
.xgw__pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.xgw__pgrid .xgw__card { display: grid; gap: 2px; }
.xgw__pgrid b { font-size: 20px; letter-spacing: -0.02em; }
.xgw__pgrid small { font-size: 10.5px; color: var(--x-mute); }
.xgw__pnote { font-size: 11.5px; color: var(--x-mute); }
.xgw__auto { display: grid; }
.xgw__auto li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--x-line); font-size: 11.5px; color: #c9d0dc; }
.xgw__auto li:first-child { border-top: 0; padding-top: 0; }
.xgw__auto i { flex: none; width: 11px; height: 11px; border: 1.5px solid rgba(52, 211, 153, 0.3); border-top-color: var(--x-ok); border-radius: 50%; animation: spin 1.1s linear infinite; }
.xgw__auto .is-night i { animation: none; border-color: #3a4560; }
.xgw__auto span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xgw__auto em { font-style: normal; font: 400 10.5px var(--mono); color: var(--x-ok); }
.xgw__auto .is-night em { color: var(--x-mute); }
@media (prefers-reduced-motion: reduce) { .xgw__auto i { animation: none; } }
@container (min-width: 620px) { .xgw__share { display: inline-flex; } }
@container (max-width: 520px) { .xgw__mask { grid-template-columns: 1fr; } .xgw__palette { display: none; } .xgw__pgrid { grid-template-columns: 1fr 1fr; } .xgw__pgrid .xgw__card:last-child { display: none; } }

/* ---------- Rückfragen: ausgewogene Größen ---------- */
.iphone { max-width: 272px; border-radius: 48px; padding: 8px; }
.iphone__screen { border-radius: 40px; font-size: 13px; }
.wa-chat { min-height: 300px; }
.wa-msg { font-size: 12.5px; }
.sk { max-width: 520px; grid-template-columns: 150px minmax(0, 1fr); font-size: 14px; }
.sk__side { font-size: 12.5px; }
.queue { max-width: 420px; font-size: 13.5px; }
.ping__col { gap: 16px; }
@media (min-width: 1000px) {
  .ping { grid-template-columns: minmax(0, 1fr) 272px minmax(0, 1.15fr); gap: 40px; }
}

/* ======================================================================
   Unterseiten (Vorlage): Kopfleiste, Fußzeile, Formulare, Backend-Ansicht,
   Anwendungsbeispiele, Rechtstexte
   ====================================================================== */
.nav a[aria-current="page"] { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.foot address { font-style: normal; line-height: 1.5; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.hero__cta--left { justify-content: flex-start; margin-top: 28px; }
.thero--center { text-align: center; padding-bottom: 120px; }
.thero--center .lead { margin-inline: auto; }
.thero--center h1 { margin-inline: auto; }
.split--center { align-items: center; }
.card--link { text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.card--link:hover { border-color: var(--acc); transform: translateY(-2px); }
.note--left { margin-left: 0; text-align: left; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Einführung in Schritten */
.roll { display: grid; gap: 12px; counter-reset: roll; }
.roll li { position: relative; display: grid; gap: 4px; padding: 20px 20px 20px 62px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); counter-increment: roll; }
.roll li::before { content: counter(roll); position: absolute; left: 20px; top: 19px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--acc); color: var(--on-acc); font: 600 13px/1 var(--mono); }
.roll b { font-size: 17px; }
.roll span { color: var(--mute); font-size: 15px; }
.roll--compact { margin-top: 24px; gap: 8px; }
.roll--compact li { padding: 14px 16px 14px 56px; background: transparent; }
.roll--compact li::before { left: 16px; top: 14px; width: 26px; height: 26px; }
@media (min-width: 900px) { .roll:not(.roll--compact) { grid-template-columns: repeat(4, 1fr); } }

/* Wahl: privat oder Unternehmen */
.choice { display: grid; gap: 8px; margin: 26px 0 22px; }
.choice__opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); text-decoration: none; color: inherit; transition: border-color 0.2s; }
.choice__opt:hover { border-color: var(--acc); }
.choice__opt.is-on { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 18%, transparent); }
.choice__radio { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--line2); border-radius: 50%; }
.choice__opt.is-on .choice__radio { border: 5px solid var(--acc); }
.choice__opt span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.choice__opt b { font-size: 16px; }
.choice__opt small { font-size: 13.5px; color: var(--mute); }
.choice__opt em { font-style: normal; font: 500 12px/1 var(--mono); color: var(--acc); }
@media (min-width: 560px) { .choice { grid-template-columns: 1fr 1fr; } }

/* Formularseiten */
.formpage { display: grid; gap: 32px; }
.formpage h1 { margin-top: 18px; font-size: clamp(36px, 8vw, 64px); letter-spacing: -0.045em; line-height: 1; }
.formpage h1 span { color: var(--acc); }
.formpage .ticks { margin: 0; }
.formcard { padding: 24px 20px; border: 1px solid var(--line2); border-radius: 14px; background: var(--surface); box-shadow: 0 40px 80px -60px rgba(0, 0, 0, 0.7); align-self: start; }
.formcard__title { margin-bottom: 16px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.formcard__alt { margin-top: 14px; font-size: 14px; color: var(--mute); text-align: center; }
.formcard__alt a { color: var(--text); }
.form { display: grid; gap: 14px; }
.form[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field label small { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line2); border-radius: 8px; background: var(--bg); color: var(--text); font: 400 16px/1.4 var(--sans); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); }
.check--form { padding: 0; border: 0; background: none !important; font-size: 13.5px; color: var(--mute); }
.check--form a { color: var(--text); }
.hp { position: absolute; left: -9999px; }
.form__done { padding: 20px; border: 1px solid color-mix(in srgb, var(--ok) 45%, var(--line2)); border-radius: 12px; }
.form__done h2 { font-size: 22px; }
.form__done p { margin-top: 6px; color: var(--mute); }
@media (min-width: 1000px) { .formpage { grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: start; } }

/* Backend-Ansicht: nachgebaut nach der Codinat-Weboberfläche */
.cx { border: 1px solid #2a2c31; border-radius: 10px; overflow: hidden; background: #0e0f11; color: #e8e9eb; font: 400 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; text-align: left; box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.95); container-type: inline-size; }
.cx__side { display: none; flex-direction: column; gap: 4px; padding: 14px 10px; border-right: 1px solid #1f2125; background: #0b0c0e; }
.cx__logo { display: flex; align-items: center; gap: 8px; padding: 2px 6px 12px; font-size: 14.5px; }
.cx__logo svg { width: 22px; height: 22px; color: #e8e9eb; }
.cx__nav { display: grid; gap: 2px; }
.cx__nav p { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 6px; color: #b4b7bd; font-size: 12.5px; }
.cx__nav p.is-on { background: #1b1d21; color: #fff; }
.cx__nav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cx__user { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 10px 6px 0; border-top: 1px solid #1f2125; }
.cx__user i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #1b1d21; font: 600 10px/1 var(--sans); font-style: normal; }
.cx__user span { display: grid; font-size: 11.5px; }
.cx__user small { color: #7d8189; }
.cx__main { min-width: 0; }
.cx__top { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border-bottom: 1px solid #1f2125; }
.cx__top b { font-size: 14px; }
.cx__search { display: none; flex: 1; max-width: 300px; margin-left: auto; padding: 5px 10px; border: 1px solid #25272c; border-radius: 6px; color: #6d717a; font-size: 11.5px; }
.cx__live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11px; color: #9a9ea6; }
.cx__search + .cx__live { margin-left: 0; }
.cx__live i { width: 6px; height: 6px; border-radius: 50%; background: #3ecf8e; }
.cx__body { padding: 14px 16px 16px; overflow-x: auto; }
.cx__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cx__tabs { display: flex; gap: 4px; }
.cx__tabs span { padding: 5px 10px; border-radius: 6px; color: #9a9ea6; font-size: 12px; }
.cx__tabs .is-on { border: 1px solid #2a2c31; background: #16181b; color: #fff; }
.cx__btn { padding: 6px 12px; border-radius: 6px; background: #6e9bf5; color: #0b0c0e; font-size: 12px; font-weight: 600; white-space: nowrap; }
.cx__table { width: 100%; min-width: 560px; border-collapse: collapse; }
.cx__table th { padding: 8px 8px; border-bottom: 1px solid #1f2125; font: 500 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #6d717a; text-align: left; }
.cx__table td { padding: 9px 8px; border-bottom: 1px solid #1a1c20; vertical-align: middle; font-size: 12.5px; }
.cx__name { display: flex; align-items: center; gap: 9px; }
.cx__name > span { display: grid; }
.cx__name b { font-weight: 500; }
.cx__name small { font-size: 11px; color: #7d8189; }
.d1 .cx__name { padding-left: 18px; }
.d2 .cx__name { padding-left: 36px; }
.cx__ring { flex: none; width: 10px; height: 10px; border: 1.6px solid #3ecf8e; border-radius: 50%; }
.cx__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; }
.cx__ring.s-stop { border-color: #ff6b5e; }
.cx__ring.s-off { border-color: #6d717a; }
.cx__ring.s-care { border-color: #6e9bf5; }
.k-cust .cx__ring { border-style: dashed; border-color: #6e9bf5; }
.s-stopt { color: #ff8a7f; }
.s-offt { color: #9a9ea6; }
.cx__pill { padding: 2px 8px; border: 1px solid #2a2c31; border-radius: 5px; background: #16181b; font-size: 11px; }
.cx__rights { color: #9a9ea6; font-size: 11.5px; }
.cx__act { display: inline-block; margin-right: 6px; padding: 4px 9px; border: 1px solid #2a2c31; border-radius: 6px; font-size: 11.5px; white-space: nowrap; }
.cx__way { display: inline-block; padding: 2px 8px; border-radius: 5px; font: 500 10.5px/1.5 var(--mono); border: 1px solid #2a2c31; }
.cx__way--kette { color: #e8e9eb; }
.cx__way--verbund { color: #6e9bf5; border-color: rgba(110, 155, 245, 0.4); }
.cx__way--kunde { color: #f5c451; border-color: rgba(245, 196, 81, 0.4); }
.cx__in { display: grid; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 760px) { .cx__in { grid-template-columns: 170px minmax(0, 1fr); } .cx__side { display: flex; } .cx__search { display: block; } }

/* Anwendungsbeispiele */
.toc4 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 32px; }
.toc4 a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); text-decoration: none; transition: border-color 0.2s; }
.toc4 a:hover { border-color: var(--acc); }
.toc4 b { font-size: 16px; }
.toc4 span { font-size: 13px; color: var(--mute); }
@media (min-width: 900px) { .toc4 { grid-template-columns: repeat(4, 1fr); } }
.case-x__grid { display: grid; gap: 20px; }
.case-x__label { margin-bottom: 10px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
.case-x__flow .ticks { margin-top: 18px; }
.case-x__flow .ticks li { font-size: 15px; }
@media (min-width: 1100px) { .case-x__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; } }
.t-tool--db::before { background: #5ee2ff; }
.t-tool--db b { color: #5ee2ff; }
.t-wa { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border-radius: 10px; background: #1f2c33; color: #e9edef; font-size: 13px; }
.t-wa span:last-child { display: grid; gap: 1px; }
.t-wa b { font-size: 11px; font-weight: 600; color: #8fa39a; }
.t-wa__ico { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #25d366 radial-gradient(circle at 50% 50%, transparent 4px, #fff 4.5px, #fff 6px, transparent 6.5px); }

/* Rechtstexte */
.thero--legal { padding-bottom: 32px; }
.thero--legal h1 { font-size: clamp(36px, 8vw, 60px); }
.sec--legal { padding-top: 32px; border-top: 0; }
.legal { font-size: 16px; line-height: 1.65; }
.legal h2 { margin: 44px 0 12px; font-size: 24px; letter-spacing: -0.02em; scroll-margin-top: 80px; }
.legal h3 { margin: 24px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.legal p, .legal ul, .legal ol { margin: 0 0 12px; color: color-mix(in srgb, var(--text) 86%, var(--mute)); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal ol { list-style: decimal; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--acc); }
.legal__draft { padding: 12px 14px; border: 1px dashed color-mix(in srgb, #f5a524 60%, var(--line2)); border-radius: 8px; background: color-mix(in srgb, #f5a524 7%, transparent); font-size: 14px; }
.legal__toc { margin: 20px 0 8px; padding: 16px 18px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.legal__toc ol { margin: 0; list-style: none; padding: 0; display: grid; gap: 6px; }
.legal__toc a { color: var(--text); text-decoration: none; font-size: 15px; }
.legal__toc a:hover { color: var(--acc); }
.legal__kv { margin: 0 0 16px; border-top: 1px solid var(--line2); }
.legal__kv > div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.legal__kv dt { font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.legal__kv dd { margin: 0; }
@media (min-width: 720px) { .legal__kv > div { grid-template-columns: 220px 1fr; gap: 16px; } }
.legal table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td { padding: 8px 10px; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: top; }
.legal th { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }

@media (min-width: 1000px) { .split--center { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.legal { overflow-wrap: break-word; hyphens: auto; }
.legal table { display: block; overflow-x: auto; }
.thero--legal h1 { hyphens: auto; overflow-wrap: break-word; }
.tc h1 { overflow-wrap: break-word; }   /* product pages: whole words, no hyphen in the headline */

/* ---------- Beispiel-Fenster: derselbe Aufbau wie die Koordinator-Fenster im Hero ---------- */
.win--case { max-width: none; align-self: start; }
.win--case .win__frame { height: auto; }
.win--case .win__main { padding-bottom: 2px; }
.win--case .win__log { -webkit-mask-image: none; mask-image: none; justify-content: flex-start; padding-top: 16px; }
.win--case .win__head .win__lights--main, .win--case .win__head .win__lights { display: inline-flex; }
.win__role { margin-left: auto; font-style: normal; font: 500 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-faint); }
.w-wa { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border-radius: 10px; background: #1f2c33; color: #e9edef; font-size: 13px; }
.w-wa span:last-child { display: grid; gap: 1px; }
.w-wa b { font-size: 11px; font-weight: 600; color: #8fa39a; }
.w-wa__ico { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #25d366 radial-gradient(circle at 50% 50%, transparent 4px, #fff 4.5px, #fff 6px, transparent 6.5px); }
.w-row:has(.w-tool--x)::before { background: #5ee2ff; }
.choice__opt em { white-space: nowrap; }
@container (max-width: 459px) { .win .w-row { display: block; } .win .w-chev { display: none; } .win .w-row .w-bg { display: block; margin-top: 4px; } }

/* ---------- Phones: clean fit of the app windows (25.11.2026) ---------- */

/* Database window: every column stays inside its card; nothing is cut at the right edge. */
.xgw__grid, .xgw__panel, .xgw__view, .xgw__auto, .xgw__apis, .xgw__log, .xgw__bars { grid-template-columns: minmax(0, 1fr); }
@container (min-width: 620px) { .xgw__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.xgw__tabs { overflow-x: auto; scrollbar-width: none; }
.xgw__tabs::-webkit-scrollbar { display: none; }
.xgw__tabs button { flex: none; }
@container (max-width: 520px) {
  .xgw__tabs { mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }   /* shows that more tabs follow */
}
@container (max-width: 380px) {
  .xgw__table td:first-child, .xgw__table--full th:first-child { display: none; }   /* order number: the customer is enough */
  .xgw__kpis b { font-size: 16px; }
  .xgw__auto em { font-size: 10px; }
  .xgw__apis span { font-size: 10px; }
  .xgw__bars li { grid-template-columns: 72px minmax(0, 1fr) 46px; }
  .xgw__rights { table-layout: fixed; }
  .xgw__rights tr th:first-child { width: 30%; }
  .xgw__rights th { padding: 4px 1px; font-size: 9.5px; overflow: hidden; text-overflow: ellipsis; }
  .xgw__rights td { padding: 5px 1px; }
  .xgw__table--full th, .xgw__table--full td { padding: 6px 5px; }
}
/* the title bar: the name gives way, the avatar always stays in the window */
.xgw__brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.xgw__user { flex: none; }

/* Window titles: on narrow windows the role label gives way to the name. */
@container (max-width: 420px) { .win .win__head em { display: none; } }

@media (max-width: 639px) {
  /* Database block on the start page: a little less frame, more room for the window. */
  .org .db { padding: 14px 12px; }
  /* Coordinator tiles in the office: the title fits without the window lights, text readable. */
  .pc .win__lights { display: none; }
  .pc__head { padding: 0 10px; }
  .pc__title { font-size: 12px; }
  .pc__rights { font-size: 11.5px; line-height: 1.4; }
  .pc__mode { font-size: 11px; }
  /* Slack on a phone: the channel list folds away, as in the Slack app. */
  .sk { grid-template-columns: minmax(0, 1fr); }
  .sk__side { display: none; }
}

/* Backend tables on narrow screens: each row becomes a small card, every value with its column
   name (data-label in the HTML) – nothing is cut off and nothing hides in a side scroll. */
@container (max-width: 559px) {
  .cx__body { padding: 12px 12px 6px; }
  .cx__bar { flex-wrap: wrap; }
  .cx__table { min-width: 0; }
  .cx__table thead { display: none; }
  .cx__table, .cx__table tbody, .cx__table tr, .cx__table td { display: block; }
  .cx__table tr { padding: 10px 0; border-bottom: 1px solid #1f2125; }
  .cx__table tr:last-child { border-bottom: 0; }
  .cx__table tr.d1 { margin-left: 14px; }
  .cx__table tr.d2 { margin-left: 28px; }
  .cx__table .d1 .cx__name, .cx__table .d2 .cx__name { padding-left: 0; }
  .cx__table td { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; text-align: right; font-size: 12.5px; }
  .cx__table td::before { content: attr(data-label); flex: none; font: 500 10.5px/1.6 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #7d8189; text-align: left; }
  .cx__table td:first-child { justify-content: flex-start; padding-bottom: 6px; text-align: left; }
  .cx__table td:first-child::before { display: none; }
  .cx__table .cx__act { margin: 0 0 0 6px; }
  .cx__table td:last-child .cx__act:first-child { margin-left: 0; }
}
.cx__table td:empty { display: none; }

/* The fixed button on phones: a compact pill in the middle instead of a full-width bar,
   so it covers less of the page. */
@media (max-width: 899px) {
  .dock { left: 50%; right: auto; min-height: 46px; padding: 0 26px; font-size: 16px; transform: translate(-50%, 140%); }
  .show-dock .dock { transform: translate(-50%, 0); }
}

/* Comparison: what the symbols mean */
.cmp__key { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 14px; font: 500 12px/1 var(--mono); color: var(--mute); }
.cmp__key span { display: inline-flex; align-items: center; gap: 7px; }
.cmp__key i { position: relative; display: inline-block; width: 18px; height: 18px; border-radius: 50%; }
.cmp__key i.y { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.cmp__key i.y::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cmp__key i.n::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 2px; background: var(--line2); }
.cmp__key i.p { border: 1.5px solid var(--mute); background: linear-gradient(90deg, var(--mute) 50%, transparent 50%); width: 14px; height: 14px; }
/* Phones: each criterion on its own line, the three answers below it with their names. */
@media (max-width: 639px) {
  .cmp__row--head { display: none; }
  .cmp__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; padding: 14px; }
  .cmp__row > span:first-child { grid-column: 1 / -1; font-size: 14.5px; font-weight: 500; }
  .cmp__row > span[data-label] { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }
  .cmp__row > span[data-label]::before { content: attr(data-label); display: flex; align-items: flex-end; min-height: 2.4em; font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
  .cmp__row > span.cmp__us::before { color: var(--acc); }
}

/* Small phones: tiles share the width evenly; long words break with a hyphen instead of
   pushing the tile over the edge. */
.facts, .toc4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .toc4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li, .toc4 a { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 379px) { .facts li { padding: 16px 14px; } .facts b { font-size: 19px; } .toc4 a { padding: 12px 12px; } }
/* "Für wen" tabs: all three fit on a phone */
@media (max-width: 479px) {
  .aud__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .aud__tabs button { padding: 10px 6px; font-size: 13.5px; }
}
/* Status labels may wrap where the space is short (tables, legends) */
.legend .st, .table .st, [role="table"] .st { white-space: normal; line-height: 1.25; text-align: left; }

/* Datenbank · Aufbau als Drehscheibe (Mitarbeiter und Koordinatoren oben, Datenbank in der Mitte, Systeme unten) */
.dbh { display: grid; max-width: 1080px; margin: 0 auto 16px; }
.dbh__label { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.dbh__who { display: grid; gap: 12px; }
.dbh__party, .dbh__src { padding: 20px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); text-align: center; }
.dbh__party--ai { border-color: color-mix(in srgb, var(--acc) 45%, var(--line2)); }
.dbh__party--ai .dbh__label { color: var(--acc); }
.dbh__lead { margin-top: 10px; font-size: 16px; font-weight: 500; }
.dbh__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.dbh__chips li { padding: 7px 12px; border: 1px solid var(--line2); border-radius: 999px; background: var(--alt); font-size: 13.5px; }
.dbh__chips--src li { border-radius: 8px; font: 500 12.5px/1.2 var(--mono); }
.dbh__db { padding: 26px 20px 22px; border: 1px solid color-mix(in srgb, var(--ok) 55%, var(--line2)); border-radius: 16px; background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--ok) 10%, var(--surface)), var(--surface) 70%); text-align: center; box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 6%, transparent); }
.dbh__db > .dbh__label { color: var(--ok); }
.dbh__title { margin-top: 10px; font-size: clamp(22px, 5vw, 30px); font-weight: 600; letter-spacing: -0.01em; }
.dbh__groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; text-align: left; }
.dbh__group { padding: 14px 16px; border: 1px solid var(--line2); border-radius: 10px; background: var(--alt); }
.dbh__group h3 { font: 600 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ok); }
.dbh__group ul { display: grid; gap: 6px; margin-top: 10px; }
.dbh__group li { position: relative; padding-left: 14px; font-size: 14.5px; line-height: 1.35; }
.dbh__group li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 70%, var(--mute)); }
@media (min-width: 560px) { .dbh__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .dbh__who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .dbh__groups { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dbh__db { padding: 32px 28px 28px; } }
.fw__table { margin-top: 28px; }

.foot__base a { text-decoration: underline; text-underline-offset: 3px; }

/* Rückfragen · Push-Benachrichtigung auf dem Sperrbildschirm (immer dunkel wie ein Bildschirmfoto) */
.ping__sub { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 15px; }
.ping__sub span { color: var(--mute); font-size: 14px; }
.push { max-width: 380px; padding: 12px 14px 12px; border-radius: 20px; background: linear-gradient(160deg, #3a3d44, #24262b); box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06); color: #f2f2f2; font: 400 13.5px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.push__app { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c9c9c9; text-transform: uppercase; letter-spacing: .02em; }
.push__app time { margin-left: auto; text-transform: none; color: #a9a9a9; }
.push__icon { width: 20px; height: 20px; border-radius: 6px; background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 23%), linear-gradient(135deg, #6c8cff, #4a63d6); }
.push__title { margin-top: 6px; font-weight: 600; }
.push__text { margin-top: 2px; color: #e2e2e2; }
.push__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.push__btns span { padding: 8px 0; border-radius: 12px; background: rgba(255,255,255,.12); text-align: center; font-weight: 600; font-size: 13px; }
.push__btns span:first-child { background: rgba(255,255,255,.22); }
.ping.is-armed .push { opacity: 0; transform: translateY(-8px) scale(.98); transition: opacity .5s var(--ease) .9s, transform .5s var(--ease) .9s; }
.ping.is-armed.is-on .push { opacity: 1; transform: none; }

/* Sprachumschalter DE/EN */
.lang { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 50%; font: 600 12px/1 var(--mono); letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
.lang:hover, .lang:focus-visible { border-color: var(--acc); color: var(--acc); }
.note--left { text-align: left; }

/* Baldux-Verbund: Logos, Partnerkarte, Fußzeile */
.xgl, .bxl { flex: none; width: 18px; height: 18px; }
.xgw__brand { display: inline-flex; align-items: center; gap: 6px; }
.xgw__brand .xgl { width: 15px; height: 15px; }
.dbh__label--xg { display: inline-flex; align-items: center; gap: 8px; }
.dbh__label--xg .xgl { width: 20px; height: 20px; }
.partner { display: flex; align-items: center; gap: 14px; max-width: 640px; margin: 18px auto 0; padding: 14px 18px; border: 1px solid var(--line2); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; text-align: left; transition: border-color .2s, transform .2s; }
.partner:hover, .partner:focus-visible { border-color: var(--acc); transform: translateY(-1px); }
.partner .bxl, .partner .xgl { width: 36px; height: 36px; padding: 6px; border-radius: 10px; background: var(--alt); border: 1px solid var(--line2); box-sizing: content-box; }
.partner > span:not(.partner__go) { display: grid; gap: 2px; min-width: 0; }
.partner b { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.partner small { color: var(--mute); font-size: 13.5px; line-height: 1.4; }
.partner__go { margin-left: auto; font: 500 18px/1 var(--mono); color: var(--acc); }
.foot__family { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot__family > p { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.foot__family ul { display: grid; gap: 10px; margin-top: 14px; }
.foot__family a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 12px; color: var(--text); text-decoration: none; }
.foot__family a:hover, .foot__family a:focus-visible { border-color: var(--acc); }
.foot__family a > svg { flex: none; width: 26px; height: 26px; }
.foot__family span { display: grid; gap: 1px; }
.foot__family b { font-size: 14.5px; font-weight: 600; }
.foot__family small { font-size: 12.5px; color: var(--mute); }
@media (min-width: 720px) { .foot__family ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Logo-Leiste „Gehört zusammen“ (abgestimmt mit xgait.com und baldux.com) */
.foot__family a { gap: 14px; padding: 12px 16px; }
.foot__family .fam__wm { width: auto; height: 28px; color: var(--text); }
.foot__family .fam__bx { width: 28px; height: 28px; color: var(--text); }
.foot__family .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 720px) { .foot__family ul { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; } }
.foot__family li { display: flex; }
.foot__family li > a { flex: 1; min-height: 76px; }
.foot__family .fam__wm { flex: none; width: 66px; height: 28px; }
.foot__family .fam__bx { flex: none; width: 28px; height: 28px; margin: 0 19px; }

/* ===== Seite Agenturen & Freelancer ===== */
.ag-net { position: relative; margin: 34px auto 0; max-width: 980px; padding: 18px 16px 16px; border: 1px solid var(--line2); border-radius: 16px; background: var(--surface); }
.ag-net__switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line2); border-radius: 10px; background: var(--alt); }
.ag-net__switch button { padding: 8px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--mute); font: 500 14px/1 var(--sans); cursor: pointer; }
.ag-net__switch [aria-pressed="true"] { background: var(--text); color: var(--bg); }
.ag-net__svg { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.ag-net__svg text { font: 600 11px/1 var(--mono); letter-spacing: .06em; fill: var(--text); text-anchor: middle; dominant-baseline: middle; }
.ag-net__svg text.sub { font: 400 10px/1 var(--sans); letter-spacing: 0; fill: var(--mute); }
.ag-net__mess path { fill: none; stroke: var(--stop); stroke-width: 1.6; opacity: .55; stroke-dasharray: 5 6; transition: opacity .7s var(--ease); }
.ag-net__chips rect { fill: var(--alt); stroke: var(--stop); stroke-width: 1; opacity: .9; }
.ag-net__chips text { font: 500 10.5px/1 var(--sans); letter-spacing: 0; fill: var(--text); }
.ag-net__chips g { transition: opacity .6s var(--ease); }
.ag-net__clean path { fill: none; stroke: var(--acc); stroke-width: 2.2; stroke-dasharray: 300; stroke-dashoffset: 300; opacity: 0; transition: stroke-dashoffset 1.1s var(--ease), opacity .3s; }
.ag-net__hub circle { fill: var(--acc); }
.ag-net__hub path { stroke: var(--on-acc); }
.ag-net__hub, .ag-net__dots { opacity: 0; transition: opacity .6s var(--ease) .5s; }
.ag-net__hub text { fill: var(--acc); }
.ag-net__agency rect, .ag-net__clients rect { fill: var(--alt); stroke: var(--line2); }
.ag-net__clients text { font: 500 11px/1 var(--sans); letter-spacing: 0; }
.ag-net.is-after .ag-net__mess path, .ag-net.is-after .ag-net__chips g { opacity: 0; }
.ag-net.is-after .ag-net__clean path { stroke-dashoffset: 0; opacity: 1; }
.ag-net.is-after .ag-net__clean path:nth-child(n+2) { transition-delay: .35s; }
.ag-net.is-after .ag-net__hub, .ag-net.is-after .ag-net__dots { opacity: 1; }
.ag-net__dots circle { fill: var(--acc); offset-rotate: 0deg; }
.ag-net.is-after .ag-net__dots circle:nth-child(1) { offset-path: path("M540 95 L320 165 L120 165"); animation: ag-ride 3.2s linear infinite 1s; }
.ag-net.is-after .ag-net__dots circle:nth-child(2) { offset-path: path("M120 165 L320 165 L540 245"); animation: ag-ride 3.6s linear infinite 2s; fill: var(--ok); }
.ag-net.is-after .ag-net__dots circle:nth-child(3) { offset-path: path("M540 295 L320 165 L120 165"); animation: ag-ride 4s linear infinite 2.8s; }
@keyframes ag-ride { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.ag-net__cap { margin-top: 10px; color: var(--mute); font-size: 14.5px; text-align: center; }

.ag-pains .tile h3::before { background: var(--stop); }
.ag-uses .tile { display: flex; flex-direction: column; }
.ag-uses .tile__st { margin-top: auto; padding-top: 18px; line-height: 1; }

.ag-talk { display: grid; gap: 14px; align-items: start; max-width: 1040px; margin: 0 auto; }
.ag-chat { border: 1px solid #3a3a3a; border-radius: 12px; overflow: hidden; background: #1e1e1e; color: #ececec; font: 400 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.ag-chat__head { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-bottom: 1px solid #2e2e2e; background: #191919; font-size: 12.5px; color: #a8a8a8; }
.ag-chat__head .win__lights b { width: 9px; height: 9px; }
.ag-chat__log { display: grid; gap: 10px; padding: 14px; }
.ag-msg { padding: 10px 12px; border-radius: 10px; background: #2a2a2a; }
.ag-msg b { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; color: #a8a8a8; }
.ag-msg--out { justify-self: end; max-width: 88%; background: #2f3d5c; }
.ag-msg--note { background: transparent; border: 1px dashed #3a3a3a; color: #a8a8a8; font-size: 13px; }
.ag-msg--tool b { display: inline; margin-right: 6px; padding: 1px 6px; border-radius: 4px; background: #333; color: #ececec; }
.ag-msg--ok { border: 1px solid #f5a524; background: #2a2416; }
.ag-msg--ok b { color: #f5a524; }
.ag-msg__btns { display: flex; gap: 8px; margin-top: 8px; }
.ag-msg__btns span { padding: 5px 10px; border-radius: 6px; background: #3a3a3a; font-size: 12.5px; font-weight: 600; }
.ag-msg__btns span:first-child { background: #3ecf8e; color: #0b0c0e; }
.ag-msg--lock { border: 1px solid #5a2f2b; background: #241615; color: #d9b2ad; }
.ag-msg--lock b { color: #ff7a6b; }
.ag-talk__mid { display: grid; place-items: center; }
.ag-talk__mid span { padding: 6px 10px; border: 1px dashed var(--stop); border-radius: 999px; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--stop); }
.ag-talk.is-armed .ag-msg { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ag-talk.is-armed.is-on .ag-msg { opacity: 1; transform: none; }
.ag-talk.is-on .ag-chat--us .ag-msg:nth-child(1) { transition-delay: .2s; }
.ag-talk.is-on .ag-chat--us .ag-msg:nth-child(2) { transition-delay: .7s; }
.ag-talk.is-on .ag-chat--us .ag-msg:nth-child(3) { transition-delay: 1.2s; }
.ag-talk.is-on .ag-chat--us .ag-msg:nth-child(4) { transition-delay: 1.6s; }
.ag-talk.is-on .ag-chat:not(.ag-chat--us) .ag-msg:nth-child(2) { transition-delay: 2.2s; }
.ag-talk.is-on .ag-chat:not(.ag-chat--us) .ag-msg:nth-child(3) { transition-delay: 2.6s; }

.ag-gate { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.ag-gate__side { padding: 16px; border: 1px solid var(--line2); border-radius: 14px; background: var(--surface); }
.ag-gate__label { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ag-gate__msg { display: grid; gap: 8px; margin-top: 12px; }
.ag-part { padding: 10px 12px; border-radius: 10px; font-size: 14.5px; }
.ag-part b { display: block; margin-bottom: 2px; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ag-part--task { border: 1px solid color-mix(in srgb, var(--acc) 50%, var(--line2)); background: color-mix(in srgb, var(--acc) 8%, var(--surface)); }
.ag-part--task b { color: var(--acc); }
.ag-part--bg { border: 1px solid color-mix(in srgb, var(--stop) 50%, var(--line2)); background: color-mix(in srgb, var(--stop) 7%, var(--surface)); }
.ag-part--bg b { color: var(--stop); }
.ag-gate__wall { display: grid; place-items: center; min-height: 34px; background: repeating-linear-gradient(90deg, var(--stop) 0 8px, transparent 8px 14px) center / 100% 2px no-repeat; }
.ag-gate__wall span { padding: 5px 10px; border: 1px solid var(--stop); border-radius: 999px; background: var(--bg); font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--stop); }
.ag-gate__blocked { padding: 8px 12px; border: 1px dashed var(--line2); border-radius: 10px; color: var(--mute); font-size: 13.5px; }
.ag-gate.is-armed .ag-gate__msg--in .ag-part--task { opacity: 0; transform: translateX(-18px); transition: opacity .6s var(--ease) .5s, transform .6s var(--ease) .5s; }
.ag-gate.is-armed .ag-gate__blocked { opacity: 0; transition: opacity .5s var(--ease) 1.3s; }
.ag-gate.is-on .ag-gate__msg--in .ag-part--task { opacity: 1; transform: none; }
.ag-gate.is-on .ag-gate__blocked { opacity: 1; }
.ag-gate.is-on:not(.is-still) .ag-part--bg { animation: ag-bounce .7s var(--ease) 1s 1; }
@keyframes ag-bounce { 0%,100% { transform: none; } 35% { transform: translateX(14px); } 60% { transform: translateX(-5px); } }

.ag-cr { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; align-items: center; }
.ag-cr__mails { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line2); border-radius: 14px; background: var(--surface); }
.ag-cr__mails li { display: flex; gap: 10px; padding: 6px 10px; border-radius: 7px; background: var(--alt); font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ag-cr__mails b { flex: none; width: 46px; font: 500 11px/1.6 var(--mono); color: var(--text); }
.ag-cr__card { padding: 18px; border: 1px solid color-mix(in srgb, var(--ok) 55%, var(--line2)); border-radius: 16px; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--ok) 9%, var(--surface)), var(--surface) 70%); transition: opacity .6s var(--ease) .9s, transform .6s var(--ease) .9s; }
.ag-cr__title { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.ag-cr__steps { display: grid; gap: 10px; margin-top: 14px; counter-reset: s; }
.ag-cr__steps li { position: relative; padding: 10px 12px 10px 44px; border: 1px solid var(--line2); border-radius: 10px; background: var(--alt); font-size: 14.5px; }
.ag-cr__steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: var(--bg); font: 700 12px/1 var(--mono); }
.ag-cr__steps b { display: block; font-size: 12px; color: var(--mute); font-weight: 500; }
.ag-cr.is-armed .ag-cr__card { opacity: 0; transform: translateY(10px); }
.ag-cr.is-on .ag-cr__card { opacity: 1; transform: none; }
.ag-cr.is-on:not(.is-still) .ag-cr__mails li { opacity: .28; transform: scale(.98); }
.ag-cr.is-on .ag-cr__mails li:nth-child(odd) { transition-delay: .1s; }
.ag-cr.is-on .ag-cr__mails li:nth-child(3n) { transition-delay: .3s; }

.ag-day { position: relative; max-width: 980px; margin: 0 auto 24px; padding: 18px 16px 12px; border: 1px solid var(--line2); border-radius: 16px; background: var(--surface); }
.ag-day__lane { position: relative; height: 34px; }
.ag-day__lane--asks i { position: absolute; top: 10px; left: var(--at); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--stop); transition: left 1s var(--ease), background .4s; }
.ag-day.is-on .ag-day__lane--asks i { left: var(--to); background: var(--acc); }
.ag-day__lane--bundles span { position: absolute; top: 4px; left: var(--at); transform: translateX(-50%); padding: 5px 9px; border: 1px solid var(--acc); border-radius: 999px; background: var(--bg); font: 500 11px/1 var(--mono); color: var(--acc); white-space: nowrap; opacity: 0; transition: opacity .5s var(--ease) .9s; }
.ag-day.is-on .ag-day__lane--bundles span { opacity: 1; }
.ag-day__lane--focus b { position: absolute; top: 6px; left: var(--from); width: var(--w); height: 22px; border-radius: 6px; background: color-mix(in srgb, var(--ok) 20%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 50%, transparent); font: 500 11px/20px var(--mono); color: var(--ok); text-align: center; opacity: 0; transition: opacity .6s var(--ease) 1.4s; }
.ag-day.is-on .ag-day__lane--focus b { opacity: 1; }
.ag-day:not(.is-armed) .ag-day__lane--asks i { left: var(--to); background: var(--acc); }
.ag-day:not(.is-armed) .ag-day__lane--bundles span, .ag-day:not(.is-armed) .ag-day__lane--focus b { opacity: 1; }
.ag-day__axis { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); font: 500 11px/1 var(--mono); color: var(--mute); }
.ag-fl { margin-top: 18px; }

.road--2 { max-width: 980px; margin: 0 auto; }

@media (max-width: 559px) {
  .ag-day__lane--bundles span { font-size: 9.5px; padding: 4px 6px; }
  .ag-day__lane--focus b { font-size: 0; }
  .ag-cr__mails li:nth-child(n+9) { display: none; }
}
@media (min-width: 760px) {
  .ag-talk { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .ag-talk__mid { align-self: stretch; }
  .ag-talk__mid span { writing-mode: vertical-rl; }
  .ag-gate { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); align-items: stretch; }
  .ag-gate__wall { background: repeating-linear-gradient(180deg, var(--stop) 0 8px, transparent 8px 14px) center / 2px 100% no-repeat; }
  .ag-gate__wall span { writing-mode: vertical-rl; }
  .ag-cr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .road--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .ag-net__dots { display: none; }
}
.ag-net__svg--m { display: none; }
.ag-net__svg--m .ag-net__clean path { stroke-dasharray: 260; stroke-dashoffset: 260; }
.ag-net.is-after .ag-net__svg--m .ag-net__clean path { stroke-dashoffset: 0; }
.ag-net__svg--m text { font-size: 12px; }
.ag-net__svg--m .ag-net__clients text { font-size: 11.5px; }
.ag-net__svg--m .ag-net__hub text { text-anchor: start; }
@media (max-width: 599px) {
  .ag-net__svg:not(.ag-net__svg--m) { display: none; }
  .ag-net__svg--m { display: block; }
}

.ag-chat--case { align-self: start; width: 100%; max-width: 520px; justify-self: center; }
.aud__cta .st { align-self: center; }
/* Navigation mit sieben Punkten: nie umbrechen, zwischen 900 und 1180 px enger */
.nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1179px) {
  .nav { font-size: 13.5px; }
  .nav a { padding: 8px 8px; }
  .bar__in { gap: 10px; }
}
@media (min-width: 900px) and (max-width: 1019px) {
  .nav a[href$="datenbank.html"], .nav a[href$="database.html"] { display: none; }
}
.ag-objection { margin-top: 14px; color: var(--mute); font-size: 15px; }
.ag-objection::before { content: "? "; color: var(--acc); font-weight: 600; }
.tile h3 .st { margin-left: auto; flex: none; font-size: 10.5px; }
.tile h3:has(.st) { flex-wrap: wrap; row-gap: 6px; }

/* Menü für Handy und Tablet */
.menu-btn { display: grid; place-content: center; gap: 4px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line2); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.menu-sheet { position: fixed; top: 60px; left: 0; right: 0; z-index: 29; max-height: calc(100dvh - 60px); overflow-y: auto; padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 40px -20px rgba(0,0,0,.5); }
.menu-sheet[hidden] { display: none; }
.menu-sheet ul { display: grid; }
.menu-sheet li a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 18px; font-weight: 500; text-decoration: none; }
.menu-sheet li a::after { content: "→"; color: var(--mute); font: 400 16px/1 var(--mono); }
.menu-sheet li a[aria-current="page"] { color: var(--acc); }
.menu-sheet__cta { margin-top: 16px; }
.menu-open .bar { background: var(--bg); border-color: var(--line); }
@media (min-width: 900px) { .menu-btn, .menu-sheet { display: none !important; } }
.menu-btn { position: relative; display: block; }
.menu-btn span { position: absolute; left: 50%; top: 50%; width: 16px; margin: -0.8px 0 0 -8px; }
.menu-btn span:nth-child(1) { transform: translateY(-5px); }
.menu-btn span:nth-child(3) { transform: translateY(5px); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
.card__top .st, .table .st { white-space: normal; text-align: center; }

@media (min-width: 768px) { .ln { white-space: nowrap; } }
