/* =====================================================================
   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 -------------------------------------------------------

   Die Seite hat einen anderen Auftrag als Impressum und Datenschutz: die
   liest man, diese hier muss einladen. Deshalb bricht sie als einzige aus
   dem schmalen Satzspiegel aus — der Auftakt steht auf breiten Bildschirmen
   zweispaltig, mit einem Blick in die App daneben.

   Die Farbtafel bleibt die aus app.css. Keine einzige eigene Farbe. */

.start { width: 100%; }
.start__band {          /* der lesbare Satzspiegel innerhalb der Seite */
  width: 100%; max-width: 62rem; margin: 0 auto; padding: 0 24px;
}
.start .eyebrow {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
}

/* Das Einladungsband. Steht VOR dem Auftakt, weil es die Antwort auf die
   Frage ist, mit der der Eingeladene ankommt: wohin bin ich eingeladen? */
.einladung {
  width: 100%; max-width: 62rem; margin: 24px auto 0;
  padding: 14px 18px; border-radius: var(--radius-lg);
  background: var(--terra-tint); border: 1px solid var(--terra-line);
}
.einladung + .start__auftakt { padding-top: 22px; }
.einladung p { margin-top: 5px; font-size: 14.5px; line-height: 1.55; }
.einladung--alt { background: var(--sunken); border-color: var(--line-strong); }
.einladung--alt .eyebrow { color: var(--muted); }

@media (min-width: 640px) { .einladung { margin-top: 28px; } }

/* --- Auftakt --------------------------------------------------------- */

.start__auftakt {
  width: 100%; max-width: 62rem; margin: 0 auto; padding: 44px 24px 0;
  display: grid; gap: 40px; align-items: center;
}
.start__wortteil { display: flex; flex-direction: column; gap: 18px; }
.start__wort {
  font-family: var(--serif);
  font-size: clamp(38px, 9vw, 58px);
  line-height: 1.02; letter-spacing: -.03em; text-wrap: balance;
}
.start__satz {
  font-family: var(--serif);
  font-size: clamp(19px, 3.6vw, 23px);
  line-height: 1.35; text-wrap: pretty; max-width: 27ch;
}
.start__unter { color: var(--muted); line-height: 1.6; max-width: 44ch; }
.start__handeln { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin-top: 4px; }
.start__leise { font-size: 13.5px; color: var(--muted); text-align: center; }
.start__leise a { font-weight: 600; }

/* --- Der Blick in die App ---------------------------------------------
   Zwei echte Bauteile der App, nicht nachgezeichnet: dieselbe Karte, dasselbe
   Gang-Band, dasselbe erzeugte Rezeptbild (src/Art.php). */

.start__blick { display: flex; flex-direction: column; gap: 13px; }
.probe {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 8px 28px rgba(35, 40, 31, .10);
  display: flex; gap: 15px; padding: 15px; align-items: flex-start;
}
.probe__bild {
  width: 96px; height: 96px; flex: 0 0 96px;
  border-radius: 15px; overflow: hidden; background: var(--sunken);
}
.probe__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.probe__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.probe__titel { font-family: var(--serif); font-size: 17px; line-height: 1.2; }
.probe__unter { font-size: 12.5px; color: var(--faint); line-height: 1.4; }
.probe__zahlen { display: flex; flex-wrap: wrap; gap: 4px 13px; font-size: 12.5px; color: var(--muted); }

.probe__ring { position: relative; width: 62px; height: 62px; flex: 0 0 62px; }
.probe__zahl {
  position: absolute; inset: 0 0 12px; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; color: var(--green-ink); line-height: 1;
}
.probe__wort {
  position: absolute; left: 0; right: 0; bottom: 15px; text-align: center;
  font-size: 8px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
}

.probe--liste { display: block; padding: 0; box-shadow: var(--shadow); }
.probe__gang {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 16px; background: var(--sunken);
  font-family: var(--serif); font-size: 14px; color: var(--green-ink);
}
.probe__gang .num { font-family: var(--sans); font-size: 11px; font-weight: 700; color: var(--faint); }
.probe__zeile {
  display: flex; align-items: center; gap: 13px;
  padding: 10px 16px; border-top: 1px solid var(--line-soft);
}
.probe__zeile:first-of-type { border-top: 0; }
.probe__haken, .probe__kasten {
  width: 22px; height: 22px; flex: 0 0 22px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.probe__haken { background: var(--terra); color: #FFF6EF; }
.probe__kasten { border: 2px solid var(--line-strong); }
.probe__was { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; }
.probe__woher { display: block; font-size: 11.5px; font-weight: 400; color: var(--faint); }
.probe__menge { font-size: 14px; font-weight: 700; white-space: nowrap; }
.probe__zeile--fertig .probe__was,
.probe__zeile--fertig .probe__menge { color: var(--faint); text-decoration: line-through; }

/* --- Warum ------------------------------------------------------------ */

.warum {
  width: 100%; max-width: 62rem; margin: 0 auto; padding: 56px 24px 0;
  display: grid; gap: 16px;
}
.warum__karte {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 11px;
}
.warum__karte h2 { font-size: 20px; line-height: 1.26; }
.warum__karte p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* --- Ein Abschnitt mit Überschrift ------------------------------------ */

.teil { width: 100%; max-width: 62rem; margin: 0 auto; padding: 58px 24px 0; }
.teil__titel { font-size: clamp(24px, 4.6vw, 30px); line-height: 1.16; margin-top: 9px; max-width: 22ch; }
.teil__lead { color: var(--muted); line-height: 1.6; margin-top: 11px; max-width: 52ch; }

/* Die Score-Rechnung. Sie ist der Kern der App, also steht sie hier
   ausgerechnet und nicht als Versprechen. */
.rechnung {
  margin-top: 22px; max-width: 45rem;
  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 { display: block; font-family: var(--serif); font-size: 17px; margin-top: 3px; }
.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); }
.rechnung__anteil { font-family: var(--serif); font-size: 17px; min-width: 3.4rem; text-align: right; }
.rechnung__fuss { padding: 12px 18px; background: var(--paper); font-size: 12px; color: var(--muted); line-height: 1.55; }

/* --- Wie es abläuft ---------------------------------------------------
   Vier Dinge, die nacheinander passieren — also Zeilen mit Haarlinie,
   keine Kachelwand gleichwertiger Merkmale. */

.schritte { margin-top: 20px; display: grid; gap: 0 40px; }
.schritt {
  display: grid; grid-template-columns: 44px 1fr; gap: 15px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.schritt__zeichen {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--terra-tint); color: var(--terra);
  display: flex; align-items: center; justify-content: center;
}
.schritt h3 { font-size: 16.5px; margin-bottom: 4px; }
.schritt p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* --- Abschluss -------------------------------------------------------- */

.schluss {
  margin-top: 64px; padding: 46px 24px 50px;
  background: var(--sunken); border-top: 1px solid var(--line-strong);
  display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center;
}
.schluss h2 { font-size: clamp(25px, 5vw, 31px); line-height: 1.15; max-width: 18ch; }
.schluss__satz { color: var(--muted); line-height: 1.6; max-width: 44ch; }
.schluss .btn { margin-top: 3px; }
.schluss__klein { font-size: 12.5px; color: var(--faint); line-height: 1.6; max-width: 52ch; margin-top: 8px; }

/* --- Breitere Bildschirme --------------------------------------------- */

@media (min-width: 720px) {
  .start__auftakt { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px; padding-top: 60px; }
  .start__handeln { flex-direction: row; align-items: center; gap: 18px; }
  .start__leise { text-align: left; }
  .warum { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
