/* Selbst gehostete Schriften, geteilt mit der Verkaufsseite (../fonts/).
   Bewusst KEIN Google-CDN, sonst ginge die IP jedes Besuchers an Google.
   Variable Fonts ueber die ganze Gewichtsachse, Subset latin. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

/* War frueher ein Inline-style="margin-bottom:2rem" am .shot-pair; als Klasse
   ausgelagert, weil die CSP der Verkaufsseite kein inline style erlaubt. */
.shot-pair--gap { margin-bottom: 2rem; }

:root {
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --accent: #1B8A99;
  --accent-hover: #146E7B;
  --accent-soft: rgba(27, 138, 153, 0.14);
  --secondary: #D4A574;
  --bg: #EEEBE4;
  --surface: #E6E2D9;
  --input: #FBFAF6;
  --border: #D9D4C9;
  --border-hover: #C7C0B1;
  --text: #3A3F42;
  --text-secondary: #565D61;
  --text-muted: #8A8E8B;
  --danger: #C0492F;
  --success: #1E9E54;
  --warning: #C98A1E;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 235, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-nav .nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand .dot {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 0.25rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(3rem, 6vw, 5rem);
}

.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero .lede {
  margin-top: 1.5rem;
  max-width: 58ch;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--text-secondary);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hover); }

/* ---------- Usage strip ---------- */
.usage-strip {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.usage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.usage-card .step-icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  display: block;
}

.usage-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.usage-card p { font-size: 0.92rem; color: var(--text-secondary); }

kbd {
  font-family: var(--font-body);
  font-size: 0.85em;
  font-weight: 600;
  background: var(--input);
  border: 1px solid var(--border-hover);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 0.1em 0.5em;
  white-space: nowrap;
}

/* ---------- Sections ---------- */
section.block {
  max-width: 1060px;
  margin: 0 auto;
  padding: var(--space-section) 1.5rem 0;
}

.section-head { max-width: 62ch; margin-bottom: 2.5rem; }

.section-head .eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.section-head p { margin-top: 0.9rem; color: var(--text-secondary); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }

.step {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  transition: border-color 200ms ease;
}

.step:hover { border-color: var(--border-hover); }

@media (min-width: 860px) {
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .step.no-media { grid-template-columns: 1fr; }
}

.step .step-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.step .step-text h3::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 0.2rem 0.5rem;
  flex-shrink: 0;
}

.step p { color: var(--text-secondary); font-size: 0.96rem; }
.step p + p { margin-top: 0.7rem; }

.step .path {
  display: block;
  margin: 0.8rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
}

.step .path .sep { color: var(--text-muted); padding: 0 0.3em; }

/* ---------- Figures ---------- */
/* Kein Kartenrahmen um die Screenshots: die Bilder sind randlos zugeschnitten
   und stehen direkt auf der Seite, nur mit weichem Schatten. */
figure.shot {
  background: none;
  border: none;
  padding: 0;
}

figure.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 30px -18px rgba(58, 63, 66, 0.35);
}

figure.shot figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.55rem 0.3rem 0.1rem;
}

.shot-pair { display: grid; gap: 1rem; }
@media (min-width: 640px) { .shot-pair { grid-template-columns: 1fr 1fr; } }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  margin-top: 1.25rem;
  border: 1px solid;
}

.callout strong:first-child { display: block; margin-bottom: 0.3rem; }

.callout.info {
  background: var(--accent-soft);
  border-color: rgba(27, 138, 153, 0.3);
  color: var(--text);
}

.callout.warn {
  background: rgba(201, 138, 30, 0.1);
  border-color: rgba(201, 138, 30, 0.35);
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } }

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: border-color 200ms ease;
}

.feature:hover { border-color: var(--border-hover); }

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature > p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.1rem; }

.feature .tip {
  margin-top: 1rem;
  font-size: 0.88rem;
  background: var(--accent-soft);
  color: var(--text);
  border-radius: 10px;
  padding: 0.7rem 0.95rem;
}

.feature .tip strong { color: var(--accent-hover); }

/* ---------- Settings table ---------- */
.settings-list { display: grid; gap: 1rem; margin-top: 0.5rem; }

.setting {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: grid;
  gap: 0.35rem;
}

.setting .setting-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}

.setting h4 { font-size: 1rem; font-weight: 600; }

.setting .badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
}

.badge.rec { background: rgba(30, 158, 84, 0.14); color: var(--success); }
.badge.opt { background: rgba(212, 165, 116, 0.22); color: #9a6f3c; }

.setting p { font-size: 0.92rem; color: var(--text-secondary); }

/* ---------- Footer ---------- */
footer {
  margin-top: var(--space-section);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

footer .foot-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

footer a { color: var(--accent-hover); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:hover { transform: none; }
}

/* Systemvoraussetzungen vor der Mac-Installation: IQspeakr laeuft nicht
   auf Intel-Macs, das muss vor dem ersten Schritt stehen. */
.req-note {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--input);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.6;
}
