/* Microsites in the design of ak.consulting.
   Tokens and components are taken from the IBSS repo: src/styles/fonts.css, src/styles/astra.css
   ([data-world="umsatz"] values), src/app/site-shell.css (dock), src/app/reveal-footer.css (closing),
   src/features/revenue-solution/solution-page.module.css (page template) and
   src/features/revenue-story/next-action.module.css (next step). Change values there first. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-VariableFont.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ak-paper: #f4f3ec;
  --ak-carbon: #141a1c;
  --ak-lime: #d4ff00;
  --ak-ink: #f3f3e9;
  --ak-muted: #b2bbb6;
  --ak-line: #414c4d;
  --ak-stage: #050708;
  --ak-space-1: 4px; --ak-space-2: 8px; --ak-space-3: 12px; --ak-space-4: 16px; --ak-space-5: 24px;
  --ak-space-6: 32px; --ak-space-7: 48px; --ak-space-8: 64px; --ak-space-9: 96px;
  --ak-radius: 8px;
  --ak-body: 1rem;
  --ak-small: .8rem;
  --ak-section: clamp(64px, 8vw, 128px);
  --ak-ease: cubic-bezier(.22, .8, .25, 1);
  --ak-fast: 180ms;
  --ak-shadow: 0 30px 70px #070c0e70;

  /* feature material */
  --ak-feature-surface: #090d0e;
  --ak-feature-line: #263030;
  --ak-feature-radius: 12px;
  --ak-feature-heading: clamp(1.125rem, 1.5vw, 1.3rem);
  --ak-feature-body: .875rem;
  --ak-feature-note: .75rem;
  --ak-feature-small-icon: 22px;
  --ak-feature-small-orb: 44px;
  --ak-feature-orbit-line: #293324;
  --ak-feature-orbit-ink: #4a5723;
  --ak-feature-ambient: color-mix(in srgb, var(--ak-lime) 5%, transparent);
  --ak-feature-glow: color-mix(in srgb, var(--ak-lime) 18%, transparent);
  --ak-feature-glow-blur: 6px;
  --ak-feature-response: 400ms;

  /* solution page */
  --ak-solution-width: 1360px;
  --ak-solution-gutter: clamp(1.25rem, 5vw, 6rem);
  --ak-solution-glow: color-mix(in srgb, var(--ak-lime) 11%, transparent);
  --ak-solution-line: var(--ak-feature-line);
  --ak-solution-line-strong: #414c4d;
  --ak-solution-orb-ring: color-mix(in srgb, var(--ak-feature-orbit-line) 35%, transparent);
  --ak-solution-chip-surface: color-mix(in srgb, var(--ak-paper) 5%, var(--ak-stage));
  --ak-solution-action-height: 48px;
  --ak-solution-press: 2px;
  --ak-case-title: clamp(2.6rem, 5vw, 4.6rem);
  --ak-case-lead: clamp(1.05rem, 1.5vw, 1.25rem);
  --ak-case-section-title: clamp(1.9rem, 3.4vw, 3rem);
  --ak-case-kpi: clamp(2.4rem, 4.6vw, 4.2rem);
  --ak-case-node: 44px;
  --ak-case-panel-radius: 20px;
  --ak-hero-body: clamp(1rem, 1.2vw, 1.125rem);
  --ak-heading-width: 960px;
  --ak-process-card-heading: clamp(1.4rem, 2.2vw, 1.9rem);
  --ak-portfolio-control-size: 44px;
  --ak-portfolio-card-radius: 16px;
  --ak-portfolio-caption-height: 136px;
  --ak-portfolio-card-title: clamp(1.0625rem, 1.45vw, 1.375rem);
  --ak-portfolio-card-glow: inset 0 0 24px var(--ak-feature-ambient);

  /* process stack */
  --ak-process-columns-gap: clamp(40px, 5vw, 80px);
  --ak-process-number: clamp(2rem, 2.6vw, 2.5rem);
  --ak-process-card-height: 352px;
  --ak-process-card-padding: clamp(28px, 3vw, 40px);
  --ak-process-card-line: #485149;
  --ak-process-card-radius: 24px;
  --ak-process-card-reflection: color-mix(in srgb, var(--ak-paper) 4%, transparent);
  --ak-process-card-shadow: 0 10px 24px #00000066;
  --ak-process-light: color-mix(in srgb, var(--ak-lime) 9%, transparent);
  --ak-process-edge-hover: #69774c;
  --ak-process-motif-size: clamp(240px, 24vw, 320px);
  --ak-process-motif-inset: -32px;
  --ak-process-motif-angle: -12deg;
  --ak-process-motif-opacity: .055;
  --ak-process-motif-shine: .085;
  --ak-process-stack-tail: 96px;
  --ak-process-perspective: 1800px;

  /* next step */
  --ak-next-heading: clamp(2.25rem, 4.2vw, 4rem);
  --ak-next-choice-heading: clamp(1.45rem, 2vw, 1.85rem);
  --ak-next-padding: clamp(24px, 3vw, 40px);
  --ak-next-radius: 16px;
  --ak-next-gap: 24px;
  --ak-next-small: .8125rem;
  --ak-next-surface: linear-gradient(180deg, #0d1314, #080c0d);
  --ak-next-line: #263030;

  /* header dock */
  --ak-header-height: 96px;
  --ak-nav-top: 20px;
  --ak-nav-height: 58px;
  --ak-nav-side-width: 236px;
  --ak-nav-gap: 12px;
  --ak-nav-icon-width: 46px;
  --ak-nav-expanded-width: 126px;
  --ak-nav-bg: #171b1de8;
  --ak-nav-selected: #f4f3ec1f;
  --ak-nav-ink: #f4f3ec;
  --ak-nav-muted: #b9c0bd;
  --ak-nav-line: #f4f3ec2a;
  --ak-nav-shadow: 0 8px 28px #0003;
  --ak-nav-duration: 360ms;
  --ak-shiny-background: #101414;
  --ak-shiny-edge: #4e5b36;
}

