/* Gemeinsamer Stil der Rechtsseiten. Farben und Typografie wie delete-account.html
   und die App selbst (forgeTheme.ts). */
:root {
  --gold: #FFB300;
  --ember: #FF8A00;
  --ground: #0D1117;
  --card: #161B22;
  --line: #1C232E;
  --line2: #2A3242;
  --ink: #F0F6FC;
  --muted: #8B949E;
  --ash: #4A5563;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body { min-height: 100vh; display: flex; justify-content: center; padding: 44px 20px 80px; }
main { width: 100%; max-width: 680px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 10px;
}
h1 { font-size: 30px; font-weight: 900; letter-spacing: -0.3px; margin: 0 0 6px; }
.lead { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }

.langswitch { margin: 0 0 30px; font-size: 13.5px; }
.langswitch a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(255,179,0,0.35); }
.langswitch a:hover { border-bottom-color: var(--gold); }

section {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 24px; margin-bottom: 16px;
}
section h2 {
  font-size: 13px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--gold); margin: 0 0 12px;
}
p { margin: 0 0 12px; font-size: 15px; }
p:last-child { margin-bottom: 0; }
ol, ul { margin: 0 0 12px; padding-left: 20px; font-size: 15px; }
ol:last-child, ul:last-child { margin-bottom: 0; }
li { margin-bottom: 7px; }
li:last-child { margin-bottom: 0; }
strong { color: var(--ink); }
a { color: var(--gold); }

.note {
  background: rgba(255,179,0,0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px; margin: 0 0 12px;
  font-size: 14.5px; color: var(--muted);
}
.note strong { color: var(--gold); }

.form {
  background: var(--ground); border: 1px solid var(--line2);
  border-radius: 10px; padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; color: var(--muted); white-space: pre-wrap;
  /* Die Unterstrich-Zeilen brechen nicht um und waren bei 390 px 8 px zu
     breit - die ganze Seite liess sich seitlich schieben. Jetzt scrollt
     nur der Kasten. */
  overflow-x: auto;
}

footer {
  margin-top: 28px; color: var(--ash); font-size: 12.5px; text-align: center;
}
footer a { color: var(--muted); }

/* Kontaktformular (kontakt.html / contact.html). Ohne Skript: Pflichtfelder
   und Laengen prueft der Browser, endgueltig die Function kontaktFormular. */
.contact label {
  display: block; font-size: 13px; font-weight: 700; color: var(--muted);
  margin: 14px 0 6px;
}
.contact label:first-of-type { margin-top: 0; }
.contact input, .contact select, .contact textarea {
  width: 100%; background: var(--ground); color: var(--ink);
  border: 1px solid var(--line2); border-radius: 10px;
  padding: 11px 12px; font: inherit; font-size: 15px;
}
.contact textarea { resize: vertical; min-height: 140px; }
.contact input:focus, .contact select:focus, .contact textarea:focus {
  outline: none; border-color: var(--gold);
}
.contact button {
  width: 100%; margin-top: 18px; border: 0; border-radius: 12px;
  background: var(--gold); color: var(--ground);
  font: inherit; font-size: 15px; font-weight: 900; letter-spacing: 0.4px;
  text-transform: uppercase; padding: 13px; cursor: pointer;
}
.contact button:hover { background: var(--ember); }
.contact .hint { margin-top: 12px; font-size: 13px; color: var(--muted); }
/* Roboter-Falle: fuer Menschen unsichtbar, fuer Screenreader ausgeblendet. */
.contact .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.linkbutton {
  display: inline-block; margin-top: 4px; padding: 9px 14px;
  border: 1px solid rgba(255,179,0,0.45); border-radius: 10px;
  color: var(--gold); font-weight: 700; font-size: 14px; text-decoration: none;
}
.linkbutton:hover { border-color: var(--gold); }
.contact label.check {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 14px;
  font-weight: 400; font-size: 13.5px; color: var(--ink); line-height: 1.45;
}
.contact label.check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--gold); }
