/* ============ TAUSKA Legal Pages (Impressum / Datenschutz) ============ */
:root {
  --obsidian: #060A12;
  --navy:     #0A1120;
  --surface:  #0D1526;
  --surface-2:#111B30;
  --line:        rgba(226,236,252,.08);
  --line-strong: rgba(226,236,252,.16);
  --teal-line:  rgba(56,207,185,.22);
  --text:   #F4F7FC;
  --muted:  #97A4BC;
  --body:   #A9B5CA;
  --teal:   #38CFB9;
  --teal-hover: #55DDC8;
  --teal-ink:   #05231E;
  --radius-pill: 999px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--obsidian);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--teal); color: var(--teal-ink);
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wordmark {
  font-weight: 700; letter-spacing: .34em; font-size: .95rem;
  color: var(--text); text-indent: .34em; white-space: nowrap;
}

/* ---- Top bar ---- */
.topbar { padding-block: 22px; border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .95rem;
  border-radius: var(--radius-pill); cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost {
  background: transparent; color: var(--text);
  padding: 11px 22px; border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.btn-small { padding: 10px 18px; font-size: .88rem; }

/* ---- Legal document ---- */
.legal { max-width: 800px; margin-inline: auto; padding: clamp(52px, 7vw, 88px) 24px clamp(80px, 10vw, 120px); }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; color: var(--muted); margin-bottom: clamp(36px, 5vw, 52px);
  transition: color .2s ease;
}
.back-link:hover { color: var(--teal); }
.back-link svg { width: 15px; height: 15px; }

.doc-kicker {
  font-size: .76rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal);
}
.legal h1 {
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1.08; letter-spacing: -.015em;
  margin-top: 22px;
}
.doc-meta { color: var(--muted); font-size: .92rem; margin-top: 18px; }

.legal h2 {
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(1.3rem, 2.6vw, 1.55rem); letter-spacing: -.01em; line-height: 1.25;
  margin-top: clamp(44px, 6vw, 58px);
}
.legal h3 {
  font-size: 1.02rem; font-weight: 600; line-height: 1.4;
  margin-top: 32px;
}
.legal p { color: var(--body); line-height: 1.78; margin-top: 14px; max-width: 68ch; }
.legal strong { color: var(--text); font-weight: 600; }
.legal address { font-style: normal; color: var(--body); line-height: 1.78; margin-top: 14px; }
.legal a {
  color: var(--teal);
  border-bottom: 1px solid rgba(56,207,185,.35);
  transition: border-color .2s ease, color .2s ease;
}
.legal a:hover { color: var(--teal-hover); border-color: var(--teal-hover); }

.legal ul { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 9px; max-width: 62ch; }
.legal li { color: var(--body); line-height: 1.65; padding-left: 24px; position: relative; }
.legal li::before {
  content: ""; position: absolute; left: 3px; top: .68em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); opacity: .65;
}

/* ---- Copy toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--teal-line); border-radius: var(--radius-pill);
  padding: 12px 24px; font-size: .9rem;
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
  transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast strong { color: var(--teal); font-weight: 600; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); padding-block: 44px 52px; }
footer .container { display: flex; flex-direction: column; gap: 26px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.soon { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; }
.footer-links a { font-size: .9rem; color: var(--muted); transition: color .2s ease; border: none; }
.footer-links a:hover { color: var(--teal); }
.footer-links a[aria-current="page"] { color: var(--teal); }

@media (min-width: 960px) {
  .container { padding-inline: 32px; }
  footer .container { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
