/* quickcopy · Werkzeug (M1) */
[hidden] { display: none !important; }
.h3 { font-family: var(--f-head); font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.small { font-size: 14px; }
.fine { font-size: 13px; color: var(--c-muted); line-height: 1.5; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn--wide { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; }
.btn--ghost:hover { border-color: var(--c-brand); color: var(--c-text); }
.btn--danger:hover, .btn--danger.is-armed { border-color: var(--c-coral); color: var(--c-coral); }
.logo__mark { width: 40px; height: 26px; }

/* Kopfbereich mit Wolken */
.hero { position: relative; overflow: hidden; padding-block: 28px 56px; }
.hero__in { position: relative; display: flex; flex-direction: column; gap: 18px; max-width: 980px; }
.hero__head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--c-brand); }
@media (min-width: 900px) { .hero { padding-block: 48px 80px; } }
.clouds { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; aspect-ratio: 1200 / 260; pointer-events: none; }
.cloud { fill: none; stroke: var(--c-line); stroke-width: 2; opacity: .9; }
.cloud--s { opacity: .6; }
@media (max-width: 700px) { .cloud--hide-sm { display: none; } }
:root[data-theme='light'] .cloud { fill: var(--c-surface); stroke: var(--c-line); opacity: 1; }
@media (prefers-color-scheme: light) { :root:not([data-theme='dark']) .cloud { fill: var(--c-surface); stroke: var(--c-line); opacity: 1; } }

.devnote { padding: 10px 14px; border-radius: 10px; font-size: 14px; border: 1px solid var(--c-coral); background: color-mix(in srgb, var(--c-coral) 12%, transparent); color: var(--c-soft); }
.devnote b { color: var(--c-text); }

/* Werkzeug-Karte */
.tool { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 600px) { .tool { padding: 28px; } }
.view { display: flex; flex-direction: column; gap: 18px; }
.conn { font-size: 13px; color: var(--c-muted); display: flex; align-items: center; gap: 8px; margin: -4px 0 -6px; }
.conn::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-muted); flex-shrink: 0; }
.conn[data-state='ok']::before { background: var(--c-brand); }
.conn[data-state='lost']::before { background: var(--c-coral); }
.conn[data-state='lost'] { color: var(--c-coral); }

.start { display: grid; gap: 18px; }
.start__col { display: flex; flex-direction: column; gap: 12px; }
.start__or { display: flex; align-items: center; gap: 12px; color: var(--c-muted); font-family: var(--f-pixel); font-size: 12px; text-transform: uppercase; }
.start__or::before, .start__or::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
@media (min-width: 760px) {
  .start { grid-template-columns: 1fr auto 1fr; gap: 28px; }
  .start__or { flex-direction: column; }
  .start__or::before, .start__or::after { width: 1px; height: auto; flex: 1; }
  .start__col .btn { margin-top: auto; }
}

.ttl { display: flex; flex-direction: column; gap: 6px; }
.ttl label, .alt__in label { font-weight: 600; }
input[type='range'] { width: 100%; accent-color: var(--c-brand); min-height: 32px; }

.codein { font: inherit; font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; letter-spacing: .06em; text-align: center; color: var(--c-text); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 12px; padding: 10px; width: 100%; }
.codein::placeholder { color: var(--c-muted); opacity: .6; }
.codein:focus, .composer textarea:focus { outline: 2px solid var(--c-brand); outline-offset: 1px; border-color: transparent; }

.msg { padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; border: 1px solid var(--c-coral); background: color-mix(in srgb, var(--c-coral) 12%, transparent); }
.msg[data-kind='ok'] { border-color: var(--c-brand); background: color-mix(in srgb, var(--c-brand) 12%, transparent); }