/* ---------- base (astra.css) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; scroll-behavior: smooth; }
body { margin: 0; font-family: Archivo, Arial, sans-serif; font-size: var(--ak-body); line-height: 1.6; background: var(--ak-stage); color: var(--ak-ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 550; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ak-lime); color: var(--ak-carbon); }
:is(a, button, summary):focus-visible { outline: 2px solid var(--ak-lime); outline-offset: var(--ak-space-1); }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.highlight { color: var(--ak-lime); }
.ak-skip { position: fixed; z-index: 200; top: 12px; left: 16px; padding: 12px 20px; background: var(--ak-lime); color: var(--ak-carbon); transform: translateY(-200%); }
.ak-skip:focus { transform: none; }
.container { width: min(calc(100% - var(--ak-solution-gutter) * 2), var(--ak-solution-width)); margin-inline: auto; }

/* ---------- header dock (site-shell.css) ---------- */
.ak-header { position: fixed; z-index: 60; top: var(--ak-nav-top); left: 50%; display: grid; grid-template-columns: var(--ak-nav-side-width) auto var(--ak-nav-side-width); align-items: center; gap: var(--ak-nav-gap); width: max-content; min-height: var(--ak-nav-height); color: var(--ak-nav-ink); transform: translateX(-50%); }
.ak-brand, .ak-nav-dock, .ak-calculator-link { border: 1px solid var(--ak-nav-line); border-radius: 999px; background: var(--ak-nav-bg); box-shadow: var(--ak-nav-shadow), inset 0 1px 0 #fff1; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.ak-brand { justify-self: end; display: flex; align-items: center; gap: 10px; min-height: var(--ak-nav-height); padding: 6px 18px 6px 14px; text-decoration: none; }
.ak-brand span { display: grid; font-size: .8125rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.ak-brand small { color: var(--ak-nav-muted); font-size: .6875rem; font-weight: 450; }
.ak-nav-dock { display: flex; align-items: center; justify-content: center; gap: 2px; height: var(--ak-nav-height); padding: 6px; }
.ak-dock-link { display: flex; align-items: center; justify-content: center; flex: 0 0 var(--ak-nav-icon-width); min-width: 0; height: 44px; padding-inline: 11px; border-radius: 999px; color: var(--ak-nav-muted); text-decoration: none; transition: flex-basis var(--ak-nav-duration) var(--ak-ease), color var(--ak-nav-duration), background-color var(--ak-nav-duration); }
.ak-dock-link > .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.ak-dock-label { display: grid; grid-template-columns: 0fr; opacity: 0; transition: grid-template-columns var(--ak-nav-duration) var(--ak-ease), opacity 220ms, margin-left var(--ak-nav-duration) var(--ak-ease); }
.ak-dock-label > span { overflow: hidden; font-size: .8125rem; font-weight: 550; white-space: nowrap; }
.ak-dock-link[aria-current], .ak-dock-link:focus-visible { flex-basis: var(--ak-nav-expanded-width); background: var(--ak-nav-selected); color: var(--ak-nav-ink); }
.ak-dock-link[aria-current] .ak-dock-label, .ak-dock-link:focus-visible .ak-dock-label { grid-template-columns: 1fr; opacity: 1; margin-left: 10px; }
.ak-calculator-link { justify-self: start; display: flex; align-items: center; gap: var(--ak-space-2); min-height: 52px; padding: 10px 16px; border-color: var(--ak-shiny-edge); background: var(--ak-shiny-background); font-size: .78125rem; font-weight: 600; white-space: nowrap; text-decoration: none; transition: box-shadow var(--ak-fast); }
.ak-calculator-link .icon { width: 18px; height: 18px; }
.ak-calculator-link .icon:last-child { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .ak-dock-link:hover { flex-basis: var(--ak-nav-expanded-width); background: var(--ak-nav-selected); color: var(--ak-nav-ink); }
  .ak-dock-link:hover .ak-dock-label { grid-template-columns: 1fr; opacity: 1; margin-left: 10px; }
  .ak-nav-dock:has(.ak-dock-link:hover) .ak-dock-link[aria-current]:not(:hover) { flex-basis: var(--ak-nav-icon-width); background: transparent; color: var(--ak-nav-muted); }
  .ak-nav-dock:has(.ak-dock-link:hover) .ak-dock-link[aria-current]:not(:hover) .ak-dock-label { grid-template-columns: 0fr; opacity: 0; margin-left: 0; }
  .ak-calculator-link:hover { box-shadow: 0 0 var(--ak-space-5) var(--ak-feature-glow); }
}

/* ---------- hero (solution-page) ---------- */
.hero { position: relative; overflow: hidden; padding-block: calc(var(--ak-header-height) + var(--ak-space-8)) var(--ak-section); background: radial-gradient(55% 65% at 82% 30%, var(--ak-solution-glow), transparent 70%), var(--ak-stage); }
.hero-simple { padding-bottom: var(--ak-space-8); background: radial-gradient(45% 80% at 85% 10%, var(--ak-solution-glow), transparent 70%), var(--ak-stage); }
.back, .primary-action, .text-action { display: inline-flex; align-items: center; gap: var(--ak-space-3); min-height: var(--ak-portfolio-control-size); font-weight: 600; text-decoration: none; }
.back { margin-bottom: var(--ak-space-7); color: var(--ak-muted); }
.back:hover { color: var(--ak-ink); }
.back .icon, .primary-action .icon, .text-action .icon { width: var(--ak-space-5); height: var(--ak-space-5); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(var(--ak-space-7), 6vw, var(--ak-space-9)); align-items: center; }
.hero-single .hero-copy h1 { max-width: 18ch; }
.hero-copy { display: grid; gap: var(--ak-space-5); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ak-space-3); color: var(--ak-muted); font-size: var(--ak-feature-note); letter-spacing: .12em; text-transform: uppercase; }
.pill { padding: var(--ak-space-1) var(--ak-space-3); border: 1px solid var(--ak-solution-line-strong); border-radius: 999px; color: var(--ak-ink); letter-spacing: .08em; }
.hero-copy h1 { max-width: 14ch; font-size: var(--ak-case-title); line-height: 1; letter-spacing: -.045em; hyphens: manual; overflow-wrap: break-word; }
.lead { max-width: 52ch; color: var(--ak-muted); font-size: var(--ak-case-lead); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ak-space-5); margin-top: var(--ak-space-1); }
.primary-action { min-height: var(--ak-solution-action-height); padding: var(--ak-space-3) var(--ak-space-5); border-radius: 999px; background: var(--ak-lime); color: var(--ak-carbon); transition: box-shadow var(--ak-fast), transform var(--ak-fast) var(--ak-ease); }
.primary-action:hover { box-shadow: 0 0 var(--ak-space-6) var(--ak-feature-glow); }
.primary-action:active { transform: translateY(var(--ak-solution-press)); }
.text-action { color: var(--ak-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.text-action:hover { text-decoration-thickness: 2px; }
.trust { display: flex; align-items: center; gap: var(--ak-space-3); color: var(--ak-muted); font-size: var(--ak-feature-body); }
.trust .icon { width: var(--ak-space-4); height: var(--ak-space-4); color: var(--ak-lime); }
.hero-figure { display: grid; gap: var(--ak-space-3); margin: 0; }
.hero-figure figcaption { color: var(--ak-muted); font-size: var(--ak-feature-note); }
.hero-image { display: block; width: 100%; height: auto; border: 1px solid var(--ak-solution-line-strong); border-radius: var(--ak-case-panel-radius); box-shadow: var(--ak-shadow); }


.hero-figure-link { display: block; color: inherit; text-decoration: none; }
.hero-figure-link:hover .hero-image { border-color: var(--ak-process-edge-hover); }

/* reference logos as a marquee (reference-marquee.module.css) */
.marken { display: grid; gap: var(--ak-space-6); margin-top: var(--ak-space-8); }
/* centred label between two hairlines, used above both logo strips */
.linien-titel { display: flex; align-items: center; gap: var(--ak-space-5); color: var(--ak-muted); font-size: var(--ak-feature-note); letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.linien-titel::before, .linien-titel::after { content: ""; flex: 1 1 0; min-width: var(--ak-space-5); height: 1px; background: var(--ak-solution-line); }
.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); padding-right: clamp(40px, 5vw, 72px); }
.marquee li { display: grid; place-items: center; width: clamp(140px, 13vw, 190px); height: 64px; }
.marquee img { max-width: 100%; max-height: 48px; object-fit: contain; filter: brightness(0) invert(.92); opacity: .7; transition: opacity var(--ak-fast); }
.marquee li:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* example view, drawn like /revenue-solutions/crm-setup.svg */
.ansicht { --lauf: 11s; padding: var(--ak-space-5); border: 1px solid var(--ak-solution-line-strong); border-radius: var(--ak-case-panel-radius); background: linear-gradient(180deg, #0c1213, #070a0b); box-shadow: var(--ak-shadow); }
.ansicht-kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--ak-space-3); margin-bottom: var(--ak-space-5); }
.ansicht-kopf strong { display: flex; align-items: center; gap: var(--ak-space-3); font-weight: 550; font-size: .9375rem; }
.ansicht-kopf .icon { color: var(--ak-lime); width: 18px; height: 18px; }
.ansicht-live { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; border: 1px solid var(--ak-feature-orbit-ink); border-radius: 999px; background: color-mix(in srgb, var(--ak-lime) 8%, var(--ak-stage)); color: var(--ak-lime); font-size: .6875rem; }
.ansicht-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ak-lime); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ak-lime) 60%, transparent); animation: puls 2s ease-out infinite; }
/* the run: a rail on the left, one row per step */
.ansicht-lauf { position: relative; display: grid; gap: var(--ak-space-2); }
.ansicht-lauf::before, .ansicht-lauf::after { content: ""; position: absolute; top: 22px; bottom: 22px; left: 22px; width: 2px; border-radius: 2px; background: var(--ak-feature-line); }
.ansicht-lauf::after { background: linear-gradient(var(--ak-lime), color-mix(in srgb, var(--ak-lime) 40%, transparent)); box-shadow: 0 0 12px var(--ak-feature-glow); transform-origin: top; animation: schiene var(--lauf) var(--ak-ease) infinite; }
.ansicht-lauf li { position: relative; z-index: 1; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: var(--ak-space-3); padding: 7px var(--ak-space-3) 7px 7px; border: 1px solid var(--ak-feature-line); border-radius: 12px; background: #0a0f10; animation: schritt var(--lauf) var(--ak-ease) infinite; animation-delay: calc(var(--i) * .9s); }
.ansicht-knoten { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--ak-solution-line-strong); border-radius: 50%; background: #0c1213; color: var(--ak-muted); animation: knoten var(--lauf) var(--ak-ease) infinite; animation-delay: inherit; }
.ansicht-knoten .icon { width: 14px; height: 14px; }
.ansicht-text { display: grid; gap: 1px; min-width: 0; }
.ansicht-text b { font-size: .6875rem; font-weight: 550; letter-spacing: .06em; text-transform: uppercase; color: var(--ak-muted); }
.ansicht-text span { font-size: .8125rem; line-height: 1.35; }
.ansicht-status { padding: 2px 10px; border: 1px solid var(--ak-solution-line-strong); border-radius: 999px; color: var(--ak-muted); font-size: .625rem; white-space: nowrap; animation: marke var(--lauf) var(--ak-ease) infinite; animation-delay: inherit; }
.ansicht-lauf li.ziel { border-color: var(--ak-feature-orbit-ink); }
/* the difference in one line each */
.ansicht-vergleich { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ak-space-2); margin-top: var(--ak-space-4); }
.ansicht-vergleich p { display: grid; gap: 2px; padding: var(--ak-space-3) var(--ak-space-4); border: 1px solid var(--ak-feature-line); border-radius: 12px; background: #0a0f10; font-size: .75rem; line-height: 1.4; }
.ansicht-vergleich b { font-size: .6875rem; font-weight: 550; letter-spacing: .06em; text-transform: uppercase; }
.ansicht-vergleich .ohne { color: var(--ak-muted); }
.ansicht-vergleich .ohne span { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ak-muted) 60%, transparent); }
.ansicht-vergleich .mit { border-color: var(--ak-feature-orbit-ink); background: color-mix(in srgb, var(--ak-lime) 7%, #0a0f10); }
.ansicht-vergleich .mit b { color: var(--ak-lime); }
@keyframes schritt { 0%, 4% { border-color: var(--ak-feature-line); background: #0a0f10; box-shadow: none; } 9%, 64% { border-color: var(--ak-feature-orbit-ink); background: color-mix(in srgb, var(--ak-lime) 6%, #0a0f10); box-shadow: inset 0 0 18px var(--ak-feature-ambient); } 76%, 100% { border-color: var(--ak-feature-line); background: #0a0f10; box-shadow: none; } }
@keyframes knoten { 0%, 4% { border-color: var(--ak-solution-line-strong); color: var(--ak-muted); box-shadow: none; } 9%, 64% { border-color: var(--ak-lime); color: var(--ak-lime); box-shadow: 0 0 14px var(--ak-feature-glow); } 76%, 100% { border-color: var(--ak-solution-line-strong); color: var(--ak-muted); box-shadow: none; } }
@keyframes marke { 0%, 4% { border-color: var(--ak-solution-line-strong); background: transparent; color: var(--ak-muted); } 9%, 64% { border-color: var(--ak-lime); background: var(--ak-lime); color: var(--ak-carbon); } 76%, 100% { border-color: var(--ak-solution-line-strong); background: transparent; color: var(--ak-muted); } }
@keyframes schiene { 0% { transform: scaleY(0); opacity: 1; } 42%, 70% { transform: scaleY(1); opacity: 1; } 84%, 100% { transform: scaleY(1); opacity: 0; } }
@keyframes puls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ak-lime) 55%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }

/* ---------- sections ---------- */
.section { padding-block: var(--ak-section); border-top: 1px solid var(--ak-solution-line); }
.section-head { display: grid; gap: var(--ak-space-4); max-width: var(--ak-heading-width); margin-bottom: var(--ak-space-7); }
.section-head h2 { font-size: var(--ak-case-section-title); letter-spacing: -.04em; }
.section-head p { max-width: 60ch; color: var(--ak-muted); font-size: var(--ak-hero-body); line-height: 1.65; }

.card { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--ak-solution-line); border-radius: var(--ak-feature-radius); background: var(--ak-feature-surface); color: var(--ak-ink); text-decoration: none; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, var(--ak-feature-ambient), transparent 65%); opacity: .6; transition: opacity var(--ak-feature-response) var(--ak-ease); }
.orb { display: grid; place-items: center; flex: none; width: var(--ak-feature-small-orb); height: var(--ak-feature-small-orb); border: 1px solid var(--ak-feature-orbit-line); border-radius: 50%; color: var(--ak-lime); box-shadow: 0 0 0 var(--ak-space-2) var(--ak-solution-orb-ring); }
.orb .icon { width: var(--ak-feature-small-icon); height: var(--ak-feature-small-icon); filter: drop-shadow(0 0 var(--ak-feature-glow-blur) var(--ak-feature-glow)); }
.orb-large { width: var(--ak-space-8); height: var(--ak-space-8); }
.orb-large .icon { width: var(--ak-space-6); height: var(--ak-space-6); stroke-width: 1.3; }
.round { display: grid; place-items: center; flex: none; width: var(--ak-solution-action-height); height: var(--ak-solution-action-height); border: 1px solid var(--ak-solution-line-strong); border-radius: 50%; transition: border-color var(--ak-fast), background var(--ak-fast), color var(--ak-fast); }
.round .icon { width: var(--ak-space-5); height: var(--ak-space-5); stroke-width: 1.5; }

