/* ============================================================
   skoerber.ch — Formance website builder output (draft v1)
   Theme contract: colors/type/spacing live ONLY in :root.
   Component rules read tokens — re-theme by editing :root alone.
   ============================================================ */

:root {
  /* Palette — "improved blue": deep Swiss professional blues
     replacing the stock Divi #2EA3F2 of the current site */
  --color-bg: #f7fafd;            /* cool near-white page ground */
  --color-surface: #ffffff;       /* cards / header */
  --color-ink: #13253b;           /* deep navy body ink */
  --color-ink-muted: #4d5d70;     /* slate secondary text */
  --color-border: #e2eaf2;        /* subtle dividers + card borders */
  --color-border-hover: #c3d6ea;  /* card hover border */
  --color-accent: #1a5fa8;        /* primary blue */
  --color-accent-hover: #144a84;
  --color-tint: #ecf2f9;          /* slim-band tinted background */
  --color-tint-border: #dbe6f2;
  --color-deep: #0d1f33;          /* footer + hero fallback */
  --color-silver: #b9c8d9;        /* light text on dark surfaces */

  /* Hero gradient — night-lake blue, three drifting orbs */
  --gradient-hero: linear-gradient(115deg, #0d2440 0%, #14406e 48%, #1f5c9e 100%);
  --orb-a: #2f7cc4;
  --orb-b: #123156;
  --orb-c: #5b9bd8;

  /* Typography — Playfair kept from the current site, body modernised */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --max-width: 1100px;
  --radius: 14px;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --space-7: 7rem;
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--color-ink); }

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

/* ---------- Sticky shrink-on-scroll header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 10px rgba(13, 31, 51, 0.07); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  transition: padding 0.2s ease;
}
.site-header.is-scrolled .container {
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--color-ink); }
.brand:hover { color: var(--color-ink); }

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-hero);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.2s ease, height 0.2s ease;
}
.site-header.is-scrolled .brand-mark { width: 33px; height: 33px; font-size: 14px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-top: 1px;
}
.site-header.is-scrolled .brand-sub { display: none; }

/* ---------- Nav ---------- */

.site-nav { display: flex; align-items: center; gap: var(--space-3); }
.site-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink-muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: var(--color-ink); }
.site-nav a.is-active { color: var(--color-accent); border-bottom-color: var(--color-accent); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: var(--color-surface);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero — animated stage ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  height: clamp(370px, 46vw, 580px);
  background: var(--gradient-hero);
  color: #fff;
}
.hero-orb {
  position: absolute;
  width: 55vw;
  height: 55vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}
.hero-orb--a { background: radial-gradient(circle, var(--orb-a), transparent 68%); top: -18%; left: 46%; }
.hero-orb--b { background: radial-gradient(circle, var(--orb-b), transparent 68%); bottom: -30%; left: -12%; }
.hero-orb--c { background: radial-gradient(circle, var(--orb-c), transparent 68%); top: 8%; right: -20%; opacity: 0.34; }

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 31, 51, 0) 40%, rgba(13, 31, 51, 0.42) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: clamp(20px, 5.5vw, 96px);
  right: clamp(20px, 5.5vw, 96px);
  bottom: clamp(28px, 6vw, 80px);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ''; width: 18px; height: 1px; background: #fff; }

.hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.6vw, 76px);
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: #fff;
}
.hero-line { display: block; overflow: hidden; }
.hero-word { display: inline-block; }
.js-anim .hero-word {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(5px);
}
.hero-word.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 550ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 550ms cubic-bezier(0.22, 0.61, 0.36, 1),
              filter 550ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Slim-band section headers (in-page mode) ---------- */

.subhero-band {
  position: relative;
  overflow: hidden;
  background: var(--color-tint);
  border-top: 1px solid var(--color-tint-border);
  border-bottom: 1px solid var(--color-tint-border);
  padding: clamp(24px, 3.4vw, 44px) clamp(20px, 5.5vw, 64px) clamp(28px, 3.8vw, 48px);
}
.subhero-band::after {
  content: '';
  position: absolute;
  top: -110%;
  right: -14%;
  width: 55%;
  height: 320%;
  background: radial-gradient(ellipse, rgba(26, 95, 168, 0.16), transparent 62%);
  pointer-events: none;
}
.subhero-band__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2) var(--space-5);
  align-items: end;
  position: relative;
  z-index: 1;
}
.subhero-band__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.subhero-band__eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--color-accent); }
.subhero-band__title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.subhero-band__lede {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  color: var(--color-ink-muted);
  text-align: right;
  justify-self: end;
}

/* ---------- Sections ---------- */

.section { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.section > .container > * + * { margin-top: var(--space-4); }

.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--color-ink-muted);
  max-width: 760px;
}

