/* lint.sthb.me: gemeinsam für alle Seiten. Lädt nach tokens.css und bundle.css (Kopien aus sthb labs rev. 1).
   Grundlage ist site.css von sthb.me; dazu die Teile der Produktseite von lint. */
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); }
a, button { touch-action: manipulation; }
button, .sl-btn { user-select: none; -webkit-user-select: none; }
/* Druck: Knöpfe geben sofort nach, auch auf dem Handy */
.sl-btn { transition: transform 160ms var(--ease-out), background-color 160ms ease, opacity 160ms ease; }
.sl-btn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .sl-btn:active { transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: var(--text-body); letter-spacing: -.005em; overflow-x: clip; color: var(--ink); background: var(--paper); }
::selection { background: var(--punkt); color: var(--on-punkt); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a.sl-btn { text-decoration: none; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.muted { color: var(--ink-muted); }

/* Leiste */
.bar { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--ink); }
.bar__in { display: flex; align-items: center; gap: 24px; height: 56px; }
.bar__name { font: 800 20px/1 var(--font-sans); letter-spacing: -.04em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.bar nav { display: flex; gap: 20px; }
.bar nav a { text-decoration: none; padding-block: 8px; }
.bar nav a[aria-current] { text-decoration: underline; }
.bar__lang { border-left: 1px solid var(--line); padding-left: 20px; }
@media (max-width: 720px) { .bar nav .bar__opt { display: none; } .bar__lang { border-left: 0; padding-left: 0; } }

/* Abschnittskopf */
section.s { padding-top: clamp(72px, 10vw, 140px); }
.s__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 32px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.s__head h1, .s__head h2 { margin: 0; font: 800 clamp(40px, 6vw, 80px)/.95 var(--font-sans); letter-spacing: -.05em; }
.s__head p { margin: 0; color: var(--ink-muted); max-width: 54ch; }

/* Datenblatt-Zeilen */
.sheet { border-top: 1px solid var(--ink); }
.sheet > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sheet > div > :first-child { min-width: 0; }
.sheet > div > :last-child { text-align: right; flex: none; max-width: 60%; }

.row { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; }
footer.wrap { margin-top: clamp(72px, 10vw, 140px); }
footer .row > a { text-decoration: none; }
footer .row { border-top: 1px solid var(--ink); padding-bottom: 40px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { text-decoration: none; }
footer nav a[aria-current] { text-decoration: underline; }

/* Cover */
.cover { padding-top: clamp(20px, 3vw, 32px); }
.cover__top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.cover__top .sl-status { white-space: nowrap; flex: none; }
.cover__mid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; padding-top: clamp(28px, 5vw, 56px); }
.cover__name { margin: 0; font: 800 clamp(96px, 21vw, 272px)/.78 var(--font-sans); letter-spacing: -.065em; padding-bottom: .05em; }
.cover__claim { margin: 0 0 .5em; font: 800 clamp(26px, 3.4vw, 44px)/1.02 var(--font-sans); letter-spacing: -.035em; max-width: 12ch; }

/* Die Probe: kopierter Text, aus dem lint. die Fussel holt */
.probe { margin-top: clamp(24px, 3vw, 36px); border: 1px solid var(--ink); }
.probe__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 0 20px; border-bottom: 1px solid var(--ink); min-height: 48px; }
.tabs { display: flex; gap: 4px; margin-left: -10px; }
.tab { appearance: none; border: 0; background: none; cursor: pointer; font: 400 12px/16px var(--font-mono); font-variation-settings: "wdth" 75; color: var(--ink-muted); padding: 16px 10px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab:focus-visible { box-shadow: var(--focus-ring); border-radius: 4px; }
.probe__text { margin: 0; padding: clamp(20px, 3vw, 36px) 20px; min-height: 8.6em; font: 400 clamp(17px, 2.1vw, 27px)/1.5 var(--font-mono); letter-spacing: -.01em; overflow-wrap: anywhere; white-space: pre-wrap; }
.probe__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 20px; border-top: 1px solid var(--line); }
.probe__result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin: 0; }
.probe__result strong { font: var(--text-heading); letter-spacing: -.01em; }
.probe__count { font: 400 13px/16px var(--font-mono); color: var(--ink-muted); font-variant-numeric: tabular-nums; }

