/* povstudios – Stylesheet
   Ein System: Archivo variabel (wght 100–900, wdth 62–125), Grau/Schwarz/Weiss.
   Bilder liegen in Graustufen und bekommen ihre Farbe erst beim Hinsehen. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --paper: #ededeb;
  --line: #d2d2cf;
  --grey-2: #9c9c99;
  --grey-3: #62625f;
  --grey-4: #2b2b2a;
  --ink: #0e0e0e;
  --accent: #1ccfc1;
  --accent-ink: #08766e;
  --night: #0a0a0a;
  --page: var(--paper);
  --text: var(--ink);
  --muted: var(--grey-3);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.65, 0.05, 0, 1);
  --ease-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --gutter: 3rem;
  --radius: 0.375rem;
}

/* Fluides Skalierungssystem: 1rem = 16px bei 1440px Breite */
html { font-size: calc(100vw / 90); }
@media (max-width: 991px) { html { font-size: calc(100vw / 60); } :root { --gutter: 1.5rem; } }
@media (max-width: 600px) { html { font-size: calc(100vw / 24.375); } :root { --gutter: 1rem; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  background-color: var(--page);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-variation-settings: "wght" 400, "wdth" 100;
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .7s var(--ease-io), color .7s var(--ease-io);
  -webkit-tap-highlight-color: transparent;
}
html[data-theme="dark"] { --page: var(--night); }

::selection { background: var(--ink); color: var(--white); }
html[data-theme="dark"] ::selection, .hero ::selection, .footer ::selection { background: var(--white); color: var(--ink); }

/* Scrollbar im Farbschema */
html { scrollbar-color: var(--grey-2) var(--page); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--page); }
::-webkit-scrollbar-thumb { background: var(--grey-2); border-radius: 10px; border: 2px solid var(--page); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 2000;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius);
  transform: translateY(-200%); transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Vor dem Laden: main versteckt, bis html[data-page-ready] gesetzt ist */
html.js:not([data-page-ready]) main { visibility: hidden; }
html.js [data-text-reveal], html.js [data-scroll-reveal] { visibility: hidden; }
html.no-motion [data-text-reveal], html.no-motion [data-scroll-reveal] { visibility: visible !important; }

