/* =====================================================================
   "Leise": a quiet editorial look. Warm off-white paper, warm near-black
   ink, a light serif for the big sentences (Newsreader), Inter for reading,
   and the coral threads as the single warm accent.
   ===================================================================== */
@font-face { font-family: "Inter Var"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader Var"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --bg: #F5F5F4;
  --bg-alt: #FAFAF9;
  --surface: #FFFFFF;
  --tile: #F0EFED;
  --label: #0C0A09;
  --label-2: #4E4B48;
  --label-3: #625E5A;
  --steel: #8F8984;       /* warm grey – large type only */
  --line: #E2E0DE;
  --deep: #1C1917;        /* the dark band */
  --on-deep: #FAFAF9;
  --on-deep-2: #B9B2AB;
  --coral: #D4846D;       /* the threads */
  --coral-text: #9A4E37;
  --coral-on-deep: #EDB6A3;
  --primary: #292524;
  --primary-pressed: #0C0A09;
  --on-primary: #FFFFFF;
  --fill: rgba(41, 37, 36, 0.06);
  --fill-pressed: rgba(41, 37, 36, 0.12);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-edge: rgba(255, 255, 255, 0.14);
  --focus: #2F6FB8;
  --material: rgba(245, 245, 244, 0.84);
  --sheet: rgba(255, 255, 255, 0.95);
  --material-edge: rgba(255, 255, 255, 0.6);
  --scrim: rgba(12, 10, 9, 0.36);
  --mark: rgba(255, 204, 0, 0.38);
  --shadow-card: 0 1px 2px rgba(12, 10, 9, 0.03);
  --fog-1: rgba(168, 200, 232, 0.55);
  --fog-2: rgba(244, 197, 168, 0.42);
  --fog-3: rgba(206, 222, 230, 0.6);

  --sans: "Inter Var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Newsreader Var", Georgia, "Times New Roman", serif;

  --gutter: 20px;
  --nav-h: 52px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0D0C;
    --bg-alt: #151412;
    --surface: #1C1A18;
    --tile: #211F1C;
    --label: #F5F3F0;
    --label-2: #BAB3AC;
    --label-3: #A39C95;
    --steel: #8E8780;
    --line: #3A3632;
    --deep: #1F1C19;
    --on-deep: #F5F3F0;
    --on-deep-2: #BDB5AD;
    --coral: #E08A72;
    --coral-text: #EFA48E;
    --coral-on-deep: #F2B4A2;
    --primary: #F0EDEA;
    --primary-pressed: #D9D4CF;
    --on-primary: #0E0D0C;
    --fill: rgba(240, 236, 232, 0.10);
    --fill-pressed: rgba(240, 236, 232, 0.18);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-edge: rgba(255, 255, 255, 0.12);
    --focus: #5AA2FF;
    --material: rgba(14, 13, 12, 0.86);
    --sheet: rgba(28, 26, 24, 0.93);
    --material-edge: rgba(255, 255, 255, 0.1);
    --scrim: rgba(0, 0, 0, 0.5);
    --mark: rgba(255, 214, 10, 0.3);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.3);
    --fog-1: rgba(90, 120, 150, 0.22);
    --fog-2: rgba(160, 110, 85, 0.16);
    --fog-3: rgba(110, 130, 140, 0.16);
  }
}

@media (min-width: 735px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 106.25%; /* 17px by default, scales with the reader's text size */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-gutter: stable;
}
html.sheet-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: var(--sans);
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { margin: 0; font-weight: 600; font-optical-sizing: auto; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: color-mix(in srgb, var(--coral) 30%, transparent); }

.container {
  width: 100%;
  max-width: calc(1120px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.section { padding-block: clamp(88px, 12vw, 160px); }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--deep); color: var(--on-deep); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 8px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--label);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; outline: 3px solid var(--focus); outline-offset: 2px; }

/* Type scale: tracking and leading follow size */
.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.3rem + 5.4vw, 5.6rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 1.1rem + 3vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.1765rem, 1.05rem + 0.45vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -0.018em;
  color: var(--label-2);
  text-wrap: pretty;
}
.section-deep .lead { color: var(--on-deep-2); }
.small, .footer, .stage-meta, .zone span, .stage-labels button, .contact-mail, .nav-links a, .chapter-kicker {
  letter-spacing: -0.006em;
}

/* Continuous corners: radius is a fallback until the squircle path is drawn */
[data-squircle].sq-ready { border-radius: 0 !important; }

