/* Co-Strat — Home (standalone)
   Content & structure: src-mockup/Co-Strat x MKT | HOME.dc.html
   Design language: co-strat-website (marketing site) — tokens, radii, type and motion
   are taken from its src/styles.css so both pages read as one system.
   Fonts are self-hosted in assets/fonts/ and preloaded in each page head. Browsers block
   @font-face files on file://, so preview the site over http (launch config "final"). */

@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

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

:root {
  --canvas: #ffffff;
  --paper: #f4f6fa;
  --app-stage: #e9ecf4;
  --ink: #121827;
  --graphite: #3f485a;
  --muted: #687183;
  --faint: #a7aeba;
  --rule: #e1e6ef;
  --rule-soft: #edf0f6;
  --rule-strong: color-mix(in oklab, var(--ink) 12%, var(--rule));
  --primary: #f16e24;
  --primary-hover: #df5e17;
  --primary-ink: #c4500e; /* orange for small text on white, 4.6:1 */
  --secondary: #f16e24;
  --secondary-soft: #fff1e8;
  --violet: #6e73dc;
  --violet-soft: #eff1ff;
  --warm-soft: #f7eee9;
  --app-rail-surface: color-mix(in oklab, var(--canvas) 82%, var(--violet-soft));
  --surface-shadow: 0 12px 30px rgba(34, 42, 61, 0.08);
  --surface-shadow-strong: 0 22px 52px rgba(34, 42, 61, 0.13);
  --component-radius: 8px;
  --button-radius: 4px;
  --app-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-gutter: clamp(1.1rem, 4vw, 3.75rem);
  --header-height: 4.5rem;
  /* Shared rhythm for the major section breaks. */
  --space-section: clamp(5.5rem, 9vw, 9rem);
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-editorial: "Erode", Georgia, "Times New Roman", serif;

  /* Body and display type scale, based on a 16px root. */
  --text-3xs: 0.6875rem;  /* 11px — micro labels inside the product board */
  --text-2xs: 0.75rem;    /* 12px — caps eyebrows, legal, footer */
  --text-xs: 0.8125rem;   /* 13px — nav and dense UI */
  --text-sm: 0.875rem;    /* 14px — buttons, card copy, secondary body */
  --text-base: 1rem;      /* 16px — body */
  --text-md: 1.125rem;    /* 18px — lead-in, FAQ questions */
  --text-lg: 1.25rem;     /* 20px — card headings */
  --text-xl: 1.5rem;      /* 24px — callout */
  --text-lead: clamp(1.0625rem, 1.2vw, 1.1875rem);
  /* display-sm: headings inside a constrained grid column */
  --text-display-sm: clamp(2.35rem, 3.6vw, 3.5rem);
  /* display: full-width section headings */
  --text-display: clamp(2.5rem, 4vw, 4rem);
  --text-display-hero: clamp(3.75rem, 5.4vw, 5.8rem);

  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-sans);
}

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

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
  scrollbar-color: color-mix(in oklab, var(--graphite) 58%, var(--rule)) var(--paper);
  scrollbar-gutter: stable;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--secondary-soft);
  color: var(--ink);
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--font-sans);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid color-mix(in oklab, var(--secondary) 72%, transparent);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--button-radius);
  background: var(--ink);
  color: white;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  display: block;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.headline-dot {
  color: var(--secondary);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--rule) 88%, transparent);
  background: color-mix(in oklab, var(--canvas) 94%, transparent);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section-shell {
  width: min(100%, 92rem);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

.nav-shell {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
}

.brand-link,
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand-link {
  flex: 0 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-lockup img {
  width: 8.8rem;
  height: auto;
}

.brand-lockup span {
  padding-left: 0.7rem;
  border-left: 1px solid var(--rule);
  color: var(--muted);
  font-size: var(--text-3xs);
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1vw, 1.15rem);
  margin-left: auto;
}

.desktop-nav a {
  padding: 0 0.65rem;
  color: var(--graphite);
  font-size: var(--text-xs);
  font-weight: 550;
  text-decoration: none;
  transition: color 160ms var(--app-ease);
}

.desktop-nav a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: clamp(0.75rem, 2vw, 2rem);
}

.mobile-menu {
  display: none;
}

/* ---------- Buttons & links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background 200ms var(--app-ease), color 200ms var(--app-ease), box-shadow 200ms var(--app-ease), opacity 200ms var(--app-ease);
}

.button .icon,
.text-link .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.button-primary {
  background: var(--primary);
  color: var(--canvas);
  text-shadow: 0 1px 2px rgba(91, 35, 8, 0.6);
}

.button-primary:hover {
  background: var(--primary-hover);
}

.button-primary:disabled,
.button-primary:disabled:hover {
  background: var(--rule);
  box-shadow: none;
  color: var(--muted);
  cursor: not-allowed;
  text-shadow: none;
}

.button-body {
  background: var(--ink);
  color: var(--canvas);
}

.button-body:hover {
  background: #242b3a;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.text-link:hover {
  color: var(--graphite);
}

/* ---------- Section scaffolding ---------- */

:where(section[id]) {
  scroll-margin-top: var(--header-height);
}

.content-section {
  padding: var(--space-section) 0;
}

.section-label,
.eyebrow {
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 650;
}

.section-heading {
  margin-bottom: clamp(3rem, 5.5vw, 5rem);
}

.section-heading .section-label {
  margin-bottom: 1rem;
}

.centered-heading {
  max-width: 62rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.result-copy h2,
.about-intro h2,
.booking-intro h2,
.start-copy h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: var(--text-display-sm);
  font-kerning: normal;
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

.section-intro {
  max-width: 40rem;
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-lead);
  line-height: 1.7;
  text-wrap: pretty;
}

.section-heading h2 + .section-intro {
  margin-top: 1.4rem;
}

/* Small round marks for line icons. */
.mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--graphite);
}

.mark .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-badge {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--graphite);
}

.icon-badge .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.inclusion-check {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--ink);
  stroke-width: 2;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--canvas);
}

.hero-circles {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
}

.hero-circle-violet {
  top: -25%;
  left: 47%;
  width: min(74vw, 72rem);
  background: radial-gradient(circle, #dfe1f8 0%, #eff1ff 48%, rgba(239, 241, 255, 0.65) 62%, transparent 72%);
}

.hero-circle-soft {
  bottom: -32%;
  left: 24%;
  width: min(52vw, 48rem);
  background: radial-gradient(circle, #f7eee9 0%, rgba(247, 238, 233, 0.72) 42%, transparent 71%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3.5rem, 5vw, 6rem);
  width: min(100%, 92rem);
  min-height: min(50rem, calc(100svh - var(--header-height)));
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6.8rem) var(--page-gutter) clamp(4.5rem, 8vw, 7.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 43rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: var(--text-display-hero);
  font-kerning: normal;
  font-weight: 400;
  line-height: 1.02;
  text-wrap: balance;
}

.hero-lede {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: var(--text-lead);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-support {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 36rem;
  margin: 1.4rem 0 0;
  color: var(--graphite);
  font-size: var(--text-sm);
  font-weight: 550;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2.1rem;
}

.hero-actions .button {
  min-height: 3.15rem;
  padding-inline: 1.5rem;
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  max-width: 36rem;
  margin: 2.25rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.hero-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--graphite);
  font-size: var(--text-xs);
  font-weight: 550;
  white-space: nowrap;
}

.hero-assurances .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--muted);
}

/* ---------- Strategy board (product preview, mirrors the app) ---------- */

.strategy-board-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 41rem;
  min-width: 0;
  justify-self: end;
  container-type: inline-size;
}

.strategy-board-wrap::before {
  position: absolute;
  z-index: -1;
  top: 1rem;
  right: -1rem;
  bottom: -1rem;
  left: 1rem;
  border-radius: var(--component-radius);
  background: color-mix(in oklab, var(--violet-soft) 72%, var(--app-stage));
  content: '';
}

.strategy-board {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
  box-shadow: var(--surface-shadow-strong);
}

.strategy-board > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.7rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--rule);
}

.strategy-board > header img {
  width: 7rem;
  height: auto;
}

.strategy-board > header span,
.board-label {
  color: var(--ink);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.board-section + .board-section {
  border-top: 1px solid var(--rule);
}

.board-label {
  margin: 0;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  line-height: 1.35;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 1.1rem;
}

.board-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  min-height: 5rem;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
}

.board-card > div {
  min-width: 0;
}

.board-prompt {
  margin: 0 0 0.3rem;
  color: var(--graphite);
  font-size: clamp(0.6875rem, 1.95cqw, 0.8125rem);
  font-weight: 450;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.board-value {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.875rem, 2.7cqw, 1rem);
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.board-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.75rem;
  aspect-ratio: 1;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  font-size: var(--text-sm);
  line-height: 1;
}

.board-card--right {
  flex-direction: row-reverse;
  text-align: right;
}

.board-core > :nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.board-core > :nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.board-foundation {
  grid-template-columns: 1fr;
}

/* ---------- Hairline lists (benefit-list pattern) ---------- */

