/* Repairuniverse – Website
   Layout: Werkbank. Kühles Papier, Indigo aus der App, ein Reparatur-Anhänger (Manila) als einziges lautes Element.
   Schmale Archivo-Versalien wie im Logo, Plex Mono für Auftragsnummern und Etiketten. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Farbe */
  --paper: #f1f2f8;
  --surface: #ffffff;
  --sunk: #e6e8f3;
  --ink: #13143a;
  --ink-2: #4b4d73;
  --ink-3: #74769a;
  --line: #d6d8ea;
  --indigo: #3d3ddb;
  --indigo-ink: #ffffff;
  --indigo-deep: #1d1e7a;
  --periwinkle: #a7aef4;
  --tag: #ecdba6;
  --tag-edge: #cdb672;
  --tag-ink: #3a2e10;
  --signal: #f2541b;
  --ok: #2c9f4b;
  --wait: #d79a00;
  --paypal: #ffc439;
  --bezel: #13143a;
  --band-bg: #1d1e7a;
  --band-ink: #f1f2f8;
  --paypal-ink: #10153a;
  --shadow: 0 1px 0 rgba(19, 20, 58, .04), 0 18px 40px -22px rgba(19, 20, 58, .35);
  --footer-bg: #14156b;
  --footer-ink: #e9eafc;
  --footer-ink-2: #aeb2ec;

  /* Schrift */
  --f-display: "Archivo", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-hero: clamp(2.7rem, 1.4rem + 5.4vw, 5.6rem);
  --t-h1: clamp(2.4rem, 1.5rem + 3.8vw, 4.4rem);
  --t-h2: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  --t-h3: 1.3rem;
  --t-lead: clamp(1.08rem, 1rem + .35vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: .9rem;
  --t-label: .74rem;

  --wrap: 1200px;
  --radius: 10px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b0c25;
    --surface: #14163a;
    --sunk: #1b1e48;
    --ink: #eceefc;
    --ink-2: #b0b3d8;
    --ink-3: #8689b4;
    --line: #2b2e62;
    --indigo: #7e83ff;
    --indigo-ink: #0b0c25;
    --indigo-deep: #c9ccff;
    --periwinkle: #464cb8;
  --bezel: #2c2f66;
  --band-bg: #191b5e;
    --bezel: #2c2f66;
  --band-bg: #191b5e;
    --band-bg: #191b5e;
    --tag: #e4d193;
    --tag-edge: #b49c55;
    --tag-ink: #33280c;
    --signal: #ff7a45;
    --ok: #4cc46c;
    --wait: #f0b429;
    --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 22px 44px -24px rgba(0, 0, 0, .8);
    --footer-bg: #07081c;
    --footer-ink: #e9eafc;
    --footer-ink-2: #9a9ed6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b0c25;
  --surface: #14163a;
  --sunk: #1b1e48;
  --ink: #eceefc;
  --ink-2: #b0b3d8;
  --ink-3: #8689b4;
  --line: #2b2e62;
  --indigo: #7e83ff;
  --indigo-ink: #0b0c25;
  --indigo-deep: #c9ccff;
  --periwinkle: #464cb8;
  --bezel: #2c2f66;
  --band-bg: #191b5e;
  --tag: #e4d193;
  --tag-edge: #b49c55;
  --tag-ink: #33280c;
  --signal: #ff7a45;
  --ok: #4cc46c;
  --wait: #f0b429;
  --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 22px 44px -24px rgba(0, 0, 0, .8);
  --footer-bg: #07081c;
  --footer-ink: #e9eafc;
  --footer-ink-2: #9a9ed6;
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  font-stretch: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 32px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--sunk { background: var(--sunk); }

/* Typo-Bausteine */
.display {
  font-family: var(--f-display);
  font-stretch: 68%;
  font-weight: 800;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.25; }
.lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 60ch; line-height: 1.55; }
.muted { color: var(--ink-2); }
.small { font-size: var(--t-small); }
.label {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label--ink { color: var(--indigo); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; font-weight: 750; }
.prose h3 { font-size: 1.12rem; margin-top: 1.8em; font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose address { font-style: normal; }

.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--indigo);
  --b-ink: var(--indigo-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .7rem 1.25rem;
  border-radius: 9px;
  border: 1.5px solid var(--b-bg);
  background: var(--b-bg);
  color: var(--b-ink);
  font: 650 1rem/1.2 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px var(--b-bg); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); box-shadow: none; }
