/* ============================================================
   Abel Automation · Design-System v2 „Dark Precision"
   Spec: docs/superpowers/specs/2026-07-02-website-wow-redesign-design.md
   Nur von den v2-Seiten geladen (H1: index.html). Alte style.css bleibt.
   ============================================================ */

/* ---------- 0. Fonts (lokal, latin) ---------- */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/space-grotesk-600.woff2) format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-grotesk-700.woff2) format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400.woff2) format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500.woff2) format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600.woff2) format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700.woff2) format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-400-latin.woff2) format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-latin.woff2) format("woff2");
}

/* Metrik-angepasste Fallbacks: Font-Swap ohne Layout-Shift (CLS-Gate) */
@font-face {
  font-family: "Inter-fb";
  src: local("Arial");
  size-adjust: 107.12%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "SpaceGrotesk-fb";
  src: local("Arial");
  ascent-override: 98.4%;
  descent-override: 29.2%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "JBM-fb";
  src: local("Courier New");
  size-adjust: 99.6%;
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
}

/* ---------- 1. Tokens ---------- */

:root {
  --bg-stage: #0A0A0D;
  --surface-1: #111116;
  --surface-2: #1A1A20;
  --border-dark: rgba(255,255,255,.08);
  --text-on-dark: #F0EFEA;
  --text-on-dark-dim: rgba(235,235,240,.55);
  --bg-work: #FAFAF8;
  --surface-light: #FFFFFF;
  --ink: #131313;
  --ink-dim: #666660;
  --accent: #E0431F;
  --accent-glow: rgba(224,67,31,.45);
  --ok: #4ade80;
  --font-display: "Space Grotesk", "SpaceGrotesk-fb", system-ui, sans-serif;
  --font-body: "Inter", "Inter-fb", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "JBM-fb", ui-monospace, monospace;
  --radius-card: 12px;
  --shadow-light: 0 2px 14px rgba(15,15,25,.05);

  /* abgeleitete Werte */
  --border-light: #E7E7E3;
  --accent-bright: #FF6B47;          /* nur für Glow/Schein auf dunkel */
  --accent-btn: #D63C1A;             /* Button-Fill: weißer Text erreicht 4,5:1 */
  --container-max: 1140px;
  --container-pad: 24px;
  --nav-h: 68px;
}

/* ---------- 2. Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--bg-stage);
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; }

a { color: inherit; }

ul[class], ol[class] { padding: 0; list-style: none; }

/* Author-Klassen mit display:flex/grid dürfen [hidden] nicht aushebeln */
[hidden] { display: none !important; }

/* Sanfte Seitenwechsel (Chrome/Edge/Safari; Firefox ignoriert hart) */
@view-transition { navigation: auto; }

/* ---------- 3. Typografie ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6.2vw, 68px); letter-spacing: -0.028em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.022em; }
h3 { font-size: clamp(21px, 2.4vw, 26px); letter-spacing: -0.01em; }

p { max-width: 62ch; }

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--text-on-dark-dim);
}

.work .lede { color: var(--ink-dim); }

/* Mono-Label: Eyebrows, Chips, Daten. Immer Versalien + Letter-Spacing. */
.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
}

.work .mono-label { color: var(--ink-dim); }

.mono-label--accent { color: var(--accent); }
.mono-label--ok { color: var(--ok); }
.work .mono-label--accent { color: var(--accent); }

/* ---------- 4. Layout ---------- */

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Dunkle Bühne */
.stage {
  position: relative;
  background: var(--bg-stage);
  color: var(--text-on-dark);
  padding-block: clamp(72px, 10vw, 128px);
  overflow: clip;
}

/* Helle Arbeits-Sektion. Große Rundung oben = Bühnenwechsel. */
.work {
  position: relative;
  background: var(--bg-work);
  color: var(--ink);
  padding-block: clamp(72px, 10vw, 128px);
  border-radius: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px) 0 0;
  overflow: clip;
}

.work + .stage { margin-top: 0; }

/* Sektions-Kopf (Eyebrow + Headline + Lede) */
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .mono-label { display: block; margin-bottom: 14px; }
.section-head p { margin-top: 16px; }

/* ---------- 5. Karten ---------- */

/* Dunkel: Tiefe aus Flächenstufen + 1px-Border. KEINE box-shadow. */
.card-dark {
  background: var(--surface-1);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
}

