/* =====================================================================
   frameus – Stylesheet
   ---------------------------------------------------------------------
   Aufbau dieser Datei:
     01  Schriften
     02  Farben & Variablen (CI)          ← Farben/Abstände hier ändern
     03  Grundlagen (Reset, Typo, Links)
     04  Bausteine (Container, Labels, Buttons, Tags, Bildsucher-Ecken)
     05  Header, Menü-Overlay, Footer
     06  Loader & Bild-Stack (Startseite)
     07  Panels (Überdeck-Effekt beim Scrollen)
     08  Startseite
     09  Projekt-Kacheln & Work-Seite
     10  Projektseiten
     11  About, Kontakt, Rechtliches
     12  Animationen & Responsive
   ===================================================================== */


/* ---------------------------------------------------------------------
   01  SCHRIFTEN  (selbst gehostet – keine Verbindung zu Google)
   Überschriften & Labels: Open Sans Condensed, in Großbuchstaben
   Fließtext:              Inter
   --------------------------------------------------------------------- */
@font-face { font-family: "Frameus Head";    src: url("../../fonts/OpenSans_Condensed-Bold.woff") format("woff");     font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Frameus Head";    src: url("../../fonts/OpenSans_Condensed-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Frameus Display"; src: url("../../fonts/InterDisplay-Medium.woff") format("woff");         font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Frameus Text";    src: url("../../fonts/Inter-Regular.woff") format("woff");               font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Frameus Text";    src: url("../../fonts/Inter-Medium.woff") format("woff");                font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Frameus Text";    src: url("../../fonts/Inter-Italic.woff") format("woff");                font-weight: 400; font-style: italic; font-display: swap; }


/* ---------------------------------------------------------------------
   02  FARBEN & VARIABLEN  („Ink & Sand“)
   --------------------------------------------------------------------- */
:root {
  --sand:   #EEE9DF;   /* Grundfläche */
  --sand-2: #E4DDD0;   /* Flächen auf Sand */
  --sand-3: #D6CDBC;   /* Platzhalter */
  --ink:    #0E1E3A;   /* Nachtblau – ersetzt Schwarz */
  --ink-2:  #142748;
  --ink-3:  #1F3459;
  --blue:   #029FE3;   /* Logo-Blau – nur für Akzente */
  --blue-dark: #0070A6;/* Blau für kleine Schrift auf Sand */

  /* Standard-Thema (hell) */
  --bg: var(--sand);
  --fg: var(--ink);
  --muted: rgba(14, 30, 58, .64);
  --line: rgba(14, 30, 58, .18);
  --card: var(--sand-2);
  --accent-text: var(--blue-dark);

  --font-head: "Frameus Head", "Open Sans Condensed", "Arial Narrow", sans-serif;
  --font-display: "Frameus Display", "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-text: "Frameus Text", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 3.2vw, 44px);
  --max: 1440px;
  --header-h: 72px;
  --section-y: clamp(88px, 12vw, 180px);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --grain: .05;        /* Filmkorn-Stärke (0 = aus) */

  /* Ecken: leicht gerundet */
  --r-sm: 4px;         /* Buttons, Tags, Felder */
  --r: 10px;           /* Bilder, Videos, Flächen */
}

.theme-light { --bg: var(--sand); --fg: var(--ink); --muted: rgba(14,30,58,.64); --line: rgba(14,30,58,.18); --card: var(--sand-2); --accent-text: var(--blue-dark); }
.theme-dark  { --bg: var(--ink);  --fg: var(--sand); --muted: rgba(238,233,223,.62); --line: rgba(238,233,223,.18); --card: var(--ink-2); --accent-text: var(--blue); }
.theme-blue  { --bg: var(--blue); --fg: var(--ink); --muted: rgba(14,30,58,.74); --line: rgba(14,30,58,.28); --card: rgba(255,255,255,.16); --accent-text: var(--ink); }
.theme-light, .theme-dark, .theme-blue { background: var(--bg); color: var(--fg); }


/* ---------------------------------------------------------------------
   03  GRUNDLAGEN
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  background: var(--sand);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }

/* Filmkorn über der ganzen Seite */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background: url("../../images/korn.webp") repeat;
  opacity: var(--grain);
}

img, video, iframe { display: block; max-width: 100%; }
svg { display: block; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
b, strong { font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.005em; line-height: .92;
  text-wrap: balance;
}
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: var(--r-sm); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 10000; background: var(--blue); color: var(--ink); padding: 10px 16px; font-weight: 500; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }


/* ---------------------------------------------------------------------
   04  BAUSTEINE
   --------------------------------------------------------------------- */
.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }

/* Überschriften-Stufen */
.t-hero { font-size: clamp(76px, 13.5vw, 230px); line-height: .84; letter-spacing: -0.01em; }
.t-h1   { font-size: clamp(64px, 10vw, 168px);  line-height: .92; }
.t-h2   { font-size: clamp(46px, 6.4vw, 112px); line-height: .94; }
.t-h3   { font-size: clamp(30px, 3vw, 46px);    line-height: .95; }
.t-lead { font-size: clamp(19px, 1.6vw, 24px);  line-height: 1.45; letter-spacing: -0.01em; }
.t-small { font-size: 14px; line-height: 1.5; }
.t-muted { color: var(--muted); }