.benefit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
}

.benefit-list--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-list > article {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 2.2rem clamp(1.25rem, 2.4vw, 2.25rem);
  transition: background 320ms var(--app-ease);
}

.benefit-list > article + article {
  border-left: 1px solid var(--rule);
}

.benefit-list h3,
.feature-grid h3,
.pain-list h3,
.step-list h3,
.security-principles h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 650;
  line-height: 1.35;
  text-wrap: balance;
}

.benefit-list p:not(.eyebrow),
.feature-grid p,
.step-list p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ---------- Vertrauen: awards ---------- */

/* One compact band under the hero. */
.trust-section {
  background: var(--canvas);
}

.award-strip {
  display: grid;
  grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 1.58fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(1.1rem, 2vw, 1.5rem) 0;
  border-top: 1px solid var(--rule);
}

.award-strip h2 {
  max-width: 20rem;
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.65;
  text-transform: uppercase;
}

.award-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.award-logo {
  display: grid;
  grid-template-rows: 4rem auto;
  justify-items: center;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.5rem 0;
  text-align: center;
}

.award-logo img {
  width: auto;
  max-width: 100%;
  max-height: 4rem;
  /* Credibility marks stay monochrome so they sit quietly in the palette.
     Dimming lives in `filter` (not opacity) so the reveal transition can't override it. */
  filter: grayscale(1) contrast(1.04) opacity(0.86);
  transition: filter 240ms var(--app-ease), transform 240ms var(--app-ease);
}

.award-logo span {
  max-width: 14rem;
  color: var(--muted);
  font-size: var(--text-2xs);
  line-height: 1.45;
}

.award-logo--st-gallen img {
  width: min(100%, 9rem);
}

.award-logo--bvmw img {
  width: min(100%, 8rem);
}

.award-logo--brand-eins img {
  max-height: 3.8rem;
}

.logo-knockout {
  mix-blend-mode: multiply;
}

/* ---------- Pain points ---------- */

.pain-section {
  background: var(--paper);
}

.pain-section .centered-heading h2 {
  max-width: 60rem;
  margin-inline: auto;
}

.pain-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* One hairline threads the four situations together, through the icon centres. */
.pain-list::before {
  position: absolute;
  top: 1.75rem;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: var(--rule-strong);
  content: '';
}

.pain-list li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1.35rem;
  min-width: 0;
  text-align: center;
}

.pain-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--graphite);
}

.pain-list h3 {
  max-width: 15rem;
}

/* ---------- App frames (product screenshots) ---------- */

.app-frame {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
}

.app-frame::before {
  position: absolute;
  z-index: -1;
  inset: 1rem -1rem -1rem 1rem;
  border-radius: var(--component-radius);
  background: color-mix(in oklab, var(--violet-soft) 72%, var(--app-stage));
  content: '';
}

.shot {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
  box-shadow: var(--surface-shadow-strong);
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  transition: transform 700ms var(--app-ease);
}

.shot:focus-visible {
  outline-offset: 4px;
}

.shot-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--button-radius);
  background: rgba(18, 24, 39, 0.82);
  color: #fff;
  font-size: var(--text-2xs);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.25rem);
  transition: opacity 240ms var(--app-ease), transform 240ms var(--app-ease);
}

.shot-hint .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.shot:focus-visible .shot-hint {
  opacity: 1;
  transform: none;
}

/* A restrained, glass-like reflection brings the main product view to life
   without obscuring the UI in the screenshot. */
.app-frame--glance .shot::after {
  position: absolute;
  z-index: 1;
  inset: -30% -62%;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 18%,
    color-mix(in oklab, var(--violet) 10%, transparent) 31%,
    rgba(255, 255, 255, 0.38) 43%,
    rgba(255, 255, 255, 0.6) 52%,
    color-mix(in oklab, var(--secondary) 14%, transparent) 65%,
    transparent 82%
  );
  filter: blur(12px);
  -webkit-mask-image: linear-gradient(110deg, transparent 16%, #000 38%, #000 64%, transparent 86%);
  mask-image: linear-gradient(110deg, transparent 16%, #000 38%, #000 64%, transparent 86%);
  opacity: 0;
  transform: translate3d(-58%, 0, 0) skewX(-6deg);
}

.app-frame--glance.is-mirror-visible .shot::after {
  animation: mirror-glance 10.5s var(--app-ease) 0.6s infinite;
}

@keyframes mirror-glance {
  0%, 4% {
    opacity: 0;
    transform: translate3d(-58%, 0, 0) skewX(-6deg);
  }

  9% {
    opacity: 0.66;
  }

  25% {
    opacity: 0.34;
    transform: translate3d(58%, 0, 0) skewX(-6deg);
  }

  30%, 100% {
    opacity: 0;
    transform: translate3d(58%, 0, 0) skewX(-6deg);
  }
}

/* ---------- Die Antwort ---------- */

.answer-section {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.answer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
  list-style: none;
}

.feature-grid li {
  min-width: 0;
  padding: clamp(1.35rem, 2.2vw, 1.9rem);
  transition: background 320ms var(--app-ease);
}

.feature-grid li:nth-child(even) {
  border-left: 1px solid var(--rule);
}

.feature-grid li:nth-child(n + 3) {
  border-top: 1px solid var(--rule);
}

.feature-grid .icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--graphite);
}

.feature-grid h3 {
  font-size: var(--text-md);
}

/* ---------- Das Ergebnis ---------- */

.result-section {
  border-top: 1px solid var(--rule);
  background: var(--canvas);
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(19rem, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
}

.result-copy h2 {
  margin-top: 1rem;
}

.result-copy > p:not(.section-label) {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--graphite);
  font-size: var(--text-base);
  line-height: 1.75;
}

.result-copy > p + p {
  margin-top: 0.9rem;
}

.value-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding: clamp(1.25rem, 2.5vw, 1.6rem) clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--paper);
}

.value-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- Video ---------- */

.video-section {
  border-top: 1px solid var(--rule);
  background: var(--canvas);
}

/* The film and its poster are light, so the frame reads as a quiet product surface
   rather than a dark media player. */
.video-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--paper);
  box-shadow: var(--surface-shadow);
}

.video-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
}

.video-frame > video:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--secondary) 72%, transparent);
  outline-offset: -2px;
}

/* Full-frame hit area; the visible control sits bottom-left, clear of the centred logo. */
.video-play {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.9rem;
  width: 100%;
  padding: clamp(0.85rem, 3vw, 2rem);
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.video-play[hidden] {
  display: none;
}

.video-play:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--secondary) 72%, transparent);
  outline-offset: -6px;
}

.video-play-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(3rem, 5vw, 4.25rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(18, 24, 39, 0.22);
  color: var(--canvas);
  transition: transform 260ms var(--app-ease), background 260ms var(--app-ease);
}

.video-play-icon .icon {
  width: 38%;
  height: 38%;
  margin-left: 6%;
}

.video-play-text {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.2rem;
}

.video-play-label {
  font-size: var(--text-base);
  font-weight: 650;
  line-height: 1.3;
}

.video-play-meta {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

/* ---------- Co-Creation ---------- */

.cocreation-section {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.cocreation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.step-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-width: 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule-strong);
}

.step-list li:last-child {
  padding-bottom: 0;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.step-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.9rem;
  aspect-ratio: 1;
  border: 1px solid color-mix(in oklab, var(--ink) 32%, var(--rule));
  border-radius: 50%;
  background: var(--canvas);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
}

.step-list p {
  max-width: 46ch;
  margin-top: 0.85rem;
  color: var(--graphite);
}

/* ---------- Warum nicht einfach eine KI? ---------- */

.why-section {
  border-top: 1px solid var(--rule);
  background: var(--canvas);
}

.reason-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.reason-index {
  color: var(--faint);
  font-size: var(--text-sm);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.reason-grid h3 {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-soft);
}

.reason-grid article > p {
  margin-top: 1.25rem;
  color: var(--graphite);
  line-height: 1.7;
}

.promise {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.25rem;
  padding: clamp(1.25rem, 2.5vw, 1.6rem) clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--violet-soft);
}

.promise-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--canvas);
  color: var(--graphite);
}

.promise p {
  max-width: 70ch;
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-base);
  line-height: 1.6;
}

.promise strong {
  color: var(--ink);
  font-weight: 650;
}

/* ---------- Datenschutz & Sicherheit ---------- */

.security-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--rule-soft);
  background: var(--paper);
}

/* The glows fade in and out at the section edges, so they never end in a hard line against the neighbours. */
.security-section .hero-circles {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
}

.security-section .hero-circle-violet {
  top: -32%;
  left: 37%;
  width: min(88vw, 80rem);
}

.security-section .hero-circle-soft {
  bottom: -40%;
  left: 8%;
  width: min(68vw, 64rem);
}

.security-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.security-intro {
  min-width: 0;
}

.security-emblem {
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--rule);
  border-radius: 24px;
  background: var(--app-rail-surface);
  color: var(--graphite);
  box-shadow: inset 0 0 0 8px var(--canvas);
}