/* 01 friction */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ak-space-3); }
.pains .card { display: grid; align-content: start; gap: var(--ak-space-4); padding: var(--ak-space-6); }
.pains h3 { margin-top: var(--ak-space-2); font-size: var(--ak-feature-heading); line-height: 1.25; letter-spacing: -.025em; }
.pains p { color: var(--ak-muted); font-size: var(--ak-feature-body); line-height: 1.6; }
.turn { max-width: 72ch; margin-top: var(--ak-space-6); padding: var(--ak-space-4) var(--ak-space-5); border-left: 2px solid var(--ak-lime); font-size: var(--ak-case-lead); line-height: 1.5; }

/* local economy */
.local { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(var(--ak-space-6), 5vw, var(--ak-space-9)); align-items: start; }
.prose { display: grid; gap: var(--ak-space-5); max-width: 68ch; color: var(--ak-muted); font-size: var(--ak-hero-body); line-height: 1.7; }
.prose h3 { margin-top: var(--ak-space-4); color: var(--ak-ink); font-size: var(--ak-feature-heading); line-height: 1.25; letter-spacing: -.025em; }
.quellen { padding: var(--ak-space-5); border: 1px solid var(--ak-solution-line); border-radius: var(--ak-feature-radius); background: var(--ak-feature-surface); }
.quellen p { margin-bottom: var(--ak-space-3); color: var(--ak-muted); font-size: var(--ak-feature-note); letter-spacing: .12em; text-transform: uppercase; }
.quellen ul { display: grid; gap: var(--ak-space-2); font-size: var(--ak-feature-body); line-height: 1.45; }
.quellen a { color: var(--ak-ink); text-underline-offset: 4px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(var(--ak-space-6), 5vw, var(--ak-space-9)); align-items: start; }
.split .section-head { margin-bottom: 0; }

