/* ============================================================
   Naturheilpraxis Schniepp — Shared Stylesheet
   Used by index.html, impressum.html, datenschutz.html
   ============================================================ */

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

:root {
  --sky:     #EAF3F7;
  --powder:  #C9DEE8;
  --steel:   #5C8AA3;
  --deep:    #2F4858;
  --terra:   #C99A7A;
  --text:    #3D4A52;
  --white:   #FBFCFD;
  --muted:   #5d6c75;

  --font-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html, body { height: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--sky);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── PAGE / CARD SHELL (shared by all three pages) ────────── */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1.5rem;
}

.card-inner {
  width: 100%;
  background: var(--white);
  box-shadow: 0 30px 70px -30px rgba(47,72,88,0.25);
  position: relative;
  overflow: hidden;
}

/* ── FOOTER (identical on all pages) ──────────────────────── */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
footer p { font-size: 0.74rem; color: #8aa0aa; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  color: var(--steel);
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--terra); }

/* ── LEGAL PAGE HEADER STRIP (impressum + datenschutz) ────── */
.page-head {
  padding: 3.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.page-head::after {
  content: '';
  position: absolute;
  bottom: -70px; right: 60px;
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: rgba(251,252,253,0.7);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  transition: color 0.3s;
  position: relative;
  z-index: 1;
}
.nav-back:hover { color: var(--terra); }
.nav-back:hover svg { transform: translateX(-3px); }
.nav-back svg { transition: transform 0.3s; }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terra);
}

.page-title {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

/* ── LEGAL PAGE BODY TEXT (impressum + datenschutz) ───────── */
.section-block { margin-bottom: 2.4rem; scroll-margin-top: 20px; }

.section-block h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--powder);
}

.section-block p,
.section-block address {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
  font-style: normal;
  margin-bottom: 0.65rem;
}

.section-block ul { padding-left: 1.4rem; margin-bottom: 0.65rem; }
.section-block li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 0.2rem;
}

.section-block a {
  color: var(--terra);
  text-decoration: none;
  transition: opacity 0.3s;
}
.section-block a:hover { opacity: 0.7; }

.info-box {
  background: var(--sky);
  border-left: 3px solid var(--terra);
  padding: 1.1rem 1.4rem;
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}

.highlight-box {
  background: var(--sky);
  border-left: 3px solid var(--steel);
  padding: 1.05rem 1.3rem;
  margin: 0.8rem 0;
  font-size: 0.87rem;
  color: #3f5560;
  line-height: 1.8;
}

.strong-box {
  background: var(--deep);
  color: var(--white);
  padding: 1.2rem 1.4rem;
  margin: 1rem 0;
  font-size: 0.84rem;
  line-height: 1.8;
}
.strong-box a { color: var(--terra); }

.last-updated {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.76rem;
  color: #9bb0b9;
  letter-spacing: 0.05em;
}

/* ── SHARED ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.9; }
}