/* Kopf der Ablage: Code + Restzeit */
.boxhead { display: grid; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--c-line); }
@media (min-width: 720px) { .boxhead { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.boxhead__code, .boxhead__time { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.code { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.9rem, 7vw, 2.6rem); letter-spacing: .04em; color: var(--c-brand); line-height: 1.05; overflow-wrap: anywhere; user-select: all; }
.remain { font-family: var(--f-head); font-weight: 700; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.remain.is-ending #remainTxt { color: var(--c-coral); }
.countdown { height: 6px; border-radius: 3px; background: var(--c-line); overflow: hidden; }
.countdown__bar { height: 100%; width: 100%; background: var(--c-brand); transition: width 1s linear; }
.remain.is-ending + .countdown .countdown__bar { background: var(--c-coral); }
.alt { border: 1px solid var(--c-line); border-radius: 12px; }
.alt summary { cursor: pointer; padding: 10px 14px; font-weight: 600; min-height: 44px; display: flex; align-items: center; color: var(--c-soft); }
.alt__in { display: flex; flex-direction: column; gap: 8px; padding: 0 14px 14px; }

.peers { font-size: 14px; color: var(--c-soft); display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: -4px 0 0; }
.peers b { font-family: var(--f-head); }
.peer { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-bg); font-size: 13px; }
.peer.is-me { border-color: var(--c-brand); }

/* Eingabe */
.composer { display: flex; flex-direction: column; gap: 10px; }
.composer textarea { font: inherit; font-size: 16px; color: var(--c-text); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 110px; resize: vertical; line-height: 1.5; }
.composer textarea::placeholder { color: var(--c-muted); }
.composer__bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.composer__size { margin-left: auto; font-variant-numeric: tabular-nums; }
.composer__size.is-over { color: var(--c-coral); font-weight: 600; }
@media (max-width: 520px) { .composer__bar .btn { flex: 1 1 100%; } .composer__size { margin-left: 0; } }

/* Liste */
.listhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.listhead .muted { font-weight: 500; font-size: 1rem; }
.empty { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px dashed var(--c-line); border-radius: var(--r-m); color: var(--c-soft); }
.empty img { width: 64px; height: auto; flex-shrink: 0; }
.entries { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.entry { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-m); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.entry.is-new { animation: pop .9s ease; }
@keyframes pop { 0% { border-color: var(--c-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand) 35%, transparent); } 100% { border-color: var(--c-line); box-shadow: none; } }
.entry__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--c-muted); }
.entry__meta .pill { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--c-line); }
.entry__text { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; max-height: 9em; overflow: hidden; }
.entry.is-open .entry__text { max-height: none; }
.entry__more { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--c-brand); cursor: pointer; text-decoration: underline; min-height: 32px; }
.entry__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.entry__actions .btn--primary { min-width: 130px; }
@media (max-width: 520px) { .entry__actions { display: grid; grid-template-columns: 1fr auto auto; } .entry__actions .btn--primary { min-width: 0; } .entry__actions .btn { padding: 0 12px; } }
.entry__time::before, .entry__from + .entry__time::before { content: '· '; }
.entry textarea { font: inherit; font-size: 16px; color: var(--c-text); background: var(--c-surface); border: 1px solid var(--c-brand); border-radius: 10px; padding: 10px 12px; width: 100%; min-height: 110px; resize: vertical; }

.boxfoot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-top: 16px; border-top: 1px solid var(--c-line); }

.gone { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 12px 0; }
.gone img { width: 120px; height: auto; }

.limits { max-width: 80ch; }

.toast { width: max-content; text-align: center; position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--c-text); color: var(--c-bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; box-shadow: 0 6px 24px rgba(0,0,0,.25); max-width: calc(100vw - 32px); }