/* Label (kleine Überzeile im Stil von Film-Credits) */
.label, .eyebrow {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 15px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .idx { color: var(--accent-text); font-variant-numeric: tabular-nums; }

/* Buttons – eckig */
.btn {
  --btn-bg: var(--fg); --btn-fg: var(--bg);
  position: relative;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 54px; padding: 0 20px 0 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  border-radius: var(--r-sm);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn--primary { --btn-bg: var(--blue); --btn-fg: var(--ink); }
.btn--primary:hover { --btn-bg: var(--ink); --btn-fg: var(--sand); }
.theme-dark .btn--primary:hover { --btn-bg: var(--sand); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn--ghost:hover { --btn-bg: var(--fg); --btn-fg: var(--bg); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--sand); }
.btn--ink:hover { --btn-bg: var(--sand); --btn-fg: var(--ink); }
.btn--small { min-height: 42px; padding: 0 14px 0 16px; font-size: 16px; gap: 14px; }
.arrow { display: inline-block; vertical-align: middle; flex: none; transition: transform .25s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(4px); }

/* Text-Link mit Pfeil */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
  padding-bottom: 6px; border-bottom: 1.5px solid currentColor;
  transition: color .2s;
}
.link-arrow:hover { color: var(--accent-text); }

/* Tags – als Text mit Schrägstrichen */
.tags { display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; color: var(--muted); }
.tag { white-space: nowrap; }
.tag + .tag::before { content: "/"; margin: 0 .55em; opacity: .5; }

/* Bildsucher-Ecken (Markenzeichen: „im Frame“) */
.frame-marks { position: relative; }
.frame-marks-off::after {
  content: ""; position: absolute; inset: var(--fm-inset, 16px); z-index: 3; pointer-events: none;
  --c: var(--fm-color, var(--blue)); --l: 22px; --w: 2px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
  opacity: var(--fm-opacity, 1);
  transition: inset .45s var(--ease), opacity .3s var(--ease);
}
.frame-marks--hover::after { --fm-opacity: 0; --fm-inset: 28px; }
a:hover .frame-marks--hover::after, .frame-marks--hover:hover::after { --fm-opacity: 1; --fm-inset: 14px; }

/* Medien mit festem Seitenverhältnis */
.media { position: relative; overflow: hidden; background: var(--ink-2); border-radius: var(--r); }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-9x16 { aspect-ratio: 9 / 16; }
.ratio-4x3  { aspect-ratio: 4 / 3; }
.ratio-3x2  { aspect-ratio: 3 / 2; }
.ratio-1x1  { aspect-ratio: 1 / 1; }
.ratio-21x9 { aspect-ratio: 21 / 9; }

/* Abschnitts-Zeile oben: Label links, Zusatz rechts, Linie darunter */
.section-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; margin-bottom: clamp(36px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head p { color: var(--muted); }


/* ---------------------------------------------------------------------
   05  HEADER, MENÜ-OVERLAY, FOOTER
   --------------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; color: inherit; }
.logo svg { height: 26px; width: auto; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: color .35s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header.is-dark { color: var(--sand); }
.site-header.is-hidden { transform: translateY(-110%); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-cta { --btn-bg: var(--blue); --btn-fg: var(--ink); }
.header-cta:hover { --btn-bg: var(--ink); --btn-fg: var(--sand); }
.site-header.is-dark .header-cta:hover { --btn-bg: var(--sand); --btn-fg: var(--ink); }
.site-header.is-blue .header-cta { --btn-bg: var(--ink); --btn-fg: var(--sand); }

.menu-btn {
  width: 48px; height: 42px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: 1.5px; line-height: 1;
}
.menu-btn:hover { color: var(--blue); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--sand);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-in-out), visibility 0s linear .7s;
  overflow-y: auto;
}
.menu-overlay.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-in-out), visibility 0s; }
.menu-overlay .menu-top { height: var(--header-h); flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.menu-body {
  flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(24px, 4vw, 44px);
}
.menu-nav a {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(64px, 11vw, 168px); line-height: .88; letter-spacing: -0.005em;
  opacity: 0; transform: translateY(30px);
  padding: .04em 0;
  transition: color .1s linear 0s, opacity .6s var(--ease), transform .6s var(--ease);
}
.menu-nav a small { font-family: var(--font-head); font-size: 16px; font-weight: 600; letter-spacing: .06em; color: var(--blue); padding-top: .4em; }
.menu-nav a:hover, .menu-nav a:focus-visible { color: var(--blue); }
.menu-nav { width: max-content; max-width: 100%; }
.menu-overlay.is-open .menu-nav a { opacity: 1; transform: none; }
.menu-overlay.is-open .menu-nav a:nth-child(1) { transition-delay: 0s, .18s, .18s; }
.menu-overlay.is-open .menu-nav a:nth-child(2) { transition-delay: 0s, .23s, .23s; }
.menu-overlay.is-open .menu-nav a:nth-child(3) { transition-delay: 0s, .28s, .28s; }
.menu-overlay.is-open .menu-nav a:nth-child(4) { transition-delay: 0s, .33s, .33s; }
.menu-overlay.is-open .menu-nav a:nth-child(5) { transition-delay: 0s, .38s, .38s; }
.menu-side { display: grid; gap: 28px; justify-items: start; padding-bottom: 12px; }
.menu-side .label { color: rgba(238,233,223,.5); margin-bottom: 8px; display: block; }
.menu-side a:not(.btn) { display: block; font-size: clamp(18px, 1.6vw, 22px); transition: color .2s; }
.menu-side a:not(.btn):hover { color: var(--blue); }
.menu-legal { display: flex; gap: 18px; }
.menu-legal a { font-size: 13px !important; color: rgba(238,233,223,.55); }

/* Footer */
.site-footer { position: relative; z-index: 5; background: var(--ink); color: var(--sand); padding-top: clamp(72px, 9vw, 140px); overflow: clip; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: clamp(56px, 7vw, 100px); }
.footer-cta h2 { font-size: clamp(46px, 5.6vw, 92px); line-height: 1; margin-bottom: 30px; }
.footer-cta .mail { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.02em; border-bottom: 2px solid var(--blue); padding-bottom: 4px; transition: color .2s; word-break: break-word; }
.footer-cta .mail:hover { color: var(--blue); }
.footer-col .label { color: rgba(238,233,223,.5); margin-bottom: 18px; display: block; }
.footer-col a, .footer-col span { display: block; padding: 4px 0; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-col .arrow { display: inline-block; margin-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(238,233,223,.18); font-size: 14px; color: rgba(238,233,223,.6); }
.footer-bottom a:hover { color: var(--sand); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-logo { color: var(--blue); padding: clamp(24px, 4vw, 48px) 0 0; margin-bottom: -1.2%; }
.footer-logo svg { width: 100%; height: auto; }


/* ---------------------------------------------------------------------
   06  LOADER & BILD-STACK  (Logik wie bisher)
   --------------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--sand); color: var(--ink);
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.loader svg { width: 120px; height: auto; animation: loader-pulse 1.4s var(--ease-in-out) infinite; }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--header-h); }
.intro { position: relative; z-index: 1; padding: 10px 22px 0; flex: none; }
.stack {
  width: min(760px, calc(100vw - 44px));
  height: min(350px, calc(100vh - 260px));
  margin: 0 auto; position: relative;
  transform: translateY(50px);
}
.stack-item {
  position: absolute; inset: 50% auto auto 50%;
  transform: translate(-50%, -50%); opacity: 0;
  box-shadow: 0 18px 50px rgba(14, 30, 58, .16); object-fit: cover; border-radius: var(--r-sm);
  will-change: transform, opacity;
  transition: opacity .45s ease;
}
.stack-item.ratio-16x9 { width: min(640px, 82vw); aspect-ratio: 16/9; }
.stack-item.ratio-4x3  { width: min(560px, 74vw); aspect-ratio: 4/3; }
.stack-item.ratio-9x16 { height: min(350px, 50vh); aspect-ratio: 9/16; width: auto; }

/* Text liegt IMMER vor dem Stack */
.hero-text { position: relative; z-index: 5; margin-top: auto; padding: clamp(40px, 8vh, 110px) 0 0; }
.hero-text h1 { margin-left: -0.04em; }
.hero-bottom {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px 32px; align-items: start;
  margin-top: clamp(22px, 3vh, 36px); padding: 18px 0 clamp(22px, 4vh, 40px);
}
.hero-bottom .meta { font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 30ch; }
.hero-bottom .meta .label { display: block; margin-bottom: 8px; color: var(--fg); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-self: end; }
.hero-bottom .meta { margin: 0; }
.hero [data-hero-in] { opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.hero.is-ready [data-hero-in] { opacity: 1; transform: none; }
.hero.is-ready [data-hero-in="2"] { transition-delay: .25s; }
.hero.is-ready [data-hero-in="3"] { transition-delay: .24s; }


/* ---------------------------------------------------------------------
   07  SCROLL-BEWEGUNG (alles auf einer Ebene)
   data-shift   → Element wandert beim Scrollen seitlich
   data-parallax→ Bild bewegt sich langsamer als die Seite
   data-fade    → Deckkraft je nach Abstand zur Bildschirmmitte
   Die Werte werden per JS gesetzt (frameus.js, Abschnitt „Scroll-Bewegung“).
   --------------------------------------------------------------------- */
[data-shift] { will-change: transform; }
[data-parallax] { will-change: transform; }
.parallax-frame { overflow: hidden; }
.parallax-frame > img, .parallax-frame > video { transform: scale(1.12); }

/* Laufband mit großer Schrift, das sich mit dem Scrollen bewegt */
.scroll-band { overflow: hidden; padding-block: clamp(40px, 6vw, 96px); }
.scroll-band .row {
  display: flex; gap: .35em; width: max-content; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(72px, 12vw, 210px); line-height: .9; letter-spacing: -0.005em;
}
.scroll-band .row + .row { margin-top: .04em; }
.scroll-band .row span { display: inline-flex; align-items: center; gap: .35em; }
.scroll-band .row span::after { content: ""; width: .16em; height: .16em; border-radius: 50%; background: var(--blue); flex: none; }
.scroll-band .row--outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }

/* ---------------------------------------------------------------------
   08  STARTSEITE
   --------------------------------------------------------------------- */

/* Statement – Wörter werden beim Scrollen „eingeschaltet“ */
.statement { min-height: 100svh; display: grid; align-content: center; }
.statement-text { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4.2vw, 68px); line-height: 1.08; letter-spacing: -0.035em; max-width: 24ch; text-wrap: pretty; margin: 0; }
.statement-text .w { opacity: .16; transition: opacity .3s linear; }
.statement-text .w.on { opacity: 1; }
.statement-text em { font-style: normal; color: var(--blue); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 7vw, 96px); }
.facts > div { padding-top: 20px; }
.facts .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(56px, 6vw, 104px); line-height: .85; color: var(--blue); margin-bottom: 14px; }
.facts p { color: var(--muted); font-size: 15px; max-width: 26ch; }

/* Leistungen – links das Bild (bleibt stehen), rechts die Liste.
   Der Eintrag in der Bildschirmmitte ist aktiv: volle Deckkraft,
   die anderen treten zurück; das Bild links wechselt passend dazu. */
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.services-media { position: sticky; top: calc(var(--header-h) + 32px); height: min(74vh, 680px); }
.sm-item { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.sm-item.is-active { opacity: 1; transform: none; }
.service-media { position: relative; height: 100%; overflow: hidden; border-radius: var(--r); background: var(--ink-3); --fm-color: rgba(238,233,223,.8); }
.service-media > img, .service-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-media--phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: center; padding: clamp(24px, 3vw, 44px); background: var(--ink); }
.service-media--phones img { position: static; width: 100%; height: auto; aspect-ratio: 9/16; object-fit: cover; border-radius: var(--r-sm); }
.service-media--phones img:nth-child(2) { transform: translateY(-6%); }
.service-media--phones img:nth-child(3) { transform: translateY(6%); }

.services-list { display: grid; }
.service {
  min-height: min(74vh, 680px);
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding-block: 40px;
  opacity: .22; transform: translateX(40px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.service.is-active { opacity: 1; transform: none; }
.service-num { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--accent-text); }
.service h3 { font-size: clamp(44px, 5vw, 88px); line-height: .94; }
.service p { color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); max-width: 42ch; }
.service-links { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 8px; }
.service .service-media-inline { display: none; }

/* Selected Work */
.work-feature { display: grid; gap: clamp(72px, 10vw, 150px); }
.feature-item { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: end; }
.feature-item:nth-child(even) { grid-template-columns: 1fr 1.6fr; }
.feature-item:nth-child(even) .feature-media { order: 2; }
.feature-meta { display: grid; gap: 16px; justify-items: start; padding-bottom: 4px; }
.feature-meta .label { color: var(--muted); }
.feature-meta h3 { font-size: clamp(40px, 4.4vw, 76px); }
.feature-meta p { color: var(--muted); max-width: 40ch; }
.feature-index { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--blue); }