.security-emblem .icon {
  width: 2.75rem;
  height: 2.75rem;
  stroke-width: 1.2;
}

.security-intro h2 {
  margin: 1rem 0 1.5rem;
  font-family: var(--font-editorial);
  font-size: var(--text-display-sm);
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

.security-lede {
  max-width: 43ch;
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-lead);
  line-height: 1.75;
}

.security-panel {
  min-width: 0;
  padding: clamp(1.35rem, 2.5vw, 2.25rem);
  border: 1px solid color-mix(in oklab, var(--canvas) 80%, var(--rule));
  border-radius: var(--component-radius);
  background: color-mix(in oklab, var(--canvas) 45%, transparent);
}

.security-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-principles li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 0.65rem;
  padding-block: 1.2rem;
}

.security-principles li > div {
  display: contents;
}

.security-principles li:nth-child(-n + 2) {
  padding-top: 0;
}

.security-principles li:nth-child(n + 3) {
  border-top: 1px solid var(--rule);
}

.security-principles li:last-child {
  padding-bottom: 0;
}

.security-icon {
  margin-top: 0.1rem;
  color: var(--graphite);
}

.security-principles h3 {
  font-size: var(--text-base);
  line-height: 1.4;
}

.security-principles p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ---------- Wer dahintersteht ---------- */

.about-section {
  background: var(--canvas);
}

/* Claim and copy start on the same line; the proof runs as one row beneath both. */
.about-intro {
  display: grid;
  grid-template-areas:
    "label ."
    "title copy"
    "stats stats";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(1.5rem, 6vw, 6rem);
}

.about-intro .section-label {
  grid-area: label;
}

.about-intro h2 {
  grid-area: title;
  margin-top: 1rem;
}

.about-intro-copy {
  grid-area: copy;
  margin-top: 1rem;
}

.about-intro-copy p {
  max-width: 38rem;
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-lead);
  line-height: 1.7;
  text-wrap: pretty;
}

.about-intro-copy p + p {
  margin-top: 1.1rem;
}

/* Three convictions told as one story: the copy holds still, the photos pass, and the
   conviction whose photo crosses the middle of the viewport lights up (main.js sets .is-story
   and .is-active). Without script every conviction stays fully set. */
.about-values {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(3rem, 6vw, 7rem);
  margin-top: clamp(4rem, 7vw, 7rem);
}

.about-values-list {
  position: sticky;
  top: calc(var(--header-height) + clamp(2rem, 9vh, 6rem));
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-values-list li {
  padding-block: clamp(1.4rem, 2.4vw, 2rem);
  border-top: 1px solid var(--rule);
}

.about-values-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.about-values-list h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
  font-kerning: normal;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
  transition: color 520ms var(--app-ease);
}

.about-values-list .headline-dot {
  transition: color 520ms var(--app-ease);
}

/* Collapses to zero height without leaving the accessibility tree. */
.about-values-copy {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 620ms var(--app-ease), opacity 420ms var(--app-ease);
}

.about-values-copy p {
  min-height: 0;
  max-width: 34rem;
  margin: 0;
  overflow: hidden;
  color: var(--graphite);
  font-size: var(--text-base);
  line-height: 1.7;
  text-wrap: pretty;
}

/* A little air between heading and copy that collapses with it. */
.about-values-copy p::before {
  content: "";
  display: block;
  height: 0.9rem;
}

.about-values.is-story li:not(.is-active) h3,
.about-values.is-story li:not(.is-active) .headline-dot {
  color: var(--muted);
}

.about-values.is-story li:not(.is-active) .about-values-copy {
  grid-template-rows: 0fr;
  opacity: 0;
}

.about-values-media {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.about-values-media picture {
  display: block;
}

.about-values-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--component-radius);
}

/* The numbers carry the heading's size, so the proof reads as part of the claim. */
.about-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 6vw, 6rem);
  margin: clamp(3.5rem, 6vw, 5rem) 0 0;
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--rule);
}

.about-stats dt {
  font-family: var(--font-editorial);
  font-size: var(--text-display-sm);
  font-kerning: normal;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.about-stats dd {
  max-width: 24ch;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.about-intro-copy .text-link {
  margin-top: 1.25rem;
}

/* ---------- Unser Team (from the reference site) ---------- */

/* A short intro beside one row of portraits, between the demo form and the FAQ. */
.team-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.team-copy h2 {
  margin: 1rem 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.9rem, 2.7vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

.team-copy > p:not(.section-label) {
  max-width: 38ch;
  margin: 1.5rem 0 0;
  color: var(--graphite);
  font-size: var(--text-base);
  line-height: 1.75;
}

/* All eight in one row; four per row on phones. */
.team-members {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1.5rem clamp(0.75rem, 1.4vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-members li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.7rem;
  min-width: 0;
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.4;
  text-align: center;
}

.team-portrait {
  display: block;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--app-stage);
  object-fit: cover;
  object-position: center;
}

/* ---------- Live-Demo buchen ---------- */

.booking-section {
  border-top: 1px solid var(--rule);
  background: var(--canvas);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.booking-intro h2 {
  margin-top: 1rem;
}

.booking-intro > p:not(.section-label) {
  max-width: 42ch;
  margin: 1.4rem 0 0;
  color: var(--graphite);
  font-size: var(--text-base);
  line-height: 1.75;
}

.booking-facts {
  margin: 2.25rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
  list-style: none;
}

.booking-facts li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
}

/* Demo request form: same form as the Early Access site, submitted to HubSpot by assets/js/demo-form.js. */
.demo-form {
  min-width: 0;
  padding: clamp(1.4rem, 3.2vw, 2.5rem);
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
  box-shadow: var(--surface-shadow);
}

.demo-form > h3 {
  margin: 0 0 1.5rem;
  font-size: var(--text-lg);
  font-weight: 650;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.salutation-field {
  grid-column: 1 / -1;
}

.salutation-field .select-control {
  width: min(100%, 18rem);
}

.demo-form label:not(.consent-field) {
  display: grid;
  gap: 0.4rem;
}

.demo-form label > span {
  color: var(--graphite);
  font-size: var(--text-2xs);
  font-weight: 600;
}

.demo-form label b {
  color: var(--graphite);
}

.demo-form label em {
  color: var(--muted);
  font-style: normal;
  font-weight: 450;
}

.demo-form :where(input:not([type="checkbox"]), select, textarea) {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: var(--button-radius);
  background: var(--canvas);
  color: var(--ink);
  font-size: var(--text-sm);
}

.demo-form :where(input, select, textarea):focus {
  border-color: color-mix(in oklab, var(--secondary) 62%, var(--rule));
  outline: 2px solid color-mix(in oklab, var(--secondary) 18%, transparent);
  outline-offset: 0;
}

.select-control {
  position: relative;
  display: block;
  min-width: 0;
}

.demo-form .select-control select {
  appearance: none;
  padding-right: 3.2rem;
  cursor: pointer;
  text-overflow: ellipsis;
}

.demo-form .select-control select:invalid {
  color: var(--muted);
  font-weight: 400;
}

.demo-form .select-control option {
  background: var(--canvas);
  color: var(--ink);
  font-weight: 400;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--graphite);
  pointer-events: none;
  transform: translateY(-50%);
  transition: color 180ms ease;
}

.select-arrow .icon {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 1.75;
}

.select-control:focus-within .select-arrow {
  color: var(--ink);
}

@media (forced-colors: active) {
  .demo-form .select-control select {
    appearance: auto;
    padding-right: 0.8rem;
  }

  .select-arrow {
    display: none;
  }
}

.demo-form textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.challenge-field {
  margin-top: 1rem;
}

.consent-field {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.form-status[hidden] {
  display: none;
}

.consent-field input {
  width: 1rem;
  height: 1rem;
  margin: 0.18rem 0 0;
  accent-color: var(--secondary);
}

.consent-field a {
  color: var(--graphite);
  text-underline-offset: 0.18em;
}

.submit-button {
  width: 100%;
  margin-top: 1.25rem;
}

.submit-button:disabled {
  cursor: default;
  opacity: 0.7;
}

.demo-form[aria-busy="true"] .submit-button {
  cursor: progress;
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--button-radius);
  background: var(--paper);
  color: var(--graphite);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.form-status[data-state="error"] {
  border-color: #e8b9b5;
  background: #fff7f6;
  color: #8b302a;
}

.form-status[data-state="success"] {
  border-color: #bed7cc;
  background: #f4faf7;
  color: #295e48;
}

/* Calendar booking: not on the page for now (markup parked in src-mockup/booking-calendar-snippet.html). */
.booking-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
  box-shadow: var(--surface-shadow);
}

.booking-panes {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(12.5rem, 1fr);
}

.calendar {
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.calendar-title {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 650;
  line-height: 1.3;
}

.calendar-title span {
  color: var(--muted);
  font-weight: 450;
}

.calendar-nav {
  display: flex;
  gap: 0.35rem;
}

.calendar-nav button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--button-radius);
  background: var(--canvas);
  color: var(--graphite);
  cursor: pointer;
  transition: border-color 160ms var(--app-ease), color 160ms var(--app-ease);
}

.calendar-nav button:hover:not(:disabled) {
  border-color: color-mix(in oklab, var(--ink) 26%, var(--rule));
  color: var(--ink);
}

.calendar-nav button:disabled {
  cursor: default;
  opacity: 0.4;
}

.calendar-nav .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
  margin-top: 1.5rem;
}

.calendar-weekday {
  padding-bottom: 0.5rem;
  color: var(--muted);
  font-size: var(--text-3xs);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 2.75rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  background: transparent;
  color: var(--faint);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  transition: background 160ms var(--app-ease), border-color 160ms var(--app-ease), color 160ms var(--app-ease);
}

.calendar-day:disabled {
  cursor: default;
}

.calendar-day.is-available {
  background: var(--paper);
  color: var(--ink);
  font-weight: 550;
  cursor: pointer;
}

.calendar-day.is-available:hover {
  border-color: color-mix(in oklab, var(--ink) 24%, var(--rule));
}

.calendar-day[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--canvas);
  font-weight: 650;
}

