/* Annex Productions, Relaunch. Aufbau nach Creative Giants, Farben und Schrift von Annex, dunkles Design.
   Scroll-Szenen (Video-Header, Wortreveal, Bildreihen, horizontale Arbeiten) laufen nur mit html.motion,
   also nicht bei "Bewegung reduzieren". Regeln: DESIGN.md */

@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #010e21;
  --ink-2: #4b5966;
  --pale: #d7f4f4;
  --light: #c5ffff;
  --ocean: #6ddbe2;
  --snow: #f3f8f9;

  --r: 16px;
  --r-dark: 24px;
  --pad: clamp(20px, 2.8vw, 40px);
  --gap: clamp(96px, 12vw, 176px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 "Switzer", system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.contact :focus-visible { outline-color: var(--ocean); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pad { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--pad); }
.section { margin-top: var(--gap); }

/* Schrift */
.display { font-size: clamp(54px, 10.6vw, 184px); line-height: .95; letter-spacing: -0.05em; font-weight: 400; }
.heading { font-size: clamp(36px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 400; text-wrap: balance; }
.statement { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 400; text-wrap: balance; }
.lead { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.4; letter-spacing: -0.01em; font-weight: 400; }
.lead-s { font-size: 19px; line-height: 1.5; letter-spacing: -0.005em; }
.eyebrow { font-size: 12px; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.card-title { display: block; font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 400; }

/* Knöpfe */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; white-space: nowrap; }
.pill-dark { background: var(--ink); color: var(--paper); }
.pill-dark:hover { background: #17283f; }
.pill-ghost { border-color: rgba(1, 14, 33, .3); color: var(--ink); background: transparent; }
.pill-ghost:hover { background: var(--pale); border-color: var(--pale); }
.pill-ocean { background: var(--ocean); color: var(--ink); }
.pill-ocean:hover { background: var(--light); }
.pill[disabled] { opacity: .6; cursor: progress; }
.icon-btn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; transition: background-color .25s, border-color .25s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

/* Medien: Video oder Foto, immer mit runden Ecken */
.media { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--pale); aspect-ratio: 4 / 3; isolation: isolate; }
.media > video, .media > img, .media > canvas { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pos-center { object-position: 50% 50%; }
.media-label { position: absolute; left: 14px; bottom: 14px; background: var(--paper); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 500; }

/* Kopfzeile: fest, über dem Film durchsichtig, danach mit Fläche */
.site-header { position: fixed; z-index: 40; inset: 0 0 auto 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 16px var(--pad); color: var(--snow); transition: background-color .35s, color .35s, transform .45s var(--ease); }
.site-header.solid { background: var(--paper); color: var(--ink); }
.site-header.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 40px; height: auto; }
.wordmark { font-size: 27px; font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.header-eyebrow { color: inherit; line-height: 1.35; opacity: .85; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.motion-toggle .i-play { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }

/* Menü */
.menu { position: fixed; inset: 0; z-index: 50; background: var(--paper); padding: 110px var(--pad) 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { font-size: clamp(48px, 7.5vw, 120px); line-height: 1.02; letter-spacing: -0.045em; text-decoration: none; transition: color .2s; }
.menu-nav a:hover { color: var(--ink-2); }
.menu-side { display: flex; flex-direction: column; gap: 24px; align-self: end; }
.menu-media { aspect-ratio: 16 / 9; }
.menu-contact { color: var(--ink-2); line-height: 1.9; }
.menu-contact a { text-decoration: none; color: var(--ink); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { z-index: 60; transform: none; }

/* Video-Header: Vollbild, beim Scrollen zieht sich der Film in die Wortmarke zurück */
.hero-scene { position: relative; height: 100svh; }
.motion .hero-scene { height: 320svh; }
.hero-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink); color: var(--snow); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tint { position: absolute; inset: 0; background: rgba(1, 14, 33, .3); }
.hero-mask { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.motion .hero-mask { display: block; }
.hm-cover { fill: var(--ink); }
.hm-fill { fill: var(--ocean); opacity: 0; }
.hero-claim { position: absolute; left: var(--pad); bottom: calc(var(--pad) + 52px); color: #fff; will-change: transform, opacity; }
.hero-hint { position: absolute; left: var(--pad); bottom: var(--pad); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.hero-lead { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.hero-lead .lead { max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-lead .pill-dark { background: var(--snow); color: var(--ink); }
.hero-lead .pill-dark:hover { background: var(--light); }
.hero-lead .pill-ghost { border-color: rgba(255, 255, 255, .32); color: var(--snow); }
.hero-lead .pill-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
.motion .hero-lead { opacity: 0; will-change: transform, opacity; }
html:not(.motion) .hero-claim { bottom: auto; top: 22svh; }
html:not(.motion) .hero-hint { display: none; }

/* Intro: Statement färbt sich Wort für Wort ein */
.intro { display: grid; grid-template-columns: 1fr 3fr; gap: 24px 48px; }
.intro .statement { grid-column: 2; max-width: 30ch; }
.motion .words .w { opacity: .16; transition: opacity .35s linear; }
.motion .words .w.on { opacity: 1; }
.facts { grid-column: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 5vw, 80px); }
.facts dt { font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.facts dd { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.45; max-width: 24ch; }

/* Bildwand: zwei Reihen, die beim Scrollen gegeneinander laufen */
.wall { overflow: hidden; display: grid; gap: 20px; padding-block: 8px; }
.wall-row { display: flex; gap: 20px; width: max-content; will-change: transform; }
.wall-row > li { flex: none; width: clamp(240px, 30vw, 560px); aspect-ratio: 16 / 10; }
.wall-row[data-dir="-1"] { transform: translateX(-8vw); }
.wall-row[data-dir="1"] { transform: translateX(-38vw); }

/* Abschnittskopf */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .heading { max-width: 16ch; }

/* Karten */
.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; height: 100%; }
.card .media { margin-bottom: 8px; }
.card:hover .media > video, .card:hover .media > img, .card:hover .media > canvas { transform: scale(1.035); }
.card-meta { color: var(--ink-2); font-size: 15px; margin-top: -4px; }
.card-text { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.tag { align-self: flex-start; margin-top: 4px; background: var(--pale); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 500; line-height: 1.2; }

.card-accent { justify-content: space-between; border-radius: var(--r); padding: clamp(22px, 2.2vw, 32px); transition: background-color .25s; }
.accent-body { display: flex; flex-direction: column; gap: 14px; }
.card-accent .eyebrow { color: var(--ink); }
.accent-title { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.12; letter-spacing: -0.025em; }
.round-arrow { align-self: flex-end; width: 52px; height: 52px; border-radius: 999px; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform .3s var(--ease); }
.card-accent:hover .round-arrow { transform: translateX(4px); }

.tint-pale { background: var(--pale); }
.tint-light { background: var(--light); }
.tint-ocean { background: var(--ocean); }
.card-accent, .tint { color: var(--ink); }

/* Arbeiten: aus vertikalem Scrollen wird eine horizontale Fahrt */
.work-count { white-space: nowrap; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.work-track { display: flex; gap: 24px; padding: 0 var(--pad) 8px; }
.work-track > li { flex: 0 0 clamp(290px, 40vw, 720px); }
.work-track .card-accent { aspect-ratio: 4 / 3; height: auto; }
.motion .work-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 64px; }
.motion .work-track { width: max-content; will-change: transform; }
.motion .work-track .media > video, .motion .work-track .media > img, .motion .work-track .media > canvas { transform: translateX(var(--px, 0%)) scale(1.14); transition: none; }
html:not(.motion) .work-track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
html:not(.motion) .work-track > li { scroll-snap-align: start; }
html:not(.motion) .work-count { display: none; }

/* Leistungen: Bilder öffnen sich von unten */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 20px; }
.service-grid .card-accent { min-height: 100%; }
.js .service-grid .reveal .media { clip-path: inset(35% 0 0 0 round var(--r)); transition: clip-path 1.2s var(--ease); }
.js .service-grid .reveal.in .media { clip-path: inset(0 0 0 0 round var(--r)); }

/* Kunden */
.clients { display: grid; grid-template-columns: 1fr 3fr; gap: 28px 48px; align-items: center; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 60px; }
.logo-row img { height: 28px; width: auto; filter: brightness(0); opacity: .72; }
.logo-row .l-uniqa { height: 44px; }
.logo-row .l-stadt-wien { height: 38px; }
.logo-row .l-samsung { height: 22px; }
.logo-row .l-strabag { height: 24px; }
.logo-row .l-spar { height: 26px; }
.logo-row .l-puls4 { height: 24px; }
.logo-row .l-kinderhotels { height: 24px; }
.logo-row .l-amcham { height: 36px; }
.logo-row .l-sante { height: 30px; }
.logo-row .l-fiskaly { height: 26px; }
.logo-row .l-nyra { height: 34px; }
.logo-row .l-business-circle { height: 46px; }

/* Studio */
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.studio-photo { aspect-ratio: 4 / 5; }
.studio-photo img { object-position: 45% 60%; }
.motion [data-parallax] img { transform: translateY(var(--py, 0%)) scale(1.18); transition: none; }
.studio-text { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(0px, 4vw, 64px); }
.studio-text .eyebrow { margin-bottom: -6px; }
.studio-text .lead-s { max-width: 46ch; }
.studio-clip { aspect-ratio: 16 / 10; margin-top: 16px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.tint { border-radius: var(--r); padding: clamp(24px, 2.4vw, 36px); min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tint p { font-size: 16px; line-height: 1.5; max-width: 36ch; }

/* Kontakt: die abgesetzte Fläche */
.contact-card { background: var(--ink); color: var(--paper); border-radius: var(--r-dark); padding: clamp(28px, 4.5vw, 72px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 104px); }
.motion .contact-card { transform: scale(var(--cs, 1)); transform-origin: 50% 0; }
.contact .eyebrow { color: #a9b6c2; margin-bottom: 16px; }
.contact .lead-s { margin-top: 20px; color: #d2dae1; max-width: 40ch; }
.contact-clip { aspect-ratio: 16 / 9; margin-top: 36px; background: #0d2036; }
.direct { margin-top: 28px; display: grid; gap: 12px; }
.direct div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; }
.direct dt { color: #a9b6c2; font-size: 15px; }
.direct a { text-decoration: none; }
.direct a:hover { color: var(--ocean); }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 15px; color: #d2dae1; }
.optional { color: #8d9cab; }
.field input, .field textarea { font: inherit; color: var(--paper); background: rgba(255, 255, 255, .07); border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; min-height: 52px; transition: border-color .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover { background: rgba(255, 255, 255, .1); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ocean); background: rgba(255, 255, 255, .1); }
.field [aria-invalid="true"] { border-color: #ff9b9b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 14px; color: #a9b6c2; }
.form-note a { color: #d2dae1; }
.form-status { min-height: 1.5em; font-size: 16px; }
.form-status.ok { color: var(--ocean); }
.form-status.err { color: #ffb4b4; }

/* Fußzeile */
.site-footer { margin-top: var(--gap); padding-bottom: 28px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid > * { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer-grid .eyebrow { margin-bottom: 10px; }
.footer-grid a:not(.pill) { text-decoration: none; padding: 3px 0; }
.footer-grid a:not(.pill):hover { color: var(--ink-2); }
.footer-claim { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 20px; }
.footer-address { color: var(--ink-2); font-size: 15px; margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: clamp(64px, 8vw, 120px); color: var(--ink-2); font-size: 14px; }
.footer-sign { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-sign .brand { color: inherit; }
[data-theme="dark"] .footer-sign .brand { color: var(--snow); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* Vorspulen: Maus über das Bild bewegen (am Handy waagrecht wischen) spult durch den Clip */
.media > canvas.scrub { position: absolute; inset: 0; opacity: 0; transition: opacity .18s linear, transform .9s var(--ease); pointer-events: none; }
.media.scrubbing > canvas.scrub { opacity: 1; }
.scrub-tc { position: absolute; left: 14px; top: 14px; z-index: 1; background: var(--ink); color: var(--snow); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s var(--ease); pointer-events: none; }
.media.scrubbing > .scrub-tc { opacity: 1; transform: none; }
.motion .media[data-scrub] { touch-action: pan-y; }

/* Übergang Projektkarte und Projektseite (Chrome, Edge, Safari ab 18.2; sonst normaler Seitenwechsel) */
@view-transition { navigation: auto; }
::view-transition-group(work-media) { animation-duration: .75s; animation-timing-function: cubic-bezier(.65, 0, .15, 1); }
::view-transition-old(work-media), ::view-transition-new(work-media) { height: 100%; object-fit: cover; }
::view-transition-old(root) { animation-duration: .3s; }
::view-transition-new(root) { animation-duration: .45s; animation-delay: .12s; }
.site-header { view-transition-name: site-header; }
.testbar { view-transition-name: testbar; }

/* Projektseite */
.proj { padding-top: clamp(96px, 13vh, 150px); }
.proj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 44px); }
.proj-back { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: color .2s; }
.proj-back:hover { color: var(--ocean); }
.proj-title { font-size: clamp(52px, 8.4vw, 148px); line-height: .95; letter-spacing: -0.05em; font-weight: 400; }
.proj-facts { display: flex; flex-wrap: wrap; gap: 18px 44px; padding-bottom: 8px; }
.proj-facts dt { font-size: 12px; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.proj-facts dd { margin: 6px 0 0; font-size: 17px; }
.proj-media { aspect-ratio: 16 / 9; view-transition-name: work-media; }
.proj-play { position: absolute; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 2; }
.proj-credits { display: grid; grid-template-columns: 1fr 3fr; gap: 28px 48px; align-items: start; }
.credits { columns: 3 210px; column-gap: 40px; }
.credits div { break-inside: avoid; padding-bottom: 22px; }
.credits dt { font-size: 14px; color: var(--ink-2); }
.credits dd { margin: 4px 0 0; font-size: 17px; line-height: 1.4; }
.next-card { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px 56px; align-items: end; text-decoration: none; }
.next-text { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.next-title { font-size: clamp(40px, 5.6vw, 96px); line-height: 1; letter-spacing: -0.045em; transition: color .25s; }
.next-card:hover .next-title { color: var(--ocean); }
.next-card:hover .media > video, .next-card:hover .media > canvas { transform: scale(1.035); }
.proj-cta-card { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 24px 48px; min-height: 0; padding: clamp(28px, 4vw, 64px); border-radius: var(--r-dark); }
.proj-cta-card .heading { max-width: 14ch; }
.proj-cta-card .lead-s { font-size: 19px; max-width: 34ch; }
.proj-cta-card .pill { justify-self: start; grid-column: 2; }
.tint-ocean .pill-dark, [data-theme="dark"] .tint-ocean .pill-dark { background: var(--ink); color: var(--snow); }
.tint-ocean .pill-dark:hover, [data-theme="dark"] .tint-ocean .pill-dark:hover { background: #17283f; }

/* Kino-Modus: Clip mit Ton, der Vorhang geht von der Mitte aus auf */
.cinema { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: var(--snow); overflow: hidden; }
.cinema[open] { display: grid; place-items: center; animation: cinema-in .35s linear both; }
.cinema::backdrop { background: #000; }
.cinema video { width: min(100vw, calc(100dvh * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.cinema::before, .cinema::after { content: ""; position: absolute; left: 0; right: 0; height: 50.5dvh; background: #000; z-index: 1; pointer-events: none; animation: shutter 1s .15s cubic-bezier(.7, 0, .2, 1) both; }
.cinema::before { top: 0; transform-origin: 50% 0; }
.cinema::after { bottom: 0; transform-origin: 50% 100%; }
.cinema-close { position: absolute; z-index: 2; top: 16px; right: var(--pad); }
@keyframes cinema-in { from { opacity: 0; } }
@keyframes shutter { to { transform: scaleY(0); } }

/* Briefing-Assistent im Kontaktbereich */
.contact-card { --card-fg: var(--paper); --card-bg: var(--ink); }
.contact-col { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.contact-col-b { position: sticky; top: 96px; align-self: start; }
.brief { display: flex; flex-direction: column; gap: 20px; }
.brief[hidden], .contact-form[hidden] { display: none; }
.brief-top { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.brief-count { font-size: 15px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.text-btn { background: none; border: 0; padding: 0; min-height: 44px; font-size: 15px; font-weight: 500; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); cursor: pointer; transition: text-decoration-color .2s; }
.text-btn:hover { text-decoration-color: currentColor; }
.brief-skip { align-self: flex-start; }
.brief-q { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 22px; }
.brief-q:focus { outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--card-fg) 32%, transparent); background: transparent; color: var(--card-fg); font-size: 16px; font-weight: 500; line-height: 1.2; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.chip:hover { background: color-mix(in srgb, var(--card-fg) 8%, transparent); border-color: color-mix(in srgb, var(--card-fg) 60%, transparent); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--card-fg); color: var(--card-bg); border-color: var(--card-fg); }
.chips-sum .chip { background: var(--card-fg); color: var(--card-bg); border-color: var(--card-fg); }
.chips-sum .chip:hover { background: color-mix(in srgb, var(--card-fg) 85%, transparent); }
.enter { animation: brief-in .55s var(--ease) both; }
@keyframes brief-in { from { opacity: 0; transform: translateY(14px); } }

.brief-result { display: flex; flex-direction: column; gap: 28px; }
.brief-plan { display: flex; flex-direction: column; gap: 22px; }
.brief-plan .contact-clip { margin-top: 0; }
.plan-media { aspect-ratio: 16 / 10; text-decoration: none; }
.plan-body { display: flex; flex-direction: column; gap: 18px; }
.plan-title { font-size: clamp(24px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.plan-title .eyebrow { display: block; margin-bottom: 8px; color: inherit; }
.plan-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.price { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--card-fg) 9%, transparent); }
.price-a { font-size: clamp(28px, 2.4vw, 36px); line-height: 1; letter-spacing: -0.03em; }
.price-l { font-size: 15px; line-height: 1.4; }
.plan-fine { font-size: 13px; line-height: 1.45; color: color-mix(in srgb, var(--card-fg) 76%, transparent); }
.plan-note { font-size: 16px; line-height: 1.5; }
.plan-steps { display: grid; gap: 12px; }
.plan-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan-steps .n { font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--card-fg) 70%, transparent); }
.plan-steps strong { display: block; font-weight: 600; }
.plan-time { font-size: 15px; line-height: 1.5; }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Testleiste (nur auf der Testadresse) */
.testbar { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; width: fit-content; margin-inline: auto; display: flex; align-items: center; gap: 12px; background: var(--light); color: var(--ink); border-radius: 999px; padding: 8px 8px 8px 18px; font-size: 14px; }
.testbar strong { font-weight: 600; }
.testbar span { min-width: 0; }
.testbar button { flex: none; border: 0; background: var(--ink); color: var(--paper); border-radius: 999px; min-height: 32px; padding: 0 14px; font-size: 13px; cursor: pointer; }
.testbar[hidden] { display: none; }
body:has(.testbar:not([hidden])) .site-footer { padding-bottom: 88px; }
.testbar-switch { display: flex; gap: 2px; background: rgba(1, 14, 33, .08); border-radius: 999px; padding: 3px; }
.testbar-switch a { min-height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 500; }
.testbar-switch a[aria-current] { background: var(--paper); }

/* Dunkles Design (gewählt am 09.11.2026): Seite in Dark Blue, abgesetzte Fläche (Kontakt) in Ocean Blue */
[data-theme="dark"] { --ink-2: #9fb0bd; color-scheme: dark; }
[data-theme="dark"] body { background: var(--ink); color: var(--snow); }
[data-theme="dark"] :focus-visible { outline-color: var(--ocean); }
[data-theme="dark"] .contact :focus-visible { outline-color: var(--ink); }
[data-theme="dark"] .skip { background: var(--snow); color: var(--ink); }
[data-theme="dark"] .site-header.solid { background: var(--ink); color: var(--snow); }
[data-theme="dark"] .pill-dark { background: var(--snow); color: var(--ink); }
[data-theme="dark"] .pill-dark:hover { background: var(--light); }
[data-theme="dark"] .pill-ghost { border-color: rgba(255, 255, 255, .32); color: var(--snow); }
[data-theme="dark"] .pill-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
[data-theme="dark"] .media { background: #0b1b2f; }
[data-theme="dark"] .media-label { background: var(--ink); color: var(--snow); }
[data-theme="dark"] .menu { background: var(--ink); }
[data-theme="dark"] body.menu-open .site-header { background: var(--ink); color: var(--snow); }
[data-theme="dark"] .menu-nav a:hover { color: var(--ocean); }
[data-theme="dark"] .menu-contact a { color: var(--snow); }
[data-theme="dark"] .tag { background: rgba(109, 219, 226, .16); color: var(--light); }
[data-theme="dark"] .logo-row img { filter: none; opacity: .8; }
[data-theme="dark"] .footer-grid a:not(.pill):hover, [data-theme="dark"] .footer-bottom a:hover { color: var(--ocean); }

[data-theme="dark"] .contact-card { background: var(--ocean); color: var(--ink); --card-fg: var(--ink); --card-bg: var(--ocean); }
[data-theme="dark"] .contact .eyebrow, [data-theme="dark"] .contact .lead-s, [data-theme="dark"] .field label { color: var(--ink); }
[data-theme="dark"] .contact-clip { background: #5bc6cd; }
[data-theme="dark"] .direct dt, [data-theme="dark"] .optional, [data-theme="dark"] .form-note { color: rgba(1, 14, 33, .72); }
[data-theme="dark"] .direct a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(1, 14, 33, .35); }
[data-theme="dark"] .direct a:hover { color: var(--ink); text-decoration-color: var(--ink); }
[data-theme="dark"] .form-note a { color: var(--ink); }
[data-theme="dark"] .field input, [data-theme="dark"] .field textarea { background: #ffffff; color: var(--ink); }
[data-theme="dark"] .field input:hover, [data-theme="dark"] .field textarea:hover { background: #f4fbfb; }
[data-theme="dark"] .field input:focus-visible, [data-theme="dark"] .field textarea:focus-visible { background: #ffffff; border-color: var(--ink); box-shadow: none; }
[data-theme="dark"] .field [aria-invalid="true"] { border-color: #a1001c; }
[data-theme="dark"] .contact .pill-ocean { background: var(--ink); color: var(--snow); }
[data-theme="dark"] .contact .pill-ocean:hover { background: #17283f; }
[data-theme="dark"] .form-status.ok { color: var(--ink); font-weight: 500; }
[data-theme="dark"] .form-status.err { color: #7a0016; font-weight: 500; }

/* Tablet */
@media (max-width: 1100px) {
  .header-eyebrow { visibility: hidden; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: 1fr; }
  .contact-col { display: contents; }
  .plan-media { aspect-ratio: 2 / 1; }
  .contact-intro { order: 1; }
  .brief { order: 2; }
  .brief-result { order: 3; }
  .contact-form { order: 4; }
  .proj-credits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .menu { grid-template-columns: 1fr; align-content: start; }
  .menu-side { align-self: start; max-width: 520px; }
}

/* Handy */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { grid-template-columns: auto 1fr; gap: 10px; padding-block: 12px; }
  .header-eyebrow, .header-cta { display: none; }
  .header-actions { justify-self: end; }
  .icon-btn { width: 44px; height: 44px; }
  .menu-toggle { min-height: 44px; padding: 0 20px; }
  .menu { padding-top: 96px; gap: 32px; }
  .display { font-size: 15vw; }
  .hero-claim { bottom: calc(var(--pad) + 44px); }
  .hero-lead { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-lead .lead { font-size: 18px; }
  .intro, .clients { grid-template-columns: 1fr; }
  .intro .statement, .facts { grid-column: 1; }
  .facts { gap: 28px 20px; }
  .wall { gap: 12px; }
  .wall-row { gap: 12px; }
  .wall-row > li { width: 62vw; }
  .work-track { gap: 14px; }
  .work-track > li { flex-basis: 78vw; }
  .section-head { align-items: flex-end; }
  .service-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-grid .card-accent { min-height: 240px; }
  .logo-row { gap: 24px 36px; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-photo { aspect-ratio: 4 / 3; }
  .studio-text { padding-top: 0; }
  .principles { grid-template-columns: 1fr; }
  .tint { min-height: 0; }
  .contact-form { grid-template-columns: 1fr; }
  .direct div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .proj-head { flex-direction: column; align-items: flex-start; }
  .proj-facts { gap: 14px 28px; }
  .proj-play { left: 12px; bottom: 12px; min-height: 44px; padding: 0 18px; font-size: 15px; }
  .credits { columns: 2 140px; column-gap: 20px; }
  .next-card { grid-template-columns: 1fr; }
  .next-text { order: 2; }
  .proj-cta-card { grid-template-columns: 1fr; }
  .proj-cta-card .pill { grid-column: 1; }
  .brief-q { margin-bottom: 18px; }
  .chip { padding: 0 16px; font-size: 15px; }
  .testbar { font-size: 13px; bottom: 12px; left: 12px; right: 12px; gap: 8px; padding-left: 14px; }
  .tb-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .service-grid .reveal .media { clip-path: none; }
}