/* ---------- Typografie ---------- */
.h-hero, .h-section, .h-page {
  font-variation-settings: "wght" 800, "wdth" 68;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: .82em;
  font-weight: 800;
  text-wrap: balance;
}
.h-hero { font-size: 9rem; }
.h-section { font-size: 8rem; }
.h-page { font-size: 7.5rem; }
.alt {
  font-variation-settings: "wght" 300, "wdth" 125;
  letter-spacing: -0.035em;
  font-weight: 300;
}
.h-sub {
  font-variation-settings: "wght" 750, "wdth" 72;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: .9;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lead {
  font-size: 1.5rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-variation-settings: "wght" 420, "wdth" 96;
  max-width: 34em;
  text-wrap: pretty;
}
.prose p, .prose li { max-width: 68ch; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.small { font-size: .9375rem; }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

.line { padding-bottom: .06em; margin-bottom: -.06em; }

@media (max-width: 991px) {
  .h-hero { font-size: 6.4rem; }
  .h-section { font-size: 6rem; }
  .h-page { font-size: 5.6rem; }
  .h-sub { font-size: 2.6rem; }
  .lead { font-size: 1.35rem; }
}
@media (max-width: 600px) {
  .h-hero { font-size: 3.9rem; }
  .h-section { font-size: 3.6rem; }
  .h-page { font-size: 3.4rem; }
  .h-sub { font-size: 2rem; }
  .lead { font-size: 1.2rem; }
  body { font-size: 1.0625rem; }
}

/* ---------- Buttons & Links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; gap: .75rem;
  height: 3.25rem; padding: 0 .4rem 0 1.4rem;
  border-radius: 10rem;
  background: var(--bg); color: var(--fg);
  font-variation-settings: "wght" 700, "wdth" 78;
  text-transform: uppercase; letter-spacing: .01em; font-size: 1rem;
  transition: transform .16s var(--ease-out), background-color .25s ease, color .25s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn__icon {
  position: relative; overflow: hidden;
  width: 2.45rem; height: 2.45rem; border-radius: 50%;
  background: var(--fg); color: var(--bg);
  display: grid; place-items: center; flex: none;
}
.btn--ghost .btn__icon { background: var(--ink); color: var(--white); }
.btn__icon .arrow-wrap { display: grid; transition: transform .525s var(--ease-back); }
.btn__icon .arrow-wrap svg { width: 1rem; height: 1rem; grid-area: 1 / 1; }
.btn__icon .arrow-wrap svg + svg { transform: translateX(-160%); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arrow-wrap { transform: translateX(160%); }
  .btn--ghost:hover { --bg: var(--ink); --fg: var(--white); }
  .btn--ghost:hover .btn__icon { background: var(--white); color: var(--ink); }
}
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; pointer-events: none; }

/* Gezeichnete Unterstreichung */
.draw-link { position: relative; display: inline-flex; flex-direction: column; }
.draw-link__box {
  position: absolute; left: 0; top: 100%; width: 100%; height: .5em;
  pointer-events: none; color: currentColor;
}
.draw-link__box svg { width: 100%; height: 100%; overflow: visible; }

.text-link {
  display: inline-flex; align-items: center; gap: .45em;
  font-variation-settings: "wght" 650, "wdth" 82;
  text-transform: uppercase; font-size: 1.05rem; letter-spacing: .01em;
}
.text-link svg { width: .85em; height: .85em; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover svg { transform: translateX(.2em); } }

/* Inline-Links in Fliesstext */
.prose a, .legal a, .inline-link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color .2s ease;
}
.prose a:hover, .legal a:hover, .inline-link:hover { text-decoration-color: currentColor; }

/* ---------- Bilder in Graustufen ---------- */
.grade { position: relative; overflow: hidden; background: var(--grey-4); }
.grade img, .grade video {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter .9s var(--ease-out), transform 1.2s var(--ease-out);
}
.grade.is-graded img { filter: grayscale(0) contrast(1); }
@media (hover: hover) and (pointer: fine) {
  a:hover .grade img, .grade:hover img, .grade-trigger:hover .grade img { filter: grayscale(0) contrast(1); }
}

/* ---------- Load-Wipe ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none; overflow: clip;
}
.wipe svg { width: 100%; height: 100%; }
.wipe path { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; stroke-width: 0; }
.wipe[data-transition-ready] { display: none; }

/* ---------- Cursor-Label ---------- */
.cursor-label {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
}
.cursor-label__card {
  width: 10.5rem; overflow: hidden; position: relative;
  background: var(--white); color: var(--ink);
  border-radius: 10rem;
  box-shadow: 0 .4rem 1.6rem rgba(0,0,0,.18);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .4s var(--ease-io);
}
.cursor-label[data-cursor-marquee-status="active"] .cursor-label__card { transform: translate(-50%, -50%) scale(1); }
.cursor-label__track { display: flex; position: relative; }
.cursor-label__text {
  font-variation-settings: "wght" 700, "wdth" 72;
  text-transform: uppercase; font-size: 1.3rem; line-height: 1;
  padding: .55em .5em; white-space: nowrap; flex: none;
  animation: cursor-marquee var(--marquee-duration, 3s) linear infinite paused;
}
.cursor-label.is-running .cursor-label__text { animation-play-state: running; }
@keyframes cursor-marquee { to { transform: translateX(-100%); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 1.25rem 1.5rem;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.logo {
  position: fixed; left: 1.5rem; top: 1.25rem; z-index: 51;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 3rem; padding: 0 1.15rem; border-radius: 10rem;
  background: var(--white); color: var(--ink);
  box-shadow: 0 .2rem 1rem rgba(0,0,0,.06);
  transition: transform .16s var(--ease-out);
  font-variation-settings: "wght" 800, "wdth" 125;
  text-transform: uppercase; font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1;
}
.logo__steps { display: flex; gap: 0; height: 1.05rem; }
.logo__steps i { width: .42rem; height: 100%; background: currentColor; }
.logo__steps i:nth-child(1) { opacity: 1; }
.logo__steps i:nth-child(2) { opacity: .7; }
.logo__steps i:nth-child(3) { opacity: .45; }
.logo__steps i:nth-child(4) { opacity: .22; }

.nav__menu {
  position: absolute; left: 50%; top: 1.25rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: 1.6rem;
  height: 3rem; padding: 0 1.4rem; border-radius: 10rem;
  background: var(--white); color: var(--ink);
  box-shadow: 0 .2rem 1rem rgba(0,0,0,.06);
}
.nav__link {
  font-variation-settings: "wght" 700, "wdth" 72;
  text-transform: uppercase; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1;
}
.nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.nav__cta {
  display: flex; align-items: center; gap: .55rem;
  height: 3rem; padding: 0 1.25rem; border-radius: 10rem;
  background: var(--white); color: var(--ink);
  box-shadow: 0 .2rem 1rem rgba(0,0,0,.06);
  transition: transform .16s var(--ease-out);
}
.nav__cta:active { transform: scale(.97); }
.nav__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink); }



.nav__burger {
  display: none; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--white); color: var(--ink);
  place-items: center; box-shadow: 0 .2rem 1rem rgba(0,0,0,.06);
  transition: transform .16s var(--ease-out);
}
.nav__burger:active { transform: scale(.95); }
.nav__burger span { position: relative; width: 1.1rem; height: 1.5px; background: currentColor; display: block; transition: background-color .2s; }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: currentColor;
  transition: transform .3s var(--ease-out);
}
.nav__burger span::before { transform: translateY(-.35rem); }
.nav__burger span::after { transform: translateY(.35rem); }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.nav__right { display: flex; gap: .5rem; align-items: center; }

