:root {
  --paper: #FAFAF9;
  --ink: #1C1917;
  --ink-soft: #44403C;
  --muted: #78716C;
  --faint: #A8A29E;
  --border: #EAE7E1;
  --tint: #F4F1EC;
  --orange: #FF4F00;
  --orange-dark: #E84600;
  /* semantic tokens (flip in the dark block at the end of this file) */
  --surface: #FFFFFF;
  --border-strong: #D6D3CD;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

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

.serif { font-family: var(--serif); font-weight: 400; }

.kicker {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin: 0 0 16px;
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { font-family: var(--serif); font-size: 23px; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.nav-links a:hover { color: var(--orange); }
.lang-switch { display: inline-flex; align-items: center; font-size: 14px; }
.lang-switch a { color: var(--ink-soft); font-weight: 500; text-decoration: none; border: 1px solid var(--border-strong); border-radius: 20px; padding: 3px 10px; }
.lang-switch a:hover { color: var(--orange); border-color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  padding: 13px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 20px; }
.btn-dark { background: var(--ink); color: var(--paper); }

/* hero */
.hero { padding: 84px 0 72px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  margin: 0;
  max-width: 13ch;
}
.hero .lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 24px 0 32px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note { font-size: 14px; color: var(--faint); margin-top: 18px; }

/* bands */
.band { padding: 64px 0; }
.band-tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.band p.intro { font-size: 18px; color: var(--ink-soft); max-width: 60ch; margin: 0; }


/* operating-system house model (Methoden-Sektion) */
:root { --c-governance: #2F8FD0; --c-lab: #FF4F00; --c-wst: #E0A106; --c-komp: #1F9D6B; --c-adopt: #E0518F; --hm-mix-bg: 8%; --hm-mix-border: 55%; }
:root[data-theme="dark"] { --hm-mix-bg: 14%; --hm-mix-border: 48%; }
.hm { display: grid; gap: 14px; margin-top: 36px; grid-template-columns: 1fr 34px 1fr 34px 1fr; grid-template-areas: "roof roof roof roof roof" "lab arrow wst arrown pillar" "base base base base base"; }
.hm-card { position: relative; border-radius: 14px; padding: 18px 20px 17px; background: var(--surface); background: color-mix(in srgb, var(--bc) var(--hm-mix-bg), var(--surface)); border: 1.5px solid var(--border-strong); border-color: color-mix(in srgb, var(--bc) var(--hm-mix-border), var(--border)); }
.hm-tag { position: absolute; top: 12px; right: 14px; font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600; color: var(--bc); }
.hm-row { display: flex; align-items: flex-start; gap: 12px; }
.hm-num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--bc); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.hm-name { font-family: var(--serif); font-size: 21px; line-height: 1.15; padding-top: 6px; white-space: nowrap; }
.hm-role { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin-top: 6px; }
.hm-roof { grid-area: roof; } .hm-lab { grid-area: lab; } .hm-wst { grid-area: wst; } .hm-pillar { grid-area: pillar; } .hm-base { grid-area: base; }
.hm-aslot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.hm-arrow { grid-area: arrow; } .hm-arrown { grid-area: arrown; }
.hm-aslot svg { display: block; opacity: 0.85; }
.hm-aslot .lbl { font-size: 10px; font-style: italic; }
.hm-arrow .lbl { color: var(--orange); } .hm-arrown .lbl { color: var(--c-komp); }
.hm-thread { margin-top: 24px; font-size: 15px; color: var(--muted); line-height: 1.7; text-align: center; }
.hm-thread b { font-weight: 600; }
.hm-thread .tg { color: var(--c-governance); } .hm-thread .tl { color: var(--c-lab); } .hm-thread .tw { color: color-mix(in srgb, var(--c-wst) 85%, var(--ink)); } .hm-thread .tk { color: var(--c-komp); } .hm-thread .ta { color: var(--c-adopt); }
@media (max-width: 720px) {
  .hm { grid-template-columns: 1fr; grid-template-areas: "roof" "lab" "arrow" "wst" "arrown" "pillar" "base"; gap: 12px; }
  .hm-aslot { flex-direction: row; gap: 8px; height: 26px; }
  .hm-aslot svg { transform: rotate(90deg); }
  .hm-name { white-space: normal; }
}

/* method steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
}
.step .num { font-family: var(--serif); font-size: 30px; color: var(--orange); line-height: 1; }
.step .name { font-size: 16px; font-weight: 500; margin-top: 10px; }
.step .desc { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* two cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.card-head i { font-size: 22px; color: var(--orange); }
.card-head h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15.5px; color: var(--ink-soft); }
.card li i { color: var(--orange); font-size: 18px; margin-top: 2px; flex: none; }

/* mcp band */
.mcp { background: var(--ink); color: var(--paper); }
.mcp .kicker { color: #FF7A45; }
.mcp h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.5vw, 46px); line-height: 1.08; margin: 0; max-width: 18ch; }
.mcp p { font-size: 18px; color: #CFC9C0; max-width: 60ch; margin: 18px 0 0; }

/* author */
.author { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.author .avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--tint); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 40px; color: var(--orange);
}
.author h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 12px; }
.author p { font-size: 16.5px; color: var(--ink-soft); margin: 0 0 12px; max-width: 64ch; }

/* signup */
.signup { text-align: center; }
.signup h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 12px; }
.signup p.sub { font-size: 18px; color: var(--ink-soft); max-width: 52ch; margin: 0 auto 26px; }
.signup form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.signup input {
  flex: 1; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px;
  padding: 14px 16px; font-size: 16px; font-family: var(--sans); color: var(--ink);
}
.signup input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,79,0,0.12); }
.signup button { white-space: nowrap; }
.signup .msg { font-size: 15px; color: var(--ink-soft); margin-top: 16px; min-height: 22px; }
.signup .msg a { color: var(--orange); }