/* services as image-led portfolio cards (linear-card.module.css) */
.portfolio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ak-space-3); }
.portfolio-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--ak-process-card-line); border-radius: var(--ak-portfolio-card-radius); background: var(--ak-feature-surface); color: var(--ak-paper); text-decoration: none; transition: border-color var(--ak-feature-response), box-shadow var(--ak-feature-response), translate var(--ak-feature-response) var(--ak-ease); }
.portfolio-bild { display: block; width: 100%; height: auto; aspect-ratio: 45 / 29; object-fit: cover; border-bottom: 1px solid var(--ak-feature-line); }
.portfolio-caption { display: flex; align-items: center; justify-content: space-between; gap: var(--ak-space-4); flex: 1; min-height: var(--ak-portfolio-caption-height); padding: var(--ak-space-5); background: radial-gradient(ellipse at top right, var(--ak-feature-ambient), transparent 75%); }
.portfolio-caption > span:first-child { display: grid; gap: var(--ak-space-1); }
.portfolio-caption strong { font-size: var(--ak-portfolio-card-title); font-weight: 550; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.portfolio-caption span span { color: var(--ak-muted); font-size: var(--ak-feature-body); line-height: 1.5; }
.portfolio-card .round { width: var(--ak-portfolio-control-size); height: var(--ak-portfolio-control-size); border-color: var(--ak-process-card-line); }
.mehr { margin-top: var(--ak-space-5); }
.systeme-zeile { display: grid; gap: var(--ak-space-6); margin-top: var(--ak-space-8); }
.systeme-zeile ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--ak-space-3); }
.systeme-zeile li { display: flex; align-items: center; justify-content: center; gap: var(--ak-space-3); min-height: 76px; padding: var(--ak-space-4); border: 1px solid var(--ak-solution-line); border-radius: var(--ak-feature-radius); background: var(--ak-feature-surface); color: var(--ak-ink); font-size: 1.0625rem; font-weight: 550; transition: border-color var(--ak-feature-response); }
.systeme-zeile img { flex: none; width: 32px; height: 32px; object-fit: contain; }
.systeme-zeile img.invert { filter: invert(1); }

