/* ═══════════════════════════════════════════════════════════════
   zquady.com, Unterseiten „Edel" (17.09.2026)
   Rechtsseiten, Konto loeschen, /start, 404 und die Link-Vorschauen
   /z/ und /u/. Alles Gemeinsame (Schrift, Farben, Kopf, Fuss) steht in
   basis.css - hier nur, was diese Seiten selbst brauchen.
   ═══════════════════════════════════════════════════════════════ */

/* ── Dokumente (Rechtstexte) ─────────────────────────────────────────── */
.dok { padding: 150px 0 120px; }
.prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--tinte-2); }
.prose h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.045em; color: var(--tinte); margin: 0; }
.prose h1, .prose h2, .prose h3 { -webkit-hyphens: auto; hyphens: auto; }
.prose .stand { margin: 18px 0 48px; font-size: 15px; color: var(--tinte-3); }
.prose h2 {
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.03em; color: var(--tinte);
  margin: 64px 0 18px; padding-top: 32px; border-top: 1px solid var(--linie); scroll-margin-top: 96px;
}
.prose h3 { font-size: 19px; line-height: 1.35; color: var(--tinte); margin: 36px 0 10px; scroll-margin-top: 96px; }
.prose p { margin: 0 0 18px; overflow-wrap: break-word; }
.prose strong, .prose b { color: var(--tinte); font-weight: 600; }
.prose em { font-style: normal; color: var(--tinte); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--oliv-tief); }
.prose dl { margin: 0 0 22px; border-top: 1px solid var(--linie); }
.prose dt { margin-top: 14px; font-size: 13.5px; font-weight: 600; letter-spacing: .01em; color: var(--tinte-3); }
.prose dd { margin: 2px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--linie); color: var(--tinte); }
.prose hr { border: 0; border-top: 1px solid var(--linie); margin: 56px 0; }
.prose .addr { white-space: pre-line; color: var(--tinte); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--flaeche); color: var(--tinte); border-radius: 8px; padding: .12em .4em; }
.prose a { color: var(--tinte); text-decoration: underline; text-decoration-color: var(--linie); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose .note, .prose .binding { margin: 0 0 24px; padding: 20px 24px; border-radius: 22px; background: var(--flaeche); font-size: 15.5px; line-height: 1.65; }
.prose .note p, .prose .binding p { margin: 0 0 10px; }
.prose .note p:last-child, .prose .binding p:last-child { margin: 0; }
/* Inhaltsverzeichnis: im Fluss eine Karte ... */
.prose .toc { margin: 0 0 24px; padding: 26px 30px; border-radius: 28px; background: var(--flaeche); }
.prose .toc p { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tinte-3); }
.prose .toc ol { margin: 0; padding-left: 30px; }
.prose .toc li { margin: 0 0 7px; font-size: 15.5px; line-height: 1.5; }
.prose .toc li::marker { color: var(--tinte-3); font-variant-numeric: tabular-nums; }
.prose .toc a { color: var(--tinte-2); text-decoration: none; transition: color .2s; }
.prose .toc a:hover, .prose .toc a.an { color: var(--tinte); }
.prose .toc a.an { font-weight: 600; }
/* ... am grossen Schirm eine mitlaufende Spalte links vom Text. */
@media (min-width: 1180px) {
  .prose:has(> .toc) { max-width: 1072px; display: grid; grid-template-columns: 264px minmax(0, 720px); column-gap: 88px; }
  .prose:has(> .toc) > * { grid-column: 2; }
  .prose:has(> .toc) > .toc {
    grid-column: 1; grid-row: 1 / span 400; align-self: start; position: sticky; top: 108px;
    max-height: calc(100vh - 140px); overflow-y: auto; margin: 0; padding: 4px 0 0; background: none; border-radius: 0;
  }
  .prose:has(> .toc) > .toc ol { padding-left: 28px; }
  .prose:has(> .toc) > .toc li { font-size: 14.5px; }
}
@media (max-width: 720px) {
  .dok { padding: 120px 0 88px; }
  .prose { font-size: 16.5px; }
  .prose h1 { font-size: 38px; }
  .prose .toc { padding: 22px 22px; }
}

/* ── Ruhige zentrierte Seiten (/start, 404) ─────────────────────────── */
.einfach { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 140px 24px 96px; overflow: hidden; text-align: center; }
.einfach::before { content: ""; position: absolute; left: 50%; top: -360px; width: 860px; height: 860px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--oliv-glanz), var(--oliv-0)); pointer-events: none; }
.einfach-inhalt { position: relative; max-width: 620px; }
.einfach .marke-gross { display: block; width: 64px; height: 64px; margin: 0 auto 30px; }
.einfach .marke-gross .bm-1, .einfach .marke-gross .bm-3 { fill: var(--tinte); }
.einfach .code { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--tinte-3); font-variant-numeric: tabular-nums; }
.einfach h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1; letter-spacing: -.045em; }
.einfach h1 em { font-style: normal; color: var(--oliv-tief); }
.einfach .unter { margin-left: auto; margin-right: auto; }
.einfach .anders { margin: 10px 0 0; font-size: 14.5px; color: var(--tinte-3); }
.einfach-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.einfach-knoepfe .knopf svg { width: 20px; height: 20px; }
.knopf-rand { background: rgba(0,0,0,0); color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--linie); }
.knopf-rand:hover { box-shadow: inset 0 0 0 1.5px var(--tinte-3); }
.einfach .zurueck { margin: 28px 0 0; font-size: 15px; }
.einfach .zurueck a { color: var(--tinte-2); transition: color .2s; }
.einfach .zurueck a:hover { color: var(--tinte); }

/* ── Link-Vorschau /z/ und /u/ ───────────────────────────────────────── */
.vorschau { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px; overflow: hidden; }
.vorschau::before { content: ""; position: absolute; left: 50%; top: -340px; width: 760px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--oliv-glanz), var(--oliv-0)); pointer-events: none; }
.vorschau > * { position: relative; }
.vorschau-marke { margin-bottom: 34px; font-size: 21px; }
.vorschau-marke svg { width: 30px; height: 30px; }
.vorschau-karte { width: 100%; max-width: 420px; padding: 20px 22px; border-radius: 28px; background: var(--karte); box-shadow: var(--karte-schatten); text-align: left; }
.vorschau-karte.mit-mono { display: flex; align-items: center; gap: 16px; }
.vk-ueber { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--oliv-tief); }
.vk-titel { margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; color: var(--tinte); }
.mit-mono .vk-titel { margin-top: 0; }
.vk-neben { margin-top: 5px; font-size: 14.5px; line-height: 1.5; color: var(--tinte-2); }
.vk-mono { width: 58px; height: 58px; flex: none; border-radius: 999px; display: grid; place-items: center; background: var(--oliv-glanz); color: var(--oliv-tief); font-size: 20px; font-weight: 700; }
.vorschau-knopf { width: 100%; max-width: 420px; margin-top: 24px; }
.vorschau-sub { max-width: 420px; margin: 18px 0 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--tinte-2); }
.vorschau-sub a { color: var(--tinte); font-weight: 600; }

/* ── Druck ───────────────────────────────────────────────────────────── */
@media print {
  .kopf, footer { display: none !important; }
  body { background: #fff; color: #000; }
  .dok { padding: 0; }
  .prose, .prose:has(> .toc) { display: block; max-width: none; font-size: 11pt; color: #000; }
  .prose .toc { position: static; max-height: none; background: none; border: 1px solid #999; }
  .prose .note, .prose .binding { background: none; border: 1px solid #999; }
}
