/* ELMOF — Webseite.
   Bewusst ohne Framework und ohne fremde Schriften: die Seite muss auf einem
   billigen Hoster liegen können, ohne dass Daten an Dritte abfliessen. Genau
   das verspricht die App, und die Seite darf ihr nicht widersprechen. */

:root {
  --grund: #ffffff;
  --grund-2: #f5f3f1;
  --schrift: #1a1614;
  --schrift-leise: #5d5651;
  --akzent: #7a2e3a;
  --akzent-schrift: #ffffff;
  --kontur: #e3ded9;
  --breite: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #14100f;
    --grund-2: #1e1917;
    --schrift: #f2eeeb;
    --schrift-leise: #a9a099;
    --akzent: #c4697a;
    --akzent-schrift: #1a1614;
    --kontur: #2e2724;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.mitte { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

/* ---------- Kopf ---------- */

header {
  border-bottom: 1px solid var(--kontur);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--grund) 88%, transparent);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.kopfzeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}

.wortmarke {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--schrift);
  text-decoration: none;
}

.sprachen { display: flex; gap: 4px; font-size: 0.85rem; }
.sprachen a {
  color: var(--schrift-leise);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
}
.sprachen a[aria-current="true"] { color: var(--schrift); background: var(--grund-2); }
.sprachen a:hover { color: var(--schrift); }

/* ---------- Aufmacher ---------- */

.aufmacher { padding: 72px 0 56px; }
.aufmacher h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.aufmacher p.gross {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--schrift-leise);
  max-width: 34em;
  margin: 0 0 32px;
}

.knopfreihe { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.knopf {
  display: inline-block;
  background: var(--akzent);
  color: var(--akzent-schrift);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.knopf:hover { filter: brightness(1.08); }

.knopf.leise {
  background: transparent;
  color: var(--schrift);
  border-color: var(--kontur);
}

.bald {
  font-size: 0.9rem;
  color: var(--schrift-leise);
}

/* ---------- Abschnitte ---------- */

section { padding: 56px 0; border-top: 1px solid var(--kontur); }
section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
section > .mitte > p.vorspann {
  color: var(--schrift-leise);
  max-width: 38em;
  margin: 0 0 36px;
}

.raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.karte {
  background: var(--grund-2);
  border: 1px solid var(--kontur);
  border-radius: 14px;
  padding: 24px;
}
.karte h3 { margin: 0 0 8px; font-size: 1.05rem; }
.karte p { margin: 0; color: var(--schrift-leise); font-size: 0.95rem; }

/* ---------- Für wen ---------- */

.liste-schlicht { margin: 0; padding-left: 1.2em; color: var(--schrift-leise); }
.liste-schlicht li { margin-bottom: 6px; }

/* ---------- Ehrlichkeitskasten ---------- */

.klartext {
  background: var(--grund-2);
  border: 1px solid var(--kontur);
  border-left: 4px solid var(--akzent);
  border-radius: 10px;
  padding: 24px;
}
.klartext h3 { margin: 0 0 10px; font-size: 1.05rem; }
.klartext p:last-child { margin-bottom: 0; }

/* ---------- Entwurfsbanner ---------- */

.entwurf {
  background: #8a1d1d;
  color: #fff;
  padding: 14px 0;
  font-size: 0.95rem;
}
.entwurf strong { display: block; }

/* ---------- Rechtstexte ---------- */

.fliesstext { max-width: 40em; padding: 48px 0; }
.fliesstext h1 { font-size: 1.9rem; margin-top: 0; }
.fliesstext h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.fliesstext ul { color: var(--schrift-leise); }
.fliesstext .stand { color: var(--schrift-leise); font-size: 0.9rem; }

/* ---------- Fuss ---------- */

footer {
  border-top: 1px solid var(--kontur);
  padding: 40px 0;
  color: var(--schrift-leise);
  font-size: 0.9rem;
}
footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
footer a { color: var(--schrift-leise); }
footer a:hover { color: var(--schrift); }

/* ---------- Platzhalter für Bildschirmbilder ---------- */

.bilder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.platzhalter {
  aspect-ratio: 9 / 19.5;
  background: var(--grund-2);
  border: 1px dashed var(--kontur);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--schrift-leise);
  font-size: 0.85rem;
  padding: 16px;
}

@media (max-width: 640px) {
  .aufmacher { padding: 48px 0 40px; }
  section { padding: 44px 0; }
}
