/* Sodelio-Website — bewusst eine einzige, kleine CSS-Datei ohne Framework und ohne externe
   Schriften: die Seite muss nur die Pflichtdokumente ausliefern, schnell laden und überall
   funktionieren. Farben sind dieselben Tokens wie in der App (src/design-system/tokens.ts) —
   bis auf --accent, das jetzt dem Orange des Logos entspricht.

   Farbregel dieser Seite: Das Logo steht IMMER auf hellem Grund. Es enthält eine petrolfarbene
   Figur, einen petrolfarbenen Score-Ring und weiße Innenflächen — auf petrolfarbenem Grund
   verschwände beides. Wo eine Fläche dunkel ist (Fußzeile), bekommt das Logo eine weiße
   Trägerfläche (.plate). */

:root {
  --primary: #0e7a63;
  --primary-dark: #0a6151;
  --accent: #ed6b34;
  --tint: #eaf3f0;      /* sehr helles Petrol — trägt den Kopfbereich, ohne Kontrast zu fressen */
  --bg: #fbf9f6;
  --surface: #ffffff;
  --surface-muted: #f3efe9;
  --text: #1f1d1a;
  --text-dim: #5c554b;
  --border: #e6e0d6;
  --measure: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word; /* lange Wörter wie „Wohngemeinschaften" sprengen sonst schmale Displays */
}

/* --- Kopf --------------------------------------------------------------- */
/* Heller Kopf statt petrolfarbenem: nur so kann das Logo in seinen echten Farben stehen. */

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.bar {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 650;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}

.brand img { display: block; width: 34px; height: auto; }

nav { display: flex; gap: 18px; font-size: 15px; }

nav a { color: var(--text-dim); text-decoration: none; }
nav a:hover { color: var(--primary); text-decoration: underline; }
nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }

/* --- Inhalt ------------------------------------------------------------- */

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 40px 20px 72px;
}

h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.02em; }
h2 { font-size: 1.15rem; margin: 34px 0 6px; color: var(--primary-dark); }
h3 { font-size: 1rem; margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

a { color: var(--primary); }

.lead { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 28px; }
.meta { font-size: 0.9rem; color: var(--text-dim); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 20px;
}

.card h2:first-child { margin-top: 0; }
.card.muted { background: var(--surface-muted); border-color: transparent; }

/* Platzhalter, die vor der Veröffentlichung ersetzt werden MÜSSEN. Absichtlich schreiend:
   eine Datenschutzerklärung mit „[Firmenname]" im Store ist ein Ablehnungsgrund. */
mark {
  background: #ffe9b8;
  color: #6b4b00;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 600;
}

/* --- Startseite --------------------------------------------------------- */

.hero {
  background: linear-gradient(180deg, var(--tint), var(--bg));
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 44px 20px 40px;
}

.hero img { width: 210px; height: auto; }
.hero h1 { margin-top: 14px; }
.hero .lead { margin: 0 auto; max-width: 30rem; }

.features { list-style: none; padding: 0; }
.features li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}
.features li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- Fuß ---------------------------------------------------------------- */
/* Petrol als Gegengewicht zum hellen Kopf. Das Logo bekommt hier eine weiße Trägerfläche,
   weil es auf Petrol nicht direkt stehen kann (siehe Farbregel oben). */

footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.82);
}

.foot {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 30px 20px 44px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px 20px;
  flex-wrap: wrap;
}

.plate {
  background: #fff;
  border-radius: 12px;
  padding: 6px 7px;
  display: flex;
  line-height: 0;
}

.plate img { display: block; width: 26px; height: auto; }
.foot .who { color: #fff; font-weight: 600; margin-right: auto; }
.foot a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
