/* --------------------------------------------------------------------------
   Farben und Schriftgrössen. Wenn du das Aussehen der ganzen Seite ändern
   willst, ist das hier meistens die einzige Stelle, die du anfassen musst.
   -------------------------------------------------------------------------- */

:root {
  --text: #1c1c1c;
  --text-muted: #5c5c5c;
  --background: #fdfdfc;
  --surface: #f4f3f0;
  --accent: #2f5d50;
  --border: #e2e0da;
  --max-width: 42rem;
}

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

body {
  margin: 0;
  padding: 0 1.25rem;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

/* ---- Kopfzeile mit Navigation ---- */

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}

.site-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover { color: var(--accent); }

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* ---- Inhalt ---- */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 1.1rem; }

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.hero { margin-bottom: 1rem; }

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ---- Kästchen auf der Startseite ---- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
}

.card p { margin: 0; }

/* ---- Kontaktangaben ---- */

.contact {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.5rem;
}

.contact dt {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding-top: 0.15rem;
}

.contact dd { margin: 0; }

.note {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---- Fusszeile ---- */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--border);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer p { margin: 0; }

/* ---- Auf kleinen Bildschirmen ---- */

@media (max-width: 32rem) {
  h1 { font-size: 1.6rem; }
  .lead { font-size: 1.1rem; }
  .site-header { padding-top: 1.5rem; }
}