.btn--paypal { --b-bg: var(--paypal); --b-ink: var(--paypal-ink); width: 100%; font-weight: 700; }
.btn--paypal b { font-style: italic; font-weight: 850; letter-spacing: -.01em; }
.btn--sm { min-height: 40px; padding: .45rem .9rem; font-size: .94rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Kopfzeile ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30;
  background: var(--paper);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 38px; height: 38px; }
.brand span {
  font-family: var(--f-display); font-stretch: 66%; font-weight: 850; font-size: 1.45rem; line-height: .9;
  text-transform: none; letter-spacing: .005em; display: grid;
}
.brand span i { font-style: normal; color: var(--periwinkle); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .98rem;
  padding: .5rem .7rem; border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: var(--sunk); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.header-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); color: var(--ink); border-radius: 9px; min-height: 42px; padding: 0 .8rem; font: 600 .95rem var(--f-body); cursor: pointer; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav, .header-cta { display: none; width: 100%; }
  .site-header.is-open .nav { display: grid; gap: 2px; padding-block: 8px; margin: 0; }
  .site-header.is-open .nav a { padding: .8rem .6rem; font-size: 1.05rem; }
  .site-header.is-open .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--signal); }
  .site-header.is-open .header-cta { display: flex; flex-wrap: wrap; padding-bottom: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 84px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::after { /* Lineal an der Werkbank */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px) bottom / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-3) 0 1px, transparent 1px 100px) bottom / 100% 14px no-repeat;
  opacity: .7;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--t-hero); line-height: .92; }