/* footer */
.footer { border-top: 1px solid var(--border); background: var(--tint); padding: 28px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer, .footer a { font-size: 14px; color: var(--muted); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }

/* responsive */
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr; }
  .author .avatar { width: 84px; height: 84px; font-size: 30px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav .wrap { height: 56px; }
  .brand { font-size: 19px; }
  .nav-links a { display: none; }
  .nav-links { gap: 12px; }
  .nav-links .btn { display: inline-flex; }
  .nav-links .lang-switch { display: inline-flex; }
  .nav-links .lang-switch a { display: inline; }
  .nav-links .theme-toggle { width: 30px; height: 30px; font-size: 16px; }
  .hero { padding: 56px 0 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .signup form { flex-direction: column; }
}

/* stats row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 18px; }
.stat .n { font-family: var(--serif); font-size: 40px; color: var(--orange); line-height: 1; }
.stat .l { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px; }
.feature i { font-size: 24px; color: var(--orange); }
.feature h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; margin: 12px 0 6px; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.tag-soon { display: inline-block; font-size: 12px; font-weight: 500; color: var(--orange); border: 1px solid var(--orange); border-radius: 20px; padding: 1px 9px; margin-left: 8px; vertical-align: 2px; }

/* pricing teaser */
.teaser-price { font-family: var(--serif); font-size: 26px; }
.teaser-price .amount { color: var(--orange); }

/* pricing page */
.page-hero { padding: 72px 0 56px; }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.06; margin: 0; }
.page-hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 58ch; margin: 22px 0 0; }
.launch-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 14.5px; color: var(--ink-soft); background: var(--tint); border: 1px solid var(--border); border-radius: 20px; padding: 7px 16px; }
.launch-note i { color: var(--orange); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; }
.plan-featured { border-color: var(--orange); box-shadow: 0 8px 28px rgba(255, 79, 0, 0.08); }
.plan .plan-badge { position: absolute; top: -12px; left: 24px; background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 500; border-radius: 20px; padding: 3px 12px; }
.plan h3 { font-family: var(--sans); font-size: 16px; font-weight: 500; margin: 0 0 4px; }
.plan .who { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; min-height: 2.6em; }
.plan .price { font-family: var(--serif); font-size: 38px; line-height: 1; }
.plan .price .cur { font-size: 24px; }
.plan .per { font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; }
.plan li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.plan li i { color: var(--orange); font-size: 16px; margin-top: 2px; flex: none; }
.plan .btn { margin-top: auto; justify-content: center; }
.plans-note { font-size: 13.5px; color: var(--faint); margin-top: 18px; }