/* Kunden-Logos (Laufband) */
.clients { padding-block: clamp(56px, 7vw, 100px); }
.clients .section-bar { margin-bottom: 40px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 0; width: max-content; animation: marquee var(--marquee-speed, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { margin-right: clamp(56px, 7vw, 110px); flex: none; height: clamp(34px, 3.6vw, 50px); width: auto; max-width: 260px; object-fit: contain; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .8; transition: opacity .25s; }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Arbeitsweise */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.reason { padding-top: 4px; display: grid; gap: 14px; align-content: start; }
.reason .num { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--accent-text); }
.reason h3 { font-size: clamp(32px, 3vw, 48px); }
.reason p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(72px, 9vw, 140px); border-top: 1px solid var(--line); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { padding: 22px 28px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--blue); }
.step .n { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--accent-text); }
.step h3 { font-size: clamp(26px, 2.2vw, 34px); }
.step p { color: var(--muted); font-size: 16px; }

/* Call-to-Action (blau) */
.cta-block { padding-block: clamp(96px, 13vw, 200px); }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.cta-grid h2 { font-size: clamp(64px, 10vw, 172px); line-height: .95; }
.cta-person { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; margin-bottom: 28px; }
.cta-person img { width: 112px; height: 112px; object-fit: cover; filter: grayscale(1); mix-blend-mode: multiply; border-radius: 50%; }
.cta-person .name { font-family: var(--font-head); font-weight: 700; font-size: 28px; text-transform: uppercase; line-height: 1; }
.cta-person .role { color: var(--muted); font-size: 15px; margin-top: 6px; }
.cta-contacts { display: grid; gap: 4px; margin-bottom: 28px; }
.cta-contacts a { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; width: fit-content; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.cta-contacts a:hover { border-color: currentColor; }


/* ---------------------------------------------------------------------
   09  PROJEKT-KACHELN & WORK-SEITE
   --------------------------------------------------------------------- */
.page-head { padding: calc(var(--header-h) + clamp(56px, 9vw, 140px)) 0 clamp(40px, 6vw, 80px); }
.page-head .section-bar { margin-bottom: clamp(28px, 4vw, 48px); }
.page-head .t-lead { color: var(--muted); max-width: 46ch; margin-top: 28px; }

.filter { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: clamp(36px, 5vw, 64px); }
.filter button {
  font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.2;
  color: var(--muted); padding: 4px 0;
  transition: color .2s;
}
.filter button:hover { color: var(--fg); }
.filter button[aria-pressed="true"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--blue); }
.filter button .count { font-size: 13px; vertical-align: super; margin-left: 3px; color: var(--accent-text); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(56px, 7vw, 110px) clamp(16px, 2vw, 28px); }
.work-grid .project-card.is-wide { grid-column: 1 / -1; }
.work-grid .project-card.is-wide .project-media { aspect-ratio: 21 / 9; }
.work-empty { padding: 60px 0; color: var(--muted); }