/* Mobiles Menü */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6rem var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .55s var(--ease-io), visibility 0s linear .55s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease-io), visibility 0s; }
.mobile-menu ul { display: flex; flex-direction: column; gap: .35rem; }
.mobile-menu a.mm-link {
  display: block;
  font-variation-settings: "wght" 800, "wdth" 68; text-transform: uppercase;
  font-size: 3.4rem; line-height: .9; letter-spacing: -0.02em;
  transform: translateY(30%); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.mobile-menu.is-open a.mm-link { transform: none; opacity: 1; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .2s; }
.mobile-menu a[aria-current="page"] { font-variation-settings: "wght" 200, "wdth" 88; }
.mobile-menu__foot { margin-top: 2.5rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--grey-2); font-size: .95rem; }
.mobile-menu__foot a { color: var(--white); }

@media (max-width: 991px) {
  .nav__menu { display: none; }
  .nav__burger { display: grid; }
}
@media (max-width: 600px) {
  .nav { padding: 1rem; }
  .logo { font-size: 1rem; left: 1rem; top: 1rem; height: 2.75rem; padding: 0 .9rem; gap: .45rem; }
  .nav__cta { height: 2.75rem; padding: 0 .95rem; font-size: .95rem; }
  .nav__burger { width: 2.75rem; height: 2.75rem; }
}
@media (max-width: 380px) { .nav__cta .nav__link { font-size: .85rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 36rem;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--night); color: var(--white);
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 50%;
  filter: grayscale(1) brightness(.5) contrast(1.1);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(0,0,0,.55) 100%);
}
.hero__card {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 16rem; aspect-ratio: 4 / 5; overflow: hidden;
  translate: -50% -50%;
  border-radius: .25rem;
  visibility: hidden; opacity: 0;
  box-shadow: 0 1.5rem 3rem rgba(0,0,0,.45);
  pointer-events: none;
}
.hero__card-media { position: absolute; inset: 0; scale: 1.2; }
.hero__card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  visibility: hidden;
}
.hero__card-media img.on { visibility: visible; }
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem;
  margin-top: -3rem; padding: 0 var(--gutter);
}
.hero__intro { max-width: 36rem; font-size: 1.3rem; line-height: 1.4; color: rgba(255,255,255,.82); text-wrap: pretty; }
.hero__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.hero__reel {
  display: inline-flex; align-items: center; gap: .5em;
  font-variation-settings: "wght" 700, "wdth" 78; text-transform: uppercase;
  font-size: 1.15rem; line-height: 1;
}
.hero__reel .draw-link__box { top: 125%; height: .6em; }
.arrow-square {
  position: relative; overflow: hidden;
  width: 1.5em; height: 1.5em; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: grid; place-items: center;
}
.arrow-square .arrow-wrap { display: grid; transition: transform .525s var(--ease-back); }
.arrow-square svg { width: .6em; height: .6em; grid-area: 1/1; }
.arrow-square svg + svg { transform: translateY(-200%); }
@media (hover: hover) and (pointer: fine) { .hero__reel:hover .arrow-wrap { transform: translateY(200%); } }

.marquee {
  position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 2;
  overflow: hidden; color: rgba(255,255,255,.7);
}
.marquee__scroll { display: flex; width: 120%; margin-left: -10%; }
.marquee__list { display: flex; flex: none; align-items: center; }
.marquee__item {
  display: flex; align-items: center; gap: 2.5rem; margin-right: 2.5rem;
  font-variation-settings: "wght" 300, "wdth" 115; text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: .04em; white-space: nowrap;
}
.marquee__item svg { width: .9rem; height: .9rem; opacity: .6; }

@media (max-width: 600px) {
  .hero__video { object-position: 60% 50%; }
  .hero__content { gap: 1.4rem; margin-top: 7rem; padding: 0 1rem; }
  .hero__intro { font-size: 1.05rem; }
  .hero__actions { gap: 1.25rem; flex-direction: column; }
  .hero__card {
    visibility: visible; opacity: 1;
    width: 7.5rem; top: 18%; rotate: -5deg;
  }
  .marquee__item { font-size: .95rem; gap: 1.25rem; margin-right: 1.25rem; }
}

/* ---------- Abschnitte ---------- */
.section { position: relative; padding: 9rem var(--gutter); }
.section--tight { padding-top: 6rem; padding-bottom: 6rem; }
.wrap { max-width: 84rem; margin: 0 auto; }
@media (max-width: 600px) { .section { padding: 5rem var(--gutter); } .section--tight { padding: 4rem var(--gutter); } }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.section-head .lead { justify-self: end; }
@media (max-width: 991px) { .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; } .section-head .lead { justify-self: start; } }