/* included list */
.included { columns: 2; column-gap: 40px; margin: 32px 0 0; padding: 0; list-style: none; max-width: 860px; }
.included li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15.5px; color: var(--ink-soft); break-inside: avoid; }
.included li i { color: var(--orange); font-size: 18px; margin-top: 2px; flex: none; }

/* book strip */
.book-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-top: 36px; }
.book-strip .price-tag { font-family: var(--serif); font-size: 40px; color: var(--orange); line-height: 1; }
.book-strip h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 6px; }
.book-strip p { font-size: 15px; color: var(--ink-soft); margin: 0; max-width: 60ch; }

/* tool catalogue */
.cat-count { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 10px; }
.catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.tcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 18px 16px; }
.tpill { align-self: flex-start; font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange); background: transparent; border: 1px solid var(--border-strong); border-radius: 20px; padding: 2px 9px; margin-bottom: 10px; }
.tcard-title { font-size: 16px; font-weight: 500; line-height: 1.35; }
.tcard-sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* screenshot gallery */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 22px; margin-top: 36px; }
.shot { margin: 0; }
.shot-frame { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06); }
.shot-frame .bar { display: flex; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--border); background: var(--tint); }
.shot-frame .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame .shot-dark { display: none; }
:root[data-theme="dark"] .shot-frame .shot-dark { display: block; }
:root[data-theme="dark"] .shot-frame .shot-light { display: none; }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
@media (max-width: 860px) {
  .shots { grid-template-columns: 1fr; }
}

/* book download gate */
.unlock-form { display: flex; gap: 10px; max-width: 640px; margin: 24px 0 0; flex-wrap: wrap; }
.unlock-form input { flex: 1 1 180px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; padding: 14px 16px; font-size: 16px; font-family: var(--sans); color: var(--ink); }
.unlock-form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,79,0,0.12); }
.unlock-form button { white-space: nowrap; }
#gate .msg { font-size: 15px; color: var(--ink-soft); margin-top: 14px; min-height: 22px; }
#gate .plans-note a { color: var(--orange); }
.dl-list { list-style: none; margin: 28px 0 0; padding: 0; max-width: 720px; }
.dl-list li { margin: 0 0 10px; }
.dl-item { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; text-decoration: none; transition: border-color 0.15s ease; }
.dl-item:hover { border-color: var(--orange); }
.dl-item:hover .ti-download { color: var(--orange); }
.dl-num { font-family: var(--serif); font-size: 22px; color: var(--orange); flex: none; width: 32px; }
.dl-body { flex: 1; display: flex; flex-direction: column; }
.dl-title { font-size: 16px; font-weight: 500; }
.dl-sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.dl-item .ti-download { font-size: 20px; color: var(--muted); flex: none; }

/* faq */
.faq { margin-top: 36px; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 500; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 24px; color: var(--orange); flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 16px; max-width: 62ch; }

@media (max-width: 980px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .catgrid { grid-template-columns: repeat(2, 1fr); }
  .book-strip { grid-template-columns: 1fr; gap: 16px; }
  .included { columns: 1; }
}
@media (max-width: 620px) {
  .catgrid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan .who { min-height: 0; }
}

/* dark mode — mirrors the figures' palette (breitsprecher.de / weekado.com).
   Driven by [data-theme="dark"] on <html>, set by theme.js (system default + manual toggle). */
:root[data-theme="dark"] {
  --paper: #0C0A09;
  --ink: #FAFAF9;
  --ink-soft: #B8B2A7;
  --muted: #8B8680;
  --faint: #6E6962;
  --border: #2A2622;
  --tint: #151210;
  --surface: #1A1816;
  --border-strong: #3A3530;
}
:root[data-theme="dark"] .nav { background: rgba(12, 10, 9, 0.85); }
:root[data-theme="dark"] .mcp { background: #1A1816; color: var(--ink); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
:root[data-theme="dark"] .mcp .kicker { color: var(--orange); }
:root[data-theme="dark"] .mcp p { color: var(--ink-soft); }

.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: 17px; }
.theme-toggle:hover { color: var(--orange); }