/* ── M2: QR-Code, Zeit-Modus, Sperren ── */
.boxhead__code { flex-direction: row; gap: 16px; align-items: flex-start; }
.boxhead__codetxt { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.qr { flex-shrink: 0; width: 112px; aspect-ratio: 1; padding: 0; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr.is-big { position: fixed; z-index: 95; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(86vw, 420px); cursor: zoom-out; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6); }
@media (max-width: 520px) { .boxhead__code { flex-direction: column; } .qr { width: 132px; } }
.code { font-size: clamp(1.5rem, 5.4vw, 2.2rem); }
.paused { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; font-family: var(--f-pixel); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; vertical-align: middle; color: var(--c-coral); border: 1px solid var(--c-coral); }
.remain.is-paused #remainTxt { color: var(--c-muted); }
.seg { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.seg legend { font-weight: 600; font-size: 14px; padding: 0 0 6px; }
.seg__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 12px; padding: 4px; }
.seg label { position: relative; display: flex; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 40px; padding: 4px 6px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--c-soft); line-height: 1.2; }
.seg input:checked + span { background: var(--c-brand); color: var(--c-on-brand); }
.seg input:focus-visible + span { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.seg input:disabled + span { opacity: .5; }
.entry.is-bad .entry__text { color: var(--c-coral); font-style: italic; }
.remain.is-new #remainTxt { animation: timeflash 1s ease; }
@keyframes timeflash { 0% { color: var(--c-brand); } 100% { color: inherit; } }
.codein { font-size: clamp(1.1rem, 4.8vw, 1.5rem); letter-spacing: .02em; }

/* ── M3: Text-Infos, Schnell-Aktionen, Menü, Dialoge, Nur-Lesen ── */
[data-ro] { display: none; }
.is-ro [data-rw] { display: none !important; }
.is-ro [data-ro] { display: block; }
.is-ro .empty p:not([data-ro]) { display: none; }
.ronote { font-size: 14px; color: var(--c-soft); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-bg); }
.is-ro .code { color: var(--c-soft); }

.pill--type { color: var(--c-brand); border-color: color-mix(in srgb, var(--c-brand) 55%, transparent) !important; font-weight: 600; }
.pill--type[data-type='secret'], .pill--type[data-type='json-bad'] { color: var(--c-coral); border-color: color-mix(in srgb, var(--c-coral) 55%, transparent) !important; }
.swatch { width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--c-line); display: inline-block; vertical-align: middle; }
.entry__pin { font-family: var(--f-pixel); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-coral); }
.entry.is-pinned { border-color: color-mix(in srgb, var(--c-coral) 55%, var(--c-line)); }
.entry__text.is-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
.entry__text.is-masked { letter-spacing: .2em; color: var(--c-muted); }
.entry[data-type='iban'] .entry__text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.entry__warn { font-size: 13px; color: var(--c-coral); margin: -4px 0 0; }
.entry__info { font-size: 14px; }
.entry__info summary { cursor: pointer; color: var(--c-soft); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.entry__info dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 6px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--c-surface); border: 1px solid var(--c-line); }
.entry__info dt { color: var(--c-muted); }
.entry__info dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.entry__info .hash { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
@media (max-width: 520px) { .entry__info dl { grid-template-columns: 1fr; gap: 0; } .entry__info dd { margin-bottom: 6px; } }
.entry__actions { align-items: center; }
.entry__actions a.btn { text-decoration: none; }

.more { position: relative; }
.more__btn { list-style: none; min-width: 44px; font-size: 20px; letter-spacing: 1px; }
.more__btn::-webkit-details-marker { display: none; }
.more__menu { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 20; min-width: 220px; display: flex; flex-direction: column; padding: 6px; border-radius: 12px; background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.more__item { font: inherit; font-size: 15px; text-align: left; background: none; border: 0; color: var(--c-text); padding: 10px 12px; min-height: 44px; border-radius: 8px; cursor: pointer; }
.more__item:hover, .more__item:focus-visible { background: var(--c-bg); }
.more__item--danger { color: var(--c-coral); }
@media (max-width: 520px) { .entry__actions { display: flex; flex-wrap: wrap; } .entry__actions .btn--primary { flex: 1 1 auto; } }

.dlg { border: 1px solid var(--c-line); border-radius: var(--r-l); background: var(--c-surface); color: var(--c-text); padding: 22px; width: min(92vw, 460px); max-height: 90vh; }
.dlg::backdrop { background: rgba(5, 10, 25, .65); }
.dlg[open] { display: flex; flex-direction: column; gap: 14px; }
.dlg__qr { width: min(70vw, 300px); aspect-ratio: 1; margin: 0 auto; background: #fff; border-radius: 12px; overflow: hidden; }
.dlg__qr svg { width: 100%; height: 100%; display: block; }
.share { display: flex; flex-direction: column; gap: 10px; }
.linkout { font: inherit; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-text); }

/* ── M4: App, Teilen, Mobil ── */
.resume { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: var(--r-m); border: 1px solid var(--c-brand); background: color-mix(in srgb, var(--c-brand) 8%, transparent); }
.resume__code { font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; color: var(--c-brand); overflow-wrap: anywhere; }

.timeset { border: 1px solid var(--c-line); border-radius: 12px; }
.timeset > summary { cursor: pointer; padding: 10px 14px; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: 6px; color: var(--c-soft); }
.timeset__mode { color: var(--c-brand); font-weight: 600; }
.timeset__in { display: flex; flex-direction: column; gap: 10px; padding: 0 12px 12px; }
.extend { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--c-line); }
.extend label { font-weight: 600; font-size: 14px; }
.extend__row { display: flex; gap: 10px; align-items: center; }
.extend__row input { flex: 1; }

.install { display: flex; align-items: center; gap: 14px; padding: 14px 52px 14px 16px; position: relative; }
.install img { width: 48px; height: 48px; border-radius: 11px; flex-shrink: 0; }
.install__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.install__x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; font-size: 14px; }
@media (max-width: 520px) { .install { flex-wrap: wrap; } .install__txt { flex-basis: calc(100% - 70px); } }