.calendar-day.is-today {
  color: var(--graphite);
  font-weight: 650;
}

.calendar-day.is-today::after {
  position: absolute;
  bottom: 0.32rem;
  left: 50%;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: currentColor;
  content: '';
  transform: translateX(-50%);
}

.calendar-fallback {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.time-pane {
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid var(--rule);
}

.time-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 2.75rem;
}

.time-day {
  margin: 0;
  font-size: var(--text-md);
  font-weight: 650;
  white-space: nowrap;
}

.format-toggle {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--rule-soft);
  border-radius: var(--button-radius);
  background: var(--paper);
}

.format-toggle button {
  min-height: 2rem;
  padding: 0.25rem 0.55rem;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: var(--text-2xs);
  font-weight: 650;
}

.format-toggle button[aria-pressed="true"] {
  background: var(--canvas);
  box-shadow: 0 1px 2px rgba(18, 24, 39, 0.1);
  color: var(--ink);
}

.time-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.time-slot {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid var(--rule);
  border-radius: var(--button-radius);
  background: var(--canvas);
  color: var(--ink);
  cursor: pointer;
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  transition: background 160ms var(--app-ease), border-color 160ms var(--app-ease), color 160ms var(--app-ease);
}

.time-slot:hover {
  border-color: color-mix(in oklab, var(--ink) 28%, var(--rule));
}

.time-slot[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--canvas);
}

.booking-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 1.1rem clamp(1.25rem, 2.5vw, 2rem) 1.25rem;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.booking-summary {
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.booking-summary strong {
  color: var(--ink);
  font-weight: 650;
}

.booking-footer small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: var(--text-2xs);
  line-height: 1.55;
}

/* ---------- Referenzen ---------- */

.references-section {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

/* Dots and controls share one row right under the card. */
.carousel-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

/* Quote carousel: a scroll-snapping row that works by swipe alone;
   main.js reveals the controls and adds the gentle auto-advance. */
.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-controls[hidden],
.carousel-dots[hidden] {
  display: none;
}

.carousel-controls button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--button-radius);
  background: var(--canvas);
  color: var(--graphite);
  cursor: pointer;
  transition: border-color 160ms var(--app-ease), color 160ms var(--app-ease);
}

.carousel-controls button:hover {
  border-color: color-mix(in oklab, var(--ink) 26%, var(--rule));
  color: var(--ink);
}

.carousel-controls .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.quote-track {
  --quote-gap: clamp(1.25rem, 2.5vw, 2rem);
  position: relative;
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  gap: var(--quote-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  border-radius: var(--component-radius);
}

.quote-track:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--secondary) 72%, transparent);
  outline-offset: 4px;
}

.quote-carousel.is-ready .quote-track {
  scrollbar-width: none;
}

.quote-carousel.is-ready .quote-track::-webkit-scrollbar {
  display: none;
}

.carousel-dots {
  display: flex;
  gap: 0.25rem;
}

/* 24px hit area around a small pill; the pill stretches for the quote in view. */
.carousel-dots button {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.carousel-dots button::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--rule-strong);
  content: '';
  transition: width 240ms var(--app-ease), background-color 240ms var(--app-ease);
}

.carousel-dots button[aria-current='true']::before {
  width: 1.25rem;
  background: var(--ink);
}

/* One quote at a time: the logo heads a narrow column with the attribution at its foot,
   the quote takes the rest. Cards share the tallest quote's height. */
.quote {
  display: grid;
  grid-template-areas:
    "mark quote"
    "source quote";
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 6vw, 6rem);
  min-width: 0;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
  scroll-snap-align: start;
}

.quote-logo {
  grid-area: mark;
  display: block;
  width: min(var(--logo-w, 8rem), 100%);
  height: auto;
}

.quote-portrait {
  grid-area: mark;
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
}

.quote blockquote {
  grid-area: quote;
  margin: 0;
}

.quote blockquote p {
  max-width: 60ch;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 1.65vw, 1.45rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.quote figcaption {
  grid-area: source;
  align-self: end;
  margin-top: 2rem;
}

.quote-name {
  display: block;
  font-weight: 650;
}

.quote-role {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: var(--text-3xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* The clients behind the quotes open the section; the carousel follows below. */
.client-band {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.client-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  row-gap: 1.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.client-list li {
  display: grid;
  place-items: center;
  min-height: 4rem;
  padding: 0.25rem clamp(1rem, 2.5vw, 2.25rem);
}

/* One quiet grey for every brand; the logo's own colour comes back on hover. */
.client-list img {
  display: block;
  width: min(var(--logo-w, 6rem), 100%);
  height: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 360ms var(--app-ease), opacity 360ms var(--app-ease);
}

@media (hover: hover) {
  .client-list li:hover img {
    filter: none;
    opacity: 1;
  }
}

/* ---------- FAQ ---------- */

.faq-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--rule);
  background: var(--canvas);
}

.faq-section h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

/* One centred column, kept to a comfortable reading width. */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  max-width: 56rem;
  margin: 2.8rem auto 0;
}

.faq-grid details {
  overflow: clip;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
  transition: background 240ms var(--app-ease);
}

.faq-grid details[open] {
  background: var(--paper);
}

.faq-grid summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.2rem;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 1rem;
  cursor: pointer;
  font-size: var(--text-md);
  font-weight: 620;
  list-style: none;
}

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

.faq-grid summary::after {
  color: var(--graphite);
  content: '+';
  font-size: var(--text-md);
  font-weight: 450;
  text-align: center;
  transition: transform 240ms var(--app-ease);
}

.faq-grid details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-grid details p {
  max-width: 62ch;
  margin: 0;
  padding: 0 2rem 1.4rem 1rem;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.faq-grid details p a {
  color: var(--graphite);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.faq-grid details[open] p {
  animation: faq-answer-in 320ms var(--app-ease) both;
}

/* ---------- Jetzt starten ---------- */

.start-section {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
}

.start-copy h2 {
  margin-top: 1rem;
}

.start-copy > p:not(.section-label) {
  max-width: 52ch;
  margin: 1.4rem 0 0;
  color: var(--graphite);
  font-size: var(--text-base);
  line-height: 1.75;
}

.start-copy > p + p {
  margin-top: 0.9rem;
}

.start-copy .button {
  margin-top: 2rem;
  min-height: 3.15rem;
  padding-inline: 1.5rem;
}

.contact-card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
  box-shadow: var(--surface-shadow);
}

.avatar-stack {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.avatar-stack li + li {
  margin-left: -0.8rem;
}

.avatar-stack img {
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid var(--canvas);
  border-radius: 50%;
  background: var(--paper);
  object-fit: cover;
}

.contact-name {
  margin: 0.6rem 0 0;
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
}

.contact-org {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.contact-mail {
  margin-top: 1rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--canvas);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding-block: clamp(2.75rem, 5vw, 4rem) 2rem;
  border-bottom: 1px solid var(--rule);
}

.footer-claim {
  max-width: 28ch;
  margin: 0.9rem 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  text-wrap: balance;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem 1.5rem;
  color: var(--muted);
  font-size: var(--text-2xs);
}

.footer-brand img {
  width: 6.5rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: underline transparent;
  text-underline-offset: 0.2em;
  transition: color 220ms var(--app-ease), text-decoration-color 220ms var(--app-ease);
}

.footer-bottom nav a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* "Cookie-Einstellungen" sits among the footer links and looks like one; it stays hidden until the consent module runs. */
.footer-bottom nav button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline transparent;
  text-underline-offset: 0.2em;
  transition: color 220ms var(--app-ease), text-decoration-color 220ms var(--app-ease);
}

.footer-bottom nav button:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.footer-bottom [data-cookie-settings-open][hidden] {
  display: none;
}

/* ---------- Cookie-Einstellungen (taken over from the Early Access site) ---------- */

.cookie-dialog-open {
  overflow: hidden;
}

.cookie-dialog {
  position: fixed;
  inset: 0;
  width: min(39rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--canvas);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(18, 24, 39, 0.2);
}

.cookie-dialog::backdrop {
  background: rgba(18, 24, 39, 0.32);
  backdrop-filter: blur(3px);
}

.cookie-dialog-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 2rem - 2px);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.cookie-dialog-content > :not(.cookie-dialog-body) {
  flex-shrink: 0;
}