/* ---------- Buttons (capsules) ---------- */
.press { -webkit-user-drag: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary.is-pressed { background: var(--primary-pressed); }
.btn-secondary { background: var(--fill); color: var(--label); }
.btn-secondary.is-pressed { background: var(--fill-pressed); }
.section-deep .btn-primary { background: var(--on-deep); color: var(--deep); }
.section-deep .btn-primary.is-pressed { background: var(--on-deep-2); }
.section-deep .btn-secondary { background: var(--glass); color: var(--on-deep); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.section-deep .btn-secondary.is-pressed { background: rgba(255, 255, 255, 0.14); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--primary-pressed); }
  .btn-secondary:hover { background: var(--fill-pressed); }
  .section-deep .btn-primary:hover { background: var(--on-deep-2); }
  .section-deep .btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }
}
.btn svg { width: 17px; height: 17px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Navigation (translucent material) ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: var(--material);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-edge {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--nav-h) + env(safe-area-inset-top));
  z-index: 49;
  height: 18px;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--material), transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
  opacity: 0;
}
.nav-edge.is-on { opacity: 1; }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-name {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 1.0588rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-name:focus-visible, .nav-links a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-links { display: none; gap: 4px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.882rem;
  color: var(--label-2);
  text-decoration: none;
  will-change: transform;
}
.nav-links a.is-pressed, .nav-links a:hover { color: var(--label); }
@media (min-width: 760px) { .nav-links { display: flex; } }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; will-change: transform; }
.nav-cta .btn { min-height: 32px; padding: 0 16px; font-size: 0.882rem; }
.nav-cta:focus-visible { outline: none; }
.nav-cta:focus-visible .btn { outline: 3px solid var(--focus); outline-offset: 2px; }
.nav-cta.is-pressed .btn-primary { background: var(--primary-pressed); }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(56px, 8vw, 96px); text-align: center; }
.hero .display .line { display: block; }
.hero .display .line-past { color: var(--steel); }
.js .hero .display .line, .js .hero-reveal { opacity: 0; }
.hero .lead { margin: 28px auto 0; max-width: 32em; }
.hero .actions { justify-content: center; margin-top: 36px; }
.hero-figure {
  position: relative;
  margin: clamp(48px, 7vw, 80px) auto 0;
  max-width: 1120px;
  aspect-ratio: 3 / 2;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg-alt);
  transform-origin: 50% 0;
  will-change: transform;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) { .hero-figure { aspect-ratio: 1 / 1; border-radius: 28px; } }

/* ---------- Then / now band ---------- */
.story .h2 { max-width: 14em; }
.story .lead { margin-top: 24px; max-width: 34em; }
.compare { margin-top: 56px; display: grid; gap: 16px; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; gap: 20px; } }
.compare-card {
  padding: 32px 30px 34px;
  background: var(--glass);
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px var(--glass-edge);
}
.compare-card h3 { font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.025em; }
.compare-card p { margin-top: 12px; color: var(--on-deep-2); line-height: 1.55; font-size: 1.06rem; text-wrap: pretty; }
.story-conclusion {
  margin-top: 48px;
  max-width: 30em;
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.024em;
  font-weight: 600;
  text-wrap: balance;
}

/* ---------- Thread scrubber: idea → operation ---------- */
.path-intro .lead { margin-top: 20px; max-width: 36em; }
.scrubber { margin-top: 72px; padding-top: 48px; }
.rail { position: relative; margin-inline: 14px; }
.zone { position: absolute; left: 40%; right: 0; top: -48px; height: 34px; color: var(--label-2); }
.zone.is-active { color: var(--coral-text); }
.zone span { display: block; font-size: 0.882rem; font-weight: 600; text-align: center; }
.zone::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: 0;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.track-hit { position: relative; height: 44px; touch-action: pan-y; cursor: pointer; }
.thread-base { position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 1px; background: var(--line); }
.thread-clip { position: absolute; left: 0; right: 0; top: 20px; height: 4px; border-radius: 2px; overflow: hidden; }
.thread { position: absolute; inset: 0; background: var(--coral); transform: translate3d(-100%, 0, 0); will-change: transform; }
.pin {
  position: absolute;
  top: 15px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 2px var(--line);
}
.pin.is-lit { background: var(--coral); box-shadow: inset 0 0 0 2px var(--coral); }
.thumb {
  position: absolute;
  top: 0;
  left: -22px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
  will-change: transform;
}
.thumb:focus-visible { outline: 3px solid var(--focus); outline-offset: -5px; }
.thumb.is-grabbed { cursor: grabbing; }
.knob {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0.5px 4px rgba(19, 35, 43, 0.14), 0 6px 14px rgba(19, 35, 43, 0.16), 0 0 0 0.5px rgba(19, 35, 43, 0.06);
  will-change: transform;
}
.stage-labels { position: relative; height: 44px; margin: 0; padding: 0; list-style: none; }
.stage-labels li { position: absolute; top: 0; transform: translateX(-50%); }
.stage-labels button {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.882rem;
  color: var(--label-3);
  cursor: pointer;
  border-radius: 8px;
}
.stage-labels button.is-active { color: var(--label); }
.stage-labels button:focus-visible { outline: 2px solid var(--focus); }
@media (max-width: 599px) { .stage-labels { display: none; } }