/* Leistungs-Zeilen auf der Startseite */
.services { border-top: 1.5px solid var(--ink); }
.service-row {
  display: grid; grid-template-columns: 1.05fr 1fr 11rem; gap: 2.5rem; align-items: center;
  padding: 2.25rem 0; border-bottom: 1.5px solid var(--ink);
  position: relative;
}
.service-row__title {
  font-variation-settings: "wght" 800, "wdth" 68; text-transform: uppercase;
  font-size: 4.6rem; line-height: .85; letter-spacing: -0.02em;
  transition: font-variation-settings .5s var(--ease-out);
}
.service-row__title .alt { display: block; font-size: .62em; }
.service-row__body p { max-width: 32rem; }
.service-row__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tag {
  display: inline-flex; align-items: center; height: 1.85rem; padding: 0 .7rem;
  border-radius: 10rem; box-shadow: inset 0 0 0 1px var(--line);
  font-size: .85rem; font-variation-settings: "wght" 500, "wdth" 90; white-space: nowrap;
}
.service-row__media { aspect-ratio: 4 / 5; border-radius: .25rem; }
.service-row__link { position: absolute; inset: 0; z-index: 1; }
.service-row__more { margin-top: 1.25rem; position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) {
  .service-row:hover .service-row__title { font-variation-settings: "wght" 300, "wdth" 110; }
  .service-row:hover .grade img { filter: none; transform: scale(1.04); }
}
@media (max-width: 991px) {
  .service-row { grid-template-columns: 1fr 8rem; gap: 1.25rem 1.5rem; }
  .service-row__title { font-size: 3.6rem; grid-column: 1 / -1; }
  .service-row__body { grid-column: 1; }
}
@media (max-width: 600px) {
  .service-row { grid-template-columns: 1fr; padding: 1.75rem 0; }
  .service-row__title { font-size: 2.9rem; }
  .service-row__media { display: none; }
}

