/* =========================================================
   müllerpluszwo – Website-Entwurf (statisch), Runde 2
   Schrift: Google Sans Flex (selbst gehostet, variabel)
   Farben: bisherige mp2-Seite, Text in ca. 90 % Schwarz
   ========================================================= */

@font-face {
  font-family: "Google Sans Flex";
  src: url("../fonts/GoogleSansFlex-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  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: "Google Sans Flex";
  src: url("../fonts/GoogleSansFlex-latin-ext.woff2") format("woff2");
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1a1a1a;          /* ca. 90 % Schwarz – Headlines und Text */
  --text: #1a1a1a;
  --anthracite: #44464a;   /* Footer / Kontakt */
  --paper: #ffffff;
  --sand: #f1f1f2;
  --orange: #c7632d;
  --orange-dark: #a23a02;
  --grey: #676a6e;
  --grey-light: #989ba3;
  --line: rgba(26, 26, 26, .14);

  --font: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 84px;
  --hw: 800;               /* Headline-Schnitt (Runde 3: ca. 70 % zurück Richtung fett) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: clamp(17px, 1.15vw, 20px); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Typo ---------- */
.display {
  color: var(--ink); margin: 0;
  font-weight: var(--hw); font-stretch: 100%;
  line-height: 1; letter-spacing: -.028em;
}
.display--xl { font-size: clamp(3rem, 9vw, 9.5rem); }
.display--hero { font-size: clamp(3.4rem, 12vw, 13rem); line-height: .95; letter-spacing: -.035em; }
.display--l  { font-size: clamp(2.6rem, 7vw, 7.2rem); }
.display--m  { font-size: clamp(2.1rem, 4.6vw, 4.6rem); }
.o { color: var(--orange); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 2.4em; height: 2px; background: currentColor; }

.lead {
  color: var(--ink);
  font-size: clamp(1.4rem, 2.5vw, 2.6rem); line-height: 1.22; font-weight: 500; letter-spacing: -.012em; margin: 0;
}

/* Die drei Männchen aus dem Logo (Original-Form), einfärbbar */
.figs {
  display: block; aspect-ratio: 465 / 139; background: var(--orange);
  -webkit-mask: url(../img/logo/mp2-maennchen-1.png) 0 0 / 30.32% 100% space;
          mask: url(../img/logo/mp2-maennchen-1.png) 0 0 / 30.32% 100% space;
}

/* ---------- Scroll-Fortschritt ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), height .35s var(--ease), box-shadow .35s;
}
.site-header::before {   /* dezenter Verlauf nur hinter der Leiste – für das weiße Logo */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.12) 60%, rgba(0,0,0,0) 100%);
  transition: opacity .4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: none; }
