/* MaSe Consulting – eine Datei, keine externen Ressourcen.
   Keine Webfonts, kein CDN, kein Tracking: nichts verlässt den eigenen Server,
   damit die Seite ohne Einwilligungsbanner auskommt. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --text: #1c2024;
  --text-soft: #5a6169;
  --accent: #1d5c8f;
  --accent-soft: #e8f0f7;
  --border: #dfe3e8;
  --maxw: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181c;
    --bg-soft: #1b2126;
    --text: #e7eaed;
    --text-soft: #a3acb5;
    --accent: #6cb0e0;
    --accent-soft: #1d2a34;
    --border: #2c343b;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

/* Kopf */

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

header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

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

.brand span { color: var(--accent); }

nav.site a {
  color: var(--text-soft);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
}

nav.site a:first-child { margin-left: 0; }
nav.site a:hover { color: var(--accent); text-decoration: underline; }

/* Aufmacher */

.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 34rem;
}

/* Inhalt */

main { padding: 3rem 0 1rem; }

section { margin-bottom: 3rem; }

h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

p { margin: 0 0 1rem; }

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

.leistungen {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .leistungen { grid-template-columns: 1fr 1fr; }
}

.leistung {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.leistung p { margin: 0; color: var(--text-soft); font-size: 0.97rem; }

ul.schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: schritt;
}

ul.schritte li {
  counter-increment: schritt;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
}

ul.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontakt {
  background: var(--accent-soft);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.kontakt p:last-child { margin-bottom: 0; }

/* Rechtstexte */

.rechtstext h2 { margin-top: 2.5rem; }
.rechtstext h3 { margin-top: 1.5rem; }
.rechtstext dl { margin: 0 0 1rem; }
.rechtstext dt { font-weight: 600; margin-top: 0.75rem; }
.rechtstext dd { margin: 0; color: var(--text-soft); }

/* Fuß */

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1.75rem 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

footer.site a { color: var(--text-soft); }
footer.site nav a { margin-left: 1.25rem; }
footer.site nav a:first-child { margin-left: 0; }
