/* P8 text pages (Impressum, Datenschutz, embed preview, embed test, offline page). Same palette and
   typeface as the app (styles/app.css): slate, glacier milk, gentian blue; Atkinson Hyperlegible Next. */
@font-face {
  font-family: 'Atkinson Next';
  src: url('/vendor/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Next';
  src: url('/vendor/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --grund: #eef3f5;
  --blatt: #ffffff;
  --tinte: #1c2a31;
  --tinte-leise: #44555d;
  --linie: #c3d0d6;
  --enzian: #b3122f;
  --enzian-hauch: #f6f4f1;
  --laerche: #7d5f0c;
  --schiefer: #1f2c33;
  --schrift: 'Atkinson Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0e161a;
    --blatt: #121b20;
    --tinte: #e6edf0;
    --tinte-leise: #a9b8bf;
    --linie: #33444c;
    --enzian: #ff8a9c;
    --enzian-hauch: #2a2a2a;
    --laerche: #e7c35c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--tinte);
  background: var(--grund);
}
a { color: var(--enzian); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--enzian); outline-offset: 2px; border-radius: 4px; }

.p8-kopf {
  background: var(--schiefer);
  color: #f4f8f9;
  padding: 14px max(20px, env(safe-area-inset-left)) 14px max(20px, env(safe-area-inset-right));
}
.p8-kopf-innen {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.p8-marke { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; }
.p8-marke svg { width: 26px; height: 26px; }
.p8-kopf nav { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; }
.p8-kopf nav a { color: #c9d8ff; font-weight: 700; }

main.p8-blatt {
  max-width: 760px;
  margin: 24px auto 48px;
  padding: 8px max(20px, env(safe-area-inset-left)) 24px max(20px, env(safe-area-inset-right));
}
.p8-blatt section + section { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--linie); }
.p8-blatt h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.15; margin: 8px 0 4px; }
.p8-blatt h2 { font-size: 1.25rem; margin: 28px 0 6px; }
.p8-blatt .p8-lede { color: var(--tinte-leise); margin: 0 0 18px; }
.p8-blatt address { font-style: normal; }
.p8-stand { color: var(--tinte-leise); font-size: 0.9375rem; margin-top: 28px; }

/* At a glance: three promises with a symbol, readable without the text below. */
.p8-blick {
  list-style: none;
  padding: 0;
  margin: 18px 0 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.p8-blick li {
  background: var(--blatt);
  border: 1px solid var(--linie);
  border-radius: 2px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}
.p8-blick svg { width: 34px; height: 34px; color: var(--enzian); }
.p8-blick b { display: block; }
.p8-blick span { color: var(--tinte-leise); font-size: 0.9375rem; }

/* Who receives what: one row per host. */
.p8-tabelle { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.9688rem; }
.p8-tabelle th, .p8-tabelle td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--linie); }
.p8-tabelle th { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--tinte-leise); }
.p8-tabelle code { font-size: 0.875rem; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .p8-tabelle thead { display: none; }
  .p8-tabelle tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--linie); }
  .p8-tabelle td { display: block; border: 0; padding: 2px 0; }
}
