/* JahnTech GmbH - temporary static site
   Single stylesheet. No webfonts, no external requests. */

:root {
  --bg: #ffffff;
  --fg: #1c1f23;
  --muted: #555d66;
  --rule: #d8dde2;
  --accent: #12507e;
  --notice-bg: #f2f6fa;
  --notice-rule: #12507e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --fg: #e8eaed;
    --muted: #a6afb8;
    --rule: #333a42;
    --accent: #7fb6e3;
    --notice-bg: #1b232b;
    --notice-rule: #7fb6e3;
  }
}

* { box-sizing: border-box; }

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

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

header.site,
main,
footer.site {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site {
  padding-top: 1.75rem;
  padding-bottom: 1.25rem;
}

.brand {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--fg);
  text-decoration: none;
}

.brand:hover,
.brand:focus { color: var(--accent); }

main { padding-bottom: 3rem; }

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 1rem 0 1.25rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.75rem;
}

h3 {
  font-size: 1.08rem;
  margin: 1.75rem 0 0.6rem;
}

h4, h5, h6 {
  font-size: 1rem;
  margin: 1.4rem 0 0.5rem;
}

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-left: 1.4rem; }

li { margin-bottom: 0.35rem; }

a { color: var(--accent); }

a:hover, a:focus { text-decoration: none; }

/* maintenance / status notice */
.status {
  background: var(--notice-bg);
  border-left: 4px solid var(--notice-rule);
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.75rem;
  color: var(--fg);
}

/* footer */
footer.site {
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  padding-bottom: 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

footer.site .tm { margin-bottom: 0.5rem; }

/* long legal text: keep line length comfortable, allow tables/pre to scroll */
main table { display: block; overflow-x: auto; max-width: 100%; }

@media (max-width: 30rem) {
  body { font-size: 16px; }
  h1 { font-size: 1.5rem; }
  header.site, main, footer.site { padding: 0 1rem; }
  header.site { padding-top: 1.25rem; }
}
