/* KOMPETENZTEAM · kompetenzteam.live
   Broadcast look: condensed display type, lower thirds, ticker.
   Self-hosted fonts, no external requests. Archivo: SIL OFL 1.1 (see /fonts/ARCHIVO-OFL.txt). */

@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url('/fonts/archivo-latin-ext.woff2') format('woff2-variations'), url('/fonts/archivo-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url('/fonts/archivo-latin.woff2') format('woff2-variations'), url('/fonts/archivo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/dm-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #0b0b0c;
    --bg-2: #151517;
    --bg-band: #161618;
    --line: rgba(255, 255, 255, .14);
    --text: #f2f2f2;
    --soft: #cfcfd2;
    --muted: #9a9a9f;
    --dim: #8c8c91;
    --accent: #ff5a1f;
    --ink: #0b0b0c;

    --container: 1360px;
    --gutter: clamp(16px, 4vw, 48px);
    --gap: 20px;
    --nav-h: 64px;

    --display: 'Archivo', 'Arial Narrow', 'DM Sans', sans-serif;
    --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color-scheme: dark;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.55;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* On orange surfaces the accent ring disappears: switch to ink */
.contact :focus-visible, .ticker :focus-visible, .card--cta :focus-visible { outline-color: var(--ink); }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 300; padding: 8px 14px; background: #fff; color: #000; }
.skip:focus { left: 12px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Display type: condensed, heavy, uppercase */
.display {
    font-family: var(--display);
    font-stretch: 66%;
    font-weight: 800;
    text-transform: uppercase;
    line-height: .98;
    letter-spacing: -.005em;
}
.hl { color: var(--accent); }

.link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(255, 255, 255, .35);
    text-underline-offset: .28em;
    transition: color .2s, text-decoration-color .2s;
}
.link:hover { color: #fff; text-decoration-color: var(--accent); }
.arrow { display: inline-block; width: .78em; height: .78em; margin-left: .25em; vertical-align: -.02em; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 22px;
    font-family: var(--display);
    font-stretch: 80%;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #fff; }
.btn--line { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn--line:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--sm { height: 38px; padding: 0 14px; font-size: .9rem; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #fff; color: var(--ink); }

/* Tag: small TV-graphic label for content (white like the lower thirds; orange is reserved for section tags) */
.tag {
    display: inline-block;
    padding: 4px 8px 3px;
    background: #fff;
    color: var(--ink);
    font-family: var(--display);
    font-stretch: 80%;
    font-weight: 800;
    font-size: .74rem;
    letter-spacing: .05em;
    line-height: 1.2;
    text-transform: uppercase;
}

/* ── Navigation ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav.is-scrolled, .nav.is-open { background: var(--bg); border-bottom-color: var(--line); }
/* The open menu carries its own CTA at the bottom, so the nav one steps aside */
.nav.is-open .nav__cta { visibility: hidden; }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-shadow: 0 1px 12px rgba(11, 11, 12, .6); font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; }
.brand__accent { color: var(--accent); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: .95rem; }
.nav__links a { position: relative; color: var(--text); text-shadow: 0 1px 12px rgba(11, 11, 12, .6); transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.lang { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: 0 4px; font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: .95rem; color: rgba(255, 255, 255, .6); transition: color .2s; }
.lang:hover { color: rgba(255, 255, 255, .85); }
.lang--menu { align-self: flex-start; margin-top: 18px; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; }
html[lang="de"] .lang [data-lang="de"],
html[lang="en"] .lang [data-lang="en"] { color: #fff; }

.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -8px; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    padding: calc(var(--nav-h) + 16px) var(--gutter) 28px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .25s; } /* visible at once, so focus can move in */
.nav__cta-short { display: none; }
.mobile-menu__link { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 2.8rem; }
.mobile-menu .btn { margin-top: auto; justify-content: center; height: 56px; }

/* ── Hero ── */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: calc(var(--nav-h) + 72px);
    overflow: hidden;
    background: var(--bg) center / cover no-repeat;
}
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 11, 12, .72) 0%, rgba(11, 11, 12, .2) 70%),
        linear-gradient(180deg, rgba(11, 11, 12, .78) 0%, rgba(11, 11, 12, 0) 30%, rgba(11, 11, 12, .3) 60%, var(--bg) 100%);
}

/* Camera viewfinder: corner marks + REC timecode */
.viewfinder { position: absolute; inset: calc(var(--nav-h) + 20px) var(--gutter) 24px; z-index: -1; pointer-events: none; }
.viewfinder i { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(255, 255, 255, .7); }
.viewfinder i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
/* REC badge doubles as the motion control: REC ↔ PAUSE, like a camera display */
.rec {
    position: absolute;
    top: calc(var(--nav-h) + 28px);
    left: calc(var(--gutter) + 10px);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 8px;
    border: 1px solid transparent;
    font-family: var(--mono);
    font-weight: 500;
    font-size: .8rem;
    letter-spacing: .06em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    transition: border-color .2s, background-color .2s;
}
.rec:hover { border-color: rgba(255, 255, 255, .4); background: rgba(11, 11, 12, .45); }
.rec__dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #ff2d20; animation: blink 1s steps(1) infinite; }
.rec__pause { display: none; width: 10px; height: 10px; flex: none; }
.rec[aria-pressed="true"] .rec__dot { display: none; }
.rec[aria-pressed="true"] .rec__pause { display: block; }
@keyframes blink { 50% { opacity: 0; } }
.rec__fmt { position: absolute; top: 16px; right: 18px; font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .06em; color: rgba(255, 255, 255, .8); }
.motion-paused .ticker__track,
.motion-paused .rec__dot { animation-play-state: paused; }

.hero__title { max-width: 12em; font-size: clamp(2.6rem, 6.6vw, 6rem); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-top: clamp(24px, 3vw, 40px); }
.hero__lead--short { display: none; }
.hero__lead { max-width: 54ch; font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: clamp(32px, 6vh, 72px);
    padding: 18px 0 70px; /* clears the viewfinder's bottom corners (24px inset + 34px marks) */
    border-top: 1px solid var(--line);
}
.facts { display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 5vw, 64px); }
.facts strong { display: block; font-family: var(--display); font-stretch: 66%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: .95; }
.facts li > span { font-size: .85rem; color: var(--muted); }
.facts .inf { display: inline-block; width: auto; height: .74em; margin-right: .06em; vertical-align: baseline; }
/* Entry: the sign is drawn in one stroke as soon as site.js runs (.is-drawn). With JS it starts hidden, so it never flashes up first */
@media (prefers-reduced-motion: no-preference) {
    .js .facts .inf path { stroke-dasharray: 1; stroke-dashoffset: 1; }
}
.facts .inf.is-drawn path { stroke-dasharray: 1; animation: inf-draw 2.2s cubic-bezier(.3, .4, .3, 1) both; /* steady pen stroke, starts right away and lands softly */ }
@keyframes inf-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Lower third */
.lower-third { display: inline-flex; align-items: stretch; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; }
.lower-third__tag { display: flex; align-items: center; padding: 8px 10px; background: var(--accent); color: var(--ink); font-stretch: 80%; font-size: .78rem; letter-spacing: .05em; }
.lower-third__title { display: flex; align-items: center; padding: 8px 14px; background: #fff; color: var(--ink); font-stretch: 72%; font-size: 1.15rem; letter-spacing: .01em; }
.lower-third__title.wipe { animation: wipe .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ── Ticker ── */
.ticker { position: relative; display: flex; overflow: hidden; background: var(--accent); color: var(--ink); }
.ticker__label {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex: none;
    padding: 0 40px 0 var(--gutter);
    background: var(--ink);
    color: #fff;
    font-family: var(--display);
    font-stretch: 80%;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.ticker__viewport { flex: 1; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; align-items: center; }
.ticker__list li {
    display: flex;
    align-items: center;
    padding: 14px 0 12px;
    font-family: var(--display);
    font-stretch: 66%;
    font-weight: 800;
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}
.ticker__face { width: clamp(34px, 3.3vw, 48px); height: clamp(34px, 3.3vw, 48px); flex: none; margin-right: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--ink); object-fit: cover; }
.ticker__list li::after { content: ""; width: 9px; height: 9px; margin-inline: clamp(18px, 2.4vw, 32px); background: var(--ink); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--band { background: var(--bg-band); } /* sets the services apart from its neighbours */
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: clamp(40px, 5vw, 64px); }
.head__bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 32px); font-size: .9rem; color: var(--muted); }
.head__bar b { font-weight: 600; color: var(--text); }
/* Section starts get a broadcast tag; sub-blocks (flow, apps) keep the quiet bar */
.head .head__bar b, .highlights .head__bar b, .contact .head__bar b { padding: .32em .55em .28em; background: var(--accent); color: var(--ink); font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: .85rem; letter-spacing: .05em; line-height: 1.2; text-transform: uppercase; }
.head__title { grid-column: 1 / span 8; align-self: last baseline; font-size: clamp(2.7rem, 6.6vw, 6.4rem); }
.head__text { grid-column: 9 / -1; align-self: last baseline; max-width: 46ch; color: var(--muted); }
.head__text .link { display: inline-block; margin-top: 12px; color: var(--text); }