/* In der Ablage: großen Kopfbereich auf kleinen Bildschirmen einklappen, damit das Werkzeug gleich oben steht */
@media (max-width: 900px) {
  .in-box .hero__head h1, .in-box .hero__head .lead { display: none; }
  .in-box .hero { padding-top: 16px; }
  .in-box .clouds { display: none; }
}
/* Als installierte App: kein Werbe-Kopf, nur das Werkzeug */
.is-app .hero__head h1, .is-app .hero__head .lead { display: none; }
.is-app .hero { padding-top: 16px; }

/* Schnellzugriff unten (nur Handy, nur in der Ablage) */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--c-bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--c-line); }
  .mbar .btn { min-height: 48px; }
  .mbar #mbarPaste { flex: 1; }
  .mbar #mbarTop { width: 52px; padding: 0; }
  .in-box .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .in-box .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .qr { width: 96px; }
  .boxhead__code { flex-direction: row; }
}
.hdr { padding-top: env(safe-area-inset-top); }
.toast { bottom: calc(24px + env(safe-area-inset-bottom)); }
@media (max-width: 640px) {
  .boxhead__code { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: center; }
  .boxhead__codetxt { display: contents; }
  .boxhead__code .qr { grid-row: 1 / span 2; grid-column: 1; }
  .boxhead__code .kicker { grid-column: 2; align-self: end; }
  .boxhead__code .code { grid-column: 2; align-self: start; font-size: 1.35rem; }
  .boxhead__code .row, .boxhead__code .ronote { grid-column: 1 / -1; }
  .boxhead__code .row .btn { flex: 1 1 auto; }
  .is-ro .boxhead__code .kicker, .is-ro .boxhead__code .code { grid-column: 1 / -1; }
  .peers { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .peers > * { flex-shrink: 0; }
}


/* ── M5: Seiten-Inhalte (Bausteine aus cloud-transfair, Akzent Cyan/Koralle) ── */
.list--yes li::marker { content: '✓  '; color: var(--c-brand); }
.list--no li::marker { content: '✗  '; color: var(--c-coral); }

/* Kann / kann nicht mit Symbolen */
.hpills { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hpill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid; }
.hpill--yes { color: var(--c-brand); border-color: color-mix(in srgb, var(--c-brand) 55%, transparent); background: color-mix(in srgb, var(--c-brand) 10%, transparent); }
.hpill--no { color: var(--c-coral); border-color: color-mix(in srgb, var(--c-coral) 55%, transparent); background: color-mix(in srgb, var(--c-coral) 9%, transparent); }
.caphead { font-size: 1.25rem; margin: 8px 0 14px; display: flex; gap: 10px; align-items: center; }
.caphead span { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.caphead--yes span { background: var(--c-brand); color: var(--c-on-brand); }
.caphead--no span { background: var(--c-coral); color: var(--c-on-brand); }
.caphead--no { margin-top: 36px; }
.capgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .capgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .capgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cap { position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 2px; padding: 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-m); border-left-width: 4px; }
.cap--yes { border-left-color: var(--c-brand); } .cap--no { border-left-color: var(--c-coral); }
.cap__ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; position: relative; }
.cap--yes .cap__ic { color: var(--c-brand); background: color-mix(in srgb, var(--c-brand) 14%, transparent); }
.cap--no .cap__ic { color: var(--c-coral); background: color-mix(in srgb, var(--c-coral) 12%, transparent); }
.cap__ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cap__ic::after { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--c-surface); }
.cap--yes .cap__ic::after { content: '✓'; background: var(--c-brand); color: var(--c-on-brand); }
.cap--no .cap__ic::after { content: '✗'; background: var(--c-coral); color: var(--c-on-brand); }
.cap strong { font-family: var(--f-head); font-size: 1.1rem; }
.cap > span:last-child { color: var(--c-soft); font-size: 15px; }
/* ── M5: Inhalte ── */
.bubble { position: relative; margin-top: 4px; padding: 12px 16px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-soft); max-width: 60ch; font-style: italic; }
.bubble--small { font-size: 14px; padding: 10px 12px; margin-top: auto; }
.guide-head { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 28px; }
.guide-head .section-head { margin-bottom: 0; }
.guide-head__img { width: auto; height: 170px; flex-shrink: 0; }
@media (max-width: 600px) { .guide-head { align-items: center; } .guide-head__img { height: 120px; } }

