/* Schlicht und neutral: die Seiten erscheinen unter mehreren Domains mit
   jeweils eigenem Aussehen und sollen zu keiner davon schlecht passen. */

:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #5f6b7a;
  --border: #dde2e8;
  --link: #1f5fbf;
  --error-bg: #fdecec;
  --error-text: #8a1c1c;
  --ok-bg: #e8f5ec;
  --ok-text: #1d5b31;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181c;
    --card: #1d2126;
    --text: #e4e7eb;
    --muted: #9aa5b1;
    --border: #2e343b;
    --link: #7fb0ff;
    --error-bg: #3a1d1d;
    --error-text: #f5b5b5;
    --ok-bg: #1b3325;
    --ok-text: #a7e0b8;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}

h1 { font-size: 1.6rem; margin: 0 0 1.25rem; line-height: 1.25; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.25rem; }
p, ul { margin: 0 0 0.9rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.3rem; }

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

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

address { font-style: normal; margin-bottom: 0.9rem; }

nav.legal {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
nav.legal a { color: var(--muted); }

form label { display: block; font-weight: 600; margin: 1rem 0 0.3rem; }
form label .optional { font-weight: 400; color: var(--muted); }

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
textarea { min-height: 10rem; resize: vertical; }

button {
  margin-top: 1.25rem;
  padding: 0.65rem 1.4rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #1f5fbf;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
button:hover { background: #184c99; }

/* Honeypot: für Menschen unsichtbar, für Screenreader ausgeblendet. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.hinweis { padding: 0.8rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.hinweis.fehler { background: var(--error-bg); color: var(--error-text); }
.hinweis.ok { background: var(--ok-bg); color: var(--ok-text); }

.abstand { margin-top: 1.25rem; }
