/* Lemmermeyer Consulting – ein Stylesheet für alle Seiten, kein JavaScript nötig */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1b1f24;
  --muted: #5a6270;
  --border: #dde1e7;
  --accent: #1f4e8c;
  --header-bg: #ffffff;
  --header-text: #1b1f24;
  --status-bg: #fff4d6;
  --status-text: #5c4400;
  --maxw: 60rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --surface: #1c2026;
    --text: #e8eaed;
    --muted: #a0a8b4;
    --border: #2e343d;
    --accent: #7eaaf0;
    --header-bg: #1c2026;
    --header-text: #e8eaed;
    --status-bg: #3a3014;
    --status-text: #f3dc9a;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--accent); }
img { max-width: 100%; height: auto; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
}

.skip {
  position: absolute;
  left: -999rem;
}
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem 1rem; z-index: 10; }

/* ===== Kopf ===== */
header.site {
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .01em;
}
.logo span { color: var(--accent); font-weight: 500; }

/* ===== Inhalt ===== */
main { flex: 1; padding-top: 2.5rem; padding-bottom: 3rem; }

h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 2rem; margin: 0 0 1rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 .5rem; }

.content { max-width: 42rem; }

.status {
  display: inline-block;
  background: var(--status-bg);
  color: var(--status-text);
  font-size: .85rem;
  padding: .15rem .6rem;
  border-radius: .3rem;
  margin-bottom: 1rem;
}

/* ===== Fuß ===== */
footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 1.5rem;
}
footer.site a { color: inherit; }