.section-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.01em; margin: 0; }

/* ---------- Intro (portrait + pitch) ---------- */

.intro { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.intro__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 14px;
}
.intro__title { font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 4px; letter-spacing: -0.01em; }
.intro__creds {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin: 0 0 var(--space-3);
}
.intro__text p { margin: 0 0 var(--space-2); color: var(--color-ink-muted); font-size: 16.5px; }
.intro__claim {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--color-ink);
}
.intro__portrait {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(13, 31, 51, 0.14);
}
.intro__portrait img { width: 100%; height: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-border-hover);
}
.btn--ghost:hover { background: var(--color-tint); color: var(--color-accent-hover); transform: none; }

/* ---------- Scroll-Stack (formance.ch ueber-uns pattern) ----------
   Jede Karte klebt (sticky) mit leicht wachsendem Offset; die nächste
   schiebt sich beim Scrollen darüber. Reines CSS.
   --i = Index der Karte (im Markup), --stack-top = Header + Luft. */

.stack {
  --stack-top: 88px;
  --stack-step: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stack > li {
  position: sticky;
  top: calc(var(--stack-top) + var(--i, 0) * var(--stack-step));
}
/* Abstand als margin-TOP der folgenden Karte, nie als margin-bottom:
   sticky hält die eigene Margin-Box im Container — ein unterer Rand würde
   die letzte Karte zu früh nach oben schieben (Fächer bricht). */
.stack > li + li { margin-top: 90px; }
.stack--narrow { max-width: 880px; margin-left: auto; margin-right: auto; }

/* Karten im Stapel: solide Fläche + obere Kante hebt sich vom Stapel ab */
.stack .cv-group,
.stack .pillar {
  box-shadow: 0 -10px 26px rgba(13, 31, 51, 0.07), 0 14px 34px rgba(13, 31, 51, 0.07);
}

/* Gepaarter Stapel (Dienstleistungen) — Owner ruling 2026-08-29:
   Stack ja, aber 2×3: je Stapel-Ebene ein Kartenpaar, mobil einzeln.
   li sind inline-block (nicht Grid/Flex: dort wäre der Containing Block
   die Grid-Area/Flex-Line und sticky hätte keinen Laufweg) — Paare teilen
   --i (Ebene), mobil zählt --im (Einzelkarte). Breiten exakt 50% + innen
   gepolstert, damit die Zeile nie umbricht. */
.stack--paired { font-size: 0; }
.stack--paired > li {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  font-size: 16px;
}
.stack--paired > li:nth-child(odd) { padding-right: 10px; }
.stack--paired > li:nth-child(even) { padding-left: 10px; }
/* Reihen-Partner brauchen EXAKT gleiche margin-top (vertical-align richtet
   die Margin-Box aus) — nth-child schlägt alle `.stack > li + li`-Regeln */
.stack--paired > li:nth-child(-n+2) { margin-top: 0; }
.stack--paired > li:nth-child(n+3) { margin-top: 90px; }
.stack--paired .pillar { min-height: 236px; }

.pillar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 1px 0 rgba(13, 31, 51, 0.02);
  transition: transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 31, 51, 0.09);
  border-color: var(--color-border-hover);
}
.pillar h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 10px;
}
.pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-ink-muted);
  margin: 0 0 12px;
}
.pillar p:last-child { margin-bottom: 0; }
.pillar p.pillar-lead {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 18px;
}

/* ---------- Kompetenzen chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 12px; max-width: 900px; }
.chip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.chip:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 8px 20px rgba(13, 31, 51, 0.07);
  transform: translateY(-1px);
}

/* ---------- CV (Über mich) ---------- */

.cv-group {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.cv-group h3 {
  font-size: 22px;
  margin: 0 0 var(--space-3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}
.cv { margin: 0; }
.cv > div { display: grid; grid-template-columns: 104px 1fr; gap: 4px var(--space-3); padding: 9px 0; }
.cv > div + div { border-top: 1px solid var(--color-bg); }
.cv dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  padding-top: 3px;
  white-space: nowrap;
}
.cv dd { margin: 0; font-size: 15px; color: var(--color-ink-muted); }
.cv dd strong { color: var(--color-ink); font-weight: 600; }
.cv dd em { font-style: italic; }

/* ---------- Contact ---------- */

.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 31, 51, 0.09);
  border-color: var(--color-border-hover);
}
.fact-card h3 { font-size: 20px; margin: 0 0 8px; }
.fact-card p { margin: 0; font-size: 15.5px; color: var(--color-ink-muted); }
.fact-card .fact-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 12px;
}