/* Fussel: was lint. entfernt. Wie in der App: in Mint durchgestrichen, dann weg. */
.f { border-radius: 3px; transition: background-color 200ms ease; }
/* Text bleibt in ink (Mint ist auf Weiß keine Textfarbe), Strich und Grund tragen die Farbe. */
.probe[data-state="leaving"] .f { opacity: 0; transition: opacity 240ms var(--ease-out); }
.probe[data-state="marked"] .f, .probe[data-state="leaving"] .f { background: var(--punkt-soft); text-decoration: line-through; text-decoration-color: var(--punkt); text-decoration-thickness: .12em; }
.probe[data-state="clean"] .f { display: none; }
.probe[data-state="clean"] .f-space { display: inline; }
.f-space { display: none; }
/* Unsichtbares wird als kleines Schild gezeigt, sonst sähe man es ja nicht */
.inv { display: inline-block; font: 400 .42em/1 var(--font-mono); font-variation-settings: "wdth" 75; vertical-align: .55em; padding: .35em .4em .3em; margin: 0 .12em; border: 1px solid currentColor; border-radius: 3px; text-decoration: none; }
.nl { display: inline-block; font-size: .7em; vertical-align: .1em; margin-left: .15em; color: var(--ink-muted); }
.probe[data-state="marked"] .nl.f { color: var(--ink); }

/* Was lint. putzt: ein Katalog, kein Kachelraster */
.cat { list-style: none; margin: 0; padding: 0; }
.cat__item { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.cat__name { margin: 0; font: 800 clamp(28px, 3.4vw, 44px)/1 var(--font-sans); letter-spacing: -.045em; }
.cat__what { margin: 0; max-width: 60ch; }
.cat__ex { margin: 12px 0 0; font: var(--text-code); color: var(--ink-muted); overflow-wrap: anywhere; }
.cat__ex del { color: var(--ink); text-decoration-color: var(--punkt); text-decoration-thickness: 2px; background: var(--punkt-soft); border-radius: 2px; }

/* Im Menü: Bildschirmfoto mit Hinweislinien */
.menu { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; margin-top: 40px; }
.shot { position: relative; margin: 0; max-width: 440px; justify-self: center; width: 100%; }
.shot img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.shot .sl-callout { position: absolute; background: var(--paper); transform: translate(-50%, -50%); }
.shot figcaption { margin-top: 12px; }
.legend { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.legend li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legend li .sl-callout { margin-top: 2px; }
.legend b { display: block; font-weight: 600; }
.steps { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
kbd { font: 400 13px/1 var(--font-mono); padding: 3px 6px 2px; border: 1px solid var(--ink); border-radius: 4px; white-space: nowrap; }

/* Nie angefasst */
.never { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 48px; margin-top: 40px; }
.never__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.never__list li { position: relative; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); }
.never__list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); }
.never__big { margin: 0; font: 500 clamp(22px, 2.6vw, 32px)/1.3 var(--font-sans); letter-spacing: -.02em; }

/* Datenblatt */
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 48px; margin-top: 40px; }
.spec h3 { margin: 0 0 12px; font: var(--text-heading); }
.spec .num { font: var(--text-number-s); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.spec__note { margin: 12px 0 0; color: var(--ink-muted); font: var(--text-body-s); max-width: 60ch; }

/* Stand */
.soon { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: end; }
.soon__text { margin: 0; font: 500 clamp(22px, 2.6vw, 32px)/1.3 var(--font-sans); letter-spacing: -.02em; max-width: 30ch; }
.soon__act { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.soon__mail { font: 800 clamp(24px, 2.8vw, 36px)/1.1 var(--font-sans); letter-spacing: -.03em; user-select: all; }

/* Rechtliches */
.legal { max-width: 760px; }
.legal h2 { font: var(--text-heading); margin: 40px 0 8px; }
.legal h3 { font: 600 16px/24px var(--font-sans); margin: 20px 0 4px; }
.legal p { margin: 0 0 12px; }

@media (max-width: 900px) {
  .s__head, .menu, .never, .spec, .soon { grid-template-columns: 1fr; }
  .cover__mid { grid-template-columns: 1fr; }
  .cover__claim { max-width: none; }
  .cat__item { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 520px) {
  .probe__head { padding: 0 12px; }
  .probe__text, .probe__foot { padding-left: 14px; padding-right: 14px; }
  .tab { padding-inline: 7px; }
  #probe-label { display: none; }
}

/* Hover nur mit Maus: Auf dem Handy bliebe der Zustand nach dem Tippen hängen */
@media (hover: hover) and (pointer: fine) {
  .bar nav a:hover, footer nav a:hover, footer .row > a:hover { text-decoration: underline; }
  .tab:hover { color: var(--ink); }
}

[hidden] { display: none !important; }