.cookie-dialog-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 3px;
  margin: -3px;
}

.cookie-dialog [hidden],
.cookie-details-button[hidden] {
  display: none;
}

.cookie-details-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

#cookie-details-title {
  margin: 0.375rem 0;
  font-size: 1.125rem;
}

#cookie-details-title:focus {
  outline: none;
}

#cookie-details p {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.cookie-service {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--rule);
}

.cookie-service h3,
.cookie-service h4 {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.cookie-service h4 {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
}

.cookie-dialog p.cookie-service-category {
  margin-top: 0.25rem;
  font-weight: 600;
}

.cookie-service a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-inventory {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.cookie-inventory-entry {
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  overflow-wrap: anywhere;
}

.cookie-inventory-entry + .cookie-inventory-entry {
  margin-top: 0.375rem;
}

.cookie-inventory dt {
  margin-bottom: 0.125rem;
  font-weight: 600;
}

.cookie-inventory dd {
  margin: 0.1rem 0 0;
  color: var(--graphite);
}

.cookie-inventory dd span {
  font-weight: 600;
}

.cookie-dialog-logo {
  display: block;
  width: 112px;
  height: auto;
  margin-bottom: 1.5rem;
}

.cookie-dialog h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
}

.cookie-dialog h2:focus {
  outline: none;
}

.cookie-dialog p {
  margin: 0.75rem 0 0;
  color: var(--graphite);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.cookie-categories {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  cursor: pointer;
}

.cookie-category-essential {
  background: var(--paper);
  color: var(--muted);
  cursor: default;
}

.cookie-category-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.cookie-category-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.65rem;
  font-size: var(--text-base);
  font-weight: 600;
}

.cookie-category-status {
  font-size: var(--text-sm);
  font-weight: 400;
}

.cookie-category-description {
  color: var(--graphite);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.cookie-switch {
  position: relative;
  flex: 0 0 42px;
  appearance: none;
  width: 42px;
  height: 24px;
  margin: 0;
  border: 1px solid var(--faint);
  border-radius: 999px;
  background: var(--rule);
  cursor: pointer;
}

.cookie-switch::before {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--canvas);
  box-shadow: 0 1px 3px rgba(18, 24, 39, 0.2);
  content: "";
}

.cookie-switch:checked {
  border-color: var(--primary);
  background: var(--primary);
}

.cookie-switch:checked::before {
  transform: translateX(18px);
}

.cookie-switch:disabled {
  border-color: var(--faint);
  background: var(--faint);
  cursor: not-allowed;
}

.cookie-dialog p.cookie-dialog-policy {
  margin-top: 1rem;
}

.cookie-dialog-policy a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-dialog-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.cookie-choice-button {
  min-height: 44px;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--button-radius);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.cookie-choice-button:hover {
  border-color: var(--faint);
  background: var(--rule-soft);
}

.cookie-choice-button[data-consent-accept] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--canvas);
}

.cookie-choice-button[data-consent-accept]:hover {
  border-color: #242b3a;
  background: #242b3a;
}

@media (max-width: 520px) {
  .cookie-dialog-actions {
    grid-template-columns: 1fr;
  }
}

/* ---------- Legal pages (Impressum, Datenschutz, AGB) ---------- */

/* Legal pages reuse the site typography and navigation, with a calm reading layout. */
.legal-main {
  padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 8vw, 8rem);
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(10rem, 0.28fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 80rem;
}

.legal-sidebar {
  position: sticky;
  top: 7rem;
  font-size: var(--text-sm);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 1.5rem;
  color: var(--graphite);
  text-decoration: none;
}

.legal-sidebar nav {
  display: grid;
  border-top: 1px solid var(--rule);
}

.legal-sidebar nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--rule);
  color: var(--graphite);
  text-decoration: none;
}

.legal-sidebar nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
  font-weight: 650;
}

.legal-sidebar a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-content {
  min-width: 0;
  max-width: 49rem;
}

.legal-heading {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

.legal-heading h1 {
  margin: 1rem 0 1.4rem;
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
}

.legal-intro {
  margin: 0;
  color: var(--graphite);
  font-size: var(--text-lead);
  line-height: 1.7;
}

.legal-date {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Download action for legal documents that are published as PDF (AVV). */
.legal-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
}

.legal-prose {
  color: var(--graphite);
  font-size: var(--text-base);
  line-height: 1.8;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal-prose section {
  padding-top: 2.5rem;
}

.legal-prose h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  scroll-margin-top: 6rem;
}

.legal-prose h3 {
  margin: 1.7rem 0 0.6rem;
  color: var(--ink);
  font-size: var(--text-md);
  font-weight: 650;
  line-height: 1.5;
  scroll-margin-top: 6rem;
}

.legal-prose h4 {
  margin: 1.4rem 0 0.4rem;
  color: var(--ink);
  font-size: var(--text-base);
  font-weight: 650;
  line-height: 1.5;
}

.legal-prose p {
  margin: 0 0 1rem;
}

.legal-prose address {
  margin: 1rem 0;
  font-style: normal;
}

.legal-prose a {
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-underline-offset: 0.2em;
}

.legal-prose a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.legal-prose ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.3rem;
  list-style: disc;
}

.legal-prose li + li {
  margin-top: 0.6rem;
}

.legal-prose .legal-notice {
  margin-block: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--graphite);
  background: var(--paper);
}

.legal-notice h3 {
  margin-top: 0;
}

.legal-notice p:last-child {
  margin-bottom: 0;
}

.legal-facts {
  margin: 0;
}

.legal-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}

.legal-facts dt {
  font-weight: 600;
}

.legal-facts dd {
  margin: 0;
}

/* Numbered contract clauses (AGB): the clause number hangs in its own column, as in the signed PDF. */
.legal-clause {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0 0.75rem;
  margin-bottom: 1rem;
  scroll-margin-top: 6rem;
}

.legal-clause-num {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.legal-clause > div > :last-child {
  margin-bottom: 0;
}

.legal-prose h4 {
  scroll-margin-top: 6rem;
}

@counter-style legal-alpha {
  system: extends lower-alpha;
  suffix: ") ";
}

.legal-prose .legal-list-alpha {
  margin: 1rem 0 1.5rem;
  padding-left: 1.6rem;
  list-style: legal-alpha;
}

@media (max-width: 760px) {
  .legal-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-back {
    margin-bottom: 0.75rem;
  }

  .legal-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}

/* ---------- Strategie-Wissen (overview and articles) ---------- */

/* Cards come in three tiers that main.js reassigns while filtering: the first hit leads,
   the next two sit beside it, the rest line up in a row of four. Covers show a key figure
   from the article instead of a photo; a <picture> placed inside .post-cover takes over. */

.desktop-nav a[aria-current] {
  color: var(--ink);
  text-decoration: underline 2px var(--primary);
  text-underline-offset: 0.65em;
}

.mobile-menu-panel nav a[aria-current] {
  color: var(--ink);
}

.blog-shell {
  max-width: 82rem;
}

[data-tone="warm"] {
  --tone: var(--primary);
  --tone-ink: var(--primary-ink);
  --tone-soft: var(--secondary-soft);
  --cover-bg: linear-gradient(155deg, #fff9f4 0%, #fdeadb 100%);
}

[data-tone="violet"] {
  --tone: var(--violet);
  --tone-ink: #4f54b8;
  --tone-soft: var(--violet-soft);
  --cover-bg: linear-gradient(155deg, #f9f9ff 0%, #e8eafd 100%);
}

/* Hero */

.blog-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6rem) clamp(2.25rem, 4vw, 3rem);
}

.blog-hero-art {
  position: absolute;
  top: -10rem;
  right: -5rem;
  width: 47.5rem;
  aspect-ratio: 1;
  border: 1.5px solid color-mix(in oklab, var(--violet) 14%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.blog-hero-art::before,
.blog-hero-art::after {
  position: absolute;
  content: '';
}

.blog-hero-art::before {
  top: -3.75rem;
  right: -5rem;
  width: 56rem;
  height: 45rem;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--violet) 15%, transparent), transparent 70%);
}

.blog-hero-art::after {
  top: 12.5rem;
  right: 12.5rem;
  width: 35rem;
  height: 32.5rem;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--primary) 13%, transparent), transparent 70%);
}

.blog-hero-shell {
  position: relative;
}