.stage-panel {
  margin-top: 28px;
  padding: 30px 28px 32px;
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  min-height: 236px;
}
@media (min-width: 735px) { .stage-panel { padding: 38px 44px 42px; min-height: 220px; } }
.stage-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.882rem; color: var(--label-2); }
.stage-status { display: inline-flex; align-items: center; gap: 8px; }
.stage-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.stage-status.is-live .dot { background: var(--coral); box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 24%, transparent); }
.stage-count { color: var(--label-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stage-title { margin-top: 18px; font-family: var(--display); font-size: 1.9rem; letter-spacing: -0.028em; }
.stage-text { margin-top: 10px; max-width: 40em; font-size: 1.1rem; line-height: 1.55; color: var(--label-2); text-wrap: pretty; }

/* ---------- Principles ---------- */
.principles { margin: 56px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
@media (min-width: 735px) { .principles { grid-template-columns: 1fr 1fr; gap: 20px; } }
.tile { padding: 32px 30px 34px; background: var(--tile); border-radius: 28px; }
.tile h3 { font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.024em; line-height: 1.15; }
.tile p { margin-top: 10px; color: var(--label-2); line-height: 1.55; text-wrap: pretty; }

/* ---------- Path carousel ---------- */
.weg-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.weg-head .lead { margin-top: 20px; max-width: 30em; }
.carousel-controls { display: flex; gap: 12px; }
.round-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fill);
  color: var(--label);
  cursor: pointer;
  will-change: transform;
}
.round-btn svg { width: 16px; height: 16px; }
.round-btn.is-pressed { background: var(--fill-pressed); }
.round-btn:disabled { opacity: 0.38; cursor: default; }
.round-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) { .round-btn:not(:disabled):hover { background: var(--fill-pressed); } }
.carousel {
  margin-top: 48px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.carousel:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.carousel.is-dragging { cursor: grabbing; }
.carousel-track {
  position: relative;
  display: flex;
  gap: 20px;
  padding-inline: max(var(--gutter), calc((100% - 1120px) / 2));
  will-change: transform;
}
.chapter {
  flex: none;
  width: min(400px, 80vw);
  min-height: 340px;
  padding: 34px 30px 36px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 32px;
  box-shadow: var(--shadow-card);
}
.chapter-pin { position: relative; height: 14px; margin-bottom: 40px; }
.chapter-pin::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--steel);
}
.chapter-pin::after {
  content: "";
  position: absolute;
  left: 20px;
  right: -30px;
  top: 6px;
  height: 2px;
  background: var(--line);
}
.chapter-kicker { font-size: 0.882rem; color: var(--label-3); }
.chapter h3 { margin-top: 6px; font-family: var(--display); font-size: 2rem; letter-spacing: -0.03em; line-height: 1.1; }
.chapter p { margin-top: 14px; color: var(--label-2); line-height: 1.55; text-wrap: pretty; }
.chapter.is-now { background: var(--deep); color: var(--on-deep); }
.chapter.is-now .chapter-kicker { color: var(--on-deep-2); }
.chapter.is-now p { color: var(--on-deep-2); }
.chapter.is-now .chapter-pin::before { background: var(--coral); box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral) 28%, transparent); }
.chapter.is-now .chapter-pin::after { background: var(--coral); }

/* ---------- Attitude ---------- */
.attitude { text-align: center; }
.attitude-thread { display: block; margin: 0 auto 40px; width: 120px; height: 14px; color: var(--coral); }
.attitude .h2 { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.8rem); letter-spacing: -0.038em; }
.attitude .lead { margin: 28px auto 0; max-width: 32em; }