.card-dark:hover { background: var(--surface-2); }

/* Hell: weicher Schatten + Border, klassisch. */
.card-light {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
}

/* ---------- 6. Buttons ---------- */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease,
              background-color .18s ease, border-color .18s ease;
  min-height: 44px;
}

.btn--lg { padding: 16px 32px; font-size: 19px; font-weight: 700; }
.btn--sm { padding: 9px 18px; font-size: 15px; min-height: 40px; }

.btn-primary {
  background: var(--accent-btn);
  color: #FFFFFF;
  box-shadow: 0 0 26px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px var(--accent-glow);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--border-dark);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
}

.work .btn-ghost {
  color: var(--ink);
  border-color: #D8D8D2;
}

.work .btn-ghost:hover {
  border-color: var(--ink-dim);
  background: rgba(15,15,25,.03);
}

.btn-primary:focus-visible,
.btn-ghost:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

/* ---------- 6b. Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,13,.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
  transition: padding .25s ease;
}

.nav.is-shrunk .nav__inner { padding-block: 9px; }

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  text-decoration: none;
  white-space: nowrap;
}

.brand .dot { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-on-dark-dim);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}

.nav__link:hover {
  color: var(--text-on-dark);
  background: rgba(255,255,255,.05);
}

.nav__link--login { font-size: 14px; }

.nav__cta { margin-left: 8px; }

/* Sprach-Switcher in der Nav (kompakt; Basis-Styles unten in 8g) */
.nav .lang-switch { margin: 0 6px 0 2px; }

@media (max-width: 1060px) and (min-width: 881px) {
  .nav .lang-switch { display: none; }   /* zu eng zwischen Links und CTA */
}

@media (max-width: 880px) {
  .nav__links .lang-switch {
    order: 99;
    margin: 14px 0 0;
    padding: 14px 14px 0;
    border-top: 1px solid var(--border-dark);
  }
}

/* Burger (nur mobil) */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-on-dark);
  transition: transform .2s ease, opacity .2s ease;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__burger { display: inline-flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--container-pad) 22px;
    background: rgba(10,10,13,.97);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-dark);
  }

  .nav.is-open .nav__links { display: flex; }

  .nav__link { min-height: 48px; font-size: 17px; }

  .nav__cta {
    margin-left: 0;
    margin-top: 10px;
    justify-content: center;
  }
}

/* ---------- 7. Textur + Glow ---------- */

/* Feines 32px-Linienraster, läuft per Mask radial nach außen aus.
   Auf ein Kind-Element oder ::before der Bühne legen. */
.grid-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 35%, transparent 78%);
}

/* Geblurrter Akzent-Schein. Max. 2 pro Sektion. */
.glow-blob {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 62%);
  filter: blur(72px);
  opacity: .32;
  pointer-events: none;
}

/* ---------- 7b. Hero + Terminal (Signature 1) ---------- */

.hero { padding-block: clamp(80px, 11vw, 140px); }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero__copy h1 { margin-top: 26px; font-size: clamp(32px, 4.8vw, 54px); }
.hero__copy .lede { margin-top: 20px; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

/* Cursor-Spotlight: hellt das Grid unter der Maus auf (Desktop only) */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 35%),
                rgba(255,255,255,.07), transparent 72%);
    opacity: 0;
    transition: opacity .4s ease;
  }
  .hero:hover::after { opacity: 1; }
}

/* Terminal-Fenster */
.terminal {
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal:hover { background: var(--surface-1); }   /* kein Karten-Hover hier */

.terminal__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-dark);
}

.terminal__dots { display: inline-flex; gap: 7px; }

.terminal__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FF5F57;
}

.terminal__dots i:nth-child(2) { background: #FEBC2E; }
.terminal__dots i:nth-child(3) { background: #28C840; }

.terminal__title { letter-spacing: 0.08em; text-transform: none; }

.terminal__body {
  padding: 22px 22px 26px;
  min-height: 196px;
  font-size: 13.5px;
  line-height: 2.0;
}

.t-line {
  max-width: none;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-on-dark);
}

.t-line--dim { color: var(--text-on-dark-dim); }

.t-mark--ok { color: var(--ok); }
.t-mark--acc { color: var(--accent-bright); }

.t-cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--text-on-dark);
  animation: cursor-blink 1.05s steps(1) infinite;
}