.blog-hero h1 {
  max-width: 14ch;
  margin: 1.6rem 0 0;
  font-family: var(--font-editorial);
  font-size: var(--text-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

.blog-hero-intro {
  max-width: 44ch;
  margin: 1.75rem 0 0;
  color: var(--graphite);
  font-size: var(--text-lead);
  line-height: 1.6;
  text-wrap: pretty;
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 26rem;
  margin-top: 2.1rem;
  padding-inline: 1.05rem 0.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--component-radius);
  background: var(--canvas);
  box-shadow: 0 6px 22px rgba(18, 24, 39, 0.06);
  transition: border-color 200ms var(--app-ease), box-shadow 200ms var(--app-ease);
}

.blog-search:focus-within {
  border-color: color-mix(in oklab, var(--primary) 50%, var(--rule));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 16%, transparent), 0 6px 22px rgba(18, 24, 39, 0.06);
}

.blog-search .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--muted);
}

.blog-search input {
  flex: 1;
  min-width: 0;
  min-height: 3.1rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.9375rem;
}

.blog-search input::placeholder {
  color: var(--muted);
}

/* Topic filter */

.topic-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--canvas);
  color: var(--graphite);
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 550;
  white-space: nowrap;
  transition: border-color 200ms var(--app-ease), background 200ms var(--app-ease), color 200ms var(--app-ease);
}

.topic-chip .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--muted);
  transition: color 200ms var(--app-ease);
}

.topic-chip[aria-pressed="true"] {
  border-color: color-mix(in oklab, var(--primary) 42%, var(--rule));
  background: color-mix(in oklab, var(--secondary-soft) 65%, var(--canvas));
  color: var(--primary-ink);
}

.topic-chip[aria-pressed="true"] .icon {
  color: currentColor;
}

.post-empty {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  padding: 2.75rem 1.5rem 2rem;
  border: 1px dashed var(--rule-strong);
  border-radius: 4px;
  color: var(--graphite);
  text-align: center;
}

.post-empty[hidden] {
  display: none;
}

.post-empty p {
  margin: 0;
}

.post-empty .text-link {
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: underline;
}

/* Cards */

.post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--canvas);
  transition: box-shadow 280ms var(--app-ease), border-color 280ms var(--app-ease);
}

/* Specific enough to beat the tier rules, which set display themselves. */
.post-card[hidden],
.post-card[data-tier][hidden] {
  display: none;
}

.post-card[data-tier="featured"] {
  grid-column: span 2;
  grid-row: span var(--rows, 1);
}

.post-card[data-tier="wide"] {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.post-card:has(.post-title a:focus-visible) {
  outline: 2px solid color-mix(in oklab, var(--secondary) 72%, transparent);
  outline-offset: 3px;
}

.post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 1.4rem 1.4rem 1.2rem;
}

.post-card[data-tier="featured"] .post-body {
  padding: 2rem 2rem 1.6rem;
}

.post-card[data-tier="wide"] .post-body {
  padding: 1.6rem 1.6rem 1.35rem;
}

.post-kind {
  align-self: flex-start;
  margin: 0;
  padding: 0.38rem 0.62rem;
  border-radius: 3px;
  background: var(--tone-soft);
  color: var(--tone-ink);
  font-size: 0.65625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Outside the wide tier the badge sits on the cover. */
.post-card:not([data-tier="wide"]) .post-kind {
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  background: var(--canvas);
  box-shadow: 0 1px 2px rgba(18, 24, 39, 0.06);
}

.post-title {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  hyphens: auto;
  text-wrap: pretty;
}

.post-card[data-tier="featured"] .post-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.6rem, 2.2vw, 1.875rem);
  font-weight: 400;
  line-height: 1.24;
}

.post-card[data-tier="wide"] .post-title {
  margin-top: 1.1rem;
  font-family: var(--font-editorial);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.32;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-title a:focus-visible {
  outline: none;
}

/* The title link covers the whole card. */
.post-title a::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: '';
}

.post-teaser {
  margin: 0.75rem 0 0;
  color: var(--graphite);
  font-size: var(--text-xs);
  line-height: 1.6;
  text-wrap: pretty;
}

.post-card[data-tier="featured"] .post-teaser {
  max-width: 46ch;
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.post-card[data-tier="wide"] .post-teaser {
  margin-top: 0.85rem;
  font-size: var(--text-sm);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: var(--text-xs);
}

.post-card[data-tier="featured"] .post-meta {
  padding-top: 2.5rem;
}

.post-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-ink);
  font-weight: 650;
  transition: gap 240ms var(--app-ease);
}

.post-more .icon {
  width: 0.95rem;
  height: 0.95rem;
  stroke-width: 2;
}

/* Covers */

.post-cover {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  margin: 0;
  background: var(--cover-bg);
}

.post-card .post-cover {
  flex: 0 0 auto;
  height: 8.5rem;
}

.post-card[data-tier="featured"] .post-cover {
  height: clamp(15rem, 22vw, 18.5rem);
}

.post-card[data-tier="wide"] .post-cover {
  order: 2;
  height: auto;
  min-height: 12rem;
}

.post-cover > picture,
.post-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-cover-motif {
  position: absolute;
  top: 50%;
  right: 6%;
  height: 74%;
  color: var(--tone);
  fill: none;
  stroke: currentColor;
  translate: 0 -50%;
  transition: scale 700ms var(--app-ease);
}

.post-card[data-tier="wide"] .post-cover-motif {
  top: 1.1rem;
  right: 1.1rem;
  height: 52%;
  translate: none;
}

.motif-line {
  stroke-width: 1;
  opacity: 0.3;
}

.motif-track,
.motif-arc {
  stroke-width: 16;
}

.motif-track {
  opacity: 0.1;
}

.motif-arc {
  opacity: 0.5;
  stroke-linecap: round;
}

.motif-ring {
  stroke-width: 1.5;
  opacity: 0.5;
}

.motif-ring--dashed {
  stroke-dasharray: 4 5;
}

.motif-dash {
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  opacity: 0.5;
}

.motif-fill,
.motif-fill-strong {
  fill: currentColor;
  stroke: none;
}

.motif-fill {
  opacity: 0.16;
}

.motif-fill-strong {
  opacity: 0.5;
}

.post-figure {
  position: absolute;
  right: 1.4rem;
  bottom: 1.1rem;
  left: 1.4rem;
  margin: 0;
  color: var(--ink);
}

.post-figure-value {
  display: block;
  font-family: var(--font-editorial);
  font-size: clamp(2.1rem, 15cqi, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.post-figure-unit {
  margin-left: 0.04em;
  color: var(--graphite);
  font-size: 0.5em;
  letter-spacing: 0;
}

.post-figure-caption {
  display: block;
  max-width: 30ch;
  margin-top: 0.55rem;
  color: var(--graphite);
  font-size: var(--text-xs);
  line-height: 1.45;
  text-wrap: pretty;
}

.post-card[data-tier="wide"] .post-figure-caption {
  font-size: var(--text-2xs);
}

.post-card[data-tier="compact"] .post-figure-caption {
  display: none;
}

.post-figure-source {
  display: block;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: var(--text-2xs);
}

/* Call to action: one column in the grid, a split layout with the Strategy Map once it has room. */

.post-cta {
  position: relative;
  overflow: hidden;
  grid-column: span var(--cta-span, 1);
  container: post-cta / inline-size;
  border: 1px solid color-mix(in oklab, var(--primary) 16%, var(--rule));
  border-radius: 4px;
  background: linear-gradient(170deg, #fff8f1 0%, #fffdfb 60%, var(--canvas) 100%);
}

.post-cta-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.9rem 1.75rem 1.75rem;
}

.post-cta-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--primary) 13%, var(--canvas));
  color: var(--primary);
}

.post-cta-mark .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.post-cta :is(h2, h3) {
  margin: 1.4rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.post-cta p {
  max-width: 40ch;
  margin: 0.85rem 0 0;
  color: var(--graphite);
  font-size: var(--text-xs);
  line-height: 1.65;
  text-wrap: pretty;
}

.post-cta-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  color: var(--graphite);
  font-size: var(--text-xs);
  line-height: 1.5;
  list-style: none;
}

.post-cta-list li {
  display: flex;
  gap: 0.6rem;
}

.post-cta-list .icon {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.2rem;
  color: var(--primary);
  stroke-width: 2.6;
}

.post-cta-actions {
  margin-top: auto;
  padding-top: 1.75rem;
}

.post-cta-actions .button {
  width: 100%;
}

.post-cta-media {
  display: none;
}

@container post-cta (min-width: 34rem) {
  .post-cta-copy {
    max-width: 54%;
    padding: 2.25rem;
  }

  .post-cta-actions .button {
    width: auto;
  }

  .post-cta-media {
    position: absolute;
    top: 2.25rem;
    right: -3rem;
    bottom: -3rem;
    left: 58%;
    display: block;
    overflow: hidden;
    border: 1px solid var(--rule);
    border-radius: var(--component-radius);
    background: var(--canvas);
    box-shadow: var(--surface-shadow-strong);
  }

  /* The Strategy Map sits in the lower half of the screenshot: pin its top-left corner to the
     frame's and size the image so it still fills portrait and landscape frames. */
  .post-cta-media {
    container-type: size;
  }

  .post-cta-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: max(170cqw, 190cqh);
    max-width: none;
    transform: translate(-13%, -36%);
  }
}

