/* Todether — Website
   Zweisprachig über das data-lang-Attribut am <html>-Element. Ohne JavaScript
   bleibt Deutsch stehen, weil das im Markup vorgegeben ist. */

:root {
  --accent: #4a7fe0;
  --accent-soft: rgba(74, 127, 224, 0.12);
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --text: #14161a;
  --text-dim: #5c6470;
  --border: rgba(20, 22, 26, 0.1);
  --radius: 16px;
  --max: 1040px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #7aa6f5;
    --accent-soft: rgba(122, 166, 245, 0.16);
    --bg: #0f1114;
    --bg-alt: #171a1f;
    --text: #f2f4f7;
    --text-dim: #9aa3b0;
    --border: rgba(242, 244, 247, 0.12);
  }
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

html[data-lang="de"] [lang="en"] { display: none; }
html[data-lang="en"] [lang="de"] { display: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Kopfzeile */

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand svg { width: 26px; height: 26px; color: var(--accent); }

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  font: inherit;
  font-size: 14px;
  padding: 5px 13px;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

/* Hero */

.hero {
  padding: 76px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--text-dim);
  max-width: 34ch;
  margin: 0 auto 32px;
}

.hero-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  border-radius: 22px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.hero-icon svg { width: 46px; height: 46px; }

.badge {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.badge.pending {
  background: var(--bg-alt);
  color: var(--text-dim);
  border: 1px dashed var(--border);
  cursor: default;
}

/* Abschnitte */

section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }

h2 {
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.feature h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.feature h3 svg { width: 19px; height: 19px; color: var(--accent); flex: none; }
.feature p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }

/* Screenshots */

.shots {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 24px 20px;
  scroll-snap-type: x mandatory;
  margin: 0 -24px;
}

.shots img {
  width: 232px;
  flex: none;
  border-radius: 22px;
  border: 1px solid var(--border);
  scroll-snap-align: center;
}

/* Preistabelle */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tier {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}

.tier.highlight { border-color: var(--accent); }

.tier h3 { margin: 0 0 4px; font-size: 1.1rem; }
.tier .price { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; }
.tier .price small { font-size: 0.85rem; font-weight: 400; color: var(--text-dim); }
.tier ul { margin: 14px 0 0; padding-left: 19px; color: var(--text-dim); font-size: 0.95rem; }
.tier li { margin-bottom: 5px; }

.note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* Fließtext auf Unterseiten */

.prose { padding: 48px 0 72px; max-width: 68ch; }
.prose h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 8px; }
.prose h2 { font-size: 1.15rem; margin: 34px 0 8px; }
.prose p, .prose li { color: var(--text-dim); }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); }
.prose .updated { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 30px; }

/* Fußzeile */

footer.site {
  border-top: 1px solid var(--border);
  padding: 30px 0 44px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
}

footer.site a { color: var(--text-dim); }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