/* process stack (revenue-story/process.module.css + cards-stack.module.css) */
.process { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: var(--ak-process-columns-gap); }
.process-intro .section-head { margin-bottom: 0; }
.process-stack { --stack-top: calc(var(--ak-header-height) + var(--ak-space-6)); position: relative; display: flex; flex-direction: column; gap: var(--ak-space-6); min-width: 0; }
.process-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: var(--ak-space-4); min-height: var(--ak-process-card-height); padding: var(--ak-process-card-padding); border: 1px solid var(--ak-process-card-line); border-radius: var(--ak-process-card-radius); background: linear-gradient(135deg, var(--ak-process-card-reflection), transparent 48%), var(--ak-feature-surface); box-shadow: var(--ak-process-card-shadow); scroll-margin-top: calc(var(--stack-top) + var(--stack-y, 0px)); transition: border-color var(--ak-feature-response) var(--ak-ease); }
.process-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 90% 30%, var(--ak-process-light), transparent 58%); opacity: .65; }
.process-card h3 { max-width: 21ch; padding-right: var(--ak-space-8); font-size: var(--ak-process-card-heading); font-weight: 650; line-height: 1.15; letter-spacing: -.03em; }
.process-card p { max-width: 52ch; color: var(--ak-muted); line-height: 1.7; }
.process-number { position: absolute; top: var(--ak-process-card-padding); right: var(--ak-process-card-padding); color: var(--ak-lime); font-size: var(--ak-process-number); font-weight: 650; line-height: 1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; text-shadow: 0 0 20px var(--ak-feature-glow); }
.process-motif { position: absolute; right: var(--ak-process-motif-inset); bottom: var(--ak-process-motif-inset); z-index: -1; width: var(--ak-process-motif-size); height: var(--ak-process-motif-size); color: var(--ak-lime); opacity: var(--ak-process-motif-opacity); transform: rotate(var(--ak-process-motif-angle)); mask-image: linear-gradient(135deg, transparent, black 65%); pointer-events: none; }
.process-motif .icon { width: 100%; height: 100%; stroke-width: .85; filter: drop-shadow(0 0 var(--ak-feature-glow-blur) var(--ak-feature-glow)); }
.owner { width: max-content; padding: 2px var(--ak-space-3); border: 1px solid var(--ak-solution-line); border-radius: 999px; color: var(--ak-muted); font-size: var(--ak-feature-note); letter-spacing: .1em; text-transform: uppercase; }
.owner[data-ak] { border-color: var(--ak-feature-orbit-ink); color: var(--ak-lime); }
@media (min-width: 1000px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
  .process:has([data-stack-ready]) .process-intro { position: sticky; top: var(--stack-top, calc(var(--ak-header-height) + var(--ak-space-6))); min-height: var(--stack-companion-height, 0px); }
  .process:has([data-stack-ready]) .process-intro .section-head { min-height: var(--stack-card-height, var(--ak-process-card-height)); align-content: center; }
  .process-stack[data-stack-ready] { perspective: var(--ak-process-perspective); padding-bottom: var(--ak-process-stack-tail); }
  .process-stack[data-stack-ready] > .process-card { position: sticky; top: calc(var(--stack-top) + var(--stack-y, 0px)); z-index: calc(var(--stack-index) + 1); transform: translateZ(var(--stack-z, 0px)); transform-origin: center top; backface-visibility: hidden; }
}

/* proof */
.proofs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ak-space-3); }
.proof { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--ak-space-5); padding: var(--ak-space-6); }
.proof > .round { align-self: end; }
.proof > span:first-child { display: grid; }
.proof-label { color: var(--ak-muted); font-size: var(--ak-feature-note); letter-spacing: .12em; text-transform: uppercase; }
.proof-number { margin-top: var(--ak-space-4); font-size: var(--ak-case-kpi); font-weight: 600; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.proof-what { margin-top: var(--ak-space-3); font-weight: 550; line-height: 1.35; }
.proof-context { max-width: 44ch; margin-top: var(--ak-space-2); color: var(--ak-muted); font-size: var(--ak-feature-body); }
.fine { max-width: 90ch; margin-top: var(--ak-space-5); color: var(--ak-muted); font-size: var(--ak-small); line-height: 1.6; }

/* frame */
.frame { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--ak-space-6); padding: var(--ak-space-6) var(--ak-space-7); }
.frame h2 { font-size: var(--ak-process-card-heading); letter-spacing: -.03em; line-height: 1.2; }
.frame p { max-width: 68ch; margin-top: var(--ak-space-2); color: var(--ak-muted); }

/* city paragraph on service pages */
.stadt-text { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(var(--ak-space-6), 6vw, var(--ak-space-9)); align-items: start; }
.stadt-text .section-head { margin-bottom: 0; }
.stadt-text p { padding: var(--ak-space-5) var(--ak-space-6); border-left: 2px solid var(--ak-lime); font-size: var(--ak-case-lead); line-height: 1.55; }