/* ---------- Contact ---------- */
.contact .lead { margin-top: 24px; max-width: 32em; }
.contact .actions { margin-top: 36px; }
.contact-mail { margin-top: 14px; font-size: 0.941rem; color: var(--on-deep-2); }
.contact-mail a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-deep); text-decoration: none; }
.contact-mail a:hover { text-decoration: underline; }
.contact-mail a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- Footer ---------- */
.footer { padding-block: 16px calc(16px + env(safe-area-inset-bottom)); font-size: 0.8235rem; color: var(--label-3); }
.footer .container { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 16px; }
.footer a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--label-2); text-decoration: none; will-change: transform; }
.footer a:hover, .footer a.is-pressed { color: var(--label); }
.footer a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- Sheet ---------- */
.sheet-root { position: fixed; inset: 0; z-index: 100; }
.sheet-root[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; touch-action: none; }
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -60px;
  margin-inline: auto;
  max-width: 680px;
  max-height: calc(90vh + 60px);
  max-height: calc(90dvh + 60px);
  display: flex;
  flex-direction: column;
  padding-bottom: calc(60px + env(safe-area-inset-bottom));
  background: var(--sheet);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  backdrop-filter: saturate(180%) blur(40px);
  border-radius: 28px 28px 0 0;
  box-shadow: inset 0 1px 0 var(--material-edge);
  will-change: transform;
  transform: translate3d(0, 100%, 0);
}
.sheet-header { flex: none; position: relative; padding: 10px 64px 16px; text-align: center; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.sheet-header.is-grabbed { cursor: grabbing; }
.grabber { width: 36px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: var(--label-3); opacity: 0.5; }
.sheet-header h2 { font-family: var(--display); font-size: 1.18rem; letter-spacing: -0.02em; }
.sheet-close {
  position: absolute;
  right: 10px;
  top: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--label-2);
  cursor: pointer;
  will-change: transform;
}
.sheet-close::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--fill); }
.sheet-close.is-pressed::before { background: var(--fill-pressed); }
.sheet-close svg { position: relative; width: 12px; height: 12px; }
.sheet-close:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sheet-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 28px 28px;
  font-size: 0.941rem;
  line-height: 1.6;
  letter-spacing: -0.012em;
  color: var(--label);
}
.sheet-body h3 { margin-top: 1.6em; font-size: 1rem; letter-spacing: -0.015em; }
.sheet-body h3:first-child { margin-top: 0.4em; }
.sheet-body p { margin-top: 0.5em; }
.sheet-body a { color: var(--primary); }
@media (prefers-color-scheme: dark) { .sheet-body a { color: var(--primary); } }
.sheet-body .todo { background: var(--mark); color: var(--label); border-radius: 4px; padding: 0 4px; }

main, .footer { transform-origin: 50% 0; }
html.sheet-open main, html.sheet-open .footer { will-change: transform; }

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero .display .line, .js .hero-reveal { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --material: var(--bg); --sheet: var(--surface); }
  .nav, .sheet, .nav-edge { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-edge { display: none; }
  .nav { box-shadow: 0 1px 0 var(--line); }
}
@media (prefers-contrast: more) {
  :root { --material: var(--bg); --sheet: var(--surface); --label-2: var(--label); --label-3: var(--label); --line: var(--label-3); }
  .nav, .sheet, .nav-edge { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-edge { display: none; }
  .nav { box-shadow: 0 1px 0 var(--label); }
  .tile, .chapter, .stage-panel { box-shadow: inset 0 0 0 1px var(--label); }
  .btn-secondary { box-shadow: inset 0 0 0 1px currentColor; }
}

/* ---------- Breadcrumb (subpages) ---------- */
.crumb { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 20px; font-size: 0.941rem; color: var(--label-2); text-decoration: none; will-change: transform; }
.crumb svg { width: 12px; height: 12px; }
.crumb:hover, .crumb.is-pressed { color: var(--label); }
.crumb:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.hero-compact { padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Topics ---------- */
.topics-head .lead { margin-top: 20px; max-width: 32em; }
.topics { margin: 56px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
@media (min-width: 735px) { .topics { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1040px) { .topics { grid-template-columns: repeat(3, 1fr); } }
.topics .tile { display: flex; flex-direction: column; min-height: 250px; }
.tile-pin { width: 12px; height: 12px; margin-bottom: 28px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--steel); }
.tile.is-featured { background: var(--deep); color: var(--on-deep); }
.tile.is-featured p { color: var(--on-deep-2); }
.tile.is-featured .tile-pin { background: var(--coral); box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 28%, transparent); }
.tile-link { margin-top: auto; padding-top: 24px; }
.tile-link .btn { min-height: 44px; padding: 0 20px; }

/* ---------- Thoughts ---------- */
.thoughts-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.thoughts { margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.thoughts li { border-bottom: 1px solid var(--line); }
.thought {
  display: grid;
  gap: 6px 32px;
  padding: 24px 0;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
  will-change: transform;
  transform-origin: 0 50%;
}
@media (min-width: 760px) { .thought { grid-template-columns: 9.5em 1fr auto; align-items: baseline; } }
.thought time { font-size: 0.882rem; color: var(--label-3); letter-spacing: -0.006em; font-variant-numeric: tabular-nums; }
.thought h3 { font-family: var(--display); font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); letter-spacing: -0.022em; line-height: 1.25; text-wrap: balance; }
.thought .tag { font-size: 0.882rem; color: var(--label-3); }
.thought:hover h3, .thought.is-pressed h3 { color: var(--primary); }
@media (prefers-color-scheme: dark) { .thought:hover h3, .thought.is-pressed h3 { color: var(--coral-text); } }
.thought:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 8px; }

/* ---------- Quote ---------- */
.quote { margin: 0; }
.quote p {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 1.1rem + 3.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.quote blockquote { margin: 0; }
.quote .q-tech, .quote .q-people { display: block; text-wrap: balance; }
/* Wide screens: one phrase per line, so the sentence breaks where it is spoken */
@media (min-width: 720px) {
  .quote .ql { display: block; white-space: nowrap; }
}
.quote .q-tech { color: var(--steel); }
.quote .q-people .w.is-dim { color: var(--steel); }
.quote-by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 0.941rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--label-2);
}
.quote-by .logo-k { width: 28px; height: 28px; color: var(--label); }
.quote-band .quote p { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.2rem); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Current page in the navigation ---------- */
.nav-links a[aria-current="page"] { color: var(--label); font-weight: 600; }

