/* FeiSoft – Designsystem der Website.
   Farben 1:1 aus WerkTakt (Assets.xcassets): Warmweiß/Graphit, ein Signalorange.
   Schriften: System (SF Pro / SF Mono auf dem Mac) – keine externen Schriften, keine Tracker. */

:root {
  --panel: #F4F3EF;
  --raised: #FFFFFF;
  --well: #E4E2DC;
  --hair: #E6E4DF;
  --line: #DAD8D2;
  --tick: #B9B6AF;
  --segment: #BDBAB3;
  --faint: #6A6761;           /* etwas dunkler als in der App: Kontrast ≥ 4,5:1 */
  --muted: #65625D;
  --ink: #1A1A1A;
  --signal: #F2541B;
  --signal-ink: #B03A0E;          /* Orange als Text auf Hell (Kontrast ≥ 4,5:1) */
  --inverse: #1C1C1C;
  --inverse-ink: #EDEDED;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 24px 60px -20px rgb(30 25 20 / .28);
  --shadow-soft: 0 1px 1px rgb(0 0 0 / .04), 0 12px 32px -16px rgb(30 25 20 / .22);
  --stage: radial-gradient(120% 90% at 70% 0%, #FFFFFF 0%, #EFEDE7 55%, #E6E3DB 100%);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --panel: #1C1C1C; --raised: #262626; --well: #2A2A2A; --hair: #262626; --line: #303030;
    --tick: #474747; --segment: #555555; --faint: #969696; --muted: #9A9A9A; --ink: #EDEDED;
    --signal-ink: #FF7A45; --inverse: #EDEDED; --inverse-ink: #1A1A1A;
    --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 30px 70px -24px rgb(0 0 0 / .8);
    --shadow-soft: 0 1px 1px rgb(0 0 0 / .4), 0 16px 40px -18px rgb(0 0 0 / .7);
    --stage: radial-gradient(120% 90% at 70% 0%, #2B2B2B 0%, #1F1F1F 55%, #161616 100%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --panel: #1C1C1C; --raised: #262626; --well: #2A2A2A; --hair: #262626; --line: #303030;
  --tick: #474747; --segment: #555555; --faint: #969696; --muted: #9A9A9A; --ink: #EDEDED;
  --signal-ink: #FF7A45; --inverse: #EDEDED; --inverse-ink: #1A1A1A;
  --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 30px 70px -24px rgb(0 0 0 / .8);
  --shadow-soft: 0 1px 1px rgb(0 0 0 / .4), 0 16px 40px -18px rgb(0 0 0 / .7);
  --stage: radial-gradient(120% 90% at 70% 0%, #2B2B2B 0%, #1F1F1F 55%, #161616 100%);
  color-scheme: dark;
}

/* Bilder je Erscheinungsbild */
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: revert !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}
:root[data-theme="dark"] .only-dark { display: revert !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--panel); color: var(--ink);
  font: 17px/1.55 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--signal); color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
kbd {
  font: 500 .82em/1 var(--mono); display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.9em; height: 1.75em; padding: 0 .4em; border-radius: 6px;
  background: var(--raised); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line);
  vertical-align: .08em;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--panel); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label {
  font: 600 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
.dot.live { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dot.live { animation: none; } }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.signal { color: var(--signal-ink); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--hair);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand img, .brand svg { width: 28px; height: 28px; }
.brand small { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 9px;
  background: none; border: 1px solid transparent; color: var(--muted); cursor: pointer; text-decoration: none;
  font: 600 11px/1 var(--mono); letter-spacing: .06em;
}
.icon-btn:hover { color: var(--ink); background: var(--well); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
}
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@media (max-width: 760px) {
  .nav .wrap { gap: 12px; }
  .nav-links .hide-sm, .brand small { display: none; }
  .nav-links { gap: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--panel); box-shadow: var(--shadow-soft); }
.btn-primary:hover { text-decoration: none; transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { background: var(--well); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn svg { width: 18px; height: 18px; }
/* Offizielles App-Store-Badge (von Apple, unverändert) */
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.store-badge img { height: 48px; width: auto; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* ---------- Typografie-Stufen ---------- */
.display { font-size: clamp(52px, 9.2vw, 128px); line-height: .92; letter-spacing: -0.045em; }
.h2 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.0; letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--muted); letter-spacing: -0.012em; max-width: 34ch; }
.lead strong { color: var(--ink); font-weight: 600; }
.body-l { font-size: 18.5px; color: var(--muted); max-width: 46ch; }
.body-l strong { color: var(--ink); font-weight: 600; }

/* ---------- Lineal (Signatur-Element) ---------- */
.ruler { position: relative; height: 34px; color: var(--tick); }
.ruler .ticks {
  position: absolute; inset: 0 0 16px 0;
  background:
    linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / calc(100% / 20) 10px repeat-x,
    linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / calc(100% / 40) 5px repeat-x;
}
.ruler .ticks::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 10px; background: currentColor; }
.ruler .nums { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font: 10.5px/1 var(--mono); color: var(--faint); }
.ruler .seg { position: absolute; top: 4px; height: 6px; border-radius: 1px; background: var(--segment); }
.ruler .seg.live { background: var(--signal); }
.ruler .now { position: absolute; top: 0; width: 1px; height: 18px; background: var(--signal); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Abschnitte ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.index { font: 600 12px/1 var(--mono); letter-spacing: .14em; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.index::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.index b { color: var(--ink); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}
.stack > * + * { margin-top: 20px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16.5px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border: 1.5px solid var(--ink); border-radius: 50%; }
.checks li strong { color: var(--ink); font-weight: 600; }

/* Screenshot-Bühne */
.stage {
  position: relative; border-radius: calc(var(--radius) + 10px); background: var(--stage);
  border: 1px solid var(--hair); padding: clamp(20px, 4vw, 56px); overflow: hidden;
}
.stage.bare { background: none; border: 0; padding: 0; overflow: visible; }
.shot { filter: drop-shadow(0 30px 40px rgb(30 25 20 / .22)) drop-shadow(0 2px 4px rgb(0 0 0 / .08)); }
:root[data-theme="dark"] .shot { filter: drop-shadow(0 30px 50px rgb(0 0 0 / .6)) drop-shadow(0 0 1px rgb(255 255 255 / .12)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot { filter: drop-shadow(0 30px 50px rgb(0 0 0 / .6)) drop-shadow(0 0 1px rgb(255 255 255 / .12)); } }
.shot img { width: 100%; height: auto; }
.caption { margin-top: 16px; font: 12px/1.4 var(--mono); color: var(--faint); letter-spacing: .02em; }

/* Karten und Raster */
.card { background: var(--raised); border: 1px solid var(--hair); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid-4 > * { background: var(--panel); padding: 28px 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.principle h3 { font-size: 20px; letter-spacing: -0.015em; margin: 18px 0 8px; }
.principle p { color: var(--muted); font-size: 15.5px; }
.principle .num { font: 600 12px/1 var(--mono); color: var(--faint); letter-spacing: .1em; }

/* Kennzahlen wie im Journal */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: var(--raised); overflow: hidden; }
.kpis > div { padding: 18px 20px; border-left: 1px solid var(--line); }
.kpis > div:first-child { border-left: 0; }
.kpis .k { font: 600 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kpis .v { font: 500 clamp(20px, 2.4vw, 30px)/1.1 var(--mono); margin-top: 10px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (max-width: 700px) { .kpis { grid-template-columns: repeat(2, 1fr); } .kpis > div:nth-child(3) { border-left: 0; } .kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Datenblatt */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 18px 0; border-top: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th { width: 34%; font: 600 11.5px/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-right: 24px; }
.spec td { color: var(--ink); }
.spec td small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
@media (max-width: 600px) { .spec th, .spec td { display: block; width: auto; } .spec td { border-top: 0; padding-top: 0; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font: 600 clamp(18px, 1.6vw, 21px)/1.35 var(--display); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; color: var(--muted); max-width: 70ch; }
.faq details > div p + p { margin-top: 12px; }

/* Preis */
.price-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: calc(var(--radius) + 8px);
  overflow: hidden; background: var(--inverse); color: var(--inverse-ink);
}
.price-card > div { padding: clamp(28px, 5vw, 64px); }
.price-card .label { color: color-mix(in srgb, var(--inverse-ink) 60%, transparent); }
.price-card .amount { font: 500 clamp(64px, 9vw, 120px)/.9 var(--mono); letter-spacing: -0.05em; margin: 24px 0 12px; font-variant-numeric: tabular-nums; }
.price-card .amount sup { font-size: .32em; letter-spacing: 0; vertical-align: top; margin-left: 6px; position: relative; top: .5em; }
.price-card .fine { font-size: 14px; color: color-mix(in srgb, var(--inverse-ink) 62%, transparent); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.price-card li { padding: 16px 0; border-top: 1px solid color-mix(in srgb, var(--inverse-ink) 16%, transparent); display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.price-card li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--inverse-ink) 16%, transparent); }
.price-card li span:last-child { font-family: var(--mono); font-size: 14px; color: color-mix(in srgb, var(--inverse-ink) 62%, transparent); text-align: right; }
.price-card .side { background: color-mix(in srgb, var(--inverse-ink) 5%, var(--inverse)); }
.price-card .btn-primary { background: var(--inverse-ink); color: var(--inverse); }
@media (max-width: 860px) { .price-card { grid-template-columns: 1fr; } }

/* Hell/Dunkel-Vergleich */
.compare { position: relative; overflow: hidden; border-radius: 12px; user-select: none; touch-action: pan-y; --pos: 50%; cursor: ew-resize; }
.compare img { width: 100%; height: auto; pointer-events: none; }
.compare .top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; }
.compare .handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--signal); }
.compare .knob {
  position: absolute; top: 50%; left: 0; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgb(242 84 27 / .45);
}
.compare .knob svg { width: 20px; height: 20px; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tag { position: absolute; top: 16px; font: 600 11px/1 var(--mono); letter-spacing: .14em; padding: 7px 10px; border-radius: 6px; }
.compare .tag.l { left: 16px; background: rgb(255 255 255 / .85); color: #1A1A1A; }
.compare .tag.r { right: 16px; background: rgb(28 28 28 / .85); color: #EDEDED; }

/* Tastatur-Demo */
.keys { display: flex; gap: 12px; align-items: center; }
.key {
  width: clamp(64px, 8vw, 92px); aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center;
  background: var(--raised); border: 1px solid var(--line); box-shadow: 0 3px 0 var(--line), var(--shadow-soft);
  font: 500 clamp(24px, 3vw, 34px)/1 var(--sans); color: var(--ink); cursor: pointer; transition: transform .08s, box-shadow .08s, background .15s, color .15s;
  -webkit-user-select: none; user-select: none;
}
.key small { display: block; font: 600 9.5px/1 var(--mono); letter-spacing: .12em; color: var(--muted); margin-top: 6px; text-transform: uppercase; }
.key.down { transform: translateY(3px); box-shadow: 0 0 0 var(--line), var(--shadow-soft); background: var(--signal); color: #fff; border-color: var(--signal); }
.key.down small { color: rgb(255 255 255 / .8); }
.keys .plus { color: var(--faint); font: 400 22px/1 var(--mono); }
.demo-hint { font: 12px/1.5 var(--mono); color: var(--faint); margin-top: 18px; min-height: 1.5em; }
.demo-hint.ok { color: var(--signal-ink); }

/* Fußzeile */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 12.5px; color: var(--faint); }
.footer .legal p { max-width: 80ch; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Rechtstexte / einfache Seiten ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(56px, 9vw, 112px) var(--gutter) 96px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.035em; line-height: 1.02; margin: 18px 0 20px; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 56px 0 12px; }
.doc h3 { font-size: 18px; margin: 32px 0 6px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc .card { margin: 28px 0; box-shadow: none; }
.doc .card p, .doc .card { color: var(--ink); }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; margin-top: 16px; }
.doc address { font-style: normal; }
.lang-sep { margin: 96px 0 0; padding-top: 48px; border-top: 1px solid var(--line); }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 20px 0 0; }
.doc dt { font: 600 11.5px/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.doc dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .doc dl { grid-template-columns: 1fr; gap: 2px; } .doc dd { margin-bottom: 12px; } }

/* Kleinigkeiten */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--raised); text-decoration: none; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 600 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meta-row span { display: inline-flex; align-items: center; gap: 8px; }
.meta-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tick); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.hero .display { margin-top: 24px; }
.hero-side { display: grid; gap: 28px; padding-bottom: 12px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Nachgebauter Mac-Schreibtisch: Menüleiste, Journal-Fenster, Popover */
.desk {
  position: relative; margin-top: clamp(48px, 7vw, 96px); aspect-ratio: 16 / 9.4; container-type: inline-size;
  border-radius: 18px 18px 0 0; overflow: hidden; border: 1px solid var(--hair); border-bottom: 0;
  background:
    radial-gradient(60% 70% at 85% 10%, rgb(242 84 27 / .16), transparent 70%),
    radial-gradient(70% 80% at 10% 100%, rgb(160 150 130 / .22), transparent 70%),
    var(--stage);
}
.menubar {
  position: absolute; inset: 0 0 auto 0; height: 3.1cqw; min-height: 18px; display: flex; align-items: center;
  padding: 0 1.6cqw; gap: 1.4cqw; font-size: max(8px, 1.18cqw); color: var(--ink);
  background: color-mix(in srgb, var(--raised) 55%, transparent);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--hair); z-index: 3;
}
.mb-left { display: flex; gap: 1.6cqw; white-space: nowrap; }
.mb-left b { font-weight: 700; }
.mb-left span { opacity: .85; }
.mb-item {
  position: absolute; left: 76.5%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45cqw;
  padding: .25cqw .7cqw; border-radius: .5cqw; background: color-mix(in srgb, var(--ink) 12%, transparent);
  font-variant-numeric: tabular-nums;
}
.mb-dot { width: .78cqw; height: .78cqw; min-width: 5px; min-height: 5px; border-radius: 50%; background: var(--signal); }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 1.2cqw; white-space: nowrap; }
.mb-right svg { width: 1.5cqw; height: 1.5cqw; min-width: 10px; min-height: 10px; }
.desk-window { position: absolute; left: 5%; top: 11%; width: 66%; z-index: 1; }
.desk-popover { position: absolute; left: 76.5%; top: calc(3.1cqw + 1.1cqw); width: 23%; transform: translateX(-50%); z-index: 2; }
.desk-popover::before {  /* Pfeil zum Menüleisten-Symbol */
  content: ""; position: absolute; left: 50%; top: -.9cqw; width: 1.9cqw; height: 1.9cqw; transform: translateX(-50%) rotate(45deg);
  background: var(--panel); border-radius: .3cqw 0 0 0; z-index: -1;
}
.desk-window, .desk-popover { filter: drop-shadow(0 2.4cqw 3cqw rgb(30 25 20 / .28)) drop-shadow(0 .1cqw .3cqw rgb(0 0 0 / .1)); }
:root[data-theme="dark"] .desk-window, :root[data-theme="dark"] .desk-popover { filter: drop-shadow(0 2.4cqw 3cqw rgb(0 0 0 / .7)) drop-shadow(0 0 1px rgb(255 255 255 / .15)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .desk-window, :root:not([data-theme="light"]) .desk-popover { filter: drop-shadow(0 2.4cqw 3cqw rgb(0 0 0 / .7)) drop-shadow(0 0 1px rgb(255 255 255 / .15)); } }
@media (max-width: 700px) {
  .desk { aspect-ratio: 1 / 1.08; }
  .menubar { height: 26px; font-size: 11px; }
  .mb-left span, .mb-right span:not([data-clock]) { display: none; }
  .mb-item { left: 62%; font-size: 12px; padding: 2px 8px; border-radius: 5px; gap: 6px; }
  .desk-window { left: -30%; top: 12%; width: 120%; opacity: .55; }
  .desk-popover { left: 62%; top: 36px; width: 64%; }
  .desk-popover::before { top: -6px; width: 14px; height: 14px; }
}

/* Manifest */
.manifesto { padding: clamp(80px, 11vw, 140px) 0 0; }
.manifesto .h3 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.03em; max-width: 26ch; font-weight: 600; font-family: var(--display); }
.ruler-block { margin-top: 56px; }
.ruler-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 14px; }

/* Abschnitte */
.section-alt { background: color-mix(in srgb, var(--well) 45%, var(--panel)); border-block: 1px solid var(--hair); }
.feature-popover .shot, .shot.narrow { max-width: 440px; margin: 0 auto; }
.shot.qs { max-width: 560px; margin: 0 auto; transition: transform .5s cubic-bezier(.2,.8,.2,1.2); }
.shot.qs.pop { transform: scale(1.03); }
.app-icon { width: 160px; height: auto; margin-top: 32px; }
.final { padding: clamp(96px, 14vw, 180px) 0; text-align: center; }
.final .wrap { display: grid; justify-items: center; gap: 28px; }
.final img { width: 112px; }

/* ---------- Startseite FeiSoft ---------- */
.home-hero { padding: clamp(72px, 12vw, 160px) 0 clamp(56px, 8vw, 96px); }
.home-hero .display { font-size: clamp(56px, 11vw, 156px); margin: 28px 0 40px; }
.home-hero .lead { max-width: 38ch; }
.timeline { margin-top: clamp(56px, 8vw, 96px); position: relative; }
.timeline .ruler { height: 44px; }
.timeline .ruler .ticks { inset: 0 0 0 0; }
.tl-marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.tl-mark { border-left: 2px solid var(--line); padding: 2px 0 2px 16px; }
.tl-mark.on { border-left-color: var(--signal); }
.tl-mark .label { display: flex; }
.tl-mark strong { display: block; font: 600 20px/1.3 var(--display); letter-spacing: -0.015em; margin-top: 8px; }
.tl-mark span.muted { font-size: 15px; }
@media (max-width: 700px) { .tl-marks { grid-template-columns: 1fr; } }

.feature-card {
  --fc-bg: #161616; --fc-ink: #EDEDED; --fc-muted: #9A9A9A; --fc-line: #2E2E2E;
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0;
  background: var(--fc-bg); color: var(--fc-ink); border-radius: 28px; overflow: hidden; border: 1px solid var(--fc-line);
  isolation: isolate;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 90% 0%, rgb(242 84 27 / .22), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgb(255 255 255 / .05), transparent 70%);
}
.feature-card .fc-text { padding: clamp(32px, 5vw, 64px); display: grid; align-content: start; gap: 22px; }
.feature-card .label { color: var(--fc-muted); }
.feature-card h2 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.045em; line-height: .92; }
.feature-card p { color: var(--fc-muted); font-size: 18px; max-width: 34ch; }
.feature-card p strong { color: var(--fc-ink); font-weight: 600; }
.feature-card .checks li { color: var(--fc-muted); }
.feature-card .checks li::before { border-color: var(--fc-ink); }
.feature-card .checks li strong { color: var(--fc-ink); }
.feature-card .btn-primary { background: var(--fc-ink); color: var(--fc-bg); }
.feature-card .btn-ghost { color: var(--fc-ink); border-color: var(--fc-line); }
.feature-card .btn-ghost:hover { background: #262626; }
.feature-card .pill { background: #202020; border-color: var(--fc-line); color: var(--fc-muted); }
.feature-card .fc-icon { width: 88px; height: 88px; }
.fc-visual { position: relative; min-height: 520px; }
.fc-visual .v-journal { position: absolute; left: 6%; top: 12%; width: 118%; opacity: .95; }
.fc-visual .v-pop { position: absolute; right: 8%; top: 20%; width: 36%; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .6)); }
.fc-visual .v-qs { position: absolute; left: 14%; bottom: 8%; width: 46%; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .6)); }
@media (max-width: 900px) {
  .feature-card { grid-template-columns: 1fr; }
  .fc-visual { min-height: 0; aspect-ratio: 1 / .9; }
}

.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid .h2 { margin-top: 20px; }
.about-grid .body-l + .body-l { margin-top: 18px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts dt, .facts .k { font: 600 11px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-mail { display: inline-block; font: 600 clamp(32px, 6.4vw, 88px)/1 var(--display); letter-spacing: -0.04em; text-decoration: none; margin: 28px 0 24px; word-break: break-all; }
.contact-mail:hover { color: var(--signal-ink); }

/* Presse-Kit */
.press-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.press-item { background: var(--raised); border: 1px solid var(--hair); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; align-content: start; }
.press-thumb { background: var(--stage); border-radius: 10px; padding: 16px; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; }
.press-thumb picture { width: 100%; height: 100%; }
.press-thumb img { width: 100%; height: 100%; object-fit: contain; }
.press-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 12.5px/1.5 var(--mono); }
.press-icon { display: flex; align-items: center; gap: 24px; margin-top: 16px; }
.press-icon img { width: 128px; }
@media (max-width: 600px) { .press-grid { grid-template-columns: 1fr; } }
.price-card .pill { background: transparent; border-color: color-mix(in srgb, var(--inverse-ink) 22%, transparent); color: color-mix(in srgb, var(--inverse-ink) 70%, transparent); }
