/* Shared styling for the legal pages (Impressum, Datenschutz, Teilnahmebedingungen).
   Matches the landing page palette. Fonts are self-hosted — see fonts/local.css. */

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0f1728;
  color: #d8dee9;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* Same navbar as the landing page, so the legal pages stay part of the site.
   Scoped to .site-nav so it can never catch another <nav> on the page. */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 3rem;
  background: rgba(10, 16, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-logo {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a0a8b8;
  font-weight: 500;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: #c8cdd8;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  border-bottom: none;
}
.nav-links a:hover { color: #fff; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 2rem;
}

h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 400;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a6070;
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 2.6rem 0 0.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(138, 148, 168, 0.15);
}
h2:first-of-type { border-top: none; padding-top: 0; }

h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: #c3cbd9;
  margin: 1.6rem 0 0.5rem;
}

p { margin-bottom: 1rem; }

ul, ol { margin: 0 0 1rem 1.3rem; }
li { margin-bottom: 0.45rem; }

a { color: #7aa2d6; }
a:hover { color: #a8c6ea; }

strong { color: #fff; font-weight: 600; }

address {
  font-style: normal;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid #3d4b66;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: 0 4px 4px 0;
}

/* Placeholders the project team still has to fill in before launch. */
.todo {
  background: rgba(224, 168, 76, 0.1);
  border-left: 2px solid #e0a84c;
  color: #e8c88a;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.87rem;
}
.todo strong { color: #f3d9a4; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  font-size: 0.87rem;
}
th, td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(138, 148, 168, 0.15);
  vertical-align: top;
}
th { color: #fff; font-weight: 600; }

.updated {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(138, 148, 168, 0.15);
  font-size: 0.78rem;
  color: #5a6070;
}

@media (max-width: 700px) {
  .site-nav { padding: 0.8rem 1.2rem; flex-direction: column; gap: 0.6rem; }
  .nav-links { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .wrap { padding: 8.5rem 1.2rem 2rem; }
  h1 { font-size: 1.6rem; }
  table, thead, tbody, th, td, tr { display: block; }
  th { border-bottom: none; padding-bottom: 0.2rem; }
  td { padding-top: 0.2rem; }
}

/* The shared footer sits outside .wrap, so give it the same measure. */
.site-footer { max-width: 760px; margin: 4rem auto 0; }