/* ---------- Projekte: 3D-Stapel ---------- */
.work__pin {
  height: 100vh; display: grid; grid-template-columns: 38fr 62fr; gap: 2rem;
  padding: 0 3rem 0 5rem; align-items: center; overflow: hidden;
}
.work__copy { display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start; }
.work__copy p { max-width: 26rem; font-size: 1.3rem; line-height: 1.35; }
.work__stage { position: relative; height: 100%; perspective: 1400px; }
.work__stack { position: absolute; inset: 0; transform-style: preserve-3d; }
.work__slide {
  position: absolute; aspect-ratio: 1.75; width: min(80vh, 52vw);
  left: 50%; top: calc(50% - 5vh); translate: -50% -50%;
  display: block; background: var(--frame, var(--grey-4)); padding: 1.6vh;
  border-radius: .4rem; overflow: hidden;
  box-shadow: 0 2vh 5vh rgba(0,0,0,.18);
}
.work__slide .grade { position: absolute; inset: 1.6vh; border-radius: .2rem; }
.work__slide::after {
  content: ""; position: absolute; inset: 1.6vh; border-radius: .2rem; pointer-events: none;
  background: linear-gradient(#0007, #0000 28%, #0000 50%, #0009);
}
.work__slide-title {
  position: absolute; left: 0; right: 0; bottom: 2.2em; z-index: 1; text-align: center;
  font-variation-settings: "wght" 800, "wdth" 72; text-transform: uppercase;
  font-size: 7vh; line-height: .82; letter-spacing: -0.02em; color: var(--white);
  text-shadow: 0 .05em .3em rgba(0,0,0,.3);
  padding: 0 1em;
}
.work__slide-meta {
  position: absolute; left: 3.4vh; right: 3.4vh; top: 3.2vh; z-index: 1;
  display: flex; justify-content: space-between;
  color: var(--white); font-size: 1.6vh; text-transform: uppercase; letter-spacing: .06em;
  font-variation-settings: "wght" 600, "wdth" 100;
}
.work__badge {
  position: absolute; right: 1rem; bottom: 1rem; width: 9rem; height: 9rem; z-index: 5;
}
.work__badge text {
  font-family: "Archivo"; font-variation-settings: "wght" 800, "wdth" 80;
  font-size: 22px; fill: var(--white); letter-spacing: 0;
}
@media (max-width: 991px) {
  .work__pin { height: auto; grid-template-columns: 1fr; padding: 6rem var(--gutter) 4rem; gap: 3rem; overflow: visible; }
  .work__stage { height: auto; perspective: none; }
  .work__stack { position: relative; display: flex; flex-direction: column; gap: 1.5rem; }
  .work__slide { position: relative; width: 100%; left: auto; top: auto; translate: none; padding: 1rem; }
  .work__slide .grade, .work__slide::after { inset: 1rem; }
  .work__slide-title { font-size: 3.4rem; bottom: 1.6em; }
  .work__slide-meta { font-size: .8rem; left: 2rem; right: 2rem; top: 1.9rem; }
  .work__badge { display: none; }
}
@media (max-width: 600px) {
  .work__slide-title { font-size: 2rem; bottom: 1.4em; }
  .work__slide { padding: .6rem; }
  .work__slide .grade, .work__slide::after { inset: .6rem; }
  .work__slide-meta { left: 1.3rem; right: 1.3rem; top: 1.2rem; font-size: .7rem; }
}

/* ---------- Über mich: Sticky-Titel mit aufsteigenden Fotos ---------- */
.about { position: relative; height: 320vh; }
html[data-theme="dark"] .about, html[data-theme="dark"] .about-close { color: var(--white); }
.about, .about-close { transition: color .7s var(--ease-io); }
.about__sticky {
  position: sticky; top: 0; height: 100vh; z-index: 1;
  display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter);
}
.about__title { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; }
.about__title p { max-width: 30rem; font-size: 1.3rem; line-height: 1.4; }
.about__stamp {
  position: absolute; left: -4rem; top: -6rem; width: 9rem; rotate: -10deg;
  pointer-events: auto;
}
.about__photos { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.photo {
  position: absolute; top: var(--top); width: var(--w); rotate: var(--rot);
  pointer-events: auto;
}
.photo[data-side="left"] { left: var(--off); }
.photo[data-side="right"] { right: var(--off); }
.photo .grade { aspect-ratio: 4 / 5; border-radius: .2rem; background: #2a2a28; box-shadow: 0 1.2rem 2.5rem rgba(0,0,0,.35); }
.photo__tag {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 1;
  background: var(--white); color: var(--ink);
  font-variation-settings: "wght" 700, "wdth" 72; text-transform: uppercase;
  font-size: .9rem; padding: .25rem .5rem; line-height: 1.1; border-radius: .15rem;
}
@media (max-width: 991px) { .about { height: 260vh; } }
@media (max-width: 600px) {
  .photo { width: 8rem !important; }
  .photo[data-lane="outer"] { --off: -1rem !important; }
  .photo[data-lane="inner"] { --off: 4rem !important; }
  .photo { top: var(--top-m) !important; }
  .photo__tag { display: none; }
  .about__stamp { width: 6rem; left: 0; top: -5rem; }
  .about__title { padding: 0 .5rem; }
}

/* ---------- Abschluss-CTA ---------- */
.close {
  padding: 10rem var(--gutter) 9rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2.25rem;
}
.close__mail { font-size: 1.3rem; }
@media (max-width: 600px) { .close { padding: 6rem var(--gutter); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding: 5rem var(--gutter) 2rem; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer h2 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-2);
  font-variation-settings: "wght" 600, "wdth" 100; margin-bottom: 1rem;
}
.footer li + li { margin-top: .4rem; }
.footer a:not(.btn) { transition: color .2s ease; }
.footer a:not(.btn):hover { color: var(--grey-2); }
.footer__claim { font-size: 1.3rem; line-height: 1.35; max-width: 22rem; color: rgba(255,255,255,.85); }
.footer__word {
  margin-top: 5rem; font-variation-settings: "wght" 800, "wdth" 125; text-transform: uppercase;
  font-size: 10.3vw; line-height: .78; letter-spacing: -0.04em; white-space: nowrap;
  display: flex; align-items: flex-end; gap: .08em;
}
.footer__word .logo__steps { height: .62em; margin-bottom: .04em; }
.footer__word .logo__steps i { width: .2em; }
.footer__bottom { margin-top: 2rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--grey-2); font-size: .9rem; flex-wrap: wrap; }
@media (max-width: 991px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer { padding-top: 4rem; } }

/* ---------- Unterseiten ---------- */
.page-hero {
  padding: 10rem var(--gutter) 5rem;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: end;
}
.page-hero__text { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.page-hero__media { aspect-ratio: 4 / 5; max-height: 72vh; border-radius: .3rem; justify-self: end; width: 100%; max-width: 30rem; }
.page-hero__actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.page-hero--plain { grid-template-columns: 1fr; padding-bottom: 3rem; }
@media (max-width: 991px) {
  .page-hero { grid-template-columns: 1fr; padding-top: 8rem; }
  .page-hero__media { justify-self: start; max-width: none; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) { .page-hero { padding: 7rem var(--gutter) 3rem; gap: 2rem; } }

/* Zweispaltige Inhaltsblöcke */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; padding-top: 3rem; border-top: 1.5px solid var(--ink); }
.split + .split { margin-top: 6rem; }
@media (max-width: 991px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split + .split { margin-top: 4rem; } }

.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 3rem; }
.deliver h3 { font-variation-settings: "wght" 750, "wdth" 80; text-transform: uppercase; font-size: 1.35rem; line-height: 1; margin-bottom: .6rem; letter-spacing: -0.005em; }
.deliver p { color: var(--grey-3); }
@media (max-width: 600px) { .deliver { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Spezifikations-Tabelle */
.spec { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec th, .spec td { text-align: left; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-variation-settings: "wght" 600, "wdth" 100; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--grey-3); }
.spec td:first-child { font-variation-settings: "wght" 650, "wdth" 90; }
.table-scroll { overflow-x: auto; }
@media (max-width: 600px) { .spec { font-size: .95rem; } .spec th, .spec td { padding-right: .75rem; } }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1.5px solid var(--ink); }
.step { padding: 1.75rem 1.5rem 0 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 1.5rem; }
.step:last-child { border-right: 0; }
.step__n { font-variation-settings: "wght" 200, "wdth" 125; font-size: 3.4rem; line-height: 1; display: block; margin-bottom: 1.25rem; font-variant-numeric: tabular-nums; }
.step h3 { font-variation-settings: "wght" 750, "wdth" 80; text-transform: uppercase; font-size: 1.3rem; line-height: 1; margin-bottom: .6rem; }
.step p { color: var(--grey-3); font-size: 1rem; }
@media (max-width: 991px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 1.5rem 1.25rem 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step + .step { padding-left: 0; }
}
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step__n { font-size: 2.6rem; margin-bottom: .75rem; } }

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0;
  font-variation-settings: "wght" 650, "wdth" 88; font-size: 1.3rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 1rem; height: 1rem; flex: none; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease-out);
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq__answer { padding: 0 0 1.6rem; color: var(--grey-3); max-width: 62ch; }
.faq__answer p + p { margin-top: .8em; }
@media (max-width: 600px) { .faq summary { font-size: 1.1rem; } }