/* Grafik "So geht's" */
.fig { margin: 0; display: grid; gap: 22px; }
@media (min-width: 960px) { .fig { grid-template-columns: 1.5fr 1fr; align-items: center; } }
.diagram { width: 100%; height: auto; }
.d-box { fill: var(--c-surface); stroke: var(--c-line); stroke-width: 2; }
.d-box--soft { stroke-dasharray: 5 5; }
.d-title { fill: var(--c-text); font-family: var(--f-head); font-weight: 700; font-size: 22px; }
.d-small { fill: var(--c-muted); font-size: 14px; }
.d-label { fill: var(--c-soft); font-family: var(--f-head); font-weight: 700; font-size: 16px; }
.d-dev { fill: var(--c-surface); stroke: var(--c-muted); stroke-width: 2; }
.d-screen { fill: var(--c-bg); stroke: var(--c-line); }
.d-dash { fill: none; stroke: var(--c-muted); stroke-width: 2.5; stroke-dasharray: 7 7; }
.d-dot { fill: none; stroke: var(--c-muted); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.d-direct { fill: none; stroke: var(--c-brand); stroke-width: 5; stroke-linecap: round; }
.d-arrow { fill: var(--c-brand); }
.d-num { fill: var(--c-bg); stroke: var(--c-muted); stroke-width: 2; }
.d-num--brand { fill: var(--c-brand); stroke: var(--c-brand); }
.d-numt { fill: var(--c-text); font-family: var(--f-head); font-weight: 700; font-size: 18px; }
.d-numt--brand { fill: var(--c-on-brand); }
.d-lock rect { fill: var(--c-brand); } .d-lock path { fill: none; stroke: var(--c-brand); stroke-width: 3; }
.legend { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; color: var(--c-soft); }
.legend li::marker { font-family: var(--f-head); font-weight: 700; color: var(--c-brand); }
.legend b { color: var(--c-text); }

/* Anleitung */
.guides { display: grid; gap: 16px; }
@media (min-width: 900px) { .guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.guide { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.guide h3 { font-size: 1.15rem; display: flex; flex-direction: column; gap: 4px; }
.guide h3 span { font-size: 1.4rem; letter-spacing: 2px; }
.guide ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--c-soft); }
.guide li::marker { color: var(--c-brand); font-weight: 700; }

/* Sicherheit: Abschnitte mit Schaubi + Ablauf */
.split { display: grid; gap: 24px; align-items: center; margin-top: 36px; }
.split:first-of-type { margin-top: 0; }
.split__img { width: 150px; height: auto; justify-self: center; }
@media (min-width: 860px) { .split { grid-template-columns: 190px 1fr; gap: 40px; } .split__img { width: 100%; } .split--rev { grid-template-columns: 1fr 190px; } .split--rev .split__img { order: 2; } }
.flow { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; counter-reset: f; }
@media (min-width: 720px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow__step { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: var(--c-surface); border: 1px solid var(--c-line); }
.flow__step span:last-child { color: var(--c-muted); font-size: 14px; }
.flow__ic { font-size: 1.5rem; line-height: 1; }
.flow__step--ok { border-color: var(--c-brand); }
.flow__step--warn { border-color: var(--c-amber); }
@media (min-width: 720px) { .flow__step:not(:last-child)::after { content: '→'; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--c-muted); font-weight: 700; z-index: 1; } }
.store { display: grid; gap: 12px; margin-bottom: 10px; }
@media (min-width: 720px) { .store { grid-template-columns: 1.4fr 1fr; } }
.store__col { list-style: none; margin: 0; padding: 16px; border-radius: 12px; display: grid; gap: 8px; font-size: 15px; border: 1px solid var(--c-line); background: var(--c-surface); }
.store__col li { padding-left: 26px; position: relative; color: var(--c-soft); }
.store__col li::before { position: absolute; left: 0; font-weight: 700; }
.store__col--yes li::before { content: '•'; color: var(--c-amber); font-size: 1.2em; line-height: 1.2; }
.store__col--no { border-color: var(--c-brand); }
.store__col--no li::before { content: '✗'; color: var(--c-brand); }

/* Tabelle */
.table-wrap { overflow-x: auto; border-radius: var(--r-m); border: 1px solid var(--c-line); }
.tbl { width: 100%; border-collapse: collapse; background: var(--c-surface); font-size: 15px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--c-line); }
.tbl thead th { font-family: var(--f-head); background: var(--c-bg-2); }
.tbl tbody th { white-space: nowrap; font-weight: 600; }
.tbl td { color: var(--c-soft); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .tbl tbody th { white-space: normal; min-width: 110px; } }

