/* Shared styles for HomeMatch legal pages (Impressum / Datenschutz / AGB) */
:root {
  --black: #000000;
  --offwhite: #f5f5f7;
  --gray: #86868b;
  --gray-dark: #6e6e73;
  --line: rgba(255,255,255,0.12);
  --card: #1c1c1e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--offwhite);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
::selection { background: #fff; color: #000; }

/* top bar */
.bar {
  position: sticky; top: 0; z-index: 10;
  height: 56px; flex: 0 0 auto;
  background: rgba(0,0,0,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.bar .brand {
  font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px; color: var(--offwhite); text-decoration: none;
}
.bar .brand img { height: 19px; width: auto; display: block; }
.bar .back {
  font-size: 14px; color: rgba(245,245,247,0.85); text-decoration: none;
  display: flex; align-items: center; gap: 6px; transition: color 0.2s;
}
.bar .back:hover { color: #fff; }

/* document */
main { flex: 1 1 auto; }
.doc { max-width: 740px; margin: 0 auto; padding: 64px 28px 96px; }
.doc .eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #8a8a8e; margin-bottom: 14px;
}
.doc h1 {
  font-size: clamp(32px, 5vw, 46px); font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.06; margin-bottom: 14px;
}
.doc .lead { font-size: 18px; color: var(--gray); line-height: 1.55; margin-bottom: 8px; }
.doc h2 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
  margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--line);
}
.doc h2:first-of-type { border-top: none; padding-top: 0; }
.doc h3 { font-size: 17px; font-weight: 600; margin: 26px 0 8px; }
.doc p { font-size: 16px; line-height: 1.65; color: #d4d4d8; margin-bottom: 14px; }
.doc p strong, .doc li strong { color: var(--offwhite); font-weight: 600; }
.doc a { color: #2997ff; text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc ul, .doc ol { margin: 0 0 16px 22px; }
.doc li { font-size: 16px; line-height: 1.65; color: #d4d4d8; margin-bottom: 7px; }
.doc address { font-style: normal; line-height: 1.7; font-size: 16px; color: #d4d4d8; }

/* highlighted "needs filling" placeholder */
.todo {
  display: inline; background: rgba(255,159,10,0.14); color: #ffb340;
  border-radius: 5px; padding: 1px 6px; font-size: 0.92em;
}
.note {
  margin-top: 10px; padding: 16px 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px;
  font-size: 14px; color: var(--gray); line-height: 1.6;
}
.stand { margin-top: 40px; font-size: 14px; color: var(--gray-dark); }

/* footer */
footer {
  border-top: 1px solid var(--line); padding: 28px 24px;
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
}
footer a { font-size: 13px; color: var(--gray); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #fff; }
footer .copy { font-size: 13px; color: var(--gray-dark); width: 100%; text-align: center; }