/* Verwandte Projekte */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.related a { display: flex; flex-direction: column; gap: .9rem; }
.related .grade { aspect-ratio: 16 / 10; border-radius: .25rem; }
.related h3 { font-variation-settings: "wght" 750, "wdth" 78; text-transform: uppercase; font-size: 1.4rem; line-height: 1; }
.related span { color: var(--grey-3); font-size: .95rem; }
@media (max-width: 991px) { .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .related { grid-template-columns: 1fr; } }

/* CTA-Band auf Unterseiten */
.cta-band {
  margin: 0 var(--gutter) 6rem; padding: 4.5rem 4rem; border-radius: .5rem;
  background: var(--ink); color: var(--white);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: end;
}
.cta-band p { color: rgba(255,255,255,.75); max-width: 30rem; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; justify-self: end; }
.cta-band__actions a.inline-link { color: rgba(255,255,255,.85); }
@media (max-width: 991px) { .cta-band { grid-template-columns: 1fr; padding: 3rem 2rem; } .cta-band__actions { justify-self: start; } }
@media (max-width: 600px) { .cta-band { padding: 2.5rem 1.5rem; margin-bottom: 4rem; } }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.filter {
  height: 2.6rem; padding: 0 1.1rem; border-radius: 10rem;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  font-variation-settings: "wght" 650, "wdth" 82; text-transform: uppercase; font-size: .95rem;
  transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
.filter:active { transform: scale(.97); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.filter__count { font-variant-numeric: tabular-nums; opacity: .55; margin-left: .3em; }
.filter-status { margin-top: 1rem; color: var(--grey-3); font-size: .95rem; }

.cases { display: flex; flex-direction: column; }
.case {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: start;
  padding: 3rem 0; border-top: 1.5px solid var(--ink);
  scroll-margin-top: 6rem;
}
.case:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.case:nth-child(even) .case__media { order: 2; }
.case.is-hidden { display: none; }
.case__media { aspect-ratio: 16 / 10; border-radius: .3rem; }
.case__head { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.5rem; }
.case__meta { display: flex; gap: .4rem; flex-wrap: wrap; }
.case h2 { font-variation-settings: "wght" 800, "wdth" 70; text-transform: uppercase; font-size: 3.6rem; line-height: .86; letter-spacing: -0.02em; text-wrap: balance; }
.case dl { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem 1rem; }
.case dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--grey-3); font-variation-settings: "wght" 600, "wdth" 100; padding-top: .2rem; }
.case dd { max-width: 40ch; }
.case:target .grade img { filter: none; }
@media (max-width: 991px) {
  .case, .case:nth-child(even) { grid-template-columns: 1fr; gap: 1.75rem; }
  .case:nth-child(even) .case__media { order: 0; }
  .case h2 { font-size: 2.8rem; }
}
@media (max-width: 600px) { .case h2 { font-size: 2.3rem; } .case dl { grid-template-columns: 1fr; gap: .2rem; } .case dd { margin-bottom: .75rem; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; padding: 0 var(--gutter) 8rem; }
.contact__aside { display: flex; flex-direction: column; gap: 2rem; }
.contact__aside dl dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--grey-3); font-variation-settings: "wght" 600, "wdth" 100; }
.contact__aside dl dd { font-size: 1.3rem; margin-bottom: 1.25rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .06em;
  font-variation-settings: "wght" 650, "wdth" 100;
}
.field .opt { color: var(--grey-3); text-transform: none; letter-spacing: 0; font-variation-settings: "wght" 400, "wdth" 100; }
.input {
  width: 100%; min-height: 3.3rem; padding: .8rem 1rem;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  font-size: 1.05rem; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
textarea.input { min-height: 10rem; resize: vertical; }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230e0e0e' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.input::placeholder { color: #767673; }
.input:hover { border-color: var(--grey-2); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,14,14,.12); }
.input[aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: .9rem; min-height: 0; }
.field__error:empty { display: none; }
fieldset.field { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; height: 2.6rem; padding: 0 1rem; border-radius: 10rem;
  box-shadow: inset 0 0 0 1.5px var(--line); background: var(--white);
  font-variation-settings: "wght" 550, "wdth" 92; font-size: .98rem;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.chip input:checked + span { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .98rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--ink); flex: none; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form-status { grid-column: 1 / -1; padding: 1.1rem 1.25rem; border-radius: var(--radius); display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--ink); color: var(--white); }