.project-card { display: grid; gap: 16px; align-content: start; }
.project-card[hidden] { display: none; }
.project-media { position: relative; overflow: hidden; background: var(--ink-2); aspect-ratio: 16/9; isolation: isolate; border-radius: var(--r); }
.project-media img, .project-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.project-media video { opacity: 0; }
.project-media video.is-playing { opacity: 1; }
.project-card:hover .project-media img, .project-card:hover .project-media video { transform: scale(1.03); }
.project-info { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start; padding-top: 2px; }
.project-info .label { display: block; margin-bottom: 10px; }
.project-info h3 { font-size: clamp(30px, 2.8vw, 46px); transition: color .2s; }
.project-card:hover .project-info h3 { color: var(--accent-text); }
.project-info .tags { justify-content: flex-end; text-align: right; }

.more-projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }


/* ---------------------------------------------------------------------
   10  PROJEKTSEITEN
   --------------------------------------------------------------------- */
.p-hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 110px)) 0 clamp(32px, 4vw, 56px); }
.p-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: clamp(32px, 5vw, 64px); color: var(--muted); }
.p-back:hover { color: var(--fg); }
.p-hero .client { display: block; margin-bottom: 18px; }
.p-hero h1 { font-size: clamp(64px, 10vw, 176px); line-height: .93; max-width: 14ch; margin-left: -0.03em; }
.p-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: clamp(40px, 5vw, 72px) 0 0; }
.p-facts dt { margin-bottom: 8px; }
.p-facts dd { margin: 0; font-size: 16px; }