@keyframes cursor-blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .terminal { max-width: 560px; }
}

/* ---------- 7c. Proof-Bar ---------- */

.proof { padding-block: 0 clamp(64px, 8vw, 96px); }

.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-dark);
  padding-top: clamp(28px, 4vw, 44px);
}

.proof__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.proof__cell .mono-label { display: block; margin-top: 12px; }

@media (max-width: 880px) {
  .proof__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

/* ---------- 8. Status-Chip (Grün-Punkt + Mono-Text) ---------- */

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}

.status-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: chip-pulse 2.2s ease-in-out infinite;
}

@keyframes chip-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.45); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

/* ---------- 8b. Bento-Grid Leistungen (helle Sektion) ---------- */

.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,15,25,.09);
}

.bento-card--big { grid-row: span 2; }

.bento-card h3 { margin-top: 2px; }
.bento-card p { color: var(--ink-dim); }

.bento__more {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  opacity: .55;
  transition: opacity .2s ease;
}

.bento-card:hover .bento__more { opacity: 1; }

/* Visualisierung: Grundfläche */
.bento__vis {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 14px;
  min-height: 84px;
  color: var(--ink-dim);
}

.bento-card--big .bento__vis {
  flex: 1;
  justify-content: center;
  gap: 40px;
  min-height: 150px;
}

.bento-card--big .vis-file { width: 62px; height: 76px; }
.bento-card--big .vis-folder { width: 92px; height: 72px; }

.bento-card--big:hover .bento__vis--beleg .vis-file {
  transform: translateX(78px) translateY(8px) scale(.5);
  opacity: 0;
}

/* Beleg: Datei gleitet in den Ordner */
.bento__vis--beleg .vis-file {
  transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .45s ease .15s;
}

.bento__vis--beleg .vis-folder {
  color: var(--ink);
  transition: transform .4s ease .25s;
}

.bento-card:hover .bento__vis--beleg .vis-file {
  transform: translateX(52px) translateY(6px) scale(.55);
  opacity: 0;
}

.bento-card:hover .bento__vis--beleg .vis-folder { transform: scale(1.08); }

/* Mahnwesen: Badge kippt von offen (rot) auf erledigt (grün) */
.vis-badge {
  position: relative;
  display: inline-block;
  width: 118px;
  height: 40px;
  perspective: 400px;
}

.vis-badge__face {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backface-visibility: hidden;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.vis-badge__face--open {
  border: 1.5px solid #C4361A;
  color: #C4361A;
}

.vis-badge__face--done {
  border: 1.5px solid #167A3D;
  color: #167A3D;
  transform: rotateX(180deg);
}

.bento-card:hover .vis-badge__face--open { transform: rotateX(-180deg); }
.bento-card:hover .vis-badge__face--done { transform: rotateX(0deg); }

/* Termin: leerer Slot füllt sich mit Akzent-Balken */
.vis-cal {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  width: 150px;
}

.vis-cal i {
  height: 12px;
  border-radius: 4px;
  background: #ECECE8;
}

.vis-cal .vis-cal__slot {
  position: relative;
  background: transparent;
  border: 1.5px dashed #CFCFC9;
}

.vis-cal .vis-cal__slot::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 4px;
  background: var(--accent);
  width: 0;
  transition: width .5s cubic-bezier(.4,0,.2,1) .1s;
}

.bento-card:hover .vis-cal__slot::after { width: calc(100% + 3px); }

@media (max-width: 880px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card--big { grid-row: auto; }
}

/* ---------- 8b2. Karussell (Zertifikate/Referenzen) ---------- */

.carousel-section { padding-block: clamp(48px, 6vw, 84px); }

.carousel { position: relative; }

.carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel__viewport::-webkit-scrollbar { display: none; }

.carousel__track {
  display: flex;
  gap: 20px;
  padding: 4px 4px 4px 0;
  margin: 0;
}

.carousel__slide { scroll-snap-align: start; flex: 0 0 auto; }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.carousel__arrows { display: flex; gap: 10px; }

.carousel__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.carousel__arrow:hover { background: var(--surface-2); }

.carousel__arrow:disabled { opacity: .3; pointer-events: none; }

.carousel__dots { display: flex; align-items: center; gap: 8px; }

.carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-dark);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.carousel__dot.is-active { background: var(--accent); transform: scale(1.3); }

