@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/archivo-400-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/archivo-400-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ============================================================
   MASSIV Studio · main.css
   Art Direction: MIDNIGHT ELECTRIC
   Tiefes Blau-Schwarz · Off-White-Typo · elektrisches Kobalt
   Typo: Clash Display (Display) · Archivo (Text) · Space Mono (Technik)
   ============================================================ */

:root {
  --ink: #0a0a12;
  --ink-soft: #0e0e19;
  --surface: #131320;
  --raised: #1a1a2b;
  --text: #eef0f4;
  --muted: #8b8fa3;
  --accent: #4b5cff;
  --accent-soft: rgba(75, 92, 255, 0.14);
  --accent-deep: #2733c9;
  --line: rgba(238, 240, 244, 0.12);
  --line-soft: rgba(238, 240, 244, 0.06);
  --header-bg: rgba(10, 10, 18, 0.72);

  --font-display: "Clash Display", "Arial Black", sans-serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --size-display: clamp(2rem, 7.4vw, 8.5rem);
  --size-h2: clamp(2rem, 4.6vw, 4.2rem);
  --size-h3: clamp(1.25rem, 2vw, 1.75rem);

  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius-System */
  --r-pill: 999px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  /* Schatten: mehrstufig, tief, mit Kobalt-Glow-Akzent */
  --shadow-lg:
    0 2px 8px rgba(4, 6, 20, 0.45),
    0 16px 40px rgba(4, 6, 20, 0.5),
    0 48px 110px rgba(4, 6, 20, 0.4);
  --shadow-md:
    0 2px 6px rgba(4, 6, 20, 0.4),
    0 10px 28px rgba(4, 6, 20, 0.45);
  --glow: 0 0 70px rgba(75, 92, 255, 0.16);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.8s var(--ease-out), color 0.8s var(--ease-out);
}

/* Dezente Scrollbar */
html { scrollbar-width: thin; scrollbar-color: rgba(139, 143, 163, 0.35) transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(139, 143, 163, 0.3);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(75, 92, 255, 0.5); }

/* Helle Zone (Bauphasen + Preise): kühles Papier */
body.zone-light {
  --ink: #eceef4;
  --ink-soft: #e4e7ef;
  --surface: #f6f7fb;
  --raised: #dde1ec;
  --text: #13141c;
  --muted: #5d6273;
  --accent: #3242e8;
  --accent-soft: rgba(50, 66, 232, 0.1);
  --line: rgba(19, 20, 28, 0.16);
  --line-soft: rgba(19, 20, 28, 0.07);
  --header-bg: rgba(236, 238, 244, 0.72);
  --shadow-lg:
    0 2px 8px rgba(19, 20, 28, 0.08),
    0 16px 40px rgba(19, 20, 28, 0.1),
    0 48px 110px rgba(19, 20, 28, 0.08);
  --shadow-md:
    0 2px 6px rgba(19, 20, 28, 0.07),
    0 10px 28px rgba(19, 20, 28, 0.09);
}

/* Korn-Overlay: feiner Film über allem */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

::selection { background: var(--accent); color: #f5f6ff; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; color: var(--accent); }
sup { font-size: 0.4em; vertical-align: super; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -4rem; left: 1rem; z-index: 200;
  background: var(--accent); color: #f5f6ff;
  padding: 0.6rem 1.1rem; font-family: var(--font-mono); font-size: 0.75rem;
  border-radius: var(--r-pill);
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus-visible { top: 1rem; }

/* ---------- Scroll-Fortschritt ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- WebGL Canvas ----------
   Canvas auf z0. Inhalt auf z2 davor, Ghost-Typo auf z-1 dahinter,
   Hero-Glow auf z-2 ganz hinten. */
.gl { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.gl canvas { width: 100%; height: 100%; display: block; }

main { position: relative; }
.section, .statement, .process, .marquee, .footer { position: relative; z-index: 2; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
}
.preloader::before {
  /* Glow im Preloader = derselbe Glow wie im Hero: ein durchgehender Moment */
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(42% 38% at 68% 30%, rgba(75, 92, 255, 0.22), transparent 70%),
    radial-gradient(36% 34% at 28% 74%, rgba(39, 51, 201, 0.16), transparent 70%);
  pointer-events: none;
}
.preloader__inner { width: min(28rem, 80vw); position: relative; }
.preloader__mark { margin-bottom: 1.5rem; }
.preloader__mark .pl-outline { stroke-dasharray: 100; }
.preloader__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 10vw, 5.5rem);
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.preloader__reg { font-size: 0.35em; vertical-align: super; color: var(--accent); }
.preloader__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1.5rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.preloader__pct { color: var(--accent); font-size: 0.9rem; }
.preloader__bar {
  margin-top: 0.75rem; height: 2px; background: var(--line-soft);
  overflow: hidden; border-radius: var(--r-pill);
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--accent);
  border-radius: var(--r-pill);
}

/* ---------- Custom Cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 150;
    pointer-events: none;
    mix-blend-mode: difference;
  }
  .cursor__dot {
    position: absolute; width: 6px; height: 6px;
    background: #ffffff; border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor__ring {
    position: absolute; width: 34px; height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), opacity 0.25s;
  }
  body.cursor-active .cursor__ring { width: 58px; height: 58px; }
  body.cursor-hidden .cursor { opacity: 0; }
  /* Cursor-Label ueber Showcase-Karten ("Ansehen") */
  .cursor__label {
    position: absolute; left: 20px; top: 14px;
    background: #ffffff; color: #000000;
    font-family: var(--font-mono); font-size: 0.62rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 0.32rem 0.75rem; border-radius: 999px;
    white-space: nowrap;
    opacity: 0; transform: translateY(4px) scale(0.9);
    transition: opacity 0.25s, transform 0.25s var(--ease-out);
  }
  body.cursor-case .cursor__label { opacity: 1; transform: translateY(0) scale(1); }
}
body.motion-off .cursor { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-text); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--r-pill); border: 1px solid transparent;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  will-change: transform;
}
.btn--solid {
  background: var(--accent); color: #f5f6ff;
  box-shadow: 0 8px 24px rgba(75, 92, 255, 0.28);
}
.btn--solid:hover {
  background: var(--text); color: var(--ink);
  box-shadow: 0 10px 32px rgba(75, 92, 255, 0.35);
}
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.btn:active { filter: brightness(0.88); }

