/* DocFlow DMS · Werbeseite
   Grundwerte wie in der App selbst (web/statisch/stil.css): ruhig, große Schrift,
   wenig Farbe. Alles, was farbig ist, bedeutet etwas. Systemschriften wie in der App,
   darum keine Schriftdateien und keine fremden Server. */

:root {
  color-scheme: light;

  --grund:        #f6f7f9;
  --flaeche:      #ffffff;
  --flaeche-2:    #eef0f4;
  --rand:         #dfe3ea;
  --rand-stark:   #c3c9d4;

  --text:         #16191f;
  --text-leise:   #4f5966;
  --text-still:   #6b7584;

  --akzent:       #2f5fd8;
  --akzent-dunkel:#2550bd;
  --akzent-hell:  #e8eefc;
  --akzent-text:  #ffffff;

  --gut:          #1a7f4b;
  --gut-hell:     #e3f5ea;
  --warn:         #8a5600;
  --warn-hell:    #fdf1dc;

  --papier:       #fffdf8;
  --papier-rand:  #e4dfd3;

  --radius:       10px;
  --radius-gross: 14px;
  --schatten:     0 1px 2px rgb(16 25 40 / .06), 0 4px 14px rgb(16 25 40 / .07);
  --schatten-hoch:0 2px 4px rgb(16 25 40 / .06), 0 12px 32px rgb(16 25 40 / .13);
  --schatten-tief:0 10px 40px rgb(16 25 40 / .18);

  --kopf-hoehe:   62px;
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
  --schrift-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Motor-Werte (cool-website.css) auf dieselbe Welt gestellt */
  --cw-canvas: var(--grund);
  --cw-surface: var(--flaeche);
  --cw-ink: var(--text);
  --cw-ink-soft: var(--text-leise);
  --cw-accent: var(--akzent);
  --cw-accent-ink: #ffffff;
  --cw-font-display: var(--schrift);
  --cw-font-text: var(--schrift);
  --cw-font-mono: var(--schrift-mono);
  --cw-shadow-color: 220 30% 20%;

  --rand-seite: 16px;
}
@media (min-width: 720px) { :root { --rand-seite: 24px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--grund); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--akzent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: #c9d8fb; color: var(--text); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; border-radius: 4px; }

.sprung {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--flaeche); color: var(--text); padding: 10px 14px;
  border: 2px solid var(--akzent); border-radius: var(--radius); font-weight: 600;
}
.sprung:focus { top: 10px; }

/* ── Kopfzeile wie in der App ───────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 60;
  height: var(--kopf-hoehe);
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--rand-seite);
  background: var(--flaeche);
  border-bottom: 1px solid var(--rand);
}
.marke {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.06rem; font-weight: 700; letter-spacing: -.02em;
  text-decoration: none; color: var(--text); white-space: nowrap;
}
.marke-zeichen {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  background: var(--akzent); border-radius: 8px;
}
.marke-zeichen svg { width: 16px; height: 16px; }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ── Knöpfe wie in der App ──────────────────────────────── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--rand-stark); border-radius: var(--radius);
  background: var(--flaeche); color: var(--text);
  font: inherit; font-size: .95rem; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .14s ease-out, border-color .14s ease-out, transform .1s ease-out;
}
.knopf:hover { background: var(--flaeche-2); border-color: var(--text-still); text-decoration: none; }
.knopf:active { transform: translateY(1px); }
.knopf.wichtig { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); }
.knopf.wichtig:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); }
.knopf.leise { border-color: transparent; background: transparent; color: var(--text-leise); }
.knopf.leise:hover { background: var(--flaeche-2); color: var(--text); }
.knopf:disabled { opacity: .5; cursor: not-allowed; }

.merkmal {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; line-height: 1.5;
  background: var(--flaeche-2); color: var(--text-leise); white-space: nowrap;
}
.merkmal.akzent { background: var(--akzent-hell); color: var(--akzent); }
.merkmal.gut    { background: var(--gut-hell); color: var(--gut); }
.merkmal.warn   { background: var(--warn-hell); color: var(--warn); }

/* ── Fußzeile ───────────────────────────────────────────── */
.fuss {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding: 22px var(--rand-seite) 28px;
  border-top: 1px solid var(--rand);
  font-size: .9rem; color: var(--text-leise);
}
.fuss a { color: var(--text-leise); }
.fuss a:hover { color: var(--text); }
.fuss .fuss-rechts { margin-left: auto; }
@media (max-width: 560px) { .fuss .fuss-rechts { margin-left: 0; width: 100%; } }

/* ── Rechtstexte ────────────────────────────────────────── */
.recht {
  max-width: 46rem; margin: 0 auto;
  padding: 40px var(--rand-seite) 64px;
}
.recht h1 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.3rem); margin-bottom: 8px; }
.recht .stand { color: var(--text-leise); margin-bottom: 36px; }
.recht h2 { font-size: 1.18rem; margin: 40px 0 10px; }
.recht p, .recht li { color: var(--text); max-width: 65ch; }
.recht p + p { margin-top: 12px; }
.recht ul { padding-left: 1.2em; margin: 12px 0 0; }
.recht li + li { margin-top: 6px; }
.recht address { font-style: normal; }
.recht .zurueck { display: inline-block; margin-top: 48px; font-weight: 600; }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
