/* ==========================================================================
   S5 LEO GmbH – style.css
   Gemeinsames Stylesheet für die Unterseiten (Impressum, Datenschutz).
   Farben & Typografie abgestimmt auf die Startseite (index.html).
   ========================================================================== */

:root {
  --dark:   #3a4250;
  --mid:    #5a6475;
  --light:  #8a94a6;
  --pale:   #c8cdd6;
  --bg:     #f4f5f6;
  --white:  #ffffff;
  --line:   #e2e4e8;
}

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

html { scroll-behavior: smooth; }

body {
  /* Standard: systemeigene Schrift (keine externe Übertragung).
     Wird durch den Consent-Banner optional auf 'DM Sans' angehoben. */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.fonts-loaded {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 245, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0 2.5rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark); }
.logo img { height: 48px; width: auto; }
.nav-back {
  color: var(--mid); text-decoration: none;
  font-size: 0.875rem; font-weight: 400; transition: color .2s;
}
.nav-back:hover { color: var(--dark); }

/* ── CONTENT ── */
.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.content h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}
.content .lead {
  color: var(--light);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.content h2:first-of-type { border-top: none; padding-top: 0; }
.content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.6rem 0 0.5rem;
}
.content p { margin-bottom: 1rem; color: var(--mid); }
.content strong { color: var(--dark); }
.content a { color: var(--dark); text-decoration: underline; }
.content a:hover { color: #2a3240; }

.content ul { margin: 0 0 1rem 1.25rem; color: var(--mid); }
.content li { margin-bottom: 0.5rem; }

.content .meta-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 1.25rem 0;
}

.back-link {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

/* Bearbeitungshinweis – vor Veröffentlichung entfernen */
.editor-note {
  background: #fff7e6;
  border: 1px solid #f0c46b;
  border-left: 4px solid #e0a020;
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  margin: 0 0 2.5rem;
  font-size: 0.85rem;
  color: #6b5310;
}
.editor-note strong { color: #6b5310; }
.editor-note ul { margin: 0.5rem 0 0 1.25rem; color: #6b5310; }

/* Platzhalter, die noch ausgefüllt werden müssen */
.fill {
  background: #fff2c2;
  padding: 0 0.25em;
  border-radius: 3px;
  font-style: normal;
  color: #6b5310;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
}
footer .footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }
footer .footer-links a { color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: color .2s; }
footer .footer-links a:hover { color: rgba(255, 255, 255, 0.9); }

@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .content { padding: 2.5rem 1.25rem 3.5rem; }
}