/* ---------- Archive: segmented control (filter) ---------- */
.archive { padding-top: 0; }
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--fill);
  max-width: 100%;
}
.segment {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--label-2);
  font: inherit;
  font-size: 0.941rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  will-change: transform;
}
.segment.is-active { background: var(--surface); color: var(--label); box-shadow: 0 1px 3px rgba(19, 35, 43, 0.12), 0 0 0 0.5px rgba(19, 35, 43, 0.06); }
.segment:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
@media (hover: hover) { .segment:not(.is-active):hover { color: var(--label); } }
@media (max-width: 599px) {
  .segmented { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 22px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 90%, transparent); mask-image: linear-gradient(to right, #000 90%, transparent); }
  .segmented::-webkit-scrollbar { display: none; }
  .segment { flex: none; }
}
.year-group { margin-top: 56px; }
.year-group[hidden] { display: none; }
.year { font-family: var(--display); font-size: 1.24rem; letter-spacing: -0.02em; color: var(--label-3); }
.year-group .thoughts { margin-top: 16px; }
.thoughts li[hidden] { display: none; }

/* ---------- Article ---------- */
.article-col { max-width: calc(720px + 2 * var(--gutter)); }
.article-head { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 88px)); }
.article-head:focus { outline: none; }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.941rem; color: var(--label-3); letter-spacing: -0.008em; }
.article-topic { color: var(--coral-text); font-weight: 600; }
.article-title {
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.article-lead {
  margin-top: 24px;
  font-size: clamp(1.2rem, 1.08rem + 0.45vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.018em;
  color: var(--label-2);
  text-wrap: pretty;
}
.article-figure-wrap { margin: clamp(40px, 6vw, 64px) auto 0; max-width: calc(1000px + 2 * var(--gutter)); }
.article-figure { border-radius: 28px; overflow: hidden; background: var(--bg-alt); }
.article-figure img { width: 100%; height: auto; }
.article-figure-wrap figcaption { margin-top: 12px; font-size: 0.882rem; color: var(--label-3); }

.prose { padding-block: clamp(40px, 6vw, 64px) 0; font-size: 1.1176rem; line-height: 1.7; letter-spacing: -0.012em; color: var(--label); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-family: var(--display); font-size: 1.7rem; line-height: 1.2; letter-spacing: -0.026em; text-wrap: balance; }
.prose h3 { margin-top: 1.8em; font-family: var(--display); font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose p, .prose li { text-wrap: pretty; }
.prose a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--steel); }
.prose strong { font-weight: 600; }
.prose blockquote {
  margin-inline: 0;
  padding-left: 22px;
  box-shadow: inset 3px 0 0 var(--coral);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--label-2);
}
.prose img { width: 100%; height: auto; border-radius: 20px; }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 10px; font-size: 0.882rem; color: var(--label-3); }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }
.prose code { font-size: 0.9em; padding: 0.1em 0.35em; border-radius: 6px; background: var(--fill); }

.article-end { padding-block: clamp(48px, 7vw, 80px) clamp(72px, 10vw, 120px); }
.article-author { display: flex; align-items: center; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--label-2); line-height: 1.45; }
.article-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.article-author strong { color: var(--label); font-weight: 600; }
.article-end .actions { margin-top: 24px; }

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 88px)); }
.legal:focus { outline: none; }
.legal-text h3 { margin-top: 2em; font-size: 1.1rem; }
.legal-text .todo { background: var(--mark); color: var(--label); border-radius: 4px; padding: 0 4px; }

