/* Gemeinsames Stylesheet der Rechtstexte (Teilnahmebedingungen, Datenschutz,
   Impressum). Farben und Typografie entsprechen der Startseite. */

@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/outfit-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/outfit-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/outfit-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/outfit-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 800; src: url(fonts/outfit-latin-800-normal.woff2) format('woff2'); }

:root {
  --body: #ffffff;
  --surface: #f7fafc;
  --surface-2: #ffffff;
  --primary: #1a365d;
  --primary-strong: #2b6cb0;
  --accent: #ed8936;
  --border: #e2e8f0;
  --text: #1a2942;
  --text-muted: #718096;
  --shadow-sm: 0 4px 18px -8px rgba(26, 54, 93, 0.2);
}

@media (prefers-color-scheme: dark) {
  :root {
    --body: #101720;
    --surface: #182230;
    --surface-2: #141c27;
    --primary: #5b9bd8;
    --primary-strong: #7db4ea;
    --accent: #f0a35a;
    --border: #2a3646;
    --text: #eef2f7;
    --text-muted: #9fb0c3;
    --shadow-sm: 0 6px 22px -10px rgba(0, 0, 0, 0.55);
  }
}

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

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--body);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in srgb, var(--body) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand-logo {
  display: block; height: 26px; aspect-ratio: 320 / 50;
  background: url(logo.svg) left center / contain no-repeat;
}
@media (prefers-color-scheme: dark) { .brand-logo { background-image: url(logo-dark.svg); } }
.nav .cta-sm {
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  padding: 9px 18px; border-radius: 10px;
  background: var(--primary); color: #fff; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav .cta-sm:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
@media (prefers-color-scheme: dark) { .nav .cta-sm { background: #2b6cb0; } }

main { padding: 56px 0 24px; }

.eyebrow {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px;
}
.subline { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 40px; }

h2 {
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.005em;
  margin: 40px 0 14px; padding-top: 22px; border-top: 1px solid var(--border);
}
main > .wrap > h2:first-of-type { border-top: none; padding-top: 0; }

p { margin-bottom: 14px; }
ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
li { position: relative; padding-left: 22px; margin-bottom: 9px; }
li::before {
  content: "◆"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-size: 0.72rem; line-height: 1.9;
}

a { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

address { font-style: normal; }

.note {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px; margin: 22px 0;
}
.note p:last-child { margin-bottom: 0; }

.stamp { margin-top: 44px; font-size: 0.88rem; color: var(--text-muted); }

footer {
  margin-top: 56px; padding: 40px 0; border-top: 1px solid var(--border);
  text-align: center;
}
footer .links {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  font-size: 0.92rem; margin-bottom: 16px;
}
footer .links a { color: var(--text-muted); text-decoration: none; }
footer .links a:hover { color: var(--primary); }
footer .copy { font-size: 0.82rem; color: var(--text-muted); }