.logo { display: block; line-height: 0; position: relative; }
.logo img { height: 58px; width: auto; transition: height .35s var(--ease), opacity .35s var(--ease); }
.logo__pos { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header.is-scrolled, .site-header.is-solid {
  --header-h: 64px; background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line);
}
.is-scrolled::before, .is-solid::before, body.menu-open .site-header::before { opacity: 0; }
.is-scrolled .logo img, .is-solid .logo img { height: 42px; }
.is-scrolled .logo__neg, .is-solid .logo__neg { opacity: 0; }
.is-scrolled .logo__pos, .is-solid .logo__pos { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-contact { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); margin-right: clamp(6px, 1vw, 18px); }
.header-contact a { display: inline-flex; align-items: center; gap: .5em; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: color .25s; }
.header-contact svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.header-contact a:hover { color: var(--orange); }
.is-scrolled .header-contact a, .is-solid .header-contact a { color: var(--ink); }
.is-scrolled .header-contact a:hover, .is-solid .header-contact a:hover { color: var(--orange-dark); }
.pill {
  display: inline-flex; align-items: center; font: 600 .95rem/1 var(--font); text-decoration: none;
  padding: .85em 1.25em; border-radius: 999px; background: var(--orange); color: #fff; transition: background .25s;
}
.pill:hover { background: var(--orange-dark); }
.burger {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; transition: background .25s;
}
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.is-scrolled .burger, .is-solid .burger { background: var(--ink); color: #fff; }

/* ---------- Menü ---------- */
.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--orange); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.menu__close { position: absolute; top: 16px; right: var(--gutter); width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.menu ol { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: inline-block; font-size: clamp(2.4rem, 6.5vw, 6rem); font-weight: var(--hw); line-height: 1.12; letter-spacing: -.03em; text-decoration: none;
  transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, color .2s;
}
.menu a:hover { color: #fff; }
.menu.is-open a { transform: none; opacity: 1; }
.menu.is-open li:nth-child(2) a { transition-delay: .05s; }
.menu.is-open li:nth-child(3) a { transition-delay: .1s; }
.menu.is-open li:nth-child(4) a { transition-delay: .15s; }
.menu__foot { margin-top: clamp(28px, 6vh, 64px); display: flex; flex-wrap: wrap; gap: 8px 32px; font-weight: 600; }
.menu__foot a { font-size: 1rem; letter-spacing: 0; line-height: 1.5; }
body.menu-open { overflow: hidden; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; min-height: max(620px, min(100svh, 56vw + 120px));
  color: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--anthracite);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img, .hero__slide.is-leaving img { animation: kenburns var(--kb, 7.6s) linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { position: static; padding-block: clamp(110px, 14vh, 160px) clamp(110px, 14vh, 160px); width: 100%; text-align: center; }
.hero h1 { position: relative; z-index: 2; color: #fff; text-shadow: 0 2px 28px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.25); }
.hero h1 .line { display: block; overflow: hidden; padding: .06em .04em .16em; margin-bottom: -.16em; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hero .tiefe { color: var(--orange); }
.hero .tiefe i { font-style: normal; display: inline-block; will-change: transform; }
.hero.tiefe-ready .line--tiefe { overflow: visible; }
.hero__meta { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(22px, 4.5vh, 52px); display: flex; justify-content: flex-end; }
.hero__controls { display: flex; align-items: center; gap: 14px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 40px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.hero__dots button::before, .hero__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(255,255,255,.45); box-shadow: 0 0 6px rgba(0,0,0,.2); }
.hero__dots button::after { background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.hero__dots button.is-active::after { animation: fill var(--dur, 6s) linear forwards; }
.hero.is-paused .hero__dots button.is-active::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__pause { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); background: rgba(0,0,0,.12); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 13px; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(80px, 12vw, 180px); position: relative; }

/* Intro */
.intro__figs { width: clamp(84px, 9vw, 130px); margin-bottom: 2rem; }
[data-text-reveal] .w { color: rgba(26,26,26,.16); transition: color .35s; }
[data-text-reveal] .w.on { color: var(--ink); }

/* ---------- Arbeiten ---------- */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
.work-head p { margin: 0; max-width: 34ch; color: var(--grey); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 56px) clamp(16px, 2.6vw, 40px); }
.card { position: relative; text-decoration: none; color: inherit; display: block; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__title {
  position: absolute; z-index: 2; left: clamp(18px, 2.4vw, 32px); right: clamp(18px, 2.4vw, 32px); bottom: clamp(16px, 2.2vw, 30px);
  margin: 0; color: #fff; font-size: clamp(1.7rem, 3vw, 3rem); font-weight: var(--hw); line-height: 1.02; letter-spacing: -.025em;
  text-shadow: 0 2px 22px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.3);
}
.card__body { padding-top: 16px; }
.card__client { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.card__text { margin: 0; color: var(--grey); font-size: .98rem; line-height: 1.45; }
.card__badge { position: absolute; z-index: 3; top: 14px; left: 14px; background: #fff; color: var(--ink); border-radius: 999px; padding: .4em .85em; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
a.card:hover .card__media img { transform: scale(1.04); }

/* ---------- Wirkung ---------- */
.wirkung { background: var(--orange); color: var(--ink); overflow: hidden; }
.wirkung .display { color: #fff; }
.wirkung__text { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.wirkung__text p { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.42; font-weight: 500; }
.hl__w { display: inline-block; transform-origin: 50% 70%; -webkit-text-stroke: 0 transparent;
  transition: color 1.8s ease, -webkit-text-stroke-width 1.8s ease, -webkit-text-stroke-color 1.8s ease; transition-delay: var(--k, 0s); }
.hl.is-in .hl__w, .no-js .hl__w { color: #fff; -webkit-text-stroke: .022em #fff; }
.hl.is-in .hl__w { animation: hlpulse 1.6s cubic-bezier(.3,.7,.2,1) both; animation-delay: var(--k, 0s); }
@keyframes hlpulse { 0% { transform: none; } 38% { transform: scale(1.06); } 100% { transform: none; } }

.services { margin-top: clamp(64px, 9vw, 130px); }
.services h3 { margin: 0 0 clamp(20px, 2.6vw, 34px); font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: var(--hw); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.tag {
  display: inline-block; border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  padding: .5em 1.1em; font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 600; white-space: nowrap;
  cursor: default; user-select: none; pointer-events: none;
}
.js .tag { opacity: 0; transform: translateX(var(--from, -40vw)); transition: transform 1s var(--ease), opacity .6s; transition-delay: var(--d, 0s); }
.js .tags.is-in .tag { opacity: 1; transform: none; }
.tags.is-in .tag { animation: drift var(--t, 6s) ease-in-out infinite alternate; animation-delay: calc(var(--d, 0s) + 1s); }
@keyframes drift { from { translate: 0 0; } to { translate: 0 var(--by, -3px); } }

/* ---------- Über uns ---------- */
.shn { position: relative; }
.shn > .figs { position: absolute; pointer-events: none; width: var(--fw, 2.4em); left: var(--fl, 4em); top: var(--ft, 1.6em); }
.js .shn .figs { opacity: 0; transform: translateY(10px); transition: opacity .8s .3s, transform .9s .3s var(--ease); }
.js .shn.is-in .figs { opacity: 1; transform: none; }

.about__copy { margin-top: clamp(40px, 6vw, 80px); max-width: 1100px; }
.about__copy > * + * { margin-top: 1.1em; }
.figs-list { list-style: none; margin: 0; padding: 0 0 0 clamp(28px, 4vw, 64px); }
.figs-list li { position: relative; padding-left: 1.5em; }
.figs-list li + li { margin-top: .35em; }
.figs-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: .74em; height: .73em; background: var(--orange);
  -webkit-mask: url(../img/logo/mp2-maennchen-1.png) center / contain no-repeat; mask: url(../img/logo/mp2-maennchen-1.png) center / contain no-repeat;
}

/* ---------- Kontakt ---------- */
.contact { background: var(--anthracite); color: #fff; text-align: center; padding-bottom: clamp(56px, 7vw, 104px); }
.contact .display { color: #fff; }
.contact .q { color: var(--orange); margin-left: .07em; font-size: 1.06em; }
.contact__sub { font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 500; margin: clamp(22px, 3vw, 36px) 0 .3em; }
.phone { font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: var(--hw); letter-spacing: -.01em; text-decoration: none; color: var(--orange); transition: color .25s; }
.phone:hover { color: #fff; }
.contact__mail { margin: 1em 0 0; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(255,255,255,.85); }
.contact__mail a { color: #fff; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthracite); color: #fff; border-top: 1px solid rgba(255,255,255,.12); padding-block: clamp(36px, 4vw, 56px) 28px; font-size: .98rem; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: end; }
.footer__grid > * { margin: 0; }
.footer__logo { height: 64px; width: auto; margin-bottom: 20px; }
.footer__grid address { font-style: normal; line-height: 1.6; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--orange); }
.footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-weight: 600; line-height: 1.6; }
.footer__nav--small { font-weight: 500; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--grey-light); font-size: .85rem; }
.to-top { background: none; border: 0; font: inherit; color: #fff; font-weight: 600; cursor: pointer; padding: 0; }
.to-top:hover { color: var(--orange); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Entwurfs-Hinweise ---------- */
.todo { border: 2px dashed var(--orange); border-radius: 8px; padding: 14px 18px; margin: 20px 0; background: repeating-linear-gradient(-45deg, rgba(199,99,45,.06) 0 10px, transparent 10px 20px); font-size: .92rem; color: var(--ink); }
.todo strong { color: var(--orange-dark); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; display: block; margin-bottom: 4px; }
.todo-inline { outline: 2px dashed var(--orange); outline-offset: 2px; border-radius: 3px; }

/* =========================================================
   Projektseite (ELE)
   ========================================================= */
.case-header {
  position: sticky; top: 0; z-index: 0; overflow: hidden;
  height: max(460px, calc(100vw * 670 / 1920)); display: flex; align-items: center; background: var(--sand);
}
.case-header__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.case-header .wrap { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 16px); padding-bottom: 24px; }
.case-header__over { margin: 0 0 .45em; color: var(--orange); font-size: clamp(1.15rem, 1.9vw, 1.8rem); font-weight: var(--hw); letter-spacing: -.01em; }
.case-header h1 { max-width: 20ch; font-size: clamp(2.1rem, 4vw, 4.2rem); line-height: 1.04; }
/* Textfarben je nach Bild, jeweils mit ganz leichtem Schatten */
.tone-dark h1 { color: var(--ink); text-shadow: 0 0 22px rgba(255,255,255,.7), 0 1px 2px rgba(255,255,255,.45); }
.tone-dark .case-header__over { text-shadow: 0 0 18px rgba(255,255,255,.85), 0 1px 2px rgba(255,255,255,.5); }
.tone-light h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.2); }
.tone-light .case-header__over { text-shadow: 0 0 18px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.5); }
.case-body { position: relative; z-index: 1; background: var(--paper); }

.measure { padding-block: clamp(56px, 7vw, 110px) 0; container-type: inline-size; }
.measure + .measure { padding-top: clamp(64px, 8vw, 130px); }
.measure__head { margin-bottom: clamp(20px, 2.8vw, 36px); }
.measure h2 { margin: 0 0 16px; font-size: clamp(1.8rem, 3.6vw, 3.6rem); font-weight: var(--hw); line-height: 1.05; letter-spacing: -.025em; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 2px solid var(--ink); border-radius: 999px; padding: .32em .9em; font-weight: 600; font-size: .92rem; color: var(--ink); }

/* Galerie: 12er-Raster, Bilder frei auf Weiß (Spaltenbreiten 3/4/6/8/12) */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4583cqw; align-items: start; }
.g { grid-column: span 12; margin: 0; }
.g.s3 { grid-column: span 3; } .g.s4 { grid-column: span 4; } .g.s6 { grid-column: span 6; } .g.s8 { grid-column: span 8; } .g.s12 { grid-column: span 12; }
.g img { width: 100%; height: auto; }
.g.audio { display: block; }

.case-end { margin-top: clamp(80px, 10vw, 150px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.btn { display: inline-flex; align-items: center; font: 600 1rem/1 var(--font); text-decoration: none; padding: .9em 1.4em; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--orange); }
.btn--line { border: 2px solid var(--ink); color: var(--ink); }
.btn--line:hover { border-color: var(--orange); color: var(--orange-dark); }
.case-end .btn--dark { grid-column: 2; }
.case-end .btn--line { grid-column: 3; justify-self: end; }

/* ---------- Textseiten ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(64px, 9vw, 140px); }
.legal .display { margin-bottom: clamp(32px, 5vw, 64px); }
.legal__body { max-width: 68ch; }
.legal__body h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: var(--hw); margin: 2.2em 0 .5em; color: var(--ink); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .header-contact { gap: 8px; margin-right: 0; }
  .header-contact span { display: none; }
  .header-contact a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.18); }
  .is-scrolled .header-contact a, .is-solid .header-contact a { background: var(--sand); }
}
@media (max-width: 900px) {
  .wirkung__text { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .logo img { height: 44px; }
  .is-scrolled .logo img, .is-solid .logo img { height: 36px; }
  .burger { width: 46px; height: 46px; }
  .header-contact a { width: 40px; height: 40px; }
  .header-actions { gap: 6px; }
  .pill { display: none; }
  .hero__meta { justify-content: center; }
  .hero__dots button { width: 26px; }
  .work-grid { grid-template-columns: 1fr; }
  .gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 3cqw; }
  .g, .g.s8, .g.s12 { width: 100%; }
  .g.s3, .g.s4, .g.s6 { width: calc(50% - 1.5cqw); }
  .case-header { height: 74svh; min-height: 460px; }
  .tone-m-dark h1 { color: var(--ink); text-shadow: 0 1px 16px rgba(255,255,255,.6); }
  .tone-m-dark .case-header__over { text-shadow: 0 1px 14px rgba(255,255,255,.8); }
  .tone-m-light h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.25); }
  .tone-m-light .case-header__over { text-shadow: 0 1px 12px rgba(0,0,0,.4); }
  .case-end { grid-template-columns: 1fr; justify-items: center; }
  .case-end .btn--dark, .case-end .btn--line { grid-column: 1; justify-self: center; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .hero__slide.is-active img { animation: none; transform: none; }
}

/* Handy: Bildausschnitte pro Bild (--fx) und größere Hero-Headline */
@media (max-width: 640px) {
  .hero__slide img, .case-header__img { object-position: var(--fx, 50%) 50%; }
  .display--hero { font-size: 22vw; letter-spacing: -.04em; }
  .hero__inner { padding-inline: 10px; }
}

/* „KI-Ambiente“: dezenter Hinweis unter Bildern mit fotorealistischer Umgebung */
.g .ki { margin: 8px 2px 0 0; text-align: right; font-size: .78rem; line-height: 1.2; color: #85888e; letter-spacing: .02em; }
.g.has-ki { margin-bottom: clamp(6px, 1.2vw, 18px); }

/* Preline in dunklerem Orange, wenn das Bild dahinter hell/beige ist */
@media (min-width: 641px) { .pre-strong .case-header__over { color: var(--orange-dark); text-shadow: 0 0 16px rgba(255,255,255,.55); } }
