/* Styles für Inhaltsseiten (Kontakt, Impressum, Datenschutz) */
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --header-bg: #0b3d62;
  --border: #e2e6ea;
  --text: #1c2733;
  --muted: #5a6b7b;
  --accent: #0b6fb8;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-size: 1.0625rem; line-height: 1.65;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.page-header {
  background: var(--header-bg); color: #fff; padding: 14px 18px;
  display: flex; align-items: center; gap: 16px;
}
.page-header a.back { color: #fff; text-decoration: none; font-size: 0.9rem; opacity: 0.9; }
.page-header a.back:hover { opacity: 1; }
.page-header h1 {
  font-size: 1.1rem; margin: 0;
  font-family: Georgia, "Times New Roman", serif; font-weight: 700;
}
.container { max-width: 740px; margin: 0 auto; padding: 26px 18px 60px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 28px;
  box-shadow: 0 1px 3px rgba(12, 30, 46, 0.05);
}
.card h2 {
  font-size: 1.3rem; margin: 22px 0 10px; line-height: 1.3;
  font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  letter-spacing: 0.005em;
}
.card h2:first-child { margin-top: 0; }
.card p { margin: 8px 0; }
a { color: var(--accent); }

label { display: block; font-weight: 600; font-size: 0.88rem; margin: 16px 0 6px; }
input[type=text], input[type=email], textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 1rem; font-family: inherit;
  background: var(--surface); color: var(--text); min-height: 44px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 0.86rem; color: var(--muted); }
.consent input { margin-top: 3px; flex: 0 0 auto; }

.btn {
  background: var(--accent); color: #fff; border: 0; border-radius: 10px;
  padding: 11px 22px; min-height: 44px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
}
.btn:disabled { opacity: 0.6; cursor: default; }

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

.formmsg { margin-top: 16px; padding: 11px 14px; border-radius: 8px; font-size: 0.9rem; display: none; }
.formmsg.ok { display: block; background: #e6f4ea; color: #1e7a3d; border: 1px solid #bfe3c9; }
.formmsg.err { display: block; background: #fdeaea; color: #b3261e; border: 1px solid #f3c2c0; }

.page-footer { text-align: center; margin-top: 26px; font-size: 0.82rem; color: var(--muted); }
.page-footer a { margin: 0 8px; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181c; --surface: #1b2026; --header-bg: #0c2438;
    --border: #2c333b; --text: #e7eaed; --muted: #97a2ad; --accent: #4aa3e6;
  }
  .formmsg.ok { background: #143524; color: #7fdca0; border-color: #1f5234; }
  .formmsg.err { background: #3a1d1d; color: #f3a9a4; border-color: #5e2b28; }
}
