/* Sprint Zero · styles.css
   Keine externen Ressourcen: Systemschriften (SF Pro auf Apple-Geräten), keine Webfonts, keine CDNs.

   Gestaltungsregeln
   - Das Unternehmen ist der ruhige Rahmen: monochrom, ein einziger Akzent (der orange Punkt aus dem Logo).
   - Farbe bringen nur die Produkte mit: ihre echten App-Icons und die daraus abgeleiteten Produktflächen.
   - Radien: Produktflächen 28px, Icons als iOS-Squircle (22.5 %), Bedienelemente als Pille,
     Hinweiskästen auf den Rechtsseiten 16px. Sonst eckig.
   - Bewegung nur als Rückmeldung (Hover/Fokus) und einmal beim Laden; aus bei prefers-reduced-motion. */

:root {
  color-scheme: light dark;

  --bg: #f6f6f4;
  --raised: #fdfdfc;
  --ink: #131416;
  --ink-2: #5a5e64;
  --line: #e0e0dc;
  --line-2: #c4c4bf;
  --accent: #ff5b1f;      /* nur dekorativ: Logo-Punkt, Unterstreichung */
  --accent-ink: #b33e0e;  /* Akzent als Textfarbe (AA) */
  --focus: #c9460f;

  /* Produktflächen: aus den App-Icons abgeleitet */
  --fiq-plate: #e8eaf0;
  --fiq-glow: rgb(60 150 255 / .13);
  --fiq-shadow: rgb(17 26 46 / .42);
  --cl-plate: #e3ece6;
  --cl-glow: rgb(30 107 69 / .16);
  --cl-shadow: rgb(15 60 38 / .4);

  --max: 78rem;
  --gutter: clamp(1rem, 4.5vw, 3rem);
  --r-plate: 1.75rem;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e10;
    --raised: #16171a;
    --ink: #ededea;
    --ink-2: #a3a6ac;
    --line: #25272b;
    --line-2: #3b3e43;
    --accent: #ff6a33;
    --accent-ink: #ff8b5e;
    --focus: #ff7a45;

    --fiq-plate: #141925;
    --fiq-glow: rgb(70 140 255 / .16);
    --fiq-shadow: rgb(0 0 0 / .7);
    --cl-plate: #101b15;
    --cl-glow: rgb(47 129 88 / .17);
    --cl-shadow: rgb(0 0 0 / .7);
  }
}

/* Basis ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
::selection { background: color-mix(in oklab, var(--accent) 28%, transparent); }
address { font-style: normal; }

main { flex: 1 0 auto; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  padding: .6rem 1rem; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* Kopfzeile -------------------------------------------------------------- */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em; text-decoration: none;
}
.logo { width: 30px; height: 30px; flex: none; }
.logo .ring { fill: none; stroke: var(--ink); }
.logo .speed { fill: none; stroke: var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2rem); font-size: .9375rem; }
.nav a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .lang {
  color: var(--ink); font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  border: 1px solid var(--line-2); border-radius: 999px; padding: .25rem .65rem;
  transition: border-color .2s;
}
.nav .lang:hover { border-color: var(--ink); }
@media (max-width: 37.5rem) { .nav .opt { display: none; } }

/* Hero ------------------------------------------------------------------- */
.hero { padding-block: clamp(2.75rem, 7.5vw, 5.75rem) clamp(2.5rem, 5vw, 4.25rem); }
.hero h1 {
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem);
  line-height: 1.02; letter-spacing: -.038em; font-weight: 600;
  max-width: 15.5em;
}
h1 .dot { color: var(--accent); }
.hero .lead {
  margin: clamp(1.25rem, 2.4vw, 1.75rem) 0 0;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.45; letter-spacing: -.01em;
  color: var(--ink-2); max-width: 33em;
}