/* ---------- Menu (small screens) ---------- */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--label);
  cursor: pointer;
  place-items: center;
  will-change: transform;
}
.menu-btn svg { width: 20px; height: 20px; overflow: visible; }
.menu-btn path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; transform-origin: 10px 10px; will-change: transform; }
.menu-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; }
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 8px 0 24px;
  /* Never stack translucent on translucent: the bar is glass, the panel is near-solid */
  background: var(--bg);
  box-shadow: 0 18px 30px -18px rgba(19, 35, 43, 0.35);
  transform-origin: 50% 0;
  will-change: transform, opacity;
}
.menu-panel[hidden] { display: none; }
.menu-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.024em;
  color: var(--label);
  text-decoration: none;
  transform-origin: 0 50%;
}
.menu-link:last-child { border-bottom: 0; }
.menu-link.is-pressed { color: var(--label-2); }
.menu-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 759px) {
  .menu-btn { display: grid; }
}
@media (min-width: 760px) { .menu-panel { display: none !important; } }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .menu-panel { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 var(--line); }
}
@media (prefers-color-scheme: dark) {
  .segment.is-active { background: #26434F; }
}

/* =====================================================================
   Threads: the coral threads from the portrait as the site's motif.
   Pins mark where something begins, threads show how things connect.
   ===================================================================== */

/* ---------- Section marker: pin, thread, pin ---------- */
.marker {
  display: flex;
  align-items: center;
  width: 112px;
  height: 12px;
  margin-bottom: 28px;
}
.m-pin {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  will-change: transform;
}
.m-thread {
  flex: 1;
  height: 2px;
  margin-inline: -1px;
  background: var(--coral);
  transform-origin: 0 50%;
  will-change: transform;
}
.attitude .marker { margin-inline: auto; }
.thoughts-head + .thoughts, .marker + .thoughts-head { margin-top: 0; }

/* ---------- Navigation: KI im Betrieb stands out ---------- */
.nav-pin {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.nav-links a.nav-ki { color: var(--label); font-weight: 600; }
.menu-ki { flex-wrap: wrap; align-content: center; padding-block: 10px; }
.menu-ki .nav-pin { width: 10px; height: 10px; margin-right: 12px; }
.menu-sub { flex-basis: 100%; padding-left: 22px; font-family: var(--sans); font-size: 0.941rem; font-weight: 400; letter-spacing: -0.008em; color: var(--label-2); }

/* ---------- Start page: KI im Betrieb ---------- */
.ki-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .ki-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 80px; align-items: center; } }
.ki-copy .h2 { max-width: 15em; }
.ki-copy .lead { margin-top: 24px; max-width: 32em; }
.ki-copy .actions { margin-top: 32px; }

.mini-path { position: relative; padding: 4px 0; }
.mini-path ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.mini-path li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding-left: 36px; min-height: 28px; }
.mp-pin {
  position: absolute;
  left: 4px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--deep);
  box-shadow: inset 0 0 0 2px var(--on-deep-2);
  will-change: transform;
}
.mini-path li.is-lit .mp-pin { background: var(--coral); box-shadow: inset 0 0 0 2px var(--coral); }
.mp-name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.022em; color: var(--on-deep-2); }
.mini-path li.is-zone .mp-name, .mini-path li.is-lit .mp-name { color: var(--on-deep); }
.mp-note { font-size: 0.941rem; color: var(--on-deep-2); letter-spacing: -0.008em; }
.mp-start { color: var(--coral-on-deep); font-weight: 600; }
.mp-line { position: absolute; left: 10px; top: 16px; bottom: 16px; width: 2px; background: var(--glass-edge); overflow: hidden; }
.mp-fill { position: absolute; inset: 0; background: var(--coral); transform-origin: 50% 0; will-change: transform; }

/* ---------- Threads in the gutters between cards ---------- */
[data-threads] { position: relative; }
.gutter-threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.gutter-threads line { stroke: var(--coral); stroke-width: 1.5; stroke-dasharray: 5 7; stroke-linecap: round; opacity: 0.75; }
.gutter-threads circle { fill: var(--coral); }
.gutter-threads circle.end { fill: var(--bg); stroke: var(--coral); stroke-width: 1.5; }
.section-alt .gutter-threads circle.end { fill: var(--bg-alt); }
.section-deep .gutter-threads circle.end { fill: var(--deep); }

/* ---------- Mein Weg: one thread through all chapters ---------- */
.weg-line { position: absolute; top: 40px; height: 2px; background: var(--line); pointer-events: none; z-index: 1; overflow: hidden; }
.weg-fill { position: absolute; inset: 0; background: var(--coral); transform-origin: 0 50%; will-change: transform; }
.chapter-pin { z-index: 2; }
.chapter-pin::after { display: none; }
.chapter-pin::before { background: var(--surface); transition: none; }
.chapter.is-now .chapter-pin::before { background: var(--deep); box-shadow: inset 0 0 0 2px var(--steel); }
.chapter.is-lit .chapter-pin::before { background: var(--coral); box-shadow: inset 0 0 0 2px var(--coral); }
.chapter.is-now.is-lit .chapter-pin::before { box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral) 28%, transparent), inset 0 0 0 2px var(--coral); }