/* Zertifikats-Badge */
.cert-badge {
  width: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-badge__score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text-on-dark);
}

.cert-badge__score--muted {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
}

.cert-badge h3 { font-size: 17px; margin-top: -2px; }

.cert-badge__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-on-dark-dim);
}

.cert-badge__verify {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
  padding-top: 6px;
}

.cert-badge__verify:hover { text-decoration: underline; }

/* Referenzkarte */
.reference-card {
  width: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reference-card__logo-plate {
  align-self: flex-start;
  background: var(--surface-light);
  border-radius: 8px;
  padding: 16px 20px;
}

.reference-card__logo-plate img {
  display: block;
  max-width: 180px;
  height: auto;
  filter: grayscale(1) opacity(.65);
  transition: filter .3s ease;
}

.reference-card:hover .reference-card__logo-plate img,
.reference-card:focus-within .reference-card__logo-plate img {
  filter: none;
}

.reference-card__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }

.reference-card__context { color: var(--text-on-dark-dim); font-size: 15px; }

/* Neutraler Status-Chip (kein "läuft"-Grün-Puls — Pilotkunde ist bewusst kein Erfolgssignal) */
.status-chip--neutral { align-self: flex-start; color: var(--text-on-dark-dim); }

.status-chip--neutral .dot { background: var(--accent); animation: none; }

@media (max-width: 880px) {
  .cert-badge { width: 78vw; max-width: 300px; }
  .reference-card { width: 86vw; max-width: 380px; }
}

/* ---------- 8c. Prozess-Sektion (Signature 2) ---------- */

.prozess__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

/* Nur mit aktivem Pin (JS setzt .has-pin): volle Bühne + Wechseltexte */
.prozess.has-pin {
  min-height: 100vh;
  padding-block: 0;
  display: grid;
  align-items: center;
}

/* Grid-Item mit margin auto kollabiert sonst auf fit-content */
.prozess.has-pin .prozess__grid { width: 100%; }

.prozess__counter {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--text-on-dark-dim);
}

.prozess__bar-track {
  display: block;
  width: min(200px, 40%);
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.12);
}

.prozess-bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform-origin: left center;
  transform: scaleX(.3333);
}

.prozess__texts { margin-top: 34px; }

.prozess__text .mono-label { display: block; margin-bottom: 12px; }
.prozess__text .lede { margin-top: 14px; }
.prozess__text .run-badge { margin-top: 22px; }

/* Ohne Pin (mobil, reduced-motion, kein JS): Schritte statisch untereinander */
.prozess__text + .prozess__text { margin-top: 48px; }

/* Mit Pin: Texte gestapelt, nur der aktive sichtbar */
.prozess.has-pin .prozess__texts {
  position: relative;
  min-height: 340px;
}

.prozess.has-pin .prozess__text {
  position: absolute;
  inset: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.prozess.has-pin .prozess__text.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Schrittliste rechts */
.prozess-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  counter-reset: none;
}

.prozess-list li {
  display: flex;
  gap: 18px;
  padding: 20px 18px;
  border-left: 2px solid transparent;
  border-radius: 8px;
  transition: background-color .25s ease, border-color .25s ease;
}

.prozess-list li.is-active {
  border-left-color: var(--accent);
  background: rgba(255,255,255,.035);
}

.prozess-list__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-on-dark-dim);
  padding-top: 3px;
}

.prozess-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.prozess-list p {
  margin-top: 3px;
  font-size: 14.5px;
  color: var(--text-on-dark-dim);
}

.prozess-list .run-badge { margin-top: 10px; }

.prozess-list__here {
  display: none;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--accent-bright);
}

.prozess-list li.is-active .prozess-list__here { display: block; }

/* Läuft-Badge */
.run-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border: 1px solid rgba(74,222,128,.35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ok);
}

.run-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: chip-pulse 2.2s ease-in-out infinite;
}

@media (max-width: 899px) {
  .prozess__grid { grid-template-columns: 1fr; }
  .prozess__counter { display: none; }
  .prozess__right { display: none; }
}

/* ---------- 8d. Produkt-Duo (App-Fenster) ---------- */