/* ---------- Header (Glas) ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem var(--pad-x);
  transition: background  0.35s var(--ease-out), box-shadow 0.35s, color 0.6s var(--ease-out);
}
.header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header__logo { display: inline-flex; align-items: center; gap: 0.65rem; }
.header__mark { color: var(--text); flex: none; }
.header__word {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.header__word sup { color: var(--accent); }
.header__nav { display: flex; gap: 2rem; }
.header__nav a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--muted); position: relative;
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--text); }
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; border-radius: var(--r-pill);
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.header__nav a:hover::after { transform: scaleX(1); }
/* Hover-Wave: Buchstaben heben sich nacheinander (JS wickelt in Spans) */
.header__nav a .nav-ch {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 18ms);
}
.header__nav a:hover .nav-ch { transform: translateY(-3px); }
.header__cta { padding: 0.65rem 1.35rem; font-size: 0.75rem; }

/* ---------- Sektions-Grundgerüst ---------- */
.section { padding: clamp(6rem, 12vh, 10rem) var(--pad-x); position: relative; }

@media (min-width: 1100px) {
  .section::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 2rem; width: 12px;
    background:
      repeating-linear-gradient(
        to bottom,
        var(--line-soft) 0, var(--line-soft) 1px,
        transparent 1px, transparent 24px
      );
    pointer-events: none;
  }
}

.section__head { margin-bottom: clamp(2.5rem, 6vh, 5rem); max-width: 60rem; }
.section__label {
  color: var(--muted); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section__label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); display: inline-block; flex: none;
  box-shadow: 0 0 12px rgba(75, 92, 255, 0.6);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--size-h2);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.split-line { display: block; overflow: hidden; padding-top: 0.15em; margin-top: -0.15em; }
.split-line > .split-inner { display: block; will-change: transform; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--pad-x) 5rem;
  position: relative;
}
/* Animierter Gradient-Flow ganz hinten (z-2, hinter Canvas und Ghost) */
.hero::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  inset: -25% -10%;
  background:
    radial-gradient(38% 34% at 72% 26%, rgba(75, 92, 255, 0.26), transparent 70%),
    radial-gradient(30% 30% at 18% 78%, rgba(39, 51, 201, 0.18), transparent 70%),
    radial-gradient(20% 22% at 50% 50%, rgba(120, 130, 255, 0.07), transparent 70%);
  animation: glowdrift 16s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes glowdrift {
  from { transform: translate3d(-2%, -1.5%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.08); }
}

.hero__eyebrow, .hero__sub, .hero__cta, .hero__foot, .hero__badge, .hero__config { position: relative; z-index: 2; }
.hero__eyebrow { color: var(--accent); margin-bottom: 1.75rem; }
.hero__titlewrap { position: relative; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--size-display);
  line-height: 0.99;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.hero__title--front {
  position: relative; z-index: 2;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
.hero__title--front .hero__line--accent { -webkit-text-stroke-color: var(--accent); }
.hero__title--ghost {
  position: absolute; inset: 0; z-index: -1;
  color: var(--text);
}
.hero__line { display: block; overflow: hidden; padding-top: 0.15em; margin-top: -0.15em; }
.hero__line > span { display: inline-block; }
.hero__line--accent { color: var(--accent); }
body.no-gl .hero__title--front { color: var(--text); -webkit-text-stroke: 0; }
body.no-gl .hero__title--front .hero__line--accent { color: var(--accent); }
body.no-gl .hero__title--ghost { display: none; }

.hero__sub {
  margin-top: 2rem; max-width: 36rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted);
}
.hero__usp { color: var(--text); font-weight: 600; display: block; margin-bottom: 0.35rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.75rem; }

/* Mini-Konfigurator-Demo: Material-Chips steuern die 3D-Szene */
.hero__config {
  display: flex; align-items: center; gap: 0.85rem;
  margin-top: 2.25rem;
}
.hero__config-label { color: var(--muted); }
.config__chip {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--line);
  cursor: pointer; padding: 0;
  position: relative;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
/* Touch-Target >= 44px ohne visuelle Vergroesserung */
.config__chip::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.config__chip:hover { transform: scale(1.15); }
.config__chip.is-active {
  border-color: var(--text);
  transform: scale(1.12);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 20px var(--accent-soft);
}
.config__chip--cobalt { background: #4b5cff; }
.config__chip--brass { background: #c9a35a; }
.config__chip--steel { background: #9aa7b8; }
body.no-gl .hero__config { display: none; }

.hero__badge {
  position: absolute; right: var(--pad-x); bottom: 7rem;
  color: var(--text);
  opacity: 0.9;
}
.hero__badge-rotor {
  transform-box: view-box;
  transform-origin: center;
  animation: badgespin 20s linear infinite;
}
@keyframes badgespin { to { transform: rotate(360deg); } }
.hero__badge-text {
  fill: var(--muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.hero__foot {
  position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted);
}
.hero__scrollhint { display: inline-flex; align-items: center; gap: 0.75rem; }
.hero__scrollbar {
  display: inline-block; width: 2px; height: 42px; border-radius: var(--r-pill);
  background: var(--line); position: relative; overflow: hidden;
}
.hero__scrollbar i {
  position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--accent); border-radius: var(--r-pill);
  animation: scrolldrip 1.8s var(--ease-out) infinite;
}
@keyframes scrolldrip { to { top: 110%; } }

.hero__fallback {
  display: none;
  position: absolute; right: var(--pad-x); top: 50%;
  width: clamp(140px, 22vw, 300px);
  transform: translateY(-50%);
}
body.no-gl .hero__fallback { display: block; }

/* ---------- Statement ---------- */
.statement {
  padding: clamp(6rem, 15vh, 12rem) var(--pad-x);
  position: relative;
}
.statement__stage { max-width: 74rem; margin: 0 auto; }
.statement__beat {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6.6vw, 6.4rem);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin-bottom: clamp(2rem, 6vh, 4rem);
}
.statement__beat span { color: var(--muted); }
.statement__beat strong { color: var(--text); font-weight: inherit; display: block; }
.statement__beat:nth-child(2) strong { color: var(--accent); }

body.enhanced .statement { min-height: 100vh; display: flex; align-items: center; }
body.enhanced .statement__stage { position: relative; width: 100%; }
body.enhanced .statement__beat {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column; justify-content: center;
}
body.enhanced .statement__beat:first-child { position: relative; }

/* ---------- Display-Marquee (Outline/Fill-Wechsel) ---------- */
.marquee {
  overflow: hidden;
  padding: clamp(2.5rem, 6vh, 4.5rem) 0;
  transform: rotate(-2deg) scale(1.03);
}
.marquee__track {
  display: flex; align-items: center;
  width: max-content;
  will-change: transform;
}
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--text);
}
.marquee__word--outline {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--muted);
}
.marquee__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex: none;
  margin: 0 clamp(1.5rem, 3vw, 3rem);
  box-shadow: 0 0 16px rgba(75, 92, 255, 0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marqueemove 26s linear infinite; }
}
@keyframes marqueemove { to { transform: translateX(-50%); } }

