/* zimmerservice: gemeinsames Stylesheet für Startseite und Rechtstexte.
   Bewusst nur Systemschriften und keine externen Dateien (Datenschutz). */
:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --text: #1f1d1a;
  --muted: #6b665e;
  --accent: #a85a22;
  --border: #e5dfd5;
  --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 6px 20px rgb(0 0 0 / .05);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161412;
    --surface: #211e1b;
    --text: #f1ede7;
    --muted: #a39d94;
    --accent: #e39a5c;
    --border: #36312c;
    --shadow: none;
  }
}

* { box-sizing: border-box; }

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

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

.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 16px; }

/* Kopfbereich */
.hero { padding: 72px 0 36px; text-align: center; }
.bell { font-size: 3rem; line-height: 1; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin: .5rem 0 .25rem; letter-spacing: -.02em; }
.tagline { margin: 0; color: var(--muted); font-size: 1.1rem; }

/* Dienste */
main { flex: 1; padding-bottom: 56px; }
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-2px); border-color: var(--accent); }
.card .icon { font-size: 1.75rem; line-height: 1; }
.card strong { display: block; font-size: 1.05rem; }
.card small { display: block; color: var(--muted); font-size: .95rem; }

/* Platzhalter, solange es noch keinen Dienst gibt */
.empty {
  display: none;
  margin: 0;
  padding: 40px 16px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 14px;
}
main:not(:has(.card)) .empty { display: block; }

/* Fußzeile */
footer { border-top: 1px solid var(--border); padding: 20px 0; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
footer a { color: var(--muted); }

/* Rechtstexte */
.legal { padding: 48px 0 64px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2.25rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal li { margin: .25rem 0; }
.back { display: inline-block; margin-bottom: 1rem; text-decoration: none; }
.stand { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover, .card:focus-visible { transform: none; }
}