.contact-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.contact-panel h3 { font-size: 24px; margin: 0 0 6px; }
.contact-panel > p { margin: 0 0 var(--space-3); color: var(--color-ink-muted); font-size: 15.5px; }

.form-row { margin-bottom: var(--space-3); }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-ink);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 9px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.15);
  background: var(--color-surface);
}
.form-row textarea { min-height: 150px; resize: vertical; }

.form-banner {
  border-radius: 9px;
  padding: 13px 16px;
  font-size: 15px;
  margin-bottom: var(--space-3);
}
.form-banner--error { background: #fdf0f0; border: 1px solid #f2cfcf; color: #8c2f2f; }
.form-banner--success { background: #eef7ef; border: 1px solid #cfe8d2; color: #2f6c3a; }

.form-note { font-size: 13px; color: var(--color-ink-muted); margin-top: var(--space-2); }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer (skoerber-Einheitsfooter: links ©, rechts Links) ---------- */

.site-footer {
  background: var(--color-deep);
  color: var(--color-silver);
  margin-top: var(--space-6);
  padding: 22px var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.site-footer .footer-meta { color: var(--color-silver); }
.footer-nav { display: flex; gap: 20px; margin: 0; }
.footer-nav a { color: var(--color-silver); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- Legal pages (subhero-minimal) ---------- */

.subhero-minimal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--space-3) clamp(28px, 4vw, 48px);
}
.subhero-minimal__rule {
  width: 28px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: 16px;
}
.js-anim .subhero-minimal__rule {
  opacity: 0;
  transform: translateX(-8px);
  animation: rule-in 900ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes rule-in { to { opacity: 1; transform: translateX(0); } }
.subhero-minimal__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 12px;
}
.subhero-minimal__title {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  max-width: 16ch;
}
.subhero-minimal__lede { margin: 0; font-size: clamp(15px, 1.2vw, 18px); color: var(--color-ink-muted); max-width: 540px; }

.prose { max-width: 720px; }
.prose h2 { font-size: 24px; margin: var(--space-5) 0 var(--space-2); }
.prose p, .prose li { color: var(--color-ink-muted); font-size: 15.5px; }
.prose ul { padding-left: 1.2rem; }
.prose .facts { display: grid; grid-template-columns: 180px 1fr; gap: 8px var(--space-3); margin: var(--space-3) 0; }
.prose .facts dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-top: 2px;
}
.prose .facts dd { margin: 0; font-size: 15.5px; color: var(--color-ink-muted); }
.legal-updated { font-family: var(--font-mono); font-size: 12px; color: var(--color-ink-muted); margin-top: var(--space-5); }

/* ---------- Scroll reveal ---------- */

.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js-anim .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-anim .reveal:nth-child(2) { transition-delay: 80ms; }
.js-anim .reveal:nth-child(3) { transition-delay: 160ms; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim .hero-word { opacity: 1; transform: none; filter: none; transition: none; }
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .js-anim .subhero-minimal__rule { opacity: 1; transform: none; animation: none; }
  .pillar, .fact-card, .chip, .btn { transition: none; }
  .pillar:hover, .fact-card:hover, .chip:hover, .btn:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .stack { --stack-top: 76px; --stack-step: 14px; }
  .stack > li + li { margin-top: 64px; }
}

@media (max-width: 720px) {
  /* Gepaarter Stapel wird zum Einzel-Stapel: --im zählt die Karten durch */
  .stack--paired > li {
    display: block;
    width: auto;
    top: calc(var(--stack-top) + var(--im, 0) * var(--stack-step));
  }
  .stack--paired > li:nth-child(odd) { padding-right: 0; }
  .stack--paired > li:nth-child(even) { padding-left: 0; }
  .stack--paired > li:nth-child(n+2) { margin-top: 64px; }
  .stack--paired .pillar { min-height: 0; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 14px 30px rgba(13, 31, 51, 0.1);
    display: none;
    padding: var(--space-1) 0 var(--space-2);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 12px var(--space-3);
    border-bottom: 0;
    font-size: 16px;
  }
  .site-nav a.is-active { border-bottom: 0; }
  .nav-toggle { display: block; }

  .brand-name { font-size: 18px; }

  .intro { grid-template-columns: 1fr; }
  .intro__portrait { order: -1; max-width: 420px; }

  .facts-grid { grid-template-columns: 1fr; }

  .subhero-band__inner { grid-template-columns: 1fr; align-items: start; }
  .subhero-band__lede { text-align: left; justify-self: start; }

  .cv > div { grid-template-columns: 1fr; gap: 2px; }
  .cv dt { padding-top: 0; }

  .prose .facts { grid-template-columns: 1fr; gap: 2px; }
  .prose .facts dd { margin-bottom: 10px; }
}
