/* Gemeinsames Layout für Impressum & Datenschutzerklärung.
   Greift auf dieselbe Designsprache wie die Startseite zurück. */

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

:root {
  --cream: #f5f0e8;
  --cream-dark: #ede5d5;
  --brown: #8b6c4f;
  --brown-dark: #5c4433;
  --text: #3a2e24;
  --text-muted: #7a6a5a;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(139,108,79,0.15);
}

nav .logo img { height: 52px; width: auto; display: block; }

nav .back-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav .back-link:hover { color: var(--brown); }

/* CONTENT */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.legal h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--brown-dark);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin: 2.2rem 0 0.8rem;
}

.legal h3 {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--brown-dark);
  margin: 1.5rem 0 0.5rem;
}

.legal p,
.legal li {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.legal ul { padding-left: 1.4rem; margin-bottom: 0.9rem; }

.legal a {
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid rgba(139,108,79,0.3);
  transition: border-color 0.2s;
  word-break: break-word;
}

.legal a:hover { border-color: var(--brown); }

.legal strong { color: var(--brown-dark); font-weight: 500; }

.legal__hint {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139,108,79,0.15);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* FOOTER */
footer {
  background: var(--cream-dark);
  border-top: 1px solid rgba(139,108,79,0.15);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--brown); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