/* Vimeo – mit Zwei-Klick-Lösung (Datenschutz) */
.p-video { padding-bottom: clamp(56px, 7vw, 110px); }
.vimeo { position: relative; overflow: hidden; background: #000; border-radius: var(--r); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.vimeo iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; border: 0; transform: translate(-50%, -50%) scale(1.02); }
.vimeo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 16px); max-width: 1100px; margin-inline: auto; }
.vimeo-gate { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sand); text-align: center; }
.vimeo-gate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.vimeo-gate .gate-box { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: center; padding: 20px; max-width: 460px; }
.vimeo-gate .gate-play { width: 76px; height: 76px; display: grid; place-items: center; background: var(--blue); color: var(--ink); border-radius: 50%; transition: background-color .2s, transform .2s var(--ease); }
.vimeo-gate .gate-play:hover { background: var(--sand); transform: scale(1.05); }
.vimeo-gate .gate-play svg { width: 26px; height: 26px; margin-left: 4px; }
.vimeo-gate p { font-size: 13px; line-height: 1.5; color: rgba(238,233,223,.88); margin: 0; }
.vimeo-gate p a { text-decoration: underline; text-underline-offset: 2px; }
.vimeo-gate label { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(238,233,223,.88); cursor: pointer; }
.vimeo-gate input { accent-color: var(--blue); width: 16px; height: 16px; margin: 0; }
.vimeo-row .vimeo-gate .gate-box { padding: 12px; gap: 10px; }
.vimeo-row .vimeo-gate p, .vimeo-row .vimeo-gate label { font-size: 11.5px; }
.vimeo-row .vimeo-gate .gate-play { width: 56px; height: 56px; }

/* Text */
.p-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px; padding-bottom: clamp(64px, 8vw, 130px); }
.p-text h2 { font-size: clamp(40px, 4vw, 64px); position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.p-text .copy { display: grid; gap: 40px; }
.p-text .copy h3 { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .06em; color: var(--accent-text); margin-bottom: 14px; line-height: 1; }
.p-text .copy p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.62; }

/* Bilder */
.p-gallery { display: grid; gap: clamp(8px, 1.2vw, 16px); padding-bottom: clamp(64px, 8vw, 130px); }
.p-gallery--16x9 { grid-template-columns: repeat(2, 1fr); }
.p-gallery--9x16 { grid-template-columns: repeat(4, 1fr); }
.p-gallery figure { margin: 0; overflow: hidden; background: var(--sand-3); border-radius: var(--r); }
.p-gallery--16x9 figure { aspect-ratio: 16/9; }
.p-gallery--9x16 figure { aspect-ratio: 9/16; }
.p-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-gallery figure:hover img { transform: scale(1.03); }
.p-gallery--16x9 figure.wide { grid-column: 1 / -1; aspect-ratio: 21/9; }

/* Credits */
.p-credits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px; padding-block: clamp(48px, 6vw, 90px); }
.p-credits h2 { font-size: clamp(40px, 4vw, 64px); }
.credits-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.credits-cols div { white-space: pre-line; line-height: 1.75; font-size: 16px; }

