/* Ruhrstack: eigenes Stilblatt. Bootstrap liegt darunter und wird nicht angefasst. */

/* === Grundwerte === */

:root {
    /* Farben */
    --color-ink: #141414;
    --color-deep: #0b0b0b;
    --color-paper: #ffffff;
    --color-cream: #ffffff;
    --color-canvas: #ffffff;
    --color-surface: #f8f8f8;
    --color-coral: #ff5e5b;
    --color-yellow: #ffed66;
    --color-sage: #b8c897;
    --color-muted: #202020ff;
    --color-quiet: #a6a6a6;
    --color-soft-line: #202020ff;
    --color-danger: #a51f24;
    /* Schrift */
    --font-mono: "Google Sans Code", ui-monospace, "Cascadia Mono", Consolas, monospace;
    /* Mittlere Zeichenbreite im deutschen Satz. Ueberschriften rechnen damit statt mit ch. */
    --zeichenmass: 0.77em;
    --font-display: "Google Sans Code", ui-monospace, "Cascadia Mono", Consolas, monospace;
    --font-body: "Google Sans Code", ui-monospace, "Cascadia Mono", Consolas, monospace;
    /* Zeilenhoehe und Laufweite */
    --display-line-height: 1.0;
    --leading-body: 1.5;
    --tracking-display: -0.028em;
    --tracking-text: -0.011em;
    /* Schriftgroessen */
    --step--2: 0.625rem;
    --step--1: 0.75rem;
    --step-0: clamp(0.9rem, 0.86rem + 0.14vw, 0.9375rem);
    --step-1: clamp(1rem, 0.94rem + 0.24vw, 1.125rem);
    --step-2: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
    --step-3: clamp(1.85rem, 1.3rem + 1.7vw, 2.5rem);
    --step-4: clamp(2.2rem, 1.4rem + 2.6vw, 3.5rem);
    --step-5: clamp(2.9rem, 8.6vw, 8.5rem);
    --display-xl: clamp(2.9rem, 8.6vw, 8.5rem);
    /* Abstaende */
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4.5rem;
    --space-8: 7rem;
    --space-section: clamp(6rem, 10vw, 12rem);
    --space-heading-copy: clamp(1.5rem, 2.6vw, 2.75rem);
    --space-heading-copy-compact: clamp(1.5rem, 1.8vw, 2rem);
    --site-gutter: 17px;
    --grid-gap: 16px;
    --kinetic-gutter: clamp(0.5rem, 1.3889vw, 1.667rem);
    /* Linien, Radien, Seitenmasse */
    --line: 1px solid var(--color-soft-line);
    --line-strong: 1px solid var(--color-ink);
    --line-on-dark: 1px solid rgb(255 255 255 / 16%);
    --content-max: 1920px;
    --measure: 66ch;
    --header-height: 52px;
    --radius-media: 6px;
    --radius-panel: 10px;
    --radius-control: 2px;
    /* Zeiten und Kurven */
    --duration-fast: 160ms;
    --duration-base: 420ms;
    --duration-slow: 900ms;
    --ease-cut: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-snap: cubic-bezier(0.68, -0.1, 0.32, 1.1);
    --kinetic-outer: clamp(1rem, 2.7778vw, 3.333rem);
    --expo-out: cubic-bezier(0.19, 1, 0.22, 1);
    --quad-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --quad-inout: cubic-bezier(0.455, 0.03, 0.515, 0.955);
    /* Weitere */
    /* Luft zwischen Kopfleiste und erstem Inhalt einer Seite. */
    --cover-space-top: clamp(2.75rem, 4.5vw, 4.5rem);
    --scroll-accent: var(--color-coral);
}

.color-coral {
    --item-color: var(--color-coral);
    --principle-color: var(--color-coral);
    --project-color: var(--color-coral);
    --team-color: var(--color-coral);
    --feature-color: var(--color-coral);
    --bar-color: var(--color-coral);
    --theme: var(--color-coral);
}

.color-yellow {
    --item-color: var(--color-yellow);
    --principle-color: var(--color-yellow);
    --project-color: var(--color-yellow);
    --team-color: var(--color-yellow);
    --feature-color: var(--color-yellow);
    --bar-color: var(--color-yellow);
    --theme: var(--color-yellow);
}

.color-sage {
    --item-color: var(--color-sage);
    --principle-color: var(--color-sage);
    --project-color: var(--color-sage);
    --team-color: var(--color-sage);
    --feature-color: var(--color-sage);
    --bar-color: var(--color-sage);
    --theme: var(--color-sage);
}

.color-surface {
    --item-color: var(--color-surface);
    --principle-color: var(--color-surface);
    --project-color: var(--color-surface);
    --team-color: var(--color-surface);
    --feature-color: var(--color-surface);
    --bar-color: var(--color-surface);
    --theme: var(--color-surface);
}

.color-paper {
    --item-color: var(--color-paper);
    --principle-color: var(--color-paper);
    --project-color: var(--color-paper);
    --team-color: var(--color-paper);
    --feature-color: var(--color-paper);
    --bar-color: var(--color-paper);
    --theme: var(--color-paper);
}

.color-ink {
    --item-color: var(--color-ink);
    --principle-color: var(--color-ink);
    --project-color: var(--color-ink);
    --team-color: var(--color-ink);
    --feature-color: var(--color-ink);
    --bar-color: var(--color-ink);
    --theme: var(--color-ink);
}

@media (max-width: 767.98px) {

    :root {
        --site-gutter: 16px;
        --space-section: clamp(4.5rem, 18vw, 6.5rem);
    }
}

/* === Grundlagen === */

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

body.menu-open {
    overflow: hidden;
}

/* Menue offen: der Body scrollt nicht mehr, deshalb muss die Leiste fest stehen. */
body.menu-open .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}

img,
svg,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

a {
    color: currentColor;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-thickness: 0.08em;
}

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

button,
[type="button"],
[type="submit"] {
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--color-ink);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px var(--color-yellow);
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
    margin-top: 0;
}

/* Scrollleiste ausblenden. Rad und Tastatur bleiben unveraendert. */
html {
    color-scheme: light;
    overflow-x: clip;
    /* Kein Gummiband am Seitenanfang. */
    overscroll-behavior-y: none;
    scroll-behavior: smooth;
    scroll-padding-block-start: var(--scroll-lock-offset, var(--header-height));
    scrollbar-gutter: stable;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 0;
    font-family: var(--font-display);
    font-weight: 400;
    /* Nur an gesetzten weichen Trennstrichen trennen: Chrome bringt kein deutsches Woerterbuch mit. */
    hyphens: manual;
    letter-spacing: var(--tracking-display);
    line-height: var(--display-line-height);
    overflow-wrap: break-word;
    text-wrap: balance;
}

/* Unterlaengen bleiben trotz enger Zeilenhoehe in der Box. */

h1 {
    font-size: var(--step-5);
}

h2 {
    font-size: var(--step-4);
}

h3 {
    font-size: var(--step-2);
    line-height: 1;
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
    margin-bottom: 0;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.65rem 0.9rem;
    border: var(--line-strong);
    border-radius: var(--radius-control);
    color: var(--color-ink);
    background: var(--color-yellow);
    font-weight: 600;
    transform: translateY(-180%);
    transition: transform var(--duration-fast) ease;
}

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

.eyebrow,
.technical-label,
.section-index,
.tag,
.breadcrumb,
.field-hint,
.footer-kicker {
    font-family: var(--font-body);
    font-size: var(--step--1);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.lede {
    max-width: 54ch;
    font-size: var(--step-1);
    line-height: 1.42;
}

.copy {
    max-width: var(--measure);
}

/* Seitenkopf auf heller Flaeche, Markenton nur ueber --accent. */
.theme-coral {
    --theme: var(--color-surface);
    --accent: var(--color-coral);
}

.theme-yellow {
    --theme: var(--color-surface);
    --accent: var(--color-yellow);
}

.theme-sage {
    --theme: var(--color-surface);
    --accent: var(--color-sage);
}

.theme-paper {
    --theme: var(--color-paper);
}

/* Ink nur als Akzent, nicht als ganze Flaeche. */
.theme-ink {
    --theme: var(--color-surface);
}

.theme-kernpfad {
    --theme: var(--color-sage);
    --color-muted: var(--color-ink);
}

@media (max-width: 480px) {

    h1 {
        font-size: clamp(3rem, 13.8vw, 4.25rem);
        overflow-wrap: anywhere;
    }

    h2 {
        font-size: clamp(2.55rem, 12vw, 3.75rem);
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

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

/* === Raster und Sektionen === */

.site-shell {
    --bs-gutter-x: 0;
    width: min(100%, var(--content-max));
    margin-inline: auto;
    padding-inline: 0;
    background: var(--color-paper);
}

.section {
    position: relative;
    padding: var(--space-section) var(--site-gutter);
}

/* Genau eine Bildschirmhoehe, Inhalt mittig. Passt er nicht, waechst die Sektion. */
.section.section--screen {
    display: flex;
    min-height: calc(100svh - var(--header-height));
    padding-block: clamp(2rem, 4.5vh, 4.5rem);
    flex-direction: column;
    justify-content: center;
}

.section.section--screen > .section-heading {
    margin-bottom: clamp(1.75rem, 3vh, 3rem);
}

.section.section--screen .button-row {
    margin-top: clamp(1.1rem, 2.4vh, 1.75rem);
}

/* Zusaetzlich gegen die Fensterhoehe gedeckelt: Schriftgroessen skalieren sonst nur mit der Breite. */
.section.section--screen .section-heading h2 {
    font-size: min(clamp(1.75rem, 3.1vw, 3rem), 5.4vh);
}

.section.section--screen .section-heading__copy {
    font-size: min(1rem, 2vh);
}

/* Auch die Innenabstaende gegen die Hoehe deckeln. */
.section.section--screen .team-card {
    --team-card-padding: min(clamp(1.25rem, 2.2vw, 2rem), 2.5vh);
}

.section.section--screen .team-card__focus {
    margin-top: min(clamp(1rem, 1.7vw, 1.5rem), 1.8vh);
}

.section.section--screen .team-card__mark-stage {
    padding-top: min(clamp(0.9rem, 1.6vw, 1.5rem), 1.6vh);
}

.section + .section {
    border-top: var(--line);
}

.section--tight {
    padding-block: clamp(3.5rem, 6vw, 6rem);
}

.section--ink {
    color: var(--color-paper);
    background: var(--color-ink);
    --color-muted: rgb(255 255 255 / 72%);
    --color-soft-line: rgb(255 255 255 / 18%);
}

/* Markenfarben nur als Akzent, nicht als ganze Sektionsflaeche. */
.section--coral,
.section--yellow,
.section--sage,
.section--surface {
    background: var(--color-surface);
}

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

.section-heading,
.editorial-section-head {
    display: grid;
    grid-template-columns: minmax(7rem, 0.26fr) minmax(0, 1fr);
    gap: var(--grid-gap) clamp(1.5rem, 4vw, 5rem);
    align-items: start;
    margin-bottom: clamp(2.5rem, 4.5vw, 4.5rem);
}

.section-heading > *,
.editorial-section-head > *,
.split > *,
.legal-layout > * {
    min-width: 0;
}

.section-heading h2,
.editorial-section-head h2 {
    max-width: 22ch;
    margin: 0;
    font-size: clamp(1.75rem, 3.1vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.018em;
    line-height: 1.05;
}

.section-heading__copy,
.editorial-section-head__copy {
    max-width: 48ch;
    margin: var(--space-heading-copy) 0 0;
    font-size: var(--step-1);
    line-height: 1.4;
}

.editorial-section-head {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.62fr) auto;
    padding-top: 0.9rem;
    border-top: var(--line);
}

.editorial-section-head h2 {
    max-width: none;
    font-size: clamp(1.84rem, 2.99vw, 3.26rem);
    line-height: 0.96;
}

.editorial-section-head > :last-child:not(:first-child),
.editorial-section-head__meta {
    margin: 0;
    align-self: start;
    font-size: var(--step--1);
    white-space: nowrap;
}

.editorial-section-head__copy {
    max-width: 50ch;
    grid-column: 2;
}

.editorial-section-head__copy p {
    margin-bottom: 0.65rem;
}

.editorial-section-head__copy strong {
    font-weight: 500;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 7vw, 8rem);
    align-items: start;
}

.split--bordered {
    padding-block: clamp(2rem, 4vw, 4rem);
    border-top: var(--line);
    border-bottom: var(--line);
}

.split--bordered > * {
    padding: 0;
}

.split--bordered > * + * {
    padding-left: clamp(1.5rem, 4vw, 4rem);
    border-left: var(--line);
}

.split--bordered h2 {
    max-width: 100%;
    margin-bottom: var(--space-heading-copy-compact);
    font-size: var(--step-3);
    line-height: 0.98;
}

.sticky-aside {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(13rem, 0.28fr) minmax(0, 1fr);
    gap: clamp(3rem, 8vw, 9rem);
    align-items: start;
}

.legal-content {
    max-width: 76ch;
}

.legal-content h2 {
    max-width: 100%;
    margin-top: clamp(3.5rem, 7vw, 6.5rem);
    margin-bottom: var(--space-heading-copy);
    padding-top: 1rem;
    border-top: var(--line);
    font-size: clamp(1.36rem, 2.24vw, 2.45rem);
    line-height: 1;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    margin-top: 2.5rem;
    margin-bottom: var(--space-heading-copy-compact);
    font-family: var(--font-body);
    font-size: var(--step-1);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.legal-content p,
.legal-content li {
    line-height: 1.65;
}

.legal-content a {
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {

    .section-heading {
        grid-template-columns: 1fr;
    }

    .section-heading__copy {
        margin-left: 0;
    }

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

    .editorial-section-head__copy {
        grid-column: 1;
    }

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

    .split--bordered > * + * {
        padding-top: clamp(1.5rem, 4vw, 3rem);
        padding-left: 0;
        border-top: var(--line);
        border-left: 0;
    }

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

    .sticky-aside {
        position: static;
        padding-bottom: 2rem;
        border-bottom: var(--line);
    }
}

@media (max-width: 767.98px) {

    .section-heading,
    .editorial-section-head {
        grid-template-columns: 1fr;
        margin-bottom: clamp(2.75rem, 14vw, 4.5rem);
    }

    .section-heading h2,
    .editorial-section-head h2 {
        max-width: none;
        font-size: clamp(1.73rem, 8.16vw, 3.06rem);
    }

    .editorial-section-head > :last-child:not(:first-child),
    .editorial-section-head__meta {
        grid-row: 1;
        justify-self: end;
    }

    .editorial-section-head h2 {
        grid-row: 2;
    }

    .editorial-section-head__copy {
        grid-column: 1;
        grid-row: auto;
    }
}

/* === Bauteile === */

.site-header {
    position: sticky;
    z-index: 800;
    top: 0;
    height: var(--header-height);
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(12px);
    /* Oben nichts, beim Scrollen ein flacher Schatten. */
    box-shadow: 0 0 0 0 rgb(20 20 20 / 0%);
    transition: box-shadow 260ms var(--ease-cut);
}

@media (prefers-reduced-motion: reduce) {

    .site-header {
        transition: none;
    }
}

.site-header__inner {
    display: flex;
    /* Ohne content-max: Logo und Menue stehen immer am Rand. */
    width: 100%;
    height: 100%;
    padding-inline: var(--site-gutter);
    align-items: center;
}

.brand {
    display: inline-flex;
    min-width: 0;
    padding: 0;
    align-items: center;
    gap: 0.65rem;
    color: var(--color-ink);
    text-decoration: none;
}

.logo-cycle {
    position: relative;
    display: block;
    aspect-ratio: 436 / 445;
    isolation: isolate;
}

.logo-cycle__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.98);
}

.logo-cycle__image.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

.brand__mark {
    flex: 0 0 auto;
    width: auto;
    height: 30px;
}

/* Hoehe so gewaehlt, dass der Schriftzug optisch auf der Bildmarke sitzt. */
.brand__name {
    display: block;
    width: auto;
    height: 1.2rem;
}

.menu-toggle {
    display: inline-flex;
    width: auto;
    min-height: 36px;
    margin-left: auto;
    padding: 0;
    border: 0;
    align-items: center;
    gap: 0.65rem;
    background: transparent;
    font-size: 0.72rem;
    font-weight: 400;
}

.menu-toggle::before {
    display: none;
    content: none;
}

.menu-toggle__label {
    display: inline-block;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
    display: block;
    width: 18px;
    height: 1px;
    margin-inline: auto;
    background: var(--color-ink);
    content: "";
    transition: transform var(--duration-base) var(--ease-cut), opacity var(--duration-fast) ease;
}

.menu-toggle__lines::before {
    transform: translateY(-5px);
}

.menu-toggle__lines::after {
    transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
    transform: translateY(1px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    transform: translateY(0) rotate(-45deg);
}

.nav-drawer {
    position: fixed;
    z-index: 750;
    inset: var(--header-height) 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.34fr);
    color: var(--color-paper);
    background: var(--color-ink);
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    visibility: hidden;
    transition: clip-path 620ms var(--ease-cut), visibility 620ms;
}

.nav-drawer.is-open {
    clip-path: inset(0);
    pointer-events: auto;
    visibility: visible;
}

.nav-drawer__main {
    display: flex;
    min-height: 0;
    padding: clamp(2rem, 6vw, 6rem) var(--site-gutter);
    flex-direction: column;
    justify-content: center;
    row-gap: clamp(0.75rem, 1.8vh, 1.25rem);
    overflow-y: auto;
}

.nav-drawer__link {
    display: grid;
    max-width: calc(14 * var(--zeichenmass));
    padding: 0.2rem 0;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(2.04rem, 4.76vw, 5.1rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 1;
    text-decoration: none;
}

.nav-drawer__link span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0;
}

.nav-drawer__link:hover,
.nav-drawer__link:focus-visible {
    color: var(--color-coral);
}

/* Oben die Liste, unten Ortsvermerk und Tastaturhinweis. */
.nav-drawer__aside {
    display: flex;
    padding: clamp(1.5rem, 3vw, 3rem);
    border-left: var(--line-on-dark);
    color: var(--color-paper);
    flex-direction: column;
    justify-content: flex-start;
}

.nav-drawer__aside > p:not(.technical-label):not(.nav-drawer__shortcut) {
    margin-top: auto;
    padding-top: clamp(2rem, 6vh, 4rem);
}

.nav-drawer__aside ul {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.nav-drawer__aside li + li {
    margin-top: 0.4rem;
}

.mobile-fallback-nav {
    display: none;
}

/* Alle Schaltflaechen tragen dasselbe Muster wie "Leistung ansehen": Wort,
   Pfeil, Linie darunter. Keine Flaeche, kein Rahmen, kein Eckenradius. Die
   Farbe kommt von currentColor, damit derselbe Knopf auf hellem und auf
   dunklem Grund stimmt, ohne zweite Regel. */
.button,
.text-link {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 0 0 0.2rem;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    color: currentColor;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.15;
    text-decoration: none;
    transition: border-color var(--duration-fast) ease, gap var(--duration-fast) ease;
}

/* Der Pfeil als Maske statt als Bild: so nimmt er die Textfarbe an und braucht
   auf dunklem Grund keinen Umkehrfilter. */
.button::after {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    background: currentColor;
    mask: url("/assets/icons/bootstrap/arrow-right.svg") center / contain no-repeat;
    transition: background-color var(--duration-fast) ease;
    content: "";
}

.text-link::after {
    display: none;
    content: none;
}

/* Farbakzent beim Zeigen: Linie und Pfeil in Koralle. Bewusst nicht der Ton des
   jeweiligen Abschnitts: Gelb erreicht auf weissem Grund 1.2 zu 1, Salbei 1.8
   zu 1, die Linie waere beim Zeigen schlechter sichtbar als in Ruhe. Koralle
   liegt auf Weiss bei 3.0 zu 1 und auf der dunklen Flaeche bei 6.5 zu 1 und
   traegt damit auf jedem Grund der Seite.
   Der Text bleibt in voller Deckung, eingefaerbter Text waere zu schwach.
   Zusaetzlich ruecken Wort und Pfeil auseinander, damit die Reaktion auch ohne
   Farbwahrnehmung erkennbar ist. */
.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    border-bottom-width: 2px;
    border-color: var(--color-coral);
    gap: 1.1rem;
    background: transparent;
}

.button:hover::after,
.button:focus-visible::after {
    background: var(--color-coral);
}

/* Die frueheren Flaechenvarianten. Sie bleiben als Klassen bestehen, damit das
   Markup unveraendert gilt, tragen aber keine eigene Flaeche mehr. */
.button--paper,
.button--yellow {
    background: transparent;
}

.button[disabled] {
    cursor: wait;
    opacity: 0.55;
    transform: none;
}

.button-row {
    display: flex;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.tag {
    display: inline-flex;
    min-height: 1.75rem;
    padding: 0.25rem 0.55rem;
    border: var(--line);
    border-radius: var(--radius-control);
    align-items: center;
    background: transparent;
}

.tag--yellow {
    background: var(--color-yellow);
}

.tag--ink {
    color: var(--color-paper);
    background: var(--color-ink);
}

.breadcrumb {
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: var(--color-muted);
    list-style: none;
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb li + li::before {
    margin-right: 0.35rem;
    content: "/";
}

.page-hero {
    --page-hero-padding-start: clamp(2rem, 5vw, 4.5rem);
    --page-hero-padding-end: clamp(2rem, 5vw, 4.5rem);
    position: relative;
    min-height: clamp(34rem, 72svh, 54rem);
    padding: var(--page-hero-padding-start) var(--site-gutter) var(--page-hero-padding-end);
    border-bottom: var(--line);
    overflow: clip;
    color: var(--color-ink);
    background: var(--theme, var(--color-paper));
}

.page-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: inherit;
    grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 0.5fr);
    grid-template-rows: auto 1fr auto;
    gap: var(--grid-gap) clamp(2rem, 5vw, 6rem);
}

.page-hero__grid > * {
    min-width: 0;
}

.page-hero__breadcrumb {
    grid-column: 1 / -1;
}

.page-hero h1 {
    max-width: calc(13 * var(--zeichenmass));
    margin: auto 0;
    align-self: center;
    font-size: clamp(2.28rem, 5.92vw, 5.82rem);
    line-height: 0.9;
    overflow-wrap: break-word;
}

.page-hero .eyebrow {
    margin-bottom: var(--space-heading-copy);
}

.page-hero__copy {
    max-width: 34ch;
    margin: auto 0 0;
    align-self: end;
    font-size: var(--step-1);
}

.page-hero__mark {
    position: absolute;
    z-index: 0;
    right: var(--site-gutter);
    bottom: clamp(1.5rem, 4vw, 4rem);
    width: min(18vw, 13rem);
    /* Nur angedeutet, sonst steht die Marke als grauer Block im Bild. */
    opacity: 0.07;
}

.page-hero::after {
    display: none;
    content: none;
}

.home-cover {
    padding: clamp(4.25rem, 7vw, 7.5rem) var(--site-gutter) 0;
    background: var(--color-paper);
}

.home-cover__head {
    max-width: none;
    padding-top: 200px;
}

.home-cover__head .eyebrow {
    /* Gegen die Fensterhoehe gerechnet, damit der Titel auf flachen Fenstern im Bild bleibt. */
    margin-bottom: min(clamp(3rem, 12vh, 9rem), 14vh);
    color: var(--color-muted);
}

.home-cover__title {
    max-width: calc(11 * var(--zeichenmass));
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--display-xl);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 0.9;
    text-wrap: balance;
}

.home-cover__line {
    display: block;
}

.home-cover__media {
    position: relative;
    min-height: 17rem;
    margin-top: clamp(2rem, 4vw, 3.75rem);
    border-radius: var(--radius-media);
    aspect-ratio: 10 / 3;
    background: var(--color-ink);
    overflow: hidden;
}

.home-cover__media-stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
}