@property --gleam {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.produkt-duo {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  perspective: 1000px;
}

.produkt { display: flex; flex-direction: column; gap: 22px; }

.appwin {
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
}

.appwin:hover { background: var(--surface-1); }

/* Wandernde Glanzlicht-Kante (conic-gradient + @property) */
.appwin::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  padding: 1px;
  background: conic-gradient(from var(--gleam),
              transparent 0turn,
              rgba(255,255,255,.55) .1turn,
              rgba(255,107,71,.45) .16turn,
              transparent .28turn);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.appwin:hover::before {
  opacity: 1;
  animation: gleam-rotate 2.6s linear infinite;
}

@keyframes gleam-rotate { to { --gleam: 1turn; } }

.appwin__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-dark);
}

.appwin__title { text-transform: none; letter-spacing: .06em; }

.appwin__body {
  padding: 22px 22px 26px;
  min-height: 128px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 2.1;
}

.a-line { max-width: none; color: var(--text-on-dark); }
.a-line--dim { color: var(--text-on-dark-dim); }

.a-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--ok);
}

.produkt__info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.produkt__info p { color: var(--text-on-dark-dim); }
.produkt__info .btn-ghost { margin-top: 8px; }

@media (max-width: 880px) {
  .produkt-duo { grid-template-columns: 1fr; }
}

/* ---------- 8e. Manifest + Person (Signature 3) ---------- */

.manifest__h {
  max-width: 880px;
  font-size: clamp(30px, 4.6vw, 50px);
}

.person {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: clamp(48px, 6vw, 80px);
  max-width: 720px;
}

.person__foto {
  border-radius: 50%;
  flex-shrink: 0;
  filter: grayscale(12%);
  aspect-ratio: 1;
  object-fit: cover;              /* Quellbild ist 2:3 Hochformat */
  object-position: 50% 22%;
}

.person-teaser img {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 22%;
}

.person__name { font-size: 18px; }
.person__name strong { font-family: var(--font-display); font-weight: 600; }

.person__bio {
  margin-top: 10px;
  color: var(--ink-dim);
  line-height: 1.65;
}

.person__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.person__chips li {
  padding: 8px 15px;
  border: 1px solid #D8D8D2;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .person { flex-direction: column; }
}

/* ---------- 8f. CTA-Finale ---------- */

.cta-final { text-align: center; }

.cta-panel {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 72px);
}

.cta-panel:hover { background: var(--surface-1); }

.cta-panel .lede {
  margin: 18px auto 0;
  max-width: 46ch;
}

.cta-panel .btn-primary { margin-top: 34px; }

/* Wandernde Glanzlicht-Border, permanent (gleiche Technik wie .appwin) */
.cta-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  padding: 1px;
  background: conic-gradient(from var(--gleam),
              transparent 0turn,
              rgba(255,255,255,.5) .1turn,
              rgba(255,107,71,.4) .16turn,
              transparent .28turn);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: gleam-rotate 5s linear infinite;
}

/* ---------- 8g. Footer ---------- */

.footer {
  padding-block: clamp(56px, 7vw, 88px) 36px;
  border-top: 1px solid var(--border-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}

.footer__contact {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-on-dark-dim);
}

.footer__contact a {
  color: var(--text-on-dark-dim);
  text-decoration: none;
}

.footer__contact a:hover { color: var(--text-on-dark); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-on-dark-dim);
}

.lang-switch button {
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--text-on-dark-dim);
  font: inherit;
  letter-spacing: .08em;
  cursor: pointer;
}

.lang-switch button.active,
.lang-switch button:hover { color: var(--text-on-dark); }

.footer__links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__links a {
  font-size: 15px;
  color: var(--text-on-dark-dim);
  text-decoration: none;
}

.footer__links a:hover { color: var(--text-on-dark); }

.footer__copy {
  max-width: none;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--text-on-dark-dim);
}

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- 8h. kmu: Ablauf-Terminalzeilen (Scrollytelling rechts) ---------- */

.ablauf-log { font-family: var(--font-mono); font-size: 14px; line-height: 2.2; padding: 26px 26px 30px; }

.ablauf-log .t-line {
  opacity: .35;
  transition: opacity .3s ease, color .3s ease;
}

.ablauf-log .t-line.is-active,
.ablauf-log .t-line.is-done { opacity: 1; }

.ablauf-log .t-line.is-active { color: var(--text-on-dark); }