/* Nächstes Projekt */
.p-next { padding-block: clamp(64px, 8vw, 120px); }
.next-link { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.next-link .label { display: block; margin-bottom: 18px; }
.next-link h2 { font-size: clamp(56px, 7vw, 120px); line-height: .95; transition: color .25s; }
.next-link:hover h2 { color: var(--blue); }
.next-link .client { color: var(--muted); margin-top: 16px; display: block; }


/* ---------------------------------------------------------------------
   11  ABOUT, KONTAKT, RECHTLICHES
   --------------------------------------------------------------------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px 64px; }
.about-intro h2 { font-size: clamp(40px, 4vw, 64px); }
.about-intro .copy p { color: var(--muted); }
.about-intro .copy p.t-lead { color: var(--fg); margin-bottom: 1em; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.person { display: grid; gap: 14px; }
.person .photo { overflow: hidden; aspect-ratio: 4/5; background: var(--ink-3); border-radius: var(--r); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease), transform 1s var(--ease); }
.person:hover .photo img { filter: none; transform: scale(1.03); }
.person h3 { font-size: clamp(30px, 2.6vw, 42px); }
.person p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.team-note { margin-top: clamp(48px, 6vw, 80px); font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -0.03em; line-height: 1.1; max-width: 30ch; }
.team-note b { color: var(--blue); font-weight: 500; }

.collage { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(8px, 1.2vw, 16px); }
.collage figure { margin: 0; overflow: hidden; border-radius: var(--r); }
.collage img { width: 100%; height: 100%; object-fit: cover; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-big { display: grid; gap: 4px; }
.contact-big a { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.2vw, 50px); letter-spacing: -0.035em; line-height: 1.2; width: fit-content; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 3px no-repeat; transition: background-size .4s var(--ease); word-break: break-word; }
.contact-big a:hover { background-size: 100% 3px; }
.contact-card { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); }
.contact-card img { width: 88px; height: 88px; object-fit: cover; filter: grayscale(1); border-radius: 50%; }
.contact-card .name { font-family: var(--font-head); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 15px; }

.form { background: var(--ink); color: var(--sand); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 26px; border-radius: var(--r); }
.form h2 { font-size: clamp(44px, 4.4vw, 72px); }
.form .hint { color: rgba(238,233,223,.64); font-size: 14px; margin-top: 14px; max-width: 46ch; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .form .field > label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(238,233,223,.6); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; box-shadow: inset 0 0 0 1px rgba(238,233,223,.3); font-size: 15px; border-radius: var(--r-sm); transition: background-color .2s, color .2s, box-shadow .2s; }
.chips span::before { content: ""; width: 10px; height: 10px; box-shadow: inset 0 0 0 1.5px currentColor; flex: none; border-radius: 2px; }
.chips span:hover { box-shadow: inset 0 0 0 1px var(--sand); }
.chips input:checked + span { background: var(--blue); color: var(--ink); box-shadow: none; }
.chips input:checked + span::before { background: var(--ink); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--sand);
  background: transparent; border: 0; border-radius: 0;
  border-bottom: 1.5px solid rgba(238,233,223,.3);
  padding: 8px 0 10px; transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: rgba(238,233,223,.38); }
.form .error { color: #FFB4A8; font-size: 14px; min-height: 1em; margin: 0; }
.form .btn { justify-self: start; }

/* Rechtliches */
.legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; padding-bottom: var(--section-y); }
.legal-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 4px; color: var(--muted); font-size: 16px; }
.legal-side strong { color: var(--fg); }
.legal-side a:hover { color: var(--fg); }
.legal-content { max-width: 74ch; }
.legal-content h2 { font-size: clamp(30px, 2.6vw, 40px); margin: 2.2em 0 .6em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: var(--font-text); text-transform: none; font-weight: 500; font-size: 18px; letter-spacing: 0; line-height: 1.3; margin: 1.6em 0 .5em; }
.legal-content p, .legal-content li { color: rgba(14,30,58,.84); font-size: 16px; }
.legal-content ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal-content li { margin-bottom: .3em; }
.legal-content a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal-content .box { background: var(--sand-2); padding: 18px 20px; margin: 1em 0; border-radius: var(--r); }
.legal-content button { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; padding: 12px 16px; background: var(--ink); color: var(--sand); border-radius: var(--r-sm); }
.legal-content button:hover { background: var(--blue); color: var(--ink); }
.legal-address { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.03em; line-height: 1.3; display: grid; gap: 2px; font-style: normal; margin-bottom: 2em; }
.legal-address a:hover { color: var(--blue-dark); }