/* Abschnitte ------------------------------------------------------------- */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.label {
  font-family: var(--font); font-size: .9375rem; font-weight: 600; letter-spacing: -.005em;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  display: flex; align-items: center; gap: .75rem;
}
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Produkte --------------------------------------------------------------- */
.products { padding-top: 0; }
.plates { display: grid; gap: clamp(.75rem, 1.6vw, 1.25rem); }
@media (min-width: 52rem) { .plates { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

.plate {
  --plate: var(--raised); --glow: transparent; --shadow: rgb(0 0 0 / .2);
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: clamp(19rem, 30vw, 25rem);
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
  border-radius: var(--r-plate);
  background:
    radial-gradient(120% 90% at 0% 0%, var(--glow), transparent 62%),
    var(--plate);
  overflow: hidden;
}
.plate--fiq { --plate: var(--fiq-plate); --glow: var(--fiq-glow); --shadow: var(--fiq-shadow); }
.plate--cl  { --plate: var(--cl-plate);  --glow: var(--cl-glow);  --shadow: var(--cl-shadow); }

.plate-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.icon {
  width: clamp(4.5rem, 3rem + 4vw, 6.75rem); height: auto; aspect-ratio: 1;
  border-radius: 22.5%;
  box-shadow: 0 1px 1px rgb(0 0 0 / .06), 0 22px 40px -20px var(--shadow);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.kind { margin: 0; font-size: .875rem; color: var(--ink-2); white-space: nowrap; }

.plate-body { margin-top: auto; padding-top: clamp(2.5rem, 6vw, 4rem); }
.plate h3 {
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  line-height: 1.06; letter-spacing: -.032em; font-weight: 600;
  margin: 0 0 .7rem; hyphens: manual;
}
.plate p { margin: 0; color: var(--ink-2); max-width: 31em; }
.plate-foot { margin-top: clamp(1.5rem, 3vw, 2rem); display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.15rem; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: .9375rem; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .2s;
}
.btn .arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:active { transform: scale(.98); }
.badge {
  display: inline-flex; align-items: center;
  padding: .62rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line-2);
  border-color: color-mix(in oklab, var(--ink) 22%, transparent);
  font-weight: 600; font-size: .9375rem; line-height: 1.2; white-space: nowrap;
}

/* Ganze Fläche klickbar, ohne den Link zu verdoppeln */
.plate--link .btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-plate); z-index: 1; }
.plate--link .btn:focus-visible { outline-offset: 4px; }
.plate--link:hover .icon { transform: translateY(-4px); box-shadow: 0 1px 1px rgb(0 0 0 / .06), 0 30px 48px -22px var(--shadow); }
.plate--link:hover .btn .arrow { transform: translate(2px, -2px); }

.more { margin: clamp(1.25rem, 2.4vw, 1.75rem) 0 0; color: var(--ink-2); font-size: .9375rem; }

/* Arbeitsweise ----------------------------------------------------------- */
.principles {
  margin: 0; max-width: 29em;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1rem + 1.45vw, 2.25rem);
  line-height: 1.3; letter-spacing: -.022em; color: var(--ink-2);
  hyphens: manual;
}
.principles strong { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Über uns --------------------------------------------------------------- */
.about { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 56rem) { .about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.about-lead {
  margin: 0; max-width: 26em;
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); line-height: 1.4; letter-spacing: -.015em;
}
.name-note { margin: clamp(2rem, 4vw, 3rem) 0 0; max-width: 34em; }
.name-note dt { font-weight: 600; margin-bottom: .35rem; }
.name-note dd { margin: 0; color: var(--ink-2); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; margin: 0; }
.facts div { min-width: 0; }
.facts .wide { grid-column: 1 / -1; }
.facts dt { font-size: .875rem; color: var(--ink-2); margin-bottom: .25rem; }
.facts dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 22.5rem) { .facts { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } }
@media (min-width: 56rem) {
  .facts { padding-top: .45rem; }
}

/* Kontakt ---------------------------------------------------------------- */
.contact-intro { margin: 0 0 clamp(1rem, 2vw, 1.5rem); color: var(--ink-2); max-width: 44em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.mail {
  display: inline-block; max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, .2rem + 6.4vw, 5.25rem);
  font-weight: 600; letter-spacing: -.04em; line-height: 1.12;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: .055em; text-underline-offset: .16em;
  overflow-wrap: anywhere;
  transition: color .2s;
}
.mail:hover { color: var(--accent-ink); }
.contact-meta { margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.6; }

