/* =====================================================================
   Sattify · Seiten, die der Server ausliefert
   Startseite, Impressum, Datenschutz.

   Baut auf app.css auf und definiert KEINE eigenen Farben: die Tafel
   liegt in app.css, hell wie dunkel, und darf nur eine Quelle haben.
   Hier steht nur, wie eine gelesene Seite aussieht — breiter Satzspiegel,
   ruhiger Rhythmus, kein 44-px-Zwang, weil hier niemand mit einer Hand
   am Einkaufswagen steht.
   ===================================================================== */

.seite {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}

.seite__kopf {
  padding: 22px 24px 0;
}
.seite__zurueck {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--green-ink);
  letter-spacing: -.01em;
}
.seite__zurueck:hover { color: var(--terra); }

.seite__inhalt {
  flex: 1;
  width: 100%;
  /* Rund 65 Zeichen je Zeile — darüber verliert das Auge die Zeile. */
  max-width: 42rem;
  margin: 0 auto;
  padding: 26px 24px 60px;
}
.seite__inhalt h1 {
  font-size: clamp(28px, 6vw, 38px);
  text-wrap: balance;
  margin-bottom: 22px;
}
.seite__inhalt h2 {
  font-size: 20px;
  margin: 30px 0 10px;
  color: var(--green-ink);
}
.seite__inhalt p { margin-bottom: 13px; line-height: 1.62; }
.seite__inhalt ul { margin: 0 0 13px; padding-left: 21px; }
.seite__inhalt li { margin-bottom: 6px; line-height: 1.55; }
.seite__stand { margin-top: 30px; font-size: 12px; color: var(--faint); }

.seite__fuss {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 20px 24px calc(24px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.seite__fuss a { color: var(--muted); }
.seite__fuss a:hover { color: var(--terra); }

/* --- Startseite -------------------------------------------------------
   Bewusst kein bildschirmfüllender Auftakt: die Seite soll im ersten
   Blick schon etwas sagen, nicht erst nach dem Scrollen. */

.start { max-width: 48rem; }

.start__auftakt { padding: 34px 0 8px; }
.start__wort {
  font-family: var(--serif);
  font-size: clamp(38px, 9vw, 60px);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.start__satz {
  font-family: var(--serif);
  font-size: clamp(19px, 3.6vw, 24px);
  line-height: 1.34;
  text-wrap: balance;
  margin-top: 16px;
  max-width: 30ch;
}
.start__unter { margin-top: 14px; max-width: 46ch; color: var(--muted); line-height: 1.6; }

.start__knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Die Score-Rechnung. Sie ist der Kern der App, also steht sie hier
   ausgerechnet und nicht als Versprechen. */
.rechnung {
  margin-top: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rechnung__kopf {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 15px 18px; border-bottom: 1px solid var(--line-soft);
}
.rechnung__titel { font-family: var(--serif); font-size: 17px; }
.rechnung__zahl { font-family: var(--serif); font-size: 30px; color: var(--green-ink); }
.rechnung__zeilen { display: grid; }
.rechnung__zeile {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 12px;
  padding: 11px 18px;
  border-top: 1px solid var(--line-soft);
}
.rechnung__zeile:first-child { border-top: 0; }
.rechnung__name { font-size: 14.5px; font-weight: 600; }
.rechnung__wie { display: block; font-size: 11.5px; color: var(--faint); font-weight: 400; margin-top: 2px; }
.rechnung__wert { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rechnung__anteil {
  font-family: var(--serif); font-size: 17px; min-width: 3.4rem; text-align: right;
  font-variant-numeric: tabular-nums;
}
.rechnung__fuss { padding: 12px 18px; background: var(--paper); font-size: 12px; color: var(--muted); }

/* Die vier Bereiche. Zeilen, keine Kachelwand: es sind vier Dinge, die
   nacheinander passieren, kein Raster gleichwertiger Merkmale. */
.schritte { margin-top: 40px; display: grid; gap: 2px; }
.schritt {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.schritt__nr { font-family: var(--serif); font-size: 17px; color: var(--terra); }
.schritt h3 { font-size: 16px; margin-bottom: 3px; }
.schritt p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

.hinweis {
  margin-top: 38px;
  border-left: 3px solid var(--terra);
  padding: 2px 0 2px 16px;
}
.hinweis h2 { margin-top: 0; color: var(--ink); font-size: 18px; }
.hinweis p { font-size: 14px; color: var(--muted); }

@media (min-width: 640px) {
  .seite__kopf { padding: 26px 32px 0; }
  .seite__inhalt { padding: 30px 32px 70px; }
}
