/* Lumi Lebensfreude — Uebergangsseite.
   Bewusst eine externe Datei und kein <style>-Block: die CSP, die
   bin/site-vorbereiten.sh erzeugt, laesst inline-Styles nur zu, wenn in einer
   HTML-Datei style="" vorkommt. Ein <style>-Block wuerde vom Browser
   stillschweigend geblockt und die Seite erschiene unformatiert.
   Siehe muster/README.md, Falle 24. */

:root {
  --grund:      #fbf8f3;
  --tinte:      #2b2723;
  --gedaempft:  #5f574e;
  --linie:      #e4dbcd;
  --akzent:     #7a5c3e;
  --karte:      #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.rahmen {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

header { margin-bottom: 3rem; }

.marke {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.marke .zweiter { color: var(--akzent); }

.rolle {
  margin: 0;
  font-size: 1.0625rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gedaempft);
}

.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 2rem 1.75rem;
}

h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  line-height: 1.3;
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.leise { color: var(--gedaempft); }

.trenner {
  border: 0;
  border-top: 1px solid var(--linie);
  margin: 2.5rem 0;
}

footer {
  margin-top: 3rem;
  font-size: 1rem;
  color: var(--gedaempft);
}

footer a, .karte a {
  color: var(--akzent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover, .karte a:hover { text-decoration: none; }

a:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 2px;
  border-radius: 3px;
}

.fehler-code {
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--akzent);
  margin: 0 0 0.5rem;
  line-height: 1;
}

@media (max-width: 30rem) {
  body { font-size: 1.0625rem; }
  .rahmen { padding: 2rem 1rem 3rem; }
  .karte { padding: 1.5rem 1.25rem; }
  .marke { font-size: 1.75rem; }
}

/* ---------- Kontaktformular ---------- */

.formular { margin-top: 1.75rem; }

.feld { margin-bottom: 1.15rem; }

.feld label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 1.0625rem;
}

.feld input[type="text"],
.feld input[type="email"],
.feld textarea {
  width: 100%;
  font: inherit;
  color: var(--tinte);
  background: var(--grund);
  border: 1px solid var(--linie);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
}

.feld textarea { min-height: 8rem; resize: vertical; }

.feld input:focus-visible,
.feld textarea:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 1px;
  border-color: var(--akzent);
}

/* Honeypot. Nicht display:none — manche Bots ueberspringen das gezielt.
   Aus dem Blickfeld geschoben und vor Tastatur und Screenreader versteckt. */
.falle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.zustimmung {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 1.35rem;
}

.zustimmung input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  accent-color: var(--akzent);
}

.zustimmung label {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gedaempft);
}

button[type="submit"] {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--akzent);
  border: 0;
  border-radius: 8px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
}

button[type="submit"]:hover { background: #67492f; }

button[type="submit"]:disabled {
  background: var(--gedaempft);
  cursor: default;
}

button[type="submit"]:focus-visible {
  outline: 3px solid var(--tinte);
  outline-offset: 2px;
}

.meldung {
  margin-top: 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.meldung.gut     { background: #edf5ec; border: 1px solid #bcd6b8; color: #2c4a28; }
.meldung.schlecht{ background: #fbeeec; border: 1px solid #e0bfb9; color: #6b2b21; }

/* ---------- Rechtsseiten ---------- */

.rechtstext h2 { margin-top: 2rem; font-size: 1.25rem; }
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext ul { padding-left: 1.25rem; margin: 0 0 1.1rem; }
.rechtstext li { margin-bottom: 0.4rem; }

.luecke {
  background: #fdf3d8;
  border-bottom: 2px solid #d9b44a;
  padding: 0 0.2rem;
  font-weight: 600;
}

.hinweis-entwurf {
  background: #fdf3d8;
  border: 1px solid #d9b44a;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 2rem;
  font-size: 1rem;
}
