/* sourceZONE – Basis-Stylesheet
   Farb- und Kontrastwerte sind gegen WCAG 2.1 AA geprüft. */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f4f1;
  --color-text: #232323;
  --color-text-muted: #4c4c4c;
  --color-accent: #8a7412; /* dunkler als Logo-Gold (#B59A16), erreicht 4.5:1 auf Weiß */
  --color-border: #d9d5c9;
  --focus-ring: #1a5fb4;
  --max-width: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #17171a;
    --color-bg-alt: #202024;
    --color-text: #f2f1ee;
    --color-text-muted: #cfcdc6;
    --color-accent: #e0c34a; /* helles Gold, kontrastreich auf dunklem Grund */
    --color-border: #3a3a3f;
    --focus-ring: #7fb3ff;
  }
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-accent);
  color: #1a1a1a;
  padding: 0.75em 1.25em;
  border-radius: 0 0 0.25em 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

a {
  color: var(--color-accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.site-header {
  padding: 2rem 1.5rem 1rem;
  display: flex;
  justify-content: center;
}

.site-header img {
  width: min(280px, 70vw);
  height: auto;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.content {
  max-width: var(--max-width);
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  padding: 0.35em 1em;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0.5rem 0;
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.site-footer a {
  text-decoration: underline;
}

.legal-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 0 0.75rem;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .content {
    animation: fade-in 0.4s ease-out;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