/* Values strip */

.blog-values {
  padding-block: clamp(1.5rem, 3vw, 2rem) clamp(5rem, 8vw, 7rem);
}

.blog-values ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 2.5rem 2.25rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  list-style: none;
}

.blog-values .icon {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--primary);
  stroke-width: 1.4;
}

.blog-values .icon--violet {
  color: var(--violet);
}

.blog-values h3 {
  margin: 1.1rem 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
}

.blog-values p {
  max-width: 34ch;
  margin: 0.7rem 0 0;
  color: var(--graphite);
  font-size: var(--text-xs);
  line-height: 1.6;
}

/* Article */

.article-main {
  padding-block: clamp(2rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
}

.article-shell {
  width: min(100%, calc(47.5rem + 2 * var(--page-gutter)));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--graphite);
  font-size: var(--text-sm);
  font-weight: 550;
  text-decoration: none;
  transition: color 200ms var(--app-ease);
}

.article-back .icon {
  width: 1rem;
  height: 1rem;
  transition: translate 240ms var(--app-ease);
}

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

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.1rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: var(--text-xs);
}

.article-meta a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.25em;
}

.article-meta a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.article-header h1 {
  margin: 1.35rem 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(2.1rem, 4.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.14;
  hyphens: auto;
  text-wrap: balance;
}

.article-lead {
  margin: 1.25rem 0 0;
  color: var(--graphite);
  font-size: var(--text-md);
  line-height: 1.65;
  text-wrap: pretty;
}

/* The article cover grows with its caption instead of pinning it. */
.article-cover {
  display: flex;
  align-items: flex-end;
  width: min(calc(100% - 2 * var(--page-gutter)), 61.25rem);
  min-height: clamp(15rem, 32vw, 23.75rem);
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  padding: clamp(1.5rem, 4.5cqi, 2.75rem) clamp(1.5rem, 4.5cqi, 3rem);
  border-radius: 4px;
}

.article-cover .post-cover-motif {
  right: 7%;
  height: 76%;
}

.article-cover .post-figure {
  position: relative;
  inset: auto;
  max-width: 34rem;
}

.article-cover .post-figure-value {
  font-size: clamp(3.25rem, 11cqi, 6.5rem);
}

.article-cover .post-figure-caption {
  max-width: 34ch;
  margin-top: 0.8rem;
  font-size: clamp(0.875rem, 1.7cqi, 1rem);
}

.article-prose {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--graphite);
  font-size: 1.0625rem;
  line-height: 1.78;
  hyphens: auto;
  overflow-wrap: break-word;
}

.article-prose > p {
  margin: 0 0 1.25rem;
  text-wrap: pretty;
}

.article-prose h2 {
  margin: 2.75rem 0 0.9rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.375rem);
  font-weight: 650;
  line-height: 1.35;
  text-wrap: balance;
}

.article-prose strong {
  color: var(--ink);
  font-weight: 650;
}

.article-prose ol {
  margin: 1.5rem 0 1.75rem;
  padding: 0.35rem 0;
  border-block: 1px solid var(--rule);
  counter-reset: article-list;
  list-style: none;
}

.article-prose ol li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.75rem;
  color: var(--ink);
  counter-increment: article-list;
}

.article-prose ol li + li {
  border-top: 1px solid var(--rule-soft);
}

.article-prose ol li::before {
  position: absolute;
  top: 1.05rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--canvas);
  content: counter(article-list);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(91, 35, 8, 0.6);
}

.article-prose sup {
  line-height: 0;
}

.footnote-ref {
  margin-left: 0.1em;
  padding-inline: 0.15em;
  color: var(--primary-ink);
  font-size: 0.75em;
  font-weight: 650;
  text-decoration: none;
}

.footnote-ref:hover {
  text-decoration: underline;
}

.footnote-ref,
.article-sources li {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.article-sources {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.article-sources ol {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.65;
}

.article-sources li::marker {
  color: var(--graphite);
  font-weight: 650;
}

.article-sources li:target {
  color: var(--graphite);
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--graphite);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.source-link .icon {
  width: 0.8rem;
  height: 0.8rem;
  stroke-width: 2;
}

.source-link:hover,
.footnote-back:hover {
  color: var(--ink);
}

.footnote-back {
  margin-left: 0.2rem;
  padding: 0 0.25rem;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.article-shell .post-cta {
  margin-top: clamp(3rem, 6vw, 4rem);
}

.article-related {
  margin-top: clamp(3rem, 6vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.25rem;
}

@media (hover: hover) {
  .topic-chip:hover {
    border-color: var(--rule-strong);
    color: var(--ink);
  }

  .topic-chip[aria-pressed="true"]:hover {
    border-color: color-mix(in oklab, var(--primary) 60%, var(--rule));
    color: var(--primary-ink);
  }

  .post-card:hover {
    border-color: var(--rule-strong);
    box-shadow: 0 18px 44px rgba(18, 24, 39, 0.09);
  }

  .post-card:hover .post-more {
    gap: 0.8rem;
  }

  .post-card:hover .post-cover-motif {
    scale: 1.04;
  }

  .article-back:hover .icon {
    translate: -3px 0;
  }
}

@media (max-width: 960px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .post-card[data-tier="featured"] {
    grid-row: auto;
  }

  .post-cta {
    grid-column: span var(--cta-span-md, 2);
  }

  .blog-values ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 720px) {
  .topic-filter {
    flex-wrap: nowrap;
    margin-inline: calc(-1 * var(--page-gutter));
    padding-inline: var(--page-gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topic-filter::-webkit-scrollbar {
    display: none;
  }

  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-card[data-tier],
  .post-cta {
    grid-column: auto;
  }

  .post-card[data-tier="wide"] {
    display: flex;
  }

  .post-card[data-tier="wide"] .post-cover {
    order: 0;
    min-height: 0;
    height: 9.5rem;
  }

  .post-card[data-tier="wide"] .post-cover-motif {
    top: 50%;
    right: 6%;
    height: 74%;
    translate: 0 -50%;
  }

  .post-card[data-tier="wide"] .post-kind {
    position: absolute;
    z-index: 1;
    top: 1rem;
    left: 1rem;
    background: var(--canvas);
  }

  .post-card[data-tier="wide"] .post-title {
    margin-top: 0;
  }

  .post-card[data-tier="wide"] .post-figure-caption {
    display: none;
  }

  .post-card[data-tier="featured"] .post-cover {
    height: 13rem;
  }

  .post-card[data-tier="featured"] .post-body {
    padding: 1.5rem 1.4rem 1.25rem;
  }

  .post-card[data-tier="featured"] .post-title {
    font-size: 1.5rem;
  }

  .post-card[data-tier="featured"] .post-meta {
    padding-top: 1.75rem;
  }

  .blog-values ul {
    padding: 2rem 1.5rem;
  }

  .article-cover .post-cover-motif {
    top: 1.25rem;
    right: 1.25rem;
    height: 44%;
    translate: none;
  }

  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Lightbox ---------- */

.image-lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  width: fit-content;
  max-width: calc(100% - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  background: transparent;
  color: var(--canvas);
}

.image-lightbox::backdrop {
  background: rgba(18, 24, 39, 0.88);
  backdrop-filter: blur(6px);
}

.image-lightbox-content {
  display: grid;
  gap: 0.75rem;
}

.image-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.image-lightbox-toolbar p {
  margin: 0;
  font-size: var(--text-sm);
}

.image-lightbox-close {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--button-radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.image-lightbox-close:focus-visible {
  outline-color: var(--canvas);
  outline-offset: -4px;
}

.image-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 6rem);
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--component-radius);
  background: var(--canvas);
}

/* ---------- Traced border (hero board, demo form) ---------- */

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

.traced-border {
  --traced-surface: var(--canvas);
  --traced-base-shadow: 0 0 0 transparent;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--traced-surface), var(--traced-surface)) padding-box,
    conic-gradient(
      from var(--traced-border-angle),
      transparent 0deg,
      transparent 246deg,
      color-mix(in oklab, var(--violet) 18%, transparent) 262deg,
      color-mix(in oklab, var(--violet) 78%, var(--canvas)) 292deg,
      color-mix(in oklab, var(--secondary) 92%, var(--canvas)) 313deg,
      color-mix(in oklab, var(--canvas) 72%, var(--secondary)) 321deg,
      color-mix(in oklab, var(--secondary) 94%, var(--canvas)) 329deg,
      color-mix(in oklab, var(--violet) 76%, var(--canvas)) 347deg,
      transparent 360deg
    ) border-box;
  box-shadow: var(--traced-base-shadow);
  animation:
    traced-border-trace 3.2s linear infinite,
    traced-border-bloom 2.4s var(--app-ease) infinite;
}

.strategy-board.traced-border {
  --traced-base-shadow: var(--surface-shadow-strong);
}

.booking-card.traced-border,
.demo-form.traced-border {
  --traced-base-shadow: var(--surface-shadow);
  animation-delay: -2.5s, -1.8s;
}

.traced-border.is-offscreen {
  animation-play-state: paused;
}

@keyframes traced-border-trace {
  to {
    --traced-border-angle: 1turn;
  }
}

@keyframes traced-border-bloom {
  0%, 100% {
    box-shadow:
      var(--traced-base-shadow),
      0 0 0 1px color-mix(in oklab, var(--violet) 26%, transparent),
      0 0 26px 4px color-mix(in oklab, var(--violet) 18%, transparent);
  }

  50% {
    box-shadow:
      var(--traced-base-shadow),
      0 0 0 1px color-mix(in oklab, var(--secondary) 34%, transparent),
      0 0 38px 7px color-mix(in oklab, var(--secondary) 26%, transparent);
  }
}

/* ---------- Reveal motion ---------- */

html.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 1.15rem, 0);
  transition: opacity 680ms var(--app-ease), transform 680ms var(--app-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

html.motion-ready .strategy-board-wrap.reveal,
html.motion-ready .app-frame.reveal {
  transform: translate3d(0, 1.6rem, 0) scale(0.985);
}

html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Hover (pointer devices only) ---------- */

@media (hover: hover) {
  .button:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(18, 24, 39, 0.1);
  }

  .benefit-list > article:hover,
  .feature-grid li:hover {
    background: var(--paper);
  }

  .award-logo:hover img {
    filter: grayscale(1) contrast(1.04) opacity(1);
    transform: translateY(-0.1rem);
  }

  .shot:hover .shot-hint {
    opacity: 1;
    transform: none;
  }

  .shot:hover img {
    transform: scale(1.012);
  }

  .video-play:hover .video-play-icon {
    background: #242b3a;
    transform: scale(1.05);
  }
}

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

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  /* Side by side the photos get too narrow: both lists dissolve into one
     column and each photo sits above its conviction. */
  .about-values {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 46rem;
  }

  .about-values-list,
  .about-values-media {
    display: contents;
  }

  .about-values-media > :nth-child(1) { order: 1; }
  .about-values-list > :nth-child(1) { order: 2; }
  .about-values-media > :nth-child(2) { order: 3; }
  .about-values-list > :nth-child(2) { order: 4; }
  .about-values-media > :nth-child(3) { order: 5; }
  .about-values-list > :nth-child(3) { order: 6; }

  .about-values-media picture + picture {
    margin-top: clamp(3rem, 8vw, 4.5rem);
  }

  .about-values-list li,
  .about-values-list li:last-child {
    padding: 1.5rem 0 0;
    border: 0;
  }

  .team-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .team-copy {
    max-width: 36rem;
  }

  .team-copy > p:not(.section-label) {
    max-width: 54ch;
  }

  .nav-actions {
    margin-left: auto;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.75rem;
    cursor: pointer;
    color: var(--graphite);
    font-size: var(--text-2xs);
    font-weight: 650;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary::after {
    margin-left: 0.5rem;
    color: var(--graphite);
    content: '+';
  }

  .mobile-menu[open] summary::after {
    content: '−';
  }

  .mobile-menu-panel {
    position: fixed;
    z-index: 60;
    top: 4.35rem;
    right: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--rule);
    border-radius: var(--component-radius);
    background: var(--canvas);
    box-shadow: 0 18px 46px rgba(31, 38, 54, 0.14);
  }

  .mobile-menu-panel nav {
    display: grid;
  }

  .mobile-menu-panel nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.75rem;
    border-bottom: 1px solid var(--rule-soft);
    color: var(--graphite);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-menu-panel > .button {
    width: 100%;
    margin-top: 0.75rem;
  }

  .hero-shell,
  .answer-layout,
  .result-layout,
  .cocreation-layout,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 52rem;
  }

  .strategy-board-wrap {
    max-width: 54rem;
    justify-self: start;
  }

  .answer-layout .app-frame,
  .result-layout .app-frame,
  .cocreation-layout .app-frame {
    max-width: 54rem;
  }

  .security-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .security-intro {
    max-width: 40rem;
  }

  .security-lede {
    max-width: none;
  }

  .about-intro {
    grid-template-areas:
      "label"
      "title"
      "copy"
      "stats";
    grid-template-columns: minmax(0, 1fr);
  }

  .about-intro-copy {
    max-width: 46rem;
    margin-top: 1.75rem;
  }
}