/* Innenschatten: das Bewegtbild geht an den Kanten in die dunkle Buehne ueber. */
.home-cover__media-stage:has(.home-cover__film.is-playing) {
    box-shadow: inset 0 0 clamp(3rem, 9vw, 10rem) rgb(32 32 32 / 92%);
}

.home-cover__logo {
    position: relative;
    z-index: 2;
    width: min(25vw, 18rem);
}

.home-cover__logo--echo {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: min(42vw, 32rem);
    opacity: 0.28;
    filter: blur(22px);
    pointer-events: none;
    transform: translate(-42%, -50%) scale(2.35, 0.56) rotate(-4deg);
}

.home-cover__media-stage > .home-cover__logo--echo {
    width: min(42vw, 32rem);
    height: auto;
    object-fit: contain;
}

.home-cover__logo--main {
    filter: drop-shadow(0 1rem 2.5rem rgb(0 0 0 / 28%));
}

.home-cover__media-stage img,
.home-cover__media-stage picture,
.home-cover__media-stage video {
    width: 100%;
    height: 100%;
}

.home-cover__media-stage > img,
.home-cover__media-stage video {
    object-fit: cover;
}

/* Video 4:3 in einer breiteren Buehne: zentriert wie ein Exponat, nicht beschnitten. */
.home-cover__film {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: auto;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--radius-media) * 0.6);
    object-fit: contain;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.015);
    transition: opacity 900ms var(--ease-cut), transform 900ms var(--ease-cut);
}

.home-cover__film.is-playing {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Gegenstueck zur cover-Regel der Buehne: die Aufnahme bleibt vollstaendig sichtbar. */
.home-cover__media-stage > .home-cover__film {
    width: 100%;
    height: 100%;
    /* Entsaettigt und mit der Markenfarbe ueberlagert. Der Ausschnitt schneidet das Wasserzeichen weg. */
    filter: grayscale(1) contrast(1.15) brightness(0.78);
    object-fit: cover;
    object-position: center 52%;
}

.home-cover__media-stage::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    background: var(--color-coral);
    content: "";
    mix-blend-mode: color;
    opacity: 0;
    pointer-events: none;
    transition: opacity 900ms var(--ease-cut);
}

/* Medienflaechen bleiben neutral. */
.home-cover__media-stage:has(.home-cover__film.is-playing)::after {
    opacity: 0;
}

.home-cover__media-stage:has(.home-cover__film.is-playing) .home-cover__logo--main {
    opacity: 0;
    transition: opacity 700ms var(--ease-cut);
}

.home-cover__media-bar {
    position: absolute;
    z-index: 4;
    right: 1rem;
    bottom: 0.85rem;
    left: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
}

.home-cover__media-meta {
    display: flex;
    margin: 0;
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 1rem;
    color: rgb(255 255 255 / 72%);
    font-size: var(--step--1);
}

.home-cover__film-toggle {
    display: inline-flex;
    min-height: 2rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: var(--radius-control);
    flex: 0 0 auto;
    align-items: center;
    color: var(--color-paper);
    background: rgb(32 32 32 / 55%);
    font-size: var(--step--1);
}

.home-cover__film-toggle:hover,
.home-cover__film-toggle:focus-visible {
    border-color: var(--color-paper);
}

.home-cover__intro {
    display: grid;
    margin-top: clamp(2.5rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2rem, 6vw, 7rem);
    align-items: end;
}

.home-cover__intro p {
    max-width: 52ch;
    margin: 0;
    font-size: clamp(1.1rem, 1.55vw, 1.65rem);
}

.home-cover__facts {
    display: flex;
    margin-top: clamp(3rem, 6vw, 6rem);
    padding-block: 0.9rem;
    flex-wrap: wrap;
    gap: 0.65rem clamp(1.5rem, 4vw, 4rem);
    color: var(--color-muted);
    font-size: var(--step--1);
}

.studio-statement {
    padding: clamp(4.5rem, 9vw, 9rem) var(--site-gutter) clamp(6rem, 12vw, 12rem);
}

.studio-statement__lead {
    max-width: 29ch;
    margin: 0;
    font-size: clamp(1.36rem, 2.82vw, 3.16rem);
    letter-spacing: var(--tracking-display);
    line-height: 1.08;
    text-wrap: balance;
}

.studio-statement__lead em,
.studio-statement__lead strong,
.studio-statement__lead span {
    color: var(--color-muted);
    font-style: normal;
    font-weight: 400;
}

.studio-statement__lead .studio-statement__chapter {
    --chapter-color: var(--color-coral);
    --chapter-text: color-mix(in srgb, var(--color-coral) 65%, var(--color-ink));
    color: var(--chapter-text);
}

.studio-statement__lead .studio-statement__chapter--entwicklung {
    --chapter-color: var(--color-yellow);
    --chapter-text: color-mix(in srgb, var(--color-yellow) 35%, var(--color-ink));
}

.studio-statement__lead .studio-statement__chapter--betrieb {
    --chapter-color: var(--color-sage);
    --chapter-text: color-mix(in srgb, var(--color-sage) 45%, var(--color-ink));
}

.studio-statement__body {
    display: grid;
    max-width: 64rem;
    margin: clamp(4rem, 9vw, 9rem) 0 0 auto;
    padding-top: 1rem;
    border-top: var(--line);
    grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1fr);
    gap: var(--grid-gap) clamp(2rem, 6vw, 7rem);
}

.studio-statement__body > p {
    margin: 0;
}

.studio-statement__body > p:first-child {
    font-size: var(--step-1);
}

.studio-statement__body .text-link {
    margin-top: 1.5rem;
    grid-column: 2;
    justify-self: start;
}

.marquee {
    border-block: var(--line);
    background: transparent;
    overflow: hidden;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(3.75rem, 6vw, 6rem) var(--grid-gap);
    align-items: start;
}

.service-project {
    min-width: 0;
    color: var(--color-ink);
    text-decoration: none;
}