/* Rechtstexte ------------------------------------------------------------ */
.legal { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 9vw, 7rem); overflow-wrap: break-word; }
.legal-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.legal-head h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -.038em; font-weight: 600; hyphens: manual; }
.legal-head p { margin: 1.6rem 0 0; color: var(--ink-2); }
.legal h2 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.012em; font-weight: 600; }
.legal h3 { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; margin: 1.75rem 0 .5rem; }
.legal p, .legal ul, .legal address { margin: 0 0 1rem; }
.legal ul { padding-left: 1.15rem; }
.legal li { margin-bottom: .4rem; }
.legal li::marker { color: var(--ink-2); }

/* Impressum: Etikett links, Angabe rechts */
.imprint { max-width: 56rem; }
.imprint section { display: grid; gap: .4rem 2rem; padding-block: 1.4rem; }
.imprint section + section { border-top: 1px solid var(--line); }
.imprint h2 { font-size: 1rem; letter-spacing: -.005em; color: var(--ink-2); font-weight: 500; font-family: var(--font); }
.imprint p, .imprint address { margin-bottom: .6rem; }
@media (min-width: 48rem) {
  .imprint section { grid-template-columns: 15rem minmax(0, 1fr); }
}
.imprint section > div > :last-child { margin-bottom: 0; }
.imprint .hint { color: var(--ink-2); font-size: .9375rem; }

/* Datenschutz: Inhaltsverzeichnis + Lesespalte */
.policy { display: grid; gap: 2.5rem; hyphens: auto; }
@media (min-width: 64rem) {
  .policy { grid-template-columns: 15rem minmax(0, 44rem); gap: 5rem; }
  .toc { position: sticky; top: 2rem; align-self: start; }
}
.toc h2 { font-size: .875rem; font-weight: 600; color: var(--ink-2); font-family: var(--font); margin: 0 0 .75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .9375rem; line-height: 1.35; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
@media (max-width: 63.99rem) {
  .toc { padding: 1.25rem 1.4rem; border-radius: 1rem; background: var(--raised); border: 1px solid var(--line); }
  .toc ol { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .4rem 1.5rem; }
}
.policy-body h2 { margin: 3rem 0 .85rem; scroll-margin-top: 1.5rem; }
.policy-body > h2:first-of-type { margin-top: 2.5rem; }
.callout {
  margin: 1.5rem 0; padding: 1.25rem 1.4rem;
  background: var(--raised); border: 1px solid var(--line); border-radius: 1rem;
}
.callout h3:first-child { margin-top: 0; }
.policy-body > .callout:first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.stand { color: var(--ink-2); font-size: .9375rem; }

/* 404 -------------------------------------------------------------------- */
.notfound { padding-block: clamp(4rem, 12vw, 8.5rem); }
.notfound .code { margin: 0 0 1rem; color: var(--ink-2); font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.notfound h1 { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem); line-height: 1.02; letter-spacing: -.038em; font-weight: 600; }
.notfound .lead { margin: 1.25rem 0 0; font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); color: var(--ink-2); max-width: 30em; }
.notfound .alt { margin: .5rem 0 0; color: var(--ink-2); }
.notfound .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin: 2.25rem 0 0; }

/* Fußzeile --------------------------------------------------------------- */
.site-footer { padding-block: 0 2.5rem; font-size: .875rem; color: var(--ink-2); }
.site-footer .wrap > div {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem;
  padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--ink); }

/* Einmalige Einblendung beim Laden (Reihenfolge: Aussage, dann Produkte) -- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; }
  .rise.d1 { animation-delay: .06s; }
  .rise.d2 { animation-delay: .16s; }
  .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .skip, .nav, .toc { display: none; }
  body { background: #fff; color: #000; }
  .plate { background: none; border: 1px solid #ccc; min-height: 0; }
}
