/* style.css */
/* ITC Lucke · lokaler Alternativentwurf „Gesprächsleitung“
   Eine Schriftfamilie (Chivo variabel, lokal), Kobalt als tragende Fläche, keine Laufzeitbibliothek. */

@font-face {
  font-family: "Chivo";
  src: url("fonts/chivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Ersatzschrift für den Moment vor dem Laden: Arial/Helvetica, auf die mittlere Zeichenbreite von Chivo skaliert
   (berechnet aus den Standard-Dickten, siehe qa/probe/ersatzschrift.mjs), damit der Schriftwechsel kaum Zeilen umbricht. */
@font-face {
  font-family: "Chivo Ersatz";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans"), local("Arimo");
  size-adjust: 105.5%;
}

:root {
  --cobalt: #244bcc;
  --cobalt-deep: #1a3799;
  --ink: #0f1830;
  --graphite: #161b24;
  --paper: #f6f7f9;
  --silver: #d5dcea;
  --warm: #f3ebe2;
  --warm-line: #d9cbbb;
  --slate: #4d5a70;
  --sky: #b9caff;
  --on-cobalt-soft: #d9e1fb;
  --on-ink-soft: #aeb9d1;

  --frame: clamp(1rem, 5.2vw, 3rem);
  --section: clamp(4.5rem, 11vw, 10rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --focus: var(--cobalt);
  --text: var(--graphite);
  --text-soft: var(--slate);
  --line: var(--silver);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  font-family: "Chivo", "Chivo Ersatz", Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
@media (min-width: 700px) { body { font-size: 1.125rem; } }

h1, h2, h3, p, dl, dd, ol, ul, figure, fieldset, address { margin: 0; padding: 0; }
ol, ul { list-style: none; }
address { font-style: normal; }
fieldset { border: 0; min-width: 0; }
svg { display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: 0; }

.frame { width: 100%; max-width: 100rem; margin-inline: auto; padding-inline: var(--frame); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }

.skip {
  position: absolute; left: var(--frame); top: .5rem; z-index: 10;
  padding: .75rem 1rem; background: #fff; color: var(--graphite);
  transform: translateY(-300%);
}
.skip:focus { transform: none; }

/* Flächen: jede Fläche setzt ihre eigenen Text-, Linien- und Fokusfarben. */
.on-cobalt { background: var(--cobalt); --text: #fff; --text-soft: var(--on-cobalt-soft); --line: rgba(255, 255, 255, .42); --control-line: rgba(255, 255, 255, .6); --focus: #fff; color: var(--text); }
.on-ink { background: var(--ink); --text: #f1f4fa; --text-soft: var(--on-ink-soft); --line: rgba(255, 255, 255, .2); --focus: #fff; color: var(--text); }
.on-warm { background: var(--warm); --line: var(--warm-line); --text-soft: #4b4f58; }

/* ---------- Kopf ---------- */
.review-note { padding: .4rem max(var(--frame), calc((100% - 100rem) / 2 + var(--frame))); background: var(--cobalt-deep); color: #fff; font-size: .8125rem; line-height: 1.4; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(1rem, 2.2vw, 1.6rem); }
.brand { display: inline-flex; flex-direction: column; justify-content: center; gap: .2rem; min-height: 2.75rem; text-decoration: none; white-space: nowrap; }
.brand-word { font-size: 1.75rem; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.brand-word i { font-style: normal; color: var(--sky); }
.brand-sub { font-size: .875rem; line-height: 1.1; color: var(--text-soft); }
@media (min-width: 760px) { .brand { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: .6rem; } }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); font-size: 1rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; white-space: nowrap; }
.site-nav a:not(.nav-cta) { display: none; }
@media (min-width: 760px) { .site-nav a:not(.nav-cta) { display: inline-flex; } }
.site-nav a:not(.nav-cta):hover { text-decoration: underline; text-decoration-thickness: 1px; }
.nav-cta { gap: .5rem; padding-inline: 1rem; border: 1px solid var(--control-line); transition: background-color .2s, color .2s, border-color .2s; }
.nav-cta:hover { background: #fff; color: var(--cobalt); border-color: #fff; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(1rem, 2.4vw, 2rem); overflow: hidden; }
.hero h1 {
  font-size: clamp(2.85rem, 15.4vw, 6.5rem);
  font-weight: 300;
  line-height: .93;
  letter-spacing: -.052em;
  margin-left: -.045em;
  white-space: nowrap;
}
.hero h1 .w { display: inline-block; }
.hero h1 .dot { color: var(--sky); transform-origin: 50% 88%; }
.hero h1 .br-wide { display: none; }
@media (min-width: 700px) {
  .hero h1 { font-size: clamp(5rem, 11.6vw, 13.5rem); line-height: .9; }
  .hero h1 .br-narrow { display: none; }
  .hero h1 .br-wide { display: inline; }
}

.hero-lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; margin-top: clamp(1.75rem, 2.6vw, 2.5rem); }
.hero-lead p { max-width: 19.5em; font-size: clamp(1.125rem, 1.55vw, 1.375rem); line-height: 1.45; color: var(--text); }
@media (min-width: 700px) {
  .hero-lead { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: clamp(.6rem, 4vw, 2.5rem);
  min-height: 3.5rem; padding: .75rem 1.25rem;
  background: #fff; color: var(--cobalt);
  font-weight: 600; text-decoration: none;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
}
.button .icon, .q .icon, .panel-link .icon, .mail-big .icon, .nav-cta .icon, .to-top .icon { transition: transform .35s var(--ease-out); }
.button:hover { background: var(--ink); color: #fff; }
.button:hover .icon, .nav-cta:hover .icon, .panel-link:hover .icon { transform: translateX(.3rem); }
.button:active { transform: scale(.985); }

/* Vier Fragen als Einstieg. Mobil gestapelte Zeilen, breit vier Spalten mit durchlaufenden Linien. */
.questions { display: grid; margin-top: clamp(2.5rem, 3.8vw, 3.5rem); }
.q {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .35rem 1rem;
  padding: 1.1rem 0 1.2rem; text-decoration: none;
  transition: color .3s var(--ease-out);
}
.q::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--line); transform-origin: left top; transition: background-color .25s; }
.q-topic { grid-column: 1 / -1; font-size: .9375rem; font-weight: 600; color: var(--text-soft); transition: color .3s var(--ease-out); }
.q-text { font-size: clamp(1.3rem, 5.6vw, 1.5rem); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }
.q .icon { width: 1.5rem; height: 1.5rem; margin-bottom: .1rem; }
.q:hover::before, .q:focus-visible::before { background: #fff; }
.q:hover .icon { transform: translateY(.3rem); }
.q:hover .q-topic { color: #fff; }
.q:active { color: var(--sky); }

@media (min-width: 900px) {
  .questions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .q { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: start; gap: .7rem; min-height: clamp(12.5rem, 15vw, 15rem); padding: 1.1rem 1.5rem 1.5rem; }
  .q::before { width: 1px; height: 100%; }
  .q::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-out); }
  .q-text { font-size: clamp(1.4rem, 2.05vw, 2rem); max-width: 10.7em; }
  .q .icon { align-self: end; }
  .q:focus-visible, .q:active { color: var(--cobalt); }
  .q:focus-visible::after, .q:active::after { transform: none; }
  .q:focus-visible .q-topic, .q:active .q-topic { color: var(--cobalt); }
}
/* Die weiße Füllung folgt dem Zeiger nur dort, wo es einen echten Zeiger gibt. Touch erhält sie beim Antippen. */
@media (min-width: 900px) and (hover: hover) {
  .q:hover { color: var(--cobalt); }
  .q:hover::after { transform: none; }
  .q:hover .q-topic { color: var(--cobalt); }
}

/* ---------- Ausgangslage ---------- */
.situation { padding-block: var(--section); }
.situation .frame { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.statements { font-size: clamp(1.75rem, 4.3vw, 3.9rem); font-weight: 300; line-height: 1.08; letter-spacing: -.035em; max-width: 15.1em; }
.statements .s { display: block; }
.statements .s + .s { margin-top: .55em; }
.situation .rest { max-width: 38rem; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; }
@media (min-width: 900px) {
  .statements { max-width: none; }
  .statements .s { max-width: 13.2em; }
  .statements .s:nth-child(2) { margin-left: 14%; }
  .statements .s:nth-child(3) { margin-left: 28%; }
  .situation .rest { margin-left: auto; width: 44%; max-width: none; }
}

/* ---------- Leistungen ---------- */
.services { padding-bottom: var(--section); }
.services > .frame { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.services > .frame::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); }
.h2 { font-size: clamp(2.1rem, 5vw, 4.25rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.services-aside .h2 { font-size: clamp(2.1rem, 4.2vw, 3.75rem); }
.services-aside > p { margin-top: 1.5rem; color: var(--text-soft); max-width: 15.1em; }
.index { margin-top: clamp(1.75rem, 3vw, 3rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.index a { display: flex; align-items: center; gap: .7rem; min-height: 2.75rem; font-size: 1rem; text-decoration: none; color: var(--text-soft); transition: color .2s; }
.index a::before { content: ""; width: .5rem; height: .5rem; flex: none; border: 1px solid currentColor; transition: background-color .2s, transform .3s var(--ease-out); }
.index a:hover, .index a[aria-current="true"] { color: var(--text); }
.index a[aria-current="true"]::before { background: var(--cobalt); border-color: var(--cobalt); transform: scale(1.5); }

.panel { container-type: inline-size; padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.panel:first-child { padding-top: 0; border-top: 0; }
.panel:last-child { padding-bottom: 0; }
.panel h3 { display: flex; align-items: center; gap: .7rem; font-size: 1rem; font-weight: 600; }
.panel h3::before { content: ""; width: .5rem; height: .5rem; background: var(--cobalt); }
.panel-grid { margin-top: .9rem; }
.question { font-size: clamp(1.9rem, 6.6cqi, 3.5rem); font-weight: 300; line-height: 1.02; letter-spacing: -.04em; color: var(--cobalt); max-width: 10.1em; text-wrap: balance; }
.diagram { width: 100%; max-width: 21rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); color: var(--graphite); }
.diagram svg { width: 100%; height: auto; overflow: visible; }
.diagram .ln { fill: none; stroke: currentColor; stroke-width: 1.5; }
.diagram .acc { stroke: var(--cobalt); }
.diagram .dash { stroke-dasharray: 5 5; }
.diagram .node { fill: var(--cobalt); }
.diagram .sq { fill: currentColor; }
.diagram text { font-size: 14px; font-weight: 500; fill: currentColor; }
.diagram text.acc-t { fill: var(--cobalt); font-weight: 600; }
.panel-text { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.panel-text p { max-width: 34rem; }
.panel-link { display: inline-flex; align-items: center; gap: .75rem; min-height: 2.75rem; margin-top: 1.25rem; font-weight: 600; color: var(--cobalt); text-decoration: none; }
.panel-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: .15em; }
.panel-link:hover span { background-size: 100% 2px; }
@container (min-width: 44rem) {
  .panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); column-gap: clamp(2rem, 7cqi, 5rem); align-items: start; }
  .panel-grid > * { grid-column: 1; }
  .panel-grid > .diagram { grid-column: 2; grid-row: 1 / span 2; margin-top: .5rem; }
}
@media (min-width: 1000px) {
  .services > .frame { grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); column-gap: clamp(3rem, 6vw, 7rem); }
  .services-aside { position: sticky; top: 2.5rem; align-self: start; }
  .index { grid-template-columns: 1fr; }
}

/* ---------- Arbeitsweise ---------- */
.approach { padding-block: var(--section); }
.approach .frame { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.approach .h2 { max-width: 7.6em; }
.approach-text p { max-width: 36rem; }
.approach-text p + p { margin-top: 1.5rem; }
.lead-q { display: block; margin-bottom: .7em; font-size: clamp(1.6rem, 3.3vw, 2.75rem); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--graphite); }
.facts > div { padding-block: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .9375rem; color: var(--text-soft); }
.facts dd { margin-top: .35rem; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; }
.facts small { display: block; margin-top: .6rem; font-size: .9375rem; font-weight: 400; line-height: 1.45; letter-spacing: 0; color: var(--text-soft); max-width: 17.6em; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div { padding: 1.5rem 2rem 0 0; border-bottom: 0; }
  .facts > div + div { padding-left: 2rem; border-left: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .approach .frame { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 7vw, 8rem); }
  .facts { grid-column: 1 / -1; margin-top: clamp(1rem, 3vw, 3rem); }
}

/* ---------- Einblicke ---------- */
.insights { padding-block: var(--section); }
.insights-head { display: grid; gap: 2rem; }
.insights-head p { max-width: 36rem; color: var(--text-soft); }
.cases { margin-top: clamp(3rem, 6vw, 5.5rem); }
.cases li { display: grid; gap: .75rem 2rem; padding-block: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.cases li:last-child { border-bottom: 1px solid var(--line); }
.case-title { font-size: clamp(2rem, 6vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; }
.case-text { max-width: 18.9em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.45; color: var(--text-soft); }
.insights .status { margin-top: 1.5rem; }
.status { font-size: .9375rem; line-height: 1.5; color: var(--text-soft); max-width: 44rem; }
@media (min-width: 1000px) {
  .insights-head, .cases li { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(3rem, 7vw, 8rem); align-items: end; }
}

/* ---------- Kontakt ---------- */
.contact { padding-block: var(--section) clamp(3rem, 6vw, 5rem); }
.contact .h2 { font-size: clamp(2.5rem, 8.2vw, 8rem); line-height: .95; letter-spacing: -.05em; max-width: 7.6em; margin-left: -.04em; }
.contact-intro { margin-top: clamp(1.75rem, 3vw, 3rem); max-width: 36rem; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; }
@media (min-width: 1000px) {
  .contact-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); column-gap: clamp(3rem, 6vw, 7rem); align-items: end; }
  .contact-intro { margin-top: 0; padding-bottom: .6rem; }
}
.chooser { margin-top: clamp(2.5rem, 5vw, 4rem); }
.chooser[hidden] { display: none; }
.chooser legend { padding: 0; font-weight: 600; }
.chooser legend small { display: block; margin-top: .2rem; font-size: .9375rem; font-weight: 400; color: var(--text-soft); }
.chips { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.875rem; padding: .5rem 1.1rem .5rem .9rem; border: 1px solid var(--control-line); transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.chip span::before { content: ""; width: .5rem; height: .5rem; border: 1px solid currentColor; transition: background-color .2s; }
.chip input:hover + span { border-color: #fff; }
.chip input:checked + span { background: #fff; color: var(--cobalt); border-color: #fff; }
.chip input:checked + span::before { background: var(--cobalt); border-color: var(--cobalt); }
.chip input:focus-visible + span { outline: 3px solid #fff; outline-offset: 4px; }
.chip input:active + span { transform: scale(.97); }
.subject { margin-top: 1rem; font-size: .9375rem; color: var(--text-soft); }
.subject output { color: var(--text); }

.mail-big {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-block: clamp(1rem, 2vw, 1.75rem);
  border-block: 1px solid var(--line);
  font-size: clamp(1.5rem, 8.2vw, 8.25rem); font-weight: 300; line-height: 1.05; letter-spacing: -.05em;
  text-decoration: none; white-space: nowrap;
  transition: border-color .25s;
}
.mail-big .icon { width: .62em; height: .62em; stroke-width: 1; }
.mail-big:hover { border-color: #fff; }
.mail-big:hover .icon { transform: translateX(.08em); }
.ways { display: grid; gap: 2rem; margin-top: clamp(2rem, 4vw, 3rem); }
.ways h3 { font-size: .9375rem; font-weight: 600; color: var(--text-soft); }
.ways a { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 300; letter-spacing: -.02em; text-decoration: none; }
.ways a span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.ways a:hover span { background-size: 100% 2px; }
.ways p { margin-top: .35rem; font-size: .9375rem; line-height: 1.5; color: var(--text-soft); max-width: 18.9em; }
@media (min-width: 760px) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); } }

/* ---------- Fuß ---------- */
.site-footer { padding-top: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-grid h2 { font-size: .9375rem; font-weight: 600; color: var(--text-soft); margin-bottom: .5rem; }
.footer-grid a { display: flex; align-items: center; width: fit-content; min-height: 2.75rem; }
.footer-grid .status { margin-top: .75rem; max-width: 21.4em; }
.to-top { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; text-decoration: none; font-weight: 600; }
.to-top:hover .icon { transform: translateY(-.3rem); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: clamp(2rem, 5vw, 5rem); align-items: start; } }
/* Wortmarke als SVG-Text: textLength passt sie in jeder Schrift exakt in die Inhaltsbreite ein (Maße: qa/probe/wortmarke.mjs). */
.wordmark { width: 100%; height: auto; margin-top: clamp(2.5rem, 6vw, 5rem); overflow: visible; user-select: none; }
.wordmark text { font-size: 357.5px; font-weight: 800; letter-spacing: -21.45px; fill: var(--graphite); }
.wordmark .dot { fill: var(--cobalt); }
.closing { padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
/* Bewusst kein content-visibility: auto. Es verkürzte die erste Layoutarbeit um rund ein Viertel, ließ aber
   Sprunglinks in WebKit bis zu 258 px neben dem Ziel landen (qa/revision/lauf3-content-visibility-ERGEBNIS.md). */

/* ---------- Bewegung: nur wenn nicht reduziert ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Ein einmaliger Auftakt im Hero. Reines CSS, Endzustand ist der Normalzustand. */
  .hero h1 .w { animation: word-rise 1s var(--ease-out) backwards; }
  .hero h1 .w:nth-of-type(1) { animation-delay: .08s; }
  .hero h1 .w:nth-of-type(2) { animation-delay: .14s; }
  .hero h1 .w:nth-of-type(3) { animation-delay: .2s; }
  .hero h1 .w:nth-of-type(4) { animation-delay: .26s; }
  .hero h1 .w:nth-of-type(5) { animation-delay: .32s; }
  .hero h1 .w:nth-of-type(6) { animation-delay: .38s; }
  .hero h1 .dot { animation: dot-in .7s cubic-bezier(.34, 1.56, .64, 1) 1.05s backwards; }
  .q::before { animation: draw-x .9s var(--ease-out) backwards; }
  .q > * { animation: soft-in .8s var(--ease-out) backwards; }
  .q:nth-child(1)::before { animation-delay: .7s; }  .q:nth-child(1) > * { animation-delay: .95s; }
  .q:nth-child(2)::before { animation-delay: .78s; } .q:nth-child(2) > * { animation-delay: 1.03s; }
  .q:nth-child(3)::before { animation-delay: .86s; } .q:nth-child(3) > * { animation-delay: 1.11s; }
  .q:nth-child(4)::before { animation-delay: .94s; } .q:nth-child(4) > * { animation-delay: 1.19s; }
  @media (min-width: 900px) { .q::before { animation-name: draw-y; } }

  /* Schemata zeichnen sich einmal, sobald sie sichtbar werden. Nur wenn das Skript sie vorbereitet hat. */
  .diagram.armed .ln:not(.dash) { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .diagram.armed .dash, .diagram.armed .node, .diagram.armed .sq, .diagram.armed text { opacity: 0; }
  .diagram.armed.in .ln:not(.dash) { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-out); }
  .diagram.armed.in .dash, .diagram.armed.in .node, .diagram.armed.in .sq, .diagram.armed.in text { opacity: 1; transition: opacity .6s .5s; }

  /* Lesefortschritt der drei Ausgangssätze und Auftritt der Wortmarke, an das Scrollen gebunden. */
  @supports (animation-timeline: view()) {
    .statements .s { animation: read-in linear both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
    .wordmark { animation: mark-in linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@keyframes word-rise { from { transform: translateY(100%); clip-path: inset(-10% -10% 100% -10%); } to { transform: none; clip-path: inset(-10% -10% -30% -10%); } }
@keyframes dot-in { from { transform: scale(0); } }
@keyframes soft-in { from { opacity: 0; transform: translateY(.75rem); } }
@keyframes soft-fade { from { opacity: 0; } }
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes draw-y { from { transform: scaleY(0); } }
@keyframes read-in { from { color: #7a859c; } to { color: var(--graphite); } }
@keyframes mark-in { from { transform: translateY(22%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

@media print {
  .review-note, .site-nav, .chooser, .skip { display: none; }
  .on-cobalt, .on-ink, .on-warm { background: #fff; color: #000; --text: #000; --text-soft: #333; --line: #999; }
}

/* pages.css */
/* ITC Lucke v3.1 · Ergänzungen für die Seite „Leistungen“ und ihre Verlinkung von der Startseite.
   style.css bleibt bytegleich mit v3.0; diese Datei wird danach geladen und fügt nur hinzu. */

/* ---------- Gemeinsam ---------- */
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; }

.tag { display: inline-flex; align-items: center; padding: .05rem .5rem; border: 1px solid currentColor; font-size: .8125rem; font-weight: 600; line-height: 1.4; color: var(--cobalt); }
.on-ink .tag { color: var(--sky); }

.footer-links { display: grid; align-content: start; }
.to-top--page:hover .icon { transform: translateX(.3rem); }

/* ---------- Startseite: Wege zur Seite Leistungen ---------- */
.panel-link--detail { margin-right: clamp(1.25rem, 3vw, 2.25rem); }
.panel-link--detail + .panel-link { margin-top: .25rem; }
.aside-link { margin-top: clamp(1.25rem, 2.5vw, 2rem); }
@container (min-width: 44rem) {
  .panel--teaser .panel-grid > .panel-text { grid-column: 2; grid-row: 1; margin-top: .6rem; }
}

/* ---------- Leistungen: Kopf ---------- */
.back { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; margin-bottom: clamp(.5rem, 1.4vw, 1.25rem); font-size: 1rem; color: var(--text-soft); text-decoration: none; transition: color .2s; }
.back .icon { transition: transform .35s var(--ease-out); }
.back:hover { color: #fff; }
.back:hover .icon { transform: translateX(-.3rem); }

.hero--sub h1 { font-size: clamp(2.3rem, 12.6vw, 5.25rem); }
.hero--sub .hero-lead p { max-width: 27em; }
@media (min-width: 700px) {
  .hero--sub h1 { font-size: clamp(3rem, 7.3vw, 8.75rem); line-height: .93; }
}

/* Fünf Fragen: zwischen 900 und 1100 px bleiben sie Zeilen, ab 1100 px fünf Spalten. */
@media (min-width: 900px) and (max-width: 1099.98px) {
  .questions--five { grid-template-columns: minmax(0, 1fr); }
  .questions--five .q { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; align-items: end; gap: .35rem 1rem; min-height: 0; padding: 1.1rem 1.5rem 1.2rem; }
  .questions--five .q::before { width: 100%; height: 1px; }
  .questions--five .q-text { max-width: none; font-size: 1.5rem; }
}
@media (min-width: 1100px) {
  .questions--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .questions--five .q { padding-inline: 1.15rem; }
  .questions--five .q-text { font-size: clamp(1.25rem, 1.72vw, 1.85rem); }
}

/* ---------- Leistungen: vier Bereiche auf Papier ---------- */
.services--page { padding-top: var(--section); }
.services--page > .frame::before { display: none; }
.services--page .services-aside > p { max-width: 22em; }

.panel-title { display: flex; align-items: center; gap: .7rem; font-size: 1rem; font-weight: 600; line-height: 1.6; }
.panel-title::before { content: ""; width: .5rem; height: .5rem; flex: none; background: var(--cobalt); }
.on-ink .panel-title::before { background: var(--sky); }

.topics { display: grid; margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--graphite); }
.topics > div { padding-block: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.topics dt { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.topics dd { margin-top: .35rem; font-size: 1rem; line-height: 1.5; color: var(--text-soft); }
.on-ink .topics { border-top-color: var(--text); }

.limit { max-width: 44rem; margin-top: clamp(1.5rem, 3vw, 2rem); padding: 1rem 1.15rem 1.1rem; border: 1px dashed var(--cobalt); font-size: 1rem; line-height: 1.5; }
.limit-label { display: block; margin-bottom: .25rem; font-size: .9375rem; font-weight: 600; color: var(--cobalt); }
.on-ink .limit { border-color: var(--sky); }
.on-ink .limit-label { color: var(--sky); }

.panel-grid > .panel-link { justify-self: start; }
@container (min-width: 44rem) {
  .panel-grid > .topics, .panel-grid > .limit, .panel-grid > .panel-link { grid-column: 1 / -1; }
  .panel-grid > .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panel-grid > .topics > div { padding: 1.1rem 1.5rem .25rem 0; border-bottom: 0; }
  .panel-grid > .topics > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}

/* ---------- Leistungen: KI-Agenten auf Tinte ---------- */
.agents { padding-block: var(--section); scroll-margin-top: 0; }
.agents-head { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.agents .question { margin-top: .9rem; max-width: 9.6em; font-size: clamp(2.1rem, 6.4vw, 5.25rem); line-height: 1; color: var(--sky); }
.agents-lead { max-width: 36rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; }
.agents .diagram { margin-top: 0; color: var(--text); }
.agents .diagram .acc { stroke: var(--sky); }
.agents .diagram .node { fill: var(--sky); }
.agents .diagram text.acc-t { fill: var(--sky); }
.agents-cols { display: grid; gap: 2.25rem; margin-top: clamp(3rem, 6vw, 5rem); }
.agents-cols > div { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.agents-cols h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.agents-cols p { max-width: 34rem; margin-top: 1rem; color: var(--text-soft); }
.agents .topics { margin-top: clamp(3rem, 6vw, 5rem); }
.agents .panel-link { margin-top: 1.5rem; color: #fff; }
@media (min-width: 760px) {
  .agents-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
}
@media (min-width: 900px) {
  .topics--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .topics--four > div { padding: 1.1rem 1.5rem .25rem 0; border-bottom: 0; }
  .topics--four > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .agents-head { grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); column-gap: clamp(3rem, 7vw, 8rem); align-items: end; }
}

/* ---------- Leistungen: Rückweg auf Wärme ---------- */
.onward { padding-block: clamp(4rem, 8vw, 7rem); }
.onward .frame { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.onward .h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); line-height: 1.04; }
.onward-text p { max-width: 36rem; }
.onward-links { margin-top: 1.75rem; border-top: 1px solid var(--graphite); }
.onward-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding-block: .6rem; border-bottom: 1px solid var(--line); font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 300; line-height: 1.2; letter-spacing: -.02em; text-decoration: none; transition: color .2s; }
.onward-links a .icon { transition: transform .35s var(--ease-out); }
.onward-links a:hover { color: var(--cobalt); }
.onward-links a:hover .icon { transform: translateX(.3rem); }
@media (min-width: 1000px) {
  .onward .frame { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 7vw, 8rem); }
}

/* ---------- Leistungen: Kontakt ---------- */
.contact--sub .h2 { max-width: 9.4em; font-size: clamp(2.4rem, 6.6vw, 6.5rem); }

/* ---------- Bewegung und Druck ---------- */
@media (prefers-reduced-motion: no-preference) {
  .q:nth-child(5)::before { animation-delay: 1.02s; }
  .q:nth-child(5) > * { animation-delay: 1.27s; }
}
@media print {
  .back { display: none; }
}

/* portfolio.css */
/* ITC Lucke v3.2 · Ergänzungen für die Seite „Portfolio“ und ihre Verlinkung von der Startseite.
   style.css und pages.css bleiben bytegleich mit v3.1; diese Datei wird danach geladen und fügt nur hinzu.
   Die Seite Leistungen lädt diese Datei nicht. */

/* ---------- Gemeinsam ---------- */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Startseite: Weg zum Portfolio ---------- */
.aside-link { display: flex; width: fit-content; }
.aside-link--next { margin-top: 0; }

/* ---------- Portfolio: Kopf ---------- */
.hero--work { padding-bottom: clamp(3rem, 6vw, 5rem); }

/* ---------- Portfolio: Filter und Karten ---------- */
.work { padding-block: clamp(3rem, 6.5vw, 5.5rem) var(--section); }
.work-set { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: clamp(1.5rem, 3.4vw, 3rem); scroll-margin-top: 1rem; }
.work-set > .panel-title, .work-set > .projects, .work-set > .empty, .work-set > .work-note { flex: 0 0 100%; }
.work-set > .panel-title { margin-bottom: .5rem; }

/* Die Auswahl ist eine Gruppe von Optionsfeldern. Sie filtert auch ohne Skript: Jedes Feld steht vor seinem Etikett und vor der Liste.
   Die unsichtbaren Felder liegen fest am Kopf des Blocks: Ohne top/left läge ihre Ausgangsposition am unteren Rand des Flex-Containers,
   und der Browser würde beim Fokussieren ans Ende der Kartenliste springen. */
.f { position: absolute; top: 2.25rem; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.tab {
  position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
  flex: 0 0 100%; min-height: 3.25rem; padding: .8rem 0 .85rem;
  border-top: 1px solid var(--line);
  font-size: 1.375rem; font-weight: 300; line-height: 1.15; letter-spacing: -.025em;
  color: var(--text-soft); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: color .2s;
}
.tab-name { display: inline-flex; align-items: center; gap: .7rem; }
.tab-name::before { content: ""; width: .5rem; height: .5rem; flex: none; border: 1px solid currentColor; transition: background-color .2s, transform .3s var(--ease-out); }
.tab-count { font-size: .9375rem; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.tab:hover { color: var(--text); }
.tab:active { color: var(--cobalt); }
.f:checked + .tab { color: var(--cobalt); }
.f:checked + .tab .tab-name::before { background: var(--cobalt); border-color: var(--cobalt); transform: scale(1.5); }
.f:focus-visible + .tab { outline: 3px solid var(--focus); outline-offset: 4px; }

@media (min-width: 620px) {
  .tab { flex: 0 0 auto; justify-content: flex-start; padding: .6rem 0 1.05rem; border-top: 0; font-size: clamp(1.5rem, 2.7vw, 2.4rem); letter-spacing: -.035em; }
  .tab-name::before { display: none; }
  .tab-count { align-self: flex-start; margin-top: .15em; font-size: .8125rem; }
  /* Kobaltlinie unter dem aktiven Eintrag; sie liegt auf der Haarlinie der Liste. */
  .tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--cobalt); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out); }
  .f:checked + .tab::after { transform: none; }
}

.projects { display: grid; gap: clamp(3.25rem, 6vw, 5.5rem) clamp(2rem, 4.6vw, 4.5rem); padding-top: clamp(2rem, 4.5vw, 4rem); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.project { container-type: inline-size; min-width: 0; }
.project article { display: grid; }
.project h3 { margin-top: 1.4rem; font-size: clamp(1.8rem, 7.4cqi, 2.75rem); font-weight: 300; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }

/* Bildbühne: das Bildschirmfoto steht als Fenster auf Tinte und läuft unten aus der Fläche. */
.shot { order: -1; }
.shot-stage { padding: 7.5% 8.5% 0; background: var(--ink); overflow: hidden; }
.shot-window { margin-bottom: -1rem; border: 1px solid rgba(255, 255, 255, .3); border-bottom: 0; background: var(--ink); transition: transform .6s var(--ease-out); }
.shot-bar { display: flex; align-items: center; gap: .3rem; height: 1.5rem; padding-inline: .6rem; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.shot-bar i { width: .375rem; height: .375rem; background: rgba(255, 255, 255, .5); }
.shot-bar i:first-child { background: var(--sky); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; object-position: 50% 0; background: var(--silver); }
.shot figcaption { margin-top: .65rem; font-size: .8125rem; line-height: 1.4; color: var(--text-soft); }
@media (hover: hover) { .project:hover .shot-window { transform: translateY(-.6rem); } }

.fields { margin-top: 1.25rem; border-top: 1px solid var(--graphite); }
.fields > div { display: grid; gap: .3rem 1.25rem; padding-block: .95rem 1.05rem; border-bottom: 1px solid var(--line); }
.fields dt { font-size: .9375rem; font-weight: 600; line-height: 1.6; }
.fields dd { font-size: 1rem; line-height: 1.5; }
.fields dd p + p { margin-top: .55em; }
.client { font-weight: 600; }
.client-line { display: block; color: var(--text-soft); }
.skills { display: flex; flex-wrap: wrap; gap: .25rem 1.15rem; }
.skills li { display: inline-flex; align-items: center; gap: .5rem; }
.skills li::before { content: ""; width: .375rem; height: .375rem; flex: none; background: var(--cobalt); }
@container (min-width: 30rem) {
  .fields > div { grid-template-columns: 8.25rem minmax(0, 1fr); }
}
.project .panel-link { justify-self: start; margin-top: 1rem; }
.project .panel-link:hover .icon { transform: translate(.2rem, -.2rem); }

/* Leeranzeige: gestrichelt wie jede offene Frage in den Schemata. Sichtbar nur, wenn ihre Kategorie gewählt ist. */
.empty { display: none; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.25rem); border: 1px dashed var(--cobalt); }
.empty .diagram { max-width: 13rem; margin-top: 0; }
.empty h3 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 300; line-height: 1.04; letter-spacing: -.04em; color: var(--cobalt); text-wrap: balance; }
.empty p { max-width: 34rem; margin-top: 1rem; }
@media (min-width: 760px) { .empty { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); } }

.work-note { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Filterregeln: beim Build aus src/projects.mjs erzeugt, je Kategorie eine Zeile ---------- */
#f-websites:checked ~ .projects > li:not([data-cat~="websites"]) { display: none; }
#f-server:checked ~ .projects > li:not([data-cat~="server"]) { display: none; }
#f-server:checked ~ .empty-server { display: grid; }

/* ---------- Bewegung und Druck ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Erst nach der ersten Auswahl (Klasse durch portfolio.js): Karten und Leeranzeige treten leise ein. Beim Laden bewegt sich nichts. */
  .work-set[data-run="a"] .project, .work-set[data-run="a"] .empty { animation: card-in-a .5s var(--ease-out) backwards; }
  .work-set[data-run="b"] .project, .work-set[data-run="b"] .empty { animation: card-in-b .5s var(--ease-out) backwards; }
  .work-set[data-run] .project:nth-child(2) { animation-delay: .05s; }
  .work-set[data-run] .project:nth-child(3) { animation-delay: .1s; }
  .work-set[data-run] .project:nth-child(4) { animation-delay: .15s; }
  .work-set[data-run] .project:nth-child(n+5) { animation-delay: .2s; }
}
@keyframes card-in-a { from { opacity: 0; transform: translateY(.75rem); } }
@keyframes card-in-b { from { opacity: 0; transform: translateY(.75rem); } }
@media print {
  .f, .tab { display: none; }
  .empty { display: none !important; }
  .project { break-inside: avoid; }
}

/* nav.css */
/* ITC Lucke v3.4 · einheitliche Kopfnavigation auf jeder Seite: Leistungen, Portfolio, Kontakt.
   Maßgebliche Regel: PROJEKTREGELN.md im Projektstamm, Regel R-01 „Kopfnavigation“, Version 2.
   style.css und pages.css bleiben bytegleich mit v3.1. Diese Datei wird auf jeder Seite zuletzt geladen
   und ist die einzige Stelle mit Gestaltungsregeln, die den Kopf ergänzen. Das Verhalten steht in nav.js. */

/* Ab 760 px: drei Einträge in einer Zeile (style.css). Darunter gilt einer der beiden Blöcke weiter unten. */
.site-nav a:not(.nav-cta) { display: inline-flex; }

/* Menüknopf. Im HTML trägt er das Attribut hidden; sichtbar wird er nur unter 760 px und nur, wenn nav.js
   läuft (Klasse nav-js am html-Element). Ohne Skript oder ohne Stylesheet bleibt er verborgen. */
.nav-toggle {
  display: none; align-items: center; gap: .6rem; min-height: 2.75rem; margin: 0; padding: 0 .9rem;
  border: 1px solid var(--control-line); border-radius: 0; background: none; color: inherit;
  font: inherit; font-size: 1rem; line-height: 1; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color .2s, color .2s, border-color .2s;
}
.nav-toggle .icon path { transform-box: view-box; transform-origin: 50% 50%; transition: transform .3s var(--ease-out); }
.nav-toggle[aria-expanded="true"] { background: #fff; color: var(--cobalt); border-color: #fff; }
.nav-toggle[aria-expanded="true"] .icon path:first-child { transform: rotate(45deg) translateY(3px); }
.nav-toggle[aria-expanded="true"] .icon path:last-child { transform: rotate(-45deg) translateY(-3px); }
@media (hover: hover) { .nav-toggle:hover { background: #fff; color: var(--cobalt); border-color: #fff; } }

/* Unter 760 px mit Skript: Marke links, Menüknopf ganz rechts. Die drei Einträge stehen nicht im Kopf,
   sondern klappen unter der Kopfzeile auf, jeder als eigene Zeile über die ganze Breite. */
@media (max-width: 759.98px) {
  .nav-js .site-header { flex-wrap: wrap; row-gap: 0; }
  .nav-js .nav-toggle { display: inline-flex; }
  .nav-js .site-nav { display: none; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 1rem; border-bottom: 1px solid var(--line); font-size: 1.375rem; letter-spacing: -.01em; }
  .nav-js .nav-toggle[aria-expanded="true"] + .site-nav { display: flex; }
  .nav-js .site-nav a, .nav-js .site-nav a.nav-cta { justify-content: space-between; gap: 1rem; min-height: 3.75rem; padding: 0; border: 0; border-top: 1px solid var(--line); white-space: normal; }
  .nav-js .site-nav a.nav-cta:hover { background: none; color: inherit; }
  .nav-js .site-nav a.nav-cta .icon { margin-right: -.2em; }
  .nav-js .site-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
  .nav-js .site-nav a[aria-current="page"] { text-underline-offset: .3em; }
}
@media (max-width: 759.98px) and (prefers-reduced-motion: no-preference) {
  .nav-js .nav-toggle[aria-expanded="true"] + .site-nav a { animation: nav-in .45s var(--ease-out) backwards; }
  .nav-js .nav-toggle[aria-expanded="true"] + .site-nav a:nth-child(2) { animation-delay: .05s; }
  .nav-js .nav-toggle[aria-expanded="true"] + .site-nav a:nth-child(3) { animation-delay: .1s; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-.5rem); } }

/* Unter 480 px ohne Skript (Rückfall, Stand v3.3): Marke in der ersten Zeile, darunter die drei Einträge,
   Leistungen und Portfolio links, Kontakt rechts. Zwischen 480 und 760 px passen sie in eine Zeile. */
@media (max-width: 479.98px) {
  html:not(.nav-js) .site-header { flex-wrap: wrap; row-gap: .5rem; padding-bottom: .5rem; }
  html:not(.nav-js) .site-nav { flex: 0 0 100%; flex-wrap: wrap; gap: 0 1rem; padding-top: .5rem; border-top: 1px solid var(--line); font-size: .9375rem; }
  html:not(.nav-js) .site-nav .nav-cta { margin-left: auto; gap: .4rem; padding-inline: .7rem; }
}

@media print { .nav-toggle { display: none !important; } }

/* R-01 v3, only this development build: four links. */
.site-nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:.3em}
@media(max-width:759.98px){html:not(.nav-js) .site-header{flex-wrap:wrap}html:not(.nav-js) .site-nav{flex:0 0 100%;flex-wrap:wrap;gap:0 1rem}}
@media(max-width:359px){html:not(.nav-js) .site-nav .nav-cta{margin-left:0}}
@media(prefers-reduced-motion:no-preference){.nav-js .nav-toggle[aria-expanded="true"] + .site-nav a:nth-child(4){animation-delay:.15s}}

/* bilingual.css */
/* Only global language control and legal draft status. Approved CSS unchanged. */
.global-language{display:flex;align-items:center;gap:0;margin-left:auto;flex-shrink:0;font-size:.875rem;letter-spacing:0}
.global-language a{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;text-decoration:none;color:inherit}
.global-language a[aria-current="page"]{text-decoration:underline;text-underline-offset:.35em;font-weight:700}
.global-language a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.legal-draft{margin:1rem auto;padding:.75rem 1rem;max-width:80rem;border:1px solid currentColor;font-size:.875rem}
@media(min-width:760px){.site-header{column-gap:1.5rem}.global-language{order:3;margin-left:0}.site-nav{margin-left:auto}}
@media(max-width:759.98px){.site-header{column-gap:.5rem}.site-header .brand{margin-right:auto}.global-language{margin-left:0}.nav-toggle{margin-left:0}.global-language a{min-width:2.25rem}.nav-toggle{padding-inline:.65rem}}
@media(max-width:359px){.site-header .brand-type{font-size:.6rem}.site-header .brand{gap:.35rem}.global-language a{min-width:1.95rem}.nav-toggle{font-size:.875rem;padding-inline:.5rem;gap:.35rem}}
:root:focus-within{scroll-behavior:auto}

/* revision.css */
/* Scoped refinement. All incumbent stylesheets remain byte-identical. */
.revision-marketing .hero h1,.photo-hero h1 {font-size:clamp(2.125rem,3.62vw,3.25rem);line-height:1.08;letter-spacing:-.035em;max-width:19em;text-wrap:balance}
.revision-marketing .h2 {font-size:clamp(1.6875rem,2.4vw,2.125rem);line-height:1.18;letter-spacing:-.025em;text-wrap:balance}
.revision-marketing .panel h3,.revision-marketing .panel-title {font-size:clamp(1.5rem,2.1vw,1.875rem);line-height:1.2;letter-spacing:-.02em}
.revision-marketing .hero {padding-block:clamp(3rem,6vw,5rem)}
.photo-hero {background:var(--ink);color:#fff;--focus:#fff;--text:#fff;--text-soft:#d9e1fb;--line:rgba(255,255,255,.42)}
.photo-stage {position:relative;max-width:100rem;margin-inline:auto}
.photo-copy {padding:3rem var(--frame);position:relative;z-index:1}
.photo-copy .hero-lead {display:block;margin-top:1.75rem;max-width:28em}
.photo-copy .hero-lead p {max-width:27em;color:#fff;font-size:1.125rem;line-height:1.55}
.photo-copy .button {margin-top:1.5rem;color:var(--ink);background:#fff;border-color:#fff}
.photo-copy .button:hover {background:var(--paper);color:var(--ink)}
.photo-hero h1 .dot {color:inherit}
.photo-hero .w {opacity:1;transform:none}
.revision-image {display:block;width:100%;height:auto;aspect-ratio:16/9}
.photo-caption {font-size:.8125rem;line-height:1.5;padding:.65rem var(--frame);color:#d9e1fb;max-width:100rem;margin:auto}
.photo-hero .questions {margin-top:0;padding-block:1.75rem}
.service-photo {margin:2rem 0 0;width:100%;max-width:60rem}
.service-photo figcaption {font-size:.8125rem;line-height:1.5;margin-top:.65rem;color:var(--text-soft)}
.footer-signature {display:flex;align-items:baseline;gap:.6rem;margin-top:2.5rem;padding-block:1.25rem;color:inherit}
.footer-signature>span {font-size:1.75rem;font-weight:800;line-height:1.05;letter-spacing:-.035em}
.footer-signature>small {font-size:.8125rem;font-weight:400;line-height:1.3}
@media(min-width:1100px){
 .photo-stage {aspect-ratio:16/9;display:flex;align-items:center}
 .photo-stage>.revision-image {position:absolute;inset:0;z-index:0}
 .photo-stage::after {content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(15,24,48,.97) 0%,rgba(15,24,48,.90) 36%,rgba(15,24,48,.25) 58%,transparent 73%);pointer-events:none}
 .photo-copy {width:39%;padding-block:2rem}
 .photo-copy .hero-lead p {font-size:1.0625rem}
 .photo-copy h1 {max-width:9em}
}
@media(max-width:759px){
 .photo-copy {padding-block:2.5rem}
 .photo-copy h1 {font-size:2.125rem;max-width:14em}
 .photo-copy .hero-lead {margin-top:1.25rem}
 .photo-copy .hero-lead p {font-size:1rem}
 .footer-signature>span {font-size:1.625rem}
 .footer-signature>small {font-size:.6875rem}
}

/* refinement.css */
/* Focused refinement; all inherited stylesheets, images and scripts are immutable. */
:root:focus-within {scroll-behavior:auto}
/* A quieter editorial introduction, no stepped display or scroll fading. */
.situation {padding-block:clamp(3rem,6vw,5.5rem)}
.situation .frame {gap:2rem}
.situation .statements {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,4vw,4rem);font-size:clamp(1.125rem,1.65vw,1.5rem);font-weight:400;line-height:1.45;letter-spacing:-.015em;max-width:none}
.situation .statements .s {max-width:none;margin:0;opacity:1;animation:none;color:var(--graphite)}
.situation .rest {width:auto;max-width:48em;margin:0;font-size:1.0625rem;line-height:1.6}
/* Real article previews: one link per item, a restrained change in surface on interaction. */
.insights {padding-block:clamp(3rem,6vw,5rem)}
.insights .insights-head {display:flex;align-items:baseline;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.insights .insights-head .h2 {max-width:none}
.insights-all {display:inline-flex;align-items:center;min-height:44px;text-underline-offset:.3em;text-decoration-thickness:1px}
.insight-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.75rem;list-style:none;padding:0}
.insight-grid li {min-width:0}
.insight-preview {display:flex;flex-direction:column;align-items:start;height:100%;gap:.875rem;padding:clamp(1.25rem,2.8vw,2.25rem);background:#182440;color:#f1f4fa;text-decoration:none;transition:background-color 160ms ease-out}
.insight-preview time {color:#c6d2ee;font-size:.875rem;font-variant-numeric:tabular-nums}
.insight-preview h3 {font-size:clamp(1.1875rem,1.7vw,1.5rem);font-weight:500;line-height:1.3;letter-spacing:-.02em;max-width:30em;text-wrap:pretty}
.insight-preview p {font-size:1rem;line-height:1.55;max-width:40em;color:#dce5f7}
.insight-read {margin-top:auto;padding-top:.5rem;font-size:.9375rem;text-decoration:underline;text-underline-offset:.3em}
.insight-preview:hover {background:#223355}
.insight-preview:focus-visible,.insights-all:focus-visible {outline:3px solid #fff;outline-offset:4px}
/* Contact is an invitation, not a second display hero. Native checkbox semantics stay intact. */
.contact {padding-block:clamp(3rem,6vw,5rem)}
.contact .chooser {margin-top:2rem;max-width:64rem}
.contact .chips {gap:.25rem 1.5rem;margin-top:.75rem}
.contact .chip {min-width:0}
.contact .chip span {min-height:48px;border:0;border-bottom:2px solid transparent;padding:.625rem .25rem;gap:.625rem;font-size:1rem;line-height:1.4;transition:background-color 160ms ease-out,color 160ms ease-out}
.contact .chip span::before {width:1rem;height:1rem;flex-shrink:0;border:1px solid #fff;background:transparent;border-radius:2px}
.contact .chip input:hover + span {background:#1a3799}
.contact .chip input:checked + span {color:#fff;background:transparent;border-bottom-color:#fff}
.contact .chip input:checked + span::before {background:#fff;border-color:#fff}
.contact .chip input:checked:hover + span {background:#1a3799}
.contact .chip input:focus-visible + span {outline:3px solid #fff;outline-offset:3px}
.contact .chip input:active + span {transform:none}
.contact .subject {font-size:.875rem;margin-top:.75rem;min-height:1.5em;overflow-wrap:anywhere}
.contact .mail-big {display:flex;width:fit-content;max-width:100%;min-height:56px;gap:1.75rem;margin-top:1.5rem;padding:.75rem 0;border:0;font-size:clamp(1.25rem,2.6vw,2.25rem);font-weight:400;line-height:1.25;letter-spacing:-.025em;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.25em;white-space:normal;overflow-wrap:anywhere}
.contact .mail-big .icon {width:24px;height:24px;flex-shrink:0;stroke-width:1.5}
.contact .mail-big:hover {color:#e0e8ff}
.contact .ways {margin-top:1.5rem}
/* Only the bottom brand field turns dark blue; the useful link footer remains paper. */
.footer-brand-band {margin-top:clamp(2.5rem,5vw,4.5rem);padding-block:clamp(1.5rem,3vw,3rem);background:#0f1830;color:#f1f4fa}
.footer-wordmark {display:block;width:100%;height:auto;overflow:visible;font-family:Chivo,sans-serif;letter-spacing:-.025em}
@media(max-width:759px){
 .situation .statements {grid-template-columns:1fr;gap:1.25rem;font-size:1.1875rem}
 .situation .rest {font-size:1rem}
 .insight-grid {grid-template-columns:1fr}
 .insight-preview {padding:1.5rem;gap:.75rem}
 .contact .chips {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem 1rem}
 .contact .chip span {width:100%;font-size:.9375rem}
 .contact .chip {display:flex}
 .footer-brand-band {padding-block:1.5rem}
}
@media(max-width:359px){.contact .chips {grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.insight-preview,.contact .chip span {transition:none}}

/* footer-clean.css */
/* Operator-approved footer surface alignment. Geometry, content and targets unchanged. */
.site-footer {background:#0f1830;color:#f1f4fa;--text:#f1f4fa;--text-soft:#c6d2ee;--line:#8799be;--focus:#f1f4fa}
.site-footer a {color:inherit;text-underline-offset:.25em}
.site-footer a:hover {color:#c6d2ee}
.site-footer a:focus-visible {outline:3px solid #f1f4fa;outline-offset:4px}

/* contact-clean.css */
/* Scoped contact refinement. Inherited styles and behavior remain unchanged. */
.contact-clean {padding-block:clamp(2.5rem,5vw,4.5rem)}
.contact-clean > .frame {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:clamp(2rem,6vw,6rem);align-items:start}
.contact-clean .contact-head {display:block}
.contact-clean .h2 {font-size:clamp(1.75rem,2.8vw,2.5rem);line-height:1.15;letter-spacing:-.025em;max-width:13em;margin:0;text-wrap:balance}
.contact-clean .contact-intro {font-size:1.0625rem;line-height:1.55;margin:1rem 0 0;padding:0;max-width:25em}
.contact-clean .contact-actions {min-width:0}
.contact-clean .chooser {margin:0;max-width:none;min-width:0;border:0;padding:0}
.contact-clean .chooser legend {font-size:.9375rem;font-weight:400;color:#fff}
.contact-clean .chooser legend small {display:inline;margin:0 0 0 .4em;font-size:.875rem;color:#e0e8ff}
.contact-clean .chips {display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}
.contact-clean .chip {display:inline-flex;min-width:0}
.contact-clean .chip span {min-height:44px;padding:.5rem .75rem;gap:.5rem;border:1px solid #93abea;border-radius:4px;font-size:.875rem;line-height:1.35;transition:background-color 150ms ease-out,color 150ms ease-out}
.contact-clean .chip span::before {width:.5rem;height:.5rem;border:1px solid currentColor;border-radius:50%;background:transparent}
.contact-clean .chip input:checked + span {background:#fff;color:#244bcc;border-color:#fff}
.contact-clean .chip input:checked + span::before {background:currentColor;border-color:currentColor}
.contact-clean .chip input:hover + span {background:#1a3799;border-color:#fff;color:#fff}
.contact-clean .chip input:checked:hover + span {background:#e0e8ff;color:#244bcc}
.contact-clean .chip input:focus-visible + span {outline:3px solid #fff;outline-offset:3px}
.contact-clean .subject {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.contact-clean .mail-big {display:flex;align-items:center;justify-content:space-between;width:100%;max-width:none;margin:1.5rem 0 0;padding:0 0 1rem;min-height:60px;gap:1rem;border:0;border-bottom:1px solid #93abea;font-size:clamp(1.375rem,2.4vw,2rem);font-weight:400;line-height:1.3;letter-spacing:-.025em;text-decoration:none;overflow-wrap:anywhere}
.contact-clean .mail-big .icon {width:24px;height:24px;flex-shrink:0;transition:none}
.contact-clean .mail-big:hover .icon {transform:none}
.contact-clean .mail-big:hover span {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.contact-clean .mail-note {margin:.65rem 0 0;font-size:.875rem;line-height:1.5;color:#e0e8ff}
.contact-clean .ways {display:flex;flex-wrap:wrap;gap:.25rem 2rem;align-items:baseline;margin:1.25rem 0 0}
.contact-clean .ways a {display:inline-flex;align-items:center;gap:.5rem;min-height:44px;font-size:1rem;font-weight:400;letter-spacing:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.25em}
.contact-clean .ways a span {background:none}
.contact-clean .ways .icon {width:16px;height:16px}
.contact-clean .external-note {margin:.25rem 0 0;font-size:.875rem;line-height:1.5;color:#e0e8ff;max-width:36em}
.contact-clean a:focus-visible {outline:3px solid #fff;outline-offset:4px}
@media(max-width:759px){
 .contact-clean > .frame {grid-template-columns:1fr;gap:1.75rem}
 .contact-clean .h2 {max-width:15em}
 .contact-clean .contact-intro {font-size:1rem;margin-top:.75rem;max-width:30em}
 .contact-clean .mail-big {margin-top:1.25rem}
 .contact-clean .chooser legend small {display:block;margin:.2rem 0 0}
 .contact-clean .ways {gap:0 1.25rem;margin-top:1rem}
}
@media(prefers-reduced-motion:reduce){.contact-clean .chip span {transition:none}}

/* release.css */
.insight-latest {grid-column:1 / -1}
.insight-latest > .insight-preview {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(1.5rem,3vw,3rem);align-items:center}
.insight-image {display:block;width:100%;height:auto;aspect-ratio:1800 / 1012;object-fit:contain}
.insight-latest-copy {display:flex;flex-direction:column;align-items:start;gap:.875rem;min-width:0}
@media(max-width:759px){.insight-latest > .insight-preview {grid-template-columns:1fr;gap:1.25rem}
 /* Reserve the unchanged HermesVI image height before decoding. */
 .blog-page .featured-visual > a {aspect-ratio:1800 / 1012}
}
/* nav.js establishes nav-js synchronously in head. Keep native open no-JS
   fallback, but prevent the initially open mobile contents from flashing. */
@media(max-width:999px){html.nav-js .privacy-page:not(.privacy-enhanced) .legal-toc .privacy-links {display:none}}

/* V2.0.1 local roles: do not affect DE, blog typography or legal copy. */
html[lang="en"] .approach #approach-title {max-width:none;overflow-wrap:normal;hyphens:none}
.footer-grid .external-note {max-width:30em;margin-top:.75rem;font-size:.875rem;line-height:1.6;color:inherit;text-decoration:none}
.portfolio-source-note {font-size:.9375rem;line-height:1.6;max-width:35em;margin-top:1rem}