@media (prefers-contrast: more) {
  .gutter-threads line { opacity: 1; stroke-dasharray: none; }
}

/* ---------- Logo ---------- */
.logo-k { display: block; flex: none; }
.nav-name { gap: 10px; }
.nav-name .logo-k { width: 26px; height: 26px; }

/* ---------- Situations: visitors recognise themselves ---------- */
.situations-lead { margin-top: 20px; max-width: 32em; }
.situations { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
@media (min-width: 735px) { .situations { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1040px) { .situations { grid-template-columns: repeat(3, 1fr); } }
.situation {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 30px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}
.situation.sq-ready { box-shadow: none; }
.s-quote {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--label);
  text-wrap: balance;
}
.s-answer { color: var(--label-2); line-height: 1.55; text-wrap: pretty; }
.s-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  font-weight: 600;
  color: var(--coral-text);
  text-decoration: none;
  will-change: transform;
}
.s-link::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.s-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--tile);
}
.inline-cta p { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; }

/* ---------- Proof ---------- */
.facts { margin: 48px 0 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.fact { padding-top: 20px; border-top: 2px solid var(--coral); }
.fact dt { font-size: 0.941rem; font-weight: 600; color: var(--coral-text); letter-spacing: -0.008em; }
.fact dd { margin: 8px 0 0; color: var(--label-2); line-height: 1.55; text-wrap: pretty; }
.fact dd strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.024em; color: var(--label); }
.fact-link { display: inline-block; padding-block: 11px; margin-block: -11px; color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 0.18em; white-space: nowrap; }
.fact-link:hover { text-decoration-thickness: 2px; }
.fact-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

/* ---------- Qualification with seal ---------- */
.cert {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 28px;
  border-radius: 28px;
  background: var(--deep);
  color: var(--on-deep);
}
@media (max-width: 599px) { .cert { flex-direction: column; align-items: flex-start; } }
.cert-seal, .cert-seal-img { flex: none; width: 96px; height: 96px; }
.cs-ring { fill: none; stroke: var(--coral); stroke-width: 2; }
.cs-inner { fill: color-mix(in srgb, var(--coral) 16%, transparent); stroke: var(--on-deep-2); stroke-width: 1; stroke-dasharray: 3 4; }
.cs-check { fill: none; stroke: var(--on-deep); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.cs-pin { fill: var(--coral); }
.cert-seal.is-pending .cs-ring { stroke-dasharray: 6 6; }
.cs-clock { stroke-width: 4.5; }
.cert-kicker { font-size: 0.941rem; font-weight: 600; color: var(--coral-on-deep); letter-spacing: -0.008em; }
.cert-title { margin-top: 6px; font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.024em; text-wrap: balance; }
.cert-by { margin-top: 6px; color: var(--on-deep-2); }
.cert-praxis { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); color: var(--on-deep); max-width: 40em; line-height: 1.5; text-wrap: pretty; }
.cert-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-deep); font-weight: 600; }
.cert-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- Voices ---------- */
.voices { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; }
@media (min-width: 900px) { .voices { grid-template-columns: repeat(2, 1fr); } }
.voice { padding: 30px; background: var(--surface); border-radius: 24px; }
.voice blockquote { margin: 0; font-family: var(--display); font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.018em; }
.voice-by { margin-top: 16px; color: var(--label-2); }

/* ---------- Contact: what happens next ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: start; } }
.steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 28px; }
.steps::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--glass-edge); }
.steps li { position: relative; padding-left: 36px; }
.step-pin { position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); }
.steps h3 { font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.02em; }
.steps p { margin-top: 6px; color: var(--on-deep-2); line-height: 1.55; text-wrap: pretty; }
.contact-mail a { color: var(--on-deep); }
.cert-seal-img { width: 112px; height: 112px; border-radius: 22px; background: #FFFFFF; padding: 4px; }
@media (min-width: 1040px) { .situations.is-four { grid-template-columns: 1fr 1fr; } }

/* KI page: managing-director perspective */
.perspective .h2 { max-width: 16em; }
.perspective-text { margin-top: 24px; max-width: 36em; display: grid; gap: 16px; }

