/*
 * Firmenseite sankell-software-services.com.
 *
 * Bewusst ohne Schriften von aussen, ohne Skript und ohne Cookies: Dann hat
 * die Datenschutzerklärung nichts zu erklären, was die Seite gar nicht
 * braucht, und die CSP in staticwebapp.config.json kann alles ausser 'self'
 * verbieten.
 */

:root {
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #ff6601;
  --accent-ink: #b84700;
  --bg: #ffffff;
  --surface: #f6f5f3;
  --line: #e4e1dc;
  --todo-bg: #fff1e6;
  --todo-ink: #a33a00;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ecebe9;
    --muted: #a6a4a0;
    --accent: #ff7a26;
    --accent-ink: #ff9a5c;
    --bg: #151515;
    --surface: #1e1e1e;
    --line: #2e2e2e;
    --todo-bg: #3a2414;
    --todo-ink: #ffb27f;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent-ink); text-underline-offset: 2px; }
a:hover { color: var(--accent); }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand img { display: block; height: 40px; width: auto; }

/* Die Wortmarke ist schwarz auf transparent. Im Dunkelmodus kehrt der
   Filter Schwarz nach Weiss, und die Drehung um 180° bringt das Orange
   ungefähr zurück. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img { filter: invert(1) hue-rotate(180deg); }
}

.lang a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 4px 6px;
}

.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }

main { padding: 40px 0 56px; }

h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 16px;
}

h2 {
  font-size: 20px;
  margin: 36px 0 8px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 28px;
}

.accent-bar {
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 0 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 24px 0;
}

.card p { margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }

dl.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 20px;
  margin: 0;
}

dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }

@media (max-width: 560px) {
  dl.facts { grid-template-columns: 1fr; gap: 0; }
  dl.facts dd { margin-bottom: 10px; }
  h1 { font-size: 26px; }
}

/* Noch auszufüllende Angaben - fällt absichtlich auf. Vor dem Ausrollen
   darf keine mehr übrig sein (siehe README.md). */
.todo {
  background: var(--todo-bg);
  color: var(--todo-ink);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 20px;
  padding-bottom: 28px;
}

footer.site nav a { color: var(--muted); margin-right: 16px; }