/* ── Services: two mirrored chapters, "Wir bauen die Technik." / "Du gehst live." ── */
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "head visual" "list visual"; align-items: start; --cg: clamp(32px, 5vw, 80px); column-gap: var(--cg); }
.chapter--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "visual head" "visual list"; }
.chapter + .chapter { margin-top: clamp(96px, 11vw, 160px); }
.chapter__head { grid-area: head; }
.chapter__title { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.chapter__text { max-width: 40ch; margin-top: 16px; color: var(--muted); }
.chapter__visual { grid-area: visual; }

/* Story (desktop): both chapters in one pinned stage. site.js drives --o1 (chapter 1 text out), --t (visual slide),
   --k (visual crossfade), --i2 (chapter 2 text in) and --dip (slight depth while the visual travels). */
.story.is-scrubbed { height: calc(var(--story-h, 0px) + 80vh); }
/* The stage is exactly as tall as the chapters and pins centred in the viewport, so there is no empty band above or below */
.story.is-scrubbed .story__stage { position: sticky; top: calc(var(--nav-h) + (100vh - var(--nav-h) - var(--story-h, 0px)) / 2); height: var(--story-h, auto); container-type: inline-size; }
.story.is-scrubbed .chapter { position: absolute; left: 0; right: 0; top: 0; height: var(--story-h, auto); margin-top: 0; }
.story.is-scrubbed .chapter__visual { position: relative; align-self: center; --mw: calc((100cqw - var(--cg)) * 7 / 12); }
.story.is-big .chapter__visual { --mw: calc((100cqw - var(--cg)) * 7.5 / 12); }
.story.is-scrubbed .chain { position: absolute; left: 0; right: 0; top: 100%; }
/* Bigger while pinned: text centred in its column, visual fills the stage height (chain sits below it) */
.story.is-scrubbed .chapter { grid-template-rows: 1fr auto auto 1fr; grid-template-areas: "top visual" "head visual" "list visual" "end visual"; }
.story.is-scrubbed .chapter:not(.chapter--flip) .chapter__visual { margin-bottom: 64px; } /* room for the step bar, chapter 1 only */
.section--band:has(.story.is-scrubbed) { padding-bottom: clamp(40px, 5vw, 72px); } /* the pinned stage brings its own air */
.story.is-scrubbed .chapter--flip { grid-template-areas: "visual top" "visual head" "visual list" "visual end"; }
/* Big variant when the screen is tall enough (site.js adds .is-big): wider 4:3 visual, larger type */
.story.is-big .chapter { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); }
.story.is-big .chapter--flip { grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); }
.story.is-big .screen { aspect-ratio: 4 / 3; height: auto; max-height: var(--screen-h, none); }
.story.is-big .chapter__title { font-size: clamp(3rem, 5vw, 5.6rem); }
.story.is-big .chapter__text { max-width: 36ch; margin-top: 18px; font-size: 1.12rem; }
.story.is-big .offers { margin-top: clamp(28px, 3.5vh, 44px); }
.story.is-big .offer { padding: 18px 0 19px; }
.story.is-big .offer__name { font-size: clamp(1.7rem, 2.3vw, 2.2rem); }
.story.is-big .offer__text { font-size: 1rem; }
.story.is-scrubbed .chapter:not(.chapter--flip) .chapter__visual { opacity: calc(1 - var(--k, 0)); transform: translateX(calc(var(--t, 0) * (var(--mw) - 100cqw))) scale(calc(1 - .06 * var(--dip, 0))); }
.story.is-scrubbed .chapter--flip .chapter__visual { opacity: var(--k, 0); transform: translateX(calc((1 - var(--t, 0)) * (100cqw - var(--mw)))) scale(calc(1 - .06 * var(--dip, 0))); }
.story.is-scrubbed .chapter:not(.chapter--flip) :is(.chapter__head, .offers) { opacity: calc(1 - var(--o1, 0)); transform: translateY(calc(var(--o1, 0) * -48px)); }
.story.is-scrubbed .chapter--flip :is(.chapter__head, .offers) { opacity: var(--i2, 0); transform: translateY(calc((1 - var(--i2, 0)) * 48px)); }
/* The chapter out of view takes no pointer, but stays in the tab order and the accessibility tree:
   focusing a link in it makes site.js scroll the stage to that chapter */