/* ---------- Leistungen (Leistungsverzeichnis) ---------- */
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 7rem 1fr 1.6fr 3rem;
  align-items: baseline;
  gap: 2rem;
  padding: 2.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.service:hover {
  background: var(--surface);
  transform: translateX(0.5rem);
}
.service__pos { color: var(--muted); transition: color 0.25s; }
.service:hover .service__pos { color: var(--accent); }
.service__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--size-h3);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.service__desc { color: var(--muted); max-width: 42rem; }
.service__arrow {
  justify-self: end; color: var(--accent); font-size: 1.4rem;
  opacity: 0; transform: translateX(-14px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.service:hover .service__arrow { opacity: 1; transform: translateX(4px); }

/* ---------- Showcase ---------- */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
  perspective: 1400px;
}
.case { grid-column: span 2; }
.case--wide { grid-column: span 4; }
.cases__grid .case--wide:last-child { grid-column: span 6; }

.case__art {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.case--wide .case__art { aspect-ratio: 16 / 8; }
.cases__grid .case--wide:last-child .case__art { aspect-ratio: 21 / 8; }

.case__art::before {
  content: ""; position: absolute; inset: -12%;
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.case__art::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to right, var(--line-soft) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(to bottom, var(--line-soft) 0 1px, transparent 1px 56px);
  pointer-events: none;
}
.case:hover .case__art::before { transform: scale(1.06) rotate(0.4deg); }

/* Bühnen-Hintergründe (Backdrop für Mockups, Fallback für Konzepte) */
.case__art--unholz::before {
  background:
    radial-gradient(110% 90% at 15% 10%, #3c2f1e 0%, transparent 50%),
    radial-gradient(90% 90% at 85% 90%, #8a6132 0%, transparent 55%),
    linear-gradient(160deg, #191307 0%, #0c0a08 100%);
}
.case__art--terrazas::before {
  background:
    radial-gradient(100% 80% at 80% 15%, #b97e50 0%, transparent 45%),
    radial-gradient(120% 110% at 20% 90%, #24555e 0%, transparent 60%),
    linear-gradient(200deg, #0c1c26 0%, #080f16 100%);
}
.case__art--wine::before {
  background:
    radial-gradient(100% 90% at 80% 80%, #4d1c2a 0%, transparent 55%),
    radial-gradient(90% 70% at 15% 15%, #8a6132 0%, transparent 40%),
    linear-gradient(180deg, #1c0f16 0%, #0e070c 100%);
}
.case__art--dach::before {
  background:
    linear-gradient(115deg, transparent 46%, #4b5cff 46%, #4b5cff 47.5%, transparent 47.5%),
    radial-gradient(120% 100% at 75% 20%, #303a52 0%, transparent 55%),
    linear-gradient(160deg, #101423 0%, #0a0c14 100%);
}
.case__art--metall::before {
  background:
    repeating-linear-gradient(100deg, rgba(90, 100, 120, 0.32) 0 2px, transparent 2px 9px),
    radial-gradient(110% 90% at 30% 30%, #4a5568 0%, transparent 60%),
    linear-gradient(180deg, #14161f 0%, #0b0d13 100%);
}
.case__art--zimmer::before {
  background:
    repeating-linear-gradient(0deg, rgba(107, 78, 42, 0.26) 0 18px, transparent 18px 22px),
    radial-gradient(110% 100% at 80% 85%, #5e4423 0%, transparent 55%),
    linear-gradient(170deg, #1b1409 0%, #0e0a05 100%);
}

/* --- Browser-Mockup --- */
.browser {
  position: absolute;
  left: 6%; right: 22%; top: 10%;
  display: flex; flex-direction: column;
  aspect-ratio: 16 / 10;
  max-height: 84%;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #0d0d16;
  border: 1px solid rgba(238, 240, 244, 0.09);
  box-shadow: var(--shadow-lg), var(--glow);
  will-change: transform;
  transition: box-shadow 0.5s var(--ease-out), border-color 0.5s;
  z-index: 2;
}
.case:hover .browser {
  border-color: rgba(75, 92, 255, 0.4);
  box-shadow: var(--shadow-lg), 0 0 90px rgba(75, 92, 255, 0.28);
}
.browser__bar {
  display: flex; align-items: center; gap: 0.9rem;
  height: 2.3rem; flex: none;
  padding: 0 1rem;
  background: rgba(238, 240, 244, 0.05);
  border-bottom: 1px solid rgba(238, 240, 244, 0.07);
}
.browser__dots { display: inline-flex; gap: 0.4rem; }
.browser__dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(238, 240, 244, 0.16);
}
.browser__dots i:first-child { background: rgba(255, 105, 97, 0.75); }
.browser__dots i:nth-child(2) { background: rgba(255, 189, 68, 0.75); }
.browser__dots i:last-child { background: rgba(84, 210, 120, 0.75); }
.browser__url {
  flex: 1; text-align: center;
  color: var(--muted); font-size: 0.62rem;
  background: rgba(238, 240, 244, 0.05);
  border-radius: var(--r-pill);
  padding: 0.28rem 1rem;
  max-width: 60%;
  margin-inline: auto;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser__view { position: relative; flex: 1; overflow: hidden; }
.browser__view picture, .phone picture { display: contents; }
.browser__view img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: object-position 4s var(--ease-out), filter 0.4s;
}
.case:hover .browser__view img { object-position: bottom center; }
.browser__view::after {
  content: ""; position: absolute; inset: 0;
  background: transparent;
  transition: background 0.4s;
  pointer-events: none;
}
.case:hover .browser__view::after { background: rgba(75, 92, 255, 0.1); }

/* --- Phone-Mockup (versetzt über der Desktop-Karte) --- */
.phone {
  position: absolute;
  right: 5%; bottom: 7%;
  width: 17%;
  min-width: 74px;
  aspect-ratio: 9 / 19;
  border-radius: clamp(12px, 1.4vw, 22px);
  overflow: hidden;
  background: #0d0d16;
  border: 2px solid rgba(238, 240, 244, 0.14);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  will-change: transform;
  transition: box-shadow 0.5s var(--ease-out), border-color 0.5s;
}
.case:hover .phone {
  border-color: rgba(75, 92, 255, 0.45);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(75, 92, 255, 0.22);
}
.phone img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: object-position 4s var(--ease-out);
}
.case:hover .phone img { object-position: bottom center; }

/* --- Hotspot-Demo (pulsierende Punkte mit Tooltip) --- */
.hotspot {
  position: absolute; z-index: 5;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 0; padding: 0;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(75, 92, 255, 0.25);
}
/* Touch-Target >= 44px */
.hotspot::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
.hotspot::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(75, 92, 255, 0.6);
  animation: hotspotpulse 2.2s var(--ease-out) infinite;
}
@keyframes hotspotpulse {
  from { transform: scale(0.7); opacity: 1; }
  to   { transform: scale(1.7); opacity: 0; }
}
.hotspot__tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(10, 10, 18, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.hotspot:hover .hotspot__tip, .hotspot:focus-visible .hotspot__tip {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

.case__coord {
  position: absolute; top: 1.1rem; left: 1.25rem; z-index: 4;
  color: rgba(238, 240, 244, 0.85);
}
.case__glyph {
  position: absolute; right: -0.05em; bottom: -0.22em; z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 1; color: rgba(238, 240, 244, 0.09);
  transition: transform 0.7s var(--ease-out), color 0.4s;
}
.case:hover .case__glyph { transform: translateY(-6%); color: rgba(75, 92, 255, 0.28); }
.case--shot .case__glyph { display: none; }

.case__meta { padding: 1.35rem 0.5rem 0; display: grid; gap: 0.4rem; }
.case__tag { color: var(--muted); }
.case__tag--concept { color: var(--accent); }
.case__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease-out);
}
.case:hover .case__name { color: var(--accent); }
.case__desc { color: var(--muted); font-size: 0.95rem; max-width: 46rem; }

/* ---------- Prozess ---------- */
.process { position: relative; }
.process__pin {
  padding: clamp(6rem, 12vh, 9rem) var(--pad-x);
  overflow: hidden;
}
.process__head { margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.process__track {
  display: flex; flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.phase {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 2.5vw, 2.75rem);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  display: grid; gap: 1rem;
  position: relative;
  transition: background-color 0.6s var(--ease-out), border-color 0.35s var(--ease-out),
              color 0.6s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.phase:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-soft);
}
.phase__num { color: var(--accent); }
.phase__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  text-transform: uppercase; line-height: 1.05;
  letter-spacing: 0.01em;
}
.phase__desc { color: var(--muted); max-width: 34rem; }
.phase__meta { color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.process__note { color: var(--muted); margin-top: 1.75rem; }

body.enhanced .process__track.is-horizontal {
  flex-direction: row; width: max-content;
}
body.enhanced .process__track.is-horizontal .phase {
  width: clamp(26rem, 34vw, 34rem); flex: none;
  min-height: 46vh;
  grid-template-rows: auto auto 1fr auto;
}

/* ---------- Preise ---------- */
.versus {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.versus__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 0.5rem 2rem;
  padding: 1.35rem clamp(1.5rem, 2.5vw, 2.5rem);
}
.versus__row--them { color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.versus__row--them .versus__val { text-decoration: line-through; text-decoration-color: rgba(75, 92, 255, 0.55); }
.versus__row--us { background: var(--accent-soft); }
.versus__row--us .versus__who { color: var(--accent); }
.versus__val {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  text-transform: uppercase; letter-spacing: 0.01em;
}
.versus__row--us .versus__val { color: var(--text); }
.versus__how {
  padding: 1.15rem clamp(1.5rem, 2.5vw, 2.5rem);
  color: var(--muted); font-size: 0.93rem;
  border-top: 1px solid var(--line-soft);
  max-width: 60rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2vw, 2.25rem);
  align-items: stretch;
  perspective: 1400px;
}
.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 1.25rem;
  position: relative;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: border-color  0.35s var(--ease-out), background-color 0.6s var(--ease-out), color 0.6s var(--ease-out),
              transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 143, 163, 0.45);
  box-shadow: var(--shadow-lg);
}
.plan--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 56px var(--accent-soft);
}
.plan--featured:hover { border-color: var(--accent); }
.plan__flag {
  position: absolute; top: -0.95rem; left: 1.75rem;
  background: var(--accent); color: #f5f6ff;
  padding: 0.38rem 1rem;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px rgba(75, 92, 255, 0.4);
  transform: rotate(-2.5deg);
  animation: flagwobble 4.5s ease-in-out infinite alternate;
}
@keyframes flagwobble {
  from { transform: rotate(-2.5deg) translateY(0); }
  to   { transform: rotate(2deg) translateY(-2px); }
}
.plan__time { color: var(--accent); }
.plan__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.plan__price {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1;
}
.plan__ab { color: var(--muted); font-size: 0.9rem; margin-right: 0.25rem; }
.plan__for { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.plan__list { display: grid; gap: 0.6rem; align-content: start; }
.plan__list li {
  color: var(--muted); font-size: 0.93rem;
  padding-left: 1.4rem; position: relative;
}
.plan__list li::before {
  content: "+"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-family: var(--font-mono); font-weight: 700;
}
.plan__cta { justify-self: start; }

.pricing__care {
  margin-top: clamp(2rem, 4vh, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 1.5rem clamp(1.5rem, 2.5vw, 2.5rem);
  display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem;
  justify-content: space-between; align-items: baseline;
  transition: background-color 0.6s var(--ease-out), color 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}
.pricing__care .mono { color: var(--accent); }
.pricing__note { color: var(--muted); }

/* ---------- Warum ---------- */
.why__lede { margin-top: 1.5rem; color: var(--muted); max-width: 38rem; font-size: 1.1rem; }

/* Vorher/Nachher-Slider (Live-Demo des Relaunch-Moduls) */
.ba {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin-bottom: clamp(3rem, 6vh, 4.5rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}
.ba__side {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: clamp(1.25rem, 4vw, 4rem);
  gap: 0.75rem;
}
.ba__side--old {
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.03) 0 2px, transparent 2px 4px),
    linear-gradient(180deg, #d6d3c8 0%, #c2beb0 100%);
  color: #333127;
  font-family: "Times New Roman", Times, serif;
}
.ba__oldbar {
  align-self: stretch;
  background: linear-gradient(180deg, #8a8676 0%, #6e6a5c 100%);
  color: #efedE4;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border: 2px outset #a5a191;
  margin-bottom: 0.75rem;
}
.ba__oldtitle { font-size: clamp(1.2rem, 2.6vw, 2.2rem); font-weight: 700; }
.ba__oldtext { font-size: clamp(0.7rem, 1.3vw, 0.95rem); max-width: 34ch; }
.ba__oldlink { color: #1418c9; text-decoration: underline; font-size: clamp(0.7rem, 1.3vw, 0.9rem); }
.ba__side--new {
  background:
    radial-gradient(50% 60% at 80% 20%, rgba(75, 92, 255, 0.25), transparent 70%),
    linear-gradient(160deg, #0d0d18 0%, #0a0a12 100%);
  color: var(--text);
  clip-path: inset(0 0 0 var(--ba, 50%));
}
.ba__newlabel { color: #4b5cff; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.ba__newtitle {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 3.2vw, 3rem);
  text-transform: uppercase; line-height: 1.02;
}
.ba__newtext { color: #8b8fa3; font-size: clamp(0.75rem, 1.3vw, 1rem); max-width: 40ch; }
.ba__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--ba, 50%);
  width: 2px; background: #eef0f4;
  z-index: 3; pointer-events: none;
  box-shadow: 0 0 24px rgba(75, 92, 255, 0.5);
}
.ba__handle::after {
  content: "⇄";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #eef0f4; color: #0a0a12;
  display: grid; place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}
.ba__tag {
  position: absolute; top: 1rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: var(--r-pill);
}
.ba__tag--old { left: 1rem; background: rgba(51, 49, 39, 0.85); color: #efede4; }
.ba__tag--new { right: 1rem; background: rgba(75, 92, 255, 0.9); color: #f5f6ff; z-index: 4; }

.why__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 5vh, 3.5rem);
}
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  line-height: 1; color: var(--accent);
}
.stat__desc { margin-top: 1rem; color: var(--muted); max-width: 22rem; }

/* ---------- Kontakt: großes gerundetes Panel mit lebendigem Hintergrund ---------- */
.contact {
  margin: 0 clamp(0.75rem, 2vw, 2.5rem) clamp(2rem, 4vh, 3.5rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: clamp(6rem, 12vh, 9rem) clamp(1.5rem, 5vw, 5rem);
}
.contact::after {
  content: ""; position: absolute; inset: -30%;
  background:
    radial-gradient(34% 30% at 78% 20%, rgba(75, 92, 255, 0.2), transparent 70%),
    radial-gradient(28% 26% at 15% 85%, rgba(39, 51, 201, 0.14), transparent 70%);
  animation: glowdrift 18s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}
.contact > * { position: relative; z-index: 1; }
.contact__title { max-width: 16ch; }
.contact__lede { margin-top: 1.5rem; color: var(--muted); max-width: 36rem; }
.form { max-width: 52rem; display: grid; gap: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form__field { display: grid; gap: 0.6rem; }
.form__field .mono { color: var(--muted); transition: color 0.25s; }
.form__field:focus-within .mono { color: var(--accent); }
.form__field input, .form__field textarea {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font-text); font-size: 1rem;
  padding: 0.95rem 1.15rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form__field textarea { resize: vertical; min-height: 8rem; }
.form__field input:focus, .form__field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: rgba(139, 143, 163, 0.55); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 0.5rem; }
.form__note { color: var(--muted); }
.form__note a { color: var(--text); border-bottom: 1px solid var(--accent); }
.form__status { color: var(--accent); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vh, 5rem) var(--pad-x) 2rem;
  background: var(--ink);
}
.footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 2.5rem; margin-bottom: 3.5rem;
}
.footer__word {
  font-family: var(--font-display); font-weight: 600; font-size: 2rem;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.footer__word sup { color: var(--accent); }
.footer__claim { color: var(--muted); margin-top: 0.75rem; max-width: 22rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: start; }
.footer__nav a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft); padding-top: 1.5rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a, .footer__nav a { position: relative; padding: 0.35rem 0; }
.footer__legal a::after, .footer__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.footer__legal a:hover::after, .footer__nav a:hover::after { transform: scaleX(1); }
.footer__legal a:hover { color: var(--accent); }

.motion-toggle {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--muted);
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  min-height: 2.75rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.motion-toggle:hover {
  color: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.legal-page { max-width: 46rem; margin: 0 auto; padding: 9rem var(--pad-x) 5rem; }
.legal-page h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase; margin-bottom: 2rem;
}
.legal-page h2 { font-size: 1.2rem; margin: 2.5rem 0 0.75rem; }
.legal-page p { color: var(--muted); margin-bottom: 1rem; }
.legal-page .todo {
  border: 1px dashed var(--accent); border-radius: var(--r-sm);
  padding: 1rem 1.25rem; color: var(--accent);
  font-family: var(--font-mono); font-size: 0.8rem; margin: 1.5rem 0;
}
.legal-page a.back { color: var(--text); border-bottom: 1px solid var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service { grid-template-columns: 5rem 1fr; }
  .service__desc { grid-column: 2; }
  .service__arrow { position: absolute; right: 1rem; top: 2.25rem; }
}

@media (max-width: 900px) {
  .cases__grid { grid-template-columns: 1fr 1fr; }
  .case, .case--wide, .cases__grid .case--wide:last-child { grid-column: span 2; }
  .case__art, .case--wide .case__art,
  .cases__grid .case--wide:last-child .case__art { aspect-ratio: 16 / 11; }
  .browser { left: 5%; right: 20%; top: 9%; }
  .pricing__grid { grid-template-columns: 1fr; }
  .why__stats { grid-template-columns: 1fr; }
  .stat__desc { max-width: 30rem; }
  .hero__badge { display: none; }
  .ba { aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .header__nav { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .hero__foot { display: none; }
  .service { gap: 0.75rem 1.5rem; padding: 1.75rem 0.75rem; }
  .service:hover { transform: none; }
  .hero__fallback { position: static; transform: none; margin-top: 3rem; }
  .case__art, .case--wide .case__art,
  .cases__grid .case--wide:last-child .case__art { aspect-ratio: 4 / 4.4; }
  .browser { left: 4%; right: 24%; top: 7%; aspect-ratio: auto; bottom: 16%; max-height: none; }
  .phone { width: 26%; right: 4%; bottom: 6%; }
  .ba { aspect-ratio: 4 / 5; }
  .ba__side { justify-content: flex-start; padding-top: 3.5rem; }
}

/* ---------- Reduced Motion: Dauerschleifen aus, Experience bleibt ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__scrollbar i { animation: none; }
  .hero__badge-rotor { animation: none; }
  .hero::before, .contact::after { animation: none; }
  .plan__flag { animation: none; }
  .hotspot::before { animation: none; }
}

/* ---------- Motion aus (nur expliziter Opt-out) ---------- */
body.motion-off *, body.motion-off *::before, body.motion-off *::after {
  animation: none !important;
  transition: none !important;
}

/* ============================================================
   v3 · Vertrauen, Struktur, Conversion (Vorschau-Modell)
   ============================================================ */

/* ---------- Header: Mobile-Menü ---------- */
.header__right { display: flex; align-items: center; gap: 0.75rem; }
.header__cta { min-height: 44px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--text); cursor: pointer;
  position: relative;
}
.nav-toggle i {
  position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav-toggle i:first-child { top: 17px; }
.nav-toggle i:last-child { top: 25px; }
body.nav-open .nav-toggle i:first-child { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle i:last-child { top: 21px; transform: rotate(-45deg); }
.header__nav a[aria-current="page"] { color: var(--text); }
.header__nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 999px) {
  .nav-toggle { display: inline-block; }
  .header__nav { display: none; }
  body.nav-open .header {
    background: transparent; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  body.nav-open .header__nav {
    display: flex; flex-direction: column; justify-content: center; gap: 0.25rem;
    position: fixed; inset: 0; z-index: -1;
    padding: 6rem var(--pad-x) 3rem;
    background: var(--ink);
  }
  body.nav-open .header__nav a {
    font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
    font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.1; color: var(--text);
    padding: 0.35rem 0; min-height: 44px;
  }
  body.nav-open .header__nav a::after { display: none; }
  body.nav-open .header__nav a[aria-current="page"] { color: var(--accent); }
}
@media (max-width: 420px) {
  .header { gap: 0.75rem; }
  .header__cta { padding: 0.6rem 1rem; font-size: 0.7rem; letter-spacing: 0.04em; }
  .hide-sm { display: none; }
}

/* ---------- Hero: Beweis-Zeile ---------- */
.hero__proof {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  color: var(--text);
}
.hero__proof li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__proof li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--accent); box-shadow: 0 0 10px rgba(75, 92, 255, 0.7);
}

/* ---------- Branchen-Tabs ---------- */
.tabs__list {
  display: inline-flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 0.35rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); margin-bottom: clamp(2rem, 4vh, 3rem);
}
.tabs__tab {
  min-height: 44px; padding: 0.6rem 1.4rem;
  border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer;
  color: var(--muted); font: 600 0.85rem/1 var(--font-text);
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { background: var(--accent); color: #f5f6ff; }
.tabs__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vh, 3rem);
}
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-in { animation: panelin 0.6s var(--ease-out) both; }
@keyframes panelin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tabs__col h3 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: var(--size-h3); line-height: 1.15; margin: 0.9rem 0 1.25rem;
}
.tabs__col .mono { color: var(--muted); }
.tabs__col--fix .mono { color: var(--accent); }
.ticks { display: grid; gap: 0.85rem; }
.ticks li { position: relative; padding-left: 1.6rem; color: var(--muted); max-width: 40rem; }
.ticks li::before {
  position: absolute; left: 0; top: 0.1em;
  font-family: var(--font-mono); font-weight: 700; color: var(--accent);
}
.ticks--problem li::before { content: "×"; color: var(--muted); }
.ticks--fix li::before { content: "+"; }
.ticks li strong { color: var(--text); font-weight: 600; }
.textlink {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
  margin-top: 1.5rem; color: var(--text); font-weight: 600;
  border-bottom: 1px solid var(--accent);
}
.textlink:hover { color: var(--accent); }

/* ---------- Preise: Abo, Zahlung, Zusätze ---------- */
.plan__list li.plan__all { color: var(--text); font-weight: 500; padding-left: 0; }
.plan__list li.plan__all::before { content: none; }
.terms {
  margin-top: clamp(2rem, 4vh, 3rem);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 1px;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--line);
}
.terms > div { background: var(--surface); padding: 1.5rem clamp(1.5rem, 2.5vw, 2.5rem); transition: background-color 0.6s var(--ease-out); }
.terms .mono { color: var(--accent); display: block; margin-bottom: 0.6rem; }
.terms p { color: var(--muted); font-size: 0.95rem; }
.terms strong { color: var(--text); }
.upsells { margin-top: clamp(2.5rem, 5vh, 4rem); }
.upsells h3, .compare__head h3 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: var(--size-h3); margin-bottom: 1.25rem;
}
.upsells ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 4vw, 4rem); }
.upsells li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.upsells li span:first-child { color: var(--text); }
.upsells li small { display: block; color: var(--muted); font-size: 0.82rem; }
.upsells li .mono { color: var(--accent); white-space: nowrap; font-size: 0.78rem; }
.pricing__more { margin-top: 1.5rem; }

/* ---------- Vergleichstabelle ---------- */
.compare { margin-top: clamp(3rem, 7vh, 5rem); }
.compare__head p { color: var(--muted); max-width: 40rem; margin-bottom: 1.5rem; }
.compare table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); font-size: 0.95rem;
}
.compare th, .compare td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.compare tbody th { font-weight: 600; color: var(--text); width: 26%; }
.compare td { color: var(--muted); }
.compare .is-us { background: var(--accent-soft); color: var(--text); }
.compare thead .is-us { color: var(--accent); }
.compare__note { color: var(--muted); margin-top: 1rem; }

/* ---------- Über uns ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__text p { color: var(--muted); font-size: 1.1rem; max-width: 36rem; }
.about__text p + p { margin-top: 1.1rem; }
.about__text p strong { color: var(--text); font-weight: 600; }
.about__sign { margin-top: 2rem; color: var(--accent); }

/* ---------- Bewertungen (vorbereitet, ausgeblendet) ---------- */
.reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.review__stars { color: var(--accent); letter-spacing: 0.2em; }
.review p { color: var(--text); margin: 0.75rem 0; }
.review cite { color: var(--muted); font-style: normal; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line); max-width: 58rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 44px; padding: 1.35rem 0.25rem;
  font-weight: 600; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--accent);
  font-family: var(--font-mono); font-weight: 700;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #f5f6ff; border-color: var(--accent); }
.faq__item summary:hover { color: var(--accent); }
.faq__a { padding: 0 3.5rem 1.5rem 0.25rem; color: var(--muted); max-width: 46rem; }
.faq__item[open] .faq__a { animation: panelin 0.5s var(--ease-out) both; }

/* ---------- Kontaktwege ---------- */
.contact__alt { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.contact__ways { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact__ways .btn { min-height: 44px; }
.form__hint { color: var(--muted); font-size: 0.85rem; }
.form__hint a { color: var(--text); border-bottom: 1px solid var(--accent); }

/* ---------- Footer v3 ---------- */
.footer__cols { display: flex; flex-wrap: wrap; gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.footer__col { display: grid; gap: 0; align-content: start; }
.footer__col .mono { color: var(--muted); margin-bottom: 0.5rem; }
.footer__col a { color: var(--text); font-size: 0.95rem; min-height: 44px; display: inline-flex; align-items: center; }
.footer__col a:hover { color: var(--accent); }

/* ---------- Unterseiten: Branchen-Hero mit Beispiel-Handy ---------- */
.lp-hero {
  min-height: 100svh; position: relative; z-index: 2; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 8rem var(--pad-x) 5rem;
}
.lp-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -25% -10%;
  background:
    radial-gradient(34% 34% at 78% 40%, rgba(75, 92, 255, 0.24), transparent 70%),
    radial-gradient(26% 28% at 12% 85%, rgba(39, 51, 201, 0.16), transparent 70%);
  animation: glowdrift 16s ease-in-out infinite alternate;
}
.lp-hero__title {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.3rem, 6vw, 6.2rem); line-height: 0.98; letter-spacing: 0.005em;
}
.lp-hero__title em { display: block; }
.lp-hero .hero__eyebrow { margin-bottom: 1.5rem; }
.lp-hero .hero__sub { max-width: 34rem; }
.page-head { padding: 9rem var(--pad-x) 1rem; position: relative; z-index: 2; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -40% -10% 0;
  background: radial-gradient(40% 50% at 80% 30%, rgba(75, 92, 255, 0.2), transparent 70%);
}
.page-head .hero__sub { max-width: 40rem; }

.mock {
  justify-self: center; position: relative;
  width: min(300px, 76vw); aspect-ratio: 9 / 18.5;
  border-radius: 40px; padding: 10px;
  background: #16162a; border: 1px solid rgba(238, 240, 244, 0.16);
  box-shadow: var(--shadow-lg), 0 0 90px rgba(75, 92, 255, 0.22);
  transform: rotate(-4deg);
}
.mock__screen {
  height: 100%; border-radius: 31px; overflow: hidden;
  background: #f3f4f8; color: #15161f;
  display: flex; flex-direction: column; gap: 0.7rem;
  padding: 2.4rem 1.1rem 1.1rem; font-size: 0.78rem; line-height: 1.35;
}
.mock__bar { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.8rem; }
.mock__bar i { width: 18px; height: 10px; border-top: 2px solid #15161f; border-bottom: 2px solid #15161f; }
.mock__h { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.35rem; line-height: 1.02; margin-top: 0.4rem; }
.mock__p { color: #5d6273; }
.mock__slots { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.mock__slots span { border: 1px solid #d5d8e3; border-radius: 10px; padding: 0.5rem; text-align: center; font-weight: 600; background: #fff; }
.mock__slots span.is-on { background: #3242e8; border-color: #3242e8; color: #f5f6ff; }
.mock__btn { border-radius: 999px; padding: 0.75rem; text-align: center; font-weight: 700; background: #3242e8; color: #f5f6ff; }
.mock__btn--call { background: #15161f; }
.mock__card { background: #fff; border: 1px solid #e0e3ec; border-radius: 14px; padding: 0.7rem 0.8rem; }
.mock__card b { display: block; }
.mock__card small { color: #5d6273; }
.mock__note { position: absolute; left: 50%; bottom: -2.6rem; transform: translateX(-50%) rotate(4deg); white-space: nowrap; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.section--tight { padding-top: clamp(3rem, 7vh, 5rem); }

/* Reveal auf Unterseiten (IntersectionObserver, Motion default an) */
.rv-on [data-rv] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.rv-on [data-rv].is-in { opacity: 1; transform: none; }
.lp-enter > * { animation: lpin 1s var(--ease-out) both; }
.lp-enter > *:nth-child(2) { animation-delay: 0.08s; }
.lp-enter > *:nth-child(3) { animation-delay: 0.16s; }
.lp-enter > *:nth-child(4) { animation-delay: 0.24s; }
.lp-enter > *:nth-child(5) { animation-delay: 0.32s; }
.lp-enter > *:nth-child(6) { animation-delay: 0.4s; }
.mock.lp-pop { animation: mockin 1.2s var(--ease-out) 0.3s both; }
@keyframes lpin { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes mockin { from { opacity: 0; transform: translateY(60px) rotate(2deg); } to { opacity: 1; transform: rotate(-4deg); } }

/* ---------- Responsive v3 ---------- */
@media (max-width: 900px) {
  .tabs__panel, .about__grid, .terms, .upsells ul, .reviews__list { grid-template-columns: 1fr; }
  .lp-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 7.5rem; }
  .mock { margin: 1rem 0 3rem; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .service { grid-template-columns: 1fr; }
  .service__desc { grid-column: auto; }
  .faq__a { padding-right: 0.25rem; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tbody tr { border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
  .compare tbody th { padding-bottom: 0.25rem; border: 0; width: auto; }
  .tabs__list { display: flex; flex-wrap: nowrap; width: 100%; }
  .tabs__tab { flex: 1; padding: 0.6rem 0.5rem; }
  .compare td { border: 0; padding: 0.35rem 1.25rem; display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; }
  .compare td::before { content: attr(data-label); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 0.2em; }
  .compare td.is-us { margin: 0 0.75rem; border-radius: var(--r-sm); padding: 0.6rem 0.5rem; }
  .compare td.is-us::before { color: var(--accent); }
  .hero__proof { gap: 0.4rem 1.1rem; font-size: 0.66rem; }
  .compare--matrix tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; padding: 0.75rem 0.75rem 1rem; }
  .compare--matrix tbody th { grid-column: 1 / -1; padding: 0 0.5rem 0.35rem; }
  .compare--matrix td, .compare--matrix td.is-us { display: grid; grid-template-columns: 1fr; gap: 0.2rem; margin: 0; padding: 0.5rem; text-align: center; border-radius: var(--r-sm); color: var(--text); }
}

/* ============================================================
   v3.1 · Review-Fixes
   ============================================================ */
/* Hero: Typo bleibt in den linken ~60 %, der Turm steht rechts (hero.js: ViewOffset) */
@media (min-width: 900px) {
  .hero__title { font-size: clamp(2.6rem, 5.4vw, 6.4rem); }
  .hero__titlewrap, .hero__proof, .hero__sub { max-width: 58vw; }
}
/* Mobile: Turm liegt unter einem dunklen Verlauf, Headline massiv gefüllt (AA-Kontrast) */
@media (max-width: 899px) {
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 10, 18, 0.55) 0%, rgba(10, 10, 18, 0.8) 30%, rgba(10, 10, 18, 0.86) 100%);
  }
  .hero__title--front { color: var(--text); -webkit-text-stroke: 0; }
  .hero__title--front .hero__line--accent { color: var(--accent); }
  .hero__title--ghost { display: none; }
  .hero__sub { color: #b4b8c8; }
}
/* Tabs: festes 3er-Segment */
.tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 34rem; }
.tabs__tab { padding: 0.6rem 0.5rem; white-space: nowrap; }
.matrix__same { display: none; }
@media (max-width: 720px) {
  /* Vergleich: Zeilenlabel volle Breite, Werte darunter */
  .compare td { display: block; padding: 0.4rem 1.25rem; }
  .compare td::before { display: block; margin-bottom: 0.15rem; }
  .compare td.is-us { padding: 0.6rem 0.5rem; }
  .compare--matrix td, .compare--matrix td.is-us { display: grid; }
  .compare--matrix tr.is-same { display: none; }
  .matrix__same { display: block; }
}

/* ===== USP-Band ===== */
.usp{position:relative;z-index:2;padding:clamp(4.5rem,12vw,9rem) var(--pad-x);background:linear-gradient(180deg,transparent,var(--accent-soft) 30%,transparent)}
.usp__inner{max-width:74rem;margin:0 auto}
.usp__eyebrow{color:var(--accent);letter-spacing:.14em;text-transform:uppercase;font-size:.8rem;margin:0 0 1.25rem}
.usp__title{font-family:var(--font-display);font-size:clamp(2.6rem,9vw,7.2rem);line-height:.98;letter-spacing:-.02em;margin:0 0 1.5rem;color:var(--text);padding-top:.12em}
.usp__title em{font-style:normal;color:var(--accent)}
.usp__lead{font-size:clamp(1.05rem,2.2vw,1.35rem);line-height:1.55;color:var(--muted);max-width:44rem;margin:0 0 2.5rem}
.usp__compare{display:grid;gap:.75rem;margin:0 0 2.5rem}
.usp__row{display:grid;grid-template-columns:7rem 1fr;gap:1rem;align-items:center;padding:1rem 1.25rem;border:1px solid var(--line);border-radius:var(--r-md)}
.usp__row--us{border-color:var(--accent);background:var(--accent-soft)}
.usp__who{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.usp__row--us .usp__who{color:var(--accent)}
.usp__steps{font-size:clamp(1rem,2vw,1.2rem);color:var(--text)}
.usp__row:not(.usp__row--us) .usp__steps{color:var(--muted)}
.usp__steps i{font-style:normal;color:var(--accent);padding:0 .35em}
.usp__points{list-style:none;padding:0;margin:0 0 2.5rem;display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.usp__points li{border-top:2px solid var(--accent);padding-top:1rem}
.usp__points strong{display:block;font-family:var(--font-display);font-size:1.35rem;color:var(--text);margin-bottom:.35rem}
.usp__points span{color:var(--muted);line-height:1.5}
.usp__cta{min-height:48px}
@media (max-width:40rem){.usp__row{grid-template-columns:1fr;gap:.35rem}}

/* ============================================================
   v3.3 · Projekte: echte Arbeiten als Geräte-Komposition (#arbeiten)
   ============================================================ */
.works__lede { margin-top: 1.25rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 34rem; }
.works__list { display: grid; gap: clamp(5rem, 13vh, 9rem); }
.work { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5.5rem); }
.work--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.work--flip .work__devices { order: 2; }
.work__devices { position: relative; padding: 0 9% 9% 0; }
.work--flip .work__devices { padding: 0 0 9% 9%; }
.work__laptop {
  margin: 0; border-radius: 14px; overflow: hidden;
  background: #17172a; border: 1px solid rgba(238, 240, 244, 0.13);
  box-shadow: var(--shadow-lg), 0 50px 120px rgba(4, 6, 20, 0.55);
}
.work__bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(238, 240, 244, 0.07); }
.work__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(238, 240, 244, 0.16); }
.work__laptop img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.work__phone {
  position: absolute; right: 0; bottom: 0; margin: 0; width: 25%;
  padding: 5px; border-radius: 24px; background: #0e0e18;
  border: 1px solid rgba(238, 240, 244, 0.16);
  box-shadow: 0 2px 6px rgba(4, 6, 20, 0.5), 0 30px 70px rgba(4, 6, 20, 0.6);
}
.work--flip .work__phone { right: auto; left: 0; }
.work__phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top center; border-radius: 19px; }
.work__meta { color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.work__tag { color: var(--accent); border: 1px solid var(--accent); border-radius: var(--r-pill); padding: 0.25rem 0.7rem; }
.work__name {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 1; margin: 1.1rem 0 1rem; letter-spacing: 0.005em;
}
.work__satz { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 30rem; }
.work__live { margin-top: 1.25rem; }
@media (max-width: 900px) {
  .work, .work--flip { grid-template-columns: 1fr; gap: 2rem; }
  .work--flip .work__devices { order: 0; }
  .work__devices, .work--flip .work__devices { padding: 0 6% 12% 0; }
  .work__phone, .work--flip .work__phone { width: 30%; right: 0; left: auto; border-radius: 18px; padding: 4px; }
  .work__phone img { border-radius: 14px; }
  .work__laptop { border-radius: 10px; }
  .work__bar { padding: 7px 10px; }
  .work__bar i { width: 6px; height: 6px; }
}