.service-project__head {
    display: flex;
    min-height: 3.6rem;
    margin-bottom: 0.75rem;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.service-project__head h2,
.service-project__head h3 {
    margin: 0 0 0.25rem;
    font-size: clamp(1.2rem, 1.7vw, 1.6rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 1;
}

.service-project__head p {
    margin: 0;
    font-size: var(--step--1);
    line-height: 1.25;
}

.service-project__number {
    flex: 0 0 auto;
    font-size: var(--step--1);
}

.service-project__media {
    position: relative;
    border-top: 0.35rem solid var(--project-color, var(--color-ink));
    border-radius: var(--radius-media);
    aspect-ratio: 406 / 551;
    background: var(--color-ink);
    overflow: hidden;
    isolation: isolate;
}

.service-project__media img,
.service-project__media picture,
.service-project__media video {
    width: 100%;
    height: 100%;
}

.service-project__media img,
.service-project__media video {
    object-fit: contain;
    padding: clamp(1.5rem, 4vw, 4rem);
    transform: scale(1.001);
    transition: transform 720ms var(--ease-cut), opacity 520ms ease;
}

/* Die Zuordnung traegt die Oberkante, nicht die Flaeche. */
.service-project.color-ink .service-project__media {
    background: var(--color-ink);
}

.service-project__image--echo {
    position: absolute;
    z-index: 2;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 520ms ease, transform 760ms var(--ease-cut) !important;
}

@media (hover: hover) and (pointer: fine) {

    .service-project:hover .service-project__image:not(.service-project__image--echo),
    .service-project:focus-visible .service-project__image:not(.service-project__image--echo) {
        transform: scale(1.02);
    }

    .service-project:hover .service-project__image--echo,
    .service-project:focus-visible .service-project__image--echo {
        transform: translate(8px, -6px) scale(1.02);
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(3rem, 5vw, 5rem) var(--grid-gap);
}

/* Marke in der Oberkante, Flaeche bleibt ruhig. */
/* Vier gleichwertige Punkte nebeneinander, darunter zwei, dann einer. */
.feature-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199.98px) {

    .feature-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 599.98px) {

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

.feature {
    --feature-accent: var(--feature-color, var(--color-ink));
    display: flex;
    min-height: 0;
    padding: clamp(1.4rem, 2.2vw, 2rem);
    border: var(--line);
    border-top: 0.16rem solid var(--feature-color, var(--color-ink));
    border-radius: var(--radius-media);
    flex-direction: column;
    color: var(--color-ink);
    background: transparent;
}

.feature__number {
    display: block;
    margin-bottom: clamp(0.9rem, 1.5vw, 1.35rem);
    color: var(--color-muted);
    font-size: var(--step--1);
}

.feature h3 {
    margin-bottom: var(--space-heading-copy-compact);
    font-size: var(--step-2);
    font-weight: 400;
}

.feature p {
    max-width: 36ch;
    margin-top: auto;
    padding-top: 0.35rem;
}

.process-list {
    margin: 0;
    padding: 0;
    border-top: var(--line);
    list-style: none;
}

.process-list__item {
    /* Einfarbig: eine Markenfarbe je Liste. */
    --process-color: var(--color-ink);
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: clamp(8.5rem, 9vw, 9.75rem);
    overflow: clip;
    border-bottom: var(--line);
    grid-template-columns: clamp(5rem, 6vw, 6.5rem) minmax(12rem, 0.48fr) minmax(0, 1fr);
    align-items: stretch;
}

.process-list__item::before {
    position: absolute;
    z-index: 0;
    inset: 0.35rem 0;
    border-radius: var(--radius-media);
    /* Den aktiven Eintrag zeigen Marker und Schriftschnitt. */
    background: color-mix(in srgb, var(--color-ink) 3.5%, transparent);
    content: "";
    opacity: 0;
    pointer-events: none;
    transform: scaleX(0.02);
    transform-origin: left center;
}

.process-list__item::after {
    position: absolute;
    z-index: 2;
    top: 1.35rem;
    bottom: 1.35rem;
    left: 0.55rem;
    width: 4px;
    border-radius: var(--radius-control);
    background: var(--process-color);
    content: "";
    opacity: 0;
    pointer-events: none;
    transform: scaleY(0.2);
    transform-origin: center;
}

.process-list__item > * {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: clamp(1.35rem, 2vw, 2rem) clamp(1rem, 2vw, 2rem);
}

.process-list__item > :first-child {
    padding-right: clamp(0.8rem, 1.4vw, 1.25rem);
    padding-left: clamp(1.25rem, 2vw, 2rem);
}

.process-list__item > * + * {
    border-left: var(--line);
}

.process-list__number {
    font-size: var(--step--1);
}

.process-list__title {
    font-size: clamp(1.05rem, 1.7vw, 1.77rem);
    font-weight: 400;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(4rem, 7vw, 7rem) var(--grid-gap);
}

.project-card {
    display: flex;
    min-width: 0;
    color: var(--color-ink);
    background: transparent;
    flex-direction: column;
    text-decoration: none;
}

.project-card__top {
    display: flex;
    min-height: 3.5rem;
    padding-bottom: 0.75rem;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.project-card__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-media);
    /* Markenfarbe nur in der Oberkante. */
    border-top: 0.35rem solid var(--project-color, var(--color-ink));
    background: var(--color-surface) url("/assets/svg/brand/ruhrstack-mark-cream.svg") center / min(34%, 15rem) no-repeat;
    overflow: hidden;
}

.project-card__visual::before,
.project-card__visual::after {
    display: none;
    content: none;
}

.project-card__visual--image {
    aspect-ratio: 16 / 9;
    padding: clamp(0.35rem, 0.8vw, 0.5rem);
    background: var(--color-surface);
}

.project-card__visual--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 720ms var(--ease-cut);
}

@media (hover: hover) and (pointer: fine) {

    .project-card:hover .project-card__visual--image img {
        transform: scale(1);
    }
}

.project-card__body {
    padding-top: 1rem;
}

.project-card__body h3 {
    margin-bottom: var(--space-heading-copy-compact);
    font-size: clamp(1.36rem, 2.58vw, 2.99rem);
    font-weight: 400;
}

.project-card__body p {
    max-width: 48ch;
}

.statement {
    display: grid;
    min-height: min(82svh, 54rem);
    padding: clamp(4rem, 9vw, 9rem) var(--site-gutter);
    color: var(--color-paper);
    background: var(--color-ink);
    align-content: center;
}

.statement__word {
    margin: 0;
    padding-block: 0.06em 0.08em;
    font-size: clamp(2.72rem, 8.16vw, 7.48rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 0.88;
}

.statement__copy > .technical-label {
    color: var(--color-yellow);
}

.cta-banner {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: clamp(24rem, 48vw, 42rem);
    padding: clamp(2rem, 5vw, 5rem);
    border-radius: var(--radius-media);
    color: var(--color-paper);
    background: var(--color-ink);
    grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
    gap: clamp(2.5rem, 7vw, 8rem);
    align-items: end;
    overflow: hidden;
}

.cta-banner > * {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    max-width: calc(11 * var(--zeichenmass));
    font-size: clamp(2.04rem, 4.76vw, 4.76rem);
    font-weight: 400;
}

.cta-banner__action {
    --cta-action-safe-space: clamp(1.5rem, 2.4vw, 2.5rem);
    max-width: 34rem;
    color: var(--color-paper);
    background: var(--color-ink);
    box-shadow: 0 0 0 var(--cta-action-safe-space) var(--color-ink);
    justify-self: end;
}

.cta-banner__action p {
    margin-bottom: var(--space-heading-copy);
}

/* Hoehe setzt das Skript: angehefteter Block plus Scrollstrecke je Schritt. Ohne Skript
   bleibt alles im Fluss. */
.scroll-stage {
    position: relative;
}

.scroll-stage__pin {
    position: relative;
}

@media (min-width: 992px) {

    /* Links Ueberschrift und Kurztext, rechts die Liste. */
    .scroll-stage__pin--split {
        display: grid;
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: clamp(2.5rem, 6vw, 7rem);
        align-items: start;
    }

    .scroll-stage__pin--split > .section-heading {
        display: block;
        margin: 0;
    }

    .scroll-stage__pin--split > .section-heading > * {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }

    .scroll-stage__pin--split > .section-heading h2 {
        max-width: calc(14 * var(--zeichenmass));
        margin-top: clamp(0.75rem, 1.6vh, 1.5rem);
        font-size: min(clamp(2.25rem, 4.2vw, 4.25rem), 9vh);
    }

    .scroll-stage__pin--split > .section-heading .section-heading__copy {
        max-width: 34ch;
        margin-top: clamp(1rem, 2.2vh, 2rem);
    }
}

.scroll-stage.is-staged > .scroll-stage__pin {
    position: sticky;
    top: var(--stage-pin-top, 6rem);
}

/* Links die Kacheln, rechts eine Vorschau, die der aktiven Kachel folgt. */
/* Kopf enger als sonst: Ueberschrift, zwei Kachelreihen und Vorschau muessen zusammen ins Bild. */
.handover {
    padding-block: clamp(3.5rem, 7vh, 6rem);
}

.handover .editorial-section-head {
    margin-bottom: clamp(1.5rem, 3.5vh, 2.75rem);
}

.handover__layout {
    /* Ein Mass fuer beide Spalten: Resthoehe unter der Kopfzeile, nach oben begrenzt. */
    --handover-raster: min(calc(100svh - var(--header-height) - clamp(14rem, 32vh, 22rem)), 46rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.handover__list {
    /* Zwei Reihen, Hoehe aus dem Fenster statt aus dem Bildformat. */
    display: grid;
    height: var(--handover-raster);
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.4vw, 2.25rem) var(--grid-gap);
    list-style: none;
}

.handover__tile {
    min-width: 0;
    min-height: 0;
}

.handover__button {
    display: grid;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 0.25rem;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.handover__index {
    /* --color-quiet erreicht bei dieser Groesse den noetigen Kontrast nicht. */
    color: var(--color-muted);
}

.handover__name {
    font-size: var(--step-2);
    letter-spacing: var(--tracking-display);
    line-height: 1.15;
}

.handover__meta {
    color: var(--color-muted);
}

.handover__thumb {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin-top: 0.6rem;
    border: var(--line);
    border-radius: var(--radius-media);
    object-fit: cover;
    transition: border-color 320ms ease;
}

.handover__tile.is-active .handover__thumb,
.handover__button:hover .handover__thumb,
.handover__button:focus-visible .handover__thumb {
    border-color: var(--color-ink);
}

.handover__preview {
    --handover-preview-top: calc(var(--header-height) + clamp(1.5rem, 4vh, 3.5rem));
    position: sticky;
    top: var(--handover-preview-top);
    display: grid;
    container-type: inline-size;
    margin: 0;
    justify-items: center;
}

.handover__stage {
    position: relative;
    /* Resthoehe unter der Kopfzeile bestimmt die Groesse, die Breite folgt dem Seitenverhaeltnis. */
    width: auto;
    /* --handover-platz kommt vom Skript. Der erste Wert ist die Rueckfallebene ohne Skript. */
    height: min(var(--handover-platz, calc(100svh - var(--handover-preview-top) - clamp(7rem, 13vh, 10rem))), var(--handover-raster), calc(100cqw * 4 / 3));
    max-width: 100%;
    border-radius: var(--radius-panel);
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.handover__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 620ms var(--ease-cut);
}

.handover__frame.is-active {
    opacity: 1;
}

.handover__caption {
    display: grid;
    margin: clamp(1rem, 2vw, 1.5rem) 0 0;
    gap: 0.4rem;
}

.handover__caption p:last-child {
    max-width: 44ch;
    margin: 0;
    color: var(--color-muted);
}

@media (max-width: 1199.98px) {

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

    /* Ohne zweite Spalte keine Hoehendeckelung. */
    .handover__list {
        height: auto;
        grid-template-rows: none;
    }

    .handover__thumb {
        height: auto;
        aspect-ratio: 3 / 4;
    }

    /* Ohne zweite Spalte traegt jede Kachel ihr eigenes Bild. */
    .handover__preview {
        display: none;
    }
}

@media (max-width: 767.98px) {

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

@media (max-width: 479.98px) {

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

.faq-list {
    --faq-inline: clamp(1.25rem, 3vw, 2.75rem);
    --faq-index-width: clamp(2.1rem, 4vw, 3rem);
    --faq-icon-size: clamp(1.1rem, 1.6vw, 1.35rem);
    --faq-gap: clamp(0.75rem, 1.8vw, 1.25rem);
    --faq-transition-duration: 620ms;
    --faq-answer-duration: 520ms;
    --faq-transition-ease: var(--ease-cut);
    position: relative;
    display: grid;
    /* Zeilen statt Kaesten, wie die Prozessliste. */
    gap: 0;
    border-top: var(--line);
}

.faq-scroll-ready .faq-list[data-faq-scroll] {
    overflow-anchor: none;
}

.faq-item {
    /* Ohne Markenfarbe: eine Farbe je Liste. */
    --faq-accent: var(--color-ink);
    position: relative;
    interpolate-size: allow-keywords;
    border-bottom: var(--line);
    background: var(--color-paper);
    transition: background-color var(--faq-transition-duration) var(--faq-transition-ease);
}

.faq-item::before {
    position: absolute;
    z-index: 1;
    inset-block: 0;
    inset-inline-start: 0;
    width: 0.2rem;
    border-radius: 0;
    background: var(--faq-accent);
    content: "";
    /* Leiser Hinweis auf den aktiven Eintrag, auch fuer die Tastaturbedienung. */
    opacity: 0.22;
    pointer-events: none;
    transform: scaleY(0.28);
    transform-origin: center;
    transition: opacity var(--faq-transition-duration) var(--faq-transition-ease), transform var(--faq-transition-duration) var(--faq-transition-ease);
}

.faq-item[open] {
    /* Den offenen Zustand tragen Antwort und Zeichen rechts. */
    background: transparent;
}

.faq-item[open]::before,
.faq-scroll-ready .faq-list[data-faq-scroll] .faq-item.is-scroll-active::before {
    opacity: 1;
    transform: scaleY(1);
}

/* Fokus hebt den Marker nur an, damit er sich vom geoeffneten Eintrag unterscheidet. */
.faq-item:focus-within::before {
    opacity: 1;
    transform: scaleY(0.42);
}

.faq-item summary {
    display: grid;
    min-height: 5rem;
    padding: clamp(1.35rem, 2.4vw, 1.85rem) var(--faq-inline);
    cursor: pointer;
    list-style: none;
    grid-template-columns: var(--faq-index-width) minmax(0, 1fr) var(--faq-icon-size);
    gap: var(--faq-gap);
    align-items: center;
    font-size: clamp(1.125rem, 1.8vw, 1.55rem);
    line-height: 1.22;
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--color-ink);
    outline-offset: -4px;
}

.faq-item__index {
    align-self: start;
    padding-top: 0.35em;
    color: rgb(32 32 32 / 70%);
    font-size: var(--step--1);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
}

.faq-item__question {
    /* Fragen tragen die Liste, deshalb kraeftiger als Grau. */
    color: rgb(32 32 32 / 88%);
    transition: color var(--faq-transition-duration) var(--faq-transition-ease), transform var(--faq-transition-duration) var(--faq-transition-ease);
}

.faq-item[open] .faq-item__question,
.faq-item:focus-within .faq-item__question {
    color: var(--color-ink);
}

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

.faq-item__icon {
    /* Zwei feine Striche statt eines Kreises. */
    width: var(--faq-icon-size);
    aspect-ratio: 1;
    border: 0;
    border-radius: 0;
    background: linear-gradient(var(--color-ink), var(--color-ink)) center / 0.85rem 1px no-repeat, linear-gradient(var(--color-ink), var(--color-ink)) center / 1px 0.85rem no-repeat;
    transition: background-color var(--faq-transition-duration) var(--faq-transition-ease), border-color var(--faq-transition-duration) var(--faq-transition-ease), transform var(--faq-transition-duration) var(--faq-transition-ease);
}

.faq-item[open] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding: 0.25rem var(--faq-inline) clamp(1.375rem, 2.6vw, 2rem) calc(var(--faq-inline) + var(--faq-index-width) + var(--faq-gap));
    color: var(--color-ink);
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    line-height: 1.75;
}

.faq-item__answer p {
    max-width: 64ch;
    margin: 0;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {

    .faq-item:not([open]):hover {
        background: color-mix(in srgb, var(--color-ink) 3%, var(--color-paper));
    }

    .faq-item:not([open]):hover::before {
        opacity: 1;
        transform: scaleY(0.55);
    }

    .faq-item summary:hover .faq-item__question {
        color: var(--color-ink);
        transform: translate3d(0.25rem, 0, 0);
    }

    .faq-item summary:hover .faq-item__icon {
        border-color: var(--color-ink);
        transform: scale(1.06);
    }

    .faq-item[open] summary:hover .faq-item__icon {
        transform: rotate(45deg) scale(1.06);
    }
}

@supports selector(details::details-content) {

    .faq-item::details-content {
        block-size: 0;
        overflow: hidden;
        content-visibility: hidden;
        transition: block-size var(--faq-transition-duration) var(--faq-transition-ease), content-visibility 0ms linear;
        transition-behavior: allow-discrete;
    }

    .faq-item[open]::details-content {
        block-size: auto;
        content-visibility: visible;
    }
}

.contact-grid {
    display: grid;
    border-top: var(--line);
    grid-template-columns: minmax(17rem, 0.36fr) minmax(0, 1fr);
    gap: clamp(2rem, 7vw, 8rem);
}

.contact-aside {
    display: flex;
    padding: clamp(2rem, 4vw, 4rem) 0;
    flex-direction: column;
    justify-content: space-between;
}

.contact-aside__links {
    display: flex;
    margin-top: clamp(3rem, 8vw, 8rem);
    flex-direction: column;
    gap: 0.75rem;
}

.contact-aside h2 {
    max-width: calc(10 * var(--zeichenmass));
    margin-bottom: var(--space-heading-copy);
    font-size: clamp(1.87rem, 3.4vw, 3.74rem);
    font-weight: 400;
}

.contact-form {
    padding: clamp(2rem, 4vw, 4rem) 0;
}

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

.field {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

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

.field label {
    margin-bottom: 0.5rem;
    font-size: var(--step--1);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 0.9rem;
    border: var(--line);
    border-radius: var(--radius-media);
    outline: none;
    background: rgb(255 255 255 / 74%);
}

.field textarea {
    min-height: 12rem;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--color-ink);
    box-shadow: 0 0 0 1px var(--color-ink);
}

.field [aria-invalid="true"] {
    border-color: var(--color-danger);
}

.field-error {
    min-height: 1.1rem;
    margin: 0.35rem 0 0;
    color: var(--color-danger);
    font-size: var(--step--1);
}

.form-actions {
    display: flex;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: var(--line);
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
}

.form-privacy {
    max-width: 62ch;
    color: var(--color-muted);
    font-size: var(--step--1);
}

.form-status {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-media);
    font-size: var(--step--1);
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    background: var(--color-sage);
}

.form-status.is-error {
    background: color-mix(in srgb, var(--color-coral) 56%, var(--color-paper));
}

.form-status.is-progress {
    background: var(--color-yellow);
}

.site-footer {
    color: var(--color-paper);
    background: var(--color-ink);
}

.site-footer__inner {
    display: grid;
    width: min(100%, var(--content-max));
    margin-inline: auto;
    padding: clamp(3rem, 7vw, 7rem) var(--site-gutter);
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(10rem, 0.55fr));
    gap: clamp(2.5rem, 5vw, 6rem) var(--grid-gap);
}

.site-footer__group,
.site-footer__brand {
    min-width: 0;
}

.site-footer__brand {
    min-height: 16rem;
}

.site-footer__logo {
    width: min(13rem, 70%);
    height: auto;
    margin-bottom: 2rem;
}

.site-footer__title {
    max-width: 10ch;
    font-size: clamp(1.7rem, 3.06vw, 3.4rem);
    letter-spacing: var(--tracking-display);
    line-height: 0.95;
}

.site-footer__group ul {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.site-footer__group li + li {
    margin-top: 0.5rem;
}

/* Rufnummer und Ort brechen sonst mitten im Eintrag um. */
.site-footer__group li {
    white-space: nowrap;
}

.site-footer__base {
    display: flex;
    width: min(100%, var(--content-max));
    margin-inline: auto;
    padding: 1rem var(--site-gutter);
    border-top: var(--line-on-dark);
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    font-size: var(--step--1);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* Hinweis auf den Tastaturbefehl im Menue. */
.nav-drawer__shortcut {
    margin-top: 1.1rem;
    color: var(--color-quiet, rgb(255 255 255 / 62%));
    font-size: var(--step--1);
}

/* Zwei Toene, damit erkennbar bleibt, welche Taste gerade anliegt. */
.nav-drawer__shortcut kbd[data-key-hint="modifier"] {
    /* Feste Mindestbreite, damit der Wechsel Strg/Alt nichts verschiebt. inline-block, weil
       min-width sonst nicht wirkt. */
    display: inline-block;
    min-width: 2.5rem;
    text-align: center;
}

.nav-drawer__shortcut kbd {
    padding: 0.15em 0.4em;
    border: 1px solid currentColor;
    border-radius: var(--radius-control);
    font-family: var(--font-mono);
    font-size: 0.92em;
    transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.nav-drawer__shortcut kbd.is-down {
    color: var(--color-ink);
}

.nav-drawer__shortcut kbd[data-key-hint="modifier"].is-down {
    border-color: var(--color-sage);
    background: var(--color-sage);
}

.nav-drawer__shortcut kbd[data-key-hint="letter"].is-down {
    border-color: var(--color-coral);
    background: var(--color-coral);
}

/* Ohne Trennzeichen, der Abstand trennt. */
.site-footer__legal {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
}

.field-optional {
    color: var(--color-muted);
}

/* === Seiten === */

.intro-manifesto__copy .text-link {
    margin-top: var(--space-heading-copy);
}

.principle-stack {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.principle {
    min-height: clamp(17rem, 25vw, 25rem);
    padding: clamp(1.25rem, 2.2vw, 2rem);
    border: var(--line);
    border-top: 0.4rem solid var(--principle-color, var(--color-ink));
    border-radius: var(--radius-media);
    background: transparent;
}

.principle + .principle {
    border-left: 0;
}

.principle h3 {
    margin: 0 0 var(--space-heading-copy-compact);
    /* Vier Karten nebeneinander lassen ab 1024px nur rund 135px Textbreite. */
    font-size: clamp(1.02rem, 1.7vw, 2.18rem);
    font-weight: 400;
}

.principle p {
    max-width: 28ch;
}

.principle::before,
.principle::after {
    display: none;
    content: none;
}

.project-scope {
    --scope-line: var(--color-soft-line);
    padding-block: clamp(4.5rem, 5vw, 5.5rem);
}

.project-scope__layout {
    display: grid;
    grid-template-columns: minmax(20rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
}

.project-scope__intro {
    position: sticky;
    top: calc(var(--header-height) + clamp(1.5rem, 3vw, 3rem));
    align-self: start;
}

.project-scope__intro .section-index {
    margin-bottom: clamp(1.25rem, 2.5vw, 2.5rem);
    color: var(--color-muted);
}

.project-scope__intro h2 {
    max-width: calc(7 * var(--zeichenmass));
    margin: 0;
    padding-block: 0.08em 0.14em;
    font-size: clamp(2.72rem, 4.56vw, 5.1rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 0.9;
    text-wrap: balance;
}

.project-scope__lead {
    max-width: 34ch;
    margin: clamp(1.5rem, 2.4vw, 2rem) 0 0;
    color: var(--color-muted);
    font-size: var(--step-1);
    line-height: 1.42;
}

.project-scope__cta {
    margin-top: clamp(2rem, 3.5vw, 3.5rem);
}

.project-scope__rows {
    border-top: 1px solid var(--scope-line);
}

.project-scope__row {
    --scope-accent: var(--theme, var(--color-coral));
    position: relative;
    display: grid;
    min-width: 0;
    padding: clamp(1.25rem, 1.4vw, 1.5rem) clamp(1rem, 2vw, 2rem);
    border-bottom: 1px solid var(--scope-line);
    border-left: 3px solid var(--scope-accent);
    grid-template-columns: minmax(13rem, 0.9fr) minmax(16rem, 1.1fr);
    gap: clamp(1.5rem, 3vw, 3.5rem);
    align-items: center;
    background: transparent;
    transition: background-color 420ms var(--ease-cut);
}

.project-scope__copy {
    display: grid;
    min-width: 0;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    align-items: start;
    transition: transform 420ms var(--ease-cut);
}

.project-scope__number {
    padding-top: 0.45rem;
    /* Akzent auf der Kante links: Gelb und Salbei sind als Text auf hell nicht lesbar. */
    color: var(--color-muted);
}

.project-scope__copy h3 {
    margin: 0;
    padding-block: 0.04em 0.12em;
    font-size: clamp(1.22rem, 1.43vw, 1.7rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 0.98;
    text-wrap: balance;
}

.project-scope__copy p {
    max-width: 40ch;
    margin: clamp(0.75rem, 1vw, 1rem) 0 0;
    color: var(--color-muted);
    line-height: 1.42;
}

.project-scope__chips {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 clamp(1.5rem, 3vw, 3rem);
    border-left: 1px solid var(--scope-line);
    flex-wrap: wrap;
    gap: 0.625rem;
    align-content: center;
    list-style: none;
    transition: transform 420ms var(--ease-cut);
}

.project-scope__chip {
    padding: 0.5rem 0.82rem;
    border: 1px solid var(--scope-accent);
    border-radius: var(--radius-control);
    color: var(--scope-accent);
    background: color-mix(in srgb, var(--scope-accent) 10%, transparent);
    font-size: var(--step--1);
    line-height: 1;
    white-space: nowrap;
    transition: opacity 360ms ease, color 280ms ease, background-color 280ms ease, transform 360ms var(--ease-cut);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {

    .project-scope__row:hover {
        background: color-mix(in srgb, var(--scope-accent) 8%, transparent);
    }

    .project-scope__row:hover .project-scope__copy {
        transform: translate3d(0.3rem, 0, 0);
    }

    .project-scope__row:hover .project-scope__chips {
        transform: translate3d(-0.2rem, 0, 0);
    }

    .project-scope__row:hover .project-scope__chip {
        color: var(--color-ink);
        background: var(--scope-accent);
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: var(--grid-gap);
    align-items: stretch;
}

/* Markenfarbe im Namen statt als gefuellte Flaeche. */
.team-card {
    --team-card-padding: clamp(1.25rem, 2.2vw, 2rem);
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    min-height: clamp(19rem, 25vw, 25rem);
    height: 100%;
    padding: var(--team-card-padding);
    border: var(--line);
    border-radius: var(--radius-media);
    flex-direction: column;
    overflow: hidden;
    /* Feiner Akzent statt Farbbalken. */
    border-top: 0.16rem solid var(--team-color, var(--color-ink));
    background: var(--color-surface);
}

.section--ink .team-card {
    border-color: rgb(255 255 255 / 20%);
    border-top-color: var(--team-color);
    background: transparent;
}

.team-card__role {
    position: relative;
    z-index: 2;
    max-width: 34ch;
    margin: 0;
}

.team-card__name {
    /* Farbe in der Oberkante: Koralle und Salbei erreichen als Text den Kontrast nicht. */
    color: var(--color-ink);
    position: relative;
    z-index: 2;
    display: grid;
    max-width: 100%;
    margin: clamp(0.6rem, 1vw, 0.9rem) 0 clamp(0.6rem, 1vw, 0.9rem);
    padding-block: 0.08em 0.12em;
    grid-template-rows: repeat(2, max-content);
    align-content: start;
    /* Gegen die Fensterhoehe gedeckelt, siehe .section--screen. */
    font-size: min(clamp(1.75rem, 2.9vw, 2.9rem), 5vh);
    font-weight: 400;
    line-height: 1.02;
}

.team-card__name-line {
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
}

.team-card__bio {
    position: relative;
    z-index: 2;
    max-width: 42ch;
    margin: 0;
    font-size: min(clamp(1rem, 1.15vw, 1.15rem), 1.9vh);
    line-height: 1.48;
    text-wrap: pretty;
}

.team-card__focus {
    position: relative;
    z-index: 2;
    display: grid;
    max-width: 42rem;
    margin: clamp(1rem, 1.7vw, 1.5rem) 0 0;
    padding-top: clamp(0.75rem, 1.4vw, 1rem);
    border-top: var(--line);
    grid-template-columns: minmax(6.5rem, 0.38fr) minmax(0, 1fr);
    gap: 1rem;
    font-size: var(--step--1);
    line-height: 1.35;
}

.team-card__focus span {
    opacity: 0.72;
}

.team-card__focus strong {
    font-weight: 500;
}

.team-card__mark-stage {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 0;
    margin-top: auto;
    padding-top: clamp(0.9rem, 1.6vw, 1.5rem);
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: var(--line-strong);
    border-radius: var(--radius-media);
    align-items: stretch;
    overflow: clip;
}

.trust-strip__item {
    --trust-surface: var(--color-surface);
    --trust-accent: var(--color-ink);
    display: flex;
    min-width: 0;
    min-height: clamp(17.5rem, 18vw, 22rem);
    padding: clamp(1.25rem, 2.4vw, 2.25rem);
    flex-direction: column;
    color: var(--color-ink);
    background: var(--trust-surface);
}

.trust-strip__item + .trust-strip__item {
    border-left: var(--line-strong);
}

/* Unterschieden ueber die Akzentfarbe, nicht ueber die Flaeche. */
.trust-strip__item:nth-child(2) {
    --trust-accent: var(--color-coral);
}

.trust-strip__item:nth-child(3) {
    --trust-accent: var(--color-sage);
}

.trust-strip__index {
    display: block;
    color: var(--color-ink);
}

.trust-strip__item h3 {
    display: block;
    max-width: 100%;
    margin: clamp(1.5rem, 2.6vw, 2.75rem) 0 0;
    padding-block: 0.05em 0.1em;
    font-size: clamp(1.43rem, 2.04vw, 2.55rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: var(--tracking-display);
    overflow-wrap: anywhere;
}

.trust-strip__item p {
    max-width: 36ch;
    margin: auto 0 0;
    padding-top: clamp(3rem, 5vw, 5rem);
    line-height: 1.45;
}

/* Heller Kopf, die Zuordnung traegt die Linie unten. */
.service-index-cover {
    padding: var(--cover-space-top) var(--site-gutter) clamp(3rem, 6vw, 6rem);
    border-bottom: var(--line);
    background: var(--color-surface);
}

.service-index-cover__bar {
    display: flex;
    min-height: 3.5rem;
    padding-block: 0.85rem;
    border-bottom: var(--line);
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.service-index-cover h1 {
    display: flex;
    max-width: calc(12 * var(--zeichenmass));
    margin: clamp(4rem, 10vw, 10rem) 0 0;
    flex-direction: column;
    font-size: clamp(2.28rem, 6.12vw, 5.82rem);
}

.service-index-cover__lead {
    max-width: 42ch;
    margin: clamp(3rem, 7vw, 7rem) 0 0 auto;
    font-size: var(--step-1);
}

.service-showcase {
    background: var(--color-paper);
}

.page {
    min-width: 0;
}

.service-detail-cover {
    padding: var(--cover-space-top) var(--site-gutter) var(--site-gutter);
    border-bottom: var(--line);
    color: var(--color-ink);
    background: var(--theme, var(--color-paper));
}

.service-detail-cover__bar {
    display: flex;
    min-height: 3.5rem;
    padding-block: 0.85rem;
    border-bottom: var(--line);
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.service-detail-cover h1 {
    display: flex;
    margin: clamp(3.5rem, 8vw, 8rem) 0 0;
    flex-direction: column;
}

.service-detail-cover__name {
    font-size: clamp(2.38rem, 6.8vw, 6.46rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 0.86;
}

.service-detail-cover__title {
    max-width: calc(18 * var(--zeichenmass));
    margin-top: var(--space-heading-copy);
    font-size: clamp(1.36rem, 3.06vw, 3.26rem);
    letter-spacing: var(--tracking-display);
    line-height: 0.98;
}

.service-detail-cover__lead {
    display: grid;
    max-width: 64rem;
    margin: clamp(3rem, 7vw, 7rem) 0 0 auto;
    padding-top: 1rem;
    border-top: var(--line);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2rem, 6vw, 7rem);
    align-items: end;
}

.service-detail-cover__lead p {
    max-width: 48ch;
    margin: 0;
    font-size: var(--step-1);
}

.service-detail-cover__media {
    margin-top: clamp(3rem, 7vw, 7rem);
}

.service-intro {
    display: grid;
    grid-template-columns: minmax(17rem, 0.42fr) minmax(0, 1fr);
    gap: clamp(3rem, 8vw, 9rem);
    align-items: start;
    /* Die Enthuellung schiebt die rechte Spalte nach rechts, sonst entsteht eine Querbildlaufleiste. */
    overflow-x: clip;
}

/* Ohne min-width:0 blaeht das laengste Wort die Spur auf. */
.service-intro > * {
    min-width: 0;
}

.service-intro__statement {
    padding-top: 1rem;
    border-top: var(--line);
}

.service-intro__statement .lede {
    max-width: 36ch;
    font-size: clamp(1.02rem, 2.18vw, 2.04rem);
    letter-spacing: var(--tracking-display);
    line-height: 1.12;
}

.bullet-list {
    margin: 1.25rem 0 0;
    padding: 0;
    border-top: var(--line);
    list-style: none;
}

.bullet-list li {
    position: relative;
    padding: 0.9rem 0;
    border-bottom: var(--line);
}

.bullet-list li::before {
    display: none;
    content: none;
}

/* Postermockup: bringt eigenen hellen Grund mit, steht deshalb ohne Farbflaeche und unbeschnitten. */
.poster-plate {
    display: grid;
    margin: clamp(2.75rem, 6vw, 5rem) 0 0;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    /* Beschriftung beginnt oben, auf Hoehe der Mockup-Oberkante. */
    align-items: start;
}

@media (min-width: 62em) {

    .poster-plate {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
        gap: clamp(2rem, 4vw, 4rem);
    }
}

.poster-plate__frame {
    border: var(--line);
    border-radius: var(--radius-media);
    overflow: hidden;
}

.poster-plate__image {
    display: block;
    width: 100%;
    height: auto;
}

.poster-plate__caption {
    display: grid;
    padding-top: 1rem;
    border-top: var(--line);
    gap: 0.75rem;
}

.poster-plate__caption .lede {
    max-width: 34ch;
    font-size: clamp(1.02rem, 1.9vw, 1.6rem);
    letter-spacing: var(--tracking-display);
    line-height: 1.18;
}

.poster-plate__note {
    max-width: 40ch;
    color: var(--color-muted);
}

.motif {
    position: relative;
    isolation: isolate;
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: clamp(24rem, 46vw, 42rem);
    margin: 0;
    padding: clamp(1rem, 2vw, 2rem);
    border-radius: var(--radius-media);
    background: var(--color-paper);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: clamp(1.125rem, 2vw, 1.5rem);
    place-items: stretch;
    overflow: hidden;
}

.motif__caption {
    position: relative;
    z-index: 5;
    display: grid;
    width: 100%;
    min-height: clamp(3rem, 3.6vw, 3.5rem);
    padding: 0.75rem clamp(0.875rem, 1.5vw, 1.25rem);
    border: var(--line);
    color: var(--color-ink);
    background: var(--motif-caption-bg, var(--color-yellow));
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    align-self: stretch;
    gap: clamp(0.75rem, 2vw, 2rem);
    line-height: 1.25;
}

.motif__caption > span:first-child {
    min-width: 0;
    font-size: clamp(0.8rem, 0.75rem + 0.15vw, 0.95rem);
    font-weight: 500;
    letter-spacing: -0.015em;
}

.motif__caption > span:last-child {
    min-width: 0;
    max-width: 100%;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.025em;
    text-align: end;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.motif__rotor,
.motif__rotor::before,
.motif__rotor::after {
    display: none;
    content: none;
}

.motif__image {
    position: relative;
    z-index: 2;
    width: min(58%, 24rem);
    min-block-size: 0;
    max-block-size: 100%;
    object-fit: contain;
    place-self: center;
    transition: transform 720ms var(--ease-cut), opacity 420ms ease;
}

.motif--type .motif__image {
    width: min(54%, 22rem);
}

.motif--frames .motif__image {
    width: min(38%, 16rem);
}

/* Ruhiger Grund, die Markenfarbe traegt nur die Bildunterschrift. */
.motif--layers {
    --motif-caption-bg: var(--color-yellow);
    background: var(--color-surface);
}

.motif--type {
    --motif-caption-bg: var(--color-coral);
    background: var(--color-paper);
}

.motif--network {
    --motif-caption-bg: var(--color-yellow);
    background: var(--color-surface);
}

.motif--signal {
    --motif-caption-bg: var(--color-coral);
    background: var(--color-surface);
}

.motif--frames {
    --motif-caption-bg: var(--color-coral);
    background: var(--color-surface);
}

@media (hover: hover) and (pointer: fine) {

    .motif:hover .motif__image {
        transform: scale(1.02);
    }
}

.vision-section {
    position: relative;
    padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem);
    /* Trennt die weisse Typosektion von der dunklen Referenzsektion. */
    background: var(--color-surface);
}

.vision-section + .section,
.section + .vision-section {
    border-top: var(--line);
}

.vision-bar {
    display: flex;
    min-height: 3rem;
    margin-inline: var(--site-gutter);
    padding: 0 0 0.8rem;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.vision-bar h2 {
    margin: 0;
    font-size: clamp(0.95rem, 1.15vw, 1.1rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 1;
}

.vision-bar__counter {
    font-size: clamp(0.85rem, 1.05vw, 1rem);
    white-space: nowrap;
}

.vision-stage {
    position: relative;
    z-index: 1;
    margin-inline: var(--site-gutter);
    border-radius: var(--radius-panel);
    aspect-ratio: 5 / 4;
    background: var(--color-ink);
    overflow: hidden;
    isolation: isolate;
}

@media (min-width: 768px) {

    /* Eine Bildschirmhoehe. Die Buehne bekommt den Rest nach Leiste, Fusszeile und Polster. */
    .vision-section {
        display: flex;
        min-height: calc(100svh - var(--header-height));
        padding-block: clamp(1.25rem, 3vh, 2.5rem);
        flex-direction: column;
    }

    .vision-stage {
        height: auto;
        min-height: 0;
        flex: 1 1 auto;
        aspect-ratio: auto;
    }
}

@media (min-width: 768px) and (max-aspect-ratio: 4 / 5) {

    .vision-stage {
        height: auto;
        aspect-ratio: 5 / 4;
    }
}

.vision-camera {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 282%;
    aspect-ratio: 16 / 9;
    transform: translate3d(-50%, -50%, 0) scale(0.74);
    transform-origin: 50% 50%;
}

.vision-canvas {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(8, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 0.85%;
}

.vision-frame {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    border-radius: 2px;
    background: var(--color-ink);
    overflow: hidden;
    opacity: 1;
    isolation: isolate;
}

.vision-frame--feature {
    grid-column: span 2;
    grid-row: span 2;
}

.vision-frame--feature-a {
    grid-area: 1 / 1 / span 2 / span 2;
}

.vision-frame--feature-b {
    grid-area: 1 / 4 / span 2 / span 2;
}

.vision-frame--feature-c {
    grid-area: 1 / 7 / span 2 / span 2;
}

.vision-frame--feature-d {
    grid-area: 3 / 2 / span 2 / span 2;
}

.vision-frame--feature-e {
    grid-area: 3 / 5 / span 2 / span 2;
}

.vision-frame--feature-f {
    grid-area: 5 / 1 / span 2 / span 2;
}

.vision-frame--feature-g {
    grid-area: 5 / 4 / span 2 / span 2;
}

.vision-frame--feature-h {
    grid-area: 7 / 7 / span 2 / span 2;
}

.vision-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
}

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

.vision-toggle {
    position: absolute;
    z-index: 5;
    top: 0.65rem;
    right: 0.65rem;
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--color-cream);
    background: var(--color-ink);
    box-shadow: 0 0 0 1px rgb(255 255 255 / 24%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-fast) ease;
}

.vision-motion-ready .vision-toggle {
    opacity: 1;
    pointer-events: auto;
}

.vision-toggle svg {
    display: block;
    width: 100%;
    height: 100%;
}

.vision-toggle__track,
.vision-toggle__progress {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.vision-toggle__track {
    opacity: 0.16;
}

.vision-toggle__progress {
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--vision-progress, 0));
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 28px 28px;
}

.vision-toggle__pause path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.vision-toggle__play {
    display: none;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2;
}

.vision-toggle[data-state="paused"] .vision-toggle__pause {
    display: none;
}

.vision-toggle[data-state="paused"] .vision-toggle__play {
    display: block;
}

.vision-toggle:hover,
.vision-toggle:focus-visible {
    color: var(--color-yellow);
}

.vision-meta {
    display: flex;
    margin-inline: var(--site-gutter);
    padding-top: 1rem;
    justify-content: flex-end;
}

.vision-link {
    font-size: var(--step--1);
    white-space: nowrap;
}

.case-intro {
    display: grid;
    border-bottom: var(--line);
    grid-template-columns: minmax(0, 1fr);
}

.case-intro__media {
    display: flex;
    min-width: 0;
    min-height: 0;
    margin: 0 var(--site-gutter);
    border-radius: var(--radius-media);
    aspect-ratio: 16 / 9;
    align-items: center;
    background: var(--color-paper);
    overflow: hidden;
}

.case-intro__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-intro__copy {
    display: grid;
    padding: clamp(3rem, 7vw, 7rem) var(--site-gutter);
    color: var(--color-paper);
    background: #151610;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem clamp(2.5rem, 7vw, 8rem);
    align-items: start;
}

.case-intro__copy > .technical-label {
    color: #b9ff16;
    grid-column: 1;
}

.case-intro__copy h2 {
    max-width: calc(14 * var(--zeichenmass));
    margin: var(--space-heading-copy) 0 0;
    font-size: clamp(1.9rem, 3.4vw, 3.74rem);
    font-weight: 400;
    grid-column: 1;
}

.case-intro__copy .lede {
    max-width: 45ch;
    margin: var(--space-heading-copy) 0 0;
    grid-column: 2;
    grid-row: 2;
}

.case-facts {
    display: grid;
    margin: clamp(3rem, 6vw, 6rem) 0 0;
    border-top: var(--line-on-dark);
    border-bottom: var(--line-on-dark);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
}

.case-facts > div {
    padding: 1.25rem clamp(1rem, 2vw, 2rem);
}

.case-facts > div:first-child {
    padding-left: 0;
}

.case-facts > div + div {
    border-left: var(--line-on-dark);
}

.case-facts dt {
    margin-bottom: 0.45rem;
    color: #b9ff16;
    font-size: var(--step--1);
}

.case-facts dd {
    max-width: 42ch;
    margin: 0;
}

.case-disclaimer {
    margin: var(--space-5) 0 0;
    padding: var(--space-4);
    border-radius: var(--radius-media);
    color: var(--color-ink);
    background: var(--color-surface);
    border: var(--line);
    grid-column: 1 / -1;
}

.case-disclaimer strong {
    display: block;
    margin-bottom: 0.65rem;
    font-size: var(--step--1);
    font-weight: 500;
}

.case-highlight-grid,
.case-screen-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(3rem, 6vw, 6rem) var(--grid-gap);
    align-items: start;
}

.case-figure {
    display: flex;
    min-width: 0;
    margin: 0;
    background: transparent;
    flex-direction: column;
    grid-column: span 6;
}

.case-figure--wide {
    grid-column: 1 / -1;
}

.case-frame {
    position: relative;
    display: block;
    border-radius: var(--radius-media);
    aspect-ratio: 16 / 9;
    color: #151610;
    background: #e9e9e4;
    overflow: hidden;
}

.case-frame:focus-visible {
    outline: 2px solid #b9ff16;
    outline-offset: 2px;
}

.case-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 720ms var(--ease-cut);
}

.case-frame__index {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    min-width: 2.4rem;
    padding: 0.4rem 0.55rem;
    border-radius: var(--radius-control);
    font-size: var(--step--1);
    text-align: center;
    background: #b9ff16;
}

.case-figure figcaption {
    display: grid;
    padding: 1rem 0 0;
    grid-template-columns: minmax(8rem, auto) minmax(0, 1fr);
    gap: 0.75rem 1.5rem;
    align-items: baseline;
}

.case-figure figcaption .technical-label {
    color: #66705f;
}

.case-figure figcaption strong {
    font-size: var(--step-1);
    font-weight: 400;
}

.case-figure figcaption > span:last-child {
    max-width: 62ch;
    grid-column: 1 / -1;
}

.case-archive {
    margin-top: clamp(4rem, 8vw, 8rem);
    border-top: var(--line);
    border-bottom: var(--line);
    background: transparent;
}

.case-archive summary {
    display: grid;
    padding: 1.25rem 0;
    cursor: pointer;
    list-style: none;
    grid-template-columns: minmax(0, 1fr) auto 2.5rem;
    gap: 1rem;
    align-items: center;
    font-size: var(--step-2);
}

.case-archive summary::-webkit-details-marker {
    display: none;
}

.case-archive summary::after {
    content: "+";
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    text-align: center;
}

.case-archive[open] summary::after {
    content: "×";
}

.case-archive__grid {
    display: grid;
    padding: 2rem 0;
    border-top: var(--line);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(3rem, 5vw, 5rem) var(--grid-gap);
}

.case-figure--archive {
    grid-column: auto;
}

.case-figure--archive figcaption {
    display: block;
    padding-top: 0.75rem;
}

.case-figure--archive figcaption strong {
    display: block;
    margin-top: 0.35rem;
    font-size: var(--step-0);
}

.case-figure--archive figcaption > span:last-child {
    display: none;
}

.section--kernpfad-dark {
    color: var(--color-paper);
    background: #151610;
}

.case-scope {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.case-scope article {
    min-width: 0;
    min-height: 20rem;
    padding: 1rem 0;
    border-top: var(--line-on-dark);
}

.case-scope article + article {
    border-left: 0;
}

.case-scope .technical-label {
    color: #b9ff16;
}

.case-scope h3 {
    margin: clamp(4rem, 8vw, 8rem) 0 var(--space-heading-copy-compact);
    font-size: var(--step-3);
    font-weight: 400;
}

.case-scope p {
    max-width: 34ch;
}

.reference-ledger {
    border-top: var(--line);
}

.reference-ledger__row {
    display: grid;
    min-height: 9rem;
    border-bottom: var(--line);
    grid-template-columns: minmax(9rem, 0.24fr) minmax(12rem, 0.42fr) minmax(0, 1fr);
    /* Unterschieden ueber die Akzentkante links, nicht ueber die Flaeche. */
    border-left: 0.35rem solid var(--item-color, var(--color-ink));
    background: var(--color-paper);
}

.reference-ledger__row.color-paper {
    border-left-color: var(--color-ink);
}

.reference-ledger__row + .reference-ledger__row {
    border-top: 0;
}

.reference-ledger__row > * {
    min-width: 0;
    padding: 1.25rem var(--grid-gap);
}

.reference-ledger__row > :first-child {
    padding-left: 0;
}

.reference-ledger__row > * + * {
    border-left: var(--line);
}

.reference-ledger__row h3 {
    margin-bottom: 0;
    font-size: var(--step-2);
    font-weight: 400;
    hyphens: manual;
}

.reference-ledger__row .tag {
    color: var(--color-ink);
    background: transparent;
}

.contact-hero {
    display: grid;
    padding: clamp(2rem, 5vw, 4.5rem) var(--site-gutter);
    border-bottom: var(--line);
    grid-template-columns: minmax(0, 1.3fr) minmax(15rem, 0.35fr);
    gap: var(--grid-gap);
}

.contact-hero__copy {
    display: flex;
    min-width: 0;
    padding: 0;
    gap: var(--space-heading-copy);
    flex-direction: column;
    justify-content: space-between;
}

.contact-hero__copy h1 {
    max-width: calc(12 * var(--zeichenmass));
    margin-block: auto;
    font-size: clamp(2.28rem, 5.92vw, 5.82rem);
}

.contact-hero__aside {
    position: relative;
    display: grid;
    border: var(--line);
    border-top: 0.35rem solid var(--color-coral);
    border-radius: var(--radius-media);
    place-items: center;
    background: var(--color-surface);
    overflow: hidden;
}

.contact-hero__aside img {
    position: relative;
    z-index: 1;
    width: min(64%, 18rem);
}

.error-page {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    padding: var(--site-gutter);
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.35fr);
    gap: var(--grid-gap);
    align-items: center;
    background: var(--color-paper);
}

.error-page__code {
    margin: 0;
    font-size: clamp(5.44rem, 19.04vw, 20.4rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 0.64;
}

.error-page__cut {
    min-height: 70%;
    border-radius: var(--radius-media);
    background: var(--color-ink) url("/assets/svg/brand/ruhrstack-mark-yellow.svg") center / 48% no-repeat;
}

.no-js .vision-toggle,
.vision-section:not(.vision-motion-ready) .vision-toggle {
    display: none;
}

@media (max-width: 991.98px) {

    .service-intro,
    .contact-grid,
    .contact-hero {
        grid-template-columns: 1fr;
    }

    .principle-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .team-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .case-intro__copy {
        display: block;
    }

    .case-intro__copy .lede {
        margin-top: var(--space-heading-copy);
    }

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

    .case-facts > div,
    .case-facts > div:first-child {
        padding: 1.1rem 0;
    }

    .case-facts > div + div {
        border-top: var(--line-on-dark);
        border-left: 0;
    }

    .case-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-scope {
        grid-template-columns: 1fr;
    }

    .case-scope article {
        min-height: auto;
    }

    .reference-ledger__row {
        grid-template-columns: 1fr;
    }

    .reference-ledger__row > * + * {
        border-top: var(--line);
        border-left: 0;
    }

    .contact-hero__aside {
        min-height: 24rem;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .trust-strip__item {
        display: grid;
        min-height: 0;
        padding: clamp(1.25rem, 4vw, 2rem);
        grid-template-columns: clamp(3.25rem, 10vw, 4.5rem) minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
    }

    .trust-strip__item + .trust-strip__item {
        border-top: var(--line-strong);
        border-left: 0;
    }

    .trust-strip__index {
        grid-column: 1;
        grid-row: 1 / span 2;
        padding-top: 0.35rem;
    }

    .trust-strip__item h3,
    .trust-strip__item p {
        grid-column: 2;
    }

    .trust-strip__item h3 {
        margin-top: 0;
    }

    .trust-strip__item p {
        max-width: 38ch;
        margin-top: clamp(1.5rem, 4vw, 2.25rem);
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {

    .service-index-cover {
        min-height: 42rem;
    }

    .service-index-cover h1 {
        font-size: clamp(2.04rem, 8.84vw, 3.06rem);
        overflow-wrap: anywhere;
    }

    .service-detail-cover {
        min-height: auto;
    }

    .service-detail-cover h1 {
        margin-top: clamp(3rem, 15vw, 5rem);
    }

    .service-detail-cover__name {
        font-size: clamp(2.04rem, 10.88vw, 3.4rem);
        overflow-wrap: anywhere;
    }

    .service-detail-cover__title {
        font-size: clamp(1.36rem, 6.8vw, 2.04rem);
    }

    .service-detail-cover__lead {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail-cover__lead .button {
        justify-self: start;
    }

    .principle-stack,
    .feature-grid,
    .case-highlight-grid,
    .case-screen-grid {
        grid-template-columns: 1fr;
    }

    .case-figure,
    .case-figure--wide {
        grid-column: 1 / -1;
    }

    .case-figure figcaption {
        grid-template-columns: 1fr;
    }

    .case-figure figcaption > span:last-child {
        grid-column: auto;
    }

    .case-archive summary {
        grid-template-columns: minmax(0, 1fr) 2.5rem;
    }

    .case-archive summary .technical-label {
        grid-column: 1;
        grid-row: 2;
    }

    .case-archive summary::after {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .case-archive__grid {
        grid-template-columns: 1fr;
    }

    .contact-hero__copy h1 {
        max-width: none;
        font-size: clamp(2.04rem, 8.84vw, 3.06rem);
    }

    .contact-hero__aside {
        min-height: 20rem;
    }

    .error-page {
        grid-template-columns: 1fr;
    }

    .error-page__cut {
        min-height: 22rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .vision-toggle {
        display: none;
    }
}

/* === Bewegung === */

html.scroll-lock-ready {
    scroll-snap-type: y proximity;
}

.page [data-scroll-lock] {
    min-block-size: calc(100svh - var(--scroll-lock-offset, var(--header-height)));
}

.page-hero[data-scroll-lock] .page-hero__grid {
    min-block-size: calc(100svh - var(--scroll-lock-offset, var(--header-height)) - var(--page-hero-padding-start) - var(--page-hero-padding-end));
}

html.scroll-lock-ready [data-scroll-lock].is-scroll-lock-fit {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.cursor-mark {
    --cursor-x: -100px;
    --cursor-y: -100px;
    --cursor-lag-x: 0px;
    --cursor-lag-y: 0px;
    /* Ruhezustand ein Punkt, ueber Klickbarem ein offener Ring. Der Halo haelt ihn auf dunklen
       Flaechen sichtbar. */
    --cursor-width: 0.5rem;
    --cursor-height: 0.5rem;
    --cursor-radius: 50%;
    --cursor-fill: var(--color-ink);
    --cursor-line: transparent;
    --cursor-shadow: 0 0 0 1px rgb(255 255 255 / 65%);
    --cursor-core-size: 0;
    --cursor-core-color: var(--color-ink);
    --cursor-label-color: var(--color-paper);
    --cursor-press-scale: 1;
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    display: none;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    contain: layout style;
    transform: translate3d(var(--cursor-x), var(--cursor-y), 0);
    transition: opacity 140ms ease;
}

.custom-cursor-ready .cursor-mark {
    display: block;
}

.cursor-mark[data-cursor-visible="true"] {
    opacity: 1;
}

.cursor-mark__surface {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: var(--cursor-width);
    height: var(--cursor-height);
    border: 1px solid var(--cursor-line);
    border-radius: var(--cursor-radius);
    color: var(--color-ink);
    background: var(--cursor-fill);
    box-shadow: var(--cursor-shadow);
    place-items: center;
    transform: translate3d(calc(-50% + var(--cursor-lag-x)), calc(-50% + var(--cursor-lag-y)), 0) scale(var(--cursor-press-scale));
    transition: width 180ms var(--ease-cut), height 180ms var(--ease-cut), border-color 140ms ease, border-radius 180ms var(--ease-cut), background-color 140ms ease, box-shadow 140ms ease, transform 100ms ease-out;
}

.cursor-mark__core {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--cursor-core-size);
    height: var(--cursor-core-size);
    border: 0;
    border-radius: 50%;
    background: var(--cursor-core-color);
    transform: translate3d(-50%, -50%, 0);
    transition: width 180ms var(--ease-cut), height 180ms var(--ease-cut), background-color 140ms ease, opacity 100ms ease;
}

.cursor-mark__label {
    padding: 0 0.52rem;
    color: var(--cursor-label-color);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translate3d(0, 0.16rem, 0);
    transition: opacity 90ms ease, transform 120ms var(--ease-cut);
}

/* Alles Klickbare traegt denselben Ring, der Punkt rueckt in seine Mitte. */
.cursor-mark[data-cursor-mode="link"],
.cursor-mark[data-cursor-mode="action"],
.cursor-mark[data-cursor-mode="submit"],
.cursor-mark[data-cursor-mode="menu-open"],
.cursor-mark[data-cursor-mode="menu-close"],
.cursor-mark[data-cursor-mode="faq-open"],
.cursor-mark[data-cursor-mode="faq-close"],
.cursor-mark[data-cursor-mode="vision-pause"],
.cursor-mark[data-cursor-mode="vision-play"] {
    --cursor-width: 2.125rem;
    --cursor-height: 2.125rem;
    --cursor-radius: 50%;
    --cursor-fill: transparent;
    --cursor-line: var(--color-ink);
    --cursor-shadow: 0 0 0 1px rgb(255 255 255 / 45%), inset 0 0 0 1px rgb(255 255 255 / 45%);
    --cursor-core-size: 0.28rem;
}

.cursor-mark[data-cursor-mode="media"] {
    --cursor-width: 2.75rem;
    --cursor-height: 2.75rem;
    --cursor-radius: 50%;
    --cursor-fill: transparent;
    --cursor-line: var(--color-ink);
    --cursor-shadow: 0 0 0 1px rgb(255 255 255 / 45%), inset 0 0 0 1px rgb(255 255 255 / 45%);
    --cursor-core-size: 0.28rem;
}

/* Mit Beschriftung wird der Ring zur gefuellten Scheibe, damit die Schrift lesbar bleibt. */
.cursor-mark[data-cursor-mode="view"] {
    --cursor-width: 4.75rem;
    --cursor-height: 4.75rem;
    --cursor-radius: 50%;
    --cursor-fill: var(--color-ink);
    --cursor-line: var(--color-ink);
    --cursor-shadow: 0 0 0 1px rgb(255 255 255 / 30%);
    --cursor-core-size: 0;
    --cursor-label-color: var(--color-paper);
}

.cursor-mark[data-cursor-mode="view"][data-cursor-label]:not([data-cursor-label=""]) .cursor-mark__label {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.cursor-mark.is-pressed {
    --cursor-press-scale: 0.86;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {

    .custom-cursor-ready,
    .custom-cursor-ready body,
    .custom-cursor-ready a,
    .custom-cursor-ready button,
    .custom-cursor-ready summary,
    .custom-cursor-ready [role="button"] {
        cursor: none;
    }

    .custom-cursor-ready input,
    .custom-cursor-ready textarea,
    .custom-cursor-ready [contenteditable],
    .custom-cursor-ready [role="textbox"] {
        cursor: text;
    }

    .custom-cursor-ready label,
    .custom-cursor-ready select,
    .custom-cursor-ready option,
    .custom-cursor-ready iframe,
    .custom-cursor-ready audio[controls],
    .custom-cursor-ready video[controls],
    .custom-cursor-ready [data-cursor-native] {
        cursor: auto;
    }

    .custom-cursor-ready [disabled],
    .custom-cursor-ready [aria-disabled="true"] {
        cursor: wait !important;
    }
}

@media (forced-colors: active), (prefers-contrast: more) {

    .cursor-mark {
        display: none !important;
    }
}

.logo-cycle__image {
    transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready [data-reveal="left"] {
    transform: translate3d(-1.5rem, 0, 0);
}

.motion-ready [data-reveal="right"] {
    transform: translate3d(1.5rem, 0, 0);
}

.motion-ready [data-reveal="cut"] {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
    transform: none;
    transition: clip-path 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.motion-ready [data-reveal="cut"].is-visible {
    clip-path: inset(-0.16em 0 -0.28em 0);
}

.motion-ready [data-reveal-group] > * {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
    transition: opacity 680ms cubic-bezier(0.16, 1, 0.3, 1), transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready [data-reveal-group].is-visible > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.motion-ready [data-reveal-group].is-visible > *:nth-child(2) {
    transition-delay: 60ms;
}

.motion-ready [data-reveal-group].is-visible > *:nth-child(3) {
    transition-delay: 120ms;
}

.motion-ready [data-reveal-group].is-visible > *:nth-child(4) {
    transition-delay: 180ms;
}

.motion-ready [data-reveal-group].is-visible > *:nth-child(5) {
    transition-delay: 240ms;
}

.motion-ready [data-reveal-group].is-visible > *:nth-child(6) {
    transition-delay: 300ms;
}

.motion-ready [data-reveal-group].is-visible > *:nth-child(7) {
    transition-delay: 360ms;
}

.motion-ready [data-reveal-group].is-visible > *:nth-child(8) {
    transition-delay: 420ms;
}

.motion-ready .project-scope__rows[data-reveal-group] > .project-scope__row .project-scope__chip {
    opacity: 0;
}

.motion-ready .project-scope__rows[data-reveal-group].is-visible > .project-scope__row .project-scope__chip {
    opacity: 1;
}

.motion-ready .project-scope__rows[data-reveal-group].is-visible .project-scope__chip:nth-child(1) {
    transition-delay: 160ms;
}

.motion-ready .project-scope__rows[data-reveal-group].is-visible .project-scope__chip:nth-child(2) {
    transition-delay: 200ms;
}

.motion-ready .project-scope__rows[data-reveal-group].is-visible .project-scope__chip:nth-child(3) {
    transition-delay: 240ms;
}

.motion-ready .project-scope__rows[data-reveal-group].is-visible .project-scope__chip:nth-child(4) {
    transition-delay: 280ms;
}

.motion-ready .project-scope__rows[data-reveal-group].is-visible .project-scope__chip:nth-child(5) {
    transition-delay: 320ms;
}

.motion-ready .trust-strip[data-reveal-group] > .trust-strip__item {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
    transform: none;
    transition: clip-path 720ms var(--ease-cut);
}

.motion-ready .trust-strip[data-reveal-group].is-visible > .trust-strip__item {
    clip-path: inset(0);
    transform: none;
}

.motion-ready .reference-ledger[data-reveal-group] > .reference-ledger__row {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
    transform: none;
    transition: clip-path 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready .reference-ledger[data-reveal-group].is-visible > .reference-ledger__row {
    clip-path: inset(0 0 0 0);
    transform: none;
}

.motion-ready .reference-ledger[data-reveal-group].is-visible > .reference-ledger__row:nth-child(2) {
    transition-delay: 70ms;
}

.motion-ready .reference-ledger[data-reveal-group].is-visible > .reference-ledger__row:nth-child(3) {
    transition-delay: 140ms;
}

.motion-ready .reference-ledger[data-reveal-group].is-visible > .reference-ledger__row:nth-child(4) {
    transition-delay: 210ms;
}

.faq-scroll-ready .faq-item[open] .faq-item__answer {
    animation: faq-answer-in var(--faq-answer-duration) var(--faq-transition-ease) both;
}

@keyframes faq-answer-in {
    from {
        opacity: 0;
        transform: translate3d(0, 0.45rem, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.vision-motion-ready {
    --vision-progress: 0;
    --vision-x: 0;
    --vision-y: 0;
    --vision-scale: 0.74;
}

.vision-motion-ready [data-vision-camera] {
    transform: translate3d(calc(-50% + var(--vision-x) * 1%), calc(-50% + var(--vision-y) * 1%), 0) scale(var(--vision-scale));
    transform-origin: center;
    will-change: auto;
}

.vision-motion-ready.is-vision-visible [data-vision-camera] {
    will-change: transform;
}

html[data-scroll-tone="coral"] {
    --scroll-accent: var(--color-yellow);
}

html[data-scroll-tone="yellow"] {
    --scroll-accent: var(--color-coral);
}

html[data-scroll-tone="sage"] {
    --scroll-accent: var(--color-ink);
}

html[data-scroll-tone="ink"] {
    --scroll-accent: var(--color-yellow);
}

.scroll-progress {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    pointer-events: none;
    transform: scaleX(var(--page-progress, 0));
    transform-origin: left;
    background: var(--scroll-accent);
    transition: background-color 320ms ease;
}

.motion-ready .home-cover__line {
    animation: home-title-line-in 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-ready .home-cover__line:nth-child(2) {
    animation-delay: 90ms;
}

.motion-ready .service-index-cover h1,
.motion-ready .service-detail-cover h1,
.motion-ready .page-hero h1,
.motion-ready .contact-hero h1 {
    animation: cover-title-in 860ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes home-title-line-in {
    from {
        clip-path: inset(0 0 100% 0);
        opacity: 0;
        transform: translate3d(0, 0.7em, 0);
    }
    to {
        clip-path: inset(-0.16em 0 -0.28em 0);
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes cover-title-in {
    from {
        clip-path: inset(0 0 100% 0);
        opacity: 0;
        transform: translate3d(0, 1.25rem, 0);
    }
    to {
        clip-path: inset(-0.16em 0 -0.28em 0);
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.scroll-motion-ready [data-scroll-scene] .section-heading h2,
.scroll-motion-ready [data-scroll-scene] .editorial-section-head h2 {
    transform: translate3d(0, calc(var(--scene-shift, 0) * -0.5rem), 0);
}

.scroll-motion-ready [data-scroll-scene] .section-heading .section-index,
.scroll-motion-ready [data-scroll-scene] .editorial-section-head .section-index,
.scroll-motion-ready [data-scroll-scene] .editorial-section-head__meta {
    transform: translate3d(calc(var(--scene-shift, 0) * 0.45rem), 0, 0);
}

.scroll-motion-ready [data-scroll-scene] .section-heading__copy,
.scroll-motion-ready [data-scroll-scene] .editorial-section-head__copy {
    transform: translate3d(0, calc(var(--scene-shift, 0) * 0.35rem), 0);
}

.scroll-motion-ready .home-cover__head {
    transform: translate3d(0, calc(var(--scene-shift, 0) * -0.65rem), 0);
}

.scroll-motion-ready .home-cover__media {
    transform: translate3d(0, calc(var(--scene-shift, 0) * 0.9rem), 0);
}

.scroll-motion-ready .home-cover__intro {
    transform: translate3d(0, calc(var(--scene-shift, 0) * -0.4rem), 0);
}

.scroll-motion-ready .service-index-cover h1 > span:first-child {
    transform: translate3d(calc(var(--scene-shift, 0) * -0.7rem), 0, 0);
}

.scroll-motion-ready .service-index-cover h1 > span:last-child {
    transform: translate3d(calc(var(--scene-shift, 0) * 0.7rem), 0, 0);
}

.scroll-motion-ready .service-gallery .service-project__head {
    transform: translate3d(0, calc(var(--scene-shift, 0) * -0.35rem), 0);
}

.scroll-motion-ready .service-gallery .service-project:nth-child(3n + 2) .service-project__head {
    transform: translate3d(0, calc(var(--scene-shift, 0) * 0.28rem), 0);
}

.scroll-motion-ready .service-gallery .service-project:nth-child(3n + 3) .service-project__head {
    transform: translate3d(0, calc(var(--scene-shift, 0) * -0.5rem), 0);
}

.scroll-motion-ready .service-gallery .service-project__media {
    transform: translate3d(0, calc(var(--scene-shift, 0) * 0.45rem), 0);
}

.scroll-motion-ready .service-gallery .service-project:nth-child(3n + 2) .service-project__media {
    transform: translate3d(0, calc(var(--scene-shift, 0) * -0.35rem), 0);
}

.scroll-motion-ready .service-gallery .service-project:nth-child(3n + 3) .service-project__media {
    transform: translate3d(0, calc(var(--scene-shift, 0) * 0.65rem), 0);
}

.scroll-motion-ready .project-card__visual {
    transform: translate3d(0, calc(var(--scene-shift, 0) * 0.55rem), 0);
}

.scroll-motion-ready .project-card__body {
    transform: translate3d(0, calc(var(--scene-shift, 0) * -0.35rem), 0);
}

.scroll-motion-ready .principle h3,
.scroll-motion-ready .feature h3 {
    transform: translate3d(calc(var(--scene-shift, 0) * -0.3rem), 0, 0);
}

.scroll-motion-ready .principle p,
.scroll-motion-ready .feature p {
    transform: translate3d(calc(var(--scene-shift, 0) * 0.22rem), 0, 0);
}

.scroll-motion-ready .statement__word:first-child {
    transform: translate3d(0, calc(var(--scene-shift, 0) * -1rem), 0);
}

.scroll-motion-ready .statement__word--offset {
    transform: translate3d(0, calc(var(--scene-shift, 0) * 1rem), 0);
}

.scroll-motion-ready .page-hero__mark {
    transform: translate3d(calc(var(--pointer-x, 0) * -0.5rem), calc((var(--scene-shift, 0) * 1.25rem) + (var(--pointer-y, 0) * -0.35rem)), 0) rotate(calc(var(--pointer-x, 0) * 0.8deg));
}

.team-card__mark {
    /* Auf heller Karte ist der dunkle Markenblock sonst zu dominant. */
    width: min(10%, 3rem, 5vh);
    height: auto;
    object-fit: contain;
    opacity: 1;
    --team-motion-y: 0rem;
    --team-motion-scale: 1;
    --team-motion-rotate: 0deg;
    transform: translate3d(0, var(--team-motion-y), 0) rotate(var(--team-motion-rotate)) scale(var(--team-motion-scale));
    transition: opacity 420ms ease, transform 720ms var(--ease-cut);
}

.scroll-motion-ready .team-card__mark {
    --team-motion-y: calc(var(--scene-shift, 0) * 1rem);
}

.scroll-motion-ready .service-detail-cover__media .motif {
    transform: translate3d(0, calc(var(--scene-shift, 0) * 0.7rem), 0);
}

.pointer-motion-ready [data-pointer-field] {
    --pointer-x: 0;
    --pointer-y: 0;
}

.pointer-motion-ready .home-cover__logo--main {
    transform: translate3d(calc(var(--pointer-x, 0) * 0.75rem), calc((var(--pointer-y, 0) * 0.5rem) + (var(--scene-shift, 0) * 0.4rem)), 0) rotate(calc(var(--pointer-x, 0) * 0.7deg)) scale(1.01);
}

.pointer-motion-ready .home-cover__logo--echo {
    transform: translate3d(calc(-42% + (var(--pointer-x, 0) * -1.5rem)), calc(-50% + (var(--pointer-y, 0) * -1rem) + (var(--scene-shift, 0) * 0.7rem)), 0) scale(2.35, 0.56) rotate(calc(-4deg + (var(--pointer-x, 0) * -1.2deg)));
}

.service-project__image,
.project-card__visual--image img,
.motif__image {
    --media-pointer-x: 0rem;
    --media-pointer-y: 0rem;
    --media-hover-x: 0px;
    --media-hover-y: 0px;
    --media-motion-scale: 1.001;
    transform: translate3d(calc(var(--media-pointer-x) + var(--media-hover-x)), calc(var(--media-pointer-y) + var(--media-hover-y)), 0) scale(var(--media-motion-scale));
}

.project-card__visual--image img {
    --media-motion-scale: 0.985;
}

.pointer-motion-ready [data-pointer-field] .service-project__image:not(.service-project__image--echo) {
    --media-pointer-x: calc(var(--pointer-x, 0) * 0.45rem);
    --media-pointer-y: calc(var(--pointer-y, 0) * 0.35rem);
}

.pointer-motion-ready [data-pointer-field] .service-project__image--echo {
    --media-pointer-x: calc(var(--pointer-x, 0) * -0.65rem);
    --media-pointer-y: calc(var(--pointer-y, 0) * -0.5rem);
}

.pointer-motion-ready [data-pointer-field] .motif__image {
    --media-pointer-x: calc(var(--pointer-x, 0) * 0.5rem);
    --media-pointer-y: calc(var(--pointer-y, 0) * 0.4rem);
}

.pointer-motion-ready .contact-hero__aside img {
    transform: translate3d(calc(var(--pointer-x, 0) * 0.65rem), calc((var(--pointer-y, 0) * 0.5rem) + (var(--scene-shift, 0) * 0.65rem)), 0) rotate(calc(var(--pointer-x, 0) * 0.7deg));
}

.pointer-motion-ready [data-pointer-field]:hover img,
.pointer-motion-ready [data-magnetic]:hover {
    will-change: transform;
}

.pointer-motion-ready [data-magnetic] {
    --magnetic-x: 0px;
    --magnetic-y: 0px;
    --magnetic-hover-y: 0px;
    transform: translate3d(var(--magnetic-x), calc(var(--magnetic-y) + var(--magnetic-hover-y)), 0);
}

.pointer-motion-ready [data-magnetic]:hover {
    --magnetic-hover-y: -1px;
}

.pointer-motion-ready [data-magnetic]:focus-visible {
    transform: translate3d(0, 0, 0);
}

.cta-banner::before,
.cta-banner::after {
    position: absolute;
    z-index: 0;
    display: block;
    content: "";
    pointer-events: none;
}

.cta-banner::before {
    top: -22%;
    right: -4%;
    width: clamp(12rem, 24vw, 24rem);
    aspect-ratio: 1;
    background: var(--color-coral);
    clip-path: polygon(0 0, 100% 0, 100% 62%, 63% 43%, 100% 100%, 60% 100%, 42% 63%, 0 100%);
    opacity: 0.9;
    transform: translate3d(calc(var(--pointer-x, 0) * -0.9rem), calc(var(--pointer-y, 0) * -0.7rem), 0) rotate(calc(-8deg + (var(--pointer-x, 0) * -1deg)));
}

.cta-banner::after {
    right: 20%;
    bottom: -14%;
    width: clamp(8rem, 16vw, 16rem);
    aspect-ratio: 1;
    border: 1px solid var(--color-paper);
    background: var(--color-yellow);
    opacity: 0.86;
    transform: translate3d(calc(var(--pointer-x, 0) * 0.7rem), calc(var(--pointer-y, 0) * 0.55rem), 0) rotate(calc(18deg + (var(--pointer-x, 0) * 0.8deg)));
}

.section,
.studio-statement {
    --motion-accent: var(--color-coral);
}

.section--coral {
    --motion-accent: var(--color-yellow);
}

.section--yellow {
    --motion-accent: var(--color-coral);
}

.section--sage {
    --motion-accent: var(--color-ink);
}

.section--ink,
.section--kernpfad-dark {
    --motion-accent: var(--color-yellow);
}

.scroll-motion-ready [data-scroll-scene] .section-heading,
.scroll-motion-ready [data-scroll-scene] .editorial-section-head {
    position: relative;
}

.scroll-motion-ready [data-scroll-scene] .section-heading::before,
.scroll-motion-ready [data-scroll-scene] .section-heading::after,
.scroll-motion-ready [data-scroll-scene] .editorial-section-head::before,
.scroll-motion-ready [data-scroll-scene] .editorial-section-head::after {
    position: absolute;
    top: -1.1rem;
    left: 0;
    height: 1px;
    content: "";
    transform: scaleX(var(--scene-progress, 0));
    transform-origin: left center;
}

.scroll-motion-ready [data-scroll-scene] .section-heading::before,
.scroll-motion-ready [data-scroll-scene] .editorial-section-head::before {
    right: 0;
    background: currentColor;
    opacity: 0.28;
}

.scroll-motion-ready [data-scroll-scene] .section-heading::after,
.scroll-motion-ready [data-scroll-scene] .editorial-section-head::after {
    width: clamp(2.5rem, 6vw, 6rem);
    height: 3px;
    background: var(--motion-accent);
}

.scroll-motion-ready .studio-statement__lead span {
    position: relative;
    display: inline-block;
    transform: translate3d(0, 0.08em, 0);
    transition: color 480ms var(--ease-cut), transform 480ms var(--ease-cut);
}

.scroll-motion-ready .studio-statement__lead span::after {
    position: absolute;
    right: 0;
    bottom: -0.09em;
    left: 0;
    height: 3px;
    background: var(--chapter-color, var(--color-coral));
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 480ms var(--ease-cut);
}

.scroll-motion-ready .studio-statement[data-motion-step="1"] .studio-statement__chapter--gestaltung,
.scroll-motion-ready .studio-statement[data-motion-step="2"] .studio-statement__chapter--gestaltung,
.scroll-motion-ready .studio-statement[data-motion-step="2"] .studio-statement__chapter--entwicklung,
.scroll-motion-ready .studio-statement[data-motion-step="3"] .studio-statement__chapter {
    transform: translate3d(0, 0, 0);
}

.scroll-motion-ready .studio-statement[data-motion-step="1"] .studio-statement__chapter--gestaltung::after,
.scroll-motion-ready .studio-statement[data-motion-step="2"] .studio-statement__chapter--gestaltung::after,
.scroll-motion-ready .studio-statement[data-motion-step="2"] .studio-statement__chapter--entwicklung::after,
.scroll-motion-ready .studio-statement[data-motion-step="3"] .studio-statement__chapter::after {
    transform: scaleX(1);
}

.motion-ready [data-reveal-group] > .project-card .project-card__visual::after,
.motion-ready .project-card[data-reveal] .project-card__visual::after,
.motion-ready .case-figure[data-reveal] .case-frame::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: block;
    background: var(--project-color, var(--color-coral));
    content: "";
    pointer-events: none;
    transform: scaleX(1);
    transform-origin: right center;
    transition: transform 760ms var(--ease-cut);
}

.motion-ready .case-figure[data-reveal] .case-frame::after {
    background: var(--color-yellow);
}

.motion-ready [data-reveal-group].is-visible > .project-card .project-card__visual::after,
.motion-ready .project-card[data-reveal].is-visible .project-card__visual::after,
.motion-ready .case-figure[data-reveal].is-visible .case-frame::after {
    transform: scaleX(0);
}

.principle h3,
.principle p,
.feature__number,
.feature h3,
.feature p,
.service-project__head,
.service-project__head h3,
.service-project__number,
.project-card__body,
.project-card__body h3,
.team-card__name,
.trust-strip__item h3,
.trust-strip__item p,
.reference-ledger__row > *,
.case-frame__index,
.nav-drawer__link span,
.field label,
.site-footer__group a,
.text-link {
    transition: color 280ms ease, opacity 280ms ease, transform 420ms var(--ease-cut);
}

.principle,
.feature,
.trust-strip__item,
.reference-ledger__row {
    position: relative;
}

.principle::before,
.feature::after,
.trust-strip__item::before,
.reference-ledger__row::before {
    position: absolute;
    z-index: 2;
    display: block;
    content: "";
    pointer-events: none;
    transform-origin: left center;
}

.principle::before,
.feature::after,
.trust-strip__item::before {
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    transform: scaleX(0);
}

.feature::after {
    background: var(--feature-accent, var(--color-ink));
}

.principle::before {
    background: var(--color-ink);
}

.principle.color-ink::before {
    background: var(--color-yellow);
}

.trust-strip__item::before {
    top: 0;
    bottom: auto;
    height: 5px;
    background: var(--trust-accent);
}

.reference-ledger__row::before {
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--color-ink);
    transform: scaleY(0);
    transform-origin: center top;
}

.principle::before,
.feature::after,
.trust-strip__item::before,
.reference-ledger__row::before {
    transition: transform 320ms var(--ease-cut);
}

.reference-ledger__row.color-paper::before {
    background: var(--color-coral);
}

.nav-drawer__link {
    position: relative;
}

.nav-drawer__link::after,
.site-footer__group a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 3rem;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 260ms var(--ease-cut);
}

.site-footer__group a {
    color: inherit;
    text-decoration-color: rgb(255 255 255 / 35%);
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.site-footer__group a::after {
    left: 0;
    background: var(--color-yellow);
}

@media (hover: hover) and (pointer: fine) {

    .service-project:hover .service-project__image:not(.service-project__image--echo),
    .service-project:focus-visible .service-project__image:not(.service-project__image--echo),
    .motif:hover .motif__image {
        --media-motion-scale: 1.025;
    }

    .project-card:hover .project-card__visual--image img,
    .project-card:focus-visible .project-card__visual--image img {
        --media-motion-scale: 1;
    }

    .service-project:hover .service-project__image--echo,
    .service-project:focus-visible .service-project__image--echo {
        --media-hover-x: 8px;
        --media-hover-y: -6px;
        --media-motion-scale: 1.025;
        opacity: 0.12;
    }

    .service-project:hover .service-project__head h3,
    .service-project:focus-visible .service-project__head h3,
    .project-card:hover .project-card__body h3,
    .project-card:focus-visible .project-card__body h3,
    .principle:hover h3,
    .feature:hover h3,
    .team-card:hover .team-card__name,
    .reference-ledger__row:hover h3,
    .reference-ledger__row:hover p {
        transform: translate3d(0.25rem, 0, 0);
    }

    .trust-strip__item:hover h3 {
        transform: translate3d(0, -3px, 0);
    }

    .service-project:hover .service-project__number,
    .service-project:focus-visible .service-project__number,
    .feature:hover .feature__number,
    .case-frame:hover .case-frame__index,
    .case-frame:focus-visible .case-frame__index {
        transform: translate3d(-0.25rem, 0, 0);
    }

    .principle:hover::before,
    .feature:hover::after,
    .trust-strip__item:hover::before {
        transform: scaleX(1);
    }

    .reference-ledger__row:hover::before {
        transform: scaleY(1);
    }

    .team-card:hover .team-card__mark {
        --team-motion-scale: 1.025;
        --team-motion-rotate: -1.2deg;
        opacity: 1;
        will-change: transform;
    }

    .case-frame:hover img,
    .case-frame:focus-visible img {
        transform: scale(1.025);
    }

    .nav-drawer__link:hover::after,
    .nav-drawer__link:focus-visible::after,
    .site-footer__group a:hover::after,
    .site-footer__group a:focus-visible::after {
        transform: scaleX(1);
    }

    .nav-drawer__link:hover span,
    .nav-drawer__link:focus-visible span {
        transform: translate3d(0.25rem, 0, 0);
    }

    .field:hover label,
    .field:focus-within label {
        color: var(--color-coral);
        transform: translate3d(0.2rem, 0, 0);
    }

    .text-link:hover,
    .text-link:focus-visible {
        transform: translate3d(0.2rem, 0, 0);
    }
}

.scroll-motion-ready .process-list__item {
    transition: color 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-motion-ready .process-list__item::before {
    transition: opacity 280ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-motion-ready .process-list__item::after {
    transition: opacity 220ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-motion-ready .process-list__item > * {
    transition: border-color 360ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-motion-ready .process-list__item.is-scroll-current {
    color: var(--color-ink);
}

.scroll-motion-ready .process-list__item.is-scroll-current::before {
    opacity: 1;
    transform: scaleX(1);
}

/* Die Akzentleiste traegt die Markierung. */
.scroll-motion-ready .process-list__item.is-scroll-current::after {
    opacity: 1;
    transform: scaleY(1);
}

.scroll-motion-ready .process-list__item.is-scroll-current > * + * {
    border-left-color: rgb(32 32 32 / 26%);
}

.scroll-motion-ready .process-list__item.is-scroll-current .process-list__number {
    color: var(--color-ink);
}

@media (hover: hover) and (pointer: fine) {

    .scroll-motion-ready .process-list__item:not(.is-scroll-current):hover::after {
        opacity: 1;
        transform: scaleY(1);
    }

    .scroll-motion-ready .process-list__item:not(.is-scroll-current):hover .process-list__number {
        transform: translate3d(0.08rem, 0, 0);
    }

    .scroll-motion-ready .process-list__item:not(.is-scroll-current):hover .process-list__title {
        transform: translate3d(0.15rem, 0, 0);
    }
}

.scroll-motion-ready .motif__rotor,
.scroll-motion-ready .motif__rotor::before,
.scroll-motion-ready .motif__rotor::after {
    position: absolute;
    z-index: 1;
    display: block;
    content: "";
    pointer-events: none;
}

.scroll-motion-ready .motif__rotor {
    width: min(70%, 30rem);
    aspect-ratio: 1;
    border: 1px solid var(--color-ink);
    opacity: 0.24;
    transform: rotate(calc(-12deg + (var(--scene-progress, 0.5) * 28deg)));
}

.scroll-motion-ready .motif__rotor::before,
.scroll-motion-ready .motif__rotor::after {
    inset: 13%;
    border: 1px solid currentColor;
    transform: rotate(28deg);
}

.scroll-motion-ready .motif__rotor::after {
    inset: 27%;
    background: var(--color-paper);
    opacity: 0.6;
    transform: rotate(-19deg);
}

.nav-drawer__link {
    transition: color 240ms ease, opacity 420ms cubic-bezier(0.16, 1, 0.3, 1), transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drawer:not(.is-open) .nav-drawer__link {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
}

.nav-drawer.is-open .nav-drawer__link:nth-child(2) {
    transition-delay: 45ms;
}

.nav-drawer.is-open .nav-drawer__link:nth-child(3) {
    transition-delay: 90ms;
}

.nav-drawer.is-open .nav-drawer__link:nth-child(4) {
    transition-delay: 135ms;
}

.nav-drawer.is-open .nav-drawer__link:nth-child(5) {
    transition-delay: 180ms;
}

@media (max-width: 767.98px), (max-height: 559px) {

    .scroll-motion-ready [data-scroll-scene] .section-heading h2,
    .scroll-motion-ready [data-scroll-scene] .editorial-section-head h2,
    .scroll-motion-ready [data-scroll-scene] .section-heading .section-index,
    .scroll-motion-ready [data-scroll-scene] .editorial-section-head .section-index,
    .scroll-motion-ready [data-scroll-scene] .editorial-section-head__meta,
    .scroll-motion-ready [data-scroll-scene] .section-heading__copy,
    .scroll-motion-ready [data-scroll-scene] .editorial-section-head__copy,
    .scroll-motion-ready .home-cover__head,
    .scroll-motion-ready .home-cover__media,
    .scroll-motion-ready .home-cover__intro,
    .scroll-motion-ready .service-index-cover h1 > span,
    .scroll-motion-ready .service-gallery .service-project__head,
    .scroll-motion-ready .service-gallery .service-project__media,
    .scroll-motion-ready .project-card__visual,
    .scroll-motion-ready .project-card__body,
    .scroll-motion-ready .principle h3,
    .scroll-motion-ready .principle p,
    .scroll-motion-ready .feature h3,
    .scroll-motion-ready .feature p,
    .scroll-motion-ready .statement__word:first-child,
    .scroll-motion-ready .statement__word--offset,
    .scroll-motion-ready .page-hero__mark,
    .scroll-motion-ready .team-card__mark,
    .scroll-motion-ready .service-detail-cover__media .motif,
    .scroll-motion-ready .motif__rotor {
        transform: none !important;
    }

    .scroll-motion-ready [data-scroll-scene] .section-heading::before,
    .scroll-motion-ready [data-scroll-scene] .section-heading::after,
    .scroll-motion-ready [data-scroll-scene] .editorial-section-head::before,
    .scroll-motion-ready [data-scroll-scene] .editorial-section-head::after,
    .scroll-motion-ready .studio-statement__lead span::after {
        display: none;
    }

    .scroll-motion-ready .studio-statement__lead span {
        color: var(--chapter-text, var(--color-ink));
        transform: none;
        transition: none;
    }
}

.no-js .scroll-progress {
    display: none;
}

@media (prefers-reduced-motion: reduce) {

    html.scroll-lock-ready {
        scroll-snap-type: none;
    }

    .scroll-progress,
    .nav-drawer,
    .nav-drawer__link,
    .menu-toggle__lines,
    .menu-toggle__lines::before,
    .menu-toggle__lines::after,
    .scroll-motion-ready .process-list__item {
        transition: none;
    }

    .motion-ready .home-cover__line,
    .motion-ready .service-index-cover h1,
    .motion-ready .service-detail-cover h1,
    .motion-ready .page-hero h1,
    .motion-ready .contact-hero h1 {
        animation: none;
        clip-path: none;
        opacity: 1;
        transform: none;
    }

    .pointer-motion-ready [data-magnetic],
    .pointer-motion-ready .home-cover__logo--main,
    .pointer-motion-ready .home-cover__logo--echo,
    .pointer-motion-ready [data-pointer-field] .service-project__image,
    .pointer-motion-ready [data-pointer-field].project-card__visual--image img,
    .pointer-motion-ready [data-pointer-field] .motif__image,
    .pointer-motion-ready .contact-hero__aside img,
    .scroll-motion-ready [data-scroll-scene] .section-heading h2,
    .scroll-motion-ready [data-scroll-scene] .editorial-section-head h2,
    .scroll-motion-ready .statement__word,
    .scroll-motion-ready .page-hero__mark,
    .team-card__name,
    .team-card__mark,
    .scroll-motion-ready .service-detail-cover__media .motif {
        transform: none !important;
        transition: none !important;
    }

    .scroll-motion-ready .process-list__item > * {
        transform: none !important;
        transition: none !important;
    }

    .cta-banner::before {
        transform: rotate(-8deg);
    }

    .cta-banner::after {
        transform: rotate(18deg);
    }

    .logo-cycle__image {
        transition: none;
    }

    .motif__rotor {
        transform: rotate(-12deg);
    }

    .motif__image {
        filter: none;
        transform: none;
        transition: none;
    }

    .case-frame img,
    .case-frame__index,
    .service-project__image,
    .project-card__visual--image img {
        transform: none !important;
        transition: none !important;
    }

    .service-project__image--echo {
        opacity: 0 !important;
    }

    .reference-ledger[data-reveal-group] > .reference-ledger__row {
        clip-path: none !important;
        transition: none !important;
    }

    .reference-ledger__row::before,
    .reference-ledger__row > *,
    .reference-ledger__row .tag,
    .project-scope__row,
    .project-scope__copy,
    .project-scope__chips,
    .project-scope__chip,
    .principle::before,
    .principle h3,
    .principle p,
    .feature::after,
    .feature__number,
    .feature h3,
    .feature p,
    .trust-strip__item::before,
    .trust-strip__item h3,
    .trust-strip__item p,
    .service-project__head,
    .service-project__head h3,
    .service-project__number,
    .project-card__body,
    .project-card__body h3,
    .team-card__name,
    .case-frame__index,
    .nav-drawer__link::after,
    .nav-drawer__link span,
    .site-footer__group a,
    .site-footer__group a::after,
    .field label,
    .text-link {
        transition: none !important;
    }

    .project-scope__copy,
    .project-scope__chips,
    .project-scope__chip {
        opacity: 1 !important;
        transform: none !important;
    }

    .motion-ready [data-reveal-group] > .project-card .project-card__visual::after,
    .motion-ready .project-card[data-reveal] .project-card__visual::after,
    .motion-ready .case-figure[data-reveal] .case-frame::after {
        transform: scaleX(0) !important;
        transition: none !important;
    }

    .motion-ready [data-reveal],
    .motion-ready [data-reveal-group] > * {
        opacity: 1;
        clip-path: none;
        transform: none;
        transition: none;
    }

    .vision-motion-ready [data-vision-camera] {
        transform: translate3d(-50%, -50%, 0) scale(0.74);
        will-change: auto;
    }

    .faq-item,
    .faq-item::before,
    .faq-item summary,
    .faq-item__question,
    .faq-item__icon,
    .faq-item__answer,
    .faq-item::details-content {
        animation: none !important;
        transition: none !important;
    }
}

/* Leichte Tiefenbewegung. Ohne Skript und bei reduzierter Bewegung bleibt --parallax leer. */
.scroll-motion-ready [data-parallax] {
    transform: translate3d(0, var(--parallax, 0), 0);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {

    .scroll-motion-ready [data-parallax] {
        transform: none;
    }
}

/* === Medienabfragen === */

@media (max-width: 1199.98px) {

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

    .site-footer__brand {
        min-height: 12rem;
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {

    .no-js .menu-toggle {
        display: none;
    }

    .no-js .mobile-fallback-nav {
        display: flex;
        margin-left: auto;
        align-items: center;
        gap: 0.85rem;
        font-size: var(--step--1);
    }

    .home-cover {
        padding-top: clamp(3.5rem, 9vw, 5.5rem);
    }

    .home-cover__head {
        max-width: none;
    }

    .home-cover__title {
        max-width: calc(12 * var(--zeichenmass));
    }

    .home-cover__media {
        aspect-ratio: 2.35 / 1;
    }

    .studio-statement__body {
        margin-left: 0;
    }

    .service-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-scope__layout {
        grid-template-columns: 1fr;
        gap: clamp(3.5rem, 8vw, 5rem);
    }

    .project-scope__intro {
        position: static;
    }

    .project-scope__intro h2 {
        max-width: calc(10 * var(--zeichenmass));
    }

    .project-scope__lead {
        max-width: 46ch;
    }

    .project-scope__cta {
        margin-top: 2rem;
    }

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

    .page-hero__copy {
        max-width: 42ch;
    }

    .process-list__item {
        grid-template-columns: 3.25rem minmax(0, 1fr);
    }

    /* Text unter dem Titel, auf derselben Achse. */
    .process-list__item > :last-child {
        grid-column: 2 / -1;
        padding-top: 0;
        border-top: 0;
        border-left: 0;
    }

    .process-list__item > :nth-child(2) {
        padding-bottom: 0.4rem;
        border-left: 0;
    }

    /* Nummer auf Hoehe des Titels, nicht mittig zur Zeile. */
    .process-list__item > :first-child {
        align-items: start;
        padding-top: calc(clamp(1.35rem, 2vw, 2rem) + 0.2em);
    }

    .cta-banner {
        grid-template-columns: 1fr;
    }

    .cta-banner__action {
        justify-self: start;
    }

    .cta-banner::after {
        right: -3rem;
        bottom: -5.5rem;
        width: clamp(10rem, 24vw, 13rem);
    }
}

@media (max-width: 767.98px) {

    .site-header__inner {
        padding-inline: var(--site-gutter);
    }

    .brand__name {
        font-size: 0.72rem;
    }

    .menu-toggle {
        min-height: 32px;
    }

    .mobile-fallback-nav a:not(:last-child) {
        display: none;
    }

    .nav-drawer {
        grid-template-columns: 1fr;
    }

    .nav-drawer__main {
        padding: 2rem var(--site-gutter) 5rem;
    }

    .nav-drawer__link {
        max-width: none;
        grid-template-columns: 2rem minmax(0, 1fr);
        font-size: clamp(1.9rem, 8.84vw, 3.13rem);
    }

    .nav-drawer__aside {
        display: none;
    }

    .home-cover {
        padding-top: clamp(3rem, 14vw, 4.5rem);
    }

    .home-cover__head {
        max-width: 100%;
    }

    .home-cover__head .eyebrow {
        margin-bottom: 1.25rem;
    }

    .home-cover__title {
        max-width: 100%;
        font-size: clamp(2.04rem, 9.38vw, 2.92rem);
        overflow-wrap: anywhere;
    }

    .home-cover__line {
        display: block;
    }

    .home-cover__media {
        min-height: 19rem;
        margin-top: 1.75rem;
        aspect-ratio: 4 / 3;
    }

    .home-cover__logo {
        width: min(58vw, 13rem);
    }

    .home-cover__logo--echo {
        width: min(76vw, 18rem);
        filter: blur(16px);
        transform: translate(-44%, -50%) scale(1.8, 0.72) rotate(-4deg);
    }

    .home-cover__media-stage > .home-cover__logo--echo {
        width: min(76vw, 18rem);
    }

    .home-cover__media-meta {
        flex-direction: column;
        gap: 0.2rem;
    }

    .home-cover__intro {
        margin-top: 2rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-cover__intro .button {
        justify-self: start;
    }

    .home-cover__facts {
        margin-top: 2.5rem;
        flex-direction: column;
        gap: 0.35rem;
    }

    .studio-statement {
        padding-top: clamp(4rem, 18vw, 6rem);
        padding-bottom: clamp(5rem, 22vw, 8rem);
    }

    .studio-statement__lead {
        font-size: clamp(1.36rem, 6.12vw, 2.18rem);
    }

    .studio-statement__body {
        display: block;
        margin-top: 3.5rem;
    }

    .studio-statement__body > p + p {
        margin-top: 1.5rem;
    }

    .studio-statement__body .text-link {
        margin-top: 1.75rem;
    }

    .service-gallery {
        grid-template-columns: 1fr;
        row-gap: clamp(3rem, 16vw, 5rem);
    }

    .project-scope {
        padding-block: clamp(4.5rem, 17vw, 6rem);
    }

    .project-scope__intro h2 {
        max-width: calc(9 * var(--zeichenmass));
        font-size: clamp(2.45rem, 10.88vw, 3.74rem);
    }

    .project-scope__row {
        padding: clamp(1.5rem, 7vw, 2.25rem) clamp(0.75rem, 4vw, 1.25rem);
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .project-scope__copy {
        grid-template-columns: 2.15rem minmax(0, 1fr);
    }

    .project-scope__copy h3 {
        font-size: clamp(1.36rem, 6.8vw, 2.04rem);
    }

    .project-scope__chips {
        margin-left: 2.15rem;
        padding: 1.5rem 0 0;
        border-top: 1px solid var(--scope-line);
        border-left: 0;
    }

    .service-project__head {
        min-height: 3.25rem;
    }

    .service-project__head h3 {
        font-size: 1.45rem;
    }

    .service-project__media {
        aspect-ratio: 3 / 4;
    }

    .service-project__media img,
    .service-project__media video {
        padding: clamp(1.5rem, 10vw, 3rem);
    }

    .page-hero {
        --page-hero-padding-start: 1.25rem;
        --page-hero-padding-end: 2rem;
        min-height: 40rem;
        padding: var(--page-hero-padding-start) var(--site-gutter) var(--page-hero-padding-end);
    }

    .page-hero__grid {
        min-height: 36rem;
    }

    .page-hero h1 {
        max-width: none;
        /* Bei 13vw passt "Impressum." nicht in die Spalte. */
        font-size: clamp(1.63rem, 7.48vw, 3.06rem);
        overflow-wrap: anywhere;
    }

    .page-hero__copy {
        max-width: 30ch;
    }

    .page-hero__mark {
        width: 44vw;
        opacity: 0.05;
    }

    .process-list__item > * {
        padding: 1rem;
    }

    .process-list__item > :first-child {
        padding-left: 1.25rem;
    }

    .scroll-motion-ready .process-list__item.is-scroll-current .process-list__number,
    .scroll-motion-ready .process-list__item.is-scroll-current h3,
    .scroll-motion-ready .process-list__item.is-scroll-current p {
        transform: none;
    }

    .statement {
        min-height: auto;
    }

    .statement__word {
        font-size: clamp(2.38rem, 12.24vw, 3.74rem);
    }

    .cta-banner {
        min-height: 32rem;
        padding: 2rem 1.25rem;
        row-gap: clamp(2.5rem, 8vw, 4rem);
    }

    .cta-banner h2 {
        max-width: none;
        font-size: clamp(1.77rem, 8.16vw, 2.72rem);
    }

    .cta-banner::after {
        right: -3.5rem;
        bottom: -5rem;
        width: 10rem;
    }

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

    .field--full {
        grid-column: auto;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .vision-section {
        padding-top: clamp(3.5rem, 16vw, 5rem);
    }

    .vision-bar {
        padding-bottom: 0.65rem;
    }

    .vision-camera {
        width: 340%;
    }

    .vision-toggle {
        top: 0.35rem;
        right: 0.35rem;
        width: 3rem;
        height: 3rem;
    }

    .vision-link {
        white-space: normal;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__brand {
        min-height: auto;
    }

    .site-footer__base {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-height: 639px) {

    .faq-scroll-ready .faq-list[data-faq-scroll] .faq-item {
        opacity: 1;
        transition: none;
    }

    .faq-scroll-ready .faq-list[data-faq-scroll] .faq-item summary {
        color: var(--color-ink);
        transition: none;
    }
}

@media (max-width: 374.98px) {

    .faq-list {
        --faq-index-width: 1.9rem;
        --faq-gap: 0.625rem;
    }

    /* Grafik mit fester Hoehe, passt auch auf sehr schmale Geraete. */
    .brand__name {
        height: 1rem;
    }

    .home-cover__title,
    .page-hero h1,
    .service-index-cover h1,
    .contact-hero__copy h1 {
        font-size: clamp(1.5rem, 7.75vw, 2.18rem);
    }

    .button {
        max-width: 100%;
    }
}

@media (min-width: 1800px) {

    /* Ohne Kopfleiste: deren Elemente bleiben immer am Rand. */
    .site-shell,
    .site-footer__inner,
    .site-footer__base {
        max-width: var(--content-max);
    }
}

/* === Startseite === */

/* Google Sans Code traegt die ganze Seite, eine Datei fuer 300 bis 800. */
@font-face {
    font-family: "Google Sans Code";
    src: url("/assets/fonts/google-sans-code/GoogleSansCode-latin.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 300 800;
}

html {
    scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
    min-width: 0;
    margin: 0;
    overflow-x: clip;
    color: var(--color-ink);
    background: var(--color-paper);
    font-family: var(--font-body);
    font-size: var(--step-0);
    font-weight: 400;
    letter-spacing: var(--tracking-text);
    line-height: var(--leading-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.page--home .site-shell {
    width: 100%;
    max-width: none;
    overflow: clip;
}

.page--home .site-footer {
    position: relative;
    z-index: 2;
}

.text-mask {
    overflow: hidden;
}

/* Die Maske ist so hoch wie der Text: ohne Zugabe werden Unterlaengen abgeschnitten. */
.text-mask > h1,
.text-mask > h2,
.text-mask > h3,
.kinetic-service__title-mask > h2 {
    padding-block: 0.07em 0.13em;
}

[data-mask-text] {
    transform: translate3d(0, 110%, 0);
    will-change: transform;
}

.kinetic-motion-ready [data-mask-text].is-mask-visible,
.no-js [data-mask-text] {
    transform: none;
}

.kinetic-motion-ready [data-subpage-hero] [data-mask-text] {
    animation: none;
}

.kinetic-hero {
    position: relative;
    z-index: 1;
    height: 220vh;
    min-height: 132rem;
    color: var(--color-paper);
    background: var(--color-ink);
}

.kinetic-hero__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 38rem;
    overflow: hidden;
    isolation: isolate;
}

.kinetic-hero__panel,
.kinetic-hero__wipe,
.kinetic-hero__counter {
    position: absolute;
    inset: 0;
}

.kinetic-hero__panel {
    display: grid;
    /* Eine Zeile ueber die volle Hoehe, damit beide Panels auf gleicher Hoehe stehen. */
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    gap: var(--kinetic-gutter);
    padding: max(calc(var(--header-height) + 2rem), 8vh) var(--kinetic-outer) max(2rem, 5vh);
}

.kinetic-hero__panel--first {
    background: var(--color-ink);
}

.kinetic-hero__panel--second {
    color: var(--color-ink);
    /* Zweite helle Flaeche, damit die Umkehrung ruhig bleibt. */
    background: var(--color-surface);
}

.kinetic-hero__headline-wrap {
    grid-column: 1 / span 9;
    align-self: center;
}

.kinetic-hero__headline-wrap .technical-label {
    margin-bottom: clamp(1.25rem, 3vh, 2.5rem);
    color: currentColor;
}

.kinetic-hero__headline {
    display: flex;
    margin: 0;
    /* Panel 1 traegt ein h2, Panel 2 ein p. Derselbe padding-block haelt beide auf einer Hoehe. */
    padding-block: 0.04em 0.14em;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: min(16vh, 9.82vw);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.85;
    text-transform: none;
}

.kinetic-hero__headline > span {
    white-space: nowrap;
}

.kinetic-hero__intro,
.kinetic-hero__facts {
    grid-column: 10 / -1;
    align-self: end;
    max-width: 25rem;
    padding-bottom: 1vh;
}

.kinetic-hero__intro {
    will-change: opacity, transform;
}

.kinetic-hero__intro p {
    margin: 0 0 1.5rem;
    font-size: clamp(1.1rem, 1.5vw, 1.65rem);
    line-height: 1.25;
}

.kinetic-hero__facts {
    opacity: 0;
    will-change: opacity, transform;
    display: grid;
    border-top: 1px solid currentColor;
}

.kinetic-hero__facts span {
    padding-block: 0.7rem;
    border-bottom: 1px solid currentColor;
    font-size: clamp(0.92rem, 1.1vw, 1.16rem);
}

.kinetic-hero__wipe {
    overflow: hidden;
    transform: translate3d(100%, 0, 0);
    will-change: transform;
}

.kinetic-hero__counter {
    transform: translate3d(-100%, 0, 0);
    will-change: transform;
}

/* Der Balken liegt in beiden Panels und erbt deren Textfarbe. */
.kinetic-hero__progress {
    position: absolute;
    z-index: 4;
    right: var(--kinetic-outer);
    bottom: 1.6rem;
    left: var(--kinetic-outer);
    height: 2px;
    background: color-mix(in srgb, currentColor 22%, transparent);
}

.kinetic-hero__progress span {
    display: block;
    width: calc(var(--hero-progress, 0) * 100%);
    height: 100%;
    background: currentColor;
}

.kinetic-services {
    position: relative;
    z-index: 2;
    background: var(--color-paper);
}

.kinetic-services__intro {
    /* Eine Bildschirmhoehe wie die Leistungen darunter, damit der Vorspann genauso einrastet. */
    display: flex;
    min-height: calc(100svh - var(--header-height));
    padding: clamp(2rem, 5vh, 5rem) var(--kinetic-outer);
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--color-ink);
}

.kinetic-services__intro .section-index {
    margin-bottom: clamp(2rem, 5vw, 5rem);
}

.kinetic-services__intro h2 {
    /* Schriftgrad und Breite muessen das laengste Wort tragen, sonst greift break-word. */
    max-width: calc(15 * var(--zeichenmass));
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.38rem, 6.53vw, 7.48rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: var(--display-line-height);
}

.kinetic-services__intro .row > p {
    max-width: 28rem;
    margin: auto 0 0;
    padding-left: var(--kinetic-gutter);
    font-size: clamp(1.1rem, 1.55vw, 1.65rem);
    line-height: 1.3;
}

.kinetic-service {
    --service-surface: var(--color-paper);
    --service-text: var(--color-ink);
    position: relative;
    color: var(--service-text);
    background: var(--service-surface);
}

.kinetic-service.color-ink {
    --service-surface: var(--color-ink);
    --service-text: var(--color-paper);
}

.kinetic-service.color-coral,
.kinetic-service.color-yellow,
.kinetic-service.color-sage,
.kinetic-service.color-surface {
    --service-surface: var(--color-surface);
}

.kinetic-service__row {
    /* Eine Bildschirmhoehe je Leistung, damit die Nachfuehrung sauber einrastet. */
    min-height: calc(100svh - var(--header-height));
}

.kinetic-service__media-column,
.kinetic-service__copy {
    min-height: 0;
}

.kinetic-service__media-column {
    position: relative;
    overflow: hidden;
    /* Ohne Deckel bestimmt das hochformatige Motiv die Hoehe der ganzen Einheit. */
    max-height: calc(100svh - var(--header-height));
}

/* Ein Pixel Ueberstand schliesst die Rundungsfuge zwischen Maske und Gegenmaske. */
.kinetic-service__mask,
.kinetic-service__countermask {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    margin: -1px;
    overflow: hidden;
    will-change: transform;
}

.kinetic-service__mask {
    transform: translate3d(-100%, -100%, 0);
}

.kinetic-service[data-snake-direction="right"] .kinetic-service__mask {
    transform: translate3d(100%, -100%, 0);
}

.kinetic-service__countermask {
    transform: translate3d(100%, 100%, 0);
}

.kinetic-service[data-snake-direction="right"] .kinetic-service__countermask {
    transform: translate3d(-100%, 100%, 0);
}

/* picture ist von Haus aus inline und wuerde die Flaeche nicht weiterreichen. */
.kinetic-service__countermask > picture {
    display: block;
    width: 100%;
    height: 100%;
}

.kinetic-service__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Kein weisser Grund: er blitzt beim Laden und an den Rundungskanten durch. */
    background: transparent;
    transform: scale(2);
    transform-origin: center;
    will-change: transform;
}

.kinetic-service__copy {
    display: flex;
    padding: clamp(2rem, 4vw, 5rem) var(--kinetic-outer);
    flex-direction: column;
    justify-content: center;
}

.kinetic-service__number {
    margin: 0 auto clamp(3rem, 7vw, 7rem) 0;
    padding: 0.25rem 0.55rem;
    border: 1px solid currentColor;
    border-radius: var(--radius-control);
    font-family: var(--font-mono);
    font-size: var(--step--1);
}

.kinetic-service__title-mask {
    overflow: hidden;
}

.kinetic-service h2 {
    margin: 0;
    font-family: var(--font-display);
    /* Bei 10.5vw bricht "SEO & Performance" mitten im Wort um. */
    font-size: clamp(1.77rem, 4.15vw, 4.35rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: var(--display-line-height);
    transform: translate3d(0, 120%, 0);
    will-change: transform;
}

.kinetic-service .technical-label {
    margin: clamp(2rem, 5vw, 4rem) 0 1rem;
    color: currentColor;
}

.kinetic-service__description {
    max-width: 34rem;
    margin: 0;
    font-size: clamp(1.1rem, 1.65vw, 1.75rem);
    line-height: 1.3;
}

.kinetic-service__link {
    display: inline-flex;
    width: fit-content;
    margin-top: clamp(2rem, 4vw, 4rem);
    padding-bottom: 0.2rem;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid currentColor;
    color: currentColor;
    font-weight: 600;
    text-decoration: none;
}

.kinetic-service.color-ink .kinetic-service__link img {
    filter: brightness(0) invert(1);
}

.phone-flight {
    position: relative;
    z-index: 2;
    height: 340vh;
    min-height: 204rem;
    color: var(--color-paper);
    background: var(--color-ink);
}

.phone-flight__sticky {
    position: sticky;
    top: 0;
    display: flex;
    height: 100svh;
    min-height: 42rem;
    padding: max(calc(var(--header-height) + 2rem), 8vh) var(--kinetic-outer) 0;
    flex-direction: column;
    align-items: start;
    overflow: hidden;
}

/* Text und Karte in einer Spalte, damit die Karte nicht in den Text laeuft. */
.phone-flight__copy {
    position: relative;
    z-index: 3;
    width: min(50rem, 52vw);
    flex: none;
}

/* Das Skript blendet ein. Ohne Skript, bei reduzierter Bewegung und schmal bleibt alles sichtbar. */
.phone-flight__copy .section-index,
.phone-flight__copy h2,
.phone-flight__copy > p:not(.section-index),
.phone-flight__source {
    will-change: transform, opacity;
}

.phone-flight__copy .section-index {
    color: var(--color-coral);
}

.phone-flight__copy h2 {
    display: flex;
    margin: clamp(1.25rem, 3vh, 2.5rem) 0 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15em;
    font-family: var(--font-display);
    font-size: min(clamp(2.72rem, 5.85vw, 6.8rem), 8.16vh);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.82;
}

.phone-flight__copy > p:not(.section-index) {
    max-width: 34rem;
    margin: clamp(1.5rem, 4vh, 3rem) 0 0;
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    line-height: 1.35;
}

.phone-flight__source {
    display: grid;
    width: min(34rem, 37.6vh);
    margin-top: clamp(1.5rem, 4vh, 3rem);
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-paper);
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    color: rgb(255 255 255 / 72%);
    font-size: var(--step--1);
}

/* Die Visitenkarte fliegt in die Bildflaeche des Geraets, dreht sich dort auf
   die Rueckseite und fliegt zurueck. Sie behaelt dabei durchgehend ihr
   Seitenverhaeltnis 85 zu 55: kinetic.js rechnet die Zielgroesse so, dass die
   Karte in die Bildflaeche passt, statt sie zu fuellen. Dadurch wird an keiner
   Stelle des Flugs etwas beschnitten.
   Kein overflow:hidden hier: das wuerde preserve-3d aufheben und die Drehung
   waere flach. Der Eckenradius sitzt deshalb auf den beiden Flaechen. */
.phone-flight__card {
    position: relative;
    z-index: 5;
    /* An beide Achsen gekoppelt, damit die Karte nie groesser wird als das Telefon. */
    width: min(46vh, 34vw);
    height: auto;
    aspect-ratio: 85 / 55;
    min-height: 0;
    flex: 0 1 auto;
    margin: clamp(1.25rem, 3vh, 2.5rem) 0 clamp(1.5rem, 4vh, 3rem) 2vw;
    transform-origin: center;
    transform-style: preserve-3d;
    will-change: transform, width, height, border-radius;
}

/* Vorder- und Rueckseite liegen deckungsgleich uebereinander. Sichtbar ist
   immer nur die Flaeche, die zum Betrachter zeigt. */
.phone-flight__face {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    /* contain statt cover: die Karte soll lieber Luft lassen als beschnitten
       werden. Da das Skript das Verhaeltnis haelt, entsteht keine Luft. */
    object-fit: contain;
    backface-visibility: hidden;
}

.phone-flight__face--back {
    transform: rotateY(180deg);
}

.phone-flight__device {
    /* 54vh * 1,624 = 87,7vh: so passt die gedrehte Flaeche in die Buehne. */
    position: absolute;
    z-index: 4;
    right: clamp(1rem, 3.5vw, 4rem);
    bottom: 7vh;
    width: min(54vh, 40vw);
    transform: rotate(-8deg);
    filter: drop-shadow(0 2.5rem 2.5rem rgb(0 0 0 / 28%));
}

.phone-flight__shell {
    display: block;
    width: 100%;
    height: auto;
}

/* Bildschirmfenster aus der Datei gemessen: 240/169 bis 780/1349 bei 1024 x 1536. */
.phone-flight__screen {
    position: absolute;
    /* Die Aufnahme steht minimal schief, deshalb ein Drittelprozent Einzug je Seite. */
    top: 11.3%;
    left: 23.75%;
    width: 52.2%;
    height: 76.3%;
    /* Rundung der Oeffnung: 10.7 % der Breite, 4.9 % der Hoehe. */
    border-radius: 10.7% / 4.9%;
    object-fit: cover;
}

.type-callout {
    position: relative;
    z-index: 2;
    height: 500vh;
    min-height: 280rem;
    color: var(--color-ink);
    background: var(--color-paper);
}

.type-callout__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 40rem;
    overflow: hidden;
}

.type-callout__track {
    display: flex;
    width: 200vw;
    height: 100%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.type-callout__panel {
    position: relative;
    width: 100vw;
    height: 100%;
    flex: 0 0 100vw;
    overflow: hidden;
}

.type-callout__panel--evidence {
    display: flex;
    padding: max(calc(var(--header-height) + 1rem), 5vh) var(--kinetic-outer) 3vh;
    flex-direction: column;
    justify-content: center;
}

.type-callout__panel--evidence > .section-index {
    position: absolute;
    top: max(calc(var(--header-height) + 1rem), 5vh);
    left: var(--kinetic-outer);
}

.type-callout__line {
    display: flex;
    height: min(29vh, 16vw);
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1.25rem);
    white-space: nowrap;
    will-change: transform;
}

.type-callout__line--left {
    transform: translate3d(-100vw, 0, 0);
}

.type-callout__line--right {
    justify-content: flex-end;
    transform: translate3d(100vw, 0, 0);
}

.type-callout__line > span,
.type-callout__line h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: min(18.4vh, 10.2vw);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 0.8;
}

.type-callout__slot {
    position: relative;
    width: min(17vw, 31vh);
    height: 76%;
    margin: 0;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: var(--radius-media);
    background: var(--color-coral);
    transform: scale(0);
    will-change: transform;
}

.type-callout__slot--wide {
    width: min(23vw, 42vh);
}

.type-callout__slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.type-callout__slot figcaption {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    padding: 0.25rem 0.45rem;
    border-radius: var(--radius-control);
    color: var(--color-paper);
    background: var(--color-ink);
    font-family: var(--font-mono);
    font-size: clamp(0.55rem, 0.65vw, 0.72rem);
    text-transform: uppercase;
}

.type-callout__body {
    max-width: 58rem;
    margin: 2vh 0 0 auto;
    padding-top: 1rem;
    border-top: 1px solid var(--color-ink);
    font-size: clamp(1rem, 1.35vw, 1.45rem);
    line-height: 1.3;
}

.type-callout__panel--lateral {
    display: flex;
    /* Der Innenabstand wird auch von der Flugberechnung gelesen (measurements.lateralEdge). */
    padding-inline: clamp(1.5rem, 4vw, 5rem);
    align-items: center;
    background: var(--color-yellow);
}

.type-callout__panel--lateral p {
    margin: 0;
    font-family: var(--font-display);
    font-size: min(24.6vh, 15.11vw);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: 0.78;
    white-space: nowrap;
    will-change: transform;
}

.reference-marquee {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(5rem, 10vw, 10rem);
    overflow-x: clip;
    color: var(--color-paper);
    background: var(--color-ink);
}

.reference-marquee__title-scroll {
    height: 150vh;
    min-height: 70rem;
}

.reference-marquee__title-sticky {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    height: 100svh;
    padding-inline: var(--kinetic-outer);
    align-items: center;
    overflow: visible;
    pointer-events: none;
}

.reference-marquee__title-sticky h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: min(15vw, 24.5vh);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: var(--display-line-height);
}

/* Steuerung, Laufband und Knopf sind zusammen genau eine Bildschirmhoehe hoch. */
.reference-marquee__runner {
    display: flex;
    min-height: calc(100svh - var(--header-height));
    padding-block: clamp(0.5rem, 2.6vh, 2.5rem);
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.75rem, 1.8vh, 1.5rem);
}

.reference-marquee__runner > .reference-marquee__cta {
    margin-top: 0;
    padding-top: 0;
}

.reference-marquee__controls {
    display: flex;
    padding: 0 var(--kinetic-outer) clamp(1rem, 2vw, 2rem);
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.reference-marquee__controls p {
    max-width: 32rem;
    margin: 0;
    color: rgb(255 255 255 / 72%);
}

.reference-marquee__controls button {
    display: inline-flex;
    min-height: 2.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--color-paper);
    border-radius: var(--radius-control);
    align-items: center;
    gap: 0.45rem;
    color: var(--color-paper);
    background: transparent;
}

.reference-marquee__controls button img {
    filter: brightness(0) invert(1);
}

.reference-marquee__icon--play,
.reference-marquee__controls button[aria-pressed="true"] .reference-marquee__icon--pause {
    display: none;
}

.reference-marquee__controls button[aria-pressed="true"] .reference-marquee__icon--play {
    display: block;
}

.reference-marquee__viewport {
    width: 100%;
    /* Nur waagerecht beschneiden, sonst liegt die Kartenunterkante auf der Schnittkante. */
    overflow-x: clip;
    overflow-y: visible;
}

.reference-marquee__motion {
    display: flex;
    width: max-content;
    --marquee-scroll-x: 0vw;
    transform: translate3d(calc(-50vw + var(--marquee-scroll-x)), 0, 0);
    animation: reference-run 30s linear infinite;
    animation-play-state: running;
    will-change: transform;
}

.reference-marquee.is-paused .reference-marquee__motion,
.reference-marquee__motion:hover {
    animation-play-state: paused;
}

.reference-marquee__track {
    display: flex;
    padding-right: 4.513888vw;
    flex: 0 0 auto;
    gap: 4.513888vw;
}

.reference-runner {
    display: grid;
    width: 32.2887vh;
    height: 70vh;
    min-height: 32rem;
    padding: clamp(0.9rem, 1.4vw, 1.5rem);
    flex: 0 0 auto;
    border: var(--line);
    border-top: 0.35rem solid var(--theme, var(--color-ink));
    border-radius: var(--radius-media);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    color: var(--color-ink);
    background: var(--color-paper);
    text-decoration: none;
}

/* Helle Karte, deshalb dunkle Schrift. */
.reference-runner.color-ink {
    border-top-color: var(--color-ink);
}

.reference-runner__number {
    font-family: var(--font-mono);
    font-size: var(--step--1);
}

.reference-runner__media {
    display: grid;
    min-height: 0;
    margin-block: 1rem;
    overflow: hidden;
    border-radius: var(--radius-media);
    place-items: center;
    background: var(--color-paper);
}

.reference-runner__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 800ms var(--expo-out);
}

.reference-runner:hover .reference-runner__media img {
    transform: scale(1.035);
}

.reference-runner strong {
    font-family: var(--font-display);
    font-size: clamp(1.43rem, 2.86vh, 2.58rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.85;
}

.reference-runner__label {
    margin-top: 0.75rem;
    font-size: var(--step--1);
}

.reference-marquee__cta {
    padding: clamp(2.5rem, 6vw, 6rem) var(--kinetic-outer) 0;
}

@keyframes reference-run {
    from {
        transform: translate3d(calc(-50vw + var(--marquee-scroll-x)), 0, 0);
    }
    to {
        transform: translate3d(calc(-50vw - 33.333333% + var(--marquee-scroll-x)), 0, 0);
    }
}

.site-shell {
    position: relative;
}

.section-rail {
    position: absolute;
    z-index: 45;
    inset: 0 auto 0 0;
    width: var(--section-rail-width, clamp(13rem, 16.6667vw, 18rem));
    border-right: 1px solid var(--color-ink);
    background: var(--color-paper);
    pointer-events: none;
    opacity: 1;
    transition: opacity 200ms ease;
}

.section-rail.is-outside-scope {
    opacity: 0;
}

.section-rail__nav {
    position: sticky;
    top: calc(var(--header-height) + 0.5625rem);
    width: 100%;
    max-height: calc(100svh - var(--header-height) - 1.125rem);
    padding: 1.4rem 1rem;
    overflow: auto;
    pointer-events: auto;
}

.section-rail__title {
    margin: 0 0 0.9rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-rail__list {
    display: grid;
    margin: 0;
    padding: 0 0 0 1.25rem;
    gap: 0.48rem;
    list-style: none;
}

.section-rail__list a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--color-muted);
    font-size: clamp(0.74rem, 0.78vw, 0.9rem);
    /* Zeilenhoehe mit Zugabe, sonst schneidet die Zweizeilenbegrenzung Unterlaengen ab. */
    line-height: 1.35;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.section-rail__list a[aria-current="true"] {
    color: var(--color-ink);
    font-weight: 600;
}

/* Titelhoehe und Abstand stecken schon in offsetTop, das vom Skript kommt. */
.section-rail__arrow {
    position: absolute;
    top: 0;
    left: 1rem;
    display: block;
    width: 1rem;
    height: 1rem;
    transform: translate3d(0, var(--rail-arrow-y, 0), 0);
    will-change: transform;
}

.section-rail__arrow img {
    display: block;
    width: 100%;
    height: 100%;
}

.page:not(.page--home) .page-hero {
    min-height: max(90svh, 42rem);
    padding-top: max(calc(var(--header-height) + 2rem), 8vh);
    align-content: center;
}

[data-subpage-hero] {
    overflow: clip;
}

.service-index-cover,
.service-detail-cover,
.contact-hero {
    min-height: max(90svh, 42rem);
}

.service-index-cover h1,
.service-detail-cover h1,
.contact-hero__copy h1 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: var(--display-line-height);
}

/* cqi misst die Spalte selbst: in vw wird "Impressum." mitten im Wort geschnitten. */
.page:not(.page--home) .page-hero .text-mask {
    container-type: inline-size;
}

.page:not(.page--home) .page-hero h1 {
    max-width: none;
    font-family: var(--font-display);
    font-size: min(12.92cqi, 7.48rem);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: var(--display-line-height);
}

.page:not(.page--home) .page-hero__copy {
    align-self: end;
}

.page:not(.page--home) .page-hero__copy > p {
    font-size: clamp(1.08rem, 1.55vw, 1.55rem);
    line-height: 1.35;
}

.kinetic-motion-ready .page:not(.page--home) .page-hero h1 {
    filter: blur(var(--mask-blur, 0));
    will-change: transform, filter;
}

@media (min-width: 900px) {

    .page:not(.page--home) .site-shell:has(.section-rail) {
        padding-left: var(--section-rail-width, clamp(13rem, 16.6667vw, 18rem));
    }

    .page:not(.page--home) main[data-section-rail-scope] {
        min-width: 0;
    }

    .page:not(.page--home) main[data-section-rail-scope] > .section > .section-heading,
    .page:not(.page--home) main[data-section-rail-scope] > .section > .editorial-section-head {
        padding-left: calc((100% - (2 * var(--kinetic-outer))) / 12 * 2);
    }
}

@media (max-width: 899.98px) {

    :root {
        --kinetic-outer: 1rem;
        --kinetic-gutter: 0.5rem;
    }

    .kinetic-hero {
        height: 220vh;
        min-height: 90rem;
    }

    .kinetic-hero__sticky {
        min-height: 34rem;
    }

    .kinetic-hero__panel {
        display: flex;
        padding: max(calc(var(--header-height) + 1.5rem), 10vh) var(--kinetic-outer) 4rem;
        flex-direction: column;
        justify-content: center;
    }

    .kinetic-hero__headline-wrap,
    .kinetic-hero__intro,
    .kinetic-hero__facts {
        width: 100%;
        max-width: none;
    }

    .kinetic-hero__headline {
        font-size: clamp(2.72rem, 11.56vw, 5.44rem);
    }

    .kinetic-hero__intro,
    .kinetic-hero__facts {
        /* Der Text folgt der Ueberschrift, die Gruppe steht gemeinsam mittig. */
        margin-top: clamp(2rem, 9vh, 5rem);
    }

    .kinetic-hero__progress {
        bottom: 1rem;
    }

    .kinetic-services__intro h2 {
        font-size: clamp(1.9rem, 9.66vw, 5.78rem);
    }

    .kinetic-services__intro .row > p {
        margin-top: 2.5rem;
        padding-left: 0;
    }

    .kinetic-service__row {
        min-height: 0;
    }

    .kinetic-service__media-column {
        min-height: 0;
        aspect-ratio: 1 / 0.8;
    }

    .kinetic-service__copy {
        min-height: 37rem;
    }

    .kinetic-service h2 {
        /* Bei 18vw brechen "Designsysteme" und "Performance" mitten im Wort. */
        font-size: clamp(1.5rem, 8.84vw, 5.44rem);
    }

    .phone-flight {
        /* Auch mobil angeheftet. clip statt hidden, sonst wird die Sektion zum Scrollcontainer. */
        height: 260svh;
        min-height: 0;
        padding: 0;
        overflow: clip;
    }

    .phone-flight__sticky {
        min-height: 0;
        padding: max(calc(var(--header-height) + 1rem), 6vh) var(--kinetic-outer) 0;
    }

    .phone-flight__copy {
        width: 100%;
    }

    .phone-flight__copy h2 {
        font-size: clamp(2.4rem, 10.2vw, 4.76rem);
    }

    .phone-flight__card {
        /* Nur die Ausgangsbox, den Rest setzt das Skript. */
        width: 62vw;
        height: auto;
        margin: 1.5rem 0 0 2vw;
    }

    .phone-flight__device {
        /* Die gedrehte Flaeche ragt je Seite rund ein Zehntel der Breite hinaus. */
        right: 7vw;
        bottom: 3vh;
        width: min(24rem, 66vw);
    }

    .type-callout {
        height: auto;
        min-height: 0;
    }

    .type-callout__sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .type-callout__track {
        display: block;
        width: 100%;
        transform: none !important;
    }

    .type-callout__panel {
        width: 100%;
        height: auto;
        min-height: 100svh;
    }

    .type-callout__panel--evidence {
        padding: 7rem var(--kinetic-outer) 4rem;
    }

    .type-callout__line {
        height: auto;
        min-height: 26vw;
        transform: translate3d(0, 3rem, 0);
        opacity: 0;
        transition: transform 1.2s var(--expo-out), opacity 700ms ease;
    }

    .type-callout.is-mobile-active .type-callout__line {
        transform: none;
        opacity: 1;
    }

    .type-callout__line {
        /* Bei 20vw laeuft "Generieren" aus dem Bild. Umbruch erlaubt, Schrift kleiner. */
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
        row-gap: 1.25rem;
    }

    .type-callout__line > span,
    .type-callout__line h2 {
        font-size: 14.5vw;
    }

    .type-callout__slot {
        width: 27vw;
        height: 23vw;
        transform: scale(1);
    }

    .type-callout__slot--wide {
        width: 33vw;
    }

    .type-callout__body {
        margin-top: 4rem;
    }

    .type-callout__panel--lateral {
        /* Eigene Scrollstrecke fuer den haftenden Satz. clip statt hidden, sonst wirkt sticky nicht. */
        height: 280svh;
        min-height: 0;
        padding: 0;
        display: block;
        overflow: clip;
    }

    .type-callout__panel--lateral p {
        position: sticky;
        top: 0;
        display: flex;
        align-items: center;
        height: 100svh;
        margin: 0;
        padding: 0 var(--kinetic-outer);
        font-size: 30vw;
        white-space: nowrap;
        will-change: transform;
    }

    .reference-marquee__title-scroll {
        height: 120vh;
        min-height: 50rem;
    }

    .reference-marquee__title-sticky {
        top: 0;
        height: 80svh;
    }

    .reference-marquee__title-sticky h2 {
        font-size: clamp(3.4rem, 14.96vw, 6.12rem);
    }

    .reference-marquee__controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .reference-runner {
        width: 38.2vh;
        height: 82.8vh;
        max-height: 42rem;
        min-height: 31rem;
    }

    .section-rail {
        position: sticky;
        z-index: 790;
        top: var(--header-height);
        width: 100%;
        height: auto;
        border-bottom: 1px solid var(--color-ink);
        border-right: 0;
        background: var(--color-paper);
    }

    .section-rail[hidden] {
        display: block !important;
        height: 2.45rem;
        visibility: hidden;
    }

    .section-rail__nav {
        position: relative;
        top: auto;
        display: flex;
        width: 100%;
        max-height: none;
        padding: 0.55rem var(--kinetic-outer);
        align-items: center;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .section-rail__nav::-webkit-scrollbar {
        display: none;
    }

    .section-rail__title,
    .section-rail__arrow {
        display: none;
    }

    .section-rail__list {
        display: flex;
        width: max-content;
        padding: 0;
        gap: 1.1rem;
    }

    .section-rail__list a {
        white-space: nowrap;
        display: block;
    }

    .page:not(.page--home) .page-hero {
        min-height: max(88svh, 36rem);
    }

    .page:not(.page--home) .page-hero h1 {
        /* Bei 4.6rem passt "Impressum." auf 360px nicht in die Titelspalte. */
        font-size: clamp(1.77rem, 11.56vw, 5.78rem);
    }
}

@media (prefers-reduced-motion: reduce) {

    [data-mask-text],
    .kinetic-hero__wipe,
    .kinetic-hero__counter,
    .kinetic-service__mask,
    .kinetic-service__countermask,
    .kinetic-service__image,
    .kinetic-service h2,
    .phone-flight__card,
    .type-callout__track,
    .type-callout__line,
    .type-callout__slot,
    .type-callout__panel--lateral p {
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }

    .kinetic-hero,
    .phone-flight,
    .type-callout,
    .reference-marquee__title-scroll {
        height: auto;
        min-height: 0;
    }

    .kinetic-hero__sticky,
    .phone-flight__sticky,
    .type-callout__sticky,
    .reference-marquee__title-sticky {
        position: relative;
        top: auto;
    }

    .kinetic-hero__sticky {
        height: 100svh;
    }

    .kinetic-hero__wipe {
        display: none;
    }

    .phone-flight {
        min-height: 100svh;
    }

    .type-callout__track {
        display: block;
        width: 100%;
    }

    .type-callout__panel {
        width: 100%;
        min-height: 100svh;
    }

    .reference-marquee__title-sticky {
        height: auto;
        min-height: 70svh;
    }

    .reference-marquee__motion {
        animation: none;
        transform: none;
    }

    .reference-marquee__track[aria-hidden="true"] {
        display: none;
    }
}

/* === Systemband === */

.showreel {
    position: relative;
    /* Weniger Polster als sonst: der Inhalt ist die Buehne und braucht die Hoehe. */
    padding: clamp(2.5rem, 6vh, 5rem) var(--site-gutter);
}

.showreel__intro {
    margin-bottom: clamp(1.75rem, 3.5vh, 3rem);
}

.showreel__frame {
    position: relative;
}

.showreel__stage {
    /* Nie hoeher als das Fenster unter der Kopfleiste. Aus der Hoehe folgt ueber das Format die Breite. */
    --buehne-platz: calc(100svh - var(--header-height) - 4rem);
    position: relative;
    width: min(100%, calc(var(--buehne-platz) * 986 / 556));
    aspect-ratio: 986 / 556;
    margin-inline: auto;
    overflow: hidden;
    border: var(--line);
    border-radius: var(--radius-media);
    background: var(--color-ink);
    container-type: size;
    container-name: buehne;
    isolation: isolate;
    font-family: var(--font-display);
}

.showreel__scene {
    position: absolute;
    inset: 0;
    display: grid;
    visibility: hidden;
    overflow: hidden;
}

/* Ohne Skript bleibt das erste Bild stehen. */
.no-js .showreel__scene--farbe,
.showreel__scene.is-sichtbar {
    visibility: visible;
}

.farbkarte {
    /* Den Anteil setzt das Skript, damit die obere Bezeichnung mitwandert. */
    --anteil: 55%;
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--color-ink);
}

.farbkarte__feld {
    position: absolute;
    right: 0;
    left: 0;
    display: flex;
    padding: 0 6cqw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.farbkarte__feld--ink {
    top: 0;
    bottom: var(--anteil);
    color: var(--color-coral);
}

.farbkarte__feld--koralle {
    bottom: 0;
    height: var(--anteil);
    color: var(--color-ink);
    background: var(--color-coral);
}

.farbkarte__name {
    display: flex;
    margin: 0;
    align-items: center;
    gap: 1.4cqw;
    font-size: 9cqh;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    text-transform: uppercase;
}

.farbkarte__hex {
    margin: 1.4cqh 0 0;
    font-family: var(--font-mono);
    font-size: 3.6cqh;
    font-weight: 500;
    letter-spacing: 0.06em;
}

/* Kreiszeichen mit Pfeil, taucht in mehreren Bildern auf. */
.glyphe {
    position: relative;
    display: inline-block;
    width: 7cqh;
    height: 7cqh;
    border: 0.9cqh solid currentColor;
    border-radius: 50%;
}

.glyphe::before,
.glyphe::after {
    position: absolute;
    background: currentColor;
    content: "";
}

.glyphe::before {
    top: 22%;
    left: 50%;
    width: 0.9cqh;
    height: 56%;
    transform: translateX(-50%);
}

/* Zwei Kanten statt eines Strichs, sonst ist es nur eine halbe Spitze. */
.glyphe::after {
    bottom: 26%;
    left: 50%;
    width: 2.4cqh;
    height: 2.4cqh;
    border-right: 0.9cqh solid currentColor;
    border-bottom: 0.9cqh solid currentColor;
    background: none;
    transform: translate(-50%, 0) rotate(45deg);
}

.showreel__scene--aufbau {
    background: var(--color-ink);
}

.aufbau__saeule {
    position: absolute;
    top: -16cqh;
    left: 3cqw;
    width: 27cqw;
    height: 92cqh;
    border-radius: 0 0 13.5cqw 13.5cqw;
    background: var(--color-paper);
}

.aufbau__kreis {
    /* Geschwister der Saeule: der Kreis liegt in Buehnenkoordinaten. */
    position: absolute;
    z-index: 2;
    top: 52cqh;
    left: 16.5cqw;
    display: grid;
    width: 23cqw;
    height: 23cqw;
    border: 1.6cqh solid var(--color-ink);
    border-radius: 50%;
    color: var(--color-ink);
    place-items: center;
    transform: translate(-50%, -50%);
}

.aufbau__kreis svg {
    width: 62%;
    height: 62%;
}

.aufbau__wort {
    position: absolute;
    top: 50%;
    left: 38cqw;
    display: grid;
    margin: 0;
    color: var(--color-paper);
    font-size: 19cqh;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 0.92;
    text-transform: uppercase;
    transform: translateY(-50%);
}

.showreel__scene--bildwelt {
    background: var(--color-ink);
}

.bildwelt {
    position: relative;
    width: 100%;
    height: 100%;
}

.bildwelt__kachel {
    position: absolute;
    overflow: hidden;
    background: var(--color-surface);
}

.bildwelt__kachel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Strichgrafiken werden vollstaendig gezeigt, nicht beschnitten. */
.bildwelt__kachel--zeichnung {
    padding: 1.6cqh;
    background: var(--color-paper);
}

.bildwelt__kachel--zeichnung img {
    object-fit: contain;
}

.showreel__scene--schrift {
    background: var(--color-ink);
}

.schrift__name {
    position: absolute;
    top: 50%;
    left: 7cqw;
    display: grid;
    margin: 0;
    color: var(--color-paper);
    font-size: 21cqh;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 0.9;
    text-transform: uppercase;
    transform: translateY(-50%);
}

.schrift__pfeil {
    position: absolute;
    display: grid;
    border: 1.4cqh solid var(--color-paper);
    border-radius: 50%;
    color: var(--color-paper);
    place-items: center;
}

.schrift__pfeil svg {
    width: 60%;
    height: 60%;
}

.schrift__pfeil--ab {
    top: -5cqh;
    left: 2cqw;
    width: 16cqw;
    height: 16cqw;
}

.schrift__pfeil--auf {
    right: 7cqw;
    bottom: 7cqh;
    width: 16cqw;
    height: 16cqw;
}

.schrift__notiz {
    position: absolute;
    top: 6cqh;
    right: 6cqw;
    margin: 0;
    color: var(--color-paper);
    font-size: 2.6cqh;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-align: right;
}

.showreel__scene--wortmarke {
    background: var(--color-paper);
    place-items: center;
}

/* Das gelieferte Logo mit Schriftzug. */
.wortmarke {
    display: block;
    width: 68cqw;
    height: auto;
}

.showreel__scene--taste {
    background: var(--color-paper);
    place-items: center;
}

.taste {
    position: relative;
    display: flex;
    width: 76cqw;
    height: 44cqh;
    padding: 0 2cqh;
    border-radius: 22cqh;
    align-items: center;
    background: var(--color-ink);
}

/* Senkrecht ueber die Flexachse zentriert. Ein Prozent-Transform waere hier
   falsch: das Skript verschiebt den Knopf waagerecht, und beide Angaben wuerden
   sich addieren. */
.taste__kreis {
    position: relative;
    display: grid;
    width: 40cqh;
    height: 40cqh;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--color-ink);
    background: var(--color-paper);
    place-items: center;
}

.taste__kreis svg {
    width: 62%;
    height: 62%;
}

.showreel__scene--aussage {
    background: var(--color-ink);
}

.aussage__text {
    position: absolute;
    top: 50%;
    left: 4cqw;
    display: grid;
    margin: 0;
    color: var(--color-paper);
    font-size: 22cqh;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.94;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateY(-50%);
}

.aussage__kreis {
    position: absolute;
    top: 46cqh;
    right: -18cqw;
    width: 52cqw;
    height: 52cqw;
    border-radius: 50%;
    background: var(--color-paper);
    transform: translateY(-50%);
}

/* Durchsichtig: darunter steht die vorherige Aussage, die sich beim Wechsel
   umkehrt und von den fallenden Zeichen zugedeckt wird. */
.showreel__scene--zeichen {
    background: transparent;
}

.showreel__scene--aussage.is-invertiert {
    background: var(--color-paper);
}

.showreel__scene--aussage.is-invertiert .aussage__text {
    color: var(--color-ink);
}

.showreel__scene--aussage.is-invertiert .aussage__kreis {
    opacity: 0;
}

.zeichen {
    position: relative;
    width: 100%;
    height: 100%;
}

.zeichen__stueck {
    position: absolute;
    display: grid;
    border-radius: 50%;
    place-items: center;
    will-change: transform;
}

.zeichen__stueck img {
    width: 54%;
    height: 54%;
    object-fit: contain;
}

.zeichen__stueck--voll {
    background: var(--color-ink);
}

.zeichen__stueck--offen {
    border: 0.8cqh solid var(--color-ink);
    background: var(--color-paper);
}

.showreel__scene--reichweite {
    background: var(--color-ink);
    place-items: center;
}

.reichweite__raster {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    /* Sehr leise Struktur, kein Motiv: die Aussage traegt der Satz. */
    background-image: repeating-linear-gradient(90deg, rgb(255 255 255 / 10%) 0 1px, transparent 1px 4cqw), repeating-linear-gradient(0deg, rgb(255 255 255 / 10%) 0 1px, transparent 1px 4cqw);
}

.reichweite__satz {
    position: relative;
    margin: 0;
    color: var(--color-paper);
    font-size: 13cqh;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

/* Eigene Zeile fuer den Ort, damit alle drei Fassungen gleich aufgebaut
   sind. Ohne das stuende nur "Dortmund" neben "Gebaut fuer", die beiden
   laengeren Orte dagegen darunter. Keine Mindestbreite und keine eigene
   Ausrichtung: beides zog die Zeile aus der Mitte. */
.reichweite__ort {
    display: block;
}

.showreel__scene--bildmarke {
    background: var(--color-ink);
    place-items: center;
}

.bildmarke__bild {
    width: 7cqw;
    height: auto;
}

/* Dieselbe Marke wie im Bild davor, nur in der zweiten Akzentfarbe. Die
   Vorlage zeigt hier eine Strichform, die aus dem dortigen Signet hervorgeht;
   fuer diese Marke ergibt das keine Aussage. */
.showreel__scene--variante {
    background: var(--color-ink);
    place-items: center;
}

.showreel__scene--wortbild {
    background: var(--color-ink);
    align-content: center;
}

.wortbild {
    display: grid;
    width: 100%;
    gap: 0.4cqh;
    overflow: hidden;
}

.wortbild__zeile {
    display: flex;
    justify-content: center;
    gap: 0.4em;
    color: var(--color-paper);
    font-weight: 600;
    letter-spacing: 0.4em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    will-change: transform, font-size, letter-spacing;
}

.showreel__scene--bausteine {
    background: var(--color-paper);
    align-content: center;
    gap: 1.6cqh;
}

.bausteine {
    display: grid;
    width: 100%;
    gap: 1.6cqh;
    overflow: hidden;
}

.bausteine__zeile {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 1.4cqw;
    will-change: transform;
}

.bausteine__pille,
.bausteine__kreis {
    display: grid;
    height: 17cqh;
    place-items: center;
}

.bausteine__pille {
    padding: 0 4cqw;
    border-radius: 9cqh;
    font-size: 7.5cqh;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.bausteine__kreis {
    width: 17cqh;
    border-radius: 50%;
}

.bausteine__pille--voll,
.bausteine__kreis--voll {
    color: var(--color-paper);
    background: var(--color-ink);
}

.bausteine__pille--offen,
.bausteine__kreis--offen {
    color: var(--color-ink);
    border: 0.5cqh solid var(--color-ink);
}

.showreel__leiste {
    display: flex;
    margin-top: 1rem;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.showreel__marke {
    min-width: 12ch;
    margin: 0;
    color: var(--color-muted);
}

.showreel__spur {
    position: relative;
    display: block;
    height: 2px;
    flex: 1 1 auto;
    background: var(--color-soft-line);
}

.showreel__spur i {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-ink);
    transform: scaleX(0);
    transform-origin: left center;
}

.showreel__schalter {
    padding: 0.45rem 1rem;
    border: var(--line);
    border-radius: var(--radius-control);
    color: var(--color-ink);
    background: transparent;
    font: inherit;
    font-size: var(--step--1);
    cursor: pointer;
}

.showreel__schalter:focus-visible {
    outline: 2px solid var(--color-ink);
    outline-offset: 2px;
}

.showreel__teile {
    display: grid;
    margin: clamp(1.5rem, 3vh, 2.5rem) 0 0;
    padding: 0;
    border-top: var(--line);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    list-style: none;
}

.showreel__teile li {
    display: flex;
    padding: clamp(0.85rem, 1.6vw, 1.15rem) 0;
    border-bottom: var(--line);
    align-items: baseline;
    gap: 0.75rem;
    font-size: var(--step-0);
}

.showreel__teile .technical-label {
    color: var(--color-muted);
}

@media (max-width: 767.98px) {

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

    .showreel__leiste {
        flex-wrap: wrap;
    }

    .showreel__marke {
        min-width: 0;
        flex: 1 1 auto;
    }

    .showreel__spur {
        order: 3;
        width: 100%;
        flex: 1 0 100%;
    }
}

@media (max-width: 599.98px) {

    /* Schmale Fenster: die Buehne wird hochkantiger, damit die grossen Woerter
           nicht auf Briefmarkengroesse schrumpfen. Die Sequenz bleibt dieselbe. */
    .showreel__stage {
        aspect-ratio: 4 / 5;
        width: min(100%, calc(var(--buehne-platz) * 4 / 5));
    }

    .aufbau__wort,
    .schrift__name {
        font-size: 12cqh;
    }

    .aussage__text {
        font-size: 11cqh;
    }

    .farbkarte__name {
        font-size: 6cqh;
    }

    .taste {
        width: 88cqw;
        height: 22cqh;
        border-radius: 11cqh;
    }

    .taste__kreis {
        width: 19cqh;
        height: 19cqh;
    }

    .bausteine__pille {
        font-size: 4cqh;
    }

    .bausteine__pille,
    .bausteine__kreis {
        height: 9cqh;
    }

    .bausteine__kreis {
        width: 9cqh;
    }

    /* Auf der hochkantigen Buehne begrenzt die Breite, nicht die Hoehe. */
    .reichweite__satz {
        font-size: min(13cqh, 11cqw);
    }

    .wortbild__zeile {
        font-size: inherit;
    }
}

@media (prefers-reduced-motion: reduce) {

    /* Reduzierte Bewegung: kein Ablauf, sondern ein ruhiges Standbild aus dem
           ersten Abschnitt. Alle Aussagen stehen ohnehin im Text darueber und in der
           Liste darunter. */
    .showreel__scene {
        visibility: hidden;
    }

    .showreel__scene--farbe {
        visibility: visible;
    }

    .showreel__leiste {
        display: none;
    }
}