.story.is-scrubbed:not(.is-ch2) .chapter--flip :is(.chapter__head, .offers, .chapter__visual),
.story.is-scrubbed.is-ch2 .chapter:not(.chapter--flip) :is(.chapter__head, .offers, .chapter__visual) { pointer-events: none; }

/* Offers: a rundown of what we do, one line each */
.offers { grid-area: list; list-style: none; margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; padding: 16px 0 17px; border-bottom: 1px solid var(--line); }
.offer__name { grid-column: 1; font-size: clamp(1.5rem, 2vw, 1.9rem); }
.offer__name--mark { text-transform: none; }
.offer__text { grid-column: 1; max-width: 46ch; margin-top: 6px; font-size: .95rem; color: var(--muted); }
.offer__links { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: .92rem; white-space: nowrap; }

/* Screens: 16:9 media boxes */
.screen { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2) center / cover no-repeat; }
.screen video, .screen img { width: 100%; height: 100%; object-fit: cover; }
.screen--stream video { object-position: 60% center; } /* 4:3 crop: keep the excavator crew in frame */
.screen--stream .sa-alert { top: auto; bottom: 6%; } /* bottom left, over the trench, so the faces stay clear */
.chapter--flip .screen img { object-position: 40% center; } /* keep camera operator and creators in frame when cropped */