/* Haltung: what I believe / what I don't stand for */
.beliefs { margin-top: clamp(56px, 8vw, 88px); display: grid; gap: 16px; }
@media (min-width: 860px) { .beliefs { grid-template-columns: 1fr 1fr; gap: 20px; } }
.belief-col { padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--surface); }
.belief-col.is-not { background: var(--fill); }
.belief-head { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.022em; }
.belief-list { margin-top: 18px; display: grid; gap: 14px; list-style: none; padding: 0; }
.belief-list li { position: relative; padding-left: 26px; color: var(--label-2); line-height: 1.55; text-wrap: pretty; }
.belief-list strong { color: var(--label); font-weight: 650; }
.belief-pin { position: absolute; left: 2px; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.is-not .belief-pin { background: transparent; box-shadow: inset 0 0 0 2px var(--steel); }

/* Facts page */
.facts-page .crumb { margin-bottom: 24px; }
.facts-stand { margin-top: 16px; font-size: 0.941rem; color: var(--label-3); }
.facts-isnot { display: grid; gap: 10px; margin-top: 0.8em; }
.facts-isnot > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--surface); }
.facts-isnot dt { font-weight: 650; color: var(--coral-text); }
.facts-isnot > div:nth-child(even) dt { color: var(--label-3); }
@media (max-width: 520px) { .facts-isnot > div { grid-template-columns: 1fr; gap: 2px; } }
/* larger hit area for the link lists, without changing the line layout */
.facts-page .prose a { padding-block: 11px; }

/* ---------- Leise: type and atmosphere ---------- */
body { letter-spacing: 0.002em; }
:is(.display, .h2, .quote p, .article-title) { font-weight: 300; letter-spacing: -0.012em; line-height: 1.06; font-variation-settings: "opsz" 72; }
:is(h3, .cert-title, .mp-name) { font-weight: 400; letter-spacing: -0.005em; }
/* a soft fog in map blue and peach behind the opening */
.hero {
  background:
    radial-gradient(42% 38% at 18% 22%, var(--fog-1), transparent 70%),
    radial-gradient(38% 34% at 84% 18%, var(--fog-2), transparent 70%),
    radial-gradient(50% 40% at 60% 62%, var(--fog-3), transparent 72%);
}
/* legal texts: larger hit area for inline links without changing the lines */
.legal-text a, .sheet-body a { padding-block: 11px; }
/* the button on the dark featured tile stays light, so it reads as a button */
.tile.is-featured .btn-primary { background: var(--on-deep); color: var(--deep); }
.tile.is-featured .btn-primary.is-pressed { background: var(--on-deep-2); }
@media (hover: hover) { .tile.is-featured .btn-primary:hover { background: var(--on-deep-2); } }
/* inline links in articles: larger hit area, same line layout */
.prose a { padding-block: 11px; }

/* photo credit in the lower right corner of the portrait */
.hero-credit {
  position: absolute; right: clamp(14px, 2vw, 24px); bottom: clamp(12px, 1.8vw, 20px);
  margin: 0; font-size: 0.7647rem; line-height: 1; letter-spacing: 0.01em;
  color: rgba(70, 70, 70, 0.9);
}
.hero-credit a { display: inline-block; color: inherit; text-decoration: none; padding: 12px 0; margin: -12px 0; }
.hero-credit a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.hero-credit a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.article-author picture { flex: none; display: block; line-height: 0; }

/* ---------- Mobile polish ---------- */
/* Serif emphasis in one consistent weight: medium, never bold */
:is(.s-quote, .story-conclusion, .prose h2, .prose h3) { font-weight: 500; letter-spacing: -0.012em; }

@media (max-width: 599px) {
  /* calmer rhythm between sections on phones */
  .section { padding-block: clamp(64px, 17vw, 88px); }
  /* hero buttons as one tidy stack of equal width */
  .hero .actions { display: grid; grid-template-columns: 1fr; gap: 10px; width: min(100%, 320px); margin-inline: auto; }
  .hero .actions .btn { width: 100%; }
  /* long two-line headline on the KI page stays readable */
  .hero-compact .display { font-size: clamp(2.05rem, 0.9rem + 5.6vw, 2.5rem); }
}
@media (max-width: 399px) {
  /* small phones (iPhone SE, mini): type scales down so nothing touches the edge */
  .display { font-size: clamp(2.05rem, 0.5rem + 9vw, 2.6rem); }
  .h2 { font-size: clamp(1.7rem, 0.6rem + 6vw, 2rem); }
  .nav-inner { gap: 8px; }
  .nav-name { font-size: 1rem; }
  .nav-name .logo-k { width: 24px; height: 24px; }
}

/* Menu: dim the page below the open panel, like a sheet scrim */
@media (max-width: 759px) {
  .menu-panel::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: 100vh; height: 100dvh;
    background: var(--scrim);
    opacity: 0.55;
    pointer-events: none;
  }
}