.form-status--err { background: #fbe9e7; color: #7a1a12; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 991px) { .contact { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } .contact { padding-bottom: 5rem; } }

/* ---------- Rechtstexte ---------- */
.legal { padding: 0 var(--gutter) 8rem; }
.legal__body { max-width: 46rem; }
.legal h2 { font-variation-settings: "wght" 750, "wdth" 80; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; margin: 3rem 0 1rem; letter-spacing: -0.005em; }
.legal h3 { font-variation-settings: "wght" 700, "wdth" 90; font-size: 1.15rem; margin: 1.75rem 0 .5rem; }
.legal p, .legal li { max-width: 68ch; }
.legal p + p { margin-top: .9em; }
.legal ul { margin: .75em 0 0 1.1em; list-style: disc; }
.legal li + li { margin-top: .35em; }
.legal address { font-style: normal; }
.placeholder { background: #dcdcd8; padding: 0 .25em; border-radius: .15em; }
.note {
  background: var(--white); padding: 1.25rem 1.4rem; border-radius: var(--radius); margin-bottom: 2rem;
  box-shadow: inset 0 0 0 1px var(--line); font-size: .98rem;
}

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2rem; padding: 8rem var(--gutter) 4rem; }

/* ---------- Scroll-Reveal Element-Modus ---------- */
[data-scroll-reveal="element"] { will-change: transform; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .wipe { display: none; }
  .about { height: auto; padding: 8rem var(--gutter) 4rem; }
  .about__sticky { position: relative; height: auto; padding: 0 0 4rem; }
  .about__photos {
    position: relative; inset: auto; display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 2rem; padding: 2rem 0;
  }
  .photo { position: relative; top: auto !important; left: auto !important; right: auto !important; width: auto !important; rotate: none; }
  .nav__dot { animation: none; }
  .cursor-label__text { animation: none !important; }
  .grade img { transition: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media (max-width: 600px) { .br-desk { display: none; } }
.work__copy .h-section { font-size: 7rem; }
.work__copy .h-section .alt { font-variation-settings: "wght" 300, "wdth" 100; }
@media (max-width: 991px) { .work__copy .h-section { font-size: 6rem; } }
@media (max-width: 600px) { .work__copy .h-section { font-size: 3.6rem; } }
.logo:active { transform: scale(.97); }
.logo { font-size: 1.15rem; }
.logo .logo__steps { height: .95rem; }
.logo .logo__steps i { width: .36rem; }
@media (max-width: 600px) { .logo { font-size: 1rem; } .logo .logo__steps { height: .8rem; } .logo .logo__steps i { width: .3rem; } }
.split > h2 { position: sticky; top: 6.5rem; align-self: start; }
@media (max-width: 991px) { .split > h2 { position: static; } }
.field label.check, .field label.chip { text-transform: none; letter-spacing: 0; font-size: .98rem; font-variation-settings: "wght" 400, "wdth" 100; }
.split .faq { border-top: 0; }

/* Feinschliff Handy */
@media (max-width: 600px) {
  .logo { font-size: .9rem; padding: 0 .8rem; gap: .4rem; }
  .nav__right { gap: .4rem; }
  .nav__cta { padding: 0 .8rem; gap: .4rem; }
  .nav__cta .nav__link { font-size: .85rem; }
  .hero { min-height: 46rem; }
  .hero .h-hero { font-size: 3.6rem; }
  .hero .h-hero { text-wrap: wrap; }
  .hero .alt { font-variation-settings: "wght" 300, "wdth" 88; }
  .hero__content { margin-top: 9rem; }
  .hero__card { width: 6.5rem; top: 5.4rem; translate: -50% 0; }
}
.h-about { font-size: 7rem; }
@media (max-width: 991px) { .h-about { font-size: 5.6rem; } }
@media (max-width: 600px) {
  .h-about { font-size: 3.4rem; }
  .h-about .alt, .h-section .alt, .h-page .alt { font-variation-settings: "wght" 300, "wdth" 90; }
  .about__title p { font-size: 1.1rem; }
}
.placeholder { color: var(--ink); }

/* Leistungsliste auf der Startseite */
.service-row { align-items: start; padding: 3rem 0; }
.service-row__title { padding-top: .3rem; }
.service-row__title .alt { font-size: .5em; margin-top: .35em; line-height: 1; }
.service-row__body > p:first-child { font-size: 1.2rem; line-height: 1.4; }
.service-row__list { margin-top: 1.1rem; display: grid; gap: .45rem; }
.service-row__list li { position: relative; padding-left: 1.4rem; font-size: 1.02rem; line-height: 1.4; }
.service-row__list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; background: var(--ink);
}
.service-row__body .service-row__tags { margin-top: 1.25rem; }
@media (max-width: 991px) { .service-row__title .alt { font-size: .55em; } }
@media (max-width: 600px) {
  .service-row { padding: 2rem 0; }
  .service-row__title { font-size: 2.6rem; }
  .service-row__body > p:first-child { font-size: 1.1rem; }
}

/* ---------- Akzentfarbe: Türkis für Überschriften und Details ---------- */
:root {
  --grad-from: var(--ink);      /* Verlaufsstart auf hellem Grund */
  --grad-to: #08948a;           /* dunkleres Türkis, auf Hellgrau gut lesbar */
}
.hero, html[data-theme="dark"] .about, .mobile-menu, .footer, .cta-band {
  --grad-from: #ffffff;         /* Verlaufsstart auf dunklem Grund */
  --grad-to: #2ee6d6;           /* leuchtendes Türkis */
}

/* Farbige Wörter: Verlauf von Weiß (bzw. Schwarz) zu Türkis.
   Ungesplittete Wörter bekommen den Verlauf direkt, gesplittete pro Buchstabe (siehe site.js). */
.alt:not(.is-split) {
  background-image: linear-gradient(90deg, var(--grad-from), var(--grad-to));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.service-row__title .alt { width: fit-content; }
.alt.is-split .char {
  background-image: linear-gradient(90deg, var(--grad-from), var(--grad-to));
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.alt, .alt .char { text-shadow: none; }
.about .alt { transition: none; }

.draw-link__box { color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }
html[data-theme="dark"] ::selection, .hero ::selection, .footer ::selection { background: var(--accent); color: var(--ink); }
.nav__link[aria-current="page"] { text-decoration-color: var(--accent); }
.nav__dot { background: var(--accent); }
.mobile-menu a[aria-current="page"] {
  background-image: linear-gradient(90deg, #ffffff, #2ee6d6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  width: fit-content;
}
.text-link svg { color: var(--accent-ink); }
.hero .text-link svg, .about .text-link svg { color: var(--accent); }
.arrow-square { background: var(--accent); color: var(--ink); }
.service-row__list li::before { background: var(--accent); }
.step__n { color: var(--accent-ink); }
.filter[aria-pressed="true"] .filter__count { color: var(--accent); opacity: 1; }
.work__badge circle:first-of-type { fill: var(--accent); }
.work__badge text { fill: var(--ink); }
.work__badge circle:nth-of-type(2) { fill: var(--ink); }
.work__badge circle:nth-of-type(3) { fill: none; stroke: var(--ink); }
.logo__steps i:nth-child(1) { background: var(--accent); }

/* Überschriften kräftiger */
.h-hero, .h-section, .h-page { font-variation-settings: "wght" 850, "wdth" 68; }
.section-head .h-section::after {
  content: ""; display: block; width: 4.5rem; height: .45rem; margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--grad-from), var(--accent));
}
.hero .h-hero { text-shadow: 0 .04em .5em rgba(0,0,0,.35); }

/* Hero-Karte: ein einheitlicher Look für alle Fotos */
.hero__card { border-radius: .4rem; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.hero__card-media img { filter: saturate(.85) contrast(1.08) brightness(.92); }
.hero__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0,0,0,.45) 100%);
}
.hero__intro { text-shadow: 0 .1rem 1rem rgba(0,0,0,.75), 0 0 .3rem rgba(0,0,0,.5); }

/* Platz für Umlaut-Punkte über Großbuchstaben (Ä, Ö, Ü) in den Zeilenmasken */
.line-mask { padding-top: .2em; margin-top: -.2em; }
/* Verlauf auch über die Umlaut-Punkte malen: Buchstabenbox nach oben erweitern, ohne das Layout zu verschieben */
.alt.is-split .char { padding-top: .3em; margin-top: -.3em; background-size: inherit; }
.hero .alt { white-space: nowrap; }
/* Punkt im Anfragen-Button: knalliges Grün */
.nav__dot { background: #22ff4e; box-shadow: 0 0 0 1px rgba(14,14,14,.15); }

/* Footer: eigenes Logo statt Schriftzug */
.footer__word { font-size: 1rem; line-height: 0; }
.footer__logo { display: block; width: min(46%, 40rem); height: auto; }
@media (max-width: 600px) { .footer__logo { width: 62%; } }

/* Navigation: eigenes pov-Logo im weißen Feld (Farbe über currentColor) */
.logo { padding: 0 1.2rem; }
.logo__mark {
  display: block; height: 1.6rem; aspect-ratio: 842 / 336;
  background: currentColor;
  -webkit-mask: url("../img/logo-pov.png") center / contain no-repeat;
          mask: url("../img/logo-pov.png") center / contain no-repeat;
}
@media (max-width: 600px) { .logo { padding: 0 1rem; } .logo__mark { height: 1.4rem; } }

/* Logo ohne weißes Feld: Farbe passt sich per JS dem Hintergrund an (.is-light = weiß) */
.logo {
  background: transparent; box-shadow: none; padding: .35rem .3rem; height: auto;
  color: var(--ink);
  transition: color .25s ease, filter .25s ease, transform .16s var(--ease-out);
}
.logo.is-light { color: #fff; filter: drop-shadow(0 1px 8px rgba(0,0,0,.35)); }
.logo__mark { height: 2.1rem; }
@media (max-width: 600px) { .logo { padding: .3rem .2rem; height: auto; } .logo__mark { height: 1.75rem; } }

/* WhatsApp-Button auf dunklem Grund: Umriss in Weiß, grüner Punkt wie beim Anfragen-Button */
.btn--ghost-light { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn--ghost-light .btn__icon { background: var(--white); color: var(--ink); }
.btn--ghost-light .btn__label { display: inline-flex; align-items: center; gap: .55rem; }
.wa-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #22ff4e; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--ghost-light:hover { --bg: var(--white); --fg: var(--ink); }
  .btn--ghost-light:hover .btn__icon { background: var(--ink); color: var(--white); }
}