/* Crew photo: slow dolly push-in plus a camera viewfinder with REC and running timecode */
.screen--cam img { transform-origin: 42% 46%; animation: cam-push 18s ease-in-out infinite alternate; }
@keyframes cam-push { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.2%, -.8%); } }
.cam-hud { position: absolute; inset: clamp(10px, 2.4cqi, 18px); pointer-events: none; }
.cam-hud i { position: absolute; width: clamp(18px, 4cqi, 30px); aspect-ratio: 1; border: 0 solid rgba(255, 255, 255, .75); }
.cam-hud i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.cam-hud i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.cam-hud i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.cam-hud i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.cam-hud__rec, .cam-hud__cam { position: absolute; top: clamp(8px, 1.8cqi, 14px); display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-weight: 500; font-size: clamp(.7rem, 1.6cqi, .8rem); letter-spacing: .06em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.cam-hud__rec { left: clamp(10px, 2.2cqi, 16px); }
.cam-hud__cam { right: clamp(10px, 2.2cqi, 16px); color: rgba(255, 255, 255, .85); }
.cam-hud__dot { width: 9px; height: 9px; border-radius: 50%; background: #ff2d20; animation: blink 1s steps(1) infinite; }
.motion-paused .screen--cam img, .motion-paused .cam-hud__dot { animation-play-state: paused; }

/* Live shop chain under the Simple Alerts screen */
.chain { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px var(--gap); margin-top: 16px; }
.chain li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 2px solid var(--accent); font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 1.05rem; line-height: 1.1; text-transform: uppercase; }
.chain__n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; background: var(--accent); color: var(--ink); font-stretch: 80%; font-size: .9rem; line-height: 1; }
/* While the stream plays, site.js sets data-step (0–4) on the figure and the chain lights up with the purchase.
   Without playback (no JS, reduced motion) no data-step is set and every step stays lit. */