/* FAQ */
.faq-wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 280px 1fr; gap: 48px; } }
.faq-img { width: 110px; height: auto; display: none; }
@media (min-width: 900px) { .faq-img { display: block; } }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-surface); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; min-height: 48px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--c-brand); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 18px 16px; color: var(--c-soft); }

/* Glossar */
.gloss { margin: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gloss { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gloss > div { padding: 14px 16px; border-radius: 12px; background: var(--c-surface); border: 1px solid var(--c-line); }
.gloss dt { font-family: var(--f-head); font-weight: 700; color: var(--c-brand); }
.gloss dd { margin: 4px 0 0; color: var(--c-soft); font-size: 15px; }

/* transfair vs. transfer */
.brand { color: var(--c-brand); } .brand2 { color: var(--c-coral); }
.versus { display: grid; gap: 16px; }
@media (min-width: 760px) { .versus { grid-template-columns: 1fr 1fr; } }
.versus__col { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.versus__col ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--c-soft); }
.badge { align-self: flex-start; font-family: var(--f-pixel); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--c-coral); color: var(--c-coral); }
.badge--brand { border-color: var(--c-brand); color: var(--c-brand); }

/* Familie */
.family { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .family { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .family { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fam { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 18px; text-decoration: none; color: var(--c-text); transition: border-color .15s, transform .15s; }
a.fam:hover { border-color: var(--c-brand); color: var(--c-text); transform: translateY(-2px); }
.fam b { font-family: var(--f-head); font-size: 1.1rem; }
.fam b em { font-style: normal; font-family: var(--f-pixel); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-coral); margin-left: 6px; vertical-align: middle; }
.fam span { color: var(--c-muted); font-size: 15px; }
.fam--soon { opacity: .8; border-style: dashed; }

.d-label { font-size: 20px; }
@media (max-width: 560px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl tr { border-bottom: 1px solid var(--c-line); padding: 12px 16px; }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl tbody th, .tbl td { border: 0; padding: 0; }
  .tbl tbody th { color: var(--c-brand); margin-bottom: 4px; }
}
/* quickcopy-Grafik + Anpassungen */
.d-cloud { fill: var(--c-surface); stroke: var(--c-brand); stroke-width: 2.5; }
.d-note { fill: var(--c-brand); opacity: .85; }
.d-note--b { fill: var(--c-coral); }
.d-direct { stroke-width: 4; }
@media (min-width: 900px) { .guides--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .guides--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .versus--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hpills { margin-top: 4px; }
.draft { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--c-coral); background: color-mix(in srgb, var(--c-coral) 10%, transparent); margin-bottom: 16px !important; }
.prose a { color: var(--c-brand); }
@media (max-width: 520px) { .hdr__back { display: none; } }
.limits a { color: var(--c-brand); }
.split .h3, .store + .h3 { margin-bottom: 14px; }
.hero__in { max-width: 1200px; }
.hero__in > .tool, .hero__in > .install, .hero__in > .limits { max-width: 980px; width: 100%; }

/* ── Coming-soon-Seite (public/coming-soon.html nutzt dieselben Dateien wie das Werkzeug) ── */
.soon { position: relative; display: grid; gap: 28px; align-items: center; padding-block: 12px 24px; }
@media (min-width: 900px) { .soon { grid-template-columns: 1.3fr 1fr; gap: 48px; padding-block: 32px 48px; } }
.soon__text { display: flex; flex-direction: column; gap: 18px; }
.soon__art { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.soon__art img { width: min(280px, 70vw); height: auto; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35)); }
.bubble--tail { max-width: 300px; text-align: center; }
.bubble--tail::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; background: var(--c-surface); border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); transform: translateX(-50%) rotate(45deg); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand); margin-right: 6px; vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps3 li { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps3 li::before { counter-increment: s; content: '0' counter(s); font-family: var(--f-pixel); color: var(--c-brand); font-size: 14px; }
.steps3 strong { font-family: var(--f-head); font-size: 1.15rem; }
.steps3 span { color: var(--c-soft); }
.progress-wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .progress-wrap { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; } }
.build { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.build li { position: relative; padding: 12px 16px 12px 48px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-muted); }
.build li::before { content: ''; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--c-line); box-sizing: border-box; }
.build .build__done { color: var(--c-text); }
.build .build__done::before { content: '✓'; border: 0; background: var(--c-brand); color: var(--c-on-brand); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.build .build__now { color: var(--c-text); border-color: var(--c-coral); font-weight: 600; }
.build .build__now::before { border-color: var(--c-coral); border-top-color: transparent; animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fam--sister { border-color: var(--c-brand); }