/* team */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--ak-space-3); }
.team-card { display: grid; justify-items: center; gap: var(--ak-space-1); padding: var(--ak-space-6) var(--ak-space-5); text-align: center; }
.team-card::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 72%; background: linear-gradient(0deg, #baca8733, #baca8708); pointer-events: none; }
.team-card img { width: 132px; height: 132px; margin-bottom: var(--ak-space-4); border: 1px solid var(--ak-feature-orbit-line); border-radius: 50%; object-fit: cover; box-shadow: 0 0 24px var(--ak-feature-glow); }
.team-card strong { font-weight: 600; }
.team-card span { color: var(--ak-muted); font-size: .875rem; }
.team-card { align-content: start; }
.team-linkedin { display: inline-flex; align-items: center; gap: var(--ak-space-2); margin-top: var(--ak-space-4); padding: 6px 14px; border: 1px solid var(--ak-solution-line-strong); border-radius: 999px; background: var(--ak-solution-chip-surface); color: var(--ak-ink); font-size: .8125rem; font-weight: 550; text-decoration: none; transition: border-color var(--ak-fast), color var(--ak-fast), background var(--ak-fast); }
.team-linkedin .icon { width: 14px; height: 14px; color: var(--ak-lime); }

/* questions: open list with a contact, no boxed accordion */
.fragen { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(var(--ak-space-6), 6vw, var(--ak-space-9)); align-items: start; }
.fragen-kopf { display: grid; gap: var(--ak-space-6); }
.fragen-kopf .section-head { margin-bottom: 0; }
.fragen-person { display: flex; align-items: center; gap: var(--ak-space-4); width: max-content; padding: var(--ak-space-3) var(--ak-space-5) var(--ak-space-3) var(--ak-space-3); border: 1px solid var(--ak-solution-line); border-radius: 999px; background: var(--ak-feature-surface); }
.fragen-person img { width: 56px; height: 56px; border: 1px solid var(--ak-feature-orbit-line); border-radius: 50%; object-fit: cover; }
.fragen-person span { display: grid; line-height: 1.35; }
.fragen-person strong { font-weight: 550; font-size: var(--ak-feature-body); }
.fragen-person a { color: var(--ak-lime); font-weight: 600; text-decoration: none; }
.fragen-liste { border-top: 1px solid var(--ak-solution-line-strong); }
.fragen-liste details { border-bottom: 1px solid var(--ak-solution-line-strong); }
.fragen-liste summary { display: flex; align-items: center; justify-content: space-between; gap: var(--ak-space-5); padding-block: var(--ak-space-5); font-size: var(--ak-feature-heading); font-weight: 550; line-height: 1.3; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.fragen-liste summary::-webkit-details-marker { display: none; }
.fragen-plus { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--ak-solution-line-strong); border-radius: 50%; color: var(--ak-lime); transition: transform var(--ak-fast) var(--ak-ease), background var(--ak-fast), color var(--ak-fast); }
.fragen-plus .icon { width: 18px; height: 18px; }
.fragen-liste details[data-closing] .fragen-plus { transform: none; border-color: var(--ak-solution-line-strong); background: transparent; color: var(--ak-lime); }
.fragen-liste details[data-closing] summary span:first-child { color: var(--ak-ink); }
.fragen-liste details[open]:not([data-closing]) .fragen-plus { transform: rotate(45deg); border-color: var(--ak-lime); background: var(--ak-lime); color: var(--ak-carbon); }
.fragen-antwort { overflow: hidden; }
.fragen-antwort p { max-width: 60ch; padding-bottom: var(--ak-space-5); color: var(--ak-muted); line-height: 1.65; }
.fragen-liste summary span:first-child { transition: color var(--ak-fast); }
.fragen-liste details[open] summary span:first-child { color: var(--ak-lime); }
.fragen-plus { transition: transform 360ms var(--ak-ease), background var(--ak-fast), border-color var(--ak-fast), color var(--ak-fast); }

/* local block */
.vorort { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(var(--ak-space-6), 6vw, var(--ak-space-9)); align-items: start; }
.vorort-kopf .section-head { margin-bottom: 0; }
.vorort-kopf .turn { margin-top: var(--ak-space-6); }
.vorort-liste { display: grid; gap: var(--ak-space-3); counter-reset: vorort; }
.vorort-liste li { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--ak-space-2) var(--ak-space-5); padding: var(--ak-space-5) var(--ak-space-6); border: 1px solid var(--ak-solution-line); border-radius: var(--ak-feature-radius); background: var(--ak-feature-surface); transition: border-color var(--ak-feature-response), box-shadow var(--ak-feature-response); }
.vorort-liste li::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 12% 0%, color-mix(in srgb, var(--ak-lime) 24%, transparent), transparent 72%), color-mix(in srgb, var(--ak-lime) 7%, transparent); opacity: 0; transition: opacity var(--ak-feature-response); }
.vorort-nr { grid-row: span 2; color: var(--ak-lime); font-size: var(--ak-feature-heading); font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.3; text-shadow: 0 0 20px var(--ak-feature-glow); }
.vorort-liste h3 { font-size: var(--ak-feature-heading); line-height: 1.3; letter-spacing: -.02em; }
.vorort-liste p { color: var(--ak-muted); font-size: var(--ak-feature-body); line-height: 1.6; }
.vorort-quellen { margin-top: var(--ak-space-4); color: var(--ak-muted); font-size: var(--ak-feature-note); line-height: 1.6; }
.vorort-quellen a { color: inherit; text-underline-offset: 3px; }
.vorort-quellen a:hover { color: var(--ak-ink); }

/* places */
.orte { display: flex; flex-wrap: wrap; gap: var(--ak-space-2); }
.orte a { display: inline-flex; align-items: center; gap: var(--ak-space-2); min-height: 44px; padding: var(--ak-space-2) var(--ak-space-4); border: 1px solid var(--ak-solution-line); border-radius: 999px; background: var(--ak-feature-surface); font-size: var(--ak-feature-body); text-decoration: none; transition: border-color var(--ak-fast); }
.orte .icon { color: var(--ak-lime); }
.orte a:hover { border-color: var(--ak-feature-orbit-ink); }

/* ---------- legal ---------- */
.legal { display: grid; gap: var(--ak-space-4); max-width: 72ch; color: var(--ak-muted); }
.legal h1 { margin-bottom: var(--ak-space-5); color: var(--ak-ink); font-size: var(--ak-case-title); line-height: 1; }
.legal h2 { margin-top: var(--ak-space-5); color: var(--ak-ink); font-size: var(--ak-feature-heading); letter-spacing: -.025em; line-height: 1.25; }