.hero h1 em { font-style: normal; color: var(--indigo); }
.hero h1 .ln { display: block; }
.hero .lead { margin-top: 22px; }
.hero .btns { margin-top: 30px; }
.platforms { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.platforms li { list-style: none; }
.hero-visual { position: relative; min-width: 0; padding-bottom: 64px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Bildschirm-Rahmen */
.screen {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.phone {
  position: relative;
  width: 100%;
  max-width: 260px;
  border-radius: 30px;
  padding: 8px;
  background: var(--bezel);
  box-shadow: var(--shadow);
}
.phone img { border-radius: 23px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
figure { margin: 0; }
figcaption { margin-top: 10px; }

/* ---------- Statuskarte (Verlauf eines Auftrags) ---------- */
.jobcard {
  position: absolute; z-index: 2; left: -32px; bottom: -86px; width: 236px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 14px 10px; display: grid; gap: 8px;
}
.jc-head { display: grid; gap: 2px; }
.jc-head b { color: var(--ink); font-weight: 600; letter-spacing: .04em; margin-left: 4px; }
.jc-dev { font-weight: 650; font-size: .9rem; color: var(--ink); }
.jc-steps { display: grid; gap: 0; }
.jc-steps li { list-style: none; position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 3px 0; font-size: .8rem; color: var(--ink-2); transition: opacity .3s ease, color .3s ease; }
.jc-steps li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 15px; bottom: -5px; width: 2px; background: var(--line); }
.jc-steps li.done:not(:last-child)::after { background: var(--indigo); }
.jc-steps .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); position: relative; z-index: 1; }
.jc-steps li.done .dot { border-color: var(--indigo); background: var(--indigo); }
.jc-steps li.now { color: var(--ink); font-weight: 650; }
.jc-steps li.now .dot { border-color: var(--ok); background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.jc-steps li.todo { opacity: .4; }
.jc-steps time { font-size: .7rem; color: var(--ink-3); }
.jc-foot { font-family: var(--f-mono); font-size: .68rem; color: var(--ok); border-top: 1px dashed var(--line); padding-top: 7px; transition: opacity .3s ease; }
.jc-foot.off { opacity: 0; }

@media (max-width: 900px) {
  .hero-visual { margin-bottom: 0; }
  .jobcard { position: relative; left: auto; bottom: auto; width: min(250px, 80%); margin: -36px 0 0 12px; }
}

/* ---------- Ablauf (Statusschiene) ---------- */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.flow li { list-style: none; position: relative; padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.flow li:not(:nth-child(3n)) { padding-right: 28px; }
.flow li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.flow .no { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.flow .no::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.flow h3 { font-size: 1.28rem; font-weight: 750; }
.flow p { color: var(--ink-2); font-size: .98rem; }
.flow .status { justify-self: start; font-family: var(--f-mono); font-size: .76rem; padding: 3px 8px; border-radius: 5px; background: var(--sunk); color: var(--ink-2); }
.flow .status.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li, .flow li:not(:nth-child(3n)), .flow li:not(:nth-child(3n+1)) { padding: 22px 0 24px; border-left: 0; }
}

/* ---------- Drei Apps ---------- */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.app { display: grid; gap: 16px; align-content: start; }
.app .phone { max-width: 230px; }
.app-who { display: flex; align-items: center; gap: 10px; }
.app-who img { width: 34px; height: 34px; }
.app h3 { font-size: 1.5rem; font-weight: 800; font-stretch: 80%; }
.app ul { display: grid; gap: 6px; }
.app li { list-style: none; padding-left: 20px; position: relative; color: var(--ink-2); font-size: .98rem; }
.app li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 2px; background: var(--signal); }
@media (max-width: 900px) { .apps { grid-template-columns: minmax(0, 1fr); } .app { grid-template-columns: 150px minmax(0, 1fr); align-items: start; } .app .phone { grid-row: span 3; } }
@media (max-width: 480px) { .app { grid-template-columns: minmax(0, 1fr); } .app .phone { max-width: 200px; grid-row: auto; } }

/* ---------- Funktionsliste (Etiketten) ---------- */
.drawers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.drawer { padding: 20px 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; text-decoration: none; color: inherit; min-width: 0; }
.drawer:hover { background: var(--sunk); }
.drawer:hover h3 { color: var(--indigo); }
.drawer .label { display: flex; justify-content: space-between; gap: 8px; }
.drawer h3 { font-size: 1.08rem; font-weight: 700; }
.drawer p { color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.tier-chip { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; padding: 1px 6px; border-radius: 4px; background: var(--sunk); color: var(--ink-2); text-transform: uppercase; }
.drawer:hover .tier-chip { background: var(--surface); }
@media (min-width: 1001px) { .drawer:nth-child(4n) { border-right: 0; } }
@media (max-width: 1000px) { .drawers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .drawer:nth-child(2n) { border-right: 0; } }
@media (max-width: 540px) { .drawers { grid-template-columns: minmax(0, 1fr); } .drawer { border-right: 0; } }
/* A card left alone in the last row spans the whole row */
@media (min-width: 1001px) { .drawer:last-child:nth-child(4n+1) { grid-column: 1 / -1; border-right: 0; } }
@media (min-width: 541px) and (max-width: 1000px) { .drawer:last-child:nth-child(2n+1) { grid-column: 1 / -1; border-right: 0; } }
.drawer:last-child p { max-width: 75ch; }

/* ---------- Lexware-Band ---------- */
.band { background: var(--band-bg); color: var(--band-ink); }
.band .label { color: color-mix(in srgb, var(--band-ink) 68%, var(--band-bg)); }
.band .lead, .band .muted { color: color-mix(in srgb, var(--band-ink) 78%, transparent); }
.band a:not(.btn) { color: var(--band-ink); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.band .btn--ghost { color: var(--band-ink); border-color: color-mix(in srgb, var(--band-ink) 35%, transparent); }
.band .btn--light { --b-bg: var(--band-ink); --b-ink: var(--band-bg); }
.sync { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; font-family: var(--f-mono); font-size: .82rem; }
.sync .box { border: 1px solid color-mix(in srgb, var(--band-ink) 30%, transparent); border-radius: 10px; padding: 16px; display: grid; gap: 6px; min-width: 0; }
.sync .box b { font-family: var(--f-body); font-size: 1.05rem; }
.sync .arrow { font-size: 1.4rem; opacity: .8; }
@media (max-width: 860px) { .band-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Preise ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px 24px; min-width: 0;
}
.tier--pick { border: 2px solid var(--indigo); box-shadow: var(--shadow); }
.tier-flag { position: absolute; top: -13px; left: 22px; background: var(--signal); color: #fff; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 5px; }
.tier h3 { font-family: var(--f-display); font-stretch: 70%; font-weight: 850; font-size: 2rem; text-transform: uppercase; }
.tier .for { color: var(--ink-2); font-size: .95rem; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 3.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { color: var(--ink-2); font-size: .95rem; }
.limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.limits div { padding: 8px 10px; display: grid; gap: 0; border-right: 1px solid var(--line); min-width: 0; }
.limits div:last-child { border-right: 0; }
.limits b { font-family: var(--f-mono); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.limits small { color: var(--ink-3); font-size: .74rem; }
.checks { display: grid; gap: 7px; align-content: start; }
.checks li { list-style: none; position: relative; padding-left: 26px; font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 15px; height: 15px; border-radius: 4px; background: var(--indigo); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.checks li.plus { font-weight: 650; }
.tier-foot { display: grid; gap: 10px; }
.tier-foot .small { color: var(--ink-3); text-align: center; }
@media (max-width: 960px) { .tiers { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
.compare th, .compare td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--sunk); position: sticky; top: 0; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.y { color: var(--indigo); font-weight: 700; }
.compare td.n { color: var(--ink-3); }
.compare .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.compare tr.group td { background: var(--paper); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 16px; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 650; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--f-mono); font-size: 1.5rem; color: var(--indigo); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.faq .a > * + * { margin-top: .7em; }

/* ---------- Funktionsseite ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-family: var(--f-mono); font-size: .8rem; text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--surface); }
.toc a:hover { color: var(--indigo); border-color: var(--indigo); }
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-media { order: -1; }
.feature-text { display: grid; gap: 16px; align-content: start; min-width: 0; }
.feature-text h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.feature-text ul { display: grid; gap: 8px; }
.feature-text li { list-style: none; position: relative; padding-left: 22px; color: var(--ink-2); }
.feature-text li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 2px; background: var(--signal); }
.feature-text li b { color: var(--ink); font-weight: 650; }
.feature-media { min-width: 0; display: grid; gap: 10px; }
.feature-media.duo { grid-template-columns: minmax(0, 1fr) minmax(0, .42fr); align-items: end; gap: 18px; }
.feature-media.duo .phone { max-width: none; }
.feature-media.phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 520px; justify-self: center; }
.feature-media.phones .phone { max-width: none; }
.pill { justify-self: start; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 5px; border: 1px solid var(--line); color: var(--ink-2); }
.pill--pro { border-color: var(--indigo); color: var(--indigo); }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-of-type(even) .feature-media { order: 0; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 16px; }
.page-head h1 { font-size: var(--t-h1); line-height: .95; }

/* ---------- Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.dl { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-width: 0; }
.dl .ico { width: 40px; height: 40px; color: var(--indigo); }
.dl h3 { font-size: 1.25rem; font-weight: 750; }
.dl p { color: var(--ink-2); font-size: .95rem; flex: 1 1 auto; }
.dl-ver { align-self: flex-start; white-space: nowrap; font-family: var(--f-mono); font-size: .72rem; padding: 2px 8px; border-radius: 5px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); margin-top: -4px; }
.dl .meta { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-3); }
.dl .btn { width: 100%; }
.dl--soon { background: transparent; border-style: dashed; }
.dl-group { display: grid; gap: 20px; }
.dl-group + .dl-group { margin-top: clamp(48px, 7vw, 80px); }
.dl-group-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dl-group-head img { width: 44px; height: 44px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; border-radius: 9px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--f-body);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 22%, transparent); }
.field .hint { font-size: .84rem; color: var(--ink-3); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--signal); }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: .94rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--indigo); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 9px; font-weight: 550; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.form-status.err { background: color-mix(in srgb, var(--signal) 14%, transparent); color: var(--signal); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 10px; }
.aside { display: grid; gap: 16px; }
.copy { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copy button { font: 500 .78rem var(--f-mono); border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 6px; padding: 3px 8px; cursor: pointer; }

/* ---------- Teaser & CTA ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; border: 2px solid var(--ink); border-radius: 16px; padding: clamp(24px, 4vw, 44px); background: var(--surface); }
@media (max-width: 760px) { .cta { grid-template-columns: minmax(0, 1fr); } }
.mini-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.mini-tiers a { padding: 20px 20px 22px 0; text-decoration: none; color: inherit; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.mini-tiers a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.mini-tiers a:hover b { color: var(--indigo); }
.mini-tiers b { font-family: var(--f-display); font-stretch: 70%; font-size: 1.6rem; font-weight: 850; text-transform: uppercase; }
.mini-tiers .p { font-family: var(--f-mono); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .mini-tiers { grid-template-columns: minmax(0, 1fr); } .mini-tiers a + a { padding-left: 0; border-left: 0; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.note { border-left: 3px solid var(--wait); background: color-mix(in srgb, var(--wait) 10%, transparent); padding: 14px 16px; border-radius: 0 8px 8px 0; color: var(--ink); font-size: .95rem; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding-block: 64px 28px; margin-top: 0; }
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--footer-ink-2); font-weight: 500; margin-bottom: 14px; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid li { list-style: none; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .brand { color: var(--footer-ink); }
.foot-brand p { color: var(--footer-ink-2); font-size: .94rem; max-width: 36ch; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--footer-ink) 18%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .86rem; color: var(--footer-ink-2); }
.foot-base .mono { font-size: .8rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .rise-2 { animation-delay: .08s; }
  .rise-3 { animation-delay: .16s; }
}
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- PayPal-Buttons ---------- */
.pp { min-height: 48px; display: grid; }
.pp-error { font-size: .88rem; color: var(--signal); margin-bottom: 8px; }
.pp-done { padding: 12px 14px; border-radius: 9px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-weight: 600; font-size: .95rem; }

/* ---------- Lexware-Seite ---------- */
.lex-hero { position: relative; margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.lex-hero > img:first-child { width: 100%; }
.lex-badge { width: 84px; height: auto; border-radius: 4px; margin-bottom: 4px; }
.quote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--indigo); display: grid; gap: 10px; color: var(--ink-2); }
.quote footer { margin-top: 4px; }
.video-link { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--ink); }
.video-link:hover { border-color: var(--indigo); }
.video-link > span:last-child { display: grid; gap: 2px; }
.video-link .play { width: 46px; height: 46px; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; }
.video-link .play svg { width: 22px; height: 22px; margin-left: 3px; }

/* ---------- Einwilligung ---------- */
.consent {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.consent-inner {
  pointer-events: auto; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: 0 20px 50px -20px rgba(10, 10, 40, .55);
}
.consent-text { display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); min-width: 0; }
.consent-title { font-weight: 700; color: var(--ink); font-size: 1rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { min-width: 150px; white-space: nowrap; }
@media (max-width: 760px) { .consent-inner { grid-template-columns: minmax(0, 1fr); } .consent-actions .btn { flex: 1 1 130px; min-width: 0; padding-inline: .8rem; } .consent-inner { padding: 14px 16px; gap: 12px; } }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--footer-ink); cursor: pointer; }
.linkish:hover { text-decoration: underline; }
.pp-consent { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 10px; max-width: 900px; font-size: .94rem; color: var(--ink-2); }
.pp-consent p { flex: 1 1 380px; }