/* ---------------------------------------------------------------------
   12  ANIMATIONEN & RESPONSIVE
   --------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js .hero [data-hero-in] { opacity: 1; transform: none; }

/* ---- Tablet ---- */
@media (max-width: 1080px) {
  .menu-body { grid-template-columns: 1fr; align-items: start; }
  .services { grid-template-columns: 1fr; }
  .services-media { display: none; }
  .service { min-height: 0; opacity: 1; transform: none; padding-block: 36px 44px; }
  .service .service-media-inline { display: block; height: auto; aspect-ratio: 16/10; margin-top: 10px; }
  .service .service-media-inline.service-media--phones { aspect-ratio: auto; }
  .feature-item, .feature-item:nth-child(even) { grid-template-columns: 1fr; }
  .feature-item:nth-child(even) .feature-media { order: 0; }
  .reasons { grid-template-columns: 1fr; }
  .steps, .steps--3 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-cta { grid-column: 1 / -1; }
  .cta-grid { grid-template-columns: 1fr; }
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hero-buttons { grid-column: 1 / -1; justify-content: flex-start; }
  .p-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-gallery--9x16 { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---- Handy ---- */
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .logo svg { height: 22px; }
  .header-cta { display: none; }
  .hero-text { padding-top: 120px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-bottom .meta.optional { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .work-grid, .more-projects { grid-template-columns: 1fr; }
  .work-grid .project-card.is-wide .project-media { aspect-ratio: 16 / 9; }
  .project-info { grid-template-columns: 1fr; }
  .project-info .tags { justify-content: flex-start; text-align: left; }
  .steps, .steps--3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .p-text, .p-credits, .about-intro, .legal { grid-template-columns: 1fr; }
  .p-text h2, .legal-side { position: static; }
  .credits-cols { grid-template-columns: 1fr; gap: 22px; }
  .vimeo-row { grid-template-columns: 1fr; max-width: 420px; }
  .vimeo-row .mobile-remove { display: none; }
  .p-gallery--16x9 { grid-template-columns: 1fr; }
  .p-gallery--16x9 figure.wide { aspect-ratio: 16/9; }
  .p-gallery .mobile-remove { display: none; }
  .next-link { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .collage { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-person { grid-template-columns: 84px 1fr; }
  .cta-person img { width: 84px; height: 84px; }
  .filter button { font-size: 18px; }
}

/* Stack auf dem Handy – wie bisher */
@media (max-width: 560px) {
  .intro { padding: 10px 14px 0; }
  .stack {
    width: calc(100vw - 28px);
    height: min(235px, calc(100vh - 310px));
    transform: translateY(70px) scale(0.85);
    transform-origin: center top;
  }
}

/* Weniger Bewegung, wenn im Betriebssystem eingestellt */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal], .hero [data-hero-in] { opacity: 1; transform: none; }
  .statement-text .w { opacity: 1; }
  [data-shift], [data-parallax] { transform: none !important; }
  .service { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Bei drei Hochformat-Videos den Hinweistext nur einmal (mittleres Video) zeigen */
.vimeo-row .vimeo:not(:nth-child(2)) .vimeo-gate p,
.vimeo-row .vimeo:not(:nth-child(2)) .vimeo-gate label { display: none; }

/* Parallax-Ebene in Projekt-Kacheln */
.project-media .pm-inner { position: absolute; inset: -8% 0; }
.project-media .pm-inner img, .project-media .pm-inner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1080px) {
  .service .service-media-inline.service-media--phones { display: grid; }
}


/* =====================================================================
   ERGÄNZUNGEN (Runde 3)
   ===================================================================== */

/* Selected Work – Galerie: Bild, darunter Kunde & Titel. Hover = Video */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: start; }
.gallery-col { display: grid; gap: clamp(36px, 4vw, 64px); align-content: start; }
.gallery-mobile { display: none; }
.gallery-card.is-hoch .gallery-media { aspect-ratio: 4 / 5; }
.gallery-card { display: grid; gap: 14px; align-content: start; }
.gallery-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--ink-2); isolation: isolate; }
.gallery-media img, .gallery-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .45s var(--ease); }
.gallery-media video { opacity: 0; }
.gallery-media video.is-playing { opacity: 1; }
.gallery-card:hover .gallery-media img, .gallery-card:hover .gallery-media video { transform: scale(1.05); }
.gallery-play { display: none !important; }
.gallery-play {
  position: absolute; left: 16px; bottom: 16px; z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--ink);
  opacity: 0; transform: scale(.6); transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.gallery-play svg { width: 16px; height: 16px; margin-left: 2px; }
.gallery-card:hover .gallery-play { opacity: 1; transform: none; }
.gallery-meta { display: grid; gap: 6px; justify-items: start; text-align: left; }
.gallery-meta h3 { font-size: clamp(24px, 2.1vw, 36px); line-height: .98; transition: color .2s; }
.gallery-card:hover .gallery-meta h3 { color: var(--blue); }

/* So arbeiten wir – eine Reihe mit vier Schritten */
.reasons--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Kontakt-Block auf der Startseite (gut lesbar auf Ink) */
.cta-block .cta-grid h2 em { font-style: normal; color: var(--blue); }
.cta-person img { mix-blend-mode: normal; }
.cta-person .role { color: rgba(238,233,223,.7); }
.cta-contacts a { color: var(--sand); }
.cta-contacts a:hover { color: var(--blue); }

/* Leistungen – Handy: Karussell mit Titeln */
.services-carousel { display: none; }
.sc-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.sc-copy { display: contents; }
.services-carousel a {
  display: inline-flex; align-items: center; gap: .4em; padding-right: .4em;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(24px, 7vw, 44px); line-height: 1.1; white-space: nowrap;
}
.services-carousel a::after { content: ""; width: .16em; height: .16em; border-radius: 50%; background: var(--blue); }
.services-carousel a:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.services-carousel a:active { color: var(--blue); -webkit-text-stroke: 0; }

/* Kontakt-Seite – schlicht */
.contact-simple { display: grid; gap: clamp(28px, 4vw, 48px); padding-bottom: var(--section-y); }
.contact-simple .row { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 12px 32px; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-simple .row a, .contact-simple .row address {
  font-family: var(--font-display); font-weight: 500; font-style: normal;
  font-size: clamp(28px, 4vw, 60px); letter-spacing: -0.035em; line-height: 1.12; width: fit-content; word-break: break-word;
  background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 3px no-repeat; transition: background-size .4s var(--ease);
}
.contact-simple .row a:hover { background-size: 100% 3px; }
.form-toggle { border-top: 1px solid var(--line); padding-top: 18px; }
.form-toggle summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.form-toggle summary::-webkit-details-marker { display: none; }
.form-toggle summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--blue); transition: transform .3s var(--ease); }
.form-toggle[open] summary::after { transform: rotate(45deg); }
.form-toggle .form { margin-top: 0; padding-top: 24px; max-width: 760px; }

@media (max-width: 1080px) {
  .reasons--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; }
  .reasons--4 { grid-template-columns: 1fr; }
  .services-media, .services-list { display: none; }
  .services { display: block; }
  .services-carousel { display: block; overflow: hidden; margin-inline: calc(-1 * var(--gutter)); padding-block: 8px; }
  .contact-simple .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-track { animation: none; flex-wrap: wrap; width: auto; }
  .sc-copy { display: none; }
}
.site-footer { border-top: 1px solid rgba(238,233,223,.12); }

/* =====================================================================
   ERGÄNZUNGEN (Runde 4)
   ===================================================================== */