/* ---------- closing footer (reveal-footer.css) ---------- */
.ak-close {
  --ak-close-bg: color-mix(in srgb, var(--ak-carbon) 62%, #030607);
  --ak-close-ink: var(--ak-paper);
  --ak-close-muted: #a6afaa;
  --ak-close-grid-line: #f4f3ec07;
  --ak-close-grid-size: clamp(64px, 5.2vw, 100px);
  --ak-close-button-top: #1c2425;
  --ak-close-button-bottom: #101617;
  --ak-close-button-edge: #f4f3ec20;
  --ak-close-mark: #f4f3ec0b;
  --ak-close-mark-line: #f4f3ec05;
  --ak-close-inset: clamp(12px, 1.35vw, 24px);
  --ak-close-radius: 26px;
  --ak-close-padding: clamp(28px, 4.3vw, 80px);
  --ak-close-height: clamp(540px, 40.5vw, 740px);
  --ak-close-title: clamp(4.5rem, 6.8vw, 8.5rem);
  --ak-close-word-size: 86vw;
  --ak-close-control-height: clamp(72px, 5.4vw, 100px);
  --ak-close-control-width: clamp(286px, 23vw, 420px);
  --ak-close-action-gap: clamp(44px, 4.6vw, 80px);
  --ak-close-meta: .8125rem;
  --ak-close-duration: 220ms;
  --ak-close-button-shadow: 0 12px 28px #03060755, inset 0 1px 1px #f4f3ec13, inset 0 -2px 3px #03060766;
  position: relative; isolation: isolate; overflow: clip; padding: 0 var(--ak-close-inset) var(--ak-close-inset); background: var(--ak-stage); color: var(--ak-close-ink);
}
.ak-close-panel { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: var(--ak-close-height); padding: var(--ak-space-7) var(--ak-close-padding) var(--ak-space-6); overflow: hidden; border-radius: var(--ak-close-radius); background: radial-gradient(ellipse at 8% 0%, #f4f3ec08, transparent 53%), var(--ak-close-bg); box-shadow: inset 0 1px 0 #f4f3ec06; transform: translate3d(0, var(--ak-close-offset, 0px), 0); }
/* While the reveal moves the panel every scroll frame, its own layer spares the repaint of gradient, grid and wordmark. */
.ak-close[data-reveal="true"] .ak-close-panel { will-change: transform; }
.ak-header { transition: opacity var(--ak-nav-duration) var(--ak-ease), visibility var(--ak-nav-duration); }
.ak-site[data-footer-active] .ak-header, .ak-site[data-footer-active] .ak-nav-dock { opacity: 0; visibility: hidden; pointer-events: none; }
.ak-close-panel::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(var(--ak-close-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--ak-close-grid-line) 1px, transparent 1px); background-size: var(--ak-close-grid-size) var(--ak-close-grid-size); mask-image: linear-gradient(transparent, #000b 35%, #0008); pointer-events: none; }
.ak-close-wordmark { position: absolute; z-index: -1; top: 47%; left: -8%; right: -8%; bottom: -45%; overflow: hidden; text-align: center; font-size: var(--ak-close-word-size); font-weight: 900; letter-spacing: -.075em; line-height: .67; color: var(--ak-close-mark); -webkit-text-stroke: 1px var(--ak-close-mark-line); mask-image: linear-gradient(#000b, #0002 75%, transparent); pointer-events: none; user-select: none; }
.ak-close-navigation { position: relative; display: flex; align-items: center; justify-content: space-evenly; gap: clamp(24px, 3vw, 56px); min-height: 64px; margin-inline: calc(var(--ak-close-padding) * -1 - 24px); padding-inline: var(--ak-close-padding); border-block: 1px solid #f4f3ec08; background: #0a1011a6; color: var(--ak-close-muted); transform: rotate(-2deg); }
.ak-close-navigation a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(.8125rem, 1.05vw, 1.125rem); font-weight: 550; letter-spacing: .17em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.ak-close-invitation { position: relative; text-align: center; padding-top: var(--ak-space-5); }
.ak-close-invitation h2 { font-size: var(--ak-close-title); font-weight: 720; line-height: 1.05; letter-spacing: -.045em; color: var(--ak-close-ink); background: linear-gradient(180deg, var(--ak-paper) 28%, #abb3ae 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ak-close-actions { display: flex; justify-content: center; gap: var(--ak-space-5); margin-top: var(--ak-close-action-gap); }
.ak-close-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--ak-space-4); width: var(--ak-close-control-width); min-height: var(--ak-close-control-height); padding: var(--ak-space-4) var(--ak-space-6); border: 1px solid var(--ak-close-button-edge); border-radius: 999px; background: linear-gradient(155deg, var(--ak-close-button-top), var(--ak-close-button-bottom) 64%, #202829); box-shadow: var(--ak-close-button-shadow); color: var(--ak-close-ink); font-size: clamp(1.0625rem, 1.45vw, 1.625rem); font-weight: 550; line-height: 1.3; text-decoration: none; transition: border-color var(--ak-close-duration), transform var(--ak-close-duration) var(--ak-ease), box-shadow var(--ak-close-duration); }
.ak-close-button .icon { width: 26px; height: 26px; color: var(--ak-close-muted); }
.ak-close-button[data-primary] .icon { color: var(--ak-lime); }
.ak-close-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--ak-space-4); margin-top: var(--ak-space-6); }
.ak-close-legal a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: var(--ak-space-3) var(--ak-space-6); border: 1px solid var(--ak-close-button-edge); border-radius: 999px; background: linear-gradient(165deg, #182021, #0d1314); box-shadow: inset 0 1px 1px #f4f3ec0a; color: var(--ak-close-muted); font-size: clamp(.875rem, 1.15vw, 1.125rem); line-height: 1.3; text-decoration: none; }
.ak-close-topics { margin-top: var(--ak-space-5); color: var(--ak-close-muted); font-size: var(--ak-close-meta); line-height: 1.5; }
.ak-close-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--ak-space-5); margin-top: auto; padding-top: var(--ak-space-6); }
.ak-close-signature { display: flex; flex-direction: column; text-decoration: none; font-size: var(--ak-close-meta); font-weight: 550; letter-spacing: .08em; line-height: 1.8; text-transform: uppercase; }
.ak-close-signature span { color: var(--ak-close-muted); font-size: .6875rem; font-weight: 400; letter-spacing: .035em; text-transform: none; }
.ak-close-top { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--ak-close-button-edge); border-radius: 50%; background: linear-gradient(155deg, #182021, #0d1314); color: var(--ak-close-muted); box-shadow: inset 0 1px 1px #f4f3ec0a; }
.ak-close-top .icon { width: 22px; height: 22px; }

@media (hover: hover) and (pointer: fine) {
  a.card:hover::before { opacity: 1; }
  .proof:hover .round { border-color: var(--ak-lime); background: var(--ak-lime); color: var(--ak-carbon); }
  .portfolio-card:hover { border-color: var(--ak-process-edge-hover); box-shadow: var(--ak-portfolio-card-glow); translate: 0 -3px; }
  .portfolio-card:hover .round { border-color: var(--ak-process-edge-hover); color: var(--ak-lime); }
  .process-card:hover { border-color: var(--ak-process-edge-hover); }
  .vorort-liste li:hover { border-color: color-mix(in srgb, var(--ak-lime) 45%, var(--ak-process-card-line)); box-shadow: 0 0 40px color-mix(in srgb, var(--ak-lime) 16%, transparent), inset 0 0 28px color-mix(in srgb, var(--ak-lime) 8%, transparent); }
  .vorort-liste li:hover::before { opacity: 1; }
  .team-linkedin:hover { border-color: var(--ak-lime); background: var(--ak-lime); color: var(--ak-carbon); }
  .team-linkedin:hover .icon { color: var(--ak-carbon); }
  .systeme-zeile li:hover { border-color: var(--ak-process-edge-hover); }
  .process-card:hover .process-motif { animation: motif-shimmer 5s ease-in-out; }
  .ak-close-navigation a:hover, .ak-close-legal a:hover { color: var(--ak-close-ink); }
  .ak-close-button:hover { border-color: #f4f3ec3a; transform: translateY(-3px); box-shadow: 0 16px 32px #03060770, inset 0 1px 1px #f4f3ec21; }
  .ak-close-top:hover { color: var(--ak-lime); }
}
@keyframes motif-shimmer { 0%, 100% { opacity: var(--ak-process-motif-opacity); } 50% { opacity: var(--ak-process-motif-shine); } }

/* ---------- smaller screens: composed on their own, like the original ---------- */
@media (max-width: 1100px) {
  .ak-header { --ak-nav-side-width: auto; }
  .ak-brand small { display: none; }
  .portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .systeme-zeile ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hero-grid, .split, .process, .vorort, .fragen, .stadt-text { grid-template-columns: minmax(0, 1fr); }
  .split .section-head { margin-bottom: var(--ak-space-3); }
  .hero-copy h1 { max-width: 16ch; }
  .pains, .proofs { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { gap: var(--ak-space-7); }
  .process-card { min-height: 0; }
  .frame { grid-template-columns: minmax(0, 1fr); padding: var(--ak-space-6); }
}
@media (max-width: 899px) {
  :root { --ak-header-height: 72px; }
  .ak-header { top: 0; left: 0; display: flex; justify-content: space-between; width: 100%; padding: 10px 12px; transform: none; background: linear-gradient(#050708f2, #05070800); }
  .ak-brand { min-height: 48px; padding: 4px 14px 4px 10px; }
  .ak-calculator-link { min-height: 48px; padding: 8px 14px; }
  .ak-nav-dock { position: fixed; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; height: 56px; transform: translateX(-50%); }
  body { padding-bottom: 84px; }
  .ak-close { --ak-close-height: 640px; --ak-close-title: clamp(2.75rem, 11vw, 5rem); --ak-close-inset: 12px; --ak-close-padding: var(--ak-space-5); --ak-close-control-height: 60px; --ak-close-control-width: 100%; --ak-close-grid-size: 52px; --ak-close-word-size: 150vw; --ak-close-action-gap: var(--ak-space-6); }
  .ak-close-panel { transform: none; }
  .ak-close-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--ak-space-2); margin-inline: calc(var(--ak-close-padding) * -1); padding-inline: var(--ak-space-3); }
  .ak-close-navigation a { justify-content: center; font-size: .6875rem; letter-spacing: .01em; text-transform: none; }
  .ak-close-invitation { padding-top: var(--ak-space-6); }
  .ak-close-invitation h2 { max-width: 11ch; margin-inline: auto; }
  .ak-close-actions { flex-direction: column; align-items: center; gap: var(--ak-space-3); }
  .ak-close-button { max-width: 440px; font-size: 1rem; }
  .ak-close-legal { gap: var(--ak-space-2); }
  .ak-close-legal a { padding-inline: var(--ak-space-4); min-height: 46px; font-size: .75rem; }
}
@media (max-width: 600px) {
  .portfolio { grid-template-columns: minmax(0, 1fr); }
  .process-card { --ak-process-card-padding: var(--ak-space-5); }
  .process-card h3 { font-size: 1.25rem; }
  .process-number { font-size: 1.5rem; }
  .process-motif { width: 208px; height: 208px; }
}
@media (max-width: 560px) {
  .ak-brand span { font-size: .75rem; }
  .ak-calculator-link span { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .primary-action, .text-action { justify-content: center; }
  .proof, .pains .card { padding: var(--ak-space-5); }
  .ansicht { padding: var(--ak-space-4) var(--ak-space-3); }
  .ansicht-kopf strong { font-size: .875rem; }
  .ansicht-lauf li { grid-template-columns: 30px minmax(0, 1fr); }
  .ansicht-status { grid-column: 2; justify-self: start; }
  .ansicht-vergleich { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { padding: var(--ak-space-5) var(--ak-space-3); }
  .team-card img { width: 96px; height: 96px; }
  .vorort-liste li { padding: var(--ak-space-4) var(--ak-space-5); }
  .stadt-text p { padding: var(--ak-space-3) var(--ak-space-4); }
  .systeme-zeile ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ak-space-2); }
  .systeme-zeile li { min-height: 60px; padding: var(--ak-space-3); font-size: .9375rem; }
  .systeme-zeile li:last-child:nth-child(odd) { grid-column: span 2; }
  .systeme-zeile img { width: 26px; height: 26px; }
  .marquee li { width: 128px; height: 52px; }
  .marquee img { max-height: 40px; }
  .linien-titel { gap: var(--ak-space-3); }
  .fragen-person { width: 100%; border-radius: var(--ak-feature-radius); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee ul[aria-hidden] { display: none; }
  .ak-close-panel { transform: none; }
  /* the run is shown finished: every step lit, rail full */
  .ansicht-lauf li, .ansicht-knoten, .ansicht-status, .ansicht-lauf::after, .ansicht-live i { animation: none; }
  .ansicht-lauf li { border-color: var(--ak-feature-orbit-ink); }
  .ansicht-knoten { border-color: var(--ak-lime); color: var(--ak-lime); }
  .ansicht-status { border-color: var(--ak-lime); background: var(--ak-lime); color: var(--ak-carbon); }
}
@media (forced-colors: active) {
  .card, .portfolio-card, .process-card { border-color: CanvasText; }
  .card::before, .process-card::before, .process-motif, .ak-close-wordmark, .ak-close-panel::before { display: none; }
  .ak-close-invitation h2 { -webkit-text-fill-color: currentColor; background: none; }
}