/* Ohne Pin (mobil/RM/kein JS): alle Zeilen voll sichtbar */
.prozess:not(.has-pin) .ablauf-log .t-line { opacity: 1; }

/* ---------- 8i. Detail-Karten (kmu Leistungen, hell) ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-card { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.detail-card h3 { margin-top: 2px; }
.detail-card > p { color: var(--ink-dim); }

.detail-card ul {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.detail-card li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  color: var(--ink-dim);
}

.detail-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #167A3D;
  font-family: var(--font-mono);
  font-size: 13px;
}

.detail-grid--2 { grid-template-columns: repeat(2, 1fr); }
.detail-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) {
  .detail-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .detail-grid,
  .detail-grid--2,
  .detail-grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 8j. Vorher/Nachher (kmu, dunkel) ---------- */

.uc2 { display: flex; flex-direction: column; gap: 20px; }

.uc2__row { padding: clamp(22px, 3vw, 32px); }

.uc2__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.uc2__head h3 { font-size: 20px; }

.uc2__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}

.uc2__col p.uc2__label { margin-bottom: 10px; }

.uc2__col ul { display: flex; flex-direction: column; gap: 8px; }

.uc2__col li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-on-dark-dim);
}

.uc2__col--bad li::before {
  content: "·";
  position: absolute; left: 2px;
  color: var(--text-on-dark-dim);
}

.uc2__col--good li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--ok);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.uc2__verdict {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--text-on-dark);
}

.uc2__roi {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
  font-size: 14.5px;
  color: var(--text-on-dark-dim);
  max-width: none;
}

@media (max-width: 760px) { .uc2__cols { grid-template-columns: 1fr; } }

/* ---------- 8k. Preise (hell) ---------- */

.rate-table { display: flex; flex-direction: column; }

.rate-table__row {
  display: grid;
  grid-template-columns: 44px 1.1fr 1.6fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 6px;
  border-bottom: 1px solid var(--border-light);
}

.rate-table__num { font-family: var(--font-mono); font-size: 13px; color: var(--ink-dim); }
.rate-table__name { font-weight: 600; }
.rate-table__desc { color: var(--ink-dim); font-size: 15px; }

.rate-table__rate {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  white-space: nowrap;
}

.rate-table__rate small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.pkg-card { padding: 28px; display: flex; flex-direction: column; gap: 8px; }

.pkg-card--pop { border-color: var(--accent); box-shadow: 0 6px 24px rgba(224,67,31,.09); }

.pkg-card .mono-label { margin-bottom: 4px; }

.pkg-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.pkg-card__desc { font-size: 15px; color: var(--ink-dim); }

.price-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-dim);
  max-width: none;
}

@media (max-width: 880px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .rate-table__row { grid-template-columns: 32px 1fr auto; }
  .rate-table__desc { display: none; }
}

/* ---------- 8l. FAQ (dunkel) ---------- */

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }

.faq-list details {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background: var(--surface-1);
}

.faq-list summary {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary .num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-on-dark-dim);
  flex-shrink: 0;
}

.faq-list summary .plus {
  margin-left: auto;
  color: var(--text-on-dark-dim);
  font-weight: 400;
  transition: transform .2s ease;
}

.faq-list details[open] summary .plus { transform: rotate(45deg); }

.faq-list .faq__answer { padding: 0 22px 20px 54px; }
.faq-list .faq__answer p { color: var(--text-on-dark-dim); font-size: 15.5px; }

/* ---------- 8m. Formular (hell) ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.contact-info dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.contact-info dd { margin: 4px 0 0; font-size: 16px; }
.contact-info a { color: var(--ink); text-underline-offset: 3px; }

.form-v2 { display: flex; flex-direction: column; gap: 16px; }

.form-v2 label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.form-v2 input[type="text"],
.form-v2 input[type="email"],
.form-v2 input[type="tel"],
.form-v2 select,
.form-v2 textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #D8D8D2;
  border-radius: 9px;
  background: var(--surface-light);
  color: var(--ink);
  font-size: 16px;
}

.form-v2 textarea { min-height: 120px; resize: vertical; }

.form-v2 input:focus-visible,
.form-v2 select:focus-visible,
.form-v2 textarea:focus-visible {
  outline: 2px solid var(--accent-btn);
  outline-offset: 1px;
}

.form-v2 .form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-v2 .form-check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent-btn); }
.form-v2 .form-check label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-dim);
}
.form-v2 .form-check a { color: var(--ink); }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 8n2. Portal-Mockup (Kipp-Perspektive, statisch) ---------- */

