/* Platzhalter-Website – zentrale Styles
   Wird von index.html, impressum.html und datenschutz.html genutzt.
   Kein JavaScript, rein statisch. */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #3d3d3d;
  --link: #333333;
  --border: #e0e0e0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #000;
  text-decoration-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* ---------- Kopfbereich mit Logo / Firmenname ---------- */

.site-header {
  padding: 2.5rem 1.5rem 0;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  color: var(--text);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.content {
  flex: 1;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content-wide {
  max-width: 58rem;
}

.content a {
  font-weight: 400;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

.intro {
  color: var(--muted);
  margin: 0;
  font-size: 1.25rem;
}

/* Optionaler Kontaktbereich */
.contact {
  margin-top: 2.5rem;
}

.contact h2 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact p {
  margin: 0;
}

.legal {
  text-align: left;
  align-items: flex-start;
  padding-top: 5rem;
}

.legal h1 {
  text-align: center;
}

.legal h2 {
  text-align: left;
}

.legal h1 {
  margin-top: 2rem;
}

.legal ul {
  padding-left: 1.25rem;
  text-align: left;
}

.legal li {
  margin-bottom: 0.5rem;
}

.back-link {
  display: inline-block;
  font-weight: normal;
  margin-bottom: 0;
  align-self: flex-start;
}

/* ---------- Fußbereich ---------- */

.site-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
}

.legal-links a {
  text-decoration-thickness: 1px;
}

.separator {
  color: var(--muted);
  margin: 0 0.5rem;
}

.copyright {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}
