/* ============================================================
   BSG-IT – Legal-Styles (impressum.html + datenschutz.html)
   Eingebunden via: <link rel="stylesheet" href="assets/legal.css">
============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy:      #072567;
    --navy-deep: #051a4a;
    --cyan:      #2ab3f9;
    --cyan-light:#e6f6fe;
    --cyan-mid:  #b3e4fd;
    --ink:       #0d1b3e;
    --ink-muted: #6b7aa1;
    --surface:   #ffffff;
    --surface-2: #f5f7fc;
    --border:    #d8dff0;
    --font: 'Inter', sans-serif;
  }
  body { font-family: var(--font); color: var(--ink); background: var(--surface-2); -webkit-font-smoothing: antialiased; }

  nav {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    height: 80px; display: flex; align-items: center;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    justify-content: space-between;
  }
  .nav-logo { display: flex; align-items: center; text-decoration: none; height: 80px; }
  .nav-logo img { height: 80px; width: auto; display: block; }
  .nav-back {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--navy); text-decoration: none;
    font-weight: 500; transition: gap 0.2s;
  }
  .nav-back:hover { gap: 12px; }
  .nav-back svg { width: 16px; height: 16px; }

  main { max-width: 800px; margin: 3rem auto; padding: 0 clamp(1.5rem, 5vw, 2rem) 5rem; }

  .legal-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: clamp(2rem, 5vw, 3rem);
  }

  .legal-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--cyan-light); color: var(--navy);
    font-size: 12px; font-weight: 500; padding: 5px 12px;
    border-radius: 100px; border: 1px solid var(--cyan-mid);
    margin-bottom: 1rem; letter-spacing: 0.02em;
  }

  h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
  .legal-intro { font-size: 14px; color: var(--ink-muted); margin-bottom: 2rem; font-weight: 300; }

  h2 {
    font-size: 15px; font-weight: 600; color: var(--navy);
    margin: 2rem 0 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }
  h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

  p { font-size: 14px; color: var(--ink-muted); line-height: 1.75; font-weight: 300; }
  p + p { margin-top: 0.75rem; }
  ul { margin: 0.75rem 0 0.75rem 1.5rem; }
  ul li { font-size: 14px; color: var(--ink-muted); line-height: 1.75; font-weight: 300; margin-bottom: 0.25rem; }
  a { color: var(--navy); text-decoration: none; }
  a:hover { text-decoration: underline; }

  footer {
    background: var(--navy-deep); color: rgba(255,255,255,0.4);
    text-align: center; padding: 1.5rem;
    font-size: 12px; font-family: var(--font);
  }
  footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
  footer a:hover { color: #fff; }