.chain li { transition: border-color .35s ease, color .35s ease; }
.chain__n { transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.chapter__visual[data-step] .chain li { border-top-color: var(--line); color: var(--muted); }
.chapter__visual[data-step] .chain__n { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.chapter__visual[data-step="1"] .chain li:nth-child(-n+1),
.chapter__visual[data-step="2"] .chain li:nth-child(-n+2),
.chapter__visual[data-step="3"] .chain li:nth-child(-n+3),
.chapter__visual[data-step="4"] .chain li { border-top-color: var(--accent); color: var(--text); }
.chapter__visual[data-step="1"] .chain li:nth-child(-n+1) .chain__n,
.chapter__visual[data-step="2"] .chain li:nth-child(-n+2) .chain__n,
.chapter__visual[data-step="3"] .chain li:nth-child(-n+3) .chain__n,
.chapter__visual[data-step="4"] .chain__n { background: var(--accent); color: var(--ink); box-shadow: none; }

/* Lower thirds (used on project media) */
.lt { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 0 16px 16px; }
.lt__title {
    padding: .3em .5em;
    background: var(--ink);
    color: #fff;
    font-family: var(--display);
    font-stretch: 68%;
    font-weight: 800;
    font-size: clamp(1.45rem, 2.5vw, 2.3rem);
    line-height: 1;
    text-transform: uppercase;
}

/* Simple Alerts: the app's own purple backdrop with its alert, set live so it stays sharp */
/* Simple Alerts as it appears in a real stream: a compact alert card in the free sky, top left */
.sa-alert { position: absolute; top: 6%; left: 5%; display: flex; align-items: center; gap: clamp(10px, 2cqi, 16px); width: max-content; max-width: 92%; padding: clamp(8px, 1.6cqi, 12px) clamp(14px, 2.8cqi, 22px) clamp(8px, 1.6cqi, 12px) clamp(8px, 1.6cqi, 12px); background: rgba(11, 11, 12, .82); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .6); transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
/* Synced to the video by site.js; without playback (no JS, reduced motion, paused) the alert simply stays visible */
.screen--stream.is-synced:not(.is-alert) .sa-alert { opacity: 0; transform: translateY(10px) scale(.97); }
.sa-alert__product { flex: none; display: grid; place-items: center; width: clamp(34px, 7.5cqi, 56px); aspect-ratio: 1; background: #fff; }
.sa-alert__product img { width: 92%; height: auto; }
.sa-alert__text { display: flex; flex-direction: column; align-items: flex-start; gap: .15em; font-family: var(--font); color: #fff; text-align: left; }
.sa-alert__lead { font-size: clamp(.7rem, 1.7cqi, .85rem); white-space: nowrap; font-weight: 500; line-height: 1.35; color: rgba(255, 255, 255, .82); }
.sa-alert__lead b { font-weight: 700; color: #fff; }
.sa-alert__item { font-size: clamp(.75rem, 2.5cqi, 1.1rem); white-space: nowrap; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
/* Display timer, like the real widget: runs down while the alert is on screen */
.sa-alert::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.screen--stream.is-alert .sa-alert::after { animation: sa-timer 3.8s linear both; }
@keyframes sa-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* Stream HUD: LIVE badge top left, and a sales goal top right that appears once the sale is tracked and fills a notch */
.stream-hud { position: absolute; inset: clamp(10px, 2.4cqi, 18px); display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.stream-hud__live { display: flex; align-items: center; gap: .45em; padding: .42em .6em .36em; background: #d91f14; color: #fff; font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: clamp(.68rem, 1.7cqi, .85rem); letter-spacing: .05em; line-height: 1; text-transform: uppercase; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .55); }
.stream-hud__live::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #fff; animation: blink 1s steps(1) infinite; }
.stream-goal { display: flex; flex-direction: column; gap: clamp(6px, 1.2cqi, 9px); width: clamp(160px, 32cqi, 240px); padding: clamp(8px, 1.6cqi, 11px) clamp(10px, 2cqi, 14px) clamp(9px, 1.8cqi, 12px); background: rgba(11, 11, 12, .82); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .6); transition: opacity .35s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
.stream-goal__head { display: flex; justify-content: space-between; align-items: baseline; gap: .8em; font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: clamp(.68rem, 1.7cqi, .85rem); letter-spacing: .05em; line-height: 1; text-transform: uppercase; color: #fff; }
.stream-goal__count { font-variant-numeric: tabular-nums; }
.stream-goal__n { font-weight: inherit; transition: color .3s ease; }
.stream-goal__n.is-new { color: var(--accent); }
.stream-goal__bar { position: relative; height: clamp(5px, 1cqi, 7px); background: rgba(255, 255, 255, .16); overflow: hidden; }
.stream-goal__bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(.8); transform-origin: left; transition: transform 1s cubic-bezier(.16, 1, .3, 1) .45s; }
/* Synced: hidden until the sale is tracked, then it slides in at the old level and fills up. Unsynced it shows the filled state. */
.screen--stream.is-synced:not(.is-tracked) .stream-goal { opacity: 0; transform: translateY(-8px); }
.screen--stream.is-synced:not(.is-tracked) .stream-goal__bar i { transform: scaleX(.7667); transition: none; } /* 23 / 30 */
.motion-paused .stream-hud__live::before, .motion-paused .sa-alert::after { animation-play-state: paused; }


/* ── Productions ── */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.feat { display: block; }
.feat__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.feat__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.feat:hover .feat__media video { transform: scale(1.04); }
.feat__media .tag { position: absolute; top: 14px; left: 14px; }
.feat__media .lt__title { font-size: clamp(1.6rem, 2.7vw, 2.6rem); }
.feat__sub { margin-top: 14px; color: var(--soft); }
.feat__crew { margin-top: 8px; font-size: .86rem; line-height: 1.5; color: var(--dim); }
.feat__go { display: inline-block; margin-top: 12px; font-size: .9rem; }
.feat:hover .feat__go { color: #fff; text-decoration-color: var(--accent); }

.highlights { margin-top: clamp(64px, 7vw, 104px); }
.archive { margin-top: clamp(64px, 7vw, 104px); container-type: inline-size; }
.archive__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.archive__head h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
    height: 36px;
    padding: 0 12px;
    border: 1.5px solid var(--line);
    font-family: var(--display);
    font-stretch: 80%;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--soft);
    transition: color .2s, border-color .2s, background-color .2s;
}
.filters button:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }
.filters button.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.grid {
    --cap: 56px;
    position: relative; /* anchors the filter ghosts */
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 420px;
    grid-auto-rows: calc((100cqi - 3 * 10px) / 4 * 1.25 + var(--cap));
    gap: 24px 10px;
}
.card { display: grid; grid-template-rows: minmax(0, 1fr) var(--cap); min-width: 0; }
.card--wide { grid-column: span 2; }
.card--wide.is-narrow { grid-column: auto; } /* set by site.js to close a hole */
.card[hidden] { display: none; }
.card__media { position: relative; overflow: hidden; background: var(--bg-2); }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Clips (site.js): the first frame fades in over the photo while settling from a slight zoom (.is-live stays on, so a
   paused clip keeps its frame), a playhead runs along the bottom edge, and the Clip tag is the pause/play control */
.card[data-video] .card__media { cursor: pointer; }
.card__media video { opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.card.is-live .card__media video { opacity: 1; transform: none; }
.card__playhead { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity .3s; }
.card.is-live .card__playhead { opacity: 1; }
/* Vertical clip in a wide card (.is-pillar): shown whole, over the card's own photo blurred and dimmed as a backdrop */
.card__media img { transition: filter .9s ease, transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.card.is-pillar .card__media video { object-fit: contain; }
.card.is-pillar.is-live .card__media img { filter: blur(24px) brightness(.45) saturate(1.2); transform: scale(1.15); }
.card__clip { position: absolute; left: 8px; bottom: 11px; display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px 0 8px; }
.card__clip svg { width: 9px; height: 9px; }
.card__clip .i-pause, .card.is-playing .card__clip .i-play { display: none; }
.card.is-playing .card__clip .i-pause { display: block; }
.card__cap { padding-top: 9px; overflow: hidden; }
.card__cap h4, .card__cap p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card__cap h4 { font-size: 1.3rem; line-height: 1; }
.card__cap p { margin-top: 4px; font-size: .82rem; color: var(--muted); }
.card--cta { position: relative; grid-template-rows: auto; align-content: space-between; margin-bottom: var(--cap); /* fallback; site.js ends it on the neighbouring caption */ padding: 18px; background: var(--accent); color: var(--ink); transition: background-color .2s; }
.card--cta:hover { background: #fff; }
.card--cta h4 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.card--cta .link { color: var(--ink); text-decoration-color: rgba(11, 11, 12, .45); font-weight: 600; }
.card--cta .link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.card__cta-link::after { content: ""; position: absolute; inset: 0; } /* whole tile is the link */
/* Filter glide (site.js): a card that drops out leaves a ghost at its old place that fades while the rest slide */
.card--ghost { position: absolute; margin: 0; pointer-events: none; }

/* ── Aktuell: case studies ── */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px var(--gap); }
.case { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.case__media { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); }
.case__media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
a.case__media:hover > img { transform: scale(1.03); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
.mosaic__item { position: relative; min-height: 0; overflow: hidden; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic .lt { padding: 0 10px 10px; }
.mosaic .lt__title { padding: .3em .5em; font-size: clamp(1rem, 1.6vw, 1.45rem); }
.case__bug { position: absolute; top: 14px; left: 14px; z-index: 1; display: grid; place-items: center; height: 54px; padding: 0 16px; background: #fff; }
.case__bug img { width: auto; height: 26px; }
.case__client { margin-top: 22px; }
.case__title { margin-top: 10px; font-size: clamp(2.2rem, 3.7vw, 3.7rem); }
.case__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; width: 100%; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.case__stats div { display: flex; flex-direction: column-reverse; }
.case__stats dd { white-space: nowrap; font-family: var(--display); font-stretch: 66%; font-weight: 800; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.case__stats dt { margin-top: 4px; font-size: .82rem; color: var(--muted); }
.case__text { max-width: 58ch; margin-top: 18px; color: var(--soft); }
.case__link { margin-top: 18px; }
@media (min-width: 901px) {
    .cases { row-gap: 0; }
    .case { display: grid; grid-template-rows: subgrid; grid-row: span 7; justify-items: start; align-content: start; }
    .case__link { grid-row: -2 / -1; align-self: start; }
}

/* Multiview (site.js adds .is-scrubbed): the cases pin under the nav while the spacer below supplies the scroll run.
   site.js moves each BMI feed from its quadrant of a full-screen wall back into its mosaic cell (transform + clip-path)
   and drives --r (cases come in) and, per feed, --w (lower third keys on). */
.multiview.is-scrubbed::after { content: ""; display: block; height: 90vh; height: 90svh; }
#projekte { overflow-x: clip; } /* the scaled feeds and the reel must not widen the page; clip (not hidden) keeps sticky working */
.multiview.is-scrubbed .cases { position: sticky; top: calc(var(--nav-h) + clamp(12px, 2vw, 24px)); }
.multiview.is-scrubbed .mosaic { z-index: 2; overflow: visible; }
.multiview.is-scrubbed .mosaic__item { transform-origin: 0 0; }
/* Lower thirds key on when the wall locks (.is-keyed): an accent block wipes across, the label is underneath when it
   retracts. One after another (--i), like graphics fired from the vision mixer. */
.multiview.is-scrubbed .mosaic .lt { transform-origin: 0 100%; }
.multiview.is-scrubbed:not(.is-keyed) .mosaic .lt { visibility: hidden; }
.multiview.is-keyed .mosaic .lt__title { position: relative; animation: lt-key .64s steps(1, end) both; animation-delay: calc(.15s + var(--i, 0) * .1s); }
.multiview.is-keyed .mosaic .lt__title::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: lt-block .64s cubic-bezier(.77, 0, .18, 1) both; animation-delay: inherit; }
@keyframes lt-key { 0% { color: transparent; background-color: transparent; } 50% { color: #fff; background-color: var(--ink); } }
@keyframes lt-block {
    0% { transform: scaleX(0); transform-origin: 0 50%; }
    50% { transform: scaleX(1); transform-origin: 0 50%; }
    50.01% { transform: scaleX(1); transform-origin: 100% 50%; }
    100% { transform: scaleX(0); transform-origin: 100% 50%; }
}
.multiview.is-scrubbed :is(.case:first-child > :not(.mosaic), .case + .case) { opacity: var(--r, 1); transform: translateY(calc((1 - var(--r, 1)) * 48px)); }

/* Rolling numbers (site.js): each digit spins up on a strip; the hidden ghost digit keeps width and baseline,
   and the plain text comes back once the roll has landed */
.odo { position: relative; display: inline-block; clip-path: inset(-.06em -.12em); }
.odo__ghost { color: transparent; }
.odo__strip { position: absolute; top: 0; left: 0; right: 0; text-align: center; white-space: pre; }

/* ── Highlights reel (desktop, site.js adds .is-reel): the stage pins under the nav, the row of 16:9 screens
   slides sideways (transform set by site.js) and --f (0–1) brings the screen in focus to full size ── */
.highlights.is-reel { height: var(--reel-h, auto); }
.highlights.is-reel .highlights__stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; }
.highlights.is-reel .feat-grid { display: flex; width: max-content; gap: clamp(20px, 2vw, 32px); }
.highlights.is-reel .feat { flex: none; width: var(--reel-w); transform: scale(calc(.92 + .08 * var(--f, 1))); transform-origin: 50% 40%; }
.highlights.is-reel .feat__media { aspect-ratio: 16 / 9; }
.highlights.is-reel .feat__media::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: calc(.6 - .6 * var(--f, 1)); pointer-events: none; }
.highlights.is-reel .feat__media .lt__title { font-size: clamp(1.6rem, 2.4vw, 2.5rem); } /* captions keep full contrast; focus is carried by scale and the media dim */

/* ── Contact (orange) ── */
/* On air (site.js adds .is-onair and drives --on 0–1): the orange screen widens to full bleed while it scrolls up,
   the details fade in near the end, and the title rises word by word out of a mask line once it is live (.is-live) */
.contact.is-onair { clip-path: inset(0 calc((1 - var(--on, 1)) * clamp(16px, 11vw, 200px))); }
.contact.is-onair .container > :not(.contact__title) { opacity: clamp(0, calc((var(--on, 1) - .55) * 2.6), 1); }
.contact.is-onair .wm { display: inline-block; clip-path: inset(-.25em -.3em -.04em -.3em); }
.contact.is-onair .wm__in { display: inline-block; transform: translateY(112%); transition: transform .32s cubic-bezier(.4, 0, 1, 1); }
.contact.is-live .wm__in { transform: none; transition: transform .9s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * 90ms); }
.contact { padding-block: clamp(64px, 8vw, 112px); background: var(--accent); color: var(--ink); }
.contact ::selection { background: var(--ink); color: var(--accent); }
.contact .head__bar { color: rgba(11, 11, 12, .85); }
.contact .head__bar b { background: var(--ink); color: var(--accent); }
.contact__title { font-size: clamp(3.6rem, 13vw, 13rem); line-height: .92; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 4vw, 56px); }
.contact__actions .btn { height: 64px; padding: 0 28px; font-size: 1.15rem; }
.contact__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px var(--gap); margin-top: clamp(48px, 6vw, 80px); padding-top: 20px; border-top: 1px solid rgba(11, 11, 12, .3); }
.contact__list dt { font-size: .88rem; color: rgba(11, 11, 12, .8); }
.contact__list dd { margin-top: 4px; font-weight: 600; font-size: 1.1rem; }
.copy { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 11px; border: 1.5px solid var(--ink); font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.copy svg { width: 16px; height: 16px; }
.copy:hover, .copy.is-done { background: var(--ink); color: var(--accent); }
.contact__copy { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.copy__status { font-weight: 600; font-size: .92rem; }
.contact .link { text-decoration-color: rgba(11, 11, 12, .45); }
.contact .link:hover { text-decoration-color: var(--ink); text-decoration-thickness: 2px; }

/* ── Footer ── */
.footer { padding-block: 26px 34px; font-size: .88rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__social { margin-right: auto; }
.footer__social a { color: var(--soft); }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--text); }

/* Touch: every control gets a 44px hit area; inline links grow invisibly so the text layout stays put */
@media (pointer: coarse) {
    .filters button, .copy, .nav__cta, .rec { min-height: 44px; height: 44px; }
    .card__clip::before { content: ""; position: absolute; inset: -9px -8px; }
    :is(.offer__links, .head__bar, .contact__list) .link, .case__link { display: inline-block; padding-block: 11px; margin-block: -11px; }
    .contact__copy { margin-top: 16px; }
    .footer nav { row-gap: 0; }
    .footer nav a { display: inline-block; padding-block: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .ticker__track { width: auto; flex-wrap: wrap; }
    .ticker__list[aria-hidden="true"] { display: none; }
    .ticker__list { flex-wrap: wrap; padding-left: 20px; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .hero__row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .nav__links { display: none; }
    .nav__actions { margin-left: auto; }
    .burger { display: inline-block; }

    .chapter, .chapter--flip { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "visual" "list"; }
    .chapter__visual { margin-top: 28px; }
    .head__title, .head__text { grid-column: 1 / -1; }
    .cases { grid-template-columns: 1fr; gap: 72px; }
    .head__text { margin-top: 20px; }



    .feat-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(80%, 360px);
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    .feat-grid::-webkit-scrollbar { display: none; }
    .feat { scroll-snap-align: start; }

    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc((100cqi - 10px) / 2 * 1.25 + var(--cap)); }
    .card--wide { grid-column: auto; } /* two columns: every card one cell, so no holes */
}

@media (max-width: 640px) {
    :root { --gap: 14px; }
    /* Hero on phones: fewer elements, more air */
    .hero { padding-top: calc(var(--nav-h) + 64px); }
    .viewfinder { inset: calc(var(--nav-h) + 14px) var(--gutter) auto; height: 20px; }
    .viewfinder i { display: none; }
    .nav__inner { gap: 12px; }
    .brand { font-size: 1.15rem; }
    .nav__actions { gap: 10px; }
    .nav__actions .lang { display: none; }
    .nav__cta-full { display: none; }
    .nav__cta-short { display: inline; }
    .rec__fmt { display: none; }
    .rec { top: calc(var(--nav-h) + 4px); left: calc(var(--gutter) - 8px); min-height: 40px; font-size: .72rem; }
    .hero__title { font-size: clamp(2.3rem, 10.6vw, 3.1rem); }
    .hero__lead--long { display: none; }
    .hero__lead--short { display: block; font-size: 1rem; }
    .hero__row { margin-top: 18px; gap: 22px; }
    .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
    .hero__actions .btn { justify-content: center; height: 48px; padding: 0 10px; font-size: .92rem; }
    .hero__foot { margin-top: 32px; padding: 16px 0 26px; gap: 18px; }
    .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
    .facts strong { font-size: 1.85rem; }
    .facts li > span { display: block; margin-top: 2px; font-size: .78rem; line-height: 1.3; }
    .lower-third__tag { padding: 6px 8px; font-size: .75rem; }
    .lower-third__title { padding: 6px 10px; font-size: .98rem; }
    .case__stats { gap: 14px 26px; }
    .case__stats dd { font-size: 1.7rem; }
    .ticker__label { padding: 0 26px 0 var(--gutter); font-size: .8rem; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }

    .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .offer { grid-template-columns: minmax(0, 1fr); }
    .offer__links { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 8px; }
    .grid { --cap: 36px; gap: 20px 8px; grid-auto-rows: calc((100cqi - 8px) / 2 * 1.25 + var(--cap)); }
    .card__cap h4 { font-size: clamp(.95rem, 4.3vw, 1.1rem); } /* "Bei der Polizei Hannover" fits a 360px phone */
    /* Mobile: lighter text load */
    .card__cap p, .feat__crew, .head .head__bar > span, .contact .head__bar > span { display: none; }
    .card--cta { padding: 14px; }
    .contact__actions .btn { flex: 1 1 100%; justify-content: space-between; }
    .contact__list { grid-template-columns: 1fr 1fr; }
    .contact__mailrow { grid-column: 1 / -1; }
    .footer__inner { flex-direction: column; }
}
