/* Impressum, Datenschutz und Feedback: schlichte Textseiten im Farbschema des Spiels (src/styles/base.css) */
:root {
  --bg: #0b0f1a;
  --panel: #151b2b;
  --text: #e6e9f2;
  --muted: #9aa3b8;
  --accent: #4fb3ff;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

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

h1 {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  margin: 16px 0 8px;
}

h2 {
  font-size: 1.15rem;
  margin: 28px 0 8px;
}

dl {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 4px 16px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  dl {
    grid-template-columns: minmax(0, 1fr);
  }
  dd {
    margin-bottom: 8px;
  }
}

.lang-switch {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.hint {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Feedback-Formular */
.feedback-form {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.feedback-form label {
  margin-top: 10px;
  font-weight: 600;
}

.feedback-form select,
.feedback-form textarea,
.feedback-form input {
  width: 100%;
  padding: 10px;
  font: inherit;
  color: var(--text);
  background: var(--panel);
  border: 1px solid #2a3450;
  border-radius: 6px;
}

.feedback-form textarea {
  resize: vertical;
}

.feedback-form button {
  margin-top: 14px;
  min-height: 44px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.feedback-form button:disabled {
  opacity: 0.6;
}

/* Bot-Falle: nicht sichtbar, nicht vorlesbar, aber im Formular */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.context {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.context p {
  overflow-wrap: anywhere;
}

#feedback-captcha {
  margin-top: 12px;
}

.status {
  min-height: 1.5em;
}