.portal-mock {
  max-width: 780px;
  margin: 56px auto 0;
  text-align: left;
  transform: perspective(1200px) rotateX(6deg);
  transform-origin: top center;
}

@media (prefers-reduced-motion: no-preference) {
  .portal-mock { transition: transform .5s ease; }
  .portal-mock:hover { transform: perspective(1200px) rotateX(0deg); }
}

.portal-mock__rows { padding: 10px 8px; }

.portal-mock__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 8px;
  font-size: 15px;
}

.portal-mock__row + .portal-mock__row { border-top: 1px solid var(--border-dark); border-radius: 0; }

.portal-mock__row strong { font-family: var(--font-display); font-weight: 600; }

.portal-mock__row--dim strong,
.portal-mock__row--dim .portal-mock__meta { color: var(--text-on-dark-dim); }

.portal-mock__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-on-dark-dim);
}

.portal-mock__pause { border: 1px solid var(--border-dark); border-radius: 999px; padding: 4px 10px; }

.run-badge--sm { padding: 3px 10px; font-size: 11px; }

@media (max-width: 640px) {
  .portal-mock__meta { display: none; }
}

/* ---------- 8n. Person-Teaser (hell, kmu/#ueber) ---------- */

.person-teaser {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
  max-width: 720px;
}

.person-teaser img { border-radius: 50%; flex-shrink: 0; filter: grayscale(12%); }
.person-teaser p { font-size: 15.5px; color: var(--ink-dim); }
.person-teaser a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 640px) { .person-teaser { flex-direction: column; align-items: flex-start; } }

/* ---------- 8o. Blog: Karten + Artikel (hell) ---------- */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 30px);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,15,25,.09);
}

.post-card h3 { font-size: 20px; }
.post-card p { color: var(--ink-dim); font-size: 15.5px; }

.post-card__more {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
  font-size: 15px;
  opacity: .55;
  transition: opacity .2s ease;
}

.post-card:hover .post-card__more { opacity: 1; }

@media (max-width: 880px) { .posts-grid { grid-template-columns: 1fr; } }

/* Artikel-Seite: heller Lesekörper */
.post-section { padding-block: clamp(48px, 7vw, 88px); }

.post-wrap {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.post__title { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }

.post__date {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.post__lede {
  margin-top: 18px;
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink-dim);
}

.post__body { margin-top: 36px; }

.post__body h2 {
  font-size: 25px;
  margin: 40px 0 14px;
}

.post__body h3 {
  font-size: 19.5px;
  margin: 28px 0 10px;
}

.post__body p { margin: 15px 0; max-width: none; }

.post__body ul,
.post__body ol {
  margin: 15px 0;
  padding-left: 24px;
}

.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li { margin: 7px 0; }
.post__body li::marker { color: var(--accent); }

.post__body blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--accent);
  background: #F2F2EE;
  border-radius: 0 8px 8px 0;
}

.post__body blockquote p { margin: 0; }

.post__body code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: #EFEFEA;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  padding: 2px 7px;
}

.post__body img { margin: 28px auto; }

.post__body a { color: var(--ink); text-underline-offset: 3px; }

.post__back {
  display: inline-block;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
}

.post__back:hover { color: var(--ink); }

/* ---------- 8p. Status-Meldungen (Formular-Ergebnis, hell) ---------- */

.status-msg {
  display: none;
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 15.5px;
  max-width: none;
}

.status-msg--ok {
  background: #EBF7EE;
  border: 1px solid rgba(22,122,61,.3);
  color: #14532D;
}

.status-msg--err {
  background: #FBEAE5;
  border: 1px solid rgba(224,67,31,.35);
  color: #7C2D12;
}

/* Banner der Rechtsseiten füllt erst i18n (H3) — leer nicht anzeigen */
.legal-banner:empty { display: none; }

/* ---------- 9. Reveals (CSS scroll-driven, Firefox: sofort sichtbar) ---------- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-up .8s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .reveal:nth-child(2) { animation-range: entry 8% entry 63%; }
    .reveal:nth-child(3) { animation-range: entry 16% entry 71%; }
  }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 10. Reduced Motion: alles ruhigstellen ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