/* Logo-Effekt beim Hochscrollen über dunklen Bereichen/Bildern
   (Ebenenmodus „Differenz“ wie in Photoshop). Auf Sand & Blau normal. */
.site-header.is-blend { mix-blend-mode: difference; color: #fff; }
.site-header .logo svg { transition: transform .5s var(--ease); }
.site-header.is-blend .logo svg { transform: scale(1.04); }

/* Leistungen: Beispiel-Projekte als Text-Links */
.service-examples { font-size: 15px; color: var(--muted); }
.service-examples a { color: var(--fg); border-bottom: 1px solid var(--line); transition: border-color .2s, color .2s; }
.service-examples a:hover { color: var(--accent-text); border-color: currentColor; }

/* Galerie: 3 Spalten auf Computer und Tablet */
@media (max-width: 1080px) and (min-width: 721px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 12px; }
  .gallery-meta h3 { font-size: 20px; }
}

/* About – ruhigerer Einstieg */
.about-head { padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(40px, 6vw, 90px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: start; }
.about-head h1 { font-size: clamp(40px, 4.4vw, 72px); line-height: .95; }
.about-head .copy p { color: var(--muted); }
.about-head .copy p.t-lead { color: var(--fg); margin-bottom: 1em; }
.about-pics { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(10px, 1.4vw, 20px); align-items: end; }
.about-pics figure { margin: 0; }
.about-pics figure:nth-child(2) { margin-bottom: 12%; }

/* About – Behind the Scenes: Bilder ziehen in verschiedenen Tempi vorbei,
   der Schriftzug läuft quer. Bilder kommen aus einstellungen.js (FRAMEUS.bts). */
.bts { position: relative; height: 200vh; margin-top: 0; }
.bts-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.bts-title {
  position: absolute; top: 50%; left: 0; z-index: 2; transform: translateY(-50%);
  white-space: nowrap; pointer-events: none;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(90px, 17vw, 300px); line-height: 1; color: var(--blue);
}
.bts-layer { position: absolute; inset: 0; z-index: 1; }
.bts-pic { position: absolute; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--ink-3); will-change: transform; }
.bts-pic img, .bts-pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bts-pic.front { z-index: 3; }

/* Kontakt – wie bisher: zentriert, schlicht */
.contact-plain { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.contact-plain .links { display: grid; gap: 4px; justify-items: center; }
.contact-plain .links a {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.1;
  letter-spacing: .01em; text-transform: lowercase; transition: color .15s;
}
.contact-plain .links a:hover { color: var(--blue-dark); }
.contact-plain .form-toggle { border: 0; padding: 0; margin-top: clamp(40px, 6vw, 72px); }
.contact-plain .form-toggle summary { font-size: 16px; color: var(--muted); }
.contact-plain .form-toggle .form { text-align: left; margin: 0 auto; padding-top: 24px; }

@media (max-width: 720px) {
  .about-head { grid-template-columns: 1fr; }
  .about-pics { grid-template-columns: 1fr; }
  .about-pics figure:nth-child(2) { width: 70%; margin: 0 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .bts { height: auto; }
  .bts-stage { position: static; height: auto; overflow: visible; }
  .bts-title { position: static; transform: none; font-size: 64px; padding: 24px var(--gutter); }
  .bts-layer { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 var(--gutter); }
  .bts-pic { position: static; width: auto !important; height: auto !important; aspect-ratio: 4/3; }
}


/* =====================================================================
   ERGÄNZUNGEN (Runde 5)
   ===================================================================== */
@media (max-width: 720px) {
  .gallery-col { display: none; }
  .gallery-mobile { display: grid; gap: 40px; grid-column: 1 / -1; }
}

/* Echt gedreht – Haltung zu KI + Studie */
.echt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 110px); align-items: start; }
.echt h2 { margin-bottom: 28px; }
.echt .copy p { color: var(--muted); font-size: clamp(17px, 1.3vw, 20px); }
.echt .copy p.t-lead { color: var(--fg); }
.echt-stats { display: grid; gap: clamp(28px, 3vw, 44px); padding-top: 8px; }
.echt-stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(80px, 9vw, 160px); line-height: .85; color: var(--blue); }
.echt-stat p { color: var(--fg); max-width: 34ch; margin-top: 10px; }
.echt-source { font-size: 13px; color: var(--muted); }
.echt-source a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .echt { grid-template-columns: 1fr; } }


/* =====================================================================
   ERGÄNZUNGEN (Runde 8)
   ===================================================================== */
/* Über dem BTS-Bereich weniger Abstand */
.clients + .bts { margin-top: calc(-1 * clamp(28px, 4vw, 60px)); }
.echt .copy p.echt-note { font-size: 14px; margin-top: 18px; }

/* BTS ohne Bewegung (Bearbeiten-Modus): einfaches Raster */
.bts.is-static { height: auto !important; }
.bts.is-static .bts-stage { position: static; height: auto; overflow: visible; }
.bts.is-static .bts-layer { position: static; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 var(--gutter) 40px; }
.bts.is-static .bts-pic { position: static; width: auto !important; height: auto !important; aspect-ratio: 4/3; transform: none !important; align-self: start; }
@media (max-width: 720px) { .bts.is-static .bts-layer { grid-template-columns: 1fr 1fr; } }

/* Bearbeiten-Modus: Links ohne Hover-Verschiebungen, Laufbänder stehen */
.is-editing .marquee-track, .is-editing .sc-track { animation: none !important; }
.is-editing .loader { display: none !important; }
