/* Zapp Calendar — shared styles for legal pages
   (Impressum, Privacy, Terms)
   Matches landing page tokens. Focus: readability. */

:root {
  --bg: #ffffff;
  --bg-elevated: #fafafa;
  --bg-muted: #f5f5f7;
  --fg: #1d1d1f;
  --fg-secondary: #515154;
  --fg-tertiary: #86868b;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #FF7B42;
  --accent-blue: #4A6FFF;
  --gradient: linear-gradient(135deg, #4A6FFF 0%, #FF7B42 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --max-content: 720px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elevated: #0a0a0a;
    --bg-muted: #141414;
    --fg: #f5f5f7;
    --fg-secondary: #a1a1a6;
    --fg-tertiary: #6e6e73;
    --border: rgba(255, 255, 255, 0.1);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Navigation ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
}
.nav-lang {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--fg-tertiary);
}
.nav-lang a.active {
  color: var(--fg);
  font-weight: 600;
}

/* ---- Layout ---- */
main {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.page-header { margin-bottom: 40px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.last-updated {
  color: var(--fg-tertiary);
  font-size: 14px;
  margin-top: 8px;
}

/* ---- Typography ---- */
h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0 0 6px;
}
h2 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 40px 0 14px;
  padding-top: 8px;
}
h2:first-of-type { margin-top: 24px; }
h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 24px 0 8px;
}
p {
  margin: 0 0 16px;
  color: var(--fg-secondary);
}
strong { color: var(--fg); font-weight: 600; }
em { color: var(--fg); font-style: italic; }

ul, ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--fg-secondary);
}
li { margin-bottom: 6px; }

.address-block {
  padding: 18px 20px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 16px 0;
  color: var(--fg);
  line-height: 1.55;
  font-size: 15px;
}
.callout {
  padding: 16px 20px;
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-muted));
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  margin: 20px 0;
  color: var(--fg);
  font-size: 15px;
}
.callout strong { display: block; margin-bottom: 4px; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  background: var(--bg-muted);
  color: var(--fg-tertiary);
  font-size: 13px;
}
.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--fg-secondary);
  text-decoration: none;
}
.footer-links a:hover { color: var(--fg); }

/* ---- Mobile ---- */
@media (max-width: 640px) {
  main { padding: 32px 20px 60px; }
  .nav-inner { padding: 12px 20px; }
}
