/* =========================================
   Finanz24 – Legal Pages Stylesheet
   ========================================= */

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

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
  color: #222222;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.legal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 24px;
  background: #ffffff;
}

.legal-header-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-logo {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
}

.legal-back {
  font-size: 13.5px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}

.legal-back:hover {
  color: #111111;
}

/* MAIN */
.legal-main {
  flex: 1;
  padding: 48px 24px 64px;
}

.legal-container {
  max-width: 660px;
  margin: 0 auto;
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin: 28px 0 8px;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #111111;
  margin: 20px 0 6px;
}

p {
  font-size: 15px;
  color: #3a3a3a;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* FOOTER */
.legal-footer {
  border-top: 1px solid #e2e8f0;
  padding: 16px 24px;
  background: #ffffff;
}

.legal-footer-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-footer-inner span {
  font-size: 13px;
  color: #9ca3af;
}

.legal-footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-footer-links a {
  font-size: 13px;
  color: #6b7280;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footer-links a:hover {
  color: #111111;
}

.legal-footer-links span {
  color: #d1d5db;
  font-size: 13px;
}

@media (max-width: 480px) {
  .legal-footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
