/* apps.kstaut.de
   Nur die Anordnung der Seiten. Farben, Schrift, Maße und Bausteine kommen aus meinem Designschema
   „Kreide“: fonts.css, tokens.css und kreide.css liegen unverändert daneben (Quelle: design-system).
   Hier steht keine eigene Farbe, keine andere Schrift und keine andere Rundung.
   Hell oder Dunkel folgt dem Gerät des Besuchers. Keine Skripte, nichts von fremden Servern. */

.web { max-width: 1160px; margin: 0 auto; padding: 0 32px 96px; }

/* ---------- Kopf und Fuß ---------- */
.top { display: flex; align-items: center; gap: 28px; height: 76px; }
.name { display: inline-flex; margin-right: auto; padding: 4px; margin-left: -4px; border-radius: var(--r-s); color: var(--ink); }
.name .mark { width: 28px; height: 28px; }
.end { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 72px; color: var(--ink-2); font-size: var(--fs-14); }
.end span { margin-right: auto; }
.end a { transition: color 150ms ease; }
.end a[aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Apps-Seite: eine große Aussage, darunter ein Eintrag je App ---------- */
/* Nur auf Webseiten darf der Seitentitel größer werden als 46 Pixel, bis höchstens 72. */
.hero { padding: 72px 0 96px; }
.hero h1 { max-width: 12ch; font-size: clamp(2.875rem, 5.4vw, 4.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
.hero p { max-width: 46ch; margin-top: 22px; color: var(--ink-2); font-size: var(--fs-18); }

.app { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.app h2 { font-size: var(--fs-46); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.app p { max-width: 44ch; margin-top: 16px; color: var(--ink-2); font-size: var(--fs-18); }
.app .facts { margin-top: 28px; color: var(--ink-3); font-size: var(--fs-14); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.acts .tag { margin-right: 6px; }
.acts .pair { display: flex; gap: 10px; }   /* Hilfe und Datenschutz bleiben beim Umbrechen zusammen */

/* Bild zur App: das gedruckte Blatt und die App, nebeneinander auf einer Fläche. Ohne Schatten. */
.shot { display: grid; grid-template-columns: minmax(0, 15fr) minmax(0, 8fr); gap: 20px; align-items: end; padding: 24px; border-radius: var(--r-l); background: var(--wash-1); }
.shot img { display: block; width: 100%; height: auto; }
.shot .screen { border-radius: var(--r-m); }

.more { padding-top: 32px; border-top: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Textseiten: Hilfe, Datenschutz, Impressum ---------- */
/* Fließtext wird höchstens 65 Zeichen breit. */
.text { max-width: 65ch; padding-top: 40px; }
.text .display { margin-top: 20px; }
.text .h2 { margin-top: 44px; }
.text .h3 { margin-top: 28px; }
.text p, .text ul, .text ol, .text address { margin-top: 10px; }
.text ul, .text ol { padding-left: 20px; }
.text li + li { margin-top: 4px; }
.text address { font-style: normal; }
.text .lead { margin-top: 18px; color: var(--ink-2); font-size: var(--fs-18); }
.text .stand { margin-top: 44px; color: var(--ink-3); font-size: var(--fs-13); }
/* Links im Text sehen aus wie der Baustein „Wort als Button“, nur in der Größe des Textes. */
.text p a, .text li a, .text address a { text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 150ms ease; }

@media (hover: hover) and (pointer: fine) {
  .end a:hover { color: var(--ink); }
  .text p a:hover, .text li a:hover, .text address a:hover { text-decoration-color: var(--ink); }
}

/* ---------- schmale Bildschirme ---------- */
@media (max-width: 860px) {
  .web { padding: 0 16px 72px; }
  .top { height: 64px; }
  .hero { padding: 32px 0 64px; }
  .app { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 48px 0; }
  .app h2, .text .display { font-size: var(--fs-30); letter-spacing: -0.03em; line-height: 1.12; }
  .shot { padding: 16px; gap: 12px; }
  .text { padding-top: 24px; }
}

@media print {
  .top nav, .end { display: none; }
}