@media (max-width: 960px) {
  .client-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .award-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .award-strip h2 {
    max-width: none;
  }

  .benefit-list--3 {
    grid-template-columns: 1fr;
  }

  .benefit-list--3 > article + article {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .pain-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .pain-list::before {
    display: none;
  }

  .value-bar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .step-list p {
    max-width: 60ch;
  }

  .promise {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .promise .button {
    grid-column: 2;
    justify-self: start;
  }

  /* The next quote peeks in as a swipe cue. */
  .quote-track {
    grid-auto-columns: 88%;
  }

  /* Stacked: logo, quote, attribution. */
  .quote {
    grid-template-areas:
      "mark"
      "quote"
      "source";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
  }

  .quote-logo,
  .quote-portrait {
    margin-bottom: 1.5rem;
  }

  .quote-logo {
    width: min(calc(var(--logo-w, 8rem) * 0.75), 100%);
  }

  .quote-portrait {
    width: 4.5rem;
    height: 4.5rem;
  }

  .start-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    max-width: 32rem;
  }
}

@media (max-width: 860px) {
  .nav-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .brand-lockup span {
    display: none;
  }

  /* 16px inputs keep iOS from zooming into the form on focus. */
  .demo-form :where(input, select, textarea) {
    font-size: var(--text-base);
  }

  .hero-shell {
    min-height: auto;
    gap: 3.25rem;
    padding-top: 3.25rem;
    padding-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 3.8rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-heading h2,
  .result-copy h2,
  .about-intro h2,
  .booking-intro h2,
  .start-copy h2,
  .security-intro h2 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .faq-section h2 {
    font-size: clamp(2.35rem, 9vw, 3.25rem);
  }

  .award-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .hero-circle-violet {
    top: 12%;
    left: 10%;
    width: 125vw;
  }

  .hero-circle-soft {
    bottom: -5%;
    left: -35%;
    width: 110vw;
  }

  .security-section .hero-circle-violet {
    top: 14%;
    left: -35%;
    width: 160vw;
  }

  .security-section .hero-circle-soft {
    bottom: -5%;
    left: -30%;
    width: 170vw;
  }

  .security-principles {
    grid-template-columns: 1fr;
  }

  .security-principles li:nth-child(2) {
    padding-top: 1.2rem;
  }

  .security-principles li + li {
    border-top: 1px solid var(--rule);
  }

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

  .feature-grid li:nth-child(even) {
    border-left: 0;
  }

  .feature-grid li + li {
    border-top: 1px solid var(--rule);
  }

  .booking-panes {
    grid-template-columns: 1fr;
  }

  .time-pane {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .time-list {
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  }

  .booking-footer {
    grid-template-columns: 1fr;
  }

  .booking-footer .button {
    width: 100%;
  }

  .client-list li {
    padding-inline: 1.1rem;
  }
}

@media (max-width: 520px) {
  /* Dots touch (each keeps its 24px hit area) and the buttons shrink a little, so dots and controls share one line. */
  .carousel-nav {
    column-gap: 0.5rem;
  }

  .carousel-dots {
    gap: 0;
  }

  .carousel-controls {
    gap: 0.25rem;
  }

  .carousel-controls button {
    width: 2.375rem;
    height: 2.375rem;
  }

  .brand-lockup img {
    width: 7.4rem;
  }

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

  .team-members {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem 0.75rem;
  }

  /* Keep the poster's centred logo clear: icon only, label stays available to screen readers. */
  .video-play-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .strategy-board > header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    min-height: 3.2rem;
    padding: 0.7rem 0.8rem;
  }

  .strategy-board > header img {
    width: 6.4rem;
  }

  .board-label {
    padding: 0.75rem 0.85rem;
  }

  .board-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.85rem;
  }

  .board-card {
    min-height: 4.75rem;
    padding: 0.9rem;
  }

  .board-prompt {
    font-size: var(--text-2xs);
  }

  .board-value {
    font-size: var(--text-base);
  }

  .board-card--right {
    flex-direction: row;
    text-align: left;
  }

  .board-core > :nth-child(3),
  .board-core > :nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .pain-list {
    grid-template-columns: 1fr;
    row-gap: 2.25rem;
  }

  /* One stat per line: number left, label beside it. */
  .about-stats {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.4rem;
  }

  .about-stats > div {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: baseline;
    column-gap: 1rem;
  }

  .about-stats dt {
    font-size: 2.25rem;
  }

  .about-stats dd {
    margin: 0;
  }

  .calendar-day {
    height: 2.6rem;
  }

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

  .promise .button {
    grid-column: auto;
    justify-self: stretch;
  }

  .client-list {
    grid-template-columns: 1fr 1fr;
  }

  .client-list li {
    min-height: 3.5rem;
    padding-block: 0.75rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .traced-border {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
