/* ---------------------------------------------------------------------------
   Precept – precept.tscholene.com
   Ein Stylesheet für alle Seiten. Keine externen Ressourcen, keine Webfonts:
   der System-Font-Stack liefert auf iOS/macOS SF, sonst Segoe/Roboto/Helvetica.
   Farben sind Tokens; Dunkel kommt ausschließlich über prefers-color-scheme.
   --------------------------------------------------------------------------- */

:root {
  color-scheme: light dark;

  --bg: #FFFFFF;
  --text: #111111;
  --muted: #6B6B6B;
  --line: rgba(0, 0, 0, 0.08);
  --surface: #F4F4F4;
  --pill: rgba(0, 0, 0, 0.06);

  --radius: 16px;
  --radius-row: 12px;
  --maxw: 1040px;
  --pad: 20px;

  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #F2F2F2;
    --muted: #9A9A9A;
    --line: rgba(255, 255, 255, 0.12);
    --surface: #161616;
    --pill: rgba(255, 255, 255, 0.10);
  }
}

@media (min-width: 720px) { :root { --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Kopf ------------------------------------------------------------------- */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; display: block; }
.brand span { font-size: 1.125rem; }
.site-nav { display: flex; gap: 18px; font-size: 0.9375rem; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 48px 0 40px; }
.hero .verdict {
  margin: 0;
  font-size: clamp(3.25rem, 14.5vw, 11rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.05em;      /* WAIT/WARTEN: Standardbreite mit Tracking, wie in der App */
  text-transform: uppercase;
}
.hero .tagline { margin: 20px 0 8px; font-size: clamp(1.375rem, 3.2vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; max-width: 22ch; }
.hero .lede { max-width: 56ch; color: var(--muted); font-size: 1.0625rem; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { opacity: 0.86; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line); }

/* Abschnitte ------------------------------------------------------------- */
.section { padding: 40px 0; border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.pillars h3 { margin-bottom: 8px; }
.pillars p { color: var(--muted); }

/* Screenshot-Streifen ---------------------------------------------------- */
.shots { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.shots figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }

/* Preise ----------------------------------------------------------------- */
.pricing { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .pricing { grid-template-columns: 1fr 1fr; } }
.pricing li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pricing li.pro { background: var(--surface); }
.pricing .plan { display: block; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pricing .price { display: block; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.pricing ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.pricing ul li { border: 0; padding: 0; margin: 4px 0; background: none; }

/* Sicherheit / Datenschutz-Teaser --------------------------------------- */
.note { border-left: 3px solid var(--text); padding-left: 16px; }
.two-col { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* Rechts-/Support-Seiten ------------------------------------------------ */
.legal { padding: 24px 0 48px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { margin-top: 36px; font-size: 1.25rem; }
.legal h3 { margin-top: 24px; font-size: 1.0625rem; }
.legal dl { margin: 0; }
.legal dt { font-weight: 700; margin-top: 12px; }
.legal dd { margin: 2px 0 0; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin: 6px 0; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Fuß -------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 0.9375rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .langswitch a[aria-current="true"] { color: var(--text); font-weight: 700; }

/* Sprachweiche (index.html an der Wurzel) --------------------------------- */
.gate { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.gate .brand { justify-content: center; margin-bottom: 12px; }
.gate .brand svg { width: 48px; height: 48px; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
